text:
🛑 catalogocanarias is down

In edcc801, catalogocanarias (https://catalogocanarias.botslovers.com) was down:

HTTP code: 503
Response time: 417 ms

Resolved: catalogocanarias is back up in 1d83dd2 after 6 hours, 9 minutes.

repo: Botslovers-SL/uptime


text:
🛑 spell is down

In 519108f, spell (https://spell.botslovers.com/spell/spells) was down:

HTTP code: 503
Response time: 566 ms

Resolved: spell is back up in 145e3a9.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
New current detailed prices not sorted

Describe the bug
The new current day rates event is not sorted with last two slots in list being for previous day.
makes a mes of dashboard rates card.
eg

start: "2023-11-25T21:30:00+00:00"
end: "2023-11-25T22:00:00+00:00"
value_inc_vat: 0.235935
is_capped: false
start: "2023-11-25T22:00:00+00:00"
end: "2023-11-25T22:30:00+00:00"
value_inc_vat: 0.22491
is_capped: false
start: "2023-11-25T22:30:00+00:00"
end: "2023-11-25T23:00:00+00:00"
value_inc_vat: 0.2205
is_capped: false
start: "2023-11-24T23:00:00+00:00"
end: "2023-11-24T23:30:00+00:00"
value_inc_vat: 0.22407
is_capped: false
start: "2023-11-24T23:30:00+00:00"
end: "2023-11-25T00:00:00+00:00"
value_inc_vat: 0.228165
is_capped: false
mpan: "1023458287650"
serial_number: 19L3983005
tariff_code: E-1R-AGILE-FLEX-22-11-25-A
friendly_name: Electricity XXxxxx xxxxxx Current Day Rates

Reproduction steps
Waited 24h for next download. Same issue
Expected behaviour
Should be in directed order from earliest to latest
Tariff Code
No response
Integration Version
V9.0.2 or latest (can’t see on phone)
Home Assistant Version
Latest update
Fresh Install?
After upgrading
Home Assistant Logs
None

Hello. I haven't personally seen this issue so not sure why tomorrows rates are being included in this sensor (based on your example) and should be in order earliest to latest. I assume you're on an agile tariff?

Ignore the last question, I can see your tariff in the report

Hi Yes.  It did seem odd but has repeated over yesterday and today.I’m on an agile tariff.Not sure if this screenshot helps.Best regardsNickOn 24 Nov 2023, at 17:44, David Kendall @.***> wrote:
Hello. I haven't personally seen this issue so not sure why tomorrows rates are being included in this sensor (based on your example) and should be in order earliest to latest. I assume you're on an agile tariff?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I'm failing to recreate this issue locally. I've switched my local instance to your tariff and I'm not seeing what you're seeing (see attached screenshots). Is the timezone/locale of your HA instance set to (GMT +00:00) London? Can you post a screenshot of the entities in question from the developer tools?

I've checked my timezone/locale and it is GMT +00:00 London.
I hope the following screenshots give what you are looking for.  As you can see, I'm still seeing last two days of Saturday at end of current rates

That's very odd. What's weirder is your current day rates sensor contained the next day rates (based on the updated timestamp of the sensor). Silly question, I assume you're not firing the octopus_energy_electricity_currentday_rates manually anywhere, or using any integrations that are interacting with the sensors?

Hi David It’s all very weird. I am using predbat but have inactivated the octopus feed and am using a feed from octopus url for now. The only other connections to the sensors at the moment are 1) from the dashboard agile prices card. 2) in my config.yaml, I have created a sensor to flag negative pricingI’m not firing the rates manually (at least that I know of). I have restarted HA a few times but not sure if that fires a refresh of the rates. Best regardsNickSent from my iPhoneOn 26 Nov 2023, at 10:35, David Kendall @.***> wrote:
That's very odd. What's weirder is your current day rates sensor contained the next day rates (based on the updated timestamp of the sensor). Silly question, I assume you're not firing the octopus_energy_electricity_currentday_rates manually anywhere, or using any integrations that are interacting with the sensors?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

As you say - can't see how the code should fail but frustratingly, I still get the sort issue for just the current day electricity.  Past and next day are fine as is gas....
Just wondering if the solution could be to deinstall and reinstall?

I've added some additional sorting steps in v9.1.0 to try and fix your issue. If you could let me know, that would be great :)

I deleted my configs, updated to v9.1.0 and happily all sorted!  Many thanks for all your time on this. It really is a great app.  Now a proud sponsor :)

Glad that's worked. Still not sure why it wasn't sorted in the first place for you, but 🤷♂

And thank you for the sponsorship - very much appreciated

Ok - the re-install has fully sorted it out.  All sensors working as they should :)

If it stops again, first thing I suggest is going to the events tab of the developer tools. You should only have one thing listening to octopus_energy_electricity_current_day_rates. In addition, you should use the tools to listen to octopus_energy_electricity_current_day_rates. This should trigger around the 30 minute mark, should only fire once and should have the rates in the correct order.

Thanks - Will keep a watch out and try this out if necessary

On 29 Nov 2023, at 19:47, David Kendall @.***> wrote:
If it stops again, first thing I suggest is going to the events tab of the developer tools. You should only have one thing listening to octopus_energy_electricity_current_day_rates. In addition, you should use the tools to listen to octopus_energy_electricity_current_day_rates. This should trigger around the 30 minute mark, should only fire once and should have the rates in the correct order.
—
Reply to this email directly, view it on GitHub https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/566#issuecomment-1832598523, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLZK5HGEENWZEYK5DITAFTYG6GLRAVCNFSM6AAAAAA7ZMQNGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGU4TQNJSGM.
You are receiving this because you authored the thread.

authors: BottlecapDave njhcarroll


text:
Fix for https://github.com/Bouke/docx-mailmerge/issues/31

In some cases MS Word will break a single mailmerge field into multiple instrText elements. This change concatenates these elements into a single element so that processing can proceed as normal.
https://github.com/Bouke/docx-mailmerge/issues/31

Superb, even including a test case 👍🏻.

thanks
but this does not fix all the case reported in https://github.com/Bouke/docx-mailmerge/issues/31
You can get what I said by using the attached file https://github.com/Bouke/docx-mailmerge/files/1066451/bug.zip
In my docx file, there are actually 3 mergefields, namely title, "name" and ID. but print (docIn.get_merge_fields()) only finds {'name', 'ID'}. That is to say title is not found.
even the field code is changed to MERGEFIELD title from MERGEFIELD  title, title is still invisible in docIn.get_merge_fields()

source: gharchive/pull-request

authors: Bouke retsyo tobiaspatton-s4

repo: Bouke/docx-mailmerge

license: mit

license_source: bigquery


text:
Cannot debug on iOS Simulator

Hey Josh,
I just tried to get a project to launch in the iOS simulator, but I just can't get it to work. Perhaps you've got an idea what I'm doing wrong?
Packaging seems to be working fine. I added the following configuration to asconfig.json:
"ios_simulator": {
    "output": "bin/Main-Simulator.ipa",
    "platformsdk": "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk",
    "signingOptions": {
        "storetype": "pkcs12",
        "keystore": "path/to/dev_certificate.p12",
        "provisioning-profile": "path/to/ios_dev_profile.mobileprovision"
    }
}

When I build this, I get an IPA that I can install manually on the simulator like this:
adt -installApp -platform ios -platformsdk /Applications/Xcode.app/[...]/iPhoneSimulator14.5.sdk -device ios-simulator -simulator "iPhone 8" -package Main-Simulator.ipa

Since this is working, I guess that I set up packaging correctly.
Then I set up a launch configuration like this:
{
    "type": "swf",
    "request": "attach",
    "name": "Launch on iOS Simulator",
    "platform": "ios",
    "connect": true,
    "preLaunchTask": "Adobe AIR: package iOS simulator debug - asconfig.json"
}

(BTW, it would be great to have the simulator option here that Harman recently introduced.)
When I launch this, I receive the empty VSCode error box that allows me to open 'launch.json', and the debug console says:
Device uninstall failed for platform "ios" and application ID "com.gamua.vscode" with status code 15.

I tried it on a different Mac, as well, and there I got status code 14 instead. Not much better. :wink:
Do you have any idea what I could check? I'm using the latest stable AIR SDK (33.1.1.476), and have VSCode, macOS (11.4 on Intel) and Xcode in their latest versions.
Thanks a lot in advance, my friend!

Hi Daniel, it's been a long time!
I honestly don't remember if I ever tried debugging on the iOS simulator. It's been so long now. I would like to assume that I did, though.
You should definitely remove this line from your launch.json file when debugging on the iOS simulator.
"platform": "ios"

This field's only purpose is to make the extension install the app on a device before activating the debugger. Since you are installing manually on the simulator, you don't want to do that.
Because you have "connect": true in your launch.json, you also need "listen": true in your asconfig.json:
"airOptions": {
	"ios_simulator": {
		"listen": true
	}
}

If I did get debugging to work in the iOS simulator, I don't remember if it should use "wi-fi" or "usb" debugging. So, if "connect": true and "listen": true does not work, it might be worth trying with "connect": false and "listen": false too.
Since you are manually installing on the simulator, you probably need to manually launch the app (in case that wasn't obvious). Off the top of my head, I don't remember if you need to start the debugger first, or launch the app first. It may not matter, but it may be worth trying both ways.
If these hints don't get you moving in the right direction, let me know, and I'll try to play around with it myself!

Hey Josh,
it's so great to hear from you – yes, it's been such a long time! I really miss the time we were working together on Starling and Feathers. 😄
Your hint was spot-on: After removing the "platform" setting and switching to wi-fi debugging, it immediately worked! For reference (if any other user runs into this), here's my "launch.json" configuration:
{
    "type": "swf",
    "request": "attach",
    "name": "Attach to iOS Simulator",
    "connect": false,
    "preLaunchTask": "Adobe AIR: package iOS simulator debug - asconfig.json"
}

With the pre launch task included, it works like this: start this launch configuration in VSCode and wait for packaging to complete. Then install the ipa on the simulator (as shown above) and launch the app on the simulator. Et voilà: debugging is working.
Thanks a lot for your help!
BTW, did you ever consider adding a setting like platform: ios_simulator to the launch configurations? I don't know if I'm the only one who like to use the official simulator from time to time, but it does have its uses, especially for checking things like notch support etc.
Definitely not a high priority – it's also possible to debug manually, as you have shown me. But it might be nice to have! 😄
All the best, Josh! Thanks again!
Cheers,
Daniel

BTW, did you ever consider adding a setting like platform: ios_simulator to the launch configurations?

I would have expected myself to support that. I wonder if I ran into some issues getting it working. Or maybe I was primarily on Windows at the time, so getting something working on macOS that wouldn't work on Windows too was too much of a hassle! 😆 If I find some time to work on the extension, I'll keep this in mind. (I am now primarily on macOS again!)

I would have expected myself to support that.

😆 Haha, yeah, sometimes our past-selves manage to surprise us, right? But if you were mostly on Windows in that time, that makes a lot of sense. It's a pain to work on such a feature and can't even use it yourself, except when moving to a different dev machine.
Don't worry about it – if you find the time, that's fantastic — otherwise I understand, too! 😄 Cheers!

BowlerHatLLC/vscode-swf-debug@c9d46d7083b1b723988751e01d725b3f55ff2718
It'll be in the next release of vscode-swf-debug, whenever it is that I happen to find time to do one.

OMG, that's incredible, Josh! Thanks so much for investing that time! 😁🙏

vscode-swf-debug v1.3.0 is now available with support for the ios_simulator platform in launch.json.

I just updated the extension and tested debugging on a simulator — and, hurray 🎉!, it works like a charm! Thanks so much for adding this, Josh!
... as for the icing on the cake, or if you're looking for ideas for a future update (haha), one small but useful addition would be to add a property that allows choosing the device to be simulated. Harman recently added the simulator argument to adt recently, to be used like this: -simulator "iPhone 8". That way, one wouldn't need to rely on the environment variable any longer.
But, again, that's just a small nice-to-have idea for the future – it's FANTASTIC to be able to run the simulator like that, as it is. Thanks again! 😁

Good idea! I'll keep it in mind for future updates.

authors: PrimaryFeather joshtynjala


text:
override parseDateFromServer

With reference to the issue discussed in this URL,
https://stackoverflow.com/questions/17657459/breezejs-date-is-not-set-to-the-right-time
where should I put this piece of code in the temphire angular solution?
breeze.DataType.parseDateFromServer = function (source) {
var date = moment(source);
return date.toDate();
};

This would best be placed in the EntityManagerProvider along with all the other Breeze configuration.
https://github.com/Breeze/temphire.angular/blob/master/TempHire/app/core/services/entity-manager-provider.ts#L31

Thanks marcelgood.
if anyone has similar requirements, I have done the below.
Inside prepare()
{
.........
.........
DataType.parseDateFromServer = this.parseDateAsMoment;
.........
.........
}
parseDateAsMoment(source: any): Date{
    var date = moment.utc(source, 'YYYY-MM-DD HH-mm-ss');
    return date.toDate();
}

In Angular component, ondatechanged event of MyDatePicker.
onDateFromChanged(event: IMyDateModel) {
    if (event.formatted !== '') {

        var newDate = moment.utc(new Date(event.jsdate).toLocaleDateString()).format('YYYY-MM-DD HH-mm-ss')
        var newDate2 = moment.utc(newDate, 'YYYY-MM-DD HH-mm-ss');
        this.model.dateFrom = newDate2.toDate();
    }

}

Only then the date input stores correctly in SQL Server datetime column.

authors: fayeeg marcelgood


text:
Game and author

MODIFICATIONS

The Game class was created with all attributes and methods required.

The Author class was created with all attributes and methods required.

The following options were deployed in the App class:

List of games
List all authors (e.g. 'Stephen King')
Add a game
Preserve data functions

Required Changes :recycle:
Hi @HansZizold ,
You've done well implementing and following the requirements, but here are some issues that you still need to work on to go to the next milestone but you are almost there!

Highlights
:heavy_check_mark: Clean code
:heavy_check_mark: Descriptive PR
:heavy_check_mark: Great commit messages

Required Changes recycle

[ ] Kindly make sure that you fix the linters so that we don't merge code on dev branch that has linter errors in there.

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding! :neckbeard:
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me [@Brenda309 ] in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Hi Brenda, please check again. I removed the test file that has causing the error.
Thank you for your revision!!!

Hi @HansZizold 👋
Highlights 👏
Everything is working properly, excellent job! 😎
Great work using the right GitHub Flow.
Commits are descriptive, good work.
Linters are working properly, great job!
Your project is complete! There is nothing else to say other than... it's time to merge it! 🚀
Very nice work, congratulations! 🎉
APPROVED! 💯 💯 💯

Cheers and Happy coding! 🤓
Optional suggestions
[OPTIONAL] You did a great job, congrats! I would suggest renaming your 'rspec' folder to 'spec', the standard command for testing on Ruby is rspec spec and this means that rspec is going to look for samples in the spec folder, this way is easier for any other developer to test your project in the future.
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
✅ Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


text:
Predefined Annotated Types

Implements the pre-defined annotated types described: https://github.com/BrianPugh/cyclopts/issues/65#issuecomment-1891017348
Summary:

Renamed cyclopts.coerce to cyclopts.convert for naming consistency. It also takes a new optional keyword converter.
Introduce the following Path annotated types:ExistingPath, ResolvedPath, ResolvedExistingPath, Directory, ExistingDirectory, ResolvedDirectory, ResolvedExistingDirectory, File, ExistingFile, ResolvedFile, ResolvedExistingFile

Introduce the following Number annotated types:PositiveFloat, NonNegativeFloat, NegativeFloat, NonPositiveFloat, PositiveInt, NonNegativeInt, NegativeInt, NonPositiveInt

Path validator now only checks if the path is a file/directory if it exists. Previously it would always try to check.

@ravencentric, let me know what you think about this PR!

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (10f4cdd) 95.64% compared to head (4ca35cc) 95.66%.

Files
Patch %
Lines

cyclopts/_convert.py
93.10%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff               @@
##           develop-v2      #70      +/-   ##
==============================================
+ Coverage       95.64%   95.66%   +0.02%
==============================================
  Files              15       16       +1
  Lines            1606     1660      +54
  Branches          408      395      -13
==============================================
+ Hits             1536     1588      +52
  Misses             36       36
- Partials           34       36       +2

Flag
Coverage Δ

unittests
95.66% <97.82%> (+0.08%)
:arrow_up:

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

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

Looks good!

repo: BrianPugh/cyclopts


text:
[MI-1939]: Added refresh token logic

Added refresh token logic

Please check the expiry time for the refresh token


text:
US97068 - All Courses tabs

This adds tabs to the All Courses view. These tabs should match the ones being used in the main widget, as they are just passed in as attributes. No real surprises here - switching tabs fetches the courses associated with that tab and updates the d2l-allcourses-unified-content view.
Something I realized partway through this work: when a user has their enrollments already grouped by semester/department via the My Courses widget settings, we aren't able to then use the filter menu to further filter them, as it does a logical OR on all the parentOrganizations that are sent to the API. When this is the case, we can simply hide those two tabs. Similarly, if the user has tabs to group their enrollments by RoleAlias, we should hide the Role tab in the filter menu.
~Note that this is WIP-ish, as I haven't looked at tests yet, and this requires both #538 and #539 to be in first.~

Batiste might have a philosophical argument with you about how you're using (not using) tab-panels, but given how coupled the search-and-filter row is, and how on-tab-selected modifies the searchUrl to trigger re-fetching of enrollments, this is probably the best way to handle it.

From some follow-up discussion, turns out this isn't a great idea - there are a bunch of semantics that I'm missing out on here by doing this. In particular, the tab content is no longer going to look like tab content to screen readers. Going to investigate further into doing it the way you did it, @jlai-d2l (i.e. the correct way), but in a way that doesn't even try to render the other tabs until they're clicked.
More commits coming!


text:
Recomment Source Code

Re-add understandable comments to source code.

Comments re-added and standardized

repo: BroMarduk/ptmenu


text:
Made collectAsArrow allocator param Option

Might be better to use an Option for the root allocator in the  collectAsArrow API instead of constructing an instance there.  Also added more tests and minor cleanup of suite.

cc @icexelloss

repo: BryanCutler/spark


text:
unable to access 'https://github.com/FFmpeg/FFmpeg.git/'

./build.sh win64 gpl 5.1
...
...
...
+ docker run --rm -i -t -u 1000:1000 -v /home/norman/Desktop/code/FFmpeg-Builds/ffbuild:/ffbuild -v /tmp/tmp.I67W2KulE1:/build.sh ghcr.io/btbn/ffmpeg-builds/win64-gpl-5.1:latest bash /build.sh
+ cd /ffbuild
+ rm -rf ffmpeg prefix
+ git clone --filter=blob:none --branch=release/5.1 https://github.com/FFmpeg/FFmpeg.git ffmpeg
Cloning into 'ffmpeg'...
fatal: unable to access 'https://github.com/FFmpeg/FFmpeg.git/': Could not resolve host: github.com
+ rm -f -- /tmp/tmp.I67W2KulE1

os: ubuntu 22.04.2
Docker version: 23.0.4, build f480fb1
GNU bash version: 5.1.16(1)-release (x86_64-pc-linux-gnu)
It was working fine yesterday, but not today. I run git clone --filter=blob:none --branch=release/5.1 https://github.com/FFmpeg/FFmpeg.git ffmpeg alone by myself, it is normal. But running build.sh gives an error

That looks like an issue with your internet connection to me.
If it works outside of docker, something with dockers network setup must be broken.

It may be my vmware virtual machine problem, I reset the vmware network, it can work

authors: BtbN blogwy

repo: BtbN/FFmpeg-Builds


text:
Add mdformat

Adding mdformat Markdown formatter to Tools -> Miscellaneous section (hoping this is the right place).

Project URL
https://github.com/hukkinj1/mdformat

Category
Tools -> Miscellaneous

Description
Mdformat is an opinionated Markdown formatter that can be used to enforce a consistent style in Markdown files. Mdformat is a Unix-style command-line tool as well as a Python library.

Why it should be included to awesome-markdown (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in alphabetical order
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 4 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

173
Error
https://markable.in/  SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)

176
Error
https://www.tablesgenerator.com/markdown_tables  SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

179
Error
https://socrates.io/  SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate)

200
502
https://gitprint.com/

  Generated by :no_entry_sign: Danger

repo: BubuAnabelas/awesome-markdown


text:
bug: token-wrapper-eth: doesn't compile out of the box

Is there an existing issue for this?

[X] I have looked through the existing issues

Current Behavior
After setting up the token-wrapper-eth + (install/foundry up), running yarn foundry:test (or yarn compile) returns:

Just in case, I completed the challenge (filling in the missing stuff on the Contract), but still getting the same. If I remove the test with the warning + the tests with the events, it works.

Expected Behavior
It should compile out of the box (maybe something is wrong with my foundry?)
Steps To Reproduce

yarn install
foundryup
yarn foundry:test

Anything else?
No response

Thanks for raising this issue. I can't seem to replicate the problem. I just did a fresh clone and followed your exact steps and it compiles and returns all the tests failing.

I am on Linux as I believe you are. What other factors could be at play here?

@escottalexander I'm having the same behavior on the eth-streaming branch.
When I tried to deploy the contracts I'm getting:
yarn deploy
[⠊] Compiling...
[⠰] Compiling 1 files with Solc 0.8.19
[⠔] Solc 0.8.19 finished in 275.74ms
Error:
Compiler run failed:
Error (9582): Member "EthReceived" not found or not visible after argument-dependent lookup in type(contract EthStreaming).
--> test/EthStreaming.t.sol:48:14:
|
48 |         emit EthStreaming.EthReceived(sender, amount); // test contract
|              ^^^^^^^^^^^^^^^^^^^^^^^^
Ubuntu with forge 0.2.0 (0ad127a 2024-07-25T00:17:47.070402649Z)

@carletex What Solc version does it use when you run yarn compile? This is different between Damu and I:
[elliott@fedora temp_challenges]$ yarn compile
[⠊] Compiling...
[⠑] Compiling 2 files with Solc 0.8.22
[⠘] Solc 0.8.22 finished in 572.32ms
Compiler run successful!

When I specify solc_version='0.8.19 in foundry.toml I get the same errors you both get. I think the solution will be specifying solc_version='0.8.22' but I will need to look into it more to make sure this is not short sighted. Please confirm that adding solc_version='0.8.22' fixes your issues when you get a chance. Thanks!

@carletex What Solc version does it use when you run yarn compile? This is different between Damu and I:
[elliott@fedora temp_challenges]$ yarn compile
[⠊] Compiling...
[⠑] Compiling 2 files with Solc 0.8.22
[⠘] Solc 0.8.22 finished in 572.32ms
Compiler run successful!

This is because the contract is set:
pragma solidity >=0.8.0 <0.9.0;
I always try to use something like
pragma solidity 0.8.22;
To fix the solidity version of the chosen one.

When I specify solc_version='0.8.19 in foundry.toml I get the same errors you both get. I think the solution will be specifying solc_version='0.8.22' but I will need to look into it more to make sure this is not short sighted. Please confirm that adding solc_version='0.8.22' fixes your issues when you get a chance. Thanks!

Yes! It worked!

I had 0.8.20 and it was failing. 0.8.22avoids the error with events (still showing the Return value of low-level calls not used.warning tho). But test results show correctly now.
I think locking the version could be a safe approach.Or at least ^0.8.22
Thanks for the quick response!                                                                                │

This has been solved in each of the challenge branches and the main branch.

authors: carletex damianmarti escottalexander

repo: BuidlGuidl/eth-tech-tree-challenges


text:
Stackblitz CodeflowApp Bot

Is your feature request related to a problem?
This will improve DX Workflow.
https://www.youtube.com/watch?v=Ea1zJD5uQRg
https://stackblitz.com/codeflow
Describe the solution you'd like
CodeflowApp is a friendly bot, which provides a one-click link that spins up the whole environment for pull requests and issues. No more context-switching or branch-checkouts, just a new browser tab with a full IDE and a dev server running.

To integrate the bot, please follow the instructions on Integrating CodeflowApp bot.
Describe alternatives you've considered
Install the CodeflowApp bot to Github
Additional context
No response

Thanks @reemardelarosa
Great minds...  I already integrated the bot with the repo, just waiting for @mhevery 's approval in the settings

I think I pushed the right buttons.

Just popping in to say "hi" 💙 Thank you for considering CodeflowApp bot. If you have any feedback, ideas, frustrations, or wishes - my team and I would love to hear them all!
Feel free to reach out on Twitter, too!

@sylwiavargas we are having an issue running the qwik repo. Please check https://github.com/stackblitz/webcontainer-core/issues/839.

Right - I noticed it after I commented and wanted to run the repo myself.
I've already pinged the team. I'll provide you with an update or an ETA tomorrow.
Thank you for creating the issue too!

Hello everyone! Happy Monday! ✨
I checked in with our team and we identified the problem and a solution.
Your repository uses Yarn Berry which is not supported by WebContainers. A solution to consider would be to switch to npm or pnpm (which would also bring the benefit of speed ⚡ If you’d like to consider this switch, there are two steps you’d need to take:

remove workspaces from package.json and put that into a pnpm-workspace.yaml
configure node-linker in a .npmrc and set it to hoisted (that should be equal to their current linker they use for Yarn Berry)

I see more and more frameworks switching to pnpm - as an example, Nuxt did so recently (https://github.com/nuxt/framework/discussions/939).
I also want to be perfectly transparent about that the Rust parts of your repo won’t run but you could still use Codeflow to run anything JS / WASM based and review PRs, code, or inspect issues 🙂
Meanwhile, please reach out whenever there’s something I can help you with! I know that Dominic Elm is about to respond on the issue so please feel free to ask him about anything technical, too 🙂

authors: mhevery reemardelarosa shairez sylwiavargas

repo: BuilderIO/qwik


text:
Checksum for brew failing

Hi there,
I'm trying to install the app through Homebrew on OSX (High Sierra, 10.13.5). The installion fails as the checksum doesn't seem to be correct? I'm running Homebrew 1.7.0.
Installing does mention running "brew update" may fix sha256 checksum errors. However, running update tells me i'm already up-to-date.
brew cask install bunq
==> Satisfying dependencies
==> Downloading https://github.com/BunqCommunity/BunqDesktop/releases/download/0.8.11/BunqDesktop-0.8.11.dmg
Already downloaded: /Users/user/Library/Caches/Homebrew/Cask/bunq--0.8.11.dmg
==> Verifying checksum for Cask bunq
==> Note: running "brew update" may fix sha256 checksum errors
Error: Checksum for Cask 'bunq' does not match.

Expected: cda59e4653e747c0099c5078aaf5d59040d68f7f5784b5a6d94a6fcfff45d9b3
Actual:   ff461b377e5b6acd9bffd86e2c8367eb3ec2e1e6734c8a64f58ef4b8aed3eb05
File:     /Users/user/Library/Caches/Homebrew/Cask/bunq--0.8.11.dmg

To retry an incomplete download, remove the file above.

We ran a hotfix and since I'm currently on holiday I didn't notice right away that our PR was held back. It should get accepted soon. So no security issue is going on right now, just outdated checksum values.
https://github.com/Homebrew/homebrew-cask/pull/49873

It just got accepted so it should be working now 👍

authors: Crecket krummler

repo: BunqCommunity/bunqDesktop


text:
Tentative fix for crashes, suspected nil value from network issues

Not certain this is what has been causing the instability experienced thus far, but I made it through at least 3 antes without crashes in a brief test, so it's looking promising. Needs further testing.

The changes here were added to main through other pull requests and some of the changes in this pull request were incorrect, closing it is long overdue anyways

repo: BurndiL/BalatroAP


text:
Add additional column for 'type'

Right now, there is a album/playlist column which might be kind of confusing. It could be better to just have a type column where the user can then enter from these options Album, Playlist, Song.
This change would require going through and updating the Type for each row. This should get done before the lists gets too long!
Steps to complete:

Add new Name column as the second column
Rename Album/Playlist column to be Type
Update the type column for each item to state whether it is a playlist, album, song, etc

Example:

Artist
Name
Type
Link

STS 9
Moon Socket
Album
link

@Burnett2k done

Step 3 still needs to be completed if you don't mind helping with that

@am2367 nicely done. Closing the issue.


text:
Open tiddler by URL

Hi, not an issue but an unusual behaivour.
Normally you can acces individual tiddlers by concatenating the URL of the wiki + the name of the tiddler, as follows:

However, when TiddlyFlex Layout is activated, It opens the last retained story, no matter the URL, as follows:

In my usecase I access specific tiddlers from URL and would be nice to not lose this feature when TiddlyFlex is on

Hi @MagicJF - thanks for reporting!
This will be added!
Thanks,
Simon

Hi @MagicJF , I've now addressed this issue. It's not perfect how I did it and I will think about it again, but it's addressed :+1:

Thxs!
I appreciate it :)

Thxs!
I apreciate it :)

authors: BurningTreeC MagicJF

repo: BurningTreeC/TiddlyFlex


text:
Unable to create columns with actions

Great library, I definitely appreciate that this has been fully written in TypeScript.
I recently tried adding an actions column to my table but was unable because the row data must have the column name present. My workaround for this involves passing a null value to the column name. While this isn't a show-stopper by any means, I think it would be more appropriate to allow column fields to not be present.
I noticed that this line is where the check for the column name is present.
https://github.com/Buuntu/react-final-table/blob/3bb860fa97e6c255a344ee3993edafb8ed0214b4/src/hooks.tsx#L384
Another solution I would like to propose would involve adding a excludedColumns field that would allow us to explicitly define which columns we would like to pass the check.
const sortDataInOrder = <T extends DataType>(
  data: T[],
  columns: ColumnType<T>[],
  excludedColumns: string[],
): T[] => {
  return data.map((row: any) => {
    const newRow: any = {};
    columns.forEach(column => {
      if (!(column.name in row) && excludedColumns.indexOf(column.name) === -1) {
        throw new Error(`Invalid row data, ${column.name} not found or was not defined in excludedColumns`);
      }
      newRow[column.name] = row[column.name];
    });
    return newRow;
  });
};

I am more than happy to contribute a PR to add this functionality.

Great library, I definitely appreciate that this has been fully written in TypeScript.
I recently tried adding an actions column to my table but was unable because the row data must have the column name present. My workaround for this involves passing a null value to the column name. While this isn't a show-stopper by any means, I think it would be more appropriate to allow column fields to not be present.
I noticed that this line is where the check for the column name is present.
https://github.com/Buuntu/react-final-table/blob/3bb860fa97e6c255a344ee3993edafb8ed0214b4/src/hooks.tsx#L384
Another solution I would like to propose would involve adding a excludedColumns field that would allow us to explicitly define which columns we would like to pass the check.
const sortDataInOrder = <T extends DataType>(
  data: T[],
  columns: ColumnType<T>[],
  excludedColumns: string[],
): T[] => {
  return data.map((row: any) => {
    const newRow: any = {};
    columns.forEach(column => {
      if (!(column.name in row) && excludedColumns.indexOf(column.name) === -1) {
        throw new Error(`Invalid row data, ${column.name} not found or was not defined in excludedColumns`);
      }
      newRow[column.name] = row[column.name];
    });
    return newRow;
  });
};

I am more than happy to contribute a PR to add this functionality.

Sorry for the late reply @austinbuckler.  You are right, I would gladly accept a PR for this.

authors: Buuntu austinbuckler

repo: Buuntu/react-final-table


text:
[1.12.12-236] [MP] Placing Black Hole Tank crashes with TeslaCoreLib

Industrial Foregoing Version: 1.12.2-1.12.12-236
TeslaCoreLib Version: 1.12.2-1.0.15
Crashlog (If Any): https://pastebin.com/8ZBzaAU9
Forge: 2837
Game Type: Multiplayer
Placed down a black hole tank and immediately crashed the server. Restarted several times and googled this issue but everyone was crashing with brewer. Not this case. I placed several at my area with no issues, a friend placed one and killed server. I tried to replicate and cannot do it.
The reason for this (back in January): https://github.com/MinecraftModDevelopmentMods/Tesla-Core-Lib/issues/28#issuecomment-457967397
I will report this to TeslaCoreLib's dev as well.
To temporarily fix this for anyone else that sees this post:
1.) Backup your world.
2.) edit config/forge.cfg
change both of these entries to true
B:removeErroringEntities=false
B:removeErroringTileEntities=false

3.) Start server, make sure it didn't just wreck the world. (if fixed then go to number 4)
4.) Shut down server.
5.) Change forge.cfg back to false on above 2 entries.
5.) Start server.

Duplicate #413

This is not a duplicate of #413. I changed EnderIO's bottle settings both to off and still crashed.


text:
refresh README.md

更改：
将motoko-qr移动到application目录下
增加：
Application：

SVG Generator
GraphQL

Data structure：

BiMap
FIFO Queue

Algorithm:

SHA
Encode
CRC32
UUDI

Education:
DFINITY Education respository

add aviate libraries

repo: C-B-Elite/awesome-motoko


text:
Unable to enablemps

Thank you for putting this together.
Testing on a MAC M2 and was not able to enablemps
Also needed to do a pip install cchardet

let me know if not trying correctly

I'm sorry this really was a bug, fixed in the latest update v0.4.7 today, please update.
Bark is not using cchardet AFAIK but perhaps this is needed for Gradio on Mac 🤷


text:
Shape lineWidth doesn't animate, changes path placement

Running the following:
var shape = C4Line([C4Point(100,100),C4Point(100,200)])
shape.strokeColor = red
view.add(shape)

delay(1.0) {
    let a = C4ViewAnimation(duration: 0.25) {
        shape.lineWidth = 10.0
    }
    a.animate()
}

Results in two errors:

The line simply switches to the new lineWidth value, i.e. no animation
The line jumps from one place on the screen to the other (i.e. doesn't adjustToFitPath)

Also, the following:
override func viewDidLoad() {
    let bg = C4Rectangle(frame: C4Rect(0,0,320,44))
    bg.center = C4Point(self.view.center)
    bg.lineWidth = 0
    view.add(bg)
}

Results in:

Whereas the following:
override func viewDidLoad() {
    let bg = C4Rectangle(frame: C4Rect(0,0,320,44))
    bg.center = C4Point(self.view.center)
//        bg.lineWidth = 0
    view.add(bg)
}

Results in:


text:
Logger files need to be size limited

Original report by Brian Calder (Bitbucket: brian_r_calder, ).

Currently, the logger starts a new logging file when it boots, but then continues to log into that file until power is removed.  On some systems, this might lead to problems.  The logger should check file size occasionally and move to the next file if required.

Original comment by Brian Calder (Bitbucket: brian_r_calder, ).

Resolved on serial data stream by flipping to the next log file at a fixed size (set at compile time).

repo: CCOMJHC/WIBL


text:
Mi primer commit

Cambié la versión de la librería numpy de 1.22.0 a 1.21.4 (downgrade) para que funcione con el modelo que se está trabajando.

Gracias por el cambio.

repo: CCarito/handson-ml


text:
Removed and Reorderd

My original design of this site did not figure-in the TP4 agency header and footer.
Removed the 2nd redundant cdc logo and placed the openCDC brand into the intro hero.
Reordered the code page alphabetically and made some small style clean ups.

Thanks for submitting this and I'm really happy you made these improvements. I need to deploy it to my test server to take a look and will merge in and deploy once testing completes.

Sorry this took so long, thanks for the improvements. You can see them now on the internal test server and keep an eye out for a tagged release for when they are actually deployed to open.cdc.gov.

authors: jtrotter leebrian

repo: CDCgov/opencdc


text:
Integrate smoke test for SimpleReport

[ ] Dev team builds smoke test
[ ] Integrate smoke test in build process

Discussion about validation options for ReportStream smoke test: https://usds.slack.com/archives/C01HFHPNJEL/p1618929242421600?thread_ts=1618866027.421200&cid=C01HFHPNJEL

repo: CDCgov/prime-devops


text:
Website Redesign - Case Studies

As a User,
I want to visit the ReportStream Case Studies Page,
So that I can see some examples of how ReportStream has helped healthcare organizations
Designs

Figma Link https://www.figma.com/proto/Du7feM8huRDAAZCQcUIj93/Website-Redesign?page-id=3018%3A5898&type=design&node-id=3161-7864&viewport=671%2C614%2C0.42&t=XPwiGE1Y2bTGMc2P-8&scaling=min-zoom&hide-ui=1

Analytics

Page Load
Button / Link clicks

Verification Steps

Code Review
Trial / Dev environment signoff by Product / Design
Staging environment signoff by Product / Design / Stakeholders
Production environment signoff by Engineering, Product and Design

Acceptance Criteria

[ ] Analytics / Metrics Required
[ ] Storybook update required
[ ] Unit Tests
[ ] Manual Testing Steps

Dependencies:

Designs - https://www.figma.com/proto/Du7feM8huRDAAZCQcUIj93/Website-Redesign?page-id=3018%3A5898&type=design&node-id=3161-7864&viewport=671%2C614%2C0.42&t=XPwiGE1Y2bTGMc2P-8&scaling=min-zoom&hide-ui=1
Navigation links

Additional Details:

The deployment strategy will follow the general deployment strategy for the Website Redesign EPIC. We will deliver this page in isolation from the other pages.

Hey team! Please add your planning poker estimate with Zenhub @etanb @jpandersen87 @penny-lischer

repo: CDCgov/prime-reportstream


text:
messageID API users want an API that works for all topics / datatypes

The current messageID API only works for covid.  This ticket is to make it work for all future datatypes, by using the new ITEM table, created in #8032.
This ticket includes some tech debt cleanup on the messageID API as well.
Acceptance criteria
REST API Name change
The concept of message is HL7 specific.   Generalize to the term item which can be a message, a row, or a bundle, as follows:

Change api/messages/search?messageID=xxx to api/items?trackingId=xxx.
Change api/message/{covid_results_metadata_id} to api/item/{item_id}
Fix the documentation too (docs/api/message.yml, release notes, kotlin code).
Rename Message to something else (probably not Item, as that'll be generated by Jooq).  Maybe ItemHistory?

Search on item_id, not covid_results_metadata_id

The "id' returned in the new ItemHistory object, (returned by the api/items endpoint) should now always be the item_id, the primary key of the item table.
For each item found by any query in the ITEM table, also return its metadata.

Other improvements

Add 'topic' to the ItemHistory object so we know which metadata table it came from.  THis is found in the ReportFile table.

Tech debt cleanup:

The .kt files for this need to move to src/kotlin/history/azure.  messageID queries are history API queries, so they properly belong in history/azure.
ItemHistory (was Message) should be its own class to parallel DeliveryHistory.kt etc.

Implementation Notes
The linking of ITEM  - via Topic - to the corresponding ***_Metadata table can be accomplished in several different ways.

returns just the generic ITEM data, then requiring a second, topic-specific query, to get the *_metadata.   I think the way you would do this is that the api/items... query would only return generic non-topic-specific info, then the single-result api/item/{item_id} query could grab all the metadata.   This is a nice MVP solution.
using a fancy table inheritance design.    If queries are going to go across topics, or return a large number of ITEMs along with their metadata, this is the most performant solution.  However, I think its its own separate ticket.
Require the user to send a topic parameter.   Use the topic to determine which metadata table to join with.     A query can only get data for one topic.  Return metadata in both api/items... and api/item/{item_id} queries.

Waiting on Uinversal Search design to create Epic.

authors: avnieldravid jimduff-usds


text:
Remix vite

#355

Can one of the admins verify this patch?

repo: CDEBase/fullstack-pro


text:
Subcribe notifications with special xpath filter cause segment fault

hi
On netopeer2-cli, subscribing notififaction with following xpath filter will cause segment fault and core dump
subscribe --filter-xpath /ietf-netconf-notifications:netconf-config-change/edit[target="if:interfaces/interface"]
netopper2 (v0.7-r1)
libyang (v0.16-r2)
libnetconf2 (v0.12-r1)
sysrepo (v0.7.7)

Hi,
when I tried it with the latest devel (of all the projects), it did not crash, just failed with an error. But, to fix this, you probably just need to use ietf-interfaces instead of if as the module prefix (we use JSON-style prefixes so that it is not required to bother with XML namespaces).
Regards,
Michal

Hi, michal
coredump detect crash at free() in lydict_remove()
Maybe this issue has been resolved in commit
ea726ca tp resolve #779


text:
LN: Session 5: Failed to write reply (would block)

Hi,
Logs attached, it has logs for sometime before issue happened, in case that helps.
Summary from logs:

here our proprietary netconf client tried create subscription but below error is seen in logs :

2022-06-02T18:11:37.534845011Z netopeer2-server|ERROR "netopeer2-server-log" [ERR]: LN: Session 5: Failed to write reply (would block)

Then the client tried again subscription but this time netopeer2-server returned error saying already subscribed.

2022-06-02T18:18:06.697028232Z netopeer2-server|ERROR "netopeer2-server-log" [ERR]: SR: Session already subscribed.
2022-06-02T18:18:06.697105358Z netopeer2-server|ERROR "netopeer2-server-log" [ERR]: SR: User callback failed.
2022-06-02T18:18:06.697123374Z netopeer2-server|ERROR "netopeer2-server-log" [ERR]: NP: Failed to send an RPC (User callback failed).

From code and other issues reported on similar problem appears like the rpc response couldnt process in 10 seconds (which is default timeout) but if you see the timestamp of the logs, we dont see 10 second difference from the time "subscription" was received and this error message (would block) was returned.
Also if say due to some error, failure happened (would block error) then atleast the next time subscribe call should have succeeded instead of saying session already subscribed.

Can you please help us figure out what really went wrong in the system and if there is any fix for this issue. We are not able to reproduce it so we are not clear which case this issue is happening. We have only one netconf client session active(as you can see in logs also)
NP2SRV_VERSION 2.1.10
netopeer-log.txt

The default poll timeout is 10 milliseconds, not seconds. It seems fairly small but it is just for writing data on a socket so it should be sufficient. You can try to increase the timeout by cmake -DPOLL_IO_TIMEOUT=1000 .. to 1 s and check whether the problem is solved.

authors: meghna-doshi michalvasko


text:
Divine Soul mod default file and optional file are considered the same mod by Lamp

Which is a bit weird considering both the name and the UUID differ in info.json.
https://www.nexusmods.com/baldursgate3/mods/2284?tab=files

After reading the code ive missed a step during file extraction ill add it in for 1.0.9 apologies

authors: CHollingworth alterNERDtive

repo: CHollingworth/Lamp

license: Unlicense


text:
Plot aspect ratio should be customizable

There needs to be some way to control the scale of the x and y axes in plots. At this time, the scale tries to fit itself to the data, which is not always the most useful solution.

Duplicate of #371 . I should read the issue list more carefully.

repo: CIRDLES/Topsoil


text:
Added Example of CNN model using CIFAR dataset

Closes #43

@Vishesh-Mittal can you please review this PR.

@yashrajdesai Looks good to me


text:
research skills suggestions

Links for skills development are missing (community/manual/skills), here are some suggestions for what to include in each category (others add ideas too if we want to include more than one link per category):
Compiling and Linking Code:

https://www.learn-cpp.org/
https://cmake.org/cmake/help/latest/guide/tutorial/index.html

Unix Command Line:

http://swcarpentry.github.io/shell-novice/

Literature Review:

??

Version Control (not a category but maybe add?):

http://swcarpentry.github.io/git-novice/

Also- Do we want a python or interpreted language section?

repo: CNERG/new-website


text:
Popover shows even if it is explicitly set to False

Hi, I've been playing around with the Popover and I would like to have complete control over it.
However, even when I set the open property to False, it still shows quickly and then hides, is this something to be expected?
Thanks!
code:
add_button = fac.AntdPopover(
            id="popup_id,
            children=fac.AntdButton(
                "Add Sel.",
                id="button_id",
            ),
            title="INFO:",
            trigger="click",
        )
@dash_app.callback(
            Output("popup_id", "content"),
            Output("popup_id", "open"),
            Input("button_id", "nClicks"),
            prevent_initial_call=True,
        )
        def update(button_pressed, elems):
            # elems is a list that comes from a sate, not noted in the callback
            if button_pressed:
                    if len(selected_signals) > 1:
                        popup_content = "Show this text"

                        return no_update, tags, popup_content, True

                    for signal in selected_signals:
                        # do things
            return no_update, no_update, "", False

@GhaziXX If you wanna get the complete control of  AntdPopover open status, you could set permanent=True, follow this demo below:

import dash
from dash import html
import feffery_antd_components as fac
from dash.dependencies import Input, Output, State

app = dash.Dash(__name__)

app.layout = html.Div(
    fac.AntdPopover(
        fac.AntdButton("demo button", id="demo-button"),
        id="demo-popover",
        content="demo content",
        permanent=True,
        open=False,
    ),
    style={"padding": 150},
)

@app.callback(
    Output("demo-popover", "open"),
    Input("demo-button", "nClicks"),
    State("demo-popover", "open"),
    prevent_initial_call=True,
)
def complete_control_popover_open(nClicks, open):
    return not open

if __name__ == "__main__":
    app.run(debug=True)

@CNFeffery thanks a lot for your answer! However I would like to have kinda both of them. So when I click outside the button it hides and when I click the button it only shows if I set the open property to True, if it is False then nothing shows. Is this possible? Or should I add an event listner somewhere else to catch clicks when it is open?

@GhaziXX That would be easier, because when content=None, the AntdPopover will not be triggered:

import dash
from dash import html
import feffery_antd_components as fac
from dash.dependencies import Input, Output

app = dash.Dash(__name__)

app.layout = html.Div(
    fac.AntdSpace(
        [
            fac.AntdSwitch(
                id="control-popover-content",
                checked=True,
                checkedChildren="with content",
                unCheckedChildren="no content",
            ),
            fac.AntdPopover(
                fac.AntdButton("demo button", id="demo-button"),
                id="demo-popover",
                trigger="click",
            ),
        ]
    ),
    style={"padding": 150},
)

@app.callback(
    Output("demo-popover", "content"), Input("control-popover-content", "checked")
)
def control_popover_content(checked):
    return "demo content" if checked else None

if __name__ == "__main__":
    app.run(debug=True)

@CNFeffery Thanks again for this suggestion, I tried to follow it, it got better but still with a slight problem (possibly related to me?)
Anyways, I have create the callback as clientside callback to make it faster, the code looks like this:
import dash
from dash import html
import feffery_antd_components as fac
from dash.dependencies import Input, Output, clientside_callback

app = dash.Dash(__name__)

app.layout = html.Div(
    fac.AntdSpace(
        [
            fac.AntdPopover(
                fac.AntdButton("demo button", id="demo-button"),
                id="demo-popover",
                trigger="click",
            ),
        ]
    ),
    style={"padding": 150},
)

clientside_callback(
            """
            function(nClicks, selected_signals,) {
                if (selected_signals.length === 1) {
                    return null;
                }

                if (!selected_signals || selected_signals.length === 0) {
                    return "Please select signals first.";
                }

                if (selected_signals.length > 1) {
                    return "Please aggregate the signals, or use only one at a time.";
                }

                return null;
            }
            """,
            Output("demo-popover", "content"),
            Input("demo-button", "nClicks"),
            State("tree", "selectedKeys"), #not stated in this demo code
            prevent_initial_call=True,
        )

if __name__ == "__main__":
    app.run(debug=True)

@GhaziXX No need to care about react-related warning messages in the browser console, which had no impact on the running of the application itself.

@CNFeffery yes that is already noticed, was mostly pointing to when the message 'Only one signal selected, should be hidden' is printed in the console how an empty popover is shown over the button even though I return None to the content. Sorry if the gif is a bit misleading wanted to show the whole conditions 😅

@GhaziXX You can install the latest pre-version ( via pip install feffery-antd-components --pre -U ), See if there are any issue.

authors: CNFeffery GhaziXX

repo: CNFeffery/feffery-antd-components


text:
🛑 Apricity，你好 is down

In dc24704, Apricity，你好 (https://www.liukai.asia) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apricity，你好 is back up in 053b3e1 after 17 minutes.


text:
Remove Hackathon content

I've removed the Hackathon content from the website repo.

I think there is a hackathon.html page as well. Can we see if that needs to be removed as well? Thanks!

I've removed it too @AneeshBose. Along with images for hackathon which is in the assets/hackathon folder.

Merge as per convenience.

Merge as per convenience.

Maybe Let's wait for @Anindyadeep comments? If he said okay, then I'll merge.

Maybe Let's wait for @Anindyadeep comments? If he said okay, then we can merge.

Sure!

authors: AneeshBose BalajiAI

repo: CORD-ai/cord-website


text:
Feature/autoware msgs refactoring

Status
DEVELOPMENT
Description
Created a tool to automatize the process of autoware_msgs refactoring. Also fixed several missing dependencies and spelling errors of Autoware messages on the source code.
Related PRs
List related PRs against other branches:
Todos

[x] Tests
[x] Documentation

Steps to Test or Reproduce
Usage of the refactoring script is described on its document concerning-autoware-msgs.md:

Get a fresh copy of Autoware develop branch, ex. git clone https://github.com/CPFL/Autoware.git -b develop --recurse-submodules [AUTOWARE_PATH].
Make sure the original builds correctly: run ./catkin_make_release (follow the steps in How to build ).
Switch to feature/autoware_msgs_refactoring branch, ex. git checkout feature/autoware_msgs_refactoring and pull for changes git pull.
Run the autoware messages refactoring script as:

./fix-autoware-msgs.py --fix

from the [AUTOWARE_PATH]/ros folder (it assumes src is a subdirectory).
If only a single message namespace is to be refactored, use the --namespace option as:
./fix-autoware-msgs.py --fix --namespace N

where N is a string in [autoware_detection_msgs, autoware_localization_msgs, autoware_planning_msgs, autoware_sensing_msgs, autoware_sync_msgs, autoware_socket_msgs]
4. Make sure refactored version builds correctly: run again ./catkin_make_release.
5. (Optionally) If necessary, everything can be reverted to its original unaltered state with ./fix-autoware-msgs.py --recovery. The recovery file .autoware_msgs_refactoring_recovery has a list of modified files, it can be deleted.

Since this work is due for 1.12, I think we need to revise how we manage all these PRs and where they go. Please consider doing something like the following:

Fork the Autoware repository.
Pull everything from develop into master.
Create branches from master for your proposed changes.
Create PRs from your branches to the master branch in your fork.
Comment here with the location of those PRs so everyone can look at them and review them.
As each gets declared acceptable, merge it into the master of your fork.
When they are all done, rebase to the latest master from the upstream repository and do a PR to the master branch of the upstream repository.
If everything checks out fine there, which it should, we can accept that single PR rapidly, minimising the possibility of a clash with other changes that were merged during the work.

authors: alexandrx gbiggs

repo: CPFL/Autoware


text:
Build error using cmake (macOS)

I'm struggling to build the library, or incorporate it in my project. There seem to be a number of issues, so I must be doing something wrong, and would appreciate advice.
I have tried to build the library as follows:
Everything

clone this repo
cmake -S . -B build-output

Result:
ben@BeniMac2020 url % cmake -S . -B build-output
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/lib/cmake/Boost-1.79.0/BoostConfig.cmake (found suitable version "1.79.0", minimum required is "1.78.0") found components: container
-- Configuring done
CMake Error at test/unit/CMakeLists.txt:102 (add_executable):
  Target "boost_url_tests" links to target "Boost::filesystem" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMake Error at test/unit/CMakeLists.txt:102 (add_executable):
  Target "boost_url_tests" links to target "Boost::unordered" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMake Error at example/route/CMakeLists.txt:14 (add_executable):
  Target "route" links to target "Boost::filesystem" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
ben@BeniMac2020 url %

Just the lib
It seems the test and examples fail to configure, so I can disable them:
ben@BeniMac2020 url % cmake -S . -B build-output -DBOOST_URL_BUILD_TESTS=OFF -DBOOST_URL_BUILD_EXAMPLES=OFF
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/lib/cmake/Boost-1.79.0/BoostConfig.cmake (found suitable version "1.79.0", minimum required is "1.78.0") found components: container
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ben/Development/YouCompleteMe/url/build-output
ben@BeniMac2020 url % cmake --build build-output
[ 50%] Building CXX object CMakeFiles/boost_url.dir/src/src.cpp.o
In file included from /Users/ben/Development/YouCompleteMe/url/src/src.cpp:10:
In file included from /Users/ben/Development/YouCompleteMe/url/include/boost/url/src.hpp:28:
In file included from /Users/ben/Development/YouCompleteMe/url/include/boost/url.hpp:15:
In file included from /Users/ben/Development/YouCompleteMe/url/include/boost/url/authority_view.hpp:17:
/Users/ben/Development/YouCompleteMe/url/include/boost/url/pct_string_view.hpp:695:16: error: use of undeclared identifier 'hash_value'
        return hash_value(s.s_);
               ^
1 error generated.
make[2]: *** [CMakeFiles/boost_url.dir/src/src.cpp.o] Error 1
make[1]: *** [CMakeFiles/boost_url.dir/all] Error 2
make: *** [all] Error 2
ben@BeniMac2020 url %

Environment:
macOS 12.5.1 Intel
clang:
ben@BeniMac2020 url % clang --version
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

revision
ben@BeniMac2020 url % git rev-parse HEAD
0cbcbcd12a00b0ed3f2338cd0f8d365ca50dadaf

Including the source directly in my project leads to similar build errors, and the following trivial test does too:
ben@BeniMac2020 url % cat test.cc
#include <boost/url.hpp>
#include <boost/url/src.hpp>

int main()
{
}
ben@BeniMac2020 url % clang++ -std=c++17 -o test -isystem include test.cc
In file included from test.cc:1:
In file included from include/boost/url.hpp:15:
In file included from include/boost/url/authority_view.hpp:17:
include/boost/url/pct_string_view.hpp:695:16: error: use of undeclared identifier 'hash_value'
        return hash_value(s.s_);
               ^
1 error generated.
ben@BeniMac2020 url %

Did you install the latest Boost?

I have boost 1.79.0
ben@BeniMac2020 url % brew info boost
==> boost: stable 1.79.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.79.0_2 (15,462 files, 464.5MB) *
  Poured from bottle on 2022-09-07 at 14:52:15
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/boost.rb
License: BSL-1.0
==> Dependencies
Required: icu4c ✔, xz ✔, zstd ✔
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 112,320 (30 days), 353,702 (90 days), 1,077,028 (365 days)
install-on-request: 26,259 (30 days), 83,227 (90 days), 244,644 (365 days)
build-error: 27 (30 days)
ben@BeniMac2020 url %

If it helps, the build error from my actual project has more verbosity:
/Users/ben/Development/YouCompleteMe/ycmd-cpp/vendor/boost-url/include/boost/url/pct_string_view.hpp:658:16: error: no matching
      function for call to 'hash_value'
        return hash_value(s.s_);
               ^~~~~~~~~~
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:526:24: note:
      candidate function not viable: no known conversion from 'const boost::urls::string_view' (aka 'const basic_string_view<char>') to 'std::monostate'
      for 1st argument
    inline std::size_t hash_value(std::monostate) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:541:24: note:
      candidate function not viable: no known conversion from 'const boost::urls::string_view' (aka 'const basic_string_view<char>') to 'std::type_index'
      for 1st argument
    inline std::size_t hash_value(std::type_index v)
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:548:24: note:
      candidate function not viable: no known conversion from 'const boost::urls::string_view' (aka 'const basic_string_view<char>') to
      'const std::error_code' for 1st argument
    inline std::size_t hash_value(std::error_code const& v) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:555:24: note:
      candidate function not viable: no known conversion from 'const boost::urls::string_view' (aka 'const basic_string_view<char>') to
      'const std::error_condition' for 1st argument
    inline std::size_t hash_value(std::error_condition const& v) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/smart_ptr/shared_ptr.hpp:1218:33: note:
      candidate template ignored: could not match 'shared_ptr' against 'basic_string_view'
template< class T > std::size_t hash_value( boost::shared_ptr<T> const & p ) BOOST_SP_NOEXCEPT
                                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/smart_ptr/weak_ptr.hpp:291:33: note:
      candidate template ignored: could not match 'weak_ptr' against 'basic_string_view'
template< class T > std::size_t hash_value( boost::weak_ptr<T> const & p ) BOOST_SP_NOEXCEPT
                                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/utility/string_view.hpp:658:17: note:
      candidate template ignored: could not match 'boost::basic_string_view' against 'boost::core::basic_string_view'
    std::size_t hash_value(basic_string_view<charT, traits> s) {
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:364:57: note:
      candidate template ignored: substitution failure [with T = boost::core::basic_string_view<char>]: no type named 'type' in
      'boost::hash_detail::basic_numbers<boost::core::basic_string_view<char>>'
    typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
                                                   ~~~~ ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:370:56: note:
      candidate template ignored: substitution failure [with T = boost::core::basic_string_view<char>]: no type named 'type' in
      'boost::hash_detail::long_numbers<boost::core::basic_string_view<char>>'
    typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
                                                  ~~~~ ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:376:57: note:
      candidate template ignored: substitution failure [with T = boost::core::basic_string_view<char>]: no type named 'type' in
      'boost::hash_detail::ulong_numbers<boost::core::basic_string_view<char>>'
    typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
                                                   ~~~~ ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:382:31: note:
      candidate template ignored: disabled by 'enable_if' [with T = boost::core::basic_string_view<char>]
    typename boost::enable_if<boost::is_enum<T>, std::size_t>::type
                              ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:390:36: note:
      candidate template ignored: could not match 'T *const' against 'const boost::urls::string_view' (aka 'const basic_string_view<char>')
    template <class T> std::size_t hash_value(T* const& v)
                                   ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:478:24: note:
      candidate template ignored: could not match 'const T [N]' against 'const boost::urls::string_view' (aka 'const basic_string_view<char>')
    inline std::size_t hash_value(const T (&x)[N])
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:484:24: note:
      candidate template ignored: could not match 'T [N]' against 'const boost::urls::string_view' (aka 'const basic_string_view<char>')
    inline std::size_t hash_value(T (&x)[N])
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:491:24: note:
      candidate template ignored: could not match 'basic_string' against 'basic_string_view'
    inline std::size_t hash_value(
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:499:24: note:
      candidate template ignored: could not match 'std::basic_string_view' against 'boost::core::basic_string_view'
    inline std::size_t hash_value(
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:507:57: note:
      candidate template ignored: substitution failure [with T = boost::core::basic_string_view<char>]: no type named 'type' in
      'boost::hash_detail::float_numbers<boost::core::basic_string_view<char>>'
    typename boost::hash_detail::float_numbers<T>::type hash_value(T v)
                                                   ~~~~ ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:514:24: note:
      candidate template ignored: could not match 'optional' against 'basic_string_view'
    inline std::size_t hash_value(std::optional<T> const& v) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/hash.hpp:531:24: note:
      candidate template ignored: could not match 'variant' against 'basic_string_view'
    inline std::size_t hash_value(std::variant<Types...> const& v) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:63:17: note:
      candidate template ignored: could not match 'pair' against 'basic_string_view'
    std::size_t hash_value(std::pair<A, B> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:72:17: note:
      candidate template ignored: could not match 'vector' against 'basic_string_view'
    std::size_t hash_value(std::vector<T, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:78:17: note:
      candidate template ignored: could not match 'list' against 'basic_string_view'
    std::size_t hash_value(std::list<T, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:84:17: note:
      candidate template ignored: could not match 'deque' against 'basic_string_view'
    std::size_t hash_value(std::deque<T, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:90:17: note:
      candidate template ignored: could not match 'set' against 'basic_string_view'
    std::size_t hash_value(std::set<K, C, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:96:17: note:
      candidate template ignored: could not match 'multiset' against 'basic_string_view'
    std::size_t hash_value(std::multiset<K, C, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:102:17: note:
      candidate template ignored: could not match 'map' against 'basic_string_view'
    std::size_t hash_value(std::map<K, T, C, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:108:17: note:
      candidate template ignored: could not match 'multimap' against 'basic_string_view'
    std::size_t hash_value(std::multimap<K, T, C, A> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:114:17: note:
      candidate template ignored: could not match 'complex' against 'basic_string_view'
    std::size_t hash_value(std::complex<T> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:124:17: note:
      candidate template ignored: could not match 'array' against 'basic_string_view'
    std::size_t hash_value(std::array<T, N> const& v)
                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:159:24: note:
      candidate template ignored: could not match 'tuple' against 'basic_string_view'
    inline std::size_t hash_value(std::tuple<T...> const& v)
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:236:24: note:
      candidate template ignored: could not match 'shared_ptr' against 'basic_string_view'
    inline std::size_t hash_value(std::shared_ptr<T> const& x) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/container_hash/extensions.hpp:241:24: note:
      candidate template ignored: could not match 'unique_ptr' against 'basic_string_view'
    inline std::size_t hash_value(std::unique_ptr<T, Deleter> const& x) {
                       ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/smart_ptr/intrusive_ptr.hpp:381:33: note:
      candidate template ignored: could not match 'intrusive_ptr' against 'basic_string_view'
template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p ) BOOST_SP_NOEXCEPT
                                ^
/Users/ben/.conan/data/boost/1.79.0/_/_/package/383bfa2443c96c8d22700cf3c7c30015af5694a5/include/boost/array.hpp:416:17: note:
      candidate template ignored: could not match 'array' against 'basic_string_view'
    std::size_t hash_value(const array<T,N>& arr)
                ^
1 error generated.
make[3]: *** [src/CMakeFiles/ycmd.dir/ycmd.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/ycmd.dir/all] Error 2
make[1]: *** [all] Error 2

You might need 1.80

@puremourning, this library uses a feature that's only available in Boost 1.80.

Since the library has been accepted, it just depends on the most recent version of boost. We have updated the documentation to reflect that in https://github.com/CPPAlliance/url/pull/513. But Boost 1.80 will do.

OK, thanks for the info.

authors: alandefreitas puremourning vinniefalco

repo: CPPAlliance/url


text:
ci: Improve times by splitting stable test runs

Parallelises running stable tests with --no-features and -all-features.
This should reduce the critical path latency for the required checks.
I'm not doing this for the other compiler versions, as the delay is not that critical there and splitting workers pollutes the cache.
Closes #1064.

Looks roughly like a 30% improvement :)

repo: CQCL/hugr


text:
Add evaluation notebook

Add notebook that loads results of an experiment from W&B and analyses the results. Use it to understand the weaknesses of the model and how to improve.

Done.


text:
Create Association Class for Card-Tag relation

Right now we place tags within Card, but we often have to search for all cards with a particular tag. It would make more sense if the Card<->Tag relation be captured by an association class.
I am thinking of having a singleton, and implementing it using an adjacency list, or with guava's inbuilt graph library.
google.github.io/guava/releases/snapshot/api/docs/com/google/common/graph/Graph.html

This will be done in 3 steps:

Remove Tag functionality from address Book
Morph Person into Tag
Create CardTag class
create XMLAdaptedCardTag to store cardtag relations.

Implementation is complete!

Part of #83


text:
"Me" showing in "Others" panel after registering

Steps to reproduce:

Start without a data folder
Register a user

Me disappears from Others panel after trying to friend Me

Appears to be fixed, at least the steps above don't seem to produce this bug any more.
Closed, create new issue if similar issue pops up again.


text:
Fixing the Spotify Feature Merge Issue

Fixing the Spotify Feature Merge Issue
:recycle: Current situation & Problem
• previous feature/spotify merge had issues (missing files) that needed to be resolved
:bulb: Proposed solution
• rolled back the feature/spotify PR
• reverted to feature/spotify to commit 72ff630e17baeea865f8c976c9dbde02175b5f53
• pulled from main and redid rebase for all patches
Related PRs
Original PR with spotify feature: #10
PR to roll back changes: #16
Reviewer Nudging
• pull code and run on phone to check for any possible features that are still missing. Running in simulator works for me
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Merging. TODO: fix SwiftLin, Build and Test, and Compliance errors. Do this on a separate branch


text:
Size mismatch error when loading weights from pretrained weights (hrnetv2-c1)

I am training on my custom dataset using transfer learning but getting the size mismatch error because of the different number of classes on my dataset (binary) and the weights (trained on 150 classes). Do I need to unfreeze last layers or is there some other hack to get this to work. Thanks!
[2020-06-08 04:52:04,191 INFO train.py line 248 4485] Running with config:
DATASET:
  imgMaxSize: 1000
  imgSizes: (300, 375, 450, 525, 600)
  list_train: ./data/stock_training.odgt
  list_val: ./data/stock_validation.odgt
  num_class: 2
  padding_constant: 32
  random_flip: True
  root_dataset: .
  segm_downsampling_rate: 4
DIR: ckpt/ade20k-hrnetv2-c1
MODEL:
  arch_decoder: c1
  arch_encoder: hrnetv2
  fc_dim: 720
  weights_decoder:
  weights_encoder:
TEST:
  batch_size: 1
  checkpoint: epoch_9.pth
  result: ./inference_output
TRAIN:
  batch_size_per_gpu: 2
  beta1: 0.9
  deep_sup_scale: 0.4
  disp_iter: 20
  epoch_iters: 5000
  fix_bn: True
  lr_decoder: 1e-06
  lr_encoder: 1e-06
  lr_pow: 0.9
  num_epoch: 35
  optim: SGD
  seed: 304
  start_epoch: 30
  weight_decay: 0.0001
  workers: 16
VAL:
  batch_size: 1
  checkpoint: epoch_30.pth
  visualize: False
[2020-06-08 04:52:04,191 INFO train.py line 253 4485] Outputing checkpoints to: ckpt/ade20k-hrnetv2-c1
Using weights: ckpt/ade20k-hrnetv2-c1/encoder_epoch_30.pth ckpt/ade20k-hrnetv2-c1/decoder_epoch_30.pth
Loading weights for net_encoder
Loading weights for net_decoder
Traceback (most recent call last):
  File "train.py", line 282, in <module>
    main(cfg, gpus)
  File "train.py", line 158, in main
    weights=cfg.MODEL.weights_decoder)
  File "/home/ubuntu/autonopia/semantic-segmentation-pytorch/models/models.py", line 166, in build_decoder
    torch.load(weights, map_location=lambda storage, loc: storage), strict=False)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 847, in load_state_dict
    self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for C1:
        size mismatch for conv_last.weight: copying a param with shape torch.Size([150, 180, 1, 1]) from checkpoint, the shape in current model is torch.Size([2, 180, 1, 1]).
        size mismatch for conv_last.bias: copying a param with shape torch.Size([150]) from checkpoint, the shape in current model is torch.Size([2]).```

Just had to keep the num_class = 2 in the config and it continued training.


text:
Build script for Mac/Linux

We have a working build script for Windows, but we really should have a build script working for Mac and Linux. This'll make everyone's lives running and testing the project easier, and will help with running the project on the target hardware as well.

If anyone knows how to do this this would probably be really helpful for sending instructions on how to run the game to the stakeholder.


text:
Create Kubernetes cluster on IBM Cloud

As an Order Manager
I need to create an environment to deploy our application to a Kubernetes cluster on IBM Cloud
So that I can gain better business agility and scale
Assumptions
•	Allows for continuous delivery to be achieved
•	Allows for creation of automated testing integrated with an automated CI/CD pipeline
Acceptance Criteria

All members create IBM Cloud accounts and are invited by the maintainer of our repo to their account
Kubernetes cluster is created, including a health check (/health endpoint)
dev namespace and prod namespace created
Service run as NodePort where Development port is: 31001 and the Production port is: 31002

Requirement 3: Deploy to the Cloud, Story 1/2

Hey team! Please add your planning poker estimate with Zenhub @bartconsedine @EmiliePourchet @LotteLa @marianaruizallende @nilesh1401 @Victoria-Obasa

im working on this, please don't remove


text:
Feature/add xml upload forms

Description
First PR adds xml upload form component and some basic frontend stuff (navbar etc). Tried to focus on logic, not UI.
Related issues
Fixes #1
Type of change

[x] New feature (non-breaking change which adds functionality)

Changes Made

Xml upload form with validation for basic errors
api-service for backend
redux-based state management for global states (such as which object type is being handled)

Testing
[x] Unit Tests

@blankdots I added some tests, this is now ok to review

the code LGTM for now. I would make some changes to CSS to have a more polished UI, but this could be addressed in a different issue.
I would go with an Wizard Design pattern for the Submission process e.g.
* https://uxplanet.org/wizard-design-pattern-8c86e14f2a38

* https://miro.medium.com/max/1322/1*ePnjt7Mywi6RVrRu61rmuQ.png

Good good. Theres actually issue about styles: https://github.com/CSCfi/metadata-submitter-frontend/issues/4 Going to focus on that when program logic is ok.

repo: CSCfi/metadata-submitter-frontend


text:
Completed Task 1

successfully completed my CSEDGE task-1 i.e Landing page in Web Development internship

I have completed my task-1

successfully completed my CSEDGE task-2 i.e Gallery in Web Development internship

successfully completed my CSEDGE task-3 i.e portfolio in Web Development internship

successfully completed my CSEDGE task-4 i.e Student Enrollment Form
in Web Development internship

I have completed all the tasks successfully.

Hello @Hariteja11 We've seen your video on YouTube..!

Yaah I have posted a video is there any problem with it?
On Sun, 2 Jun 2024, 9:00 pm CSEdge, @.***> wrote:

Hello @Hariteja11 https://github.com/Hariteja11 We've seen your video
on YouTube..!
—
Reply to this email directly, view it on GitHub
https://github.com/CSEdgeOfficial/Web-Development-Internship/pull/26#issuecomment-2143900667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5LF6GDXQLDJYOBIGTOTDDLZFM3BNAVCNFSM6AAAAABIIZJUSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHEYDANRWG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Hariteja11 Not at all!  If you'd like to make another video, you can! We've even updated our tasks. Check them out in the new repositories, which have also been updated on the website. There are exciting new things coming soon!

Awesome, thank you so much!
On Thu, 6 Jun 2024, 11:13 am CSEdge, @.***> wrote:

@Hariteja11 https://github.com/Hariteja11 Not at all! If you'd like to
make another video, you can! We've even updated our tasks. Check them out
in the new repositories, which have also been updated on the website. There
are exciting new things coming soon!
—
Reply to this email directly, view it on GitHub
https://github.com/CSEdgeOfficial/Web-Development-Internship/pull/26#issuecomment-2151454174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5LF6GENKODXUTAXCQ4CKVDZF7ZGRAVCNFSM6AAAAABIIZJUSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGQ2TIMJXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


text:
Reduce dependency tree

Moment.js is still bundled with obsidian, but it is a big & slow library, which is unnecessary for most tasks.
With the ever growing amount of plugins we use, I believe it is important to not let the dependency tree balloon from an early stage.
If at some point, some very complicated timestamp & date manipulation is going to be necessary, moment.js can be easily added back. For now, native Date module is more than enough.

Hey @CSLukkun
In this PR I have also pushed the JavaScript language dependencies, to the latest available versions. It seems to be working fine, as both my Android & Desktop application seem to be running the latest versions of Electron framework & v8 runtime.
All the features are available, nothing seems broken. The output, built script is half the size, safer & faster (although it is not doing much for now)


text:
As a user with a CSU Office 365 account, I want to be able to use it to login

User story
Use CSU Office365 as an SSO identity provider
Narrative
Out of scope
Acceptance criteria

#
Given
When
Then

1
x
x
x

2
x
x
x

3
x
x
x

4
x
x
x

Relates to #416

repo: CSU-Booking-Platform/application


text:
Not showing correct temperature

In toolkit 5.2 and 5.0 my temperature it's always 25°c. It never changes even if ambient temperature it's 15°c. This happens to both joycons

I have two pairs of joycons
The firmware versions are all 4.07. One pair of them has a constant temperature of 25 ℃, and the other pair has a real ambient temperature

I have two pairs of joycons
The firmware versions are all 4.07. One pair of them has a constant temperature of 25 ℃, and the other pair has a real ambient temperature


text:
Add gsutil example script for syncing data to target bucket

This issue outlines the need for an example script to be used with gsutil, a common way of interfacing with Cloud Storage buckets. A focus should be placed on making this script align with the Google Cloud resources of this template.

This was added via the merge of #9

repo: CU-DBMI/gc-cloud-storage-bucket


text:
Capabilities Web Service: Error when updating to 1.1.1

mcpiper[CodePlex] I am attempting to update our Hydroserver Capabilities web service to the 1.1.1 version. I basically stopped the service, removed the old files, pasted in the new ones, checked and updated the settings in IIS (I'm on IIS 6), and rebooted IIS. Now when
I try to hit the default page I get the following error:
nbsp
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'HydroServerCapabilities'.
Source Error:
Line 1: lt%@ WebService Language=quotvbquot CodeBehind=quot~/App_Code/Service.vbquot Class=quotHydroServerCapabilitiesquot %gt
nbsp
I'm hoping I just missed something and it's a simple fix, but after reviewing the setting again, I'm not sure how to troubleshoot it.
Our URL is
http://www.his.npca.ca/HydroServerCapabilities/, but I've switched it back to the previous version for the time being.
nbsp
Thanks for any tips,
Piper

mcpiper[CodePlex] Yes, confirmed, I was able to update the service without any problems. Thanks for the fix! Piper

horsburgh[CodePlex] I believe this is an issue with the deployment where the directory structure of the deployment zip file got corrupted. We have fixed this now and a new deployment has been posted.

repo: CUAHSI/HydroServer


text:
updated title on README

This is just an example commit to practice.

Awesome, thank! Please merge.

repo: CUMoellerLab/sn-mg-pipeline


text:
dataVersion "enum": ["5.1"] breaks backward compatibility

https://github.com/CVEProject/cve-schema/commit/0416cceef50b8002e4fd095b8f00ff535db64d64 with
https://github.com/CVEProject/cve-schema/blob/0660e596a82597c181f1bba3db9301c65127876c/schema/v5.0/CVE_JSON_5.1_schema.json#L364-L368
is not a valid change for a 5.1.0 minor version according to the Semantic Versioning 2.0.0 specification. An API client must be allowed to send exactly the same data across minor version updates. (Admittedly, exceptions have been made for schema mistakes affecting a few CNAs, but this situation is not about a mistake.) If a client was successfully sending "dataVersion": "5.0" to a given endpoint with API version 5.0.0, it must be able to successfully send "dataVersion": "5.0" to that same endpoint with API version 5.1.0. This, for example, affects several clients used by the Secretariat, including client-side code for automated tests of CVE Services. Although the Secretariat could adapt if the ultimate decision is to proceed with an invalid change, it would take longer. Changing dataVersion can also disrupt CNA business processes, e.g., some CNAs locally store copies of full CVE Records (not CNA containers) that they previously used for a submission with a CVE Services client (i.e., their input to a client is a full CVE Record even though the client only sends the CNA container to a CNA endpoint). CNAs would expect that their stored CVE Records validate against the new schema after a minor version update, but 100% of them would fail to validate. Similarly, any other use of stored CVE Records (including data obtained from https://github.com/CVEProject/cvelistV5) would have the surprising behavior that they don't validate against the current schema after a minor version update. Solutions may include:

continue with "dataVersion": "5.0" for API version 5.1.0 (or, more generally, dataVersion can always be the major version of the schema followed by ".0" - it is not currently in a Semantic Versioning format and will never be in a Semantic Versioning format)
schema version 6.0.0, CVE Services API version 6.0.0, and "dataVersion": "6.0.0"

If it is the case that 5.1.0 is otherwise backwards compatible and non-breaking (only feature additions), but requiring 'dataVersion 5.1' does create a breaking change, that seems awkward. Does this mean any future otherwise non-breaking updates would become breaking by bumping dataVersion?
In general I'd prefer to use semver properly, but some first questions are "Is 5.1.0 breaking?" and "If so, is the only break the dataVersion change?"

We (Dave, Chris, and me) discussed this and were ok with making this change with the assumption:
dataVersion field is not in the CNA's record submission workflow.
CNAs only submit a container object that is not versioned.
So this should be a non breaking change for existing CNA tooling.
RSUS does the assembly of containers and metadata.
It should assemble the record with dataVersion 5.1 prior to storing in the backend.

It disrupts CNA tooling because some CNAs validate a JSON document against the CVE Record schema before the step of submitting a CNA container to CVE Services. The CVE Program does not publish a schema for the CNA container, and we have never seen evidence that a CNA has constructed a CNA container schema on their own. The only convenient document to validate against is the https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/docs/CVE_JSON_5.0_bundled.json one. Anyone asking the Secretariat for help in preprocessing for JSON validation has been pointed to that.
CNAs may do JSON schema validation on their local copies of full CVE Records regardless of what client they are using to submit a container to a CVE Services CNA endpoint. Even the most commonly used public clients support the workflow in which the CNA's locally stored data is a full CVE Record, not a container: https://github.com/RedHatProductSecurity/cvelib/blob/51c47fb05bb32d41a5b7a53f206f5be0ac815774/cvelib/cve_api.py#L141-L149 and of course it is possible to paste a full CVE Record into the Vulnogram Source tab.

We (Dave, Chris, and me) discussed this and were ok with making this change with the assumption:
dataVersion field is not in the CNA's record submission workflow. CNAs only submit a container object that is not versioned.
So this should be a non breaking change for existing CNA tooling.
RSUS does the assembly of containers and metadata. It should assemble the record with dataVersion 5.1 prior to storing in the backend.

I found this interesting.  Just now, I used Vulnogram to create a /cve5/new and the source does seem to include this element:
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.0",
  ...

Are you stating that, even though it's in Vulnogram's source view, it isn't submitted via CVE Services using the "Post to CVE.org" button?

Please try demo version with 5.1 schema synced: https://vulnogram.github.io/cve5.1

When "Post to CVE" button is clicked only the CNA container data is sent.

When CNAs are onboarded by the MITRE Root, they are taught that the https://vulnogram.github.io website is a tool that can produce full CVE Records. For onboarding to succeed, a CNA must demonstrate that it can create full CVE Records and email them to the MITRE Root. (They can extract them from the Source tab of the https://vulnogram.github.io website.) Thus, at the point of onboarding, 100% of CNAs know how to create full CVE Records, and very few know how to create a document in the CNA container data format. The CNA container data format is largely irrelevant to CNAs unless they later develop their own client from scratch. They have most likely never seen any document in this data format, and never need to learn that either Vulnogram or cvelib sends only the CNA container to an API endpoint.
Because of this experience, CNAs often use full records (not CNA containers) when adding any site-specific steps, even if they are using the https://vulnogram.github.io website. For example, some CNAs add a step in which more than one person reviews a CVE Record before it becomes public, and also add a step to preserve any reference URLs that the Secretariat may have added to the CNA container.
It would be good if CNAs updated their site-specific steps to the latest schema as soon as a new schema is approved by the CVE Program. However, for a minor update such as 5.0 to 5.1, a CNA typically would not expect that this is important unless they are using a new feature in 5.1 within their own CVE Records, or require a bug fix in 5.1.
For example, the site-specific process may be:
The CNA's goal is to update one of their previously published CVE Records, e.g., to add important technical details or mention additional affected products.
A PSIRT staff member types the new vulnerability details into the https://vulnogram.github.io UI.
This PSIRT staff member sends the full CVE Record, from the Source tab of the https://vulnogram.github.io website, to the PSIRT manager.
The PSIRT manager makes some final revisions, sets the date for public release (e.g., 10 AM Tuesday), and instructs the PSIRT staff member that it is critically important to paste the final revision into the https://vulnogram.github.io Source tab and the post the CVE Record at 10 AM Tuesday (not later), and to make no further changes to the CVE Record except that, after about 9:30 AM Tuesday, they should merge in any new Secretariat-provided references.
The CNA has a local tool, perhaps written by a former PSIRT employee, that handles this reference merge step.
The reference merge step happens to make a CVE Services GET request to retrieve the currently published CVE Record, validate this CVE Record against a copy of the CVE Record schema (which has been previously packaged in this local tool), and then merge references.
The CNA had previously published their CVE Record before the CVE Program released a 5.1 schema. It had previously been stored by CVE Services with dataVersion 5.0. However, CVE Services has since been updated so that all retrieved CVE Records contain dataVersion 5.1.
Here, the process fails unless the CNA knew to update their local tool to the new schema. (A 5.1 CVE Record - if it contains dataVersion 5.1 - is not valid according to the 5.0 schema.) The CNA will eventually be able to debug this, but it may take some time if the local tool was written by a former employee.
Meanwhile, the CNA's Customer Relationship Management system has emailed a security advisory to every customer shortly after 10 AM Tuesday. This advisory may include a link to the CVE Record on the cve.org website (reasonable under the expectation that the CVE Record was published at 10 AM).
Because the PSIRT staff member is still debugging, the link to the cve.org website will show stale data for a substantial amount of time. This can lead to substantial customer confusion, and substantial support costs for the CNA.

fixed in 5.1.0-rc2 with a relaxed dataVersion pattern

authors: ElectricNroff ViperGeek chandanbn zmanion

repo: CVEProject/cve-schema