Slash command won't work 401 error from ngrok

Hi, my name's Yuxiang Liu. I'm testing the example app with spring boot from GitHub:
https://github.com/slackapi/java-slack-sdk/tree/main/bolt-spring-boot-examples/spring-boot-2
I've set the SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET in SlackApp.java and set them as environment variables too. I run ngrok as a proxy server by command: "ngrok http 3000". In the Slash command, I made the "/hello" request URL as "https://c846-173-68-187-137.ngrok.io/slack/events", but the slash command never work. Is there anything I missed?
Reproducible in:
mvn dependency:tree | grep com.slack.api
gradle dependencies | grep com.slack.api
java -version
sw_vers && uname -v # or `ver`

The Slack SDK version
plugins {
id 'org.springframework.boot' version '2.7.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.slack.api:bolt-servlet:[1.27,)'
implementation("com.slack.api:bolt:1.27.2")
}
Java Runtime version
java version "19" 2022-09-20
Java(TM) SE Runtime Environment (build 19+36-2238)
Java HotSpot(TM) 64-Bit Server VM (build 19+36-2238, mixed mode, sharing)
OS info
Microsoft Windows [Version 10.0.22000.1335]
Steps to reproduce:

SlackApp.java

@Configuration
public class SlackApp {
     @Bean
    public AppConfig loadSingleWorkspaceAppConfig() {
        return AppConfig.builder()
                .singleTeamBotToken(System.getenv("xoxb-xxx"))//SLACK_BOT_TOKEN
                .signingSecret(System.getenv("xxx"))//SLACK_SIGNING_SECRET
                .build();
    }

    // If you would like to run this app for multiple workspaces,
    // enabling this Bean factory should work for you.
    // @Bean

    public AppConfig loadOAuthConfig() {
        return AppConfig.builder()
                .singleTeamBotToken(null)
                .clientId(System.getenv("xxx"))//SLACK_CLIENT_ID
                .clientSecret(System.getenv("xxx"))//SLACK_CLIENT_SECRET
                .signingSecret(System.getenv("xxx"))//SLACK_SIGNING_SECRET
                .scope("app_mentions:read,channels:history,channels:read,chat:write")
                .oauthInstallPath("/slack/install")
                .oauthRedirectUriPath("/slack/oauth_redirect")
                .build();
    }

    @Bean
    public App initSlackApp(AppConfig config) {
        App app = new App(config);
        if (config.getClientId() != null) {
            app.asOAuthApp(true);
        }
        app.command("/hello", (req, ctx) -> {
            return ctx.ack(r -> r.text("Thanks!"));
        });
        return app;
    }
}

SlackAppOAuthController.java

@WebServlet({"/slack/install", "/slack/oauth_redirect"})
public class SlackAppOAuthController extends SlackOAuthAppServlet {
    public SlackAppOAuthController(App app) {
        super(app);
    }
}

SlackAppController.java

@WebServlet("/slack/events")
public class SlackAppController extends SlackAppServlet {
    public SlackAppController(App app) {
        super(app);
    }
}

Application.java

@SpringBootApplication
@ServletComponentScan
public class Application {
    private static String webHookUrl = "https://hooks.slack.com/services/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";
    private static String slackChannel = "epibuildstaff";

    public static void main(String[] args) {
        ApplicationContext myapp = new AnnotationConfigApplicationContext(SlackApp.class);
        SpringApplication.run(Application.class, args);
        sendMessageToSlack("EpiBuildStaff Application is up now!");
    }

    public static void sendMessageToSlack(String message){
        try {
            StringBuilder msbuilder = new StringBuilder();
            msbuilder.append(message);

            Payload payload = Payload.builder().channel(slackChannel).text(msbuilder.toString()).build();

            WebhookResponse wbResp = Slack.getInstance().send(webHookUrl, payload);
        }catch(Exception e){
            e.printStackTrace();
        }
    }
}

Actual result:
The following are the error messages from Intellij IDE:
2023-01-05 21:21:42,858 WARN [http-nio-3000-exec-1] com.slack.api.bolt.App Skipped adding any authorization middleware - you need to call app.use(new YourOwnMultiTeamsAuthorization())
2023-01-05 21:21:42,859 DEBUG [http-nio-3000-exec-1] com.slack.api.bolt.App Applying a middleware (name: com.slack.api.bolt.middleware.builtin.SSLCheck)
2023-01-05 21:21:42,859 DEBUG [http-nio-3000-exec-1] com.slack.api.bolt.App Applying a middleware (name: com.slack.api.bolt.middleware.builtin.RequestVerification)
2023-01-05 21:21:42,860 DEBUG [http-nio-3000-exec-1] com.slack.api.app_backend.SlackSignature$Verifier Request verification (timestamp:<PHONE_NUMBER>, body: token=vxYEacoMDPfrBG4UPPD54UdA&team_id=T01LLEK1GTT&team_domain=epibuild&channel_id=C04HWA610G1&channel_name=epibuildstaff&user_id=U03MLAR2S9J&user_name=yuxiang&command=%2Fhello&text=&api_app_id=A04HF6PEKHA&is_enterprise_install=false&response_url=https%3A%2F%2Fhooks.slack.com%2Fcommands%2FT01LLEK1GTT%2F4600334258901%2FQzyMqg5A8MOobIzIDX7tB0Go&trigger_id=4605743005044.1700495050945.23cc74be12d1318d042521442b14024f, signature: v0=e46791317f7e0989be104bf41fa6079cc0c793fe27c9a69accdf713e3c513bd5)
2023-01-05 21:21:42,860 INFO [http-nio-3000-exec-1] com.slack.api.bolt.middleware.builtin.RequestVerification Invalid signature detected - v0=e46791317f7e0989be104bf41fa6079cc0c793fe27c9a69accdf713e3c513bd5

In ngrok terminal:
HTTP Requests                                                                                POST /slack/events             401
POST /slack/events             401

Hi @YuxiangLiuGC! Thanks for submitting your question, and sorry that you're coming across difficulties getting up and running. I'm not as familiar with the Java side of things, but let's see if we can solve the issue at hand. 🙂
The 401 indicates (as does the error) that the signature is invalid. This often is due to a configuration or credential issue.
Taking a look at the code you've provided, if it's being run exactly as seen here, the credentials that are provided for loadSingleWorkspaceAppConfig use System.getenv. If this works the same in Java as it does other languages, I believe you'd want the environment variable names, not the actual values there (Note: I've edited your original message to remove those values).
For example:
@Bean
public AppConfig loadSingleWorkspaceAppConfig() {
      return AppConfig.builder()
              .singleTeamBotToken(System.getenv("SLACK_BOT_TOKEN")) // SLACK_BOT_TOKEN, not value
              .signingSecret(System.getenv("SLACK_SIGNING_SECRET")) // SLACK_SIGNING_SECRET, not value
              .build();
}

After you've double-checked that you've set SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET as environment variables, and that those values are what you'd expect, can you verify that swapping your code out for the original example code doesn't solve the problem?

@misscoded Thank you! You are genius! I've been looking for the solution for days and it turns out I just misunderstood the code lol.

So glad you were able to resolve the problem! 😄 I'll close this issue now, but don't hesitate to open a new one if you come across any further difficulties. Happy building!


Discord chat and awesome list

Expected behavior

People would have a space for asking questions about jsdoc, plan on development of tools, get clarity on jsdoc as a specification, etc.
Current behavior
There's no obvious space for doing so besides maybe StackOverflow or filing issues.
I've started a Discord server at https://discord.gg/kFFy3nc to which people are welcome (subject to the disclaimer that I primarily started this for eslint-plugin-jsdoc and even there am not committing to answering or even responding to all help questions!), but wanted to file an issue in case:

You wanted to take over ownership (I wanted a space for our eslint-plugin-jsdoc project, but thought it would be more natural and allow for better discovery to be under a broader umbrella of jsdoc)
You wanted to add a link to it on the README.

Also on the topic of generic bulletins for the community, I've created https://github.com/brettz9/awesome-jsdoc to list jsdoc resources. Welcome to add a link to this on the README as well (I'm happy if this moved to an organization, but if you wanted to start your own, I hope it would be agile enough to add resources without waiting too long for merges).

Had an expiring link; now fixed in the OP to https://discord.gg/kFFy3nc


Proofing font: "tra" and "nra" look too similar

Should we switch to a different font? Left is "nra", right is "tra". It's easy to misread this when proofing.

A font rendering "nra" as the below would be much clearer:


convert identifier should rename the identifier,not only replace the declaration

now we have the code below
let aTest = 3;
println!("{}", aTest);

after we use the code refactor, the code change to
let a_test = 3;
println!("{}", aTest);

however what we expect is
let a_test = 3;
println!("{}", a_test);

This looks like a diagnostic provided by rustc via cargo check. That means
we don't really control the fix it suggests, and their built-in format for
suggestions is limited to a single edit at a single position, so should
probably be reported upstream as well.
@matklad I assume we could replace the fix in rust-analyzer based on the
diagnostic code. Would we want to attempt that or punt until we
implementation the diagnostic ourselves?
On Mon, 2 Mar 2020, 06.15 IWANABETHATGUY<EMAIL_ADDRESS>wrote:

now we have the code below
let aTest = 3;println!("{}", aTest);
[image: image]
https://user-images.githubusercontent.com/17974631/75647213-3fdcd980-5c87-11ea-8682-4c83b5831bb4.png
after we use the code refactor, the code change to
let a_test = 3;println!("{}", aTest);
however what we expect is
let a_test = 3;println!("{}", a_test);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/3391?email_source=notifications&email_token=AABTDKPEMIVJZOWQICBNX3LRFM6IJA5CNFSM4K7MUQU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRSKBRQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABTDKPPBKH5PWWWXXUNCYLRFM6IJANCNFSM4K7MUQUQ
.

I'd rather punt on this, but I'd double check that it's indeed an upstream
issue.
On Mon, 2 Mar 2020 at 09:00, Emil Lauridsen<EMAIL_ADDRESS>wrote:

This looks like a diagnostic provided by rustc via cargo check. That means
we don't really control the fix it suggests, and their built-in format for
suggestions is limited to a single edit at a single position, so should
probably be reported upstream as well.
@matklad I assume we could replace the fix in rust-analyzer based on the
diagnostic code. Would we want to attempt that or punt until we
implementation the diagnostic ourselves?
On Mon, 2 Mar 2020, 06.15 IWANABETHATGUY<EMAIL_ADDRESS>wrote:

now we have the code below
let aTest = 3;println!("{}", aTest);
[image: image]
<
https://user-images.githubusercontent.com/17974631/75647213-3fdcd980-5c87-11ea-8682-4c83b5831bb4.png
after we use the code refactor, the code change to
let a_test = 3;println!("{}", aTest);
however what we expect is
let a_test = 3;println!("{}", a_test);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/rust-analyzer/rust-analyzer/issues/3391?email_source=notifications&email_token=AABTDKPEMIVJZOWQICBNX3LRFM6IJA5CNFSM4K7MUQU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRSKBRQ
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AABTDKPPBKH5PWWWXXUNCYLRFM6IJANCNFSM4K7MUQUQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/3391?email_source=notifications&email_token=AANB3M2D2LH6IXI5V55AGFDRFNRSRA5CNFSM4K7MUQU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENOJK3A#issuecomment-593270124,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M7LF34IBYP57IYFMLTRFNRSRANCNFSM4K7MUQUQ
.

After #7508 we're showing two fixes, the buggy one from rustc and ours that works.


Implement attributes

Implement attributes. Attributes should be usable on

methods

The attribute usages should be validated and therefore throw an expcetion on misuse.

Resolved by https://github.com/SCUMSLang/SCUMSLang/commit/287fd16e75725a88b89a7ff88971a23e4c64ad8f.


Update README.md

Added instructions to clarify usage in a Rails/Webpacker environment.

@adamjsimon Thanks


Add config parsing for file_system_buffer filter

Commit Message: Add config parsing for file_system_buffer filter
Additional Description: Adds config parsing with inheritance-based merging between listener and route configs.
Risk Level: None, still not active
Testing: 100% coverage
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: Windows not supported.
See draft PR 21025 for a lookahead of where it's all going.

There's some slightly weird constructs in this one because at config-construct time only the route or only the listener is available - a mergeable config therefore has to be merged during filter run-time, which means it needs to be cheap. So awkward constructs like InlineVector are used to help it be cheap.


feat: login command

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>
Summary

As we discussed in Sigstore Slack https://sigstore.slack.com/archives/C01DGF0G8U9/p1642610832086700, this PR will add login command to cosign.

thanks to @imjasonh ❤
Ticket Link

Fixes
Release Note

feat: login command

Looks like you just have to update the docs!


Compatibility filters for "Broken" and "Intro/Menu" are not working

While on the compatibiity page the user can see some stats on how well the games are performing on dolphin, by deviding the titles in different categories depending on it's performance. Next to each stat, there's a filter to show only games that qualify for that stats performance.
As when I'm writing this these are the numbers shown for the lowest performing categories:

However, after activating the filter for either one of the categories, this is what the user is greeted with:

Now, it could also be that this is either intended (titles are known to belong to these categories but can't be shown on website) or that It's the stats themselves that show incorrect numbers. If that is the case, a clarification would be beneficial.

It's because you're looking at only titles starting with a non alphabetical letter. Agreed that it could be improved, but that's very low priority for me.

Well, as long as it's noted, right? Open source is wonderful like that, I might see if I can solve it at some point. :)
Maybe it'd be a good solution to have an "all games" tab. Not something a user should default on, but it'd make it clearer what is happening.


Add zulrah tile overlay

Add tiles relative to the Zulrahs rotation to avoid poison

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features


updated quartz scheduler due to CVE.

reference. https://avd.aquasec.com/nvd/cve-2023-39017
PR Description
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

There is some push back on this: https://github.com/quartz-scheduler/quartz/issues/943#issuecomment-1697979656

There is some push back on this: quartz-scheduler/quartz#943 (comment)
edit: https://nvd.nist.gov/vuln/detail/CVE-2023-39017

Ah interesting. We can wait for a resolution then I suppose.

its not something that affects us, so i'm not against just keeping an eye out- at least this shows things are running happily if we do need to merge it.

for now i'll

close this PR
raise a new issue to re-evaluate
put this specific CVE on our ignore list


Particles2D not drawing textured particles

Godot version:
cc34933
Issue description:
Some recent commit made Particles2D not render textured particles. CPUParticles2D works normally.

GLES2 or GLES3?

@akien-mga 3.1 is fine.

Minimal reproducer: TexturedParticles2D.zip
Reproducible in cc3e660d but not 3.1-stable indeed. I'll build the 3.1 branch to see if it's caused by a commit that has already been cherry-picked.

    And remove 2 warnings from warnings=extra.

    (cherry picked from commit e7f22ebdcd36d620a21977392365661aa956527f)

:100644<PHONE_NUMBER>5db6f17ec277be8e4962701626d090e5cb6c 727567b8e7baeea0af7ebd382cef8918398cfefd M      .travis.yml
:100644 100644 55b061a6f74cf8b4eecb7ea7230e2827bd890ea5 b3875d6801962e6d4517c136b80e48088cfde1e2 M      SConstruct
:040000 040000 68f0377a76be8be01ea67e487b3178f5d5ddebda f351a8017528b27cedc082d0b71a9595f7b7adde M      core
:040000 040000 067ad99a35e0777902df169fc1c5cbae9e2bbda8 8e88b5e229ee1d7d6dc3dc2a4ca581ba630732f7 M      drivers
:040000 040000 b2865ce2f712960fcf065f1d3a0473300947743b 8d32e300ad9799bd0c9a3eed82f8dc8e0755715d M      modules
:040000 040000 52c4b7b6f4ad26631ef7a6e9804d249a52e7a751 b4882b213ce4149f594998d3dbb59e8aed86e3bb M      platform

It's a regression from #26343, cc @marxin.

Ooops, sorry for that and thanks for the fix.

This is happening again on the latest 3.2 version. Did something reverted the fix?


--privileged not supported

I actually got to try out the tool. In addition to hitting #40, I noticed a problem with one of my containers not working because it relied on --privileged. Thought I'd let you know it's something I'm currently missing.

Ok, thanks for reporting! Should be able to get this fixed soon-ish.

Just wanted to let you know that support for the --privileged flag has been added and published as:

<EMAIL_ADDRESS>(or rekcod@latest) on npm
nexdrew/rekcod:3.0.0 (or nexdrew/rekcod:latest) on docker hub

Feel free to give it a shot.


Input zarr axes order in config file while loading Zarr/H5

Hello!
Thank you for your work
Pitch
I would like to load in BiaPy any zarr format without having to respect the current specific order (z, y, x, c).
I think for example that many zarr will respect the ome-zarr convention (t, z, c, y, x)
It could be a variable in the config file

Hi!
Just added TEST.BY_CHUNKS.INPUT_IMG_AXES_ORDER variable in this commit so you can control it as suggested. Now four different types of axis orders are supported ['TZCYX', 'TZYXC', 'ZCYX', 'ZYXC']. The default behaviour is to expect 'TZCYX' order as ome-zarr.
Hope you find it useful. Let me know if you find any issue! :D

Hello @danifranco.
Thank you very much for your work.
I have several small questions:

Is there a reason to support only these axis order? (['TZCYX', 'TZYXC', 'ZCYX', 'ZYXC']). If not I propose this pull request for a versatile TEST.BY_CHUNKS.INPUT_IMG_AXES_ORDER : #45 . The main idea is to sort the axis on the fly using a new util.order_dimensions() function.
This lines suggest that T is always first? Is there a specific utility to add it to the data_shape ?

Hello!

There was not specific motivation to only support 4 axis order. The function and rest of the changes added in your PR are awesome. Thanks a lot!
I decided to make the T always first and include it even if the user didn't select it just to have a consistent output, nothing more behind... I'm open to any suggestions. In insert_patch_into_dataset() the part that each GPU processes is created. Then, the main process is in charge of merging those pieces into the final large Zarr here or here. So, maybe we can apply the same procedure to have an output as the user's input axis order. I'm not very used to work with Zarr files but it could be interesting, no? What you do think? If so, do you want to make the changes? So everything could support versatile axis order.

Another thing, could you please only commit the changes in those lines that you really change something? I mean, now there are a lot of additions/removals because of blank spaces and it's hard to see sometimes what's new was added.
Again, thanks a lot for the changes Clement!!


testrunner.go:223: json: unsupported type: <-chan struct {}

This error is thrown when running tests and one of the assertion fails. (go 1.6 on OS X El Capitan)
Steps to reproduce:

From the revel samples, choose an app (I used the chat app)
in the tests file, change an assertion to make it fail
run the tests from the terminal, here's the output I get:

2016/03/20 11:16:44 test.go:108: Testing chat (github.com/revel/samples/chat) in dev mode

1 test suite to run.

ApplicationTest       Set up
Tear down
2016/03/20 11:16:44 testrunner.go:223: json: unsupported type: <-chan struct {}
  FAILED  !     0s

Failures:
ApplicationTest.TestThatIndexPageWorks
    Status: Header Content-Type: (expected) text/json; charset=utf-8 != text/html; charset=utf-8 (actual)
    In /tests/apptest.go (around line 18): 	t.AssertContentType("text/json; charset=utf-8")

This is not a big problem, but the error mentioned appears in red while the assertion failure doesn't, so it's a bit confusing/misleading.

Can confirm. Revel's testrunner serializes Response to show it to user in the browser for debugging purposes.
In Go 1.6, however, Cancel <- chan struct {} has been added to Request (and Response embeds Request).
As chan struct{} type is not supported by JSON Marshal methods (that are used for serialization), the change to the standard library broke Revel's testrunner module.
Now Headers tab of failing tests is empty.

And there is a json: unsupported type: <-chan struct {} console error.

Even though issue is with golang core
Test runner updated accordingly to prevent this json: unsupported type: <-chan struct {}


[server] Filter out junk metric values for nearline latency sensors

Filter out junk metric values for nearline latency sensors

Nearline latency sensors will emit -INF values when no data is present for a partition. This is a problem when aggregating data across time and instane dimensions. Emitting zero is safe for this metric as long as it is not used to detect inactivity.
How was this PR tested?

Unit tests
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

I think the default is coming from the Max class inside WritePathLatencySensor . https://github.com/linkedin/venice/blob/9eff266e5443ea4633e56eabbbf899fde6c49b44/clients/da-vinci-client/src/main/java/com/linkedin/davinci/stats/WritePathLatencySensor.java#L15 . That class inits this  to -INF. Keep in mind that we don't always see this problem . Only in certain scenarios. In any case I don't think it will be wise to change either the WritePathLatencySensor . I would rather sanitize the data at retrieval time to make sure it is how we want rather than depend on the metric class

Superceded by https://github.com/linkedin/venice/pull/674


add new image

Thoughts?
P.S. Feel free to criticize it!

Very nice 👍

Hah! very cool.
I think we should keep the screenshot and a logo separate things.  :)
I do like the general concept of the logo you made here, but we could probably tighten it up, and drop the text. something smaller like 450x230 or whatever.
So let's iterate on the image, and we can refresh the screenshot with a newer version sometime too. :)

Thanks guys :)

Here is a new one.
We can also can involve @samccone if he don't mind 😛

I think it is cool ;)

yup. i dig the new one. :)


Can not get peripheral.address

After scan, peripheral.address always seems to be unknown, why?
How can I get it ?
Thanks

It looks the maintenance of this project is in pause, but feel free to contribute to @abandonware fork until upstream is active again
Feel free to comment:
abandonware#2


setScreenBrightness not taking effect

From @GoogleCodeExporter on May 31, 2015 11:28
What device(s) are you experiencing the problem on?
Samssung GTi5503T
What firmware version are you running on the device?
2.1-update1
What steps will reproduce the problem?
1. Install SL4A, phpforandroid
2. create a script using setScreenBrightness
3. run the script

What is the expected output? What do you see instead?
Immediate brightness change is expected. Instead I see no change until I go in
to my settings to change the brightness. The changed brightness IS changed on
the drag bar, but not the actual brightness until that bar is then moved.

What version of the product are you using? On what operating system?
-

Please provide any additional information below.
-

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Dec 2010 at 5:43
Copied from original issue: damonkohler/android-scripting#492

From @GoogleCodeExporter on May 31, 2015 11:28
Seen same thing on ZTE Blade,running Cyanogen Mod 7.
Setting brightness has no direct effect. Status from API is No error, and
reports previous value.

Original comment by<EMAIL_ADDRESS>on 8 Oct 2011 at 7:21

From @GoogleCodeExporter on May 31, 2015 11:28
I see the same thing on HTC Dream with python. Actually setScreenBrightness is
still useful, because if you sleep the screen, brightness will get updated.
(Press hangup/menu to do it).

Original comment by<EMAIL_ADDRESS>on 12 Feb 2011 at 9:30

From @GoogleCodeExporter on May 31, 2015 11:28
[deleted comment]

From @GoogleCodeExporter on May 31, 2015 11:28
Actually... later I found out that if I put phone to sleep then re-awake
it, brightness is updated.

Comment #4 on issue 492 by<EMAIL_ADDRESS>setScreenBrightness not
taking effect
http://code.google.com/p/**android-scripting/issues/**detail?id=492<http://code.
google.com/p/android-scripting/issues/detail?id=492>

Same here, Galaxy Nexus, Std. 4.1.1 :-(

-- You received this message because you starred the issue. You may adjust
your notification pref...

Original comment by<EMAIL_ADDRESS>on 26 Sep 2012 at 7:58

From @GoogleCodeExporter on May 31, 2015 11:28
Same here, Galaxy Nexus, Std. 4.1.1 :-(

Original comment by<EMAIL_ADDRESS>on 26 Sep 2012 at 1:51


can you make it for dead by daylight?

plz? i can give acc with dbd

just change classes and window hooks and then delete everything else and mod it on your own, dont ask him do it for you. just use your brain, u literally have LEET in ur name :KEK:

LUL it was about half-year ago , i already created the console :))))))))

LUL


Do not allow both SPI 0 and I2C 0 to be enabled on the EE-02 board.

On nRF52, SPI 0 shares resources with I2C 0, so they cannot both be enabled at the same time.
Also add I2C_1 (with analogous restrictions with SPI 1).  Don’t add SPI_1 yet as we had trouble getting it to work.
More ideally, it seems like we ought to be able to use both SPI 0 and I2C 0, not simultaneously but by disabling them at runtime while they are not in use.  This is surely a much larger change.

@wes3 Thanks for the explanation, it's nice to get some perspective 😄   I do see now that this is documented under Porting to your Platform – oops, I hadn't read that yet.
Is the idea then that we should use a BSP and adapt it by adding configuration to our apps/targets?  Or do you suggest copying the BSP and modifying it to suit our needs?  The latter would be unfortunate.
The reason I was thinking of adding SPI1 was just so that the restriction between it and I2C1 would be in place to prevent future users from having to rediscover the conflict.  Maybe it would be better to implement these checks in the MCU.  They are, after all, relevant for all nRF52 based boards.  What do you think?
Also, what do you think about my suggestion that these configurations should not be static but that SPI and I2C should only enable themselves as necessary, allowing e.g. both SPI0 and I2C0 to be used in the same program?

@we3, to add a personal perspective, while BSPs are not meant to be generic, maintaining a modified one can be onerous. If the changes are restricted to target config -- great -- but if there are code changes, such as in src/hal_bsp.c, then you need to fork the BSP and keep up with any upstream updates.
There have been several cases of a change in MCU package or kernel/os requiring a matching change in the BSP hal or startup code, and failing to merge that change into your fork can result in anything from the board not booting to undefined runtime behaviour. Even syscfg changes have had this problem (like the LP clock settings), although those are significantly easier to spot and port.
I don't know what a good answer is for maintaining a custom BSP. Perhaps gcc_startup.s can move into the MCU package and allow the BSP to optionally replace it by providing its own, since in the majority of cases the startup code doesn't change. Similar with hal_bsp.c, the MCU package could initialise all on-die devices (switchable with config vars), and provide a hook or two to initialise additional peripherals in the BSP. Or alternatively, some sort of BSP layering?

I will admit I do not have a good answer for either of you. I would hope that bsp changes would be infrequent so merging in changes to your custom bsp would not be terribly difficult but I do understand it is a pain. A couple of things I do agree with: the gcc_startup code probably does not belong in the bsp. I would hope that would be generic enough to use linker script definitions and not have to be customized per BSP. The linker scripts are another issue although they are probably more "bsp-ish" than the startup code. Seems like a good conversation for the dev list.

@gordonklaus So I am not sure about using both spi0 and i2c0 and disabling one then using the other. That does not seem to me to be a very common use case. There are a fair amount of i2c and spi peripherals and not alot of gpio so I would think that most folks would dedicate them. Do you have a use case for doing that? I think it fine that the syscfg file does not allow to enable both; seems like what folks would actually want but that is just my opinion.
As to copying a bsp and modifying it to suit your purposes or specifying app/target configuration, well, a decision was made a while back to put the pin configurations in a c source file and not make them syscfg definitions (for example, specifying which pins to use for a spi peripheral). To me this implies, dare I say dictates, the copy and modify approach. Not saying it was the correct decision mind you.
Lastly, I was considering mentioning that the checks you added to the bsp syscfg file might be better located in the mcu dir. I agree; that is mcu and not bsp specific and seems to me to be the proper place for checking that. Not sure why I did not mention it; maybe I did not want to sound too critical or something. :-)

@wes3 I don't have a current need for using both spi0 and i2c0 but maybe it doesn't seem far fetched given that there are only 3 spi instances and 2 i2c instances on the nrf52?  I don't know, the suggestion actually came from one of my teammates and I don't have any personal experience to shed on the idea.
That is perhaps unfortunate to have to copy and modify a bsp, but time will tell.
Thanks for being gentle and all but do bring the criticism on :-)  I'll look at reverting this change and doing it in the mcu instead, since we agree.

@wes3 By the way, what prompted this PR in the first place was that we were reading from a sensor via I2C0 and when we tried to use LoRa at the same time things stopped working.  There seems to be no option but to set RADIO_SPI_IDX to zero for LoRa.  Do you plan to make this actually configurable?

I am now wondering wondering why I2C_0 and _1 and SPI_0_MASTER are defined in the BSPs, whereas their primary use seems to be in the MCU.  Should these be moved?  It would certainly reduce duplication, and it would let us define restrictions in the syscfg instead of in code.

@gordonklaus I think we should probably move some of this conversation to either the mynewt slack channel or to the dev list as I certainly do not have all the answers and others may have reasons why things are the way they are. The bsp/mcu "distinctions" have always been a bit "confused" and we have definitely moved things from bsp to mcu.
As to the spi used by the radio I had not thought of making it configurable but it certainly seems reasonable to me.

@wes3 Good idea, I'll move the bsp/mcu stuff to a broader forum.  😄
The RADIO_SPI_IDX configurability isn't urgent.  But it could be nice to be able to use SPI2 since there's no contention with I2C for it on nrf52.


HDDS-4415. Add mail lists page on ozone website

What changes were proposed in this pull request?
Add Community menu.
This page contains Ozone mailing list, Ozone slack, Ozone community call.
But there is a question: Should I add past mailing archives to this page?
Like this http://mail-archives.apache.org/mod_mbox/hadoop-ozone-dev/
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4415
How was this patch tested?
Locally with hugo.

Thanks @cxorm for the review and comment.
I update the ozone community information.

Thanks @adoroszlai for review and comment.
I fix it.

Thanks @flirmnave for working on this. Looks good, but the email address links need mailto: protocol. Otherwise they are treated as web links and result in 404.

Thanks @adoroszlai for the nice catch. TIL : )

Thanks @cxorm @adoroszlai @smengcl @cku328 for review and comment.
I update it.
And add a section named Older Archives.
Can you please share your suggestions?
Thanks.

Thank you all for the careful reviews, @adoroszlai , @cku328 and @smengcl .
Thank you @flirmnave for working on this.
I have committed it.

Thanks @cxorm for commit and @adoroszlai @smengcl @cku328 for review. :smiley:


LogFactory - Fix deadlock issues with AutoReload

Should not acquire LogFactory.SyncRoot in ConfigFileChanged before reloadtimer-trigger. Resolves #3757
The deadlock happens inside the FileSystemWatcher-object.
The Dispose-method takes a lock(this). And CompletionStatusChanged also takes lock(this).
This give the following callstacks:
FileWatcher-CompletionStatusChanged (lock this) and notifies the LogFactory (lock SyncRoot).
ReloadConfigOnTimer (lock SyncRoot) and disposes the FileWatcher (lock this).

Because not in same order, then it becomes deadlock.

Looks like the bug has been there since atleast NLog ver. 2.0


Whatsapp Business account with automated responses of current Number etc. similar to WHO business account

W.H.O have a whatsapp business account for similar purpose, a chatbot responses with numbers etc etc.
This idea can move ahead and help in reporting more cases etc.

More info. on this chatBot
https://botsociety.io/blog/2018/09/whatsapp-bot/

Maybe not now


transformer_asr.py loss is so big,it doesnt work as the comment say.I make any mistake?

I just modify the epochs to 100 as the comment say ,like this:
history = model.fit(ds, validation_data=val_ds, callbacks=[display_cb], epochs=100)
but after 100 epochs ,the part of result is this:
Epoch 87/100
203/203 [==============================] - 188s 925ms/step - loss: 0.9083 - val_loss: 0.9267
Epoch 88/100
203/203 [==============================] - 196s 961ms/step - loss: 0.9076 - val_loss: 0.9267
Epoch 89/100
203/203 [==============================] - 203s 996ms/step - loss: 0.9070 - val_loss: 0.9268
Epoch 90/100
203/203 [==============================] - 192s 944ms/step - loss: 0.9064 - val_loss: 0.9270
Epoch 91/100
203/203 [==============================] - 196s 962ms/step - loss: 0.9058 - val_loss: 0.9271
target:     <the increased information supplied by other agencies will be wasted.>
prediction: <the commission of the president service and the president service and the president and the president and the presidential and secret secreased the responsion ten.>

target:     <prs must develop the capacity to classify its subjects on a more sophisticated basis than the present geographic breakdown.>
prediction: <the commission of the president service and the president service and the president and the president and the presidential and secret secreased the responsion ten.>

target:     <its present manual filing system is obsolete#>
prediction: <the commission of the president service and the president service and the president and the president and the presidential and secret secreased the responsion ten.>

target:     <it makes no use of the recent developments in automatic data processing which are widely used in the business world and in other government offices.>
prediction: <the commission of the president service and the president service and the president and the president and the presidential and secret secreased the responsion ten.>

Epoch 92/100
203/203 [==============================] - 193s 947ms/step - loss: 0.9053 - val_loss: 0.9271
Epoch 93/100
203/203 [==============================] - 193s 948ms/step - loss: 0.9047 - val_loss: 0.9273
Epoch 94/100
203/203 [==============================] - 192s 943ms/step - loss: 0.9042 - val_loss: 0.9276
Epoch 95/100
203/203 [==============================] - 193s 946ms/step - loss: 0.9036 - val_loss: 0.9278
Epoch 96/100
203/203 [==============================] - 194s 955ms/step - loss: 0.9030 - val_loss: 0.9281
target:     <the increased information supplied by other agencies will be wasted.>
prediction: <the commission of the secret service and the secret service and the president service and the president of the presidential and the secreation the assassinathe thenteren>

target:     <prs must develop the capacity to classify its subjects on a more sophisticated basis than the present geographic breakdown.>
prediction: <the commission of the secret service and the secret service and the president service and the president of the presidential and the secreation the assassinathe thenteren>

target:     <its present manual filing system is obsolete#>
prediction: <the commission of the secret service and the secret service and the president service and the president of the presidential and the secreation the assassinathe thenteren>

target:     <it makes no use of the recent developments in automatic data processing which are widely used in the business world and in other government offices.>
prediction: <the commission of the secret service and the secret service and the president service and the president of the presidential and the secreation the assassinathe thenteren>

Epoch 97/100
203/203 [==============================] - 195s 959ms/step - loss: 0.9025 - val_loss: 0.9282
Epoch 98/100
203/203 [==============================] - 197s 968ms/step - loss: 0.9019 - val_loss: 0.9286
Epoch 99/100
203/203 [==============================] - 197s 966ms/step - loss: 0.9013 - val_loss: 0.9293
Epoch 100/100
203/203 [==============================] - 194s 953ms/step - loss: 0.9006 - val_loss: 0.9300

who can tell me where the question is?

Could you please clarify on the issue here.
If you're specific about the loss, there is no upper bound for loss in Categorical CrossEntropy it ranges from [0, inf]


QUESTION: Command extension visibility after promise resolve

Category

[x] Question
[ ] Typo
[ ] Additional article idea

Question
I have command extension on all list and i need to show custom NEW button if list contains certain content type identified by NAME, not ID
If I do this
        ctPromise: Promise<any>;

      public contentTypeExistOnCurrnetList(CtName: string): Promise<any> {
        return sp.web.getList(this.context.pageContext.list.serverRelativeUrl).contentTypes.get().then(result => {
         for (var i = 0; i < result.length; i++) {
          if (result[i].Name.indexOf(CtName) == 0) {
           return true;
          }
         }
        return false;
       });
      }

      private panelDomElement: HTMLDivElement;
      private provider: IServiceProvider;
      @override
      public onInit(): Promise<void> {
        // Setup the PnP JS with SPFx context
        sp.setup({
          spfxContext: this.context
        });

        this.provider = new ServiceProvider(this.context);

        this.panelDomElement = document.body.appendChild(document.createElement("div"));

        return this.ctPromise = this.contentTypeExistOnCurrnetList(CtName);

        //return Promise.resolve();
      }

      @override
      public onListViewUpdated(event: IListViewCommandSetListViewUpdatedParameters): void {
        const editCmd: Command = this.tryGetCommand('EDIT');
        const newCmd: Command = this.tryGetCommand('NEW');

        if (editCmd && newCmd) {
          this.ctPromise.then((result: boolean) => {
            if (event.selectedRows.length == 0) {
              newCmd.visible = result;
              editCmd.visible = false
            }else{
              editCmd.visible = false
            }

            if (event.selectedRows.length == 1) {
              editCmd.visible = result;
              newCmd.visible = false
            }else{
              newCmd.visible = false
            }

            if (event.selectedRows.length > 1) {
              editCmd.visible = false
              newCmd.visible = false //new not even when some selected, same as SP OOB behaviour
            }
          });
        }
    }

then commands for new and edit shows on different lists (list that do not have content type with specifed name)
If do this
    ctPromise: Promise<any>;

      public contentTypeExistOnCurrnetList(CtName: string): Promise<any> {
        return sp.web.getList(this.context.pageContext.list.serverRelativeUrl).contentTypes.get().then(result => {
         for (var i = 0; i < result.length; i++) {
          if (result[i].Name.indexOf(CtName) == 0) {
           return true;
          }
         }
        return false;
       });
      }

      private panelDomElement: HTMLDivElement;
      private provider: IServiceProvider;
      @override
      public onInit(): Promise<void> {
        Log.info(LOG_SOURCE, 'Initialized ChangeRequestEditCommandSet');
        // Setup the PnP JS with SPFx context
        sp.setup({
          spfxContext: this.context
        });

        this.provider = new ServiceProvider(this.context);

        this.panelDomElement = document.body.appendChild(document.createElement("div"));

        return this.ctPromise = this.contentTypeExistOnCurrnetList(CtName);

        //return Promise.resolve();
      }

      @override
      public onListViewUpdated(event: IListViewCommandSetListViewUpdatedParameters): void {
        const editCmd: Command = this.tryGetCommand('EDIT');
        const newCmd: Command = this.tryGetCommand('NEW');

    	editCmd.visible = false
    	newCmd.visible = false

        if (editCmd && newCmd) {
          this.ctPromise.then((result: boolean) => {
            if (event.selectedRows.length == 0) {
              newCmd.visible = result;
              editCmd.visible = false
            }else{
              editCmd.visible = false
            }

            if (event.selectedRows.length == 1) {
              editCmd.visible = result;
              newCmd.visible = false
            }else{
              newCmd.visible = false
            }

            if (event.selectedRows.length > 1) {
              editCmd.visible = false
              newCmd.visible = false //new not even when some selected, same as SP OOB behaviour
            }
          });
        }
    }

commands never shows, even on lists that do have content type that is checked
I just don't understand how .visibility works on commands or how the promise resolve affects it.
How can I make make commands show only on list with CT with specified name?

The new issue template included a section for additional details about your environment. Please ensure you add that... lots of questions in there that help others who can try to help you.
Usually, an issue that's skipped adding this section is closed as "incomplete" prompting a resubmission... but I'll overlook it this time...

https://github.com/SharePoint/sp-dev-docs/issues/6298

https://github.com/SharePoint/sp-dev-docs/issues/6298

We're collecting feedback about command sets here: #7375 . And one of the things we're working on is the ability to asynchronously change the properties of commands.
I will close this one.
Please, feel free to add your feedback to the discussion mentioned above.


Rename page and url to remove  "Preview" from "what-is-the-dcp-20-data-preview"

https://data.humancellatlas.org/what-is-the-dcp-20-data-preview

Completed.


fix: move pull-pair to dependencies

It's now used in the index.js and missing when installing it from npm.

thanks, fixed in 1.1.3


feat: allow objects to be passed from STDIN.

Description
PR to address feature change requested in https://github.com/IBM/argocd-vault-plugin/issues/116.
Open to suggestions/review!
Fixes:
https://github.com/IBM/argocd-vault-plugin/issues/116
Checklist
Please make sure that your PR fulfills the following requirements:

[x] Reviewed the guidelines for contributing to this repository
[x] The commit message follows the Conventional Commits Guidelines.
[x] Tests for the changes have been updated
[x] Docs have been added / updated

Type of Change

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

Other information

Will wait for @jkayani to approve before merging

@werne2j I will let you merge and decide when to release (1.1 I guess)

Awesome! Let me know when we release it I'd like to update the script I made to use stdin :)


can't reproduce performance of covariates.ipynb

In covariates.ipynb, I changed some codes according current definition.
model = timesfm.TimesFm(
hparams=timesfm.TimesFmHparams(
context_len=512,
horizon_len=128,
input_patch_len=32,
output_patch_len=128,
num_layers=20,
model_dims=1280,
backend='gpu'
),
checkpoint=timesfm.TimesFmCheckpoint(
path = r"weights\timesfm-1.0-200m-pytorch\torch_model.ckpt"
),
)
But I can't reproduce the performance as shown in the notebook.
Sample output in notebook:
My output:
eval_mae_timesfm: 6.762283045916956
eval_mae_xreg_timesfm: 5.39219617611074
eval_mae_xreg: 37.15275842572484
eval_mse_timesfm:<PHONE_NUMBER>306823
eval_mse_xreg_timesfm:<PHONE_NUMBER>1021306
eval_mse_xreg: 1672.2116821201796
My output:
eval_mae_timesfm: 6.762283058156929
eval_mae_xreg_timesfm: 6.917082487313622
eval_mae_xreg: 37.15275842158395
eval_mse_timesfm:<PHONE_NUMBER>6224106
eval_mse_xreg_timesfm:<PHONE_NUMBER>4619394
eval_mse_xreg: 1672.2116818659342.
Seems with the covariates, the TimesFM forecast Mean Absolute Error change from 6.76 to 6.91, and Mean Squred Error from 166.78 to 163.41. It is a bit wierd.

And Jax version is good.

Thanks a lot for catching this. There is indeed a bug in the pytorch decoding code, will fix it soon.

Can you try with the latest update ?


Add ConfigurationProperties annotation to AwsS3ResourceLoaderProperties

Please pull changes from master. I am not sure if SimpleStorageProtocolResolverConfigurerIntegrationTest will pass after this PR.


support customized html path and port

This commit (https://github.com/gusye1234/nano-graphrag/commit/165920c8472d8539251fc8c76eb57f094a3b86f8) fixed the problem about "empty graph visualization page" by saving a file graph_json.js.
While the saving path and calling path of graph_json.js in html src are both hardcode, if I html_path is not in root path, it will raise file not found error.
This pr fixed this problen and support customized html path and port.

Great works!
Can we change the comment to English? Thanks

Great works! Can we change the comment to English? Thanks

Sure, I change the comments to English
(by the way, the original comments are in Chinese so that I didn't change them in the first commit)

by the way, the original comments are in Chinese so that I didn't change them in the first commit

LGTM, and sorry about that. I should review the last PR of this file more carefully😊


Scripting: Imported Excel Values Not Persisted to RESX Files

I have been trying to develop a workflow as part of our CI process that would take an Excel spreadsheet of new and/or updated translated string values for the languages we support and incorporate those changes into our existing RESX files. The Excel spreadsheet was actually created using ResXResourceManager, and the format for each sheet (a typical sheet name would be Extron.GVE.Localization|About) is as follows:

Key

ru-RU
zh-CN

InvalidFormat
The format is not valid.
Недействительный   формат
格式无效

I have tried importing the changes using the ResXManager.Scripting library and a modified Sample.ps1 PowerShell script. The script looks like the following:
$excelFileName = 'C:\Users\rbrinson\Development\Web\GVE\Extron.GVE.Localization\ResxUpdates.xlsx'
$solutionFolder = 'C:\Users\rbrinson\Development\Web\GVE'

Add-Type -Path 'ResXManager.Scripting.dll'
$myhost = New-Object -TypeName 'ResXManager.Scripting.Host'

$myhost.Load($solutionFolder)

$allCultures = $myhost.ResourceManager.Cultures
$allCultures

$fileName = $baseName + $cultureName + ".resx"
$neutralCulture = ""
$outputCulture = ""

$allEntries = $myhost.ResourceManager.TableEntries

"All entries: " + $allEntries.Count

"Importing modified excel file"
$myhost.ImportExcel($excelFileName)
$myhost.Save()

Read-Host "Done" | Out-Null
$myhost.Dispose()

While I did not receive any errors, the new values introduced in the Excel spreadsheet were not in the RESX files at the end of the process. I then cloned your GitHub repository locally and created a unit test to exercise the ImportExcel and Save methods. The code executed correctly, finding the changes in the Excel spreadsheet tabs and applied those changes to the entities in memory. However, when the ResXManager.Model.ResourceManager.Save method is called, the Languages.HasChanges property comes back as false, and in the end the array that is holding the ResourceLanguage instances is empty. So, the ResXManager.Model.ResourceLanguage.Save method is never called. My unit test code looks like the following:
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace ResXManager.Scripting.UnitTests
{
    [TestClass()]
    public class HostTests
    {
        private Host resxManager;
        private string solutionFolder = @"C:\Users\rbrinson\Development\Web\GVE";
        private string excelFileName = @"C:\Users\rbrinson\Development\Web\GVE\Extron.GVE.Localization\ResxUpdates.xlsx";

        [TestInitialize()]
        public void InitializeTest()
        {
            resxManager = new Host();
        }

        [TestMethod()]
        public void ImportExcelTest()
        {
            try
            {
                resxManager.Load(solutionFolder);
                resxManager.ImportExcel(excelFileName);
                resxManager.Save();
                Assert.IsTrue(true);
            }
            catch (Exception e)
            {
                Assert.IsTrue(false, "Failure: " + e.Message);
            }
        }
    }
}

Did I miss something in this process? What more do I need to do in order for the changes to be persisted to the RESX files?

@rbrinson this looks like the same issue as I had in #76. There I mentioned the workaround I used where the current dispatcher is forced to empty its queue before calling the save method. In your case you could try porting the DoEvents() method mentioned in #76 to powershell and call it before calling host.Save()

@ilengyel , I added the DoEvents() code you proposed to my unit test code in order to see if I got better results, and it does work. After running through the code, my RESX files are properly updated. @tom-englert does this mean that the Sample.ps1 is broken as it is currently scripted?


redo the debug -v command

just like what i did with debug, having the new window, but this one is just a big grid of all the variables.
it'd also be cool to have another debug window that shows all the functions that are currently running, but i don't know how possible that is

update: not possible to do the window that shows all functions that are running

did


UART PM2.5 sensor stops responding after 5-11minutes

Describe the bug
Originally running on Feather ESP32v2 latest wippersnapper (and a few versions ago, maybe 60's), also tested on feather s3 tft,
the sensor is set to 30seconds polling period, and after approximately 5minutes of good readings it would stop sending any data back to IO and the serial says data not available. I also another day (not espv2 but s3) saw it repeatedly do it after 11minutes in a later testing session.
What's most annoying is it runs for 5-10minutes before happening, then says nothing except the
 if (!_aqi->read(&_data)) {
       Serial.println("[UART, PM25] Data not available.");

To Reproduce
Steps to reproduce the behavior:
Add Uart PM2.5 PMS5003 to esp32v2 or s3 tft feathers on wippersnapper device pages
Start logging serial (add timestamps).
Come back in 11 minutes and see whats happened.

I may try isolating that section out of WipperSnapper, and into an Arduino sketch to see if the UART bus still fails to poll new data from this sensor long-term.

serial debug log for a few runs with minor change if data unavailable (https://github.com/tyeth/Adafruit_Wippersnapper_Arduino/tree/uart-pm25-wip):
COM33_2024_02_<IP_ADDRESS>.715.txt
matching serials (use time from last one of these to jump in Com33 file):
COM45_2024_02_<IP_ADDRESS>.427.txt
COM45_2024_02_<IP_ADDRESS>.543.txt
COM45_2024_02_<IP_ADDRESS>.568.txt
COM45_2024_02_<IP_ADDRESS>.221.txt

Assigning to myself to retest this sensor on C6 and PicoW.
There has been a commit to extend the delay in the library example before attempting to use the sensor to 3seconds.
We may need similar or to just accept the failed first reading attempts.


Anexia Provider: fix failed vm deletion deadlock

What this PR does / why we need it:
This PR makes it possible to cleanup Machines which failed during creation.

merged upstream as https://github.com/kubermatic/machine-controller/pull/1600


Palette window goes blank when switching view tabs

No error log.
Version of Archi

5.1
Archi Plug-ins

jArchi
CoArchi
Ecel for Archi
Lightbox for Archi
Operating System

Mac OS version 13.4.1
Expected Behaviour

Switching open view tabs should not cause the tools palette window to go blank.
Actual Behaviour

Switching open view tabs causes the tools palette window to go blank. It will be restored when switching back to the original view tab being viewed OR by hovering the cursor over the Palette window. This does not always happen.
Steps to Reproduce the Behaviour

Open two view tabs
Switch view tabs

Hi, thanks for the report.
I can't reproduce this here so any more details would be helpful.
It's likely that this is a tab/window focus issue. I can see in the second screenshot that the Properties tab is showing details for "R&B: Capability View" while the View tab is selected for something else.
If this happens again, try clicking in the View to put the focus on it.

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

I tried using the "Classic" theme and I managed to reproduce it. The contents are not being painted and I think this is a bug in Eclipse's code for the "Classic" theme. That theme is not really supported any more.
See also https://github.com/archimatetool/archi/issues/767

Ah ha!  The issue disappears with the Light theme!
On Wed, Jul 5, 2023 at 1:33 PM Phil Beauvoir @.***>
wrote:

Also, I notice you are using the "Classic" theme. Could you try with the
"Light" theme.
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622193847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCSZUS5GCZ54WYKNHADXOWQNPANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, I suspected eclipse also.
On Wed, Jul 5, 2023 at 1:44 PM Phil Beauvoir @.***>
wrote:

Also, I notice you are using the "Classic" theme. Could you try with the
"Light" theme.
I tried using the "Classic" theme and I managed to reproduce it. The
contents are not being painted and I think this is a bug in Eclipse's code
for the "Classic" theme. That theme is not really supported any more.
See also #767 https://github.com/archimatetool/archi/issues/767
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622208718,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCUEBWL4DQWO5356VUDXOWRXZANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's so hard to reproduce this one, and I only managed it twice. I think we'll have to accept it as an obscure Eclipse bug which is unlikely to get fixed.

Phil,
I did experience this issue again using the Light theme, but it happens
MUCH less frequently.
Les
On Wed, Jul 5, 2023 at 2:11 PM Phil Beauvoir @.***>
wrote:

It's so hard to reproduce this one, and I only managed it twice. I think
we'll have to accept it as an obscure Eclipse bug which is unlikely to get
fixed.
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622243022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCQCJCALYHYIJG5X7HLXOWU5LANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I did experience this issue again using the Light theme, but it happens
MUCH less frequently.

Interesting. I wonder if it's a Mac issue? I'm finding it hard to get a reproducible set of steps.

And maybe only when using the separate Palette tab?

I can pull it up on my laptop and see what WIndows does.
On Wed, Jul 5, 2023 at 2:31 PM Phil Beauvoir @.***>
wrote:

I did experience this issue again using the Light theme, but it happens
MUCH less frequently.
Interesting. I wonder if it's a Mac issue? I'm finding it hard to get a
reproducible set of steps.
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622271356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCSDIM26UYMRD5RCW3TXOWXJBANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I combined the visualizer and palette tabs and was still able to reproduce
the issue.
On Wed, Jul 5, 2023 at 2:35 PM Phil Beauvoir @.***>
wrote:

And maybe only when using the separate Palette tab?
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622275376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCRVPCJCH7Y3QGVPP3LXOWXWHANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I combined the visualizer and palette tabs and was still able to reproduce

No, I mean closing the Palette tab so it's part of and combined with a View.

Ah!  That seems to work great. I couldn't even reproduce it with the
classic theme!
On Wed, Jul 5, 2023 at 2:55 PM Phil Beauvoir @.***>
wrote:

I combined the visualizer and palette tabs and was still able to reproduce
No, I mean closing the Palette tab so it's part of and combined with a
View.
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1622299944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCXU2LCXETHQQYEJYN3XOW2ALANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I've done more testing.

It's not related to the theme. Does it in Light theme.
Seems to be Mac only, can't reproduce on Windows

Steps to reproduce:

Open the separate Palette tab and move it to the side
Open several Views
Double-click on a View's tab so it maximises
Double-click on the same View's tab so it restores to normal size
Click on another View's tab

I have a workaround for this now.

Sweet! Do tell. 🙂 I've moved my palette into the view window and so far,
all is well.
On Fri, Jul 7, 2023 at 12:48 PM Phil Beauvoir @.***>
wrote:

I have a workaround for this now.
—
Reply to this email directly, view it on GitHub
https://github.com/archimatetool/archi/issues/944#issuecomment-1625680629,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYRCVNWFWKMZ6B7VIURJ3XPA4VVANCNFSM6AAAAAAZ7IAGO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah! Just saw the link!

Fixed in Archi 5.1 beta 2.


updating msg helpers to match the ament_index_python api

Please do not create and merge PRs that quickly. The CI build didn't even had a chance to run and validate that the patch doesn't break any of the tests.

This was a very very small change and an uncontroversial one at that. That said, I should have at least gotten one review before merging. My apologies.


external_depdencies_patterns not always applied

Describe the bug
With the artifactory_remote_docker_repository resource it seems like external_depdencies_patterns isn't set on the server when external_dependencies_enabled is false. With both our provider & artifactory instance being updated this week that somehow got us in a state of a constant diff for external_depdencies_patterns. We have external_dependencies_enabled set to false in terraform, but the server still had the default value of [ '**' ] which this week just starting getting picked up as a diff for whatever reason. A terraform apply didn't resolve the diff by updating the server and we had to manually go through the UI on every repo to empty that list. Not hard to do but cost a few hours figuring out what was going on. The Terraform provider should either set external_depdencies_patterns indiscriminately or ignore the value of the field if external_dependencies_enabled is false.
Terraform version 1.3.6
Artifactory provider 7.0.0
Artifactory (cloud):  version 7.50.7, revision 75007900
Requirements for and issue

[x] A description of the bug
[ ] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[x] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
[x] Your version of terraform
[x] Your version of terraform provider

Expected behavior
external_depdencies_patterns does not result in a constant diff irrespective of the value of external_dependencies_enabled either in Terraform or on the server.

Hi @davidcorrigan714, can you explain how exactly it doesn't work? Is there an error message? If you try to create a new resource using HCL in example #2, it should throw an error:
"if `external_dependencies_enabled` is set to `false`, `external_dependencies_patterns` list can not be set"

It simply doesn't do the operation. It's not applied in Artfactory and it shows up in every subsequent plan as a diff.

Sorry, are you referring to my second example there? In that case I just commented out external_dependencies_patterns so you don't see the provider error. But it also doesn't empty the list, or even set external_dependencies_enabled to false in Artifatory

I just tested both steps, and my results after applying the first and then the second HCL:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # artifactory_remote_docker_repository.my-remote-docker will be updated in-place
  ~ resource "artifactory_remote_docker_repository" "my-remote-docker" {
      ~ external_dependencies_enabled         = true -> false
      ~ external_dependencies_patterns        = [
          - "**",
        ]
        id                                    = "dcorriga-my-remote-docker"
        # (31 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Apply is successful, but in the repo properties I still see this:

"externalDependenciesEnabled": true,
"externalDependenciesPatterns": ["**"],
The reason is when the attribute is not set, we don't send an empty array to Artifactory. As I understand, you want to remove the value from the attribute, if attribute is absent in the HCL?

I see it now.

Yeah, hold on, fixing it now.

I fixed the problem with the boolean. But the problem with a list is not solvable in SDKv2.
As you can see in the UI, [**] is a default value for externalDependenciesPatterns. Unfortunately, in SDKv2 it's impossible to set a default value for the list. Default works only for strings, ints, and booleans.
When the repository is created initially, we use the PUT call, and can actually set that attribute to empty (by removing the attribute from the HCL). The problem arises when we try to update the repository by sending POST call, when there is no externalDependenciesPatterns set in the update call body (or it's an empty list []), it gets set to [**] by Artifactory. So, when we get the repository info, we have a state drift.
Usually, a situation like this is solvable by adding a default value for the attribute. We had a workaround there before, but that workaround broke import functionality.
Until we migrate to the plugin framework, the only workaround will be adding the attribute external_dependencies_patterns and assigning it a value of [**].

Played with it a bit in Postman, wow that API is wonky and really just plain wrong. This should be a bug filed to Artifactory, it's not following any standard REST API conventions with that field. But if I create it with Terraform it's actually created ok-ish and has an empty list, it's not defaulting to [ "**" ] on initial creation like it does in the UI. Just then doesn't work if you want to set externalDependenciesEnabled to false.
From what I can tell with postman though, if the list is empty or missing it's just ignoring it which effectively means you can never set it to an empty list. Interestingly the API the UI uses works just fine - why there's 2 APIs is beyond me. Really should just have an API client generator that both public and internal clients all use, but I digress. It shouldn't be ignoring fields with a value, [] is a value that it's treating as null or a no-op which is flatly incorrect and leading to this bug. For example I could do a POST with [ "buffalo" ] then [] and it'll still be [ "buffalo" ], not reverting to [ "**" ]. All that was irrespective of the value I used for the externalDependenciesEnabled field.
So if externalDependenciesPatterns is set irrespective of externalDependenciesEnabled at least we could set it to [ "**" ] in the tf config manually, but since the provider errors if externalDependenciesEnabled is false we can't.

100% agree with you on the API. I've changed the behavior, so you can set externalDependenciesEnabled to false and set externalDependenciesPatterns to [**] (or something else).

Also removed omitempty from the externalDependenciesPatterns. Just need to test it thru and will release it today or tomorrow morning.

@davidcorrigan714, please check v7.1.1

My example above is still broken. If external_dependencies_patterns isn't defined in the terraform file and it has a value in the UI there's always a diff because it can never set it back to '[]'. As long as the Artifactory API is broken there's no full solution in Terraform though. The root cause is that API needs to support an empty list as a value, so as long as the terraform provider accepts that as a valid value, and uses it as the default, it's going to be broken. Not sure what the import issue was you alluded to above, but if you set the default to [ "" ] in terraform, then used a validator to make sure the input is never empty that should be the most consistent solution. Just means that if it's imported with an empty list it'll end up set to [''], but I don't think the empty list is ever a useful configuration.

The problem is that in SDKv2 there is no default for the list. The workaround we had before, was adding [**] value to the attribute at the time of translating HCL into the API call body. That way you don't have a state drift. That approach was hacky and the import tests were failing. We had to remove it.
I'll create a ticket for the Artifactory team to fix it. Unfortunately, this in not the only one API with this kind of behavior.

Oh I didn't realize Terraform doesn't support default values for those field types, good to know. Guess it is what it is for now.

Sorry, I can't completely fix it. Thanks for the ticket and your patience! We will improve the UX when migrating to the plugin framework.


Speed up the happy path for MapRead::get_speculative

Since the preference for results in MapRead::get_speculative has changed, we should perform storage accesses only if the atomic write batch lookup is a miss.
This will provide us with a considerable speedup for batch hits, and cause no difference for misses.

@ljedrz I think it's appropriate for us to rename get_speculative as get.

get_speculative is more all-encompassing than get now
we should be deferring to using get_speculative so that we do not accidentally forget to call it


use consistent config file type

we were parsing a .yaml file as toml in some circumstances

This is non-backwards compatible right?

I mean it is for anyone who put toml in a file called config.yaml. which I don't think anyone did


Supporting standalone test runner

This is more of a draft idea, and I'm not entirely sure how we should approach it, but it'd be nice if we could somehow support a standalone test runner a bit easier.
Right now I end up with something containing, at minimum, the following::
#!/usr/bin/env python
import sys
import os, os.path
from optparse import OptionParser

from django.conf import settings

parent = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, parent)

if 'DJANGO_SETTINGS_MODULE' not in os.environ:
    os.environ['DJANGO_SETTINGS_MODULE'] = 'disqus.conf.settings.test'

from django_nose import NoseTestSuiteRunner

def runtests(*test_args, **kwargs):
    if 'south' in settings.INSTALLED_APPS:
        from south.management.commands import patch_for_test_db_setup
        patch_for_test_db_setup()

    test_runner = NoseTestSuiteRunner(**kwargs)

    failures = test_runner.run_tests(test_args)
    sys.exit(failures)

if __name__ == '__main__':
    parser = OptionParser()
    parser.add_option('--verbosity', dest='verbosity', action='store', default=1, type=int)
    parser.add_options(NoseTestSuiteRunner.options)
    (options, args) = parser.parse_args()

    if not args:
        args = ['tests', 'disqus']

    runtests(*args, **options.__dict__)

Closing as a distraction, same as #140.  https://github.com/nosedjango/nosedjango seems like a good alternate, still maintained as of Feb 2015.


Document ExpansionTile, SegmentedButton, and BottomAppBar

Close #175

[x] BottomAppBar
[ ] SegmentedButton
[ ] ExpansionTile

Update roadmap file too please.


[bugfix] toString() returns standardized string

Minor change that should fix #4049 by returning a RFC 2822 compliant string

Thanks, but this was by design. The change would likely break more than it fixes, and should not be merged.
See https://github.com/moment/moment/issues/4049#issuecomment-1326816763


Add a parameter to accept null bytes

Pyzbar cannot successfully decode binary data containing null bytes.

Thanks a lot!


Replace print statements with logging

Right now, BTB prints warnings and errors using print(). This is terrible practice, especially for a back-end library. We should replace the dozen or so print calls with the logging module, probably as described here.

This appears closed


Group Standings

When navigated to standings section of the page, a points table in this section contains 10 participating nations in alphabetic order. The task is to find a way to enable auto updation of the current standings after/during each fixture
Hint: Use API call or try Web Scrapping

Can you tell me what is "auto updation" ?
Like on refresh, it updates or there is a button for update or just updates every one hour or so ( last one looks inefficient imho )

@NSmonish @aadi101204 I have opened a PR for webscraping the official site on every reload. Please check it.


home screen data and time show with emoji

Don't think this in an improvement over the current design.


Timex.diff/3 reporting zero at granularity :months between 3/31/2018 and 4/30/2018

Steps to reproduce
Timex 3.1.24

Timex.Comparable.diff/3

iex(3)> {:ok, d1} = Date.new(2018, 03, 31)
{:ok, ~D[2018-03-31]}
iex(4)> {:ok, d2} = Date.new(2018, 04, 30)
{:ok, ~D[2018-04-30]}
iex(5)> Timex.diff d1, d2, :months
0

Description of issue

I noticed a test of mine failing today all of a sudden. It's because Timex.diff/3 is reporting a zero month difference between 2018-03-31 and 2018-04-30.

The following code works, however:
iex(9)> {:ok, d1} = Date.new(2018, 03, 31)
{:ok, ~D[2018-03-31]}
iex(10)> Timex.shift d1, months: 1
~D[2018-04-30]
iex(11)>

This is fixed in master


executing the playthrough task throws error: AttributeError: attempted to get missing private attribute '_max_episode_steps'

sample_script.py:
import minedojo

env = minedojo.make(
    task_id="playthrough",
    image_size=(640, 1024)
)
obs = env.reset()
for i in range(10000):
    act = env.action_space.no_op()
    obs, reward, done, info = env.step(act)
env.close()

JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ vglrun python3 sample_script.py
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
Traceback (most recent call last):
  File "/home/user/Downloads/minedojo/MineDojo/scripts/2sample_script.py", line 13, in <module>
    obs, reward, done, info = env.step(act)
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/gym/core.py", line 289, in step
    return self.env.step(action)
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/minedojo/sim/wrappers/ar_nn/delta_inventory_wrapper.py", line 85, in step
    observation, reward, done, info = self.env.step(action)
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/gym/core.py", line 323, in step
    observation, reward, done, info = self.env.step(action)
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/minedojo/sim/wrappers/ar_nn/nn_action_space_wrapper.py", line 274, in step
    obs, reward, done, info = self.env.step(malmo_action)
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/minedojo/tasks/meta/playthrough.py", line 179, in step
    if self._elapsed_steps >= self._max_episode_steps:
  File "/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/gym/core.py", line 235, in __getattr__
    raise AttributeError(
AttributeError: attempted to get missing private attribute '_max_episode_steps'

Setup & validation:
sudo pacman -S  jdk8-openjdk
conda create -y -n minedojo python=3.9
conda activate minedojo
git clone https://github.com/MineDojo/MineDojo
cd MineDojo
pip install -e .

JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ vglrun python3 scripts/validate_install.py
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
/home/user/miniconda3/envs/minedojo/lib/python3.9/site-packages/gym/spaces/box.py:73: UserWarning: WARN: Box bound precision lowered by casting to float32
  logger.warn(
[INFO] Create a task with prompt: combat a spider in night plains with a diamond sword, shield, and a full suite of leather armors
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
[INFO] Installation Success

cat /etc/os-release
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

Hey @bartman081523 , thank you for reporting this. It is indeed a bug. We've fixed it per 8adaa4a51c2d499ef4e77c1f7e62339eca685638

Thanks, that was blazingly fast :-D
I also think that I am confusing MineDojo with MineRL with VPT pretrained model.
Therefore it must be wanted behaviour, that this sample_script does nothing, besides initializing the minecraft server and standing on the spawn (act = env.action_space.no_op())


Add build artifacts path to servlet and storage

@terabyte, can you point me to how to configure Jenkins to use this information?

I think I'm gonna close this since it seems like there is artifact retrieval in the 'master' branch.


Consolidate CSS

Application's CSS selectors and properties are consolidated and organized to follow semantic structure.
Application's CSS file is properly commented.

Each section within the main article had an individual class even though the same code was being applied to each of them. A class was added to the parent tag article and then along with the section, img, or h2 elements were used to target each section within. Similarly the benefits section was consolidated with a single class in the parent tag "aside" and the sections were further targeted with the section, img, h3 or p element.


Update progressbar version from 0.9.2 to  0.21.0

Fixes an error in progressbar in non-standard terminal. e.g. Concourse CI.
Signed-off-by: Nitin Ravindran<EMAIL_ADDRESS>

This PR is into master, which we do not allow.
We will verify on develop, once it is merged on develop we will close this PR.

Thanks for the PR - this is now merged into develop via 5e03bccbcaae06f459912b2fa8cacb4467871a7f. The following was additionally verified:

sha1 of progressbar-0.21.0.gem
integrations (https://main.bosh-ci.cf-app.com/builds/149817)
units


1.13.2 build failed with "Not Found" error for file that exists

System information

OS Platform and Distribution: Ubuntu 18.04 (Windows 10 subsystem)
TensorFlow installed from: source
TensorFlow version: 1.13.2
Python version: 3.6.8
Bazel version: 0.21.0
GCC version: 7.4.0

Describe the problem
Just trying to get a CPU hardware-specific install; selected "No" to all except XLA JIT support during configuration. I don't need CUDA/GPU support.
ERROR: /mnt/c/Users/peter/Desktop/projects/tensorflow/tensorflow/python/BUILD:5873:1: Executing genrule //tensorflow/python:nccl_ops_pygenrule failed (Aborted): bash failed: error executing command /bin/bash bazel-out/k8-opt/genfiles/tensorflow/python/nccl_ops_pygenrule.genrule_script.sh
2019-08-11 14:35:54.567507: F tensorflow/python/framework/python_op_gen_main.cc:123] Non-OK-status: api_def_map.LoadFileList(env, api_files) status: Not found: tensorflow/core/api_def/base_api/api_def_Imag.pbtxt; No such file or directory
...
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 11735.779s, Critical Path: 3155.14s
INFO: 7082 processes: 7082 local.
FAILED: Build did NOT complete successfully

Provide the exact sequence of commands / steps that you executed before running into the problem
bazel clean --expunge
./configure
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

Any other info / logs
I verified that tensorflow/core/api_def/base_api/api_def_Imag.pbtxt does indeed exist.

Just to verify did you get chance to follow instructions from TensorFlow website .Please, let us know. Thanks!

Yes. specifically:
git clone https://github.com/tensorflow/tensorflow.git
git checkout v1.13.2
cd tensorflow

followed by the build commands from my original post.

@peterse What version of nccl and visual studio you are using for the build? Are you installing on Ubuntu or Windows? Thanks!

@jvishnuvardhan I am not using nccl (I do not want GPU support) or visual studio; I am installing on an Ubuntu 18.04 Windows Subsystem for Linux (like described at this link: https://docs.microsoft.com/en-us/windows/wsl/install-win10).
This subsystem has been compatibile with every other linux application I've tried to install, so I don't think the subsystem is the problem.

Can you try with master instead of 1.13?

@peterse
Did you get a chance to check with master as suggested by mihaimaruseac. Thanks!

This did not resolve the issue. I now get the error:
ERROR: /mnt/c/Users/peter/Desktop/projects/tensorflow/tensorflow/python/BUILD:2088:1: Executing genrule //tensorflow/python:batch_ops_pygenrule failed (Aborted): bash failed: error executing command /bin/bash bazel-out/k8-py2-opt/bin/tensorflow/python/batch_ops_pygenrule.genrule_script.sh
2019-08-19 14:49:50.188080: F tensorflow/python/framework/python_op_gen_main.cc:123] Non-OK-status: api_def_map.LoadFileList(env, api_files) status: Not found: tensorflow/core/api_def/base_api/api_def_RandomShuffleQueue.pbtxt; No such file or directory
bazel-out/k8-py2-opt/bin/tensorflow/python/batch_ops_pygenrule.genrule_script.sh: line 2: 19688 Aborted

And again, I verified that this file does indeed exist:

Attached: "ERROR" component of failure (there were quite a few Bazel warnings as well...)
tf_core_dump.txt

Also the specs in the original post are now outdated; the relevant changes to versions are:

TensorFlow version: 1.14.0 (master)
Bazel version: 0.25.2

I see that the error now points to a different missing file.
Can you confirm that you are running from a fresh clone?
I'm going to try to reproduce

I was not able to reproduce at all on the latest master, fresh clone:
/tmp $ git clone https://github.com/tensorflow/tensorflow.git tf
/tmp $ cd tf/
/tmp/tf $ bazel clean --expunge
/tmp/tf $ yes "" | ./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.26.0 installed.
Please specify the location of python. [Default is /usr/bin/python]:

...
/tmp/tf $ bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
...
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 2093.317s, Critical Path: 223.10s
INFO: 19513 processes: 19513 local.
INFO: Build completed successfully, 20530 total actions

I have bazel 0.26 instead, but doubt this makes a difference. bazel clean --expunge at the beginning also should have no effect.
Can you try running the following long command, exactly as written?
mkdir tf-new; cd tf-new; git clone https://github.com/tensorflow/tensorflow.git; cd tensorflow; yes "" | ./configure 2>&1 | tee -a github.log; bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package 2>&1 | tee -a github.log

Then, if that still fails, can you please attach github.log so that we can see if there is another error ahead that causes the behavior you're seeing?

I have run the command exactly as you wrote it, and got yet another error claiming that a different file doesn't exist:
ERROR: /mnt/c/Users/peter/Desktop/projects/tf-new/tensorflow/tensorflow/python/BUILD:2284:1: Executing genrule //tensorflow/python:ragged_array_ops_pygenrule failed (Aborted): bash failed: error executing command /bin/bash bazel-out/host/bin/tensorflow/python/ragged_array_ops_pygenrule.genrule_script.sh
2019-08-23 14:35:54.149273: F tensorflow/python/framework/python_op_gen_main.cc:123] Non-OK-status: api_def_map.LoadFileList(env, api_files) status: Not found: tensorflow/core/api_def/base_api/api_def_Prelinearize.pbtxt; No such file or directory

Though this file does indeed exist:

The log is attached:
github.log

I'll also mention that the command you provided defaulted to a python2 installation, while I had previously been running ./configure and pointing to my python3 executable.

Start of the log, there are a bunch of errors:
ImportError: No module named builtins

Python Configuration Error: Problem getting numpy include path.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named numpy

Apologies, those errors were from setting up the environment (I had two failed runs due to ./configure options using Python 2. Since I am not a Python 2 user, future and numpy were not installed and since I couldn't locate any explicit Python 2 requirements or a requirements.txt I just attempted installation until the build no longer threw import errors. Those errors ended up in the log because of the append mode tee).
Please review the revised log where I've removed those irrelevant runs, here:
github.log

Oh, makes sense.
Seeing warning like the following in the log makes me wonder what compiler are you using?
INFO: From Compiling tensorflow/core/protobuf/autotuning.pb.cc [for host]:
In file included from bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.cc:4:0:
bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.h:234:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
   ::PROTOBUF_NAMESPACE_ID::int32 major() const;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.cc:4:0:
bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.h:240:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
   ::PROTOBUF_NAMESPACE_ID::int32 minor() const;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.h:374:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
   ::PROTOBUF_NAMESPACE_ID::int32 major() const;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/tensorflow/core/protobuf/autotuning.pb.h:380:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
   ::PROTOBUF_NAMESPACE_ID::int32 minor() const;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also, could it be possible you're running out of space? Timeout? Corrupted disk? Can you try compiling on a Linux only box or directly on Windows instead of WSL? Can you reinstall the WSL?
When the compilation ends in error, do you have the bazel-* symlinks?

Found out the problem: it was a multithreading bug from the host Windows OS that causes these kinds of 'file not found' errors in WSL if using Windows 10 OS versions before 17655.
For future reference, the problem can be resolved by updating Windows 10 to some version after 17655; thread detailing this issue here. After this I was able to build and install successfully.


Add neighbouring countries' regions

As the borders are not closed (and even if closed, wouldn't be foolproof), it would be interesting to collect and display the contamination rates of neighbouring France/Italy/Germany/Austria; ideally not the country-wide average, but the border regions only.
For France, one can find the numbers for Ain and Haute-Savoie faily clearly in "point de situation"-titled PDFs:
https://www.auvergne-rhone-alpes.ars.sante.fr/liste-communiques-presse
Jura, Belfort, Doubs don't have clear separate numbers so far:
https://www.bourgogne-franche-comte.ars.sante.fr/liste-communiques-presse
Haut-Rhin has again clear numbers in PDFs here:
https://www.grand-est.ars.sante.fr/liste-communiques-presse?field_archive_ars_value=0
An official repository here:
https://www.data.gouv.fr/fr/datasets/donnees-relatives-a-lepidemie-du-covid-19/#_
Otherwise an unofficial data repository is here:
https://github.com/opencovid19-fr/data
Italy has a faily complete official repository from which one could pull numbers:
https://github.com/pcm-dpc/COVID-19
Found this for Germany, at Landkreise level:
https://experience.arcgis.com/experience/478220a4c454480e823b17327b2bf1d4/page/page_1/
Here is an unofficial repository, but I can't vouch for it:
https://github.com/marlon360/rki-covid-api
And this for Austria:
https://info.gesundheitsministerium.at/
Again, maybe scraping from Wikipedia is more feasible, with the risk it may be unreliable or defaced.

What do you mean "display"?
Yes, it is in our best interest, to have this data, but not necessarily in this repo. If the data for neighbouring countries' regions are already available, maybe these things should be aggregated in some different project? If this repo is then consumed back by other project, it could be really convoluted to figure out who is the source of truth on what.

I agree with @baryluk lets focus on the cantons of Switzerland.

Ah, you are right this may not be in scope for this project.

Thanks for the links tho. Will be useful.


Error when loading Vosklet

The error
UncaughtReferenceError: SharedArrayBuffer is not defined at Vosklet.js:9:9648

Try serving with the appropriate response headers for SharedArrayBuffer. See the SharedArrayBuffer section in Response header, in API.md.


Sync Cache that relies on release versions

Describe the problem/challenge you have
We have developed a deployment software that leverages vendir to pull Helm Charts, OCI Images and Git Repos for hundreds of applications. Every time the software runs, it executes vendir sync for each application to pick up changes in case the corresponding vendir.yaml was modified. This slows down the process tremendously and is mostly unnecessary, since we usually only modify one vendir.yaml  at the time leaving the other untouched.
Describe the solution you'd like
The issue could be solved by an optional synchronization mode that only synchronizes, if the last vendored files are not in line with the release versions set in the corresponding vendir.yaml.
Possibly this feature could be using the lock file as a record of the versions last synced and a re-sync only, if the tags in the lock file diverge from the refs in vendir.yaml.
Also, on could ensure that caching only takes effect for refs that follow semantic version or other standardized version formats.
Naturally, caching only works, if releases are stable, which is the case with our applications. If they were not, we would see this as an issue with the release process rather than vendir.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

Caching does need to be explicitly enabled and would only benefit OCI Images using shasum references today.
The thoughts around this are documented here: https://carvel.dev/vendir/docs/v0.34.x/sync/#caching

For the record: this issue was superseded by #278 and is being worked on in #279.