Fix UEFI support on win32

These changes fix building OpenSSL v3.x on win32 hosts targeting UEFI.

Failing CI tests are the existing issue with CIFuzz, and unrelated. Updating labels to approval: ready to merge

Merged to master. Thank you.

OH MYYYY GOD!

NOOOOOOOOOO!
CHAD ROLANDO PIERRE RODRIGUEZ
+15628526170
ALPHABET INC (GOOGLE)
1600 AMPHITHEATRE PARKWAY
MOUNTAIN VIEW, CA. 94043
On Thu, Apr 13, 2023, 3:27 AM Hugo Landau @.***> wrote:

Merged to master. Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/openssl/openssl/pull/20714#issuecomment-1506642938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMEKKQ7KABBJAW7UK2IBASDXA7BH3ANCNFSM6AAAAAAW2OHFB4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Isn't this a bug fix for backport to 3.1 and 3.0?? @hlandau only mentions merge to master and this only has the "branch:master" label on it.

This is not applicable to 3.1 or 3.0 branches.


feat(kubevirt_vm_info): Set wait_condition based on running

What this PR does / why we need it:
Add the running parameter to kubevirt_vm_info from which the wait_condition is derived from when parameter wait is set to yes.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Add the running parameter to kubevirt_vm_info that controls which ready condition to wait for.

Nice improvement! Thanks!
/lgtm

/lgtm

/approve


Messaging extension scenario port from JS to C#

This is the tracking ticket for the port of the messaging extension scenarios

[x] Action based
[x] Search based
[x] Compose based

Done.


But if you dont wanna read all of it, gonna remove all the stuff.


Wrong line endings on Windows in create_measurements* (CRLF not LF)

All the create_measurements methods I have tried will create the files with CRLF not LF as required by most implementations. It would be nice if the generators were cross-platform. If I haven't done anything wrong. @gunnarmorling

The official one should get it right, see here. But indeed I see some of the others (which I haven't used myself yet) don't. PR welcome for fixing it 🙏 .


[Bug] Range decoration with background-color hides all text

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.37.0-dev.20230301#XQAAAAJPAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0f5AiAEiAKctgAboa7AaZZDHLgrLqPRv_fRv2RyIokydlTdTYccsu6v6jDrc8jQ8ulrCVzjWBVWZVl-YrARXWjHX0-tquUNesdygYRbQM1JUnAt3YmW0VSCWkY6ZkmLprhqNukEK_gFKBPwMtDrHypTK9MJxCpcT5NeztAM2FWUNPvskdfuQ0f51oo3cFTqHKAXgyhUK3zNO3cUIIl9SwAHijYFg9S0wxOoWEXGJDsJo2VubTorndRXmsPtjD5UDW0oGiZlza0AgEZiLRy0N6b-W_nKkIH8M2jk5Mhcq29TWIzxum1auhSfUI1MKe4uhOcLVXwHiVio13hcDOaqp5fkaZJ2sfARnmJiRTliYvbfDjFMXsXIfM3o3jaft9abF_ythgFseBgyontWW1sTCNvO1hZrIPgQkKZ21ab20BO9HLMYZV6py7dCD7b3ph3wbGiqXtUf8jnp-zKz-_7zpedM
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `function hello() {
	alert('Hello world!');
}`;

const myEditor = monaco.editor.create(document.getElementById("container"), {
	value,
	language: "javascript",
	automaticLayout: true,
});

const decoration = {
      range: myEditor.getVisibleRanges()[0],
      options: {
        blockClassName: 'editor-highlight'
      }
}

myEditor.createDecorationsCollection([decoration]);

----------------------------
CSS:
.editor-highlight {
    background-color: lightgray;
}

Reproduction Steps
Since version 0.37.x when creating a decoration collection that styles the background of the editor using "background-color" the text is not visible anymore. It used to work up until version 0.36.1.
Actual (Problematic) Behavior

Expected Behavior

Additional Context
No response

This commit changed this behavior: https://github.com/microsoft/vscode/commit/c4b5ade9eb1569a698f60e7e311a6b24d56b81c7
I think this is by design.
You should use a transparent background or not use block decorations.

Using a transparent background like this solved our issue:
.editor-highlight {
    background: rgba(0, 0, 0, 0.1);
}


How can i get the advance-width table in hmtx?

I have tried font["hmtx"].aWidth and font["hmtx"].advanceWidth, but it raises AttributeError: 'table__h_m_t_x' object has no attribute 'aWidth'.
So is there a API that can give me the advance-width table in hmtx? Or how can i get the advance-width table? Thank you!

Here's an example: https://github.com/fonttools/fonttools/wiki/How-do-I...%3F#metrics-how-to-measure-various-things

Thank you very much, it really do me a favor!


uart_ow: add ow specific context and store search state there

Signed-off-by: Jon Trulson<EMAIL_ADDRESS>

Hi, anything else needed to get this merged?

Nope - sorry for the lack of reply - this is perfect. Thanks alot!


Poor interactions with SIGCHLD-using projects

Describe the bug
I have a project that uses wait-timeout to check the timeout of some commands that are executed. By some printf debugging (unless there's some way to run tarpaulin under gdb), it seems that the SIGCHLD handler in wait-timeout is not being executed at all. Tarpaulin should chain off to any already installed signal handlers (if at all possible). Alternatively, it could be that something goes wrong when installing wait-timeout's signal handler?
Alternatively, maybe some way to disable interposition on SIGCHLD handler could be done?
To Reproduce
A simple example wasn't doing it, but the crate in question is here.
Expected behavior
Already installed SIGCHLD handlers should work.

Have you tried --forward as a CLI arg, it forwards unexpected signals to the test process. I was considering making it default but I didn't know if it would break certain things

Ah, I had missed that flag. Trying now, thanks.

Hrm. Alas, that doesn't seem to resolve it for me. The odd thing is that the underlying crate which actually does the work is fine. It's when it's all driven from other threads and such using Tokio to manage communications via a Unix socket and other event sources that things end up going south.

I am facing a similar problem with a project that uses tokio::process::Command, which currently relies on SIGCHLD to get woken up. The subprocess exits but the parent process (my test) never stops waiting for the child process. Using --forward doesn't help.
There is some talk of removing the use of SIGCHLD here.

I'd generally say now --engine llvm is potentially a solution the only issue is the llvm coverage instrumentation doesn't really handle threads or spawned processes well so results can differ from run-to-run. A lot has gone into tarpaulin since last comment so just wondering if things have changed for anyone?


fix: close connection when readv syscall return 0, nil

What type of PR is this?
fix
What this PR does / why we need it (en: English/zh: Chinese):

en: close connection when readv syscall return n==0, err==nil
zh: 当 readv 返回 (0, nil) 时，关闭连接
Which issue(s) this PR fixes:

 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.


fix css in js link

Hmmm that doesn't seem to work like the previous link:
I'm getting this when I load it.

Tried dumping this in the input box worked with the previous link
.close-x {
  stroke: green;
  fill: transparent;
  stroke-linecap: round;
  stroke-width: 5;
}

Yeah, the second one you should only insert:
  stroke: green;
  fill: transparent;
  stroke-linecap: round;
  stroke-width: 5;


Update for Chai v4.0

A breaking change in Chai v4.0's property assertion causes the data assertion to fail whenever only one argument is provided. This PR fixes it.

@keithamus I've updated this PR for the Chai 4.0 release. Although Chai v4.0 is now a dependency for the test suite (due to changes in failed assertion message text), the library should still support older versions of Chai.

LGTM but I'd like someone from @chaijs/chai-jquery to approve this too.

Any hope to get this merged soon?

Ping @chaijs/chai-jquery
Is this project also paused like chai-things? See https://github.com/chaijs/chai-things/issues/58#issuecomment-316061382

@chaijs/chai Can we force this one through and release a new version?

@meeber I'm happy for you to merge & release if you're comfortable doing that? LMK if you need any access for passwords or something

Thanks @keithamus. I'll create a PR to bump the version in package.json, and draft a new release in GitHub. Let me know if there's anything else that's needed for this plugin.
I'll need help with the actual npm publish. I'm guessing my npm account doesn't have permission to do that.
This would be a good plugin for us to recruit a champion / maintainer for. I don't use jquery or chai-jquery so it's a bit awkward for me to do this, and definitely not something I want to take on long-term responsibility for. I was just deleting some old forks in my GitHub repo when I discovered I had an old PR still open in this repo from the Chai v4.0 update.


Windows-1252 is treated as UTF-8

Describe the bug
When decompiling HL:A SoundEvents, Windows-1252 encoded dialog is incorrectly decoded as if it where UTF-8.
This results in … (ellipsis) and — (em dash) and being replaced with U+FFFD.
What Valve game does this happen in
HL:A
Reference file in a Source 2 game
soundevents/soundevents_vo_alyx.vsndevts_c in pak01_dir.vpk in /path/to/h:la/game/hlvr
Expected behavior
That ether the original bytes of the string are kept or that the strings in stringArray are read using correct encoding.
What version of VRF are you using? On what platform?
Commit 09787d0 on Linux

Interesting, i assumed it was Windows-1252 as the encoding matched. Does KV3 have a specific string encoding? Assuming it has and that it isn't utf-8, or that it hasn't, why decode it as utf-8?
Should i update the issue's title? (first time doing this)

KV3 (file) doesn't specify how the strings are encoded. It's has null terminated strings (in this particular file in a table of strings).
We can't just take raw bytes and magically turn it into a string without some encoding.

Then why are they being turned into strings in the first place? For file output couldn't we just write the original bytes (completely bypassing c# strings) and let the user decide how to interpret it?
If it happens to be utf-8 encoded, there should be no difference.
But if it is some other encoding, you would get some data instead of just U+FFFD.

Because it's a string table, and just dumping bytes into a file is not the first use case. As I said before, even Valve's own tool dumps a U+FFFD there.

You make a persuasive argument.


Suggestion: Colab notebook enhancements

There is a problem of paths in colab.

Colab doesnt know what is ../../bar we need to rather specify Monk/foo/bar
Instead of adding paths like relative + '\' + final + '\'  we should rather use os.path.join(relative,final). This is because sometimes it had thrown error even if i entered correct path (that slash caused problem)
Since most of the code base is based on tf 1.x its best to specify %tensorflow_version 1.x at starting of notebook (Since colab will make tf2 default very soon)

That's a good point. Using os.path.join is a better option than using a string to do the same.
Please make appropriate changes to notebooks and core code and raise multiple PRs.

For the colab points, I will specify a few things soon.

Closing the Issue. Solution provided


Add Stack Overflow link in CONTRIBUTING file

Eventually, we probably want to move this to a new SUPPORT.md file, but in the meantime, this gives additional guidance and will hopefully push people to ask on SO first.

I personally think we should encourage Github issues and try to stop fragmentation

I strongly disagree: GitHub issues for issues, Stack Overflow questions for questions. GitHub issues should not be used for support.

I would argue that Superuser is a better place for users and administrators to ask questions, because that site is targeted at server and service administration.
No doubt Stack Overflow is top of your mind because you just asked a question there yourself, @astorije. :D

I would argue that Superuser is a better place for users and administrators to ask questions, because that site is targeted at server and service administration.

I tend to agree (though the line between Stack Overflow and Superuser is very often thin) but at the moment there are a few questions about The Lounge on IRC, and none on Superuser, so we can't have a tag there. And also, I don't have enough rep points to create a tag there.
So until someone asks a question on Superuser and a new tag gets created, Stack Overflow would do I think.

No doubt Stack Overflow is top of your mind because you just asked a question there yourself, @astorije. :D

I'm not sure what you mean. My last question there was in March, and last answer was in April.

My last question there was in March, and last answer was in April.

Ugh, SO's wonky time display strikes again. In the tag list it says "modified 11 hours ago" by you, with no mention of the question author. Sigh. I should have clicked through.

So until someone asks a question on Superuser and a new tag gets created, Stack Overflow would do I think.

The problem with that approach, I think, is that it becomes self-fulfilling: The documentation doesn't recommend Super User because there's no tag, and points to Stack Overflow because there is a tag already. Therefore, users go to ask questions on SO, because it's what the documentation says to do, and nobody creates a tag on the other site, perpetuating the problem.
It's a pretty typical Catch-22 problem, and the only solution is if someone else involved in this project has enough rep to create the tag. Sadly it seems I haven't enough points either, but surely someone in the community of maintainers and active users has.

Serverfault as well... Seriously though, that ecosystem is a bit confusing sometimes :weary:

Yeah, it's not the easiest. I've been involved with Stack Exchange since 2008 (according to my network profile), and participated in the early days of Area 51, and I still get lost sometimes when deciding which site is in-scope for the knowledge I seek. For this case, I picked SU over Server Fault primarily because of SF's focus on the business environment, because many Lounge users aren't going to be setting it up in one.

the only solution is if someone else involved in this project has enough rep to create the tag

And if there are questions on Superuser about The Lounge, which there aren't.
At the end of the day, I just don't want to bikeshed and party-poop this. Both are good options (one is good, one is better, sure), but either is definitely better than nothing. It's one more step towards community support and better/easier adoption/daily use of The Lounge. And Stack Overflow is de facto a valid choice in general, and in our case, if anything, because there are a few existing questions already.
For comparison sake, I just looked at the irc tag on Stack Overflow and on Super User. Both were created at the same time, yet the difference in number of questions and tag documentation is staggering. Also for comparison sake, there is a tag for Kiwi on SO, not on SU.
Anyway, to summarize: I totally agree with you on the fundamentals, but being pragmatic here: we have a door that's opening to us, I really want to use this one instead of the closed one that we may open someday :)
I really want to push this forward, but I don't want to offend anyone either, are you okay with this?

I really want to push this forward, but I don't want to offend anyone either, are you okay with this? :smiley:

Oh, you won't offend me. My only concern was making sure the alternatives were mentioned before a decision got made, which they have been. If I've come out swinging so hard on enough tickets that you're afraid of offending me, I apologize. I'm always doing it for the sake of what seems best for the project, according to my reasoning—sometimes more ideally than pragmatically, but that's where it comes from. :smiley:
Personally, I don't really have an issue with support questions getting raised in GitHub issues. I've seen it work on projects with much smaller communities than this one. Actually, what makes the absolute most sense to me is directing people to the IRC channel. For help with an IRC client, it makes a lot of sense to use IRC itself, but building a more long-lasting Q&A reference over time makes sense too. (And I doubt public logs for #thelounge are a good option for that, regardless of whether the channel's users would agree to public logging.) Using SO is good for that, and your point about Kiwi having a tag there is quite relevant, due to the similarities between the two projects.
One thought I had was maybe linking to SU and SO, but the potential for fragmentation there is pretty high. (Could turn out to be tags on both sites, with neither getting enough volume to appear "active" and worth using.)
The other thought I had was more explicitly presenting #thelounge @ freenode as a support venue, beyond the badge that currently appears in the readme (which is pretty easy to miss, if I'm a user looking for support). That's in addition to pointing at SO/SU/wherever.
tl;dr: I'm totally fine with putting SO in the readme.

If I've come out swinging so hard on enough tickets that you're afraid of offending me, I apologize.

Not at all 😉 It's just that these discussions can easily become religious, and I was just saying that I'd rather push for something simple and useful than the hypothetical perfect we would not be able to have. So just in case someone came afterwards being all 👎 on this :D

I'm always doing it for the sake of what seems best for the project

Yep, we're all there :D
And I do appreciate your dedication, btw :)

tl;dr: I'm totally fine with putting SO in the readme.

:+1:
(Agreed with the rest, and note that nothing is mutually exclusive, I believe we are going towards this direction)

So why not put this in SUPPORT.md straight away?

So why not put this in SUPPORT.md straight away?

Because I wanted this out of the way quickly, and didn't want to start debates (I didn't think it would be controversial, sorry!) but I guess it's a little too late for that 😅.
Anyway, I added a SUPPORT.md file. I didn't touch any of the content, just moved to this new file from the CONTRIBUTING one what was relevant. Happy to improve the wording/content later, but for now this will do for what this PR achieves.


Json rx rpc

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Crash in case which call serViewControllers at the second time.

Crash in case which called setViewController at the second time in order to change menuBarController's viewControllers.
NSArray* viewControllersFirst = @[vc1a, vc2a, vc3a];
[menuBarController setViewControllers:viewControllers];
...
// Already shows viewControllers in menuBarController
...
// In certain timing,  reset viewControllsers
NSArray* viewControllersSecond = @[vc1b, vc2b, vc3b];
[menuBarController setViewControllers:viewControllers]
// Crash!!

Pull request #4

Merged pull request.


fix(pg-cdc): fix postgres.publication_exist, found in issues#18628

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As titled
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

/test

/test

Failed: 4
Passed:0
FailedExecutions:
https://buildkite.com/risingwave-test/ch-benchmark-pg-cdc-shared-source/builds/95
https://buildkite.com/risingwave-test/ch-benchmark-pg-cdc-shared-source/builds/95
https://buildkite.com/risingwave-test/sysbench-cdc/builds/679
https://buildkite.com/risingwave-test/tpcc-pg-cdc-shared-source/builds/36
PassedExecutions:

Failed: 4
Passed:0
FailedExecutions:
https://buildkite.com/risingwave-test/ch-benchmark-pg-cdc-shared-source/builds/97
https://buildkite.com/risingwave-test/ch-benchmark-pg-cdc-shared-source/builds/97
https://buildkite.com/risingwave-test/sysbench-cdc/builds/680
https://buildkite.com/risingwave-test/tpcc-pg-cdc-shared-source/builds/37
PassedExecutions:

https://buildkite.com/risingwave-test/sysbench-cdc/builds/681#01921e48-8a30-405c-801c-9de0e1140a87
The test passed @KeXiangWang

Thanks @cyliu0


unintuitive order of multiple http-client.env.json files

hi,
i am a big fan of your project and using it frequently. at the moment I am using rider on one side and my colleagues use vscode on the other side, that is why i am particularly dependent on interoperability (such as jetbrains http-client.env.json files).
description:
currently i have two configuration files "http-client.env.json" (global config) and "http-client.private.env.json" (local config for passwords that I only want locally without pushing them to VCS) but it only works in rider where the values of the private file overwrite the values of the "normal" one. the vscode-plugin prefers the variables of my "http-client.env.json" whereas i would also expect "http-client.private.env.json" to be preferred (as in rider). when i deleted the "http-client.env.json" file, it worked and even when after recreating it it worked as well (but only until restart of vscode).
possible solution:
if you can reproduce the issue and agree on my suspicion to prefer private.env.json files over "normal" .env.json files, you could rank them higher in your variable evaulation mechanism.
thanks a lot for your time and effort you put in this project!

Thanks for the tip. I have not come across this deviation to Intellij before. Of course I want to adjust the behavior. With the next release the discrepancy is corrected.


[SPARK-19970][SQL][BRANCH-2.1] Table owner should be USER instead of PRINCIPAL in kerberized clusters

What changes were proposed in this pull request?
In the kerberized hadoop cluster, when Spark creates tables, the owner of tables are filled with PRINCIPAL strings instead of USER names. This is inconsistent with Hive and causes problems when using ROLE in Hive. We had better to fix this.
BEFORE
scala> sql("create table t(a int)").show
scala> sql("desc formatted t").show(false)
...
|Owner<EMAIL_ADDRESS>                                       |       |

AFTER
scala> sql("create table t(a int)").show
scala> sql("desc formatted t").show(false)
...
|Owner:                      |spark                                         |       |

How was this patch tested?
Manually do create table and desc formatted because this happens in Kerberized clusters.

Test build #74891 has started for PR 17363 at commit 1328f1d.

Test build #74891 has finished for PR 17363 at commit 1328f1d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74891/
Test PASSed.

Merged build finished. Test PASSed.

This is also tested manually in kerberized cluster, @vanzin .
BTW, Spark 1.6 has the same issue at ClientWrapper.
According to the email, there exists demands on more Apache Spark 1.6.X. May I create a backport for branch-1.6? How do you think about that?

Hi, @vanzin .
Could you review this backport when you have some time?

Retest this please

Test build #75055 has started for PR 17363 at commit 1328f1d.

Test build #75055 has finished for PR 17363 at commit 1328f1d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75055/
Test PASSed.

Merging to 2.1 / 2.0.
I don't really expect any more 1.6 releases at this point, so I wouldn't bother.

Failed to merge to 2.0. :-/

Oo. Thank you so much, @vanzin !


1.12 Client crash.

Use the mod "CommanderJadoo" it crashes.
crash-2021-09-28_00.24.35-client.txt

You need to report this to that mods author, not us.


massload plugin only works on first search

I met the same problem with duzun #1056. The massload plugin only works on first search, but on next searches it uses .core.data() instead. JsTree version 3.2.1.
My config is like (I just copied the first demo on your jstree homepage):
            $(function () {
              var to = false;
              $('#demo_q').keyup(function () {
                if(to) { clearTimeout(to); }
                to = setTimeout(function () {
                  var v = $('#demo_q').val();
                  $('#jstree_demo').jstree(true).search(v);
                }, 1000);
              });

              $('#jstree_demo')
                .jstree({
                  "core" : {
                    "animation" : 0,
                    "check_callback" : true,
                    'force_text' : true,
                    "themes" : { "stripes" : true },
                    'data' : {
                      "url" : function(node) {
                        if( node.id == -1 ){
                          return "/customize/get";
                        } else {
                          return "/customize/get/" + node.id;
                        }
                      },
                      "dataType" : "json"
                    }
                  },
                  "search": {
                      "ajax": {
                        "url" : "/customize/search/",
                      },
                      "show_only_matches": true
                  },
                  "massload" : {
                      "url" : "/customize/massload/",
                      "data" : function (nodes) {
                        return { "ids" : nodes.join(",") };
                    }
                  },
                  "plugins" : [ "massload", "search", "state", "types", "wholerow" ]
                });
            });

From what I can see in the network activity, on first search, /customize/massload/?ids={ids} is loaded and works fine, but on next searches, it doesn't load massload url but /customize/get/{id}.
Any help?

Let's keep it in a single ticket then - #1056 - thanks for the info. I will get back to you ASAP. I have been a bit busy in the last few weeks, but I will have some time during the next two weeks (because of the Holiday) and I will catch up with the issues.
Best regards,
Ivan


Warning! Error encountered during contract execution [Reverted]

hello
i used this code to airdrop
but the transaction is faild : https://ropsten.etherscan.io/tx/0xf92fb6c745b5b8dc05eaa993f652a301031050913b1189f3962ed3d77a7ee345
Warning! Error encountered during contract execution [Reverted]

i dont know why

please help me

@nemo199404 Hi!
dests and values should be an array. Please change these values and try again. And let me know if it works, because it does not work for me either with the correct array values. :/


ngen.cal cannot read t-route csv output

Both the format and default naming scheme of t-route's flow velocity and depth csv output format have changed. It seems these changes were introduced in https://github.com/NOAA-OWP/t-route/pull/762. Below is a truncated output from an experiment @ajkhattak was conducting:
Filename: troute_output_201010010000.csv
,,t0,time,flow,velocity,depth,nudge
6680,wb,2010-10-01 00:00:00,1:00:00,0.0,0.0,0.0,-9999.0
6693,wb,2010-10-01 00:00:00,1:00:00,0.011395932,0.14789358,0.016011778,-9999.0
6694,wb,2010-10-01 00:00:00,1:00:00,0.0011854391,0.046027187,0.0028443048,-9999.0
6695,wb,2010-10-01 00:00:00,1:00:00,0.0074746944,0.05957307,0.016491435,-9999.0
6696,wb,2010-10-01 00:00:00,1:00:00,0.00028689083,0.0100609,0.0011184122,-9999.0
6697,wb,2010-10-01 00:00:00,1:00:00,0.0010952102,0.017818118,0.00395199,-9999.0
6698,wb,2010-10-01 00:00:00,1:00:00,0.00067087985,0.0112075135,0.0036796732,-9999.0
6699,wb,2010-10-01 00:00:00,1:00:00,0.03966544,0.14632863,0.023701,-9999.0
6700,wb,2010-10-01 00:00:00,1:00:00,0.006763444,0.11990769,0.023327546,-9999.0

Related to #130

Looks like they have slightly changed the format now https://github.com/NOAA-OWP/t-route/pull/818. Will need to account for both

Looks like the new format will look like:
,,current_time,flow,velocity,depth,nudge

Relevant things:
Of course the output you get from t-route depends on the configuration you provide. It seems there are multiple ways for t-route to generate flow, velocity, and depth outputs and you could write multiple outputs using different formats and / or table schemas.
Oldest supported ngen.cal t-route csv output configuration:
output_parameters:
  csv_output:
    csv_output_folder: output/

This would write a single csv file in output/ with either the name:

output/flowveldepth_{{network_topology_parameters.supernetwork_parameters.title_string}}.csv
if network_topology_parameters.supernetwork_parameters.title_string is not None
output/flowveldepth_{{datetime.now().isoformat()}}.csv
if network_topology_parameters.supernetwork_parameters.title_string is None
e.g. output/flowveldepth_2024-08-07T15:24:08.440266.csv

Using stream_output:
output_parameters:
  stream_output:
      stream_output_directory: output/
      stream_output_time: 10000000 # [hr]
      stream_output_type: '.csv'
      stream_output_internal_frequency: 60

Running t-route this will generate a csv file every stream_output_time (setting it higher than the simulation hours will only write to a single file). The name of the csv could be:

{{stream_output_directory}}/troute_output_{{t0}}.csv in %Y%m%d%H%M format. t0 can be calculated from several of the compute_parameters.restart_parameters fields:

compute_parameters:
    restart_parameters:
        start_datetime              : 2023-04-02_00:00
        lite_channel_restart_file   : #restart/RESTART.2020082600_DOMAIN1
        lite_waterbody_restart_file : #restart/waterbody_restart_202006011200

This configuration in combination with above, would write to: output/troute_output_202304020000.csv where t0 is calculated from start_datetime.

Similar to csv_output, you could instead output parquet doing (although, this is not supported by ngen.cal):
  parquet_output:
    parquet_output_folder: output/
    prefix_ids: wb-

#162 adds support for netcdf, pickle, parquet, and 3 csv t-route variants.

closed by #162


Building music-assistant fails - ERROR: Could not find a version that satisfies the requirement music-assistant[server]

What version of Music Assistant has the issue?
2023.6.0b3
The problem
I'm building music-assistant with:
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose up

Fails with
 => ERROR [final-build 5/6] RUN pip3 install         --no-cache-dir         music-assistant[server]==${MASS_VERSION}     && python3 -  5.8s
------
 > [final-build 5/6] RUN pip3 install         --no-cache-dir         music-assistant[server]==${MASS_VERSION}     && python3 -m compileall music_assistant:
#17 4.217 ERROR: Could not find a version that satisfies the requirement music-assistant[server]== (from versions: 1.1.0, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.22, 1.1.23, 1.1.24, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 1.8.8, 2.0.0b0, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0b5, 2.0.0b6, 2.0.0b7, 2.0.0b8, 2.0.0b9, 2.0.0b10, 2.0.0b11, 2.0.0b12, 2.0.0b13, 2.0.0b14, 2.0.0b15, 2.0.0b16, 2.0.0b17, 2.0.0b18, 2.0.0b19, 2.0.0b20, 2.0.0b21, 2.0.0b22, 2.0.0b23, 2.0.0b24, 2.0.0b25, 2.0.0b26, 2.0.0b27, 2.0.0b28, 2.0.0b29, 2.0.0b30, 2.0.0b31, 2.0.0b32, 2.0.0b33, 2.0.0b34, 2.0.0b35, 2.0.0b36, 2.0.0b37, 2.0.0b38, 2.0.0b39, 2.0.0b40, 2.0.0b41, 2.0.0b42, 2.0.0b43, 2.0.0b44, 2.0.0b45, 2.0.0b46, 2.0.0b47, 2.0.0b48, 2.0.0b49, 2.0.0b50, 2.0.0b51, 2.0.0b56, 2.0.0b57, 2.0.0b58, 2.0.0b59, 2.0.0b60)
#17 4.218 ERROR: No matching distribution found for music-assistant[server]==
------
executor failed running [/bin/sh -c pip3 install         --no-cache-dir         music-assistant[server]==${MASS_VERSION}     && python3 -m compileall music_assistant]: exit code: 1
ERROR: Service 'music-assistant-server' failed to build : Build failed

If I go to https://github.com/music-assistant/server/blob/main/Dockerfile#L77C21-L77C21 and update with the below then My build is successful and music-assistant works as expected and I am just loving it.
RUN pip3 install \
        --no-cache-dir \
        music-assistant[server]==2.0.0b60 \
    && python3 -m compileall music_assistant

I thought this was an issue on my node but I have had the issue on Debian, Ubuntu and MacOs
How to reproduce
Run:
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose up

or
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose up --force-recreate --build -d

Relevant log output
N/A
Additional information
I am running this on
lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

apt list --installed | grep docker

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

docker-buildx-plugin/bookworm,now 0.11.1-1~debian.12~bookworm amd64 [installed]
docker-compose-plugin/bookworm,now 2.19.1-1~debian.12~bookworm amd64 [installed]
docker-compose/stable,now 1.29.2-3 all [installed]
docker.io/stable,now 20.10.24+dfsg1-1+b3 amd64 [installed,automatic]
python3-docker/stable,now 5.0.3-1 all [installed,automatic]
python3-dockerpty/stable,now 0.4.1-4 all [installed,automatic]

Also if I run docker-compose up I get the error below and Google advised me to add the env vars DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1
Step 13/19 : RUN set -x     && apt-get update     && apt-get install -y --no-install-recommends         ca-certificates         curl         git         wget         tzdata         ffmpeg         libsox-fmt-all         libsox3         sox         cifs-utils         libnfs-utils         libjemalloc2     && rm -rf /tmp/*     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> d053bc365d31
Step 14/19 : RUN --mount=type=bind,target=/tmp/wheels,source=/wheels,from=wheels-builder,rw     set -x     && pip install --upgrade pip     && pip install --no-cache-dir /tmp/wheels/*.whl
the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled
ERROR: Service 'music-assistant-server' failed to build : Build failed

What version of Home Assistant Core are your running
2023.7.1
What type of installation are you running?
Home Assistant Core
On what type of hardware are you running?
Linux

the build part should be removed there and just the image used

My hero 👍

I guess you're the first to actually use the docker compose ?
I've adjusted the file in any case somebody else stumbles on the same path

Thank you. It should have been obvious from the docker run command. I'm a dummy most days.

Can someone say a working version for today... What about a latest/dev/stable tag?

I guess you're the first to actually use the docker compose ? I've adjusted the file in any case somebody else stumbles on the same path

Can you say a working tag for home assistant? i cant find the tag names.. only 2.0.0b61 & 2.0.0b60

Try latest or 2.0.0b61


Make sure we only show the modal when the data was actually fetched.

cc @xavijam

Frontend tests were OK :+1: (details)

I've checked in that scratch dialog code, there is a var self = this, i think we can remove it just adding
this in the bind scope as:
this.view.bind('whatever', function() { ... }, this);

Ok, I'll remove the self :)

Frontend tests were OK :+1: (details)


Add universal contact id

Hi and thank you so much for this amazing plugin ❤
I have a question. I have two Android test devices logged in with the same Google account (= same Google contacts).
When I import the contacts, they have different ids. contact.id is on one phone 2 and on another one23.
Could you please add the field originalUID to the Contact class:
class Contact {
...
    String originalUID;
...
}

It refers to the global contact id (on Android it would be filled with the Google contact id). This way we have a unique identifier which stays correct even after device change.
I would very appreciate that!
Best,
Max

Hi, is there any update on this?
I want to handle the use case in which I am storing the contact info and if the user has 2 devices: android and iOS and have similar contacts, is the id property in contact will it remain the same?
Thanks,
Sanchit

Any update on this?


[Bug Report] Blackjack-v1 env observation state return type is different from docs

Describe the bug
Blackjack-v1 environment docs, observation space return as tuple(int(), int(), int()) https://gymnasium.farama.org/environments/toy_text/blackjack/
but, it return tuple(int(), int(), boolen())
import gymnasium as gym
env = gym.make('Blackjack-v1', natural=False, sab=False)
s, _ = env.reset()

print(s)
print(type(s[0]), type(s[1]), type(s[2]))

output is
<class 'tuple'>
(11, 6, False)
<class 'int'> <class 'int'> <class 'bool'>

Code example
import gymnasium as gym
env = gym.make('Blackjack-v1', natural=False, sab=False)
s, _ = env.reset()

print(s)
print(type(s[0]), type(s[1]), type(s[2]))

System info
gymnasium=0.27.1
Additional context
gymnasium/envs/toy_text/blackjack.py line: 28
return 1 in hand and sum(hand) + 10 <= 21

to
return int(1 in hand and sum(hand) + 10 <= 21)

can be solution
No response
Checklist

[x] I have checked that there is no similar issue in the repo

I think it would be reasonable to go ahead and make pull request to address this. This may require a version number bump to the blackjack env.

I would happy to update the code to correctly reflect the expected integer type and I don't think we need to update the version number @balisujohn
While I say that, there is a reason why this hasn't been "fixed" or change, is that int and bool are very similar and I'm unsure where using a bool rather than a int causes an issue

Ok, i will make pr for this
I think environment outputs need to be consistency
I'm now studying rl, and i want to test rl methods with change some factors (like discounting factor etc) for every gym environment
For discrete observation space, making return type int can be give some consistency to developers
In SARSA algorithm, i make q table with numpy, this numpy array has same shape as observation space
but output has bool type can't access directly to numpy array
This can be solved with making table with dict type, but i think type consistency will give better experience
(ref this https://github.com/devhoodit/egym/blob/main/egym/methods/sarsa.py line: 49)
i think this change is not for neccessary, but it's good for developing


Added c++ code for 0-1 knapsack problem

I have made the changes

Hey,
I think during the time of pull request review someone did this algorithm before, I don't see any problems in having two versions of that algorithm in the same programming language.
So since we have a git conflict here, can you rename your file adding a 2 at the end of the file? Example if your file has the name "bogosort.js" rename to "bogosort2.js" and commit again.
Thanks.

I have made the changes


Prepare for v0.15.0 release

This PR prepares httpure for the Purescript v0.15.0 release.

Closed in favour of #193


this is so awesome

where can i learn about
graphic library
and
about genetic programming concepts used here
i am ok with JS.

Hey techsin, there are some good canvas tutorials online. If you're an absolute beginner in the matter, w3schools has a good intro: http://www.w3schools.com/html/html5_canvas.asp
As for genetic algorithms, there's a very concise intro here: https://www.cs.cmu.edu/Groups/AI/html/faqs/ai/genetic/part2/faq-doc-2.html
But there are many approaches to GA. Read as much as you can and try to find what best fits the problem you're trying to solve.


Heapster API doesn't work when listing the containers under a pod

When I tried to get the container list of a pod via API, it reports "HTTP 404" error.
The API I tried to access is:
GET http://<IP_ADDRESS>:30082/api/v1/model/namespaces/kube-system/pods/heapster-0qiur/containers/
Response:
404: Page Not Found

However, when I tried to get the metrics of a container, it works fine.
GET http://<IP_ADDRESS>:30082/api/v1/model/namespaces/kube-system/pods/heapster-0qiur/containers/heapster/metrics
Response:
[
  "uptime",
  "memory/working_set",
  "memory/limit",
  "cpu/usage",
  "cpu/usage_rate",
  "memory/major_page_faults_rate",
  "cpu/limit",
  "memory/usage",
  "memory/page_faults_rate",
  "memory/page_faults",
  "memory/major_page_faults",
  "cpu/request",
  "memory/request"
 ]

+1, version v1.2.0, k8s v1.4.0

Any idea why is it happening? Did you find the solution?

@hekike after read the source code, I think it is limited by k8sclient

This is working as intended. Our intend was to not duplicate logic of api server. However if you want add a logic which displays containers from the pod I'm happy to accept the contribution:)

@aleksandra-malinowska this is a good initial task in Heapster.


Handle loose app with target directory outside of project root

Maven projects can have the target directory outside of the project root, see here e.g.
<build>
    <directory>/Users/eric/tmp</directory>
</build>

Gradle projects can have the build directory outside of the project root, see here e.g.
buildDir = '/Users/eric/tmp'

For dev mode with containers, the loose application xml would currently show something like the following, which does not work since the paths are not in the container.
<?xml version="1.0" encoding="UTF-8"?>
<archive>
    <dir sourceOnDisk="${io.openliberty.tools.projectRoot}/src/main/webapp" targetInArchive="/"/>
    <dir sourceOnDisk="/Users/eric/tmp/classes/java/main" targetInArchive="/WEB-INF/classes/"/>
    <file sourceOnDisk="/Users/eric/tmp/tmp/META-INF/MANIFEST.MF" targetInArchive="/META-INF/MANIFEST.MF"/>
</archive>

Consider adding another variable for the build dir in addition to the project root, and use that for variable substitution as well.
If the build dir is outside of the project root, it would also need to be mounted by the docker run command.

Just want to add that currently the code uses the following:
    private final String PROJECT_ROOT_TARGET_LIBS = "target/libs";
which should not be hardcode and needs to change to the path of project.getBuild().getDirectory().


Enable / disable auto-save

Hi,
I need to allow the user to enable / disable auto-saving of the form through a button on the page. Can this be achieved through onSave() or is there any way to dynamically register / unregister a form with Sisyphus? I tried calling manuallyReleaseData() in onSave() but this does not seem to ba a good idea and slows down the script.
Thanks.
Anguel

I have already some code for that. Will send it to you during the day.

Cool, thanks. I was thinking about setting some variable in local storage and then reloading the whole page but this is probably too much trouble as my form is on tabs :(

Check this PR:
https://github.com/simsalabim/sisyphus/pull/114/commits

Also check this code:
https://github.com/gabrieljenik/sisyphus/blob/master/ondemmand_sisyphus.js

Very nice! I hope this will be merged into Sisyphus soon. Thank you once again.

@gabrieljenik : Once again, thank you very much. Now I have a autosave checkbox which sets a variable that is read in your extremely useful onBeforeSave() function and actually defines if autosave will take place or not. Unchecking the autosave checkbox will also call $('#myform').sisyphus().manuallyReleaseData(). Additionally, if the user has disabled the checkbox but decides to reenable autosaving at some point and has entered some data in between I call $('#myform').sisyphus().saveAllData() when he checks the checkbox. Do you think this is safe to do?

Why do you need to release the data? IN regard to "safety" I don't see any thread... do you see something to fear about?

Actually, I am adding the checkbox for users who want more "privacy", maybe they are on some public PC and do not want all their form data to stay on that PC, therefore I release the data when they uncheck the box. I asked if it is ok to call saveAllData() directly because I don't have much experience with JavaScript and I don't want to break anything :)
BTW, another problem is when the browser is in "safe browsing mode" - browser says it supports local storage and data is saved but will get lost when the private tab is closed :( There seems to be no way to actually tell if browser is in private mode AFAIK and warn the user...

Calling saveAllData() seems good idea.
About private mode, wouldn't know about that. May be you can put some kind of warning message or bubble message near the checkbox.

Yes, I will put a warning. Not the best solution, but at least the user cannot sue me for losing his data ;)))


Normalize created timestamp to seconds in response from proxy handlers

This commit adjusts the created field in both NonStreamingChatProxyHandler and StreamingChatProxyHandler to use a timestamp in seconds rather than milliseconds. It applies Math.floor(Date.now()/1000) to ensure the created timestamp is consistent with OpenAI's response, enhancing compatibility, especially to response handlers in strongly typed language like rust

thanks


Login error code 125

Hello,
I'm getting login error with code 125 and message '手机号未注册', that supposed to be translated to 'Mobile phone number is not registered'
Why mobile number if I'm using email to login in mobile app?
Log:
Logger: custom_components.petkit
Source: custom_components/petkit/__init__.py:87
Integration: Petkit ([documentation](https://github.com/hasscc/petkit), [issues](https://github.com/hasscc/petkit/issues))
First occurred: 14:32:57 (1 occurrences)
Last logged: 14:32:57

Petkit login<EMAIL_ADDRESS>failed: {'error': {'code': 125, 'msg': '手机号未注册'}}

I had the same issue, which could be resolved by using the US API
configuration.yaml
petkit:
Single account
username<EMAIL_ADDRESS>password: hunter2 # MD5 or Raw password
api_base: http://api.petkt.com/latest/

Thanks @bebilith, that's works!
But now I have just Petkit request_api service, and nothing else.
Needs to find out why...

Did you add the service to your config?
service: petkit.request_api target:   entity_id: sensor.d4_petkit_state # Any sensor entity in the account data:   api: /discovery/device_roster   params:     key: val
Then you should see a bunch of petkit entities, which you can add to cards.

Can't find a correct identification place for it.
It supposed to be a separate block in yaml as described here: https://www.home-assistant.io/docs/scripts/service-calls/
But that yaml block:
`petkit:
username: !secret petkit_username
password: !secret petkit_password
api_base: http://api.petkt.com/latest/
service: petkit.request_api
target:
entity_id: sensor.d4_petkit_state
data:
api: /discovery/device_roster
params:
key: val`
Producing that errors in config validation:
Integration error: data - Integration 'data' not found.
Integration error: service - Integration 'service' not found.
Integration error: target - Integration 'target' not found.

It started working without service config.


#114 Add the new Rake task without implementation

This fixes #114. I've added a skeleton without implementation but with PDD todos.

@yegor256/z please, pay attention to this pull request

Job #120 is now in scope, role is REV

@yegor256/z everybody who has role REV is banned at #120; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 3min)

Job gh:yegor256/pdd#120 is not assigned, can't get performer

The job #120 is now out of scope

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @yegor256/z


gloo timer

Hello
When I try to run this example :
https://github.com/David-OConnor/seed/blob/master/examples/orders/src/lib.rs
I get the error :

wasm-bindgen: imported JS function that was not marked as catch threw an error: Illegal invocation

For gloo_timers::sys::clear_timeout
Thanks for your help

Hi, thanks for report!
Some questions:

What's your OS?
Wasm-pack's version? (wasm-pack -V)
Seed's version? (or you use master branch?)
Rust version (``rustc -V`)
Do you see that error even after you delete folder target in Seed's root and pkg in example's folder?
Do you use cargo make start orders from Seed's root to start that example?

OS : I tried both Windows and Linux
wasm-pack 0.8.1
seed = "0.4.0"
wasm-bindgen = "0.2.47"
rustc 1.35.0 (3c235d560 2019-05-20)

Do you use cargo make start orders ? No because cargo make dosen't want to install on my computer

I downgraded to your versions (on Windows) and I'm still not able to reproduce your problems.

cargo make dosen't want to install on my computer

I suggest to focus on cargo make error, because it's maybe somehow related to your issues, your development will be more comfortable and maybe you use different commands (than we use in cargo make start *) which cause problems.

So I downloaded the repo seed
And I did this in :
rustup update
rustup target add wasm32-unknown-unknown
cargo-make: cargo install --force cargo-make
cargo make start orders

And it works

Hello ,
I just saw that gloo 0.1.0 was realased 4 days ago :
https://crates.io/crates/gloo
use gloo::{events::EventListener, timers::callback::Timeout};
Timeout::new(1_000, move || {
           log!("test");
         }).forget();

I will try to use I with my project to update model (with a future may-be)

Sweet. We've updated the code to use the crate, but haven't released the new version.

I was able to do this :
Timeout::new(1_000, move || {
                let html_el = seed::document().get_element_by_id("toast").unwrap();
                log!(html_el.class_name());
            }).forget();

But if I try this :
Timeout::new(1_000, move || {
                log!(model.msg);
            }).forget();

I have this error :

explicit lifetime required in the type of model
lifetime 'static required

any idea ?

@TuntematonSotilas: I think that 'static is required in your example because of https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen/closure/struct.Closure.html (see description at the top).
So you have to make sure you model is 'static or close only msg (which has to be also 'static, of course).

@TuntematonSotilas But on the second look - you probably want to know value of property msg from the current model, after the given delay.
So try to get App instance from orders and send it into the closure. App is behind the Rc so it should be 'static and you should be able to get model from it or at least call update function, where you can use current model.
Example here: https://github.com/David-OConnor/seed/blob/master/examples/animation_frame/src/lib.rs#L72

Thanks it works perfectly with :
let (app, msg_mapper) = (orders.clone_app(), orders.msg_mapper());
            Timeout::new(5_000, move || {
				app.update(msg_mapper(Msg::Hide));
            }).forget();


Update viirs_ntl

[ ] consolidate into main.py using Dataset class
[ ] rewrite download script in Python, integrate into main.py
[ ] have download, process tasks use local scratch then transfer to shared FS (see #148)
[ ] test by running locally using Prefect backend
[ ] add flow.py
[ ] test deployment
[ ] update README

Oops, this is a duplicate of #141


Update azure-pipelines-1.yml for Azure Pipelines

Is this PR outdated?

Is this PR outdated?

I tried adding Scan tasks and this PR got created from pipeline. But those tasks didn't work from yaml file like build tasks. I am exploring if there is another way to do it. So closing out this PR.


Look for an alternative to the jwt-cpp submodule in rmf_visualzation_schedule

rmf_visualization_schedule uses a git submodule to pull the jwt-cpp dependency. This dependency pull is done at compilation time on the CMakeLists.txt . This is not the best way to deal with dependencies and it doesn't work for packaging purposes because of many reasons.
It seems that this package is used to check and decode a jwt token passed to the websocket server. I would suggest we try to find an Ubuntu package that provides this functionality instead. So far after a quick search I found libjwt0 maybe it's worth a look.

It seems that the new added nlohman-json it's not available for rhel:  https://pkgs.org/search/?q=nlohmann
I am afraid we are currently not able to have a separate branch for rhel releases (which would be the ideal solution to this problem) therefore I suggest we go back to the previous state regarding this dependency (using the header file).
@ChawinTan can you remove the dependency and add the header back again?

Roger that!


How do I get train loss inside a callback?

I'm writing a callback to plot progress using Bokeh. I'd like to show loss and valid_loss on it. But the logs dict only has the later. Is there any way to get the former inside the on_epoch_end of a callback?
Tkx!

It is passed to the on_epoch_end logs dictionary. Different callback methods get different data, and validation data only gets computed at the end of each epoch.
You can take a look at callbacks.BaseLogger to see how it handles validation data display.

Thanks!!!
I just saw how it is done in here https://github.com/fchollet/keras/blob/aa21a15bd3b1f5a32f49710d771f2c59deb9c7a0/keras/callbacks.py#L231-L256
@fchollet is there a reason for on_epoch_end not be getting loss and loss_acc??? The moving average could be ran inside the model.fit, so each callback wouldn't have to repeat the process.

The moving average could be ran inside the model.fit, so each callback wouldn't have to repeat the process.

Yes, this leads to redundancy in the current setup. We could definitely start computing it in fit (which is what we were doing before the callback system)... not much of an issue for now, though it could become one if we have lots of callbacks. In the standard case, only BaseLogger does this computation, so it only occurs once.

Here is an example with something I was working on...
class MyCallback(Callback):     def __init__(self):         super(MyCallback, self).__init__()         ...     def on_epoch_end(self, epoch, logs={}):         results = [logs['loss'], logs['val_loss'], logs['acc'], logs['val_acc']]         ...


VKB-Sim T-Rudder not recognized by Godot

Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; <IP_ADDRESS>42) - Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 Threads)
Issue description
The VKB-Sim T-Rudder  are rudder pedals used for flight simulation, and this device is not recognized by godot's Input Mapper and its also not visible on Input.get_connected_joypads() (I checked with get_joy_name and all my other devices where there), I can use the rudder pedals in games and tested using Gamepad Tester and they work correctly.
This device only have one axis and no buttons, please let me know if you requiere any more information or anything I can do to help
Steps to reproduce
Just open the Input Mapper and try to map the pedals to any input, its not recognized
Minimal reproduction project
No specific project required, any new project gives the same result

Godot doesn't have built-in support for nonstandard controllers, as https://github.com/gabomdq/SDL_GameControllerDB only accepts mappings for gamepads, not steering wheels or HOTASes.

Is it not possible to make it work as a generic controller with one axis? the rest of my HOTAS works like that with Godot but this one is not even detected


Disable Style/TrailingCommaInArrayLiteral by default (#5)

To prevent syntax from being destroyed by auto-correction.
resolve #5

You're right 👍
What about the other similar cops?

Style/TrailingCommaInArguments
Style/TrailingCommaInBlockArgs
Style/TrailingCommaInHashLiteral

What about the other similar cops?

Style/TrailingCommaInArguments
Style/TrailingCommaInBlockArgs
Style/TrailingCommaInHashLiteral

In my opinion, it's better to disable Style/TrailingCommaInArguments and Style/TrailingCommaInHashLiteral, but Style/TrailingCommaInBlockArgs doesn't need to be disabled.

Oops, I didn't get here in time.
At the moment, I've additionally found the following cops to break syntax:

Layout/FirstArrayElementLineBreak

Okay, so I'm going to disable these cops by default:

Layout/FirstArrayElementLineBreak
Layout/FirstHashElementLineBreak
Layout/FirstMethodArgumentLineBreak
Style/TrailingCommaInArguments
Style/TrailingCommaInHashLiteral

I think it's good. Thanks :yum:


Use optional chaining and nullish coalescing

On hold until Node.js 14 becomes LTS.

Thanks for the PR!
We need to ensure the same browser support as the buffer package which currently supports Chrome, Firefox, Edge, Safari 11+, iOS 11+. Since this syntax is not supported until Safari and iOS 13, I think we can't merge this until we drop Safari/iOS 11 and 12 in buffer which I don't expect to happen for a while.
Closing this PR for now.


Uninitialized error string crashes Modipulate

The new fade function was crashing Modipulate after I added error code returns for bad parameters. I think it's because calling modipulate_get_last_error_string crashes unless modipulate_set_error_string_cpp has been called at least once.
(I fixed it in this case by setting the error string before returning an error code.)
Maybe we should initialize the error string?

Counter-proposal: We create an error macro that looks kinda like this:
RETURN_ERROR("Your error string here!", ERROR_WILL_ROBINSON);

The macro takes a string and an int.  It sets the error string and returns with the provided return code, setting a precedent for all code going forward to include both a string and an error.

:+1: That seems reasonable.


Texture iterators and other facilities using CUDA textures should fail to compile with NVC++

cub.test.iterator fails at runtime with NVC++. The failure occurs because of the use of texture iterators, which use CUDA textures, a feature that NVC++ does not support.
CUB texture iterator should fail to compile when using NVC++ and the tests for them should be disabled (not the entire iterator test, just the parts that use texture iterators).
Testing tex-ref iterator on type c
CUDA error 18 [/proj/cuda/thrust/main/dependencies/cub/cub/iterator/tex_ref_input_iterator.cuh, 111]: invalid texture reference
CUDA error 18 [/proj/cuda/thrust/main/dependencies/cub/test/test_iterator.cu, 555]: invalid texture reference

Related to #191.

Moving to backlog/triage since we've been testing CUDA texture object API on nvc++ for a while without issue. It's worth investigating why this seems to works, but it's low priority atm.


The current working directory cannot be mounted onto Docker container

I am trying to mount the current working directory onto Docker container but isn't working. When i run the following to mount the current working directory to make sure everything is doing ok, what i see is that all those dependencies are getting installed in the current working directory.
docker run --rm -v $(pwd):/working-dir -w /working-dir ubuntu/evolinc:2.0 -c cuffcompare_out_annot_no_annot.combined.gtf -g Brassica_rapa_v1.2_genome.fa -r Brassica_rapa_v1.2_cds.fa -b TE_RNA_transcripts.fa
I thought, they should only be installed on the container and only the output is going to generate in the current working directory. Sorry, i am very new to Docker and i would need some help with this....

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Are you running docker on windows or Mac (I.e., is docker running in VirtualBox)?

Oh. Wait, I think I misread your issue; mounting the directory works, but you're seeing files being written to the current directory?
What's the ubuntu/evolinc image? Is that something you built yourself?

Hi,
Yes, that's the image i built by myself on the VirtualBox.
Thanks
Upendra

On Dec 6, 2015, at 2:20 PM, Sebastiaan van Stijn<EMAIL_ADDRESS>wrote:
Oh. Wait, I think I misread your issue; mounting the directory works, but you're seeing files being written to the current directory?
What's the ubuntu/evolinc image? Is that something you built yourself?
—
Reply to this email directly or view it on GitHub https://github.com/docker/docker/issues/18457#issuecomment-162353856.

By bind-mounting the current directory in the container (as a volume), anything that's in that directory becomes visible in the container, and if a process inside the container writes files to that directory, they become written to the directory on the host. That's expected behavior, but perhaps I'm misunderstanding your issue.
Also see; http://docs.docker.com/engine/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume

I have posted my question on Stackflow (http://stackoverflow.com/questions/34122270/how-to-mount-the-current-working-directory-onto-docker-container?noredirect=1#comment55996002_34122270) and there i explained my question better. Can you please take a look at it?

I left some comments there, but it's still not entirely clear to me what you're trying to achieve, and/or why you're using the -v $(pwd):/workdir

I'm following the tutorial in here - https://pods.iplantcollaborative.org/wiki/display/HDFDE/Using+Docker+and+creating+Docker+Images+and+Containers. My intention is to bind host's directory that contains the input files onto Container and let the output files written to the host's directory that is mounted.

And what happens? Are the files not written to the directory on the host?

At the moment, the files can neither be detect nor written to directory because the mounting is not working properly..

Ok, i have figured out what is going on. There is a problem with the run script and nothing is wrong with Dockerfile or mounting.


Can't able to see changes in local machine

I added some lines through GitHub but can't able to see the new lines when I do vim README.md

in command line


"Azure SQL DataBase deployment" pipeline- Fails to create a APP user on DB for the first time, but succeeds after multiple runs

Required Information
Azure SQL DataBase deployment pipeline- Fails to create a APP user on DB for the first time, but succeeds after multiple runs
Task Name: Azure SQL DataBase deployment
Environment

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name: vs2017-win2016

Issue Description
The Task to add the APP user to the DB fails through Azure DevOps pipeline- need to be executed the same job multiple times. Error- User must be in the master database
Although the user is added to the master the task fails while attaching the user to the DB.
This is the same when tried manually on the DB too, following is the query.
Query
IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'ABC')
BEGIN
CREATE LOGIN [ABC]
WITH PASSWORD=N'XYZ';
CREATE USER [ABC] FOR LOGIN [ABC] ;
ALTER LOGIN [ABC] ENABLE
EXEC sp_addrolemember N'db_execproc', N'ABC'
END
GO
Task logs
2021-02-17T17:39:54.6174414Z Task         : Azure SQL Database deployment
2021-02-17T17:39:54.6174775Z Description  : Deploy an Azure SQL Database using DACPAC or run scripts using SQLCMD
2021-02-17T17:39:54.6175084Z Version      : 1.178.1
2021-02-17T17:39:54.6175327Z Author       : Microsoft Corporation
2021-02-17T17:39:54.6175796Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/sql-azure-dacpac-deployment
2021-02-17T17:39:54.6176197Z ==============================================================================
2021-02-17T17:39:58.1380728Z Temporary inline SQL file: C:\Users\VssAdministrator\AppData\Local\Temp\tmp8A8C.tmp
2021-02-17T17:39:58.1668915Z Invoke-Sqlcmd -ServerInstance "abc.database.windows.net" -Database "xyz" -Username "abc"  -Password ******  -Inputfile "C:\Users\VssAdministrator\AppData\Local\Temp\tmp8A8C.tmp"  -ConnectionTimeout 120
2021-02-17T17:40:10.2683993Z Temporary inline SQL file: C:\Users\VssAdministrator\AppData\Local\Temp\tmpB9F9.tmp
2021-02-17T17:40:10.2696312Z Invoke-Sqlcmd -ServerInstance "abc.database.windows.net" -Database "xyzl" -Username "abc"  -Password ******  -Inputfile "C:\Users\VssAdministrator\AppData\Local\Temp\tmpB9F9.tmp"  -ConnectionTimeout 120
2021-02-17T17:40:12.3770156Z
2021-02-17T17:40:12.5455674Z ##[error]User must be in the master database.
Msg 5001, Level 16, State 3, Procedure , Line 5.Check out how to troubleshoot failures at https://aka.ms/sqlazuredeployreadme#troubleshooting-
2021-02-17T17:40:12.5879352Z ##[section]Finishing: Azure SQL InlineSqlTask - ADD User to db
Error logs
##[error]User must be in the master database.

@ShreyasM6 User must be in the master database this error is not thrown by task. but from sql script. and as you said its happening locally as well. this issue is not related to task.
you can try solution like here https://social.msdn.microsoft.com/Forums/azure/en-US/02f4b32f-5b87-4163-a592-9a19ba2169b1/how-do-i-create-a-second-login-for-sql-azure?forum=ssdsgetstarted

Closing this issue since its not related to task but script


the ghost rules of remilia was missing

meep

About the PR
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added fun!
remove: Removed fun!

You replaced localization strings which already exist. What led you to believe the rules were missing?

You replaced localization strings which already exist. What led you to believe the rules were missing?

A person brought it up in the bug reports of delta∆


Add a Go To Function and Panel.

Files added for Go To Panel that can be accessed in the text area.

Last 4 pull requests have all failed due to tests. I'm still quite new to coding (so please correct me if I am wrong) but doesn't this point to a broken baseline?


[Coverity CID :186035] Incorrect expression in /drivers/ipm/ipm_mcux.c

Static code scan issues seen in File: /drivers/ipm/ipm_mcux.c
Category: Incorrect expression
Function: mcux_mailbox_isr
Component: Drivers
CID: 186035
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Update Coverity to mark this as an ignore.


Feature suggestion: memory leak detection

See CppUTest's memory leak detection.

I was thinking about this in the past and decided to skip it for now - tools such as valgrind/drmemory or the sanitizers work pretty well so I consider this an orthogonal problem to testing... But I'll keep the issue open in case I change my mind :)

I agree with @onqtam , there are many other tools that complement doctest in this respect.
I suggest we close this.


Error: Building package zlib:x86-windows failed with: BUILD_FAILED

It is not just zlib. I also tried lua, boost, ....
The build process stopped with the same error.
environments:

Windows 10 Pro 64bit, Chinese, updated (newly installed).
Visual studio 2017 community (newly installed), with mfc, vs2015 toolsets.

I have tried with chcp 65001, installed English language pack.
no luck.

PS D:\vcpkg> .\vcpkg.exe install zlib
The following packages will be built and installed:
    zlib[core]:x86-windows
Starting package 1/1: zlib:x86-windows
Building package zlib[core]:x86-windows...
A suitable version of cmake was not found (required v3.10.2). Downloading portable cmake v3.10.2...
Downloading cmake...
Downloading cmake... done.
Extracting cmake...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable 7zip v18.1.0...
Downloading 7zip...
Downloading 7zip... done.
Extracting 7zip...
A suitable version of nuget was not found (required v4.6.2). Downloading portable nuget v4.6.2...
Downloading nuget...
Downloading nuget... done.
Extracting 7zip... done.
Extracting cmake... done.
-- CURRENT_INSTALLED_DIR=D:/vcpkg/installed/x86-windows
-- DOWNLOADS=D:/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=D:/vcpkg/packages/zlib_x86-windows
-- CURRENT_BUILDTREES_DIR=D:/vcpkg/buildtrees/zlib
-- CURRENT_PORT_DIR=D:/vcpkg/ports/zlib
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source D:/vcpkg/downloads/zlib1211.tar.gz
-- Extracting done
-- Applying patch D:/vcpkg/ports/zlib/cmake_dont_build_more_than_needed.patch
-- Applying patch D:/vcpkg/ports/zlib/cmake_dont_build_more_than_needed.patch done
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip...
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Configuring x86-windows
-- Configuring x86-windows done
-- Build x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:170 (message):
    Command failed: D:/vcpkg/downloads/tools/cmake-3.10.2-windows/cmake-3.10.2-win32-x86/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v;-j1
    Working Directory: D:/vcpkg/buildtrees/zlib/x86-windows-dbg
    See logs for more information:
      D:\vcpkg\buildtrees\zlib\install-x86-windows-dbg-out.log
      D:\vcpkg\buildtrees\zlib\install-x86-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/zlib/portfile.cmake:29 (vcpkg_install_cmake)
  scripts/ports.cmake:72 (include)

Error: Building package zlib:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: zlib:x86-windows
  Vcpkg version: 0.0.113-nohash

Additionally, attach any relevant sections from the log files above.

install-x86-windows-dbg-err.log
install-x86-windows-dbg-out.log

It just began to compile, this morning.
I didn't do nothing;
Any one can explain that?
or just close this issue silently?

vcpkg install zlib:x86-windows --debug
The following packages will be built and installed:
    zlib[core]:x86-windows
Starting package 1/1: zlib:x86-windows
Building package zlib[core]:x86-windows...
[DEBUG] _wpopen("where.exe cmake 2>&1")
[DEBUG] _pclose() returned 0 after  1028159 us
[DEBUG] _wpopen(""E:\tools\vcpkg\downloads\tools\cmake-3.10.2-windows\cmake-3.10.2-win32-x86\bin\cmake.exe" --version 2>&1")
[DEBUG] _pclose() returned 1 after   300658 us
[DEBUG] _wpopen(""C:\Program Files (x86)\CMake\bin\cmake.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after   382779 us
[DEBUG] _wpopen(""C:\Program Files (x86)\CMake\bin\cmake.exe" "-DCMAKE_TRIPLET_FILE=E:/tools/vcpkg/triplets/x86-windows.cmake" -P "E:/tools/vcpkg/scripts/get_triplet_environment.cmake" 2>&1")
[DEBUG] _pclose() returned 0 after   423054 us
[DEBUG] _wpopen("where.exe git 2>&1")
[DEBUG] _pclose() returned 1 after   733119 us
[DEBUG] _wpopen(""E:\tools\vcpkg\downloads\tools\git-2.16.2-windows\cmd\git.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after   485823 us
[DEBUG] _wpopen("powershell -NoProfile -ExecutionPolicy Bypass -Command "& {& 'E:\tools\vcpkg\scripts\findVisualStudioInstallationInstances.ps1' }" 2>&1")
[DEBUG] _pclose() returned 0 after  9613367 us
Warning: The following VS instances are excluded because the English language pack is unavailable.
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
Please install the English language pack.
[DEBUG] CreateProcessW(cmd.exe /c ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"  amd64_x86   2>&1 && "C:\Program Files (x86)\CMake\bin\cmake.exe" "-DCMD=BUILD" "-DPORT=zlib" "-DCURRENT_PORT_DIR=E:/tools/vcpkg/ports/zlib/." "-DTARGET_TRIPLET=x86-windows" "-DVCPKG_PLATFORM_TOOLSET=v140" "-DVCPKG_USE_HEAD_VERSION=0" "-D_VCPKG_NO_DOWNLOADS=0" "-D_VCPKG_DOWNLOAD_TOOL=BUILT_IN" "-DGIT=E:/tools/vcpkg/downloads/tools/git-2.16.2-windows/cmd/git.exe" "-DFEATURES=core" "-DALL_FEATURES=" -P "E:/tools/vcpkg/scripts/ports.cmake"")
-- CURRENT_INSTALLED_DIR=E:/tools/vcpkg/installed/x86-windows
-- DOWNLOADS=E:/tools/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=E:/tools/vcpkg/packages/zlib_x86-windows
-- CURRENT_BUILDTREES_DIR=E:/tools/vcpkg/buildtrees/zlib
-- CURRENT_PORT_DIR=E:/tools/vcpkg/ports/zlib/.
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source E:/tools/vcpkg/downloads/zlib1211.tar.gz
-- Extracting done
-- Applying patch E:/tools/vcpkg/ports/zlib/cmake_dont_build_more_than_needed.patch
-- Applying patch E:/tools/vcpkg/ports/zlib/cmake_dont_build_more_than_needed.patch done
-- Configuring x86-windows
-- Configuring x86-windows done
-- Build x86-windows-dbg
-- Build x86-windows-dbg done
-- Build x86-windows-rel
-- Build x86-windows-rel done
-- Installing: E:/tools/vcpkg/packages/zlib_x86-windows/share/zlib/copyright
[DEBUG] CreateProcessW() returned 0
-- Performing post-build validation
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /exports "E:\tools\vcpkg\packages\zlib_x86-windows\debug\bin\zlibd1.dll" 2>&1")
[DEBUG] _pclose() returned 0 after  1033995 us
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /exports "E:\tools\vcpkg\packages\zlib_x86-windows\bin\zlib1.dll" 2>&1")
[DEBUG] _pclose() returned 0 after   444682 us
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /dependents "E:\tools\vcpkg\packages\zlib_x86-windows\debug\bin\zlibd1.dll" 2>&1")
[DEBUG] _pclose() returned 0 after   407683 us
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /dependents "E:\tools\vcpkg\packages\zlib_x86-windows\bin\zlib1.dll" 2>&1")
[DEBUG] _pclose() returned 0 after   427777 us
-- Performing post-build validation done
Building package zlib[core]:x86-windows... done
Installing package zlib[core]:x86-windows...
File E:\tools\vcpkg\installed\x86-windows\bin\zlib1.dll was already present and will be overwritten
File E:\tools\vcpkg\installed\x86-windows\include\zconf.h was already present and will be overwritten
File E:\tools\vcpkg\installed\x86-windows\include\zlib.h was already present and will be overwritten
File E:\tools\vcpkg\installed\x86-windows\lib\zlib.lib was already present and will be overwritten
Installing package zlib[core]:x86-windows... done
Elapsed time for package zlib:x86-windows: 47.52 s

Total elapsed time: 47.52 s

The package zlib is compatible with built-in CMake targets:

    find_package(ZLIB REQUIRED)
    target_link_libraries(main PRIVATE ZLIB::ZLIB)

ok

@fragrans ,
Please open a new issue if this is still a problem for you.


Add IceWeasel Web Browser

Can you add my script to the repository when you have a chance? You can test it out if you want to...
I put it in a zip file so I can attach it to this message.
iceweasel.zip

It is a little slow on a Raspberry Pi 1/Zero but probably faster on a Raspberry Pi 2/3....

Thanks.

No problem...

Confirmed it works better on a Raspberry Pi 2/3!
YouTube runs smooth too!


$(ImportDirectoryBuildProps) and $(DirectoryBuildPropsPath) properties are not explained

in the 'customize-your-build.md' file in the section "Directory.Build.props and Directory.Build.targets" in the subsection "Use case: multi-level merging", there is a sentence that reads:

To control the scanning/merging process, use $(DirectoryBuildPropsPath) and $(ImportDirectoryBuildProps).

However, there is no explanation of what these properties do and how they control the scanning/merging process.
The properties ImportDirectoryBuildProps and DirectoryBuildPropsPath are not documented. The matching properties ImportDirectoryBuildTargets and DirectoryBuildTargetsPath are also not documented.
ImportDirectoryBuildProps, DirectoryBuildPropsPath, and DirectoryBuildTargetsPath don't appear to be documented anywhere in the MSBuild documentation.
There are mentions of ImportDirectoryBuildTargets in 'msbuild-dot-targets-files.md' and 'what-s-new-in-msbuild-15-0.md'.
'msbuild-dot-targets-files.md' says that ImportDirectoryBuildTargets should be false to prevent importing and then links to the 'customize-your-build.md' file which doesn't mention the property at all.
'what-s-new-in-msbuild-15-0.md' incorrectly says that importing of Directory.Build.props is controlled by ImportDirectoryBuildTargets.
It seems like a section should be added to the 'customize-your-build.md' page that explains the four properties.
A PR has been created for edits to 'what-s-new-in-msbuild-15-0.md'.

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

ID: d410ebeb-3841-a0a9-efb4-185823add4dc
Version Independent ID: 7e397179-4ccc-054c-8137-5e8f2430d794
Content: Customize your build - MSBuild
Content Source: docs/msbuild/customize-your-build.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @ghogen
Microsoft Alias: ghogen

@jrdodds -- Jonathan, thank you for your feedback.  Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@ghogen -- Gordon, please look into this issue.

@WilliamAntonRohm Thanks. I understand what the properties do from examining the source code.

It appears that this issue was closed without fixing the problem. Can this issue be re-opened? Or should I report the problem  again?

@jrdodds -- Jonathan, thank you for your followup.  The updated descriptions have been merged into the live docs, but it may take a day to propagate.  Please let me know if you don't see them tomorrow.

@WilliamAntonRohm - Thanks. I wasn't aware that it worked that way and that there is a propagation delay. I see the change in the repo history now.


setup coding infrastructure

[x] setup GitHub:

[x] create repository
[x] clone & setup local files/folders
[x] create Python kernel (for add-on installations)

[x] create GitHub project

done


Idea: Use wildcard certificates for *.mgr.suse.de

We use sumaform to deploy quite a few development servers on the mgr.suse.de subdomain. After a new server is created and you visit it, you'll be greeted with a warning since the TLS certificate is not signed by a CA.
My idea is to use a pre-generated wildcard certificate for the whole mgr.suse.de subdomain that is signed by our CA (not the E&I-wide one). We still need to ensure that we trust this CA, but once that is done, all development deployments are covered.

+1, but let's not add certificates and private keys to the sumaform repository.
It's better if we can provide the certificate and private key (and ideally intermediate CA cerificate) as main.tf variables with the paths to he files on the system that calling terraform.
That way sumaform would be able to deploy any certificate and private key that is required. Keep in mind that even for SUSE Manager we have several subdomains we use for CI, QAM, Provo, Nuremberg... And for AWS I think the internal AWS hostnames are used (so no *.mgr.suse.de either)

The general idea of adding "bring your own certificate" to sumaform has been on my wishlist since a long time! So far, I never really found an occasion to make it happen. I do not lose hope but that might take long - if anybody is willing to invest some time in this direction I am all for it.
I agree with Julio we should not tie sumaform to internal infrastructure to the extent possible.
Thanks for bringing this up


Exit codes

Is your feature request related to a problem? Please describe.
In CI i would like to react differently on advisories and the other categories. Cause advisories are caused by external parties and a solution might not be available immediately, so this should not stop the pipeline but cause a warning.
Describe the solution you'd like
Flag based exit codes could help here. e.g.

advisories 0x0001
bans 0x0010
licenses 0x0100
sources 0x1000

When combined with OR i could decompose if one category has occured using AND.
Describe alternatives you've considered
The alternative currently is running deny twice with different categories, while allowing one to fail. But t should be possible to handle this with one run.

Exit codes are restricted. You have a range of 0 to 255.
EXIT STATUS         [top](https://man7.org/linux/man-pages/man1/exit.1p.html#top_of_page)
       The exit status shall be n, if specified, except that the
       behavior is unspecified if n is not an unsigned decimal integer
       or is greater than 255. Otherwise, the value shall be the exit
       value of the last command executed, or zero if no command was
       executed. When exit is executed in a trap action, the last
       command is considered to be the command that executed immediately
       preceding the trap action.


Modification to add a simple chroot environment for people who don't have access to a USB Flash Drive

This is a very small script I worked on, a modification of the build.sh script, that instead of builds a disk image, creates a chroot environment that can be accessed via another shell script easily (that it creates.)

Whats the point of this?

Sorry, it's for people (on Linux) who don't have a Flash Drive available to install palen1x. For some reason on (a fresh install) of Ubuntu 24.04 LTS, the Linux Binaries and Debian Package both don't work, however my chroot solution does for me. I made it because of an issue that was brought up with someone having the same problem, but it was closed, so I couldn't give it to them. It's okay if you don't add it, but I thought it would be a nice small addition.

I have noticed very minor issues, such as you can't exit using power off or reboot, but you can hold ctrl and press c to exit, and the Shell option in the menu doesn't work, but I have plans to fix these issues. You may want to wait a bit before adding though if you do so that I can fix it first. Please tell me if you do not plan to add it though so that I can abandon it, or maybe just create a new tool altogether.

Just a heads up, if you're going to test it on Linux, if you can't exit, and need to terminate it, make sure to unmount everything, or sudo won't work, and will give you an error such as unable to allocate PTY afterwards. If you can't figure out how to unmount (I think palera1n developers would know, it was even in the build script) you can run the last lines of the script manually, or simply reboot.

While we appreciate the efforts put into this, this really is just a half-baked solution to a problem people are facing on popular distributions. This "solution" also requires someone to be in an environment to be able to setup the chroot, which not everyone has since the build script requires dependences from APT, which is usually found on Debian based distributions.
Secondly, including this "solution" will require us to maintain support for it and give commands for something I find unnecessarily complex.
Alternatively, when it comes to trying to fix support for Ubuntu or any other distribution facing this issue, it's recommended you find the root cause of it and contribute fixing it.
In conclusion this is more suited for a fork, sorry.

Okay, thanks for your time. Have a good one!


Failed to load the starred-package-installer package

[Enter steps to reproduce below:]

...Attempt to load starred-package-installer from Atom Installer GUI
...

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: starred-package-installer package, v0.1.0
Stack Trace
Failed to load the starred-package-installer package
At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at __extends (/Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer-view.coffee:1:1)
    at /Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer-view.coffee:6:3
    at Object.<anonymous> (/Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer-view.coffee:6:3)
    at Object.<anonymous> (/Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer-view.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer.coffee:1:31)
    at Object.<anonymous> (/Users/dmoon/.atom/packages/starred-package-installer/lib/starred-package-installer.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:720:27)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:116:28
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:445:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:524:30)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:444:29
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

Config
{
  "core": {}
}

Installed Packages
# User
color-picker, v2.1.1
emmet, v2.4.2
grunt-runner, v0.14.0
javascript-snippets, v1.2.1
livestyle-atom, v0.1.3
minimap, v4.20.0
starred-package-installer, v0.1.0

# Dev
No dev packages

Same problem here...

Ditto for me... will this be fixed?

Wish this would be fixed so I don't keep seeing this warning message everytime I open Atom!

I've found another way to proceed. I uninstalled this plugin and used atom's default package manger, apm.
Jeff Greenlee
"Music is Love in search of a voice."
Leo Tolstoy
On Mon, Dec 26, 2016 at 6:13 AM, Derek Moon<EMAIL_ADDRESS>wrote:

I've found another way to proceed. I uninstalled this plugin and used
atom's default package manger, apm.
Reply to this email directly, view it on GitHub
https://github.com/tomsowerby/starred-package-installer/issues/9#issuecomment-269214798,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVifXTvPwsSuKbilskoZH8xVIeajqUFQks5rL8uGgaJpZM4HrNIO
.


Raspberry pi -> install tensorflow -> error

pi@raspberrypi:~/tensorflow $ ./configure
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.19.2- (@non-git) installed.
Please upgrade your bazel installation to version 0.24.1 or higher to build TensorFlow!

Write about the version of Tensorflow you are about to compile. If it is 1.14.0-rc0, please build Bazel 0.24.1 yourself.

tensorflow-1.13.1

I tried to install via pip3 install tensflow.

from tensorflow.contrib import predictor
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/init.py", line 40, in
from tensorflow.contrib import distribute
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/init.py", line 33, in
from tensorflow.contrib.distribute.python.tpu_strategy import TPUStrategy
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/tpu_strategy.py", line 27, in
from tensorflow.contrib.tpu.python.ops import tpu_ops
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/tpu/init.py", line 69, in
from tensorflow.contrib.tpu.python.ops.tpu_ops import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/tpu/python/ops/tpu_ops.py", line 39, in
resource_loader.get_path_to_datafile("_tpu_ops.so"))
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/util/loader.py", line 56, in load_op_library
ret = load_library.load_op_library(path)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid name:
An op that loads optimization parameters into HBM for embedding. Must be
preceded by a ConfigureTPUEmbeddingHost op that sets up the correct
embedding table configuration. For example, this op is used to install
parameters that are loaded from a checkpoint before a training loop is
executed.

parameters: A tensor containing the initial embedding table parameters to use in embedding
lookups using the Adagrad optimization algorithm.
accumulators: A tensor containing the initial embedding table accumulators to use in embedding
lookups using the Adagrad optimization algorithm.
table_name: Name of this table; must match a name in the
TPUEmbeddingConfiguration proto (overrides table_id).
num_shards: Number of shards into which the embedding tables are divided.
shard_id: Identifier of shard for this operation.
table_id: Index of this table in the EmbeddingLayerConfiguration proto
(deprecated).

Help me. I already try to setup tensorflow on raspberry pi a few days.

$ sudo apt-get install -y libhdf5-dev libc-ares-dev libeigen3-dev
$ sudo pip3 install keras_applications==1.0.7 --no-deps
$ sudo pip3 install keras_preprocessing==1.0.9 --no-deps
$ sudo pip3 install h5py==2.9.0
$ sudo apt-get install -y openmpi-bin libopenmpi-dev
$ sudo pip3 uninstall tensorflow
$ wget -O tensorflow-1.13.1-cp35-cp35m-linux_armv7l.whl https://github.com/PINTO0309/Tensorflow-bin/raw/master/tensorflow-1.13.1-cp35-cp35m-linux_armv7l.whl
$ sudo pip3 install tensorflow-1.13.1-cp35-cp35m-linux_armv7l.whl

$ python3
>> import tensorflow as tf

>>> import tensorflow as tf
>>> from tensorflow.contrib import predictor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/__init__.py", line 30, in <module>
    from tensorflow.contrib import cloud
ImportError: cannot import name 'cloud'

The installation of Tensorflow in your environment has been successfully completed.
However, there seems to be an essential bug in "contrib" of Tensorflow v1.13.1.
https://github.com/lhelontra/tensorflow-on-arm/issues/52
It would be better to use Tensorflow v1.12.0 or to abandon importing the contrib package.

@ghost
Please see below.
https://github.com/PINTO0309/Tensorflow-bin/issues/7#issuecomment-513190273

Fixed 7fc2cff00d2fc41eaecea15944f0c730773fc968