Migration to amaranth.lib.data

As Records are basically deprecated, I've refactored the code to use amaranth.lib.data instead. Most of the changes are pretty straightforward. A weird one was RS, as it mixed combinational and sequential assignments to the same record. I still left records in Wishbone code.
Closes #237.
Edit: damn it, the debug signals. I wonder if this can be easily fixed, or maybe I just found a major issue with amaranth.lib.data, to be reported?
Edit: this looks bad (https://github.com/amaranth-lang/amaranth/issues/790), the migration should probably be postponed.

I've decided that I'll write an RFC soon that will cover formatting of signals in a way suitable to handling lib.data Views.

I've finished updating to latest Amaranth, we were even able to remove @Arusekk's enum hack, as amaranth.lib.enum does the same job now.

There is now support for lib.data fields in VCD files: https://github.com/amaranth-lang/amaranth/pull/967

Is there anything that's blocking you here?

Unfortunately, generating GTKW files for views still doesn't really work for us. See the following example code:
from amaranth import *
from amaranth.sim import *
from amaranth.lib.data import *

layout = StructLayout({'a': 1, 'b': StructLayout({'c': 3})})

class Foo(Elaboratable):
    def __init__(self):
        self.stuff = Signal(layout)

    def elaborate(self, platform):
        m = Module()

        m.d.sync += self.stuff.a.eq(1)
        m.d.sync += self.stuff.b.c.eq(6)

        return m

dut = Foo()
sim = Simulator(dut)

def process():
    for x in range(5):
        yield

sim.add_clock(1e-6)
sim.add_sync_process(process)
with sim.write_vcd("trace.vcd", "trace.gtkw", traces=(dut.stuff, )):
    sim.run()

This gives an exception:
Traceback (most recent call last):
  File "traces.py", line 28, in <module>
    with sim.write_vcd("trace.vcd", "trace.gtkw", traces=(dut.stuff, )):
  File "/home/tilk/.localpython/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/amaranth/sim/pysim.py", line 331, in write_vcd
    vcd_writer = _VCDWriter(self._fragment,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/amaranth/sim/pysim.py", line 68, in __init__
    for trace_signal in trace._rhs_signals():
                        ^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/amaranth/lib/data.py", line 738, in __getattr__
    raise AttributeError("View of {!r} does not have a field {!r}; "
AttributeError: View of (sig stuff) does not have a field '_rhs_signals'; did you mean one of: 'a', 'b'?

Alternatively, if I write (dut.stuff.a, dut.stuff.b.c) for the traces argument, I get the following in the GTKW file:
[dumpfile] "trace.vcd"
[dumpfile_size] 553
[treeopen] top.
@22
bench.top.stuff[3:0]
bench.top.\stuff.a
bench.top.\stuff.b[2:0]
bench.top.\stuff.b.c[2:0]
bench.top.stuff[3:0]
bench.top.\stuff.a
bench.top.\stuff.b[2:0]
bench.top.\stuff.b.c[2:0]

In other words, for each field I wanted to view, I got all the signals related to the whole view.
Am I doing something wrong, or is this an Amaranth issue?

@wanda-phi Could you take a look at what's happening here, please?

I fixed the problem with adding views to traces; making it work with adding a single field would be considerably harder and involve designing some infrastructure.

@tilk The crash when adding a trace is now fixed upstream and backported to the 0.4.x branch. Is this enough for your purposes? If yes, do you need a 0.4.2 release with the backport?

Thanks for backporting the fix to the v0.4.x branch. I prepared already a PR #576 to switch to that version. In local tests there was no regression in behaviour so I hope that we will be able to merge it soon.

@whitequark Looks like that's enough for us - I was able to restore our structured GTKW files to include View fields. The only difference is that Record had names, while View does not - which leads to a slightly worse output, as I have to group the View fields in unnamed groups. But I think we can live with that. I'll update this PR to master and await feedback from the rest of the team.

@whitequark Looks like that's enough for us - I was able to restore our structured GTKW files to include View fields. The only difference is that Record had names, while View does not - which leads to a slightly worse output, as I have to group the View fields in unnamed groups. But I think we can live with that. I'll update this PR to master and await feedback from the rest of the team.

Can you elaborate what you mean here by names?

@whitequark Looks like that's enough for us - I was able to restore our structured GTKW files to include View fields. The only difference is that Record had names, while View does not - which leads to a slightly worse output, as I have to group the View fields in unnamed groups. But I think we can live with that. I'll update this PR to master and await feedback from the rest of the team.

Can you elaborate what you mean here by names?

@wanda-phi Names, as in the name attribute of Signal and Record.

@whitequark Looks like that's enough for us - I was able to restore our structured GTKW files to include View fields. The only difference is that Record had names, while View does not - which leads to a slightly worse output, as I have to group the View fields in unnamed groups. But I think we can live with that. I'll update this PR to master and await feedback from the rest of the team.

Can you elaborate what you mean here by names?

@wanda-phi Names, as in the name attribute of Signal and Record.

view.as_value().name?

@wanda-phi Names, as in the name attribute of Signal and Record.

view.as_value().name?

Looks like that will do the trick, thank you.


Where's the wiki ?

Waiting for the wiki before to test it (just not to make my pc crashes ;-) )

I am writing the wiki on ReadTheDocs and on the repo named "Sython-docs". Thank you for paying attention on this project

The first version of the wiki is online ! You can read it here. This is in french and there may be spelling mistakes but you can learn how to use Sython.
You can ask other question on discord : LavaPower#1389

thanks :)


CheckBox & RadioButton ContentPresenter missing

I try to get TextWrapping working for RadioButton & CheckBox "Labels".
Without any styling:
I can do this kind of stuff:
    <RadioButton Grid.Column="0" Grid.Row="0" Content="Very very very very Very very very very Very very very very Very very very very Very very very very long" />

    <RadioButton Grid.Column="0" Grid.Row="1">
            <TextBlock TextWrapping="Wrap">Very very very very Very very very very Very very very very Very very very very Very very very very long</TextBlock>
    </RadioButton>

Results in:

When I apply the ModernUI style I get this:

The same "issue" exists for checkboxes as well.
I guess the reason is here:
https://github.com/firstfloorsoftware/mui/blob/master/1.0/FirstFloor.ModernUI/Shared/Assets/CheckBox.xaml#L20
https://github.com/firstfloorsoftware/mui/blob/master/1.0/FirstFloor.ModernUI/Shared/Assets/RadioButton.xaml#L13
Currently I couldn't find a workaround.
Full demo code:
<Window x:Class="WpfApplication9.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApplication9"
        mc:Ignorable="d"
        Title="MainWindow" Height="550" Width="525">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
                <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid x:Name="test">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>

        </Grid.RowDefinitions>
        <RadioButton Grid.Column="0" Grid.Row="0" Content="Very very very very Very very very very Very very very very Very very very very Very very very very long" />

        <RadioButton Grid.Column="0" Grid.Row="1">
            <TextBlock TextWrapping="Wrap">Very very very very Very very very very Very very very very Very very very very Very very very very long</TextBlock>
        </RadioButton>
    </Grid>
</Window>

PR welcome or is this project "done"?

With the changes from this PR https://github.com/firstfloorsoftware/mui/pull/82 it seems to work:

Fixed in 1.0.8. Thanks!


WIP: Feat(neo4j integration)

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Hearthstats crashes my Hearthstone client

I started having issues a few months ago when my system updated from Java 7 to 8. I am currently on Java 8 update 40. At first immediately the deck window would no longer be visible to me when playing. The window would be there in the taskbar, but when I hovered over it or clicked it a shadowed glass window would appear with no contents in the window displaying the cards in my deck. The companion was recording matches correctly and updating the decks and importing just fine however. Because of the issue, I stopped using the companion all together. This was pre v0.22.4. Just today I decided to update it to 0.22.4 and give it a go. I copied over the EXE to my folder. (Norton Security Suite still thinks the EXE is still a virus or malware, please fix this (based on reputation)) Once I got it whitelisted so Norton didn't autoremove the EXE, I ran it and I was still having the issue. I did notice however that now it made the HS client crash (not battlenet, the game client proper). After it crashed HS, I tried to reset the options in the companion applet, closed the applet, deleted all the extra folders in my folder containing the Hearthstats exe (temp, cache, null + the log file), cleared the java cache, restarted the EXE so that it would recreate the config files and folders and then ran the Hearthstone client. That fixed the window not showing for the deck list, however I only got it to play one match and then when I went to change some things in the companion, Hearthstone crashed again on me. I tried it a few more times, but it keeps crashing the HS client on me. I should say, it doesn't hard crash the client, but the window grays out and the cursor animation clocks like the app is busy. The sound plays, but if you click on HS, Windows says that HS is not responding. I closed out the companion application and HS and I was able to play HS fine after restarting about 8-10 matches in a row. I don't know what the heck is going on. I thought I was good when I fixed the deck window, but now it keeps crashing the client.
17:38:38.134 [    main] WARN      n.h.c.UserConfig - Unable to interpret value en, using default en instead
17:38:38.225 [    main] INFO  .VideoEncoderFactory - Instantiation interface net.hearthstats.modules.video.VideoEncoder from SPI
17:38:38.676 [tQueue-0] INFO     n.h.hstatsapi.API - API get result = {"status":"success","data":[{"active":false,"archived":true,"cardstring":"","created_at":"2015-03-01T12:45:52-05:00","deck_type_id":1,"id":305592,"is_public":false,"klass_id":5,"name":"Unnamed Priest","notes":"","slot":null,"slug":"unnamed-priest--4053","unique_deck_id":null,"updated_at":"2015-03-09T21:43:56-05:00","user_id":151513,"user_num_losses":0,"user_num_matches":2,"user_num_wins":2,"user_winrate":100.0},{"active":false,"archived":true,"cardstring":"110_1,148_2,157_1,159_1,15_1,16_2,170_1,244_1,248_1,287_2,299_1,319_2,330_2,348_2,37_1,536_1,549_2,571_1,6_2,81_1,84_1,96_1","created_at":"2015-03-01T14:14:18-05:00","deck_type_id":1,"id":305871,"is_public":null,"klass_id":5,"name":"Custom Priest","notes":"","slot":null,"slug":"custom-priest--471","unique_deck_id":261405,"updated_at":"2015-03-24T12:41:26-05:00","user_id":151513,"user_num_losses":9,"user_num_matches":19,"user_num_wins":10,"user_winrate":52.6316},{"active":false,"archived":true,"cardstring":"204_1,234_1,245_1,253_1,257_2,297_2,333_2,339_1,349_1,535_2,536_1,537_1,538_2,539_1,53_2,543_1,549_1,560_2,62_1,657_1,73_1,78_2","created_at":"2015-03-01T14:16:26-05:00","deck_type_id":1,"id":305876,"is_public":false,"klass_id":2,"name":"Hunter v1","notes":"","slot":null,"slug":"hunter-v1--7","unique_deck_id":271975,"updated_at":"2015-03-09T21:43:56-05:00","user_id":151513,"user_num_losses":18,"user_num_matches":31,"user_num_wins":13,"user_winrate":41.9355},{"active":false,"archived":true,"cardstring":"146_1,149_2,15_1,213_1,21_2,263_1,264_2,273_2,29_2,318_1,339_1,340_1,352_1,360_1,532_2,536_1,538_2,547_1,549_2,646_1,650_1,6_1","created_at":"2015-03-01T14:16:51-05:00","deck_type_id":1,"id":305877,"is_public":null,"klass_id":3,"name":"Custom Mage","notes":"","slot":null,"slug":"custom-mage--459","unique_deck_id":261412,"updated_at":"2015-03-24T12:41:26-05:00","user_id":151513,"user_num_losses":2,"user_num_matches":2,"user_num_wins":0,"user_winrate":0.0},{"active":false,"archived":true,"cardstring":"118_1,15_1,20_2,220_1,25_2,274_1,306_1,327_2,32_1,338_2,352_1,373_1,523_2,536_1,539_1,549_1,618_1,620_1,622_1,6_2,84_2,85_1,88_1","created_at":"2015-03-01T14:18:27-05:00","deck_type_id":1,"id":305882,"is_public":null,"klass_id":4,"name":"Custom Paladin","notes":"","slot":null,"slug":"custom-paladin--393","unique_deck_id":261416,"updated_at":"2015-05-01T14:38:35-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"100_2,214_2,227_1,259_2,277_1,279_1,286_1,302_1,311_1,321_2,334_1,34_1,359_2,535_1,549_2,558_2,576_1,63_1,64_2,661_2,84_1","created_at":"2015-03-01T14:21:32-05:00","deck_type_id":1,"id":305889,"is_public":null,"klass_id":8,"name":"Custom Waldock","notes":"","slot":null,"slug":"custom-waldock","unique_deck_id":261426,"updated_at":"2015-03-06T15:24:01-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"111_1,15_1,165_1,208_2,224_2,239_1,27_2,282_2,307_2,323_2,32_1,332_1,347_1,366_2,39_1,536_1,544_1,549_1,56_1,60_1,641_1,6_1,84_1","created_at":"2015-03-01T14:23:46-05:00","deck_type_id":1,"id":305891,"is_public":false,"klass_id":1,"name":"Druid v1","notes":"","slot":null,"slug":"druid-v1--5","unique_deck_id":271937,"updated_at":"2015-03-04T15:23:40-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":true,"archived":true,"cardstring":"101_2,129_2,133_1,138_1,154_1,15_1,167_1,178_1,237_2,23_1,244_1,269_1,32_1,331_1,355_2,376_1,539_1,549_2,629_1,639_1,646_1,65_2,91_2","created_at":"2015-03-01T14:25:56-05:00","deck_type_id":1,"id":305894,"is_public":null,"klass_id":9,"name":"Custom Warrior","notes":"","slot":6,"slug":"custom-warrior--378","unique_deck_id":261434,"updated_at":"2015-05-01T14:41:12-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":true,"archived":true,"cardstring":"161_1,196_1,198_1,206_1,215_1,231_1,316_1,31_2,350_2,352_1,536_1,549_2,583_1,584_1,588_1,646_1,654_1,657_1,67_1,69_1,74_1,80_1,96_1,97_2,98_2","created_at":"2015-03-01T14:27:01-05:00","deck_type_id":1,"id":305897,"is_public":null,"klass_id":6,"name":"Custom Rogue","notes":"","slot":8,"slug":"custom-rogue--308","unique_deck_id":261438,"updated_at":"2015-05-01T14:41:15-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"155_1,15_1,176_1,18_1,211_1,251_2,261_1,288_1,289_2,306_1,308_2,30_2,326_1,374_1,40_1,535_2,536_1,549_1,639_2,66_2,6_2,92_1","created_at":"2015-03-01T14:30:15-05:00","deck_type_id":1,"id":305904,"is_public":null,"klass_id":7,"name":"Custom Shaman","notes":"","slot":null,"slug":"custom-shaman--412","unique_deck_id":261448,"updated_at":"2015-03-08T01:30:32-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"105_2,118_2,15_1,192_1,220_1,24_1,309_1,338_2,349_1,354_1,35_1,373_1,51_2,536_1,547_2,549_2,561_2,59_1,76_2,84_1,90_1,96_1","created_at":"2015-03-01T15:27:27-05:00","deck_type_id":1,"id":306060,"is_public":true,"klass_id":4,"name":"Control Paladin","notes":"Version Changes                                                                                V2: -1 Zombie Chow, +1 Cairne Bloodhoof                                                                                V3: -1 Humility, -1 Acolyte of Pain, -1 Sen'jin Shieldmasta, -1 Loatheb, -1 Stampeding Kodo, -1 Cairne Bloodhoof, +1 Zombie Chow, +2 Acidic Swamp Ooze, +2 Shade of Naxxramas, +1 Sword of Justice                                                                                V4: -1 Acidic Swamp Ooze, +1 Acolyte of Pain","slot":null,"slug":"control-paladin--459","unique_deck_id":261637,"updated_at":"2015-03-01T15:27:27-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":null,"created_at":"2015-03-02T11:45:54-05:00","deck_type_id":1,"id":307784,"is_public":null,"klass_id":3,"name":"Unnamed Mage","notes":null,"slot":null,"slug":"unnamed-mage--4629","unique_deck_id":null,"updated_at":"2015-03-09T21:43:57-05:00","user_id":151513,"user_num_losses":0,"user_num_matches":2,"user_num_wins":2,"user_winrate":100.0},{"active":false,"archived":true,"cardstring":"10_1,111_1,15_1,208_2,224_2,239_1,27_2,282_2,307_2,323_2,32_1,332_1,347_1,366_2,377_1,39_1,536_1,544_1,549_1,56_1,591_1,641_1,6_1","created_at":"2015-03-04T15:17:42-05:00","deck_type_id":1,"id":312879,"is_public":null,"klass_id":1,"name":"Custom Druid","notes":"","slot":null,"slug":"custom-druid--442","unique_deck_id":271924,"updated_at":"2015-05-01T14:38:58-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"202_1,204_1,234_1,245_1,247_1,253_1,257_2,297_2,333_2,339_1,349_1,535_2,536_1,537_1,538_2,539_1,53_2,543_1,549_1,560_2,657_1,73_1,78_1","created_at":"2015-03-04T15:31:58-05:00","deck_type_id":1,"id":312901,"is_public":false,"klass_id":2,"name":"Hunter v1.1","notes":"","slot":null,"slug":"hunter-v1-1","unique_deck_id":272038,"updated_at":"2015-03-04T15:49:50-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"202_1,204_1,234_1,247_1,253_1,257_2,297_2,333_2,339_1,349_1,524_1,535_2,536_1,537_1,538_2,539_1,53_2,543_1,549_1,560_2,657_1,73_1,78_1","created_at":"2015-03-04T15:51:21-05:00","deck_type_id":1,"id":312951,"is_public":null,"klass_id":2,"name":"Custom Hunter","notes":"","slot":null,"slug":"custom-hunter--440","unique_deck_id":272044,"updated_at":"2015-03-24T12:41:27-05:00","user_id":151513,"user_num_losses":5,"user_num_matches":7,"user_num_wins":2,"user_winrate":28.5714},{"active":false,"archived":true,"cardstring":"204_1,234_2,247_1,253_1,257_2,297_1,333_2,339_1,349_1,524_1,535_2,536_1,537_1,538_2,539_1,53_2,549_1,560_2,657_1,671_1,73_1,78_1,86_1","created_at":"2015-03-06T15:21:15-05:00","deck_type_id":1,"id":317017,"is_public":null,"klass_id":2,"name":"Neu Hunter","notes":"","slot":null,"slug":"neu-hunter","unique_deck_id":278484,"updated_at":"2015-03-24T12:34:00-05:00","user_id":151513,"user_num_losses":20,"user_num_matches":44,"user_num_wins":24,"user_winrate":54.5455},{"active":true,"archived":true,"cardstring":"100_2,132_1,214_2,259_2,277_1,279_1,286_1,302_1,311_1,321_2,334_1,34_1,359_2,535_1,549_2,558_2,576_1,63_1,64_2,661_2,84_1","created_at":"2015-03-06T15:43:26-05:00","deck_type_id":1,"id":317058,"is_public":null,"klass_id":8,"name":"Warlock","notes":"","slot":7,"slug":"warlock--591","unique_deck_id":278579,"updated_at":"2015-05-01T14:41:14-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"146_1,149_2,15_1,213_1,21_2,263_1,264_2,273_2,29_2,318_1,340_1,352_1,360_1,532_2,536_1,538_2,547_1,549_2,646_1,650_1,671_1,6_1","created_at":"2015-03-07T21:46:28-05:00","deck_type_id":1,"id":319792,"is_public":null,"klass_id":3,"name":"Secret Mage","notes":"","slot":null,"slug":"secret-mage--274","unique_deck_id":282956,"updated_at":"2015-03-24T12:41:27-05:00","user_id":151513,"user_num_losses":1,"user_num_matches":1,"user_num_wins":0,"user_winrate":0.0},{"active":false,"archived":true,"cardstring":"149_2,15_1,203_1,21_2,263_1,264_2,273_2,29_1,340_1,352_1,360_2,532_2,536_1,538_2,547_1,549_2,562_1,646_1,650_1,671_1,6_1,99_1","created_at":"2015-03-07T22:37:17-05:00","deck_type_id":1,"id":319860,"is_public":null,"klass_id":3,"name":"Secret Mage","notes":"","slot":null,"slug":"secret-mage--275","unique_deck_id":283045,"updated_at":"2015-03-24T12:41:27-05:00","user_id":151513,"user_num_losses":1,"user_num_matches":1,"user_num_wins":0,"user_winrate":0.0},{"active":false,"archived":true,"cardstring":"149_2,15_1,166_1,203_1,21_2,263_1,264_2,273_2,29_1,340_1,352_1,360_2,532_2,536_1,538_1,547_1,549_2,563_1,565_1,643_1,646_1,671_1,6_1","created_at":"2015-03-07T23:07:13-05:00","deck_type_id":1,"id":319896,"is_public":null,"klass_id":3,"name":"Secret Mage","notes":"","slot":null,"slug":"secret-mage--276","unique_deck_id":283093,"updated_at":"2015-03-24T12:41:27-05:00","user_id":151513,"user_num_losses":2,"user_num_matches":5,"user_num_wins":3,"user_winrate":60.0},{"active":false,"archived":true,"cardstring":"155_1,176_1,18_1,251_1,258_1,288_1,289_2,308_2,30_2,326_1,368_1,374_1,40_1,535_2,536_1,543_1,546_2,549_1,657_1,66_2,671_1,6_2,92_1","created_at":"2015-03-08T01:26:43-05:00","deck_type_id":1,"id":320031,"is_public":null,"klass_id":7,"name":"Custom Shaman","notes":"","slot":null,"slug":"custom-shaman--417","unique_deck_id":283340,"updated_at":"2015-03-08T01:30:21-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":false,"archived":true,"cardstring":"155_1,176_1,18_1,251_1,258_1,288_1,289_2,308_2,30_2,326_1,368_1,374_1,40_1,535_2,536_1,543_1,546_2,549_1,657_1,66_2,671_1,6_2,92_1","created_at":"2015-03-08T01:31:45-05:00","deck_type_id":1,"id":320035,"is_public":null,"klass_id":7,"name":"Shaman Boom","notes":"","slot":null,"slug":"shaman-boom","unique_deck_id":283347,"updated_at":"2015-03-24T12:41:28-05:00","user_id":151513,"user_num_losses":3,"user_num_matches":5,"user_num_wins":2,"user_winrate":40.0},{"active":false,"archived":true,"cardstring":"110_1,127_1,148_2,157_1,159_1,15_1,16_2,248_1,287_2,319_2,330_2,348_2,368_1,37_1,536_1,549_2,571_1,671_1,6_2,81_1,84_1,96_1","created_at":"2015-03-11T12:44:11-05:00","deck_type_id":1,"id":326707,"is_public":null,"klass_id":5,"name":"Custom Priest","notes":"","slot":null,"slug":"custom-priest--482","unique_deck_id":298733,"updated_at":"2015-03-11T12:44:11-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null},{"active":true,"archived":true,"cardstring":"110_1,127_1,148_2,157_1,159_1,15_1,16_2,248_1,287_2,319_2,330_2,348_2,368_1,37_1,536_1,549_2,571_1,671_1,6_2,81_1,84_1,96_1","created_at":"2015-03-11T12:45:36-05:00","deck_type_id":1,"id":326710,"is_public":null,"klass_id":5,"name":"FaceiessBoomPriest","notes":"","slot":1,"slug":"faceiessboompriest","unique_deck_id":298737,"updated_at":"2015-05-01T14:41:07-05:00","user_id":151513,"user_num_losses":5,"user_num_matches":10,"user_num_wins":5,"user_winrate":50.0},{"active":false,"archived":true,"cardstring":"127_1,155_1,18_1,204_1,258_1,289_2,308_2,30_1,368_1,374_1,40_2,44_1,535_2,536_1,543_1,546_2,549_1,58_2,657_1,66_2,671_1,6_1,73_1","created_at":"2015-03-12T10:41:57-05:00","deck_type_id":1,"id":328562,"is_public":null,"klass_id":7,"name":"Shaman B0Om2","notes":"","slot":null,"slug":"shaman-b0om2","unique_deck_id":301670,"updated_at":"2015-03-24T12:41:28-05:00","user_id":151513,"user_num_losses":2,"user_num_matches":4,"user_num_wins":2,"user_winrate":50.0},{"active":true,"archived":true,"cardstring":"127_1,155_1,18_1,204_1,211_1,258_1,289_2,308_2,30_1,368_1,374_1,40_2,535_2,536_1,543_1,546_2,549_1,58_2,657_1,66_2,671_1,6_1,73_1","created_at":"2015-03-12T11:48:17-05:00","deck_type_id":1,"id":328681,"is_public":null,"klass_id":7,"name":"Shaman BoOm3","notes":"","slot":9,"slug":"shaman-boom3","unique_deck_id":301844,"updated_at":"2015-05-01T14:41:16-05:00","user_id":151513,"user_num_losses":0,"user_num_matches":1,"user_num_wins":1,"user_winrate":100.0},{"active":true,"archived":true,"cardstring":"149_2,15_1,166_1,21_2,263_1,264_2,273_2,29_1,340_1,352_1,360_2,368_1,532_2,536_1,538_1,547_1,549_2,563_1,565_1,643_1,646_1,671_1,6_1","created_at":"2015-03-22T17:21:22-05:00","deck_type_id":1,"id":351869,"is_public":null,"klass_id":3,"name":"secretFacelessMage","notes":"","slot":2,"slug":"secretfacelessmage","unique_deck_id":339256,"updated_at":"2015-05-01T14:41:08-05:00","user_id":151513,"user_num_losses":0,"user_num_matches":2,"user_num_wins":2,"user_winrate":100.0},{"active":true,"archived":true,"cardstring":"204_1,234_2,247_1,253_1,257_2,297_1,333_2,339_1,349_1,368_1,524_1,535_2,536_1,538_2,539_1,53_2,549_1,560_2,657_1,671_1,73_1,78_1,86_1","created_at":"2015-03-24T12:41:06-05:00","deck_type_id":1,"id":355461,"is_public":null,"klass_id":2,"name":"Neu Hunter","notes":"","slot":5,"slug":"neu-hunter--2","unique_deck_id":344824,"updated_at":"2015-05-01T14:41:10-05:00","user_id":151513,"user_num_losses":7,"user_num_matches":20,"user_num_wins":13,"user_winrate":65.0},{"active":true,"archived":false,"cardstring":"118_2,127_2,184_1,20_2,285_1,309_1,338_2,369_1,3_2,51_1,536_1,549_2,561_1,619_2,620_1,671_1,75_1,76_2,915_1,923_1,935_2","created_at":"2015-05-01T14:37:55-05:00","deck_type_id":1,"id":448111,"is_public":null,"klass_id":4,"name":"Holy Dragodin","notes":null,"slot":3,"slug":"holy-dragodin","unique_deck_id":437812,"updated_at":"2015-05-01T14:59:05-05:00","user_id":151513,"user_num_losses":1,"user_num_matches":2,"user_num_wins":1,"user_winrate":50.0},{"active":false,"archived":false,"cardstring":"204_1,234_2,247_1,253_1,257_2,333_2,339_1,349_1,368_1,524_1,535_2,536_1,538_2,539_1,53_2,549_1,560_2,657_1,671_1,73_1,78_1,86_2","created_at":"2015-05-01T14:40:46-05:00","deck_type_id":1,"id":448115,"is_public":null,"klass_id":2,"name":"Neu Hunter","notes":null,"slot":null,"slug":"neu-hunter--3","unique_deck_id":437816,"updated_at":"2015-05-01T14:40:46-05:00","user_id":151513,"user_num_losses":null,"user_num_matches":null,"user_num_wins":null,"user_winrate":null}]}
17:38:38.684 [    main] INFO     n.h.hstatsapi.API - API get result = {"status":"error","message":"User not is not premium"}
17:38:38.715 [    main] WARN     n.h.hstatsapi.API - You are not a premium user
java.lang.Exception: API error : User not is not premium
at net.hearthstats.hstatsapi.API.net$hearthstats$hstatsapi$API$$_parseResult(API.scala:127) [hearthstats.exe:na]
at net.hearthstats.hstatsapi.API$$anonfun$get$1.apply(API.scala:70) ~[hearthstats.exe:na]
at net.hearthstats.hstatsapi.API$$anonfun$get$1.apply(API.scala:69) ~[hearthstats.exe:na]
at scala.util.Success.flatMap(Try.scala:230) ~[hearthstats.exe:na]
at net.hearthstats.hstatsapi.API.get(API.scala:69) [hearthstats.exe:na]
at net.hearthstats.hstatsapi.API.premiumUserId$lzycompute(API.scala:26) [hearthstats.exe:na]
at net.hearthstats.hstatsapi.API.premiumUserId(API.scala:26) [hearthstats.exe:na]
at net.hearthstats.modules.ReplayHandler.(ReplayHandler.scala:23) [hearthstats.exe:na]
at net.hearthstats.Main.(Main.scala:79) [hearthstats.exe:na]
at net.hearthstats.win.HearthStatsWin$.delayedEndpoint$net$hearthstats$win$HearthStatsWin$1(HearthStatsWin.scala:20) [hearthstats.exe:na]
at net.hearthstats.win.HearthStatsWin$delayedInit$body.apply(HearthStatsWin.scala:15) [hearthstats.exe:na]
at scala.Function0$class.apply$mcV$sp(Function0.scala:40) [hearthstats.exe:na]
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) [hearthstats.exe:na]
at scala.App$$anonfun$main$1.apply(App.scala:76) [hearthstats.exe:na]
at scala.App$$anonfun$main$1.apply(App.scala:76) [hearthstats.exe:na]
at scala.collection.immutable.List.foreach(List.scala:381) [hearthstats.exe:na]
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35) [hearthstats.exe:na]
at scala.App$class.main(App.scala:76) [hearthstats.exe:na]
at net.hearthstats.win.HearthStatsWin$.main(HearthStatsWin.scala:15) [hearthstats.exe:na]
at net.hearthstats.win.HearthStatsWin.main(HearthStatsWin.scala) [hearthstats.exe:na]
17:38:38.719 [    main] WARN        n.h.ui.log.Log -  [17:38:38]  You don't have premium subscription, videos won't be uploaded to hearthstats.net
17:38:38.720 [    main] INFO  .FileUploaderFactory - Dummy instantiation for interface net.hearthstats.modules.upload.FileUploader :class net.hearthstats.modules.upload.DummyFileUploader
17:38:39.073 [    main] INFO      n.h.c.UserConfig - Setting config landingFrame.closed to false


Python: cannot load model from v1.5.2 with newer versions

I have a model created and saved with Python package v1.5.2 at PowerPC. Now I can load the model with the same version of the package at all platforms I tried (ppc, x86_64, arm, macOS and Linux), but cannot do it with any newer version. Resaving the model on a different platform doesn't help.
Code to reproduce
import xgboost

model = xgboost.XGBClassifier()
model.load_model("xgb.ubj")

Data
xgb.ubj: https://drive.google.com/file/d/1KaFC-AFBluTO1CJLD1XAFZEQrUnRpkAx/view?usp=share_link
Error
1.6.2 and 1.7.3 give the same message:
c_api/c_api.cc:1073: Check failed: str[0] == '{' (b vs. {)

Traceback

Expand
```
File .../python3.10/site-packages/xgboost/sklearn.py:777, in XGBModel.load_model(self, fname)
    775 if not hasattr(self, "_Booster"):
    776     self._Booster = Booster({"n_jobs": self.n_jobs})
--> 777 self.get_booster().load_model(fname)
    778 meta_str = self.get_booster().attr("scikit_learn")
    779 if meta_str is None:
    780     # FIXME(jiaming): This doesn't have to be a problem as most of the needed
    781     # information like num_class and objective is in Learner class.
File .../python3.10/site-packages/xgboost/core.py:2441, in Booster.load_model(self, fname)
2437 if isinstance(fname, (str, os.PathLike)):
2438     # assume file name, cannot use os.path.exist to check, file can be
2439     # from URL.
2440     fname = os.fspath(os.path.expanduser(fname))
-> 2441     _check_call(_LIB.XGBoosterLoadModel(
2442         self.handle, c_str(fname)))
2443 elif isinstance(fname, bytearray):
2444     buf = fname
File .../python3.10/site-packages/xgboost/core.py:279, in _check_call(ret)
268 """Check the return value of C API call
269
270 This function will raise exception when error occurs.
(...)
276     return value from API calls
277 """
278 if ret != 0:
--> 279     raise XGBoostError(py_str(_LIB.XGBGetLastError()))
XGBoostError: [09:34:14] .../build/temp.macosx-11.0-arm64-cpython-38/xgboost/src/c_api/c_api.cc:1073: Check failed: str[0] == '{' (b vs. {) :
Stack trace:
[bt] (0) 1   libxgboost.dylib                    0x000000015e876534 dmlc::LogMessageFatal::~LogMessageFatal() + 124
[bt] (1) 2   libxgboost.dylib                    0x000000015e894c6c XGBoosterLoadModel::$_1::operator()() const + 620
[bt] (2) 3   libxgboost.dylib                    0x000000015e894668 XGBoosterLoadModel + 640
[bt] (3) 4   libffi.dylib                        0x00000001a4af6050 ffi_call_SYSV + 80
[bt] (4) 5   libffi.dylib                        0x00000001a4afeaf4 ffi_call_int + 1208
[bt] (5) 6   _ctypes.cpython-310-darwin.so       0x0000000104a4d044 _ctypes_callproc + 868
[bt] (6) 7   _ctypes.cpython-310-darwin.so       0x0000000104a47974 PyCFuncPtr_call + 212
[bt] (7) 8   Python                              0x0000000102845238 _PyObject_MakeTpCall + 136
[bt] (8) 9   Python                              0x000000010293ed8c call_function + 272
</details>

@hombit XGBoost did not start supporting UBJSON format until version 1.6.0. (See the release note for v1.6.0.). So your xgb.ubj file is actually a JSON file, not UBJSON.
When training a new model using v1.5.2, please use the JSON format (by using the .json file extension).

@hcho3 renaming the file didn't help, I still have the same error loading the file

@hombit Is it possible to re-train your model, and then save it using the JSON format?

@hcho3 I can, it will take some time. But how can I save it ot the different format in v1.5 if it wasn't even supported?

@hombit JSON was supported staring v1.5 already.
Can you try renaming xgb.ubj to xgb.model?

@hombit JSON was supported staring v1.5 already.
Can you try renaming xgb.ubj to xgb.model? My guess is that your model file might have been using the old binary format.

This works, thank you!

No problem. Next time, you shouldn't use .ubj extension  when you're saving models from XGBoost 1.5


Remove keys and values of hidden fields from model?

Question
If a field that has been changed is hidden (e.g. with hideExpression) then its key and value is still present in the model. Is there any easy way of removing these hidden keys from the model?
We have a lot of conditional sections in our GUI and we would want to prevent hidden sections from being submitted.

Enable resetFieldOnHide options which was introduced since v5.10.0 release.
    FormlyModule.forRoot({
+      extras: {
+        resetFieldOnHide: true,
+      },
    }),

Enable resetFieldOnHide options which was introduced since v5.10.0 release.
    FormlyModule.forRoot({
+      extras: {
+        resetFieldOnHide: true,
+      },
    }),


Need a better way to extract the contents of one-row tables

After t.sum() or some other reduction to a single row, it's messy to access the contents of the result using t.rows[0]....

how about the property t.row0? It's only slightly cleaner, but requires less of the shift while typing associated with []'s.
@property
def row0(self):
    return self.rows[0]

Nice idea. How about
@property
def row(self):
    assert self.num_rows == 1, 'Table has more than one row'
    return self.rows[0]

On Tue, Oct 6, 2015 at 10:36 PM, Dibyo Majumdar<EMAIL_ADDRESS>wrote:

how about the property t.row0? It's only slightly cleaner, but requires
less of the shift while typing associated with []'s.
@propertydef row0(self):
return self.rows[0]
—
Reply to this email directly or view it on GitHub
https://github.com/dsten/datascience/issues/93#issuecomment-146081526.

That makes sense.

Closing this following resolution on #115.


Typora

Typora has been removed by #137425 with the message "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed.". @SuperSandro2000 can we have a bit more details/motivation about why it has been removed? What do you mean by "anti-user encryption"? Why does it refuses to start? I don't see any issue discussing that.

Why does it refuses to start?

Because they encrypt the node.asar file and put an anti tamper protection into it. If you can circumvent it feel free to re-add it.

Note that typora 1.0 is released and it now need to buy a license to use.

Closing since it seems like the question was answered and this doesn't seem to be actionable, but I'm happy to reopen if I'm mistaken.


SIL: Canonicalize subscript element type with respect to generic signature when lowering accessor type

Fixes rdar://problem/44762116.

Binary file p added?

@Azoy Oops, my bad :)

@swift-ci Please smoke test


video.py read_video_timestamps calculate pts without storing full frames

To calculate the PTS the function is storing the full frame objects on memory. This makes it crash for longer videos as it can't fill everything. PTS can be calculated directly.
With this fix we don't call _read_from_stream. That's ok as most of the code deals with seeking which is not needed in this case, but video decoding is surrounded by a try/except that we're not doing here. I'm not sure if a try/except av.AVError should be added too as it's not done in the demux either. Also, do we really want to mute this exception?

It makes sense. I don't have any problem in adding a check for  AVError but then shouldn't we add one too when _can_read_timestamps_from_packets is True? Or _can_read_timestamps_from_packets ensures demux won't crash.

Thanks a lot!


⚠ Bofrost.de has degraded performance

In ae6e5dc, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Bofrost.de performance has improved in 9173e59 after 6 minutes.


http url for repository instead of git

git@github returns permission denied for users

You may need to fix your configuration.
https://help.github.com/articles/error-permission-denied-publickey/


How to get all host information from Pox controller

Hallo,
Im using pox events system to discover the topology and was able so far to detect most of the network.
I still need to know the ID and port of Hosts that connected to the network, what event or module could help me?
I tried host tracker but I get only switch port and mac/IP of the host

The HostEvents of host_tracker have a .new_dpid property.  Isn't that what you want?

Hi,
after thinking, I found myself not interested to know the host port.
but for sake of discussion, is .new_dpid is the new switch for the moving host?

I think it should be...

Seems like this issue can be closed.


test: repair SILOptimizer AutoDiff test on Windows

The module name is not specified but the test explicitly overfits to an
expected name.  Adjust the test invocation to accommodate the
expectation.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @dan-zheng

Build failed
Swift Test Linux Platform
Git Sha - 518ce5c25d9e2334b84d3df77bc4330c8cb84783

Build failed
Swift Test OS X Platform
Git Sha - 518ce5c25d9e2334b84d3df77bc4330c8cb84783

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 518ce5c25d9e2334b84d3df77bc4330c8cb84783

@swift-ci please test


Hovering on clickables must have cursor - pointer

Description
The problem is occures on the right side profile hoverings.
Steps to reproduce
Add the css property - cursor: pointer;
Screenshots
for this section -

Desktop (please complete the following information)
https://github.com/narayan954/dummygram/assets/114663382/3056ca5a-f5f4-43ad-acc4-616a320c0ec6
Smartphone (please complete the following information)
Not in smartphone
Additional information
checkout at https://narayan954.github.io/dummygram/ by hovering right side profiles
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I am a participant of a program
[X] I want to work on this issue

Optional information
codepeak

Description
The problem is occures on the right side profile hoverings.
Steps to reproduce
Add the css property - cursor: pointer;
Screenshots
for this section -

Desktop (please complete the following information)
DummyGram.Mozilla.Firefox.2023-12-22.20-24-52.mp4
Smartphone (please complete the following information)
Not in smartphone
Additional information
checkout at https://narayan954.github.io/dummygram/ by hovering right side profiles
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I am a participant of a program
[x]  I want to work on this issue

Optional information
codepeak

you can go ahead! :)


Getting a NullReferenceException in Exchange.cs

Getting a NullReferenceException at Exchange.cs line 188: "await GetAllTradingPairsWrapper();"
I've tried not using the exchange it complains about, but it happens for every one of them.
Call Stack:

[External Code]
CrypConnect.dll!CrypConnect.Exchange.Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) Line 188
[Resuming Async Method]
[External Code]
CrypConnect.dll!CrypConnect.Exchange.GetAllTradingPairsWrapper(bool preventRetryOnFail) Line 181
[Resuming Async Method]
[External Code]

Thanks, my run didn't do well last night either.  We'll work on logging and error handling/retry today.

Does this still repro? Anything in the logs?

No, works fine now. Thanks!

Hmm. I think this may be the coin exists in dictionary issue. Need to read up as this may have other implications..

I'll close this for now. Thanks!


Several improvements, if ya'll are interested

Removing Mandrill and SendGrid, as they weren't implemented and didn't look like they would be.
Adding ability to send email body as one of the fax attachments.
Adding security features: Whitelisting recipients/senders, regex to ensure body is safe, ensuring signature of Mailgun is correct.
Adding Environment variables: MAILGUN_KEY. RECIPIENT_WHITELIST_FILE, SENDER_WHITELIST_FILE, BODY_REGEX.

I have done goofed. I forgot this pull request existed, and I have been recently working on this branch for some work-project related functionality.
Please, allow me to close this pull request and resubmitted it on a more appropriately named branch, without some of the work-related specifics.


Library Suggestion: kdbv

Located at;
https://github.com/GaneshKandu/kdbv
mysql database auto schema migration tool

Can you please open a pull request for this, thanks.

#896


Show-SqlWhoIsActive sqltext without XML formatting tags

Is this a feature OR bug: feature
When showing "sqltext" column it could have SQL code without  elements. They are helpful in SSMS, but maybe not that much in Show-SqlWhoIsActive? An option maybe?

easily solvable via Invoke-DbaWhoIsActive -SqlInstance foo -FormatOutput 0 | Out-GridView


Need native support for Bluetooth/BLE communication with external devices

It would be great if you can provide native support for Bluetooth/BLE communication within the Ensemble framework. The app I am developing has to get data from an external BLE device in real-time

@reubensjohn do you need BLE or Bluetooth? the two are quite different

both BLE and Bluetooth are needed. Assigning to @snehmehta

@snehmehta please add kitchen sink example, documentation and schema for this.

what's the yaml for it?


Add per_page to query string passed with pagination links

This was an oversight when adding the page size selector (my fault) - the parameter needs to be passed with the pagination links in order to preserve the number of results per page as you pass through pages!

Codecov Report

Merging #383 (da8a94b) into main (e824260) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #383   +/-   ##
=======================================
  Coverage   75.00%   75.00%
=======================================
  Files          12       12
  Lines         544      544
  Branches       53       53
=======================================
  Hits          408      408
  Misses        125      125
  Partials       11       11

Impacted Files
Coverage Δ

judgments/views.py
51.28% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support for JAR files

Is it possible to use bin-wrapper with JAR files? If yes, it would be nice to add it to the docs.

It should work with anything executable. No idea specifically about JAR files though.


Do not execute chmod on private key in Node.init

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1d85e28). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #1382   +/-   ##
=========================================
  Coverage          ?   99.83%
=========================================
  Files             ?       38
  Lines             ?     2388
  Branches          ?      110
=========================================
  Hits              ?     2384
  Misses            ?        3
  Partials          ?        1

Impacted Files
Coverage Δ

src/dcos_e2e/node.py
100% <ø> (ø)

src/dcos_e2e/backends/_aws/__init__.py
100% <100%> (ø)

src/dcos_e2e/backends/_docker/__init__.py
100% <100%> (ø)

tests/test_dcos_e2e/backends/aws/test_aws.py
100% <100%> (ø)

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 1d85e28...e5e8b6b. Read the comment docs.


PII still leaked thru rolebans

needs fixing

Side note i was not able to repro this on my local codebase, however it still exsited on the Wizden site

This was fixed by e5030a44d8d27010b828cb3dcf3901086ddad140 but I forgot to deploy


Filter policy for JSON formatter

Closes #85.

Current coverage is 82.21%

Merging #90 into master will increase coverage by +0.19% as of b16df6b

@@            master     #90   diff @@
======================================
  Files           55      55
  Stmts         1107    1119    +12
  Branches         0       0
  Methods        129           +129
======================================
+ Hit            908     920    +12
  Partial          0       0
  Missed         199     199

Review entire Coverage Diff as of b16df6b

Uncovered Suggestions

+0.63% via ...detail/sink/file.hpp#32...38
+0.63% via src/registry.cpp#70...76
+0.54% via src/wrapper.cpp#19...24
See 7 more...

Powered by Codecov. Updated on successful CI builds.


SAP Link not available

[Enter feedback here]
Hi there,
Pilot Phase (Optional) section #2, Platform combinations as documented, for example, in Database Migration Option (DMO) of SUM 2.0 SP04.   --> Link to SAP Note https://launchpad.support.sap.com/#/notes/2644872 is broken link.
Amit Lal

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

ID: e1d03d98-260b-ac9a-ee54-f702562dcf08
Version Independent ID: 73aacf2e-44c7-b84c-cc3e-269e9cf2a999
Content: SAP workload planning and deployment checklist
Content Source: articles/virtual-machines/workloads/sap/sap-deployment-checklist.md
Service: virtual-machines-linux
GitHub Login: @msjuergent
Microsoft Alias: juergent

Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers. It looks like this issue has been addressed, so I am closing this. Thanks!


Add railway button and template

Idea taken from nostream project.
Provide a Railway.app button with a template to allow one click deploy to Railway experience.

Implemented in https://github.com/piraces/rsslay/commit/61449fcb968c09b953994fa8b2ae16f77f6caa14 and https://github.com/piraces/rsslay/commit/6ed9f197e94a1b611fc4c7f948ecc4af21936141


Message Format Specification

It seems to be a common feature amongst Discord-Minecraft bridges to allow configuration of formats in Minecraft. This is nice to have. I might consider something like velocity combined with mini message for this, although such an implementation might be overkill.

I now am thinking an implementation using JTE would be preferable. JTE is supposed to be much faster, and it seems to have some inherent support for Kotlin.


Some links not detected

http://php.net/manual/en/function.mail.php

Can you please take a look at this again?
If the markdown contains an url (without wrapped tags or something) it renders it incorrect (I see </a after the link)

Ok, I'll take another look.


Mod management

Internal mod management utility widget which would display information about currently installed mods and would allow users to manage them directly from UI, ideally with an option to reload just specific mods + being reactive to them being disabled/enabled.

Also along with this add reload for single mod at a time!


Wireless charging not working

Describe the bug
A clear and concise description of what the bug is and Flux Networks version.
(You have to make sure it's a bug on Flux Networks side)
I  try to use wireless charging in the modpack ragnamod VI, worked momentarily  but after a few seconds it stopped and after that i failed to get it to work.
To Reproduce
Steps to reproduce the behavior. (Must be detailed)
Set up power source, create network, place down controller, enable wireless charging and select all places (inventory, hotbar, offhand, mainhand, and curio) inventory is disabled, since i am on the newest version in 1.16.5. Get mining gadget, place in hotbar
Expected behavior
A clear and concise description of what you expected to happen.
for the mining gadget to fill up with power
Screenshots
If applicable, add screenshots to help explain your problem.

Same exact thing is happening on my vault hunters smp, if i craft a brand new mining gadget, it will fill up the initial inventory, as well as if i add battery upgrades before use. but after the initial charge, it wont accept wireless charge of any kind unless another item in my invent is accepting charge


AstroLayout

Upon trying to build AstroLayout I get about 84 build errors. A lot of missing assembly references.
Class
UILayoutGuide
Methods:
SetIdentifier which should be attached to NSLayoutConstraint.
Properties:
HeightAnchor on UIImageView
CenterXAnchor on UIImageView
WidthAnchor on UIImageView
What am I missing?

I guess it's because I don't have xcode 7?

Yes, Xcode 7 is a requirement (see the README). See more about how best to use iOS 9 with Xamarin on http://developer.xamarin.com/guides/ios/platform_features/introduction_to_ios9/


Unused Unknown Risk appears in Overview

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue
See related closed issue https://github.com/corona-warn-app/cwa-app-android/issues/1830#issue-759345191 which shows that the behavior was changed in CWA Android 1.8.

Technical details

Device name: Samsung Galaxy A5 (2017) SM-A520F
Android version: 8.0.0
App version: 1.10.1

Describe the bug
The app overview shows the status "Unknown Risk" however this status is unused starting with version 1.8.
Steps to reproduce the issue

If CWA already installed, then uninstall
Install CWA
Disable Wi-Fi and mobile data
Open CWA
Tap "LET'S GET STARTED", "NEXT"
Tap "ACTIVATE EXPOSURE LOGGING" / Turn on
Tap "NEXT", "NEXT" / OK

Note that the risk card shows "Low Risk" (not "Unknown Risk").

Tap three-dot overflow menu in CWA, and "Overview"
Scroll down to section 2 with heading "Risk of Infection" and the table with title "The following risk status can be shown:"

Note that the table includes the status "Unknown Risk" with grey color.

Expected behaviour
The overview should not include the unused risk status "Unknown Risk".
Possible Fix
Align Overview with possible app status.

"Unknown Risk" should be removed.

Additional context
The status "Unknown Risk" was removed with PR "Refactor riskcard & states; Chapter1 (EXPOSUREAPP-4049, EXPOSUREAPP-3834)" https://github.com/corona-warn-app/cwa-app-android/pull/1751 which was merged into branch release/1.8.x.

Uh, yeah you are right @dsarkar. Under iOS the overview does not even show the "Unknown Risk" state in the overview. Sorry for the confusion 😅😕

Uh, yeah you are right @dsarkar. Under iOS the overview does not even show the "Unknown Risk" state in the overview. Sorry for the confusion 😅😕


[BugFix] fix bug in runtime filter plan

What type of PR is this：

[X] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
tpcds-1g query64 often timeout.
Problem Summary(Required) ：

The  root cause is because when we operator map<int, list> id_to_probe_params

we calls id_to_probe_params.put(filter_id, values)
but actually there are a lot of prober of a filter id, so we replace with new value(but we should gather them)
the right way is id_to_probe_params.addAll(filter_id, values)

And I also make a proposal, that to put runtime filter at every exchange node. The reason is explained in comment
        // but in some complex query case, fragment delivery time will be much longer than expected.
        // since building runtime filter is very fast, we possibly will see a case that:
        // we are going to deliver global runtime filter to some nodes(fragment instances), but those
        // fragment instances are not ready yet, then global runtime filter does not apply at all.
        // the safest way to handle this case, is to put global runtime filter at the
        // boundary of fragment instance(exchange node).

The other fixes are just adding more log message to diagnose.

tpcds-1g query64 can be done in 30 seconds (1FE + 1BE)

enable_pipeline_engine=true
parallel_fragment_exec_instance_num=1
dop=8

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 6 / 7 (85.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
2
3
66.67%
[1077]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
2
2
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 13 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/Coordinator.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
2
2
100.00%
[]

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 13 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/Coordinator.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
2
2
100.00%
[]

run starrocks_be_unittest

run starrocks_be_unittest


Implement detail command

Work for this issue will begin begin on branch work-liquid-labs/cloudsite/52.


[Sema] Don't unwrap CoerceExpr from literal coercion

When converting an initialization to a coercion like:
_ = Float(90)

the outer coercion is given the startLoc and endLoc of the CallExpr in
source.
However, once we unwrap it and pull the implicit CallExpr to
init(_builtinIntegerLiteral:), we lose the original source range.
Instead, leave the outer CoerceExpr, as it's ignored in SILGen anyway.

@swift-ci please smoke test and merge

Yeah, we don't generally get to drop any part of the AST, because later passes may be using it for diagnostics.

(and now printing)


Custom fontFamily doesn't work in Expo

Hi guys,
im using Expo 39 and custom font not works with fontFamily, any plan of support?
Thanks !!!

Having the same issue,
I'm currently using a custom font via @expo-google-fonts/ibm-plex-sans and for some reason it's not being applied to the SegmentedControlTab. I'm running version ^2.2.1.
Reproduce by adding a font through @expo-google-fonts and apply it to the fontStyle object.

Same issue as well. Using a custom imported font file, works fine everywhere else

Same issue as well. Using a custom imported font file, works fine everywhere else

same here

same here

I can reproduce this on iOS but Android seems to apply font family correctly. My guess is because Android is a pure JS implementation, and in iOS it will only support fonts that are natively supported on iOS

Still an issue as of ^2.5.4


Lambda handlers should be upgraded to Node.js 18

Version
v5.2.3
Steps and/or minimal code example to reproduce

Use bitmap widgets or secrets monitoring

Expected behavior
Have Lambda functions deployed that aren't using an EOL version of Node.js.
Actual behavior
Functions are using Node.js 14.
Other details
Relevant functions:

https://github.com/cdklabs/cdk-monitoring-constructs/blob/81f0c6ba0211bca586c9b994ec7aa037b2cd6e3c/lib/dashboard/widget/BitmapWidget.ts#L37
https://github.com/cdklabs/cdk-monitoring-constructs/blob/81f0c6ba0211bca586c9b994ec7aa037b2cd6e3c/lib/monitoring/aws-secretsmanager/SecretsManagerMetricsPublisher.ts#L37

The actual handlers need to be updated to use aws-sdk v3 and/or bundled code.

We are ending support for Node.js 14 in AWS Lambda. This follows Node.js 14 End-Of-Life (EOL) reached on April 30, 2023 [1].
As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in two stages. Starting November 27, 2023, Lambda will no longer apply security patches and other updates to the Node.js 14 runtime used by Lambda functions, and functions using Node.js 14 will no longer be eligible for technical support. In addition, you will no longer be able to create new Lambda functions using the Node.js 14 runtime. Starting January 25, 2024, you will no longer be able to update existing functions using the Node.js 14 runtime.
We recommend that you upgrade your existing Node.js 14 functions to Node.js 18 before November 27, 2023.
End of support does not impact function execution. Your functions will continue to run. However, they will be running on an unsupported runtime which is no longer maintained or patched by the AWS Lambda team.


Row/column major ordering

See also: https://en.wikipedia.org/wiki/Row-major_order
It is sometimes useful to apply an operation in "Fortran mode"
(=column-major, everted)
Have a look at this example from NumPy:
>>> a = np.arange(6).reshape((3, 2))
>>> a.reshape(2,3, order='F')
array([[0, 4, 3],
       [2, 1, 5]])

You can think of this as "look at the array in column mode" -
apply the operation and "write in back in column mode".
So in Python one can actually "simulate" it with the following
>>> a.T.reshape(3,2).T
>>> array([[0, 4, 3],
       [2, 1, 5]])

If one tries the example with ndslice we get
b.everted.reshape(2, 3).everted.writeln;
/// [[0, 1], [2, 3], [4, 5]]

which makes a bit of sense, because everted just reverts the order of iteration.
It is possible to do the same as above correctly with byElement and array.
However it feels wrong to have to copy the array.
b.everted.byElement.array.sliced(3,2).everted.writeln;
// [[0, 4, 3], [2, 1, 5]]

See also #9

Hmm I like your idea of overloading opCall, but it works only for element access.
What do you think about something like the following?
(the last two are proposed)
It should basically work similar to opIndex then ;-)
auto s = iota(4).sliced(2,2);
s[].writeln; // [[0, 1], [2, 3]]
s().writeln; // [0, 2], [1, 3]]
s(1).writeln; // [[0,2]]

Hmm I like your idea of overloading opCall, but it works only for element access.

Yes, first we need a good DIP for opCall to be like opIndex. See http://wiki.dlang.org/DIPs

It should basically work similar to opIndex then ;-)

Behavior with .writeln looks bad to me. opCall should only select sub-dimensions without any transpostion.

Yes, first we need a good DIP for opCall to be like opIndex. See http://wiki.dlang.org/DIPs

I guess one could use iota instead of .., apart from that variadic arguments should be supported ;-)

Behavior with .writeln looks bad to me. opCall should only select sub-dimensions without any transpostion.

What would you suggest s(1) should return then?

I guess one could use iota instead of .., apart from that variadic arguments should be supported ;-)

Anyway $ is not defined for opCall

What would you suggest s(1) should return then?

s().writeln; // [[0, 1], [2, 3]] instead of [[0, 2], [1, 3]]
s(1).writeln; // [0, 2] instead of [[0,2]]

Anyway $ is not defined for opCall

You could also overload with tuples and replace the $ with -1
s = iota(9).sliced(3, 3);
// 0 1 2
// 3 4 5
// 6 7 8

// 0 3 6
// 1 4 7
// 2 5 8
s(tuple(1,2), tuple(1, 2)); // [[4,7], [5,8]]
s( tuple(1,-1), tuple(1, -1)); // same

Oh sry - made the brackets for s(1) by mistake.
For s() I am not sure yet, but by looking at  the examples with everted above, I notice two things
b.everted.reshape(2, 3).everted
b().reshape(2, 3)(); // similar, but definitely harder to read

the opCall syntax is quite hard to distinguish/read and to understand whats going on. Why not add a simple method, e.g. b.F(2, 3) (probably better naming required though)

The main point of this issue was that in the examples the math index order is not stored, leading that b.everted.reshape(2, 3).everted evaluates differently than maybe expected and one needs to make a copy of the array..

You could also overload with tuples and replace the $ with -1

-1 would significantly reduce performance.

-1 would significantly reduce performance.

and if i think about it one couldn't do stuff like (2, $-3)

duplicate of #10


Update tankix to include 'zap delete' stanza

Accidentally pushed that last commit to the wrong branch.

Accidentally pushed that last commit to the wrong branch.

Fixed.


ENH: Update to 0.15

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


x/arch/x86/x86asm: missing instructions: FLDZ, FLDLN2

package main

import "golang.org/x/arch/x86/x86asm"

func main() {
	text := []byte{0xd9, 0xee} // fldz
	_, err := x86asm.Decode(text[:], 64)
	if err != nil {
		panic(err)
	}
}

I found two missing instructions (they're also missing in x86.csv, which suggests that x86.csv is not complete):
0xd9 0xed: FLDLN2
0xd9 0xee: FLDZ
There are also some missing AVX instructions: e.g.
c4 c1 f3 2a cc          vcvtsi2sd %r12,%xmm1,%xmm1
/cc @rsc

This is blocked by lack of access to the x86spec program that generated x86.csv.
Fixing this issue is easy, but I want to also fix x86spec program to make sure there aren't other missed instructions.
/cc @rsc

Thanks @minux for raising this issue.
I would also be very happy if support for these instructions were added to arch/x86. Back in 2015, I tried to submit a pull request to add these instructions https://github.com/rsc/x86/pull/1
I'd also be very interested in the x86spec program which converts the Intel 64 and IA-32 Architectures Software Development Manual's PDF to x86.csv.
@rsc, did you ever make the source code of this program public?

This is blocked by lack of access to the x86spec program that generated x86.csv.

@minux With rev c6bf5516fa253c1078ee47d10efbd6d4e2803568 the source code of the x86spec tool has now been added to the repo.

I believe @Quasilyte is working on generating x86.csv from Intel's description tables as open sourced as part of xed, which will replace the x86spec pdf reader.

Ah, glad to hear! Thanks!

I can confirm that XED-based x86.csv contains such instructions:
$ grep FLDZ x86xed.csv
"FLDZ","FLDZ","fldz","D9 EE","V","V","","","","",""
$ grep FLDLN x86xed.csv
"FLDLN2","FLDLN2","fldln2","D9 ED","V","V","","","","",""

$ grep FLDLN x86.csv
$ grep FLDZ x86.csv

It's a quite long way to fixing x86.csv-based tools though.
But at least XED files reader|CL88015 and new x86.csv generator (CL not mailed yet) are on their way.

@Quasilyte That's great to hear! Thanks.

I tried again today at rev b19384d3c130858bb31a343ea8fce26be71b5998 of x/arch, and I get the error unrecognized instruction for fldz instructions.
@Quasilyte I understood from your comment that fldz should be supported by XED, and with https://golang.org/cl/104496 the tables should be generated based on XED. Is there some step missing to resolve this issue?
Cheers,
Robin

@mewmew, there were some unresolved format and implementation related questions that made XED-based csv generation abandoned.

Ok, good to know. I submitted https://go-review.googlesource.com/c/arch/+/149438/ which at least fixes this issue by adding FLZ and FLDLN2 to x86.csv. Is it x86.csv that is the most up-to-date config, or would that be x86.v0.2.csv?

@mewmew I believe you should use x86.v0.2.csv.
I'm not sure editing auto-generated file is a good idea though
and it doesn't solve the problem with other missing instructions in the x86.csv.
This discussion can be continued in a CL itself.

But at least XED files reader|CL88015 and new x86.csv generator (CL not mailed yet)

@quasilyte - please could you clarify - did you get around to mailing a new x86.csv generator?

It was mailed (https://go-review.googlesource.com/c/arch/+/104496/).
Never got through.
That CL can be (to some extent) used as an example of how XED can be used to generate that file, but there is probably a better way, so I would write it from scratch instead of trying to reuse code from there.
I believe the results of that program were mostly correct (probably more correct than the current csv file) and it included AVX512 instructions. But since the generator itself was not submitted, the generated file was left behind as well.

I believe @quasilyte is working on generating x86.csv from Intel's description tables as open sourced as part of xed, which will replace the x86spec pdf reader.

@quasilyte and @rsc, I felt very excited to see the XED data being used for the decoding table generation, as it would help resolve issues with missing instructions, such as FLDZ, FLDLN2 reported in this issue.
However, now it seems that the CL (https://go-review.googlesource.com/c/arch/+/104496/) has been stalled?
Are there any technical reasons why the CL has not been merged. From my understanding, it seems that it worked well to use the XED data and also helped resolve issues with missing instructions.
If there are parts missing before https://go-review.googlesource.com/c/arch/+/104496/ could be merged, @rsc or @quasilyte would you help clarify those so that someone else could pick up the torch and get this merged?
Cheers,
Robin

To my knowledge, @fexolm was investigating an opportunity to work on x86 decoder.
@mewmew, it might be a problem that this needs an effort and it's already possible to do a workaround without it.

However, now it seems that the CL (https://go-review.googlesource.com/c/arch/+/104496/) has been stalled?

Correct. It's there as a reference for further attempts. One should start a new CL and think about it from scratch, while keeping in mind the context from CL104496.

Are there any technical reasons why the CL has not been merged. From my understanding, it seems that it worked well to use the XED data and also helped resolve issues with missing instructions.

If I understood it correctly, the x86.csv was intended to be used for generating all x86 asm related tools, like encoders and decoders. The problem is, x86.csv is a simplified view of an arch, it had no AVX-512 in the beginning. To generate AVX-512 aware tools, we need it to contain additional data. The CL you mentioned stuck somewhere in:

Can't propose simple enough and functionally complete format for updated x86.csv.
There were some discussions about implementation complexity.

These 2 problems may not be purely technical, but they come to my mind before anything.
In the end, AVX-512 related code was generated out of XED tables directly to avoid discussions around x86.csv. It can be proposed that we use XED data files instead of x86.csv everywhere, but that format is not well-defined and is not part of the stable API (my knowledge might be outdated). Some kind of version-aware wrapper would be more reliable I guess, but again it's a work that someone should perform. Or x86.csv needs a revisit after we merged AVX-512 and can avoid rushing it.
As another example of how XED data files were used during that, there is avx512test (but it's not pretty).
Hope that helps.

Thanks @quasilyte for the writeup and added context.
re:

To my knowledge, @fexolm was investigating an opportunity to work on x86 decoder.

@fexolm how did your investigation go? If you would care to, please share your experiences, good or bad, as it could help us move this along.
Cheers,
Robin

:tada:


NovelRT Engine plugins and library loading support.

This is a misc. feature required for our future standardisation of engine backends for systems such as input, audio, graphics, etc.
It also includes a little cross-platform utility for library loading, to make runtime library loading a little easier. 😄

/azp run

This PR can just go. We can keep theb ranch around for ref.


Use type String for _id field in POJO codec

JAVA-3677
Evergreen patch: https://evergreen.mongodb.com/version/5eb44508a4cf470196e34f79

@jstewart-mongo please close this and open a new PR when you're ready with BsonRepresentation work

Closing this PR. I will open a new PR with the BsonRepresentationimplementation.


Add translation static analyzer

Related Issues
Close #645.
Summary
Adds a static analyzer (elocheck) written in Lua that checks for missing translation keys. It parses the translations and scans the C++ source for potentially missing/unused resource keys. It can be ran with make elocheck or make elocheck-err for errors only (LuaFileSystem needs to be installed). The lints that may give false positives are set as warnings. It should be good enough for checking the validity of translation keys.
It will raise errors on the following:

Missing keys in store that are found in source
Unused keys in store
Duplicate keys in store (causing implicit expansion into lists)

Already it has found two errors with the current source (corrected here), and many more in the other PRs. After this is merged, it will be considerably safer to merge the new translation PRs.
(The code uses luacheck as a base, which is MIT-licensed.)

I feel the name of elocheck is not proper because what elocheck actually checks is not apparent.
In addition, elo has a similar pronunciation to a sexual word in Japanese language. I don't know the very counterpart of elo(エロ) in English, but for me(and probably most Japanese) elocheck sounds something sexual.
I know it is a very trivial thing especially for non-Japanese, but to be honest, I don't like elocheck and elomod  much.

I feel the name of elocheck is not proper because what elocheck actually checks is not apparent.
In addition, elo has a similar pronunciation to a sexual word in Japanese language. For me(and probably most Japanese) elocheck sounds something sexual.
I know it is a very trivial thing especially for non-Japanese, but to be honest, I don't like elocheck and elomod  much.

Yeah, makes sense. I'll just change them to really obvious names for now until something better comes up.


Fixes #23596-returns empty string for NetworkID

"closes #23596 "
Please provide the following information:
-->
- What I did
Added missing NetworkID info to the daemon list code
- How I did it
- How to verify it
echo -e "GET /images/json HTTP/1.0\r\n" | socat unix-connect:/var/run/docker.sock STDIO
Check for NetworkID before and after the fix
- Description for the changelog

Signed-off-by: Sainath Grandhi<EMAIL_ADDRESS>

LGTM ping @mavenugo

LGTM

LGTM


0.14 gitian

gitian is failing for all targets, following the gitian hints in the docs

solved mostly in 3eddb15


Add LLM model server metrics

This change adds common model server metrics that we want to standardize on. It starts of with two common latency metrics - time per output token and time to first token.
Fixes #1102
Changes
Please provide a brief description of the changes here.
Note: if the PR is touching an area that is not listed in the existing areas, or the area does not have sufficient domain experts coverage, the PR might be tagged as experts needed and move slowly until experts are identified.
This change adds common model server metrics that we want to standardize on. It starts of with two common latency metrics - time per output token and time to first token.
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] Change log entry added, according to the guidelines in When to add a changelog entry.

If your PR does not need a change log, start the PR title with [chore]

[ ] schema-next.yaml updated with changes to existing conventions.

cc @lmolkova @SergeyKanzhelev

cc @jsuereth to take a look as well


var channel = require('cordova/channel'); Uncaught ReferenceError: require is not defined at cordova.js:30  .config(function($stateProvider, $urlRouterProvider) { Uncaught SyntaxError: Unexpected token .  I am getting these two errors for ionic side-menu

var channel = require('cordova/channel');
Uncaught ReferenceError: require is not defined
at cordova.js:30
.config(function($stateProvider, $urlRouterProvider) {
Uncaught SyntaxError: Unexpected token .
I am getting these two errors for ionic side-menu

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Integration Test - Release - 2019/11/05 19:56:12

Auto create for integration test. IssueCommandFlow

@PRMergerTest3 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Unhandeld Javaparser Exceptions

In rare cases, the call to SourceCodeUtils.removeComments can throw a ParseException:

How to deal with these classes?
All found examples (31):

com.github.javaparser.ParseProblemException: (line 93,col 20) Parse error. Found ".", expected "("
com.github.javaparser.ParseProblemException: Parse error. Found "package", expected one of  ";" "@" "\u001a" "abstract" "class" "default" "enum" "final" "import" "interface" "module" "native" "open" "private" "protected" "public" "static" "strictfp" "synchronized" "transient" "transitive" "volatile"
com.github.javaparser.ParseProblemException: (line 127,col 115) Parse error. Found ";", expected one of  "!=" "%" "%=" "&" "&&" "&=" ")" "" "=" "+" "+=" "-" "-=" "->" "/" "/=" "::" "<" "«=" "<=" "=" "==" ">" ">=" "»=" "»>=" "?" "^" "^=" "instanceof" "|" "|=" "||"
com.github.javaparser.ParseProblemException: (line 88,col 10) Parse error. Found "/", expected one of  "enum" "exports" "module" "open" "opens" "provides" "requires" "strictfp" "to" "transitive" "uses" "with"
com.github.javaparser.ParseProblemException: (line 2253,col 12) Parse error. Found "(", expected one of  "enum" "exports" "module" "open" "opens" "provides" "requires" "strictfp" "to" "transitive" "uses" "with"
com.github.javaparser.ParseProblemException: Parse error. Found "package", expected one of  ";" "@" "\u001a" "abstract" "class" "default" "enum" "final" "import" "interface" "module" "native" "open" "private" "protected" "public" "static" "strictfp" "synchronized" "transient" "transitive" "volatile"
com.github.javaparser.ParseProblemException: Lexical error at line 39, column 68.  Encountered: "\n" (10), after : ""After appending all elements of Vector,"
com.github.javaparser.ParseProblemException: (line 101,col 9) Parse error. Found "@", expected one of  "(" "enum" "exports" "false" "module" "new" "null" "open" "opens" "provides" "requires" "strictfp" "super" "this" "to" "transitive" "true" "uses" "with" <CHARACTER_LITERAL> <FLOATING_POINT_LITERAL>  <INTEGER_LITERAL> <LONG_LITERAL> <STRING_LITERAL>
com.github.javaparser.ParseProblemException: Lexical error at line 186, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 186, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 29, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 203, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 213, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 65, column 2.  Encountered: "#" (35), after : ""
com.github.javaparser.ParseProblemException: (line 17,col 6) Parse error. Found ".", expected one of  "%=" "&=" "(" "*=" "++" "+=" "--" "-=" "/=" ";" "«=" "=" "»=" "»>=" "^=" "|="
com.github.javaparser.ParseProblemException: (line 34,col 35) Parse error. Found ")", expected one of  "%=" "&=" "*=" "++" "+=" "--" "-=" "/=" ";" "«=" "=" "»=" "»>=" "^=" "|="
com.github.javaparser.ParseProblemException: (line 60,col 32) Parse error. Found ".", expected one of  "!=" "%=" "&" "&&" "&=" ")" "*=" "+=" "-=" "->" "/=" "::" "«=" "=" "==" "»=" "»>=" "?" "^" "^=" "|" "|=" "||"
com.github.javaparser.ParseProblemException: (line 82,col 67) Parse error. Found  "nooch" , expected "}"
com.github.javaparser.ParseProblemException: (line 81,col 67) Parse error. Found  "nooch" , expected "}"
com.github.javaparser.ParseProblemException: (line 46,col 4) Parse error. Found  "nooch" , expected "}"
com.github.javaparser.ParseProblemException: (line 17,col 113) Parse error. Found ",", expected "}"
com.github.javaparser.ParseProblemException: (line 123,col 10) Parse error. Found "extends", expected one of  "enum" "exports" "module" "open" "opens" "provides" "requires" "strictfp" "to" "transitive" "uses" "with"
com.github.javaparser.ParseProblemException: (line 55,col 5) Parse error. Found "«", expected one of  ";" "<" "@" "abstract" "boolean" "byte" "char" "class" "default" "double" "enum" "exports" "final" "float" "int" "interface" "long" "module" "native" "open" "opens" "private" "protected" "provides" "public" "requires" "short" "static" "strictfp" "synchronized" "to" "transient" "transitive" "uses" "void" "volatile" "with" "{" "}"
com.github.javaparser.ParseProblemException: (line 23,col 33) Parse error. Found ",", expected one of  "%=" "&=" "*=" "++" "+=" "--" "-=" "/=" ";" "«=" "=" "»=" "»>=" "^=" "|="
com.github.javaparser.ParseProblemException: (line 11,col 30) Parse error. Found "«", expected one of  ";" "<" "@" "abstract" "boolean" "byte" "char" "class" "default" "double" "enum" "exports" "final" "float" "int" "interface" "long" "module" "native" "open" "opens" "private" "protected" "provides" "public" "requires" "short" "static" "strictfp" "synchronized" "to" "transient" "transitive" "uses" "void" "volatile" "with" "{" "}"
com.github.javaparser.ParseProblemException: Lexical error at line 18, column 30.  Encountered: "\ufffd" (65533), after : ""
com.github.javaparser.ParseProblemException: Lexical error at line 18, column 30.  Encountered: "\ufffd" (65533), after : ""
com.github.javaparser.ParseProblemException: (line 18,col 24) Parse error. Found "public", expected "("
com.github.javaparser.ParseProblemException: (line 76,col 60) Parse error. Found "}", expected one of  "!=" "%" "%=" "&" "&&" "&=" "" "=" "+" "+=" "," "-" "-=" "->" "/" "/=" "::" ";" "<" "«=" "<=" "=" "==" ">" ">=" "»=" "»>=" "?" "^" "^=" "instanceof" "|" "|=" "||"
com.github.javaparser.ParseProblemException: (line 102,col 5) Parse error. Found "}", expected one of  ";" "@" "\u001a" "abstract" "class" "default" "enum" "final" "import" "interface" "module" "native" "open" "private" "protected" "public" "static" "strictfp" "synchronized" "transient" "transitive" "volatile"
com.github.javaparser.ParseProblemException: (line 19,col 55) Parse error. Found "«", expected one of  ";" "@" "\u001a" "abstract" "class" "default" "enum" "final" "import" "interface" "module" "native" "open" "private" "protected" "public" "static" "strictfp" "synchronized" "transient" "transitive" "volatile"

Maybe we can fall back to a String manipulation method if JavaParser fails?
CK has an utility method that counts lines looking at the stringified code
only.
On Fri, 6 Mar 2020 at 19:44, Jan Gerling<EMAIL_ADDRESS>wrote:

In rare cases, the call to SourceCodeUtils.removeComments
https://github.com/refactoring-ai/predicting-refactoring-ml/blob/9210fa3e1b52fa156e7d80730c65619f8292abfe/data-collection/src/main/java/refactoringml/util/SourceCodeUtils.java#L8
can throw a ParseException:
[image: image]
https://user-images.githubusercontent.com/29139613/76112522-ab55dc80-5fe2-11ea-9de1-f22d23aff930.png
How to deal with these classes?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/refactoring-ai/predicting-refactoring-ml/issues/94?email_source=notifications&email_token=AAAYTTD7VEVYFUYDYQCFAQLRGE77JA5CNFSM4LDFYCH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITF7KEA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAYTTCG5WUFIRNAFOJ25DDRGE77JANCNFSM4LDFYCHQ
.

--
Maurício Aniche
Delft University of Technology
http://www.mauricioaniche.com

As discussed:

Completely remove SourceCodeUtils.removeComments from our source code
CK will implement SLOC as metric, and we can use it. (@mauricioaniche)


Add Windows installation via conda-forge

Partially addresses https://github.com/ignitionrobotics/docs/issues/117
This replaces the old Windows installation instructions from Nov 2017, which installed dependencies by zip files and used nmake with VS 2013 on Windows 7 and 8. We have now decided to go with conda-forge, tested with VS 2019 on Windows 10.
The current instructions built and installed, but I'm unsure about two things, which may be optional.
1. CMake warning about IFADDRS
I got a CMake warning about missing IFADDRS:
-- BUILD WARNINGS
--      Missing: IFADDRS
-- END BUILD WARNINGS

I tried installing ifaddr, but that didn't fix the warning after removing the build directory and rerunning cmake:
conda install -c conda-forge ifaddr

Seeing that ifaddr is for network interfaces, and this is transport, I don’t know if that warning can be ignored.
What does it affect specifically, do we need to find it?
2. Errors building example/
The old instructions built the examples and ran responser and requester.
I wanted to keep that, but I wasn’t able to build the examples. I can run up to this:
cd ign-transport\example
mkdir build
cd build
# I used a custom -DCMAKE_INSTALL_PREFIX and had to specify the path to ignition-transport9-config.cmake
cmake .. -DCMAKE_PREFIX_PATH=Z:\sim\ign_ws\install\ignition-transport9\lib\cmake\ignition-transport9

Then when I ran
cmake --build .

I got a lot of warnings and a few errors.
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Building Custom Rule Z:/sim/ign_ws/src/ign-transport/example/CMakeLists.txt
  publisher.cc
  publisher.vcxproj -> Z:\sim\ign_ws\src\ign-transport\example\build\Debug\publisher.exe
  Building Custom Rule Z:/sim/ign_ws/src/ign-transport/example/CMakeLists.txt
  publisher_c.cc
Z:\sim\ign_ws\src\ign-transport\example\publisher_c.cc(18,10): fatal error C1083: Cannot open in
clude file: 'unistd.h': No such file or directory [Z:\sim\ign_ws\src\ign-transport\example\build
\publisher_c.vcxproj]
  Building Custom Rule Z:/sim/ign_ws/src/ign-transport/example/CMakeLists.txt
  publisher_c_fast.cc
Z:\sim\ign_ws\src\ign-transport\example\publisher_c_fast.cc(18,10): fatal error C1083: Cannot op
en include file: 'unistd.h': No such file or directory [Z:\sim\ign_ws\src\ign-transport\example\
build\publisher_c_fast.vcxproj]
  Running cpp protocol buffer compiler on stringmsg.proto
  Building Custom Rule Z:/sim/ign_ws/src/ign-transport/example/msgs/CMakeLists.txt
  Building Custom Rule Z:/sim/ign_ws/src/ign-transport/example/CMakeLists.txt
  publisher_custom_msg.cc
C:\Users\mabel\miniconda3\envs\ign-ws\Library\include\google/protobuf/stubs/logging.h(102,23): w
arning C4251: 'google::protobuf::internal::LogMessage::message_': class 'std::basic_string<char,
std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients
of class 'google::protobuf::internal::LogMessage' [Z:\sim\ign_ws\src\ign-transport\example\build
\publisher_custom_msg.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\
xstring(4648): message : see declaration of 'std::basic_string<char,std::char_traits<char>,std::
allocator<char>>' [Z:\sim\ign_ws\src\ign-transport\example\build\publisher_custom_msg.vcxproj]
C:\Users\mabel\miniconda3\envs\ign-ws\Library\include\google/protobuf/io/coded_stream.h(1250,64)
: warning C4251: 'google::protobuf::io::CodedOutputStream::default_serialization_deterministic_'
: struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of class 'google:
:protobuf::io::CodedOutputStream' [Z:\sim\ign_ws\src\ign-transport\example\build\publisher_custo
m_msg.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\
atomic(2759): message : see declaration of 'std::atomic<bool>' [Z:\sim\ign_ws\src\ign-transport\
example\build\publisher_custom_msg.vcxproj]
... # more warnings
msgs\stringmsg.pb.cc : fatal error LNK1107: invalid or corrupt file: cannot read at 0x3028 [Z:\s
im\ign_ws\src\ign-transport\example\build\publisher_custom_msg.vcxproj]
... # more warnings
msgs\stringmsg.pb.cc : fatal error LNK1107: invalid or corrupt file: cannot read at 0x3028 [Z:\s
im\ign_ws\src\ign-transport\example\build\subscriber_custom_msg.vcxproj]
... # more warnings

I got a lot of warnings and a few errors.

I am not sure if the error is related to that, but conda-forge only ships Release libraries, and from the output of the example it seems that you are compiling the examples in Debug mode. Unfortunately, the C++ STL library that ships with MSVC has different ABIs in Release and in Debug, so if you compile the libraries in Release, you need to also compiles the examples in Release or RelWithDebInfo. On Linux/macOS the situation is different because both libstdcxx and libcxx are ABI compatible between Release and Debug builds.

Then I think that the header https://github.com/ignitionrobotics/ign-transport/blob/ign-transport9/example/publisher_c.cc#L18 is Unix-only and can be probably dropped with no problems.

Closing this PR in favor of retargeting to Citadel. https://github.com/ignitionrobotics/ign-transport/pull/214

Closing this PR in favor of retargeting to Citadel. https://github.com/ignitionrobotics/ign-transport/pull/214


Docs for debugging SCT

Follow up from https://github.com/penumbra-zone/web/pull/882

nice description, LGTM


Fixes DCOS-596 and Michael G.'s feedback

Fixes DCOS-596 and the comment @mgummelt had on clarity concerning Marketplace install vs. ARM templates in 1.8 Azure install.

@joel-hamill can you review pls and merge if you think that's OK?

LGTM thanks.


Ajax is not working inside Featherlight

I am trying to add ajax photo uploading script inside a Featherlight lightbox but it's not working! So if anyone could please let me know what I am doing wrong, that'd be great! I am already adding JQuery library; everything else is working fine but ajax is not submitting the uploaded photo when the uploading form is kept in lightbox div in order to load it in a lightbox!

Glad you asked on StackOverflow, although you didn't make a simplified working example say in a fiddle.

Sure...let me give you access to my live project...Where I have this issue :
Login in there and then open clients management tab page and there will be a button as "Add New Profile" where I have put the php ajax image uploading form in that lightbox and it doesn't work..!
Site Link : http://huntedhunter.com/drag_gallery/
Login Access Details :
Username : Admin
Password : umair1111
More like the the ajax upload form doesn't work but when I click submit button manually then it works and submit form and the image is uploaded but doesn't show in there which is also related to ajax success triggers and get back html from php upload but it doesn't put that success in there..!


How to convert Waters QTOF raw data for MZmine 3?

Basic information

My operating system: windows
My MZmine version: MZmine 3

What happened
Is there a solution to easily convert Waters QTOF raw data for MZmine 3 analysis? Thanks

Please describe what happened and how it differs from what you expected to happen.
Please include all parameter values for the MZmine modules you used.
Please upload screenshots of any errors and your log/mzmine.log file.
Please upload an MZmine project file that demonstrates the problem you are reporting.

Hello. You can use msconvert module of Proteowizard.
Do you have ms2 spectra?

Thank you for your advice. Yes, we have ms2 spectra. Our data are acquired
by Wasters QTOF in MSe mode. MSe data seems not to work well for MZmine 2
because some people used  Proteowizard to  transform MSe raw data into mzML
or mzXML file, but they didn't work well. For convenience, our lab just
sticks with waters data processing software UNIFI or Masslinks. I am not
very sure if MZmine3 has fixed this issue for waters data?
On Sat, Feb 4, 2023 at 5:56 PM elnurgar @.***> wrote:

Hello. You can use msconvert module of Proteowizard.
Do you have ms2 spectra?
—
Reply to this email directly, view it on GitHub
https://github.com/mzmine/mzmine3/issues/1124#issuecomment-1416799603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBDGKYBQW3KMCHU2YZWHA3WV2C23ANCNFSM6AAAAAAUQYUHGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

There is a problem of m/z values drift of precursor values for Waters. Here is some explanation. https://github.com/elnurgar/mzxml-precursor-corrector

Also now the proteowizrd people are working on this issue. https://github.com/ProteoWizard/pwiz/issues/1922

Did someone try this converter for water?
https://github.com/AnP311/Waters2mzML


refactor: radix section default size

All Submissions:

[x] Have you followed the guidelines stated in CONTRIBUTING.md file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

#3274
Changed the default size of rx.section to "2" from "3" as mentioned.

@masenf Done!


complex multiline initial values are not handled well

the following line below doesn't indent very nicely
    constant proc_call : string := proc_name & "(" & to_string(vvc_target, vvc_instance_idx, vvc_channel) -- First part common for all
                                   & ", " & to_string(wanted_idx) & ", " & to_string(timeout, ns) & ")";

multiline initial value assignment is not covered.

solved (only for signals, constants and variables. Not for multiline assignments


migrate test/*py from basemap to cartopy

Hi @jswhit, just to chime in with perhaps something you already are aware of, but testing matplotlib images is made easier with pytest/pytest-mpl

That's nice - I wasn't aware of that.  I'll take a look.