gmod_wire_cameracontroller.lua:389: bad argument #1 to 'WriteFloat' (number expected, got function)

In the latest Workshop version:
[Wiremod] lua/entities/gmod_wire_cameracontroller.lua:389: bad argument #1 to 'WriteFloat' (number expected, got function)
  1. WriteFloat - [C]:-1
   2. SendPositions - lua/entities/gmod_wire_cameracontroller.lua:389
    3. SyncSettings - lua/entities/gmod_wire_cameracontroller.lua:405
     4. DisableCam - lua/entities/gmod_wire_cameracontroller.lua:594
      5. ClearEntities - lua/entities/gmod_wire_cameracontroller.lua:848
       6. unknown - lua/entities/gmod_wire_cameracontroller.lua:579

sv: Wire error (Entity [541][gmod_wire_cameracontroller]):
lua/entities/gmod_wire_cameracontroller.lua:389: bad argument #1 to 'WriteFloat' (number expected, got function)
stack traceback:
	[C]: in function 'WriteFloat'
	lua/entities/gmod_wire_cameracontroller.lua:389: in function 'SendPositions'
	lua/entities/gmod_wire_cameracontroller.lua:405: in function 'SyncSettings'
	lua/entities/gmod_wire_cameracontroller.lua:594: in function 'DisableCam'
	lua/entities/gmod_wire_cameracontroller.lua:761: in function <lua/entities/gmod_wire_cameracontroller.lua:758>
	[C]: in function 'xpcall'
	lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
	entities/gmod_wire_expression2/core/wirelink.lua:14: in function <entities/gmod_wire_expression2/core/wirelink.lua:12>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/core/init.lua:118: in function <lua/entities/gmod_wire_expression2/core/init.lua:112>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/init.lua:198: in function 'PCallHook'
	lua/entities/gmod_wire_expression2/init.lua:139: in function 'Execute'
	entities/gmod_wire_expression2/core/gametick.lua:38: in function 'v'
	lua/includes/modules/hook.lua:84: in function <lua/includes/modules/hook.lua:67>

The latest workshop version looks to be 0f56a368, and the stacktrace implies that type(self.Distance) == "function".
Try disabling all your other addons. This sounds most like a bug caused by some other addon.

We've seen this error many times. It's caused by an addon changing the Distance variable on other entities.

player.GetByID(1)

Entity(1-64) is exactly the same as player.GetByID(1-64)

interesting

Closing this since it isn't caused by wiremod. Not our fault if other addons decide to break everything


clicking on a marker whose popup is open make the popup close AND open at the same time (V1 beta2)

http://jsfiddle.net/Pe5xU/261/
With the new leaflet v1 beta 2 :
1 - you click on the blue marker icon -> the popup open
2 - you REclick on the marker icon -> the popup close (fadeOut) AND re-open (fadIn)
With the older 0.7 version :
1 - you click on the blue marker icon -> the popup open
2 - the popup is just closing. It is more what we expect.
To have the same result in v1 than in v0.7, we must use map.options.closePopupOnClick : false.
But of course, with that, a click on the map does'nt close the open popup anymore...
How to retrieve the old behaviour of v0.7 with v1 ?

@yohanboniface Is this the expected behaviour with the 1.0.0 event handling?

@yohanboniface Is this the expected behaviour with the 1.0.0 event handling?

Nope. I add that to my todo list, unless you have a look before ;)

Could it be that this problem still exists when binding popups to polygons? So if a popup is open and a user clicks somewhere else on the polygon that the map.on('popupopen',function(e){}) or the map.on('popupclose',function(e){}) are not fired correctly?

Which Leaflet version are you using?

Im using Leaflet 1.0.0-rc2: <script<EMAIL_ADDRESS>Maybe a bit more information: I am creating polygons with: L.polygon() and then bind popups to the polygons with: polygon.bindPopup(). In the popup, I have a div in witch I generate a SVG. So I only want to generate the SVG if the popup is actually open as to increase performance. So naturally, I use:
map.on('popupopen',function(e){
   ... SVG GENERATION HERE ...
}

And when the popup closes, I destroy the SVG again:
    map.on('popupclose',function(e){
        var svg = d3.select("#my-SVG-div").selectAll("*").remove();
    });

It works fine for all cases, except when I click on the same polygon as has an open popup. Then the events do not seem to get fired.

May just be another face of #4743.
Can you try with #4769 by chance?

Dont think it has to do with the first issue because the SVG is not drawn on the map, but into the popup. And it works if I open a popup, close it again with the little "x" in the top right corner of the popup and then click on the same polygon again to open a new popup.
The second issue I dont fully understand because I basically only have 2 event listeners on the map, a popupopen and a popupclose and Im guessing my order of open --> close is the natural order for these listeners?

The root of #4743 is the order of event listeners not being honoured, and it may be the same for the issue you are talking about.

Hm ok. How can I test that and where can I see what order I need to honour?

Oh, that something different than the original issue then.
Can you open a new issue and create a jsfiddle to reproduce (with http://playground-leaflet.rhcloud.com/) ?

Ok, recreated error in the fiddle: http://playground-leaflet.rhcloud.com/zewi/edit?html,js,console,output Please let me know if the fiddle works for you because I have no experience with fiddles :)


Support for Spock 2.0

Feature requests
Do you plan to add an extension for Spock 2.0 using the AbstractRunListener class?
I see that there are some extension have been added for Junit 5.
package org.spockframework.runtime;

import org.spockframework.runtime.model.*;

public class AbstractRunListener implements IRunListener {
  @Override
  public void beforeSpec(SpecInfo spec) {}
  @Override
  public void beforeFeature(FeatureInfo feature) {}
  @Override
  public void beforeIteration(IterationInfo iteration) {}
  @Override
  public void afterIteration(IterationInfo iteration) {}
  @Override
  public void afterFeature(FeatureInfo feature) {}
  @Override
  public void afterSpec(SpecInfo spec) {}
  @Override
  public void error(ErrorInfo error) {}
  @Override
  public void specSkipped(SpecInfo spec) {}
  @Override
  public void featureSkipped(FeatureInfo feature) {}
}

We are currently struggling to upgrade to Java 17, Spring boot 2.5+ and Spock 2.0 because there isn't a replacement for the Wiremock stubs that we started with junit4's @Rule. The only option we have is to keep using junit4.
We would love to have a Wiremock Spock Extension so we can upgrade and stay up to date with the latest versions of Java, Spring and Spock.

@plebcity I was able to migrate my project to Java 17, Spring Boot 2.6, Spock 2.0, Groovy 3, running tests on JUnit Platform (JUnit 5). I was able to get all the way there except keeping it on JUnit 4, and then doing the JUnit 4 -> JUnit 5 conversion last in one step.
The key was using Spock's fixture methods (setup/cleanup) to manage the WireMock server lifecycle. Which meant using the plain non-JUnit version of WireMock.
Here is what my changes looked like:

In each test that used WireMock, swapped the old @Rule line like this

// Old
@Rule
WireMockRule server = new WireMockRule(options().port(8888))

// New
WireMockServer server

def setup() {
    this.server = new WireMockServer(options().port(8888))
    server.start()
}

def cleanup() {
    server.stop()
}

And each place where I used the DSL before, I now referenced server directly.

// Old
stubFor(...)
verify(...)

// New
server.stubFor(...)
server.verify(...)

I hope this can help you in the meantime, although it's more verbose than the old JUnit 4 way.

@samhclark thanks! this solution is great! I didn't know wiremock had a plain old java-usage. I actually prefer it to the @Rule option because here you have more control over when to start/ stop the server, and can debug better.

@samhclark Thanks for you workaround. I would add for people reaching this issue that setupSpec() and cleanupSpec() could also be used (an equivalent of @ClassRule static WireMockClassRule...) to setup the Wiremock server only once (in the long run, it is faster), together with resetting the server/stubbing/verification state after each test, e.g.
@Shared
WireMockServer wiremockServer

def setupSpec() {
    this.wiremockServer = new WireMockServer(options().port(8888))  //random port is generally better, especially for CI builds
    wiremockServer.start()
}

def cleanupSpec() {
    wiremockServer.stop()
}

def cleanup() {
    wiremockServer.resetAll()
}

This just came up on Stack Overflow again. Maybe it would be worth writing a Spock extension. That should not be rocket science. Spock's extension API, both for annotation-driven and global extensions, is pretty capable and straightforward. I am not a WireMock user, otherwise I probably would write an extension myself. But currently, I would not be scratching my own itch. ;-)


[examples] use clap in hvac-cli

Finally after half year on my 2do list I did what you recommend :)

This looks great! Thanks again.


Create and manipulate posts

User Stories

As a user, I can create a post

As a user, I can retrieve all of my posts

As a user, I can retrieve a post by id

As a user, I can update the title of a post

As a user, I can delete a post

Created Post model and routes.


Type 'AgrumeImage' does not conform to protocol 'Equatable'

Problem:

Solution:
Implementing below function
    public static func ==(lhs: AgrumeImage, rhs: AgrumeImage) -> Bool {

    }

V. 5.0.1
If you can update this and release a new version.

Which version of Swift are you using? Swift 4.1 introduced synthesized equatable conformance

On 6. Sep 2018, at 05:55, Hemang<EMAIL_ADDRESS>wrote:
Problem:
Solution:
Implementing below function
public static func ==(lhs: AgrumeImage, rhs: AgrumeImage) -> Bool {

}

V. 5.0.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh okay! I am using 4.0


How to see debug messages or logs?

When I send templates sometimes it didn't show in chat and I don't know what is the reason.
But after a long time trying I discover a syntax error in my template or my elements has more than the maximum allowed elements. This errors are easy to solve but sometimes hard to find.
So is there any logs that I can see? or any debug event?

Hey @MMayla, you can check the error property of the response object, the error codes are listed on this site.
See the example below:
bot.sendGenericTemplate(userId, elements).then((res) => {
    if (res.error) console.log('Failed to send Generic Template: ' + JSON.stringify(res) );
});

@kebou thank you :+1:

FYI @MMayla and @kebou, I've just added a generic error message when Facebook responds with the error node so you don't have to manually debug it. Thanks for the suggestion!


no such file :ref_id.h

CC build/main/main.o
C:/msys32/home/Jiangyinhu/exam/esp-face-master/main/main.c:11:20: fatal error: ref_id.h: No such file or directory

Hi, actually this repo is a component for https://github.com/espressif/esp-who


Jitter from RPM?

Hi
How come Jitter doesn't seem to be captured from the cron and rpm polling scrape?  I can't see the field in influxdb.  This is one of the outputs of show services rpm probe results.
Cheers,
Jon.

Hi
If there is any missing field that is not being capture by the actual parsers, you can edit those parsers including the related xpath for the value you're looking for.
In your case the file to edit should be
https://github.com/Juniper/open-nti/blob/master/data/junos_parsers/show-services-rpm-probe-results.parser.yaml
Regards

OK thanks will look into that
Cheers
Jon
On Tue, 21 Aug 2018, 15:36 Efrain<EMAIL_ADDRESS>wrote:

Hi
If there is any missing field that is not being capture by the actual
parsers, you can edit those parsers including the related xpath for the
value you're looking for.
In your case the file to edit should be
https://github.com/Juniper/open-nti/blob/master/data/junos_parsers/show-services-rpm-probe-results.parser.yaml
Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Juniper/open-nti/issues/236#issuecomment-414696805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAly52O6EQUqDIkveFPKDkTVwd8Ueo8Cks5uTBsLgaJpZM4WBtGs
.


watchdog to detect app termination

if an app is restarted the inital color layout needs to be reloaded, otherwise the toggle colors might be not correct

[x] detect app closing in watchdog
[x] send message to keypad
[x] reload colors from json
[x] only reload if it has a toggleColor
[x] add flag to apps array when initially loading
[x] watchdog termination message should be `verbose´only

[ ] now test it a while


Curiosity - often http error, but works on a second try

Hi, Oriol,
I noticed that I often get HTTP error on the first try of running the wordclouds script. It is enough to re-run the command and then everything works. This is slightly unsustainable. I can get around this for now, but I was wondering, if it would be possible to look into this and make it a bit more stable.
 File "/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404:

Best,
Ieva

Ok, this is starting to become a bigger issue. We are trying to run this on new data now, but besides 404 error we get a "reshape" error:
I have also came across another error that I suspect happens, because some values are not found.
Traceback (most recent call last):
  File "/storage/mathelierarea/processed/ieva/projects/JASPAR_2024/jaspar_2024_downstream/new_structure/jaspardownstream/external_tools/wordclouds/tools/gene2wordclouds/gene2wordclouds.py", line 584, in <module>
    main()
  File "/div/pythagoras/u2/ievarau/.local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/div/pythagoras/u2/ievarau/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/div/pythagoras/u2/ievarau/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/div/pythagoras/u2/ievarau/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/storage/mathelierarea/processed/ieva/projects/JASPAR_2024/jaspar_2024_downstream/new_structure/jaspardownstream/external_tools/wordclouds/tools/gene2wordclouds/gene2wordclouds.py", line 140, in main
    __get_gene2comparison(filt_entrezids, gene_info, stem_aliases, out_dir)
  File "/storage/mathelierarea/processed/ieva/projects/JASPAR_2024/jaspar_2024_downstream/new_structure/jaspardownstream/external_tools/wordclouds/tools/gene2wordclouds/gene2wordclouds.py", line 581, in __get_gene2comparison
    __get_pairwisecomparison(stems_df, entrezids, tfclass, gene_info, entrezids2stems, 2, tfidfs_dir, stats_dir)
  File "/storage/mathelierarea/processed/ieva/projects/JASPAR_2024/jaspar_2024_downstream/new_structure/jaspardownstream/external_tools/wordclouds/tools/gene2wordclouds/utils/gene2genecomparison.py", line 187, in __get_pairwisecomparison
    __get_abspres_cosine_class(order_entrezids, colors, abspres_vec, legend, patch, outdir)
  File "/storage/mathelierarea/processed/ieva/projects/JASPAR_2024/jaspar_2024_downstream/new_structure/jaspardownstream/external_tools/wordclouds/tools/gene2wordclouds/utils/gene2genecomparison.py", line 275, in __get_abspres_cosine_class
    matrix = cosine_similarity(vectors)
  File "/div/pythagoras/u2/ievarau/.conda/envs/wordclouds/lib/python3.8/site-packages/sklearn/metrics/pairwise.py", line 1180, in cosine_similarity
    X, Y = check_pairwise_arrays(X, Y)
  File "/div/pythagoras/u2/ievarau/.conda/envs/wordclouds/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
    return f(*args, **kwargs)
  File "/div/pythagoras/u2/ievarau/.conda/envs/wordclouds/lib/python3.8/site-packages/sklearn/metrics/pairwise.py", line 142, in check_pairwise_arrays
    X = Y = check_array(X, accept_sparse=accept_sparse, dtype=dtype,
  File "/div/pythagoras/u2/ievarau/.conda/envs/wordclouds/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
    return f(*args, **kwargs)
  File "/div/pythagoras/u2/ievarau/.conda/envs/wordclouds/lib/python3.8/site-packages/sklearn/utils/validation.py", line 637, in check_array
    raise ValueError(
ValueError: Expected 2D array, got 1D array instead:
array=[].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.

But more importantly, only 25 wordclouds are produced for any list of UniProt IDs, which is quite strange.
We suspect that it might be gene_info.gz file download that causes 404 problem or something related to missing info for different UniProt IDs. Why gene_info.gz is downloaded, while gene2pubmed.gz is stored in the repo? Are all utils/data files universal to any kind of input or they should also be fetched from databases like gene_info.gz ? I am wondering, if the workflow detects them as existing and then they are not updated. Such files could always be downloaded in the output directory and not utils/data (this actually messes up within the container, since it is read-only system). Just to note that these errors occur also when running from the conda environment as instructed.
It would be great, if you could help us with this.
Best,
Ieva
P.S. I am attaching a short list of uniprot IDs that produces the errors.
test_list_of_uniprot_ids.txt


Create initial about page

Create an initial about page containing more detailed information about SSD.
Requirements

Add an About title to the page

Check page metadata for title/description as well

Add a description paragraph with detailed information about the organization:

We are an organization that helps students learn and apply software engineering principles to real-world applications. We host weekly workshops on topics like software design to help bridge the gap between what students need to know for industry and what they're taught in classes. These concepts help with building complex software systems and better prepare members for team projects, internships, and careers in software development.

Add a picture from one of our meetings/events

SSD Fall 2022 Meeting
Remember to include alt text!

Add another section on SSD history delayed until next sprint
Confirm this renders well on mobile devises (tip: mobile-first design)
If time allows:

Spike work for displaying past & present officers (some type of card with picture, title, and socials links?)

Note: We still need some time to work out what we want to include in the History section; so delaying that until the next sprint.


Can't find topdown model

Why is the topdown model gone?

https://drive.google.com/open?id=0B7fNdx_jAqhtT3pBQlR6emJXM1U


[WIP] Test action v7.3.3

Description
Test using bash instead of PowerShell shell when running az login

Codecov Report

Merging #116 (37563c4) into main (9cfda02) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #116   +/-   ##
=======================================
  Coverage   71.88%   71.88%
=======================================
  Files          59       59
  Lines        1444     1444
  Branches      155      155
=======================================
  Hits         1038     1038
  Misses        354      354
  Partials       52       52

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add filter to direct messages list.

Fixes https://github.com/zulip/zulip/issues/22113.
Blocked by https://github.com/zulip/zulip/pull/30500 and https://github.com/zulip/zulip/pull/30501
I've also renamed pm and private(-/_) to direct(-/_) in all the left sidebar occurences and internal variables in pm_list_data. I have not renamed it for exported methods, since it might be better done in a different PR together along with file renames.
Although the renames and clean-up are part of the same PR right now, it can be separated into different PRs if it's easier to review, where rename and cleanup PR contains all commit except the last one.
The search will only be visible when in the more conversations view. Once we click back to channels and close the more conversations view, the search will clear and the search box will disappear.
We've chosen pm_list_data.get_conversations as the function to which we will pass our search term. We could have technically found the value of the filter element via JQuery in pm_list_data, but pm_list_data does not handle any JQuery and we should keep it that way.
pm_list_data.get_list_info also accepts the search_term so that the info it returns in expanded view is accurate.
I've still used the term pm in the new code, since the CZO discussion for that is still unresolved.
I have not built upon #24684 since it would've required it's own rewrite.

Screenshots and screen captures:

Filter is hidden when more conversations is not selected

Filter with the query `des`

Blue background when the DM section is selected

Discussion resolved on this behaviour at this CZO thread

Filter behaviour when the user has narrowed into a DM

Manual testing checklist:

Clicking back to channels should clear the search and update the message accordingly.
Clicking on the x icon on the filter input box should clear the search and update the list.

Regression testing:

Test channel list filter and topic list filter for regressions.

Self review checklist:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

We should immediately put your cursor in the search box when you enter "more conversations", just as we do with the topic filter.

I don't think this state looks good visually:

Can we add a bit of vertical space above the filter?

Great! @karlstolley are you up for reviewing this one next? I haven't re-tested.

Opened #30402 for a general issue with keyboard navigation of the clear search button, which is not addressed in this PR.

I've given this a manual test. Similar feedback to Alya's in terms of the no X in the box. I compared the DMs filter with the channels filter, too, and can see that the filter boxes take up different widths (the topic-filter box takes up yet another width):

It's probably too much churn for this PR, but we should think about a follow-up that gets filter boxes participating in gridded rows like the rest of the left sidebar rows.

Thanks for the review!

I've given this a manual test. Similar feedback to Alya's in terms of the no X in the box. I compared the DMs filter with the channels filter, too, :

Can you clarify more on the no X in the box feedback? The x should not be shown when the field is empty as Alya suggested. This behaviour is similar to the topic list filter, while the channel list filter does not have this behaviour.

and can see that the filter boxes take up different widths (the topic-filter box takes up yet another width)

Having a width similar to channel list makes the input box look out of place in the more conversations view to me, especially when the user has unreads. See attached screenshot:

Maybe we can considering reducing the width of the channel filter to match that of the DM filter? the current channel list filter feels a bit too wide.

If we are thinking about adjusting filter widths, we should always move in the direction of https://terpimost.github.io/zulip-sidebar/.

I've opened #30500 and #30501 and marked this PR as blocked until they are reviewed and merged. Both of them are independent of each other. It would be easier to review #30500 first since it's a 1 commit PR.

Started a discussion on filter widths here

Pushed back here following the merge of those prep PRs, which were indeed helpful to split out, since there were some things to fix in them. A few UX notes:

Arrow key/Enter navigation to select something doesn't work. This can probably be a follow-up, since it doesn't work when filtering topics either.
Esc with focus in the topics filter widget clears the filter; here is navigates the center pane.

Neither of these seems like a blocker for deploying to chat.zulip.org, so I'm going to do a full code review and if it seems OK, get it deployed there for broader testing.

Can you clarify more on the no X in the box feedback? The x should not be shown when the field is empty as Alya suggested. This behaviour is similar to the topic list filter, while the channel list filter does not have this behaviour.

I'm pretty sure Karl just meant to say he agreed with Alya's feedback on that detail.

OK, having reviewed, I'll wait for tomorrow to deploy this pending https://github.com/zulip/zulip/pull/30332#discussion_r1647962399; it just seems like it'll be a simpler QA experience for folks to all start with what we expect to be the correct/final logic.

Esc with focus in the topics filter widget clears the filter; here is navigates the center pane.

I've fixed this in a separate commit so that it's a bit easier to review now: b21e8f66204694c9f52182b73b2762b9d25ff9ed, can be squashed at the time of merging if needed.

Arrow key/Enter navigation to select something doesn't work. This can probably be a follow-up, since it doesn't work when filtering topics either.

Might be better as a follow-up since arrow key navigation does not work in DMs currently, so we'll need to add support for that and then selecting the first result when pressing enter in search bar.

Testing the PR, something is wrong with the filtering algorithm.

Do we expect searching for unicode characters to work? It doesn't seem to.

Works for me otherwise! I think the remaining oddities with keyboard navigation are the same as for the topic search.

Sorry, missed the last set of comments somehow.
FYI: This PR is not ready for review yet in the latest push.

Testing the PR, something is wrong with the filtering algorithm.

I wanted to confirm the algorithm behaviour with you:

For single user DM, If we have multiple search terms, e.g. ia, des it will match to both Iago and Desdemona. i.e. it will match to either of the short term.
For multi user DM, if we have multiple search terms, we want the group DM to fulfill all search terms. e.g. ia, des will match to group DM Iago, Aaron, Desdemona but not Iago, Aaron, Cordelia.

Does this sound correct?

That sort of algorithm policy decision is best discussed in the chat.zulip.org thread for the feature for more visibility. I'm not sure what's correct off the top of my head.

Just to give some initial context that you can make use of in framing a question/proposal, my thoughts on ,s are:

The feature would be mergeable if ,s don't do anything special, and iag, just matches for people with iag, in their name. I realize that may or may not actually be simple to implement using existing helper functions.
Probably , behaving differently for matching 1:1 DMs and group DMs doesn't make any sense, since those things are in the same list. I think just asking for every comma-separated token to match a different one of the users would be a coherent algorithm for ,s. But to me, that sounds like a rabbit hole that we would ideally not enter.
The complaint about the , behaviour above was that including a , caused everything to match, which seemed broken. I assume that's because it was splitting iag, to "iag" and "" and then determining that everything matched the empty string. So a sufficient response to that bug report would be to just fix that.

Again, I haven't tried to determine whether the simple mergeable checkpoint suggested in the first bullet is actually simple, having not tried to read the library code with that question in mind. But I think getting to a mergeable checkpoint should be our goal, since 90% of the code here is independent of the algorithm. And generally GitHub reviews get inefficient when one does a lot of review round-trips on a small portion of a larger PR.

I agree with all of @timabbott 's feedback above.

An answer to this question would still be helpful for me:

Do we expect searching for unicode characters to work? It doesn't seem to.

If the answer is that it's complicated to make them work, that's fine, but I'd like to understand the situation.

The complaint about the , behaviour above was that including a , caused everything to match, which seemed broken. I assume that's because it was splitting iag, to "iag" and "" and then determining that everything matched the empty string. So a sufficient response to that bug report would be to just fix that.

That makes it more clear on what the original complaint was, having  something is wrong with the filtering algorithm. made me think it was something else, i.e. group DMs matching algo, since the screenshots didn't include a iago,  search term.
I noticed the bug that caused everything to match when trying to fix the group DM algo; but didn't realise that was part of the comment above

Again, I haven't tried to determine whether the simple mergeable checkpoint suggested in the first bullet is actually simple, having not tried to read the library code with that question in mind. But I think getting to a mergeable checkpoint should be our goal, since 90% of the code here is independent of the algorithm. And generally GitHub reviews get inefficient when one does a lot of review round-trips on a small portion of a larger PR.

Ok, I'll make changes according to point 1 and for the rest, start a discussion on CZO

Again, I haven't tried to determine whether the simple mergeable checkpoint suggested in the first bullet is actually simple, having not tried to read the library code with that question in mind. But I think getting to a mergeable checkpoint should be our goal, since 90% of the code here is independent of the algorithm. And generally GitHub reviews get inefficient when one does a lot of review round-trips on a small portion of a larger PR.

I've made the changes where , is treated as any other character for the search. You can check the code changes here and here
This has 3 commits from #30707 and will be ready for review once the issues in that PR have been resolved and this is rebased on top of that.

Looks good to me in manual testing now!

I made the following little tweaks plus re-wrapped for the nit in https://github.com/zulip/zulip/pull/30332#discussion_r1669189363 and marked this to merge once CI passes. Thanks for all the work on this @shubham-padia!
See also the code cleanup follow-up proposed in https://github.com/zulip/zulip/pull/30332#discussion_r1669198527. But I'm excited to have this integrated :).
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.js
index 4ab13875e0..ace2eda075 100644
--- a/web/src/click_handlers.js
+++ b/web/src/click_handlers.js
@@ -775,6 +775,10 @@ export function initialize() {
         e.stopPropagation();

         if (!$(e.target).hasClass("direct-messages-list-filter")) {
+            // Avoiding having clicks on the filter input.
+            //
+            // TODO: Refactor to use more precise selectors for this
+            // click handler in general; this is a fragile pattern.
             window.location.hash = "narrow/is/dm";
         }
     });
diff --git a/web/src/pm_list.ts b/web/src/pm_list.ts
index 4781780d78..371c9c5d2b 100644
--- a/web/src/pm_list.ts
+++ b/web/src/pm_list.ts
@@ -40,7 +40,7 @@ export function close(): void {

 export function _build_direct_messages_list(): vdom.Tag<PMNode> {
     const $filter = $<HTMLInputElement>(".direct-messages-list-filter").expectOne();
-    const search_term = $filter.val() ?? "";
+    const search_term = $filter.val()!;
     const conversations = pm_list_data.get_conversations(search_term);
     const pm_list_info = pm_list_data.get_list_info(zoomed, search_term);
     const conversations_to_be_shown = pm_list_info.conversations_to_be_shown;


How would client code look like?

Hello guys, great props for trying to standardise this! I might have missed it, but I only found examples for node-js server side code generation. How would the client code look like?
const ws = new WebSocket('...', '...')

ws.send(JSON.stringify({ /* what goes here */ }))

ws.onmessage = (ev) => {
  ev.data // what is this?
}

In other words, where would the payload, and the topic go for a message?

Hey @bali182! You just spotted an unsupported feature in the current tooling. In AsyncAPI 1.2.0, we added support for Events APIs, a terrible name for APIs that don't have topics, just a single channel like WebSockets. That said, if you create a code generator for a consumer, and want to use WebSockets, it should read from the events section instead of the topics one.
const ws = new WebSocket('...', '...')

ws.send(JSON.stringify({
	/*
	Here comes the data you want to publish. You can validate its correctness against the payload defined under `events[].send`.
	*/
}))

ws.onmessage = (ev) => {
  ev.data // Here you receive the data from a WebSockets server. You can validate its correctness against the payload defined under `events[].receive`.
}

Hope it clarifies things a bit.

Hi @fmvilas, thanks for getting back to me! What I meant to ask is that to my knowledge Websockets don't support channels (I might be wrong on this I just started exploring the subject). I assumed that topics and possible other metadata were part of the payload (data field in the event) JSON encoded, or some other format.
What I basically mean is let's say we are working with this (lightMeasured schema is irrelevant for the question):
topics:
  event.{streetlightId}.lighting.measured:
    publish:
      $ref: '#/components/messages/lightMeasured'

If I understand correctly this is something that the socket client would listen to in onmessage. How would I detect from the data available that we hit this specific topic/route? Also how would I extract the actual payload (object matching lightMeasured schema)?

The reason I'm asking this is because I'm interested in writing a client side code generator for this, but first I'd like to understand the internals, and how chanels, payloads, possibly other metadata, etc... is transported if I have nothing but a pure WebSocket.

This is a Socket.io implementation detail. If you really want to use AsyncAPI with WebSockets, you can't use the topics section of the spec. Instead, use the events section. Check out this Slack Events API example: https://github.com/asyncapi/asyncapi/blob/master/test/docs/slack-rtm.yml#L14.
Notice how I don't specify topics because WebSockets don't have the concept of topics. There's only one channel when using WebSockets.
Does it make sense?

@fmvilas Yes definitely! This format is super clean.


Migrate tests to Github Actions

Proposed change

Migrate our CI/CD pipeline from Travis CI to Github Actions.
Code coverage had to be moved from coveralls.io to codecov.io as coveralls.io Github Action had weird error messages.
Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to this library)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:

Checklist

[ ] The code change is tested and works locally.
[ ] Tests have been added to verify that the new code works.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@462cecf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #366   +/-   ##
=========================================
  Coverage          ?   96.34%
=========================================
  Files             ?        8
  Lines             ?      848
  Branches          ?        0
=========================================
  Hits              ?      817
  Misses            ?       31
  Partials          ?        0

Flag
Coverage Δ

3.6
96.34% <0.00%> (?)

3.7
96.34% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Added backoff mechanism

Hello @gonsfx,
i took the liberty of implementing #7 for your project.
Hopefully you can make good use of it. :)

Jay

Coverage increased (+5.3%) to 60.769% when pulling f281f3ca0072ecff0d1e44cdb9de6053c0583115 on Draggha:master into fa05cc3da3d4c1d3cc0057d3449d242f29ccb8dc on gonsfx:master.

Looks good to me, thanks a lot!
Going to merge this in and publish as 0.4.0 tomorrow.


Help Add More Depth to Our Existing Kawaii Characters!

Got some unique ideas for our Kawaii Criminals? We need your help to flesh out our existing characters!
Task Details:
Your task is to take one or more of our existing characters and expand on their unique traits or features.
What We Need From You:

Choose a Character: Pick one or more characters from our existing database that you'd like to elaborate on.
Expand on Their Traits: Describe in more detail their distinguishing features, abilities, or quirks that make them interesting in our kawaii universe.

Remember, we're looking for creativity and depth here to make our characters more engaging and fun!
Feel free to ask any questions you might have. Thank you for contributing to the richness of our Kawaii Criminal Database!

I'd like to work on it, can you assign me this issue?

Hi Vaanya,
Thanks very much for your contribution! That's very cute!
Would you like to join us on the project and maybe create a game?
I noticed you are interested in c++ we can think of something together.

Sure, would love to

Join our discord server https://discord.com/invite/W5vkk2KPBQ so we can communicate and discuss how to proceed.
I'll add you on the project too.


fixed rgb2hsv method, added mapArray skeleton

Closes #315

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

Hey @xxDOOMbox - did you mean to add yarn as a dependency to the project?

No, I didn't. It must have been added when I installed yarn. I can remove it and submit a new pull request.

I have removed the dependency.

looks like the yarn.lock file was still updated.

Wahoo! Thanks! Could you also create a new issue for your new function?

thanks! yeah, will do.


fix: disambiguation log records produced parsing error

fix: disambiguation log records produced parsing error.  With this fix, will generate a special DISAMBIGUATION node

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

doesn't include the right change


Some questions

Hi! This project looks cool, I have been playing a bit with it, and I have a few questions:
1- is it dead / abandoned ? or waiting for contributions?
2- when trying out the read_pcrs example, it seems like I never get back more than 8 PCR (the 8 first that match the selection). I can change the selection and get different PCR (with different Hash Alg and/or PCR number), but never more than 8. Do you know if it could be a bug in the lib or just an TPM implementation specific behavior? (I'm on Linux)
Thanks!

I found my answer for 2-: as per the spec, a TPML_DIGEST can contain a maximum of 8 digests, hence the limit on the response.


Auro input date field should accept MM/YYYY format

Is your feature request related to a problem? Please describe.
Having the auro input accept MM/YYYY format would prevent us from needing to manually add the century (e.g "20${twoDigitYear}"
Describe the solution you'd like
Adding a case like this to base-input.js:         case 'month-fullYear':           config = {             date: true,             datePattern: [               'm',               'Y'             ]           };
Happy to submit a PR.

@DZwell  this seems like the right thing to support. In order to keep from creating a breaking change, yes, month-fullYear is the appropriate API option.
There is additional work being done to auro-input so please branch from and submit a PR to the v2.3-rc branch.
Also, please update the Date Format section of the demo document.


Icons on Buttons

As a user I want to have Icons on the toolbar buttons to have visible hint wich button does what.

2 pkt
2 h


AB#9359 Create LatestArticles component

Isn't this component supposed to get articles dynamically by selecting the Articles parent page (in Services site's case - Insights) like we had it for Financial site?

Hmm potentially yes, I'll confirm with Alexander

Yes please, let's use a similar approach as Articles at Financial site.


Add GitHub actions update file and add CONTRIBUTING.md

Bring screenshots into this repo so it's not reliant on the old repo
I've also detached this repo from chris' old repo. TIL creating a PR on a fork is not easy :sweat_smile:
Remove Makefile since GitHub actions now builds coloschemes weekly
CONTRIBUTING.md includes instructions on how to do manual local building, but it's not needed to be checked into the repo since the github action takes care of this now.
Update readme formatting
It's just following how the other readmes are, having the links at the bottom to clean up the file a bit and then line breaks at 72 chars.
Add CONTRIBUTING.md
This is basically a copy of the contributing.md file on the other repos, except there are references to this repo and in that case it includes base16-iterm2.

Merging is blocked
The base branch requires all commits to be signed. Learn more about signing commits.

Ok, I don't even have git signing set-up myself yet but I do think its about time ;-)

If you have issues with setting it up I can disable the requirement on repos you're involved with until you've gotten it set up (so there isn't a time pressure to do it)

Actually I'll just disable it until you tell me that you've got commit signing enabled.

@JamyGolden Thanks. I put up a post-it reminder on my desk. :-)


Real device width and height

I have the next problem - when I build my react-native app into apk file, and then install app into the device, I get wrong data display(something like under a magnifying glass). After a few hours of working, I decide to do alert from demension(of course I did rebuild of apk ) my device height and width. And here is the question! - On my Galaxy S6 with resolution 2000+ x 1500+ I have got 640 x 480!
Also I tried to find dependence on PixelRatio and i got it!
I have run Htc Evo from Genymotion, and get next results : 720x1280 dpi 160 (PixelRatio - 1.0) works great! Dimension return 720 and 1280 , 720x1280 dpi 240 (PixelRatio - 1.5) works wrong! Dimension return 480 and ~850 , 720x1280 dpi 320 (PixelRatio - 2.0) works wrong! Dimension return 480 x 640
I have an idea, that the dimensions is not a pixel-dimension(maybe some diff values), but I was wrong, cause when I insert Image(own height and size 30x30 px), toogle inspector shows me that my Image component is 30x30!

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/real-device-width-and-height
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.


Getting an AttrHandle for rtnl attributes?

Given a Genlmsghdr, you can call get_attr_handle to get an AttrHandle, from which you can call things like get_attr_payload_as.
However, I don't see any means of doing the same with an rtnl message. You can get an AttrHandle for nested attributes, but not for the top-level attributes in the message.

You're right that there are no convenience methods for this. You can construct an AttrHandle like so:
fn attr_handle(rtmsg: &Rtmsg) -> AttrHandle<'_, Rta, Buffer> {
    AttrHandle::Borrowed(rtmsg.rtattrs.as_ref())
}

for example. I understand that this might not be ideal and I'm happy to discuss a better way of doing this.
Given that RtBuffer is contained in a wide variety of structs, I'm hesitating to just implement a helper method for each one. I'd prefer potentially moving the .get_attr_handle() to the RtBuffer and GenlBuffer structs and then calling these new type-defined methods from Genlmsghdr::get_attr_handle() for backwards compatibility. How does that sound to you?

You're right that there are no convenience methods for this. You can construct an AttrHandle like so:
fn attr_handle(rtmsg: &Rtmsg) -> AttrHandle<'_, Rta, Buffer> {
    AttrHandle::Borrowed(rtmsg.rtattrs.as_ref())
}

for example. I understand that this might not be ideal and I'm happy to discuss a better way of doing this.
Given that RtBuffer is contained in a wide variety of structs, I'm hesitating to just implement a helper method for each one. I'd prefer potentially moving the .get_attr_handle() to the RtBuffer and GenlBuffer structs and then calling these new type-defined methods from Genlmsghdr::get_attr_handle() for backwards compatibility. How does that sound to you?

@jbaublitz Having a get_attr_handle method on RtBuffer and GenlBuffer sounds perfectly reasonable to me. Thank you.

@jbaublitz Having a get_attr_handle method on RtBuffer and GenlBuffer sounds perfectly reasonable to me. Thank you.

Okay excellent! I'll probably put this out in the next patch release.

Okay excellent! I'll probably put this out in the next patch release.


[5.8] Updates doc blocks.

See comment from @driesvints.

I think there's a few more functions where the type can be changed from mixed to object.
-     * @param  mixed  $job
+     * @param  object  $job


Sassc Ruby should detect presence of existing libsass.so

@bolandrm how would you feel about having the ext/Rakefile check for an existing libsass.so before it compiles its own? This would also involve performing the detection or setting something in SassC::Native.
I say this because having just the one built libsass.so will speed up CI times for projects that use sassc-ruby.

i'm a bit fuzzy on how this would work.  where does the libsass.so live?  For most CIs, isn't the whole environment cleaned up after each run?

The libsass.so will live where ever lib files get installed; somewhere like /usr/local/lib depending on your environment setup.
If we can pre-install binaries of libsass.so then we won’t have to compile them every CI run.

Actually… let’s forget this for now. Gem caching should be sufficient to do what I need.

@agis I think it’d be neat! I didn’t follow up on this since I had to focus on other stuff urgently but it could still be helpful.
I’d be open to taking a look at a PR with the caveat that I haven’t looked at the code in 3 years and am just coming back to work after being off on parental leave for a year 😬

1+
pls support this - no need to add redundancy - each gem compiling its own lib if lib exists on system already.
i.e. nokogiri supports it via NOKOGIRI_USE_SYSTEM_LIBRARIES variable


images disapears in list editMode manually set

Trying to use edit mode and images "hiding".
Original Image works fine.
Could you help me to debug?
struct SubscriptionDetails: View {
    var image: String
    var title: String
    var text: String
    var date: String
    var messages: Int

    var body: some View {
                    //Image("Illustration1")
                    WebImage(url: URL(string: image))
                        //.renderingMode(.original)
                        .resizable()
                        .aspectRatio(contentMode: .fit)
                        .frame(width: 80, height: 80)
                        .cornerRadius(20)
    }
}

    var body: some View {
        NavigationView {
            List {
            ForEach(updateData) { item in
                NavigationLink(
                destination: UpdateDetail(title: item.title, text: item.text, image: item.image), tag: item.id, selection: self.$selection) {
                    SubscriptionDetails(image: item.image, title: item.title, text: item.text, date: item.date, messages: item.messages)
                        .onTapGesture {
                            self.selection = item.id
                    }
                }
            }
            .onDelete { index in
                print("delete", index)
            }
            }
            .environment(\.editMode, .constant(self.isEditing ? EditMode.active : EditMode.inactive))
        }
    }

For WebImage, it will render a empty Image, when new View.body method called and then with a onAppear. Maybe it's a bug that sometimes the onAppear not called so it will become empty ?
Set a breakpoint here may help: https://github.com/SDWebImage/SDWebImageSwiftUI/blob/master/SDWebImageSwiftUI/Classes/WebImage.swift#L53

Can you please provide a runnable demo ? For example, provide a mock code of your UpdateDetail (a placeholder view is OK), and your mock data of updateData, for me to debug with.

One line code fix this, seems another cases that cause onAppear not been called. So instead, we prefer to always load image if empty.
屏幕录制2019-10-10下午5.50.27.zip

Should be solved. You can try to upgrade to v0.3.2 version.

@theromis Is this been solved ?

@dreampiggy thank you for so quick reaction, yes 0.3.2 solved an issue

@theromis If you find this library helpful for you, please give us a Star and help us for some propaganda, thanks !

@dreampiggy done :)


libgccjit: use current gcc version

Motivation for this change
Gcc was recently upgraded to version 10, but libgccjit still uses gcc 9. I've been using Emacs' feature/native-comp branch with this for a week now and it's working fine.
Things done

Built on platform(s)

[x] NixOS

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Fits CONTRIBUTING.md.

Iirc we were still on gcc8 when libgccjit = gcc9... was added, so it's mostly a historical remnant.
Thanks!

As of this change, I'm seeing compilation failures building libgccjit 10 on Darwin:
/nix/store/5y6lcfjghk5kbv4782vi7w79vz60gsyn-bash-4.4-p23/bin/bash ../../gcc-10.2.0/gcc/../install-sh -c -s libgccjit.so.0.0.1 \
  //nix/store/80kgw8spyllzacqbwmr20r9mw7y8xq53-libgccjit-10.2.0/lib/libgccjit.so.0.0.1
strip: error: symbols referenced by indirect symbol table entries that can't be stripped in: /nix/store/80kgw8spyllzacqbwmr20r9mw7y8xq53-libgccjit-10.2.0/lib/_inst.6848_
__NSGetEnviron
__Unwind_Backtrac

which looks like what @antifuchs encountered here. Any idea what the solution is?

Does it work if you add langJit to the inherit statement at https://github.com/nixos/nixpkgs/blob/master/pkgs/development/compilers/gcc/10/default.nix#L184, as #94637 did for gcc 9?

I made a PR to fix Darwin: https://github.com/NixOS/nixpkgs/pull/114451


topological-sort DAG exception

What wrong with my code? I have an exception "The graph is not a DAG".
var topsort = require('../src/graphs/others/topological-sort').topologicalSort;
var graph = [[0, 1, 0, 0, 1],
             [0, 0, 0, 0, 0],
             [1, 1, 0, 1, 1],
             [0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0]];
var vertices = topsort(graph);

But there is a graph I want to represent:

and it looks directed and acyclic.

This implementation of the topological sort algorithm accepts graph represented as a list of neighbors.
This means that the invocation, corresponding to your adjust, matrix should look like:
var graph = {};
graph.G1 = ['G2', 'G5'];
graph.G2 = [];
graph.G3 = ['G1', 'G2', 'G4', 'G5'];
graph.G4 = [];
graph.G5 = [];

console.log(topologicalSort(graph));
// ['G3', 'G4', 'G1', 'G5', 'G2']

The graph, which corresponds to your adjust matrix should look differently (since A[i][j] = 1, (i, j) ϵ E), more like this:

As comment I'll add that the required representation of this algorithm is list of neighbors.


Fixes #4942, #4924, #4921, #4551

Description

How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

@henon & @Garderoben, just want to be sure that this is on your radar since it fixes the issue on the docs page along with several other issues.

Great! Thanks


Sort out Rest API Modular Input error

With the upgrade to Splunk <IP_ADDRESS>, I get this error:

Looking in the logs, I see this:
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:    File "/opt/splunk/etc/apps/rest_ta/bin/rest.py", line 298
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:      except Exception, e:
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:                      ^
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:  SyntaxError: invalid syntax
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - Introspecting scheme=rest: script running failed (exited with code 1).
11-22-2020 21:12:11.842 +0000 ERROR ModularInputs - Unable to initialize modular input "rest" defined in the app "rest_ta": Introspecting scheme=rest: script running failed (exited with code 1)..

This occurs with the latest version (1.9.8) that I got from https://splunkbase.splunk.com/app/1546/.
I will reach out to the developer.

Email was sent to<EMAIL_ADDRESS>


Fix concurrent cache request behaviour

This fixes an issue I noticed whereby the cached token counts didn't seem to be right. I tracked it down to concurrent requests to the cache triggering multiple underlying fetches. Swapping over to using the cache.wrap method provided by cache-manager (for exactly this use case) fixes the issue.
The implementation is a little convoluted due to maintaining the cached value type and existing logging behaviour. My assumption was that this would be the preference but I'm happy to change this if preferred.

Great catch, thank you for the fix @chrisprice!


Compiling for older MacOS version

I'm using Nuitka <IP_ADDRESS> with Python 3.8 on a MacOS 10.15 Github Runner. I know that that Nuitka version is old, but I'm asking a general question not reporting a particular bug so hopefully that's not a problem. Also, I read through the changelog and it doesn't look like anything changed regarding this.
I'm installing Python using brew install python3 and nuitka using pip install nuitka=<IP_ADDRESS>.
I'm running nuitka with this command:
python -m nuitka main.py --follow-imports --standalone --jobs=1 --recurse-all --plugin-enable=tk-inter
The resulting Binary works just fine on a Mac with Catalina (10.15), but it does not run on older MacOS versions. I tried setting CCFLAGS: "-mmacosx-version-min=10.10" but that didn't help either. I don't have an older Mac to test this with, but the person who tested my program says that "the minimum version for this is 10.15 Catalina so it doesn't run on my 10.13 Mac".
Given that A) I do not own a Mac myself so all compiling must happen through a Mac Github Actions CI Runner (or through cross-compiling when/if #43 gets fixed in the future), and B) Github does not provide MacOS runners older than 10.15 Catalina, is there any way I can use nuitka to build a binary that'll run on older MacOS versions?
For Linux I'm solving this issue by using an Ubuntu 20.04 image on the Github CI Runner, but then running Nuitka in an Ubuntu 16.04 Docker container on said runner to be able to support Ubuntu 16.04 and newer. However, it doesn't seem possible to do something similar with MacOS.
Am I missing something, or is this just not possible with Nuitka?

For Windows, using latest works. For Linux, we must compile on the newest one due to new glibc refusing to run on newer systems, but I will be looking into creating container images myself to work around that.
From what I have seen so far, older Xcode and older SDKs must be installed, and it's possible. I have not yet done it, but eventually I will figure it out. But it is in the realms of using proper toolchain and options, and nothing that Nuitka itself does.

The release 0.6.18 added support for this, compiling should actually work on any macOS version and still be able to target what the Python version is created for. Also notice that application bundles are supported now.


Use which checkpoint to report performance when evaluating

Thank you for your great work. I have a question about evaluation. I noticed that checkpoints are regularly saved during the training process, and there are multiple checkpoints after the training process is over. When evaluating, you only use the last checkpoint to report performance, or use all checkpoints and report the best performance?

We use the last checkpoint to report performance.


angular 5 project not created .project stop successfully initalized git

please help

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


onUpdate doesn't work with managed state

I wanna make new request. It works with onUpdate  for unmanaged state.
const [isUpdate, updateState] = useState(false)
const {loading, error, data} = useFetch(
    'url',
    {
      timeout: 15000,
      onMount: true,
      onUpdate: [isUpdate],
      data: [],
    },
  )

But for managed state, it doesn't:
const [isUpdate, updateState] = useState(false)
  const [req, res] = useFetch('domain', {
      timeout: 15000,
      onUpdate: [isUpdate],
    },)
  async function fetch() {
    const data = await req.get(path)
    ....
  }

...
<TouchableOpacity
        onPress={() => {
          updateState(!isUpdate)
          fetch(true)
        }}>
<Text>reset</Text>
</TouchableOpacity>

After changing isUpdate and make another fetch() request. The result is still the same.

I will take a look at this asap. Most likely Monday or Tuesday

Could you please make a codesandbox demonstrating the issue you are having.

You can test with this
First run returns data, turn off the internet, run fetch again. The result is still the same.
Its supposed to return [] because of connection failure.

I think I'm running into this problem aswell.
Currently I have created a custom Provider with the following code:
`const WNFProvider = ({ children }) => {
const [user, _] = useUserState(); // Global state for user.
console.log('----- User registrationId:', user.registrationId);
const options = {
onUpdate: [user],
interceptors: {
request: (options) => {
console.log('----- Request interceptor, with user reg Id: ', user.registrationId );
options.headers['x-registration-id'] = user.registrationId;
return options;
}
}
}
console.log('----- Provider render, with user reg Id', user.registrationId );
return(
<Provider url={ API_URL } options={ options }>
{ children }

)
}`
In my App, I do a profile fetch after the user is set, like this:
const [request, response] = useFetch() ... useEffect(() => {   await request.get('profile');   ... }, [user])
When the app loads, the user (and it's reg ID) are null. It does an authenticate call, to get and set the user. Once that happens, it performs the GET on 'profile'.
The thing is that all the console logs like the code above display the correct user info and user.registrationId with a value, but the request interceptor aswell as the actual call have a 'null' value on the user.registrationId.
Logs are as follows:
----- User registrationId: testToken provider.js:33 ----- Provider render, with user reg Id testToken App.js:75 ----- User registration updated: testToken App.js:78 ----- Authenticating with user.registrationId testToken provider.js:24 ----- Request interceptor, with user reg Id:  null
Sorry, couldn't create a CodeSandbox to demonstrate for some reason, but I'll try again later for clarity. Hopefully the above example makes enough sense.

Hmmm... I'm a little confused by your example. onUpdate is used like dependencies for useEffect. In your example, you're basically trying to make 2 http requests onPress. Is this what you want?
Also, when you don't have internet connection, as of now it will just use the value left in the state. If it errors, it will show errors (such as network timeout), but it won't overwrite the data until it has a request that is run without errors.

closing this due to inactivity


[RgGen] update description and add logo

Hi,
This PR is to update description of RgGen and add RgGen's logo.
RgGen now supports VHDL generation so I removed status of VHDL implementation.

Thanks!


Specific event on each step.

Hello :) Thank for the project!
Is this project still in maintenance?
Well, my question:
I know we have the onNext event, but i would like to have specific events for each step.
Why i need it?
Because in my project have some tabs and i would like to open that tab after or before to run an step.
Currently, i'm checking at onNext event for an element.:
const driver = new Driver({
  onNext: (Element) => {                // Called when moving to next step on any step
      if(Element.node.classList.contains("gjs-pn-views")){
          $(".fa-paint-brush").click();
      }
  }
});
driver.defineSteps([
  {
      element: '.gjs-pn-views',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      }
  },
  {
      element: '.fa-paint-brush',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      }
  }
});
driver.start();

In my example, i need to verify if the Element is the last element before the moment i need it.
When i'm in the first step, it doesn't run the event, when i change to second, it runs the onNext but it pass the first step's element.
If i could do something like it:
driver.defineSteps([
  {
      element: '.gjs-pn-views',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      },
      onStart: () => {},
      onLeave: () => {},
  },
  {
      element: '.fa-paint-brush',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      }
      onStart: () => {},
      onLeave: () => {},
  }
});

May i help with it if you allow me.

i think that would be a nice feature

@ronaldohoch  you can have specific event handlers for the onNext (or any other event) for each step. For example you can bind an onNext handler just for the first step by writing:
driver.defineSteps([
  {
      element: '.gjs-pn-views',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      },
      onNext: (el) => { /* do something to check or prevent going from first to second step */ }
  },
  {
      element: '.fa-paint-brush',
      popover: {
          title: 'Abas do editor',
          description: 'Aqui você encontra as ferramentas para criar sua página.'
      }
  }
});

I do not understand your statement "i need to verify if the Element is the last element before the moment i need it." - maybe you can rephrase it? What is "before the moment I need it" ?
You could bind to onHighlightStarted if you need do do something before the highlighting is done - maybe that is where you need to bind? If you need do some action before entering the first step, maybe you should do that before you start() the tour in the first place - i.e. don't start() the tour if prerequisites are not met.
For example the sequence of Driver.js events for a 4-step tour where the user presses the Next button and finally the Done button is as follows:
Driver.onHighlightStarted
Driver.onHighlighted
Driver.onNext
Driver.onHighlightStarted
Driver.onDeselected
Driver.onHighlighted
Driver.onNext
Driver.onHighlightStarted
Driver.onDeselected
Driver.onHighlighted
Driver.onNext
Driver.onHighlightStarted
Driver.onDeselected
Driver.onHighlighted
Driver.onNext
Driver.onReset
Driver.onDeselected

We just released v1.0 of driver.js which has been rewritten from the ground up. There are more simplified hooks which give you more control over the popover and the whole lifecycle. You are probably looking at one of onHighlightStarted, onHighlighted or onDeselected. Please have a look at the docs and do let me know if you face any issues.


How to get Docker to run on a system with compressed disks?

Please provide documentation on how to get Docker to run/work on a system with compressed disks.
docker run -it mcr.microsoft.com/windows/nanoserver:1809 cmd.exe
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: hcsshim::CreateComputeSystem 3d73260cbe778e5f8f2b71e040dc680ee0a2281bf662557b74e7154bb08f96b9: The requested operation could not be completed due to a virtual disk system limitation.  Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.
(extra info: {"SystemType":"Container","Name":"3d73260cbe778e5f8f2b71e040dc680ee0a2281bf662557b74e7154bb08f96b9","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\3d73260cbe778e5f8f2b71e040dc680ee0a2281bf662557b74e7154bb08f96b9","Layers":[{"ID":"57298559-db76-5917-bd61-cb02144714cd","Path":"C:\\ProgramData\\Docker\\windowsfilter\\67da69757f75abc8824236ae85ca912063bee6b35b33aa9e516adc1fefaddf71"}],"HostName":"3d73260cbe77","HvPartition":true,"EndpointList":["9B8FACE6-73B8-4588-9F20-D075A2A65D4E"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\67da69757f75abc8824236ae85ca912063bee6b35b33aa9e516adc1fefaddf71\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).

Uncompress_ProgramData_Docker_Log.zip

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

ID: 66894009-bd4f-3fa6-6e03-a8485686bea5
Version Independent ID: 9d081837-7987-eeb5-1abf-37ebc2e3c7f6
Content: Windows and Linux Containers on Windows 10
Content Source: virtualization/windowscontainers/quick-start/quick-start-windows-10.md
Service: windows-containers
Product: windows-containers
GitHub Login: @taylorb-microsoft

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Fix CI (failing test)

The returned models don't always have a config (if parsing by moon-landing fails). Let's add another filter to fix this. It's just a dummy test so no need to invest too much time.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Ci is green so let's merge :)


Improvements on defdict

As per discussion in #lispgames defdict should work with the symbols name instead of the specific symbol in the kit.gl.shader package.
Another improvement would be document the macro in the docstring at least.

This issue is a pretty dated. Is this still relevant and if so, can you elaborate a bit?

@mfiano Idk if it is still relevant, from what I remember the issue was that some symbol in the defdicts, was compared to kit.gl.shader:symbol instead of the symbol name (think loop clauses)

@PuercoPop I'm not understanding the actual problem. Perhaps we can discuss this through other channels when its convenient.


Integrate with arithmatex

I am trying to convert a site that uses mkdocs with arithmatex, into sphinx with md plus rst so that different people can write both md and rst as they prefer.
recommonmark plus the sphinx_math_dollar sphinx extension almost works. However, markdown is parsed even inside the latex delimiters which breaks things. For example \( gets converted into ( and * .. * gets converted into <em> ... </em>. If I go into the generated HTML and undo the conversion back into raw LaTex then the MathJax JS works perfectly.
"Arithmatex is an extension that preserves LaTeX math equations during the Markdown conversion process so that they can be used with libraries like MathJax."
This works well in mkdocs. It would be great if recommonmark could also do this.

Looks like there is a fork of this project which adds python-markdown integration so I've gone ahead and used that instead: https://github.com/codejamninja/sphinx-markdown-parser/pull/8

It seems there is some inherent complexity with doing this as part of commonmark, due to the strictness of the spec: https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698/5
That's why I went with the python-markdown parser instead. Also arithmatex already does parsing so all I had to do was walk the markdown AST and transform it into a docutils one.


allow webdav to also serve http methods.

reference: https://forum.rclone.org/t/webdav-serve-http-pages-also/7878/3
Enhancement to allow webdav to optionally also serve GET/HEAD/PUT requests like a normal http server essentially combining the two functions into one so that there is no need to run separate ports to have both services running. This is typical with nginx implementations of davs and would be helpful.

It should be quite straightforward to combine the http remote with the webdav remote or import the functionality from the one into the other.
Would anyone like to have a go at this?

Brilliant!  Cant wait to test it out.  Will reduce complexity of running multiple rclones behind caddy servers for me! Thanks.


Update go-github to v24

This updates the go-github module used by the Terraform Github provider to v24.
v22-23 are skipped due to a bug introduced and later fixed related to webhooks.

This builds off the work done in #186.

@radeksimko @mattburgess @joestump @appilon Could I get a review please?

@bramwelt There has been a recent release v25of go-github. Would it be interesting to take the chance to bump it before, so we can make a single release?

@bltavares Done!

@bflad I'm sure you're super busy, but if you have a quick moment next week or this to quickly look over this PR and point out if there are any glaring issues/approach that needs to be addressed, it'd be super appreciated!

2.0.0 has been released with go-github v25.0.2


Add wrapX option to all ol.source

As I see on OpenLayers blog, dateline wrapping has been added for some sources :
http://openlayers.org/en/v3.4.0/examples/wms-tiled-wrap-180.html
I would be very interesting to have same option on vector, geojson, kml...
Thanks

Adding wrapX support to vector layers is work in progress.


Maven Repo Version

Hey guys,
you mention in your Readme that you have the latest stable version in the official maven-repo (1.8.9) but its not there:
http://search.maven.org/#search|gav|1|g%3A"com.websudos" AND a%3A"phantom_2.11"
It seems like that there is a version-difference between your own (https://dl.bintray.com/websudos/oss-releases/) and the official maven-repository.
Regards,
Thomas

Hi @Alien2150,
The readme also says you should rely on the badges at the top for the latest version because we do not generally update the docs as the same pace as internal releases. The latest version is 1.10.4 and there is also a version on Maven, 1.10.1. They are of course different, since only larger releases wind up on Maven Central.
Hope this helps!


Mod doesn't work any more

Hello!
Mod is not compatible with the version v2023.6.27.
But it works with v2023.3.28.
Could you fix it?

The mod works fine with version 6.27, maybe you have an old version of BepinEx (Currently the latest 670)

The All-in-one Pack was using an older version of BepInEx. I created another AIO Pack with an updated version of BIE, which works on most recent versions.
You can download it here


wasi stdio is blocking

Describe the bug
goroutines is not running
more details: https://github.com/shynome/wazero-yamux-stdio-test
add log at yamux/session.go#L636, the log in goroutines is not running in wasm
	if flags&flagSYN == flagSYN {
		log.Println("handle ping")
		go func() {
			log.Println("handle ping and send")
			hdr := header(make([]byte, headerSize))
			hdr.encode(typePing, flagACK, 0, pingID)
			if err := s.sendNoWait(hdr); err != nil {
				s.logger.Printf("[WARN] yamux: failed to send ping reply: %v", err)
			}
		}()
		return nil
	}

To Reproduce
git clone --recurse-submodules https://github.com/shynome/wazero-yamux-stdio-test.git
cd wazero-yamux-stdio-test
# it works by system call
go run . -sys
# it is not work by wasi call
go run .

#  wasip1 wasm call by wasmer also have the same problem, it seem golang wasm problem
go run . -wasmer

Expected behavior
work the same as system call
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the relevant information):

Go version: 1.20.2
wazero Version: v1.2.1
Host architecture: debian12 amd64
Runtime mode: interpreter

Additional context
maybe this is a golang wasm problem, but I can't verify

Maybe golang wasip1 wasm need some additional config, I have a try with go_js_wasm_exec, that is working
gojsExec := fmt.Sprintf("%s/misc/wasm/go_js_wasm_exec", runtime.GOROOT())
cmd := exec.Command("go", "run", "-exec", gojsExec, "./w")
cmd.Env = append(os.Environ(), "GOOS=js", "GOARCH=wasm")
cmd.Stdin = cmdIn
cmd.Stdout = cmdOut
cmd.Stderr = os.Stderr
try.To(cmd.Start())
defer cmd.Wait()

Hello @shynome, thanks for reporting!
I believe this might be due to the stdio streams being in blocking mode.
Could you try this patch and report whether it helps address the isssue?
https://go-review.googlesource.com/c/go/+/498196 (you will need to recompile Go from sources, see https://go.dev/doc/contribute for details).

Hello @shynome, thanks for reporting!
I believe this might be due to the stdio streams being in blocking mode.
Could you try this patch and report whether it helps address the isssue? https://go-review.googlesource.com/c/go/+/498196 (you will need to recompile Go from sources, see https://go.dev/doc/contribute for details).

thanks your reply! but this patch is not working, still has the problem hang up

I have tried your example and I do think this is a case that would be solved by having the stdio streams set to non-blocking.
If I use the wasirun utility from wasi-go, it supports configuring non-blocking stdio, and the example you provided seems to behave as expected:
$ go run . -wasirun
2023/06/21 11:08:57 ping
2023/06/21 11:08:57 read
2023/06/21 11:08:57 write [0 2 0 1 0 0 0 0 0 0 0 0]
2023/06/21 11:08:57 wrote 12 <nil>
2023/06/21 18:08:57 wasm read
2023/06/21 18:08:57 wasm readed 12 <nil> [0 2 0 1 0 0 0 0 0 0 0 0]
2023/06/21 18:08:57 wasm read
2023/06/21 18:08:57 wasm write [0 2 0 2 0 0 0 0 0 0 0 0]
2023/06/21 18:08:57 wasm wrote 12 <nil>
2023/06/21 11:08:57 readed 12 <nil> [0 2 0 2 0 0 0 0 0 0 0 0]
2023/06/21 11:08:57 read
2023/06/21 11:08:57 pong
2023/06/21 11:08:57 readed 0 io: read/write on closed pipe []
2023/06/21 18:08:57 wasm readed 0 EOF []

This is the diff I used on your program:
$ git diff
diff --git a/main.go b/main.go
index 6baf1e4..ed77085 100644
--- a/main.go
+++ b/main.go
@@ -20,6 +20,8 @@ import (
 func main() {
        var callSystemExec bool
        flag.BoolVar(&callSystemExec, "sys", false, "use system exec")
+       var useWasirun bool
+       flag.BoolVar(&useWasirun, "wasirun", false, "use wasirun call")
        var useWasmer bool
        flag.BoolVar(&useWasmer, "wasmer", false, "use wasm3 call")
        var useGoJS bool
@@ -41,6 +43,19 @@ func main() {
                cmd.Stderr = os.Stderr
                try.To(cmd.Start())
                defer cmd.Wait()
+       } else if useWasirun {
+               // build wasip1
+               build := exec.Command("gotip", "build", "-o", "w.wasm", "./w")
+               build.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm")
+               build.Stderr = os.Stderr
+               try.To(build.Run())
+
+               cmd := exec.Command("wasirun", "--non-blocking-stdio", "--", "w.wasm")
+               cmd.Stdin = cmdIn
+               cmd.Stdout = cmdOut
+               cmd.Stderr = os.Stderr
+               try.To(cmd.Start())
+               defer cmd.Wait()
        } else if useWasmer {
                // build wasip1
                build := exec.Command("gotip", "build", "-o", "w.wasm", "./w")

Now if I remove --non-blocking-stdio, the code blocks and doesn't handle the pings.
I also tried the patch that I pointed out to you and it seems to also address the issue, this is the diff I used:
$ git diff
diff --git a/main.go b/main.go
index 6baf1e4..e835246 100644
--- a/main.go
+++ b/main.go
@@ -20,6 +20,8 @@ import (
 func main() {
        var callSystemExec bool
        flag.BoolVar(&callSystemExec, "sys", false, "use system exec")
+       var useWasirun bool
+       flag.BoolVar(&useWasirun, "wasirun", false, "use wasirun call")
        var useWasmer bool
        flag.BoolVar(&useWasmer, "wasmer", false, "use wasm3 call")
        var useGoJS bool
@@ -41,6 +43,19 @@ func main() {
                cmd.Stderr = os.Stderr
                try.To(cmd.Start())
                defer cmd.Wait()
+       } else if useWasirun {
+               // build wasip1
+               build := exec.Command("../../../go.googlesource.com/go/bin/go", "build", "-o", "w.wasm", "./w")
+               build.Env = append(os.Environ(), "GOROOT=../../../go.googlesource.com/go", "GOOS=wasip1", "GOARCH=wasm")
+               build.Stderr = os.Stderr
+               try.To(build.Run())
+
+               cmd := exec.Command("wasirun", "--", "w.wasm")
+               cmd.Stdin = cmdIn
+               cmd.Stdout = cmdOut
+               cmd.Stderr = os.Stderr
+               try.To(cmd.Start())
+               defer cmd.Wait()
        } else if useWasmer {
                // build wasip1
                build := exec.Command("gotip", "build", "-o", "w.wasm", "./w")

Let me know if you have any trouble reproducing the findings!

ohhhh, it is working! Thanks for your help.
It seems wazero also need a --non-blocking-stdio option or default enable the option?
or leave it to third-party library like wasi-go?

nonblocking stdio is definitely something I should circle back to 😬 https://github.com/tetratelabs/wazero/issues/1500

Related: https://github.com/tetratelabs/wazero/issues/1538

I worked at #1538 with #1542 that didn't fix this 🤔

so I think this actually works on main, but you need to start wazero the same way you started wasirun, i.e. as a process:
		cmd := exec.Command("wazero", "run", "w.wasm")
		cmd.Stdin = cmdIn
		cmd.Stdout = cmdOut
		cmd.Stderr = os.Stderr
		try.To(cmd.Start())
		defer cmd.Wait()

the reason is that if you instantiate wazero as a library and you pass in the pipe, then we cannot treat it as an OS file descriptor (to us it will be an opaque io.Reader or io.Writer), and thus we cannot set nonblocking mode.
Let me know if this works.

it is working!
why it is not working, beacuse it run gojs default, when I change it to wasi_snapshot_preview1 and set stdio as *os.File it is working now
	cmdIn, cmdWriter := try.To2(os.Pipe())
	cmdReader, cmdOut := try.To2(os.Pipe())
...
	mc := wazero.NewModuleConfig().
		WithArgs("wazero").
		WithRandSource(rand.Reader).
		WithSysNanosleep().
		WithSysNanotime().
		WithSysWalltime().
		WithStdin(cmdIn).
		WithStdout(cmdOut).
		WithStderr(os.Stderr)

Thanks for all people work!

awesome!


how to clear entered text from input?

We are looking for a way that how to remove text from text input onBlur event.

HI @sivamamidi-REISys,
There should be a way by registering a reference on the component and reset its form's value. I need to dig in the code and try it out to be sure though. Will let you know.

Hi @sivamamidi-REISys,
I haven't tried this yet, but it should work: try using the onBlur event to be notified when a new item is added.  Reference a local variable for the form you wish to clear and call
this.inputForm.value.setValue('');

Of course, this wouldn't work if you need to create dynamic forms.
I'll probably be adding a property clearOnBlur in the near future

Hi @sivamamidi-REISys,
This is now possible. Check the input [clearOnBlur]="true"


Fix creating external load balancer in OpenStack - IP Assignment (#12287)

Fixes #12287
If not specified on the CLI/Service definition, OpenStack should automatically assign an IP address for the VirtualIP when creating a new load balancer.
Currently, this checks with .IsUnspecified() which is also false for nil.
This will always be either nil or specified.
Tested on private implementation of OpenStack Kilo

ok to test

LGTM

Just for reference, the exact reverse was necessary earlier. I love nullable pointers! ;)
See https://github.com/GoogleCloudPlatform/kubernetes/commit/75f49b331aa64b441c1de92fbd137bd0eb221468


Code-Splitting

Frontend bundle size grows up as we import more and more third-party libs. Need to check if there is any ability to use some kind of lazy imports in Kotlin/js

Duplicate of #241


Missing catalog.html

Link in first exercise of the siphon overview is missing catalog.html at the end, resulting in a 404 on the link.

Closed via #361


Way to embed an endpoint for .well-known discovery in an OOBI

Feature request description/rationale
In controlled deployments of KERI for particular use cases, it can be easier to bootstrap agents with schemas. (e.g. all the signify tests use the vLEI test server for vLEI related schemas)
I would like a generic way for a mobile wallet (in my case) to discover schemas from new contacts. Since schemas are cryptographically bound to their SAID, OOBIs work well and don't have the overhead of signing etc. @pfeairheller has suggested using .well-known at an endpoint.
From this point, I still need to discover the endpoint hosting these schemas for a particular issuer, which may be different to the controller/agent URL, especially if this is KERIA and not a web service built on top of keripy.
Discovery of this service endpoint via the OOBI makes sense to me, but then this service endpoint wouldn't really have a KERI role since there isn't a KERI agent behind that URL. It's just for discovery. Not sure if I'm going down the wrong path here. It feels like an anti pattern for a "service endpoint" to not have a KERI identifier at the domain.
Alternatively (just thought of this now), KERIA could automatically serve these so the domain would be the same. Would need to be controlled more tightly, but that's a general problem for KERIA to figure out.

As long as the service endpoint is attested to in a signed rpy message using BADA-RUN, I don't believe there is a requirement that they endpoint itself only contain information directly related to the AID.  Exposing a "schema" endpoint is a perfectly valid use case.
From the KERI spec:

An important use case for BADA-RUN is to process OOBIs that provide service endpoint discovery of the AIDS of KERI components. These components include but are not limited to, Controllers, Agents, Backers (Witness or Registrar), Watchers, Jurors, Judges, and Forwarders.

Even though KERIpy uses an enumeration (sort of) for role names, the spec is very clear that we are not limited to those roles.  To me, this falls under the KAPI (KERI API) domain and should be a simple API defined to start with a service endpoint with a given role (I really like registrar but that is overloaded in the spec already) and a defined set of routes off of that service endpoint for discovering schema.  It could be off of .well-known, but I don't think it has to be (and I'm not sure it makes sense when it would be just as easy to define a few routes for schema discovery).
That would define the rules for schema discovery.  Have any issuer expose a service endpoint with a role of schema-discovery-thingie then any verifier knows what API to hit against the URL of that service endpoint to get a list of exposed schema and how to resolve each schema exposed.

In terms of how the API is defined, I see two choices with may or may not be mutually exclusive.
We could define a simple HTTP REST API with proper verbs and paths for schema discovery, or a KERI event message API with proper message types and routes (the r field) for discovery.  To see what they might look like side by side, consider an API for getting a list of available schema at an endpoint...
HTTP REST:  Method: GET, path: /schema
KERI Events:  Event Type: qry, resourceL /schema
If you tightly define which roles are required to provide this API, it seems evident that the most straight forward role would be issuer.

With the either API, you wouldn't need anything more than a web server, propery formatted index file and a new role
And with that, the API should allow you to create the URL for a schema with the combination of the Issuer's service endpoint and the schema SAID.  And this is secure because of the binding between the SAID and the SAD of the schema and the cryptographic commitment to the schema in the issued credential.

Thanks Phil, as further discussed on Discord makes complete sense!
In the coming weeks I'll give a go at the new role and a way to add it (most of the work might be at the KERIA level then), at first starting with the REST route for simplicity. Will report back!


Most of the updated XML documentation for the SQL cmdlets.

As the title suggests, this is most of the XML documentation for SQL cmdlets. The rest will be in a different pull request- I wanted to split it up so that it wasn't a ton of changes in one pull request.

WriteOutput(collection, true); is essentially the same as foreach(var o in collection) { WriteOutput(o);}. The output type is the type of the collection members. Even if what we get back is an array of them, it is still useful to be able to intellisense their properties directly.

Fixed the above requests

LGTM


Yixiao zhang

Codecov Report

Merging #12 (b050af9) into main (31291aa) will decrease coverage by 0.44%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   89.65%   89.20%   -0.45%
==========================================
  Files           6        5       -1
  Lines         145      139       -6
==========================================
- Hits          130      124       -6
  Misses         15       15

Impacted Files
Coverage Δ

src/routing_problem.jl
97.56% <ø> (ø)

src/solution.jl
74.54% <100.00%> (ø)

src/solver_greedy.jl
100.00% <100.00%> (ø)

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


can not reduce model reduce

when i download your model, the Model MSE is 0.08421.
But when I run the kitti_train.py and use the trained weights, I get the Model MSE 0.018259
this is my results in the test set:

Is the model in download_models.sh using the kitti_train.py?

Yes the weights are trained using kitti_train.  With the downloaded weights, are you missing a zero and it's 0.008421?  Because that's about what I get when I use the tensorflow backend (with theano, I get ~0.007).  Not sure why it seems to not train as well for some people.  Easy first things to try are different optimizers/learning rates/momentum.  Sometimes Rmsprop works better when adam struggles, so you can give that a try.

@kikyou123 I got the similar result with you, my env is tensorflow-gpu 1.2.1, keras 2.0.6 with cudnn v5.1 for cuda 8.0.
Model MSE: 0.017124
Previous Frame MSE: 0.021246

@robbiewu008  It seems there is a bug in the code.
rrors_by_time = TimeDistributed(Dense(1, weights=[layer_loss_weights, np.zeros(1)], trainable=False), trainable=False)(errors)  # calculate weighted error by layerr

@kikyou123 missing the Reshape, could you share it?

@robbiewu008

@kikyou123 still don't work.

sorry, It is multi prediction code. You can change

15 to 10

@kikyou123 It works now, thank you so much!
Model MSE: 0.006937
Previous Frame MSE: 0.021246

@kikyou123  Did you successfully train the model for muti-step prediction?  I get the stable frames over time step.

@kikyou123 It looks like there's an issue with TimeDistributed in Keras 2 where it overrides the initial weights of the layer to be wrapped (https://github.com/keras-team/keras/issues/8895). I changed the kitti_train.py code to account for this (https://github.com/coxlab/prednet/commit/9f6482e6e6038e02aa3dbd878bae23c7b3a5a28a). It should work now, but let me know if you find any other issues - thanks!

@kikyou123 @bill-lotter  hi. I tried run the multi prediction code. I barely see the differences from it. Is this the correct steps?


Kadet input usage documentation

Fixes issue #255
Proposed Changes

Merge Kadet usage documentation to github pages

Make sure you follow https://kapitan.dev/contributing/#1-update-the-md-files. The diff doesn't have the kadet docs.

Make sure you follow https://kapitan.dev/contributing/#1-update-the-md-files. The diff doesn't have the kadet docs.

Thanks for noticing this. I did not pull from upstream properly. I will squash the two commits together to avoid duplicate commit message.

It's cool, thanks :) Squashed for you


Casing of healththeme property

Suggestion to slightly change the writing of healththeme to healthTheme, which is somewhat easier to read and in line with
healthCategory

Done thx


Issues with Stackit Kubernetes Kube File

Hello,
we are trying to deploy our SKE Cluster with help from
Docs overview | hashicorp/kubernetes | Terraform Registry
For the creation of the Cluster wer are using https://registry.terraform.io/providers/SchwarzIT/stackit/latest/docs/resources/kubernetes_cluster
Can you please add following attributes to the Provider - so that we do not need to use the Kube Config File?
1f50d537-79a5-4a27-95aa-f2e9b2963610

At the time of writing this, STACKIT's API only provides kubeconfig
https://internal-docs.api.eu01.stackit.cloud/documentation/ske#tag/Credentials/operation/SkeService_GetClusterCredentials


Task Dependency

RFC
Feature

We want to add a button that expands the div and shows a graph/snapshot-like view of tasks that the selected task is dependent upon

Proposed design flow

Proposed solution

when a superuser is create a task a dependency section is to be given which is to an editable section.


How to create transaction signature for blockcypher ethereum API

The transaction signing process for the blockcypher ethereum API is explained here:
https://www.blockcypher.com/dev/ethereum/#creating-transactions
When their "addrs" endpoint is called, their API creates a new ethereum address, and a 64-character private key is provided.
When their "/txs/new" endpoint is called, their API provides a "tosign" string which must be used with the 64-character private key, to produce a signature.
I need to know how to create that signature, which can be used with their "/txs/send" endpoint.
I do not wish to use their signer tool, because it requires that the GO programming language is installed on my server.
I looked at the Bitwasp examples, and could not find a method that simply creates a transaction signature.
Please provide specific instructions which describe the simplest method to create a transaction signature for the blockcypher ethereum API.

So I had this same problem and I made a pull request to hopefully get this info added to the readme. I think this repo is not being checked very often because the travis test failed and the little response rate on these issues.

Try using v2.0.0-beta.1 and please report back. Thank you!


Ledger prompting add ETH in the console log when only adding single non ETH accounts

Overview
Currently in production Ledger users that import accounts that are not ETH accounts get an error in the console log.
This issue does not currently block users from any actions from Operations understanding.
References and additional details
Error in the console logs:

Acceptance Criteria
If there is any errors that are being caused by Ledger importing of non-ETH accounts, those should be considered across the app feature suite.
This may be a quality of life improvement as this issue appears to only fire in the logs.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

should be resolved in #6727


Add code snippets for data examples

What does it do?

This PR adds code snippets for the data section.
This section has examples, but they were missing the code snippets underneath.
Screenshots (if appropriate):
Before:

After:

cc. @HarryTrimble, @dsingleton.
What type of change is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Put an x in all the boxes that apply

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

We probably ought to revisit this markup at some point in the future, but this helps fix the current problem so I’ll merge.

👍
Makes a strong argument for automatically generating all previews/code for the Frontend Alpha.


BOt not work again?

Please check configuration at http://jsonlint.com/ before posting an issue.
Expected Behavior
Actual Behavior
Steps to Reproduce
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)

Working for me

Working well!!!

Yep running just fine right now.

My bot keep saying pokemon escape using item pokeball :(
Any way to fix this (im not softbanned)

How do you expect anyone to help you if you won't provide even necessary information. I suggest delete this or edit this post.


staging-next 2022-04-10

I made this iteration a bit special, focused on security fixes and important bugfixes.  And perhaps some other changes that have very low breaking potential.  The purpose is to try making this iteration very fast, without requiring human work to progress, so that we don't block some notable problems:

zlib update regressions:

https://github.com/NixOS/nixpkgs/issues/167708
https://github.com/NixOS/nixpkgs/pull/167395
https://github.com/NixOS/nixpkgs/issues/167115

firefox addons: https://github.com/NixOS/nixpkgs/issues/167785

workflow docs: https://nixos.org/manual/nixpkgs/unstable/#submitting-changes-commit-policy
constitutents: https://hydra.nixos.org/job/nixpkgs/staging-next/unstable#tabs-constituents
jobset: https://hydra.nixos.org/jobset/nixpkgs/staging-next
Previous staging-next: https://github.com/NixOS/nixpkgs/pull/165406

I somehow chose the changes by hand, selecting all corresponding PRs with "security" label and then passing through all the merges in master..staging and picking some more.  You can suggest changes to that as well, though we surely don't want to slow this iteration down too much.
The powerdns commit got left in staging-next by accident; it was intended for the previous iteration but got merged too late.  It could come directly to master now, but... now I didn't have sufficient motivation to act on it.

https://github.com/NixOS/nixpkgs/pull/166335 should probably go in

TL;DR: so that pycurl problem should be resolved now, both on master and also in a better way here on staging-next.

made this iteration a bit special, focused on security fixes and important bugfixes.

You can suggest changes to that as well, though we surely don't want to slow this iteration down too much.

Hi @vcunat, just to clarify. The idea is to merge this before the scheduled breaking changes freeze of staging-staging next on April 17 and then open a new staging-next cycle then with the pending staging commits from this cycle?

April 17 is the first time restrictions apply for changes merging to staging(-next) branch.  Commits that are there now certainly will reach 22.05.   (Well of course, it can happen that some of them will be found out to cause too much trouble and reverted, as usual.)
The release schedule itself even plans for two week-long staging(-next) iterations, though historically we typically struggled to make them that fast, so that part might happen a bit differently than planned.


Provide an option to disable sysvars logging

Currently sysvars are always reporting and it has impact in the surfacer (i.e. storage in Stackdriver). In our use case we only need to report the latency so it would be great to have a way to disable the report of the rest of metrics.

Hello @javiergp, I just realized there is an option to limit the variables exported to stackdriver:
https://github.com/google/cloudprober/blob/b7a37672cc92137c9858af0cd126df931ab9aad3/surfacers/stackdriver/proto/config.proto#L21
I think that will meet your requirement. Can you please verify?

Thank you @manugarg it works for Cloud Monitoring metric! However it still logs to Cloud Logging but that's not an issue right now.

Cool. Renamed the issue to say "provide an option to disable sysvars logging".

I just verified that sysvars logs to cloud logging only in the beginning:
https://github.com/google/cloudprober/blob/34627fb79d281b4236c7f21f1eec2ba785c5a773/sysvars/sysvars.go#L185
or, if debug mode is enabled.
I am going to close it now. Please feel free to re-open if it's still an issue.