dialtone test not working

Hi,
Cool project. Thanks for sharing!
I was just checking it out to potentially use it in a bunch of Max MSP externals using soundpipe (see https://github.com/shakfu/sndpipe) but after compiling (on OS X Catalina), I couldn't get the dialtone.wav to generate: basically, it ran without error but no output. I tried to run in DEBUG_MODE but there some errors due to some debug lines which were out of sync with the code, but after I bypassed them and then compiled again in DEBUG_MODE I got the following output:
$ ./sporth -d 5s -o dialtone.wav examples/dialtone.sp
setting duration to 5s
setting filename to dialtone.wav
Registering function "*" at position 2
Registering function "+" at position 3
Registering function "-" at position 4
Registering function "/" at position 5
Registering function "[" at position 6
Registering function "]" at position 7
Registering function "&" at position 8
Registering function "|" at position 9
Registering function "^" at position 10
Registering function "<<" at position 11
Registering function ">>" at position 12
Registering function "%" at position 13
Registering function "abs" at position 14
Registering function "adsr" at position 15
Registering function "autowah" at position 16
Registering function "add" at position 17
Registering function "ampdb" at position 18
Registering function "biscale" at position 19
Registering function "bitcrush" at position 20
Registering function "blsaw" at position 21
Registering function "blsquare" at position 22
Registering function "bltriangle" at position 23
Registering function "bpm2dur" at position 24
Registering function "bpm2rate" at position 25
Registering function "branch" at position 26
Registering function "brown" at position 27
Registering function "butbp" at position 28
Registering function "butbr" at position 29
Registering function "buthp" at position 30
Registering function "butlp" at position 31
Registering function "cdb" at position 32
Registering function "cdbload" at position 33
Registering function "cdbtab" at position 34
Registering function "cf" at position 35
Registering function "changed" at position 36
Registering function "clock" at position 37
Registering function "count" at position 38
Registering function "crossfade" at position 39
Registering function "dcblk" at position 40
Registering function "delay" at position 41
Registering function "diode" at position 42
Registering function "div" at position 43
Registering function "dmetro" at position 44
Registering function "drop" at position 45
Registering function "dtrig" at position 46
Registering function "dup" at position 47
Registering function "dup2" at position 48
Registering function "dur" at position 49
Registering function "durs" at position 50
Registering function "edo" at position 51
Registering function "eq" at position 52
Registering function "eqfil" at position 53
Registering function "eval" at position 54
Registering function "expon" at position 55
Registering function "f" at position 56
Registering function "fl" at position 57
Registering function "fli" at position 58
Registering function "fc" at position 59
Registering function "fe" at position 60
Registering function "floor" at position 61
Registering function "fm" at position 62
Registering function "fosc" at position 63
Registering function "frac" at position 64
Registering function "ftsum" at position 65
Registering function "gen_eval" at position 66
Registering function "gen_padsynth" at position 67
Registering function "gen_sine" at position 68
Registering function "gen_sporth" at position 69
Registering function "gen_vals" at position 70
Registering function "get" at position 71
Registering function "gt" at position 72
Registering function "in" at position 73
Registering function "incr" at position 74
Registering function "inv" at position 75
Registering function "jcrev" at position 76
Registering function "limit" at position 77
Registering function "line" at position 78
Registering function "load" at position 79
Registering function "sdelay" at position 80
Registering function "slice" at position 81
Registering function "slist" at position 82
Registering function "sqrt" at position 83
Registering function "loadspa" at position 84
Registering function "log" at position 85
Registering function "log10" at position 86
Registering function "lpc" at position 87
Registering function "lpcsynth" at position 88
Registering function "lsys" at position 89
Registering function "lt" at position 90
Registering function "max" at position 91
Registering function "maygate" at position 92
Registering function "maytrig" at position 93
Registering function "metro" at position 94
Registering function "min" at position 95
Registering function "mix" at position 96
Registering function "mode" at position 97
Registering function "mtof" at position 98
Registering function "mul" at position 99
Registering function "ne" at position 100
Registering function "noise" at position 101
Registering function "nsmp" at position 102
Registering function "osc" at position 103
Registering function "p" at position 104
Registering function "palias" at position 105
Registering function "paulstretch" at position 106
Registering function "phasewarp" at position 107
Registering function "peaklim" at position 108
Registering function "phaser" at position 109
Registering function "phasor" at position 110
Registering function "pinknoise" at position 111
Registering function "port" at position 112
Registering function "pos" at position 113
Registering function "print" at position 114
Registering function "prop" at position 115
Registering function "ps" at position 116
Registering function "pset" at position 117
Registering function "psh" at position 118
Registering function "pshift" at position 119
Registering function "pst" at position 120
Registering function "rand" at position 121
Registering function "randh" at position 122
Registering function "randi" at position 123
Registering function "ref" at position 124
Registering function "render" at position 125
Registering function "reverse" at position 126
Registering function "revsc" at position 127
Registering function "rot" at position 128
Registering function "round" at position 129
Registering function "rpt" at position 130
Registering function "samphold" at position 131
Registering function "saturator" at position 132
Registering function "saw" at position 133
Registering function "say" at position 134
Registering function "scale" at position 135
Registering function "scrambler" at position 136
Registering function "set" at position 137
Registering function "setdurs" at position 138
Registering function "sget" at position 139
Registering function "sine" at position 140
Registering function "slick" at position 141
Registering function "smoothdelay" at position 142
Registering function "spa" at position 143
Registering function "sparec" at position 144
Registering function "square" at position 145
Registering function "sr" at position 146
Registering function "srand" at position 147
Registering function "sub" at position 148
Registering function "swap" at position 149
Registering function "switch" at position 150
Registering function "tadsr" at position 151
Registering function "talias" at position 152
Registering function "talkbox" at position 153
Registering function "tbldur" at position 154
Registering function "tblrec" at position 155
Registering function "tblsize" at position 156
Registering function "tdiv" at position 157
Registering function "tenv" at position 158
Registering function "tenv2" at position 159
Registering function "tenvx" at position 160
Registering function "tgate" at position 161
Registering function "tget" at position 162
Registering function "thresh" at position 163
Registering function "timer" at position 164
Registering function "tin" at position 165
Registering function "tick" at position 166
Registering function "tog" at position 167
Registering function "tphasor" at position 168
Registering function "tport" at position 169
Registering function "tprop" at position 170
Registering function "trand" at position 171
Registering function "triangle" at position 172
Registering function "tri" at position 173
Registering function "tseq" at position 174
Registering function "tseg" at position 175
Registering function "tset" at position 176
Registering function "var" at position 177
Registering function "varset" at position 178
Registering function "vdelay" at position 179
Registering function "voc" at position 180
Registering function "writecode" at position 181
Registering function "wpkorg35" at position 182
Registering function "zeros" at position 183
Registering function "zitarev" at position 184
Registering function "zrev" at position 185
350 is a float!
0.3 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...
440 is a float!
0.3 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...
+ is a function!
Executing function "+" (id 1)
Initializing sine function...
Initializing sine function...

Showing pipes:
	type = 0 (float)
	type = 0 (float)
	type = 140 (sine)
	type = 0 (float)
	type = 0 (float)
	type = 140 (sine)
	type = 3 (+)
7 pipes total.

Destroying sine
Destroying sine

But no output of dialtone.wav in the Sporth directory. Any help to get this mystery cleared would be appreciated.
S

ah yes. I think I know the issue.
I broke sp_process in soundpipe a few months ago, disabled the libsndfile
dependency in sporth, and you're the first one to notice.
I pushed some fixes that should hopefully fix this. Note that now you'll
need to have libsndfile installed on your computer in order for it to build.
Hope that fixes things,
-P
On Wed, Apr 28, 2021 at 8:04 PM Shakeeb Alireza @.***>
wrote:

Hi,
Cool project. Thanks for sharing!
I was just checking it out to potentially use it in a bunch of Max MSP
externals using soundpipe (see https://github.com/shakfu/sndpipe) but
after compiling (on OS X Catalina), I couldn't get the dialtone.wav to
generate: basically, it ran without error but no output. I tried to run in
DEBUG_MODE but there some errors due to some debug lines which were out of
sync with the code, but after I bypassed them and then compiled again in
DEBUG_MODE I got the following output:
$ ./sporth -d 5s -o dialtone.wav examples/dialtone.sp
setting duration to 5s
setting filename to dialtone.wav
Registering function "*" at position 2
Registering function "+" at position 3
Registering function "-" at position 4
Registering function "/" at position 5
Registering function "[" at position 6
Registering function "]" at position 7
Registering function "&" at position 8
Registering function "|" at position 9
Registering function "^" at position 10
Registering function "<<" at position 11
Registering function ">>" at position 12
Registering function "%" at position 13
Registering function "abs" at position 14
Registering function "adsr" at position 15
Registering function "autowah" at position 16
Registering function "add" at position 17
Registering function "ampdb" at position 18
Registering function "biscale" at position 19
Registering function "bitcrush" at position 20
Registering function "blsaw" at position 21
Registering function "blsquare" at position 22
Registering function "bltriangle" at position 23
Registering function "bpm2dur" at position 24
Registering function "bpm2rate" at position 25
Registering function "branch" at position 26
Registering function "brown" at position 27
Registering function "butbp" at position 28
Registering function "butbr" at position 29
Registering function "buthp" at position 30
Registering function "butlp" at position 31
Registering function "cdb" at position 32
Registering function "cdbload" at position 33
Registering function "cdbtab" at position 34
Registering function "cf" at position 35
Registering function "changed" at position 36
Registering function "clock" at position 37
Registering function "count" at position 38
Registering function "crossfade" at position 39
Registering function "dcblk" at position 40
Registering function "delay" at position 41
Registering function "diode" at position 42
Registering function "div" at position 43
Registering function "dmetro" at position 44
Registering function "drop" at position 45
Registering function "dtrig" at position 46
Registering function "dup" at position 47
Registering function "dup2" at position 48
Registering function "dur" at position 49
Registering function "durs" at position 50
Registering function "edo" at position 51
Registering function "eq" at position 52
Registering function "eqfil" at position 53
Registering function "eval" at position 54
Registering function "expon" at position 55
Registering function "f" at position 56
Registering function "fl" at position 57
Registering function "fli" at position 58
Registering function "fc" at position 59
Registering function "fe" at position 60
Registering function "floor" at position 61
Registering function "fm" at position 62
Registering function "fosc" at position 63
Registering function "frac" at position 64
Registering function "ftsum" at position 65
Registering function "gen_eval" at position 66
Registering function "gen_padsynth" at position 67
Registering function "gen_sine" at position 68
Registering function "gen_sporth" at position 69
Registering function "gen_vals" at position 70
Registering function "get" at position 71
Registering function "gt" at position 72
Registering function "in" at position 73
Registering function "incr" at position 74
Registering function "inv" at position 75
Registering function "jcrev" at position 76
Registering function "limit" at position 77
Registering function "line" at position 78
Registering function "load" at position 79
Registering function "sdelay" at position 80
Registering function "slice" at position 81
Registering function "slist" at position 82
Registering function "sqrt" at position 83
Registering function "loadspa" at position 84
Registering function "log" at position 85
Registering function "log10" at position 86
Registering function "lpc" at position 87
Registering function "lpcsynth" at position 88
Registering function "lsys" at position 89
Registering function "lt" at position 90
Registering function "max" at position 91
Registering function "maygate" at position 92
Registering function "maytrig" at position 93
Registering function "metro" at position 94
Registering function "min" at position 95
Registering function "mix" at position 96
Registering function "mode" at position 97
Registering function "mtof" at position 98
Registering function "mul" at position 99
Registering function "ne" at position 100
Registering function "noise" at position 101
Registering function "nsmp" at position 102
Registering function "osc" at position 103
Registering function "p" at position 104
Registering function "palias" at position 105
Registering function "paulstretch" at position 106
Registering function "phasewarp" at position 107
Registering function "peaklim" at position 108
Registering function "phaser" at position 109
Registering function "phasor" at position 110
Registering function "pinknoise" at position 111
Registering function "port" at position 112
Registering function "pos" at position 113
Registering function "print" at position 114
Registering function "prop" at position 115
Registering function "ps" at position 116
Registering function "pset" at position 117
Registering function "psh" at position 118
Registering function "pshift" at position 119
Registering function "pst" at position 120
Registering function "rand" at position 121
Registering function "randh" at position 122
Registering function "randi" at position 123
Registering function "ref" at position 124
Registering function "render" at position 125
Registering function "reverse" at position 126
Registering function "revsc" at position 127
Registering function "rot" at position 128
Registering function "round" at position 129
Registering function "rpt" at position 130
Registering function "samphold" at position 131
Registering function "saturator" at position 132
Registering function "saw" at position 133
Registering function "say" at position 134
Registering function "scale" at position 135
Registering function "scrambler" at position 136
Registering function "set" at position 137
Registering function "setdurs" at position 138
Registering function "sget" at position 139
Registering function "sine" at position 140
Registering function "slick" at position 141
Registering function "smoothdelay" at position 142
Registering function "spa" at position 143
Registering function "sparec" at position 144
Registering function "square" at position 145
Registering function "sr" at position 146
Registering function "srand" at position 147
Registering function "sub" at position 148
Registering function "swap" at position 149
Registering function "switch" at position 150
Registering function "tadsr" at position 151
Registering function "talias" at position 152
Registering function "talkbox" at position 153
Registering function "tbldur" at position 154
Registering function "tblrec" at position 155
Registering function "tblsize" at position 156
Registering function "tdiv" at position 157
Registering function "tenv" at position 158
Registering function "tenv2" at position 159
Registering function "tenvx" at position 160
Registering function "tgate" at position 161
Registering function "tget" at position 162
Registering function "thresh" at position 163
Registering function "timer" at position 164
Registering function "tin" at position 165
Registering function "tick" at position 166
Registering function "tog" at position 167
Registering function "tphasor" at position 168
Registering function "tport" at position 169
Registering function "tprop" at position 170
Registering function "trand" at position 171
Registering function "triangle" at position 172
Registering function "tri" at position 173
Registering function "tseq" at position 174
Registering function "tseg" at position 175
Registering function "tset" at position 176
Registering function "var" at position 177
Registering function "varset" at position 178
Registering function "vdelay" at position 179
Registering function "voc" at position 180
Registering function "writecode" at position 181
Registering function "wpkorg35" at position 182
Registering function "zeros" at position 183
Registering function "zitarev" at position 184
Registering function "zrev" at position 185
350 is a float!
0.3 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...
440 is a float!
0.3 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...

is a function!
Executing function "+" (id 1)
Initializing sine function...
Initializing sine function...

Showing pipes:
type = 0 (float)
type = 0 (float)
type = 140 (sine)
type = 0 (float)
type = 0 (float)
type = 140 (sine)
type = 3 (+)
7 pipes total.
Destroying sine
Destroying sine
But no output of dialtone.wav in the Sporth directory. Any help to get
this mystery cleared would be appreciated.
S
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PaulBatchelor/Sporth/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6DE7PBI2MUE224LDIWGG3TLCPCBANCNFSM43YB6BLQ
.

Hi Paul,
Awesome. Thanks very much for the quick response.  I can confirm that it's working now. (-: 👍
Best,
S

Incidentally, while the .wav file is generating ok. The live speaker output isn't. So for example (with DEBUG_MODE on):
$ sporth
Registering function "*" at position 2
Registering function "+" at position 3
Registering function "-" at position 4
Registering function "/" at position 5
Registering function "[" at position 6
Registering function "]" at position 7
Registering function "&" at position 8
Registering function "|" at position 9
Registering function "^" at position 10
Registering function "<<" at position 11
Registering function ">>" at position 12
Registering function "%" at position 13
Registering function "abs" at position 14
Registering function "adsr" at position 15
Registering function "autowah" at position 16
Registering function "add" at position 17
Registering function "ampdb" at position 18
Registering function "biscale" at position 19
Registering function "bitcrush" at position 20
Registering function "blsaw" at position 21
Registering function "blsquare" at position 22
Registering function "bltriangle" at position 23
Registering function "bpm2dur" at position 24
Registering function "bpm2rate" at position 25
Registering function "branch" at position 26
Registering function "brown" at position 27
Registering function "butbp" at position 28
Registering function "butbr" at position 29
Registering function "buthp" at position 30
Registering function "butlp" at position 31
Registering function "cdb" at position 32
Registering function "cdbload" at position 33
Registering function "cdbtab" at position 34
Registering function "cf" at position 35
Registering function "changed" at position 36
Registering function "clock" at position 37
Registering function "count" at position 38
Registering function "crossfade" at position 39
Registering function "dcblk" at position 40
Registering function "delay" at position 41
Registering function "diode" at position 42
Registering function "div" at position 43
Registering function "dmetro" at position 44
Registering function "drop" at position 45
Registering function "dtrig" at position 46
Registering function "dup" at position 47
Registering function "dup2" at position 48
Registering function "dur" at position 49
Registering function "durs" at position 50
Registering function "edo" at position 51
Registering function "eq" at position 52
Registering function "eqfil" at position 53
Registering function "eval" at position 54
Registering function "expon" at position 55
Registering function "f" at position 56
Registering function "fl" at position 57
Registering function "fli" at position 58
Registering function "fc" at position 59
Registering function "fe" at position 60
Registering function "floor" at position 61
Registering function "fm" at position 62
Registering function "fosc" at position 63
Registering function "frac" at position 64
Registering function "ftsum" at position 65
Registering function "gen_eval" at position 66
Registering function "gen_padsynth" at position 67
Registering function "gen_sine" at position 68
Registering function "gen_sporth" at position 69
Registering function "gen_vals" at position 70
Registering function "get" at position 71
Registering function "gt" at position 72
Registering function "in" at position 73
Registering function "incr" at position 74
Registering function "inv" at position 75
Registering function "jcrev" at position 76
Registering function "limit" at position 77
Registering function "line" at position 78
Registering function "load" at position 79
Registering function "sdelay" at position 80
Registering function "slice" at position 81
Registering function "slist" at position 82
Registering function "sqrt" at position 83
Registering function "loadspa" at position 84
Registering function "log" at position 85
Registering function "log10" at position 86
Registering function "lpc" at position 87
Registering function "lpcsynth" at position 88
Registering function "lsys" at position 89
Registering function "lt" at position 90
Registering function "max" at position 91
Registering function "maygate" at position 92
Registering function "maytrig" at position 93
Registering function "metro" at position 94
Registering function "min" at position 95
Registering function "mix" at position 96
Registering function "mode" at position 97
Registering function "mtof" at position 98
Registering function "mul" at position 99
Registering function "ne" at position 100
Registering function "noise" at position 101
Registering function "nsmp" at position 102
Registering function "osc" at position 103
Registering function "p" at position 104
Registering function "palias" at position 105
Registering function "paulstretch" at position 106
Registering function "phasewarp" at position 107
Registering function "peaklim" at position 108
Registering function "phaser" at position 109
Registering function "phasor" at position 110
Registering function "pinknoise" at position 111
Registering function "port" at position 112
Registering function "pos" at position 113
Registering function "print" at position 114
Registering function "prop" at position 115
Registering function "ps" at position 116
Registering function "pset" at position 117
Registering function "psh" at position 118
Registering function "pshift" at position 119
Registering function "pst" at position 120
Registering function "rand" at position 121
Registering function "randh" at position 122
Registering function "randi" at position 123
Registering function "ref" at position 124
Registering function "render" at position 125
Registering function "reverse" at position 126
Registering function "revsc" at position 127
Registering function "rot" at position 128
Registering function "round" at position 129
Registering function "rpt" at position 130
Registering function "samphold" at position 131
Registering function "saturator" at position 132
Registering function "saw" at position 133
Registering function "say" at position 134
Registering function "scale" at position 135
Registering function "scrambler" at position 136
Registering function "set" at position 137
Registering function "setdurs" at position 138
Registering function "sget" at position 139
Registering function "sine" at position 140
Registering function "slick" at position 141
Registering function "smoothdelay" at position 142
Registering function "spa" at position 143
Registering function "sparec" at position 144
Registering function "square" at position 145
Registering function "sr" at position 146
Registering function "srand" at position 147
Registering function "sub" at position 148
Registering function "swap" at position 149
Registering function "switch" at position 150
Registering function "tadsr" at position 151
Registering function "talias" at position 152
Registering function "talkbox" at position 153
Registering function "tbldur" at position 154
Registering function "tblrec" at position 155
Registering function "tblsize" at position 156
Registering function "tdiv" at position 157
Registering function "tenv" at position 158
Registering function "tenv2" at position 159
Registering function "tenvx" at position 160
Registering function "tgate" at position 161
Registering function "tget" at position 162
Registering function "thresh" at position 163
Registering function "timer" at position 164
Registering function "tin" at position 165
Registering function "tick" at position 166
Registering function "tog" at position 167
Registering function "tphasor" at position 168
Registering function "tport" at position 169
Registering function "tprop" at position 170
Registering function "trand" at position 171
Registering function "triangle" at position 172
Registering function "tri" at position 173
Registering function "tseq" at position 174
Registering function "tseg" at position 175
Registering function "tset" at position 176
Registering function "var" at position 177
Registering function "varset" at position 178
Registering function "vdelay" at position 179
Registering function "voc" at position 180
Registering function "writecode" at position 181
Registering function "wpkorg35" at position 182
Registering function "zeros" at position 183
Registering function "zitarev" at position 184
Registering function "zrev" at position 185
440 0.2 sine
440 0.5 sine
440 is a float!
0.5 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...

It stops at creation but doesn't continue on to initialization. See lines 293-315 in Sporth/ugens/basic.c:
#ifdef DEBUG_MODE
           plumber_print(pd,"creating sine function... \n");
#endif
            data = malloc(sizeof(sporth_sine_d));
            sp_osc_create(&data->osc);
            sp_ftbl_create(pd->sp, &data->ft, 8192);
            plumber_add_ugen(pd, SPORTH_SINE, data);
            if(sporth_check_args(stack, "ff") != SPORTH_OK) {
                plumber_print(pd, "returning error SPORTH_NOTOK\n");
                return PLUMBER_NOTOK;
            }

            amp = sporth_stack_pop_float(stack);
            freq = sporth_stack_pop_float(stack);
            sporth_stack_push_float(stack, 0);
            break;
        case PLUMBER_INIT:
#ifdef DEBUG_MODE
           plumber_print(pd,"Initializing sine function... \n");
#endif
            amp = sporth_stack_pop_float(stack);
            freq = sporth_stack_pop_float(stack);
            data = pd->last->ud;

Hope this is helpful.
S

When sporth is passed in without a filename, it reads from standard input
like so:
echo "440 0.5 sine" | sporth -o sine.wav -d 10s

Realtime audio introduces a whole new level of complexity compared to just
writing audio files, so it's only partially supported by Sporth (a small
JACK backend only), and it is disabled by default. The best practice is to
use the libsporth API in the realtime plugin/audio architecture of your
choosing.
On Wed, Apr 28, 2021 at 9:48 PM Shakeeb Alireza @.***>
wrote:

Incidentally, while the .wav file is generating ok. The live speaker
output isn't. So for example (with DEBUG_MODE on):
$ sporth
Registering function "*" at position 2
Registering function "+" at position 3
Registering function "-" at position 4
Registering function "/" at position 5
Registering function "[" at position 6
Registering function "]" at position 7
Registering function "&" at position 8
Registering function "|" at position 9
Registering function "^" at position 10
Registering function "<<" at position 11
Registering function ">>" at position 12
Registering function "%" at position 13
Registering function "abs" at position 14
Registering function "adsr" at position 15
Registering function "autowah" at position 16
Registering function "add" at position 17
Registering function "ampdb" at position 18
Registering function "biscale" at position 19
Registering function "bitcrush" at position 20
Registering function "blsaw" at position 21
Registering function "blsquare" at position 22
Registering function "bltriangle" at position 23
Registering function "bpm2dur" at position 24
Registering function "bpm2rate" at position 25
Registering function "branch" at position 26
Registering function "brown" at position 27
Registering function "butbp" at position 28
Registering function "butbr" at position 29
Registering function "buthp" at position 30
Registering function "butlp" at position 31
Registering function "cdb" at position 32
Registering function "cdbload" at position 33
Registering function "cdbtab" at position 34
Registering function "cf" at position 35
Registering function "changed" at position 36
Registering function "clock" at position 37
Registering function "count" at position 38
Registering function "crossfade" at position 39
Registering function "dcblk" at position 40
Registering function "delay" at position 41
Registering function "diode" at position 42
Registering function "div" at position 43
Registering function "dmetro" at position 44
Registering function "drop" at position 45
Registering function "dtrig" at position 46
Registering function "dup" at position 47
Registering function "dup2" at position 48
Registering function "dur" at position 49
Registering function "durs" at position 50
Registering function "edo" at position 51
Registering function "eq" at position 52
Registering function "eqfil" at position 53
Registering function "eval" at position 54
Registering function "expon" at position 55
Registering function "f" at position 56
Registering function "fl" at position 57
Registering function "fli" at position 58
Registering function "fc" at position 59
Registering function "fe" at position 60
Registering function "floor" at position 61
Registering function "fm" at position 62
Registering function "fosc" at position 63
Registering function "frac" at position 64
Registering function "ftsum" at position 65
Registering function "gen_eval" at position 66
Registering function "gen_padsynth" at position 67
Registering function "gen_sine" at position 68
Registering function "gen_sporth" at position 69
Registering function "gen_vals" at position 70
Registering function "get" at position 71
Registering function "gt" at position 72
Registering function "in" at position 73
Registering function "incr" at position 74
Registering function "inv" at position 75
Registering function "jcrev" at position 76
Registering function "limit" at position 77
Registering function "line" at position 78
Registering function "load" at position 79
Registering function "sdelay" at position 80
Registering function "slice" at position 81
Registering function "slist" at position 82
Registering function "sqrt" at position 83
Registering function "loadspa" at position 84
Registering function "log" at position 85
Registering function "log10" at position 86
Registering function "lpc" at position 87
Registering function "lpcsynth" at position 88
Registering function "lsys" at position 89
Registering function "lt" at position 90
Registering function "max" at position 91
Registering function "maygate" at position 92
Registering function "maytrig" at position 93
Registering function "metro" at position 94
Registering function "min" at position 95
Registering function "mix" at position 96
Registering function "mode" at position 97
Registering function "mtof" at position 98
Registering function "mul" at position 99
Registering function "ne" at position 100
Registering function "noise" at position 101
Registering function "nsmp" at position 102
Registering function "osc" at position 103
Registering function "p" at position 104
Registering function "palias" at position 105
Registering function "paulstretch" at position 106
Registering function "phasewarp" at position 107
Registering function "peaklim" at position 108
Registering function "phaser" at position 109
Registering function "phasor" at position 110
Registering function "pinknoise" at position 111
Registering function "port" at position 112
Registering function "pos" at position 113
Registering function "print" at position 114
Registering function "prop" at position 115
Registering function "ps" at position 116
Registering function "pset" at position 117
Registering function "psh" at position 118
Registering function "pshift" at position 119
Registering function "pst" at position 120
Registering function "rand" at position 121
Registering function "randh" at position 122
Registering function "randi" at position 123
Registering function "ref" at position 124
Registering function "render" at position 125
Registering function "reverse" at position 126
Registering function "revsc" at position 127
Registering function "rot" at position 128
Registering function "round" at position 129
Registering function "rpt" at position 130
Registering function "samphold" at position 131
Registering function "saturator" at position 132
Registering function "saw" at position 133
Registering function "say" at position 134
Registering function "scale" at position 135
Registering function "scrambler" at position 136
Registering function "set" at position 137
Registering function "setdurs" at position 138
Registering function "sget" at position 139
Registering function "sine" at position 140
Registering function "slick" at position 141
Registering function "smoothdelay" at position 142
Registering function "spa" at position 143
Registering function "sparec" at position 144
Registering function "square" at position 145
Registering function "sr" at position 146
Registering function "srand" at position 147
Registering function "sub" at position 148
Registering function "swap" at position 149
Registering function "switch" at position 150
Registering function "tadsr" at position 151
Registering function "talias" at position 152
Registering function "talkbox" at position 153
Registering function "tbldur" at position 154
Registering function "tblrec" at position 155
Registering function "tblsize" at position 156
Registering function "tdiv" at position 157
Registering function "tenv" at position 158
Registering function "tenv2" at position 159
Registering function "tenvx" at position 160
Registering function "tgate" at position 161
Registering function "tget" at position 162
Registering function "thresh" at position 163
Registering function "timer" at position 164
Registering function "tin" at position 165
Registering function "tick" at position 166
Registering function "tog" at position 167
Registering function "tphasor" at position 168
Registering function "tport" at position 169
Registering function "tprop" at position 170
Registering function "trand" at position 171
Registering function "triangle" at position 172
Registering function "tri" at position 173
Registering function "tseq" at position 174
Registering function "tseg" at position 175
Registering function "tset" at position 176
Registering function "var" at position 177
Registering function "varset" at position 178
Registering function "vdelay" at position 179
Registering function "voc" at position 180
Registering function "writecode" at position 181
Registering function "wpkorg35" at position 182
Registering function "zeros" at position 183
Registering function "zitarev" at position 184
Registering function "zrev" at position 185
440 0.2 sine
440 0.5 sine
440 is a float!
0.5 is a float!
sine is a function!
Executing function "sine" (id 138)
creating sine function...
It stops at creation but doesn't continue on to initialization. See lines
293-315 in Sporth/ugens/basic.c:
#ifdef DEBUG_MODE
plumber_print(pd,"creating sine function... \n");
#endif
data = malloc(sizeof(sporth_sine_d));
sp_osc_create(&data->osc);
sp_ftbl_create(pd->sp, &data->ft, 8192);
plumber_add_ugen(pd, SPORTH_SINE, data);
if(sporth_check_args(stack, "ff") != SPORTH_OK) {
plumber_print(pd, "returning error SPORTH_NOTOK\n");
return PLUMBER_NOTOK;
}
        amp = sporth_stack_pop_float(stack);
        freq = sporth_stack_pop_float(stack);
        sporth_stack_push_float(stack, 0);
        break;
    case PLUMBER_INIT:

#ifdef DEBUG_MODE
plumber_print(pd,"Initializing sine function... \n");
#endif
amp = sporth_stack_pop_float(stack);
freq = sporth_stack_pop_float(stack);
data = pd->last->ud;
Hope this is helpful.
S
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PaulBatchelor/Sporth/issues/1#issuecomment-828889290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6DE7KUQWLXZ6FFIPMTG6TTLC3IRANCNFSM43YB6BLQ
.

Ok that makes sense now. Thanks for clearing it up.
S


Use canonical identifiers for question and program translations

Description
UI for editing translations use specific question/program (QP) IDs, so that when the form is rendered and submitted it is with regard to a specific version of a QP. This could potentially cause data inconsistency issues if a user has browser pages open to stale versions of the question since the code to update a translation calls QuestionService#update which calls createOrUpdateDraft -- since the draft has a new ID, multiple drafts could be created this way.
This PR changes all IDs in URLs in the questions and programs translation UI to use the QP name, which is immutable across multiple versions, to ensure that the regardless of stale browser state, the server loads the current draft for the question or program, or throws a BadRequestException if no draft is available.
A possible follow up to this PR would be to create a draft is one does not exist yet for a better admin experience, but it should a rare occurrence  (only possible with stale browser state) given that the button to access the translation UI is only available after creating a new draft of the QP.
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release | database >
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)

Issue(s) this completes
Contributes to https://github.com/civiform/civiform/issues/5282

Are there any browser tests that need updating?

Are there any browser tests that need updating?

I don't think so -- there's browser test coverage of editing translations, so this is covered.


bug: compute node panicked at minstant time goes backward

Found this bug when benchmarking the nexmark materialized source on arm64 ec2 for 2 hours. Maybe a bug in minstant? cc @skyzh
thread 'tokio-runtime-worker' panicked at 'supplied instant is later than self', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/minstant-0.1.1/src/instant.rs:49:9
stack backtrace:
   0: rust_begin_unwind
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/core/src/panicking.rs:142:14
   2: core::panicking::panic_display
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/core/src/panicking.rs:72:5
   3: core::panicking::panic_str
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/core/src/panicking.rs:56:5
   4: core::option::expect_failed
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/core/src/option.rs:1874:5
   5: core::option::Option<T>::expect
             at ./home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/minstant-0.1.1/src/instant.rs:49:9
   6: minstant::instant::Instant::duration_since
             at ./home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/minstant-0.1.1/src/instant.rs:49:9
   7: <minstant::instant::Instant as core::ops::arith::Sub>::sub
             at ./home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/minstant-0.1.1/src/instant.rs:205:9
   8: minstant::instant::Instant::elapsed
             at ./home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/minstant-0.1.1/src/instant.rs:120:9
   9: risingwave_stream::executor::dispatch::DispatchExecutorInner::dispatch::{{closure}}
             at ./ebs/risingwave/src/stream/src/executor/dispatch.rs:85:29
  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at ./rustc/9067d5277d10f0f32a49ec9c125a33828e26a32b/library/core/src/future/mod.rs:91:19
  11: <async_stack_trace::StackTraced<F> as core::future::future::Future>::poll
  12: <futures_util::future::future::fuse::Fuse<Fut> as core::future::future::Future>::poll
             at ./home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.21/src/future/future/fuse.rs:86:37
  13: <risingwave_stream::executor::dispatch::DispatchExecutor as risingwave_stream::executor::StreamConsumer>::execute::{{closure}}
             at ./ebs/risingwave/src/stream/src/executor/dispatch.rs:272:22

BTW, have we tested how much minstant performs better than coarsetime?

ministant should fall back to something similar to coarsetime on arm64, as arm64 doesn't support TSO like x86 did. It would be okay to switch to coarsetime.

Also I guess this issue happens because the future is being run on another core than Instant::now is captured.


feat: add avoidKeyboardProps

issues: #674

@mmazzarolo Could you look at it for me and correct it for me

Hey @linxianxi, thanks for the PR !
Can you provide further informations about the type of props you want to pass ?
Furthermore, it looks like your styling differs from the one in use in the repo.


Suggestion: Javascript database instead mysql

Another suggestion: instead use mysql database, why not use a sql serverless JavaScript Database ?
https://github.com/kripken/sql.js/
http://www.forerunnerdb.com/
http://www.taffydb.com/
https://pouchdb.com/
http://lokijs.org/#/

Because that would mean you need to run SQL in the server, and the idea is that the server is very lightweight so it can run with any Apache + PHP + MySQL


[CCXDEV-8325] Adding OUIA  IDs

host ack modal enable button

Codecov Report

Merging #310 (9412cf9) into master (46e18c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #310   +/-   ##
=======================================
  Coverage   85.58%   85.58%
=======================================
  Files          24       24
  Lines         964      964
  Branches      349      349
=======================================
  Hits          825      825
  Misses        139      139

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 46e18c9...9412cf9. Read the comment docs.

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


update installation command

whenever I install @graphql-codegen/cli, it always prompts me to install @graphql-codegen/visitor-plugin-common, so I thought I'd add it to the installation command.

Thank you for the PR but we have removed that dependency already :)
So it should be fixed with this PR;
https://github.com/dotansimha/graphql-code-generator/pull/6555

Sounds good


redux form v6 Alpha questions

The main goal of redux form v6 was mainly the performance issues because of redux subscription point. I'm wondering if this problem is really solved in v6, i dont have a big form setup so I can't admit that.
For me v6 make some usecases a little bit difficult.
For example I want to mark a Tab in my form as red when some specific fields are invalid. Etc.
How do you experience the new architecture?
Beside that I really like redux-form thank you for your contributions!

@aight8 I believe you can make use of  _error which is form level error that you can define.
for more you can visit :- http://redux-form.com/6.0.0-alpha.4/docs/api/Props.md/

Yeah that's the generic form error I know that already. But I want to mark a specific tab when some fields under this tab are invalid. More generally: How can I determinate if one of some fields are invalid

@aight8 So , you are talking about something like multi page (Wizard form) , in that case yes there is a bug in v6. I have added the example and @erikras  has confirmed that as well here

Yes, the wizard form validation thing should be fixed tomorrow with a new alpha release.

@aight8 This should be fixed now , you can validate at http://redux-form.com/6.0.0-alpha.6/examples/wizard/
Let us know if you were looking for the same approach.

For example I want to mark a Tab in my form as red when some specific fields are invalid. Etc.

How do you experience the new architecture?

This is related to #841. I have an idea of how to manage this. I'll see what I can do in a day or two.

I also have a question about errors, it worked well with alpha5 but stopped in alpha6. I use redux-form to manage all of my form state, but I fire all the actions myself using redux-saga to control the flow.
In alpha5, I simply called: stopSubmit(formName, errors) with my errors object:
{
  field: 'error string'
}

and that worked fine for populating the error fields that look like this:
{props.error && {props.error}}

Now in alpha6 there is a setSubmitFailed action that takes a ...fields parameter, and I'm not sure how to populate my error fields anymore. Can we keep the original behavior of stopSubmit(formName, errors) while still allowing whatever new behavior is provided by setSubmitFailed?

If the new style is easier for internal use, do you think the publicly exported ones could be wrappers that use the original signatures? They are much more obvious to end users than a spread plus a few extra fields.

@anyong Is that not how they are exported? There's some trickery in createAll.js that should be adding the form and field params to the exported action creators.

Aha, I was missing the setSubmitFailed action from index.js so I just imported directly from actions and didn't get the createAll trickery.
I know you've been updating a lot so must have just missed that one ;)

Hi all!
How can I import change action creator  from redux-form v6.0.0-alpha.v7 ?
It seems that I have access to CHANGE action type, not to action creator...


'check' should accept hyphenated check names

(This is a very minor enhancement request.)
The nanoc command-line interface uniformly uses hyphens for multi-word commands and options (create-site, show-plugins, etc.). Names given to the check command, however, use underscores (external_links, internal_links, mixed_content), which is inconsistent with the rest of the command-line API and increases cognitive load since one has to remember when to use hyphens and when to use underscores.
Implementation details aside, it might be helpful for nanoc check to accept hyphenated names, as well. (Listing names in hyphenated, rather than underscore, form would be nice too.)

Definitely a good suggestion—I’m unsure why I initially decided to go with snake_case rather than kebab-case here.

Migrated to nanoc/features/issues/13


Added solution for Minimize the heights II(Python)

Hi @anomekumar08! May I know the reason for marking my PR as invalid?

Hi @anomekumar08! May I know the reason for marking my PR as invalid?

You were not assigned for this issue. @AkshayGidwani405

@anomekumar08 If you check your contribution guidelines, you will no where find that a contributor needs to get assigned to a issue before making a PR. If so it should be explicitly mentioned.

Ok..That's my fault..I am merging..


[FLOC-3885] generate and save managed config for a newly created cluster

This is useful for the easy re-use of the cluster nodes for a new cluster.
Along with managed.yaml we also now save a environment.env file that contains all the
environment variables needed for running acceptance tests on the cluster
(and potentially interacting with it in other useful ways).

LGTM. Please merge after addressing comments and making sure tests pass.


Add copyright text to all files in core-lro

We recently added the core-lro package, but missed adding the copyright text in the files.
This issue is to track the update to add the copyright text.

Whoever picks this up, just use the azure-sdk eslint plugin for this.


Short solution needed: "How to delete all docker images" (docker)

Please help us write most modern and shortest code solution for this issue:
How to delete all docker images (technology: docker)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to delete all docker images


RTL Text Support

Right to Left text is rendered in wrong order

I will consider this for a future release. Thanks for bringing it to my attention! Also, if you have an urgent need, please submit a pull request and I will review ASAP

I will wait your new release as my application targeting RTL languages as also LTR.
Thanks for your help, i will submit the pull request now.


Set mypy strict_optional = True

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Type of Change

[ ] Examples / docs / tutorials / contributors update
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Improvement (non-breaking change which improves an existing feature)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

closes #342

Codecov Report

Merging #381 (c9a9aba) into master (aa4dc9e) will decrease coverage by 35.82%.
The diff coverage is 21.12%.

@@             Coverage Diff             @@
##           master     #381       +/-   ##
===========================================
- Coverage   87.47%   51.65%   -35.83%
===========================================
  Files          97       98        +1
  Lines        4736     4962      +226
===========================================
- Hits         4143     2563     -1580
- Misses        593     2399     +1806

Impacted Files
Coverage Δ

etna/clustering/distances/distance_matrix.py
33.84% <0.00%> (-59.60%)
:arrow_down:

etna/models/sarimax.py
43.33% <0.00%> (-52.62%)
:arrow_down:

etna/pipeline/autoregressive_pipeline.py
30.43% <0.00%> (-69.57%)
:arrow_down:

etna/transforms/change_points_trend.py
30.00% <0.00%> (-70.00%)
:arrow_down:

etna/transforms/filter.py
28.57% <0.00%> (-71.43%)
:arrow_down:

etna/transforms/gale_shapley.py
35.97% <0.00%> (-64.03%)
:arrow_down:

etna/transforms/outliers.py
68.13% <0.00%> (-30.70%)
:arrow_down:

etna/transforms/special_days.py
27.38% <0.00%> (-71.37%)
:arrow_down:

etna/transforms/statistics.py
27.04% <0.00%> (-72.12%)
:arrow_down:

etna/transforms/stl.py
30.64% <0.00%> (-62.46%)
:arrow_down:

... and 81 more

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 aa4dc9e...c9a9aba. Read the comment docs.


prove_test: Check error returned by Undo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.393%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2034

Relevant Lines:
2499

💛  - Coveralls


Update custom errors README.md

🆙

:tada: This PR is included in version 1.16.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TextBox borders disappears on focus

MahApps.Metro v<IP_ADDRESS>
Windows OS 10
Visual Studio 2017
.NET Framework 4.5.1
When I click on the textbox, then it has lost borders. When you hover the mouse, the same thing happens.

Close this issue. Problem is not in the library


Thorium has slow responsiveness when installed as an Appimage on Linux Ubuntu

I installed the Appimage on my system and launched. Any kind of interaction from clicking on buttons, accessing menus, scrolling or navigating an ePub, takes a good 5-10 seconds, the program is very sluggish and I don't know why.
My Operating System:
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

Yes, the issue is documented there: Thorium does not work on some versions of Linux distributions #2519

Hello, Thorium is packaged automatically by Electron Builder to distribute on Windows, Linux, Mac OS. I expect that as we update the build process software dependencies, Thorium will automatically benefit from the latest and greatest tech available.

Originally posted by @danielweck in https://github.com/edrlab/thorium-reader/issues/2519#issuecomment-2407243120


mat-radio-button disable don't work

Bug, feature request, or proposal:
BUG
What is the expected behavior?
When set the attribute "disable" this to be disabled and is ok.
What is the current behavior?
The (click) event works whit the radio disabled
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-cydwd3
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.1.0, Material 6.4.2 and 7.0.1, Typescript 2.7.2, All browsers

The 'click' event shouldn't fire on a disabled input only if we're talking about native input elements.
Since <mat-radio-button> is not a native input element, when you set the click listener on it you're actually listening for a click on <mat-radio-button> itself, which is doable and there's nothing that can be done to prevent the 'click' event from firing from inside.
Therefore, you should use the 'change' event to listen for a value change, or you could fire the desired function only if the input isn't disabled:
(click)="!isDisabled && onClick()"

@UserGalileo is correct. Another workaround can be to set pointer-events: none on the disabled radio buttons. Closing since there isn't much we can do about it.

@UserGalileo is correct. Another workaround can be to set pointer-events: none on the disabled radio buttons. Closing since there isn't much we can do about it.

Ok is closed. For me to be set one property when passing a boolean value and disable the radio. How the  attribute.


Update to 0.3.0 and add myself as maintainer

Latest version updated v.0.3.0

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.

Sorry for the double PR (this one and the automated one).
I'm not sure if it's mandatory to add myself to the .github/CODEOWNERS, but I prefer to not do it.
Thanks in advance and have a nice day!


typo fixed in main

since this branch is out of date with the main branch, can you update your current branch before I review and merge?

updated. thanks


Could we open source the project based on Netopeer2?

Hi guys,
We have developed a project based on Netopeer2, and want to upstream it to a community with Apache 2.0 License.  Is this ok for us to do so?
Thanks,
Hongjun

Short answer is yes. If you're interested in details and/or if you're actually modifying the Netopeer2 itself, you shoud read its very short license for a list of requirements that you have to do.

Thank you Jan.
Yes, we will follow all the requirements in the license.

Hi Jan,
We want to open source a project, which name is Sweetcomb. And we will mention in its introduction that this project leverages Netopeer2 project.  Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on Netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun

Hi Jan,
We want to open source a project named Sweetcomb, which is developed on netopeer2 project. We will mention in its introduction that this project leverages Netopeer2 project. Do we need your prior written permission as per Netopeer2 License?
Thanks a lot,
Hongjun


[Fix #12731] Treat csend the same way as send for setter methods

In order to detect code like if test&.method = 10 we need to find not only send nodes but also csend nodes.

Thanks!


Change the granularity of Last Seen fields

This resolves https://github.com/CodeChain-io/codechain-explorer/issues/85

@joojis I've changed my commit according to your suggestions.


JS -> TS sourcemaps aren't working for me when debugging tests

I created the following launch.json to try get debugging working on xterm.js' tests:
{
  // Use IntelliSense to learn about possible Node.js debug attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Mocha Tests",
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha.cmd"
      },
      "runtimeArgs": [
        "--colors",
        "--recursive",
        "${workspaceRoot}/lib"
      ],
      "sourceMaps": true,
      "internalConsoleOptions": "openOnSessionStart"
    }
  ]
}

While debugging works I cannot put breakpoints on the source TS files, I have to put them on the JS files at which point the TS files are hit. Breakpoints on the TS files look like this:

Which tells me there could be a sourcemap problem but I don't know how to fix it  This is how the sourcemaps link to the TS file:
{"version":3,"sources":["../src/Viewport.ts"]

The project is laid out like this:
src/Viewport.ts
src/Viewport.test.ts
Which compiles to:
lib/Viewport.js
lib/Viewport.test.js

@Tyriar you have to tell node-debug where the generated JavaScript files live.
Just add this glob pattern to your launch config (after the sourceMaps attribute):
"outFiles": [ "${workspaceRoot}/lib/**/*.js" ]

Thanks @weinand


Stale comment about ::

https://github.com/lima-vm/lima/blob/3ff1a15530f5f4b5ce9eb98600c72ea00fd914c6/pkg/guestagent/api/api.go#L26

{"level":"debug","msg":"guest agent event: {Time:2022-02-24 11:34:59.035917781 +0000 UTC LocalPortsAdded:[{IP::: Port:10250} {IP::: Port:6443} {IP::: Port:22} {IP:<IP_ADDRESS> Port:43939} {IP:<IP_ADDRESS> Port:31174} {IP:<IP_ADDRESS> Port:10248} {IP:<IP_ADDRESS> Port:10249} {IP:<IP_ADDRESS> Port:10251} {IP:<IP_ADDRESS> Port:10252} {IP:<IP_ADDRESS> Port:6444} {IP:<IP_ADDRESS> Port:10256} {IP:<IP_ADDRESS> Port:32433} {IP:<IP_ADDRESS> Port:10258} {IP:<IP_ADDRESS> Port:22} {IP:<IP_ADDRESS> Port:80} {IP:<IP_ADDRESS> Port:443}] LocalPortsRemoved:[] Errors:[]}","time":"2022-02-24T06:34:59-05:00"}

I wanted to file this bug to complain about IP::: -- It'd be really helpful if : as a label and :: as an IPv6 address weren't pasted together.

This is just the way the Go fmt package dumps a struct with the %+v format:
https://github.com/lima-vm/lima/blob/01ce318b113b88196ad4862278fdb9876cb03cc8/pkg/hostagent/hostagent.go#L489
Given that this is just a debugging log message, I'm unconvinced that it is worth the effort to make it prettier.

Can I convince you that the comment itself is wrong? It says in future, but it seems pretty clear that the future is now.

the future is now

Maybe. I think the IPv6 support is not really working, which is why we disable IPv6 lookup in the host resolver by default). So the comment may be incorrect, in that IPv6 addresses can show up now, but fixing the comment may be the smallest part of the issue. Unfortunately I can't even think about this right now, but will leave the bug open as a reminder.


made the backend protocol a variable instead of hardcoding to HTTP

Default value is still HTTP

I signed it!

LGTM, thank you!


KAFKA-4523; Fix crash at shutdown due to the group coordinator attemp…

…ting to write to a closed log.
Solution: shut down the group manager before shutting down the log manager to ensure that any delayed operations are done.

Thanks for the PR, this makes sense to me. @hachikuji, does this seem OK to you too?

Yes, LGTM. Thanks for the patch!

hmm, looks like jenkins jammed up here, as well as what looks like a spurious break on 2.12.  Is there a way I can re-kick it?


#134249267 houndci setup

What does this PR do?
Integration of HoundCI setup
Description of Task to be completed?
HoundCI is setup to ensure validation of code style.
How should this be manually tested?
N/A
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#134249267 Integrate HoundCI with Badge attached to readme
Screenshots (if appropriate)
N/A
Questions:
N/A

Specify all the packages that helped you implement HoundCI

can see build failed because of the rake file, did you reference any rakefile.rb in your hound integration, you also used some ruby integrations, are there no javascript equivalents? see below travis log
0.15s$ rvm use default
Using /home/travis/.rvm/gems/ruby-1.9.3-p551
$ ruby --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
$ bundle --version
Bundler version 1.7.6
$ gem --version
2.4.5
0.11s$ rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in eval' /home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in '
(See full trace by running task with --trace)


Add batch next for TopKOperator

Description
Read batch operators in next method of TopKOperator

Codecov Report

Merging #11340 (d6ca9a7) into master (37a5212) will increase coverage by 0.06%.
Report is 13 commits behind head on master.
The diff coverage is 90.47%.

@@             Coverage Diff              @@
##             master   #11340      +/-   ##
============================================
+ Coverage     48.66%   48.72%   +0.06%
- Complexity    24307    24375      +68
============================================
  Files          2801     2801
  Lines        171652   171861     +209
  Branches      20514    20583      +69
============================================
+ Hits          83526    83731     +205
- Misses        88126    88130       +4

Files
Coverage Δ

...ueryengine/plan/planner/OperatorTreeGenerator.java
30.59% <100.00%> (+3.19%)
:arrow_up:

...ngine/execution/operator/process/TopKOperator.java
75.49% <90.32%> (+1.27%)
:arrow_up:

... and 44 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Can't Leave The Organisation - Sign-In Blocked

When I try to "leave organisation" - I have an error that the account 'sign-in is blocked'.    Was by the previous admin, who blocked login.
So - I can't login - and thus can't LEAVE...
Is there a way to just 'delete from MY list of directories ??

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

ID: b448cfd0-b673-7d04-047b-71aa62bebc27
Version Independent ID: 75118bff-94de-c9f9-7666-d2a6f4253b11
Content: Leave an organization as a guest user - Azure Active Directory
Content Source: articles/active-directory/external-identities/leave-the-organization.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@kachihro Thanks for reaching out. We will investigate and update the thread accordingly.

Not today, the only option currently is to speak with the admin of the directory you're guested into and have them remove you. We are looking into making improvements to the leave org experience to account for this.

@kachihro , Hope above information help you.
#please-close


ion-img scaling incorrectly in iOS

Short description of the problem:
When displaying an image using an img-src the image does not scale correctly, fills the desired width but not the desired height. This was tested on an iPad Air 2.
What behavior are you expecting?
The img-src tag to scale the same way that the img tag scales.
Steps to reproduce:

Display image with ion-img in ion-col.

<ion-content padding>

  <ion-row>
    <ion-col width-50 offset-25>
      <!-- img tag scales as expected -->
      <img src="http://placehold.it/800x350"/>

      <!-- ion-img tag does not scale as expected -->
      <ion-img src="http://placehold.it/800x350"></ion-img>

    </ion-col>
  </ion-row>

  <form>

      <ion-item>
        <ion-label floating>Field 1</ion-label>
        <ion-input type="text" value=""></ion-input>
      </ion-item>

      <ion-item>
        <ion-label floating>Field 2</ion-label>
        <ion-input type="text" value=""></ion-input>
      </ion-item>

      <ion-item>
        <ion-label floating>Field 3</ion-label>
        <ion-input type="password" value=""></ion-input>
      </ion-item>

    <div padding>
      <button type="submit" block primary>Button</button>
    </div>

  </form>

</ion-content>

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Samsung Galaxy Tab A - Screenshot
iPad Air 2 - Screenshot
This was built using for the iPad using Ionic Package.
Which Ionic Version?
2.x
Plunker that shows an example of your issue
Setup of code, however doesn't show issues as it's specific to iOS.
http://plnkr.co/edit/gRDbSDBdh2HBOsuqqi0s?p=preview
Run ionic info from terminal/cmd prompt: (paste output below)
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10-201607151701
Ionic CLI Version: 2.0.0-beta.35
Ionic App Lib Version: 2.0.0-beta.19
OS: Windows 8.1
Node Version: v5.12.0

Hello, thanks for opening an issue with us! At this time ion-img is only meant to be used with virtual scroll so for your use case you should just use the regular img tag. Thanks for using Ionic!

Can we get some notes on the component docs to indicate that?

ion-img sets min-height: 100% for img tag inside.
To fix improper image height when using ion-img, try add following custom css
<ion-img class="expanded-image" alt="Loading" [src]="imageUrl"></ion-img>

.expanded-image img {
  min-height: initial;
}


account.verifyMessage() is not working with last Braavos account contract

Describe the bug
Normally, all account contracts should be conform to SNIP-6 about verification of message.
In fact it's not the case : some accounts are not using the right function name, some other are not providing the right response in case of success. And as SNIP-6 isn't defining a standard response in case of non success, everybody is responding his own way.
Here was the situation one month ago :

account contract
camel case function name
snake case function name
response if success
response if fail

Braavos <= 0.0.11
x
x
0x01
Reverted, without specific message

ArgentX <= 0.3.0
x
x
0x01
Reverted, with "argent/invalid-signature" message

OpenZeppelin <= 0.6.1
x

"VALID"
0x00

OpenZeppelin 0.7.0-0.8.0
x
x
"VALID"
0x00

To handle all these account contracts, issue #858 and PR #895 have been created and implemented.
As the camel case function name isValidSignature is the only one common to all contracts, it has been used in Starknet.js
Recently, 3 new account contracts have been released :

Braavos v1.0.0
ArgentX v0.3.1
OpenZeppelin v0.9.0

Now the situation is the following :

account contract
camel case function name
snake case function name
response if success
response if fail

Braavos <= 0.0.11
x
x
0x01
Reverted, without specific message

Braavos 1.0.0

x
"VALID"
Reverted, with "INVALID_SIG" message

ArgentX <= 0.3.1
x
x
0x01
Reverted, with "argent/invalid-signature" message

OpenZeppelin <= 0.6.1
x

"VALID"
0x00

OpenZeppelin 0.7.0-0.9.0
x
x
"VALID"
0x00

There is no more 100% of account contracts that handles camel case function name, so the new Braavos contract is throwing an error, complaining that the function name is unknown.
To Reproduce
This code will fail :
const signatureBR = await BRaccount.signMessage(typedMessage) as WeierstrassSignatureType;
console.log("BR signature = \n",num.toHex(signatureBR.r),"\n",num.toHex(signatureBR.s));
const resBR = await BRaccount.verifyMessage(typedMessage, signatureBR);

with this error :
Custom Hint Error: Entry point EntryPointSelector(StarkFelt(\"0x0213dfe25e2ca309c4d615a09cfc95fdb2fc7dc73fbcad12c450fe93b1f2ff9e\")) not found in contract.

Expected behavior
Is expected an account.verifyMessage() method that is working with all major account contracts.
Desktop (please complete the following information):

Browser & version [e.g. chrome, safari, webworker] N/A
Node version [e.g. 16.0.1] N/A
Starknet.js version v6.1.4
Network [devnet, testnet] any

Additional context
2 possibilities identified :

switch to snake case function name, and loose the compatibility with OZ contract <=0.6.1, that is used in starknet-devnet.
keep the full compatibility with all contracts ; it will be necessary to verify which case naming  is using the current Account instance.

I am working on a solution for the second solution.

I have something operational with all versions of OpenZeppelin, Argent X & Braavos accounts.
I will propose a PR tomorrow.


Proposal: Log if a header cannot be parsed into a HashWithIndifferentAccess

Hi,
sending anything that is valid JSON but will not result in a Hash (e.g. "1", "test", []) in at least the X-Up-Context and X-Up-Fail-Context headers leads to exceptions. These exceptions are mostly generated by security-scanners, similar to #3.
Since for the resolution of #3 we decided to log instead of raising out, I'd suggest to handle such a case similiarly. This would reduce the noise generated by such scanners.
Example:
get "/some-unpoly-rails-route", headers: { "X-Up-Fail-Context" => '"somesnippet"' }
get "/some-unpoly-rails-route", headers: { "X-Up-Fail-Context" => '42' }

Backtrace:
Unpoly::Rails::Error:
       Constructor args must be an ActiveSupport::HashWithIndifferentaccess
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change/context.rb:73:in `ensure_indifferent_access'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change/context.rb:12:in `initialize'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change.rb:192:in `new'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change.rb:192:in `context'
     # (eval):16:in `context'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change.rb:200:in `context_changes'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change.rb:260:in `block in after_action'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change/field_definition.rb:28:in `no_vary'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/change.rb:254:in `after_action'
     # .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/unpoly-rails-3.7.2/lib/unpoly/rails/controller.rb:12:in `block in prepended'

Released as <IP_ADDRESS>.


Disable sideframe resizing

sideframe always 90% of the screen except when on screens with width < 768px
sideframe is no longer resizable

video:
http://d.pr/v/1iHGw

LGTM

Coverage decreased (-0.03%) to 87.814% when pulling 5b9a99ed472706e77e8b511bfdf0c66f401c9efe on vxsx:feature/disable-sideframe-resizing into e867c2c8ec4a427d3ab8ad3b81e7a33ace6d4aeb on divio:develop.


Is there any build in support for differentiation of metrics collected from different service nodes?

I'm using graphite to store metrics and I want to be able to differentiate metrics that came from different service nodes and different environment.
For example:
production.service.node_1.cpu
production.service.node_2.cpu
staging.service.node_1.cpu

Am I correct that the best way to do so is to set <add key="Metrics.GlobalContextName" value="production.service"/> in config file and identify machine within the code? Like this:
var machine = RoleEnvironment.IsAvailable ?
        RoleEnvironment.DeploymentId : Environment.MachineName;
var meter = Metric.Context(machine).Meter("requests", Unit.Requests);

You can also use tags.

Is there anyway to programmatically do the .Context("servicename").  thing on global level ?
ie not via messing with the  config ?
I'd rather have the effect every where than to have to initialize each Timer with that long builder and possibly have them get out of sync.

A bit hacky, but this is what I did:
string root = System.Configuration.ConfigurationManager.AppSettings["Metrics.GlobalContextName"];
System.Configuration.ConfigurationManager.AppSettings["Metrics.GlobalContextName"] = root + "." + Environment.MachineName;

and it more or less seems to work.


Small change to resource manager settings

Fixes #4212
Summary

Added keys to resource file, and code to retrieve localized values.

I mean, it looked fine but Localization is not existing in context here, probably need to test this one better

Changes were requested to this PR that have not yet been addressed, we are going to close this PR at this time.
Feel free to correct the requested items and you can re-open or re-submit it.


Fix array multi file upload

Fixed an issue when testing multiple files with a form element like
<input type="file" name="files[]" multiple="multiple"></input>

using
// attach file to multiple file element and submit
$this->visit( route( 'page.form' ) )
            ->attach( [$pathToFile] , 'images[]')
            ->press('Submit')
            ->seePageIs( route('page') );

An error was thrown because the Form::getFile() method returned an array representing the file which never got converted to a UploadFile.
The fix converts all files to an instance of UploadFile with the test attribute set to true, unless the array returned by Form::getFile() has UPLOAD_ERR_NO_FILE as its error.

@themsaid can you review and test this?

@taylorotwell sure thing

@pulasthibandara I can't find any issue testing:
$this->visit('/')
    ->attach( [base_path('.env')] , 'files[]')
    ->press('Submit');

<form action="" enctype="multipart/form-data">
    <input type="file" name="files[]" multiple="multiple">
    <input type="submit" value="Submit">
</form>

An error was thrown because...

Please share what error.

Hi @themsaid,
Sorry for not elaborating properly.
It only fails if there's a validation in the controller like
public function controllerMethod (Request $request)
{
   $this->validate( $request, [
      'files[]' => 'image',
   ] );
}

The validation fails because the test property of the UploadFile instance passed with the request doesn't get set to true.
Therefore since is_uploaded_file in UploadFile::isValid() returns false, isValid() returns a false.
    //UploadFile::isValid()
    /**
     * Returns whether the file was uploaded successfully.
     *
     * @return bool True if the file has been uploaded with HTTP and no error occurred
     */
    public function isValid()
    {
        $isOk = $this->error === UPLOAD_ERR_OK;

        return $this->test ? $isOk : $isOk && is_uploaded_file($this->getPathname());
    }

This validation is not valid 'files[]' => 'image', it should be 'files.*' => 'image'.
I think your fix works though, it solves the problem with Symfony giving names to file uploaded in a multiple-upload input literal names files[0], files[1].

So what is the status of this?

@taylorotwell it's hard to tell since there are a lot of issues regarding testing multiple file uploads via form input, my testing says this PR is a fix but I'm not sure if it might break other cases.

This needs to be sent to 5.4 branch.


Fix/14 html in js

Fixes #14

explorer.ts and navigation-bar.ts haven't changed completely. I only moved the rendering part to the bottom to try it out, and put all functions inside the Component function and used h


WIP:add documentation

Suitable for display at mapzen.com/documentation:

index.md - This is where all the good stuff is.
use-service.md - Request elevation tiles via several URL endpoints.
api-keys-and-rate-limits.md - Don't ruin a good thing.
build-a-map.md - Display elevation tiles in a map in Tangram and render desktop hillshades with GDAL.
formats.md - Four different formats and file types.
data-sources.md - Where does Mapzen's data come from?
attribution.md - Giving credit where credit is due, and the data licence requires it.

Mentioning @zerebubuth comment https://github.com/tilezen/joerd/pull/90#discussion_r75897774 about the best place for documentation and example scripts to live here.
Looking at the docs generator code, half of Mapzen's docs are in src code repos as a docs dir, but the other half are in their own specialized documentation repo.
A vote in favor of docs directories within the src code repo pattern is Github.com officially blessing that approach with easier GH Pages creation (link). It's certainly easier to find the docs within the repo versus finding a sister repo.
One idea Rhonda has floated is writing the src code docs generically as Tilezen or Joerd, and then substituting that text as part of the mapzen.com doc gen process to say Mapzen Vector Tiles and Mapzen Elevation Tiles. But that isn't wired up yet (and there are edge cases to consider). The Product team is experimenting with how to better work this with Pelias.
Until that's sorted out I prefer the docs live inside the src code repo (this repo) in a docs/ directory.

I went ahead and moved the script to docs/examples/collect.py.

Merging mine and Migurski's so Katie's PR has cleaner history.


added Will's changes-feed-epoch idea - fixes issue #112

Implemented issue #112. If _changes?since=0 is accessed, and we know the sequence number of the database when the user user was created, use that sequence number instead.

+1


Sort third party client library links

This is a Bug Report

Problem:
Client Libraries lists 3rd party software. Kubernetes docs allow content for third-party projects only when:

Content documents software in the Kubernetes project
Content documents software that’s out of project but necessary for Kubernetes to function
Content is canonical on kubernetes.io, or links to canonical content elsewhere

Proposed Solution:
~Remove links to 3rd party client libraries~
Sort list alphabetically
Page to Update:
https://kubernetes.io/docs/reference/using-api/client-libraries/
Additional Information:
Part of umbrella issue #20232
/language en

There was some discussion in https://github.com/kubernetes/website/pull/21509 about this.
What was the outcome?

This is also relevant to https://github.com/kubernetes/website/pull/21112

We discussed this in the 2020-06-23 SIG Docs weekly meeting.
@jimangel proposed flagging the third party client libraries with an added cautionary note about quality.
@sftim recommended ensuring that all client projects within https://github.com/kubernetes-client are linked to
@zacharysarah notes that this is strictly content as outside what's allowed in the content guide but that it is useful to a wide user base
@jimangel also points out that client libraries in general (whether in-project or otherwise) are useful to make Kubernetes work as you want it to?
This content is unique (there's not a good alternative page elsewhere on the web). What's important is to identifying an owning SIG and having some means to keep the list live and relevant.
Removal is held until the end of the v1.19 release cycle, so positive discussion before that date is helpful and I encourage it.
/sig community
/sig api-machinery
@mrbobbytables we are conflicted about where to put this; we're not sure it fits inside documentation any more - would SIG Community be interested in hosting this list?
@kubernetes/sig-api-machinery-misc what are your views on this list, in light of doc-policies-for-third-party-content

Raised visibility in #sig-api-machinery

@sftim recommended ensuring that all client projects within https://github.com/kubernetes-client are linked to

sadly some projects under the org is not actively maintained. those libraries (go/java/python/dotnet/js) already linked are fairly active. can we consider to append a new link for C/C++  https://github.com/kubernetes-client/c which is newly added & active months ago?

@kubernetes/sig-api-machinery-misc what are your views on this list, in light of doc-policies-for-third-party-content

i wonder if the community-maintained list is stale b/c it seems rarely updated. also i noticed there's a number of repos stopped maintaining for 1-2 years or even longer period of time:

https://github.com/xh4/cube
https://github.com/ericchiang/k8s
https://github.com/yanatan16/clj-kubernetes-api
https://github.com/ajpauwels/easy-k8s
https://github.com/tonnyeremin/kubernetes_gen
https://github.com/Ch00k/kubr

am slighting leaning on keeping the community list as most of these projects are driven by individuals instead of dedicated vendors -- the more we have the better? @brendandburns

@sftim, Should this issue remain open? Thanks!

I can see one thing that still needs doing
/retitle Sort third party client library links
so the link text is clearly in alphabetical order.

/remove-lifecycle stale

The remaining sorting is straightforward; if it weren't for the issue history I'd say it's a good first issue.
/help
/kind cleanup

The remaining sorting is straightforward; if it weren't for the issue history I'd say it's a good first issue.
/help
/kind cleanup


Revert "some changes to support fine-tuning on Intel GPU (#88)"

Reverts intel/llm-on-ray#88 as CI failed when merged. @harborn pls check.

I will submit another PR to fix proxy.

https://github.com/intel/llm-on-ray/pull/97


update cube_semantic.py

changed condition to  "continue" only if type == view or else get the cube,measure and dimension values from dict

Description: changed condition to  "continue" only if type == view or else get the cube,measure and dimension values
from dictionary,
Issue: the issue was that the condition type!=view will meet the condition and skip all iterations because of the "continue" thus not extracting cube_name,dimension and measures from the cube iterator,
Dependencies: no dependencies,
Tag maintainer: @rlancemartin, @eyurtsev,
Twitter handle: I am fine without any mention haha.

If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->

Can you please let me know if I should include anything else?

so was original implementation a bug?
not familiar with cube, but based on unit tests it seems like this was intended behavior (to only load when type is "view")

@kunalvexpa Hi , could you, please, resolve the merging issues and address the last comments (if needed)? After that, ping me and I push this PR for the review. Thanks!
If this PR is not needed anymore, could you, please, let me know or close this PR?

Closing because the PR wouldn't line up with the current directory structure of the library (would need to be in /libs/langchain/langchain instead of /langchain). Feel free to reopen against the current head if it's still relevant!


physical units

Use physical units instead of things like "steps" whenever they are available. Please check all notebooks for that.

OK, let's organize this a bit with a checklist:

[ ] 01-data-io-and-featurisation
[ ] 02-dimension-reduction-and-discretisation
[ ] 03-msm-estimation-and-validation
[ ] 04-msm-coarse-graining-and-analysis
[ ] 05-hidden-markov-state-models
[ ] 06-expectations-and-observables
[ ] 07-vamp-based-feature-selection
[ ] 08-common-problems

What is the discrete time step in di-ala and pentapeptide though?

It's 1ps for di-ala and 100ps for the  pentapeptide.


Proper way to configure meteor + babel 7 + typescript + react

Hello, what is the proper way to configure meteor + babel 7 + typescript + react step by step?

The React piece is currently broken - I'm working on a fix.

React should be working now - I was able to run a React hello world example. I was working in another issue repo though so I don't have a step-by-step example yet.


Get https://storage.googleapis.com/tilt-static-assets/v0.10.24/index.html: dial tcp [::1]:443: connect: connection refused

I am seeing following message in the browser when starting Tilt:
Get https://storage.googleapis.com/tilt-static-assets/v0.10.24/index.html: dial tcp [::1]:443: connect: connection refused

Any ideas why?

Sorry you're running into this issue! Can you navigate to that url in your browser? (The page will be blank, but will have a Tilt favicon.) Is it possible that it's being blocked by a firewall or something similar? (See also: #2608)

@maiamcc,
https://storage.googleapis.com/tilt-static-assets/v0.10.24/index.html shows me Can't connect to the server error. I will later check it at home to figure out if it is a firewall issue or not.

I'm going to mark this as a duplicate of #2608 , about serving the web assets from offline. thanks for the report!


Monitor Rework

As announced in https://github.com/pegnet/pegnet/issues/65, I've reworked the monitor.
There is now a singleton monitor that you can access via common.GetMonitor() which initializes and starts the thing. It is possible to start other monitors if you so choose and they won't interfere with each other, but you will have to do it manually.
The giant, confusing loop has been split up into a couple different function calls that should hopefully clear up the functionality and make it easier to test.
There was a bug in the old code that prevented proper error management:
https://github.com/pegnet/pegnet/blob/ac613a753089add39ac7414b5fe4156834133e37/common/monitor.go#L79-L91
This loop polled factomd node for ~75 seconds, after which it exited with f.info = nil. The code immediately afterward accesses f.info.DirectoryBlockHeight, which results in a nil-pointer panic.
I reworked the error management system so the monitor has a timeout, after which it sends the error to the timeout listener. The monitor will continue to keep going and continue throwing errors every specified timeout. At the moment, there is an error listener in Miner.go that panics when an error occurs (since it usually means the node is down). If the Timeout is zero, every error is reported.
I also wasn't sure whether to allow rollbacks of heights, which can happen if the underlying factomd node is swapped out at runtime to a node with a lower height. At the moment, it reports all events that are at equal or higher blockheight and don't allow rollbacks. If the endpoint is restarted, the blockheight is the same and the minute rolls back to 0, which is allowed.
I also renamed a bunch of stuff and removed unnecessary info. If there's a need to ever stop and restart the monitor while the node is running, I can re-add that functionality.

@WhoSoup this is looking great.
Backoff was introduced and implemented here
https://github.com/pegnet/pegnet/pull/66
Do you think we can reuse backoff more, in this case
https://github.com/pegnet/pegnet/blob/ac613a753089add39ac7414b5fe4156834133e37/common/monitor.go#L79-L91
would be a good fit?

Do you think we can reuse backoff more, in this case

I added exponential backoff to the bit that queries factomd for the minute, which helped clear up readability for the wait loop. I'm not sure how beneficial the backoff is in this case, however. It only takes effect when the connection to the node breaks, for which it seems Golang already has a 3 second connection timeout. Right now it starts at 3 seconds and then gradually slows down to 10 seconds if it can't find a connection.


Nested drag & useDragControls conflicts with Dragable.Item custom handle

1. Read the FAQs 👇
Done.
2. Describe the bug
I want to use custom drag handles with DragableItem. My list is inside an interactive modal that uses "useDragControls" to handle another gesture. When the parent container has drag="x" dragControls={dragControls} set, the handles do not activate. I assume because of a conflict with useDragControls.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/nested-usedragcontrols-bug-6dk38m
4. Steps to reproduce
Steps to reproduce the behavior:

Open sandbox
Use red squares to re-order the list

5. Expected behavior
To be able to combine a dragable list with custom drag handles within another component that has utilizes useDragControls
6. Video or screenshots
If applicable, add a video or screenshots to help explain the bug.
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
FAQs
React Server Components "use client" error
If you're importing motion or m into a React Server Component environment, ensure you're importing from motion/react-client instead of motion/react.
import * as motion from "motion/react-client"
import * as m from "framer-motion/react-m"

Motion for React won't install
Different versions of Motion for React are compatible with different versions of React.
React 19<EMAIL_ADDRESS>or higher
React 18<EMAIL_ADDRESS>to<EMAIL_ADDRESS>or motion
React 17<EMAIL_ADDRESS>or lower
height: "auto" is jumping
Animating to/from auto requires measuring the DOM. There's no perfect way to do this and if you have also applied padding to the same element, these measurements might be wrong.
The recommended solution is to move padding to a child element. See this issue for the full discussion.
Preact isn't working
Motion for React isn't compatible with Preact.
AnimatePresence isn't working
Have all of its immediate children got a unique key prop that remains the same for that component every render?
// Bad: The index could be given to a different component if the order of items changes
<AnimatePresence>
    {items.map((item, index) => (
        <Component key={index} />
    ))}
</AnimatePresence>

// Good: The item ID is unique to each component
<AnimatePresence>
    {items.map((item, index) => (
        <Component key={item.id} />
    ))}
</AnimatePresence>

Is the AnimatePresence correctly outside of the controlling conditional? AnimatePresence must be rendered whenever you expect an exit animation to run - it can't do so if it's unmounted!
// Bad: AnimatePresence is unmounted - exit animations won't run
{
    isVisible && (
        <AnimatePresence>
            <Component />
        </AnimatePresence>
    )
}

// Good: Only the children are unmounted - exit animations will run
<AnimatePresence>{isVisible && <Component />}</AnimatePresence>

I resolved this by adding dragListener=true on the parent but managing pointerEvents for the main content & the handle.
 <Reorder.Item
      id={item}
      key={item}
      value={item}
      drag
      **style={{ pointerEvents: "none" }}**
      **dragListener={true}**
      dragControls={dragControls}
    >
      {item}

 {
          dragControls.start(e);
        }}
        **style={{ pointerEvents: "auto" }}**
      >

    </Reorder.Item>


Fix typo in FingerprintTrustManagerFactory docs

AUTOMATED MESSAGE for ADMINS:Please verify and accept the pull request.To accept, say @netkins acceptTo build again, say @netkins buildTo whitelist the author, say @netkins whitelist

@netkins build

@robinst lol thanks! This quite changes the meaning to the correct one :D

:facepalm:

@trustin lol

Cherry-picked into 4.0 (214e889937ac6c7699190d3aef106747a81ccdbb) , 4.1 (9bf636076a57aa3c58e6ca7a4a465bb0268d944a) and master (70a4ad0c25158929012ab43462e6228021637897)
@robinst thanks!

No worries :). Could also have added "if this sentence confused you, then don't use this in production" ;).


fixed syntax based on shellcheck (#27)

Fixed issues reported by shellcheck (https://github.com/koalaman/shellcheck/wiki) to improve security and POSIX shell interoperability.
(part of https://github.com/cloudflare/flan/issues/27)

rebased branch

rebased branch to latest master


Interpret directive option 'class'

Resolves #302

@wouterj this should solve your testcase in https://github.com/phpDocumentor/guides/issues/302


Feature request: Add support for AWS S3 IAM role based authentication

Similar to issue 66 (using managed identities for Azure), I would love to see support for IAM role based authentication for AWS, since using long term credentials are not an option in certain environments.

I think all that is needed is to add a new constructor in AWSStorage,cs, that takes InstanceProfileAWSCredentials as input parameter.

https://github.com/managedcode/Storage/releases/tag/2.1.20


fix: memo skipProject() shouldn't skip NotEliminated project

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.59 seconds
stream load tsv:          443 seconds loaded<PHONE_NUMBER>9 Bytes, about 161 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.5 seconds inserted 10000000 Rows, about 392K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525085328_clickbench_pr_150346.html