Poolboy worker blocks poolboy to start connection if lazy: false

Starting connection in worker's init/1 blocks poolboy while the connection is started. If the connection attempts to connect during start this will block poolboy.
The following adapters always block:

mysql
tds

The following adapters don't block by default but can be configured to block with sync_connect: true:

postgresql

The following adapters never block:

mongo

This issue will probably only have an impact if max_overflow > 0  and the adapter blocks in connect. However it will also slow startup time or restart time in the event of a crash.
A potential fix is in the sbroker worker, which casts to self() to connect.

Should we push this to adapters? Just ask them to not block on connection by default?

When using poolboy to checkout the following occurs:

call to poolboy with timeout
call to worker with timeout
call to connection with timeout

If the connection blocks when started then the call to worker will block if it needs to start a connection. This means on a bad day the client can wait for nearly 3 * timeout.
If the connection doesn't block when started then the call to worker should be very fast as it just needs to spawn a process. However the call to the connection will have to wait for the socket to connect and do any handshaking before its query is handled. This may mean that the call to connection times out because connect/handshake is much more expensive than the query but the longest a client will wait is 2 * timeout.
Importantly if the call to the connection does timeout the worker will shutdown the connection so that the on going query does not effect the next client. Of course the next client may face the same problem as it has to wait for the connection to connect/handshake.
I am unsure which of those behaviours people will prefer.
Poolboy uses a LIFO worker queue (by default) so the most recent worker to be checked in will be the first worker to be checked out. This means if a connection crashes, a query times out or a client exits mid transaction its likely the next checkout will be for a worker without a connection. Therefore blocking to connect can occur a disproportionately number of times.
This issue can solved by using the sbroker pool with an adapter that blocks on start as workers/connections are only queued when ready, the client gets the connection directly from the broker so doesn't call the worker and the worker never blocks the broker process.

Now that lazy: false doesn't block shall we encourage adapters to always sync connect or add a configuration like postgrex (with a default determined by the pool)?

That sounds good. I think most adapters sync connect though?

That sounds good. I think most adapters sync connect though?

postgrex sync_connect option has a bug in the latest tag where a failed connection returns an exception instead of {:error, exception}. It was fixed in master long ago.
mongodb does not provide a sync_connect option.

I think it's important to have in mind that the MongoDB's adapter does not use currently Ecto pools, but has it's own pooling.

Ah thanks @michalmuskala. Looking at the code MongoDB's connection process is smarter than its SQL counterparts and does not need a middleman process. Its started by poolboy directly and does not block on start. It also handles network errors in an elegant manner. @michalmuskala, @ericmj and others have done really great work there.
Now we are just waiting on:postgrex to tag a release and then we can add sync_connect: true as a default option in the postgrex adapter.

@fishcakez we can add the option now anyway and we will be safe whenever it is out (unless we need it for tests).

@josevalim I think we should wait because postgrex supports it now but there is a bug in the current release where Postgrex.Connection.start_link returns %Postgrex.Error{} instead of {:error, %Postgrex.Error{}}.

What do we want? sync_connect! when do now! we want it?

the lazy option also does not compose with sync_connect. Should we just drop lazy?

the lazy option also does not compose with sync_connect. Should we just drop lazy?

I don't think we can drop lazy because of migrations? I remember wanting to drop it when introducing Ecto.Pools and could not.
Can you explain why it doesn't compose? Above I think I mention sync_connect was a good approach for lazy connections because it prevents the case where connecting time is included in the "query timeout", which can lead to a timeout on a query. The timeout causes the worker to stop the connection and the cycle begins again. Perhaps this is a needless worry.
Are you saying that including the connecting time in the "query timeout" is desired when lazy: true? In that situation the timeout max is pool_timeout + timeout rather than pool_timeout + pool_timeout + timeout?

Sorry, I was confusing things. You are right that sync_connect is preferable with lazy.

I don't think we can drop lazy because of migrations? I remember wanting to drop it when introducing Ecto.Pools and could not.

Migrations manually start and stop the repo now, are there other issues with migrations or did that fix the issue?

Closing this because I believe it has been fixed. Please reopen otherwise.


About nvd123s tools

So is there a way u could get others to make links?
can close if no

no i don't think so.
i think you probably made a mistake in your code at some point. i recommend trying to fork the interstellar repo again and redoing every change you've done until right before the point when links stopped working

oh where. I use my own code, and some code from Interstellar. Can you look through commits and find where it is messed up. Because I wouldn't know where that happened


Load SigLip model

Hi! I would like to ask few questions regarding the visual encoder part.

How does the SpatialBot model load the SigLip pre-trained model? I have downloaded the siglip-so400m-patch14-384 model from hf as well and modify the config.json file mm_vision_tower into path of the model folder. However, the output said Some weights of the model checkpoint at /xxx/spatial_bot/SpatialBot-3B were not used when initializing BunnyPhiForCausalLM: ['model.vision_tower.vision_tower.vision_model.embeddings.patch_embedding.bias' .... all vision_model layers. Any insights of that?

I was trying to get the output from vison_tower to inspect more output. because i sincerely doubt my loading of siglip is incorrect. How i do is `model.model.vision_tower(image_tensor). Is that correct?

I noticed in the quickstar how to try to preprocess the one channel depth.     three_channel_array[:, :, 0] = (img // 1024) * 4  three_channel_array[:, :, 1] = (img // 32) * 8  three_channel_array[:, :, 2] = (img % 32) * 8 what are the purpose of this? should i do also for my own one-channel depth? cuz the output visualization looks quite weird as a depth image.

Looking forward to your reply.
Best regards

Hi @Yuxin916, thanks for reaching out.

It’s correct, we don’t use some weights in pretrained image encoder.
You can directly print vision encoder output here: line 79 in bunny_arch (def encode_images)
Please see depth encoding in Sec III of our paper. We encode depth maps into 3-channel image.

BTW the provided code should work for you, and you can use it directly.
Regards


SHI3 serialization (user menu)

Addressing #261
Thanks for code examples of @sshlapak

thanks, looks good, there are 2 errors from abaplint,
change
IF sy-subrc <> 0.
   _raise 'error from BMENU_DELETE_TREE, SHI3'.
ENDIF.

to
IF sy-subrc <> 0.
  _raise 'error from BMENU_DELETE_TREE, SHI3'.
ENDIF.

(remove 1 space)

yeap, fixed.

if you have time, can you add a SHI3 to repository https://github.com/larshp/abapGit-Unit-Test
?
it is used for the evil unit test in ZABAPGIT, trying to collect the different object types there for future testing

Unit test: hmm, you mean adding an object there ?

just add a zobject.shi3.xml to the repository(https://github.com/larshp/abapGit-Unit-Test), then it should automatically be tested via the ltcl_dangerous unit test in ZABAPGIT

thanks, I'll merge the PR :+1:

OK, I will but a bit later today :)

no hurry, it is just nice to have

added something (zabapgit_shi3_test.shi3.xml) ... hope it works :)


Infrastructure for auth-audit-log component

Description
Audit log component will be hosted as a container app. Authentication/Authorization component will write each authentication/authorization event to a storage queue. A function app is set with queue trigger such that each event is processed by the function app. The function app then sends api request to specific endpoint(Authentication/authorization) in auth-audit-log component. The auth-audit-log component write the event to the auth-audit-log database.

Tasks

[x] Set up a resource group for audit log application (All the new resources below will be created in this resource group)
[x] Setup Storage Queue
[x] Setup function app
[x] Setup auth-audit-log as container app
[x] Setup ny postgres sql server?
[x] Setup network/domain configuration for connections between function app and container app
[x] Setup security/network such that authentication component in platform gets access to the storage queue
[x] Setup security/network such that function app gets access to the storage queue
[ ]  Setup security/network such that container app gets access to the postgres sql server

Acceptance Criteria

[ ] New resource group is created
[ ] Storage Queue is setup
[ ] Function app is setup
[ ] auth-audit-log container app is setup
[ ] postgres sql server is setup
[ ] network/domain is setup for container app
[ ] network is configured for storage queue
[ ] network is configured for funciton app
[ ] network is configured for postgres sqls erver

Support for container app secrets are currently limited in the Terraform provider. Temporary fix is to refer to the secret value instead of secret reference. Should be changed when provider support is added.
https://github.com/hashicorp/terraform-provider-azurerm/pull/23958

@simon-ellefsen I have now run the basic tests on the setup and it works as expected


New Rebus Added

Associated Issue: #121
Summary of Changes
Gateway Rebus Added in 893

Pull Request Test Coverage Report for Build 654

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 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Ignore flusher errors if they are context canceled

Description of Changes
When context has been cancelled, ignore flushing errors.  Fixes #209
Please check that the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] Add a changelog entry (for non-trivial bug fixes / features)
[x] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.6551975
-0.13795972
126.41339
-1.4684753

1
5000
6.1208224
-0.15515375
137.98936
+3.2205048

1
10000
11.982974
-0.7241993
146.74272
+3.405304

1
50000
59.318718
-0.6140709
174.01024
-4.34375

1
100000
116.60613
+0.45111847
231.1289
+9.580414

10
100
2.3621554
+0.034380674
130.54015
-1.8275757

10
500
6.7072988
-0.34456015
135.88228
+0.15046692

10
1000
13.758902
-0.18961239
148.15033
+4.4330597

10
5000
66.78931
+1.9667206
183.96431
+0.42929077

10
10000
128.21071
+1.4785767
233.65585
+4.9538116


featureSupport get row count for pg and sql server. (#42674)

backport: https://github.com/apache/doris/pull/42674

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall

run buildall


Add Named Exports to Nuxt 2

What problem does this feature solve?
Right now you have to:
import nuxt from 'nuxt-edge'
...new nuxt.Nuxt() or new nuxt.Builder()

It would be great to import by name:
import { Nuxt, Builder } from 'nuxt-edge'

I can't stand using require anymore! ;)
What does the proposed changes look like?
See above.

This feature request is available on Nuxt.js community (#c7091)

@bradocchs I can do that. What's wrong?

I get this error:
import { Nuxt, Builder } from 'nuxt-edge'
^^^^
SyntaxError: The requested module 'nuxt-edge' does not provide an export named 'Nuxt'

@bradocchs I don't think it works with node.js unless nuxt-edge has a .mjs extension.

That makes sense. They are stuck with CommonJS until node makes ES modules official.
Guess I'll have to wait.


Undefined variable referenced (typo?)

In this line:
https://github.com/sul-dlss/dor-workflow-service/blob/develop/lib/dor/services/workflow_service.rb#L486
is the only appearance of @workflow_resource.  This should be workflow_resource like the rest, right?
If so, there is something off with testing as well, since this kind of thing should otherwise be caught.

Yes, this looks like a typo ... it shouldn't work since it's a class method.


[feat] Let's do "fugue machine" #3: Ping-pong playback mode

Third of some ideas to give us a UX a little more like FM.
UX thought: Use the "reverse" button - first tap reverses, second ping-pongs, third goes back to forward.

@millxing; Now that #4 has been addressed and merged, I'd like to think about this issue.
I don't think it will be difficult to implement; the real question here is UX.
My initial thought had been a 3-state on the current 'reverse', i.e. default: forward; press -> reverse; press again -> pingpong; press again, back to forward... but I've not convinced myself that that's a good idea.
Do you have any ideas as to how to present this to the user?

@millxing; Incoming PR tomorrow, assuming testing goes well :)

@millxing, @justmat; PTAL @0f0bf0c - This works quite nicely, better than I expected; the three-state to change playback modes is actually pretty intuitive.
WDYT?

Ben, I'm confused about how to try this out. Are you going to make a PR to the millxing/quence repo? Thanks, Rob

@millxing; Yes, I was planning to, but I wanted to get some feedback before that.
If you want to try running it from my branch, do
# add my fork as an additional remote source
git remote add tildebyte https://github.com/tildebyte/QUENCE.git
# Sync all remote sources. This lets git know what branches are available.
git fetch --all
# Checkout my topic branch locally
git checkout ping-pong
# Don't forget; when you're done, `git checkout` back to whichever branch you were on before so you're not working in the wrong branch ;p

@tildebyte, just had a short play with your ping-pong branch. Seems like everything is working to me! I do sort of wish there was an indicator/icon for playback mode on the screen, but it's pretty intuitive as is.

@justmat; Thanks! Yeah, I debated about this, and I'm loathe to change the button layout at all; I love the symmetry and really inspired use of negative space which @millxing ofiginally came up with.
I've been toying with the idea of a SUBTLE change to the play_mode button - maybe solid for forward (as-is)/slow, gentle reverse "downward" pulse for reverse/slow, gentle triangle pulse for pingpong - but that's mere ideation at this point :)

The button pulsing is a great idea!

I'm digging it!
I'm not sure I've got a handle on the logic of this function. It seems like when I'm in PP mode and moving to the right, if I hit the reverse led then it switches to reverse mode. If in PP mode and moving to the left, if I hit the reverse led then it switches to forward mode. Is that correct?
I guess I was expecting that if it was in PP mode and I hit the reverse button, then it would move to forward mode (w/o PP), regardless which direction it ws currently moving. There's probably a reason you did it the way you did that I'm not seeing.
I do think some way of identifying PP mode is needed and I love the idea of a pulsing LED when in PP mode.

Nice! I’m glad you like it!
First: “reverse” button should really be “play_mode” now.
So, yeah, it’s a 0-1-2 cycle thing:

0 - forward

press “play_mode” -> reverse direction

1 - reverse

press “play_mode” -> ping-pong BUT! immediately first switches to forward direction. Yeah, it’s a little weird, and could probably be changed to only switch once it hits the “end” of it’s current play.

2 - ping-pong

press “play_mode” -> back to forward, regardless of current direction

0 - forward… etc.

I think the switch from reverse play direction to forward play direction when pressing “play_mode” from reverse mode is an artifact of my, er, design “process” (i.e. throw code until something works :grin:). I think you’re right; intuitively and symmetrically, the reverse->ping-pong transition should complete its current play in its current (reverse) direction.
Also, already pondering pulsing LEDs :)

@millxing, @justmat; OK, just now the UX counterexample popped into my head...
As a user, if I'm  playing a sequence in reverse and I press the play_mode button, I have no immediate indication that ping-pong mode has engaged IF I have to wait until the sequence finishes it's current play.
Now I'm not sure what to do :(

I have no immediate indication that ping-pong mode has engaged

Wouldn't the solid/reverse ramp/pulsing LED clarify what mode the user is in?

Wouldn't the solid/reverse ramp/pulsing LED clarify what mode the user is in?

That was my reaction also

LOL! Foiled by my own logic ;p

@millxing, @justmat; Not super-happy with this, but it works and works well.
I had high ambitions but in the end all of the grid light hijinks I tried ended up not working or not working very well.
PTAL if y'all don't mind.
N.B.:

This is an invasive change which puts grid updates on their own metro.
I feel like the "play head" (i.e. row 1) isn't consistent, i.e. speeding up and slowing down, but I can't tell if it's just me (possibly related to 1 above?).

Questions for y'all:

Does the grid display seem smooth (try different tempos)?
Does the grid display update rate seem consistent?
Do you think that the play mode button flashing is a good feature?

Can you easily tell the difference between play modes?

I'll take a look this morning.

So, everything seems to be working well. One nit/gripe is that I'm finding it hard to distinguish between playback modes. Maybe we could clean up the screen drawing a bit, then just add playback mode indication to the screen?

Not at all a bad idea, but requires enough screen real state to give indications for all 4 tracks...
Of course, this could minimally be something like "→→←↔" (not sure about norns' character set).

We would need to draw the icons, or use one of the graphics libraries available. Or we could just use letters like F, R, and P. There are definitely ways we could regain some screen real estate, for instance we could switch to screen.font_face(26) (i think it's 26, i'd need to look to be sure) which is a smaller 6pt font called "tom thumb". With adjustments to spacing and a smaller font there might be enough room for another row.

We could also just put BPM and Tonic on the same row, something like this...

Sorry guys, but I haven't had a chance to take a look at the new changes. Work has been nutty. Will try to do it tonight.
Hope you guys are safe and healthy.

@millxing; NP! IRL comes first :)
@justmat; The norns fonts don't include symbols? poo...
I think putting tonic up there with bpm is OK. I'm going to take a look at the smaller face as well, though, to see what I think.

@millxing we are doing well here. Just living that at home life. :)
@tildebyte, No symbols, as far as I am aware.
I was thinking, if we decide to put bpm and tonic on the same line, It might read a little clearer if we use a brighter text for descriptors. It would look something  like global bpm : 60. Maybe set the descriptors 2 levels above the values?

@justmat; Oh, nice idea. +1 on that.
Yeah, the fonts are pretty basic, so the best we could hope for would be like -> | <- | -> | <>, but I don't know how I feel about that...

@justmat; Like so? ;p

Apologies, from my phone; dratted screenshotting isn't working for me:
s_export_png("/home/we/screenshot.png")
lua:
stdin:1: attempt to call a nil value (global 's_export_png')
stack traceback:
	stdin:1: in main chunk

BTW, @justmat, @millxing; If y'all don't like the blinky play mode light, just say so - you will not hurt my feelings ;p

The screenshot command changed! I spent way too long tracking down the new command just before posting my screenshot lol. It's _norns.screen_export_png("path/stuff.png").
https://llllllll.co/t/norns-help/14016/2242?
That looks much better to me! It may be annoying to write, but maybe the delimiters in the play mode line should be brighter as well?
Also re: play mode led, I think my vote is for a more simple play mode light. Maybe just pulsing with the bpm? With the play mode displayed on screen, it just doesn't need to be complex anymore.

I feel like if I'm not using it to indicate play mode, I'd rather the play light be static, like it is now...

That works, and falls in line with the current UI design. lgtm

@justmat, @millxing; OK, I just pushed a final commit, and I think I have a finished feature. Try it out and let me know what you think. If you're OK with it, I'll open a PR.

Just tried it out and it looks good to me! Nice work. Alexandernaut would be proud.
BTW, I follow him on Twitter and apparently he's been working on a new secret project for 3 years. Very curious to see what he's coming out with next. Fugue machine is a great app.

Nice! I’m glad you like it :)

LGTM!

I just noticed a bug in ping-pong mode. I'm not sure how it happened or how to replicate it.
https://share.icloud.com/photos/0gbfOBEWjtBCkLgU0MNubOi3w
The video shows that the playhead is moving in reverse, but the screen shows all playheads moving forward.

In this state, if I hit the direction button (R6,C16), it changes the direction to forward, but now the screen indicates that it's moving in reverse.

Rats. OK, I'll take a look as soon as I can.
@millxing; Thanks for the report!


Providing names for inexisting type axes crashes

Providing names for more type axes causes NVBench to crash:
template <typename OffsetT>
static void benchmark(nvbench::state& state, nvbench::type_list<OffsetT>)
{
}

NVBENCH_BENCH_TYPES(benchmark, NVBENCH_TYPE_AXES(offset_types)) // 1 TYPE
  .set_name("benchmark")
  .set_type_axes_names({"T{ct}", "OffsetT{ct}"}) // 2 NAMES
  .add_int64_power_of_two_axis("Elements{io}", array_size_powers);

To improve usability, I suggest to provide an error message instead and terminate the program.

It does give an error message today:
terminate called after throwing an instance of 'std::runtime_error'
  what():  /home/coder/nvbench/nvbench/axes_metadata.cxx:75: Error in set_type_axes_names:
/home/coder/nvbench/nvbench/axes_metadata.cxx:67: Number of names exceeds number of type axes (1)
TypeAxesNames: ["", "OffsetT{ct}"]
Aborted (core dumped)

I'll look at why it's crashing instead of terminating gracefully.


Trim trailing spaces

Trim trailing spaces from query output. Only affects oracle and psql modes (in mysql, every line ends with '|').
In the following example, there should be no trailing spaces at the end of the "7639 20" line, which has a NULL value for COMM:
!set outputformat oracle
select empno, deptno, comm from scott.emp;
EMPNO DEPTNO COMM
----- ------ -------
 7369     20
 7499     30  300.00
 7521     30  500.00
 7566     20
 7654     30 1400.00
 7698     30

6 rows selected.
!ok

Fixed in https://github.com/julianhyde/quidem/commit/fbc04b821893a51e51aebdf9155a1f7d894c3ee6.


Phase 2 of Group LED Validation

https://github.com/openbmc/openbmc/issues/802

This is also associate with XYZ interface


add avinal, ramessesii2, ayushsatyam146 to the Owners

Signed-off-by: Satyam Bhardwaj<EMAIL_ADDRESS>rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

/approve

/lgtm

/cherry-pick release-4.15


Custom styling

Fixes #112, closes #102, and closes #93.
This PR implements basic custom styling support for Container, TextInput, Button, Scrollable, Slider, ProgressBar, Radio, and Checkbox.
Renderer-agnostic styles
Custom styling is opt-in. Widgets will use a default style unless a custom style is explicitly set using the new style methods.
The Style of each widget is defined by the renderer implementation as an associated type.
This makes styling renderer-agnostic. For instance, a sprite-based renderer could decide to simply not support background colors or borders and use enums instead.
A new subcrate: iced_style
The style attributes that are supported by iced_wgpu (and in the near future iced_web) have been gathered in a new subcrate: iced_style.
For now, the custom styling in iced takes a dynamic approach. A StyleSheet trait exists for every widget and it defines the Style of the widget in different states. This trait can be implemented by users and then provided to the style method of a particular widget. Many of the examples now showcase this approach.
It is important to note that, in iced, anything that can affect layout is not considered "style" . For instance, specifying a font or text size is not considered styling. This means that your whole layout will stay consistent independently of your style sheets!
In any case, this is just meant to lay the foundations for custom styling! We will definitely need to extend each widget style attributes and maybe change strategies as we learn about more use cases.
Relevant changes
A Defaults type has been added to iced_wgpu. This type is meant to be leveraged to allow for style inheritance. For instance, a Container can set some text color and all the Text inside will be affected unless the Text itself defines a color of its own.
Moreover, the Quad primitive in iced_wgpu now supports a border_width and border_color. Also, a bug has been fixed where color was incorrectly blended when the border_radius was 0.
Finally, a styling example has been added. It showcases a simple way to use different themes in the same GUI by creating a style module and a Theme enum. It would be great to extend this example with more themes. It may also be interesting to offer some built-in themes in iced_style at some point.
Pending work

[ ] Write missing documentation
[ ] Reenable warnings

Just about the theme itself: it seems that the widgets in black theme are not very clear.

@piaoger It's just an example meant to showcase you can customize them in any way you want. I'll play with the color palette a bit more.

Just about the theme itself: it seems that some widgets in back theme are not very clear. Maybe adding border or ....

@piaoger Should be fixed now! Let me know :)

@piaoger Keep in mind that this is not a built-in theme or anything. All the styling is defined in this particular example. It was meant to showcase how you can basically change style completely.
In any case, I agree they are not very clear. It should be fixed now! I've also updated the GIF. Let me know :)

HAHA 👍
Also adding border for Scrollable :)

This is awesome. Will this allow theoretically in the future to have something resembling the CSS transform property with rotations and translations?

@JakubKoralewski The CSS transform property affects the layout, so it would not currently be considered styling. As of now, styling only can affect the appearance of a particular widget.

I don't want to go too off-topic here, but my OCD does... not.. allow...

@JakubKoralewski The CSS transform property affects the layout.

According to w3 most of the time the transform property does not affect layout:

For elements whose layout is governed by the CSS box model, the transform property does not affect the flow of the content surrounding the transformed element

It just rotates, skews, translates etc. without taking layout into account at all. With this knowledge now, would that be possible 😄 ?

@JakubKoralewski It does affect the layout of the contents inside the element you are transforming. In other words, there are other systems besides rendering that need to be aware of this transformation.


Dashboard & Search

https://bugzilla.mozilla.org/page.cgi?id=mydashboard.html needs some background fixed - alternative row backgrounds, and column headers on results, flags etc (I removed identifying info, but you can see what I'm talking about)

Search results column headers - https://bugzilla.mozilla.org/buglist.cgi?bug_status=closed&email1=arthuredelstein%40gmail.com&emailcc1=1&emailtype1=exact&list_id=13947875

"you are CC'd On" (and Flag requested etc) = div class="query_heading"
descriptions under this ("you are in the CC'd list...") = div class="query_description"

^^ bit faint. #d7d7db (grey-30) works fine

On search results (can't test on Dashboard yet), when you start clicking on column headers for sorting, you lose all the dark css

Thanks Pants!
How's this look for the Dashboard?

when you start clicking on column headers for sorting, you lose all the dark css

I'm kinda confused as to what Bugzilla's design is doing here...
It appears they change the color of each previous method you used to sort and gradually make the category lighter and lighter?  After clicking a category it gets th.sorted_1, after another gets clicked, th.sorted_2, then th.sorted_3 and so on.
I don't really see a purpose to this, just seems to over complicate things and add a bunch of meaningless coloration...
Am I missing something here?
For now, I've removed all colors but the selected category:

Its all good now :+1:  Column headers don't lose their "dark side" no matter how many I click


hooks hide logs of their tasks

Hooks are really powerful - unfortunately right now all logs are hidden:
https://github.com/dotansimha/graphql-code-generator/blob/71b9a8925d9df494adf8496d16f660308499461a/packages/graphql-codegen-cli/src/hooks.ts#L47-L84
Would it be possible to log them to console? For example in VERBOSE mode?
Without those logs its really hard to find out if those hooks are setup correctly.

@jantimon, hooks scripts logs are now forwarded to console when codegen is run with DEBUG=1, from<EMAIL_ADDRESS>📦


Current Status of the project

Is this project still being maintained?

No

It doesn't seem like it is.

https://github.com/peer-base/peer-base
via
https://github.com/ipfs-shipyard/peer-pad-core


Support Prolog

Should flymake-swi-prolog be consolidated with flymake-collection or can/should they work independently of each other?
https://git.sr.ht/~eshel/flymake-swi-prolog

I think that the above package might be deprecated and flymake support is now directly supported in sweep:
https://git.sr.ht/~eshel/sweep/tree/main/item/sweeprolog.el#L33


New version: VisualSearchACTR v0.3.1

Registering package: VisualSearchACTR
Repository: https://github.com/itsdfish/VisualSearchACTR.jl
Created by: @itsdfish
Version: v0.3.1
Commit: e5094a29edac396c27fe27516c417f290f636294
Reviewed by: @itsdfish
Reference: https://github.com/itsdfish/VisualSearchACTR.jl/issues/30#issuecomment-1351688084
Description: Pre-attentive attentive vision

Hi,
I tried to issue a new release as 0.3.0, but that was rejected. The error message said there was a commit with that version already, but I did not see one. I tried bumping up to 0.3.1, but that lead to this issue.

I want to follow up to see if someone can manually merge this PR.

See https://github.com/JuliaRegistries/General/issues/75230#issuecomment-1373895372. Do you still want this merged or make it 0.3.0 after deleting that tag?

I deleted the tag and will try again. Thanks for spotting that. I'm not sure how it was created.

Problem fixed.

#75248


Missing requirements.txt

Hey, I was looking the code and your README.md instructions mention the requirements.txt file, but it's not in the repo, can you add it?

Oops. Will update it. Thanks.

Updated! Thanks for trying Notes-1.


special characters not supported

It does not display special characters. Onta{\~n}{\'o}n should be displayed as
Ontañón. Here is a list of special characters:
https://github.com/okfn/bibserver/blob/master/parserscrapers_plugins/bibtex.py

p.s. will you move the project somewhere else now that Google is sunsetting
code?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Jul 2015 at 9:26

Commit f07287e fixed this issue.


Signature validation failed. SAML Response rejected

Thank you so much for your work, hope you are gong well.
I try to configure saml login on a Google Gsuite account, but no mater what config i use always the same behavior.
Click login, it send me to google login, made login it redirect me to osticket where i receive "Signature validation failed. SAML Response rejected"
Any hint ? already read your example configuration a lot but have no idea where is my fault

It can usually be a url error. Can you share your configuration.

Atached you can see all my configuration page, i just remove my domain in URL

hi,
try
Service Provider Entty ID : https://accounts.google.com/o/saml2?idpid=C039I4n0b

I change service as you say but i receive another error now, after login on google with a domain account i get a 403 error
app_not_cofigured_for_user
So i tryed with the other param "https://accounts.google.com/o/saml2/idp?idpid=C039l4n0b" but same errror

Bellow is my config on gsuite

this plugin php-saml based .
see
https://github.com/onelogin/php-saml/issues?q=is%3Aissue+google+is%3Aclosed


more sane defaults for openllama 3b used for quickstarts

Since we point to open llama 3b in the quickstart section, let's use some sane defaults

verified on single gpu. vram usage recorded
lora - 7gb vram
qlora - 4.5gb vram
full ft - 21gb vram


color interface

Pretty simple task for Typescript fans, please add a color interface for all components to be passed various color props

only use colors from /styles/colors.js
make a new /interface folder there is more that can be centralised like Input validations and others if you want to do that too, great.

MORE INFO:
To be more clear i would expect this end result, sorry for the confusion i caused.
<AnyComponent bgColor={green} textColor={white}

AnyComponent: don't worry about what component it is and also you do not need to add bgColor or textColor props to every component. Instead imagine that this component is completed and in our kit, plus it has these props setup and ready to use.
When setting bgColor I should use the interface we want built in this task, so it can only be set to the string names of the colors we use in /styles/colors.js and it will return the correct HEX.
So 'green' = '#68738D'

Is someone working on this already?

there has been solutions offered in Discord but no PR yet @gat786


Allow users to enter an escaped $

Before this fix \$ was shown as \$ in the markdown output.
As part of the parsing step for marked we are now replacing instances of
\$ with $. This step runs after the katex interpolation so there is
no need to be concerned with the $ being interpolated into a new LateX
section.
Fixes #1428

produces
ParseError: KaTeX parse error: Expected 'EOF', got '\' at position 12: notmath$
on the js console

Looks like this is an issue with \\$ specifically, even on master \\$ will break the current app. I can put a fix in this branch if you would like

yes pls

moved to #1570


v3 API endpoint status different output formats return contradictory member ID

When I run etcdctl endpoint status -w simple I get this output:
<IP_ADDRESS>:2379, 2076fb2113bcf20, 3.1.0, 25 kB, false, 2, 276

When I run etcdctl endpoint status -w json I get this output:
[{"Endpoint":"<IP_ADDRESS>:2379","Status":{"header":{"cluster_id":983170781618320308,"member_id":146208323496824608,"revision":1,"raft_term":2},"version":"3.1.0","dbSize":24576,"leader":18091059109996920133,"raftIndex":294,"raftTerm":2}}]

The decimal member_id<PHONE_NUMBER>96824608, when converted to hexidecimal, is 2076FB2113BCF18, which is not the reported member ID 2076fb2113bcf20. Is this expected? How am I supposed to deduce the understood hex ID from this JSON output?

146208323496824608, when converted to hexidecimal, is 2076FB2113BCF18

printf "%x\n"<PHONE_NUMBER>96824608
2076fb2113bcf20

???

I am closing this since etcd converts the number correctly.

Sorry, I copied the corrected number by accident. This is what I observed:
/ # ./scale-down.sh
+ ETCDCTL_API=3 etcdctl --endpoints <IP_ADDRESS>:2379 endpoint status -w json
+ jq .[0]
+ ep_status={
  "Endpoint": "<IP_ADDRESS>:2379",
  "Status": {
    "header": {
      "cluster_id":<PHONE_NUMBER>18320300,
      "member_id":<PHONE_NUMBER>96824600,
      "revision": 1,
      "raft_term": 2
    },
    "version": "3.1.0",
    "dbSize": 24576,
    "leader":<PHONE_NUMBER>9996920000,
    "raftIndex": 34,
    "raftTerm": 2
  }
}
+ leader_id=18091059109996920000
+ echo obase=16;<PHONE_NUMBER>96824600
+ bc
+ member_id=2076FB2113BCF18
+ echo obase=16;<PHONE_NUMBER>9996920000
+ bc
+ leader_id=FB105A68F5F5FCC0
+ etcdctl member remove 2076FB2113BCF18
Couldn't find a member in the cluster with an ID of 2076FB2113BCF18.

After some time, I ran the command manually and the member_id had been corrected:
/ # etcdctl endpoint status
<IP_ADDRESS>:2379, 2076fb2113bcf20, 3.1.0, 25 kB, false, 2, 130
/ # etcdctl endpoint status -w json
[{"Endpoint":"<IP_ADDRESS>:2379","Status":{"header":{"cluster_id":983170781618320308,"member_id":146208323496824608,"revision":1,"raft_term":2},"version":"3.1.0","dbSize":24576,"leader":18091059109996920133,"raftIndex":136,"raftTerm":2}}]

I am now realizing the jq utility is not going to work for this - it must be mucking up the unsigned integer.

leader/member_id/cluster_id should really be serialized as strings instead of numbers if they are going to be that large.  The JSON spec (intentionally & explicitly) specifies no particular definition of what constitutes a number... but JavaScript and many other implementations of JSON parsers unmarshal them into 64-bit float, which has fairly limited precision.
So your JSON response is essentially unusable in many clients & languages because there is not an exact representation for all integers > 2^51 and they will "become" a different number when unserialized.

Conversation was concluded in https://github.com/coreos/etcd/issues/7396


"Personal Info" page

Please check if the PR fulfills these requirements:

[x] After these changes, the app was run and still works as expected
[ ] Unit tests for these changes were added (if applicable)
[x] All existing unit tests were run and still pass

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):
Additional Notes:

Yeah, it probably won't work for final submission, but it got the "required" validation to pass for now.


Existing Database Example

Just thought my notes for using an existing database might help the next person.

Add a model

- create a new table (Movies) in the JVTest DB using the MvcTutorial schema
USE [JVTest];
GO
-- run this once to avoid error about schema not existing
CREATE SCHEMA MvcTutorial
CREATE TABLE [MvcTutorial].[Movies] (
[ID] int NOT NULL IDENTITY,
[Title] nvarchar(max) NOT NULL,
[ReleaseDate] datetime NOT NULL,
[Genre] nvarchar(max) NOT NULL,
[Price] decimal(10,2) NOT NULL,
CONSTRAINT [PK_Movies] PRIMARY KEY ([ID])

);
GO
- note that using Entity Framework requires that the target table have a specified primary key
and if multiple related tables are specified, that each have a primary key and the related table have a foreign key
- related: https://stackoverflow.com/questions/3996782/entity-framework-table-without-primary-key

- run dotnet commands to add necessary packages
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.Tools
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet restore

- update the .csproj file with a DotNetCliToolReference for Microsoft.EntityFrameworkCore.Tools.DotNet

netcoreapp2.0

restore the package/tool dependences, then scaffold model for MvcTutorial.Movie table
dotnet restore
dotnet ef dbcontext scaffold "Server=tcp:SQL123,1433;Initial Catalog=JVTest;User ID=;Password=;" Microsoft.EntityFrameworkCore.SqlServer -o Models --schema MvcTutorial -t Movies
results in this warning, but after researching determined this may just be related to schema/tables that don't match the command's constraints (schema/tables):
Index column EFTutorial.Blog belongs to index PK_Blog on table BlogId which is not included in the selection set. Skipping.
Index column EFTutorial.Post belongs to index PK_Post on table PostId which is not included in the selection set. Skipping.
Index column eightyfourlumber.CreditApp belongs to index PK__CreditAp__3214EC2766603565 on table ID which is not included in the selection set. Skipping.
Foreign key column BlogId belongs to foreign key FK_Post_Blog_BlogId on table EFTutorial.Post which is not included in the selection set. Skipping.
machine-generated files:
/Models/Movies.cs
- model for the MvcTutorial.Movies table
/Models/JVTestContext.cs
- DB connection & tables reference
- per: https://stackoverflow.com/questions/31953317/what-is-the-purpose-of-a-db-context-class-in-asp-net-mvc

move the DB connection string into the configuration file (appsettings.json)
- add an entry for the connection string to ./appsettings.json:
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"ConnectionStrings": {
"MvcTutorial": "Server=tcp:SQL123,1433;Initial Catalog=JVTest;User ID=;Password=;"
}
}
- add the following namespaces to ./Startup.cs:
- tip: MvcMovie.Models is the namespace used in JVTestContext.cs
using Microsoft.EntityFrameworkCore;
using MvcMovie.Models;
- add a service for AddDbContext to the ConfigureServices() method in the Startup class (./Startup.cs):
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddMvc();

        // get connection string from configuration file (appsettings.json)
        services.AddDbContext<JVTestContext>(options =>
            options.UseSqlServer(Configuration.GetConnectionString("MvcTutorial")));
    }

- delete the OnConfiguring method from the JVTestContext class (./Models/JVTestContext.cs):
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        if (!optionsBuilder.IsConfigured)
        {

#warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings.
optionsBuilder.UseSqlServer(@"Server=tcp:SQL123,1433;Initial Catalog=JVTest;User ID=;Password=;");
}
}
- add the following to JVTestContext class (./Models/JVTestContext.cs - after "public virtual DbSet..."):
    public JVTestContext(DbContextOptions<JVTestContext> options) : base(options)
    {

    }

scaffold a controller (with CRUD operations) for the Movie model
- Create a controller section in EF tutorial just gives point & click instructions using Visual Studio
- tip: ran "dotnet aspnet-codegenerator --help" and "dotnet aspnet-codegenerator controller --help" to get a list of command options
-name <name of the controller file - should typically be ****Controller>
-outDir <directory to output the new controller file - should typically be Controllers>
-m <name of the model being used for generating the controller - looks in /Models directory>
-dc <name of the context file used for generating the controller - looks in /Models directory>
-udl <specifies that resulting CRUD views in /Views/[controller_name] should use the default layout file [/Shared/_Layout.cshtml]>
- tip: https://dev.to/andre2w/scaffolding-with-aspnet
dotnet aspnet-codegenerator controller -name MoviesController -outDir Controllers -m Movies -dc JVTestContext -udl
machine-generated files:
/Controllers/MoviesController.cs
/Views/Movies/Create.cshtml
/Views/Movies/Edit.cshtml
/Views/Movies/Details.cshtml
/Views/Movies/Delete.cshtml
/Views/Movies/Index.cshtml
tip: the Views subdirectories are named based on the name of the controller (MoviesController > Movies view subdirectories)
tested CRUD operations via http://localhost:5000/movies and all working properly (verified DB table updates)

Hope that helps!
John

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

ID: 3acf0cee-ea0e-b1ca-d239-a8f2bb465f5b
Version Independent ID: 20f61d94-ae6a-af54-e089-dc6be40182a0
Content: Add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app-xplat/adding-model.md
Service: unspecified
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Ouch - I didn't realize this was going to use Markdown...

@jverbosky  thanks!


Add passphrase support

Added support for providing passphrase to decrypt private key
Fixes #162

Closes https://github.com/indexzero/http-server/issues/162

What's the use case for this? It seems unwise to provide a passphrase in clear text on the command line. Happy to hear more, though.

Thanks @kiranghule. Guess I'm just hesitant to encourage passphrases exposed on the command line. Perhaps an environment variable (if present) could be used for this scenario? Certainly Heroku (and friends) would store those in a safer place than in a clear text command line request.
💭's?

@BigBlueHat Agreed. It's better to get this from an environment variable. Will look into it.

@kiranghule are you still interested in moving forward with this PR?

@kiranghule are you still interested in moving forward with this PR?

Will look into this, this weekend. The last conclusion I guess was to pass the passphrase via the env variable. But I have some doubts regarding how to go about it. Any help would be appreciated. Thanks.

Hey, great idea..
but does that even work? Because for me it didn't.. just as @thornjad mentioned in #456, bc union ignores the passphrase anyway..

In our use case we would start the server manually each time, so I think passing the passphrase via CLI should at least be possible.
However, the use of env vars would be pretty straightforward, wouldn't it? Similar to NODE_HTTP_SERVER_PASSWORD


updated package.json with socket.io v0.9.17 dependency

the examples break with the latest socket.io version (which is installed by default)
ultimate todo: patch examples to work with latest socket.io

@coderofsalvation Thanks!

published 0.8.1 thanks again!
https://www.npmjs.com/package/port


fix: Override Master and Slave for scalinggroup_guest

这个 PR 实现什么功能/修复什么问题:
Override Master and Slave for scalinggroup_guest
不 Override 会在 https://github.com/yunionio/onecloud/blob/5e363dc748912958d2821580e8edf6b26b0973ed/pkg/cloudcommon/db/tablespec.go#L71-L76
触发 panic

是否需要 backport 到之前的 release 分支:

release/3.3

/cc @zexi
/area region

Codecov Report

Merging #6994 into master will increase coverage by 0.36%.
The diff coverage is 0.00%.

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


Make octavia resource plural octavias

We also need to update to use plurals here:

https://github.com/openstack-k8s-operators/octavia-operator/blob/main/config/webhook/manifests.yaml (YAML)
https://github.com/openstack-k8s-operators/octavia-operator/blob/main/api/v1beta1/octavia_webhook.go (annotations)
https://github.com/openstack-k8s-operators/octavia-operator/blob/main/hack/configure_local_webhook.sh

@dprince: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name 	Commit 	Details 	Required 	Rerun command
ci/prow/octavia-operator-build-deploy-kuttl 	fea8633 link 	true 	/test octavia-operator-build-deploy-kuttl
Full PR test history. Your PR dashboard.

error: etcdserver: request timed out

/test octavia-operator-build-deploy-kuttl

@dprince: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name 	Commit 	Details 	Required 	Rerun command
ci/prow/octavia-operator-build-deploy-kuttl 	fea8633 link 	true 	/test octavia-operator-build-deploy-kuttl
Full PR test history. Your PR dashboard.

etcdserver: request timed out

:scream_cat:
/test octavia-operator-build-deploy-kuttl


Med Clue: Light source item requirement

closes #9626

(I'm aware the picture isn't the correct clue but I was using it for testing)

theres a lot more sources of light than just that

This both (a) doesn't clarify the location to be the Lumbridge swamp caves, and (b) doesn't really address the light source issue since it doesn't have an exhaustive listing of light sources. This would be a case where having a "Notes" section for emote clues would be useful. (I think there are other issues where such a section could have been helpful as well? We may want to use that as a more general solution to this issue)

If I was to add a note section what other example are there other than this one for it to be used? The double agent clues?

A notes section could include a shortened version of the field with the same name here. For example, you need a lockpick to do the emote in the magic axe hut or that you should turn Auto-retaliate off when doing the emote with Toktz-xil-ul to not throw it away etc.
Just go through the clues and add what seems useful :)

There are some other clues which require light sources. The first to come to mind is the ones where you have to go through the cave horrors.

I'll add it and I'll go through the list tomorrow, to see if there are any other clues that require a light source.

I think just making like LightSourceRequirement helper class (i think we have similar one for spade) would be enough, and then people can use it in future

Or maybe even an ItemRequirement/ItemRecommendation helper for clues that requires other items not not explicitly required.

Sled for Trollweiss clue
Axe and machete for Kharazi jungle clue
Anti-dragon shild for KBD clue
Lockpick for the magix axe hut
Nosepeg for top of slayer tower clue
Ring of visibilty for shadow dungeon clue
Slashing weapon or knife for lava maze clue
Crossbow and grapple for observatory clue
Clue box for any clue in the wilderness

@Dava96, is this PR still being worked on? Do you need help in any way? I'm looking for a place to contribute. Thanks!


Limit crawl to links matching pattern

Hi,
I want to crawl a website and reduce the time to crawl, so I'm trying to limit the pages to be crawled to only those i really need. To do so, I'd like to implement 2 rules:

Limit to 10 pages max
Limit to links where anchor text match a regex

Is it possible with Spidr ?
Thanks a lot,
Brice

I just found the "limit" param, but still can't figure out how to limit the page crawled to those matching a regex.
Any idea ?

checkout ignore_links - http://spidr.rubyforge.org/docs/Spidr/Filters.html#ignore_links-instance_method  (exclude anything matching array of regex) - you can also set this on agent options  ex agent_options[:ignore_links]
Alternatively check out http://spidr.rubyforge.org/docs/Spidr/Filters.html#visit_links-instance_method  to set array of regex to ONLY include links that match - again you can also set this on agent options ex:  agent_options[:links]

Thanks !


NPSP Data Import Only Allows Recurring Donation Amounts as Whole Numbers

Issue:
When a customer enters a decimal value in the Recurring Donation Amount (npsp.Recurring_Donation_Amount__c) field of the NPSP Data Import object, it is rounded to the nearest whole number instead of retaining the decimal amount.
Steps to Repeat:

Add the Recurring Donation Amount field to the NPSP Data Import Page Layout.
Create a new Data Import object record in the UI. It will automatically round to the nearest whole number (for example, $12.50 rounds to $13).

Root Cause
The field is set with a Scale of 0 and should be changed to a Scale of 2 to match all other amount fields.
https://github.com/SalesforceFoundation/NPSP/blob/b66342b54901f5287785217a22f728983fbea392/src/objects/DataImport__c.object#L1728-L1739

W-9549849


CONDA_PREFIX

There are still a few spots that do not use $CONDA_PREFIX like this.

I think I fixed all of these. Thanks.


Adjustments arkCpuAffinity arkPriorityBoost

Hello,
How to use arkCpuAffinity, if I understood for my priority server, I need to write arkCpuAffinity = 1,2 and for others arkCpuAffinity = 3,4 having 4 cores on my server, is that good?
And how to use arkPriorityBoost?
thank you

no answer ?
This is not used? :(

arkCpuAffinity should only need to be used if you need to lock the server to certain CPU cores.
arkPriorityBoost should only need to be used if you need to give ARK priority over normal processes (such as your login shell), though in this case background processes should really be given a lower priority.

OK thanks a lot


[RFC] Call For Maintainers and Project Ownership

Background
United Income was purchased by Capital One in July 2019. As part of our acquisition and integration journey, our team has had to gradually wind down the resources maintaining this project until we only have a single developer, @bsamuel-ui, providing support and updates.
We still use the Serverless Framework and this plugin on a regular basis, but are currently investigating a move to a Capital One internally-built serverless development framework. Given the uncertain future around our usage of the Serverless Framework and our lessened involvement in its community, we have decided that our team at United Income is no longer able to act as the faithful stewards that this project and its user-base deserve.
Request for Project Owners
As of June 28th, 2021, United Income will no longer actively contribute to this project. We are asking for the community's assistance in maintaining this project going forward. We are seeking other parties interested in taking ownership of this project who can keep it active going forward. If you are interested in becoming the owner of this project, whether you are a commercial entity or an individual contributor, please contact me at<EMAIL_ADDRESS>or Benjamin Samuel at<EMAIL_ADDRESS>What now?
We have appreciated all of the support, enthusiasm, and contributions from the Serverless Framework community over the years. We really enjoyed being a part of the growing ecosystem around FaaS and serverless computing platforms, especially as we ourselves were also growing from a small financial technology startup to part of one of the largest financial institutions in the United States. However, it is time for us to step aside and let others take the reigns of this project while we move on to the next phase of our company's growth.
We do not want anyone to think our confidence in the Serverless Framework has declined or that this project is dead. Quite the opposite; we still believe that the Serverless Framework is the best tool out there for developing and deploying serverless applications, and this plugin is the best packaging tool for FaaS Python projects. We at United Income are very excited to see what the future holds for this project and serverless as a whole.

@CalMlynarczyk Thank you for all of your great work 🙌 .  I'll bring this up next week with the Serverless team and see if we can take this on.  We're in scale mode, there are a lot of new features coming to the Framework, but making sure essential functionality like this is supported should come first.

@ac360 if you're interested in outside contribution, keep me in mind!

@CalMlynarczyk We're in a process of taking a special care of most popular plugins, and this one falls in that bucket. Check: https://github.com/serverless/serverless/issues/9025
I'll send you an email, as we would really like to be able to keep it well working with latest Framewok versions

Thank you for your support, @ac360. I will pass your message onto our engineers that contributed to this project.
@medikoo I've replied to your email. We can follow up here with any important information that comes out of that conversation.

This project has been transferred to the Serverless Framework GitHub organization as the new maintainers.


Adding defer scheduler features support in dev mode

Local Backend:

[x] Delay
[x] Discard
[x] Concurrency
[ ] Retry
[x] Metadata
[x] GetExecution
[x] CancelExecution
[x] RescheduleExecution
[x] ReRunExecution
[x] ListExecutions
[x] ListExecutionAttempts

Remote Backend:

[x] Delay
[x] Discard
[x] Concurrency
[x] Retry
[x] Metadata
[x] GetExecution
[x] CancelExecution
[x] RescheduleExecution
[x] ReRunExecution
[x] ListExecutions
[x] ListExecutionAttempts

New options:

DEFER_NO_BANNER: hide local backend starting banner
DEFER_NO_LOCAL_SCHEDULER: do not start local scheduler

First look, looks good ! Way better responsibility handling for remote vs local, also more open to extension <3

Still looking in details, but man what a huge step towards bringing our scheduling features to local dev.
Also the new backend strategy will be easier to extend and maintain.
We should all be thankful for your work 👏
Can't wait to announce it 🎉


Putted all BOOST code in SBOLDesigner into separate BOOST package

Apart from putting all BOST related code into separate boost package, I have also moved non UIs code into BOOST Client


Change ChEBI:59240 name

ChEBI:59240 is phthiocerol A, see https://biocyc.org/compound?orgid=META&id=Phthiocerols
As you can see it is not the only phthiocerol, and I need the name "phthiocerol" to submit the generic entry.
So please change the name of ChEBI:59240 to "phthiocerol A".

Name has been changed.


Update kramo.Cartridges to v1.5.5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/109453&drop=dogfoodAlpha

@ItzLevvie In all the previous versions of the manifest I have used v before the version similar to our GitHub tag, I have a doubt would existing manifest users be able to update seamlessly without unknown version errors (a definite upgrade path is critical as we recommend winget as the recommended way to get it in Windows). I will rename the directory to the suggested one, please clarify if there would be any disruption when updating before merging this PR.


Added a composer script for testing

from README.md:

$ composer test

this didn't work

Can you change to;
"scripts": {     "test": [             "phpunit"      ] }


Breakout algorithm

Hey,
Great job on the signal. How sure are you of your breakout algo? Seems really simplistic i.e. does not take into consideration channels, triangles, etc. Do you see this being a viable signal? Sorry for the noobish questions.

I would recommend using the Ichomoku cloud to help you find cross overs since it takes into account support and resistance lines.
The breakout algorithm is simply intended to tell you when something is going to have a really really giant green candle ;) aka when people are fomo buying.

Hi @AbenezerMamo, would you mind helping with that? I can't find any "Ichomoku" name in the whole repo except for the README. Maybe it's just a noobie question.

Alright, totally noobie :D
the cloud is the space between spanA and spanB which are functions available in the app.

Hey @AbenezerMamo,
Sorry for the late reply and thanks for the tip on ichimoku. Care to share any stats on the success of some algos? Demo account stats of course :)


Docs: move error handling topic

I propose to move the error handling topic out of Introduction into Create a plugin/Develop a plugin. As it contains a mix of conceptual and how-to information, the latter seems more appropriate.

Oops, fixed in a new PR.


Bosh template should enable trim_mode

Hello,
For now, bosh template does not set trim_mode (erb doc), which makes it hard to make a properly formatted output.
We wish to have bosh template supporting <% -%> modifier by setting trim_mode = "-" in lib/bosh/template/renderer.rb file of bosh-template lib.
This change should not break backward compatibility.

Closing - thanks for PR #1159 which was merged and fixed this issue!

Ohh sorry, I forgot to close.
Thank you 😃


openNI2 support for RealSense SDK2.0

Required Info

Camera Model
{D435 }

Firmware Version
(<IP_ADDRESS>)

Operating System & Version
{Win (8.1/10)

Platform
PC

SDK Version
{ 2.0.0 }

Issue Description
Is there posibility to get realsense.dll and LibrealsenseWrapper.dll work with openNI2?

Hello @cseJuha,
We are currently developing wrappers for the D400 cameras based on use case prioritization and technology demand. The OpenNI2 project has been dormant on GitHub for at least 4 years and is no longer maintained. Please let us know what are your specific requirements and use cases for using RealSense with OpenNI2.
Regards,
Jesus G.
Intel Customer Support

Thanks @jlgarcia75
Im looking for just getting D400 work with openNI2 viewer at this point. Im more than happy to assist on this one. You can PM me on skype cseJuha. Im sure this is something that lot of devs would like to see happen because it would make old kinect apps work with D400 on small changes.

Hello @cseJuha,
The engineering team has been made aware of your request.
Regards,
Jesus G.
Intel Customer Support

I’m also interested in OpenNI- I’ve ordered one of your cameras and was hoping for some standard support so I don5 have to special case each camera

Asus and Orbbec has openNI2 support already on their cameras and i think many devs has move to one of these only because of this support.

I have forked the openNI2 for my own purposes to create a CMake version of it so I can fix a couple of things. If I get that going I can make it available. Right now the OpenNI2 project doesn't use CMake which is becoming the more useful environment.

Hello @cseJuha and @DominionSoftware,
We have other Kinect users asking for Unity and Unreal, can these be suitable for your usages?
Also, what more do you need to move ahead to implement OpenNI support? Our wrappers are open-source, and the contribution guidelines are very simple: https://github.com/IntelRealSense/librealsense/blob/master/CONTRIBUTING.md
You can create a PR at your convenience.
Regards,
Jesus G.
Intel Customer Support

Hi @jlgarcia75 Im more than happy to help. Do you have some kind of instant messaging in availability or do we only communicate tru github?

A couple things:
The OpenNI2 code base is not based on CMake. This makes it less appealing as they give you a Visual Studio 2010 solution, for instance,  which is going to be stale soon if not already.
I have successfully moved the basics of OpenNI2 to CMake under Windows VS 2015. I did not do any of the wrapper stuff.
If anyone is interested in helping with this effort on other platforms I think it could help OpenNI move forward and make writing drivers simpler.
Let me know and I’ll push my changes up to the fork. Specifically it needs to be built and tested under Linux. And then people can put the wrappers for Java etc back in.
Thanks.
Rick Frank
Dominion Software, Inc.
825 Beacon Street
Newton, MA 02459
Medical, Scientific, and Industrial Software
On Feb 28, 2018, at 9:22 AM, cseJuha <notifications<EMAIL_ADDRESS>wrote:
After some research i found that orbbec has openni source available on github. could this help you guys to modify your driver to fit to openni2? https://github.com/orbbec/astra/tree/master/src/plugins/openni_sensor
Unfortunately making drivers is not really my core thing so i need some help with this one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/1168#issuecomment-369254288, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASbw4m8mP3LWjz3UV6m_SORo6Pmd6VR9ks5tZWE0gaJpZM4SB4bv.

It would be so nice if OpenNI has better support for newer cameras like real-sense and other RGB-D. Kinect and similar are too big. Microsoft by self is referencing to real-sense instead of deprecated Kinect. Realsence is capable to do the nice volumetric 3D mapping.

Hi @jlgarcia75
Wonder if you have any updates on OpenNI. I got serveral d400 cameras, and openNI could make it lot easier to use them in my app
Thanks
Arun

I am also be interested in OpenNI / OpenNI2 support.  However I would also be happy with another good quality option (other than OpenCV).

Hi,
I am also interested in OpenNI2 support. Any progress in this ??

Any one who interested in OpenNI, could you describe the use-cases? Now I'm working on driver and already got it working (and possible going open source soon). But OpenNI API is rich and lot of features can't be tested using default NiViewer..

@wongfei - Thanks for the note!  I am only interested in smooth skeletal tracking (hoping to avoid having to depend/distribute 3rd party libraries).  I am not concerned about their comprehensive API.

Thanks. I am interested in getting smooth depth and IR Streams to develop my own application.

OpenNI is a defacto standard device abstraction layer and most successful development bricks have taken care to use it so they app can be made compatible with kinect, structure, astra, ... rather bound to a specific device.
The life of OpenNI seems the one of each company getting in the field (PrimeSense > Apple, then Structure and currently orbbec.
I can't believe an Intel-driven ecosystem could actually develop without devices being supported there... which end up here: https://github.com/IntelRealSense/OpenNI2

I'm also interesting in smooth skeletal tracking with realsense d435. @wongfei , can you help me?

As for now I can only provide some not official experimental binaries for Win8+. Package contains OpenNI2/Nite2 samples with RealSense2 driver and supports Color/Depth/IR streaming and user tracking.
https://drive.google.com/open?id=1udb59IunTXW9xUKlO21RYj71BYrdQOEx

I'm also interested. I'm making software that works with Orbbec Astra, Xtion 2 and Realsense D-series cameras, so it would be very interesting if we could use the same codebase using OpenNI2 for Realsense.


" should be ' when adding my router

Hi ,
I am trying to add route. Below is by router file.
import { Routes } from '@angular/router';
import { MyLink1Component } from './mylink1.component';
export const MyLink1Routes: Routes = [
{ path: 'mylink1', component: MyLink1Component }
];
Error:
(quotemark) app/mylink1/mylink1.module.ts[3, 34]: " should be '
stream.js:74
throw er; // Unhandled stream error in pipe.
^
Error: Failed to lint: app/mylink1/mylink1.module.ts [3, 34]: " should be '.
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: gulp serve-dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'gulp serve-dev'.
npm ERR! This is most likely a problem with the angular2-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp serve-dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls angular2-starter
npm ERR! There is likely additional logging output above.
Please help.
Sridhar

wrong starter


Fix the rubocop raked tasks for changed and local

If no .rb files are dirty, have rubocop do nothing (with a helpful message).
2 problems going on here:

The default rubocop task is to examine all contained .rb files.
There are two tasks that are intended to look only at changed paths (first
locally, second against origin), but if rubocop.cli.run is called with zero paths,
it assumes you want to have it examine everything.  So 0 changed file ==> check all.

Also, note that in :local we weren't looking for files that had been
deleted on local but not origin, so rubocop was complaining about files
that we should no longer care about.
Note default task is now ['spec:all', 'rubocop:changed'].  To rubocop
all files, run bundle exec rake rubocop:all.

Such a good idea, but this breaks the CI because rubocop will never find any files to check.


HTTPS requests fail through a proxy

Requests to access a secure website (SSL/TLS) fail through a proxy.
Urllib3 does not properly implement the HTTP CONNECT method.
For example the following code should print 200.
Instead, with a burp proxy, it prints 502.
import urllib3
proxy = urllib3.proxy_from_url('http://localhost:8080/'
response = proxy.urlopen('GET', 'https://www.google.com/index.html')
print response.status

import urllib3
import unittest

class TestProxyConnect(unittest.TestCase):
    def setUp(self):
        self.proxy_url='http://localhost:8080/'
        self.https_url='https://www.google.com/index.html'
    def test_connect(self):
        proxy=urllib3.proxy_from_url(self.proxy_url)
        res=proxy.urlopen('GET', self.https_url)
        self.assertEqual(res.status, 200)

if __name__ == '__main__':
    unittest.main()

Thank you for porting the report and adding the test, @Khaosx. We'll have to port the test to one that doesn't depend on external services at some point.
I've been thinking about this bug and sadly I suspect it won't be trivial given the simplicity of the ProxyManager implementation right now. I think the best thing to do is to block this one on #44 which will require some added complexity for ProxyManager on its own and we can sneak this fix in there somehow.
If you'd like to take a crack at fixing this one yourself, you're more than welcome. :-)

I came up with a fix that works for me. If you want to test it and add it please do.
I forked your code to post the fixes
https://github.com/khaosx/urllib3

Following redirects through a connect tunnel is not thread safe at the moment.
After additional testing it probably makes sense to create an subclass of httpsconnectionpool and verifiedhttpsconnection and override a few methods instead of adding the fix right into connectionpool.py.
For now the new subclass of httpsconnectionpool should not follow redirects.

@Khaosx Thanks for diving into this.
I took a quick look. Looks like you're trying to fix Issue #8 as well. That's a tricky one because there are cases where you do want to pass in the host. I'll post some feedback in comments.
I presume you're going to continue iterating on this, let me know when you think this is ready to be merged and I'll take a look and give more feedback.

FYI, this was done in https://github.com/shazow/urllib3/pull/170 :)

@schlamar Thanks! :)


Ability to regionalize pages instead of Google-Translating them

So far, the only page that considers a different language, other than English, is the wrong language.
Even so, it uses Google Translator's engine to translate, which is a major improvement over not translating at all , but could also be flawed.
My issue has two points:

Could we use the community support to translate the existing pages, in order to make them more accessible?
Could we regionalize the pages and make them respond to these community-translated versions?

I understand that only wronglanguage has a potential to be translated, but even so... I think it would be a major enhancement.

Great suggestion!
If this is completed, I'd also recommend modifying the specific translations for which there exist language versions of SO, with a direction that "there exists a Stack Overflow in [language X], consider asking there".

In the mean time, is there an alternative we can use, like another translator?


Bug on AnnotationToAttribute  ?

Hi,
I have some old annotations on my Symfony app. So, I want to convert them to attribute.
I'm on Symfony 6.3 and PHP8.1
In my rector file, I put this :
I also tested it with SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES, but it changed nothing
return function (RectorConfig $rectorConfig): void {
    $rectorConfig->symfonyContainerXml(__DIR__.'/var/cache/dev/App_KernelDevDebugContainer.xml');
    $rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [
        new AnnotationToAttribute('Symfony\Component\Routing\Annotation\Route'),
    ]);
};

Then, I run rector on only one file, but nothing happened
vendor/bin/rector process --clear-cache src/Controller/Admin/Framework/EntityTagController.php

src/Controller/Admin/Framework/EntityTagController.php
[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.01 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

[file] src/Controller/Admin/Framework/EntityTagController.php
[rule] Rector\Php80\Rector\Class_\AnnotationToAttributeRector
--- consumed 0 B, total 80 MB, took 0.00 s

In my file (EntityTagController), got these annotations
/**
 * @ParamConverter("project", options={"mapping": {"projectId": "id"}})
 * @IsGranted("edit", subject="project")
 */

I don't understand why nothing happened, can someone help me ?

Those annotations are not part of that set list 🙂
For @ParamConverter you need ParamConverterAttributeToMapEntityAttributeRector::class.
Since you mention you are currently on Symfony 6.3, I'd suggest you use the SymfonyLevelSetList::UP_TO_SYMFONY_63 set list:
use Rector\Symfony\Set\SymfonyLevelSetList;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->sets([SymfonyLevelSetList::UP_TO_SYMFONY_63]);
};

ping @mauriau

I am closing it since the solution provided above https://github.com/rectorphp/rector-symfony/issues/499#issuecomment-1653648921

Yeah, it's ok. I Re run rector step by step from 6.0 to 6.3.
By changging rules UP_TO_SYMFONY_60, run rector, then UP_TO_SYMFONY_61, run rector etc etc. And it's migrate well


Resync third party licenses

What does this PR do?

Re-syncing third party licenses using ddev validate licenses -s for https://github.com/DataDog/integrations-core/pull/14357
Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Closing PR since my ddev may be outdated.


Fix account signature

Resolves #386.
This proposed Account change will yield an artifact upon compilation that should be added to Nile to address issue 143.

Why is the ecdsa_ptr implicit argument required in unsafe_execute ?

Just to ask about this, accounts created on goerli with 0.2.0 and have funds in them are currently irrecoverable?

I'm afraid so. Mainnet ones shouldn't since they weren't whitelisted. Are you aware of any relevant one that need a solution?

Indeed

Yes
(env) ➜  cairo-contracts git:(main) nile compile --directory src/ src/openzeppelin/account/{,Eth}Account.cairo --account_contract
🔨 Compiling src/openzeppelin/account/Account.cairo
🔨 Compiling src/openzeppelin/account/EthAccount.cairo
✅ Done


Fixed incorrect multiline format of job condition

Current dependencies on/for this PR:

main

PR #304   👈

This comment was auto-generated by Graphite.


multi-branch pipeline not work with private gitlab

What is version of KubeSphere DevOps has the issue?
3.5.0
How did you install the Kubernetes? Or what is the Kubernetes distribution?
No response
What happened?
create multi-branch pipeline with private gitlab server:

but in jenkins is gitlab server is gitlab.com

Relevant log output
No response
Additional information
No response

see also: #598


Switcher: Display table-cell not always working

I haven't been able to pinpoint the problem yet, but I'm consistently having an issue with widgets using display: block instead of display: table-cell. This makes the formatting off. After a ton of refreshes it will fix itself. Possibly has to do with the javascript loading?

I made a few changes to the coffee script, but the css is still being overwritten somewhere and setting all but the initial as display: block. The current work around/hack is to specify display: table-cell directly in the HTML for the dashboard.

It might be this line:
https://github.com/QubitProducts/dashing-contrib/blob/4082a388906ba9fb497778aa3584019b9bd7acc4/lib/dashing-contrib/assets/widgets/switcher/switcher.coffee#L92

That is the first place I tried making a change and it still didn't get the desired results. It would make sense that it is still part of the issue as show() is defaulting to block, but change didn't fix the issue.


Import / Onboarding support

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated.
[x] Changelog entry has been written

This PR allows for a bulk import of config to quickly onboard users and projects given a config file. It also allows for exporting and parsing of an allProjects or projectByName query of a specific format to include as much information about a project.
This is intended for use by platform-owners only
Changelog Entry

Feature - Import/Onboarding function
Closing issues
closes #36

@smlx raise a new PR for the work you've done when ready


Incorrect results are returned by LGBM_BoosterPredictForMat API of LightGBM and not matching with LGBM_BoosterPredictForFile API

Description
Incorrect results are returned by LGBM_BoosterPredictForMat API of LightGBM and not matching with results of LGBM_BoosterPredictForFile API. It induces 3rd, 6th, 9th and so on additional observations.
Result of LGBM_BoosterPredictForFile API and python code are matching perfectly.
But result of LGBM_BoosterPredictForMat API and same python code are not matching (only matches 1st, 2nd, 4th, 5th, 7th and so on observations).
Reproducible example
Please find the attached cpp file for code and these calls along with the dataset csv(mnist_valid and mnist_valid1) and scoring result files(fileResults.csv and matResult.csv
Environment info
Tried with latest version of library from Visual Studio/Windows
LightGBM version or commit hash:
v3.2.1
Command(s) you used to install LightGBM
git clone --recursive https://github.com/microsoft/LightGBM
cd LightGBM
mkdir build
cd build
cmake -A x64 -DBUILD_CPP_TEST=ON -DUSE_OPENMP=OFF ..
cmake --build . --target testlightgbm --config Debug

Additional Comments
Am I making any mistake while passing the array of floating point inputs(precision mismatch of float32/float64) or any incorrect option or parameter?
Kindly look in to this issue and reply.
Thanks,
Kiran
lightgbm_issue.zip

Can anybody please check this issue?

The issue was in my calling application code and not in the library and hence closing the issue. Thanks.


I want to know how to custom this plugin views?

dear :
I try to custom own document styles.But i don't know how to do it.
And i'm not find way that  custom  this plugin progress  bar .
please teach me how to do it.
Thanks!

Check the demos page.
http://hayageek.com/docs/jquery-upload-file.php
In features tab,  section 8).Custom UI

thank you for your answer。


Allow for ui scaling

Objective

Allow users to change the scaling of the UI

Solution

The user can modify the UiScale struct to change the scaling at runtime. This multiplies the Px values by the scale given, while not touching any others.
The example showcases how this even allows for fluid transitions

Here's how the example looks like:
https://user-images.githubusercontent.com/1631166/132979069-044161a9-8e85-45ab-9e93-fcf8e3852c2b.mp4

There's some build failures that do not come from my changes as far as I am aware:

Hmm, yeah
That's a new nightly check which excludes derived clones and debugs from counting as reading fields

I've added a video to the description

I have rebased on e74f7a7335e66199a55b443c872dee23cbf03dc7 so it should build again.
Is any of the open discussions blocking? Otherwise I'd suggest to transform them into issues/discussions.

@TheNeikos, sorry for letting this languish for so long. If you can rebase I'll wrangle the reviewers needed to get this merged.

Sounds good. The label is added; thanks for letting us know.

@TheNeikos Thanks for your work! I've continued it over at #5814 so will close this :)


Add KubeOne to package managers

We should consider adding KubeOne to the most popular package managers, so it's easy to get KubeOne.

[ ] #435 Add KubeOne to Homebrew package manager
[x] #470 Create AUR package for KubeOne
[ ] #473 Distribute a Docker image of KubeOne
[ ] #472 Sign releases with GPG
[x] #480 Add additional sub commands for packagers

Relevant to #436

/remove-lifecycle stale
/lifecycle frozen


Feature Request - Specific Ports

Give the option of defining which ports you want

Great idea. I'm on it. I'm super busy for the next two days but I'll try to have something done by late next week. Cheers.


Create a build without it being modified or minified

Is there a way to create a build without having it be modified or minified?
thanks

Hi @diegodesouza sorry to only be responding now––this week has been hectic. There's absolutely a way: the solution lays in configuring Webpack though (it's not a Rescripts-specific solution). Your best bet is to check out the react-scripts config (which exports the object that Rescripts patches). You can modify this config however suits your needs. Please let me know if you need anything else 👍


Add ability to give a component to render the selection column (header and rows)

Is it possible to add an option to give the renderer of the selection column. Indeed I have difficulty to style the checkboxes or radios (on IE and Firefox) because there's only an input without label (and these browsers don't allow :before and :after on inputs)
Giving the ability to render by ourselves these cells would give me the ability to apply our styles and also allow to add our accessibility information.

hello @jbrey, check this example. Let me know if you still have question.

I didn't find this example... It should be ok then.
Thanks


Expand all/Collapse all in tables

Idea
Katie Riker  and I would like to create an expand all/collapse all functionality for tables.
Proposal
We have created this doc  to outline all the possibilities.
Proposal 1: Have Expand All/Collapse All in the kebab
Proposal 2: Have a double [or single] dropdown icon in the table header (in line with all the other expand/collapse arrows)
Proposal 3: Have a double [or single] dropdown icon in the table toolbar to the left of the new bulk select (split icon there)
Questions to consider

Currently, in some cloud.redhat.com we have this functionality presented inside the kebab as an option, but is would the alternative propositions be a better way to do this?
Is this something other teams might find a use for and therefore could be made a patternfly table feature/component?
Should this icon be a double 'arrow' to differentiate it from the single row dropdown icon, or should it be a single arrow to keep it consistent?

We also think it could be a good idea to test all these variations measuring time and preference to evaluate how findable and recognizable these proposals are.
@mcarrano @LHinson

@mmenestr is going to be taking the reigns on this one and just consulting with me on visuals :)


NEST: Change default serializer of LowLevelClient

NEST/Elasticsearch.Net version: 6.3.1
Elasticsearch version: 6.4.1
Description of the problem including expected versus actual behavior: I've changed default serializer of NEST and it works, but when I'm accessing LowLevelClient in NEST client instance it's using default serializer. There's no possibility to change serializer of LowLevelClient inside of NEST client...

Hey @Vm3ntos
You can if you instantiate the low level client directly using new ElasticLowLevelClient(....). With 6.x we split the serializer in two in NEST. The internal once, and the source serializer you can override which is targetted only to user provided values (_source, fields, script values and others).
@codebrain @russcam thoughts on making an option in the high level client to set the lowlevel serializer?

@codebrain @russcam thoughts on making an option in the high level client to set the lowlevel serializer?

Makes sense to allow this.

I'm trying to think of a use case for allowing this.
Having the low level client exposed on the high level client use the same serializer as the one configured for the high level client makes a lot of sense when it comes to using the low level client to send a request, and deserializing to a high level response. Setting a different serializer for the low level client seems like it would be better served by instantiating a new instance of the low level client separately.


Option to apply keybinds after kb_* options

My desktop's keyboard has custom firmware for the workman layout, and all my Hyprland keybinds are designed as such. For example:
# Move focus
bind = $main, N, movefocus, l
bind = $main, E, movefocus, d
bind = $main, O, movefocus, u
bind = $main, I, movefocus, r

On my laptop, however, I'm not so lucky, and I have to set kb_variant = workman. Unfortunately this means that, with the same configuration shown above, I need to press the physical NEOI keys rather than the ones mapped by setting the kb_variant, which are all over the place instead of on the home row like I want.

there is no "after" kb_ options. Hyprland has to pick up the layout from somewhere, it doesn't pull it out of thin air.

ref: https://wiki.hyprland.org/Configuring/Uncommon-tips--tricks/#switchable-keyboard-layouts
pretty sure you can just
input {
    kb_layout = us,us
    kb_variant = ,workman

and then
exec-once = hyprctl switchxkblayout [kbname] next

Ah okay. I tried it with an input section as you showed and that did work, so now I can press the physical U key and get the behavior I have bound to F for example.
The issue I ran into then is that this doesn't work for device-specific configurations. I have an input section that just changes some mouse settings, and then this:
# Laptop keyboard isn't workman at the firmware level
device:at-translated-set-2-keyboard {
    kb_variant = workman
}

I guess Hyprland doesn't look at this for keybinds. If this is intentional, I can work around it on my end.

Ah yeah sorry it's 3am and I am about to hang myself after having to work with dbus, sd_bus and xdp's absolutely abhorrent docs.
hl picks up the global settings for the keymap, so you can of course set
input {
    kb_layout = us
    kb_variant =
}

and use
device:somekeeb {
    kb_variant = workman
}

and keybinds will work as on qwerty

Ah yeah sorry for my poor cognitive abilities atm it's 3am and I am about to hang myself after having to work with dbus, sd_bus and xdp's absolutely abhorrent docs.

lmao, understandable. I tried writing a wayland compositor for about two hours and now I'm here instead.

Uhhh, maybe I wasn't clear. The goal is to be able to press the same location on the keyboard, ignoring layouts, on both the laptop and the desktop, so I can reuse muscle memory across machines. I have this configuration:
bind = SUPER, F, fullscreen

input {
    # Mouse acceleration bad
    accel_profile = flat

    # Default is too high
    sensitivity = -0.225
}

device:at-translated-set-2-keyboard {
    kb_variant = workman
}

On the computer where the keyboard has workman firmware, this works great since there's no global kb_variant and the physical workman key F is also logical F. On the laptop though, this means I have to press the physical QWERTY key F (don't want), rather than physical U which is where logical workman F is (do want).
bind = SUPER, F, fullscreen

input {
    # Mouse acceleration bad
    accel_profile = flat

    # Default is too high
    sensitivity = -0.225

    # New!
    kb_layout = us
    kb_variant =
}

device:at-translated-set-2-keyboard {
    kb_variant = workman
}

This configuration appears to work exactly the same as the previous one.

Here's a NixOS-based workaround that does what I want

well then swap them. workman in global, qwerty (empty) in per-device.

Just tried that and it works on the laptop, but it makes the keybinds on the workman-firmware keyboard backwards instead. I think I'll have to stick with my NixOS trick.
Maybe Hyprland should be acting on keybinds per-device based on its kb_* settings instead of using the global one for everything? I obviously don't know Hyprland internals though.

I have kind of a similar issue. My laptop's internal keyboard uses the workman variant in software and the external keyboard uses workman in hardware.
I can't use both of them at the same time to control hyprland with the correct bindings, which becomes pretty annoying when disconnecting the docking station.

Since I have the same issue: Would it be possible to make keybinds get evaluated after applying the keyboard layout of the device they were pressed on instead of the default layout? That would make bindings refer to logical/printed keys rather than their physical location. To me personally, that's more intuitive.

Is this being looked at? Does hyprland plan to support modern keyboard setups? Thank you :pray:

Assigning a "kb_layout" to anything but a keyboard is a type error.

@vale981 would you mind sharing your workaround? I'm facing the same issue (albeit with two other layouts). I hope you're not rewriting the scancode-to-keycode translation table?

@vale981 would you mind sharing your workaround? I'm facing the same issue (albeit with two other layouts). I hope you're not rewriting the scancode-to-keycode translation table?

It's an ugly hack, but I can slap a gist together later.
Basically what happens is: I include a config file from a fixed path in my hyprland config. To this path I link the appropriate config for the current situation and force-reload hyprland. The symlinking and reloading is then hooked into udev, which detects the docking station being plugged in.

I see! I was thinking of doing something similar, albeit controlled manually rather than using udev. I appreciate the offer, but there's no need to write up a Gist on my behalf. It's been a year or so since I wrote udev rules, but I'm confident I can hack that up.

well then swap them. workman in global, qwerty (empty) in per-device.

I'm not sure this issue has been understood by the maintainers. I'll try to re-explain it differently.
Let's imagine two layouts set up like:
input {
    kb_layout = us
}

device:at-translated-set-2-keyboard {
    kb_layout = fr
}

So that all keyboards are qwerty, except the one on my laptop which will be azerty. If I bind something on Super+Q, it won't be bound to Super+Q, but to Super+the_top_left_letter_of_the_keyboard, regardless of the layout. So on my azerty layout, it will be bound to Super+A, which is not what we want. Btw, sway implements the correct behavior of binding Super+Q, whatever the layout is on each keyboard.

@blastrock describes the exact behavior I (and I believe the other commenters in this thread) want. I'd like to expand on why I care about this:
I have defined modal mnemonic keybinds (a bit like LazyVim, LunarVim, NvChad, ...) for Hyprland. For example: to open a new terminal window, I press leader l t. I really want to always press l and t even if I use different keyboard layouts on different input devices. Right now, Hyprland requires workarounds to make that happen.
I understand that just changing the current behavior might be a breaking change you do not want, but implementing the new behavior via an additional flag on bind seems reasonable to me. If the maintainers are open to such a change, I might try and tackle it.

This patch implements the behavior I believe we are all asking for. (At least it's the one I was asking for...) It changes the behavior unconditionally, so it's nothing that can be upstreamed, but if a config option can be agreed on, it shouldn't be difficult to implement.


fix: variable description for var.bootstrap_additional_options

what

Fixing variable description as it references another variable that doesn't exist.

why
Should save someone time in the future when they try and find the variable as mentioned in the description.

@aknysh i think i did it correctly. Please let me know if you need anything else.
here is the full output from when I ran the commands:
@venkatamutyala ➜ /workspaces/FORK-terraform-aws-eks-node-group (fix/variable-description) $ make init
Cloning https://github.com/cloudposse/build-harness.git#master...
Cloning into 'build-harness'...
remote: Enumerating objects: 158, done.
remote: Counting objects: 100% (158/158), done.
remote: Compressing objects: 100% (128/128), done.
remote: Total 158 (delta 12), reused 97 (delta 8), pack-reused 0
Receiving objects: 100% (158/158), 101.88 KiB | 1.38 MiB/s, done.
Resolving deltas: 100% (12/12), done.
@venkatamutyala ➜ /workspaces/FORK-terraform-aws-eks-node-group (fix/variable-description) $ make github/init
# github/update: Updated .github/workflows/auto-context.yml
# github/update: Updated .github/mergify.yml
# github/update: Updated .github/renovate.json
curl -o context.tf -fsSL https://raw.githubusercontent.com/cloudposse/terraform-null-label/master/exports/context.tf
find . -xdev -mindepth 2 -name context.tf -exec cp -p context.tf {} \;
@venkatamutyala ➜ /workspaces/FORK-terraform-aws-eks-node-group (fix/variable-description) $ make readme
make[1]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group'
* Installing packages master...
Cloning into '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages'...
remote: Enumerating objects: 926, done.
remote: Counting objects: 100% (926/926), done.
remote: Compressing objects: 100% (455/455), done.
remote: Total 926 (delta 320), reused 632 (delta 234), pack-reused 0
Receiving objects: 100% (926/926), 11.23 MiB | 10.71 MiB/s, done.
Resolving deltas: 100% (320/320), done.
make[1]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group'
* Installing gomplate to /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor
make[1]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/install'
make[2]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/vendor/gomplate'
mkdir -p -m a+rX /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor
curl --retry 3 --retry-delay 5 --fail -sSL -o /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v3.11.5/gomplate_linux-amd64 && chmod +x /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/gomplate
make[2]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/vendor/gomplate'
make[1]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/install'
make[1]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group'
make[1]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group'
* Installing terraform-docs to /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor
make[1]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/install'
make[2]: Entering directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/vendor/terraform-docs'
mkdir -p -m a+rX /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor
[ -n "/tmp" ] && [ -n "terraform-docs" ] && rm -rf "/tmp/terraform-docs"
mkdir -p /tmp/terraform-docs
curl --retry 3 --retry-delay 5 --fail -sSL -o - https://github.com/segmentio/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-linux-amd64.tar.gz | tar -zx -C /tmp/terraform-docs
find /tmp/terraform-docs -type f -name terraform-docs | xargs -I {} cp -f {} /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/terraform-docs
chmod +x /workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/terraform-docs
[ -n "/tmp" ] && [ -n "terraform-docs" ] && rm -rf "/tmp/terraform-docs"
make[2]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/vendor/terraform-docs'
make[1]: Leaving directory '/workspaces/FORK-terraform-aws-eks-node-group/build-harness/vendor/packages/install'
Generated README.md from /workspaces/FORK-terraform-aws-eks-node-group/build-harness/templates/README.md.gotmpl using data from /workspaces/FORK-terraform-aws-eks-node-group/build-harness/templates/README.yaml