File exists error mzml input

Hey,
First of all thanks for the great tool. I was trying to run it on timsTOF data with MSFragger search results. Given that no RAW input is logically available I went with a generated mzML file, however I keep getting a File exists error, please see the log:
2023-09-14 00:21:48,961 - INFO - oktoberfest::main Issued command: run_oktoberfest.py --config_path test.json
2023-09-14 00:21:48,961 - INFO - oktoberfest.utils.config::read Reading configuration from test.json
2023-09-14 00:21:48,967 - INFO - oktoberfest.runner::run_rescoring Starting rescoring run...
2023-09-14 00:21:48,968 - INFO - oktoberfest.utils.config::read Reading configuration from test.json
2023-09-14 00:21:48,993 - INFO - oktoberfest.ce_calibration::_load_search search_type is msfragger
2023-09-14 00:21:48,993 - INFO - oktoberfest.ce_calibration::_gen_internal_search_result_from_msms Converting msms data at T03062_EvoAurEl3_20SPDDDAPASEF-IMP-CMB-1356_1_S1-A1_1_3409.pepXML to internal search result.
100%|█████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:38<00:00, 38.85s/it]
2023-09-14 00:22:28,005 - INFO - spectrum_io.search_result.search_results::filter_valid_prosit_sequences #sequences before filtering for valid prosit sequences: 47010
2023-09-14 00:22:28,040 - INFO - spectrum_io.search_result.search_results::filter_valid_prosit_sequences #sequences after filtering for valid prosit sequences: 41835
2023-09-14 00:22:28,692 - INFO - oktoberfest.re_score::split_msms Read 41835 PSMs from out/msms/msms.prosit
2023-09-14 00:22:28,714 - INFO - oktoberfest.re_score::split_msms Creating split search results file out/msms/T03062_EvoAurEl3_20SPDDDAPASEF-IMP-CMB-1356_1_S1-A1_1_3409.rescore
Traceback (most recent call last):
File "/home/pawil/.local/bin/oktoberfest", line 8, in
sys.exit(main())
File "/home/pawil/.local/lib/python3.10/site-packages/oktoberfest/run_oktoberfest.py", line 30, in main
runner.run_job(args.config_path)
File "/home/pawil/.local/lib/python3.10/site-packages/oktoberfest/runner.py", line 211, in run_job
run_rescoring(msms_path, search_dir, config_path, output_path)
File "/home/pawil/.local/lib/python3.10/site-packages/oktoberfest/runner.py", line 171, in run_rescoring
re_score.calculate_features()
File "/home/pawil/.local/lib/python3.10/site-packages/oktoberfest/re_score.py", line 168, in calculate_features
mzml_path.mkdir(exist_ok=True)
File "/usr/lib/python3.10/pathlib.py", line 1175, in mkdir
self._accessor.mkdir(self, mode)
FileExistsError: [Errno 17] File exists: 'T03062_EvoAurEl3_20SPDDDAPASEF-IMP-CMB-1356_1_S1-A1_1_3409_uncalibrated.mzML'
Now I tried this on other data as well with the same result, unsure whether its really a big or a mistake from my side.
Thanks in advance!

Hello @patrick-willems , timsTOF support is not yet added but we are actively working on getting this integrated (#115). Concerning your issue:I suspect that you provided the path to the mzML file in the "spectra_input" option, which would explain why you get the file exist error when Oktoberfest is trying to make the directory for the mzML files. You could try for now to only provide the folder and set

Thanks for the reply,
Indeed placing in a directory resolved the first hurdle, though it does not want to rescore due to :
"AssertionError: The mass analyzer with accession MS:1000031 is not supported."
Looking forward to the timsTOF implementation, eager to rescore some results and test the performance.
Best
Patrick

Just wanted to mention that I submitted a related issue #129 . I was trying to CE calibrate FragPipe results based on mzML formatted data raw files and got
 File "/home/tobiasko/oktoberfest-env/lib/python3.9/site-packages/spectrum_io/raw/msraw.py", line 34, in check_analyzer
    raise AssertionError(f"The mass analyzer with accession {accession} is not supported.")
AssertionError: The mass analyzer with accession MS:1000081 is not supported.

"AssertionError: The mass analyzer with accession MS:1000031 is not supported."

I published a hotfix release for spectrum-io (v0.3.3) because it was only there to check if we have default values for the mass tolerance and unit. As long as you supply these yourself, it should be fine. If you install the newest release of oktoberfest (v0.5.0), this error should be gone. The release will be published tonight and the issue will be closed accordingly. Please reopen should you still encounter the problem.


Energy + Water sensors missing for WCE670

The problem
Sensors for the Miele WCE670 washing machine (Miele WCE670 WPS TDos Wifi W1, Firmware: 03.88, Hardware: EK037) remain unavailable for use:

sensor.washing_machine_energy_consumption
sensor.washing_machine_energy_forecast
sensor.washing_machine_water_consumption
sensor.washing_machine_water_forecast

Diagnosis file:
miele-5651835b1b6aa470023addf55981cc48-Washing machine-fb23c63a5ea2b9546b61cce61dd24588.json.txt
Enabling the sensors manually leads to an error when trying to use them in the energy dashboard.
Version of miele integration having the issue?
0.1.0
Version of Home Assistant Core having the issue?
2022.11.2
Anything in the logs that might be useful for us?
Nothing obvious in the logs.

Additional information
No response

Your washing machine is not reporting any values for energy or water consumption as stated by this line in the attached diagnostic file.
"state|ecoFeedback": null,

Try to run a washing cycle so that the machine reports some data. After an hour or two the statistics should appear in the enrgy panel.

I'll try, but shouldn't it report "0" instead of "null"?

Running now and it works - will the sensors go back to "unavailable" when it's done?
      "state|ecoFeedback|currentWaterConsumption|unit": "l",
      "state|ecoFeedback|currentWaterConsumption|value": 8.0,
      "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
      "state|ecoFeedback|currentEnergyConsumption|value": 0.1,
      "state|ecoFeedback|waterForecast": 0.1,
      "state|ecoFeedback|energyForecast": 0.5,

Null from the API means "no value". Zero means 0 liters or 0 kWh. This has been discussed in other issues and there are different opinions what is the right way to handle nulls. I have chosen to do minimal translation of API data and display it according to Home Assistant standards.
The sensors will probably go back to unknown when you turn the machine off, but the statistics should still be there.
Let us wait and see. I cannot test myself because my washing-machine is too old.

It was an active decision to keep the eco-feedback sensors disabled in a new installation of the integration. Permanently unavailable sensors give rise to a lot of questions. Unfortunately there is no way to know from the API what models or versions of washing machines or dishwashers that support  eco-feedback data. And as you have seen, even if the machine supports it, that is not reflected in the the API when the appliance is turned off.
It could be an interesting challenge for me (or anyone else that want to help) to autoenable these sensors  the first time the API starts to report relevant data.

Those are mine values for WCR860 right now. Before starting the program the energy configuration shows errors, now everything seems OK.

It was an active decision to keep the eco-feedback sensors disabled in a new installation of the integration. Permanently unavailable sensors give rise to a lot of questions. Unfortunately there is no way to know from the API what models or versions of washing machines or dishwashers that support eco-feedback data. And as you have seen, even if the machine supports it, that is not reflected in the the API when the appliance is turned off. It could be an interesting challenge for me (or anyone else that want to help) to autoenable these sensors the first time the API starts to report relevant data.

That's fair enough - maybe mention it in the documentation? It seems to have worked just fine during the washing cycle just now, which is exactly what I'm looking for. Thank you.


Problem with IE 7

Hi.
The script have problem on IE 7; someone still use it :-(
The problem should be related to this line:
https://github.com/silktide/cookieconsent2/blob/master/cookieconsent.js#L169

Cookie Consent v2 has been designed to support modern browsers (IE8+).
We do offer a version of cookie consent which supports IE7


mgmt, keyvault support RBAC authorization to data

first 2 commit does not need review.

keys.json is removed from swagger to avoid potential future breaking changes.


The 'WITH_REALLOC' macro in absmatcher.h should be a boolean value rather than just a defined value

If I want to use 'new[]' and 'delete[]' for 'AbstractMatcher::buf_' instead of 'std::free', 'posix_memalign' and 'std::realloc', I have to edit out 'absmatcher.h' line 41 #define WITH_REALLOC.  It would be a preferable to use #if WITH_REALLOC wherever #if defined(WITH_REALLOC) is currently used, and replace line 41 with the following, allowing a user to compile with '-DWITH_REALLOC=0'
#ifndef WITH_REALLOC
#define WITH_REALLOC 1
#endif

Good point. I left this choice in the code for myself. Glad you find it useful too. So I'll update as suggested in the upcoming release. I'll change the other WITH_ defines accordingly.


[WIP] dist: Add distro verify tool

Commit Message: dist: Add distro verify tool
Additional Description:
takes tarballs of packages - eg debs/rpms, and tests installing/running/uninstalling them against configured os distros
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

coverage is here https://storage.googleapis.com/envoy-pr/17380/tooling/index.html

@htuch this is the runner for the distrotest lib that we landed previously

momentarily reWIPping to rebase and update with newer main code...


docs: update cometbft to v0.37.2 for Testnet 62

Revert "docs: revert to cometbft v034 for testnet docs" This reverts commit be6e8aa952360fd7b766b2cb69f9518410a4ad3f.
Sprinkles in some clarifying language based on discussion in Discord.

Refs #3123.


Fix goroutine leak in perform

What this PR does / why we need it:
the  function perform()  shoud wait all goroutines  created in  function batchPeform finish  to avoid goroutine leak,
closes #11871
Special notes for your reviewer:
@gjenkins8 @joejulian please give some comments asap, thanks  a lot
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@willzgli -- you will need to satisfy DCO requirements: https://github.com/helm/helm/blob/main/CONTRIBUTING.md

@mattfarina  why the test case TestInstallRelease fails, I run the test case locally, it passed.

@mattfarina  why the test case TestInstallRelease fails( ref Test build  log line 1962), I run the test case locally, it passed.

@willzgli I think it was a CI flake. Problem seems to be gone after I re-ran the job.

Note, this needs a second maintainer to approve before it can be merged.


Prepare and Test for RaspberryPi 4

The RaspberryPi 4 got released and RaspiBlitz v1.3 should be ready for this great hardware update.
TODO: Build SD card based on "Raspbian Buster Lite"
https://www.raspberrypi.org/downloads/raspbian/
TODO: Test with RaspberryPi 4
TODO: Test with RaspberryPi 3 compatibility

Compatibility test with RaspberryPi 3 tests looking good

OK new v1.3 Raspiblitz test image build on Raspbian Buster is running fine one RaspberryPi 4 :)

Powertest needs to be updated:
On RaspberryPi4 the default seems with stable power 0.8718 V / 871800 microVolt - starting form 76 C temp it seems to throttle down the CPU speed.
TODO: How to detect a RaspberryPi4?

OK - Power/Stresstest can now detect RaspberryPi 4 and adapts the treshhold values.

Ordered https://shop.pimoroni.com/products/fan-shim for cooling testing

Fixed the "self-sync" option because RP4 gets in the range to make the job in around 2-3 - testing at the moment.

Running a "self-sync" test with RP4 .. first 20% was a overnight thing (that part where the blockchain was not that full yet) but then it gets slowly. From the look of htop CPU is just 50% and memory looks just a 1/3 is used (of 2GB). So it maybe HDD slowing things down.
Will also run "self-sync" test with SSD soon. If that works out in a fair time it may make sense to measure HDD/SSD speed on bootup and then advise to self-sync or not.

Running HDD speed tests...
sudo apt-get install hdparm
sudo hdparm -Tt /dev/sda

RP3 + HDD:
Timing cached reads:   1184 MB in  2.00 seconds = 592.29 MB/sec
Timing buffered disk reads:  92 MB in  3.05 seconds =  30.13 MB/sec
RP3 + SSD:
Timing cached reads:   1238 MB in  2.00 seconds = 619.16 MB/sec
Timing buffered disk reads:  94 MB in  3.03 seconds =  31.05 MB/sec
RP4 + HDD:
Timing cached reads:   1452 MB in  2.00 seconds = 726.00 MB/sec
Timing buffered disk reads: 372 MB in  3.01 seconds = 123.61 MB/sec
RP4 + SSD:
TODO

Testing the RPi4 4GB with the official 3A USB-C powersupply.

I have no heatsink on and as it looks the CPU is severely throttled above 60 degrees.

Running HDD speed tests...
sudo apt-get install hdparm
sudo hdparm -Tt /dev/sda

RP3 + HDD:
Timing cached reads: 1184 MB in 2.00 seconds = 592.29 MB/sec
Timing buffered disk reads: 92 MB in 3.05 seconds = 30.13 MB/sec
RP3 + SSD:
Timing cached reads: 1238 MB in 2.00 seconds = 619.16 MB/sec
Timing buffered disk reads: 94 MB in 3.03 seconds = 31.05 MB/sec
RP4 + HDD:
Timing cached reads: 1452 MB in 2.00 seconds = 726.00 MB/sec
Timing buffered disk reads: 372 MB in 3.01 seconds = 123.61 MB/sec
RP4 + SSD:
TODO

RPi4 + SSD:  (Samsung 860 EVO 500GB)
Timing cached reads:   1706 MB in  2.00 seconds = 853.70 MB/sec
Timing buffered disk reads: 1104 MB in  3.00 seconds = 367.52 MB/sec

The new shopping list will be RP4 focused - just mentioning that RPi3B+ also can be used if you alread have one.
The HardwareTest is already adapted for the RP4 in v1.3 branch.

The HardwareTest is already adapted for the RP4 in v1.3 branch

I am not sure why but the voltage on my Pi is slightly lower: 863000 mV vs. 871800 mV. It could be because of the 4GB vs 2GB RAM? Are you using the official RPi power supply too?

I adapted the power test - I used my Macbook power supply ;)

Running the Initial Block Download (self-sync) behind Tor on the RPi4 4GB and SSD - first 30% was ~12 hours. Already quicker than my Odroid HC1/XU4 was on clearnet.

Really interesting tests happening here guys, hopefully, we have that shopping list updated really soon. Well done.

OK testes the Shim fan for active cooling. It fits under the LCD and the LCD is still working. Its effective cooling - even in stress test the temp gets just to upper 50s. In normal operations mine is 45 celsius. I recommend this fan to keep temp in check on the RP4.

Tested Self-Syncing/Validation: Was not able to finish 100% due to time ... but was able to sync up to 80% in about 3 days - over last night (half day) it was able todo 8% ... so its realistic to fully self-sync a RaspiBlitz with RP4&SSD in around 4-5 days. And the temp with the shim fan was during sync at around 47/48 celsius .. so super cool :)

There is some fun python code to control the fan shim and built in LED. Probably should not be included by default, but worth a mention in the readme, it is great to play with:
https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-fan-shim
https://github.com/pimoroni/fanshim-python/tree/master/examples

Two finished IBD times on the RPi4 4GB with and SSD behind Tor: 80 and 96.5 hours https://github.com/rootzoll/raspiblitz/issues/592

There's bug with power with Pi4, it will be fixed in the next months.
https://www.techrepublic.com/article/your-new-raspberry-pi-4-wont-power-on-usb-c-cable-problem-now-officially-confirmed/

Hello all, new to Raspiblitz and testing out the new RC3 for my rpi4
got as far as raspian and
``wget https://raw.githubusercontent.com/rootzoll/raspiblitz/v1.3/build_sdcard.sh  && sudo bash build_sdcard.sh
upon reboot it complains about not being able to find bitcoind
https://termbin.com/35bq

I noticed an issue with flashing the http://raspiblitz.com/raspiblitz-v1.3RC1-2019-07-04.img.gz to sdcard only when I did  zcat raspiblitz-v1.3RC1-2019-07-04.img.gz | sudo dd bs=4M  of=/dev/mmcblk0 conv=fsync status=progress'  did it manage to flash the card correctly and boot.

I've created a new issue from RC3 regarding RTL hangs

The Initial Block Download should not be called ultra slow in case the acripts are running on any more powerful hw (2GB or more RAM and USB3) than the RPi3 . That is the best option to start the node and should be communicated to the user in the setup menu.

Even lower voltage results were spotted on Telegram:
HDMI external monitor, also the touch screen attached, keyboard and mouse, HDD:  USB Seagate 1TB.
— WITH USB HDD attached —
67.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
66.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
66.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
65.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
65.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
64.0'C 1500 MHz<PHONE_NUMBER> 0.8332V

 — WITHOUT USB HDD attached —
69.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
67.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
67.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
66.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
66.0'C 1500 MHz<PHONE_NUMBER> 0.8332V
66.0'C 1500 MHz<PHONE_NUMBER> 0.8384V
65.0'C 1500 MHz<PHONE_NUMBER> 0.8332V

As attaching the HDD seems to make no difference I suggested to carry on with the blockchain download. Will follow up. We might need to reduce the power limit further if there will be no issues here.

@openoms as long there are no "Bad Power" reports in the logs we should be fine to lower limit in the stress test for RP4 still a bit.


Reward for Taming

I tried to tame the animals, but I didn't get any reward after I tame them. The server version I use is Paper-146 and the plugin version is 4.15.6.


docs: Deploy live example app to GH pages

Description
GitHub provides a workflow, to deploy Apps on their pages system. The url would be https://bluefireteam.github.io/audioplayers/
On every push to master, the live example will be updated.
To test I uploaded the deploying process to my fork, here's the result: https://gustl22.github.io/audioplayers/
This is only a proposal, we don't need to implement this, but I think it's fast and comfortable way for the users, to make familiar with the functionality of our library.
Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, refactor:,
docs:, chore:, test:, ci: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
[ ] I have updated/added relevant examples in example.

Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Related Issues

I love it!!!


Move Facilities Streaming endpoint to the Stream API

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CDD user I want the facilities streaming endpoint to be located in the Stream API So that I can access my file download faster
Acceptance Criteria
Given that a user has entered one or more valid values for all the parameters (see parameters below)
When API endpoint is executed
Then the system displays the records that match the criteria (containing data elements below)
Given that a user has entered one or more valid values for all the parameters in an upper case or lower case format
When API endpoint is executed
Then the system displays the records that match the criteria
Given that a user has entered one or more valid values for all the parameters without white space(s) before or after the delimiter
When API endpoint is executed
Then the system displays the records that match the criteria
Given that a user has entered one or more valid values for all the parameters with white space(s) before or after the delimiter
When API endpoint is executed
Then the system displays the records that match the criteria
Given that a user has made a GET request with the media type set to json or csv
When request is executed
Then the system displays the records that match the criteria in the appropriate format (json or csv)
Given that a user has entered one or more invalid values for a parameter
When the API endpoint is executed
Then the system displays the appropriate error message (see error message repo)
Given that a user has previewed facility/ unit attributes data on the cdd
When the download functionality is selected
Then the system produces a file download in the appropriate file type (csv or json)
Development Notes

Move facilities-mgmt/facilities/attributes/stream endpoint to the stream api
Conduct regression testing on the cdd to ensure that the download is still working
test the endpoint to ensure that the correct data elements are returning and downloading (json and csv file types)

Parameters
Year: Required, multiple values allowed, Format: YYYY, Range: 1995- latest reporting quarter, Allow indiv. Years, ranges, and comma sep. list
Facility ID (ORIS code): Optional, multiple values allowed
State : Optional, multiple values allowed, 2 letter postal abbreviation for the 50 states plus Puerto Rico.
Unit Type : Optional, multiple values allowed
Unit Fuel Type: Optional, multiple values allowed, query will filter on both primary and secondary fuel type
Control Technology: Optional, multiple values allowed
Source Category: Optional, multiple values allowed
Program : Optional, multiple values allowed
Validations
Year:
Validate that at least one value exists for the parameter
Validate that the year is in the YYYY format
Validate that the year is greater than or equal to 1995 (Range: 1995- latest reporting quarter)
Error Message 1: < insert property > should not be null or undefined FV-106
Error Message 2: One or more < insert property > are not in the < insert format >. Ensure all are in the < insert format > FV-102
Error Message 3: Update one or more < insert property > to < insert valid range > FV-105
Facility ID (ORIS code):
Validate that the value is a number
If the value is a number, validate that the format is correct
positive integer (no negative numbers, not 0)
whole numeric value (no letters or special characters)
no more than 6 digits
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
State :
Validate that the value matches a valid 2 letter postal abbreviation for at least 1 of the 50 states, PR, or DC
Error Message: One or more states are not valid. Use the two letter postal abbreviation (use TX, not Texas). FV-101
Unit Type :
Validate that the value matches a valid unit type
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
Unit Fuel Type:
Validate that the value matches a valid fuel type
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
Control Technology:
Validate that the value matches a valid control technology
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
Source Category:
Validate that the value matches a valid source category
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
Program :
Validate that the value matches a valid program code
Error Message: One or more < insert property > are not valid. Refer to the list of available < insert property > for valid values [placeholder for link to endpoint] FV-100
Data Elements
When the system identifies at least one record that matches the criteria, then for each record the system will display the data below and ordered by Facility ID> Unit ID > Year
STATE
FACILITY_NAME
ORISPL_CODE
UNITID
ASSOC_STACKS
OP_YEAR
PRG_CODE_INFO
EPA_REGION
NERC_REGION
COUNTY
COUNTY_CODE
FIPS_CODE
SOURCE_CAT
LATITUDE
LONGITUDE
OWN_DISPLAY / OPR_DISPLAY
SO2_PHASE
NOX_PHASE
UNIT_TYPE_INFO
PRIMARY_FUEL_INFO
SECONDARY_FUEL_INFO
SO2_CONTROL_INFO
NOX_CONTROL_INFO
PART_CONTROL_INFO
HG_CONTROL_INFO
COMR_OP_DATE
OP_STATUS_INFO
CAPACITY_INPUT (mmBtu/hr)
GENID (Generator ID)
REPORT_FREQ
*REPORT_FREQ in PROGRAM_YEAR_DIM
GENID (Generator ID) in generator table
OWN_DISPLAY / OPR_DISPLAY in OWNER_DISPLAY_FACT table
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case: TC732
Tester: @JanellC
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[x] Is the user story ready to be deployed to the test/staging environments?

TC732 passed @tlageman-epa


CUDA_ERROR_INVALID_VALUE

Hi guys,
Im trying to run SoftDTW between two tensors with the following dimensions:
bs x num_points x data_dimensionality
relevant_centerlines = 1024 x 30 x 2
predictions = 1024 x 30 x 2
As following:
error = sdtw(relevant_centerlines, predictions)
However, Im getting the following error. What can I do?
[INFO:  246]: init
[ERROR:  385]: Call to cuPointerGetAttribute results in CUDA_ERROR_INVALID_VALUE
*** numba.cuda.cudadrv.driver.CudaAPIError: [1] Call to cuPointerGetAttribute results in CUDA_ERROR_INVALID_VALUE

Hi Carlos,
Im getting the same error. I wonder have you fixed it? And how?
Thanks a lot.

Yes, I was @yhchen1123. The solutions are the versions. You must have a compatible CUDA version (in my case 11.6) and the associated dependencies. I am developing this based on this Docker image:
docker pull nvcr.io/nvidia/pytorch:22.04-py3

Many thanks for the comment!


[web] Windows Web engine build is failing.

Windows Web Engine tests are failing on build step: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8873742113308400432/+/steps/felt_test_chrome/0/stdout
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8873742113308400432/+/steps/felt_test_chrome/0/stdout
blocker: https://github.com/dart-lang/sdk/issues/42856
note: This failure went silent since were returning true from the runner when Legacy Edge tests were timing out.

/cc @yjbanov can we build the canvar kit tests in a different way, since these failures start with https://github.com/flutter/engine/pull/18667/files

Note: this recipe change is also related to this fix: https://flutter-review.googlesource.com/c/recipes/+/5622 We are adding chrome windows cipd package here so that we will have these tests always running on CI.


Negative fluxes in extractions

Dear APERO team,
This is to report that in the observations of faint class I objects e2ds spectra have negative fluxes in the blue.
Some examples of odometers
2814891
2814892
2814893
2814894
Cheers and many thanks!
Andres

If you dont have the data, the program clef is
22bf09 Emxx7f
cheers!

I've removed the key from here as this is public!

Thanks Neil!!
Andres

Andres CARMONA GONZALEZ
Institut de Planétologie et d’Astrophysique de Grenoble
414, Rue de la Piscine
Domaine Universitaire
38400 St-Martin d’Hères
France
@.***
+33 4 76 63 55 85

On 19 Feb 2024, at 14:43, Neil Cook @.***> wrote:
I've removed the key from here as this is public!
—
Reply to this email directly, view it on GitHub https://github.com/njcuk9999/apero-drs/issues/746#issuecomment-1952483120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJO43RRO7NZ4RBKJERMVVOLYUNJJZAVCNFSM6AAAAABDMJUNU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGQ4DGMJSGA.
You are receiving this because you authored the thread.


Fix sidebar data

Calculate feed due date from the election date for the feed
Take title from breadcrumbs (it's how everywhere else has that title)
Remove feed contact

Additionally (from discussions with Maria during the process):

Only show feed title in the sidebar in "mobile"
Make the two different feed "due date" calculations match up

Pivotal story: 105257072

LGTM


Bandwidth manager: ingress rate limiting

Hi everyone, I'm using Cilium 1.9.5.
I have an upload and download service, and I want to limit the bandwidth of the ingress and egress of the Pod.
I learned from https://docs.cilium.io/en/v1.9/gettingstarted/bandwidth-manager/, The kubernetes.io/ingress-bandwidth annotation is not supported and also not recommended to use.
What should I do if I want to implement the functions mentioned above?

@borkmann might have an answer.

@alandtsang Did you try with kubernetes.io/egress-bandwidth-only, are you saying the uploads are too fast?

I want to limit the bandwidth rate that enters the pod

That upload part is a bit more tricky, and needs implementation in the BPF progs. There could be a per Pod policer implementation for ingress, and e.g. for TCP it could potentially use ECN to throttle instead of dropping, but I haven't sketched out details yet from my side.

I want to limit the bandwidth rate that enters the pod

That upload part is a bit more tricky, and needs implementation in the BPF progs. There could be a per Pod policer implementation for ingress, and e.g. for TCP it could potentially use ECN to throttle instead of dropping, but I haven't sketched out details yet from my side.

Does the cilium community plan to support kubernetes.io/ingress-bandwidth in the future?

I want to limit the bandwidth rate that enters the pod

That upload part is a bit more tricky, and needs implementation in the BPF progs. There could be a per Pod policer implementation for ingress, and e.g. for TCP it could potentially use ECN to throttle instead of dropping, but I haven't sketched out details yet from my side.

Does the cilium community plan to support kubernetes.io/ingress-bandwidth in the future?

Definitely open to extending and supporting it, yes. From my side, I don't have a specific ETA at this point. In case you plan on working on a design & implementation that would be fine as well.

@borkmann Okay, thank you very much for your reply.

Any update on supporting kubernetes.io/ingress-bandwidth?

Hello 👋
Would it still make sense to try to support that annotation in Cilium? On the docs, since 1.9 (no modifications since), it is written (emphasis mine):

The kubernetes.io/ingress-bandwidth annotation is not supported and also not recommended to use. [...] Enforcing at ingress would add yet another layer of buffer [...]. At this point traffic has already occupied the bandwidth usage on the wire, and the node has already spent resources on processing the packet.

Based on the details, and to be efficient, ingress bandwidth would need to be restricted before the traffic even reaches the node. Is that something Cilium can technically do? Or is that the reason why this cannot be implemented efficiently?
Otherwise, are there alternatives that can run in conjuction with Cilium to fulfill that purpose?
Thanks 🙏

@norbjd The problem is not Cilium, it is in general that queuing is done on egress, not on ingress since with the latter you're locking up resources making yourself susceptible to DoS. The simplest approach would be to police traffic on ingress and then just drop as an action. However this needs to be done in an efficient way (i.e. not holding locks across all CPUs etc). Another option is to do ECN marking to slow down the sender.

Thanks for your answer and sorry about approximations in my answer, I am not really a networking expert 🙇
So, is "policing traffic on ingress" something that needs to be implemented directly on the host, and not by Cilium? Sorry if I'm misinterpreting your "problem is not Cilium" comment, it's just that I'm trying to catch up and see where that missing piece could be implemented.
If you have some pointers in the code, to give an indication about where such code would live, maybe members of the community could take a look (as I'm sure you are working on higher priority stuff).
Thanks again 🙏


Cannot casting from sol::object to sol::proxy

Hello sol2 team,
Thank you a lot for this library, I really love it from the first time I see it.
Maybe it's not an issue, then I'm not sure here is the place to ask (if not, forgive me).
How:
lua["obj"]["lua_func"]();
to:
sol::object obj = lua["obj"];
obj["lua_func"]();
Please let me know does sol2 support this feature ?
BTW, I'd like to notice that, in case we want to pass an usertype object into a function like this:
CppClass cpp_obj; lua["obj"]["lua_func"](cpp_obj)
We have to call it like this:
lua["obj"]["lua_func"](lua["obj"], cpp_obj)
Because in Lua (I'm sorry, I'm new Lua also), in order to call function CppClass:lua_func(a_obj)
we have 2 options:

obj:lua_func(cpp_obj)
obj.lua_func(obj, cpp_obj)

And it seems lua["obj"]["lua_func"](cpp_obj) uses option #2
I cannot find any info about this in your tutorial.
Thank you for amazing lib!

operator[] access is allowed on sol::table and sol::proxy. It's also allowed on sol::userdata. You can convert a sol::object to something more suitable to call functions on or similar by using is<T>() and as<T>(), or just by setting the proxy directly to what you need:
sol::userdata obj = lua["obj"];
userdata["lua_func"]();

Table access is not supported for sol::object, as in safety-mode object can be literally anything and has no guarantees about how a query will or will not work.
For your second question, no. You must use lua["obj"]["lua_func"](lua["obj"], cpp_obj); or something that is equivalent. The Lua C API does not automatically infer the "self" argument: you must provide it explicitly. The tutorial does not mention this because there is only one way to have it work when calling from C++. A full example:
	sol::state lua;
	lua.open_libraries(sol::lib::base);

	struct cpp_object {
		int value = 5;
	};

	struct test {
		int value = 0;

		int func(const cpp_object& obj) {
			std::cout << "func\t" << obj.value << std::endl;
			value += obj.value;
			return value;
		}
	};

	lua.new_usertype<cpp_object>("test",
		"value", &cpp_object::value
	);
	lua.new_usertype<test>("test",
		"func", &test::func
	);
	lua.script("function test:lua_func(obj) print('lua_func', obj.value) end");

	lua["obj"] = test{};
	cpp_object cppobj;

	lua["obj"]["func"](lua["obj"], cppobj);
	lua["obj"]["lua_func"](lua["obj"], cppobj);

	lua["test"]["func"](lua["obj"], cppobj);
	lua["test"]["lua_func"](lua["obj"], cppobj);

	// crashes
	//lua["obj"]["func"](cppobj);
	//lua["obj"]["lua_func"](cppobj);

	// crashes
	//lua["test"]["func"](cppobj);
	//lua["test"]["lua_func"](cppobj);

I will try to find a place to add this example so that there's less ambiguity.

Thanks for your fast response


[Feature] TorchRL2Gym conversion

Description
Proposes an API to register a torchrl env in gym(nasium).
This is aimed at being a universal converter from any simulator (incl torchrl itself) to gym.
For instance, you could use dm_control, brax or anything else with gym without any boilerplate code.
Check the docstrings and tests to know more!
TODO:

[x] stateless envs: we should save the input data in the env during step for the next call to step.

cc @skandermoalla @BY571 @albertbou92 @duburcqa @vikashplus

I had to add a new transform (RemoveEmptySpecs) to remove empty specs and tensordicts from an env output
This might be relevant to MARL folks (@matteobettini) since they have highly nested structures.

If I remember correctly it was a feature I requested at some point !

Here we are: https://github.com/pytorch/rl/issues/1200

Yes I remembered that too but I can't find it haha

Yep thanks!
Interestingly I encountered the same problem with SelectTransform so I thought that having a single solution for all was preferrable


create folder for attributes

Need to update the references to the file for the build to pass

nevermind :)


[Feature] guest support for secp256k1

Feature
Would be nice to be able to run the crate for secp256k1 in the guest
Motivation
requested here.
secp256k1 is used on bitcoin
Implementation
Unclear why this crate doesn't work

This crate is patched here: https://github.com/risc0/RustCrypto-elliptic-curves/tree/risczero

See: https://dev.risczero.com/api/zkvm/acceleration


Use gpgconf(1) to locate the gpg binary

Attempt to use gpgconf(1) for locating the path to the GPG binary.
Fixes #1757
RELEASE_NOTES=[ENHANCEMENT] Use gpgconf to the the gpg binary
Signed-off-by: Dominik Schulz<EMAIL_ADDRESS>

Thanks for implementing this! Is there any chance 1.11.1 containing this commit will get tagged soon? Just asking to know whether to patch 1.11.0 or wait a bit.

I guess we're almost ready for 1.11.1.
One more PR waiting to get in and if no blockers show up we could tag it anytime.


Batch code generation

This PR implements a solution for https://github.com/inventree/InvenTree/issues/6098, namely allowing batch codes to be generated via a POST request to an API endpoint.
Any data provided to the request is made available to plugins, so a custom plugin could theoretically use this information for the purpose of batch code generation.
This also provides a solution for https://github.com/inventree/InvenTree/issues/6364 (at least in the new react interface), by adding a new useGenerator hook function that makes use of this new API endpoint.
Related Issues

Closes https://github.com/inventree/InvenTree/issues/6364
Closes https://github.com/inventree/InvenTree/issues/6098
Ref https://github.com/inventree/InvenTree/issues/6886

TODO

[ ] Add unit tests
[ ] Maybe make the endpoint "generic" - allowing for future expansion on a single endpoint?

Further Work
Further work could extend on this by:

[ ] Extending form functionality to the "build order" forms
[ ] Auto generating batch codes wherever they are needed in the forms interface
[ ] Add a similar endpoint for generating internal part numbers
[ ] Add a similar endpoint for generating serial numbers
[ ] Add a similar endpoint for generating order codes (purchase / sales / build / return)

generators for serial numbers and internal part numbers would hook into existing plugins, allowing these plugins to seamlessly inject data into the front-end forms dynamically

Bumping this to the next release cycle, still some work to do here.


Use checksum to verify cookbook integrity

This change adds the verification of the downloaded cookbook items
against the checksum that the Chef Infra Server returns, this ensures
the integrity of the cookbooks users will download.
It also renames the function DownloadAt() to DownloadTo() for
better readebility.

ping @MarkGibbons

Thanks I


Lack of error messages/Input Validation

Lack of Error Messages
The binary calculator currently lacks error messages when incorrect input is provided, resulting in the input field being cleared without any explanation. This can be confusing for users, as it doesn't provide guidance on what went wrong.
Example:
Input: ++-
Expected: Display an error message explaining the incorrect input.
Current: Input field is cleared without any error message.

Additional
I would like to work on this issue, kindly assign.

Interesting, I will assign this issue to you @ayushichoudhary-19 Thank you

https://github.com/Alitindrawan24/Binary-Calculator/pull/25 Closes this issue.


feat(consensus): add sequencing crates to some CI flows

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2134  👈
#2131
#2126
#2125
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matan-starkware and the rest of your teammates on  Graphite


parquet in cache

once the files are read into memory, what do you think about caching them as parquet files instead of shapefiles? would make IO much faster and the footprint a lot smaller on disk. If you're into it, it wouldnt take much to add a conditional and I could send a PR. No worries if youd rather keep things simple though :)
(been using that approach over in geosnap since well before the geoparquet spec existed and it works really well!)

I like this idea!  Honestly I did it the way I did because that's how I did it in tigris.  Would there be a way to set parquet as an option globally users could specify?  I have seen some problems with people installing arrow across some platforms, have you observed this in geosnap?

sweet.
yeah i was thinking something like a try/except on the arrow import and fallback to shapefile if not. For setting a global option, it would probably be straightforward to add an optional config file to the cache or something that stores global user preferences?

tbh, i dont think ive ever personally seen an install issue before but im sure they're out there. Given the gdal deps and stuff the CI installs everything from conda (and i do the same when i teach workshops) so that usually has no problem solving the deps for any kind of environment


Update fresh bitcoin, remove one hop

https://github.com/nopara73/Dumplings/pull/13 removes the one hop remixes from the fresh bitcoin count.
This should be updated, an additional one hop volume chart could be added.

What's up with this @Szpoti ?

https://github.com/molnard/Dumplings/pull/16 was merged, fresh bitcoins was updated to one-hop, so this can be closed.


libdeltachat: 1.151.1 -> 1.151.2

Diff: https://github.com/deltachat/deltachat-core-rust/compare/v1.151.1...v1.151.2
Changelog: https://github.com/deltachat/deltachat-core-rust/blob/v1.151.2/CHANGELOG.md

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/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360280

x86_64-linux

:white_check_mark: 19 packages built:

deltachat-cursed
deltachat-cursed.dist
deltachat-repl
deltachat-rpc-server
deltatouch
kdeltachat
libdeltachat
python311Packages.deltachat
python311Packages.deltachat-rpc-client
python311Packages.deltachat-rpc-client.dist
python311Packages.deltachat.dist
python311Packages.deltachat2
python311Packages.deltachat2.dist
python312Packages.deltachat
python312Packages.deltachat-rpc-client
python312Packages.deltachat-rpc-client.dist
python312Packages.deltachat.dist
python312Packages.deltachat2
python312Packages.deltachat2.dist


United Kingdom

I believe the the English Short lower case Name for United Kingdom is actually
United Kingdom of Great Britain and Northern Ireland (the)
See https://www.iso.org/obp/ui/#iso:code:3166:GB

Thanks for the report. This was fixed in #11 and will be made available in the next release, hopefully within a week


HybridDataManager - adding API version 2019-06-01 and examples

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@prtank  per the checklist above, this PR needs arm feedback.  Adding appropriate label

/azp run automation - sdk

/azp run automation - sdk


lice: exception on startup

Describe the bug
A clear and concise description of what the bug is.
lice fails to run, doesn't find pkg_resources.
To Reproduce
> nix run nixpkgs.lice -c lice
[1 copied (0.3 MiB), 0.0 MiB DL]
Traceback (most recent call last):
  File "/nix/store/jrvln64pbjbwn9cbw13fzjrmckhnckrb-python3.7-lice-0.4/bin/.lice-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/jrvln64pbjbwn9cbw13fzjrmckhnckrb-python3.7-lice-0.4/lib/python3.7/site-packages/lice/__init__.py", line 5, in main
    from lice.core import main
  File "/nix/store/jrvln64pbjbwn9cbw13fzjrmckhnckrb-python3.7-lice-0.4/lib/python3.7/site-packages/lice/core.py", line 1, in <module>
    from pkg_resources import (resource_stream, resource_listdir)
ModuleNotFoundError: No module named 'pkg_resources'

Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

system: "x86_64-linux"
host os: Linux 4.19.88, NixOS, 19.09.1549.45ea6092203 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
channels(root): "home-manager, nixos-19.09.1549.45ea6092203, nixos-unstable-20.03pre204199.3140fa89c51, nixpkgs-19.09.1549.45ea6092203"
channels(addy): "home-manager, nixos-19.09.1549.45ea6092203, nixos-unstable-20.03pre204199.3140fa89c51, nixpkgs-19.09"
nixpkgs: /home/addy/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: lice
# a list of nixos modules affected by the problem
module:

Give this a try
{ stdenv, python3Packages }:

python3Packages.buildPythonPackage rec {

  pname = "lice";
  version = "0.6";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
  };

  propagatedBuildInputs = [
    python3Packages.setuptools
  ];

  doCheck = false;

  meta = with stdenv.lib; {
    description = "Print license based on selection and user options.";
    homepage = https://github.com/licenses/lice;
    license = licenses.bsd3;
    maintainers = with maintainers; [ swflint ];
    platforms = platforms.unix;
  };

}

I haven't looked into it yet, but I pushed it up on my Todo list :p

@mat8913 Installing lice based on your snippet works for me.


User authentication

Allow the user to log out, securing some tasks that are private. Would require deleted console activity.

I'm thinking i we ever reopen this there could be a tkinter modification allowing for the whole thing to be run on an outside app using a tkinter GUI. Im tabling the project for now, but would like to come back and move it from a console based program to a GUI.


LG tvs support

npm push it please

I would love for this to work..

What did you use for ssdp discovery in your tests? I heard good things about nodecast-js

Yes, nodecast-js are good tool , i mean ssdp implementation , but .. it creates a list of found devices inside of himself and does not update any status of this devices , not so much useful part.

Hi @linuxenko, thanks for your PR. How do your commits affect other TVs apart from LGs ? I'm all for having maximum compatibility but I'd prefer not to lose some while gaining others.
Regarding protocolInfo, where did you get this 'http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;' ? Having this hard-coded probably won't play well with video formats other than MP4. One way to handle this specific problem would be to call getSupportedProtocols internally, caching it, and looking it up on load to find the best match for the requested mime type.
Regarding subtitles, you uncommented a block of code that will break compatibility for many people. We need to find a better way to handle this case. I'm sure we can find one.
First, does the text/srt mime type appear in getSupportedProtocols for your TV ? If it does, we could condition the uncommented block on this fact. It would make us sure the receiving device can handle it.
In fact, we could handle it like what I proposed for the video mime type, ie. let the user (developer) specify both the subtitles URL and mime type and look up the best match in supported protocols. The metadata options could look like this :
{
  title: 'Some Movie Title',
  creator: 'John Doe',
  type: 'video', // can be 'video', 'audio' or 'image'
  subtitles: {
    url: 'http://url.to.some/subtitles.srt',
    contentType: 'text/srt'
  }
}

What do you think ?

@jaruba AFAIK there is no really clean implementation of SSDP around. I planned to publish one as I already have some code (that needs some heaving testing though), but not seeing much interest and seriously lacking free time I put it aside some months ago. How do you feel the available implementation lacking ? I'd love to have your point of view on what pieces are missing.

@thibauts From my current experience using node-ssdp, it fails to find the device many times.
Through testing I realized that the device is simply not found but available to connect to, so as @linuxenko mentioned about nodecast-js, I also realized that the best way to find the device is by retrying all the previously connected devices, and in many cases this works. But in other rare times, nothing except a restart will make the device work again.
About hearing that nodecast-js is good for discovery, I know for a fact that it was used in Isoplex before it went down, I also know it's being used now in Popcorn Time CE and Butter. I think the code is being used in some regard in Stremio too now. @vankasteelj posted some demo code for it, @Ivshti also took the time to strip the ssdp discovery from it and released it as ssdp-js
I know that @schizoduckie and @acidhax have started an epic project that tries to implement dlna by the book. but their also pretty busy these days (jan / feb have always been hell for devs), I'm not sure if their including discovery too in their plans though.
About forcing mp4, I've seen this done before: https://github.com/butterproject/butter-desktop/blob/master/src/app/lib/device/dlna.js#L52
Butter was forked from Popcorn Time after their lawsuits started, I know this was in their code before too, and it's been said it had the widest compatibility for DLNA. I also remember a previous chat with someone that said Samsung sometimes doesn't accept mkv even if it supports it, but forcing mp4 makes it work from the first try.
I think that the hardest part for successful casting is that it also needs to take into account the wide range of bugs on the devices themselves..

Regarding protocolInfo, where did you get this 'http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;' ? Having this hard-coded probably won't play well with video formats other than MP4. One way to handle this specific

You are looking at README.md  ))) There is code that make possible make custom ProtocolInfo part. Without this lg tvs does not work, via protocolinfo can be retreived preview images ad cover art (it displaying at the accepting receiving time), subtites and so on .

About forcing mp4, I've seen this done before: https://github.com/butterproject/butter-desktop/blob/master/src/app/lib/device/dlna.js#L52

Aha, looks like nice DIDL-Light implementation.
But why do you all hardcode this ? I like node-upnp-mediarenderer-client because there i can pass custom metadata as a string or use builtin builder (with small improvement for protocolinfo i posted)

@jaruba We're starting to mix many issues here. It would be better to open other issues if needed, or even use already existing issues. I'll try to answer anyway.
First this implementation and the underlying upnp-device-client actually have been made to follow the specs to the letter. And as far as I know they do.
Regarding mime type I'll say what I always said to people posting compatibility issues. You can't throw any fixed content type to your TV and expect it to guess the correct one. Some TVs ignore it completely and auto-detect, some do not. The README example only is an example. Parts of the specs deal with listing available content-types and providing a correct one during load. This isn't a SHOULD, apps really have to do it. If some TVs can deal with incorrect content-type good for them but you can't rely on it as a feature as this isn't in the standard (it pretty much goes against the standard, actually). I'm positive the specs are sometimes vague and above all that TV manufacturers sometimes don't follow them very closely, but the mime-type thing is pretty well defined and shouldn't be a road-block. As far as I can tell all issues I had about compatibility have been either 1) developers not providing the correct mime type or 2) developers failing to detect that the stream is not playable at all by their TV. If your requested mime type is not in the supported protocols list, you're out of luck. This isn't a problem on our side : the TV plainly doesn't support it. This probably should be detected in end-user software and given as feedback to the final user. This would avoid bug issues that can't be solved without them buying another TV.
As a maintainer I'm tired to see this issue surface all the time as the solution has already been provided and it looks like nobody cared to even implement it. I guess it's simpler to post an issue and hope somebody will do some magic. But it doesn't help us much as a community. My role here is to refuse any compatibility fix without sample code demonstrating that correct handling of mime type doesn't solve the issue.
As for SSDP, the implementation you link to floods the local network with requests so it probably works better than discovering only one time on start but I'm not sure it's the way to go. The SSDP spec has provision for timeouts and it should be possible to implement a lib that first discovers to populate a list and then keeps it fresh by monitoring announces and obeying timeouts. Actually I think about coding it for some time but unfortunately I have very little time to allocate to playing with this.

@linuxenko Sure I know it's from README.md. The rest of my comment still holds and I'd love to have your input.

@thibauts sorry for the off-topic, but can you provide some immediate suggestions for improving ssdp-js? I ripped the code out of nodecast and noticed it's sending a lot of requests, but I have no knowledge of the spec nor time to read it.

@Ivshti I haven't good suggestions to provide as I only skimmed the surface of the code and stopped when I saw requests were fired every 5 seconds. I understand your lack of time but I think there's no shortcut here unfortunately. The spec is pretty short BTW. It's not very complicated.


Shell syntax highlighting issues

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.93.1
OS Version: Ubuntu 24.04

Steps to Reproduce:

Create a shell script file, add a function starting with pushd
enjoy the buggy highlighting with "p" in white and "ushd" in yellow (string color ? is p detected as a string delimiter?)

a() {
	pushd a
	popd
}

Moved to the repo that we pull our shell script syntax highlighting grammar from: https://github.com/jeff-hykin/better-shell-syntax/issues/102


Add WebSocket connection support and implement /attach and /exec

Attempt to support WebSocket connection.
@clux
I'd like to know if this is on the right track before spending more time on it. I think it works, but haven't tried. (outputting to stdout works, see pod_attach example)
This is based on https://github.com/clux/kube-rs/issues/229#issuecomment-751234315
I had to change Config a bit so that it's less coupled with reqwest to create AsyncTlsConnector for WebSocket connection when creating a Client.

[x] Support WebSocket connection

[x] native-tls
[x] rustls (accept_invalid_certs not supported at the moment, need rustls 0.17.0+ and that requires updating tokio first)

[x] Make WebSocket opt-in with ws feature
[x] Decide how to implement attach/exec methods.

Added AttachedProcess struct. Need review/feedback.

[x] Add /attach (see pod_attach example)
[x] Add /exec (see pod_exec example)
[x] Move most of ws specific code into a separate module. This should make it much easier to maintain.
[x] Validate params. We only get 400 status error without any information when making connection :(

At least one of stdin, stdout, stderr must be set
stderr and tty cannot be both set because multiplexing is not supported. stderr will be ignored.

[x] Make WebSocketConfig configurable. Will do when there's a need.
[x] Make the sizes of internal buffers configurable
[x] Rename api/streaming to api/remote_command
[x] Improve documentation for AttachParams

Explain how stdin, stdout, stderr allows access to writer/streams from AttachedProcess

[x] Improve documentation for AttachedProcess

Explain how stdin(), stdout(), stderr() works

I have to admit that I've not really looked at the websocket stuff at all within kubernetes, nor have I dealt much with them otherwise, so you'll have to bear with me a bit unless there are others to help review; feel free to ping others from the original PR to try and get help. I will ping this in the discord linked in the readme.
Integration wise, I think you've done an excellent job of making it fit the patterns of kube, you've juggled a lot of the hard bits in the config around TLS, and have a reasonable setup for the features as well (which I suppose is going to become a hairy thing). Everything is kind of in the place I would expect, and is very readable :+1: I at least think you are going in the right direction.
The only thing I would request is that we try to make the tungstenite (and anything it pulls in) part of a "websocket" or "attach" feature (or something else that describes it better). The additional subresources this supports, while useful to some, is probably not going to be as popular for the people - whose dependency trees are inflated - without a use for them.
(There is also the more philosophical point that this moves kube even further away from not owning the underlying clients; it's already hard to juggle clients, and now we have another type of clients. I was always hoping we'd be able to make it generic long run ala #100 , but I don't really know how to best proceed in that area. If you don't either, don't worry, just noting down some thoughts.)

Extra question; should the examples work out of the box with default features now?
I am trying cargo run --example pod_attach on your remote branch and it's failing to import DuplexStream in tokio::io.

That's weird :/ I've been running with cargo run --example pod_attach inside examples/.

I am trying cargo run --example pod_attach on your remote branch and it's failing to import DuplexStream in tokio::io.

Maybe tokio's feature need to be enabled in kube? Examples have tokio with features [full]. kube has [time, signal, sync].

Found the compile issue: examples or kube need to at least rev tokio to 0.22.4 for tokio::io::duplex. The 0.22.0 version does not have it (and that's what i got with a blank build).

Found the compile issue: examples or kube need to at least rev tokio to 0.22.4 for tokio::io::duplex. The 0.22.0 version does not have it (and that's what i got with a blank build).

This is looking really good now. Have had a chance to fiddle around with examples and check that things work as expected.
There is one thing I feel is a little awkward re: stream conversions, but that might not be anything at fault herein.
I pushed an example to pod_shell branch trying to redirect the example's process stdin to ws stdin and ws stdout to process stdout. See https://github.com/clux/kube-rs/commit/ccd2c25180ca3985a4d72a4f9d44bfe30b73fa41
It's currently failing to compile on the second tokio::io::copy, haven't dug heavily into why this is, but felt that perhaps should have worked. What do you think?

This is looking really good now. Have had a chance to fiddle around with examples and check that things work as expected.
There is one thing I feel is a little awkward re: stream conversions, but that might not be anything at fault herein.
I pushed an example to pod_shell branch trying to redirect the example's process stdin to ws stdin and ws stdout to process stdout. See https://github.com/clux/kube-rs/commit/ccd2c25180ca3985a4d72a4f9d44bfe30b73fa41
It's currently failing to compile on the second tokio::io::copy, haven't dug heavily into why this is, but felt that perhaps should have worked. What do you think?

@clux Maybe it's because of futures and tokio having different AsyncRead traits? I'll look into it.

@clux Maybe it's because of futures and tokio having different AsyncRead traits? I'll look into it.

@clux Maybe it's because of futures and tokio having different AsyncRead traits? I'll look into it.

https://docs.rs/tokio-util/0.6.0/tokio_util/compat/index.html might be relevant here

@clux Maybe it's because of futures and tokio having different AsyncRead traits? I'll look into it.

https://docs.rs/tokio-util/0.6.0/tokio_util/compat/index.html might be relevant here

I couldn't figure it out, but I decided to just return AsyncRead and AsyncWrite instead because users can convert AsyncRead to a stream easily if they want using tokio::io::read_stream().
Got pod_shell example to compile and kind of working.

I couldn't figure it out, but I decided to just return AsyncRead and AsyncWrite instead because users can convert AsyncRead to a stream easily if they want using tokio::io::read_stream().
Got pod_shell example to compile and kind of working.

Wow, yeah, it works! If users put some ansi unescaping on top of that they'd have something damn close to kubectl exec -it.
The messages returned seem to wrap at 80 characters, which is probably the unsupported terminal resize, so that's expected.
One small spot, while playing around: there is some truncation somewhere. If you send a very large echo "some 2000chars" it seems to truncate the response to around ~1040 characters. Not sure if you have any idea why that might be. We can always open up a follow up issue if not.
At any rate, error handling is looking great, as does the rest of the code. I don't have anything else that I can really nitpick at anymore. So whenever you are satisfied, lemme know and we'll merge it :-).
Thank you so much for all the hard work over the holiday, this is really a huge contribution.

Wow, yeah, it works! If users put some ansi unescaping on top of that they'd have something damn close to kubectl exec -it.
The messages returned seem to wrap at 80 characters, which is probably the unsupported terminal resize, so that's expected.
One small spot, while playing around: there is some truncation somewhere. If you send a very large echo "some 2000chars" it seems to truncate the response to around ~1040 characters. Not sure if you have any idea why that might be. We can always open up a follow up issue if not.
At any rate, error handling is looking great, as does the rest of the code. I don't have anything else that I can really nitpick at anymore. So whenever you are satisfied, lemme know and we'll merge it :-).
Thank you so much for all the hard work over the holiday, this is really a huge contribution.

One small spot, while playing around: there is some truncation somewhere. If you send a very large echo "some 2000chars" it seems to truncate the response to around ~1040 characters. Not sure if you have any idea why that might be. We can always open up a follow up issue if not.

It might have something to do with the internal buffer size. The default is 1024 bytes.

Thank you so much for all the hard work over the holiday, this is really a huge contribution. Have invited you to the collaborators so you can push branches + merge on here in the future.

Thanks :) This is ready to be merged :+1: I'll do some clean up after #363 and look into the truncation.

One small spot, while playing around: there is some truncation somewhere. If you send a very large echo "some 2000chars" it seems to truncate the response to around ~1040 characters. Not sure if you have any idea why that might be. We can always open up a follow up issue if not.

It might have something to do with the internal buffer size. The default is 1024 bytes.

Thank you so much for all the hard work over the holiday, this is really a huge contribution. Have invited you to the collaborators so you can push branches + merge on here in the future.

Thanks :) This is ready to be merged :+1: I'll do some clean up after #363 and look into the truncation.

:tada::tada::tada:
Will put it in the next minor, probably try to do it today so we can release it (unless reqwest gets a tokio one version today).

:tada::tada::tada:
Will put it in the next minor, probably try to do it today so we can release it (unless reqwest gets a tokio one version today).

Thanks for this PR @kazk, this came at a perfect time for me personally.
I believe this is going to be super useful for me in the next 2 weeks.
Really appreciate the work.

Thanks for this PR @kazk, this came at a perfect time for me personally.
I believe this is going to be super useful for me in the next 2 weeks.
Really appreciate the work.

Released in 0.46.0!

Released in 0.46.0!


"The Unlinking is Complete!", with no output

Environment is Windows 8.1, 64bit install with mkvtoolnix installed as 64bit as well. Using Strawberry Perl (v5.22.0, 64bit), as well as Log::Log4perl (1.46) installed.
Nothing displays in the Output Log, and a toggle of various combinations of options still does not fix it.
How should I go about debugging this? I've tried multiple different shows.

Are you running a release ZIP from the page? You can try running the Perl
script manually from the directory and see if it outputs anything
On Jun 7, 2015 8:19 PM, "David Lohle"<EMAIL_ADDRESS>wrote:

Environment is Windows 8.1, 64bit install with mkvtoolnix installed as
64bit as well. Using Strawberry Perl (v5.22.0, 64bit), as well as
Log::Log4perl (1.46) installed.
Nothing displays in the Output Log, and a toggle of various combinations
of options still does not fix it.
How should I go about debugging this?
—
Reply to this email directly or view it on GitHub
https://github.com/hilts-vaughan/UnlinkMKV-GUI/issues/3.

Nope, it's uncompressed. Running the script from the Perl console returns:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at C:\Us
ers\David\Desktop\winport.pl line 352.

This will happen if the "input" folder has no MKVs inside of it. Are you
sure input has MKVs in it?
On Sun, Jun 7, 2015 at 8:22 PM, David Lohle<EMAIL_ADDRESS>wrote:

Nope, it's uncompressed. Running the script from the Perl console returns:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at C:\Us
ers\David\Desktop\winport.pl line 352.
—
Reply to this email directly or view it on GitHub
https://github.com/hilts-vaughan/UnlinkMKV-GUI/issues/3#issuecomment-109817169
.

Yup, I'm using a batch of .mkv's with external OP/EDs.

Could you share a screenshot of your user interface? It would help, I'll
investigate for you.
On Sun, Jun 7, 2015 at 8:29 PM, David Lohle<EMAIL_ADDRESS>wrote:

Yup, I'm using a batch of .mkv's with external OP/EDs.
—
Reply to this email directly or view it on GitHub
https://github.com/hilts-vaughan/UnlinkMKV-GUI/issues/3#issuecomment-109817414
.

Thanks!

I'm also having the issue Proplex is having.

Please try this new release: https://github.com/hilts-vaughan/UnlinkMKV-GUI/releases/tag/0.1.4
And let me know how it works for you.

Works beautifully now, thank you!

Great, glad to hear @Proplex
Closing this up. If you find any bugs with specific series, please open an issue.


[docs] Add link to material-ui-confirm

Oops, I quickly worked on this in #36977, normalizing between the different pages.


lack of asm ?

When i used spark-shell and add spark-flow library only via CLI
$ ./bin/spark-shell --jars /Users/AorJoa/Repository/spark-flow/target/scala-2.11/spark-flow_2.11-0.1.0-SNAPSHOT.jar

i found error when run example like this
scala> import com.bloomberg.sparkflow
import com.bloomberg.sparkflow

scala> val numbers = sparkflow.parallelize(1 to 10)
numbers: com.bloomberg.sparkflow.dc.DC[Int] = com.bloomberg.sparkflow.dc.ParallelCollectionDC@3add5e17

scala> val filtered = numbers.filter(_ < 3).checkpoint()
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
  at com.bloomberg.sparkflow.serialization.Hashing$.hashClass(Hashing.scala:53)
  at com.bloomberg.sparkflow.dc.DC.filter(DC.scala:64)
  ... 48 elided
Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 50 more

and i figue out i can fix with asm by download directly from Maven Central Repo and used in --jars parameters of spark-shell
scala> import com.bloomberg.sparkflow
import com.bloomberg.sparkflow

scala> val numbers = sparkflow.parallelize(1 to 10)
numbers: com.bloomberg.sparkflow.dc.DC[Int] = com.bloomberg.sparkflow.dc.ParallelCollectionDC@b34c7c9

scala> val filtered = numbers.filter(_ < 3).checkpoint()
Using spark-flow's default log4j profile: com/bloomberg/sparkflow/log4j-defaults.properties
filtered: com.bloomberg.sparkflow.dc.DC[Int] = com.bloomberg.sparkflow.dc.DatasetTransformDC@7791ff50

scala> val doubled = filtered.map(_ * 2)
doubled: com.bloomberg.sparkflow.dc.DC[Int] = com.bloomberg.sparkflow.dc.DatasetTransformDC@1d1c63af

scala> println(doubled.getRDD(sc).sum())
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
6.0

this issue just for discuss about and solution for newbie like me :)

Yes, this is an issue caused by not creating an assembly jar. When you add the sparkflow jar it has the classes contained within sparkflow, but not its dependencies. If you were to make an sbt project for example and add sparkflow as a dependency sbt would grab the dependencies for sparkflow as well and put all of them together if you were to make an assembly jar. If you included just that jar when starting spark shell it should work.
I'll add this to the todos, to add an sbt assembly step so an assembly jar can be produced which will work when including it in the spark shell.

Thank you @nimbusgo your command make me clear


GuiToggle() weird behavior

When you click on a GuiToggle button it changes colors incorrectly.
Right now it goes like this:
Mouse over (light blue) -> Click (dark blue) -> Goes back to light blue -> Move mouse off of the button (goes to dark blue)
How it should work (imo):
Mouse over (light blue) -> Click (dark blue)

@ZaneL whats the difference?

I think it's consistent with the behaviour of all the other controls.


bug(fmt): does not work with Solidity v0.8.19 UDVT operators

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[x] Foundryup

What version of Foundry are you on?
forge 0.2.0 (0453ac8 2023-03-01T00:13:03.658002Z)
What command(s) is the bug in?
forge fmt
Operating System
macOS (Apple Silicon)
Describe the bug
Getting this error when running forge fmt in a project that uses the recently introduced UDVT operators:
Error: ParserError
    ╭─[ValueType.sol:75:11]
    │
 75 │     H.add as +,
    ·           ─┬
    ·            ╰── unrecognised token 'as', expected "(", ")", ",", ".", ";", "case", "constant", "default", "error", "external", "for", "immutable", "internal", "leave", "override", "payable", "private", "public", "pure", "return", "returns", "revert", "switch", "view", "virtual", "{", "}", identifier
────╯
Error:
Failed to parse Solidity code for /Users/paulrberg/workspace/projects/prb-math/src/ud60x18/ValueType.sol. Leaving source unchanged.

For more context: https://github.com/PaulRBerg/prb-math/pull/168.

@mattsse not yet https://github.com/hyperledger/solang/pull/1203

closed by #4477


fix(tools): add shell: true

fix the publishing process on windows (https://github.com/NativeScript/plugin-seed/issues/4)

@cla-bot check

Excellent thank you @hrueger !

Published in 1.0.7 now.


No css/js/images and build bundles after deploying app to GAE (Google App Engine)

I haven't been able to take the default bare-skin "razzle-app" and make it work when I deploy it to Google App Engine.
I see it serves the html from the server.js (it only serves the html text for the route but nothing else -  no application nor any assets on the page). As a proof of concept, I was returning different html content for different routes, and it apparently works as the html text content as well as head tags were different. However, there are no static assets on the site (no images, css or js).
Build process output:
razzle build

Creating an optimized production build...
Compiling client...
Compiled client successfully.
Compiling server...
Compiled server successfully.
Compiled successfully.

File sizes after gzip:

  48.22 KB  build/static/js/bundle.c798792d.js
  333 B     build/static/css/bundle.659481d8.css

the build directory contains:
> build
      > public
            > static
                   > css
                   > js
                   > media
            > favicon and robots
     > static
            > media (same one as public/staic)
     > assets.json
     > server.js

Notice that the build/static/js doesn't exist. It's inside build/public/static/js. Is it weird?
On accessing the site (only html text from the server), I checked the head if the client bundle waas sent or not. Itis fetching from a wrong location.

My package.json looks like :
{
  "name": "my-razzle-app",
  "version": "0.1.0",
  "license": "MIT",
  "scripts": {
    "start": "razzle start",
    "build": "razzle build",
    "test": "razzle test --env=jsdom",
    "start:prod": "NODE_ENV=production node build/server.js"
  },
  "dependencies": {standard
    "express": "^4.17.1",
    "razzle": "^3.0.0",
    "react": "^16.11.0",
    "react-dom": "^16.11.0",
    "react-router-dom": "^5.1.2"
  }
}

Note that GAE runs npm run start.
I've played around with "start": "NODE_ENV=production node build/server.js" but that gives 502 Bad Gateway.
I'm currently using flex , standard never worked for me at all. app.yaml looks like:
env: flex
runtime: nodejs
service: web

Running locally :
razzle start

 WAIT  Compiling...

✔ Client
  Compiled successfully in 2.14s

✔ Server
  Compiled successfully in 153.86ms

ℹ ｢wds｣: Project is running at http://localhost:3001/
ℹ ｢wds｣: webpack output is served from undefined
ℹ ｢wds｣: Content not from webpack is served from /home/anz/Cogi/timecloud-client/my-app
ℹ ｢wds｣: 404s will fallback to /index.html
✅  Server-side HMR Enabled!
🚀 started

I can access it at localhost:3000, not localhost:3001.

I haven't been able to take the default bare-skin "razzle-app" and make it work when I deploy it to Google App Engine.

Adding gcp-build to the scripts section of package.json worked for me.
"gcp-build": "razzle build"
"start": "node build/server.js"

Deploying the built version should have worked, but this might be a configuration issue with appEngine, most likely with the port number.

The one that worked for me, I had to build it on the production server which is not exactly desirable. Also I pass certain environmental variables along with gcp-build which cannot be customized and hence would have to be manually edited based on the server I'm trying to deploy.

@anz000 can you share your app.yaml, server.js, and razzle.config.js files? I'm trying to deploy to google app engine and am running into the same issue. It looks like the static js/css files aren't available..?

app.yaml (I saw the same issue with standard environment as well)
env: flex
runtime: nodejs
service: web

handlers:
  - url: /.*
    script: auto
    secure: always

I have no razzle.config.js file in my project. I was playing around with it when I ran into the issue, but since that didn't help, I didn't use it. There was someone telling that the the built might have left node_modules folder  and had to override that functionality to make it work. I tried but didn't see any progress there.
server.js (minimal version = it's a default one)
import App from './App';
import React from 'react';
import { StaticRouter } from 'react-router-dom';
import express from 'express';
import { renderToString } from 'react-dom/server';

const assets = require(process.env.RAZZLE_ASSETS_MANIFEST);

const server = express();
server
  .disable('x-powered-by')
  .use(express.static(process.env.RAZZLE_PUBLIC_DIR))
  .get('/*', (req, res) => {
    const context = {};
    const markup = renderToString(
      <StaticRouter context={context} location={req.url}>
        <App />
      </StaticRouter>
    );

    if (context.url) {
      res.redirect(context.url);
    } else {
      res.status(200).send(
        `<!doctype html>

        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta charset="utf-8" />
        <title>Welcome to Razzle</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        ${
          assets.client.css
            ? `<link rel="stylesheet" href="${assets.client.css}">`
            : ''
        }
        ${
          process.env.NODE_ENV === 'production'
            ? `<script src="${assets.client.js}" defer></script>`
            : `<script src="${assets.client.js}" defer crossorigin></script>`
        }

${markup}

`
      );
    }
  });

export default server;

Try this on server.js. Basically point to the right path.
// for remote deployment set to build folder, otherwise use the public folder
const publicFolder = process.env.NODE_ENV==='production' ? path.join(__dirname, '../build/public') : 'public';

const server = express()                                              // prepare server
                .disable('x-powered-by')
                .use(express.static(publicFolder));

The css/js bundle loads fine after doing this.

I actually was able to deploy the app by using the custom runtime and adding a Dockerfile with the necessary steps to build in production. My assets were correctly served up too. More on my config here: https://medium.com/@fayehayes/deploy-your-ssr-react-app-to-google-app-engine-already-63f11a46c738

I am happy with my current work-flow. I've managed to deploy the usual way (before I integrated razzle) by pointing at the correct assets folder as I mentioned before. I'll take a look at your solution too. So, we've managed to have 3 different ways to get it working. Awesome, Razzle!

I am happy with my current work-flow. I've managed to deploy the usual way (before I integrated razzle) by pointing at the correct assets folder as I mentioned before. I'll take a look at your solution too. So, we've managed to have 3 different ways to get it working. Awesome, Razzle!

Are you able to provide your solution?

https://github.com/jaredpalmer/razzle/issues/1145#issuecomment-551179592
Did that not work? What specific issue are you running into?


Created WAMPCRA subscriber example

This took me a little while to figure out (rusty with C++) so figured I would get an example together for others.  Merge if you want to.  No worries if not.

Thanks! LGTM and nicely formatted;)


Rename to Module 5 and link to DRS module in Workshop Studio

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can users run this self-service now?


Introduce typed holes; improve disconnect support in human-readable encoding

This introduces the notion of "typed holes" which can be used as placeholders in the text encoding of Simplicity. It uses these holes for disconnect, so that at commitment time users can set their right children to placeholders. The old behavior, which allowed putting a complete expression into disconnect that wouldn't be committed to, was dangerous.

Rebased and renamed last commit. No other changes. I will fix the example programs tomorrow.

FIxed the example programs. Deleted the hidden and disconnect ones, since those test bugs that are no longer architecturally possible.

I opened #173


feat: add custom accounts to test rpc state reader

Make spawn_test_rpc_state_reader get an iterator of accounts and have count the number of occurrences by itself, instead of getting specific numbers per account.
To keep the diff small, the map of contract->n_instances_of_contract is cast back to the old type immediately.
Subsequent PRs will remove this cast and make the whole flow use the map.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.43%. Comparing base (c66762d) to head (894d522).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #454      +/-   ##
==========================================
+ Coverage   83.38%   83.43%   +0.04%
==========================================
  Files          37       37
  Lines        1770     1775       +5
  Branches     1770     1775       +5
==========================================
+ Hits         1476     1481       +5
  Misses        215      215
  Partials       79       79

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Maml iterate head up

Pass all MAML specs
Have to refactor meta inheritance to do it…

Ignore. Did something wonky at the last commit.


First setup of the serenity-js/rest screenplay implementation

I copy pasted the project setup mostly, please check if they are correct. Local packaging gave me the know type error of the actor.


"234234.45."  is Numeric

Ideally this should not evaluate to be numeric

Why not? 🤔

I can't reproduce this:
> validator.isNumeric('234234.45.');
false


How to use external css file in polymer element?

I just want to reuse external opensource file, just like semantic-ui, but I'm confused that how to combine it with polymer element:
<polymer-element name="gaea-tplts">
    <template></template>
</polymer-element>

Thanks.

I think it's not possible to use an existing CSS to style elements in the shadow dom.
For Semantic-UI I yesterday started a fork where I wrap all definitions into html /deep/ (see https://github.com/TangereJs/Semantic-UI/blob/Carbon/dist/components/button.css for a sample).
You can now embed the semantic.css from https://github.com/TangereJs/Semantic-UI/blob/Carbon/dist/components/button.css in your page and then use their classes in your custom elements.

Thanks for your distribution. You just mean that I can never use another jquery libraries until it has offered a Polymer version(add html /deep/ to it)?

As far as I saw Polymer 0.8 should make it easier to create Polymer elements without shadow DOM. Then it should be easy to use other CSS/JS libs with Polymer. Currently it's like http://stackoverflow.com/questions/26702025 (couldn't find a pure JS example but I'm sure there is one on SO).

if you want to just wrap css with a specific selector like html /deep/ then this should do the trick - https://github.com/everything-polymer/polymer-scope-css
then just place something like this in your index.html page -
<link rel="stylesheet" href="url/to/semantic-ui.css" scope="html /deep/ ">

It can also let you do something like this

<link rel="stylesheet" href="url/to/bootstrap.css" scope="html /deep/ .bootstrap ">

<polymer-element name="custom-element" noscript>
  <template>

      Element Scope

No style applied

      Bootstrap scope

Default Button

Primary Button

  </template>
</polymer-element>

It basically just applies html /deep/  to each css selelctor (including inside media queries).
But if you also want javascript from other libraries to play nice then as @zoechi has pointed using elements without the shadow dom is the way to go.
// a no shadow dom element
Polymer({
    // overrides existing parseDeclaration implementation
    parseDeclaration: function(elementElement) {
      var template = this.fetchTemplate(elementElement);
      if (template) {
        var root = this.lightFromTemplate(template);
      }
    }
});

Hi, @pflannery, are you just meanning that I must use lightDOM if I want to combine with Polymer & full semantic-ui?

If your using an external library not made for the Shadow DOM then yes because any selectors it may rely on wont pierce the Shadow DOM boundary. But by putting all your HTML elements in to the Light DOM then your external library selectors can select them as it usually would (both css and javascript). When putting your elements in to the Light DOM make sure you also put their parent element (if any) in to the Light DOM, this will prevent any Shadow Boundaries getting in the way.
However if your not using javascript and you want to use the Shadow DOM then you have a choice:

In your element put a @import to the external css library the css style
use everything-polymer/polymer-scope-css which you can use to prepend a scope selector to all css selectors in the library. Using scope="html /deep/ " will mean your external CSS library will pierce the shadow boundary. You can also contain your external libraries with something like scope="html /deep/ .myLibContainer " which lets you keep library css separated

OK, Thanks.

Sorry, @pflannery , but I still feel confused to use it...
In my program, I use app-router to router the app pages, and it use import to load custom elements.
Just like:
        <app-router>
            <app-route path="/" import="/static/Gaea/elements/gaea-tplts.html" element="gaea-tplts" on-before-data-binding="{{bindSession}}" bindRouter>
            </app-route>
        </app-router>

If I just want to use semantic.js in custom element gaea-tplts.html, what should I do?
Now, it's
<polymer-element name="gaea-tplts">
    <template>
        <link type="text/css" rel="stylesheet" href="/static/sui/semantic.min.css">
        <link type="text/javascript" href="/static/js/jquery-1.11.0.min.js">
        <link type="text/javascript" href="/static/sui/semantic.min.js">
        <form class="ui form">
        ...
        </form>
    </template>

</polymer-element>

But it didn't work...
What should I do??

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Feature/Spider (open-source web scraper & crawler)

Spider is the fastest open source scraper & crawler that returns LLM-ready data.
Now you can scrape and crawl any website using spider.
Twitter handle: @WilliamEspegren

This PR was inspired by #2728

How can I fix this?

Now "pnpm lint" is passing :)

@WilliamEspegren how to test this PR since you dont offer free trial or free any credit? https://spider.cloud/credits/new

@WilliamEspegren how to test this PR since you dont offer free trial or any free credit? https://spider.cloud/credits/new

@WilliamEspegren how to test this PR since you dont offer free trial or any free credit? https://spider.cloud/credits/new
DM me on twitter, I think I can set you up with an account :)

@WilliamEspegren how to test this PR since you dont offer free trial or any free credit? https://spider.cloud/credits/new

DM me on twitter, I think I can set you up with an account :)

Thank you, waiting for your response.

@WilliamEspegren I just tested and the integration works, very fast actually. Impresed.
But the quaility of the data scrappered is a bit dirty with the default values (raw). Check this out:

Would it be possible to add those good options you have in your dashboard to the node itself? At least the request/return format should be added so this can be more usable from Flowise.

@toi500 Imgs transforms to markdown if it does not have certain properties for position.
Spider, we are in the middle of further cleaning the markdown.

@WilliamEspegren got it.
What about the metadata? This is going to be important since the Flowise team is working to add a custom retriever node that allows users to specify what metadata they'd like to be included in the LLM context after a query.

@toi500 a metadata node sounds really interesting! I believe I have made a flag for metadata in the node, but what format should the metadata be in? I can change it to return metadata on default.

yeah agree with @toi500 , overall very fast scraping experience. If the metadata can be something like:
{
  source: 'https://example.com',
  loc: {...}
}

Metadata is now returned likes this:

@HenryHengZJ the lint gods is now happy :)

thank you!


Fix failing integration test

Motivation
Currently integration tests are failing with an SSL Handshake error.

@danielpassos @secondsun  Jenkins seems to have stalled because of the test/integration label. Do you have any issue with me adding the integration tests as part of the CircleCI build? They're pretty quick at the moment and only require mockable.io to be accessible

@aidenkeating I'm -1 for having integration test on circle-ci. I know this is really fast for now, but Integration tests usually use an emulator and it takes a lot of time. Let's raise it on ML

@psturc there's a Jenkinsfile for this repo, and for this PR there's a build that's stuck because of a label of jenkins-openshift not matching anything in Jenkins, from this line: https://github.com/aerogear/aerogear-android-sdk/blob/master/Jenkinsfile#L20 I think what you want is probably just the label openshift, is it?

@grdryn yes, thanks for letting me know! fixed here https://github.com/aerogear/aerogear-android-sdk/pull/239


:memo: Initial page for DB2 provider

@PrashanthIBM can you take a quick look over this and see if it looks good. Also, do you have a place we can point folks to report bugs.

@PrashanthIBM thanks for the review. Regarding 2b, sounds like you are saying it only supports DB2 for z/OS at the moment right? So I will just list that.

DNX/ASP.NET 5 (dnx451 only) --> remove this line. We only support FULL .Net(4.5.1 onwards) .

Full .NET is all you need to support dnx451 (but you don't support dnxcore50)

@rowanmiller , currently we support only DB2 for z/OS, but we have a readme.txt file which will be part of the package and we keep updating our latest supported servers in the readme.txt with each release and also we have blog link for Latest Updates on EF7. Just to avoid frequent doc update requests, we wanted to just mention "IBM Data Servers" under the database supported list.

Page is now live - https://docs.efproject.net/en/latest/providers/ibm/index.html.
If you want future updates, feel free to send a pull request. You won't need to sign a contributor agreement for small doc changes.

@rowanmiller , Thanks a lot :)

@PrashanthIBM can you email me so that we can discuss coordination of RC2

@rowanmiller replied to your email id.


格式转换中的几个错误

经测试，修改这些代码才能正常运行

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How to run headleass Firefox?

I found only configs for headless Chrome (#141), but not how to do it with Firefox. I somewhere saw it could be done via passing an environmental variable, but it was a bit old article and also I have no idea how to pass an env. variable to Firefox.
Edit: Found it could be done by passing an argument -headless. Not sure if that helps me, I see in Firefox config only field for a path to a binary.

Tried using the binary path ffBinary with arguments without success.
Session: <no session id> at "<IP_ADDRESS>":4444
java.lang.IllegalStateException: Specified firefox binary location does not exist or is not a real file: /usr/bin/firefox
 -headless

Hi @mnn,

Do you have geckodriver installed in your environment?
Is it correct firefox location on your system?

Thanks,
Andrey

Hello @swamp-agr,
yes, geckodriver is present and working when I don't change ffBinary. Location is correct, but if I add the command line argument to ffBinary, it breaks, since I guess it doesn't accept arguments this way.
Commented line doesn't work: https://gitlab.com/monnef/redmine-overtime-calculator/blob/2230a46d670d53152fd09e00e516f62547ef1c9c/src/Main.hs#L167
Thanks for your time,
monnef

Hi @mnn,
I tried and was able to reproduce this issue.
After some investigation it was identified that issue caused by missing Firefox capability: firefox_options.
Please expect PR that will resolve this issue by this week.
Thanks,
@swamp_agr

JFYI:
Issue for firefox is still relevant.
Adding hook firefox_options into its capabilities seems does not work.


feat: add earn on main side bar

📝 Description
Add earn on main side bar
❓ Context

Impacted projects: lld
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-5951

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots

LGTM


Button in Activities List not working.

💥The code  <button class='btn btn-warning' onclick='open(' https://bit.ly/3TGoCxE ')'>ฝึกหรืออบรม</button> not working.

Fixed


”Poiana Lungă”, ”Prisacina”, ”Prislop”, ”Ruștin”, ”Scărișoara” are listed in the drop-down menu

Description:
When user writes ”Poiana Lungă”, ”Prisacina”, ”Prislop”, ”Ruștin”, ”Scărișoara” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Poiana Lungă"

Expected results
The location appears in the drop-down menu as "Poiana Lungă, Caraș-Severin(Buchin)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Prisacina"

Expected results
The location appears in the drop-down menu as "Prisacina, Caraș-Severin(Buchin)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Prislop"

Expected results
The location appears in the drop-down menu as "Prislop, Caraș-Severin(Buchin)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Ruștin"

Expected results
The location appears in the drop-down menu as "Ruștin, Caraș-Severin(Buchin)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Scărișoara"

Expected results
The location appears in the drop-down menu as "Scărișoara, Caraș-Severin(Buchin)".


cz penui

Url: https://www.peuni.cz/

@tatyalien First stage of verification passed, official domain is peuni.cz as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@tatyalien Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you.

@tatyalien You might miss my previous comment. Please react.

@tatyalien I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!

@philipto  I'm sorry, after the merger of the universities, the university stopped offering IT courses, they are just finishing their last studies :(