Chat/Rewards not connecting to server

I've been using the minigame for a few months now on stream, but suddenly as of a week ago, my chat can't spawn fighters anymore. I was messing around with it today, even did a fresh reinstalled, yet still nothing fixed it...
The debug players spawn fine, it's just the connection to chat itself isn't working/when looking at the rewards tab it shows Unknown even after just setting up basic rewards.
Hope you can help me out, my chat and I really enjoy these fighters compared to others, thank you!

Hey @sameethan1 , first off, thanks for using my hackathon project!
I am not sure what the issue could be, but here are some steps to try to resolve connecting to chat:

Check if your chat verification settings or "followers only mode" are preventing your chat bot account from sending messages.
Reauth:  Delete .usertokens.json and .chatbottokens.json, auth both streamer account and chat bot account, then restart the server.
Try using a different Twitch account for the chat bot to see if that connects.
Try making another Twitch Developer App and use those app secrets.

Also, I think there were issues with some Twitch services around that time, so there may have been weird tokens or state happening, so clearing the token files may fix some weird states.
As for the "Unknown" in the reward map, it's is a bug with the control panel when the server just started. Refreshing the control panel should fix and show the proper redemption names.

Hi, sorry for the LATE reply, I've been busy with work and just got around to being able to test the solutions...

I double checked verification and followers only are off, along with any other weird stuff on that page.
I have reconnected usertoken and chatbot multiple times
I made a new twitch account to use as chatbot
I made a new dev app with secrets

Sadly, none of those fixed the issue of allowing the server to connect to chat/read they are using channel points to spawn fighters.

Hey, no worries!
There was a similar issue soon after yours was first posted, and the solution seems to be to download ngrok, create an account, and set the authtoken. I updated the readme to include the ngrok portion: https://github.com/jayther/hackathon-overlay-minigame#ngrok
Let me know if this solves it for you.

After downloading and running ngrok once, it did fix the issue!
I was getting a new error about "custom reward created by different client/channel points not available for broadcaster" but I just remade the rewards and it running smoothly again.
I was wondering though, if it's possible to add a despawn fighter reward option?
My chat enjoys watching their duels and we have a little challenge to see who can get to a 10kill streak first. Since people come and go, I like giving them the option to despawn their fighters, so they don't miss the battles they are involved in. Right now I have to do that manually though on the control panel, so thought I'd ask if it's possible to add an auto feature...
Otherwise, Thank You for helping to resolve the connection issue, glad to be using it again!

Great to hear it works again!
As for the "despawn fighter reward" option, I could have it as a reward or chat option (similar to the !char and !gender commands/rewards), although I'm not sure when I will be able to add this feature. When it is added, though, I'll be sure to tag you! :)


boot from SSD

making the Raspiblitz able to boot from SSD per USB would be more reliable and faster.
SD Cards breaks pretty fast and setting up the Blitz again isn't user friendly (DAU's doesn't do backups)

duplicate of https://github.com/rootzoll/raspiblitz/issues/1235 closing.


clientv3: fix bad variable capture in watch request retry

variables would be niled out when the goroutine runs, causing a crash

lgtm.

lgtm


typo corrected

@ThisIsABug : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks @ThisIsABug.


implement proof writer

Added a possibility (enabled by default) to output proof.json file which contains replacement info in format:
{"original": "originalValue", "new": "newValue"}

Looks nice :)
Please add info about proof functionality to readme.

Readme improved


tls12_check_peer_sigalg:wrong signature type (35) PHP error

Hi, I've been trying to write my own bridge, which you can find here:
https://github.com/theScrabi/rss-bridge/blob/nordbayern/bridges/NordbayernBridge.php
If i run this Bridge with php -S localhost:8080 (PHP 7.2.19-0ubuntu<IP_ADDRESS> (cli)) it works flawlessly, however if I try to run it from Docker I get this issue:
[Thu Sep 19 09:05:14.923986 2019] [php7:notice] [pid 18] [client <IP_ADDRESS>:38956] Exception: The requested resource cannot be found!
Please make sure your input parameters are correct!
cUrl error: error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type (35)
PHP error:  in /app/lib/error.php:24
Stack trace:
#0 /app/lib/contents.php(194): returnError('The requested r...', 0)
#1 /app/lib/contents.php(234): getContents('https://www.nor...', '', Array)
#2 /app/bridges/NordbayernBridge.php(112): getSimpleHTMLDOM('https://www.nor...')
#3 /app/actions/DisplayAction.php(125): NordbayernBridge->collectData()
#4 /app/index.php(38): DisplayAction->execute()
#5 {main}, referer: http://localhost:3000/

You can try to reproduce it by using this zip and run it with docker:
rss-schabi.zip
and open it like this:

What am I doing wrong or what could I do to fix this?

So so I took a look at this and it looks like you're running into what's discussed here: https://github.com/openssl/openssl/issues/7126
Basically looks like some of Nordbayern's servers are a bit out of date and still have a bug that causes this error. The reason it works on Ubuntu for you and not in the (Debian based) container is either that Ubuntu doesn't set OpenSSL's SECLEVEL like Debian does, or that your Ubuntu machine just happened to resolve www.nordbayern.de to one of their working servers.
As a workaround you can edit the file /etc/ssl/openssl.cnf in the container and remove/comment out the line that reads CipherString = DEFAULT@SECLEVEL=2. Neither Arch Linux or Alpine sets the CipherString like that, so I imagine it's not too dangerous of a thing to do.
I believe you can also set the cipher list in your bridge to just DEFAULT and that should have the same effect, but that maybe more of a permanent solution for a probably temporary problem.
Hope that helps!

All right thanks :)

Ok so it seemed to work, however now I'm now facing an issue where I get a white screen after about 20 seconds, and no error is shown neither in the log nor in the browser. php -S however still works? What could that be?

I guess we can close then

Ah yes forgot that sorry.

However is there a chance I can send a pullrequest with this bridge? I thought it was hard, as I now had to modify the container.

Definitely, yes ! I would be happy to merge !

All right :)


Copy & Paste Broken

Since including the long press context menu, you can no longer long press to get the copy/paste long press context menu.

Fixed by removing the webView long click listener. Also moved the registerContextMenu to the OnResume state of the webView.

Thanks for the report, didn't realise that happened. Will try to fix when I get the chance.


chore: upgrade package and dependencies

It looks like the unit tests passed but the preview deploy failed. Should node-gyp be added to package.json?

It looks like the unit tests passed but the preview deploy failed. Should node-gyp be added to package.json?

The unit test was fixed by adding the node-gyp to the GH actions. I'm still looking into the Netlify issue. The root cause can be related to "old" vue libraries, but nothing firm at this point.


No autoresize when launch the editor without visualization on the tree view.

When launch the editor without visualization on the tree view, has not efect of autoresize, You have to applicate the most common solution for everything on the computer science,  try to shut down (in this case just close) the application and start it again.
I suggest you add a if statement which verify the state of tree view before to get the values, or set a trigger when the treeview has been launched, (e.g ctrl + >)

I have an open PR that fixes this.
https://github.com/lexcast/tree-view-autoresize/pull/8


imp: check response in instantiate and migrate from wasm vm calls

Description

closes: #5097
Commit Message / Changelog Entry
type: commit message

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

@srdtrk Do we need to update the e2e for migrate contract?


Blank results page - when reFilling DePaul University article

I tried to reFill the article https://en.wikipedia.org/wiki/DePaul_University
However the results page is blank, and the web console gives the following error-
The character encoding of the HTML document was not declared. The document will render with
garbled text in some browser configurations if the document contains characters from outside the
US-ASCII range. The character encoding of the page must be declared in the document or in the
transfer protocol.
Other pages I have tried work fine. So I wonder if its something specific to the article that is causing a problem.

May be related to this problem, which has been fixed.  More details would be needed to confirm, though.

Cannot reproduce; presumed fixed.


update illegal move; add no moves left checking

#10 should be merged first
https://github.com/avcdsld/pepe-crush/issues/7
https://github.com/avcdsld/pepe-crush/issues/2

Tested


newrelic.yml logs errors

Hello everyone,
When i deploy my rails apps on heroku and i see my logs i have the following errors:
2015-04-03T14:24:22.711459+00:00 app[web.1]: ** [NewRelic][04/03/15 14:24:22 +0000 web.1 (3)] INFO : Reading configuration from config/newrelic.yml (/app)
2015-04-03T14:24:22.711497+00:00 app[web.1]: ** [NewRelic][04/03/15 14:24:22 +0000 web.1 (3)] ERROR : Failed to read or parse configuration file at config/newrelic.yml
2015-04-03T14:24:22.711541+00:00 app[web.1]: ** [NewRelic][04/03/15 14:24:22 +0000 web.1 (3)] ERROR : Psych::SyntaxError: (): mapping values are not allowed in this context at line 40 column 32
An idea?

I resolved my error. I pasted the code of "newrelic.yml" here: http://www.yamllint.com/ and copy the output.


Initial-Application-Updates

Changed text for testing purposes
Added link to live site to README.md

This process worked well and the preview link was availible


When I am trying to create any factory its taking very huge time

Description
I am not sure but simplest Factory is also taking huge time. And this is only one context of the file.
t = Benchmark.measure { create(:user, email<EMAIL_ADDRESS>}
t.total # 75.06367000000319

Using mac.
MacBook Pro (Retina, 15-inch, Late 2013)
Processor: 2.3 GHz Quad-Core Intel Core i7
memory: 16 GB 1600 MHz DDR3
System configuration
factory_bot_rails version:  factory_bot_rails (6.2.0)
factory_bot version:  factory_bot (~> 6.2.0)
rails version:  6.1
ruby version: 2.7.2

There's been no activity here in a while, and there's not enough information to diagnose the problem, so I'm going to close this.


feat: evm use oda abi for all actions

PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context
maybe should go after #10934
item transfer and burning nft now use the abi from the oda worker

[x] Closes #10978

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Screenshot 📸

[x] My fix has changed something on UI;

https://github.com/user-attachments/assets/2a3745b1-3143-4cec-ae21-d858cd0916b6
https://github.com/user-attachments/assets/574d21a5-b289-477b-b1f6-7689ae275f21

cc @preschian


Rebuild HTTP headers on each retried request

Description
Depending on how you configure your Chef client, it's possible that a
later retry would have an authentication timestamp header
(X-OPS-TIMESTAMP) that was more than 900 seconds old. Since the Chef
server treats timestamps older than this threshold as unauthorized
requests, you would potentially get seemingly spurious "401
Unauthorized" responses from the server.
A solution is to generate the headers on each retry so that we have a
new authentication timestamp for each retried request.
I'm not sure if this change of behavior requires additional thought. Hoping someone with more context can weigh in, here.
Issues Resolved

Intermittent "401 Unauthorized" failures from Chef server using Chef client

Check List

[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

The build failure on Ubuntu 16.04 seems spurious: https://travis-ci.org/chef/chef/jobs/167933858

so, you do realize that we normally treat failing chef-client runs when the server is undergoing maintenance as being something perfectly acceptable?  the general solution is "run it again" -- which relies on the idempotent, convergent design so that prior runs can fail at random points in the middle of the run, but subsequent runs will continue to reconfigure the node towards the state it should be in (which is more or less the cfengine philosophy from the 90s that chef, puppet and cfengine all share).
at the same time, this PR looks fine...

@z3usy, we'd take small patches to make chef incrementally more reliable (which this PR is), we would not take large patches to try to make chef perfectly reliable (which is unattainable and picks a fight with over 20+ years of config management philosophy -- at some point chef has to be able to fail sometimes).

@lamont-granquist I totally understand and agree, although your rant just seemed a bit out of place to me as this fixes auth-header timestamps and doesn't have anything to do with run failure or retry logic, hence the confused emoji.
I'm just glad that it's accepted and look forward to the patch landing. Thanks for your quick acceptance!


Error when create new project

Git is not able to access the url to clone it from GitHub? Want to try by cloning it manually

Seems like an error on your Cmder installation with certificate.

Closing since no response from the issue reporter and not actionable as well


Replace compile dependencies with compileOnly dependencies

This prevents conflicts with projects using our library.
Closes #52

Okay, feel free to investigate your problem with the budgeteer project first before properly reviewing this PR.

There was quite some activity in the Budgeteer project since last week. This wiki entry should provide the necessary information you need to run the tests in the Budgeteer project.

Since this is now two weeks old and it seems like you are not working on this project anymore, I will merge this now.


target: mbedos5: use jerry-ext

Update target mbedos5 to use external function handlers: assert, gc and print from jerry-ext.
See #1857
JerryScript-DCO-1.0-Signed-off-by: Marko Fabo<EMAIL_ADDRESS>

@janjongboom please check

Beware that the PR changes the behaviour of JS assert! Existing implementation throws a JS error, but jerry-ext implementation kills the engine.

@akosthekiss I don't think people rely on assert in that way. Other than that LGTM.

@janjongboom thanks for reviewing the PR. I have nothing against the change, just didn't want it to go unnoticed.


Best way to disallow keywords when parsing an identifier

Hi!
I'm having a lot of fun playing around with nom.
I have something like this:
named!(identifier<&str>, map_res!(
  recognize!(many1!(one_of!("abcdefghijklmnopqrstuvwxyz"))),
  str::from_utf8
));

How do I make sure that it doesn't match the following:
named!(keyword, alt_complete!(
  tag!("def") |
  tag!("else") |
  tag!("if")
  // ...
));

I've tried doing something like this:
named!(identifier<&str>, map_res!(
  tuple!(
    peek!(not!(keyword)),
    recognize!(many1!(one_of!("abcdefghijklmnopqrstuvwxyz"))),
  )
  str::from_utf8
));

This will also disallow stuff like ifa though. What's the best way to go around this?

what kind of input do you want to recognize? Anything made of lowercase letters, but not any of the keywords?

Correct, it should Error of the result of matching all subsequent lowercase characters matches any of the keywords

Any help with this? Should I just wrap identifier in a function that checks the result byteslice against all the identifiers and error if it matches any of them?


Add go to declaration or function

i want do this:
With right click on a variable, access to a contextual menu. Select go to *

(variable declaration, function declaration, anything declaration in relation with a current word)

When using TypeScript you can press F12 to go to the function/variable declaration. Not sure about other languages though.

Yeah - extensions can plugin data providers to this feature. TypeScript, Go, C#, etc do this but it always depends on the language and the set of extensions.
@lexgo13 I have understood you request be a more fine grained version of our current go to declaration. Am I correct or did you try this with a language no extension provides the data for yet?

@lexgo13 ping


Final Project questions

Hey guys!!
Hopefully your projects are going well, I have been doing brainstorming for a week on it and came up with a "Trivia Game' idea..
I THINK I can do it this way, but I wanted to run my thoughts by you guys, and get your feedback..
Ok, so the idea is that, instead of trying to assign ANSWERS (sentences, etc) to a variable for each question, I decided it would be MUCH easier to assign NUMBERS (1-4) to each answer, and ONLY have the answer as text you see on screen.
So, with that in mind, I decided an if/else statement (or a for loop, but I cannot think of how to do that in this manner, any ideas if this is a better option are welcome), would be the best idea...
Something like:
(using pseudo code, so syntax probably won't be right)
if answer = insert number here "correct!!"
(any pointers on this part would be nice :) )
else if answer is NOT insert number here "I'm sorry, that is not correct. Please try again"
(this is the part of this I am not sure on how to correctly code)
It doesn't move forward until the answer chosen is correct, another thing I am not sure on how to do.

This seems to be relatively moderate in difficulty, I also thought about implementing my 'interacting balls' code into the incorrect answer, but I am not sure how well that would pan out?
What do you guys think?
I'd appreciate any thoughts about this, or questions on to what I am trying to accomplish.
Thanks guys :) !

Salutations, I like your concept for your final project, I think your initial idea of using if/else statements for your trivia game is a step in the right direction, have you thought about what kind of questions you would ask, would you be trying to display something that keeps the users score?

Kinda  thinking of pop culture/game questions...something along those lines.
OOOOOHHH, I hadn't thought of that idea!! (score) wonder how hard that would be to implement.
I know the 'bouncing ball' thing would be a possible PITA.
What would be a good way to implement that score idea?

I figure the easiest way to program this, is to get one of the question portions working, and then copy and paste it for the rest.
I am also stumped on how to 'advance' the program,..
Since you gave me a GREAT idea, I think a '3 chances per question' system would be the best option.
Again, I'm stumped on that as well.

This guy explains how to make a game pretty well and he explains a way to make a start screen in his first section of code. He is using the Processing language, but if you change void or public void to function and int to let it should work the same. Maybe you can apply that to what you want to do.

Very nice! I'll be looking at that asap!
I'll let you guys know what I find :)
Thank you!

Ok, so here's the code I have done so far..
I have made the required changes, but  have attempted to add buttons to the code, according to the p5.js reference site.

2.

I get a blank screen....I see no errors in the hint area.
Where do I go from here?
once I get this initial screen done, I'll be able to move forward.
I'll ask how after you guys help me figure this one out.

fixed it, it threw an error about a syntax error it couldn't recover from, 68:1, and I removed it..
it fixed the error, but I get a blank screen in preview still.

any ideas?

I've even tried modifying the original code to use functions and let instead of void and init...
get errors there too.
Here's the modified code:
'/*jshint esversion: 6 */
/********* VARIABLES *********/
// We control which screen is active by settings / updating
// gameScreen variable. We display the correct screen according
// to the value of this variable.
//
// 0: Initial Screen
// 1: Game Screen
// 2: Game-over Screen
var gameScreen = 0;
/********* SETUP BLOCK *********/
function setup() {
size(500, 500);
}
/********* DRAW BLOCK *********/
function draw() {
// Display the contents of the current screen
if (gameScreen == 0) {
initScreen();
} else if (gameScreen == 1) {
gameScreen();
} else if (gameScreen == 2) {
gameOverScreen();
}
}
/********* SCREEN CONTENTS *********/
function initScreen() {
// codes of initial screen
}
function gameScreen() {
// codes of game screen
}
function gameOverScreen() {
// codes for game over screen
}
/********* INPUTS *********/
function mousePressed() {
// if we are on the initial screen when clicked, start the game
if (gameScreen==0) {
startGame();
}
}
/********* OTHER FUNCTIONS *********/
// This method sets the necessary variables to start the game
function startGame() {
gameScreen=1;
}
'
the error I get is:

it's referencing the final piece of code, I can do screenshots if you prefer.
I think this is the best idea to do this, the button idea may not be as simple as I thought :(

I kind of like this guy's program..
I wonder if there's a way to adapt it to the way we have been doing it in Creative coding class..
It appears to utilize ONE file, instead of the index.html and sketch.js way we do it.
Here's the link to the video of him doing it.
https://www.youtube.com/watch?v=49pYIMygIcU
I've about given up on doing it the way I have been trying to...unless someone can help me figure it out.
Any ideas guys?

I had this issue when I adapted it to my game too. Use something other than gameScreen as a variable. For some reason, it doesn't like when the variable and the function have the same name. I just changed mine to screen and it worked.
Here is my code for reference. There's a lot of other things in there, but all I did different from his code to get it to work initially was change the name of the variable.

and I thought my dogs were picky...lol
If I can get this initial thing working, I can start the question part....another huge hurdle.

Here's what I got so far:
"
/*jshint esversion: 6 */
// Declare the Setup function
//setting default gamescreen as 0;
let quizScreen = 0;
// create variable for button object.
var button1;
var button2;
function setup() {
// create a canvas 1280 px wide, by 720 px high, with a red background
createCanvas (1280, 720);
background('red');
button = createButton('Game Start');
button.position (height/2, width/2);
button.mousePressed(gameStart);
button2 = createButton('Quit Game');
button.position (height/2 - 15, width/2);
button.mousePressed(gameEndScreen);
}
function draw(){
// displays the contents of the current selected screen
if (gameScreen == 0) {
initScreen();
} else if (gameScreen == 1){
gameScreen();
} else if (gameScreen== 2){
gameEndScreen();
}
// Contents of game screeens
function initScreen() {
// code for "Game Start" screen
background('blue');
textAlign(CENTER);
text("Click to Start Game", height/2, width/2);
}
function gameScreen(){
//code for game screen/s
}
function gameEndScreen(){
// code for game end screen, user requested.
}
function mousePressed(){
if (gameScreen==0){
gameStart();
}
}
//setting necessary paraeters to start gameEndScreen
function gameStart(){
quizScreen=1;{
}
}
// user inputs"
Have a look at that, and tell me where I am going wrong.. According to his instructions, it should be working...but it isn't...
Stressing me out

edited code before button object:
"/*jshint esversion: 6 */
// Declare the Setup function
//setting default gamescreen as 0;
let quizScreen = 0;
// create variable for button object.
var button1;
var button2;
function setup() {
// create a canvas 1280 px wide, by 720 px high, with a red background
createCanvas (1280, 720);
background('red');
button = createButton('Game Start');
button.position (height/2, width/2);
button.mousePressed(gameStart);
button2 = createButton('Quit Game');
button.position (height/2 - 15, width/2);
button.mousePressed(gameEndScreen);
}
function draw(){
// displays the contents of the current selected screen
if (quizScreen == 0) {
initScreen();
} else if (quizScreen == 1){
gameScreen();
} else if (quizScreen== 2){
gameEndScreen();
}
}
// Contents of game screeens
function initScreen() {
// code for "Game Start" screen
background('blue');
textAlign(CENTER);
text("Click to Start Game", height/2, width/2);
}
function gameScreen(){
//code for game screen/s
}
function gameEndScreen(){
// code for game end screen, user requested.
}
function mousePressed(){
if (gameScreen==0){
gameStart();
}
}
//setting necessary paraeters to start gameEndScreen
function gameStart(){
quizScreen=1;{
}
// user inputs
}
"
how's that?

@HagenNathaniel
In your set-up() function, make sure it says button1 and button2 like the variable.
button1.position (height/2, width/2);
button1.mousePressed(gameStart);

button2 = createButton('Quit Game');
button2.position (height/2 - 15, width/2);
button2.mousePressed(gameEndScreen);
}```

That should get your file to show up at least.

I also noticed you have the height and width position swapped. I wasn't sure if that was on purpose, or it you wanted the buttons to appear in the middle of the screen.
Let me know if you're still having trouble with the buttons showing up. I know I kept getting a weird error until I updated my p5.dom.min.js library file to the newest version.

@jballas , I have nothing showing at all, and that's part of the problem.
I might need to get a newer version of p5.dom.min.js...
IF YOU can get it to work, and see it on your screen as well...it would be easier than trying to guess about it.
I'll see if those fixes help...thanks :)

I was able to see a blue screen and the buttons. You can download the latest zip file with all the p5. libraries here. https://p5js.org/download/
The p5.dom.min is in the Addons folder. You need to have version p5.js v0.7.2 September 02, 2018.

hmmm...
I noticed I've been having some issues seeing my work, I even tried making a function setup file only...to see if I could see a canvas...
what you just said, adds to the mystery....
I'll have a look :)

I made those changes, I'll add the new updates to the p5.dom file in a second. I have now done that, it is now 9/03/2018
yeah, I do want them in the middle, but I figure if I do both in /2, it'll stack them?
I'll let you know what it does

changes made, no shown errors...and still...no go..
screenshot of code and preview.

@HagenNathaniel
Did you make sure to reference the dom script file in your index?
It should look like this:
<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0>
        <script src="p5_lib/p5.min.js"></script>
        <script src="p5_lib/p5.dom.min.js"></script>
        <!-- <script src="p5_lib/p5.sound.min.js"></script> -->
        <script src="sketch.js"></script>
        <style> body {padding: 0; margin: 0;} </style>
    </head>
    <body>
    </body>
</html>

That's the only thing I can think of. Because when I copy and paste your code into my editor I can preview the blue game screen.
If you upload your files to github I can take a look at your repo. Put a link here for me.

Just made those changes..
Here's the link to the work.
https://github.com/HagenNathaniel/Creative-Coding-120/tree/master/120_Work/HW-13

YAY!! it's working!!!
just need to fix up the buttons a bit, and then I can keep moving!
might need help on that part, lol.

Basically, this is what's left to do:

format the buttons right on start page.

program the game/quiz page.

set up the input storage for the quiz page, then allowing the end page to retrieve and add up the result of the quiz (score). no idea how to do that :(

program the buttons into the quiz page, which I think would be a simple "cut and paste" scenario...?

and, should time allow, add a picture to the background of the page(s).
Any ideas on this?
Thank you so much for your help so far guys!! It's really coming together now :)

I'm guessing it'll use the 'onclick' event for the buttons

I've made some format changes to the buttons, the background, and added the 'onclick' function, which currently isn't working..trying to figure out how to get them to work.

After spending some time with the instructor, we have the preliminary coding done, and the game page is operational...80% of the way...
Only thing left to do, is add the questions, and the 'answer checker' for the end screen.
I'll upload the new files to the github ASAP, so you can have a look @jballas :)
I was so lost watching him do most of this,lol!

I also need to get the text of the questions to display..

Emailed the professor, and he suggested I add a new class for question text display..
So, I added that file to the github.
I'll have to figure out how to incorporate it into the main program.
I'll let you know


[WIP] Added storage group connection report

Coverage decreased (-0.06%) to 31.52% when pulling 239f1868fd557bcab227c7c34abe750650be1c3a on andy/sg-connection-report into f1c6e6d1fa8ac24f6ac420c7e4ed5c2ebdbbde96 on master.


Add a way to read, display and manage the environment variables passed to the IPython console

This is needed to make Spyder work correctly with Tensorflow without starting it from a terminal. For example see:
http://stackoverflow.com/questions/41344017/why-does-the-tensorflow-module-import-fail-in-spyder-and-not-in-jupyter-notebo

@andfoy, this is for 3.2, so please don't worry about it right now. I opened this issue so we don't forget to address it in the future ;-)

This new entry should be added to our project preferences too.

Whats the idea here? to have a standalone pop up widget/widalog for this (a 2 column QTableView) or embed this inside the preferences... or both or?

We could have both, I still haven't decided it. In any case, we already have an env vars viewer (in the Options menu of the Python console), we just need to populate it at startup.

Hey @OyiboRivers, could you describe in what situations you need this functionality?
Also, @mrclary, I think we could use get_user_environment_variables in our kernelspec to grab the user env vars declared in .bash_profile or .bashrc and add those to os.environ, right?

The IPython console already inherits the user's system environment variables via kernelspec. All platforms can view the environment variables via Tools -> Current user environment variables..., or the IPython console's hamburger menu -> Show environment variables. Both contexts should reflect the user's system environment variables.
Windows has the additional feature to edit these in the Tools menu widget; macOS and Linux do not. To modify environment variables for macOS and Linux, the user must modify his shell startup directly (~/.bashrc or ~/.bash_profile, etc.). It should be possible to extend the editing capabilities to macOS and Linux, but that will require discussion with @spyder-ide/core-developers regarding UX.

Hey @ccordoba12 ,
Thank you for your interest in my feature request, "Automatic Import of System Variables in Spyder #20989." The reason behind my request was a specific issue I encountered while using Spyder IDE in conjunction with a numba site-package in development mode in a virtual environment.
In my development workflow, I rely on numba functions for their performance boost. However, I noticed that every time I started a new Python session in Spyder and imported the site-package, numba would recompile and cache the entire package. This process resulted in a significant delay of ~144s at the start of a session, which was quite inconvenient and time-consuming.
After investigating the issue, I suspected that it might be related to the writing rights or the cache directory configuration of numba. To overcome this problem, I needed a way to specify a specific folder where numba could store the cached package. I needed a persistent virtual environment variable. One common approach is to set system variables in the bash profile to accessing them in Python by using “os.environ“. This process works using the terminal when executing a script. However, when running scripts in Spyder's IPython console, I realized that there was no direct access to system variables via “os.environ“.
To address this limitation, I made the feature request for Spyder to automatically import system variables. By implementing this feature, Spyder users would have access to system variables within the IPython console, enabling them in general store system variables that should be persistent in virtual environments which could be a frequent use case.
Currently, the workaround I use involves setting a startup script in Spyder's preferences. However, having an automated way to import system variables would greatly simplify this process.
Thank you for your effort dealing with my request, and I appreciate your attention to improving the functionality and usability of Spyder IDE.

Hey @mrclary ,
Thank you for your effort.
I have tried to set system variables in both ~/.bashrc and ~/.bash_profile and tested scripts in the terminal and using the IPython console.
I can run a python script with system variables using “os.environ“ via the terminal. No problem there.
I have seen “Current user environment variables…“ in Spyder. The user defined variables do not show up and they can not be found in os.environ using the Ipython console either.
As a workaround I am loading them into “os.environ“ via script on startup.
If the IPython console inherits the user's system environment variables already then maybe something in my system settings prevents access to these variables. Unfortunately, I have no idea what to look for. Do you have any advice?

The IPython console already inherits the user's system environment variables via kernelspec

@mrclary, that works if you start Spyder in a terminal, but not if you do it graphically (i.e. from Gnome or KDE launchers). In that case, the environment variables passed to the kernel are be very few.
And that's because we're using os.environ instead of get_user_environment_variables in our kernelspec:
https://github.com/spyder-ide/spyder/blob/e09b7685e4872655349ac76cc122810618dd46f3/spyder/plugins/ipythonconsole/utils/kernelspec.py#L170-L174

To address this limitation, I made the feature request for Spyder to automatically import system variables

I have tried to set system variables in both ~/.bashrc and ~/.bash_profile and tested scripts in the terminal and using the IPython console.
I can run a python script with system variables using “os.environ“ via the terminal. No problem there.
I have seen “Current user environment variables…“ in Spyder. The user defined variables do not show up and they can not be found in os.environ using the Ipython console either.

@OyiboRivers, I understand your problem and how you tried to solve it perfectly now. Thanks a lot for taking the time to describe it in detail, that's really helpful for us.
We'll try to address this in Spyder 6, to be released before the end of the year.

Thank you @ccordoba12 and Team Spyder.

@mrclary, that works if you start Spyder in a terminal, but not if you do it graphically (i.e. from Gnome or KDE launchers). In that case, the environment variables passed to the kernel are be very few.

I have confirmed that for our conda-based installers, launching Spyder graphically does not inherit the user's environment variables. This is an oversight on my part. I've configured menuinst to get user environment variables for macOS and this can be done for Linux as well.
Alternatively, we could explore using get_user_environment_variables to update kernelspec, as you suggest.

But besides that, I think we need to improve how that function is working because right now is not picking up what you have in ~/.bashrc nor ~/.bash_profile.

get_user_environment_variables uses the -l (login) flag which should cause sourcing ~/.bash_profile. This is the case for me on my Ubuntu VM. If ~/.bash_profile is not being sourced for you, then we need to figure out what is going wrong there.
It is expected that ~/.bashrc will not be sourced since the subprocess will not be an interactive shell. The -i (interactive) flag can be used to cause sourcing ~/.bashrc. However, we can only choose one or the other; using both flags (regardless of order) results in only sourcing ~/.bash_profile. For this reason it is common practice for a user to put if [ -f ~/.bashrc ]; then . ~/.bashrc; fi (or similar) in ~/.bash_profile (see https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html).

@ccordoba12, everything appears to behave as expected for me on my Ubuntu VM:

Variables in ~/.bash_profile show up in Spyder's "Current user environment variables..."
Variables in ~/.profile show up in Spyder's "Current user environment variables...", if I rename ~/.bash_profile (which is discovered before ~/.profile)
Variables in ~/.bashrc do not show up in Spyder's "Current user environment variables...", as expected with the -l flag provided in Spyder's get_user_environment_variables.

Now, if I include sourcing ~/.bashrc in either ~/.bash_profile or ~/.profile, get_user_environment_variables still does not pick up those variables. Why? I think I found the reason. My ~/.bashrc file contains the boilerplate code at the top
case $- in
    *i*) ;;
      *) return;;
esac

which will leave the script if it is not an interactive shell.

@mrclary, thanks for digging deeper into this problem! I can see the same code in the ~/.bashrc automatically created for new users in my system (and a similar one for my own user, which I've had for a long time).
So, I think that leaves us with one option: using an interactive shell in get_user_environment_variables. As I mentioned in our dev meeting, I think I managed to implement that. I'll upload a PR with my proposed changes after releasing alpha1 so you can take a look at them.

I found that running get_user_environment_variables a second time causes Spyder to freeze. A simple way to do that is by trying to open our PPM (which calls get_user_environment_variables behind the scenes).
Could you confirm?

https://github.com/spyder-ide/spyder/blob/d8ae5c3198d0944a6d696e20881d183b8a3a0c16/spyder/utils/environ.py#L65-L72
I have changed line 67 to use the -i flag and have opened/closed the PPM and the environment variables viewer without issue. Also, I've manually executed get_user_environment_variables in the internal console.

In all cases, Spyder has not frozen and I confirmed that ~/.bashrc variables are present.
So we need to figure out what is causing your Spyder to freeze...

In order to source both ~/.bashrc and ~/.*profile, it seems to work to call run_shell_command separately for both -l and -i flags, feeding the results of the first into the second.

Ok, that's an interesting finding. What code are you using for that?

Changing the above code to:
shell = os.environ.get("SHELL", "/bin/bash")
env_var = {}
for flag in ['-l', '-i']:
    cmd = f"""{shell} {flag} -c "{sys.executable} -c \'import os; print(dict(os.environ))\'" """
    proc = run_shell_command(cmd, env=env_var, text=True)
    stdout, stderr = proc.communicate()
    env_var = eval(stdout, None)

In all cases, Spyder has not frozen and I confirmed that ~/.bashrc variables are present.

Ok, then I think you can solve this issue yourself and don't need the changes I made. So, please go ahead and do it.

So we need to figure out what is causing your Spyder to freeze...

Good point. Now that I remember, I have some code in my bashrc that asks for user input. So that's probably what's blocking Spyder.

Good point. Now that I remember, I have some code in my bashrc that asks for user input. So that's probably what's freezing Spyder.

Hmm... perhaps we need to think about this. Since ~/.bashrc is intended for interactive shells, we should expect this to be a possibility, however rare. I wonder if there is a way to send an EOF to stdin on a timeout. Or at least use the timeout in Popen.communicate so it doesn't hang Spyder.

I put read -p "..." in my ~/.bashrc and that doesn't seem to hang up Spyder. Do you know what could be causing it in your file?

@ccordoba12, on my Ubuntu VM, I added the same line to my ~/.bashrc and Enter PIN for authenticator:  was requested when opening a new terminal. However, Spyder still does not hang when executing get_user_environment_variables several times. I can't reproduce your hang. Could there be some other cause for this?

Okay, now I've reproduced it. But this is real strange. It will hang, regardless whether user prompts are present or not, if Spyder is launched from a terminal and is not a background process.
I'm testing using Spyder's internal console with the command run_shell_command('/bin/bash -i -c "echo hello"')
I did not reproduce the error before because I was testing on Spyder launched from a shell script that set it in the background.
I've only found one other possible solution. Rather than using /bin/bash -i to source ~/.bashrc, we have to source it directly using eval and bypassing the interactive check: eval "$(cat ~/.bashrc | tail -n 10)". This seems to work without issues, but cannot be a good general solution.
@ccordoba12, what was the work that you had been doing on this?

Okay, the above needs some correction. I've since rebuilt my dev environment and tried to reproduce the conditions where Spyder did not freeze as well as when it does freeze.
Launching Spyder via bootstrap.py from the latest master on my Ubuntu VM and running commands from Spyder's internal (Python) console (after from spyder.utils.programs import run_shell_command):

run_shell_command('/bin/bash -i -c "echo hello"', env={}).communicate() runs without issues as many times as I like. There is no problem with the -i flag.
run_shell_command('''/bin/bash -i -c "/usr/bin/python3 -c 'import os'"''', env={}).communicate() runs without issue the first time; a subsequent run freezes Spyder. This is the case for any call to any Python (not just the system one).
If Spyder is launched via a shell script like so:
$ nohup launch.sh &>/dev/null
where launch.sh is#!/bin/bash
python $SPYREPO/bootstrap.py &
disown

then the issue does not manifest. I can run as many calls to python with /bin/bash -i as desired without hanging. This is an impractical launch scenario, however, so may not be a general solution.
Launching Spyder via bootstrap.py as normal (not via script), I can also avoid hanging Spyder by delegating the python call to a script.
run_shell_command('bash-user-env.sh', env={}).communicate()
where bash-user-env.sh is#!/bin/bash -i
/bin/bash -l -c "/usr/bin/python3 -c 'import os; print(dict(os.environ))'"

I've confirmed that this loads variables from both ~/.bashrc and ~/.*profile and does not hang Spyder.

So maybe I've found a solution, even if I don't completely understand what the underlying issue is. So, what is the best way to implement this?

Create a <shell>-user-env.sh script for each type of shell (bash, zsh, etc.) calling the system's /usr/bin/python3 and saving these scripts in spyder/utils. Advantage: don't have to create the script at Spyder runtime. Disadvantage: relies on system python; track multiple shell scripts in the repo.
Create a user-env.sh script (in a tmp directory? or Spyder's config directory?) on Spyder startup, based on the user's shell environment variable, and call sys.executable instead of /usr/bin/python3. Advantage: rely on Spyder's runtime Python executable; don't track several shell scripts in repo. Disadvantage: must create the script at runtime.

What do @spyder-ide/core-developers think?

I reproduced your observations on my Linux Debian machine. I don't know what the underlying issue is either.
Regarding your two options on how to proceed, it seems good not to have to rely on the system python (which may not be installed, or not at /usr/bin/python3). So if creating the script at runtime is not too hard, then try that.

@ccordoba12, was this issue resolved by #21065? Or is there something else that needs to be done?

@ccordoba12, I think this issue was resolved by #21065. Please reopen if you disagree.

Actually, I disagree because I think we need to give users a graphical way in Spyder to pass env vars to the IPython console.
At the moment users can only use the env vars they have declared in .bashrc.

I think we need to give users a graphical way in Spyder to pass env vars to the IPython console.
At the moment users can only use the env vars they have declared in .bashrc.

Okay, so maybe something similar to what we do for PYTHONPATH, correct?

Yep, that's the idea. Perhaps we could take the dialog we show when users go to
Tools > Preferences > Current user environment variables

and add to it the ability to set new env vars.
After saving changes there, we could send those env vars to all open consoles and pylsp too.

That sounds good! I would also recommend the following.

Adopt the section feature we use for PYTHONPATH by having "User variables" and "System variables" sections. Users can add/remove variables from the user section but not the system section.
Adopt the enable feature we use for PYTHONPATH by allowing all user and system variables to be enabled/disabled with a checkbox.
No longer provide the option to modify the system environment variables on Windows. We don't do this for macOS or Linux, and if the user can modify what is fed to the consoles, then the feature will be consistent with our PYTHONPATH handling.

What do you think?

I really like all your suggestions. They will provide users with a very intuitive UI to handle env vars in Spyder.


Implement a BitField structure

There is one problem: We have to rename the init method in ocean's BitArray into something else like initialize, because having .init with parameters causes compiler errors in generic code (specifically vibe.d serialization).
So we need to either fix this upstream, or in our fork. I am not sure if BitArray was ever used at all in any Sociomantic code (because it lacks all types of attributes like nothrow / @safe / etc), so it might be safe to fix this upstream.
~Requires https://github.com/bpfkorea/agora/pull/415~
Requires https://github.com/sociomantic-tsunami/ocean/issues/781 to be resolved.

The Phobos implementation uses size_t[] as its backing store, making it more complex to code for. So I opted to use the Ocean implementation instead. The Phobos version might be more battle-tested though, so I'm reconsidering my choice..

Unblocked and ready for review.

Update: I've simplified the PR. Previously it was doing byte-level optimizations, but on second thought these are overkill. We can optimize later and just keep it simple and correct now.

Some previous attempt at byte-level optimization: https://github.com/AndrejMitrovic/agora/blob/old-bitfield-struct/source/agora/common/BitField.d
Could roll it in later, but I wanted this PR to be simple.
Updated the PR and included uint[] serialization as a separate commit.

Hold on, I'm doing swapping on a const array. Of course that doesn't work. Not tested because of the BigEndian version block. Heheh.

Fixed.


Unary operator precedence

Please add feature to adjust unary operator precedence so it will be possible to make following example works properly.
-x^2 and (-x)^2
gives
{
    type: "BinaryExpression",
    operator: "^",
    left: {
        type: "UnaryExpression",
        operator: "-",
        argument: { type: "Identifier", name: "x" },
        prefix: true
    },
    right: { type: "Literal", value: 2, raw: 2 }
}

I would like to add something like this:
jsep.addUnaryOp("-", 0);
So output of jsep() would be
{
    type: "UnaryExpression",
    operator: "-",
    argument: {
        type: "BinaryExpression",
        operator: "^",
        left: { type: "Identifier", name: "x" },
        right: { type: "Literal", value: 2, raw: 2 }
    },
    prefix: true
}

It would be only optional feature so IMO it will only improve library.

It would seem that in this case, JSEP mimics the behavior of Excel and Matlab. See Order of operations, special cases.

This is probably a duplicate of #40


Add delegate migration entry

Entry was reviewed by Patrick_J (GovAlpha) and complies with the name+formatting conventions.

@Gala-G please note for the translation team 😄


Style guide: add guidelines for documenting GUIs

@zachtil  I've assigned this to you but there's no hurry on this task. If you'd prefer to take your name off it until you get time to do it, then feel free to do so.


Move away from static objects and use DI

So after looking at the code, I made some very very poor choices.  There is no way for me to mock anything for testing since everything is static.
I want to move away from this, and move towards a DI implementation so that things are less tightly coupled, as well as allow for expanded:

Messaging services using interfaces
Game specific behavior using an interface and each game could have its own implementation for messages, etc.
Mockable objects for testing
Even allow this to go beyond yahoo and use ESPN, Sleeper, etc.

DI IMPLEMENTED v3.0.0: https://github.com/LandonPatmore/yahoo-fantasy-bot/releases/tag/3.0.0


Number references in order of appearance

Previously, images were always processed first and hence claimed the first few reference IDs, leading to confusing results in large documents.
This change moves the check for node type into the visitor callback rather than having unist-util-visit do the check, so links and images have the same precedence, in terms of what reference link numbers they claim.
Test included.

:+1: Good idea! Will merge somewhere this week, lots of moving parts the<EMAIL_ADDRESS>

:+1: Take your time.

Thanks, @anko, it’ll release in a few minutes as 3.0.0 :)


Add build dir for notify-on-job-start

ncov-ingest is the only repo where the ingest pipeline is in a separate repository than the phylogenetic workflow. Therefore, the build dir that should be sent with the onstart Slack message is the current directory instead of the default "ingest" directory.
Follow-up on #412
Checklist

[x] Checks pass

Merging pre-review since I'm confident in the minor change. Will monitor tomorrow's automated runs.

Confirmed that both GISAID and GenBank runs triggered as expected with the correct attach messages in Slack (1, 2)


dlib::serialize(dlib::full_object_detection, ostream&)  gives compile error

Hello,
I am trying to serialize a dlib::full_object_detection object which I obtain by
for (BoundingBox bb : faceRects) {
        dlib::full_object_detection shape = shapePredictor(this->img, bb);
        std::ostringstream os;
        dlib::serialize(shape, os);
        std::string serialized = os.str();
}

I am obtaining the following error within a  MS Visual Studio 2013 Project:

error C2665: 'dlib::serialize' : none of the 41 overloads could convert all the argument types ...... while trying to match the argument list '(dlib::full_object_detection, std::ostringstream)

try adding "using namespace dlib" at the beginning of your cpp file, i had the same issue and this helped me

Thanks. It Works. Why doesnt work when the namespace speficied explicitly before the function name?

Because C++ has some goofy rules about how name resolution happens.  :/


Geocoding artifact in final GUNW outputs

Describe the bug
In some cases, a geocoding artifact manifests along a corner of a frame:

To Reproduce
Steps to reproduce the behavior:

Run this case out of Tibet as so: isce2_topsapp --reference-scenes S1A_IW_SLC__1SDV_20220320T123241_20220320T123308_042405_050E5B_B237 --secondary-scenes S1A_IW_SLC__1SDV_20220308T123241_20220308T123307_042230_05086E_4B83
View the geocoded products under the merged directory

Proposed bug-fix
Upon closer inspection, this is an issue inherited from a corruption hgt burst file:

This issue is resolved by rounding the bounds of the input DEM to the nearest integer (as expected internally by ISCE https://github.com/isce-framework/isce2/blob/main/components/isceobj/TopsProc/runVerifyDEM.py#L85-L87):

I will reply pointing to a proposed fix in a PR under the DockerizedTopsApp repo

Addressed by PR https://github.com/ACCESS-Cloud-Based-InSAR/DockerizedTopsApp/pull/61

So, in the top right corner of the first image you shared, there is a sliver of the wrapped phase that is output.

Can you explain this comment: "Upon closer inspection, this is an issue inherited from a corruption hgt burst file" - is there a description of this somewhere?

@cmarshak yeah, what I was trying to illustrate below is that the hgt burst had 0s for a small sliver in the corner. But when I re-ran after adjusting the DEM bounds so that they are buffered and rounded to the nearest integer, we the hgt burst is fully populated with non-zero values over this same area.
Thus, the phase field is later properly flattened with non-zero height values and this artifact is averted. Please let me know if this makes more sense?

So, in short, the DEM buffer needs to be larger for ISCE2 to work?
And the second screenshots are to demonstrate coverage of the DEM?

That's correct, the DEM buffer need to be adjusted + the bounds are to be rounded to the nearest integer. This is not an issue that consistently manifests as it depends on how far off the original bounds were from the nearest integer.
And the grayscale images are the hgt files derived from the DEM via the runTopo step. So the idea is that after making this patch, we obtain full coverage and no longer have a sliver of no-data height values.

I am really glad we recorded this. I believe this pull request fixed this: https://github.com/ACCESS-Cloud-Based-InSAR/DockerizedTopsApp/pull/61/files
Do you know if we have a DEM containing the given integer bounding box will that be ok or does it have to be exactly an integer.
a) current example from above PR: xmin, ymin, xmax, ymax = -128, 37, -127, 38
b) would the following work? - xmin, ymin, xmax, ymax = -128.1, 36.9, -126.9, 38.1

this has been adressed


Tweak explanation around self transition target patterns

Ok, I get it now - "same.foo" is equivalent to { target: ".foo", internal: false }, right?
Looking at how this resolution algorithm behaves ( https://codesandbox.io/s/xstate-typescript-template-dlvi3 ) it's IMHO quite confusing that "sibling" is allowed, but "sibling.child" is not.
There are quite some ways of specifying the target using "custom" resolving rules (not described in SCXML) and I kinda feel like those rules atm don't create a cohesive whole. Maybe we could discuss (in separate issue ofc) what would be desired rules for resolving (if you agree with me that current ones are slightly confusing at times)?

Ok, I get it now - "same.foo" is equivalent to { target: ".foo", internal: false }, right?

That's correct.

Ok, I've adjusted the PR


Added 'CLI for Microsoft 365 v6.9' release announcement

Category

[ ] Content fix
[x] New article

Contents of the Pull Request
This PR is the release announcement for the v6.9 release of the CLI for Microsoft 365.

Thanks for the review @martinlingstuyl ❤
All fair pointers and a good suggestion to dial a bit back on the overly extensive hyperbolic language usage 😅


Update request: systemd 255.6 → 256

Package name: systemd
Latest released version: 256

Current version on the unstable channel: 255.6
Current version on the stable/release channel: 255.6

[x] Checked the nixpkgs pull requests

Notify maintainers

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

See https://github.com/NixOS/nixpkgs/pull/307068


merge package from arlac77/npm-package-template-esm-only

.travis.yml

chore(travis): remove node versions 11.13.0
chore(travis): add node versions -10,-11,11.14.0

Codecov Report

Merging #497 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #497   +/-   ##
=======================================
  Coverage   72.68%   72.68%
=======================================
  Files           2        2
  Lines         476      476
=======================================
  Hits          346      346
  Misses        130      130

Continue to review full report at Codecov.

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

Coverage remained the same at 70.588% when pulling 44b349bb373611bb0ecb7ab2d8e650562e356d17 on template-sync-1 into 0028eeb2a1e147a20006c63536f4e89d60249ba9 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Diagnose unavailable getters and setters

This handles the case where one accessor is unavailable but not the other. This is rarer than deprecation (handled in #15102), but could still happen.
Finishes rdar://problem/18633725 / SR-7201.

@swift-ci Please test

@swift-ci Please test source compatibility


blc --configure fails

I have manually built bl from the source and added blc to the PATH env. But when I run "blc --configure", I ge this error message:

zsh:1: no such file or directory: /ev/çizeylemcil/bl/bin/bl-config
error: Cannot generate config file.

I use a custom musl-libc based linux distro with llvm version 12.0.1(I changed Cmakelists.txt to use llvm 12.0.1). Compilation finnished without any errors, but configuring blc doesn't go through.

This is on Linux I guess?

Hmm, I tried fresh clone on Ubuntu and it seems to work, can you please check if the file /ev/çizeylemcil/bl/bin/bl-config exists? If not you can try to copy-paste it from bl/deps/bl-config/linux/bl-config. You can also check if the file is allowed to execute.

it exists inside the bin directory:

ls -l /ev/çizeylemcil/bl/bin
total 160308
-rwxr-xr-x 1 özcü özcü     47592 Dec 17 13:45 bl-config
-rwxr-xr-x 1 özcü özcü 109382224 Dec 17 13:45 bl-lld
-rwxr-xr-x 1 özcü özcü  54713192 Dec 17 13:45 blc

OK, the file is distributed as a binary, you can try to execute it manually bl/bin$ ./bl-config -h but it seems like it would not work anyway.
Are you running x86_64?
Btw bl-config produces a configuration file in bl/etc/bl.conf you can try to create it manually, this is how my current one on Ubuntu looks like:
// BL configuration file
// This file is generated by bl-config tool and used by 'blc' compiler during compilation
// process.

VERSION "1.0.0"
// Main API directory containing all modules and source files.
LIB_DIR "/home/travis/bl/lib/bl/api"
// Default linker options used for executable linking.
LINKER_OPT_EXEC "/home/travis/bl/lib/bl/rt/blrt_x86_64_linux.o -dynamic-linker /lib64/ld-linux-x86-64.so.2 -e _start -lc -lm"
// Default linker options used for shared library linking.
LINKER_OPT_SHARED "--shared -lc -lm"
// Additional linker library path.
LINKER_LIB_PATH "/usr/lib:/usr/local/lib:/lib64:/usr/lib/x86_64-linux-gnu"

I use x86_64 and /etc is symlinked. I tried ./bl-config -h and it gave the same error:

zsh: no such file or directory: ./bl-config

I will manually add the config and see if it works.

hmm, maybe symlink reading does not work properly...

yes, I was kinda expecting this, it seems to be the same issue, bl-lld should be in bin directory (same as bl-config).

It's possible! Both binaries are compiled with glibc.

You can try to use your default system linker ld by adding LINKER_EXECUTABLE  "/your/path/to/ld" entry into the bl.conf file.

Now I get all these undefined references:

test.bl:12:13: warning: Unreachable code detected in the function 'fib'.
11 |

12 |     return -1;
13 | }

/bin/ld: /ev/çizeylemcil/bl/out.o: in function __os_start': /ev/çizeylemcil/bl/lib/bl/api/os/_linux.bl:125: undefined reference to malloc'
/bin/ld: /ev/çizeylemcil/bl/lib/bl/api/os/_linux.bl:131: undefined reference to strlen' /bin/ld: /ev/çizeylemcil/bl/lib/bl/api/os/_linux.bl:135: undefined reference to free'
/bin/ld: /ev/çizeylemcil/bl/out.o: in function __os_abort_default.344': /ev/çizeylemcil/bl/lib/bl/api/os/_linux.bl:114: undefined reference to raise'
/bin/ld: /ev/çizeylemcil/bl/out.o: in function default_allocator_handler.560': /ev/çizeylemcil/bl/lib/bl/api/std/memory.bl:268: undefined reference to free'
/bin/ld: /ev/çizeylemcil/bl/lib/bl/api/std/memory.bl:265: undefined reference to malloc' /bin/ld: /ev/çizeylemcil/bl/out.o: in function __os_write.523':
/ev/çizeylemcil/bl/lib/bl/api/os/_linux.bl:101: undefined reference to write' /bin/ld: /ev/çizeylemcil/bl/out.o: in function print_any.599':
/ev/çizeylemcil/bl/lib/bl/api/std/print/print.bl:314: undefined reference to memset' /bin/ld: /ev/çizeylemcil/bl/out.o: in function print_f64.630':
/ev/çizeylemcil/bl/lib/bl/api/std/print/print.bl:578: undefined reference to pow' /bin/ld: /ev/çizeylemcil/bl/lib/bl/api/std/print/print.bl:579: undefined reference to ceil'
/bin/ld: /ev/çizeylemcil/bl/out: hidden symbol `llvm.pow.f64' isn't defined
/bin/ld: final link failed: bad value
error(0060): Native link execution failed.
Finished in 0.089 seconds.

Hmm, this looks like a real blocker, currently, bl is dependent on some stuff from libc, and it's definitely not tested with musl :/ I work on Windows so the support of Linux is limited just to WSL or let's say Ubuntu...

Maybe adding support for musl-libc will be a feaute enhancement for future development, I guess. Thanks anyway for your help.

I'm thinking about it, btw is there any advantage over glibc?

It is fairly small binaries when statically linked, supposed to be more stable, less bug prone than glibc. Other than that I don,t know. Here is a introduction if you are interested: https://www.musl-libc.org/intro.html
If you want to try out musl libc in action you could use alpine linux, which is best known to be based on musl-libc. alpinelinux.org


Added check for ssh setup

Solves #2

@sujay1844 LGTM but can you share a screenshot of an instance where the ssh is not configured and gegit shows the user that this happened?

SSH is setup for normal user, no error is displayed. But root user does not have SSH setup, so it shows an error along with a link to the relevant docs

Awesome! Good to see another fedora user :)

the bounty? @skudlur

!bounty 80


Add scripts to compile a custom libelf and zlib

Added script to download + build them in https://github.com/javierhonduco/rbperf/commit/44d3de72af050272f9482dc2a91fd7aa8897f88d. Will still use Ubuntu's upstream libraries in CI, at least at this time. Releases will be produced with the custom archives generated by this script.


docs(v2): search - algolia and custom

Motivation
#1640
Search section
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
Netlify

thanks

will send more docs pr


libvpx: 1.7.0 -> 1.9.0

Motivation for this change
https://github.com/webmproject/libvpx/releases/tag/v1.8.0
https://github.com/webmproject/libvpx/releases/tag/v1.8.1
https://github.com/webmproject/libvpx/releases/tag/v1.8.2
https://github.com/webmproject/libvpx/releases/tag/v1.9.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS

[x] Fits CONTRIBUTING.md.

This move to 1.9 (technically the move to 1.8) broke libav_12
nix build nixpkgs.libav_12

...
  libavcodec/libvpx.c:66:42: error: 'VPX_IMG_FMT_RGB555_LE' undeclared (first use in this function); did you mean 'AV_PIX_FMT_RGB555LE'?
     66 |     case AV_PIX_FMT_RGB555LE:     return VPX_IMG_FMT_RGB555_LE;
        |                                          ^~~~~~~~~~~~~~~~~~~~~
        |                                          AV_PIX_FMT_RGB555LE
  libavcodec/libvpx.c:70:42: error: 'VPX_IMG_FMT_444A' undeclared (first use in this function); did you mean 'VPX_IMG_FMT_I440'?
     70 |     case AV_PIX_FMT_YUVA444P:     return VPX_IMG_FMT_444A;
        |                                          ^~~~~~~~~~~~~~~~
        |                                          VPX_IMG_FMT_I440
  make: *** [Makefile:48: libavcodec/libvpx.o] Error 1
  make: *** Waiting for unfinished jobs....

googling these symbols finds references that say there were removed in libvpx 1.8.
There isn't a newer version of libav released yet, so I would guess the solution may be to still provide libvpx 1.7 (with this patch on 1.8 and 1.9 are made available)?

This move to 1.9 (technically the move to 1.8) broke libav_12
nix build nixpkgs.libav_12

...
  libavcodec/libvpx.c:66:42: error: 'VPX_IMG_FMT_RGB555_LE' undeclared (first use in this function); did you mean 'AV_PIX_FMT_RGB555LE'?
     66 |     case AV_PIX_FMT_RGB555LE:     return VPX_IMG_FMT_RGB555_LE;
        |                                          ^~~~~~~~~~~~~~~~~~~~~
        |                                          AV_PIX_FMT_RGB555LE
  libavcodec/libvpx.c:70:42: error: 'VPX_IMG_FMT_444A' undeclared (first use in this function); did you mean 'VPX_IMG_FMT_I440'?
     70 |     case AV_PIX_FMT_YUVA444P:     return VPX_IMG_FMT_444A;
        |                                          ^~~~~~~~~~~~~~~~
        |                                          VPX_IMG_FMT_I440
  make: *** [Makefile:48: libavcodec/libvpx.o] Error 1
  make: *** Waiting for unfinished jobs....

googling these symbols finds references that say there were removed in libvpx 1.8.
There isn't a newer version of libav released yet, so I would guess the solution may be to still provide libvpx 1.7 (with this patch on 1.8 and 1.9 are made available)?

Never mind, I found a patch for libav. It looks reasonable, and it works for building against libvpx >= 1.8, so I'll open up a pull request to add that against libav instead.

Never mind, I found a patch for libav. It looks reasonable, and it works for building against libvpx >= 1.8, so I'll open up a pull request to add that against libav instead.


Add use translate

I run the "flow" command, and it show some errors in demo and LocalizeProvider,
which I haven't touched!
Beside that, there is a lot of js files that uses typescript syntax,
so this branch seems to be a bad one for testing on...
But the code for useTranslate is like this.
(We use a version of useTranslate I wrote to our ts project on my primary work place,

it actually work in the current version of react-localize-redux)

Thanks for taking a stab at this, but there is already an active issue to track work for the next major version of the library, which is going to include hooks integration. TheuseTranslate hook is just one small piece of work, that will be included in this major release. If you would like to contribute feel free to start a conversation in #140.


Update vss-extension.json for on-premises

For #73 and #72, add missing .html contentType, and remove ".cloud" from target platform (to allow both cloud and on-prem)

On-prem is not supported as we are leveraging a feature that is only present on the service


[L5] Setup ECR Repository with Standards

Summary of the L5 requirement
And ECR repository with standards should be setup to store the Docker containers
Parent requirement
| SOC-SDC-L4-27 | SDC Staging Environment | The SDC shall provide a staging environment for developer testing of L1, L2, L3, and i-ALiRT software prior to release to production. | Requirement | Data processing software will need to be fully tested in the staging environment prior to being integrated into the SDC production processing environment. The staging environment replicates that of production, but operates independently in order to not interfere with daily production. | SOC-L3-57 | Demonstration | SIT-1 - dev environment set up for data managerSIT-2 dev environment set up for data processingSIT-3 L0, L1SIT-4 L2 and L3SIT-iAlirt | SIT-4
-- | -- | -- | -- | -- | -- | -- | -- | -- | --
Tasks

[ ] CDK to create ECR repository
[ ] mini-SPIKE Determine ECR settings to use
[ ] mini-SPIKE Determine versioning to use

https://github.com/IMAP-Science-Operations-Center/sds-data-manager/pull/154


Add splitting settings

I suggest considering the possibility of adding the ability to configure black and white lists of domains and applications. That is, to separate installed applications and Internet addresses into those for which a proxy is used, and those for which a proxy is not used.
This is useful for situations where certain applications or sites do not work correctly when using a proxy, or if there is a need to exclude the use of specific proxies for certain applications or sites.

Currently you can do it with each config routing object, but it can be global for all configs, maybe I'll add this in future!


Include clear explanation of structuring outputs in a component Python file

This page should include a clear explanation of how to structure the outputs in a component python file called by a component yaml file.  I am having difficulty making this work because my outputs don't match up.  I output a HuggingFace transformers models my component and I'm not understanding whether I need to use mlflow.transformers.save_model or something else.
There should be a section that explicitly explains that the python file doesn't actually return objects, but should just save them.
A couple of examples with different data types would be really useful, as well.

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

ID: d5616e13-1bea-2bda-391d-22cf9f887fca
Version Independent ID: 89064b74-914c-dbfb-dbe2-ac483d4e3f87
Content: Manage inputs and outputs of a pipeline - Azure Machine Learning
Content Source: articles/machine-learning/how-to-manage-inputs-outputs-pipeline.md
Service: machine-learning
Sub-service: core
GitHub Login: @xiaoharper
Microsoft Alias: zhanxia

@matsuobasho
Thanks for your feedback! We will investigate and update as appropriate.

@matsuobasho
Thank you for bringing this to our attention.
I've delegated this to content author @xiaoharper, who will review it and offer their insightful opinions.

thanks for the suggestion @matsuobasho . I will add a section and examples in this article


plugins/answer.py: typo data -> json

Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

ack 6ef33dc

@rultor merge

@rultor merge

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

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


⚠ Bofrost.nl has degraded performance

In b25c518, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1481 ms

Resolved: Bofrost.nl performance has improved in cc7581a.


Add ${} or template literal escaping for User Snippets.

Hi, I am making a snippet so I can easily and quickly program a file for JavaScript. My JavaScript code includes template literals. But, you use $ and ${} for tabbing to easily and quickly editing code. I would like to have the template literals for my code. When I use the snippet, it takes away the $ and the {}. If there is a way to escape it or cheat it to make it not take away the template literals. Thanks!

/needsMoreInfo
Could you post example where you have problems with ${}? Have you tried to use \ or \\ before characters in ${}

This snippet body should work with snippet placeholders ${1:start} inside of template literal placeholders \\${...} (note \\ to escape $)
"`\\${${1:start}} - \\${${2:end}}`"


Add support for small packet size in tcp connectivity tests

Allow using small packet size in e2e tcp connectivity tests, this might help with troubleshooting MTU issues.

cc @sridhargaddam

cc @sridhargaddam

cc  @sridhargaddam @tpantelis


Update composer to load from legacy NotifymeHq

The legacy branch is not maintained, and notifyme will not be ready for public use until a v1.0.0 tag goes out on every repo.

There will be more breaking changes to come.


Crash when running flutter app on Tizen 8.0 TV devices with api-version="8.0"

Create a sample app with api-version="8.0"
Crash when running flutter app on Tizen 8.0 TV devices

Coredump info:
(gdb)bt full
#0  __GI_raise (sig=sig@entry=11) at /usr/src/debug/glibc-2.30-5.2.arm/signal/../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 2, 842391127,<PHONE_NUMBER>, 15,<PHONE_NUMBER>,<PHONE_NUMBER>, 0,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 0,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 0, 0, 0,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 1, 1}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0xb47de908 in onSigsegv (signum=11) at /usr/src/debug/dotnet-launcher-tv-plugin-6.0.92-1.arm/plugin/src/dotnet-signal-handler.cpp:77
        ret = <optimized out>
#2  0xb388bb52 in invoke_previous_action (action=<optimized out>, code=11, siginfo=0xb47c6c88, context=0xb47c6d08, signalRestarts=255) at /usr/src/debug/coreclr-6.0.9-1.arm/src/coreclr/pal/src/exception/signal.cpp:415
No locals.
#3  sigsegv_handler (code=11, siginfo=0xb47c6c88, context=<optimized out>) at /usr/src/debug/coreclr-6.0.9-1.arm/src/coreclr/pal/src/exception/signal.cpp:627
No locals.

I need more information.

Is flutter-tizen the latest commit?
Is TV extensions-8.0 installed (in the package manager)? Are there any SDKs that have not been updated?
What is the binary version of the TV? (cat /etc/prd_info.ini)
(my tv device info)

[Version]
Model=T-PTMDAKUC;
Version=T-PTMDAKUC-0429.10;
Build=TIZEN-ONEMAIN-PontusM-RELEASE_20240429.1;
BuildType=debug;
Operator=;

[Build]
Date=2024-04-28;
Time=18:58:09;

I'd recommend changing the app language to C++ to get a better backtrace.

I need more information.

Is flutter-tizen the latest commit?
Is TV extensions-8.0 installed (in the package manager)? Are there any SDKs that have not been updated?
What is the binary version of the TV? (cat /etc/prd_info.ini)
(my tv device info)

[Version]
Model=T-PTMDAKUC;
Version=T-PTMDAKUC-0429.10;
Build=TIZEN-ONEMAIN-PontusM-RELEASE_20240429.1;
BuildType=debug;
Operator=;

[Build]
Date=2024-04-28;
Time=18:58:09;

+) Could you please test with an embedder that apply flutter-tizen/embedder#64 ?

The issue was caused by my upgrade. It will be fine after the upgrade. Thank you~


Extended Descriptor: audio_preselection_descriptor 0x19

Hi,
Currently tsduck doesn't handle audio_preselection_descriptor documented on DVB BlueBook
A038.
Here is a full transponder TS from 19.2E 10993H, recorded with test_dvr using all pids discovered via dvbsnoop pidscan. The descriptor is available on SES UHD Demo Channel, PMT PID 97.
    Elementary stream: type 0x06 (MPEG-2 PES private data), PID: 513 (0x0201)
    - Descriptor 0: Stream Identifier (0x52, 82), 1 bytes
      Component tag: 8 (0x08)
    - Descriptor 1: Extension Descriptor (0x7F, 127), 3 bytes
      Extended descriptor: AC-4 (0x15, 21)
      Dialog enhancement enabled: 0, channel mode: 0x01 (Stereo)
    - Descriptor 2: Extension Descriptor (0x7F, 127), 7 bytes
      Extended descriptor: unknown (0x19, 25)
      0000:  08 01 08 64 65 75                          ...deu

Thanks!

Done in commit 2313796cad325aaedaa09f01a61238a4d94b6020
Thank you for pointing out this draft. I assume, however, that there will be modifications before it is merged into EN 300 468. See the "sequential" allocation of new descriptor tag extension values (new values since EN 300 468 v1.15.1, the latest one to my knowledge) :

Descriptor
tag ext.

S2X_satellite_delivery_system_descriptor
0x17

protection_message_descriptor [48]
0x18

audio_preselection_descriptor
0x19

TTML_subtitling_descriptor [56]
0x20

0x20 following 0x19 😢

Well I guess it will become available here: DVB Standards.
Later will check new version and report.
Thank you!

Output from tstables now is perfect!  👍
    Elementary stream: type 0x06 (MPEG-2 PES private data), PID: 513 (0x0201)
    - Descriptor 0: Stream Identifier (0x52, 82), 1 bytes
      Component tag: 8 (0x08)
    - Descriptor 1: Extension Descriptor (0x7F, 127), 3 bytes
      Extended descriptor: AC-4 (0x15, 21)
      Dialog enhancement enabled: 0, channel mode: 0x01 (Stereo)
    - Descriptor 2: Extension Descriptor (0x7F, 127), 7 bytes
      Extended descriptor: Audio Preselection (0x19, 25)
      - Preselection id: 0
        Audio rendering indication: 1 (Preferred reproduction channel layout is stereo)
        Audio description: no
        Spoken subtitles: no
        Dialogue enhancement: no
        Interactivity enabled: no
        Language code: "deu"

Thank you!


First pull request: Added ',' within a comment

I'm aspiring to be a coding contributor for CodeCombat. This is my first pull request to check that I'm using GitHub correctly. The only change is a "," within a comment in InventoryModal.coffee.

 Welcome to the project!
This comma actually changes the meaning of the comment from what I intended (even if it's not at all clear). The "draggable" referenced is a jQuery UI plugin, so it's the subject of the sentence, not an adjective. So it's better as it stands.


WIP: Buffer log writes before saving them to the file.

As discussed in #45 I messed around with buffering the log writes to SD and Flash.
This is to minimize package loss on file writes. In "normal" use it should workout fine, but when running the stresstest one can find some bottlenecks.

Atm I use the same buffer for SD and flash.
Stress test is set to delay 30 ms btw.
For USE_SD_LOG only package loss is at 5% (worse than without buffering, was 3%)
For USE_FS_LOG only package loss is down to 17% (w/o buffer it was 80%)
Now I am thinking of using the buffer only for the LittleFS logging, since the SD logging package loss got worse.
But this would add more complexity and redundancy to the code.
What do you think @timmbogner ?

Sorry, I think I over-emphasized the importance of the stress test for your functionality. I have to look a little more when I'm at the computer, but it looks great! My biggest concern is that rapidly opening/closing a file on an SD could corrupt the filesystem of the card. That was my main thought behind buffering writes.

Awesome, then the buffering would be perfect to reduce rapid writes!
10.07.2022 20:18:32 Timm Bogner @.***>:

Sorry, I think I over-emphasized the importance of the stress test for your functionality. I have to look a little more when I'm at the computer, but it looks great! My biggest concern is that rapidly opening/closing a file on an SD could corrupt the filesystem of the card. That was my main thought behind buffering writes.
—
Reply to this email directly, view it on GitHub[https://github.com/timmbogner/Farm-Data-Relay-System/pull/56#issuecomment-1179775216], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AK7SSGXMZR2G23KXXYR3GETVTMHXJANCNFSM53FKBODA].
You are receiving this because you authored the thread.[Verfolgungsbild][https://github.com/notifications/beacon/AK7SSGTOWTHB6ZQM6DBU2X3VTMHXJA5CNFSM53FKBODKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIZI7B4A.gif]

This all looks really good, and I think it may work a general-use function in the future. One thing that I realized: since unix timestamps are just the number seconds since an arbitrary time/date, 'seconds_since_reset' is actually in the same format as the unix timestamp, yes? 🤯 Nice.

To prevent issues with the millis() rollover I suggest changing the buffer delay functionality to compare durations instead of timestamps (https://arduino.stackexchange.com/a/12588)

I set the buffer release timer to 10 seconds. I think it could be longer.

I'm a dum-dum and pulled the requests out of order again, but I think I fixed it!


[Compute] az disk create: Add warning log to later support creating disk with Gen2 and TLVM as default

Description

In az disk create command, provide notification that creating disk will use --hyper-v-generation with value V2 and --security-type with value TrustedLaunch as default in Build event 2023 (May 2023).
Close #23614
Testing Guide

History Notes

[Compute] az disk create: Add warning log in three scenarios to later support creating disk with Gen2 and TLVM as default

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute

@AjKundnani Could you please help to see if this PR is in line with your expectations?

Please resolve the conflicting files before merging


Problem on Longitude

Notebook name
MintPy_Time_Series.ipynb
Describe the bug
There was a problem with the longitude label.
Expected behavior
It should read 122 degrees
Screenshots

Are you running locally or in OpenSARLab?
Yes
System Info (If not working in OpenSARLab):

OS: Ubuntu
JupyterLab version 4.2.1
opensarlab_MintPy_Recipe_Book Version 1.0.1
Browser Chrome

Additional context
If possible, I request to enable unwrapping error (at least one method that available on MintPy).

Hi @ditafaith,
The longitude values are being displayed in scientific notation:

This is not something we can adjust in the notebook. It would have to be updated in MintPy itself.
Step 6 of the https://github.com/ASFOpenSARlab/opensarlab_MintPy_Recipe_Book/blob/main/c_MintPy_Time_Series.ipynb notebook performs optional unwrapping error correction. To run that step, you must first have enabled it in the https://github.com/ASFOpenSARlab/opensarlab_MintPy_Recipe_Book/blob/main/b_Update_Configuration.ipynb notebook.

Thanks @Alex-Lewandowski for the feedback.
I understood the situation and expect the notebook in the future can accommodate this thing.
Since I use hyp3-gamma, it is still not possible to apply any unwrapping correction methods.

Hi @ditafaith,
Unfortunetly, the Minimum Cost Flow (MCF) program that GAMMA uses for phase unwrapping does not provide the option for outputting connected components data, which are required for both MintPy's unwrapping error correction methods.

Hi @Alex-Lewandowski,
Glad to see that ASF provide ISCE-burst and make it possible to apply both corrections.
Do you know where is the file output in mintpy if we want to get coordinate (geo/UTM), velocity rate, and its error, such as a grid file. Not only an extracted point.

Hi @ditafaith MintPy saves output data to a MintPy directory, located in the directory containing the input data.
These are all saved as HDF5 files. You can find the geometry data in the MintPy/inputs directory.

Thanks @Alex-Lewandowski
I understood that there is no single file containing coordinate and velocity together. Thus, these values should be extracted from velocity.h5 and geoGeometry.h5.


Setup Containers to mount NFS instead HostPath

Hello,
I tried to run the weblogic domain using as shared volume a NFS volume. So the containers where attaching a NFS volume instead of using HostPath. Here there is how I setup a NFS server in OCI. On the NFS server I created a shared volume under /shares/kube-nfs.
To let it to work I had to modify the persistent-volume-template.yaml from :
apiVersion: v1
kind: PersistentVolume
metadata:
  name: %PERSISTENT_VOLUME%
  labels:
    weblogic.domainUID: %DOMAIN_UID%
spec:
  storageClassName: %STORAGE_CLASS_NAME%
  capacity:
    storage: %PERSISTENT_VOLUME_SIZE%
  accessModes:
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: "%PERSISTENT_VOLUME_PATH%"

to :
apiVersion: v1
kind: PersistentVolume
metadata:
  name: %PERSISTENT_VOLUME%
  labels:
    weblogic.domainUID: %DOMAIN_UID%
spec:
  storageClassName: %STORAGE_CLASS_NAME%
  capacity:
    storage: %PERSISTENT_VOLUME_SIZE%
  accessModes:
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  nfs:
     server: NFS_SERVER_IP
     path: "%PERSISTENT_VOLUME_PATH%"

And in the create-domain-job-inputs.yaml I had to set /shares/kube-nfs as persistencePath.
Hope it helps.

I think your change is reasonable.  What is your requirement for this issue?

Hi @antonionappi88,
I am not sure what the requirement of this issue is. Can you clarify it?
Thanks

Simon,
I saw your question in e-mail...  This is somewhat straight-forward.  The requirement is for support for NFS mounts in addition to regular file-system "host path" mounts.  You can see the documentation on NFS volumes here: https://kubernetes.io/docs/concepts/storage/volumes/#nfs
It seems that the yaml is just slightly different using an "nfs" rather than "hostPath" section and requiring the configuration of a "server" value.


Crf

CRF support for libavtp
This pull-request adds support for Clock Reference Format (CRF) to libavtp. CRF enables multiple AVTP talkers to synchronize their audio, video or control streams, generating presentation times synchronized to a reference clock, reducing the overhead on AVTP listeners. For further information about CRF, see Chapter 10 from AVTP spec [1].
This patchset covers basic CRF support with a simplest possible example which mainly focuses on how CRF stream can be used to recover media clock which AVTP talkers could use as presentation timestamps. Here is a summary of the patches in this PR:

First patch adds support for CRF
Second patch adds unit-tests that covers all APIs defined in include/avtp_crf.h
Third and fourth patches add CRF talker and CRF listener example applications which demonstrate the use of libavtp CRF APIs. CRF listener example runs in AAF talker or AAF listener mode.

For the sake of simplicity, the CRF example applications have the following limitations:

They don’t handle special cases such as sequence mismatches and CRF stream restart.
The AAF talker mode transmits dummy AAF stream
The AAF listener mode doesn't work with multiple AAF talkers.

Overall code coverage details are:
lines......: 98.5% (893 of 907 lines)
functions..: 100.0% (89 of 89 functions)
Let me know if you need more details about the points mentioned above.
Thanks,
Rajvi Jingar
[1] IEEE Std 1722™-2016 Specification: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7782716

Thanks reviewers. Merging...


Updates for 2.4 release

We've got a batch of new and improved itertools, and the issue / PR queue is clear - :ship: !
This PR updates the changelog with the new items (used different formatting this time), indents the code samples in docstrings consistently (some were indented, some weren't), and bumps the version to 2.4.
@erikrose , if you're good with this and can release to PyPI, I will make the GitHub release (as with the last one).

@erikrose, anything you think needs to be done before release? No rush from me, but we have some friends looking forward to 2.4.

I don't have anything in mind. Let me give it a quick once-over, and I'll cut the release! Great work Bo and contribs again! It's wonderful to see the community take this project under its wing.

I uploaded the new release. But upon trying to update the docs, I find that PyPI has abdicated its responsibility for holding docs:

Upload failed (410): Uploading documentation is no longer supported, we recommend using https://readthedocs.org/.

Fun! So this is an excuse to move to the (tragically underfunded) readthedocs.

I see you or I had already set up readthedocs, so that's cool. :-) I bumped to 2.4.1 and re-released so we could have the docs link at https://pypi.python.org/pypi/more-itertools/ point to the right place. (python setup.py register, an old trick I used to use to update the index page without re-releasing, is no longer supported by the server.)

I haven't yet figured out how to remove the big Package Documentation link at the top that still points to pythonhosted.org, however. Hmm.
Btw, I'd like to make you a maintainer on the package so you can upload releases. What's your PyPI username?

I don't recall setting up RTD, but I'm pleased to have things hosted there; RTD is great. (My company runs ads there in support of them and their ethical ad standards)
I am bbayles on PyPI as well.

Oh good; I'm so glad they found a way to make money!

On Dec 2, 2016, at 09:53, Bo Bayles<EMAIL_ADDRESS>wrote:
I don't recall setting up RTD, but I'm pleased to have things hosted there; RTD is great. (My company runs ads there in support of them and their ethical ad standards)
I am bbayles on PyPI as well.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for this release.  It's awesome.

This thread describes how to redirect docs. I think there's a workaround, but it seems like it might be difficult to get right on the first try?

Oh, actually there's a DESTROY DOCUMENTATION button now - it's on this page. I tested the .zip file trick on another repo and that works too.
I'll go ahead and do the .zip file trick to redirect, since the old docs are easy to get on Google.

Great. The redirect is superior anyway, in case anyone has bookmarked the page.

I've wriggled through the rtd UI to "activate" some of the older versions, so they're now accessible via the menu in the lower left.


BUG: Cookie update

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There are two issue I'd like to work on:

There are 2 cookie content, one should be removed.
The cookie content is fixed and cannot be removed from the page, it should be removed with a click.

Assign these 2 issue to me under GSSoC.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned!
ship this changes asap!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it.
I am the project mentor so you can always reach out to me for any help!
Happy open-source contributing!

@huamanraj I'm working on two issues here, so can you label it with level2?


HSEARCH-3332 Activate GitHub pull request decoration in Sonar

https://hibernate.atlassian.net//browse/HSEARCH-3332
"PR decoration" means:

Sonarcloud will leave a review for each push, with a comment for each issue found in the changeset (including a link to the issue on sonarcloud.io)
A check will be added at the bottom of the PR, next to the PR build status and the review status

You can find an example of PR decoration here: https://github.com/yrodiere/hibernate-search/pull/35
History:

I first pushed a PR with a few issues: Sonarcloud posted the first review, the Sonarcloud check was set to "Failed".
Then Coveralls posted its own comment.
Then I force-pushed to fix the issues: the check status was updated (to green), but unfortunately the Sonarcloud review was not updated Probably not a big deal.
Then I force-pushed to add issues again: the check status was updated (failed again), the comments on the first review were removed, and Sonarclud posted a second review.

Pull Request Test Coverage Report for Build 1

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.706%

Totals

Change from base Build 11:
0.0%

Covered Lines:
10129

Relevant Lines:
11682

💛  - Coveralls

Interesting. Will you enable it for the default repo? That would be helpful I suppose.
Wondering if it would be worth it to report the issue you had when you fixed the errors.
Apparently, it does the job so you can merge it.

Interesting. Will you enable it for the default repo? That would be helpful I suppose.

Yep, that was the idea.

Wondering if it would be worth it to report the issue you had when you fixed the errors.

I'll try, but the code is closed-source, so fixing this will be entirely up to the maintainers. We'll see.
Merging, thanks!

Bug reported: https://community.sonarsource.com/t/fixing-all-issues-on-a-github-pr-does-not-trigger-removal-of-outdated-sonar-comments/2580


do not show output for assignment?

In IPython, something like x = np.arange(1000) shows no output, whereas in IJulia x = collect(1:1000) does. I understand this matches the REPL, but is there a way to surpress this by default other than adding semicolons everywhere?

No.  When you evaluate a cell in IJulia, it is just returns the value of the last expression, and what you are seeing here is a difference between the Julia and Python languages.
In Python, assignment expressions don't have a value, whereas in Julia the assignment x = y has the value y.
(In IPython, they added support for showing the result of an assignment, but they had to do it by hacking the AST because of the abovementioned Python language behavior: ipython/ipython#10598)

Wow, I didn't know about the semicolon method, I've just been adding nothing to a line the end of my cells.
@stevengj I do think this could be a very useful feature, maybe enabled by a configuration option that is disabled by default. I don't think the differences in the two languages are very important here,  it's just more about what is most useful/convenient to the user of the notebook. Pretty-printing even small arrays take up a lot of vertical space (one line per element) and make the notebook significantly less readable (which is one of the main selling points of the notebook in the first place) if those values aren't important. Personally I think at least 90% of the time I'm not interested in seeing the value of the assignment at the end of the cell, so it would make a lot of sense to have an option to disable it by default. For the minority of times I do want it I could just do what I do in IPython which very simple:
...
x = somevalue
x


Verify the deployed Celo/mcUSD and Celo/mcEUR ubeswap pair/pool

This is the pool info that I retrieved.
Celo-mCUSD pool:
address: 0xf5b1bc6c9c180b64f5711567b1d6a51a350f8422
factory address: 0x62d5b84bE28a183aBB507E125B384122D2C25fAE
token0 address: 0x471EcE3750Da237f93B8E339c536989b8978a438
token1 address: 0x64dEFa3544c695db8c535D289d843a189aa26b98

Celo-mCEUR pool:
address: 0x427c95a1379182121791cc415125acd73ea02e97
factory address: 0x62d5b84bE28a183aBB507E125B384122D2C25fAE
token0 address: 0x471EcE3750Da237f93B8E339c536989b8978a438
token1 address: 0xa8d0E6799FF3Fd19c6459bf02689aE09c4d78Ba7


Can you please share:

permissions of /root/
logs

@romayalon , my bucket path is /mnt/fs1 . Permission of that directories are below
[root@anan2node-x-worker1 ~]# ls -ld /mnt
drwxr-xr-x. 3 root root 17 Oct 24 22:48 /mnt
[root@anan2node-x-worker1 ~]# ls -ld /mnt/fs1
drwxr-xr-x 39 root root 4096 Dec  7 22:38 /mnt/fs1

Please let me know what specific log I can provide?

@anandhu-karattu I think that root should have 777 permissions, can you try that?
And the noobaa service logs  - https://github.com/noobaa/noobaa-core/blob/master/docs/non_containerized_NSFS.md#nsfs-service-logs--

Ok, I got the issue here. Since I create the account with custom uid and gid, I should give permission to that user to bucket directory in the file system. Or we can give the uid and gid as '0' while account creation.
For me I/O is working now. If we don't have any other issues , may be we can close this ticket @madhuthorat ?
[root@an2node-x-worker1 ~]# aws-antest0 cp awscliv2.zip s3://bucket0
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
upload: ./awscliv2.zip to s3://bucket0/awscliv2.zip

@anandhu-karattu @madhuthorat Is this bug verified? can be closed?

The issue is fixed and can be closed.