Data Science with Python : Data Visualization with Seaborn

Welcome to 'DSWP' Team, good to see you here
This issue will helps readers in acquiring all the knowledge to learn about getting involved with Data Visualization with Seaborn. Tutorial to Data Visualization with Seaborn and how it's applied using visual representations and sample code.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
This issue is created for beginners and who aren't assigned to any issues yet.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Data Analysis and Visualization
Mentors Assigned : Gauri Bharadwaj / Shivang Dubey
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

I would like to work on this issue
Serial number in excel sheet: 721
Mode: Documention
Approach: Intro to seaborn. Different plots for visualization of data in the seaborn library.

I would like to work on this.
Vanshika Mishra
Batch - 5
Type: Documentation
Approach:
1 Working with tips data set
2 Barplot, countplot, boxplot,violin plot
3 distplot , kdeplot, joinplot, pairplot
4 Correlation and heatmaps

@vanshika230 @prishita-s these issues are created from request of contributors. If you have not been assigned to any issue, and want to work on issues you're interested. You can check out with the thread created in discord channel to know the process and also watch out with pinned messages.

@prathimacode-hub Kindly assign to that particular contributors,
having an issue not assigned to someone seems somewhat illogical

I want to contribute to documentation to issue #744.
Name - Pradipta Nandi

@prathimacode-hub Kindly assign to that particular contributors,
having an issue not assigned to someone seems somewhat illogical

Yes true. I agree. I will make sure to assign it soon. @Vidit-Ostwal

I want to contribute to documentation to issue #744.
Name - Pradipta Nandi

If you're in for Audio/Video let me know. Documentation is already assigned.

I would like to work on this.
name :mahmoud mohamed abdelwahab
number in sheet :91
Batch :3
Issue Number - #744
Type: Documentation
Approach:
1-Seaborn Versus Matplotlib
2-Exploring Seaborn Plots

@mahmoudmohamed22, issue is assigned to you for documentation.

Since this is a repetitive issue, it's closed.


Chart disappears (height and width set to 0) when responsive is true and chart is dragged

Expected Behavior
The chart is responsive and is able to be dragged around the wrapping component like normal.
Current Behavior
When responsive = true and you drag the chart, it's height and width are set to 0 and the chart disappears.
Possible Solution
I am not able to figure out why the chart's height and width are set to 0, so perhaps a min value for each would be a quick fix. It would obviously undo a lot of the responsiveness, but in my usecase that would be very helpful, as you wouldn't want a chart to be, say, 4rem x 4rem anyway.
Another possible solution I've been tinkering with, and can be seen partially in my CodeSandbox, is a toggle for responsiveness. I could make a toggle that triggers when the draggable library initial event is fired, which removes responsiveness, allowing the chart to move, then toggling back on when released. That's quite a lot of work and code for a potentially easy fix
Steps to Reproduce
Here is the link to my CodeSandbox. Currently responsive is on and the chart bug will happen upon dragging. You can uncheck the box and make it no longer responsive (also, checking and unchecking will re-render the chart if it disappears).
Here is a gif showing the bug:

Context
I am trying to create a user dashboard that will render several charts on the page. I want it to be dynamic and movable so the drag and drop ability is necessary. Of course it also needs to be responsively sized. So my charts disappear when attempting to utilize one of the main features is an issue.
Environment

vue.js version:
vue-chart-3: <0.5.11>
chart.js version: <3.6.0>
npm version: <6.14.14>
CodeSandbox

@LovelyAndy would you be able to test #9876 out in your project? I'm not able to test it in a similar env currently.

@kurkle Thanks for the comment! I've never seen this syntax before, but I'll give it a go

@LovelyAndy I think you need to do something like this:

clone Chart.js repository locally (gh repo clone chartjs/Chart.js with github cli)

then in the repository directory

check out the pr (gh pr checkout 9876  with github cli)

npm ci
npm run build
npm link

and then
npm link chart.js in your project and test if it works

I am having the same issue. I am using charjs inside react-dnd. After dragging the charts, their height and width are set to 0.

@kurkle I've put this into my project and all of my charts disappear (the visible thing is just a bunch of nested components, not chartjs).
This is the error I get in the console:
chart.esm.js:4872 Uncaught (in promise) Error: "line" is not a registered controller.
Perhaps it's something to do with the vue-chart-3 syntax? But I'm not entirely sure.

@kurkle PR #9876 is working for me.

@LovelyAndy sounds like you did not register Line controller?

@kurkle I did registerables like this in my project:
import { Chart, ChartData, ChartOptions, registerables } from "chart.js"; Chart.register(...registerables);

@kurkle I did registerables like this in my project: import { Chart, ChartData, ChartOptions, registerables } from "chart.js";
Chart.register(...registerables);

Maybe there are 2 instances of Chart.js somehow? Did you change anything other than npm link chart.js?

@kurkle Hey Kurkle, Thanks for all of you help so far, but I was not able to get this working. Could you take a second to check out my project please?
I made a zip just fo you with mimimal production on my chart usage so far (almost the same as the codesandbox).
Thanks again, I really appreciate it.
https://www.dropbox.com/s/a0vwccjeygc8w1p/ChartsForKurkle.zip?dl=0

@LovelyAndy did not realize it was a Vite thing. Vite has some issues with linked packages, and I'm not going to try solving those now (I've never used Vite).
The fix seems quite obvious though and the fact that the issue is fixed with react-dnd makes confident it will be fixed for your case too.

@kurkle Ahh, yeah this is my first project with Vite and I'm not that familar with it either. Thanks for all of the help though; I really appreciate it.
Glad someone got some help through this though!

@kurkle Hey, I installed my own fork from your fork and it worked! Let's get this PR  merged released and then I can go back to using chartjs normally 🥳
Thanks again for all the help!

@kurkle Does this being closed now mean that this PR was merged? Cheers again!


Switch a number of uses of strings to Kind enums instead.

The Kind enum is moved from pkg/aspect to pkg/config, making it
possible to use Kind enums in the config package. This eliminates
many uses of generic strings in favor of the more mnemonic and
efficient Kind enum.
This also enables invalid kinds to be reported sooner in the config validation
process.

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/istio-pr passed

Jenkins job mixer/presubmit passed

Great suggestions. All done.
PTAL.

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/istio-pr passed


Allow for custom JAVA_OPTS Environment Variable

Before this change tl.setVariable would override any custom JAVA_OPTS, making it impossible to set Java memory as needed in #144
Will print if any non-default JAVA_OPTS are set, for better debugging, if nothing is defined it will use the default '-Xss8192k' as said before, so this is not a breaking change.
Fixes #131

@ejohn20
I have tested this change together with @Saturate on our own Devops and it works like a breeze.
We are now able to set the JVM as we want to and also we can now do proper OWASP scans because we have created a local cache of the NIST files.
See https://github.com/jeremylong/Open-Vulnerability-Project/tree/main/vulnz#caching-the-nvd-cve-data for a guide for that.
So can we please get the PR approved, deployed so we are all able to move on and handle the downtime we currently see from the NIST servers.
Thanks @ejohn20

@jeremylong @ejohn20
Can we do something to exepedite the PR somehow?
We have 100+ pipelines that are failing on OWASP and with this PR we can make them all work again!
We are internally at our organistation dependent on this extension and discussing if we can be part of maintaining this as well.
This would benefit all :-)

Hi @ejohn20
I have attached a log from devops showing it works using our build of the template.
For testing we have bumped to v10 :-)
We are using our own downloaded files as can be seen in the logs and also that it succeeds.
owasp_log.txt

@ejohn20  sorry to be so pushy here but we really need to PR to either be approved, if it is good, so we can get all of our pipelines to work.


⚠ Bofrost.at has degraded performance

In aa214ab, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1555 ms

Resolved: Bofrost.at performance has improved in 7b7a805.


[zh] Resync topology-spread-constraints.md

Resync content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md with en page
Remove extra spaces

/lgtm
/approve


Is there any (planned) support for pluggability at compile time?

Hey guys, we have a codebase that we've adopted Flow on, and as we adopt Flow for new projects, one thing has come up: it's kind of awkward working around dependency injection.  I was hoping that I could implement a DI container based on using Flow type definitions that does code injection at compile time and (optionally) lookups at runtime, but from what I can tell, I can only get access to the annotation as text.  It would be helpful if I could plug into Flow's typesystem at compile time: as it is now, I think I can do simple injection based on an interface, but it would be amazing if I could plug into Flow and do more complex injections based on computed types.  For example if I have interface A and interface B extends A.  If I allow the user to specify an implementation for interface A, it would be nice if requested injections for B injected A instead, but I'd need to be able to look at the interface as a type, rather than just as a string.  In a perfect world, I'd be able to inject inferred types as well, but I think that might be a pipe dream.
I couldn't find anything mentioned anywhere about this, so I figured I'd ask.  If it's not planned, go ahead and close this and I'll work with what I have.  Thanks for your time, and for this awesome project!

flow is not a compiler, so it can't really do anything with your code. i'd write a babel plugin instead. babylon can parse type annotations, and it can rewrite your AST.


Fix reporting

Description
Changes proposed in this pull request.
Test plan
Outline the test plan used to test this change before merging it.

Fixes #.

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "622",
    "commit-sha": "ab875c4d9040ab048676115d2b9afecb19c3d48d"
  }
]


Heating Setpoint not sticking during TemporaryHold on T9

Describe The Bug:
When setting thermostat temperatures in Auto mode for TemporaryHold, only the cooling set point sticks. PermanentHold works.
You can see some more strange detail around what is going on in the Honeywell Home app that is not shown on the Thermostat itself. It first goes into a hold mode based on the Schedule Name instead of a time hold mode ending at a particular time, and then loses the heat set point when it reverts into the time-based hold.
To Reproduce:

Set a heating set point on Auto mode
Immediately open the Honeywell Home App. It reflects both the proper high and low ends of the set point, and the status states “Hold __ While Home” (Home is the current schedule name)
Within 30 seconds, the app changes to a specific time-based ending “Hold Until ___AM” but the heating set point is lost when it transitions.

Honeywell App Immediately after changing both heating and cooling set points:

After 10-30 seconds:

Expected behavior:
Both Heating and Cooling settings are properly committed to the thermostat, the thermostat goes into a hold, does not change hold modes, and the set point sticks.
Logs:
See prior same issue: https://github.com/donavanbecker/homebridge-honeywell-home/issues/475
Device & Model:
Honeywell T-9
Environment:
-Node.js: v14.17.3
-NPM: v6.14.13
-Homebridge: 1.3.4
-Os: Alpine Linux (3.12.7)
-Honeywell Home Homebridge version: 9.4.3

Honeywell Home confirmed this is a bug in their API.


Add emergency datasets & APIs

Moves 'Natural Disaster' section into new Emergency section. Add new emergency datasets and APIs to Emergency section.

Is there anything needed to get this merged? I'm happy to make changes if they're required. 😃

@CodeMacabre hey sorry for the delay. Yeah I think you can just put these under other instead of a whole new category.

@jdorfman Thanks! I've moved the Emergency API into Other and reverted my change to the Natural Disasters category (and updated it).
Also, I noticed Natural Disasters was missing its entry in the TOC, so I've added that too.

@jdorfman Not entirely sure why checks have failed, but I've updated this PR with the changes you requested. Could you take a look please and let me know if anything else needs updating?


How to notify custom field components of validate/submit event?

I have a custom component (Foo) with its own state and data and it needs to know when the form is being submitted so that it can validate itself and either prevent the submit (by failing), or finalize its data and allow the submit to proceed.  So it looks something like this:
  renderFoo({ input: {value, onChange} }) {
    return (
      <Foo value={value} onChanged={onChange} />
    );
  }

  render() {
    return (...

          Foo:
          <Field name="foo" component={this.renderFoo} />

    );
  }

How do I notify Foo that the form is being submitted/validated and that it should return false if the data isn't valid?
Thanks,
Alvaro

You can use field level validation for this  now, see http://redux-form.com/7.0.3/examples/fieldLevelValidation/. Sorry it took ten months! Does this answer your question?

Closing due to low activity.


Revert "Add "/lfg" as an intuitive shorthand to open the GBB frame."

Reverts Vysci/LFG-Bulletin-Board#48

As I thought about it a tiny bit more I don't want to make /lfg a shorthand as it's highly likely it will interfere with other addons. /gbb has the same number of characters and accomplishes the same thing w.o risk of interfering with other addons


Lua mesh generation

 Here is an overview of what got changed by this pull request:

Clones added
============
- src/plugins/cgal/nodes/lua/module.cpp  2
- src/plugins/cgal/nodes/grid.cpp  1

See the complete overview on Codacy


Extended getOffset function to provide some styles.

It will be possible to define custom styles for the picker dependent on it's display location. ( below or above the input )
The picker will get the style 'sp-above' if it pops up above the input control. Otherwise it will get the style 'sp-below'.

The code looks straightforward enough, can you share a usage example so we can update the docs?

Thx for the quick response.
Here is my example: http://jsfiddle.net/siegi02/nyv8aaz5/5/
(the styled arrow of the picker will always point to the input control)

(the styled arrow of the picker will always point to the input control)

I'm not seeing it (see screenshots)


Added register vm method

This is useful to have.

Hi @knarfrank, this is a long time PR, and the first one too. As this is quite old, can you tell me if you think this PR is still valid? If not, I will close it 21 days from now, on the 2021/07/14, just to clean up the open issues and PRs.


JTAG regression: "The target is either really slow or broken. "

CC: @a-will @alphan @arunthomas
Last week, I observed an issue with JTAG-based ROM e2e tests like :sram_program_fpga_cw310_test_otp_dev. OpenOCD connects, but when it tries to service the commands issued by GDB, it eventually prints out this fascinating error message:

[OPENOCD] Error: DMI operation didn't complete in 2 seconds. The target is either really slow or broken. You could increase the timeout with riscv set_command_timeout_sec.

I've verified locally that the test reliably fails on 2d3aa1765af8141675d8f3aee3b3a691d1a0db02 (PR #15602), but reliably succeeds on the parent commit, f3da3f66ef03e2485f51e7626d5dc46a93273ac5.
N.B.:

It seems like the FPGA needs to be power cycled after this failure or else subsequent tests will fail. I spent a few hours running an automated git bisect, but I think the results were garbage because of this.

If anyone is trying to repro this themselves, you should patch this into your tree first. The test coordinator script has a bug that I will document and fix separately.
diff --git a/rules/scripts/gdb_test_coordinator.py b/rules/scripts/gdb_test_coordinator.py
index f02ace2c9..04bbe8f54 100644
--- a/rules/scripts/gdb_test_coordinator.py
+++ b/rules/scripts/gdb_test_coordinator.py
@@ -149,7 +149,7 @@ def main(rom_kind: str = typer.Option(...),
     # to avoid a subtle race condition.
     background = BackgroundProcessGroup()
     openocd = background.run(openocd_command, "OPENOCD", COLOR_PURPLE)
-    background.block_until_line_contains(openocd, "starting gdb server")
+    #background.block_until_line_contains(openocd, "starting gdb server")

Full output on 2d3aa1765af8141675d8f3aee3b3a691d1a0db02
% ./bazelisk.sh test --define bitstream=vivado --test_output=streamed --cache_test_results=no //sw/device/silicon_creator/rom/e2e:sram_program_fpga_cw310_test_otp_dev
INFO: Invocation ID: 7f19afc9-68a3-4257-997d-bbbefe00e71c
WARNING: Streamed test output requested. All tests will be run locally, without sharding, one at a time
INFO: Analyzed target //sw/device/silicon_creator/rom/e2e:sram_program_fpga_cw310_test_otp_dev (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
++ rules/scripts/gdb_test_coordinator --gdb-script-path=sw/device/silicon_creator/rom/e2e/sram_program_fpga_cw310_test_otp_dev.gdb --openocd-earlgrey-config=util/openocd/target/lowrisc-earlgrey.cfg --bitstream-path=sw/device/silicon_creator/rom/e2e/rom_otp_dev_exec_disabled.bit --rom-kind=Rom --opentitantool-path=sw/host/opentitantool/opentitantool '--exit-success-pattern=sram_program\.c:\d+\] PC: 0x100020e0, SRAM: \[0x10000000, 0x10020000\)'
[2022-11-07T16:25:23Z INFO  opentitantool::command::load_bitstream] Loading bitstream: "sw/device/silicon_creator/rom/e2e/rom_otp_dev_exec_disabled.bit"
[2022-11-07T16:25:23Z INFO  opentitanlib::util::usr_access] Bitstream file USR_ACCESS value: 0x50c29ba
[2022-11-07T16:25:25Z INFO  opentitanlib::util::rom_detect] Did not detect the ROM identification message.
[2022-11-07T16:25:25Z INFO  opentitanlib::transport::cw310] Programming the FPGA bitstream.
[2022-11-07T16:25:39Z INFO  opentitantool] Command result: success.
[OPENOCD] Open On-Chip Debugger 0.12.0-rc1
[OPENOCD] Licensed under GNU GPL v2
[GDB] /tools/riscv/bin/riscv32-unknown-elf-gdb: warning: Couldn't determine a path for the index cache directory.
[OPENOCD] For bug reports, read
[OPENOCD]       http://openocd.org/doc/doxygen/bugs.html
[OPENOCD] trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
[OPENOCD]
[OPENOCD] Info : Hardware thread awareness created
[OPENOCD] Warn : `riscv set_prefer_sba` is deprecated. Please use `riscv set_mem_access` instead.
[OPENOCD] force hard breakpoints
[OPENOCD] Info : Listening on port 6666 for tcl connections
[OPENOCD] Info : Listening on port 4444 for telnet connections
[OPENOCD] Info : RCLK (adaptive clock speed)
[OPENOCD] Info : JTAG tap: riscv.tap tap/device found: 0x04f5484d (mfg: 0x426 (Google Inc), part: 0x4f54, ver: 0x0)
[CONSOLE] Starting interactive console
[OPENOCD] Info : datacount=2 progbufsize=8
[OPENOCD] Info : Examined RISC-V core; found 1 harts
[OPENOCD] Info :  hart 0: XLEN=32, misa=0x40901104
[OPENOCD] Info : starting gdb server for riscv.tap.0 on 3333
[OPENOCD] Info : Listening on port 3333 for gdb connections
[OPENOCD] Info : accepting 'gdb' connection on tcp/3333
[GDB] warning: No executable has been specified and target does not support
[GDB] determining executable automatically.  Try using the "file" command.
[GDB] 0x000081b8 in ?? ()
[OPENOCD] Error: JTAG scan chain interrogation failed: all ones
[OPENOCD] Error: Check JTAG interface, timings, target power, etc.
[GDB] :::: Send OpenOCD the 'reset halt' command.
[OPENOCD] Error: Trying to use configured scan chain anyway...
[GDB] JTAG scan chain interrogation failed: all ones
[OPENOCD] Warn : Bypassing JTAG setup events due to errors
[OPENOCD] Error: DMI operation didn't complete in 2 seconds. The target is either really slow or broken. You could increase the timeout with riscv set_command_timeout_sec.
[GDB] Check JTAG interface, timings, target power, etc.
[GDB] Trying to use configured scan chain anyway...
[GDB] Bypassing JTAG setup events due to errors
[GDB] DMI operation didn't complete in 2 seconds. The target is either really slow or broken. You could increase the timeout with riscv set_command_timeout_sec.
[CONSOLE] [CTRL+C] to exit.
[CONSOLE]
[CONSOLE]
[CONSOLE]
[CONSOLE] Exiting interactive console.
[CONSOLE] [2022-11-07T16:25:44Z INFO  opentitantool] Command result: Console timeout exceeded
CONSOLE exited with code 1

cc @jeoongp @msfschaffner

should be addressed by
#15998
#16012

should be addressed by #15998 #16012

Thanks @tjaychen !

Yes, thank you @tjaychen! Closing this now.

wait, i thought the issue wasn't fixed yet? didn't we discover yesterday that there were still problems?

Update on this: I merged #15713 yesterday, which uses CI to help us keep an eye on potential flakiness of JTAG tests. The  tests passed on that PR, but later I saw 2/3 of the tests fail on #16226.
Note that the tests are failing differently than the original "target is either really slow or broken" error. Instead, we're seeing [OPENOCD] Error: timed out while waiting for target halted. Perhaps we should merge #16179 first, before we think about this too hard.

sounds good to me!

@dmcardle / @alphan are we okay to move this to M3?
I think we've figured out there is no immediate breakage after the adapter delay, the rest I'm hoping is something we can clean up but doesn't have to be M2 blocking.
let me know what you think.

I think we can close this issue!
I checked the last ~15 CI runs since on master since merging #16179, none of them failed because of "Experimental CW310 JTAG Jobs".
@tjaychen I'm not actually sure what's left to clean up, but I'll move this issue to M3 and let you either close it or file a followup issue :)

@a-will has pointed out that the constraints for JTAG don't look great on fpga (and quite possibly asic), so that is still something to clean up.  Let me file that as a separate issue though since I don't want to hijack this one.
Then let's close this!


Ci grab bag 23 apr 24

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Hide an unreleased FF. Add permissions for secure connect API key.
Jira/GitHub Issue numbers (if any): CI-12133
Preview links/images (Internal contributors only): building

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6627dbb81662c20fddb9aad0--harness-developer.netlify.app


How long would it take to spin an instance?

I have a setup of mine that's very manual, it takes around 3minutes time to generate an image from cold boot.
With this solution, how long would it take starting from no instance running?

It might take around 7~8 minutes from scratch, including the time to start the EC2 instance and pull all the models from S3 to the local instance store. This solution is not designed for rapid scaling out but rather to improve model loading and switching performance.

Got it, thanks for clarifying!


[WIP] mission overview slides and notebook

SlideRule "feature find" notebook
visualization of land ice products notebook

Thanks @tsutterley ! Just remember to add these to the table of contents here
https://github.com/ICESAT-2HackWeek/ICESat-2-Hackweek-2023/blob/d5e6dfbfff5e5d4287a3e3e0afbc0aebb5c086ae/book/_toc.yml#L28

Will do! Thanks @scottyhq

Do you want to add icesat2-toolkit to the CryoCloud hub too? It's not on conda-forge, but we can add it as a pip package.

Good question @weiji14, I'm going to rewrite it to use earthaccess so that people can use standard tools. This was just a placeholder using functions I had.

looks like we're missing IS2view, which is part of the cryocloud hub image, but not here?

@tsutterley I see is2view:
(notebook) jovyan@jupyter-scottyhq: ~$ conda list | grep is2
is2view                   0.0.4              pyhd8ed1ab_0    conda-forge

thanks @scottyhq!

@tsutterley Correct. we need to match recent changes to cryocloud here, the env is not automatically copied in CI. cc @jomey

I can work on adding the latest additions to this CI

are there NASA Earthdata credentials stored as secrets for the CI builds? trying to figure out what's happening here

maybe it'd be better if that notebook doesn't run. it tries to get ATL03, ATL06, ATL11 and ATL15 data. might clog up the works.

https://deploy-preview-62--icesat-2-2023.netlify.app/tutorials/mission_overview/


Auto-review tests to enforce @group annotations

Description
Needs #6770 for tests to pass.
Code based on my private repo.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Under deliberation at the other PR.

Not sure, but DatabaseLive and CacheLive groups are not read?
> vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.

Available test group(s):
 - AutoReview
 - Others
 - SeparateProcess
 - default

Not sure, but DatabaseLive and CacheLive groups are not read?

That's very odd! I will do a little digging.

I got nothing; everything looks correct to me. I think we proceed with this and then troubleshoot some more if the groups aren't actually working.

I did some testing on the testsuites and it seems the changes altered the groups.

$ vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.

Available test group(s):
 - AutoReview
 - Others
 - SeparateProcess
 - default

Cannot merge this for now. Coverage decreased to 15.9%. 🤯

I am so confused why the tests hang! 😤

$ vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.

Available test group(s):
 - AutoReview
 - CacheLive
 - DatabaseLive
 - Others
 - SeparateProcess


HTTPError: 400 Bad Request from https://test.pypi.org/legacy/ Bad Request for Github Actions on Test PyPI

This is maybe a bug but i'm not sure. I've been following the tutorial for automating the push of latest packages on pip from here. I'm trying to do it on Test PyPI for now.
I have the following workflow to release the distribution package on Test PyPI :
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: push

jobs:
  build:
    name: Build distribution 📦
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Set up Python
      uses: actions/setup-python@v5
      with:
        python-version: "3.11"
    - name: Install pypa/build
      run: >-
        python3 -m
        pip install
        build
        --user
    - name: Install dependencies and Run tests
      run: |
        python -m pip install --upgrade pip
        python -m pip install .
        python -m pip install -r test/requirements.txt
        pytest test
    - name: Build a binary wheel and a source tarball
      run: python3 -m build
    - name: Store the distribution packages
      uses: actions/upload-artifact@v4
      with:
        name: python-package-distributions
        path: dist/

  publish-to-testpypi:
    name: Publish Python 🐍 distribution 📦 to TestPyPI
    needs:
    - build
    runs-on: ubuntu-latest

    environment:
      name: testpypi
      url: https://test.pypi.org/p/torchdde

    permissions:
      id-token: write

    steps:
    - name: Download all the dists
      uses: actions/download-artifact@v4
      with:
        name: python-package-distributions
        path: dist/
    - name: Publish package distributions to TestPyPI
      uses: pypa/gh-action-pypi-publish@release/v1
      with:
        repository-url: https://test.pypi.org/legacy/
        verbose: true

I have also followed to add the trusted publishers from the PyPI website so there is no need to specify the API tokens apparently.
The issue arises at Publish package distributions to TestPyPI :
Run pypa/gh-action-pypi-publish@release/v1
  with:
    repository-url: https://test.pypi.org/legacy/
    verbose: true
    user: __token__
    repository_url: https://upload.pypi.org/legacy/
    packages_dir: dist
    verify_metadata: true
    skip_existing: false
    print_hash: false
    attestations: false
/usr/bin/docker run --name aa8f0f61634924446291bdd2b2eb26b6d6_75c6e7 --label 1599aa --workdir /github/workspace --rm -e "INPUT_REPOSITORY-URL" -e "INPUT_VERBOSE" -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_REPOSITORY_URL" -e "INPUT_PACKAGES-DIR" -e "INPUT_PACKAGES_DIR" -e "INPUT_VERIFY-METADATA" -e "INPUT_VERIFY_METADATA" -e "INPUT_SKIP-EXISTING" -e "INPUT_SKIP_EXISTING" -e "INPUT_PRINT-HASH" -e "INPUT_PRINT_HASH" -e "INPUT_ATTESTATIONS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/torchdde/torchdde":"/github/workspace" 1599aa:8f0f61634924446291bdd2b2eb26b6d6  "__token__" "" "https://test.pypi.org/legacy/" "" "" "" "true" "" "false"
Checking dist/torchdde-0.1.0-py3-none-any.whl: PASSED
Checking dist/torchdde-0.1.0.tar.gz: PASSED
Showing hash values of files to be uploaded:
/github/workspace/dist/torchdde-0.1.0.tar.gz

SHA256: 1d1a8a94a684850e7b9d3461ff9b03e17d9322f1af51603db5a5d08bc55fb043
MD5: a5ac5d5a817ec5af613f89336242b2a0
BLAKE2-256: 21fbeaa243b4d5ac3ec3d9b37988853cd49d145730068bdd5258f97b4134997d

/github/workspace/dist/torchdde-0.1.0-py3-none-any.whl

SHA256: e3c8ed0569cda55144e4cf0656f6e9d3d131830b34d52defedcccb4cf664fdd3
MD5: dbaf6c6828101e07b01b9c14a2488ebb
BLAKE2-256: 1380db838e6daac381ea0f28e7328692fee475ef4576563c49d0e4ae66e309d5

Uploading distributions to https://test.pypi.org/legacy/
INFO     dist/torchdde-0.1.0-py3-none-any.whl (35.0 KB)
INFO     dist/torchdde-0.1.0.tar.gz (22.8 KB)
INFO     password set by command options
INFO     username: __token__
INFO     password: <hidden>
Uploading torchdde-0.1.0-py3-none-any.whl
INFO     Response from https://test.pypi.org/legacy/:
         400 Bad Request
INFO

           <title>400 Bad Request</title>

400 Bad Request

           The server could not comply with the request since it is either
         malformed or otherwise incorrect.

         POST body may not contain duplicate keys

ERROR    HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
         Bad Request

I'd like also to note that my current master is on version 0.1.0 and that the first PyPI test was done successfully by doing the CLIs with a version 0.0.1 so i'm not sure that the version bumping is the problem here.
The github action provides the url link to the release 0.0.1 and not 0.1.0  :
0s
Evaluate and set environment url
Evaluated environment url: https://test.pypi.org/p/torchdde
Cleaning up orphan processes

This seems to be related to https://github.com/pypi/warehouse/pull/16732 but I'm not sure.

Thanks for the issue! Currently trying to debug this in #16755.

Accidentally closed, I'm not sure we've figured out what the issue is here yet.

I still can't reproduce this myself but I've merged https://github.com/pypi/warehouse/pull/16755 which might help, can you retry and see if this is still happening?

On my end, it doesn't seem so !

I've encountered this via a github action as well. I just tried re-running the failed action, but getting the same error.  I am also using the pypa/gh-action-pypi-publish@release/v1 action. Seeing this on two repositories, one setup to use Trusted Publisher and the other using a token, both using the skip-existing
Interesting, one repo is seemingly successful uploading the .whl, but fails on the tarball. Here's some verbose output if it's any help.
Uploading distributions to https://test.pypi.org/legacy/
INFO     dist/scout_apm_logging-0.1.2-py3-none-any.whl (4.5 KB)
INFO     dist/scout_apm_logging-0.1.2.tar.gz (3.2 KB)
INFO     password set by command options
INFO     username: __token__
INFO     password: <hidden>
Uploading scout_apm_logging-0.1.2-py3-none-any.whl
INFO     Response from https://test.pypi.org/legacy/:
         200 OK
INFO

           <title>200 OK</title>

200 OK

Uploading scout_apm_logging-0.1.2.tar.gz
INFO     Response from https://test.pypi.org/legacy/:
         [40](https://github.com/scoutapp/scout_apm_python_logging/actions/runs/10930758049/job/30389277563#step:4:41)0 Bad Request
INFO

           <title>400 Bad Request</title>

400 Bad Request

           The server could not comply with the request since it is either
         malformed or otherwise incorrect.

         POST body may not contain duplicate keys (URL:
         'https://test.pypi.org/legacy/')

ERROR    HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
         Bad Request

Thanks for taking a look at this. The issue seems to only be effecting to our devel (testPyPI) workflow, and only occurs when trying to push a version already uploaded to testPyPI (Hence the skip-existing). Bumping the version bypasses this error.

We've identified the issue, https://github.com/pypi/warehouse/pull/16759 will fix this once it's merged & deployed.

I didn't have any version of the package on PyPI but by using the workflow :
  publish-to-pypi:
      name: >-
        Publish Python 🐍 distribution 📦 to PyPI
      if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes
      needs:
      - build
      runs-on: ubuntu-latest
      environment:
        name: pypi
        url: https://pypi.org/p/torchdde  # Replace <package-name> with your PyPI project name
      permissions:
        id-token: write  # IMPORTANT: mandatory for trusted publishing

      steps:
      - name: Download all the dists
        uses: actions/download-artifact@v4
        with:
          name: python-package-distributions
          path: dist/
      - name: Publish distribution 📦 to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1

The release of the distribution package was successful. (maybe the latest commit come through)

So this is either a problem probably coming from test PyPI itself or the update of packages.

I am also seeing this error:


Publish new version to npm?

npm:
$npm view smdatetimerangepicker

'dist-tags': { latest: '1.6.1' },
versions: [ '1.6.1' ],

bower:
$bower info smDateTimeRangePicker

Available versions:
  - 2.0.1
  - 2.0.0
  - 1.6.1
  - 1.6.0
  - 1.5.5
  - 1.5.4
  - 1.5.3
  - 1.5.2
  - 1.5.1
  - 1.5.0
  - 1.0.1
  - 1.0.0
  - 0.0.9
  - 0.0.8
  - 0.0.7
  - 0.0.6
  - 0.0.5

Versions 2.0.1 and 2.0.0, are missing from npm.

published


Feat #9334 Add USD to drop button

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #9334
[ ] Requires deployment <worker/stick/speck>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[x] I've tested it at ahp/drops/motifs
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

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

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

-Added eager watch to variables to compute amount in USD
-Updated computed value to show USD if available

Hello, found a problem:
Changing the amount of NFTs to be minted does not change the USD value accordingly:
https://github.com/kodadot/nft-gallery/assets/36627808/e243c08d-ce64-4c74-9e5e-835898a9a915

Hello, found a problem:
Changing the amount of NFTs to be minted does not change the USD value accordingly:
https://github.com/kodadot/nft-gallery/assets/36627808/e243c08d-ce64-4c74-9e5e-835898a9a915

Good call, thanks. I will fix this.

@prury should be fixed

@prury should be fixed

thank you

Apart from somehow wrong rounding I bet

What you are @Haviles04 using for price?
As quick check on Coingecko shows per DOT different price

Thinking outside of scope of this PR, this would need having USD too

Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 9.57 USD/DOT ~ 3.135 $DOT
🧗 12bcbmuScAcivbqGCpeyRsrPe18WfhotvNywd7ci27CTWHAw
🔗 0x74e4debd5a1ddb4e79a61cb417c23765888dced7f82e516ee00dbc2993e6ec28
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

😍 Perfect, I’ve sent the payout
💵 $30 @ 9.57 USD/DOT ~ 3.135 $DOT
🧗 12bcbmuScAcivbqGCpeyRsrPe18WfhotvNywd7ci27CTWHAw
🔗 0x74e4debd5a1ddb4e79a61cb417c23765888dced7f82e516ee00dbc2993e6ec28
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

Thank you!


Priority Metrics/Coupled Metrics job

The so called Priority/Coupled metrics need to be incorporated and run for every year set.

Done


How to built?

Last night I tried to work on a CI Pipeline for the project to provide some linting, checking and automated builds.
But I was unable to even built the project locally. I checked the Godot docs, they stated I should use scons to build.
I installed it and tried to run it in the project directory:
scons

scons: *** No SConstruct file found.
File "/usr/lib/python3.9/site-packages/SCons/Script/Main.py", line 940, in _main

Am I missing something?

What are you trying to build exactly? The project doesn't have to be built - gdscript is an interpreted language and can just be loaded into the engine. At this point in time the engine should be compiled as rpc support is only available in the latest version. Are you trying to compile Godot? You'll need to clone the Godot repository first, and then follow these instructions

Thanks for the pointer, I got some progress.
Still some errors to investigate:
Godot Engine v3.3.2.stable.arch_linux - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL ES Batching: ON

ERROR: open: File 'res://.godot/imported/DM1.glb-9d0a731111d6eea69d0dd97fe5ed5e9b.scn' can't be loaded, as it uses a format version (3) or engine version (4.0) which are not supported by your engine version (3.3).
   At: core/io/resource_format_binary.cpp:879.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/BeerCan.glb-4aed8c8c9e0cbbe3eefd2e211aca428b.scn'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Accept.wav-d667a7d5c91baaa8800a1465f7e44626.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Cancel.wav-1932fd1742f03c50602ad815b48a9c2a.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Click.wav-d2798a2b96badd01652b608807841f21.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Confirm_Hit.wav-35fc73dca9828ee635e572735cbd13b5.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Confirm_Kill.wav-2502b2dde35fc6f6f876550578aaba71.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Hover.wav-2f2213d1f90bc5ec20f997a6d891f9aa.sample'.
   At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/Handgun.gltf-dfc6de5a6d72ba5ef43f43a4cd2ab91e.scn'.

ERROR: instance: Cannot get class 'Node3D'.

ERROR: instance: Cannot get class 'Node3D'.

ERROR: instance: Cannot get class 'Node3D'.
   At: core/class_db.cpp:549.
gen_lightmaps: begin: Generating Lightmaps steps: 2
	gen_lightmaps: step 0: Generating for Mesh: Hand (0/2)
	gen_lightmaps: step 1: Generating for Mesh: Static (1/2)
gen_lightmaps: end
	import: step 2: Running Custom Script...
	import: step 104: Saving...
import: end
ERROR: _fs_changed: Invalid export preset name: Linux/X11. Make sure `export_presets.cfg` is present in the current directory.
   At: editor/editor_node.cpp:770.
reimport: end
SCRIPT ERROR: GDScript::reload: Parse Error: The identifier "Window" isn't declared in the current scope.
   At: res://GraphicsMenu.gd:9.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:583.
SCRIPT ERROR: GDScript::reload: Parse Error: Parse error: Unexpected '@'
   At: res://Assets/Characters/Player.gd:3.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:583.

Interesting. Georg, could you be using Godot 3 in here? It seems to not
understand things that have changed in Godot 4...
On Tue, Jun 8, 2021, 12:40 Georg Krause @.***> wrote:

Thanks for the pointer, I got some progress.
Still some errors to investigate:
Godot Engine v3.3.2.stable.arch_linux - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL ES Batching: ON
ERROR: open: File 'res://.godot/imported/DM1.glb-9d0a731111d6eea69d0dd97fe5ed5e9b.scn' can't be loaded, as it uses a format version (3) or engine version (4.0) which are not supported by your engine version (3.3).
At: core/io/resource_format_binary.cpp:879.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/BeerCan.glb-4aed8c8c9e0cbbe3eefd2e211aca428b.scn'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Accept.wav-d667a7d5c91baaa8800a1465f7e44626.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Cancel.wav-1932fd1742f03c50602ad815b48a9c2a.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Click.wav-d2798a2b96badd01652b608807841f21.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Confirm_Hit.wav-35fc73dca9828ee635e572735cbd13b5.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Confirm_Kill.wav-2502b2dde35fc6f6f876550578aaba71.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/UI_Hover.wav-2f2213d1f90bc5ec20f997a6d891f9aa.sample'.
At: core/io/resource_format_binary.cpp:1048.
ERROR: get_dependencies: Cannot open file 'res://.godot/imported/Handgun.gltf-dfc6de5a6d72ba5ef43f43a4cd2ab91e.scn'.

ERROR: instance: Cannot get class 'Node3D'.

ERROR: instance: Cannot get class 'Node3D'.

ERROR: instance: Cannot get class 'Node3D'.
At: core/class_db.cpp:549.
gen_lightmaps: begin: Generating Lightmaps steps: 2
gen_lightmaps: step 0: Generating for Mesh: Hand (0/2)
gen_lightmaps: step 1: Generating for Mesh: Static (1/2)
gen_lightmaps: end
import: step 2: Running Custom Script...
import: step 104: Saving...
import: end
ERROR: _fs_changed: Invalid export preset name: Linux/X11. Make sure export_presets.cfg is present in the current directory.
At: editor/editor_node.cpp:770.
reimport: end
SCRIPT ERROR: GDScript::reload: Parse Error: The identifier "Window" isn't declared in the current scope.
At: res://GraphicsMenu.gd:9.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
At: modules/gdscript/gdscript.cpp:583.
SCRIPT ERROR: GDScript::reload: Parse Error: Parse error: Unexpected '@'
At: res://Assets/Characters/Player.gd:3.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
At: modules/gdscript/gdscript.cpp:583.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/unfa/liblast/issues/49#issuecomment-856655386, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADYBOE2E6XQREEP3CO5WLTTRXXSTANCNFSM46JTRKFA
.

Oh, living on the edge. ;)
Lemme check!

I was unable to install Godot 4 right now. Will get back to it later

Maybe we could ask the Godot community about this?
To produce a game build I think we need to build the engine and export templates. Then the engine should be able to produce game builds based on the export templates and game files.
I found some tool for this: https://github.com/abarichello/godot-ci


Release docker image when new tag created

@brotandgames This should release a new docker image when you create a tagged release. Released Docker images will be:

brotandgames/ciao:latest
brotandgames/ciao:$TRAVIS_TAG

You will need to add the following ENV vars to your pipeline at Travis: $DOCKER_USERNAME & $DOCKER_PASSWORD

Close since we are not using Travis CI (.org) anymore.


No way to configure deprecationlog

Which version of Elastic are you using?
[x] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
I would like to be able to configure deprecationlog. I would like to configure it so that it does not use error level logger but a warning level logger. Moreover, I would like to adapt it so that it prints a warning only once during lifetime of a program and not on every request (if warning is the same as already issued).
Please describe the actual behavior
This is not possible, unless one uses NewSimpleClient.

You can do so by writing your own http.RoundTripper like mentioned here.
If you want, use the code here as a base for your implementation. However, I'm not willing to open up the code for deprecation logging because then I have to support it.

The problem is that deprecationlog is a private field. If it was exported, then sure, I could set it myself to something.
I am not sure how http.RoundTripper could help here, unless I would inspect headers of every response and remove deprecation warnings before passing them on, but that seems a bit overkill approach to this?

As I said, it is a private field as I want to make sure nobody uses it. If it were public, I had to support it.
Doing your own http.RoundTripper allows you to do the same as I did with deprecation warnings, alas it is your code, not mine.

Doing your own http.RoundTripper allows you to do the same as I did with deprecation warnings, alas it is your code, not mine.

I see. I didn't realize that current warnings are already implemented using http.RoundTripper.


Issues while opening napari on Mac

When I run the 3d annotator on my Mac, while opening napari another window opens up showing only a blurred white box that cannot be closed. I can switch to napari with exiting the full screen view, but it stays there all the time napari is open.
Also, I get the message: 2024-03-14 09:18:05.545 python3.10[54867:4006730] not in fullscreen state
It looks like this:

We should double check this and document the issue if it's related to a specific MAC version:

@Marei33 can you check this again on your personal and work MAC and report if this issue occurs on both or only on your work one?
(My assumption is that this only happens on an M3, but I want to double check)

@constantinpape This screen no longer opens!


Spyder 2.3.7 for Python 2

https://github.com/caskroom/homebrew-cask/pull/15308

Thank you for the contribution. It was merged directly as 93a940d1ab179f02d9e402b7a515a076c2c2c7b8 to keep commit history cleaner. Your contribution is still credited to you.


Escape sequences don't actually escape stuff

and y'all nerds said "use the !r flag when using f strings" smh
(created by lyxal here)

Discovered by Me; The First program is This.


App Install Location

The internal memory of my device is quite small, this PR should allow users to easily move the app to the microSD.
"To allow the system to install your application on the external storage, modify your manifest file to include the android:installLocation attribute in the element, with a value of either "preferExternal" or "auto"." (source: https://developer.android.com/guide/topics/data/install-location.html)
Thank you very much for your awesome app :)

I understand the problem, but I'm not sure if this solution is really a good idea. The problem is that other apps (the task sync apps) depend on the availability of this app (of the TaskProvider in particular). Since there is no guarantee that the SD card is always mounted (and the TaskProvider always present) unexpected things might happen.
On many Android 2.x devices the SD card gets unmounted while the phone is connected to a computer (so the computer can mount it).

I see your point. It is correct that the phone cannot access the microSD while connected to a PC (e. g. to transfer pictures). I suppose it affects every Android version. I am using 2.3.6 but I know from a Android 4 (I think KitKat) user that it is the same there. When the phone connects to the PC the apps on the microSD shut down and disappear from the app drawer. After disconnecting it the apps reappear.
Making sure that the TaskProvider etc. restarted after disconnecting the phone from the PC is a bit tricky.
Perhaps it is safest to close this PR.
Thank you for your interest and thinking about it.


Forced exit

What to do?
Give a user to withdraw their funds if the relayer is down and unavailable
Detailed description + decomposition: https://www.notion.so/blockscout/Emergency-exit-727cc6e0aa934d67b18ec23165debeb4

@r0wdy1 Add decomposition, please

UPD 17.11: Add instructions: on how to deploy the console locally and make a forced exit using the console to GitBook (@EvgenKor). We'll use it for the forced exit announcement

UPD 27.11:

We need only to deploy contracts on prod and that's all
With the dec relayer it doesn't make sense to use forced exit. Everyone could be a relayer for himself
Decided to continue discussing the current topic later, when the first version of dec relayer is finished


Fix CS

Hi,
I rewrote the source code according to the PSR-2 coding standards.
P.S.: I used Google Translate. I apologize for translation errors.
Best regards, Ogün Karakuş

Thanks for this, I'm still learning but I'll merge this ;-).

You're welcome @LeShadow :+1:


[BUG]  Request Timeline Page:  "phone icon is disabled"

Describe the bug
On the "Request Timeline Page'  "the phone icon is disabled.
To Reproduce**
Steps to reproduce the behavior:

Go to 'https://reach4help-staging-web-client.firebaseapp.com/timeline/ryjNLSLAGB2fqPZHV8uM...'
Click on 'phone icon'
Phone icon is disabled

Expected behavior
Phone Icon should be working.
Screenshots

Desktop (please complete the following information):

OS: [Windows]
Browser  chrome
Version [ 83.0.4103.97 (Official Build) (64-bit]

Additional context
N/A

ZenHub Information
This information is updated automatically. To modify it, please use ZenHub.

Closed, duplicate of 696


Waterline allows NaN as a number field if set in beforeCreate() callback

Node version: 10
Sails version (sails): 1.2.3

Observed
In interesting contrast to https://github.com/balderdashy/sails/issues/6868, NaN can be assigned to number fields in the beforeCreate() callback:
Steps to recreate:
Model
api/models/Thing.js:
module.exports = {
  attributes: {
    id: { unique:true, type:'number', required:true },
    numVal: { type:'number' },
  },
  beforeCreate: (vals, callback) => {
    vals.numVal = NaN;
    callback();
  },
};

Sails console
> Thing.create({ id:32494 }).then(console.log).catch(console.error)
sails> Thing.find({}).then(console.log)
Promise {
  _bitField: 0,
  _fulfillmentHandler0: undefined,
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined }
sails>
Warning: After transforming columnNames back to attribute names for model `thing`,
 a record in the result has a value with an unexpected data type for property `numVal`.
The corresponding attribute declares `type: 'number'` but instead
of that, the actual value is:

NaN

> You are seeing this warning because there are records in your database that don't
> match up with your models.  This is often the result of a model definition being
> changed without also migrating leftover data.  But it could also be because records
> were added or modified in your database from somewhere outside of Sails/Waterline
> (e.g. phpmyadmin, or another app).  In either case, to make this warning go away,
> you have a few options.  First of all, you could change your model definition so
> that it matches the existing records in your database.  Or you could update/destroy
> the old records in your database; either by hand, or using a migration script.
>
> (For example, to wipe all data, you might just use `migrate: drop`.)
>
> More rarely, this warning could mean there is a bug in the adapter itself.  If you
> believe that is the case, then please contact the maintainer of this adapter by opening
> an issue, or visit http://sailsjs.com/support for help.

[ { createdAt:<PHONE_NUMBER>619,
    updatedAt:<PHONE_NUMBER>619,
    id: 32494,
    numVal: NaN } ]

Expected
Perhaps this is the expected behaviour?

@alxndrsn Appreciate the help! I'm honestly not sure if this was intentional or just a bug, but I'll bring it up with the team for further evaluation.

Thanks, I look forward to hearing more :slightly_smiling_face:

@alxndrsn touched on this in this issue comment, but validation runs before lifecycle callbacks intentionally, and if the data is mutated inside the lifecycle callback it can result in issues like this. For that reason, it's often safer to modify the values before the call to .create(), possibly using a helper if necessary.


feat: add how to get use cairo native

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

please kindly check my PR

The docs you added are not related to Cairo Native. They are related to getting started on Cairo programming.

I understand now
On Mon, 8 Apr 2024 at 17:20, Juan Bono @.***> wrote:

The docs you added are not related to Cairo Native. They are related to
getting started on Cairo programming.
—
Reply to this email directly, view it on GitHub
https://github.com/lambdaclass/cairo_native/pull/496#issuecomment-2043168300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A53276YL4B4XSQHSPJJYNATY4K7VBAVCNFSM6AAAAABFE7CMJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGE3DQMZQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


v-list-web-domains-alias removal in R16

Closes #27 for R16
This would break earlier releases though.

This works only when domain has just one alias.
Aliases are space-separated, but certbot need them comma separated.

Thanks for the suggestion.  As @quacos noted, however, this didn't quite work because the aliases are listed space separated instead of comma separated.  Instead, I found that v-get-web-domain-value "$1" "$2" ALIAS returns the list in a more usable format (comma separated and wit no additional grepping or cutting required), so I've updated the script to use that.


Need Null Safety support

from flutter v2.0.2, flutter is now null-safety mechanism. Most of the packages already upgrade to null safety and more are upgrading.
Thanks for this great package!
Do you plan to make a null safe version of the package?

@Basher7 Do you want to try out this alternate standalone implementation till then?
It doesn't depend on any library, just Flutter 2.0's RawAutoComplete; it therefore would also work on desktop.
Link to TagField gist


Subscribe to the ROS2 topic in ignition gazebo

I am using ROS2 Humble. I want to subscribe to a float type message published with ROS2 in the ignition gazebo plugin.
Using ROS2 bridge I can see the float type message by typing ign topic -l command. But I cannot subscribe using the node->Subscribe function in the transport library. In summary, how can I subscribe to the ros2 topic on ignition gazebo?
Thank you your help.

I  use transport 11 instead 12 then I solved it.

Thanks for the update! We haven't looked at the gazebo simulation for a while but it is good to know it works.


new softDelete

I tried to use the new softDelete hooks with deletedQuery and removeData but something like removeParams is missing.
My user does not have the rights to directly make these modifications, I need to extend params.

And if you use alterItems hook?


Doesn't seem to work with iptables 1.4.7-* (CentOS 6.9)

Gets error with usage of the '-w' flag with iptables. Runs to completion but end result is no NATed interface.
# create_ap wlan0 eth0 APtesting testing123
WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt
Config dir: /tmp/create_ap.wlan0.conf.RRblszUI
PID: 4458
Network Manager found, set wlan0 as unmanaged device... DONE
Sharing Internet using method: nat
iptables v1.4.7: option `-w' requires an argument
Try `iptables -h' or 'iptables --help' for more information.

Doing cleanup..

=========================
# lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.9 (Final)
Release:        6.9
Codename:       Final

# rpm -qa | grep iptables
iptables-ipv6-1.4.7-16.el6.x86_64
iptables-1.4.7-16.el6.x86_64

Has froblems on Arch Linux with iptables as well. Currently it does not work at all on Arch Linux


Store user preferences + stars in firebase instead of localstorage

Just an idea. Not sure if feasible. We could have a table with users and their preferences (e.g. tabs, stars enabled, etc). This would be linked with their Spotify username/id or something. That way you can have the same marketplace experience on multiple computers.

https://supabase.com/docs/guides/auth/auth-spotify @FlafyDev

We need to determine the database structure, is it better to store the individual users and which themes/extensions they've liked in an object for the user, or is it better to store the themes and extensions with all of the users who liked them? We may have to do both.

So I just realized a pretty huge issue with this. We can READ data fine, but if we want to WRITE data (e.g. when a user stars a theme), it will need to have our Supabase/Firebase credentials stored in the publicly-accessible code, which would allow anyone to do whatever they want to it.

More notes on that issue:

We could make a free Heroku account, which has 550h (~23 days) free dyno time. With a credit card verified, that jumps to 1000h. We would need 744h for 31 days.
Then we could publicly host the server code on GitHub, and use Heroku's config vars to keep the Supabase credentials secured.
We would also need some sort of DOS protection, since all the write requests would be going through our single (free, not professional-tier) server.
And we'd want to rate limit by IP or something, so people can't just generate random user ids and boost their stats.
So, it gets pretty complicated, pretty fast.

So I just realized a pretty huge issue with this. We can READ data fine, but if we want to WRITE data (e.g. when a user stars a theme), it will need to have our Supabase/Firebase credentials stored in the publicly-accessible code, which would allow anyone to do whatever they want to it. To get around this, we would need a private server that has the actual Supabase connection, and then POST data to it from within Spotify when we want to send anything.

 So it knows where the database is and is able to write to it. If those are in the code, anyone would be able to use them to write their own code and do what they want, no? Or are you saying since it's hosted, we just need some identifier for our database, and it handles stuff with user logins automatically?

Usually there is some sort of API key, connection string, or secret, or something, to actually initiate the database connection. So it knows where the database is and is able to write to it. If those are in the code, anyone would be able to use them to write their own code and do what they want, no? Or are you saying since it's hosted, we just need some identifier for our database, and it handles stuff with user logins automatically?

Yeah, only the creators have access to the database's content.


The contrast ratio on italicized text is too low

I'm looking at the "Contribute" page: http://qa.opendesignkit.org/contribute/

I would change this to black.

@iamjessklein do you want that to be black or a darker grey?

can we try #4A4A4A

updated on QA @iamjessklein

👍  nice job


Clarify that create_timer does not require cleanup.

This is how I would expect it to work, but the docs didn't clarify, so I
had to check the source just to make sure I wasn't responsible for
freeing the timer:
https://github.com/godotengine/godot/blob/d39f6386ce3a7916dbb94fef5ff65e7599e060f0/scene/main/scene_tree.cpp#L473

Cherry-picked for 3.2.4.

Cherry-picked for 3.2.4.


Gsoc epochs trans mixin

@kingjr I merged it from the basic_pipeline branch while keeping the history. When the #3245 is merged, we only have to solve few merge conflicts. Should I proceed merging this PR?

@dengemann Does this nested PR seem ok to you? I'm afraid of it's potential mess...

@kingjr What should happen with this PR? I have added examples as well.


Format all code with cargo fmt

To assuage the concerns noted in #2338 regarding blocking other in progress PRs I have developed a process to rebase branches on top of this branch by formatting each commit. I have already rebased the following PRs which have no merge conflicts with master.
https://github.com/exrook/futures-rs/compare/format...exrook:pr2384 2384
https://github.com/exrook/futures-rs/compare/format...exrook:pr2379 2379
https://github.com/exrook/futures-rs/compare/format...exrook:pr2374 2374
https://github.com/exrook/futures-rs/compare/format...exrook:pr2355 2355
https://github.com/exrook/futures-rs/compare/format...exrook:pr2352 2352
https://github.com/exrook/futures-rs/compare/format...exrook:pr2343 2343
https://github.com/exrook/futures-rs/compare/format...exrook:pr2342 2342
https://github.com/exrook/futures-rs/compare/format...exrook:pr2328 2328
https://github.com/exrook/futures-rs/compare/format...exrook:pr2244 2244
https://github.com/exrook/futures-rs/compare/format...exrook:pr1956 1956
Additionally I have created .git-blame-ignore-revs and added the format commit to it to improve git-blame output, see:
https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
git config blame.ignoreRevsFile .git-blame-ignore-revs

Instructions/script for updating a branch

Convert current branch (manual, for branches with conflicts)
Do as rebase instructs to resolve any conflicts here!
git rebase master

Format all commits, should not require intervention
REV_SPEC=$(git rev-list master..HEAD | tail -n1)~~..HEAD
git filter-branch -f --tree-filter 'cargo fmt -- --config disable_all_formatting=false --config use_small_heuristics="Max"' $REV_SPEC

Rebase onto the formatted branch, should not require intervention
git fetch upstream pull/2385/head:format # grab the branch from this PR
git rebase format

Push rewritten commits
git push -f

Batch convert PRs: usage ./script.sh <pr numbers>
Will have problems with prs with merge conflicts. You probably want to do this on a fresh clone.

Recreated on top of master and fixed .rustfmt.toml
r? @taiki-e

Why don't you add a cargo fmt action to the gh workflow?


authenticate_with_webhook_key fails for app enforcing HTTPS through Cloudflare's Flexible SSL

There's quite a few variables that need to coincide for the issue to surface:

App hosted on Heroku without SSL enabled.
A Rack middleware in the app that redirects all request to app-name.herokuapp.com -> https://www.app-name.com
The https://www.app-name.com is set up through Cloudflare's Flexible SSL (traffic from the internet to Cloudflare goes over SSL but traffic from Cloudflare to Heroku goes in plain HTTP).

In the given set up the authenticate_with_webhook_key filter always fails as the request.original_url used to calculate the expected signature gives the http://... URL while Mandrill sends requests to https://... URL.
For now I solved the issue by writing a replacement for the authenticate_with_webhook_key method that passes the 'correct' URL to Mandrill::WebHook::Processor.authentic?().
Also if someone doesn't mind his app being accessible through *.herokuapp.com URL, he could point the webhook to that URL and it would work fine.

I didn't read this post thoroughly but I solved my problem. I have rails behind nginx+ssl. In order for authenticate_with_webhook_key to work, I use https:// at mandrill and proxy_set_header X-Forwarded-Proto https; at nginx


Dealing with unusual navbar heights/positioning (e.g. TLYShyNavBar)

I've been making small hacks to a fork of TSMessages to make it work better in a project I'm working on. Recently we began using TLYShyNavBar, which offers Facebook/Instagram-like shrinking of the navbar as you scroll.
An issue with that is that my TSMessage alerts were appearing with a gap above them when the navbar had been shrunk, due to scrolling down the page.
After some testing, it appears that TLYShyNavBar doesn't actually shrink the navbar, but instead slides it up and out of view. In other words, instead of the navbar's center.y being at the usual 42, it ends up at -2 when slid out of sight by TLYShyNavBar's behavior.
I added this line to TSMessages right below line 220 of the current TSMessage.m, in the fadeInCurrentNotification method:
verticalOffset += ([currentNavigationController navigationBar].center.y - 42);

This seems to work well, but I'm not well versed in how TSMessages works exactly, so I'm presenting it here as both a "maybe this will help you" and also a "am I doing this right?" kind of thing. :-)

You might want to try the new TLYShyNavBar version. It should resolve most "gap" issues ;) .. Thanks for using it, btw!


Add cost_centre parameter to all environments

Add a parameter store variable to all environments, so that the environment-specific Terraform scripts can use it to set the CostCentre tag on other resources.
Also update the permissions so that the parameter can be read by the environment-specific Terraform scripts.
We might eventually replace this with a private git repo containing global varibles, but this solution is easier to set up so let's try it for now.
@TomJKing @MancunianSam Does this fit into the way you're doing things in Terraform? I've created a new policy because the parameter read permissions didn't seem to fit into any existing ones - so you have any concerns about hitting IAM limits?
Edit: ~Or should I have put the new permissions into shared_terraform_policy? I think I misunderstood what that was for.~ I've moved the SSM permissions into shared_terraform_policy.

@TomJKing I've moved the parameters to /mgmt.


papermc: fix version/hash override

Description of changes
Version overrides for papermc were broken in https://github.com/NixOS/nixpkgs/pull/276292 because improvements from https://github.com/NixOS/nixpkgs/pull/256981 were erroneously reverted. This PR restores the finalAttrs change and includes hash as an attribute.
Version overrides now work as follows:
{
  services.minecraft-server.package = pkgs.papermc.overrideAttrs {
    version = "1.20.2-242";
    hash = "sha256-rJSgspLZz6LVGfeOuydCtL9Y4PKgrturfzOFzfxs540=";
  };
}

You can verify that the source URL is overridden correctly:
$ nix eval .#papermc --apply 'x: (x.overrideAttrs { version = "1.20.2-242"; hash = "sha256-rJSgspLZz6LVGfeOuydCtL9Y4PKgrturfzOFzfxs540="; }).src.url'
"https://papermc.io/api/v2/projects/paper/versions/1.20.2/builds/242/downloads/paper-1.20.2-242.jar"

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Ping maintainers
@aaronjanse @neonfuz @MayNiklas

Add a :+1: reaction to pull requests you find important.

I'm very sorry!
My initial PR aimed to be consistent when it comes to backward compatibility with overrides; later I broke it by mistake.
Thank you for fixing it!


Migrate "Add Classes to Slotted Children" functionality to BoltElement

Jira
http://vjira2:8080/browse/BDS-2126
Summary
Migrates the existing functionality baked into our original web component base class and ports it over for use in BoltElement. Required in order to complete https://github.com/boltdesignsystem/bolt/pull/1858.
Details
Besides porting over the overall functionality for use in LitElement-rendered components, this PR also breaks up our single decorator JS file into smaller decorator-specific files to reduce the overhead in maintaining a single, extremely large JS file.
This file is all that's really "new" here, in that it packages up this existing logic and tweaks it to make it work with the updated slot API we use in LitElement / Slotify.
How to test
N/A
This is already being used in https://github.com/boltdesignsystem/bolt/pull/1858 so extra testing steps are not necessary in this PR beyond confirming the Travis build passes.

PR was released with v2.23.0


Use official bosh template test helpers

This refactors the job template specs to use the official Bosh::Template::Test helpers available in the bosh-template gem v2.
Note: the fixtures use the default spec.* accessor values defined in the Bosh::Template::Test module, see https://bosh.io/docs/job-templates.html for a list.

@jamesjoshuahill Hello! We tried to test out the pr and are getting the failure
     Failure/Error: job = release.job('syslog_forwarder')

     NameError:
       uninitialized constant Bosh::Template::Test::Job::YAML
     # /Users/pivotal/.rvm/gems/ruby-2.4.1/gems/bosh-template-2.0.0/lib/bosh/template/test/job.rb:9:in `initialize'
     # /Users/pivotal/.rvm/gems/ruby-2.4.1/gems/bosh-template-2.0.0/lib/bosh/template/test/release_dir.rb:8:in `new'
     # /Users/pivotal/.rvm/gems/ruby-2.4.1/gems/bosh-template-2.0.0/lib/bosh/template/test/release_dir.rb:8:in `job'
     # ./spec/syslog_forwarder_rsyslog_conf_spec.rb:7:in `block (2 levels) in <top (required)>'

on every test. Did you run the tests locally? Do have any idea what could be causing this?

Hi @Benjamintf1, sorry about that. I did run the tests locally, but missed this when I was deleting the old helper.
This is the Issue: https://github.com/cloudfoundry/bosh/pull/1866.
Unfortunately I don’t think there is a patch release of the bosh-template gem with the fix. So require ‘yaml’ is needed.

Is the need for yaml temporary, then?

hi @anEXPer, so when using the bosh-template gem v2.0.0 you'll need the following:
require 'bosh/template/test'
require 'yaml'

Hopefully, a patch version of the bosh-template gem will be released that includes https://github.com/cloudfoundry/bosh/pull/1866, then the require 'yaml' will become superfluous.

FYI, just published bosh-template/2.1.0 which should make both of the require "yaml"s unnecessary.


Introduces support for configurable chromium executable

Closes #336

23.02.2021 15:21:51 [ERROR] [OfferOverviewView] - CHROMIUM_EXECUTABLE environment was not set.

Check the docs and try again please :)


MQTT protocol version

I'm using hbmqtt broker as a MQTT server.
In logs I have many reconnects and on server side error:
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server

[MQTT-3.1.0-1] (client @=<IP_ADDRESS>:39525): Can't read first packet an CONNECT: [MQTT-3.1.2-1] Incorrect protocol name: "MQIsdp"
[MQTT-3.1.0-1] (client @=<IP_ADDRESS>:34638): Can't read first packet an CONNECT: No more data
[MQTT-3.1.0-1] (client @=<IP_ADDRESS>:44690): Can't read first packet an CONNECT: [MQTT-3.1.2-1] Incorrect protocol name: "MQIsdp"
[MQTT-3.1.0-1] (client @=<IP_ADDRESS>:44433): Can't read first packet an CONNECT: No more data

In my custom component I tunned mqtt component, and works correctly
        if client_id is None:
            self._mqttc = mqtt.Client(protocol=mqtt.MQTTv311)
        else:
            self._mqttc = mqtt.Client(client_id, protocol=mqtt.MQTTv311)

Can you add protocol version for MQTT settings ?

It might be worth noting that the MQTT library that is being used automatically downgrades from v3.1.1 to v3.1 if there is a protocol version error (see here and here). It might be easier to default to v3.1.1 and let the client take care of figuring out which version it really needs to be.

@philipbl that sounds like an excellent solution.


Refactor/rewrite ideas

Ideas:

introduce/define object model (YtBroadcast, YtStream)
rewrite using TypeScript (?)
make youtube handler stateless with regard to query operations (no embedded broadcast list)

youtube authorization data have to be stateful

make separate youtube state class (containing state moved from youtube handler)
separate authorization flow to its own class

add asynchronous action abstraction (i.e. broadcast switching)

but before all, Maturita exam FTW

split module into multiple files

make data structures immutable

I'd recommend an ES6 class refactor.  Its quicker and makes splitting the files easier.

introduce unit tests

find out how it's done in JS
find out how Companion fits into it


Unable to Send Email

Hello Everyone,
I have configured Security Monkey a long time back and everything has been working just fine, I was initially receiving Emails but now I am getting the following error message in the logs:
/var/log/security_monkey/securitymonkey.log :
2017-09-21 11:41:45,205 WARNING: Failed to send failure message with subject: Password reset instructions
<type 'exceptions.Exception'> 'NoneType' object has no attribute 'send_email' [in /usr/local/src/security_monkey/venv/lib/python2.7/site-packages/security_monkey-0.9.3-py2.7.egg/security_monkey/common/utils.py:100]
2017-09-21 11:41:45,205 WARNING: Traceback (most recent call last):
  File "/usr/local/src/security_monkey/venv/lib/python2.7/site-packages/security_monkey-0.9.3-py2.7.egg/security_monkey/common/utils.py", line 96, in send_email
    ses.send_email(app.config.get('MAIL_DEFAULT_SENDER'), subject, html, email, format="html")
AttributeError: 'NoneType' object has no attribute 'send_email'
 [in /usr/local/src/security_monkey/venv/lib/python2.7/site-packages/security_monkey-0.9.3-py2.7.egg/security_monkey/common/utils.py:101]

Config.py:
# These are only required if using SMTP instead of SES
EMAILS_USE_SMTP = False     # Otherwise, Use SES
SES_REGION = 'eu-east-1'
MAIL_SERVER = 'email-smtp.eu-west-1.amazonaws.com'
MAIL_PORT = 465
MAIL_USE_SSL = True
MAIL_USERNAME = '<username>'
MAIL_PASSWORD = '<password>'

I have configured, Amazon SES credentials, SES creds are configured right, and I am able to send email using those credentials in another standalone python script to verify if SES creds and config are correct.
I have updated securitymonkey to latest version, all required flask packages are installed. Can't figure out what's wrong.
Any help would be appreciated!
-Ishan

If you're using SES you don't need to set any of those values other than SES_REGION and MAIL_DEFAULT_SENDER.  Try checking your IAM Role policy for ses privileges.

Looking at the code, I don't understand how it would get to that line with ses variable being None.
https://github.com/Netflix/security_monkey/blob/develop/security_monkey/common/utils.py#L96
The ses variable is defined just a few lines above in a try/except.
If you're familiar with pdb, this may be a great time to step through the function and see what's going on.
from pdb import set_trace; set_trace()


[Question] how to disable Logger In onModuleInit

Thank you about really good Proejct!!
I also agree @nestjs/config is just use all ENV element ( not useful part env element )
But , I use this library and find one question

Code Link
This code make always logging with key and secret value
So , I want to know why design with always logging
I am currently a student studying, and I may not be well aware of complex situations,
so I am asking this question. I would be grateful if you could kindly teach me with a good heart!
Suggestion
Make nest-library-config.ts , add Logging Option!
type INestConfig= {
    log : boolean;
}

export const NEST_CONFIG : INestConfig ={
    log:true
}
export default NEST_CONFIG;

then , checking this option.
try {
    // Import CONFIG FILE in project folder
    NEST_CONFIG = require('./nest-library-config').NEST_CONFIG;
} catch (error) {
    // If Not Exist File , Create Default Option.
    NEST_CONFIG = { log: true };
    // OR
    NEST_CONFIG = require('./nest-library-config').DEFAULT_CONFIG;
}

Thank you once again !!
If I get the chance, I would like to think more deeply about it and even contribute to this projects

Hi, @youngsu5582
I didn't want to create separate setting or magic words for logging.
I expect to control logging through Log level.

I understand I didn't want to create separate setting or magic words for logging. this syntax.
I think I can use Seperate Logger Class ( For using collect Logger , using nest application booting logger )
Thank you for reply ! 👍👍

I`m  wary of libraries becoming bloated.
what is the problem you have?


Find Material Icons

Include the icon string in the file scheduler_cve_methods.rb
Use icons from https://material.io/icons/

We're done with this functionality now.


ShrinkLabel for MudBaseInput

The new feature ShrinkLabel of MudBlazor MudBaseInput can be useful, can CodeBeam.MudBlazor.Extensions inherit it?

Isn't is same as ForceShrink?

Sorry I must have overlooked, closing this issue.


GitHub Action and ideas

Hi! I started developing a GitHub action to run LicenseFinder in CI/CD pipelines:
https://github.com/jmservera/license-finder-action
The current alpha version has some fields to add permitted licenses and libraries running the tool during the action execution, and the best way to run it by now is combining it with an action that publishes the junit results as test results into the workflow, this is explained in the readme file.
But I'm planning to provide a tighter integration with GitHub by automatically creating Issues and or PRs that add the info to a dependency_decissions.yml file as you would do by running the tool manually. What do you think?
I also wouldn't mind moving the action here if the community wants to support it.

Hey @jmservera ! I think if we add this as optional functionality, I have no issue with it. I don't really have a strong opinion on this one way tor this other but if it helps people, I'm all for it.


[DDMD] [refactor] Split out most of mars.h into globals.h/globals.c

mars.h turns out to be a big annoyance for dmd.  Because it contains, global, Loc, dinteger_t etc, LINK, DYNCAST and MATCH almost every module ends up importing it.  Because it contains main, it imports every single module directly or indirectly.
By most of this stuff into globals.h/globals.c, the cycle is broken.  After this pull it will be possible to compile the lexer with only lexer globals utf entity id identifier tokens errors longdouble root\outbuffer root\rootobject root\stringtable root\rmem root\port.

Auto-merge toggled on

Thanks!


[Question]: About func (el *eventloop) read(c *conn)

Actions I've taken before I'm here

[X] I've thoroughly read the documentations about this problem but still have no answer.
[X] I've searched the Github Issues/Discussions but didn't find any similar problems that have been solved.
[X] I've searched the internet for this problem but didn't find anything helpful.

Questions with details
Why do we still need to write the buffer into inboundBuffer after the data has been processed in the OnTraffic function?
Code snippets (optional)
c.buffer = el.buffer[:n]
	action := el.eventHandler.OnTraffic(c)
....
	_, _ = c.inboundBuffer.Write(c.buffer)

If you've already consumed all data, then c.buffer will be empty.

If you've already consumed all data, then c.buffer will be empty.

Thanks for your reply.


UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f609'

UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f609' in position 0: character maps to <undefined> occurs when running generate.py

Hello,
Could you share some information about your setup please ? I can't reproduce this issue on Fedora with Python 3.12

Got it with Windows (WSL), Python 3.11.9


Concept Testing in UX

Concept Testing in UX

Concept Testing in UX: Moving Forward with the Right Ideas
MAZE.CO
https://maze.co/guides/concept-testing/

Your ultimate guide to concept testing
Ensure you know how to product test new ideas correctly before they go to market with our essential guide to successful product concept testing.
https://www.qualtrics.com/au/experience-management/product/how-concept-test/

Concept testing: methods and examples
SurveyMonkey
https://www.surveymonkey.com/mp/concept-testing/


Organization Filing

The data files are alredy getting a unorganized, probably going to change into a different organization pattern
something like
data-
futures-
prediction of 01/02/2024-
predicted on 01/01/2024.json
mains-
predicted on 01/01/2024-
1am,json

With the new recents.json acting as a pointer to most recent data there is no need to over organize as the rest of the data will be handled by matplotlib


make clipboard and ASCII NUL work better

This is for fixing issue #6149

I'll include it, but it appears the test passes even without the code change.

it should fail, it certainly did for me:
1 FAILED:
Found errors in Test_clipboard_nul():
Caught exception in Test_clipboard_nul(): Vim(normal):E353: Nothing in register * @ function RunTheTest[39]..Test_clipboard_nul, line 7

on what OS did you test?

Windows 10, built using Mingw 64bit. I suspect the appveyor test should fail with a similar message.


Afk without being disconnected

Device
All devices
Suggestion
I would like to know about the possibility of adding something so that we can stay afk, without being disconnected due to inactivity, I say this because I usually get XP in Fortnite and sometimes I am disconnected due to inactivity.

No


eyeing, aguey

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,e]

/trunk merge


[FR] undo script

Feature Request:  It would be extremely convenient and useful if the generated app's Undo menu item could invoke a second script.
If the main script runs to completion and terminates there obviously cannot be any saved state in memory for the undo, but at least for the application I have in mind, it would be easy to manage the little bit of necessary state through the filesystem.  And I do have an immediate use for this feature, if and when.

That's an extremely narrow use case, and it's deeply unclear to me whether it's a good idea, for UX reasons. Closing.


updating packages and creating ceph.conf on compute nodes

This is going to deprecate PR #1493. Adding ceph-common as a dependency for ceph-compute so that librbd1 and librados2 packages on compute nodes will be synced with the ceph nodes. In addition, a ceph.conf file will be generated for the compute nodes as well, allowing for RBD client configuration.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

retest

retest


Test flake: deleting two projects

Introduced in https://github.com/openshift/odo/pull/1710
odo generic project deletion
  be able to delete two project one after the other
  /go/src/github.com/openshift/odo/tests/integration/generic_test.go:171
Created dir: /tmp/348256326
Current working dir: /go/src/github.com/openshift/odo/tests/integration
Setting current dir to: /tmp/348256326
Creating a new project: dpvhbbqzbb
Running odo with args: [project create dpvhbbqzbb -w]
[odo]  •  Waiting for project to come up  ...
[odo]  ✓  Waiting for project to come up
[odo]  ✓  Project 'dpvhbbqzbb' is ready for use
[odo]  ✓  New project created and now using project : dpvhbbqzbb
Creating a new project: hxdssfrihf
Running odo with args: [project create hxdssfrihf -w]
[odo]  •  Waiting for project to come up  ...
[odo]  ✓  Waiting for project to come up
[odo]  ✓  Project 'hxdssfrihf' is ready for use
[odo]  ✓  New project created and now using project : hxdssfrihf
Deleting project: hxdssfrihf
Running odo with args: [project delete hxdssfrihf -f]
[odo]  ✗  The project hxdssfrihf does not exist. Please check the list of projects using `odo project list`
Setting current dir to: /go/src/github.com/openshift/odo/tests/integration

• Failure [1.320 seconds]
odo generic
/go/src/github.com/openshift/odo/tests/integration/generic_test.go:16
  project deletion
  /go/src/github.com/openshift/odo/tests/integration/generic_test.go:158
    be able to delete two project one after the other [It]
    /go/src/github.com/openshift/odo/tests/integration/generic_test.go:171

    No future change is possible.  Bailing out early after 0.214s.
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

    /go/src/github.com/openshift/odo/tests/helper/helper_run.go:29

I cannot reproduce this locally @kadel

finally was able to reproduce this locally and opened a PR which potentially fixes this issue. waiting confirmation by running the CI multiple times

e2e-core succeeded twice in a row on the PR hence assuming the flacky behavior has been resolved


On v0.9.2 specs are failing (2 errors and 7 depreciations)

There are 2 errors and 7 depreciations

btw, what is the login behind this test?
Since it is designed to fail:
LcovInfoView = require '../lib/lcov-info-view'

describe "LcovInfoView", ->
  it "has one valid test", ->
    expect("life").toBe "easy"

These are all the default tests - the package currently doesn't have "real" tests.
(Yes, it is horrible, especially for something that shows tests coverage)

yes I noticed where that test is created, once I started working on an extension.
Here is the fix :) https://github.com/o2platform/atom-coffee-repl/commit/c21e5a45ecda767c70cf525a765afdd41559aa2a


Update docker-compose.yml job-lite-2.12.1

Update job engine to latest

@0xbase12 do you need it released now? or can it wait?

Yes please

@0xbase12
the tests are failing:

manifest for nuvla/job-lite:2.12.2 not found: manifest unknown: manifest unknown

is this update for 2.12.2 or 2.12.1?

Oh It should be the last release 2.12.2.
It should exist on docker hub:https://hub.docker.com/repository/docker/nuvla/job-lite
Bad pull request branch/name sorry

np. But that doesn't exist in fact.
Maybe you meant 2.14.2?

Aiieeeee aie aie, too complex pull request 🤦

:p can you re-submit the PR?


Better error handling in onInitSessionFinished

[notificationObject[@"error"] localizedDescription] occasionally receives "unrecognized selector"

proposed solution: https://github.com/BranchMetrics/react-native-branch/commit/e4157df418adfe9039993d0186832a3122c51268
Will PR after further testing

Good catch :+1:

Still getting this error on [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES]; when network is unavailable:
2016-04-15 14:50:55.138 [error][tid:com.facebook.React.JavaScript] null is not an object (evaluating '_this._lastParams['~id']')

@gnestor fyi I pushed a fix for this both to master and to #v1 branch.
We are working on a big set of v1 changes, if you want to take a peak and weigh here is the WIP PR

👍

master is now updated, there should no longer be initSession exceptions. I will work on some upgrade docs soon.

@rt2zz I'm encountering a new crash related to initSessionWithLaunchOptions. When airplane mode is turned on, the app crashes on launch. If I comment out [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];, no crash.
The logs:
2016-05-11 14:10:02.261 [error][tid:com.facebook.react.JavaScript][RCTJSCExecutor.m:441] Cannot convert argument to string: Error Domain=RCTErrorDomain Code=0 "Invalid type in JSON write (NSURLError)" UserInfo={NSLocalizedDescription=Invalid type in JSON write (NSURLError)}
2016-05-11 14:10:02.263 [fatal][tid:com.facebook.react.JavaScript] Invalid type in JSON write (NSURLError)

My package.json:
"react-native-branch": "branchmetrics/react-native-branch"

I am fairly certain this was I bug I reintroduced when cleaning up some of the error handling. this commit should fix it: https://github.com/BranchMetrics/react-native-branch/commit/8c35a044e7eed3e170824a01f39bd15f876c9204

Confirmed 👍 Thanks @rt2zz. And great work with this v1 branch and the new API support!


New version: Suwayomi.Tachidesk-Sorayomi version 0.5.23

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


refs #40968 fix status change name typo

fix misnamed model so table will properly be built.

This change is already in the head at https://github.com/uw-ictd/mwbase/commit/432ed2f4754d011a6c5ca1c3629e6ee5b1a0e5f6.  This commit also has several other important bug fixes that I recommend merging in.


What software would you like us to add to our image catalog? (one per issue please)
stakater/Reloader - Open Source Version
which versions of the containerized software do you need?
1.0.35
Add some justification for why this specific image and versions are important.
In case of change happens in ConfigMap and/or Secret we need top perform a rolling upgrade on relevant DeploymentConfig, Deployment, Daemonset, Statefulset and Rollout -> Reloader can watch changes in ConfigMap and Secret and do rolling upgrades on Pods with their associated objects.

Done - https://github.com/chainguard-images/images/tree/main/images/stakater-reloader


fix: floating view "detaches" pointer when reaching screen limits

b/c it stops updating crrPoint on each drag creating a greater distance between pointer and element, on drag up crrPoint will finally update but with a value that creates a feeling of disconnect that can cause a bad user experience

there is another more subtle contributor to this issue, dragAmount.x.toInt(). This toInt() truncates Floats into jsut their natural part, so 0.5f becomes 0, causing this small drags at the bottom to be rounded to 0, thus not moving the elmet at all


add help text for -ll test locations argument

Unfortunately, the second change of printing the line numbers ought to be removed, now it conflicts with the fix that I had made. Sorry about that.

This PR is not needed anymore since #1569 already implements that.


Make LauncherActivity more extensible to support third-party integrations

Is your feature request related to a problem? Please describe.
I'm trying to integrate Branch SDK to support deep linking into the app, which can redirect to Play Store and preserve deep link after app is installed. It's a must have feature for our TWA Android app, because it's tied to our auth flow.
Describe the solution you'd like
Branch SDK is opinionated about when it initializes and retrieves the deep link. There is some logic in LauncherActivity that prevents that from happening when app is already running. That logic will finish the activity inside onCreate if app is already running, but I need the activity to at least get to onStart to initialize Branch SDK and parse deep link info.
Basically I need a way to override that default behaviour without any hacks. Currently all of that logic is hidden in a private method restartInNewTask(), which is called from onCreate().
Describe alternatives you've considered
I tried working around that by adding custom logic before super.onCreate() call which alters the intent to basically force relaunch the app, but I'm afraid that doing that might break compatibility with future versions of android-browser-helper.
Additional context
This is the code of my current workaround:
class MyLauncherActivity extends LauncherActivity {
    private boolean shouldRestartBrowser() {
        if (getIntent().getBooleanExtra(INTENT_REFRESHED, false)) {
            return false;
        }
        Uri uri = getIntent().getData();
        // Most likely a branch link
        return uri != null && !doesUriMatchTWAHostname(uri);
    }

    private void forceRefresh() {
        Intent newIntent = new Intent(getIntent());

        int flags = newIntent.getFlags();
        newIntent.putExtra(INTENT_REFRESHED, true);
        flags &= ~Intent.FLAG_ACTIVITY_NEW_TASK;
        flags |= Intent.FLAG_ACTIVITY_CLEAR_TOP;
        newIntent.setFlags(flags);
        startActivity(newIntent);
        finish();
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        if (shouldRestartBrowser()) {
            Log.d(TAG, "Received a branch.io intent, restarting browser");
            forceRefresh();
        }
        super.onCreate(savedInstanceState);
    }
}

Hey, so if I understand this correctly you need a way to add extra parameters to the intent before restarting the app?

@SayedElabady More like disable the default behavior of forwarding the intent to custom tabs activity of the app is already open. Because when it does that it doesn't give my custom activity to start and do its thing.