creating Xor  instead of and

python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain --show_thread_logs
INFO (     MainThread) - Set up to run 2 Parallel threads
INFO (     MainThread) - Currently running task basic_tests/full_testbench/configuration_chain
INFO (     MainThread) - Created "run057" directory for current task run
INFO (     MainThread) - Running "yosys_vpr" flow
INFO (     MainThread) - Found 1 Architectures 3 Benchmarks & 1 Script Parameters
INFO (     MainThread) - Created total 3 jobs
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Validating command line arguments
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Run directory : /home/omar/OpenFPGA/openfpga_flow/tasks/basic_tests/full_testbench/configuration_chain/run057/k4_N4_tileable_40nm/or2/MIN_ROUTE_CHAN_WIDTH
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Running "yosys_vpr" Flow
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Extracted lut_size size from arch XML = 4
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Running Yosys with lut_size = 4
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Launching Run yosys
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Validating command line arguments
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Run directory : /home/omar/OpenFPGA/openfpga_flow/tasks/basic_tests/full_testbench/configuration_chain/run057/k4_N4_tileable_40nm/xor2/MIN_ROUTE_CHAN_WIDTH
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Running "yosys_vpr" Flow
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Extracted lut_size size from arch XML = 4
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Running Yosys with lut_size = 4
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Launching Run yosys
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Run yosys is written in file yosys_output.log
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Run yosys is written in file yosys_output.log
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - ACE2 output is written in file or2_ace2_output.txt
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - blif_3args output is written in file or2_blif_3args_output.txt
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Launching Yosys
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Yosys is written in file yosys_rewrite.log
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Running OpenFPGA Shell Engine
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Launching OpenFPGA Shell Run
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - ACE2 output is written in file xor2_ace2_output.txt
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - blif_3args output is written in file xor2_blif_3args_output.txt
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Launching Yosys
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Yosys is written in file yosys_rewrite.log
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Running OpenFPGA Shell Engine
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Launching OpenFPGA Shell Run
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - OpenFPGAShell Revision: 2a73b60a-dirty Compiled: 2022-07-21T19:47:26
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - OpenFPGA Shell Run is written in file openfpgashell.log
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - vpr result extracted in file vpr_stat.result
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Launching iverilog_verification
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - OpenFPGAShell Revision: 2a73b60a-dirty Compiled: 2022-07-21T19:47:26
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - OpenFPGA Shell Run is written in file openfpgashell.log
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - vpr result extracted in file vpr_stat.result
INFO (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Launching iverilog_verification
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - iverilog_verification run failed with returncode 134
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - command iverilog -o compiled_xor2 ./SRC/xor2_include_netlists.v -s xor2_autocheck_top_tb -I ./SRC
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - -->>././SRC/xor2_autocheck_top_tb.v:83: error: Unable to bind wire/reg/memory nan' in xor2_autocheck_top_tb'
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Current working directory : /home/omar/OpenFPGA/openfpga_flow/tasks/basic_tests/full_testbench/configuration_chain/run057/k4_N4_tileable_40nm/xor2/MIN_ROUTE_CHAN_WIDTH
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Failed to run iverilog_verification task
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Exiting . . . . . .
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - iverilog_verification is written in file iverilog_output.txt
INFO (00_or2_MIN_ROUTE_CHAN_WIDTH) - Launching vvp_verification
ERROR (00_xor2_MIN_ROUTE_CHAN_WIDTH) - Failed to execute openfpga flow - 00_xor2_MIN_ROUTE_CHAN_WIDTH
Traceback (most recent call last):
File "openfpga_flow/scripts/run_fpga_task.py", line 513, in run_single_script
subprocess.CalledProcessError: Command 'python3 /home/omar/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py /home/omar/OpenFPGA/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml /home/omar/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/xor2/xor2.v --top_module xor2 --run_dir /home/omar/OpenFPGA/openfpga_flow/tasks/basic_tests/full_testbench/configuration_chain/run057/k4_N4_tileable_40nm/xor2/MIN_ROUTE_CHAN_WIDTH --fpga_flow yosys_vpr --openfpga_shell_template /home/omar/OpenFPGA/openfpga_flow/openfpga_shell_scripts/write_full_testbench_example_script.openfpga --openfpga_arch_file /home/omar/OpenFPGA/openfpga_flow/openfpga_arch/k4_N4_40nm_cc_openfpga.xml --openfpga_sim_setting_file /home/omar/OpenFPGA/openfpga_flow/openfpga_simulation_settings/auto_sim_openfpga.xml --openfpga_vpr_device_layout  --openfpga_fast_configuration  --power --power_tech /home/omar/OpenFPGA/openfpga_flow/tech/PTM_45nm/45nm.xml --vpr_fpga_verilog --vpr_fpga_verilog_dir /home/omar/OpenFPGA/openfpga_flow/tasks/basic_tests/full_testbench/configuration_chain/run057/k4_N4_tileable_40nm/xor2/MIN_ROUTE_CHAN_WIDTH --vpr_fpga_x2p_rename_illegal_port --end_flow_with_test --TOP xor2 --CHAN_WIDTH 300 --READ_VERILOG_OPTIONS -nolatches' returned non-zero exit status 0.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Configuration file for running experiments
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout_each_job : FPGA Task script splits fpga flow into multiple jobs
Each job execute fpga_flow script on combination of architecture & benchmark
timeout_each_job is timeout for each job
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[GENERAL]
run_engine=openfpga_shell
power_tech_file = ${PATH:OPENFPGA_PATH}/openfpga_flow/tech/PTM_45nm/45nm.xml
power_analysis = true
spice_output=false
verilog_output=true
timeout_each_job = 20*60
fpga_flow=yosys_vpr
[OpenFPGA_SHELL]
openfpga_shell_template=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_shell_scripts/write_full_testbench_example_script.openfpga
openfpga_arch_file=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_arch/k4_N4_40nm_cc_openfpga.xml
openfpga_sim_setting_file=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_simulation_settings/auto_sim_openfpga.xml
openfpga_vpr_device_layout=
openfpga_fast_configuration=
[ARCHITECTURES]
arch0=${PATH:OPENFPGA_PATH}/openfpga_flow/vpr_arch/k4_N4_tileable_40nm.xml
[BENCHMARKS]
bench0=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/xor2/xor2.v
bench1=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/or2/or2.v
bench2=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/xor2_latch/xor2_latch.v
[SYNTHESIS_PARAM]
bench_read_verilog_options_common = -nolatches
bench0_top = xor2
bench0_chan_width = 300
bench1_top = or2
bench1_chan_width = 300
bench2_top = xor2_latch
bench2_chan_width = 300
[SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH]
end_flow_with_test=

/////////////////////////////////////////
//  Functionality: 2-input xor2
//  Author:        Xifan Tang
////////////////////////////////////////
`timescale 1ns / 1ps
module xor2(
a,
b,
c);
input wire a;
input wire b;
output wire c;
assign c = (a ^ B);
endmodule


Changing the starting armor

Is there a way to change the armor you start with either through another kit or the default one? I would like to make the armor unbreakable.

The armor given should already be unbreakable. If it's not then that is something I'll need to fix. The start armor is really just there for ascetics for people to be able to customize with retexturing


Enable Travis

Enable Travis to build PR and master periodically.

I have added travis configuration files and now the test is running.
I will close this issue once the build gets successful.

Build has been passed:
https://travis-ci.org/remore/openwhisk-runtime-ruby/builds/404814914


Upgrade to Shapeless 2.3.0

I think the copy pasted Fill and LiftAll in this file can be removed with 2.3.0 :)


Add main on platform tests

bors r+

bors merge

bors help

bors r+

bors r+

bors try

bors r+ p=10

bors r-

bors r+ p=10

bors r-

bors merge

bors r+

bors merge


Math input error

This is a great conversion of the PDFs to html5 web pages, but there are a lot of math input errors in documents presented here on ar5iv website, in this article and others.

Hi @Vbansal21 , the way you framed the issue did not have an article id - could you use the "report an issue" button at the bottom of an article and follow the template?
It would be quite important to know both the document you're looking at, the specific formulas, and the operating system + browser that you are using. Then I can move to resolve the errors.
Thank you!

Actually I was just exploring your work, and came across the issue during random viewing different papers by clicking 'feeling lucky' button 😅, such as https://ar5iv.org/html/math/0601063 , https://ar5iv.org/html/hep-th/0601099 etc.
I am viewing it on Android: google chrome (desktop site enabled and disabled).
Though great work!!!

Perfect, I'm attaching a screenshot:

I tend to view the site on Firefox, where MathML is rendered natively and this type of error doesn't exist, which is why it's very helpful to be given the article links directly - I appreciate it.
While some of these are limitation of the polyfill rendering the math on Chrome, others may be flaws in the way we generate the formulas.
Feel free to try firefox out if you'd like to avoid the issue already today. But hopefully we find a path to make all formulas viewable in all browsers.

Closing issue. As far as I have opened different articles, they have been displaying fine.


Any task after "Artifactory Maven 3"-Task in build with Bamboo Artifactory plugin results in error "Failing task since return code of ... was -1 while expected 0"

Describe the bug
When we use the "Artifactory Maven 3" - Task of the Bamboo Artifactory plugin in bamboo build, any task that follows in that build plan fails with the message: "Failing task since return code of ... was -1 while expected 0" in certain cases. It is only happening when the function “Capture Build Info” is enabled (by default it is enabled). Artifactory plugin maintains a json variable 'org.jfrog.bamboo.aggregatedBuildInfoJson' to store buildinfo data and this size seems to get exceed the Linux limit when the project includes a high number of dependencies. By default, Linux max variable size can Raise upto 128 KiB limit, hence, if aggregatedBuildInfoJson variable size crosses this limit, then the follow-up tasks fail with the below error:
simple	02-Mar-2022 11:22:58	Starting task 'final-task' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
command	02-Mar-2022 11:22:58	Beginning to execute external process for build 'dsk-test - dskplann - Default Job jfrog/jfrog-cli#66 (DSK-DSKPLAN-JOB1-66)'\n ... running command line: \n/home/sankardk/bamboo/bamboo-home/temp/DSK-DSKPLAN-JOB1-66-ScriptBuildTask-5958431954678601554.sh\n ... in: /home/sankardk/bamboo/bamboo-home/xml-data/build-dir/DSK-DSKPLAN-JOB1\n
simple	02-Mar-2022 11:22:58	Failing task since return code of [/home/sankardk/bamboo/bamboo-home/temp/DSK-DSKPLAN-JOB1-66-ScriptBuildTask-5958431954678601554.sh] was -1 while expected 0

To Reproduce
-> Create a simple GitHub Maven project with more dependencies(In my case it's near to 240 dependencies).
   -> Setup a bamboo plan with the above GitHub maven project in Bamboo.
   -> Add the following tasks:
- Source Code Checkout
- Artifactory Maveen 3
- Script (with a simple echo statement as shown in the screenshot).
   -> Execute the plan and see the result.
If the plan succeeded, then always verify the size of the aggregatedBuildInfoJson variable and make sure to add more dependencies until it reaches Linux limit 128 KiB.
Screenshots:
   -> Make sure 'Capture Build Info' is enabled (by default enabled).

-> Bamboo plan details:

Workaround:
 Disabling the “Capture Build Info” option will help in running follow-up tasks without any issues.
Versions
Artifactory plugin 3.2.3
Bamboo 8.0.4

@Sankardunga,
Bamboo Artifactory plugin 3.2.9 is released.
This version includes a fix for this issue.
Feel free to upgrade - we'd appreciate your feedback on that!


AMBARI-24422. Log Feeder: upgrade guava version (because of CVE-2018-10237)

What changes were proposed in this pull request?
same as #1992
How was this patch tested?
same as #1992

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3495/
Test PASSed.


Secret handling during local development

In what area(s)?

/area runtime
/area docs

Ask your question here
Hi, I'd like do know what the recommended strategy is for handling secrets during local development. I've defined in the components folder a servicebusqueue-binding.yaml which currently looks like
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: myqueue
spec:
  type: bindings.azure.servicebusqueues
  metadata:
  - name: storageAccessKey
    value: my-secret-as-clear-text
  - name: queue
    value: myqueue
  - name: storageAccount
    value: mystorageaccountname

According to the docu for component secrets, I can use a K8s secret and reference it in the component YAML in case my app is running in the K8s cluster. But how can I remove the cleartext password from that file in case I'm using dapr run? I want to avoid adding the secret into the component file as this file is under version control.

@youngbupark Thanks for the link :) I'll check it out. But it'd be great if there is also a link in the secret documentation to the Azure KeyVault secret store.

@youngbupark Thanks for the link :) I'll check it out. But it'd be great if there is also a link in the secret documentation to the Azure KeyVault secret store.

Thanks for the suggestion. Can you please file this issue on https://github.com/dapr/docs/issues ? Also if you can contribute to doc, we would appreciate your contribution.


Don't make all our links blue

What happened?
TLDR;
Remove blue styling from in-alert links

We've had discussions in the past about anchor link design treatment and I spotted this (https://github.com/kumahq/kuma-gui/pull/3249#issuecomment-2514346008) today and thought it would be a good opportunity to formalize the decision around that a little by writing it down in an issue. Trying to be a little jovial here 😅 , but essentially putting a big underline underneath the fact that we shouldn't always use blue styling for links
In the past we've had discussions on making sure that all our anchor links in our entire application are blue, because Internet.
An important thing is: Internet != Design i.e. there are other considerations to take into account when deciding these things.
In the above PR for example (a kongponents upgrade) the styling that the authors are trying to enforce is yellow link text on yellow background, because Design.

Even with the above PR applied we still have:

I just checked how other folks are using this, and it does seem like they also have yellow alerts with blue links in them even after https://github.com/Kong/kongponents/pull/2528. I guess we might want to keep things as is also 🤷 (i.e. blue with underline on hover)

I noticed in https://github.com/kumahq/kuma-gui/pull/3308 that I'm about to merge that there was this change:
https://github.com/Kong/kongponents/commit/84a4e9f75c7bff9b136ae3e89d7cc2be51dbcc3f
That commit might help things here

I noticed this seems to now be like this:

Note the difference in the screengrab from the description that the link is no longer blue. We haven't done anything here yet so I'm pretty sure this was a consequence of https://github.com/Kong/kongponents/commit/84a4e9f75c7bff9b136ae3e89d7cc2be51dbcc3f
Not sure whether we should close this issue or not 🤔 seeing as the above commit causes issues elsewhere:

https://github.com/kumahq/kuma-gui/pull/3317
https://github.com/kumahq/kuma-gui/pull/3323

(the above PRs fix the issues our side)


Selecting struct field within field produces unexpected results

Describe the bug
When you have a column that is a struct of struct and you attempt to index into the lowest level, if there is a null at the first level of the struct you get an unexpected result. In the dataframe below I have an outer_1 stuct that if it is null and we try to access an inner member, we would expect to also get a null.
I have exported this dataframe to parquet and tested on the rust side and the problem does not exist there, so I think it is something in this repo.
To Reproduce
ctx = SessionContext()

batch = pa.RecordBatch.from_arrays(
    [pa.array([
        {"outer_1": {"inner_1": 1, "inner_2": 2}},
        {"outer_1": {"inner_1": 1, "inner_2": None}},
        {"outer_1": None},
    ])],
    names=["a"],
)

df = ctx.create_dataframe([[batch]])

df.write_parquet("/dbfs/tmp/tsaucer/struct_of_struct.parquet")

df.select(col("a")).show()

df.select(col("a")["outer_1"]).show()

df.select(col("a")["outer_1"]["inner_2"]).show()

Produces:
03:20 PM (<1s)
ctx = SessionContext()

batch = pa.RecordBatch.from_arrays(
    [pa.array([
        {"outer_1": {"inner_1": 1, "inner_2": 2}},
        {"outer_1": {"inner_1": 1, "inner_2": None}},
        {"outer_1": None},
    ])],
    names=["a"],
)

df = ctx.create_dataframe([[batch]])

df.write_parquet("/dbfs/tmp/tsaucer/struct_of_struct.parquet")

df.select(col("a")).show()

df.select(col("a")["outer_1"]).show()

df.select(col("a")["outer_1"]["inner_2"]).show()
DataFrame()
+-------------------------------------+
| a                                   |
+-------------------------------------+
| {outer_1: {inner_1: 1, inner_2: 2}} |
| {outer_1: {inner_1: 1, inner_2: }}  |
| {outer_1: }                         |
+-------------------------------------+
DataFrame()
+----------------------------------------------+
| cc251bd408f114ca2a4354b6976d91339.a[outer_1] |
+----------------------------------------------+
| {inner_1: 1, inner_2: 2}                     |
| {inner_1: 1, inner_2: }                      |
|                                              |
+----------------------------------------------+
DataFrame()
+-------------------------------------------------------+
| cc251bd408f114ca2a4354b6976d91339.a[outer_1][inner_2] |
+-------------------------------------------------------+
| 2                                                     |
|                                                       |
| 0                                                     |
+-------------------------------------------------------+

Expected behavior
Accessing a subfield of a null entry should also return null.

My statement above about testing on rust side is likely incorrect. I ran the same test above but loading the dataframe from a parquet file instead of creating in memory and the expected behavior is reproduced.
If you amend these lines to the bottom of the minimal example
df.write_parquet("save_out.parquet")

df_reread = ctx.read_parquet("save_out.parquet")

df_reread.show()
df_reread.select(col("a")["outer_1"]["inner_2"]).show()

You get the expected result
DataFrame()
+-------------------------------------+
| a                                   |
+-------------------------------------+
| {outer_1: {inner_1: 1, inner_2: 2}} |
| {outer_1: {inner_1: 1, inner_2: }}  |
| {outer_1: }                         |
+-------------------------------------+
DataFrame()
+-----------------------------+
| ?table?.a[outer_1][inner_2] |
+-----------------------------+
| 2                           |
|                             |
|                             |
+-----------------------------+

It also shows the original table is reproduced. I'll continue digging but I no longer am convinced this is a python binding issue.

Further testing on the rust side makes me think it is something about how the batch record is created in pyarrow. I created the same dataframe using StructBuilder in the below gist and cannot reproduce the problem.
https://gist.github.com/timsaucer/7527c0851b379d4e9c466d8972d49a01

I think I know what's going on.
Even if outer is null, we still have data within inner_1 and inner_2. When pyarrow creates the record batch, it sets these to the default value rather than null even though the outer struct is null. Then on the datafusion side we index into these and get those default values.
I think the right place to resolve this is in pyarrow setting null when all outer values are null. But maybe there is additional validity checks we should have. I'm going to think a little more about this issue before moving it to the most appropriate repo.

In my gist above, I went back an inserted values into the subfields inner_1 and inner_2 even though outer was null and I am able to reproduce the problem above, so I definitely think this is not a datafusion-python problem.

Closing in favor of https://github.com/apache/arrow/issues/41833


no-bounce disables links in iOS

This tool works great with the bouncing issue, but somehow, if the script is running, links won't work anymore (only in iOS).

Thanks for your feedback!
Please try to run noBounce with preventDefault: false like:
noBounce.init({preventDefault: false, animate: true});

If preventDefault is enabled the default  behavior of the touchevent gets disabled. The default  behavior of touch events on links is opening them. That's why opening links doesn't work with preventDefault: true.

Thanks for the response. I tried to change this setting for preventDefault: but then the function didn't work properly.

Can you further explain what "didn't work properly" means?
Did you get any js errors or did the browser start bouncing again?

Sorry, yes of course.
As I said, the problem is just iOS (didn't checked Android).
I got a horizontal-scrolling page with a fixed height.
While scrolling to the left or the right, the browser started bouncing, so I installed nobounce.js.
on preventDefault: true the links didn't work anymore.
on preventDefault: false the stage was bouncing again and started to flicker.
I uploaded the two versions for you to see:
http://dennishelbig.com/downright/true.html
http://dennishelbig.com/downright/false.html
(links are the filters on the bottom or the heart for menu)

Thanks for this comprehensive explanation.
I think that behavior is a bug in noBounce that is easy to fix.
I will update the repo this evening.

I fixed the bug and removed the preventDefault option from the noBounce.js init call.
So the new version with the following init call should work now for you:
noBounce.init({animate: true});

But disabling the bounce effect directly in the webview (if you have access to it) is always the best option.


A similar project

You may want to check out a similar project we (me and @jutanium) did a while back:
TalmudLab/daf-renderer
What are the chances that there are two open source projects working on this problem!!
Would you be open to merging the projects and consolidating them under one repo or maybe organization?
I don't really know how we would go about it, but they are similar enough that maybe we can get it into one project.
We did it for javascript to generate html+css, and you did it for python to generate a pdf, so there is not much overlap, but we are both targeting the same people.

Sent you an email!

@subalterngames @Shaun-Regenbaum not that I actually have time to work on this, but I want to be part of the convo if just to say hi! 👯 😄

@subalterngames referred me to this back in April 28, 2022. Mazel tov... after years of considering joining the GitHub community, THIS is the project that pushed me over the line because of the intersection with Jewish study. That said, I'm not sure where my skill sets may be supportive...

Hello @BookWorm82, its great to have you, as you saw, me and @Jutanium have another  project thats works for this in the browser at TalmudLab/daf-renderer. It works for ltr (left to right) or rtl (right to left) languages. What is your skill set? Programming, Documentation, anything else?
Glad to have you!


Add Coverage Data

We should track code coverage of the go-gpt3 client with a tool such as codecov.

This is done now (see README badge)


Changed strlen to mb_strlen for line length rule

see Issue #107

Awesome thanks

Release build is in progress ^^


Pause button

Surprised no one came up with this request yet, but a pause button would be pretty convenient ;) Alternatively, the play button could be used for that, which at the moment just restarts the current song if pressed while playing.

Good point :)


WEBSDK-116 - fixes event listener bug

The following scenario:
var listener = function(event, data) { console.log(event, data); }
branch.addListener(listener);

was not working correctly before

👍


Aquarius modal

Aquarius card modal including sign with least compatibility, most likely way to die, 1-3 negative traits, and top challenge

As an Aquarius, the most compatible zodiac sign would be Gemini. The most likely way to die would be trying to prove a point. The top negative trait of an Aquarius would be their stubbornness, and freedom is of the utmost importance for Aquarians, who view challenges to their independence as power-hungry attempts to control them. To win an Aquarian's trust, don't try to reign in their quirks or keep them from flying their freak flag high—Aquarius thrives on shock value.


[EventHubs] Makes max_size_in_bytes read-only in EventDataBatch

make max_size_in_bytes be a property EventDataBatch
https://github.com/Azure/azure-sdk-for-python/issues/14639

max_size_in_bytes on the batch object should be readonly.

this would be a breaking change, we're not going to change the behavior, instead we'll add documentation.


App theme refactor

Refactored App:
[x] chorestar
[x] easypick
[x] groceryship
[x] lingua
[x] listify (1)
[x] livescorecard
[x] phoenix
[x] potluck
[x] rendezvous
[x] sweetspot (2)
Bugs:
(1) In Listify, the button color is set as currentColor, which is determined by color of the surroundings. After using the theme, the surrounding color is changed and I haven't thought of a way to fix it yet.
(2) The original app almost randomly uses the Roboto and Apple-system fonts. I don't think it's intentional so I used Roboto everywhere.

I tested the following apps so far:

sn: OK
chorestar: OK
groceryship: OK. I fixed and pushed to this PR a change to make claim request reactive
listify: OK, but the welcome text was black instead of white. I pushed the fix to this PR
mapcampus: OK
phoenix: the phoenix logo doesn't show up
rendezvous: map doesn't show up

I still have to test the others, but can you look into phoenix and rendezvous and the other apps I haven't tested so far and make sure that there are no regressions? At this point the changes in master are very stable so we should try to avoid merging code that will break things.


Update cached deps weekly

Add week number to cache key for the Python venv

Tested by https://github.com/TeachBooks/testable-template/actions/runs/9419148847/job/25948282017 step "Cache virtualenv"


Would like the ability to render several markdown files to viewer

I like the simplicity of this code.
If you can render several markdown files to browser window that would be desirable.
For example you select three files
section1.md
section2.md
section3.md
If their content would show in the browser concatenated that would be a very useful feature

Hi @Webcompose
I added a new checkbox to the page (Concatenate md files) and it would be visible after selecting multiple markdown files. If you check it, you will see the preview of the concatenated md files and you can save them as one html file. If you don't check the checkbox, They would be saved as html files separately.
Thank you for the comment : )

Fantastic. More useful now.
Rick
On Saturday, 20 June 2020, Ashkan<EMAIL_ADDRESS>wrote:

Hi @Webcompose https://github.com/Webcompose
I added a new checkbox to the page (Concatenate md files) and it would be
visible after selecting multiple markdown files. If you check it, you will
see the preview of the concatenated md files and you can save them as one
html file. If you don't check the checkbox, They would be saved as html
files separately.
Thank you for the comment : )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Ashkanph/md-to-html/issues/1#issuecomment-646994645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3PWMXWRZEJBC3XN6JHGKDRXS2TFANCNFSM4OCZZY7A
.

--
Rick Maltese

When I try to recreate this on my localhost the latest concatenate feature will not work.
Are there some dependencies I might be missing?
Is there a node interpreter?

No, It is just a static page. You can simply clone the project and then open the index.html page and it is ready to use and doesn't need the internet anymore.
I tested the last feature both in Mozilla Firefox 77 and Google Chrome 80. And there was no problem. You can test it in the online page in chrome.

Useful to develop javascript that assembles md files


Set the gflags version string.

This makes --version return the build version string.

Maybe we should use google::VersionString() when logging the version? This also has the smell that we might want some sort of global init function to do these sorts of things...

This is to help with #787, of course.

Using google::VersionString() SGTM, feel free to add it.


Update widget.js to v1.1.10

Description
Update widget.js to v1.1.10 to enable popping up the initial message
Checklist

[x] Everything passes when running mix test
[x] Ran mix format
[x] No frontend compilation warnings

Does this fix the missing typescript type in the widget props?

which type do you mean @a8t?

@reichert621 - I'm getting a TS error for awayMessage on the head of master.

ah @a8t you might need to run npm install in the /assets directory?

(the update in this PR only deals with the js script that can be pasted in the html, so it doesn't have anything to do with typescript)

ah @a8t you might need to run npm install in the /assets directory?

lol you were right!


css attribute not compiled by view-compiler or enhance

The css attribute on HTML elements are not compiled into a style attribute when compilation is done by the view-compiler or by enhance
enhance plunkr, view-compiler plunkr

ping @adriatic

@jdanyow Am I correct in thinking that css isn't processed if it isn't used with .bind or a string interpolation? If that's the case, while I understand it, I think it might be an oversite on our part that leads to confusion. Let me know what you think.

Now that we use a text loader for the templates, can we automate the injection of the css attribute and tell people to use style?  I know we cannot parse HTML with a regex... but maybe just one specific attribute in conjunction with ${?
For example, would something like template = template.replace(/style=("[^"]*\$\{[^"]*")/g, 'css=$1') introduce more problems than it solves?

I'm not sure if it's a good idea or not. We would have to be sure it would work 100% correctly. That aside, we also have the "enhance" use case where there is already HTML in the DOM that we want to enhance. That means that we would still need to have support for the css property and document that use case. So, it's not something we could hide away.  But, maybe, with your regex, it can be used only for that one scenario? Then developers wouldn't need to think about it as much...and it can simply be pushed into a side note of the docs. Also, I just realized, that anyone using the html import loader would still need to use the css property.
I think we would need some more feedback.

rest of this can be tracked in https://github.com/aurelia/templating-binding/issues/23


osmium package in python 3.6 links to libboost for 2.7

Here's my traceback of failed import. The python script is executed in 3.6, just as osmium package. But osmium opens libbost_python-py27 and fails:
    import osmium as osm
  File "/usr/local/lib/python3.6/dist-packages/osmium/__init__.py", line 1, in <module>
    from osmium._osmium import *
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0: undefined symbol: PyClass_Type

There is /usr/lib/x86_64-linux-gnu/libboost_python-py35.so.1.58.0 file in the same directory (/usr/lib/x...gnu/), which probably should work with 3.6.
Libboost was installed with pip3:
sudo pip3 install libboost

(when installed locally, the issue is the same)
How to fix this?

Same as #52. The setup script is not able to detect the version mismatch here and will fall back to whatever libboost_python.so points to. You must have a boost library installed that matches your python version.


TINYINT type cannot be used with sequences and IDENTITY columns

Identity columns of type tinyint results in error:
create table tab1 (col1 tinyint identity(1,1))

identity column type must be smallint, integer, or bigint

The same error is returned for tinyint sequences:
create sequence seq1 as tinyint start with 1 increment by 1

sequence type must be smallint, integer, or bigint

This is a side-effect of a #53 fix, the workaround is to use the type smallint instead.

@psrinivasa2
Postgres only supports sequences and identity columns for integer data types. After the #53 fix, tinyint is a distinct type now, no longer an alias for smallint, so it cannot be used with identity. How many tinyint identity columns do you have, can you change them to smallint?

I will try change and test whether it will cause any impact on application layer side

@psrinivasa2
Is there a specific reason for tinyint used for IDENTITY columns in your app on MSSQL? Because tinyint is limited by max value 255, it is not immediately clear how it can be useful, for example the following how it works on MSSQL:
create table tab1(col1 tinyint identity(254, 1), col2 int)
insert into tab1(col2) values(42)
insert into tab1(col2) values(43)
insert into tab1(col2) values(44)

Arithmetic overflow error converting IDENTITY to data type tinyint.
Arithmetic overflow occurred.

So value 44 is not inserted in tab1:
select * from tab1

col1 col2
---- -----------
254  42
255  43

Are you using it to restrict the inserts (by causing Arithmetic overflow error on a tinyint IDENTITY column) and then use DBCC CHECKIDENT ('tab1', RESEED, 0) from application when needed?

Hi @staticlibs ,
All these are TYPE table, for TYPE tables rows in our scenario may be max 20, should not exceed 250.

Hi @staticlibs ,
I could see 13 identity columns using tinyint types and those are also been referenced in multiple places in application layer with enum of byte. Changing these identity columns to smallint will require changes in application enum to short and also SQL side types to smallint which is not feasible from our end.  If it is feasible without impact, can you help us on this?

@psrinivasa2
I cannot immediately answer, there is no real support for custom IDENTITY types in Babelfish, for example a decimal identity column will actually produce bigint identity column. This won't work for tinyint because we need an actual type of the column returned as tinyint. There may be a T-SQL workaround possible, I will elaborate.
Meanwhile, would you mind checking, how these 13 identity columns of tinyint have worked with your app on WiltonDB before the #53 change:
When I run the following on older WiltonDB (not the latest RC):
create table tab1(col1 tinyint identity, col2 int)

Then the actual type of the col1 column returned to client app is smallint, NOT tinyint:
select data_type
from information_schema.columns
where table_name = 'tab1'
and column_name = 'col1'

smallint

So it should have broken the byte EF mapping on all versions of WiltonDB, but it somehow worked for your app before.

Hi @staticlibs ,
Sure , Let me investigate

Support for having tinyint identity as an alias to smallint identity is NOT included into 12.16.1 release. It can be added into the next update, if it is considered useful.
I think to achieve actual incrementing identity field is is necessary to use a T-SQL trigger, that will fetch the next value from the sequence and cast it to tinyint before inserting.


App crashed while adding a Marker through the tutorial

While going through the Add Marker tutorial i created a Marker for the nearby train station. Soundscape crashed after it had read it out. I used the submit feedback form to report the issue. On restarting Soundscape, the new Marker for the train station was in my Marker list.
@StevenAbrams

I can replicate this in the simulator. In the marker tutorial, after you create the marker and press "Nearby Markers" as recommended by the tutorial, the app crashes after the callout has been spoken.
Exception	NSException *	"Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread."	0x0000600001117d20

Unfortunately, the debugger drops us somewhere into the thread assembly code, not the app's Swift code, so it'll take a little work to figure out where/how to fix this.

I traced this down to some calls in MarkerTutorialViewController.swift using the breakpoint technique in https://stackoverflow.com/a/59299616. I pushed a commit that alleviates the crash. However, I still can't complete the tutorial in the simulator because the next step involves beacons, which don't work in the simulator since compass direction isn't simulated. So we should still test the fix on a real device in the next build.

I confirmed on a device that the tutorial can be completed after the patch.

@StevenAbrams to validate on next build.

I just tried this will build 1.0.0 (9) which became available a few hours ago. On a physical device and I can’t complete the tutorial. Do I need to wait for another build?

I accessed the Marker tutorial via the Help & Tutorials menu and it worked well. I created a new marker via the tutorial and it read it out, along with the other markers I already had and then I was able to exit the tutorial and there was no crash :-)
On a separate note...the text on that last screen is a little confusing because it refers to the Marker and encourages you to locate it by holding your phone flat and turning around...I tried that a couple of times but there were no audio cues at all. We can look into that after release...but I would say it is a priority 3?

Yeah, the crash is gone but the tutorial is not fully advancing properly. So I'd say this isn't yet resolved.
FWIW,  this seems to be a preexisting bug -- I can replicate the crash in the last Microsoft Soundscape release I still have installed.

That's fair; we can come back to it post release :-)

Let's close this bug @jchudge @steinbro @fraziercarr and open a new one that specifically states that the tutorial does not end. I have opened #56 to address the new bug.


Empty page on Android

Current behavior
Sometimes we got an empty page with FlashList. We used the Component Inspector to check the component hierarchy shown as below:

Expected behavior
It should show the contents provided by the data source.
To Reproduce
It is not reproducible every time, which makes it seem like a race condition.
Platform:

[ ] Android

Environment
@shopify/flash-list 1.2.2

FlashList does skip the first frame to measure itself. If you already have an estimate you can pass it through estimatedListSize prop and content will render immediately.

@naqvitalha I also start using FlashList and even with estimatedListSize I have blank screen and then after scrolling i have my listItems


PlanGrid rip off

Apparently, PlanGrid is charging crazy fee on top of their licenses ONLY for SSO - you will get no provisioning or licensing, only authentication. I don't think anyone will ever buy into that.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b310bf85-8550-8009-0137-ab71e49313a0
Version Independent ID: 91031153-8da7-7dc2-222c-c9722403fa3f
Content: Tutorial: Azure Active Directory integration with PlanGrid
Content Source: articles/active-directory/saas-apps/plangrid-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Thank you for the detailed feedback. Are there additional features or functionality you feel would improve the service and make it a greater value? You can provide such feedback via the Azure Active Directory Uservoice.

#please-close


add support for statestore query API

Describe the proposal
This feature is implemented in dapr runtime: https://github.com/dapr/dapr/issues/3662
It should be available in the SDK
Also, add integration test validating this feature in SDK.

Because this API is in alpha, it should probably be in a separate (new) client interface.

/assign

Thank you @mukundansundar for taking over this issue.
If that could help, I put together a corresponding PR for go-sdk: https://github.com/dapr/go-sdk/pull/216

https://azure.github.io/azure-sdk/java_introduction.html#java-models-builder


bug: uptsream nodes in apisix does not update when we logout all instances in nacos

When we logout all instances in nacos via api like:
curl -X DELETE 'http://<IP_ADDRESS>:8848/nacos/v1/ns/instance?serviceName=APISIX-NACOS&ip=<IP_ADDRESS>&port=10000'

We expect the node information in etcd to be updated as well, but it not.

It seems that [nacos-sdk-go](https://github.com/nacos-group/nacos-sdk-go) will not notify apisix-seed, although we use the subscription interface https://github.com/nacos-group/nacos-sdk-go/blob/master/clients/naming_client/naming_client.go#L313
Maybe we can pull node information from nacos periodically like Apache APISIX: https://github.com/apache/apisix/blob/master/apisix/discovery/nacos/init.lua#L383

Would you submit an issue to nacos-sdk-go and ask for help?

Would you submit an issue to nacos-sdk-go and ask for help?

ok， I'll try it first


Look into improving html layout on mobile devices

Rendering on narrow screens is a major PITA. You can't discern anything useful on pcb render on tiny screen but at least the top buttons should be visible so that you could switch to BOM only mode.

I haven't had too much problem seeing a board on my phone, but I've got a large screen (Pixel-xL), more like a phablet.
Here is a board in Android Chrome that I have with my phone in landscape, no other adjustment.

Here is the same board (also in Chrome) where I selected just the top of the board, changed the frame setup for portrait, and then in Chrome dragged the frame separator to trade white space around my board for space for the list.

Ok, I can agree that the reference designators on the board view can be hard to read, but there are plenty of other landmarks to find where the red square on the screen refers to on the actual board.
My big issue is it is easier to get access to the layout if it is all a single file. I'll open up another issue for that because it doesn't actually fit this one well.

Yes, as it is viewing bom on a phone is not impossible, it just is not optimized at all.
For example on my moto g6 (1080x2160) screen is not wide enough to even show the layout buttons in portrait mode, you have to go landscape. And fonts are way bigger than necessary on high ppi screens, wasting space.


[AIRFLOW-2083] Docs: Use "its" instead of "it's" where appropriate

Make sure you have checked all steps below.
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2083

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:
Fix trivial spelling/grammar errors

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason: trivial changes to documentation.  No testing appropriate

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Flake8 nitty stuff

Codecov Report

Merging #3020 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3020      +/-   ##
==========================================
+ Coverage   73.17%   73.18%   +<.01%
==========================================
  Files         177      177
  Lines       12412    12412
==========================================
+ Hits         9083     9084       +1
+ Misses       3329     3328       -1

Impacted Files
Coverage Δ

airflow/www/views.py
71.68% <ø> (ø)
:arrow_up:

airflow/jobs.py
80.01% <ø> (ø)
:arrow_up:

airflow/utils/dates.py
84.21% <ø> (ø)
:arrow_up:

airflow/ti_deps/deps/trigger_rule_dep.py
95.16% <ø> (ø)
:arrow_up:

airflow/bin/cli.py
54.8% <ø> (ø)
:arrow_up:

airflow/models.py
87.07% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


IndexedDb is blocked if app is opened on multiple browser tabs.

I am using IDB Driver in LocalForage and IndexedDb gets blocked when I try to perform operations in my application when it is opened in multiple tabs.
This issue gets resolved once I refresh the tab and try to perform the same operation. I am also unable to see the issue if I use WebSQL driver.

I am unable to find any of the pending operations. Is there a way to kill pending operations or view them?
Could someone please help me understand the root cause?

Same issue here. When I open the app in multiple tabs and then clear website data using chrome devtools then the app can get stuck unless the pending job is killed.

Hi!
Could you try my fix (_waitForDatabaseBeingDropped) - it surely worked for me.
https://github.com/localForage/localForage/issues/800#issuecomment-479880244

Same issues guys, I open multiple tabs on Chrome and then call getItem or setItem, the functions will pending forever

we have to use another name for indexdb file. if we want to use the same file we have to use the same storename
The following is ok
localforage.createInstance({
        name: `indexdbfile`,
        storeName: 'db1'
      });
localforage.createInstance({
        name: `indexdbfile2`,
        storeName: 'db1'
      });

The below is not ok
localforage.createInstance({
        name: `indexdbfile`,
        storeName: 'db1'
      });
localforage.createInstance({
        name: `indexdbfile`,
        storeName: 'db2'
      });


Using pytsk3 python script to delete files or folders

Hi
I am currently using pytsk3 python script to scroll through all the files in E01 files.. just wondering if they is a way to delete files in NTFS folder using python script.

pytsk3/libtsk does not provide write support.


WIP Viewmodel phosphor widget implementation

This implementation follows design discussions about designing the models.

@blink1073 - I cleaned up a lot and I think I fixed each one of your comments.

@jasongrout, are you ready to merge and iterate on this one too?

@blink1073 - sure we can merge and iterate from here.

ping @blink1073 - I switched back to using a switch statement

Thanks for the feedback.

Are we ready to merge this then?

I rebased in order to remove the experimental js code, instead of moving it to a new directory.  It's a lot cleaner that way, and the code is still in the history if we want to look at it.

LGTM, merge?

I'm ready for it to merge.
We'll need to iterate on the tests.

Yep, iterating, thanks!

And now of course I see that I didn't update the readme nor did I delete the js tests...


Ingress of HLS playlists with multiple variants fail

Creating an ingress with a HLS playlist that lists multiple variants isn't supported; for example:
https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8
Specifically, the ingress reaches state ENDPOINT_ERROR with error failed to add element to pipeline: video output bin.
Selecting a single variant from that m3u8 (e.g. https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/v7/prog_index.m3u8) works great.
It would be helpful to have some way to automatically select a variant so that each client doesn't have to parse playlists themselves. Ideally, I could specify a maximum bitrate and let the ingress service choose the highest bitrate variant that's within the maximum. (Or, very naively, simply choose the last variant listed.)
PS: I'd be happy to work on a PR for this.

This direction makes sense! we'd appreciate any contributions to improve the behavior here.


[Slider] Fix small step regression

Fixes a regression introduced by #16252
I added tests and examples. I can remove the example but I thought it might be a good idea to know when it breaks in a different way, small numbers are fragile in js and cryptocurrencies are all tiny.

@mui-org/core-contributors Do you guys still want to wait for moving Slider into core? Or do you have any concern left that might need a breaking change?

@alitaheri Nice to see you again :)
@oliviertassinari, no objection here.


PROPOSAL: Summarize ServicePlan Free information

Summarize ServicePlan Free information
Abstract
Summary data of ServicePlan Free field, embedded into ServiceClass.
Motivation
Address underlying concern in #454. As a client we have to look at all
of the ServicePlans to determine how many are free. We want to move
this processing to the server.
Proposed Design
ServiceClass API Changes
Add a CountPlanFree status field. Not user settable.
// ServiceClass represents an offering in the service catalog.
type ServiceClass struct {
    ...

    // CountPlanFree
    CountPlanFree int

    ...
}

Controller-Manager Changes
On initial processing of a ServiceClass, while processing service plans, keep count.
On updating a ServiceClass, recalculate count.
On updating a ServicePlan, recalculate count.
Drawbacks

Duplicates data from ServicePlan that can be calculated by the client.
New field in ServiceClass

I'm not sure about this one.  It's easy for me to imagine this field showing inaccurate or unexpected values.
I do not believe that we have such mechanisms elsewhere in the API - maybe @spadgett can comment on that, as the OpenShift console consumes a lot of APIs and I believe currently has to do a lot of client-side counting.

For reference, this is what CF shows when a user wants to see the list of services available:
service                         plans                             description
AppConnect                      Lite, AppConnectPlanProfessional* Connect your applications, automate tasks, and improve productivity
AppID                           Graduated tier*                   Add authentication to your apps, and host user profile information so you can build engaging experiences.
Application Security on Cloud   free, standard*                   A robust, practical security vulnerability assessment for your web applications.
Auto-Scaling                    free                              Automatically increase or decrease the number of application instances based on a policy you define.
AvailabilityMonitoring          Lite, Paid*                       Around the world, around the clock availability and performance monitoring.
BigInsightsForApacheHadoop      Basic*                            Provision managed Apache Hadoop and Spark clusters within minutes.
BigInsightsonCloud              Enterprise*                       Provision managed bare metal Apache Hadoop clusters for production use or POCs at scale.

CF's "cf marketplace" command returns 3 bits of info for each service: name, list of plan names, a short description of the service. Each plan name has a "*" to indicate if its free or not.
What's nice about this is that the user, upon seeing that there is a free plan for a particular service available, doesn't need to do a 2nd call to the server to get the name of the plan - they can use it immediately.  I think that's a pretty nice UX.

w.r.t. a service have old data, a long time ago we talked about creating specialized GETs (or was it just for "describe"?) that happened on the server side, is it possible to leverage that same feature to have a GET of a service query the plans such that it could augment the ServiceClass's metadata with the latest Plan info?  Or even just create a specialized Get() method in storage.go - which Morgan has shown we can do.

cc @fabianofranz
On Sat, Aug 12, 2017 at 9:25 PM Doug Davis<EMAIL_ADDRESS>wrote:

For reference, this is what CF shows when a user wants to see the list of
services available:
service                         plans                             description
AppConnect                      Lite, AppConnectPlanProfessional* Connect your applications, automate tasks, and improve productivity
AppID                           Graduated tier*                   Add authentication to your apps, and host user profile information so you can build engaging experiences.
Application Security on Cloud   free, standard*                   A robust, practical security vulnerability assessment for your web applications.
Auto-Scaling                    free                              Automatically increase or decrease the number of application instances based on a policy you define.
AvailabilityMonitoring          Lite, Paid*                       Around the world, around the clock availability and performance monitoring.
BigInsightsForApacheHadoop      Basic*                            Provision managed Apache Hadoop and Spark clusters within minutes.
BigInsightsonCloud              Enterprise*                       Provision managed bare metal Apache Hadoop clusters for production use or POCs at scale.
CF's "cf marketplace" command returns 3 bits of info for each service:
name, list of plan names, a short description of the service. Each plan
name has a "*" to indicate if its free or not.
What's nice about this is that the user, upon seeing that there is a free
plan for a particular service available, doesn't need to do a 2nd call to
the server to get the name of the plan - they can use it immediately. I
think that's a pretty nice UX.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/service-catalog/issues/1125#issuecomment-322015828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWXmAp2z4Q3juBU2di-lvckofLJqsaiks5sXlCegaJpZM4O1M5S
.

If plans are pulled out into a separate resource, I agree this could be a problem for UIs. I don't see a good way to filter on free/paid without getting all the plans and doing some work on the client.
I'm not sure the count is important, though. Just knowing if there's any free plan is probably as useful as knowing how many? (And a count doesn't satisfy @duglin's use case, which lists plan names.)

@duglin where's the code + APIs for that?

@MHBauer I don't know if there was code written for it - I just remember there being talks about doing it.

ping @pwittrock

@duglin I meant the cf code for the CLI output. Would like to see what they use. Is it a custom API for the User or a usage of existing APIs and aggregation on the client side.

not sure where the CF code is, but when I do a cf marketplace the REST call is:
GET /v2/spaces/be715851-daed-4483-97a3-632ce6f2dded/services

which pulls back a list of resources like this:
    {
      "metadata": {
        "guid": "bed0b74d-6d3e-47b4-ade5-b1407a5b1795",
        "url": "/v2/services/bed0b74d-6d3e-47b4-ade5-b1407a5b1795",
        "created_at": "2014-04-15T20:58:58Z",
        "updated_at": "2017-08-02T10:11:42Z"
      },
      "entity": {
        "label": ".....",
        "provider": null,
        "url": null,
        "description": "Performance Testing Platform",
        "long_description": null,
        "version": null,
        "info_url": null,
        "active": true,
        "bindable": false,
        "unique_id": "45c4ae61-ae64-11e3-8e2c-00259086a7bc",
        "extra": "{\"taxCode\":\"C1\",\"displayName\":\"BlazeMeter\",\"imageUrl\ ...
        "requires": [

        ],
        "documentation_url": null,
        "service_broker_guid": "aae1e9c7-1fbb-4c72-9576-92cd12f8c60d",
        "plan_updateable": false,
        "service_plans_url": "/v2/services/bed0b74d-6d3e-47b4-ade5-b1407a5b1795/
      }
    },

Which is interesting. Notice that it doesn't show the plans directly, it has service_plans_url.
Looking at the remaining REST calls I then see it hit each service plan:
GET /v2/service_plans?q=service_guid%3Abed0b74d-6d3e-47b4-ade5-b1407a5b1795 HTTP/1.1

response - a list of things like:
      "metadata": {
        "guid": "eef13a3b-37a4-4008-886f-d9ff0ac35285",
        "url": "/v2/service_plans/eef13a3b-37a4-4008-886f-d9ff0ac35285",
        "created_at": "2014-04-15T20:58:59Z",
        "updated_at": "2017-08-02T10:11:42Z"
      },
      "entity": {
        "name": "free-tier",
        "free": true,
        "description": "Free",
        "service_guid": "bed0b74d-6d3e-47b4-ade5-b1407a5b1795",
        "extra": "{\"displayName\":\"Free\",\"bullets\":[\"Up to 50 concurrent u...
        "unique_id": "fd227fc2-ad9c-4db9-a55d-a61bbf2f5d5f",
        "public": true,
        "bindable": false,
        "active": true,
        "service_url": "/v2/services/bed0b74d-6d3e-47b4-ade5-b1407a5b1795",
        "service_instances_url": "/v2/service_plans/eef13a3b-37a4-4008-886f-d9ff
      }

So, from a REST perspective splitting the plans from the services (and providing an easy way to pull back just the plans for the services we care about) would put us on-par with CF. If we think that's good enough.
However, that's just from a REST perspective. CF's main UX (the cmd line) shows it all in one cmd. Now, we could do a kubectl plugin to get the same net result - would just need to decide if it returned json or human readable output (or even two plugins).

If we think that's good enough.

I think it is good enough. Optimize later. https://github.com/kubernetes-incubator/service-catalog/issues/454#issuecomment-321100107
If not, this is a separate proposal from the other proposal. We can write up alternatives for the optimization later.


Widgets cleared out of my dashboard

Dev Home version
0.1701.597.0
Windows build number
No response
Other software
No response
Steps to reproduce the bug
I opened Dev Home today and it opened to my dashboard that previously had a mix of core widgets and GitHub widgets and they are all gone now, so my dashboard is empty.
Expected result
I expect once I set up my widgets, they should only disappear if I choose to delete them.
Actual result
My dashboard is empty upon launching Dev Home.
Included System Information
No response
Included Extensions Information
GitHub extension version 0.1700.597.0

@shakersMSFT I need your widget service version(s) and Windows version.
in powershell, do
get-appxpackage *widget*
get-appxpackage *webexp*

/logs

Widgets: <IP_ADDRESS>
WebExp: 524.24900.0.0

logs:
[devhome20240905.zip](https://github.com/user-attachments/files/16911110/devhome20
log20240905.zip
240905.zip)
I have no logs from the Azure extension.

Dev Home: devhome20240905.zip
GitHub ext: log20240905.zip
I have no logs from the Azure ext

Having a similar issue, began after the latest windows update
DevHomeLogs.zip

Duplicate of #2945


Mention Addon Resizer in “Considerations For Large Clusters”

This is a Feature Request

What would you like to be added
Revise https://kubernetes.io/docs/setup/best-practices/cluster-large/ to mention the addon resizer
Why is this needed
You might not need need to manually resize addons as your cluster's scale changes: instead, you can let automation take care of that for you.
Comments
/kind feature
/language en

If we add this, I would mention it in the “What's next” section, as a hyperlink.

/assign

Fixed in PR #28458

Thanks!
/close


First Byte of RAM error (Lost)

Hi, I've compiled hello_world example and loaded into RAM
At $0200 in monitor first 4 Bytes are 0200: 25 02 20 30 but in Hex file format first 4 Bytes are 20 25 02 20 that corresponds to the opcodes of instruction jsr init_via_ports
It seems to upload lost first Byte of code and of course code doesn't works.
Otherwhise when I select Load option in LCD Screen allways stays in "Awaiting Data...." and when transfer finish doesn't back to main menu.
It's normal?
Thank you again.

Hi @jgauchia, have a look at my pull request: https://github.com/janroesner/sixty5o2/pull/3
The Arduino code switches a pin to output before setting the right level and it causes a glitch pulse. There is some handling for that in the boot loader, but I think all of that can be stripped out. I was having issues similar to yours with missing first byte. Let me know if it helps.

Thanks @tedd4u
Oks, I'll try it.
I saw your pull request before but I only changed arduino code :stuck_out_tongue:

Ah, I think you'll need both. The asm is intentionally dropping the first
low pulse :D
On Thu, Jul 23, 2020 at 1:37 PM, Jordi Gauchia<EMAIL_ADDRESS>wrote:

Thanks @tedd4u https://github.com/tedd4u
Oks, I'll try it.
I saw your pull request before but I only changed arduino code [image: 😛]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/janroesner/sixty5o2/issues/5#issuecomment-663220061,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEVNJZM6ZJZL2S6X442OMDR5CNQRANCNFSM4PGBVN7Q
.

Yes I saw It. :D

Thanks @tedd4u !!!
It's works now!
Only "problem" was that Load option never go back to main menu when upload finished.
No problem, a reset to the board and later Run!
I Close this issue.


Make integration tests work on GH Actions for ARM

Turns out ptrace is not supported on qemu, as captured in a few places such as https://github.com/docker/for-mac/issues/5191. So, run on ARM won't support integration tests.
Will reopen if possible in future.


fixed Rd warning

Thank you so much @hrbrmstr! Also added a note in the README and vignette - for this and earlier feedback:
Thank you to Bob Rudis for feedback that helped to improve this package.

totally not necessary but def appreciated. i hope the pkg gets ppl to go outside more! :-)


install.  @vue/cli-plugin-unit-jest.   error.  Unsupported URL Type "npm:"<EMAIL_ADDRESS>

Version
3.6.3
Environment info

node 10.0.0
npm  5.6.0

npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:"<EMAIL_ADDRESS>
Steps to reproduce
npm i<EMAIL_ADDRESS>What is expected?
install. success
What is actually happening?
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:"<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated<EMAIL_ADDRESS>use String.prototype.padStart()
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated<EMAIL_ADDRESS>some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated<EMAIL_ADDRESS>The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:"<EMAIL_ADDRESS>npm ERR!      /Users/xxxx/.npm/_logs/2023-11-07T06_39_41_706Z-debug.log
➜  Desktop npm i @vue/cli-plugin-unit-jest
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:"<EMAIL_ADDRESS>npm ERR!      /Users/xxxx/.npm/_logs/2023-11-07T06_39_57_335Z-debug.log

Hi, react js. I got the same error in my project.
I examined all the packages in Package.json one by one.
I saw that you got it when installing js-beautify. I did not get the error when I switched to the old version.
js-beautify": "1.10.1"

But i use node v10.0.0  version,  install<EMAIL_ADDRESS>error message will be displayed（npm ERR! Unsupported URL Type "npm:"<EMAIL_ADDRESS>node  high version  no  this problem。


Bug Report: Unpublished Image Tags in sqs-controller and iam-controller Helm Charts

Describe the bug
I have noticed that the recent update for the sqs-controller and iam-controller Helm charts in the aws-controllers-k8s repository might be referencing unpublished image tags. The specified tags in the Helm charts are not available in the respective ECR repositories.
Steps to reproduce

Refer to the following Helm chart files:

iam-controller: values.yaml
sqs-controller: values.yaml

Observe the image tag configurations mentioned in the Helm charts.
Compare them with the available tags in the respective ECR repositories:

iam-controller: ECR Repository (ends at version 1.2.1)
sqs-controller: ECR Repository (ends at version 1.0.3)

Expected outcome
The image tag references in the sqs-controller and iam-controller Helm charts should correspond to the published tags available in the respective ECR repositories.
Environment
Please provide the following details about your environment:

Kubernetes version: v1.26.4
Using EKS (yes/no), if so, version: yes, v1.26.4-eks-0a21954
AWS service targeted (S3, RDS, etc.): IAM, S3

Please let me know if you need any further information.

It appears there is a bug in the latest Golang 1.19.10 image that we use for building and releasing the controller images. All release builds, started after the 1.19 tag was moved up to 1.19.10, got stuck on go mod download without any error messages. I ssh'd into these build jobs, manually tested with 1.19.8 and confirmed that they were unblocked. I released a temporary fix to pin the GOLANG_VERSION of the release scripts to 1.19.8 just to see these current releases pushed through, but plan on reverting this once we can validate that 1.19.11 works.


[18] renderToPipeableStream doc

Just curious, what about renderToReadableStream, and the changes to the other hooks?

It's probably worth inlining the examples from https://github.com/reactwg/react-18/discussions/127 it has a lot of the details in just that code.


Broadcasting data 60 FPS with GATT

Hello.
I'm using a CSR V.4 (csr8510 a10) and I'm trying to broadcast 40 bytes of data with 40 - 60 time per second. It seems to be possible and working fine but after sending data for a while I got a disconnection randomly with LIB USB ERROR message. I don't know how to figure out the throughput or bandwidth of CSR V.4. Do you have any ideal about that?
Thanks

Hi @oishi89,
How do you broadcast the data?
Could you please upload the relevant code snippets?

@zach-luman I was creating a timer with interval time is 16 ms.

In onSubscribe handler? @oishi89

Please upload the full characteristic code here.

`const bleno = require("bleno");
console.log("Starting bleno...");
const COUNTER_SERVICE_UUID = "00010000-9FAB-43C8-9231-40F6E305F96D";
const COUNTER_CHAR_UUID = "00010001-9FAB-43C8-9231-40F6E305F96D";
class CounterCharacteristic extends bleno.Characteristic {
constructor() {
super({
uuid: COUNTER_CHAR_UUID,
properties: ["notify"],
value: null
});
    this.counter = 0;
}

onSubscribe(maxValueSize, updateValueCallback) {
    console.log(`Counter subscribed, max value size is ${maxValueSize}`);
    this.updateValueCallback = updateValueCallback;
}

onUnsubscribe() {
    console.log("Counter unsubscribed");
    this.updateValueCallback = null;
}

sendNotification(value) {
    if(this.updateValueCallback) {
        console.log(`Sending notification with value ${value}`);

        const notificationBytes = new Buffer(4 * 10);

        for (var i = 0; i < 10; i++) {
                notificationBytes.writeFloatLE(value * 0.01, i * 4);
        }

        this.updateValueCallback(notificationBytes);
    }
}

start() {
    console.log("Starting counter");
    this.handle = setInterval(() => {
        this.counter = (this.counter + 1) % 0xFFFF;
        this.sendNotification(this.counter);
    }, 16);
}

stop() {
    console.log("Stopping counter");
    clearInterval(this.handle);
    this.handle = null;
}

}
let counter = new CounterCharacteristic();
counter.start();
bleno.on("stateChange", state => {
if (state === "poweredOn") {

    bleno.startAdvertising("Counter", [COUNTER_SERVICE_UUID], err => {
        if (err) console.log(err);
    });

} else {
    console.log("Stopping...");
    counter.stop();
    bleno.stopAdvertising();
}

});
bleno.on("advertisingStart", err => {
console.log("Configuring services...");

if(err) {
    console.error(err);
    return;
}

let service = new bleno.PrimaryService({
    uuid: COUNTER_CHAR_UUID,
    characteristics: [counter]
});

bleno.setServices([service], err => {
    if(err)
        console.log(err);
    else
        console.log("Services configured");
});

});
// some diagnostics
bleno.on("stateChange", state => console.log(Bleno: Adapter changed state to ${state}));
bleno.on("advertisingStart", err => console.log("Bleno: advertisingStart"));
bleno.on("advertisingStartError", err => console.log("Bleno: advertisingStartError"));
bleno.on("advertisingStop", err => console.log("Bleno: advertisingStop"));
bleno.on("servicesSet", err => console.log("Bleno: servicesSet"));
bleno.on("servicesSetError", err => console.log("Bleno: servicesSetError"));
bleno.on("accept", clientAddress => console.log(Bleno: accept ${clientAddress}));
bleno.on("disconnect", clientAddress => console.log(Bleno: disconnect ${clientAddress}));`

@oishi89
Thanks for uploading code snippet.
But I'm wondering how did you let this peripheral subscribed?
In other word, how is onSubscribe handler called?