write_sdf writing single (IOPATH A Z (0.00:0.00)) for some instance pins, and correct (IOPATH B Z (1.23::1.23) (1.23::1.23)) for others of same cell type

We are starting to use OpenSTA fairly successfully, reading about 210K lines of verilog with about 514 standard cell types, with delay models using rise and fall resistances and pin capacitances for each.
We are trying to run gate-level simulations, with sdf annotation, written using OpenSTA's write_sdf command, and it is seemingly working successfully, except that about 6% of the IOPATH lines in the SDF have the (IOPATH A Z (0.00::0.00)) format, and then simulate as zero delay.  The real issue is that none of our cells have resistance and intrinsic delays which can result in 0.00, the intrinsic delays are all 0.1, and all the resistances are positive > 0 and all the capacitances are positive > 0.  Further proof of a programming issue is that
a frequently used CELLTYPE, such as SC_AND2_100_60  will sometimes have valid SDF delays like this:
(CELL
(CELLTYPE "SC_AND2_100_60")
(INSTANCE MI1373/MI1493/X43758)
(DELAY
(ABSOLUTE
(IOPATH A1 Z (3.51::3.51) (3.09::3.09))
(IOPATH A2 Z (3.51::3.51) (3.09::3.09))
)
)
)
but then many other instances will have SDF delays like this:
(CELL
(CELLTYPE "SC_AND2_100_60")
(INSTANCE MI1373/MI1490/X46078)
(DELAY
(ABSOLUTE
(IOPATH A1 Z (0.00::0.00))
(IOPATH A2 Z (0.00::0.00))
)
)
)
When the liberty file entry for this cell type looks like this:
cell ( SC_AND2_100_60 ) {
area                         : 1              ;
auxillary_pad_cell    : false        ;
bus_name_style      : "%s[%d]" ;
dont_touch             : true         ;
dont_use                : true         ;
interface_timing     : true         ;
pad_cell                  : false        ;
pin ( A1 ) {
direction  : input       ;
capacitance: 2.032    ;
}
pin ( A2 ) {
direction  : input       ;
capacitance: 2.032    ;
}
pin ( Z ) {
direction : output     ;
function  : A1     & A2 ;
timing () {
intrinsic_rise   : 0.1 ;
intrinsic_fall    : 0.1 ;
rise_resistance: 1.68 ;
fall_resistance:  1.86666666667 ;
related_pin    :  A1 ;
}
timing () {
intrinsic_rise   : 0.1 ;
intrinsic_fall    : 0.1 ;
rise_resistance: 1.68 ;
fall_resistance:  1.86666666667 ;
related_pin    :  A2 ;
}
}
}
This is admittedly a detailed issue, but having 6% of the SDF delay values clearly wrong at 0.00 is hard to cope with, and so I am wondering if this is a known bug, or if there is a version with this fixed?  If not, I am happy to provide more data to help debug the issue.
Mark Vancura

Not sure how this got closed by me, I am new to all the buttons here, I must have pushed one I didnt realize.

Thanks Tom, there is virtually no SDC in force at least as we start the write_sdf command, we are "learning" the circuti, and don't know yet how to apply the SDC, plus it is a very asynchronous circuit.  But I can look at report_calc for sure.  I wonder too if there are "automatic" ways that timing arcs are getting disabled

The results from report_dcalc look like this:
% help report_dcalc
report_dcalc [-from from_pin] [-to to_pin] [-corner corner_name] [-min] [-max]
[-digits digits]
% report_dcalc -from MI1373/MI1370/X105613/A -to MI1373/MI1370/X105613/ZN -digits 2 -max
Library: NXP7105_first_liberty
Cell: SC_INV_100_60
Arc sense: negative_unate
Arc type: combinational
A ^ -> ZN v
Delay = 0.10 + 1.87 * 3.29 = 6.24
.............................................
A v -> ZN ^
Delay = 0.10 + 1.68 * 3.29 = 5.62
.............................................
While the sdf looks like this:
(CELL
(CELLTYPE "SC_INV_100_60")
(INSTANCE MI1373/MI1370/X105613)
(DELAY
(ABSOLUTE
(IOPATH A ZN (0.00::0.00))
)
)
)
However, the report_disabled_edges shows 14386 lines, and one of them is:
MI1373/MI1370/X105613 A ZN constant A=1
And thus the 0.00 delay above makes sense, thanks, I believe I can move forward with this. I will have to look at
the documentation to understand the constant, loop, and positive_unate and negative_unate reports.  But this all happened just from read_verilog, current_design, link_design, so I didn't expect all that analysis already.  Thanks!

@Mark-at-Apex did you mean to close this?

@Mark-at-Apex sorry I see you meant to close it. Re-open if you have more questions.

Yes, I think you explained it enough for me to move forward, as I said, I need to understand the loop and constant reports more but that is just documenation I need to read.  Sorry, I didn't realize this analysis happened as part of write_sdf

Tom,
I am trying to actually identify the loops.  I do see that the timing arc with the 0.00 delay is the arc which has been disabled to break the loop.  But OpenSTA.pdf on pages 31-32 has the report_disable_edges command, and it then references a report_disable_timing command, which unfortunately when I try it, only gives me:
% report_disable_timing
invalid command name "report_disable_timing"
And if I look at the help output, I don't find a report_disable_timing command.
I have created some tcl procs, that allow me to probe nets and probe instances as follows:
Consider one loop arc from report_disabled_edges:
MI102/X108826 A1 ZN loop
It is consistent with the SDF 0.00 delay feature:
(CELL
(CELLTYPE "SC_NOR2B2_90_25")
(INSTANCE MI102/X108826)
(DELAY
(ABSOLUTE
(IOPATH A1 ZN (0.00::0.00))
(IOPATH A2N ZN (16.93::16.93) (20.30::20.30))
)
)
)
and I can see how it is connected with my probe inst command:
% probe inst MI102/X108953/ZN
cmd=<probeInst MI102/X108953>
SC_NOR2_90_30 MI102/X108953 (
.A1	( X106072_ZN ),
.ZN	( MI102/X108953_ZN ),
.A2	( MI102/X108828_ZN ),
.VS	( MI102/VS ),
.GS	( GND ),
);
and I can trace the nets, with my probe net (tcl proc) as follows:
% probe net MI102/X108953_ZN
found MI102/X108953_ZN
netName = MI102/X108953_ZN
cmd=<probeNet MI102/X108953_ZN>
wire MI102/X108953_ZN:
> MI102/X108953/ZN	MI102/X108953_ZN
> MI102/X108828/A2	MI102/X108953_ZN
But I have not been able to identify a "LOOP" with the A1->ZN arc of the X108826 instance in it.
So at this point I am wondering if there are some loop reporting capabilities I have not yet recognized?
Thanks for any help you can offer here.

sorry, I cut and pasted the wrong outputs above, it should have been:
% probe inst MI102/X108826
cmd=<probeInst MI102/X108826>
SC_NOR2B2_90_25 MI102/X108826 (
.A1	( X106072_ZN ),
.ZN	( MI102/X108826_ZN ),
.A2N	( MI102/X108828_ZN ),
.VS	( MI102/VS ),
.GS	( GND ),
);
and
% probe net MI102/X108826_ZN
found MI102/X108826_ZN
netName = MI102/X108826_ZN
cmd=<probeNet MI102/X108826_ZN>
wire MI102/X108826_ZN:
> MI102/X109441/A	MI102/X108826_ZN
> MI102/X108956/A2	MI102/X108826_ZN
> MI102/X108826/ZN	MI102/X108826_ZN

Its report_disabled_edges

yah, that report only shows one arc in the loop, which matches the one in the SDF with 0.00 delay, but it doesn't help me find the rest of the arcs in the loop.  I am trying to identify combinational latches which I may want to replace with cells that have better sequential timing arcs.

I don't know of a tool for that but there are some developer debugs in sta that might help.  "sta::set_debug loop 2" will report on loop breaking in the timer (set before running sta).

That seemed to be quite helpful, but I would alert you to the following issue I cannot explain:
If I start in this way:
% sta::set_debug loop 2
% read_liberty NXP7105_liberty.lib
% source read_veri.tcl
and then do
% source write_sdf.tcl > write_sdf.set_debug.log
Then I do get a big log:
1 loop: Loop
2 loop:  MI1373/MI1370/X30703A/Q -> MI1373/MI1370/X54375/A1
3 loop:  MI1373/MI1370/X54375/A1 -> MI1373/MI1370/X54375/ZN
4 loop:  MI1373/MI1370/X54375/ZN -> MI1373/MI1370/X30703A/CP
5 loop:  MI1373/MI1370/X30703A/CP -> MI1373/MI1370/X30703A/Q
6 loop: Loop
7 loop:  MI1373/MI1370/X18339/ZN -> MI1373/MI1370/X18339/B1N
8 loop:  MI1373/MI1370/X18339/B1N -> MI1373/MI1370/X18339/ZN
9 loop: Loop
10 loop:  MI1373/MI1370/X38281/ZN -> MI1373/MI1370/X71960/A1
11 loop:  MI1373/MI1370/X71960/A1 -> MI1373/MI1370/X71960/ZN
12 loop:  MI1373/MI1370/X71960/ZN -> MI1373/MI1370/X78723/A1
13 loop:  MI1373/MI1370/X78723/A1 -> MI1373/MI1370/X78723/ZN
14 loop:  MI1373/MI1370/X78723/ZN -> MI1373/MI1370/X38281/A1
15 loop:  MI1373/MI1370/X38281/A1 -> MI1373/MI1370/X38281/ZN
16 loop: Loop
17 loop:  MI1373/MI1370/X32955/Z -> MI1373/MI1370/X32955/A2
18 loop:  MI1373/MI1370/X32955/A2 -> MI1373/MI1370/X32955/Z
19 loop: Loop
20 loop:  MI1373/MI1370/X17482/ZN -> MI1373/MI1370/X17482/B1N
21 loop:  MI1373/MI1370/X17482/B1N -> MI1373/MI1370/X17482/ZN
...
2933633 loop: Loop
2933634 loop:  MI1373/MI1370/X36996/ZN -> MI1373/MI1370/X68299/A2
2933635 loop:  MI1373/MI1370/X68299/A2 -> MI1373/MI1370/X68299/ZN
2933636 loop:  MI1373/MI1370/X68299/ZN -> MI1373/MI1370/X36996/B
2933637 loop:  MI1373/MI1370/X36996/B -> MI1373/MI1370/X36996/ZN
2933638 loop: Loop
2933639 loop:  MI1373/MI1370/X35924/Z -> MI1373/MI1370/X35924/A2
2933640 loop:  MI1373/MI1370/X35924/A2 -> MI1373/MI1370/X35924/Z
2933641 loop: Loop
2933642 loop:  MI1373/MI1370/X35924/Z -> MI1373/MI1370/X36115/A1
2933643 loop:  MI1373/MI1370/X36115/A1 -> MI1373/MI1370/X36115/Z
2933644 loop:  MI1373/MI1370/X36115/Z -> MI1373/MI1370/X35924/B
2933645 loop:  MI1373/MI1370/X35924/B -> MI1373/MI1370/X35924/Z
But if I compare the (IOPATH A1 ZN (0.00::0.00)) lines in the SDF with the loops above,
then I find that  12737 of the SDF 0.00 delay pins can be matched with pins found in the loop report above.
However, I also find that 1009 of the SDF 0.00 delay pins do not match any of the pins in the loop report above.matches
look like this for my analysis:
###################################
shortInst = X108826)
(INSTANCE MI102/X108826) (IOPATH A1 ZN (0.00::0.00))
inpin = A1
inst2 = X108826.A1
loop:  MI1373/MI1370/X106072/ZN -> MI102/X108826/A1
loop:  MI102/X108826/A1 -> MI102/X108826/ZN
match = 1
to
###################################
shortInst = X3635)
(INSTANCE MI95/X3380_X3635) (IOPATH B2 ZN (0.00::0.00)) (INSTANCE MI95/X3635) (IOPATH B2 ZN (0.00::0.00))
inpin = B2
inst2 = X3635.B2
loop:  MI95/X3380_X3653/Q -> MI95/X3380_X3635/B2
loop:  MI95/X3380_X3635/B2 -> MI95/X3380_X3635/ZN
loop:  MI95/X3653/Q -> MI95/X3635/B2
loop:  MI95/X3635/B2 -> MI95/X3635/ZN
match = 12736
inpin = B2
inst2 = X3635.B2
loop:  MI95/X3380_X3653/Q -> MI95/X3380_X3635/B2
loop:  MI95/X3380_X3635/B2 -> MI95/X3380_X3635/ZN
loop:  MI95/X3653/Q -> MI95/X3635/B2
loop:  MI95/X3635/B2 -> MI95/X3635/ZN
match = 12737
while the non-matching SDF 0.00 lines look like this:
###################################
shortInst = X108824)
(INSTANCE MI102/X108824) (IOPATH A1 ZN (0.00::0.00))
inpin = A1
inst2 = X108824.A1
nomatch = 1
to
shortInst = X3650)
(INSTANCE MI95/X3380_X3650) (IOPATH A ZN (0.00::0.00)) (INSTANCE MI95/X3650) (IOPATH A ZN (0.00::0.00))
inpin = A
inst2 = X3650.A
nomatch = 1008
inpin = A
inst2 = X3650.A
nomatch = 1009
SO to me it seems that about 1/12 of the Zero-delay SDF lines are flawed, in that there is no loop reported that they are
part of.  I have not determined if it is the loop report or the SDF which is the mistaken report, but I hope you can see they
disagree.   I am happy to share data if desired to debug this further.
Thanks again for the sta::set_debug loop 2 command!
Mark Vancura

You could have zero delay for another reason (eg constant propagation).    Unless you see something that you specifically are concerned about I don't feel the need to look further.

Ok, earlier above I learned how to use the resport_disabled_edges command to identify the constant pins, and I added that to my analysis, and for my design, there are 12725 0.00 delays in SDF which can also be found in the loop report.  And there are 956 0.00 delays in the SDF which can also be found in the constand report, and there are no other 0.00 SDF delays, which don't fall into one of those two categories, so yes, I am satisfied.  Thanks again for the details needed to determine this all made sense.


broken link in readme

there's a link to https://github.com/katspaugh/wavesurfer.js/blob/master/example/main.js in the readme but the examples are gone. Why are they removed and where do they live now?

They are now in the gh-pages branch. I think I'll create a demo page in the master branch as well. I want to have just one HTML with a dat.gui interface to toggle different option combinations.


How to add space within each bar of a stacked bar plot

This question was originally asked on SO

My solution is given in the comments section. I briefly provide it here;
library(ggplot2)
# create some dummy data
df <- data.frame(Type =sample(LETTERS[1:5],14,replace = T),
                 ET =sample(c('A1','A2','B3','B6','C5'),14,
                            replace = T))
# plot the graph and center align the title
ggplot(df, aes(x=Type, fill = as.factor(ET), width=0.5))+
  geom_bar(colour="white", size=2)+
  labs(title="How to add space within each bar of stacked bar plot")+
  theme(plot.title = element_text(hjust = 0.5))


https://linkpoi.me/tWT2KzN3

Domain
https://linkpoi.me/
Link
https://linkpoi.me/tWT2KzN3
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Duplicate of #36
Closing


Support for slim templates

Hi, First of all great work. I am currently using slim templates in my app using the phoenix-slime package but i am getting some strange error when working with drab. (Drab.Live.Poke)
Are the slim templates not yet supported ? I even tried mixing in an eex in between the slim templates but still no luck.
Could you please let me know, how i could make it work in my app.
Thanks

Hi @Bharat311
Drab.Live only supports HTML templates. I am not planning to integrate other templating systems in the near future (even if it would be much easier to implement :)
But you should be able to use modules like Drab.Element or Drab.Query, they are not using special eex engine.

I 'think' the main slime package has the ability to output strings in standard eex format.  You could feed those into Drab Live's renderer then.


Wandb local server start error

Current Behavior
Hi Wandb team,
I am a wandb user and currently encountering the following error when we run: wandb server start
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/01_enable-services.sh...
*** Copying services to runit
*** Copying jobber template
*** Enabling production mode
*** Running /etc/my_init.d/02_load-settings.sh...
*** Loading settings...
2022/12/19 23:47:02 Created default user
2022/12/19 23:47:02 Generating new session key for auth...
2022/12/19 23:47:02 Generating new certificate and key for auth...
*** Booting runit daemon...
*** Runit started as PID 48
*** Setting up mysql database...
*** Starting wandb servers...
*** Configuring minio...
Bucket created successfully local/local-files.
mc: Unable to set 'notify_redis address=<IP_ADDRESS>:6379 format=access queue_limit=10000 queue_dir=/etc/minio/events key=filemetadata' to server: one or more targets are offline. Please use mc admin info --json to check the offline targets.
mc: Unable to enable notification on the specified bucket. A specified destination ARN does not exist or is not well-formed. Verify the destination ARN.
Above is the output from docker logs wandb-local
Please help. Many thanks.
Environment
OS: ubuntu linux 16.04
Browsers: Chrome and Firefox
Version: 16.04, pip 22.2.2, Docker version 18.09.7, build 2d0083d

Hi @liswp, I see that you opened up two tickets with the same issue. I'll respond on the other one and close this one out.


update sequel.html.md to fix 404

fxied link to https://github.com/jeremyevans/sequel

So we've gone from round brackets to square brackets, correct?

yes.
this wasn't meant to link to a page but to the list of urls in the footer.
On Thu, Nov 22, 2018 at 3:50 PM Robert Beekman<EMAIL_ADDRESS>wrote:

So we've gone from round brackets to square brackets, correct?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/appsignal/appsignal-docs/pull/198#issuecomment-441052635,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbcvAahl54A8t82F91jT5qFaNogSbGwvks5uxrmmgaJpZM4YvHoq
.


Regions and aliases that must be corrected

Regions whose name needs to be changed:

Turkey -> Türkiye. Should we apply this change? I think so far all our country names are free of accents and umlauts. So this change feels like an outlier.
Timor -> Timor-Leste. Since Timor refers to the entire island (where West Timor belongs to Indonesia), but we usually refer to the country East Timor within the island.

Aliases to be corrected:

Yemen Arab Republic should be an alias of former region North Yemen, instead of Yemen. I wrote this down some time ago, but I think it has already been fixed. @larsyencken was it you?

Additional changes:

We need a short name for "Democratic Republic of Congo", for example for Marimekko charts. What about "DR Congo"?

Turkey -> Türkiye. Should we apply this change? I think so far all our country names are free of accents and umlauts. So this change feels like an outlier.

We can use "Turkiye" instead, but I think we should consider this rename [ref].

Timor -> Timor-Leste. Since Timor refers to the entire island (where West Timor belongs to Indonesia), but we usually refer to the country East Timor within the island.

An alternative name could be "East Timor".

Regions whose name needs to be changed:
Turkey -> Türkiye. Should we apply this change? I think so far all our country names are free of accents and umlauts. So this change feels like an outlier.
Timor -> Timor-Leste. Since Timor refers to the entire island (where West Timor belongs to Indonesia), but we usually refer to the country East Timor within the island.
Aliases to be corrected:
Yemen Arab Republic should be an alias of former region North Yemen, instead of Yemen. I wrote this down some time ago, but I think it has already been fixed. @larsyencken was it you?
Additional changes:

We need a short name for "Democratic Republic of Congo", for example for Marimekko charts. What about "DR Congo"?

I like it!

This sounds great and I think we should definitely do it. However, I don't think it is currently possible to use accents in grapher? I made a quick experiment here and the 'ü' doesn't show up.

Thanks Pablo!
I'm a bit hesitant about Turkey – I feel like the new name hasn't "caught on" at all yet. For others like Timor, or past ones like Eswatini, it was very clear we were showing a name that people had stopped using. For Turkey, it seems to me that everyone still calls it "Turkey" (including Wikipedia).
I'm curious to know if others have an opinion about this!

I'm a bit hesitant about Turkey – I feel like the new name hasn't "caught on" at all yet

(Sorry for chiming in. From my experience changing Czech Republic -> Czechia hasn't caught on either. Organisations and government has only started changing it recently after 6 years of making it official. Residents don't care much.)

Agree with Hannah - I understand there are tradeoffs but my view is that the bar for changing country names should be super high. The idea of the OWID standardised names is to go with the most widely known and understandable name, and in the case of Turkiye that's not (yet) the case. Changing country names also break people's code etc. So my vote would be not to change it

Very much agree with the high bar for any country name changes.
–> Before we make any change we should discuss among team-leads whether we want to actually make the country name change(s). That's because it has an impact on all teams – from engineering, to product, to writing and data work.
And also agree that we should stick with commonly known country names (i.e. Turkey instead of Türkiye).

Thanks everyone! I agree, we don't have to change Turkey for now.
I hope you all agreed on the other suggested changes, and feel free to add any other changes here. I'm planning to implement the changes probably by next week at some point.

By the way, just to be clear, nobody was planning to make country name changes any regularly. I just suggested these changes because we are in the middle of a refactor of our countries-regions dataset. Other than that, hopefully, we don't have to make any changes for a long time, so there's no need to worry about it.

@pabloarosado I'll add this to the agenda of tomorrow's team leads meeting, and I'll come back after to confirm.

Hey @pabloarosado – we've confirmed the following:

Timor -> East Timor
Democratic Republic of Congo can be shortened to DR Congo when needed
Turkey: no change

Prompted by the discussion about the countries-regions dataset, I propose to change the names used for two historical states:

Eritrea and Ethiopia -> Ethiopia (former): this makes this case analogous to 'Sudan (former)', when South Sudan was still part of the country; and it makes clear that the data refers to one country, not two.
United Korea -> Korea: this switches to the commonly used historical name; and it yields more sensible Google search results for the unassuming user.

As opposed to some of the changes considered above, this likely affects few datasets.

When we get to it, we should probably do Faeroe Islands -> Faroe Islands as well.
Our current spelling is technically correct but very rare:


speed up write_1 calls

We don't need to use pack, just chr.
Before:
[aaron@TC bert (write-1-speed)]$ ruby -I lib bench/encode_bench.rb
                    user     system      total        real
BERT tiny       0.020000   0.000000   0.020000 (  0.014491)
BERT small      0.130000   0.000000   0.130000 (  0.140019)
BERT large      0.450000   0.170000   0.620000 (  0.627474)
BERT complex    2.940000   0.020000   2.960000 (  2.981667)

After:
[aaron@TC bert (write-1-speed)]$ ruby -I lib bench/encode_bench.rb
                    user     system      total        real
BERT tiny       0.010000   0.000000   0.010000 (  0.011318)
BERT small      0.110000   0.000000   0.110000 (  0.110367)
BERT large      0.380000   0.170000   0.550000 (  0.565794)
BERT complex    2.210000   0.020000   2.230000 (  2.243591)

:+1: great win for such a simple patch 😄


Updated API entities to match v1.0

This PR implements the comments from #98. Could still be defines/constants which may not be used.

This is cool. This change alone is insufficient yet to make things compatible with UAVCAN v1.0, but I figured you want to split this work over multiple PRs. Please also note that there are minor code formatting issues where you have renamed functions.

Is it many changes which must be done to be compatible with UAVCAN v1.0 beside TAO and updating the demo application as mentioned? I must admit that I don't know all the changes needed for v0.1 -> v1.0 by heart atm.

Off the top of my head, the only things to update are:

TAO
CRC
Switch to new data types in the demo application

It would be also great to update the DSDL compiler to PyDSDL v0.4 (its API is almost stable now), but that is not really important right now and it doesn't affect wire compatibility.

As TAO and CRC will be handled in another PRs, I think we are ready for another review.


Mongodb 3.6 regression when upgrading from 0.9.1 to 0.9.2

Hi,
i have a green test suite when running mongodb_driver 0.9.1 against mongodb 3.6.
After upgrading to driver 0.9.2 the tests hang and time out with the following message:
     ** (exit) exited in: GenServer.call(:mongo, {:checkout_session, :write, [write_counter: 1]}, 60000)
         ** (EXIT) time out
     stacktrace:
       (elixir 1.10.4) lib/gen_server.ex:1023: GenServer.call/3
       (mongodb_driver 0.9.2) lib/mongo/session.ex:142: Mongo.Session.start_session/3
       (mongodb_driver 0.9.2) lib/mongo/session.ex:694: Mongo.Session.in_session/5
       (mongodb_driver 0.9.2) lib/mongo.ex:1482: Mongo.issue_command/4
       (mongodb_driver 0.9.2) lib/mongo.ex:849: Mongo.insert_one/4

Might be related to #103
When upgrading MongoDB to 4.4 everything works again.
TL;DR:

0.9.1
0.9.2

MongoDB 3.6
✅
🔴

MongoDB 4.4
✅
✅

Let me know if I can assist you with this.
Cheers!

Can you test the master branch? I think, the next release will fix it (https://github.com/zookzook/elixir-mongodb-driver/pull/147)

Thank you for the quick response. You're right, it works with the current master.

Fixed in the next coming release 1.0.0


Python API: Mutable default arguments in methods/functions

There are several places in the python code where mutable default arguments are used:
engine.py:
class Host(object):

    def __init__(self, ruleset_definitions = None, databases = [{'host': 'localhost', 'port': 6379, 'password': None, 'db': 0}], state_cache_size = 1024):

class Queue(object):

    def __init__(self, ruleset_name, database = {'host': 'localhost', 'port': 6379, 'password':None, 'db': 0}, state_cache_size = 1024):

interface.py:
class Application(object):

    def __init__(self, host, host_name, port, routing_rules = [], run = None):

lang.py:
def create_queue(ruleset_name, database = {'host': 'localhost', 'port': 6379, 'password':None, 'db': 0}, state_cache_size = 1024):

def create_host(databases = [{'host': 'localhost', 'port': 6379, 'password':None, 'db': 0}], state_cache_size = 1024):

def run_all(databases = [{'host': 'localhost', 'port': 6379, 'password':None, 'db': 0}], host_name = '<IP_ADDRESS>', port = 5000, routing_rules = [], run = None, state_cache_size = 1024):

def run_server(run, databases = [{'host': 'localhost', 'port': 6379, 'password':None, 'db': 0}], routing_rules = [], state_cache_size = 1024):

See
https://docs.python.org/3/reference/compound_stmts.html#function-definitions
and
http://python-guide.readthedocs.io/en/latest/writing/gotchas/

Hi, this is a good observation. I have reviewed the code paths that use default objects. The object remains immutable, so the usage is OK.
I'm debating whether I should just stay away from using objects as default values. While it is not necessarily incorrect, it might be difficult to maintain. What do you think?

There is at least one place in your code where it's not safe:
>>> from durable.interface import Application
>>> foo = Application('localhost', 'foo', 123)
>>> bar = Application('localhost, 'bar', 234)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/site-packages/durable_rules-0.33.111-py3.5-linux-x86_64.egg/durable/interface.py", line 26, in __init__
    self._url_map = Map(routing_rules)
  File "/usr/lib/python3.5/site-packages/werkzeug/routing.py", line 1156, in __init__
    self.add(rulefactory)
  File "/usr/lib/python3.5/site-packages/werkzeug/routing.py", line 1197, in add
    rule.bind(self)
  File "/usr/lib/python3.5/site-packages/werkzeug/routing.py", line 675, in bind
    (self, self.map))
RuntimeError: url rule <Rule '/<ruleset_name>/definition' -> <bound method Application._ruleset_definition_request of <durable.interface.Application object at 0x7f403054a668>>> already bound to map Map([<Rule '/<ruleset_name>/events/<sid>' -> <bound method Application._events_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/state/<sid>' -> <bound method Application._state_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/facts/<sid>' -> <bound method Application._facts_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/definition' -> <bound method Application._ruleset_definition_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/events' -> <bound method Application._default_events_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/state' -> <bound method Application._default_state_request of <durable.interface.Application object at 0x7f403054a668>>>,
 <Rule '/<ruleset_name>/facts' -> <bound method Application._default_facts_request of <durable.interface.Application object at 0x7f403054a668>>>])

You're just appending extra entries to class-level (shared) list on each new instance.
I think the most common way is to replace definitions to something like this:
def foo(arg=[]):
    bar

becomes
def foo(arg=None):
    if arg is None:
        arg = []
    bar

I have removed the mutable objects from argument defaults.
Thanks for pointing this out.


doc: Remove the 400 snapshot limitation

The support for more than 400 snapshots was
added at: https://github.com/ceph/ceph/pull/38553
Closes: #4681

Let's merge this after https://github.com/ceph/ceph-csi/pull/4798 ci run

@mergifyio queue


Adding custom signs in the Carla world

hi
in your tutorial

and when I want to open "Content/Static/DefaultSign.jpg" it shows me this error

I have different file path!
my path is //NAS-SYNTHIA/synthia/CARLA_ART/Static/TrafficSigns/NoTurn/SM_noTurn_n.png and I do not understand where it is!

could you help me?

Whoops! Looks like that .jpg should actually be a .png. Here is the correct link. Sorry about that!

Yeah the //NAS-SYNTHIA/synthia/CARLA_ART/Static/TrafficSigns/NoTurn/SM_noTurn_n.png is not on your local machine because it is the cached path from where this art was created (on the Carla devs' team) so don't worry about that.
You should be able to either overwrite or replace this asset with your own once you add your own sign texture.

Yeah the //NAS-SYNTHIA/synthia/CARLA_ART/Static/TrafficSigns/NoTurn/SM_noTurn_n.png is not on your local machine because it is the cached path from where this art was created (on the Carla devs' team) so don't worry about that.
You should be able to either overwrite or replace this asset with your own once you add your own sign texture.

thank you so much but I need to overwrite other signs with different shape and color. something like this

therefore what should I do?

Ok well first, I recommend you take a blank canvas sign from the sign with this shape you want (the one in the tutorial is a rounded rectangle so that won't work for you) then overlay this image over that texture (in GIMP or another image processing app, but we used GIMP)
Then compute the normals and import the rgb & normals images (textures) into UE4 and update the Texture parameter groups as shown in the tutorial. Then everything else should follow just like the tutorial

thank you I have another question because of the different shape should I select different folder like  LaneReduct or noTurn is ok?

Any sign/shape should be fine, just be sure to duplicate the folder if you don't want to overwrite the original files.

hi I have another question about different sign
I want put message in this sign

and this is a folder of material

I do not know how to change message

could you help me?

In this case you'll want to extract the PNG from the texture, open it in GIMP (or another image editing software) and modify the message exactly where the original is (the CAUTION stuff).
We couldn't find an easier way than simply overlaying some text over the sign which works well enough for simple flat-coloured signs/text but might be harder for you since you are trying to edit a pretty unique sign.

Thank you but it doesn’t show (the CAUTION stuff). I do not how to activate it!

What do you mean? You should be able to simply screenshot the texture and import that screenshot into GIMP to do whatever you'd like to it. Once its in GIMP you can overlay some text onto it and save that into a new texture to replace this one.

My problem is in the simulation it does not show anything but it should show CAUTION STUFF

Can you send a screenshot. There was probably an issue when importing the texture into the editor and applying it to the new mesh.

I am sorry I left the lab and can I send it tomorrow?
Thank you for your help

I have another issue
when I want to reimport
it shows me this:
Fatal error!

and closed the unreal engine I try it with the other signs and it does not happened.
I think in this area we could not change as before!
do you have any other solution

Are you overwriting the existing content or did you duplicate it and are making your own custom sign?
Also if you think this is a problem with corrupted files you can rerun the Update.sh script to redownload all the vanilla Carla assets (then make install again to install the DRryeVR content over it)

I have duplicated and making my own.
Before doing this I can check with Carla that I installed because I am not sure it is related to my installation of DReyeVR
Thank you so much

in Carla I do not have problem with unreal engine but when I reimport it it shows me black things

in the material files there is no texture to allocate "n" and "d" files

and in the file with suffix "orm" what do I have to change? there is no where to allocate "M"

also they start with "T" not "SM"!

I have duplicated and maked my own. Before doing this I can check with Carla that I installed because I am not sure it is related to my installation of DReyeVR Thank you so much

in Carla I do not have problem with unreal engine but when I reimport it it shows me black things

in the material files there is no texture to allocate "n" and "d" files

and in the file with suffix "orm" what do I have to change? there is no where to allocate "M"

also they start with "T" not "SM"!

You should be able to simply create a new texture with the .jpg's you created and that should not give you any problems. You'll need to make the normal (_n) and rgb textures and then there is a place to link them to the material (prefix M_) which can then be applied to your static mesh.
I am not familiar with an _orm suffix texture, maybe it has something to do with lighting/shading. You'll have to look into that more.


helloquic crashes "INTERNAL_ERROR: no path to ..."

Hey Folks,
I've tried to run helloquic from the newest scion-apps version (latest commit on master) but the client always crashes with "INTERNAL_ERROR: no path to". scion showpaths in contrast shows all paths and does not report any errors.
Tested on:

Ubuntu 20.04
Fresh scionlab user-AS installation from SCIONLab.org
Go 1.17.7

System output:
root@ubuntu-4gb-nbg1-1-sc3:~/scion-apps/_examples/helloquic# ./helloquic -remote "19-ffaa:1:c3f,[<IP_ADDRESS>]:43000"
Fatal error: INTERNAL_ERROR: no path to 19-ffaa:1:c3f
root@ubuntu-4gb-nbg1-1-sc3:~/scion-apps/_examples/helloquic# scion showpaths 19-ffaa:1:c3f -r
Available paths to 19-ffaa:1:c3f
3 Hops:
[0] Hops: [19-ffaa:1:c59 1>127 19-ffaa:0:1303 121>1 19-ffaa:1:c3f] MTU: 1472 NextHop: <IP_ADDRESS>:30001 Status: alive LocalIP: <IP_ADDRESS>
4 Hops:
[1] Hops: [19-ffaa:1:c59 1>127 19-ffaa:0:1303 247>1 19-ffaa:1:cf0 11>11 19-ffaa:1:c3f] MTU: 1472 NextHop: <IP_ADDRESS>:30001 Status: alive LocalIP: <IP_ADDRESS>
[2] Hops: [19-ffaa:1:c59 1>127 19-ffaa:0:1303 247>1 19-ffaa:1:cf0 12>12 19-ffaa:1:c3f] MTU: 1472 NextHop: <IP_ADDRESS>:30001 Status: alive LocalIP: <IP_ADDRESS>
[3] Hops: [19-ffaa:1:c59 1>127 19-ffaa:0:1303 247>1 19-ffaa:1:cf0 13>13 19-ffaa:1:c3f] MTU: 1472 NextHop: <IP_ADDRESS>:30001 Status: alive LocalIP: <IP_ADDRESS>
[4] Hops: [19-ffaa:1:c59 1>127 19-ffaa:0:1303 247>1 19-ffaa:1:cf0 14>14 19-ffaa:1:c3f] MTU: 1472 NextHop: <IP_ADDRESS>:30001 Status: alive LocalIP: <IP_ADDRESS>

Note: Running the helloquic server in the same AS does not produce this error, but it crashes with:
gotcha: hi dude, 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x9e3db1]

goroutine 1 [running]:
github.com/netsec-ethz/scion-apps/pkg/pan/internal/ping.(*Pinger).Close(...)
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/pkg/pan/internal/ping/ping.go:141
github.com/netsec-ethz/scion-apps/pkg/pan.(*PingingSelector).Close(0xc0000eadc0)
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/pkg/pan/selector.go:311 +0x31
github.com/netsec-ethz/scion-apps/pkg/pan.(*dialedConn).Close(0xc0002a25b0)
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/pkg/pan/udp_dial.go:153 +0x66
github.com/netsec-ethz/scion-apps/pkg/pan.(*QUICSession).CloseWithError(0xc0000ad040, 0xc00000e018, {0x0, 0x3})
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/pkg/pan/quic_dial.go:35 +0x4e
main.runClient({0x7ffd6eab7e95, 0x1f}, 0x1)
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/_examples/helloquic/helloquic.go:142 +0x4cc
main.main()
        /home/marten/go/src/github.com/netsec-ethz/scion-apps/_examples/helloquic/helloquic.go:51 +0x193

PS: I spent the last days debugging some QUIC connection issues, in case I've overlooked something obvious, just ignore the first part :)

Hey @martenwallewein, thanks for reporting this. I've just opened a PR with a fix; the pan.PingingSelector demoed in this example was pretty obviously broken.

Ah I see, it's probably the assignment of s.paths.

The "no path" problem is gone now and the server does not crash anymore. However, it displays another error message:
root@ubuntu-4gb-nbg1-1-sc3:~/scion-apps/_examples/helloquic# ./helloquic -listen "<IP_ADDRESS>:43000"
19-ffaa:1:c59,<IP_ADDRESS>:43000
New session 19-ffaa:1:cf1,<IP_ADDRESS>:36504
hi dude, 0
Error in session 19-ffaa:1:cf1,<IP_ADDRESS>:36504 Application error 0x0

Looks more like an error from quic-go, maybe you want to further investigate this.

Ah, there is a mistake in the helloquic example; the check for the Application error code 0 (which indicates no error and thus should not be logged) was not implemented correctly.


Parallel fit/predict for contextual policies

In MAB.py line 876
There is a comment that says to not use parallel fit or predict for contextual policies, but it's not clear why that needs to be the case?
Any help would be appreciated.

Hi @risufaj
Very keen observation. All of the contextual policies have implementations that benefit from multi-core processing. As such we do not also parallelize across arms (for fit) or contexts (for predict) as that could actually slow down performance.


AlwaysOnTop

Description of the new feature / enhancement
A way to pin a window so it remains visible although another window or program is opened fullscreen.
I realize this is useless to people that can make FancyZones do what they want, but there could be a niche such as mine where small windows need to just be on top of the big one, without it having a dedicated corner on the monitor.
There is a script for this somewhere that pins it to a Ctrl+Space command, but I wanted to know if this is a good idea to add to Powertoys, to me it is as important as for example powerrename.
EVEN BETTER would be if it possible to make an hierarchy of opened, non-fullscreen windows, and to be able to choose a place for each window in such hierarchy, top to bottom.
Scenario when this would be used?
For example, I want my calculator to remain on top of my screen when I work in Archicad, without it being hidden behind the Archicad window when I click in it. I need my main software window preferably always fullscreen, while these tiny windows that use simultaneously remain on top of it.
Supporting information
No response

Duplicate of #13

Thanks for your suggestion! This suggestion has been raised in #13. Goto that issue to centralize the discussion thread


HTML renderer produces an exception and stops rendering when receiving an unordered rect

The legacy behavior of drawRect, drawOval and clipRect has been established by the implementation of Skia which automatically sorts their rects before executing the operation. As we shift our implementations we should verify this behavior at the Flutter framework level.
The problem was initially observed in https://github.com/flutter/flutter/issues/128159 when the engine started using the DisplayList to record operations and fixed for drawRect and drawOval in https://github.com/flutter/engine/pull/42556.
Writing a test case for more coverage of these instances of accepting unordered rects pointed out that we have problems with this in the latest engine as reported in https://github.com/flutter/flutter/issues/140490. The native platform code is being patched in https://github.com/flutter/engine/pull/49309, but there is still a problem in the HTML renderer which stops rendering and outputs an exception:
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following DomException object was thrown during a scheduler callback:
  IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The major-axis radius
provided (-15) is negative.

The canvaskit renderer appears to pass just fine, but it should probably have a test to verify the behavior as well.

Moving this to team-web

Would this be a sufficient test case that we'll have to pass?
https://github.com/flutter/engine/pull/49309/files#diff-1e947a873a5774a3a1b4c8222ffdbfe01170c3ea7104892cb95347b271838ceb

Would this be a sufficient test case that we'll have to pass?
https://github.com/flutter/engine/pull/49309/files#diff-1e947a873a5774a3a1b4c8222ffdbfe01170c3ea7104892cb95347b271838ceb

Yes, that test should draw rects with all forms of "unordering" (LR reversed, TB reversed, and all 4 reversed) using all of the rendering operations that have historically auto-ordered the rect (formerly indirectly via Skia, but now we enforce this in ui.Canvas)


Implement backup feature

fixes: #8
ADR: #18
TODO

[x] Enable AWS Backup for Amazon Aurora  descoped since AWS::Config::ConfigRule with compliance resource type AWS::RDS::DBCluster and source identifier REQUIRED_TAGS does not work.
[x] Tag DynamoDB
[x] Tag RDS Instance
[x] Tag RDS Clusters descoped since AWS::Config::ConfigRule with compliance resource type AWS::RDS::DBCluster and source identifier REQUIRED_TAGS does not work.
[x] Tag EFS No AWS Config support currently, so decoped for 1.0
[x] Tag EBS
[x] Roll out tag policies
[x] Roll out backup plicies
[x] integrity protection for resources rolled out via stack set (partially done for roles); this is scoped out due to a) missing native CloudFormation tagging support for Config Rules (for which we could write) SCPs) and the missing support for conditions on tags for remediation rules; the alternative could be conformance packs
[ ] integrity protection for backups (and vaults)
[x] Check if create tags API calls overwrite existing other tags (Tested for DynamoDB, EBS, and RDS Instance)
[ ] Check if backup works (resources eventually show up under "protected resources")

"Only resources that have been backed up by AWS Backup are listed under Protected resources" ( https://docs.aws.amazon.com/aws-backup/latest/devguide/listing-backups.html )

Definition of done (v0.0.1)

[ ] Automated integration test
[ ] Integrity protection according to ADR-NNNN
[ ] Structured Logging and Monitoring for Lambda function according to ADR-NNNN

Example SCP to protect backup plans and vaults:
        {
            "Sid": "ProtectBackups",
            "Condition": {
                "ArnNotLike": {
                    "aws:PrincipalARN": "arn:aws:iam::*:role/AWSControlTowerExecution"
                }
            },
            "Action": [
                "backup:Delete*",
                "backup:Update*"
            ],
            "Resource": [
                "arn:aws:backup:*:*:backup-plan:*",
                "arn:aws:backup:*:*:backup-vault:*"
            ],
            "Effect": "Deny"
        },

Example SCP to protect backup plans and vaults:
        {
            "Sid": "ProtectBackups",
            "Condition": {
                "ArnNotLike": {
                    "aws:PrincipalARN": "arn:aws:iam::*:role/AWSControlTowerExecution"
                }
            },
            "Action": [
                "backup:Delete*",
                "backup:Update*"
            ],
            "Resource": [
                "arn:aws:backup:*:*:backup-plan:*",
                "arn:aws:backup:*:*:backup-vault:*"
            ],
            "Effect": "Deny"
        },


Refine ILA Sim

rename the directory
update to convention
double check warnings

let's rename the directory to 'target-sc'

Just saw you push the changes to the dir name.
I'll convert the other names (class, function, var etc.) similarly as the directory name, does this sound good?

Class and function names may be fine for now concerning the effort to change them. But comment/annotation definitely needs to be added, especially for public functions/member data.


Removing extra whitespaces and adding a check for pyenv

@mikegrima
The README.md had extra whitespaces, which were auto-removed by my editor.
I also added a check to see if py-env is installed before continuing in the basic_install.sh file

@mikegrima  fixed.


Update versioned links in quick-reference.md

Python built-ins pointed to python 2 and also updated Boost version to current latest 1.75 -> 1.86

Thank you!


Coverage fixes

[ ] Coverage failed to upload but job succeeded, see https://circleci.com/gh/poliastro/czml3/76
[x] Codecov bot should comment on pull requests

Codecov bot is commenting.

This is not critical at all, closing


Backwards incompatibility with flag package

Single dash long options are not supported in pflag which yields a backwards incompatibility with the flag package and thus is not a true drop-in replacement. This also affects those moving from multiconfig, etc. It would be good to be able to optionally support single dash long options (e.g., -option vs only --option) for those that need a drop in replacement with extended features.
See PR https://github.com/spf13/pflag/pull/146

It wouldn't be POSIX compliant though which is the point of this library.


all figures updated

This branch just updated all figures according to the new fitting. The only thing that I "changed" was that in the BIC figure, we were fitting and calculating for 1, 2, .., 7 states and pick the best number then run the model again with those number of states. What I did in this branch is that during the BIC fitting, I save the tHMMobjects and recall the one that we pick based on the BIC. This way the BIC value matches the tHMMobj we pick.

@Farnazmdi this is failing because cell.state is None. Did you possibly pickle the tHMM objects before they were fit?

Sorry about this. I will fix it tonight.
I saved all models created from BIC analysis (1, 2, 3, .. state tHMM objects) so we don't have to fit the model again with the optimal number of states. I have not assigned states to those tHMMobjs created from BIC fitting and pickled.
This is failing probably in one or two figures that I forgot to add the state assignment code.

That's reasonable. Just trying to help with where the problem lies.
I also think it's better to not commit these figure files. The pickle files now keep the results reproducible.

I removed all svg files that could be recreated. Had to make some changes to the functions to automatically generate those figures in the cartoon folder.
This should be ready now. I will merge it if it is alright? The changes are mostly just to the figures, with a minor change to the BW test and the addition of a function to plotTree to create those samples of lineage trees we use in lapatinib and gemcitabine figures.

Let me go through it carefully first. Will do so in a bit.

Thank you, merging..


Translate docs/grpc/version page into Korean

/area documentation
/kind content
/kind translation
What would you like to be added:
Translate docs/grpc/version page into Korean.
Why is this needed:
No Korean doc for docs/grpc/version page.

/assign

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


render events from nextjs

Renders the events list from the next app.
Leaves the 1 last bit being the whats on page, being looked at here #3509

Nope, not sure why it was


test failed

Hi, skill test in developer consolle failed: Error setting skill enablement A valid interaction model is required to test your skill.
In AWS there is an error in Alexa Skill Kit: Statement serverlessrepo-AlexaYoutubePlaybackSkill-alexaskillskitcolorexpertAlexaSkillEventPermi-BIXIQQ84983E is not found in resource policy. (Service: AWSLambda; Status Code: 404; Error Code: ResourceNotFoundException;
If I do the test in AWS failed:
{
"errorMessage": "Cannot find module '/var/task/index'",
"errorType": "Error",
"stackTrace": [
"Module.require (module.js:596:17)",
"require (internal/module.js:11:18)"
]
}
The minimum node.js selectable is 8.10, I don't know if this is the problem ... can you help me? Thank you.

Try following the tutorial again. This error usually appears when code is updated correctly (e.g. AWS Lambda can't find index.js).


Incorrect type of 'setTagAttributeValues' property

The setTagAttributeValues property of the AmmoniaBuilder class expects a value of type Map<string, Map<string, Set<string>>> [link]. But the same property in rust-ammonia expects the type Map<string, Map<string, string>>[link]. This leads to an error when trying to set this property on instance of the AmmoniaBuilder class.
Changing the type of setTagAttributeValues to Map<string, Map<string, string>> resolves this issue. Please fix this bug. I can also raise a PR if that helps.

Added a PR - https://github.com/lucacasonato/ammonia-wasm/pull/3


DisambiguateProperties leaves conflicts with optional properties for implicit record implementation

Source:
/** @record */
function Record() {}

/** @type {number|undefined} */
Record.prototype.recordProp;

/** @constructor */
function Type() {
  /** @const */
  this.classProp = 'a';
}

/** @param {!Record} a */
function pass(a) { alert(a.recordProp); }

pass(new Type);

Compiled output:
/**@record */function Record() {
}
/**@type {(number|undefined)} */Record.prototype.a;
/**@constructor */function Type() {
  /**@const */this.a = "a";
}
/**
@param {!Record} a */function pass(a) {
  alert(a.a);
}
pass(new Type);

DisambiguateProperties leaves both classProp and recordProp as a, even though they're both used on the same instance.
Instead, it should notice that new Type is used as Record, and therefore guarantee that their properties don't conflict.

Thanks for the repro case. Investigating.


E117: Unknown function: IPyConnect

When running :IPython I get:
E117: Unknown function: IPyConnect

and looking around the codebase, it's true that I can't find that function defined anywhere.
Would it be possible to add information on how to set up the plugin?
Thanks!

I think it's related to #35

I get this too, the solution in #35 doesn't do anything for me

function remote#host#UpdateRemotePlugins[6]..<SNR>63_RegistrationCommands[13]..remote#host#RegisterPlugin, line 5
Plugin "~/.config/nvim/plugged/LanguageClient-neovim/rplugin/python3/denite" is already registered
remote/host: generated rplugin manifest: ~/.local/share/nvim/rplugin.vim
Press ENTER or type command to continue


fix vgpu-monitor panic due to cache file size incorrect

What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes https://github.com/Project-HAMi/HAMi/issues/318
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/hold


WIP: get_coef on multiclass

I think we have a design issue which is that when you inverse transform a 2d array you don't know if it's 1 array for various models / time points or multiple coefs for one models as in multiclass...

Maybe I'm missing something, but how can it be a problem in the inverse direction but not in the forward direction?

@agramfort I think I finally fixed this one. I put a test in that is basically my use case, then pytest.parametrize'ed it, and it still passed. It would be good if you had time to take a good long look and test it out, though. So let's wait until you have time for a challenge :)


drivers: lora: run TimerIrqHandler() from system workqueue

TimerIrqHandler() implementation calls functions which communicate over
SPI. This is forbidden from interrupt context, so submit a work to
system workqueue from which TimerIrqHandler() will be called.
This patch fixes issues like this below on nrf52840 + sx1276:
  uart:~$ lora test_cw 868000000 4 1
  <err> sx1276: Unable to read address: 0x6
  <err> os: ***** MPU FAULT *****
  <err> os:   Data Access Violation
  <err> os:   MMFAR Address: 0x0
  <err> os: r0/a1:  0x200004d0  r1/a2:  0x00000000  r2/a3:  0x00000000
  <err> os: r3/a4:  0x20000300 r12/ip:  0x20000ea0 r14/lr:  0x0000d8b7
  <err> os:  xpsr:  0x01000221
  <err> os: Faulting instruction address (r15/pc): 0x00009c18
  <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
  <err> os: Fault during interrupt handling
  <err> os: Current thread: 0x200004b8 (idle 00)
  <err> os: Halting system

Looks good, but an almost identical commit already exists in the LoRaWAN PR. I wouldn't mind having this merged though since the LW PR is likely to need one more revision before it is merged.

Looks good, but an almost identical commit already exists in the LoRaWAN PR. I wouldn't mind having this merged though since the LW PR is likely to need one more revision before it is merged.

I just remembered discussion on Slack about very similar problem, but didn't look into LoRaWAN PR.

@Mani-Sadhasivam Lets prioritize that PR as it is a pretty trivial bugfix. The sooner we merge, less users will encounter this issue.

Got replaced by #23664


bug: table not trigger OnResizeColumnAsync callback

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
table not trigger OnResizeColumnAsync callback
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response

link issue https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I8FRG3


NOT AN ISSUE: Ideas for improving when you are done with the tutorial!

Hello!
If you are here, you must have completed the tutorial :)
Here are some ideas of where to go from now... In my opinion! Please share your ideas below if you want.

[ ] Add automatic mining
[ ] Share peers via p2p (beware about your wallet connecting to itself!)
[ ] Add a list of known peers to connect to on wallet boot
[ ] Make a UI to list, add and remove peers
[ ] Endpoint to show last block
[ ] Support network confirmations in UI
[ ] List my transactions (FROM my address, TO my address)
[ ] List transactions (FROM an address, TO an address)
[ ] Add a difficulty validation, so that people don't spam Difficulty 1 blocks and overtake your precious chain!
[ ] Restart mining if you get a newer block
[ ] Write your blockchain to disk and load it on boot
[ ] implement Proof of Stake or Extended UTXO

Yo some of this stuff you could find on like naivecoin the JavaScript version

you can find my fork of it aswell with some improvements to it like security stuff its still being worked on, the git repo is actually dysfunctional but the releases all work check it out if you want it here [https://github.com/smellyslab/smellycoin]


Huge slow down with tables in org-mode

What did you expect to happen?
When I open new org file and create table with a few h-lines it should be as fast as usual.
What actually happened?
It's starting to degrade speed gradually and after ~30 seconds of moving between cells it's barely usable.
Describe your attempts to resolve the issue
I tried disabling minor modes one by one, but none of my ideas work. I've also tried to run profiler but everything I've found is (according to it) that ivy is using the most of the CPU time
Steps to reproduce

Create new org file
create table
move around for a while
moving is terribly slow (but only in this file, others opened in splits are unaffected)

System Information
https://pastebin.com/aHcBNdjT

Hi! This issue was closed and marked for deletion because it does not meet the minimum requirements for a bug report. There are a couple reasons why this may have happened, but generally it means the bug report could not be reproduced in any of our test environments and/or was/is too vague to act on or investigate further.
Please feel free to contest this if you think this was a mistake or follow up with more information to reverse this ruling. Perhaps our how to debug issues guide can help you gather more information (our discourse requires an account for the time being).
I apologize for the inconvenience, but please understand it is a lot of work to support and maintain this project on my own and every unactionable bug report is attention taken from actionable ones.
Thanks for using Doom!


Fastlane Code Signing Identity not receiving device token from APNS

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Running the app locally (using Xcode and a physical device) if I use the fastlane developer Code Signing Identity I do not receive a device token after registering for push notifications.
If I select iPhone Developer Automatic as the identity I receive a device token.
I would like to know why the fastlane identity and provisioning profiles (which do have Push enabled) do not receive the device token from Apple.
Complete output when running fastlane, including the stack trace and command used
No fastlane output.
Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14

Ruby
2.5.3

Bundler?
true

Git
git version 2.19.1

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14 (18A391)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.5.3/lib

OpenSSL Version
OpenSSL 1.0.2p  14 Aug 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
default_platform :ios
platform :ios do

# global variable for the scheme to be built
$SCHEME = "Volders Production"

#### lanes ####################################################################
  desc "Runs all the tests"
  lane :test do
    sh "./reset-simulators.sh"
    scan(
      workspace: "Volders.xcworkspace",
      scheme: "Volders Staging",
      devices: ["iPhone 8"]
    )
  end

  desc "Run only the code tests."
  lane :testcode do
    # sh "./reset-simulators.sh" # This doesn't even fix the one failing code test
    scan(
      scheme: "CodeTests",
      devices: ["iPhone 6s"]
    )
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    ensure_git_status_clean
    # prompt_environment_selection

    match

    increment_build_number
    commit_version_bump(
      xcodeproj: "./Volders.xcodeproj"
    )

    # cert
    # sigh(force: true)

    gym(scheme: $SCHEME)
    pilot(skip_waiting_for_build_processing: true)
    upload_symbols_to_crashlytics
    # clean_build_artifacts
  end

  lane :ship_master do
    increment_build_number(build_number: latest_testflight_build_number+1)

    match
    gym(scheme: 'Volders Production')
    pilot
  end

  desc "A lane to add a device"
  lane :add_device do
    device_name = prompt(text: "Enter the device name: ")
      device_udid = prompt(text: "Enter the device UDID: ")
      device_hash = {}
      device_hash[device_name] = device_udid
      register_devices(
        devices: device_hash
      )
    refresh_profiles
  end

  desc "A helper lane for refreshing provisioning profiles."
  lane :refresh_profiles do
    match(
      type: "development",
      force_for_new_devices: true
   )
  end

#### methods ##################################################################
  def prompt_environment_selection
    staging = prompt(
      text: "Do you want to switch to the 'staging' environment?
             Otherwise the default ('production') will be selected.",
      boolean: true
    )
    $SCHEME = staging ? 'Volders Staging' : 'Volders Production'
  end

#### overrides ################################################################
  before_all do
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/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"
  end

  after_all do |lane|
  end

  error do |lane, exception|
  end
end

`./fastlane/Appfile`
app_identifier "REDACTED" # The bundle identifier of your app
apple_id "REDACTED" # Your Apple email address

team_id "REDACTED"  # Developer Portal Team ID

fastlane gems

Gem
Version
Update-Status

fastlane
2.107.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

bundler
1.16.2

CFPropertyList
3.0.0

concurrent-ruby
1.0.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.10

public_suffix
2.0.5

addressable
2.5.2

atomos
0.1.3

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.3

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.1

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.0

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.5

ruby-macho
1.2.0

nanaimo
0.2.6

xcodeproj
1.7.0

cocoapods
1.5.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.5.0

emoji_regex
0.1.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.3

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.4

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.6

httpclient
2.8.3

mime-types-data
3.2018.0812

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.4.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

generated on: 2018-11-02

Turns out this was false alarm.


How on earth do you set the MOD key?

Hi, I have an issue: it's never explictly said what the MOD key is by default, or how to set it.

What is the default and how do I set it

Can there be some sort of note in the README for it?

Take a look here, the #define defines the MOD key.
if you want to change it to ALT, then set it to Mod1Mask instead of Mod4Mask

btw if you already have config.h, then set it there instead of config.def.h


symbolicate can't parse the header

Using symbolicate on the attached IPS file, causes the following error :-
symbolicate ~/Library/Developer/Xcode/DeviceLogs/Andrew’s\ iPhone-00008101-000428D93CC2001E/Calculator\ iOS-2024-12-09-121725.ips output/symbol_files/aarch64/iOS/Calculator_framework.dSYM
Error: "Failed to parse header: invalid type: string \"2\", expected i64 at line 1 column 178"

Calculator iOS-2024-12-09-121725.ips.txt

@azw413 it looks like this file's metadata contains platform: "2" even though platform is documented to be a number.
Is this file directly from the phone, or has it been processed by something already?
In your example in the header, these four fields are strings where the code expects integers
{
  "platform": "2",
  "share_with_app_devs": "0",
  "is_first_party": "0",
  "roots_installed": "0",
}

{
  "platform": 1,
  "share_with_app_devs": 0,
  "is_first_party": 0,
  "roots_installed": 0,
}

Depending on where this file is coming from, happy to add support for parsing "strings that contain numbers" in addition to numbers for all these fields.


Is there a way to set this up using RNMP instead?

@quadsurf are you talking about react-native package manager (RNPM)? if that you are talking about then version 1 is compatible but version 2 is not at the moment.

@alinz yes, referring to the RN package manager. Once v2 has it, would it need to be re-added to Core as a new/separate PR?


“Ask for feedback” step.

Create a step that asks “did it run/work/perfect”?, and store to memory folder.
And let the benchmark.py script check that result, and convert it to a markdown table like benchmark/RESULTS.md , and append it with some metadata to that file.

I would like to work on this, could you assign to me ?

Go for it @inspire99
No need to assign it, you can just pick it up and come back with a PR!

I think, we can use MongoDB as the database to save the results. Since MongoDB is flexible and scalable, it would make as a great DBMS system.
Storing the database on the local file system is ok but it may get deleted if the library is uninstalled or the local file system gets formatted. So I think MongoDB Atlas can be used to store all the data in a centrally accessible repo on Github.
However, we face yet another issue. If we save this in one place it would become confusing to know on whose system did the library run well and what was their review and rating.
So it would be better if everybody using the library must have an Account made through the web interface on gpt-engineer. This would help track who had problems with the library and who were able to run their code successfully.
They can generate their own API Key to run the library with the OpenAI API Key.

Is this still an open issue? I saw that the feedback is already stored in the memory folder under "review," would converting that raw data into a markdown table be helpful? If so I can work on that!

Good job on this!


Url Display Refactor

Fixes #442
I also added a few tests to ensure the conditional is covered correctly.

@untitaker If this looks good, I can rebase my commits.

Thanks!


ERD added and assignment1 queries done

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
adding assignment one requested changes including ERD and queries.
What did you learn from the changes you have made?
using SQL commands including aggregations, joins, filters and so on.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
no.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
sometimes the queries were running but the result was not as expected so, I tried to cross-check with data as well.
How were these changes tested?
I tried to test by checking data in tables and then see if the queries are working as expected or not.
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

Thanks @efantinatti. Branch merged to main and closed.


Client Summary display does not populate with data

I've had Munkireport setup for a few days. It's going well so far, except:
The Client Summary display
https://myserver.xx.yy.zz/munkireports/index.php?/clients/detail/SERIAL_NUMBER

populates only:
Est. Manufacture Date

ARD / text1

with all other data fields empty.
The other, more-specific, displays selected with the Show menu on the same page all seem to populate correctly.
I have the Munkireport installation on MacOS Server (php v7.1) here:
/Users/Shared/munki/munkireport-3

with a symbolic link from the web-server root to
/Users/Shared/munki/munkireport-3/public

Setting 'debug' mode did not reveal any error messages.
Any ideas for how I can fix this would be welcome.
TIA
C.

Verify that your web server is using PHP 7, it may be installed, but it could be using PHP 5. You can check which version it is using by looking in the Show System Status page under the Admin tab.

Thanks for replying. According to that page I have:
PHP Version 7.1.13
...
Driver sqlite

I originally set up the system when the server (Sierra 10.12.6) had php5 installed, but I upgraded it per the instructions here:
https://github.com/munkireport/munkireport-php/wiki/Upgrading-PHP-for-Server.app
The only noticeable effect of the upgrade was that a placeholder (the Apple logo) in the top left of the report started being replaced with a photo of an iMac.
C.

Success! I've just noticed that there were database updates pending under the
Admin > Database
menu. I clicked to install these and now the client details reports are populating nicely so I assume that's what was needed.
Thanks all
C.


Delete yarn.lock and then run yarn install. The next.js would fail to run...

Reproduce:

Download the repo
Delete yarn.lock
run yarn
run the next app, i.e. yarn dev:next

I got the following error:
info  - automatically enabled Fast Refresh for 1 custom loader
info  - Using external babel configuration from /.../packages/next/.babelrc.json
info  - automatically enabled Fast Refresh for 1 custom loader
HookWebpackError: Cannot read properties of undefined (reading 'replace')
    at makeWebpackError (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:41664:9)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25354:12
    at eval (eval at create (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140346:10), <anonymous>:12:1)
    at fn (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:22775:17)
    at Hook.eval [as callAsync] (eval at create (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140346:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140148:14)
    at cont (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25351:34)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25399:10
    at symbolIterator (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14443)
    at done (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14823)
-- inner error --
TypeError: Cannot read properties of undefined (reading 'replace')
    at PagesManifestPlugin.createAssets (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js:35:47)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js:47:22
    at fn (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:22773:10)
    at Hook.eval [as callAsync] (eval at create (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140346:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140148:14)
    at cont (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25351:34)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25399:10
    at symbolIterator (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14443)
    at done (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14823)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:9429
caused by plugins in Compilation.hooks.processAssets
TypeError: Cannot read properties of undefined (reading 'replace')
    at PagesManifestPlugin.createAssets (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js:35:47)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js:47:22
    at fn (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:22773:10)
    at Hook.eval [as callAsync] (eval at create (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140346:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:140148:14)
    at cont (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25351:34)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/webpack/bundle5.js:25399:10
    at symbolIterator (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14443)
    at done (/Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:14823)
    at /Users/yanzhu/Documents/Project/study/js/playgrounds/test/node_modules/next/dist/compiled/neo-async/async.js:1:9429

PS: The line info  - automatically enabled Fast Refresh for 1 custom loader has come out twice...
What could be wrong here?

Same here

Add webpack5: true, in this config object https://github.com/axeldelafosse/expo-next-monorepo-example/blob/main/packages/next/next.config.js#L14. This seems to be an issue with @expo/next-adapter

Looks to be a regression in the webpack5 checking logic within Expo, with it now defaulting to webpack 4. The workaround is explicating setting webpack5: true in your next.config.js
See: https://github.com/expo/expo-cli/issues/4066#issuecomment-1063702556

@rmylagary Yeah true. I have just noticed this issue...https://github.com/expo/expo-cli/issues/4195#issuecomment-1061874238

This repo is now deprecated in favour of Solito


Change dbmodel.TagFilter to take span as argument

Because sometimes the filtering decision depends not only on the tags, but on the span itself, e.g. debug bit, or the service name.
Signed-off-by: Yuri Shkuro<EMAIL_ADDRESS>

Chaining becomes a bit funky but I think we can get it to work

Alternative, keep the interface as is but have db.Model span implement it

Alternative, keep the interface as is but have db.Model span implement it

I need to control the implementation of the filter. I cannot change the implementation of the span when doing the filtering. So how would that help? Also, filters are static.

Coverage remained the same at 100.0% when pulling d6dc147195831d54dcbaa636b0111470af2c9bf7 on storage-tag-filter-takes-span into 59cc364a2979e2e9a8184cd618f479a307916292 on master.


article-sort-order by feed

Newsbeuter version (copy from newsbeuter -v):
2.9
Compilation date/time: Dec  7 2015 04:47:17
System: Linux 4.8.13-1-ARCH (x86_64)
Compiler: g++ 5.3.0
ncurses: ncurses 6.0.20161224 (compiled with 6.0)
libcurl: libcurl/7.52.1 OpenSSL/1.0.2j zlib/1.2.8 libpsl/0.16.1 (+libicu/58.2) libssh2/1.8.0 (compiled with 7.46.0)
SQLite: 3.16.2 (compiled with 3.9.2)
libxml2: compiled with 2.9.2

Steps to reproduce the issue:

Set up "unread articles" query feed as per the documentation's example: "query:Unread Articles:unread = \"yes\""

Open this query feed.

Other info you think is relevant:
I'm enjoying the query feeds, and I can imagine the "unread articles" feed being what I use almost all the time. However, I'd love to be able to sort this list by the feed that the article originates from. (This would in effect be similar 2/3 of a multi-pane newsbeuter as per issue #461, and would work well with issue #402.) Even better would be if there could be multiple levels of sorting, e.g. sort first by feed, then by date, etc.

Great idea, thanks!

Even better would be if there could be multiple levels of sorting, e.g. sort first by feed, then by date, etc.

This one is good too, but since it's different, I created a separate issue for that: #467.


Scala Native support

This branch is for eventually creating Vyxal executables directly using Scala Native. There's also GraalVM, which we should check out too. Executables made by Scala Native will likely be smaller, since they don't contain all the Java stuff that GraalVM has. Scala Native will also be able to optimize more, since it's aware of the original Scala code, while GraalVM works on bytecode. However, the size and performance difference probably won't be big enough to be noticeable, and GraalVM has been around longer than Scala Native and works on JARs, so we may just want to go with that.

besides, we can always figure out any issues when we come across them + decide to not support native if need be

merge when you're ready


Release on NuGet

Please publish a release as a NuGet package. I guess though first Deque.AxeCore.* needs to have a stable release, see https://github.com/dequelabs/axe-core-nuget/issues/84.

Deque.AxeCore.Selenium is now released (https://github.com/dequelabs/axe-core-nuget/issues/84), so it would be great to have a release of these packages too.

Deque.AxeCore.Selenium is now released (dequelabs/axe-core-nuget#84), so it would be great to have a release of these packages too.

have you ever managed to use this?

Please make a NuGet release.

@IsaacWalker  do we have a timeline for getting this released?

Any plans for a NuGet release here, @IsaacWalker?

+1 for a NuGet release for this one.

+1

Created an alternative in case this never gets released
https://www.nuget.org/packages/TWP.Selenium.Axe.Html/
*Basically, just the HTML report portion of the old Selenium.Axe package.

Wow, that looks great! That project seems like a drop-in replacement of Selenium.Axe for .NET with the difference that it uses the .NET Deque.AxeCore.Selenium under the hood instead of the JS axe-core. Do I understand correctly?


Hide NFT send button for tezos_ebsi NFT

@achille1017 can you give us the contract numbers we should consider?


ublock-origin: Init at 1.33.2

Motivation for this change
Make ublock-origin available.
ungoogled-chromium cannot directly use the Google Chrome Web Store.  Unlike other, simpler Chromium extensions, ublock-origin requires a build step before it can be loaded into Chromium as an unpacked extension.  So this package makes it easier to use ublock-origin with ungoogled-chromium.
Things done

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

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

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

Result of nixpkgs-review pr 113976 at 9e4bf8bd run on aarch64-linux 1

2 packages built:

ublock-origin-chromium
ublock-origin-firefox

For the Chromium output, could you explain how you would install it into an Ungoogled Chromium profile?
For the Firefox output, it doesn't drop into the programs.firefox.extensions option of home-manager. It seems like the .xpi needs to be in a specific subdirectory for it to work. You don't necessarily have to support that if that's not your goal though.

The .xpi for Firefox requires fiddling with about:config because it isn't signed, but appears to work fine otherwise

@lourkeur - I added a longDescription with notes about how to load the extension in both Chromium and Firefox.  Thanks!
@SuperSandro2000 - I applied your suggestions.  Thanks!

I'll use --width=999 with nixfmt from now on to save you that trouble in future.
I felt bad about bash foo.sh being less locally-readable than sh foo.sh, so I switched to patchShebangs & direct invocation to avoid making assumptions about which shell to use.

I felt bad about bash foo.sh being less locally-readable than sh foo.sh, so I switched to patchShebangs & direct invocation to avoid making assumptions about which shell to use.

sh in nixpkgs is not sh or dash anyway. I think in this case it is bash or ash but I am not fully sure which one.

I followed the instructions and managed to it working in ungoogled-chromium. It'd be nice if it could be somewhat automated, (not a Nix Chromium expert)  but as far as ungoogled is concerned, it's a net benefit. :+1:
I tried to use the Firefox derivation in wrapFirefox but it silently fails too:
with pkgs; wrapFirefox firefox-unwrapped {
    nixExtensions = [
      (ublock-origin-firefox // {
        extid = "uBlock0.firefox";
        })
    ];
  }

For the Firefox side, I will argue that, in its current state, it should be dropped or not aliased in top-level. If we include a Firefox addon derivation, it should be at least as good as the fetchFirefoxAddon based ones found in the docs and in NUR. These can be declaratively installed and updated through Nix and/or Home-manager. This derivation does not support that, and afaict has nothing over those. It would be detrimental if the official-looking way to install ublock was worse in every way.

For Chromium, another option is to install with a group policy.
environment.etc."chromium/policies/managed/policy.json".text = builtins.toJSON
{
  "ExtensionInstallForcelist" = [ "cjpalhdlnbpafiamejdnhcphjbkeiagm" ];
};

For Chromium, another option is to install with a group policy.
How about ungoogled-chromium? Try

nix shell -p ungoogled-chromium
chromium -p $(mktemp -d)

Ungoogled chromium intentionally disables the webstore, hence it cant turn "cjpalhdlnbpafiamejdnhcphjbkeiagm" into a usable extension. Unless you run normal chromium first, it wont install or update extensions.

Just wanted to leave a remark for regular Chromium users.

Having to enable developer mode works but is quite inconvenient. I veto against this approach. If the upstream project provides a (signed) crx3 file, it would work out of the box without having to toggle any settings in the browser. browserpass does this and I'm maintaining it in my overlay, see https://github.com/michaeladler/nur-packages/tree/master/pkgs/chromium-browserpass. Extensions like that could be added to nixpkgs I guess. Arch Linux does it too.

Closing because being stale and the requiring to activate developer mode is not ideal.


Feature Suggestion: Add Support to Disable Closing on Backdrop Click

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Description:
This issue proposes adding a new configuration option to the Offcanvas component, allowing developers to disable the automatic closing of the offcanvas when a user clicks on the backdrop.
Suggested Feature:
Disable Closing on Backdrop Click:
Description: Currently, the offcanvas automatically closes when the user clicks on the backdrop surrounding it. This new option would allow developers to disable this behavior.
Expected Behavior:
A new option, closeOnBackdropClick, could be added to the offcanvas configuration. If set to false, the offcanvas would remain open even when the user clicks on the backdrop.
Motivation and context
Motivation: This feature provides more control over the offcanvas behavior, particularly in situations where accidental closure should be prevented, such as with complex forms or when displaying critical information.

Hey there,
thanks for your contribution. I think the issue you mention here is already handled by the static backdrop we provide. Can you confirm this ?


Use highp in vertex shader

Some systems show artifacts like animation turning choppy over time
(after a few minutes) and corrupted light effects when running the
shaders in mediump. Use highp in the vertex shader instead to fix this.
Keep fragment shader in mediump to maintain support for low-end mobile
devices, where highp may not be supported in fragment shaders.

Perhaps we can add conditional to fragment shader for highp:
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif

By the way, I was not able to reproduce the choppy animation even after running the demo for hours but I suspect it has something to do with the time uniform becoming too high.

Yes, using the ifdef is a possible solution, but it may unnecessarily throw away performance, and then you have two configurations to test. With this fix in place things are working fine.
Whether the choppy animation issue reproduces is heavily dependent on the device - there's a ton of variations how GLES devices implement floating point. On desktop it would not reproduce at all, since vast majority of desktop GPUs have hardware only for 32-bit floats.

Merged and added conditional highp support in fragment shader. Hopefully, this will fix the bug.
https://code.google.com/p/chromium/issues/detail?id=567894


Match httpDateString with ISO8601 formats

Checklist

[ ] New Extension
[ ] New Test
[ ] Changed more than one extension, but all changes are related
[x] Trivial change (doesn't require changelog)

Default timestamp from http json responses for Ruby on Rails follows ISO8601 format.

          2 Messages

:book:
Executed 188 tests, with 0 failures (0 unexpected) in 4.693 (4.964) seconds

:book:
Executed 173 tests, with 0 failures (0 unexpected) in 4.665 (4.921) seconds

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #426 into master will increase coverage by 0.18%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #426      +/-   ##
==========================================
+ Coverage   40.44%   40.63%   +0.18%
==========================================
  Files          49       49
  Lines        2193     2205      +12
==========================================
+ Hits          887      896       +9
- Misses       1306     1309       +3

Impacted Files
Coverage Δ

Sources/DateExtensions.swift
93.89% <76.92%> (-1.91%)
: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 4a5e225...eed1ed6. Read the comment docs.

Moreover, these changes also need changelog entries.


choir: normalize error handling in kube_proxy_replacement.go

this commit normalizes the error handling in kube_proxy_replacement.go
by bubbling errors up to the caller of the initialization method.
Signed-off-by: Louis DeLosSantos<EMAIL_ADDRESS>

cc @joestringer @christarazi
will be more of these per our discussion on normalizing the error handling for depedencies in NewDaemon.

@christarazi @joestringer
nits addressed.

@christarazi @joestringer sorry about that bit of confusion, that nodediscovery.go file was not supposed to be in this PR at all. Removed it from the edited set and force pushed.


feat: bump terrascan to v0.2

Sorry for the late reply, and thank you for your contribution!

Released as v0.2.0. Thanks!


Issues with Python 3.5

Hi,
I am trying to run the example from the docs with Python 3.5 and the elasticsearch-py(5.0 I think) from the master branch and it does not seem to be working.
I keep getting:
AssertionError: yield from wasn't used with future
Not sure whats the problem. Detailed stack trace.
Traceback (most recent call last):   File "/home/arti/workdir/man/services/imp/search/query/test.py", line 12, in <module>     loop.run_until_complete(print_info())   File "/opt/anaconda3/envs/imp_search/lib/python3.5/asyncio/base_events.py", line 337, in run_until_complete     return future.result()   File "/opt/anaconda3/envs/imp_search/lib/python3.5/asyncio/futures.py", line 274, in result     raise self._exception   File "/opt/anaconda3/envs/imp_search/lib/python3.5/asyncio/tasks.py", line 239, in _step     result = coro.send(None)   File "/home/arti/workdir/man/services/imp/search/query/test.py", line 8, in print_info     info = yield from client.info()   File "/opt/anaconda3/envs/imp_search/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped     return func(*args, params=params, **kwargs)   File "/opt/anaconda3/envs/imp_search/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 219, in info     _, data = self.transport.perform_request('GET', '/', params=params)   File "/opt/anaconda3/envs/imp_search/lib/python3.5/asyncio/futures.py", line 359, in __iter__     assert self.done(), "yield from wasn't used with future" AssertionError: yield from wasn't used with future Task was destroyed but it is pending! task: <Task pending coro=<TCPConnector._create_connection() running at /opt/anaconda3/envs/imp_search/lib/python3.5/site-packages/aiohttp/connector.py:558> cb=[_release_waiter(<Future pendi...sk._wakeup()]>)() at /opt/anaconda3/envs/imp_search/lib/python3.5/asyncio/tasks.py:344]> Task was destroyed but it is pending! task: <Task pending coro=<AsyncTransport.main_loop() running at /opt/anaconda3/envs/imp_search/lib/python3.5/site-packages/elasticsearch_async/transport.py:140> wait_for=<Future pending cb=[Task._wakeup()]>> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f208fb83240>

It looks like you are trying to use this connection with an older version of elasticsearch-py. Currently it is only compatible with version from git (2.x branch) of elasticsearch-py). Sorry for the confusion.

Hi,
I seem to have installed the one from the correct branch to the wrong virtualenv. It seems to work with elasticsearch-5.0.0.dev0. Thanks.


Error in excel when open the file

Hello. I am creating an excel file using your library as follow:
var excel = Excel.createExcel();
var sheet = excel[AppStrings.excelSheetName];
excel.setDefaultSheet(AppStrings.excelSheetName);

CellStyle cellStyle = CellStyle(
    backgroundColorHex: "#F44336",
    fontColorHex: "#FFFFFF",
    bold: true,
    verticalAlign: VerticalAlign.Top);

//Create the title of the fields for each column
for (int index = 0; index < _questionsName.length; index++) {
  var cell = sheet
      .cell(CellIndex.indexByColumnRow(rowIndex: 0, columnIndex: index));
  cell.cellStyle = cellStyle;
  cell.value = _questionsName[index];
}

//Write the excel file
String outputFile = "$path/$file";
excel.encode().then((onValue) {
  File(join(outputFile))
    ..createSync(recursive: true)
    ..writeAsBytesSync(onValue);
});

Everything works well... Later on I create a routine to send it by email and I successfully open the file. But the issue comes when I download the file directly from the email, tried to copy one of the sheet to another excel file... it seems excel not recognize the file and crash immediately.
I find a work around that is dowloading the file, saving as with another name and then copy the sheet to another file excel. But this is not what I would like to do. I would like to be able to copy the excel sheet directly from the original file generated.

what you are explaining here sound like there is an issue in the mime type within the email, and nothing to do with package itself. did you setup the mime type as
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
in the email?

Hello. Thanks for answer me... the email opens well and the file opens and downloads wells. the issue is when I tried to copy a sheet from the file to another excel file before I save it.
I tried several times checking with part of the code is producing the error. I found it here:
var sheet = excel[AppStrings.excelSheetName];
excel.setDefaultSheet(AppStrings.excelSheetName);
when I create a sheet using this procedure, any time that I tried to copy the sheet to another excel file, excel crashed. (this doesn't happen if I saved the file into excel).
Now I am getting the default sheet page and I successfully can copy that sheet to another excel file like this:
var excel = Excel.createExcel();
//get the sheet Name (other sheet creation throws error so far)
var sheetName = await excel.getDefaultSheet();
//Create the sheet
var sheet = excel[sheetName];

In this way, it works perfectly... So, I guess the errors come when we create a excel sheet or when we set the default excel page
I'm trying to understand the package to see what happens, but I am not so familiar with it.

Are you trying to copy one sheet from excel to another excel files,
like communicating data between 2 excel files ??

No.. I am just would like to write data in another sheet different than the default one... it's like create a new sheet, set some data and save it

Can you post the log of the issue ??

I cannot reproduce any log. In flutter everything appears to be ok. The issue comes when I opened the generated excel file and try to copy that sheet to another workbook in another excel file (it seems the excel is not recognizable).
The errors come when I create the excel in this way:
var excel = Excel.createExcel();
var sheet = excel[AppStrings.excelSheetName];
excel.setDefaultSheet(AppStrings.excelSheetName);
instead of:
var excel = Excel.createExcel();
//get the sheet Name (other sheet creation throws error so far)
var sheetName = await excel.getDefaultSheet();
//Create the sheet
var sheet = excel[sheetName];

Ok can you post the issue text from the terminal or log cat related to excel so that we can know what problem you are facing.

I hope the issue will be resolved by now on your own,
If you thinks that the issue still persist then feel free to re-open the issue.


Xenon Trade Doesn't Seem To Work Any More

Expected behaviour
When I run XenonTrade it should automatically show itself over my display.
Actual behaviour
XenonTrade runs and is in my icon bar, but clicking show doesn't show it over my display and it isn't discernibly visible anywhere on my monitor.
To reproduce
No Idea.
Your specifications
Windows 10
XenonTrade Version 0.4.1
I have tried the following
Reinstalling XenonTrade, running as an administrator, closing similar tools, etc

[x] Running XenonTrade as admin
[x] Exclude XenonTrade in my antivirus program
[x] Closed similar tools that might interfere with XenonTrade

Try running it after poe client has started

Try running it after poe client has started

Just tried that and that didn't fix it :(


Data is copied/allocated unnecessarily, due to std::string API

Using std::string as the data format in the API means unavoidable memory copying and allocation in most cases. If the caller's data is in any other form, it has to construct a new std::string object to pass it to zlibcomplete, which involves allocating a new copy of the data on the heap. Similarly, zlibcomplete returns std::strings which means the result data always ends up allocated on the heap and has to be copied elsewhere by the caller.
In most situations this overhead won't be noticeable. But compression/decompression can become a CPU bottleneck in some areas, and in that case it's important to cut out any unnecessary memory allocation or copying.
I suggest having the core implementation use direct pointers to the data, and then implementing the existing string-based API as a simple wrapper around that. Then clients can choose performance or convenience.

I agree with this analysis.  I think the only thing slowing down a great solution is that it may be a fair amount of work.  In other words, there is already a very hard to use raw pointer library which is the old zlib. It is pretty hard to use but supports the high efficiency use-case you mention.  This zlibcomplete is indeed a wrapper around it that sacrifices efficiency (primarily through std::string as you correctly point out) for convenience so is an instance of the "Facade" design pattern.  It seems you are suggesting another library that may fit sort of inbetween these two.  What form do you think it should take?  A separate github repo that is a C-language wrapper for zlib? Or a C++ version that uses raw pointers but makes it easier to use somehow?  That is something I could believe in once I see it however working out the specific interface .h file is slightly daunting to me.  If you have an idea of the kind of interface you would like to see based on what you need in your application or maybe what you have already imagined / designed / prototypes I would love to see it or maybe work with you in more detail on it through PR's together etc.

Well, in my code I use a type I created called slice which is just a pointer/size pair. You can see it here. It points to a range of memory, with no ownership implied. Very useful.
I'm not expecting you to adopt the full slice API, but it would be easy to just add the basic struct declaration, plus a constructor that takes a string parameter. Then the input side would be easy: the input parameters are slices, but the client can pass std::strings if they want just like today.
The output side is harder. You need some kind of growable buffer, but there are so many different kinds. It might work best to provide a template so the client can parameterize it with their favorite output format, defaulting to string.

I have absolutely used such a struct myself (void/char *buf, int len)  in the past indeed in my "libcomplearn" software so I totally agree with the desire. I wonder if you would be able to supply a PR to get the ball rolling?

one other possibility is that we just improve the current std::string api to use the new rvalue references / move semantics in c++ 2011 and later.  then the extra allocation can be avoided i believe isn't that correct? maybe a simpler way to achieve the same performance boost.

closed due to insufficient interest. happy to reopen if/when somebody wants to work with me on this more challenging enhancement which may or may not be easy enough to be in the scope of this library


Test fix

Test fix for auto-assign.yml (duplicate addAssignees key which cause GitHub Actions to fail)

Verified fix to be working!