Update Header Styles

💡 Description
The styles need to be updated to match more closely to the figma designs.
⚔ Parent Epic / Related Tickets
No response

@eddiesarevalo is starting to use SASS instead of material UI.

@eddiesarevalo need to meet with @anilnatha to validate the CSS options.

plain CSS are going to be used.
@eddiesarevalo is adding the needed style in the wds repository. It is a manual task.

colors and typos have been added.

The styles have been added.

Added the variables to the wds https://github.com/NASA-PDS/wds/commit/d3d680f30285d285a0c733fab88784c2306dbb41


Video that depicts non-existing features.

This YouTube video https://www.youtube.com/watch?v=_dzu8HEu1AU published by Microsoft at 0:0:36 depicts the ability to schedule a time for messages to be send and at 0:0:49 it depicts the ability to measure success of announcement by analyzing the number of views, replies or reactions a message had.
AFAIK none of that is currently available, thus I suggest that this video should be taken down or changed to highlight that some of the features shown are possibilities that would require further development.

it´s a joke. Most of clients are asking about that.

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. We don't have control over these contents and also may not be able confirm if these features will be available in future releases right now, please let us know if you still require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up.

The video was posted in Youtube under Microsoft Central and Eastern Europe channel (https://www.youtube.com/channel/UCJ-jBSURYSJG28a1FfxQxdw)
We must be able to figure out internally who is responsible for that channel and get the video removed.
The longer it remains available the more people will be frustrated.

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. We don't have control over these contents and also may not be able confirm if these features will be available in future releases right now.
Please let us know if you still require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up.


Use pinpoint about aliyun message service

I have a pinpoint question I need to ask
you.When I added the pinpoint agent to tomcat，I use aliyun sdk to call
aliyun message service.Unfortunately，a socket timeout occurred.
Below is my system environment:
system version:  CentOS Linux release 7.4.1708 (Core)
pinpoint agent version： 1.8.0
jdk version: java version "1.7.0_79"
My java method:
public static void testPinPoint(String postUrl) {
	CloseableHttpAsyncClient httpclient = HttpAsyncClients.custom().build();
	httpclient.start();
	HttpPost httpPost = new HttpPost(postUrl);

	//custom repeat stream entity
	BasicHttpEntity basicHttpEntity = new BasicHttpEntity(){
		@Override
		public boolean isRepeatable() {
			// TODO Auto-generated method stub
			return this.getContent().markSupported();
		}

		@Override
	    public void writeTo(final OutputStream outstream) throws IOException {
	        Args.notNull(outstream, "Output stream");
	        System.out.println("writeTo::::::::::::::::::::::::::::");
	        final InputStream instream = this.getContent();
	        instream.reset();
	        try {
	            final byte[] buffer = new byte[OUTPUT_BUFFER_SIZE];
	            int l;
	            if (this.getContentLength() < 0) {
	                // consume until EOF
	                while ((l = instream.read(buffer)) != -1) {
	                    outstream.write(buffer, 0, l);
	                }
	            } else {
	                // consume no more than length
	                long remaining = this.getContentLength();
	                while (remaining > 0) {
	                    l = instream.read(buffer, 0, (int)Math.min(OUTPUT_BUFFER_SIZE, remaining));
	                    if (l == -1) {
	                        break;
	                    }
	                    outstream.write(buffer, 0, l);
	                    remaining -= l;
	                }
	            }
	        } finally {
	            //instream.close();
	        }
	    }
	};

	byte[] bytearray = "123456".getBytes();
	basicHttpEntity.setContent(new ByteArrayInputStream("123456".getBytes()));
	basicHttpEntity.setContentLength(bytearray.length);
	//when set contentType socket will be timeout
	basicHttpEntity.setContentType("text/plain;charset=UTF-8");
	basicHttpEntity.setChunked(false);

	httpPost.setEntity(basicHttpEntity);
	Future<HttpResponse> future = httpclient.execute(httpPost, new FutureCallback<HttpResponse>(){

		@Override
		public void completed(HttpResponse result) {
		}
		@Override
		public void failed(Exception ex) {
			ex.printStackTrace();
		}

		@Override
		public void cancelled() {
		}

	});
	try{
		future.get();
	}catch (Exception e) {
		// TODO: handle exception
		e.printStackTrace();
	}
	System.out.println("sucess.............");

}

When I set the http header ContentType with aliyun SDK,the request
always is timeout.When I remove the pinpoint agent in tomcat, the
socket will not time out.The strange thing is that I added the
pinpoint agent to tomcat and did not set the HTTP header ContentType
using the aliyun SDK, and the socket timeout did not occur.I don't
know where the problem is, I hope you can help me.
My pinpoint configuration tomcat log and pinpoint agent log are placed
in the attachment.
logs.zip

Hi @linux0x5c
I'm not sure if this is related but may be aliyun does not accept custom HTTP headers? (Pinpoint adds custom HTTP headers to propagate trace)
Not sure if this is the correct documentation for your use case but it looks like you need to open a ticket to allow custom headers - https://www.alibabacloud.com/help/doc-detail/65094.htm
You can check Pinpoint's custom HTTP headers here.
Still not entirely sure why it doesn't timeout if ContentType isn't set, but maybe you could try it out?

Hi @Xylus
I re-tested, this time I did not use Alibaba Cloud's messaging service, but used the above code to simulate requesting Alibaba Cloud messaging service. But the problem still exists, as long as I add http header ContentType to the constructed request message. My message still can't be sent out, and socket timeout still occurs. This shows that there is no relationship with Alibaba Cloud's message service verification. I suspect that pinpoint does not support this streaming data request tracking.
lab environment:
Tomcat version: apache-tomcat-7.0.63
Client libary: Apache http client 4.x
Code: The code above this issue

@linux0x5c
Ah gotcha, so it seems it's not related to Alibaba Cloud's messaging service, right?
I'll take a look into this and see what's going on.
Thanks!

@Xylus
Yes, it has nothing to do with Alibaba Cloud's messaging service.
Looking forward to your good news.
Thanks!

Hi @linux0x5c
Here's what I found.
What is happening?
The server is returning 500 due to Timeout attempting to read data from the socket.
The reason for this is because pinpoint agent is consuming the content in HttpClient4EntityExtractor (see below) so the client is not writing the content out the socket.
    private static String entityUtilsToString(final HttpEntity entity, final String defaultCharset, final int maxLength) throws Exception {
        ...
        final FixedByteArrayOutputStream outStream = new FixedByteArrayOutputStream(maxLength);
        entity.writeTo(outStream);
        final String entityValue = outStream.toString(charset);
        ...
        return entityValue;
    }

However, this is only done if the entity is repeatable.
    @Override
    public String getEntity(HttpRequest httpRequest) {
        ...
        if (entity != null && entity.isRepeatable() && entity.getContentLength() > 0) {
            return entityUtilsToString(entity, Charsets.UTF_8_NAME, 1024);
        }
        ...
    }

Consuming a none repeatable entity's content (via writeTo(...) in this case) will result in the client not writing the content out the socket; and the server, which is expecting data to arrive, will throw a timeout since nothing is received.
But the entity in the code above is repeatable
Your BasicHttpEntity above is repeatable as can be seen below.
    ...
    //custom repeat stream entity
    BasicHttpEntity basicHttpEntity = new BasicHttpEntity() {
        @Override
        public boolean isRepeatable() {
            // TODO Auto-generated method stub
                return this.getContent().markSupported();       // ByteArrayInputStream.markSupported() returns true
        }
        ...
    }
    ...

However, there is another contract specified in HttpEntity's getContent() that your basicHttpEntity is missing.
   /**
     * Returns a content stream of the entity.
     * {@link #isRepeatable Repeatable} entities are expected
     * to create a new instance of {@link InputStream} for each invocation
     * of this method and therefore can be consumed multiple times.
       ...
     */
    InputStream getContent() throws IOException, UnsupportedOperationException;

The default implementation of BasicHttpEntity's getContent() method is to simply return the underlying InputStream.
Your repeatable basicHttpEntity does not override the getContent() method, and so is returning the underlying InputStream directly.
In order to make your basicHttpEntity repeatable, you will have to override the getContent() method as well, and have it create a new instance of the underlying InputStream and return that instead.
Something like below should solve your issue. (Example code, please modify it to suit your needs)
    ...
    //custom repeat stream entity
    BasicHttpEntity basicHttpEntity = new BasicHttpEntity() {
        ...
        @Override
        public InputStream getContent() throws IllegalStateException {
            InputStream is = super.getContent();
            if (is.markSupported()) {
                try {
                    ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    byte[] buffer = new byte[1024];
                    int len;
                    while ((len = is.read(buffer)) > -1) {
                        baos.write(buffer, 0, len);
                    }
                    baos.flush();
                    return new ByteArrayInputStream(baos.toByteArray());
                } finally {
                    is.reset();
                }
            } else {
                return is;
            }
        }
    };

PS. Why is it only happening when content type is set?
It's only happening when the content type is set because the HttpClient4EntityExtractor's entityUtilsToString(...) method throws a NullPointerException and does not consume the content if the content type is not set.
    private static String entityUtilsToString(final HttpEntity entity, final String defaultCharset, final int maxLength) throws Exception {
        ...
        if (entity.getContentType().getValue().startsWith("multipart/form-data")) {            // NullPointerException here due to entity.getContentType() being null.
            return "content type is multipart/form-data. content length:" + entity.getContentLength();
        }
        ...
        final FixedByteArrayOutputStream outStream = new FixedByteArrayOutputStream(maxLength);
        entity.writeTo(outStream);            // This is where the content is consumed. Due to the NPE above, the content is not consumed if entity's content type is not set (is null).
        final String entityValue = outStream.toString(charset);
        ...
    }

We should add a null check in our HttpClient4EntityExtractor for this.
Note that this won't fix your issue - you will need to override getContent() method of your basicHttpEntity to get everything working.
Let me know if you have any questions.
Thanks.

tldr; version

You should override getContent() and have it return a new instance of InputStream.
There needs to be a null check in HttpClient4EntityExtractor to check for entity's content type not being set (but this isn't the root cause of your issue).

Hi @Xylus
Thank you very much for your doubts. This is really very helpful for me. From your solution point of view, Alibaba's JAVA SDK does not fully consider this situation, we have already issued a work order to Alibaba Cloud, and they have been recognized. This problem has plagued me for a long time, and finally solved it today. Thank you very much again.


[SPARK-47301][SQL][TESTS][FOLLOWUP] Remove workaround for ParquetIOSuite

What changes were proposed in this pull request?
The pr aims to remove workaround for ParquetIOSuite.
Why are the changes needed?
After https://github.com/apache/spark/pull/46562 is completed, the reason why the ut SPARK-7837 Do not close output writer twice when commitTask() fails failed due to different event processing time sequence no longer exists, so we remove the previous workaround here.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

Manually test.
Pass GA.

Was this patch authored or co-authored using generative AI tooling?
No.

cc @cloud-fan @yaooqinn

thanks, merging to master!


[Doc Improvement][Remove older dates than 2023]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/team-chat-member-api-changes.md
91
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


I restarted my pi, and my config.js file is empty

I restarted my pi, and my config.js file is empty. How can I get it back?

sadly only if u backed it up..


Unnecessary closure for async functions

https://github.com/preprocess/pre-async/blob/3d6a8390634df60402a1aca65c0901177fa1f9af/src/macros.pre#L6-L10 uses two nested closures instead of simply one.

Not sure when this was fixed, but seems to have been.

https://github.com/preprocess/pre-async/pull/2/files


Supporting the new Material Design

In #IO18 Google has announced changes to Material design ( https://material.io/design/introduction/ ), such as Material theming (custom fonts, 'shapes', icon sets etc).
Hope they will be supported.
Please share the timeline :)

#11306


Validic::Client#create_sleep - Validic::Error::UnprocessableEntity: 422: Timestamp does not meet format specification or not in UTC time

I've tried sending the timestamp field in the following formats and I get the same error each time.
The documentation here
https://validic.com/validic-connect
specifies that the date be sent as a ISO8601 string
ISO
created_at.iso8601(9)
=> "2015-04-09T11:52:46.509864-07:00"

I also tried the following formats:
Ruby DateTime
created_at.to_s
=> "2015-04-09 11:52:46 -0700"

UTC
created_at.utc
=> "2015-04-09 18:52:46 UTC"

I tried sending the request via Postman, same error for all 3 formats. This is a blocker for our push integration.

The .iso8601 method without any arguments should do the trick:
Time.now.iso8601
=> "2015-04-09T16:11:52-04:00"

If this doesn't solve the issue can you elaborate on which method on the gem you are using?

hmm, I got the
validic (0.4.1)
options = {
  api_version:     'v1',
  access_token:    ENV['VALIDIC_PUSH_ACCESS_TOKEN'],
  organization_id: ENV['VALIDIC_PUSH_ORGANIZATION_ID']
}
@client = Validic::Client.new options

@client.create_sleep {
 :user_id=>"asdfjkl;", # obfuscated for privacy
 :timestamp=>"2015-04-09T13:48:23-07:00",
 :utc_offset=>"-7:00",
 :awake=>nil,
 :deep=>nil,
 :light=>nil,
 :rem=>nil,
 :times_woken=>nil,
 :total_sleep=>28800.0,
 :sleep_id=>15,
 :extra=>{:quality=>"Good"}}

Validic::Error::UnprocessableEntity: 422: Timestamp does not meet format specification or not in UTC time
from ~/.rvm/gems/ruby-2.1.5/gems/validic-0.4.1/lib/validic/rest/request.rb:90:in `request'

After taking a closer look this API requires the iso8601 string to be in UTC in this format:
(note the +00:00 offset)
"2015-04-09T20:58:35+00:00"

One way to accomplish this would be:
DateTime.now.new_offset.iso8601

Alternatively, you can use strftime to format depending on the requirements of your application. Sorry for the confusion!

That worked!
created_at.to_datetime.new_offset.iso8601
is what ended up working


Embed .addField - SyntaxError: unexpected token

Please describe the problem you are having in as much detail as possible:
I've been trying to make a simple bot for my Discord server. I added some code so people could type $help and see an embed come up. When I did one line of .addField, it worked fine, but when I added another .addField (line 29) it gave me this error in terminal:
/Users/MyUsername/Desktop/nintappliebot/bot.js:29
        .addField("$info:", "Find out who I am!");
        ^
SyntaxError: Unexpected token .

Include a reproducible code sample here, if possible:
12 bot.on ("message", function(message) {
13  if (message.author.equals(bot.user)) return;
14
15  if (!message.content.startsWith(PREFIX)) return;
16
17  var arg = message.content.substring(PREFIX.length).split(" ");
18
19  switch (arg[0].toLowerCase()) {
20    case "hello":
21      message.channel.sendMessage("Hey!");
22      break;
23    case "info":
24      message.channel.sendMessage("I am a bot");
25      break;
26    case "help":
27      var embed = new Discord.RichEmbed()
28        .addField("$hello:", "Say hi to me!");
29        .addField("$info:", "Find out who I am!");
30      message.channel.sendEmbed(embed);
31      break;
32    default:
33      message.channel.sendMessage("I don't recognise what you're trying to tell me. Type $help for a list of commands.");
34  }
35 });

Further details:

discord.js version: I'm not sure how to find this, but if someone could tell me how that would be

node.js version: 8.1.3

Operating system: MacOS Sierra 10.12.5

Priority this issue should have – please be realistic and elaborate if possible: I really need this bot for my server, but this problem doesn't need to be fixed anytime soon. I can work on other commands.

[ ] I found this issue while running code on a user account

[ ] I have also tested the issue on latest master, commit hash:

line 28 ends in a semicolon, that's why you can't chain it... But this isn't a discord.js issue.

boo!


Is it possible to add a custom block to the content with its own editable fields?

Checklist

[ ] This is not covered in the repository examples.
[ ] I am using the package latest version.
[ ] This is a bug report or an enhancement proposal.

Description
I tried to add a simple block with an input in it but when I try to give it focus, that seems to be impossible
I am not sure if this is even possible? I can't find an example like that

Indeed, this is currently not possible.


Authentication module for ng-admin

Hi. I've created module for ng-admin called ng-admin.jwt-auth that allows to use JWT-based authentication. Here is the module.
Check out demo application of ng-admin configured with this module.
I'd like to get some feedback about this idea and the module. Thanks!

Nice, I will definitely give it a try..

There is also https://gist.github.com/leonardorame/762f4978edbf7a4633b0

I tried it and it works pretty nice with my eve based api. Thank you very much. Is it standard to send the credentials as {"_username": <username>, "_password": <password>} as payload during login?

Sure. I guess you use demo application. Check file public/app.js line 19. This is configuration of custom template. Check out public/customLoginTemplate.html lines 6 and 10. There are properties (ng-model)  that you can redefine, for example you need to send "pass" field instead of "_password"
change this

to this

Change what to what :) But, ok that's where I can customize the payload. Was just curious if _username and _password is the default in jwt-auth.
One more thing. What kind of response do I have to return to get the error message displayed? My api returns a 401 when using wrong credentials, but the red banner only shows undefined.
Thanks

@toxsick No, _username and _password isn't default in JWT-auth. About 401 response - if you are not authenticated and you are try to get secured url module automatically redirects you on login page. I suppose you send not valid data for your application. You need to configure login and password fields and may be configure header information (Authorization) - module allows to configure header.

@akagadovskiy thanks for the info, but I think you misunderstood me. Everything works fine. I was only wondering what the response payload for 401 has to be in order to get a message shown in the red banner:

@toxsick for unsuccessful authentication you need to return JSON with field message

Cool, thanks for the info!

@toxsick you are welcome :)

The new demo application has a (naive) authentication that you can use as an example: https://github.com/marmelab/ng-admin-demo/blob/2fe01ea005e6332f843337d7c9e049ec6790f948/index.html#L12-L19

@fzaninotto how more precisely make ng-admin use jwt?
i can't figure it out where i can start looking into api_flavour.js
the naive authentication seems clear enough; but what about setting the auth API edge;
does a user container should be made? does extra plugins are required?
thank you.

@cmnstmntmn try the different links provided by other contributors in this discussion. Authentication isn't the core domain of ng-admin, so I won't have more details to provide, sorry.

@cmnstmntmn Hi. You can try to use this module. It will help you to create JWT-authentication.
Feel free to open issues here

@akagadovskiy :+1: thank you, it works great

This almost works with loopback which would be very nice.  The only things that are needed:

ability to set the login field to email or username (or whatever library user wants)
it complains that the token is not a JWT token because it does not have three parts.

If you did that then it would work with a broad set of token authenticated apps and would be really nice.
https://docs.strongloop.com/display/public/LB/Making+authenticated+requests


Handle KeyboardInterrupt in Asyncio services

Closes: #62

To extend on the previous comment, you probably want to consider something like this.
Anywhere that we have
try:
    ...
except Exception:
    ...

You can update to either of:
try:
    ...
except Exception:
    ...
except BaseException:
    ...  # if you need separate exception logic for KeyboardInterrupt

or this if the logic should be the same.
try:
    ...
except BaseException:
    ...


circumvent gurobi integer division to match cpmpy floordivision

There does not seem to be floordivision in gurobi, so I implemented a workaround using continuous (gurobi) variables.

Interesting. So Gurobi supports integer division that rounds towards zero instead of floor? E.g., -3/2 yields -1 instead of -2? What does Gurobi give with 3/-2?
What is the core idea of your fix? I did not immediately get it from the code - something with abs?
Would it make sense to just have a decomposition for div? E.g., a/b is decomposed to q with toplevel q*b=a+r and 0<=r<b.


Update CONTRIBUTING.md

Inserting 'the' before required in line 15.
Inserting 'the' before build in line 113
ISSUE TYPE

Feature Pull Request
Bug fix Pull Request
Docs Pull Request

SUMMARY

Fixes #XXX

Hello @snehalbiju12 ,
Thanks again for the PR!
Thank you for contributing to BotKube. Could you please fill out this form, so we can send the well deserved awesome swags :slightly_smiling_face:
Team BotKube


error when trying to show accounts without having logged in

Just setting up a new computer.
$ heroku accounts:add foo
... do login ...
$ heroku accounts:add bar
... do login ...

no errors there ^^
try and list the accounts:
 $ heroku accounts
 ▸    Cannot read property 'login' of undefined
Error: ENOENT: no such file or directory, open '/Users/santekotturi/.cache/heroku/error.log'
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.writeFileSync (fs.js:1314:33)
    at Object.fs.appendFileSync (fs.js:1360:6)
    at log (/Users/santekotturi/.local/share/heroku/plugins/node_modules/heroku-cli-util/lib/errors.js:87:6)
    at handleErr (/Users/santekotturi/.local/share/heroku/plugins/node_modules/heroku-cli-util/lib/errors.js:102:9)
    at process._tickCallback (internal/process/next_tick.js:109:7)
    at Module.runMain (module.js:607:11)
    at run (bootstrap_node.js:427:7)
    at startup (bootstrap_node.js:151:9)
    at bootstrap_node.js:542:3

I need to set an account before I can list my accounts:
$ heroku accounts:set foo
$ heroku accounts
* foo
bar

Expected behavior:
Should be able to list my accounts without being logged in/set to any of them.
Nothing major, but figured you should know.

This (not exact error but similar) also happens when heroku login is interrupted :
$ heroku login
Enter your Heroku credentials:
Email: ^C%

$ heroku accounts
 ▸    Cannot read property 'login' of undefined

+1, same as @skotturi
This had me scratching my head in confusion.

:+1: this had me confused for several minutes as well


Clarification wanted

Same connection parameter, but different names:
conn_manager.connect    conn_name=Test-Connection
...                     conn_type=TCPIPClient
...                     conn_conf=${TCPIPClientParam}

conn_manager.connect    conn_name=Test-Connection-2
...                     conn_type=TCPIPClient
...                     conn_conf=${TCPIPClientParam}

What is the status of the library now? Do we have two identical connections in parallel? Or is the same connection created again, but now under a different name?
I tried both:
conn_manager.send_command    conn_name=Test-Connection    command=SYSTEM CONNECT PING CHECK
and
conn_manager.send_command    conn_name=Test-Connection-2    command=SYSTEM CONNECT PING CHECK
In first case the server receives the message, in second case not.
Seems that the second connection is invalid. That's OK. It makes no sense to establish a connection twice.
If I use the same connection name in both connect, then I get an error:
The connection name 'Test-Connection-2' has already existed! Please use other name
That's OK. But the check behind this should be extended. A connection does also already exist in case of the same connection type and the same connection parameters are used again (independent from the name).
An error message should tell that a connection of such type already exists.
Currently the log gives no feedback about that.

Hello Holger,
Actually, it is designed in a way that there should be no issue with creating two connections to the same server, so I find it a bit strange that the server isn’t receiving messages from the second connection. Could you share the code you’re using to run the server?
Thanks,
Cuong

Hello Cuong,
that's a good hint. I use the BITS-Platform for testing :-)
Andreas told me that the BITS-Platform refuses the second connection. Therefore it's plausible that only messages are received in case of the first connection is used. My concern now is that the user is not informed about the fact, that the second connection is invalid. Because of https://github.com/test-fullautomation/robotframework-qconnect-base/issues/51 the behavior is so much  non-transparent  for users.
This is the log:
INFO - +--- START KEYWORD: conn_manager.Connect [ conn_name=Test-Connection | conn_type=TCPIPClient | conn_conf=${TCPIPClientParam} ]
INFO - RawTCPClient.__init__(): Creating socket for 'localhost':'4000'
INFO - RawTCPClient._init_thread_receiver(): starting receiver thread 'TCPIPClient1'
INFO - RawTCPClient.connect(): Try to connect to 'localhost':'4000'
INFO - RawTCPClient.connect(): connected to 'localhost':'4000'
INFO - MainThread> +--- END KEYWORD: conn_manager.Connect (5)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO - MainThread> +--- START KEYWORD: conn_manager.Connect [ conn_name=Test-Connection-2 | conn_type=TCPIPClient | conn_conf=${TCPIPClientParam} ]
INFO - RawTCPClient.__init__(): Creating socket for 'localhost':'4000'
INFO - RawTCPClient._init_thread_receiver(): starting receiver thread 'TCPIPClient2'
INFO - RawTCPClient.connect(): Try to connect to 'localhost':'4000'
INFO - RawTCPClient.connect(): connected to 'localhost':'4000'
INFO - MainThread> +--- END KEYWORD: conn_manager.Connect (2)

INFO - MainThread> +--- START KEYWORD: conn_manager.Send Command [ conn_name=Test-Connection-2 | command=SYSTEM CONNECT PING CHECK ]
INFO - MainThread> +--- END KEYWORD: conn_manager.Send Command (0)

The second line
INFO - RawTCPClient.connect(): connected to 'localhost':'4000'
I would not expect. Or at least I would expect that send_command throws an error. Unfortunately this keyword does not have own log output.

Hi Holger,
you can easliy create with chatgpt a pyhton based server which allows multiple connections for testing.
Thank you,
Thomas


[WIP] Screenshots And Artwork

New Artwork Gallery
Work In Progress
This is a work in progress, will submit commits to this branch with some modifications to the gallery.
Fixes https://github.com/minetest/minetest.github.io/issues/78
Fixes https://github.com/minetest/minetest.github.io/issues/123

Show off Mapgen v7
photos with mods/subgames
photos with buildings
Multiplayer / photos with other players (and with varied armors/skins ?)
Authentic gameplay footage, not just some random landscape you found after flying around.
(maybe) texture packs (less important)

[ ] Make the screenshot gallery responsive.
[ ] Add vanilla mapgen v6
[ ] Add vanilla mapgen v7
[ ] Add screenshots of mods
[ ] Add screenshots from different servers
[ ] Create Artwork page with icons
[ ] Create Artwork page with wallpapers

Please do submit here suggestions of screenshots at 1920x1080 and a description for it.

Source .pngs used in #143
Tranquil bay with grass and trees
South pacific old growth forest
Castles in a large multiplayer server
Sunset over an underwater forest
Cave with a dungeon entrance
Underground cavern with flowing lava
Some alternatives
Cave bay view
Lava lake overflowing
More south pacific old growth forest

PR has no content


#GOV-546 Payment Helm upgrade

(https://mifosforge.jira.com/browse/GOV-546)

Description

Added CircleCI for Helm deployment

Related Issue

Motivation and Context

How Has This Been Tested?

@dborowiecki : Please review this PR.


Move resultPattern to be a property of the display

Currently (as of sprint 7), resultPattern is defined as a property of the analysis operation - it defines the formatting that's expected to be applied to the rawValue to produce the formattedValue.
At the Sprint Review meeting on 2023-02-17, a comment was made that it might make more sense to only define formatting at the point that a result is included in a display or ARD.  This does seem to be a more logical approach.

As of 2023-05-17, this item still needs more work before we can say it should be in the Product Backlog.

This issue was mentioned again during the hackathon round-up. However, as we don't yet have metadata elements associating results with displays, there isn't yet an obvious place in the model where the display pattern for a specific result (or set of results for an operation) could be specified.

This was discussed on 2024-03-13 and it was agreed that this change will be considered for a future version of ARS because there is currently no more appropriate alternative location in the model for resultPattern.


peft==0.6.1 implicitly requires transformers>=4.30.0, but transformers version is not specified

System Info
Hi peft community,
We use peft in our project and yesterday tests started to fail in our CI with an error like:
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/peft/peft_model.py:35: in <module>
    from transformers.pytorch_utils import id_tensor_storage
E   ImportError: cannot import name 'id_tensor_storage' from 'transformers.pytorch_utils' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/transformers/pytorch_utils.py)

Line from transformers.pytorch_utils import id_tensor_storage was added in peft==0.6.1 as a part of this PR by @younesbelkada: https://github.com/huggingface/peft/pull/1101/files#diff-95787fcc5356568929e383449ade2c1bac5da43deccab17318652b62ed171ae7R35
Function id_tensor_storage was added to transformers in version 4.30.0: https://github.com/huggingface/transformers/commit/d68d6665f94f86cbd9d5f512c9d2942528661cad
So, it is required to have at least transformers==4.30.0 to use peft==0.6.1..
At the same time, peft does not set any version limits for transformers package: https://github.com/huggingface/peft/blob/main/setup.py#L46C10-L46C22
In my project's requirements.txt, we have a pinned version transformers==4.28.1. Because peft does not specify transformers version, pip is fine to install peft==0.6.1 and transformers==4.28.1, although it raises an ImportError in runtime later.
Possible solution: explicitly set transformers>=0.6.1 in setup.py.
Who can help?
@younesbelkada
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
conda create -n peft-reproduce python=3.10
conda activaate peft-reproduce
pip install transformers==4.28.1 peft==0.6.1
python
>>> import peft
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/anaconda3/envs/peft-reproduce/lib/python3.10/site-packages/peft/__init__.py", line 22, in <module>
    from .auto import (
  File "/opt/homebrew/anaconda3/envs/peft-reproduce/lib/python3.10/site-packages/peft/auto.py", line 31, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "/opt/homebrew/anaconda3/envs/peft-reproduce/lib/python3.10/site-packages/peft/mapping.py", line 23, in <module>
    from .peft_model import (
  File "/opt/homebrew/anaconda3/envs/peft-reproduce/lib/python3.10/site-packages/peft/peft_model.py", line 35, in <module>
    from transformers.pytorch_utils import id_tensor_storage
ImportError: cannot import name 'id_tensor_storage' from 'transformers.pytorch_utils' (/opt/homebrew/anaconda3/envs/peft-reproduce/lib/python3.10/site-packages/transformers/pytorch_utils.py)

### Expected behavior

`pip install` should fail if `transformers<4.30.0`

Thanks very much @minotru for reporting ! should be fixed by #1116

We'll also do a patch release soon

Hi @younesbelkada, thanks for such a fast fix!
Yet, I have a general question: why don't we specify a version range for transformers in setup.py?
Because the case with id_tensor_storage is just a one of many possible errors, when dependencies versions are not specified.

PEFT will typically be installed in conjunction with many other libraries, each with their own dependencies. If those are too restrictive when it comes to versions, it will be impossible to resolve the environment. Therefore, we strive to put as few limitations as possible on the requirements. If you are aware of anything else breaking with older transformers versions, please let us know.


Derived Ord instances do a weird substitution

 Issue by Lysxia
Tuesday Oct 27, 2020 at 21:23 GMT
Originally opened as https://github.com/antalsz/hs-to-coq/issues/176

Input:
data F a = G a a deriving (Eq, Ord)

In the definition of (<) (Ord__F_op_zl__), the comparison for the first field should use GHC.Base.compare but instead it uses Ord__F_compare:
Local Definition Ord__F_compare {inst_a} `{GHC.Base.Ord inst_a}
   : F inst_a -> F inst_a -> comparison :=
  fun a b =>
    let 'G a1 a2 := a in
    let 'G b1 b2 := b in
    match (GHC.Base.compare a1 b1) with
    | Lt => Lt
    | Eq => (GHC.Base.compare a2 b2)
    | Gt => Gt
    end.

Local Definition Ord__F_op_zl__ {inst_a} `{GHC.Base.Ord inst_a}
   : F inst_a -> F inst_a -> bool :=
  fun a b =>
    let 'G a1 a2 := a in
    let 'G b1 b2 := b in
    match (Ord__F_compare a1 b1) with
    | Lt => true
    | Eq => (a2 GHC.Base.< b2)
    | Gt => false
    end.

 Comment by lastland
Tuesday Oct 27, 2020 at 21:30 GMT

It seems that this is what GHC derives. Using GHC 8.4.3 with -ddump-deriv gives me:
(GHC.Classes.<) a_a3rDu b_a3rDv
  = case a_a3rDu of {
      Ghci1.G a1_a3rDw a2_a3rDx
        -> case b_a3rDv of {
             Ghci1.G b1_a3rDy b2_a3rDz
               -> case (GHC.Classes.compare a1_a3rDw b1_a3rDy) of
                    GHC.Types.LT -> GHC.Types.True
                    GHC.Types.EQ -> (a2_a3rDx GHC.Classes.< b2_a3rDz)
                    GHC.Types.GT -> GHC.Types.False } }

 Comment by Lysxia
Wednesday Oct 28, 2020 at 00:21 GMT

The problem is that GHC.Classes.compare got replaced with Ord__F_compare, so the Coq code doesn't even typecheck.

 Comment by lastland
Wednesday Oct 28, 2020 at 16:43 GMT

I see. That's a weird problem indeed!

 Comment by lastland
Wednesday Oct 28, 2020 at 22:06 GMT

Maybe the problem comes from here:
https://github.com/antalsz/hs-to-coq/blob/b88b3d51116b53b4ee80230e8e16a954a3dcb89b/src/lib/HsToCoq/ConvertHaskell/Declarations/Instances.hs#L253-L264
Right now, hs-to-coq doesn't have the necessary type instance resolution information to reliably detect whether the compare is a reference to its own class or to other classes, so a heuristic is used. This is one of the places the heuristic fails. A workaround is using the redefine edit or rewrite edit:
in Deriv.Ord__F_op_zl__ rewrite forall , Deriv.Ord__F_compare = GHC.Base.compare


x/tools/go/ssa/interp: broken at tip on Darwin

(part of getting subrepos green for Go 1.8)
x/tools/go/ssa/interp is failing on Darwin at master. See build.golang.org.
Example:
https://storage.googleapis.com/go-build-log/3f69822a/darwin-amd64-10_11_2c6c093b.log
Input: boundmeth.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T boundmeth.go

Input: complit.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T complit.go

Input: coverage.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T coverage.go

Input: defer.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T defer.go

Input: fieldprom.go
PASS
Input: ifaceconv.go
PASS
Input: ifaceprom.go
PASS
Input: initorder.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T initorder.go

Input: methprom.go
PASS
Input: mrvchain.go
PASS
Input: range.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T range.go

Input: recover.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T recover.go

Input: reflect.go
PASS
Input: static.go
PASS
Input: callstack.go
panic: interface conversion: interp.value is int32, not interp.structure
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -run --interp=T callstack.go

The following tests failed:
	boundmeth.go
	complit.go
	coverage.go
	defer.go
	initorder.go
	range.go
	recover.go
	callstack.go
--- FAIL: TestTestdataFiles (22.01s)
	interp_test.go:254: interp.Interpret([testdata/boundmeth.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/complit.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/coverage.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/defer.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/initorder.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/range.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/recover.go]) failed: exit code was 2
	interp_test.go:254: interp.Interpret([testdata/callstack.go]) failed: exit code was 2
FAIL
FAIL	golang.org/x/tools/go/ssa/interp	22.764s

Fixed by https://go-review.googlesource.com/c/33163/


innerRadius is not working in ios

                            <VictoryPie width={deviceWidth/2.5} height={100}
                              innerRadius={30}
                              colorScale={["#FFF112", "red", "#00AFF0"]}
                              data={this.state.chartData}
                            />

innerRadius is not working in ios. But it is working fine in Android.
I am not getting the inner edge.

Cannot reproduce in latest versions<EMAIL_ADDRESS><EMAIL_ADDRESS>


pretty sure json comes packaged with Python (and including it here me…

…sses with pip install)
https://github.com/PV-Lab/FTCP/issues/3

Thanks! You're absolutely right.


Fixed logging messages and level + comment fix.

In the function set_reddit_top_img of article.py I edited the logging messages such that they made more sense, as well as not giving it such a high logging level. We were getting critical errors about "jpeg error with PIL, timed out". However, it seemed like it was simply images.py which was having a time out issue when downloading images for dimension measuring. I don't believe it had anything to do with PIL.

Perhaps you can add an extra if clause in the except to catch the case where it's a timeout or other unimportant errors and log it as a debug. But if a serious PIL error happens (which I recall they do if a user has issues installing) we do want to log as critical.

No problem! Love to help out. Made another commit based on your feedback. Any thoughts?

Looks good to me! Thanks


Created "Simple clock" template

Thanks 😄 I will add you to the contributors list once the new release is ready.

No problem, now im working on Simple Calendar widged and i will add it soon
;) Amazing project. I am frontend developer and I was looking for a CSS
widgets. Its very cool for me.
sob., 22 lip 2023, 15:35 użytkownik Beyluta @.***>
napisał:

Thanks 😄 I will add you to the contributors list once the new release is
ready.
—
Reply to this email directly, view it on GitHub
https://github.com/beyluta/WinWidgets/pull/37#issuecomment-1646585672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANRYSGDZTLPI2CDDIIPRAXTXRPJJ5ANCNFSM6AAAAAA2T2MEVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem, now im working on Simple Calendar widged and i will add it soon ;) Amazing project. I am frontend developer and I was looking for a CSS widgets. Its very cool for me. sob., 22 lip 2023, 15:35 użytkownik Beyluta @.> napisał:
…
Thanks 😄 I will add you to the contributors list once the new release is ready. — Reply to this email directly, view it on GitHub <#37 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRYSGDZTLPI2CDDIIPRAXTXRPJJ5ANCNFSM6AAAAAA2T2MEVA . You are receiving this because you authored the thread.Message ID: @.>

Thanks :) It's been very fun working on this project for the past year since it first came out. The newest version of the app is a little unstable at the moment but I'm working on fixing it. I really appreciate any help that I can get.
If you want to make more advanced widgets and need any system features/events/hooks, feel free to open an issue and request the new feature. Thanks again!


mxnet install problem on R3.3.1

hi, I install R3.3.1 on C:\program files, and then use follow command on R console
"
install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("mxnet")
"
it is OK.
and then I use follow commands in DOS command enviroment ,
"
Rscript -e "install.packages('devtools', repo = 'https://cran.rstudio.com')"
"
and it is OK at the beginning, the log like this

C:\Program Files\R\R-3.3.1\bin\x64>Rscript -e "install.packages('devtools',
= 'https://cran.rstudio.com')"
'mime', 'curl', 'openssl', 'R6', 'httr', 'memoise', 'whisker', 'rstudioapi',
t2r', 'withr'
:
binary source needs_compilation
rstudioapi    0.5    0.6             FALSE
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/mime_0.4.zip'
Content type 'application/zip' length 37402 bytes (36 KB)
downloaded 36 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/curl_0.9.7.zip'
Content type 'application/zip' length 4394464 bytes (4.2 MB)
downloaded 4.2 MB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/openssl_0.9.4.zip'
Content type 'application/zip' length 3001944 bytes (2.9 MB)
downloaded 2.9 MB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/R6_2.1.2.zip'
Content type 'application/zip' length 271200 bytes (264 KB)
downloaded 264 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/httr_1.2.0.zip'
Content type 'application/zip' length 281275 bytes (274 KB)
downloaded 274 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/memoise_1.0.0.zip'
Content type 'application/zip' length 23310 bytes (22 KB)
downloaded 22 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/whisker_0.3-2.zip'
Content type 'application/zip' length 64713 bytes (63 KB)
downloaded 63 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/git2r_0.15.0.zip'
Content type 'application/zip' length 3040289 bytes (2.9 MB)
downloaded 2.9 MB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/withr_1.0.2.zip'
Content type 'application/zip' length 41155 bytes (40 KB)
downloaded 40 KB
URLhttps://cran.rstudio.com/bin/windows/contrib/3.3/devtools_1.12.0.zip'
Content type 'application/zip' length 431842 bytes (421 KB)
downloaded 421 KB
'mime'MD5
'curl'MD5
'openssl'MD5
'R6'MD5
'httr'MD5
'memoise'MD5
'whisker'MD5
'git2r'MD5
'withr'MD5
'devtools'MD5
    C:\Users\Administrator\AppData\Local\Temp\RtmpGa9X3W\downloaded_pack

'rstudioapi'
URLhttps://cran.rstudio.com/src/contrib/rstudioapi_0.6.tar.gz'
Content type 'application/x-gzip' length 12024 bytes (11 KB)
downloaded 11 KB
but then there is problem like following,

downloaded 421 KB

'mime'MD5
'curl'MD5
'openssl'MD5
'R6'MD5
'httr'MD5
'memoise'MD5
'whisker'MD5
'git2r'MD5
'withr'MD5
'devtools'MD5
    C:\Users\Administrator\AppData\Local\Temp\RtmpGa9X3W\downloaded_packages

'rstudioapi'
URLhttps://cran.rstudio.com/src/contrib/rstudioapi_0.6.tar.gz'
Content type 'application/x-gzip' length 12024 bytes (11 KB)
downloaded 11 KB
'C:\Program' 不是内部或外部命令，也不是可运行的程序
或批处理文件。
    'C:\Users\Administrator\AppData\Local\Temp\RtmpGa9X3W\downloaded_package

s'
Warning messages:
1: '"C:/Program Files/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R
-3.3.1\library" C:\Users\ADMINI~1\AppData\Local\Temp\RtmpGa9X3W/downloaded_packa
ges/rstudioapi_0.6.tar.gz'1
2: In install.packages("devtools", repo = "https://cran.rstudio.com") :
'rstudioapi'B0
and then I can't find the R-package, and of course can't use the following commands
"
Rscript -e "install.packages('devtools', repo = 'https://cran.rstudio.com')"
cd R-package
Rscript -e "library(devtools); library(methods); options(repos=c(CRAN='https://cran.rstudio.com')); install_deps(dependencies = TRUE)"
cd ..
make rpkg
"
what is the problem?
futthermore , may I downloat the file "mxnet_0.7.zip" directly(https://github.com/dmlc/drat/tree/gh-pages/bin/windows/contrib/3.2) and install it in R dispite above commands?
thank you help very much!

@thirdwing
may I download the file "mxnet_0.7.zip" directly(https://github.com/dmlc/drat/tree/gh-pages/bin/windows/contrib/3.2) and install it in R dispite above commands? just like install  other packages  from local files

Sorry I don't understand your problem.
You said

hi, I install R3.3.1 on C:\program files, and then use follow command on R console
"
install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("mxnet")
"
it is OK.

Since you can install it using drat, why did you try to install again using devtools?
Any specific reason?

I install Mxnet following the procedure of "http://mxnet.readthedocs.io/en/latest/how_to/build.html"(the part of R package installation), but get above problem.
and I get some information  from the following address "http://stackoverflow.com/questions/37110169/issue-in-installation-of-mxnet-package-in-r" , and get the following content
"I was able to install it successfully by first downloading its zip file from the following link
https://github.com/dmlc/drat/tree/gh-pages/bin/windows/contrib/3.2
and then installing it using RStudio."
so,  my question is that may I download the file "mxnet_0.7.zip" directly(https://github.com/dmlc/drat/tree/gh-pages/bin/windows/contrib/3.2) and install it in R after Installing pre-built packages on Windows,  just like installing other packages from local files.
thanks for your help very much!

I think you misunderstood something.
If you installed the package using drat, everything is done.
You don't need to do anything more.

thanks for your help !

Warning in install.packages :
URL 'http://dmlc.ml/drat/src/contrib/mxnet_0.7.tar.gz': status was '404 Not Found'

We don't host the R package for Linux. Only prebuilt package for Windows and OSX are host here.

Never mind. I have figured it out.
Sent from my iPhone

On Nov 17, 2016, at 4:22 PM, Qiang Kou (KK<EMAIL_ADDRESS>wrote:
We don't host the R package for Linux. Only prebuilt package for Windows and OSX are host here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dmlc/mxnet","title":"dmlc/mxnet","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dmlc/mxnet"}},"updates":{"snippets":[{"icon":"PERSON","message":"@thirdwing in #2572: We don't host the R package for Linux. Only prebuilt package for Windows and OSX are host here."}],"action":{"name":"View Issue","url":"https://github.com/dmlc/mxnet/issues/2572#issuecomment-261412354"}}}


pyglm polar?

Is is possible to get the polar coordinate extension included?
https://glm.g-truc.net/0.9.2/api/a00285.html
or is it not stable enough?

Hello Cazadorro,
the reason why experimental extensions were not included up until now, is the work that comes with their implementation.
It's simply not worth providing compatibility for a set of features that are likely to change in the future.
That said, adding support for single extensions on a one-by-one basis won't be a problem.
When I've got some spare time, I'll try to add this extension to PyGLM.
Maybe I'll even improve the documentation.
I can't promise, but I'll try.

Introduced in c2d87d674edb738ae0e59091db8eb1629a17071c


'starter packages' vs. standard package managers

Why are there 'starter packages'?
The main reason to do this is that there is currently no namespacing or clear separation between library code and user code. Obviously it's not terribly difficult to figure this distinction out, but it's pretty ugly.

From our experience with our own internal Halite competition, many users end up rewriting the "library" part of the starter packages to fit their needs. We want to emphasize that you can do this.

Ok, sure, I suppose that makes sense, but why not provide a canonical implementation and make it clear that it can be modified, forked, or not used at all? It's much easier for someone to get started with an API in place than an amorphous blob of code that they don't have ownership over. If it's obvious that the boundary for is the stdout communication protocol and this is well-documented, people can rewrite if they want, or they can fork the library.
It's not a huge deal, but as soon as I downloaded the scala package and figured out what everything was, I immediately started restructuring because I wanted my bot code namespaced away from the pre-written stuff.

Point taken. We'll consider concatenating library files into single headers/jars or putting them on package managers.


Implement KubernetesPod class

This implements the KubernetesPod class in an analogous way to KubernetesJob (in jobs.py).
Previously:
        job = KubernetesJob(
            name=job_name,
            image="mydockerimage",
            command=["/bin/bash", "-c", "--"],
            args=[command],
            cpu_request=cfg.launch.cpu_request,
            ram_request=cfg.launch.ram_request,
            gpu_type="nvidia.com/gpu",
            gpu_limit=cfg.launch.gpu_limit,
            gpu_product=cfg.launch.gpu_product,
            backoff_limit=0,
<EMAIL_ADDRESS>            namespace=cfg.launch.namespace,
            kueue_queue_name=KueueQueue.INFORMATICS,
            secret_env_vars=cfg.launch.env_vars,
            volume_mounts={
                "nfs": {"mountPath": "/nfs", "server": "<IP_ADDRESS>", "path": "/"}
            },
        )

Now:
        pod = KubernetesPod(
            name=pod_name,
            image="mydockerimage",
            command=["/bin/bash", "-c", "--"],
            args=[command],
            cpu_request=cfg.launch.cpu_request,
            ram_request=cfg.launch.ram_request,
            gpu_type="nvidia.com/gpu",
            gpu_limit=cfg.launch.gpu_limit,
            gpu_product=cfg.launch.gpu_product,
<EMAIL_ADDRESS>            namespace=cfg.launch.namespace,
            secret_env_vars=cfg.launch.env_vars,
            volume_mounts={
                "nfs": {"mountPath": "/nfs", "server": "<IP_ADDRESS>", "path": "/"}
            },
        )

The main reason for implementing this is just because pods are a simpler level of abstractions to manage. They don't stay alive or force restars/retries if parameters are set badly.

Testing these things is not straightforward due to the cluster needing to be there for a proper test.
Can you add some 'example scripts' that you pretest so we know this all works? :)

Can you add some 'example scripts' that you pretest so we know this all works? :)

Done ✅
I've added a script in examples/example_pod.py and updated the README.
Does as expected when run:
$ > kubectl logs -f pod/pod-test-info-40gb-full-20240520

Filesystem      Size  Used Avail Use% Mounted on
overlay         1.6T  709G  843G  46% /
tmpfs            64M     0   64M   0% /dev
tmpfs           449G     0  449G   0% /sys/fs/cgroup
<IP_ADDRESS>:/    24T   17T  6.8T  72% /nfs
tmpfs           1.0G     0  1.0G   0% /dev/shm
/dev/vda1       1.6T  709G  843G  46% /etc/hosts
tmpfs           1.0G   12K  1.0G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs           449G   12K  449G   1% /proc/driver/nvidia
tmpfs            90G  1.6G   89G   2% /run/nvidia-persistenced/socket
tmpfs           449G     0  449G   0% /proc/acpi
tmpfs           449G     0  449G   0% /proc/scsi
tmpfs           449G     0  449G   0% /sys/firmware

Shows NFS mapping is working and I've also tested the GPU allocation is working as expected.

Excellent. I'll merge this now.


4 mail chimp shortcode on home page

https://github.com/space-pirate-productions/chapmancommunities/issues/4
set homepage signup background size to "cover"
Closes: #5

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


Small string changes to make them more user-friendly

I tried to go through and update some English strings to remove technical language. I changed "Face recognition" (the button title) to just Faces to prevent wrapping on standard screen sizes.

Yes, this sounds way nicer. Thanks for the pull request!


Update metadata files for renamed files

I forgot to do this along the way. I'll add this to my rename checklist.

@mhdostal Thank you!


Fix BS4 active state in tabs and dropdown items

This is waiting for the BS4 beta to see how they resolve the known active issues.
From #206,

Why aren't default tabs initial state outlined properly? Diagnosis: The active class needs to go on the element with the nav-link rather than the nav-item. See this and this.

Change 1caa0ebb2c9aabfb9c0f9896301b1a00a532ee82 has a little leakage of BS4 classes into common templates with nav-link. To fix the active state issue, there's even more. However, it's a pretty complex template to duplicate and i'm not sure refactoring out a new component is worth it.
The same kind of issue exists with dropdown items within a nav.

With all the latest changes to BS4 beta support, I think this should be fixed by now, so closing this...


[comp:modal] 期望modal会自动计算z-index, 后出现的弹窗会在前一个弹窗的基础上 z-index + 1

[x] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?
解决弹窗重叠的问题
What does the proposed API look like?
idx的modal会自动计算z-index, 后出现的弹窗会在前一个弹窗的基础上 z-index   1

7月18号之前解决


How can I use yoga in Svelte ?

In the browser you should usually rely on CSS directly, but there are instructions in the link related to a browser distribution of Yoga. It is not currently installable on Node 12+ though, which is tracked by other issues in the repo.


Mobile device commands : ERROR: 500: Internal Error

Hello,
I'm having troubles with the GAM command "gam delete mobile  "
All other gam commands I'm running are working flawlessly (except the one for mobile devices, info / update / delete).
I tried with different GAM (my colleagues are all using different project) all the same result.
YES * I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
YES * I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki
Expected outcome (what are you trying to do?): Remove a mobile from an user / the domain
Actual outcome (what errors or bad behavior do you see instead?):
C:\Users\MichaelDS\tools\gam>gam delete mobile 3f9d3b7d3d43c2b0
Temporary error: internalError, Backing off: 16 seconds, Retry: 4/10
Temporary error: internalError, Backing off: 32 seconds, Retry: 5/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 6/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 7/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 8/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 9/10
ERROR: 500: Internal Error - internalError
Additional info :
C:\Users\MichaelDS\tools\gam>gam oauth info
OAuth File: C:\Users\MichaelDS\tools\gam\oauth2.txt
Client ID:
Secret:
Scopes (28):
https://apps-apis.google.com/a/feeds/emailsettings/2.0/
https://www.googleapis.com/auth/admin.datatransfer
https://www.googleapis.com/auth/admin.directory.customer
https://www.googleapis.com/auth/admin.directory.device.chromeos
https://www.googleapis.com/auth/admin.directory.device.mobile
https://www.googleapis.com/auth/admin.directory.domain
https://www.googleapis.com/auth/admin.directory.group
https://www.googleapis.com/auth/admin.directory.notifications
https://www.googleapis.com/auth/admin.directory.orgunit
https://www.googleapis.com/auth/admin.directory.resource.calendar
https://www.googleapis.com/auth/admin.directory.rolemanagement
https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/admin.directory.user.security
https://www.googleapis.com/auth/admin.directory.userschema
https://www.googleapis.com/auth/admin.reports.audit.readonly
https://www.googleapis.com/auth/admin.reports.usage.readonly
https://www.googleapis.com/auth/apps.groups.settings
https://www.googleapis.com/auth/apps.licensing
https://www.googleapis.com/auth/apps.order
https://www.googleapis.com/auth/classroom.courses
https://www.googleapis.com/auth/classroom.guardianlinks.students
https://www.googleapis.com/auth/classroom.profile.emails
https://www.googleapis.com/auth/classroom.profile.photos
https://www.googleapis.com/auth/classroom.rosters
https://www.googleapis.com/auth/cloudprint
https://www.googleapis.com/auth/plus.me
https://www.googleapis.com/auth/pubsub
https://www.googleapis.com/auth/userinfo.email
G Suite Admin<EMAIL_ADDRESS>Please help :)
Regards,
Michaël

please post this in the discussion forum.
git.io/gam-group

Michaël,
You're using a deviceId, you need to be using a resourceId; they look like
this: xxx
xQ_1Y6FEclyN7m262TzQLAq7_bYXgW17G6R19yOaRu4WF6EuwlU_HNu3Uk4KoYnzXRiuGKn02Ir4Ut_WystG9Ig5qN7wkbB8fzgZ2WQxbzNGh4lxxxx
Ross
On Thu, Jul 26, 2018 at 6:57 AM Mike-DS<EMAIL_ADDRESS>wrote:

Hello,
I'm having troubles with the GAM command "gam delete mobile "
All other gam commands I'm running are working flawlessly (except the one
for mobile devices, info / update / delete).
I tried with different GAM (my colleagues are all using different project)
all the same result.
YES * I have upgraded to the latest GAM release from
https://git.io/gamreleases and I still have this issue.
YES * I am typing the command as described in the GAM Wiki at
https://github.com/jay0lee/gam/wiki
Expected outcome (what are you trying to do?): Remove a mobile from an
user / the domain
Actual outcome (what errors or bad behavior do you see instead?):
C:\Users\MichaelDS\tools\gam>gam delete mobile 3f9d3b7d3d43c2b0
Temporary error: internalError, Backing off: 16 seconds, Retry: 4/10
Temporary error: internalError, Backing off: 32 seconds, Retry: 5/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 6/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 7/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 8/10
Temporary error: internalError, Backing off: 60 seconds, Retry: 9/10
ERROR: 500: Internal Error - internalError
Additional info :
C:\Users\MichaelDS\tools\gamVeolia-3>gam oauth info
OAuth File: C:\Users\MichaelDS\tools\gam\oauth2.txt
Client ID:
Secret:
Scopes (28):
https://apps-apis.google.com/a/feeds/emailsettings/2.0/
https://www.googleapis.com/auth/admin.datatransfer
https://www.googleapis.com/auth/admin.directory.customer
https://www.googleapis.com/auth/admin.directory.device.chromeos
https://www.googleapis.com/auth/admin.directory.device.mobile
https://www.googleapis.com/auth/admin.directory.domain
https://www.googleapis.com/auth/admin.directory.group
https://www.googleapis.com/auth/admin.directory.notifications
https://www.googleapis.com/auth/admin.directory.orgunit
https://www.googleapis.com/auth/admin.directory.resource.calendar
https://www.googleapis.com/auth/admin.directory.rolemanagement
https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/admin.directory.user.security
https://www.googleapis.com/auth/admin.directory.userschema
https://www.googleapis.com/auth/admin.reports.audit.readonly
https://www.googleapis.com/auth/admin.reports.usage.readonly
https://www.googleapis.com/auth/apps.groups.settings
https://www.googleapis.com/auth/apps.licensing
https://www.googleapis.com/auth/apps.order
https://www.googleapis.com/auth/classroom.courses
https://www.googleapis.com/auth/classroom.guardianlinks.students
https://www.googleapis.com/auth/classroom.profile.emails
https://www.googleapis.com/auth/classroom.profile.photos
https://www.googleapis.com/auth/classroom.rosters
https://www.googleapis.com/auth/cloudprint
https://www.googleapis.com/auth/plus.me
https://www.googleapis.com/auth/pubsub
https://www.googleapis.com/auth/userinfo.email
G Suite Admin<EMAIL_ADDRESS>Please help :)
Regards,
Michaël
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/767, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8L4f27k0LI8haB4j7RnCmGamnURoUks5uKcq2gaJpZM4Vh3lo
.

--
Ross Scroggs
<EMAIL_ADDRESS>


durandal-v1:Bootloader

Change PID to 0x4b:
Holybro obtained their own PID and VID but APM did not follow
the PX4 convention of makeing the board_id (0x8b) match the PID)
Incorporated the Upstream Bootloader state sequencing checking change.
Change the usb cout to send all chars in 1 write.
@bkueng   - Please test on your machine. FYI @LorenzMeier

No offence, but looks like APM is also 0x4b:
https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL_ChibiOS/hwdef/Durandal/hwdef-bl.dat

@bys1123 None taken - just stating the facts that we had to change the PX4 USB configuration to match.
The PID is the the USB Product ID that Holybro registered.
The BOARD_TYPE aka (board_id) is the PX4 firmware ID.
PX4 has been making the value the same for a all FMUv5 and up.

Get it, Thanks!

@davids5 Is that some major differents between opencm3 bootloader and nuttx-based bootloader?

yes. Why do you ask?

@davids5 Some Chinese companies are starting developments on Durandal, or porting PX4 to other H7 chips to fit their autopilots. So they hope to know what they should take care on nuttx bootloader. Especially some of them is used to opencm3 bootloader, so if there are some quick guide they glad to know it.

@bys1123
There is no STM32H7 support in the opencm3.  So there is no PX4 H7 opencm3 bootloader.
There have been major changes in the bootloader (the repos on Bootloader and the addition of the H7 bootloader located in Firmware)
Companies should monitor all pull request on the Bootloader and Firmware git Repositories.
To be able to update the files they are installing on products when changes are made.
When updates are made to the bootloader on either the Bootloader or Firmware Repo. Companies should pull and build the latest bootloader - then install them on one or two units and verify that:
1) make upload - works
2) QGC - works
3) Any other tools they use still work
If Companies run into any problems they should file an Issue in the repo and assign it to me (@davids5).
If all the tests pass then the company should use then new set of files in their production.

Thanks!


Bump x/sys to support Risc-V architecture

What does this PR do?
Updating projects using libraries that were recently updated to support Risc-V architecture.
Go upstream work is tracked on: golang/go#27532
Risc-V software support tracker on https://github.com/carlosedp/riscv-bringup
Motivation
Run Traefik on Risc-V architecture.

Thanks.
The current dev branch is v2, in the v2 we use go modules.
FYI, the current effective version, in the v2 branch, of golang.org/x/sys is v0.0.0-20190507160741-ecd444e8653b
So could you reset your changes, rebase your current branch on the branch v2, and redo your changes by using go modules.

Done!

/hold

@ldez please await a bit for merging. Testing this on another platform to be sure.


nixos/antennas: add service

Motivation for this change
HDHomeRun emulator for Plex DVR to connect to Tvheadend.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@aanderse @SuperSandro2000 I was finally able to resolve the yarn2nix issue that failed the Basic evaluation checks. It's all ready from my side now.


chore: export LogEntry from jest-console

Summary
As discussed here @SimenB

@SimenB thank you, much appreciated 🙇

@SimenB thank you, much appreciated 🙇


[windows] Generating Signed APK not working

sorry for my English, this is my first issues
Trying to create a production apk
I can run perfect react-native start / react-native run-android and it works great

SO: windows 10
node: 4.2.2
npm: 2.14.7
react-native: 0.1.7

I followed this tutorial completely accurate https://facebook.github.io/react-native/docs/signed-apk-android.html#content
1- the key gender [ok]

2- Edit the file ~/.gradle/gradle.properties [ok]

3- Adding signing config to your app's gradle config (android/app/build.gradle)

launch command ./gradlew assembleRelease

The error is as follows

did not find the command-native react

then we change the absolute path
    // set up the call to the react-native cli
    workingDir reactRoot
    commandLine "C:/Users/yo/AppData/Roaming/npm/react-native.cmd", "bundle", "--platform", "android", "--dev", "false", "--entry-file",
            entryFile, "--bundle-output", jsBundleFileRelease, "--assets-dest", resourcesDirRelease

in this case, it fails. It is infinite loading
:app:prepareComFacebookReactReactNative0140Library UP-TO-DATE
:app:prepareComGoogleAndroidExoplayerExoplayerR151Library UP-TO-DATE
:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:app:prepareReleaseDependencies
:app:compileReleaseAidl UP-TO-DATE
:app:compileReleaseRenderscript UP-TO-DATE
:app:generateReleaseBuildConfig UP-TO-DATE
:app:generateReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets UP-TO-DATE
:app:generateReleaseResValues UP-TO-DATE
:app:generateReleaseResources UP-TO-DATE
:app:mergeReleaseResources UP-TO-DATE
> Building 79% > :app:bundleReleaseJsAndAssets

test without key file (is exactly the same)
After testing several commands.
./gradlew --info assembleRelease

If I wait long at the end I get an error

i have same issue like you.

i have same issue like you.

Same issue here.

I'll take a look at this.

it seem still not work

same here

* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'cmd'' finished with non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:bundleReleaseJsAndAssets'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.ja

i found tempolary for myown : you can refer here #4170

some, like

About the issue part 2, #4071 works for me.

oh. thank you. this work for me too. it's better than my solution . i tried add //pipe/ but it not work , maybe i add it not right (so stupid)

unified solutions
https://github.com/danhanfry/react-native-windows-apk

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/windows-generating-signed-apk-not-working
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Compare FreeREG2 Quality Control functions with FreeCEN2 needs

Compare FreeREG2 Quality Control functions with FreeCEN2 needs and specify issues for subsequent milestones.

discussion to be scheduled

Quality control helps not only researchers, but also transcribers, who are reassured, particularly with difficult transcriptions, that they alone are not responsible for the quality of their work.

I think this story has been completed in the Policy Group discussions.  We need to ensure that stories now exist (with appropriate milestones) for all the quality control functions which are desired for FreeCEN2.

Functions are listed at #84.

#84 and #85 now replace this


Cancel button cilck clean JTable view

https://github.com/shuntakeuch1/kotlin-mybatis-entity-generator/pull/6


what is the current version of Invoke-CMApplyDriverPackage

I see a 4.0.0 but it simply contains several ###  So what is new/updated/fixed in this version?  Thanks in advance,

The deployment scripts are maintained here - https://github.com/MSEndpointMgr/ModernDriverManagement


fix u3m_water obo

Resolves #372

@joemfb missed the change in semantics -- had just assumed u3m_water was always being called with posts

@joemfb Maybe I'm missing something. why not simply *low_w = u3R->hat_p? This is equal to u3a_heap(u3R) u3C.walign_w. i.e. why are you subtracting 1 in *low_w = u3R->hat_p - 1?.

@ashelkovnykov can you reset your vote? Can't merge I think until you do


[BUG] new node join to cluster, upgrading with 100+ apply-hvst-upgrade pods.

Describe the bug

$ kubectl get nodes -o wide
NAME    STATUS   ROLES                       AGE   VERSION          INTERNAL-IP    EXTERNAL-IP   OS-IMAGE           KERNEL-VERSION                 CONTAINER-RUNTIME
hv-n0   Ready    control-plane,etcd,master   45h   v1.24.7+rke2r1   <IP_ADDRESS>   <none>        Harvester v1.1.1   5.3.18-150300.59.101-default   containerd://1.6.8-k3s1
hv-n1   Ready    <none>                      42h   v1.24.7+rke2r1   <IP_ADDRESS>   <none>        Harvester v1.1.1   5.3.18-150300.59.101-default   containerd://1.6.8-k3s1

$ kubectl get jobs  -A
NAMESPACE                  NAME                                                              COMPLETIONS   DURATION   AGE
cattle-monitoring-system   rancher-monitoring-admission-create                               1/1           2m37s      43h
cattle-system              apply-hvst-upgrade-mzr2w-prepare-on-hv-n1-with-a43953579a-d70ed   0/1           2m21s      2m21s
harvester-system           default-vlan1                                                     1/1           2s         44h
harvester-system           hvst-upgrade-mzr2w-apply-manifests                                1/1           102s       43h
harvester-system           hvst-upgrade-mzr2w-single-node-upgrade-hv-n0                      1/1           10m        43h
harvester-system           hvst-upgrade-xkpcm-apply-manifests                                0/1           43h        43h
harvester-system           hvst-upgrade-xkpcm-single-node-upgrade-hv-n0                      1/1           30m        43h
kube-system                helm-install-rke2-canal                                           1/1           7s         42h
kube-system                helm-install-rke2-coredns                                         1/1           13s        43h
kube-system                helm-install-rke2-ingress-nginx                                   1/1           17s        98m
kube-system                helm-install-rke2-metrics-server                                  1/1           20s        43h
kube-system                helm-install-rke2-multus                                          1/1           13s        43h
longhorn-system            longhorn-post-upgrade                                             1/1           3m7s       43h

$  kubectl logs  jobs/apply-hvst-upgrade-mzr2w-prepare-on-hv-n1-with-a43953579a-d70ed -n cattle-system  -f
Found 14 pods, using pod/apply-hvst-upgrade-mzr2w-prepare-on-hv-n1-with-a43953579a-5rb2x
+++ dirname /usr/local/bin/upgrade_node.sh
++ cd /usr/local/bin
++ pwd
+ SCRIPT_DIR=/usr/local/bin
+ source /usr/local/bin/lib.sh
++ UPGRADE_NAMESPACE=harvester-system
++ UPGRADE_REPO_URL=http://upgrade-repo-hvst-upgrade-mzr2w.harvester-system/harvester-iso
++ UPGRADE_REPO_VM_NAME=upgrade-repo-hvst-upgrade-mzr2w
++ UPGRADE_REPO_RELEASE_FILE=http://upgrade-repo-hvst-upgrade-mzr2w.harvester-system/harvester-iso/harvester-release.yaml
++ UPGRADE_REPO_SQUASHFS_IMAGE=http://upgrade-repo-hvst-upgrade-mzr2w.harvester-system/harvester-iso/rootfs.squashfs
++ UPGRADE_REPO_BUNDLE_ROOT=http://upgrade-repo-hvst-upgrade-mzr2w.harvester-system/harvester-iso/bundle
++ UPGRADE_REPO_BUNDLE_METADATA=http://upgrade-repo-hvst-upgrade-mzr2w.harvester-system/harvester-iso/bundle/metadata.yaml
++ CACHED_BUNDLE_METADATA=
++ HOST_DIR=/host
+ UPGRADE_TMP_DIR=/host/usr/local/upgrade_tmp
+ mkdir -p /host/usr/local/upgrade_tmp
+ case $1 in
+ command_prepare
+ wait_repo
+ local repo_vm_status
++ kubectl get virtualmachines.kubevirt.io upgrade-repo-hvst-upgrade-mzr2w -n harvester-system '-o=jsonpath={.status.printableStatus}'
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-mzr2w" not found
+ repo_vm_status=

$ kubectl logs jobs/hvst-upgrade-xkpcm-apply-manifests  -n harvester-system
...
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found

To Reproduce

create a new cluster of v1.0.2, single node-0.
setup backup nfs.  load all old vm-backup
restore 1 vm-backup to test env. restore success
upgrade cluster to  v1.0.3, success
test restore, success
upgrade cluster to v1.1.1, success
install a new node-1 of v1.1.1, join cluster, success
restore vm to node-1, success

after a day running, i found node-1 full of err pods.  I tried:

delete all error pod.  All pods recreated in 1min.
delete  jobs/apply-hvst-upgrade-mzr2w-prepare-on-hv-n1-with-a43953579a-d70ed. It's recreated.

Maybe delete jobs/hvst-upgrade-xkpcm-apply-manifests , tomorrow.
Expected behavior
node-1 should not be upgraded, it's already v1.1.1
Environment

Harvester ISO version:  v1.1.1
Underlying Infrastructure: dell r750

This is fixed in 1.1.0: https://github.com/harvester/harvester/pull/2918.
But plans existing in previous versions need to be clean manually.
Could you list plans and upgrdaes:
kubectl get plans.upgrade.cattle.io -A
kubectl get upgrades.harvesterhci.io -A -o yaml

Thanks, you can try delete the previous upgrade:
kubectl delete upgrades.harvesterhci.io hvst-upgrade-mzr2w -n harvester-system

And check if the plan hvst-upgrade-mzr2w-prepare is gone.

After delete the upgrade, plan gone.
After hand delete all error pods, no more new pods come out
$ kubectl delete upgrades.harvesterhci.io hvst-upgrade-mzr2w -n harvester-system
success

$ kubectl get -A plan
NAMESPACE       NAME                            AGE
cattle-system   sync-additional-ca              2d21h
cattle-system   sync-containerd-registry        2d21h
cattle-system   system-agent-upgrader           2d22h
cattle-system   system-agent-upgrader-windows   2d21h

But there is another old upgrade.
$ kubectl get -A upgrades.harvesterhci.io
NAMESPACE          NAME                 AGE
harvester-system   hvst-upgrade-xkpcm   2d21h

$ kubectl get jobs -A
NAMESPACE                  NAME                                           COMPLETIONS   DURATION   AGE
cattle-monitoring-system   rancher-monitoring-admission-create            1/1           2m37s      2d21h
harvester-system           default-vlan1                                  1/1           2s         2d22h
harvester-system           hvst-upgrade-xkpcm-apply-manifests             0/1           2d21h      2d21h
harvester-system           hvst-upgrade-xkpcm-single-node-upgrade-hv-n0   1/1           30m        2d21h
kube-system                helm-install-rke2-canal                        1/1           7s         2d20h
kube-system                helm-install-rke2-coredns                      1/1           13s        2d21h
kube-system                helm-install-rke2-ingress-nginx                1/1           17s        27h
kube-system                helm-install-rke2-metrics-server               1/1           20s        2d21h
kube-system                helm-install-rke2-multus                       1/1           13s        2d21h
longhorn-system            longhorn-post-upgrade                          1/1           3m7s       2d21h

$ kubectl logs jobs/hvst-upgrade-xkpcm-apply-manifests -n harvester-system  -f
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Error from server (NotFound): virtualmachines.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found
Try to bring up the upgrade repo VM...
Error starting VirtualMachine virtualmachine.kubevirt.io "upgrade-repo-hvst-upgrade-xkpcm" not found

kubectl delete upgrades.harvesterhci.io hvst-upgrade-xkpcm -n harvester-system
upgrade.harvesterhci.io "hvst-upgrade-xkpcm" deleted

new problem
World is clean, but it seems all the Phase-5 clean-up tasks had not done.
For example, there should be 2 addons installed. but nothing now.
Any scripts to run clean-up/post-job by hand?

addon still disappear.
main upgrade ok.


After update from 2.3 consul kv seems not to be recognized.

Do you want to request a feature or report a bug?

Bug

What did you do?
I have updated Traefik from version 2.3 to 2.4, i received the fallowing error after the update:
connot build the configuration field not found node: providerName=consul

What did you expect to see?
That things will still work, i looked in the docs and did not see any changes to this.
What did you see instead?
The error described , and 404 on the request.
Output of traefik version: (What version of Traefik are you using?)

Version:      2.4.2
Codename:     livarot
Go version:   go1.15.7
Built:        2021-02-02T17:20:41Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
[entryPoints]
    [entryPoints.http]
		address = ":80"
	[entryPoints.traefik]
		address = ":8081"
	[entryPoints.metrics]
		address = ":8082"
[metrics]
  [metrics.prometheus]
    entryPoint = "metrics"
[api]
    dashboard = true
    insecure  = true
	[providers.consulCatalog]
		prefix = "traefik"
		exposedByDefault = false
		constraints = "Tag(`nid=something`)"
		[providers.consulCatalog.endpoint]
			address = "example.com:8500"
			scheme  = "http"
			token = "something"
	[providers.consul]
		endpoints = ["example:8500"]
		rootKey = "traefik"

Hello,
could you provide the full line of log?

sure , here it is :
time="2021-02-08T19:10:19Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.toml"
time="2021-02-08T19:10:20Z" level=error msg="Cannot build the configuration: field not found, node: " providerName=consul
time="2021-02-08T19:10:20Z" level=error msg="KV connection error: field not found, node: , retrying in 462.318748ms" providerName=consul
time="2021-02-08T19:10:21Z" level=error msg="KV connection error: field not found, node: , retrying in 492.389441ms" providerName=consul
time="2021-02-08T19:10:22Z" level=error msg="KV connection error: field not found, node: , retrying in 1.142114207s" providerName=consul

"2021-02-08T19:10:20Z" level=error msg="Cannot build the configuration: field not found, node: " providerName=consul

This message means that you have an invalid configuration inside Consul, it's related to the dynamic configuration stores into your KV.
the node name is empty because Traefik is not able to understand your configuration.

Yes, i got this, but why does it work in 2.3 ?


Size doesn't work

Size doesn't work
let code = qr.image(text, {type: 'png', size: 10});

Any solution?


Add internationalization

NextJS internationalization
German and Danish requested.

I added support for internationalization to branch intl. It still needs to be checked over though! A couple of volunteers are working on the translations.

Open a PR if you're ready for a code review! A PR highlights the code changes quite conveniently :)

Done! Thank you :)

Is there a language switcher widget somewhere that I'm missing? Or how does it decide what localized url to redirect to?

Yeah, sorry, the [] is for nextjs magic routing. I love visual studio code. I used vim throughout school and switched to visual studio code when I started doing web development. I think my .vscode file is in this repo. I should really remove that!

OK thanks, I was just wondering.
I do use Visual Studio as my IDE for C++ development but for small projects on the side like this I start out with my regular vim editor that I've been using for a long time. It does open the file when I open it from a file explorer, it's just that the file explorer built into vim doesn't show any contents for that directory. Now that I know I can pay attention to it.

Ok, got it 👍

it's just that the file explorer built into vim doesn't show any contents for that directory.

I didn't even know vim had a file explorer!

but for small projects on the side like this I start out with my regular vim editor that I've been using for a long time.

I always find it interesting how different people program in different ways. Depending on how you start (or even when you start), it can be totally different.

Lol, I chose NextJS on a whim instead of picking the right framework for the project. Now we're living with the fallout!


Running a script with harmony flag

Hi, I tried adding args: ['harmony'] but this had no effect, I found that to get a node script to run with the harmony flag I had to modify command:
var child = new (forever.Monitor)(this.options.filePath, {
	sourceDir: this.options.basePath,
	watchDirectory: this.options.basePath,
	command: 'node --harmony'
});

Am I missing something here? This feels a bit hacky..

Nope. That's correct.


./scripts/install   fail

you should list all the dependancies for the software.
With try and error I found at least:
$ sudo apt install golang golang-github-mattn-go-sqlite3-dev golang-github-beevik-etree-dev
Now running
./scripts/install
I got this error:
../../gpx.go:8:2: cannot find package "github.com/beevik/etree" in any of:
	/usr/lib/go-1.11/src/github.com/beevik/etree (from $GOROOT)
	/home/efa/go/src/github.com/beevik/etree (from $GOPATH)

the etree package is installed.
These two env vars are undefined in golang 1.11
Debian10

as default I had
GO111MODULE=auto
setting:
export GO111MODULE="on"
solved the install

is there an alternative method to "Huawei Backup App" for user of other brand of mobiles (Backup App doesn't install)?


cc and cw in issq_cwt

Suppose that we have a highly non-sinusoidal wave that is composed of multiple waves.
Assuming that we know the frequency range that we are interested in, how should we define cc and cw in issq_cwt so the reconstructed signal only contains the components in he frequency range of interest. An illustrative example will be helpful.

We can first do ridge extraction, visualize, then invert over region of interest. Ridge ext examples, inversion example. I might be able to help better if asking with an example, on SE.

Thanks for your response.
As you recommended, I asked my question here. I'll appreciate your response.

I started writing a tool for this, don't know when will finish. Some explanation + link at this post.


smtp server

I plan to write an smtp server that writes into camlistore.

cf http://www.catb.org/jargon/html/Z/Zawinskis-Law.html

@josephholsten, yes, I'm well aware of that.

@bradfitz, is the goal to have a fully functional smtp server with the ability to compose emails (in the camlistore UI), or would camlistore simply act as an archive? I've had aspirations to write my own smtp server for a while now for the purpose of a standalone email solution, so this peeked my interest.

@kylewolfe I think the idea is that we could import items into camli by emailing them to the server, similar to how you can email a document into instapaper

I should close this bug until this is more well defined.

@lindner just asked for this today.


Queries not backed by indexes in CentrelineDAO

What Happened
As part of load-testing for #474 , it was discovered that several queries in CentrelineDAO aren't backed by indexes.  This results in higher latency and lower requests-per-second (RPS) for corresponding endpoints.
What Should Happen
These queries should be backed by indexes.
Additional Notes
From load-testing logs, we see getLocationByFeature capping out at ~50 RPS, well below the numbers expected for such a straightforward query:
results/getLocationByFeature_max.json   50.95   17924   0
results/getLocationByFeature_pct20.json 9.92    872     0
results/getLocationByFeature_pct25.json 14.81   1160    0
results/getLocationByFeature_pct30.json 14.81   1276    0
results/getLocationByFeature_pct35.json 19.77   998     0
results/getLocationByFeature_pct40.json 19.93   690     0
results/getLocationByFeature_pct45.json 23.85   723     0
results/getLocationByFeature_pct50.json 24.73   901     0
results/getLocationByFeature_pct55.json 28.79   1544    0
results/getLocationByFeature_pct60.json 29.86   1174    0
results/getLocationByFeature_pct65.json 32.19   759     0
results/getLocationByFeature_pct70.json 34.6    836     0
results/getLocationByFeature_pct75.json 36.92   844     0
results/getLocationByFeature_pct80.json 39.79   815     0

The culprits appear to be gis.centreline (geo_id) and gis.centreline_intersection (int_id), both of which are missing indexes.

Before changes:
results/getLocationByFeature_max.json   50.95   17924   0
results/getLocationByFeature_pct20.json 9.92    872     0
results/getLocationByFeature_pct25.json 14.81   1160    0
results/getLocationByFeature_pct30.json 14.81   1276    0
results/getLocationByFeature_pct35.json 19.77   998     0
results/getLocationByFeature_pct40.json 19.93   690     0
results/getLocationByFeature_pct45.json 23.85   723     0
results/getLocationByFeature_pct50.json 24.73   901     0
results/getLocationByFeature_pct55.json 28.79   1544    0
results/getLocationByFeature_pct60.json 29.86   1174    0
results/getLocationByFeature_pct65.json 32.19   759     0
results/getLocationByFeature_pct70.json 34.6    836     0
results/getLocationByFeature_pct75.json 36.92   844     0
results/getLocationByFeature_pct80.json 39.79   815     0

After changes, a speedup of nearly 20x:
results/getLocationByFeature_max.json   951.3   9994    0
results/getLocationByFeature_pct20.json 191.32  13      0
results/getLocationByFeature_pct25.json 229.96  84      0
results/getLocationByFeature_pct30.json 277.72  56      0
results/getLocationByFeature_pct35.json 325.16  38      0
results/getLocationByFeature_pct40.json 381.84  27      0
results/getLocationByFeature_pct45.json 417.41  43      0
results/getLocationByFeature_pct50.json 476.65  11      0
results/getLocationByFeature_pct55.json 508.57  166     0
results/getLocationByFeature_pct60.json 555.63  103     0
results/getLocationByFeature_pct65.json 619.61  18      0
results/getLocationByFeature_pct70.json 665.08  483     0
results/getLocationByFeature_pct75.json 696.91  140     0
results/getLocationByFeature_pct80.json 757.39  25      0


Presort transactions that will get auto-rejected from flashbots

Flashbots filters transactions and will reject them if they use these:
// Functions that never need protection
var allowedFunctions = map[string]bool{
	"a9059cbb": true, // transfer
	"23b872dd": true, // transferFrom
	"095ea7b3": true, // approve
	"2e1a7d4d": true, // weth withdraw
	"d0e30db0": true, // weth deposit
	"f242432a": true, // safe transfer NFT
}

see https://github.com/flashbots/rpc-endpoint/blob/main/server/whitelist.go#L5-L12
anything with OpeanSea also will get rejected (pretty sure)

Surely this is just for the RPC endpoint, not the bundle/searcher interface? I can't imagine Flashbots rejects all bundles that contain any of these transactions.


Children

Hello,
Is it possible to have children of a object in a tree collection?

You mean have a collection underneath another collection? If so then unfortunately not. You can't currently put anything under another collection other than the collections entities.

Yes that's what i mean. Thanks for the great packaged anyway.


Organize notebooks into logical groups #273

Why are these changes needed?

Addressing #273 . This improves organization of notebooks to improve readability. Also adds links to newly added notebooks.

Related issue number
Should close #273
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report

Merging #288 (cde836d) into main (bed85a3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   43.24%   43.24%
=======================================
  Files          17       17
  Lines        2146     2146
  Branches      487      487
=======================================
  Hits          928      928
  Misses       1134     1134
  Partials       84       84

Flag
Coverage Δ

unittests
43.24% <ø> (ø)

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


Research: CrosslinkCommittee Data Structure Does Not Exist in the Spec

Description
As an implementor, I want to know what the CrosslinkCommittee data structure is used for in Artemis, as it does not exist in the Beacon Chain spec. Having documentation explaining the data structures that exist in Artemis that are not mentioned in the spec is beneficial in maintaining the client.
Acceptance Criteria

The usage of CrosslinkCommittee is understood, and the name is updated as appropriate for the v0.7.1 version of the spec.

Is this still an issue @schroedingerscode ?

Thankfully CrosslinkCommittee was nixed from the spec.