text:
Portfolio form section branch

Name field accepts up to 30 chars.
Email field accepts only emails.
Message field accepts up to 500 chars.
All fields have placeholder text.
All fields have the correct type.
A user cannot submit the form if one or more of the fields is empty.
I Collect data by using the Formspree service.
I used Flexbox to lay out elements on the page.
I followed the design as much as possible, using the templates in Figma.
I Implemented the button interactions.

Name field accepts up to 30 chars.
Email field accepts only emails.
Message field accepts up to 500 chars.
All fields have placeholder text.
All fields have the correct type.
A user cannot submit the form if one or more of the fields is empty.
I Collect data by using the Formspree service.
I used Flexbox to lay out elements on the page.
I followed the design as much as possible, using the templates in Figma.
I Implemented the button interactions.
I removed the live demo from the README file

I have added the "pressed state" for the buttons using :active. I have done this following the Figma template.

Thank you.


text:
Standard Lookup field references are not retrieved on custom profile using sf project retrieve start --manifest

Summary
Using the command sf project retrieve start --manifest results in standard lookup fields not being retrieved in the profile definition. Other standard fields are retrieved, but those where data type = 'lookup' are not retrieved along with the profile.
If the entire customobject is retrieved then the lookup fields appear in the profile definition, but retrieving with only the fields specified results in the FLS for the field not being retrieved in the profile.
For example, the following manifest will result in the FLS for the field not being retrieved;

Test STND Retrieve
Profile

Contact.AccountId
CustomField

60.0

However if the manifest is changed to reference the custom object, then the FLS is returned in the profile definition.

Test STND Retrieve
Profile

Contact
CustomObject

60.0

Steps To Reproduce
Is reproducible in any project

Modify FLS for Contact.AccountId on a custom profile
Create manifest in local project which contains the profile and Contact.AccountId field
Run command sf project retrieve start --manifest  from the local project
The profile returned does not have any reference to the field Contact.AccountId

Expected result
FLS for the Contact.AccountId field is returned in the profile definition
Actual result
FLS is missing for the field
System Information
Which shell or terminal are you using?
zsh
Paste the full output of the sf version --verbose --json command below -->
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.42.6",
"nodeVersion": "node-v20.12.2",
"osVersion": "Darwin 23.4.0",
"rootPath": "/Users/leecunningham/.local/share/sf/client/2.42.6-2b3c407",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.18 (core)",
"@oclif/plugin-commands 3.3.4 (core)",
"@oclif/plugin-help 6.0.22 (core)",
"@oclif/plugin-not-found 3.1.9 (core)",
"@oclif/plugin-plugins 5.0.21 (core)",
"@oclif/plugin-search 1.0.24 (core)",
"@oclif/plugin-update 4.2.12 (core)",
"@oclif/plugin-version 2.1.2 (core)",
"@oclif/plugin-warn-if-update-available 3.0.19 (core)",
"@oclif/plugin-which 3.1.10 (core)",
"@salesforce/cli 2.42.6 (core)",
"apex 3.1.11 (core)",
"auth 3.6.11 (core)",
"data 3.3.5 (core)",
"deploy-retrieve 3.6.14 (core)",
"info 3.2.8 (core)",
"limits 3.3.7 (core)",
"marketplace 1.2.5 (core)",
"org 4.1.10 (core)",
"packaging 2.4.4 (core)",
"schema 3.3.6 (core)",
"settings 2.2.6 (core)",
"sobject 1.4.2 (core)",
"source 3.3.12 (core)",
"telemetry 3.3.7 (core)",
"templates 56.2.7 (core)",
"trust 3.6.11 (core)",
"user 3.5.8 (core)"

Confirmed that it is still happening after updating version
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.44.8",
"nodeVersion": "node-v20.13.1",
"osVersion": "Darwin 23.4.0",
"rootPath": "/Users/leecunningham/.local/share/sf/client/2.44.8-c60512e",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.18 (core)",
"@oclif/plugin-commands 3.3.4 (core)",
"@oclif/plugin-help 6.0.22 (core)",
"@oclif/plugin-not-found 3.1.10 (core)",
"@oclif/plugin-plugins 5.1.3 (core)",
"@oclif/plugin-search 1.0.24 (core)",
"@oclif/plugin-update 4.2.14 (core)",
"@oclif/plugin-version 2.1.2 (core)",
"@oclif/plugin-warn-if-update-available 3.0.19 (core)",
"@oclif/plugin-which 3.1.10 (core)",
"@salesforce/cli 2.44.8 (core)",
"apex 3.1.13 (core)",
"auth 3.6.17 (core)",
"data 3.4.3 (core)",
"deploy-retrieve 3.8.3 (core)",
"info 3.3.3 (core)",
"limits 3.3.9 (core)",
"marketplace 1.2.8 (core)",
"org 4.1.14 (core)",
"packaging 2.4.5 (core)",
"schema 3.3.9 (core)",
"settings 2.2.7 (core)",
"sobject 1.4.6 (core)",
"source 3.3.18 (core)",
"telemetry 3.3.11 (core)",
"templates 56.2.9 (core)",
"trust 3.7.3 (core)",
"user 3.5.11 (core)"
]
}

this is an issue with how the API works, see https://github.com/forcedotcom/cli/issues/1396#issuecomment-1033792989

Hi - thank you for the confirmation but I do not see where this is documented. As per the MDAPI documentation referenced in the linked article
"Metadata API intentionally makes it difficult to include standard fields in retrieve() calls to prevent unexpected profile changes. However, you can still retrieve and deploy profile permissions for custom and standard fields in standard objects, such as Account."
However it does not state that in order to retrieve standard lookup fields FLS the entire object definition must be retrieved. Including as a  type will result in the FLS not being retrieved onto the profile. Is this documented somewhere?

Hi @cristiand391 , I think the issue here is different. The one you point out: https://github.com/forcedotcom/cli/issues/1396#issuecomment-1033792989 is related to source-tracking and the usage of pull.
This issue is different. Here we are retrieving not pulling. We are using the following command:
sf project retrieve start --manifest package.xml
And inside package.xml we have the profile and the field. We are not using source tracking here, so ... how is this same issue? Thanks for the help here.

And inside package.xml we have the profile and the field. We are not using source tracking here, so ... how is this same issue? Thanks for the help here.

It's been a while since I played with profiles but from what I remember (and MDAPI docs/Shane's comment), your package.xml should have the object and field for it to work.
@LeeCunningham mentions it above:

If the entire customobject is retrieved then the lookup fields appear in the profile definition, but retrieving with only the fields specified results in the FLS for the field not being retrieved in the profile.

See also: https://github.com/forcedotcom/cli/discussions/1785

source: gharchive/issue

authors: LeeCunningham carlosabella cristiand391

repo: forcedotcom/cli

license_type: permissive

license_source: github-api


text:
forever list script naming is generic

I title all of my apps app.js and identify them by the name of the folder they're in.
Shouldn't forever list give you the script name and the directory they're inside?
myspecialapp/app.js

Fixed in #471.

authors: JacksonGariety indexzero

repo: foreverjs/forever

license: mit

license_source: bigquery


text:
Added the ability to clear sizing information from Contour so that the next render re-sizes the visualization(s)

Patch allows us to:
var contour = new Contour({ el:'.myChart' })
.pie([1,2,3])
.render()
var onResize = function(e) {
contour.resize().render();
}
window.addEventListener('resize', onResize);
This is useful so that developers can force Contour to re-measure everything when the element which Contour is rendering into changes size

I totally screwed up this branch when introducing the optimization changes -- I am going to resubmit with the changes seperate

source: gharchive/pull-request

repo: forio/contour


text:
Mask Input value cannot be set /pre-populated with value when using 'reverse' prop

Reproduction
https://formkit.link/a5319e300dfd3e519798e1d7a6a032f4
Describe the bug
Hello,
The value of a mask input cannot be set when using the 'reverse' prop.
Removing just the word 'reverse' fixes the issue.
Environment
• FormKit Version 1.2.x

A simpler example using :value: https://formkit.link/839d7d87982bac1d8849417adc409ccc

@joshua1dg @bdlowery I would suggest taking a look at the FormKit's new currency input instead of trying to achieve this with the mask.

repo: formkit/formkit

license: MIT


text:
$formkit is undefined

Reproduction
https://formkit.link/05eeb6dd42fb174919dbcd109260ac3b
Describe the bug
I can reproduce this bug in nuxt3. So don't take the formkit reproduction link to serious. (just Vue3)
The plugin is working perfectly but when trying to defining it with const { $formkit } = useNuxtApp(); and using it with e.g. $formkit.submit() I get the error $formkit is undefined. Also when logging the nuxt app I cannot find the $formkit property.
I seems like the nuxt plugin doesn't get provided.

Environment
• OS: MacOS
• Browser: Firefox Dev Edition
• Version 104.0b6

I believe useNuxtApp returns the nuxt app object, not the vue app. You probably need something like:
const { vueApp } = useNuxtApp()
vueApp.$formkit

Thanks for the reply.
I think it would be nice as it is a nuxt Plugin to get the this.$formkit prop. Also this isn't difficulty at all to implement (just return the {provide: $formkit} object)
Is this planned anytime soon?

Not currently no, but I think we'd be happy to look at a pull request for this!

I believe useNuxtApp returns the nuxt app object, not the vue app. You probably need something like:
const { vueApp } = useNuxtApp()
vueApp.$formkit

This unfortunately doesn't work for me. vueApp.$formkit returns undefined.
@formkit/nuxt: 0.17.0
nuxt: 3.4.3
Any ideas?

This isn't really the intended mechanism of use. If you want $formkit use the options API, otherwise use the composition functions formkit provides.

oh that's nice to know. I didn't see the documentation for composition api before. thanks!


text:
Support model values as object

As discussed here: https://github.com/formly-js/angular-formly-website/pull/85
If I use a model like this:
vm.model = {
  range: {low: 0, high: 10}
}

then the vm.options.resetModel() doesn't work. This is due to the object reference that is the same between the model and the saved version.
What do you think of using angular.copy during the initial value storage (only if the value is an object or an array) ?

anothe example with ui-select. If we add any value in multi-select field, resetModel() does not clear model value (can verify this on model value json displayed below). Clicking reset again will only make model value null.
http://jsbin.com/tesagi/2/edit?html,js,output

@ValentinH Hi, I just tested http://jsbin.com/zoyiletefa/1/edit?js,output and Reset works fine, can you still replicate it?
Regarding @sasikumardr I can confirm both malfunctions. I suspect his might be a bug related to resetModel() with Array's

Indeed, the example you mentionned works as expected but it required quite a lot of code to display a simple range slider.
The original example (where reset does not work) is the following: http://jsbin.com/vudameneko/1/edit?js,output .

authors: ValentinH benoror sasikumardr

repo: formly-js/angular-formly


text:
CIS Benchmarks

If we want to build out CIS benchmark policies using existing scanner and/or Config Validator
what is the process to do so?
Earlier in the in the year I added some CIS examples however they were put on hold pending legal review etc.

Closing this as I see how CIS benchmarks are being implemented in config validator examples.

repo: forseti-security/forseti-security


text:
mycroft playing of music using spotify requires specification of spotify?

Hi @forslund , wanted to report this issue "as is" in the current state (looking for guidance on debug/isolation - can provide quick turnaround)
So my last "working state" was roughly the situation described in https://github.com/forslund/spotify-skill/issues/135#issuecomment-615878220.
For about a week now, starting early last week, suddenly when I asked mycroft to play some music using spotify, it says it is not configured to do so.  A contradiction is that if I ask it to list the available devices, it still knows about the "some_other_device" in my spotify network.
 hey mycroft, list available spotify devices
 >> [AV] back den soundbar

Here is some clarity I've found. (summarizing)

If I just ask to play some music, it doesn't work;
If I specify to do it on or using spotify, it works;

(1)
hey Mycroft, play some classical music
 >> Just a second                                                                                >> It sounds like you are trying to listen to some music, but you have not yet set                                                                        up any music skills. Please go to market.mycroft.ai to install and configure a
    music service skill.

, logs:
2020-04-26 08:23:07.173 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: Excuse me, I wasn't able to find "classical".
2020-04-26 08:23:37.237 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: Just a second
2020-04-26 08:23:40.879 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: I'm not configured to play music yet.
2020-04-26 08:23:40.897 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: You can setup music services such as Pandora and Spotify at home dot mycroft dot ai.

OK darn, that didn't work? Confusing.  If we are more specific to use "spotify", then it does key off it properly
(2)
 play classical music on spotify
 >> Just a second
 >> Playing songs by <random classical artist>

2020-04-26 11:15:58.053 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: Give me a moment to check for that
2020-04-26 11:16:06.939 | INFO     |   546 | mycroft.audio.speech:mute_and_speak:127 | Speak: Listening to Some Classical Music by Various Artists.

2020-04-26 11:16:01.673 | INFO     |   543 | SpotifySkill | Handling "some classical music" as a genric query...
2020-04-26 11:16:01.673 | INFO     |   543 | SpotifySkill | Checking users playlists
Removing event mycroft-spotify.forslund:launch_librespot
2020-04-26 11:16:01.852 | INFO     |   543 | SpotifySkill | Checking artists
2020-04-26 11:16:02.030 | INFO     |   543 | SpotifySkill | Checking tracks
2020-04-26 11:16:02.319 | INFO     |   543 | SpotifySkill | Checking albums
2020-04-26 11:16:02.576 | INFO     |   543 | SpotifySkill | ('some classical music', 'some classical music', 1.0)
2020-04-26 11:16:02.577 | INFO     |   543 | SpotifySkill | Spotify confidence: 1.0
2020-04-26 11:16:06.197 | INFO     |   543 | Playback Control Skill | Playing with: mycroft-spotify.forslund
2020-04-26 11:16:06.717 | INFO     |   543 | Playback Control Skill | Audio service status: {}
2020-04-26 11:16:06.913 | INFO     |   543 | SpotifySkill | Device detected: DeviceType.FIRSTBEST
2020-04-26 11:16:06.914 | INFO     |   543 | SpotifySkill | playing album

Is it normal to have to specify "spotify" as the playback service/skill?
I cannot remember if I've always (previously) specified "on spotify" or if this behaviour changed on me ...

It shouldn't (TM) require on spotify but it will increase the score of the match if "on spotify" is used.
It is not normal to have to specify "on spotify", it should be able to match even without it (and does on my reference devices).
where is the "music service skill" output coming from? Could you have another Common playback skill that is returning a higher score than Spotify and using "on spotify".
There could also be a playback control skill issue at play here, I've seen it once or twice that it gives up waiting for the CPS skills to reply too soon in some cases (the "I've not been configured..." could indicate some such issue)

This is a default install mostly, I've not added any other "music" or "playback" skills other than this spotify skill itself.
Here's my best attempt at proof:
mycroftai@mycroftai ~/mycroft-core/bin $ ./mycroft-msm list -i
INFO - building SkillEntry objects for all skills
INFO - building SkillEntry objects for all skills
INFO - invalidating skills cache
fallback-wolfram-alpha	[installed]
mycroft-pairing	[installed]
mycroft-support-helper	[installed]
mycroft-spelling	[installed]
mycroft-stop	[installed]
mycroft-configuration	[installed]
mycroft-playback-control	[installed]
mycroft-wiki	[installed]
mycroft-stock	[installed]
fallback-unknown	[installed]
mycroft-version-checker	[installed]
mycroft-timer	[installed]
mycroft-hello-world	[installed]
mycroft-personal	[installed]
homeassistant	[installed]
mycroft-audio-record	[installed]
mycroft-singing	[installed]
mycroft-reminder	[installed]
mycroft-joke	[installed]
mycroft-spotify	[installed]
mycroft-speak	[installed]
mycroft-alarm	[installed]
mycroft-ip	[installed]
mycroft-npr-news	[installed]
mycroft-date-time	[installed]
mycroft-volume	[installed]
mycroft-naptime	[installed]
mycroft-installer	[installed]
mycroft-weather	[installed]
fallback-query	[installed]
mycroft-fallback-duck-duck-go	[installed]
dismissal-skill	[installed]

There is no such "music service skill". hm.
mycroftai@mycroftai ~/mycroft-core/bin $ ./mycroft-msm list -i | egrep "music|play|spotify"
INFO - building SkillEntry objects for all skills
INFO - building SkillEntry objects for all skills
INFO - invalidating skills cache
mycroft-playback-control	[installed]
mycroft-spotify	[installed]

I am using old Dell hardware (this is a PoC/playground for me before moving to a Pi).
The CPU is fairly pegged all the time.  It's ~25% idle (1.4-1.5x BUSY on a dual core system).

Thanks for verifying, I'll do some more experiments and see if I can trigger the behaviour.
A few comments and general ponderings over the report and my code:
The skills.log looks a bit weird for the second attempt... like it got the first request and played that:
2020-04-26 11:16:01.673 | INFO     |   543 | SpotifySkill | Handling "some classical music" as a genric query...
Since it's a generic query quite far down on the check list it could be a timeout thing the first time around... Going to see if I can handle that in a more async way.

Since switching over to picroft, I'd say this has improved; but on occasion I noticed a few instances where it didn't automatically attempt to use Spotify (same skill/installation as last time, there are no other playback skills installed) - I'll continue to use and monitor - next time it happens will try to snap some more logs.

To note is that the issue in the news skill overmatching was resolved by @krisgesling so that can be part of the improvement.

authors: fermulator forslund

repo: forslund/spotify-skill


text:
🛑 The Bridges is down

In df71436, The Bridges (https://thebridge-stg.qpm.co.at/) was down:

HTTP code: 403
Response time: 173 ms

Resolved: The Bridges is back up in 1d98e5b.

repo: forsports/upptime


text:
FN: should have triggered on funding of malicious account

Tx mainnet: 0x3310f2f45bb6d2d1e96a1d737d50e287f5976367a693f1b5cc172e470c874a0e

@christian-forta
for malicious account funding, this tx’s label api results are these
https://api.forta.network/labels/state?entities=0x00001f78189be22c3498cff1b8e02272c32[…]0&sourceIds=etherscan&labels=xploit,hish,heist&limit=1
https://api.forta.network/labels/state?entities=0x00001f78189be22c3498cff1b8e02272c32[…]rceIds=etherscan-tags&labels=xploit,hish,heist&limit=1
it doesn’t create an alert because label api returns empty for the drainer address. how do you want to proceed?

https://app.forta.network/bot/0x2df302b07030b5ff8a17c91f36b08f9e2b1e54853094e2513f7cda734cf68a46

Change the label check to use get_labels from scam detector
Move away from Forta label/state? URL to use Etherscan's label API

this is fixed and deployed

repo: forta-network/starter-kits


text:
Documentation for the APIs

Since I and @henilp105 have already started working on implementing the APIs in the backend. @minhqdao suggested that we should document the APIs very well so that it will be easier to develop asynchronously without having the need to ping me and @henilp105 in the backend.
I am thinking we can maintain a markdown file inside the project in which we can list endpoints and describe how it receives the request and send json response and other things related to the API.
But, if anyone has any easier / better approach that will work please feel free to suggest in the comments.
@henilp105 @minhqdao @perazz @fortran-lang/fpm

FastAPI has built-in support for automatic API docs generation using Swagger UI. There's a Swagger UI blueprint for Flask: https://github.com/sveint/flask-swagger-ui. Using this requires first generating the openapi.json schema file from the Flask server. There seem to be quite a few solutions out there, but an obvious choice is less clear. Perhaps this: https://github.com/marshmallow-code/apispec.
I can't recommend this enough for API development and documentation. I use it to make all my test requests during prototyping. Example: https://petstore.swagger.io/#/

Thank you @milancurcic for your suggestions.
We have written the API documentation here using swagger.

authors: arteevraina milancurcic

repo: fortran-lang/registry


text:
Clone unexpectedly doesn't clone contents

Being the main struct internally an Arc<Inner>, when the user clones it's simply getting a new smart pointer to the same underlying data, that would be unexpected if paragoned to std HashMap.
Plus, in some examples, ShardMap is wrapped in an Arc, making it a double level of indirection without gainin nothing.
I think in Rust philosophy Arc should be user's duty and not hardcoded inside the struct.

I've gone back and forth a few times about this - I totally agree that leaving Arc-ing something up to the API consumer, but I also want to allow holding strong references into a specific shard for a 'static lifetime at some point, which would require an Arc'd map.
Right now, I'm thinking of implementing some methods specifically for self: Arc<Self> so that I can allow holding strong references if the type is wrapped in an Arc but still leave that up to the user. Thoughts?

repo: fortress-build/whirlwind


text:
Update notification section

Describe the feature you'd like

[ ] Filter on basis of seen status
[ ] Store notification in the database and revalidate from API
[ ] Notify for new notifications

Would you like to work on the issue?

yes

Sorry, wrong repo.

repo: fossasia/badge-magic-android


text:
Add dropdown filter to show rooms, languages, session types. Ensure it works in mobile view.

The previous eventyay version had different kinds of filters. Implement filters for the following as well on
a) the Schedule page and
b) the Sessions page.
Ensure this also works on mobile views. Compare to https://eventyay.com/e/55d2a466/schedule

Rename current "Filter" to "Tracks" and make it into a dropdown list.

Add more dropdown filters as follows:

Rooms
Languages
Session types

Also add an option to clear the filters

Ensure it works on mobile similarly to the previous version.

The dropdown menu works, but there is an issue with the types filter @lcduong

repo: fossasia/eventyay-talk


text:
Branch Cleanup

Clear Unuseful Branches :

GSOC16/ui

Gentella

3 . gsoc16/milestone2

Done :)

@championswimmer  , Should I clear branches like GSOC16 , GSOC15 , gh-pages , Fossasia

Cleared the branches , @mariobehling  @championswimmer  Closing this .

repo: fossasia/open-event-webapp


text:
foundry crashing when debugging

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

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (ec3f9bd 2023-09-19T13:46:42.143604000Z)
What command(s) is the bug in?
forge test --debug
Operating System
macOS (Apple Silicon)
Describe the bug
This command:
thedavidmeister@davids-iMac rain.interpreter % forge test --debug testOpCallNPRunOrdering
[⠢] Compiling...
No files changed, compilation skipped
The application panicked (crashed).
Message:  We should have collected debug information
Location: crates/debugger/src/debugger.rs:28

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
zsh: abort      forge test --debug testOpCallNPRunOrdering

on this commit/test:
https://github.com/rainprotocol/rain.interpreter/pull/58/commits/b4e7baed64e04f99dcacbd7dabfa54aba78b33eb#diff-bea0843aa18e85c9b745792c10293799f94956cb299f847b0ba81e7276eed1ccR12

Same issue

Facing same issue. Reproduces on Ubuntu Linux 20.

sorry for the wait.
I debugged this and fixed a bug that was the root cause of the reported crash.

authors: 0xbbbaron ShuaJJ mattsse thedavidmeister

repo: foundry-rs/foundry


text:
Failed verification of external libs deployed using create2

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

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (af97b2c 2024-07-18T00:22:15.301937000Z)
What command(s) is the bug in?
ETHERSCAN_API_KEY={} forge script script/Counter.s.sol:CounterScript --rpc-url={} --private-key={} --broadcast --verify
Operating System
macOS (Apple Silicon)
Describe the bug
https://github.com/skhomuti/foundry-create2-verify repo with slightly modified Counter.sol to reproduce the issue, and also broadcast log on holesky
Foundry cannot verify external library Incrementor on Holesky Etherscan
The error is the following:
Details: `Fail - Unable to verify. Compiled contract deployment bytecode does NOT match the transaction deployment bytecode.`
Error during verification: Checking verification result failed: Contract failed to verify.

Seems to be caused by #7711. On prev foundry versions (e.g. 844caa8 ref) such contracts are verified successfully

Likely similar to https://github.com/foundry-rs/foundry/issues/6023, can reproduce on Holesky, can't on Sepolia. Seems like etherescan has some issues with verifying contracts created through opcodes on holesky

@klkvr thanks for linking this, manual submitting works well for me

authors: klkvr skhomuti


text:
chore: revm bump

wip revm breaking changes...

superseded by #6281


text:
Bug: Can't re-order spellcasting entries on player sheets

The grab handles on the left of spellcasting entry titles seem to function right up until the drop does apparently nothing.

Possibly fixed with the ritual spellcasting refactor

authors: esheyw stwlam


text:
Ignore emotes by name

^ Title
It was a Chatterino 1 feature. the list for the emotes could be added next to the Phrases and Users tabs in options.

@notheowner Right now you can ignore emotes through the "Ignored phrases" feature. Is this sufficient for your needs?

Yes, this issue was opened long time ago, way before hemirt's PR was competed. Closing issue. 👍

authors: notheowner pajlada


text:
register/deregister device from CLI

Currently to submit data through the CLI for a device, you must first register the device in the UI. It would be convenient to do this with the CLI directly.

registration is implemented; deregistration is covered by https://github.com/foxglove/foxglove-cli/issues/46

repo: foxglove/foxglove-cli


text:
Build system misconfiguration for refdesign with Coyote + RDMA + U250

Reprodution
source <VITIS_INSTALL>/settings64.sh
cd "test/refdesigns"
make MODE=coyote_rdma PLATFORM=xilinx_u250_gen3x16_xdma_4_1_202210_1

Error message
"Number of DDR channels misconfigured"
Details
N_DDR_CHAN is not correctly set for U250 + RDMA in  'test/refdesigns/Coyote/hw/config.cmake'

Sorry, this was for a different repo

repo: fpgasystems/Coyote


text:
Update/complex commanding

Originating Project/Creator

Affected Component

Affected Architectures(s)

Related Issue(s)

Has Unit Tests (y/n)

Builds Without Errors (y/n)

Unit Tests Pass (y/n)

Documentation Included (y/n)

Change Description
This allows commanding with complex argument types (struct, arrays, and arbitrary combinations of the two). By extension this means that parameters with complex types are also supported.
Additionally, some minor clean-up was done:

Added help to settings page
Refactored commanding into an "add-on" per modern F´ style
Refactored commanding implementations
Separation of concerns

Rationale
F´ nominally supports these thing, however; the GDS arbitrarily limits their usage. Therefore, the GDS should be updated to support this.
Testing/Review Recommendations
Run with associated PR in F´ that adds in a typeDemo.  Will comment back with PR number.
Future Work
None.

@thomas-bc and @timcanham this is the big PR that formally allows complex types in our commanding and parameters.  Let me know how I might aid in your reviews and development.

For testing, use nasa/fprime#1937

Note: this does not fix/update seq-gen.  That work is outstanding.

Also fixes: nasa/fprime#602

repo: fprime-community/fprime-gds


text:
Bump F´ to v3.4.0

Bumping submodule to v3.4.0

I'm getting the following build error when attempting to generate unit tests for fprime-workshop-led-blinker after checking out https://github.com/fprime-community/fprime-workshop-led-blinker/commit/03b3bcaf95912538c73342a8247e7ae6ccdb8654 and  fprime submodule to v3.4.0
CMake Error at fprime/cmake/FPrime.cmake:163 (add_subdirectory):
  The source directory

    /home/kasm-default-profile/fprime-workshop-led-blinker/fprime/googletest

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  fprime/cmake/FPrime-Code.cmake:15 (fprime_setup_included_code)
  CMakeLists.txt:9 (include)

Never mind. Apparently, I just needed to initialize submodules inside the fprime submodule :upside_down_face: https://github.com/capsulecorplab/fprime-workspace-image/actions/runs/7029621695/job/19127574762

authors: capsulecorplab thomas-bc


text:
Fix issues with DPI Scaling

I have currently upgraded to a 4k monitor and with 125% screen scaling many of the elements get misaligned or the font is too big making the GUI somewhat unusable.

I found a fix for the scaling issue, this is a fix but the application will look small on screens at a distance! (This makes the application ignore DPI)

repo: fqlx/XboxKeyboardMouse


text:
Cant Use screen Interpolator

I dont want to use default transition b/w screens but something like this( default in React Navigation):
    transitionConfig: () => ({
      transitionSpec: {
        duration: 300,
        easing: Easing.out(Easing.poly(4)),
        timing: Animated.timing,
      },
      screenInterpolator: sceneProps => {
        const { layout, position, scene } = sceneProps;
        const { index } = scene;

        const height = layout.initHeight;
        const translateY = position.interpolate({
          inputRange: [index - 1, index, index + 1],
          outputRange: [height, 0, 0],
        });

        const opacity = position.interpolate({
          inputRange: [index - 1, index - 0.99, index],
          outputRange: [0, 1, 1],
        });

        return { opacity, transform: [{ translateY }] };
      },
    }),

But API didnt mention how we can use screenInterpolator.

Hi @Kida007, thanks for submitting an issue.
FluidNavigator does not support custom transitions like this - it will interpolate and transform individual elements on screen, not screens themselves. The default transition between two screens will be a fade. Will mark this as a feature request, but it will unfortunately not be prioritized by me - if you want to have a go, please feel free - I love PR's ;-)

@chrfalch Quick question, every time I transition between screens it fades to white then to the next screen. Since my background is not white, this ruins the way the app looks (I want it to seem like the elements on the screen are moving while the background is static). Is this not possible? I am running the app on Android.

You should be able to style the background like this (from the ShoeShop-example):
const Navigator = FluidNavigator({
  screen1: { screen: Screen1 },
  screen2: { screen: Screen2 },
}, {
  style: { backgroundColor: '#C14534' },
});

This is helpful, but does this mean that if we have a gradient or image background we are out of luck?

It is difficult with the current implementation to remove the global opacity transition, but if you have two images or gradients of the same type on two screens they should blend just fine - we're doing that all the time ;-)

Hi, @chrfalch
any update on this???
actually, my company needs this feature and I it would be a pleasure if I can contribute something to this repository.
my problem is that our app has so many stack navigators which all of them are placed inside a single bottomBarNavigator, and transitionConfig is the same for all of them(translating from right)
but one of our screens requires a shared element transition and after examining the relative libraries, I've chosen this one because of its' awesome API & ease of use.
Let me explain the problem caused me stating this matter.
Consider the following structure:
FluidNavigator
├── AppSwitchNavigator
│   ├── AuthStackNavigator
│   │   ├──  ....
│   ├── BottomBarNavigator
│   │   ├── Homepage
│   │   ├── Profile
└── SharedElementScreen

Now when I navigate from Homepage to SharedElementScreen and vice-versa, everything is great,
But when I try to navigate to "Profile" from "SharedElementScreen", the shared image starts to move to its last location in Homepage Screen and then the "Profile" Screen becomes visible. but the desired behaviour is the default "translating from right" transition.
So I wonder whether we can turn shared element transition off for some navigations (Those don't have any shared element in destination or origin screen) and also develop a way to use custom screen interpolators when there are no needs for shared element transitions (I tried the SET with "translating from right" transition and everything was a mess 😂😂😂)

authors: Eddie-CooRo FlamingUber Kida007 chrfalch

repo: fram-x/FluidTransitions


text:
ajax submit bugs for content-type and form validation

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.4

What you did
ajax form submit send request only with multipart/fom-data and if form validation return false it triger beforesend event
Expected Behavior
ajax form submit
should be able to send request with application/x-www-form-urlencoded as default and if form validation was false it dont send any request. for slove these bugs i change forms-ajax.js with this code:
    $(document).on('submit change', 'form.ajax-submit, form.ajax-submit-onchange', function(e) {
    var form = $(this);
    //if form validation was false, dont triger beforesend and other events
    if (e.defaultPrevented) return;
    if (e.type === 'change' && !form.hasClass('ajax-submit-onchange')) return;
    if (e.type === 'submit') e.preventDefault();

    var method = (form.attr('method') || 'GET').toUpperCase();
    var contentType = form.prop('enctype') || form.attr('enctype');

    var url = form.attr('action');
    if (!url) return;

    var data;
    if (method === 'POST') {
        switch (contentType) {
            default:
                case ("application/x-www-form-urlencoded"):
                data = app.formToJSON(form[0]);
            break;
            case ("multipart/form-data"):
                    data = new FormData(form[0]);
             break;
             case ("text/plain"):
                data = $.serializeObject(app.formToJSON(form[0]));
             break;
        }
    } else {
        data = $.serializeObject(app.formToJSON(form[0]));
    }

    var xhr = $.ajax({
        method: method,
        url: url,
        contentType: contentType,
        data: data,
        beforeSend: function(xhr) {
            form.trigger('beforeSubmit form:beforesend', {
                data: data,
                xhr: xhr
            });
        },
        error: function(xhr) {
            form.trigger('submitError form:error', {
                data: data,
                xhr: xhr
            });
        },
        success: function(data) {
            form.trigger('submitted form:success', {
                data: data,
                xhr: xhr
            });
        }
    });
});`

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


text:
Feature Request: Allow to hide launcher icon

The icon clutters up the launcher and it would be much better hidden, even if you'd use a setting. I'd honestly say that it would be better if the icon wasn't there by default, but I understand if you wouldn't want to do that

Maybe yes, we'll see :) not a huge deal though.

authors: AdrianVovk franciscofranco

repo: franciscofranco/Demo-Mode-tile


text:
Support for scoped packages?

With version 2.8.1 I am getting crash for scoped packages.

Error: Cannot find module 'D:\workspace\app/node_modules/@kadira/package.json'

It should recognize scoped package folder (prefixed with @) and check for modules in there instead of looking for a package.json.

PR submitted. 👍

You can check it now with legally >= 2.9 (just reinstall it and it should be good to go) thanks to @eladnava :+1:

My pleasure! 👍

Scoped packages which are dependent on other scoped packages still seem to result in an error?
Error: Cannot find module '/Users/ebr04/Documents/skybet/bet-webapp/node_modules/@skybetintl/ui-promotions/node_modules/@skybetintl/package.json'

authors: FredyC eladnava electrified franciscop

repo: franciscop/legally


text:
🛑 PEDCO is down

In a7e40cf, PEDCO (https://pedco.uncoma.edu.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PEDCO is back up in c0d0b38 after 11 minutes.


text:
Render complete sentences

The site can render and animate single outlines... how about sentences? Or even passages. A component that takes a string and spits out a fully animated and annotated line of shorthand would be pretty neat, and a natural next step

Implemented with https://github.com/frederickobrien/teeline-online/pull/183

repo: frederickobrien/teeline-online


text:
[Bugs] AMF crashed when receving invalid NGAP messages

Describe the bug
When testing the free5gc AMF, it always crashes when receiving invalid NGAP messages.
To Reproduce
Steps to reproduce the behavior:

Use https://github.com/free5gc/free5gc-compose as the test target
Start it with command docker compose up
Find the amf address with command docker inspect free5gc-compose_privnet
Run this POC python script: python3 free5gc.py amf-address

import sys, sctp, socket

if len(sys.argv) != 2:
  print("Usage: free5gc.py server-address")
  exit(0)

sk = sctp.sctpsocket_tcp(socket.AF_INET)
sk.connect((sys.argv[1], 38412))

sk.sctp_send(b"Hello!", ppid=socket.htonl(60))

sk.close()

Expected behavior
I think the expected behavior is rejecting the connection request. The current behavior is that the AMF crashes and unable to restart. This could cause DOS attack to the AMF funtionality.
When receiving NGAP message, it should validate the message content and reject malformed messages.
Screenshots

Environment (please complete the following information):

free5GC Version: v3.3.0
OS: Ubuntu 20.04 Server
Kernel version: 5.4.0-165-generic

Trace File
Configuration File
Use the default config file of free5gc-compose
PCAP File
ngap.zip
Log File
n3iwf     |     free5GC version: v3.3.0
n3iwf     |     build time:      2023-06-08T16:41:03Z
n3iwf     |     commit hash:     22988ee2
n3iwf     |     commit time:     2023-06-07T05:56:10Z
n3iwf     |     go version:      go1.17.13 linux/amd64
n3iwf     | 2023-10-25T07:44:00.771477845Z [INFO][N3IWF][CFG] Read config from [./config/n3iwfcfg.yaml]
n3iwf     | 2023-10-25T07:44:00.774585151Z [INFO][N3IWF][Main] Log enable is set to [true]
n3iwf     | 2023-10-25T07:44:00.775936035Z [INFO][N3IWF][Main] Log level is set to [info]
n3iwf     | 2023-10-25T07:44:00.775944386Z [INFO][N3IWF][Main] Report Caller is set to [false]
n3iwf     | 2023-10-25T07:44:00.775946917Z [INFO][N3IWF][Init] Server started
n3iwf     | 2023-10-25T07:44:00.783345437Z [WARN][N3IWF][CTX] Parse PKCS8 private key failed: x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format)
n3iwf     | 2023-10-25T07:44:00.787204900Z [INFO][N3IWF][CTX] Parse using PKCS1...
n3iwf     | 2023-10-25T07:44:00.802363531Z [WARN][N3IWF][Init] netlink.RouteAdd: file exists
n3iwf     | 2023-10-25T07:44:00.802403761Z [INFO][N3IWF][Init] Setup XFRM interface xfrmi-default
amf       | 2023-10-25T07:44:00.806365569Z [INFO][AMF][Ngap] [AMF] SCTP Accept from: 10.100.200.13/10.0.0.1:39401
n3iwf     | 2023-10-25T07:44:00.823230904Z [INFO][N3IWF][NGAP] [N3IWF] Send NG Setup Request
n3iwf     | 2023-10-25T07:44:00.838772233Z [INFO][N3IWF][Init] NGAP service running.
amf       | 2023-10-25T07:44:00.833948377Z [INFO][AMF][Ngap] Create a new NG connection for: 10.100.200.13/10.0.0.1:39401
amf       | 2023-10-25T07:44:00.851111321Z [INFO][AMF][Ngap][ran_addr:10.100.200.13/10.0.0.1:39401] Handle NGSetupRequest
amf       | 2023-10-25T07:44:00.851129648Z [WARN][AMF][Ngap][ran_addr:10.100.200.13/10.0.0.1:39401] Missing IE PagingDRX
amf       | 2023-10-25T07:44:00.851147752Z [INFO][AMF][Ngap][ran_addr:10.100.200.13/10.0.0.1:39401] Send NG-Setup response
n3iwf     | 2023-10-25T07:44:00.854214403Z [INFO][N3IWF][Init] NAS TCP server successfully started.
n3iwf     | 2023-10-25T07:44:00.868424664Z [INFO][N3IWF][Init] Listening NWu user plane traffic
n3iwf     | 2023-10-25T07:44:00.880093826Z [INFO][N3IWF][NGAP] [N3IWF] Handle NG Setup Response
n3iwf     | 2023-10-25T07:44:00.895830913Z [INFO][N3IWF][Init] IKE service running.
n3iwf     | 2023-10-25T07:44:00.896054523Z [INFO][N3IWF][Init] N3IWF running...
webui     | 2023-10-25T07:44:20.644588072Z [ERRO][WEBUI][CTX] RestfulAPIGetMany err: server selection error: context deadline exceeded, current topology: { Type: Unknown, Servers: [{ Addr: db:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp: lookup db on 127.0.0.11:53: server misbehaving }, ] }
amf       | 2023-10-25T07:44:24.920922234Z [INFO][AMF][Ngap] [AMF] SCTP Accept from: <nil>
amf       | 2023-10-25T07:44:24.921416064Z [FATA][AMF][Ngap] panic: runtime error: invalid memory address or nil pointer dereference
amf       | goroutine 65 [running]:
amf       | runtime/debug.Stack()
amf       |     /usr/local/go/src/runtime/debug/stack.go:24 +0x65
amf       | github.com/free5gc/amf/internal/ngap/service.handleConnection.func1()
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:184 +0x58
amf       | panic({0xbb3280, 0x13088a0})
amf       |     /usr/local/go/src/runtime/panic.go:1038 +0x215
amf       | github.com/free5gc/amf/internal/ngap.Dispatch({0xdf2988, 0xc000472000}, {0xc0008c0000, 0x40000, 0x40000})
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/dispatcher.go:19 +0xac
amf       | github.com/free5gc/amf/internal/ngap/service.handleConnection(0xc000472000, 0x40000, {0xd03d48, 0xd03d58, 0xd03d50})
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:237 +0x417
amf       | created by github.com/free5gc/amf/internal/ngap/service.listenAndServe
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:158 +0x9fe

System architecture (Option)
N/A
Walkthrough (Option)
free5GC will be interested on the research or finding in brief.
Additional context
It will be appreciated if other context can be added here.

Hi @Jiangwlee,
Thank you for reporting the problem.
According to the implementation of the latest AMF (commit: aebc9fc), it does have error handling for invalid NGAP messages.
I used the test script you provided with slight modifications to get the result, you can check the screenshot:

Here is the modified script:
import sys, sctp, socket

if len(sys.argv) != 2:
  print("Usage: free5gc.py server-address")
  exit(0)

sk = sctp.sctpsocket_tcp(socket.AF_INET)
sk.connect((sys.argv[1], 38412))

sk.sctp_send(b"Hello!", ppid=socket.htonl(60))

input("Press ENTER to leave")

sk.close()

As for the crash result is because you closed the SCTP connection too quickly.

authors: Jiangwlee YouShengLiu


text:
Add new Css questions

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Changes Applied


text:
Can You fix the typos in the landing page ? About the 40,000 freeCodeCamp.org graduates !

Describe your problem and how to reproduce it:
the number of the graduates , it seems must be updated ...
Just want to try contributing on open source lol
Add a Link to the page with the problem:
https://www.freecodecamp.org/
Recommended fix, suggestions (how would you update it?):
50,000 freeCodeCamp.org graduates
actually you have the exact number
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Not sure where you are getting that no from? Can you send us an email on team@freecodecamp.org instead for a clarification before we check and get this updated.

authors: medaminefh raisedadead

repo: freeCodeCamp/freeCodeCamp


text:
False positive on Cafe Menu Steps 88 and 90

Describe the Issue
False positive on Cafe Menu steps 88 and 90
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-88
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-90
(and possibly others?)
This code passes, i.e. without the >
<img src="https://cdn.freecodecamp.org/curriculum/css-cafe/coffee.jpg" alt="coffee icon"

<img alt="pie icon" src="https://cdn.freecodecamp.org/curriculum/css-cafe/pie.jpg"

Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-90
Your code
<img alt="pie icon" src="https://cdn.freecodecamp.org/curriculum/css-cafe/pie.jpg"

Expected behavior
Tests should fail
Screenshots
No response
System

Device: Laptop
OS: Windows 10
Browser: Brave
Version: 1.59.124 (Chromium 118.0.5993.117)

Additional context
No response

This is most likely passing because the browser is automatically fixing the HTML behind the scenes (i.e. the browser is adding the closing angle bracket). Seems like we might have to add a regex check to the tests if we want to enforce this.

Considering it's the second practice project, it's early enough that probably we still want to enforce good practices and good syntax (I would say up to the first final project is a good rule of thumb)

bro ,it's working ...

@hardyal-singh nothing has been changed so the issue is still present

I think that testing every occurrence of malformed HTML that browsers can "fix" is going to be a very large task.
In my opinion, we should stick to testing the specific syntax when the challenge asks for it, rather than testing every time the camper creates an element.

Going to go ahead and close this. We've already got an overabundance of regex tests in the new curriculum.

authors: avelican bbsmooth hardyal-singh ieahleen naomi-lgbt


text:
Fix tests for step 6 of todo project

Describe the Issue
It looks like an update was made a few weeks ago to the tests for this step.
But it doesn't look like the tests account for valid answers like this
openTaskFormBtn.addEventListener('click', () => {
  taskForm.classList.toggle('hidden')
});

camper was struggling with this on the forum here
https://forum.freecodecamp.org/t/learn-localstorage-by-building-a-todo-app-step-6/688284
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-localstorage-by-building-a-todo-app/step-6
Your code
see explanation above
Expected behavior
see explanation above
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Working on this

can i work on this ?

@chaudharydivya199 don't require permissions from the code owners to work on issues marked with help-wanted.
They are open for all (just there shouldn't be any PR raised to resolve that).

@Deep512
Thank you for your interest in working on this.
But it is best not to @ members of the PR team when you create a PR.
The team will get to all PR's when they have time.
Thanks 👍

@chaudharydivya199
You can read more about the contributing process for freeCodeCamp in the docs here
https://contribute.freecodecamp.org/#/index


text:
Fixing translation issues on index.md

Fixing some translations issues (It's Brazilian Portuguese that has been used here).

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congratulations on your first merged pull request on freeCodeCamp. 🎉🎉🎉🎉

authors: fi-carvalho thefrontendwizard


text:
Added complex number graphing

[ x] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


text:
Clean up and fix markdown/spelling errors

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉

authors: RandellDawson Thaurin


text:
[Search] Fix styling - autocomplete out of screen

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closes #29806. #18150
Note

Fix search autocomplete width & position
Fix search result item padding

Result:

This maynot be the only place that this needs to be changed. The codebase has divulged from what you see on the production site. @Bouncey can you check and guide.

Well the search bar is still BBB :)

is this issue still open?

Hello guys , i have noticed that in screens that are smaller than 600px the problem persists

I have a solution if you are interested

This is happening to me too.

Using my magic power of Chrome Dev Tools, I found out that this was happening regardless of the viewport width.

@raisedadead The original issue #18150 for which this PR was created seems to no longer be and issue.  I tested the latest version of the master branch locally and tested the search feature out on the beta site and no longer see this issue.  I can confirm too that this used to be a problem and still is on the current production site.
I think we can close this PR, but I will let you make the call on it.

I will defer to @Bouncey on this for this expertise on this component.

Currently the css is the only thing we adjust with regards to search in this repository. If the issue no longer exists on the master branch, then this PR is no longer required.
Sorry @sureemo, it seems like another PR has been merged fixing the issue. At the time you submitted this PR we had over 5000 open pull requests, so things like this are almost guaranteed to happen. Please don't let it discourage you from contributing to freeCodeCamp in the furture.
Happy Coding!


text:
Added 'BBC America' to line 25

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

authors: NeeharikaESai RandellDawson


text:
update the list with confirmshaming

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


text:
add file react-hooks

explain about react-hooks

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

oke

can you tell me how to make a folder and then make a file inside it on github

@ezioda004

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


text:
linked list in java

linked list in java
Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


text:
feat(curriculum): add i18n-curriculum submodule

This adds the i18n-curriculum submodule to the repo and some conditions to build using it. It's an intermediary step to move the all the i18n curriculum files out of the main repo. It shouldn't affect any of the existing build process.
When you checkout the PR, the i18n-curriculum folder will show up in the curriculum folder of your file tree - it will be empty. You can build in any language and it will use the existing curriculum files. There's a new BUILD_WITH_SUBMODULE env variable, set it to true to build using the i18n-curriculum submodule folder. Now, if you are building English, it will continue to use the existing curriculum files - but if you change it to any other language, it will use the files in the i18n-curriculum folder. It's still empty so building now will fail. Run git submodule update --init to download all the curriculum files. Now the i18n builds will work.
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Blocked while I come up with a list of the next steps to finish the process of moving to use the submodule entirely.

Hey Tom, this looks great. It's much cleaner than I'd feared!
One thing confused me, though. When I'm using the submodule, should that be the source of truth for everything, including the english? Or is it supposed to be the case that, even though there's english in the i18n-curriculum/curriculum (challenges and dictionaries), it should be using the english from the original curriculum folder?
As the PR stands, it's using a mixture. Challenges use original for english, but the i18n folder for other langs, but dictionaries use the i18n folder for both.

English exists in the i18n-curriculum folder cause when we download from crowdin, it needs to know the sources or it doesn't know where to put the downloads or something - which are English and don't exist in the i18n-curriculum repo as they do in the main repo. So we need to download the English sources when downloading. I suppose we could remove them from that repo and the PR's after we download the rest of the i18n's and not commit the English.
So those english files don't align with what's on the main repo - they're aligned with the last crowdin upload. So...

should that be the source of truth for everything

No, we are still using the main repo for everything English. Everything else, should use the submodule.

As the PR stands, it's using a mixture. Challenges use original for english, but the i18n folder for other langs, but dictionaries use the i18n folder for both.

I'm not sure that's the case...
 const englishDictionaryDir =
    process.env.BUILD_WITH_SUBMODULE === 'true'
      ? path.resolve(DICTIONARIES_DIR)
      : path.resolve(dictionariesDir);

DICTIONARIES_DIR is the main English, and if !submodule, dictionariesDir is also the main English. It's a little goofy because of some of the existing code and tests. I could potentially use a pair up to get another opinion on that.
When using the submodule, it uses the

I suppose we could remove them from that repo and the PR's after we download the rest of the i18n's and not commit the English.

Unfortunately, no, because we loop over it. There might be another place to put the list of languages, though.

It's a little goofy because of some of the existing code and tests

Sorry, you're right. If it's alright with you, I'll just push a refactor, since the existing code is bad and shouldn't constrain us.

Unfortunately, no, because we loop over it.

I'm not sure I understand - can you clarify a little? I don't think we do anything with that English folder, but I might be wrong.

I'm not sure I understand - can you clarify a little? I don't think we do anything with that English folder, but I might be wrong.

It's this line:
https://github.com/freeCodeCamp/freeCodeCamp/blob/9b71e7a94095ac81482707c6f8f702be51d9e117/curriculum/get-challenges.js#L47
but, you're right, it doesn't actually matter.
I've made that more explicit, by actively filtering out the english, so it's clear that these are the other languages.
Anyways, I think this last commit simplifies things a little, but it's not a huge difference. Feel free to revert it if you don't like the changes.

Well, I've made it testable, but it's not nice... and now the tests are failing. That is to say: I struggled too and I think it's probably worse now :/ I'll have one more go, but I'm not confident I'm getting anywhere.
All the problems seem to stem from always using the english from the curriculum folder and never from i18n-curriculum/curriculum. I get that this would be a big change, but I think it's where we're going, right? i.e. the workflow looks something like this:

A contributor changes the english curriculum
Upload the changes to Crowdin AND create a PR syncing those changes with i18n-curriculum's english
Download the changes, creating a second PR
Merge both PRs (thereby ensuring english and the rest are in sync)
Build entirely from i18n-curriculum

The details of how we keep them in sync are a bit unclear, but that's the gist.

No, that is not the workflow I was going for. I was trying to do what the code was doing - use the i18n-curriculum for the i18n curriculum and still use the main repo for English.
The English folder in the i18n-curriculum repo would be in sync with the rest of the languages. I thought we could potentially use those to build so we don't ever have to worry about things being in sync.
The workflow would be:

A contributor changes the english curriculum
Upload the English to crowdin
Run the download on i18n-curriculum - which automatically creates and merges a PR on that repo, and automatically creates a PR on the main repo to update the submodule.
Continue using main repo for English builds, use i18n-curriculum for other languages.

The workflow would be:

A contributor changes the english curriculum
Upload the English to crowdin
Run the download on i18n-curriculum - which automatically creates and merges a PR on that repo, and automatically creates a PR on the main repo to update the submodule.
Continue using main repo for English builds, use i18n-curriculum for other languages.

I agree except for 4. We can make our lives simpler if we use the i18n-curriculum for all languages. Reason being, we can always update it such that the english and translations are both based off the same main repo commit, i.e. delegate all syncing responsibilities to it. If its main branch is always synced (i.e. no updating the english without also updating everything else), then it should (almost) always be ready to build.

Want to take a look at those and see if they make sense @ojeytonwilliams - or if you think there's a better way or I'm missing anything or anything.

They sound good to me.

I agree except for 4. We can make our lives simpler if we use the i18n-curriculum for all languages...

I like that idea, but I'm not sure I fully understand how it would work. Wouldn't it be behind main then? What would the workflow look like? Maybe we can discuss tomorrow.

Oh I get it.
If we upload the English files from the freecodecamp repo, but build from the English files in the i18n repo (which we download from Crowdin), then we eliminate the whole issue where files get out of sync and the tests fail until we do a download.
Because the English build files are pulled directly from Crowdin, they'd have parity with all of the translated files.

build from the English files in the i18n repo

I have floated this idea before. I think we partially didn't want to do it because we wanted the client to have the latest content. Also, I think there was an argument about relying on what comes from crowdin.

Yeah, credit where it's due: this is your idea, Tom!
So, I think the delay is fine. People can still work on the latest content, it's just that the builds that will lag and not by much.
As for relying on Crowdin, that needs some thought. I don't think we'll necessarily need to increase our reliance, but we'll still need some way of patching the problematic challenges.
I like the general idea, though.

So, I think the delay is fine. People can still work on the latest content,

I believe that approach might lead to confusion. The main purpose of maintaining the curriculum in the main repository is to avoid any ambiguity. Having multiple copies could result in uncertainty about what is live and what is not when merging or pushing to production branches. While we might understand the distinctions, external contributors may not. This could make it even more challenging for them to contribute effectively, as evidenced by our current contribution volumes.
I am open to the idea of using a separate repository for the entire curriculum. However, I am not in favor of maintaining inconsistent copies of the same language.

Alright. This should be good to go. I removed the English files from the i18n-curriculum repo. Now there's only the main English files.

Look for link to a document with the battle plan in chat

As per the plan additional coding activity is required right after merging this PR to keep main branch stable for deployments. Blocking the merge until a cleaner path.

authors: moT01 naomi-lgbt ojeytonwilliams raisedadead


text:
fix build release problem

Fixes a problem where build.sc was not in agreement with build.sbt
Broke release scripts
Build release issue
Release Notes

This wasn't @jackkoenig's fault. There is insufficient documentation on release process/script assumptions.

authors: chick ucbjrl


text:
Merge master to 1.4.x for 1.4.0

I don't think there's anything else needed from RC3, the only changes in this PR are:

CI improvements
Fixing the license in the maven publishing
Speedup in CustomFileEmission

Only the last one affects functionality and it's a small, low risk change.

Also this should only be merged with a Merge Commit

1.4.x doesn't seem to be protected yet, FYI :)

authors: albert-magyar jackkoenig

repo: freechipsproject/firrtl


text:
Add work in progress of new emitter from google

This is the work we have so far on rewritting the emitter. It is currently just a set of functions that can turn a compound firrtl expression into a string. Since this is only currently used to emit boolean expressions, there is no logic to make sure the inferred widths are correct.
Beyond emitting compound expressions, we are also looking to better preserve the when structure in chisel inside the emitted verilog.

So this PR doesn't compile, its using tpe(...) and long_BANG(...) functions, which have since been removed. You may need to use expr.tpe and bitWidth(expr.tpe) instead.


text:
Persistent notification

What steps will reproduce the problem? Notification for friend request stays even after accepting request.
What is the expected result? No notification when you already clicked on it before.
What do you get instead?

Additional info

Q
A

HumHub version
1.?

PHP version

Operating system

Note: Please use the community site for any questions on customizing HumHub.
Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.

Still the same problem

should be fixed on current freeflowpages

Happening again.

with me not happing but with Sabrina still same issue exist
note: mine is a new account after migration

authors: Pishoy sabrinasadik

repo: freeflowpages/freeflow-server


text:
implement (finish) zinit sal

see https://github.com/freeflowuniverse/crystallib/tree/development/crystallib/osal/zinit

branch : development_zinit

https://github.com/freeflowuniverse/crystallib/blob/development_zinit/crystallib/osal/zinit/rpc_test.v
this test doesnt seem to be a test, hello doesn't mean anything, there should be a real command starting, stopping, check the log to see the output is right, if killing the program zinit should notice, ...

redid the test, and created an example

authors: MarioBassem despiegk

repo: freeflowuniverse/crystallib


text:
Receptive Field & Dilation

This library is truly amazing !
In my search for a library to calculate the receptive field size, I was really excited to find this library.
(I especially appreciate the support for Conv1d.)
But I have two questions.

it does not seem to support Dilation.
The receptive field is smaller closer to the input layer and larger closer to the output layer, but the library is showing the opposite.

P.S.
I've written a patch for both of them, but there is a problem that the receptive field size is not properly displayed when the max_depth is reduced...
# Applied patch

import torch.nn as nn
from torchscan import summary

m = nn.Sequential(
    nn.Conv1d(1, 1, 3, dilation=1),
    nn.ReLU(),
    nn.Conv1d(1, 1, 3, dilation=2),
    nn.ReLU(),
    nn.Conv1d(1, 1, 3, dilation=3)
)

n = nn.Sequential(
    nn.Conv1d(1, 1, 3, dilation=1),
    nn.ReLU(),
    nn.Conv1d(1, 1, 3, dilation=2),
    nn.ReLU(),
    nn.Conv1d(1, 1, 3, dilation=3)
)

l = nn.Sequential(
    m, nn.ReLU(), n
)

summary(l, (1, 100), receptive_field=True, max_depth=2)

# max_depth=2
____________________________________________________________________________________________________________
Layer                        Type                  Output Shape              Param #         Receptive field
============================================================================================================
sequential                   Sequential            (-1, 1, 76)               0               1
├─0                          Sequential            (-1, 1, 88)               0               13
|    └─0                     Conv1d                (-1, 1, 98)               4               3
|    └─1                     ReLU                  (-1, 1, 98)               0               3
|    └─2                     Conv1d                (-1, 1, 94)               4               7
|    └─3                     ReLU                  (-1, 1, 94)               0               7
|    └─4                     Conv1d                (-1, 1, 88)               4               13
├─1                          ReLU                  (-1, 1, 88)               0               13
├─2                          Sequential            (-1, 1, 76)               0               25
|    └─0                     Conv1d                (-1, 1, 86)               4               15
|    └─1                     ReLU                  (-1, 1, 86)               0               15
|    └─2                     Conv1d                (-1, 1, 82)               4               19
|    └─3                     ReLU                  (-1, 1, 82)               0               19
|    └─4                     Conv1d                (-1, 1, 76)               4               25
============================================================================================================

max_depth=1
____________________________________________________________________________________________________________
Layer                        Type                  Output Shape              Param #         Receptive field
============================================================================================================
sequential                   Sequential            (-1, 1, 76)               0               1
├─0                          Sequential            (-1, 1, 88)               12              3
├─1                          ReLU                  (-1, 1, 88)               0               13
├─2                          Sequential            (-1, 1, 76)               12              15
============================================================================================================

max_depth=0
____________________________________________________________________________________________________________
Layer                        Type                  Output Shape              Param #         Receptive field
============================================================================================================
sequential                   Sequential            (-1, 1, 76)               24              13
============================================================================================================

Hi @khirotaka,
Glad it was helpful and thanks for the issue!
Regarding dilation, you are correct. I actually was trying to come up with a more modularized way to handle this. If you do have a suggestion, I'm more than happy to discuss a PR :pray:
Regarding the receptive field, it's actually a design choice I made earlier:

the receptive field value the library outputs for each layer represents the receptive field relative to the output of the model, rather than its input.

This might be misleading but the idea was to be able to trace back the relative spatial dependency to a node in the output layer. However, I understand this can be confusing and perhaps it would be best to add an option to specify whether it is relative to the output of the model or the input (and to set the default in the order you suggested).
Regarding the reduction process, I actually implemented it to work using the receptive field increasing order of my initial PR over there: https://github.com/frgfm/torch-scan/blob/master/torchscan/utils.py#L175-L177
So we are to move forward with PRs, I would suggest splitting them up:

option to take input or output and receptive field basis, and adapt the reduction accordingly
support of dilation in conv layers

I'll look into this, but let me know if you want to help / submit a PR :+1:

Hey @khirotaka,
Actually, I didn't manage to really fix the receptive field computation as the values are really bound to be computed reversely (cf. https://distill.pub/2019/computing-receptive-fields/) for the whole model. If you have a draft that managed to get a 212 value on torchvision.models.vgg16, I'd be happy to take a look at it.
I tried a few things but it was far from ideal (had to reverse some changes from #31 in #33)

Hey! I'm going to share my idea for a patch. I hope this helps a little bit...
https://github.com/khirotaka/torch-scan/commit/e0932c227de38484413128181252bb0f48d5aa74

Hi @khirotaka,
Thanks for the suggestion! I actually managed to handle this by reversing the recurrence equations in #34 :ok_hand:
For the dilation part, I actually only integrated into the module kernel size to avoid changing the interface. It's working as a charm!
Thanks again :pray:

Thank you as well! I'm looking forward to the latest release!

authors: frgfm khirotaka

repo: frgfm/torch-scan


text:
Implement logging

Overview
Currently, it's hard to trace errors because CLI catches all of them and not showing stacktrace

Merged into https://github.com/frictionlessdata/livemark/issues/35

repo: frictionlessdata/livemark


text:
Add Table.Read

Python code: https://github.com/frictionlessdata/tableschema-py/blob/master/tableschema/table.py#L99

This very simple Table.Read allow us to move forward towards an end-to-end solution. We could come back and improve it later.

repo: frictionlessdata/tableschema-go


text:
Imperative API of prefetch doesn't work

When prefetch with imperative API like this
  routes.getRouter().prefetch('/foo')}

It is expected to prefetch javascript URL in given foo page.  However, it just directly prefetch-es /foo. I suppose it should be able to detects which javascript URL without parsing /foo page HTML.

@fridays Still not working even with prefetchRoute() too 🤔

I've tried to get the prefetchRoute() method to work as well as following.
// pattern with params
const Component = await Router.prefetchRoute('/:slug', { slug: 'slug' });

// name with params
const Component = await Router.prefetchRoute('name', { slug: 'slug' });

// final route
const Component = await Router.prefetchRoute('/slug');

But all without success.
Any help or documentation would be much appreciated!

authors: TheBnl mocheng rizkiandrianto

repo: fridays/next-routes


text:
ensure precedence in hotkeys

Two hotkeys,
use_hotkeys!(("G", ... and use_hotkeys!(("G+R", ... we need to make sure the G+R gets considered first. As right now if I create the G hotkey first and then G+R, when I try pressing the keys G and R together, it directs me to the G hotkey

Closing since this is #2

repo: friendlymatthew/leptos-hotkeys


text:
frint-react: add hydrate function to frint-react

What's done
Add hydrate function to frint-react.
Why
Support hydration from server-rendered HTML.
Closes #335.

Great going, @rbardini! 💖

please also update the README of frint-react 😬

Totally forgot about it! Updated 🙂

wow, nice! @rbardini great work!

repo: frintjs/frint


text:
fix: recalculate rowHeight() when isVirualized

When rendering rows with isVirualized, if rowHeight is a func, the
virtualized list was not recalculating the rowHeight.
Per the react-virtualized docs
here, List.recomputeRowHeights()
needs to be called.
This only fixes the dynamic rowHeight issue after dragging a node is
finished.  An additional List.recomputeRowHeights() will need to be
called to fix the ‘preview’ while dragging a row (see issue below for
more details).
This partially fixes Issue 264.

Pull Request Test Coverage Report for Build 182

1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 76.187%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/react-sortable-tree.js
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

src/react-sortable-tree.js
1
76.15%

Totals

Change from base Build 175:
-0.04%

Covered Lines:
588

Relevant Lines:
759

💛  - Coveralls

@wuweiweiwu On it 👍
Any input on fixing the last part (problem is detailed toward the end of the conversation on Issue 264 would be appreciated 🍻

@jcalebj you mean the rowHeight updating while dragging?
In that case I would checkout https://github.com/fritz-c/react-sortable-tree/blob/master/src/react-sortable-tree.js#L347

Not sure why this was closed, this issue still exists. If isVirtualized and rowHeight is a function, the node heights do not change value, even after dropped.

authors: coveralls dcporter44 jcalebj wuweiweiwu

repo: fritz-c/react-sortable-tree


text:
Fix various typos

intepretting -> interpreting
throught -> through
occuring -> occurring

README is completely different now and thus these changes are not needed. Currently occurring is misspelled as occuring near the bottom under Major changes since Demo 1, though.

repo: froggey/Mezzano


text:
Websockets in Suneido

I'm not sure if Suneido uses websockets but I'd like to try and implement them to
a) learn more about websockets
b) learn more about the language
Need to get server-client running to test this out

already implemented in stdlib

repo: frroossst/gsuneido


text:
CORS Not working

getting error:
ww.example.com has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.

At last, after the effort of 3 days, I have removed the fruitcake package and using my own middleware.

Same here, in my dev env suddenly something happened and now cors warning is firing all the time.
Just cant fix it now ....

It was just an error in the Model, not related to cors, sorted now.

Also struggled for the whole weekend. Added custom middleware and it works now.

Same here. Stop working before the weekend without any reason. I tried with a fresh install and it does the same to me. I don't know if it's related to homestead or the host file...

Found fix. Take out the Asterisk!

Same thing, I removed the fruitcake cors and using my own middleware.
    public function handle(Request $request, Closure $next)
    {
        return $next($request)
            ->header('Access-Control-Allow-Origin', '*')
            ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE, OPTIONS')
            ->header('Access-Control-Allow-Headers', '*');
    }

Same thing, I removed the fruitcake cors and using my own middleware.
    public function handle(Request $request, Closure $next)
    {
        return $next($request)
            ->header('Access-Control-Allow-Origin', '*')
            ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE, OPTIONS')
            ->header('Access-Control-Allow-Headers', '*');
    }

This did it for me. For whatever reason, using the CORS package didn't work on any routes, even if they were explicitly specified. I don't believe that this solution covers preflight requests appropriately, but it handles most cases.

I had same issues and spent hours of debugging but at last I just run php artisan config:cache and copied the bootstrap/config files to server.
Do not forgot to change your ENV to production settings such as db, keys and etc before running config:cache
Please note that I had this issue when I the app is on server. Everything works perfectly in local development.

Same issue here.  The preflight simply does not seem to work for most situations.  Nothing I tried would send the headers except adding them in middleware or to the route file manually.  There should just be an option to disable preflight and always add the headers - since that is what most of us running into this issue are doing.
cc: @barryvdh

authors: AliZaibazr KaliaJS MikeProcudin fastmover fylzero meeran-seers minhlong romansorin sanushen wsajjadh

repo: fruitcake/laravel-cors


text:
Reader: local XSD entities possible?

An XSD schema will typically reference to external XSD entities which are hosted across the Web. Classic example is http://www.w3.org/XML/1998/namespace which has a SchemaLocation at "http://www.w3.org/2001/xml.xsd"
Validators will try to fetch the remote xml.xsd on the fly over HTTP. W3C has added traffic shaping on their side to discourage excessive HTTP requests to their XSD schemas:
https://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic/
So, we are left with caching our XML schema's locally. There are different strategies to do that. The first would be to use XML catalogs. LibXML supports these and they are stored in /etc/xml/catalog. This would be the preferable way of doing things.
An alternative use case would be implementing libxml_set_external_entity_loader and with a custom resolver handler. Why would you want to do that? Well, because you might be working with domainspecific schema's - such as OpenGIS GML - and you don't have access to the global XML catalog on the server where you host your application.
I was wondering:

Does XMLReader::seSchema support libxml_set_external_entity_loader and locally served xsd files? I already asserted that DOMDocument allows it.
Is it feasible to implement libxml_set_external_entity_loader in a separate method in the Reader class() such that it takes an associative array with references to local xsd files?

Thanks!

Hi @netsensei ,

Does XMLReader::seSchema support libxml_set_external_entity_loader and locally served xsd files? I already asserted that DOMDocument allows it.

Frankly, I don't know! I would assume yes, since XMLReader uses libxml under the hood, but I'm not sure. I haven't really done much with schemas myself.

Is it feasible to implement libxml_set_external_entity_loader in a separate method in the Reader class() such that it takes an associative array with references to local xsd files?

Well, does it actually make sense to have this on the class/object level. From the function definition it seems that calling this function enables it's globally. So if there's multiple XMLReader objects doing things at the same time, calling libxml_set_external_entity_loader on one instance would definitely influence the other.
Ideally the underlying library would allow us to set this entity loader on specific instances of XMLReader, but since that's not the case, I'm also not really sure what value there would be in having this defined right on the XMLReader itself?
I hope I understood your message correctly. If not, let me know!

Hi @evert,
You understood correctly, thanks!

Ideally the underlying library would allow us to set this entity loader on specific instances of XMLReader, but since that's not the case, I'm also not really sure what value there would be in having this defined right on the XMLReader itself?

I was thinking along the same lines since the handler both seems to affect DOMDocument and XMLReader. So, your answer confirms this for me.
Although PHP gives you the possibility, libxml2 provides support for XML catalogs. This is an XML based configuration file stored in /etc/xml which allows you to define a mapping to a set of local XSD files.  The main use cases to implement libxml_set_external_entity_loader() would be (1) you are in a context where you don't have access to /etc/xml/catalog. (2) you want to set this dynamically on runtime (for whatever reason) instead of maintaining a long, complicated mapping in a static file.
But even then, I agree, because it works on a global level, there isn't much value in adding it to the library itself.
Thanks! I'll close this issue.

authors: evert netsensei

repo: fruux/sabre-xml


text:
Most URLs on main page point to wrong page

Examples:

The footer contains the text "Genshin Optimizer Version: 9.6.3" with the version pointing to the wrong URL
Nearly all quick links dont point to the correct destination as well

Seems like env vars are not set correctly

Looks like an errand deployment. It should be resolved now.

authors: Leanny frzyc

repo: frzyc/genshin-optimizer


text:
Unable to login again after authentication expired

I've had a notification from Home Assistant a few times now, stating that an integration needed a renewal of the configuration. The integration mentioned is this Zonneplan integration. Up to this week I was able to re-authenticate the integration by entering my email address again and everything was fine again. However, from this week I get the following message in the logs:
Traceback (most recent call last):
  File "/config/custom_components/zonneplan_one/config_flow.py", line 87, in async_step_auth
    self._token = await self.flow_impl.async_request_temp_pass(self._email)
  File "/config/custom_components/zonneplan_one/api.py", line 87, in async_request_temp_pass
    return await self._api.async_request_temp_pass(email)
  File "/config/custom_components/zonneplan_one/zonneplan_api/api.py", line 39, in async_request_temp_pass
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 422, message='Unprocessable Content', url=URL('https://app-api.zonneplan.nl/auth/request')

I'm not able to authenticate the Zonneplan integration anymore. The issue might be related to this issue in some way.

Deleting and adding the integration again fixed the issue for now, but it still looks like a stability issue in this integration.

Strange, response 422, message='Unprocessable Content' implies that the request was invalid. Token format incorrect or something.
Had last month also a few times that I needed to re-authenticate but that went okay without any issues.
Maybe we should also clear the token to force re-authentication when a 422 code is returned.

I had the same experience, had to re-authenticate a few times which eventually seemed to lead to this error. Since deleting and adding the integration again fixed it, I think clearing the token would have the same effect.

Same issue here. It keeps nagging about a wrong e-mail address for sending the link. But it did work for several days...

Had the same issue today. It turned out the Zonneplan API was offline or having issues, because I noticed the Zonneplan app was not working either. I was just able to te-authenticate and now it works again.
Is it the case that the integration thinks that te-authentication is needed when Zonneplan API throws an error?

Yes, currently every ClientResponseError results in a new authentication flow. Will change that so this only happens on status 403

Thanks @fsaris! My issue resolved itself automatically, but it's great to see that you keep improving it. I'm a happy user! Keep up the good work!

resolved in https://github.com/fsaris/home-assistant-zonneplan-one/releases/tag/0.0.10

authors: Phontana erno1978 fsaris

repo: fsaris/home-assistant-zonneplan-one


text:
Allow a static call to calculate a formula

Implement a static method that calculates a formula without any variable nor context.
It will still be necessary to instantiate an interpreter to use those.

Is it really necessary?


text:
feat: add TableView support

Signed-off-by: Zixuan Liu nodeces@gmail.com
Summary
The TableView was introduced in Pulsar 2.10, we need this feature in pulsar-client-dotnet.
Proposal: https://github.com/apache/pulsar/issues/12356
The Java implementation: https://github.com/apache/pulsar/pull/12838

Thanks @Lanayx for your review, but the .NET Core Ubuntu / build CI failed, could you give me some help?

Here is the error

@nodece right now the test fails, since the old value is stored in the dictionary rather than a new value, is it expected?

@Lanayx Good catch! This test has been fixed.

authors: Lanayx nodece

repo: fsharplang-ru/pulsar-client-dotnet


text:
Errors while building the dev branch on Mac

I get this error while trying to build on a Mac
Atom/src/FSharp.Atom.Generator.fsproj could not import "$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets"

Did I miss anything?
Thanks

I've pushed update to fsproj. Can You try again?

Thanks, Still the same error

I'm on
XBuild Engine Version 12.0
Mono, Version 4.0.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 09/05/2015 17:02:14.

Can I get full terminal output after running build.sh ?

indy9000s-MBP:FSharp.Atom indy9000$ build.sh
No version specified. Downloading latest stable.
Starting download from https://github.com/fsprojects/Paket/releases/download/1.4.1/paket.exe
Done.
Paket version 1.4.1.0
FAKE 3.31.0 unzipped to /Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE
4 seconds - ready.
Building project with version: LocalBuild
Shortened DependencyGraph for Target Default:
<== Default
<== InstallDependencies
<== RunGenerator
<== BuildGenerator
   <== Clean

The resulting target order is:
 - Clean
 - BuildGenerator
 - RunGenerator
 - InstallDependencies
 - Default
Starting Target: Clean
Finished Target: Clean
Starting Target: BuildGenerator (==> Clean)
Building project: /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj
  xbuild  /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Debug" /logger:Fake.MsBuildLogger+ErrorLogger,"/Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE/tools/FakeLib.dll"
xbuild  /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Debug" /logger:Fake.MsBuildLogger+ErrorLogger,"/Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE/tools/FakeLib.dll"
XBuild Engine Version 12.0
Mono, Version 4.0.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 09/05/2015 17:02:14.
__________________________________________________
/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: error : /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj could not import "$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets"
Build FAILED.
Errors:

/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: error : /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj could not import "$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets"

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.0792730
Running build failed.
Error:
Building /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0034886
Total:     00:00:00.8065986
Status:    Failure
---------------------------------------------------------------------
  1) Building /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj failed with exitcode 1.
  2) : /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj(0,0): /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj could not import "$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets"
---------------------------------------------------------------------
indy9000s-MBP:FSharp.Atom indy9000$

Can You check latest update?

indy9000s-MBP:FSharp.Atom indy9000$ build.sh
No version specified. Downloading latest stable.
Starting download from https://github.com/fsprojects/Paket/releases/download/1.4.1/paket.exe
Done.
Paket version 1.4.1.0
FAKE 3.31.0 unzipped to /Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE
4 seconds - ready.
Building project with version: LocalBuild
Shortened DependencyGraph for Target Default:
<== Default
<== InstallDependencies
<== RunGenerator
<== BuildGenerator
   <== Clean

The resulting target order is:
 - Clean
 - BuildGenerator
 - RunGenerator
 - InstallDependencies
 - Default
Starting Target: Clean
Finished Target: Clean
Starting Target: BuildGenerator (==> Clean)
Building project: /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj
  xbuild  /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Debug" /logger:Fake.MsBuildLogger+ErrorLogger,"/Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE/tools/FakeLib.dll"
xbuild  /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Debug" /logger:Fake.MsBuildLogger+ErrorLogger,"/Users/indy9000/Documents/dev/Atom/FSharp.Atom/packages/FAKE/tools/FakeLib.dll"
XBuild Engine Version 12.0
Mono, Version 4.0.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 09/05/2015 17:58:50.
__________________________________________________
Project "/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj" (Rebuild target(s)):
/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: error : Target named 'Rebuild' not found in the project.
Done building project "/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj".-- FAILED

Build FAILED.
Errors:

/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj (Rebuild) ->

	/Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj: error : Target named 'Rebuild' not found in the project.

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.1473110
Running build failed.
Error:
Building /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0040709
Total:     00:00:01.6783433
Status:    Failure
---------------------------------------------------------------------
  1) Building /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj failed with exitcode 1.
  2) : /Users/indy9000/Documents/dev/Atom/FSharp.Atom/src/FSharp.Atom.Generator.fsproj(0,0): Target named 'Rebuild' not found in the project.
---------------------------------------------------------------------
indy9000s-MBP:FSharp.Atom indy9000$

Are You sure You have F# installed? (http://fsharp.org/use/mac/). Similar problem was described in https://github.com/fsharp/fsharpbinding/issues/740

Yes I have
Thanks for taking a look btw
indy9000$ fsharpc
F# Compiler for F# 3.1 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License

No problem, I'm here to make something useful, not broken :)
Main problem for me at the moment is that I don't have Mac machine and can't reproduce error on Linux VM with mono 4.0.1.0
I guess the problem is somewhere here - https://github.com/fsprojects/FSharp.Atom/blob/develop/src/FSharp.Atom.Generator.fsproj#L35-L46
Can You check if any of those 2 paths is valid on Your machine? (changing $(MSBuildExtensionsPath32) to "/Library/Frameworks/Mono.framework/External/xbuild ")

/cc @mcgee. Can You help me with this one?

I replaced with $(MSBuildExtensionsPath32)
/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/xbuild

And it builds now..

Similar problems have cropped up before
https://forums.xamarin.com/discussion/12745/unable-to-resolve-fsharptargetspath-on-machines-with-vs2013

It's really interesting where your MSBuildExtensionsPath32 points to. Could you create file Test.fsproj with following content:
<Project DefaultTargets="TestMessage"
         xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Target Name="TestMessage">
      <Message Text="MSBuildExtensionsPath32 = $(MSBuildExtensionsPath32)" />
  </Target>
</Project>

And run xbuild Test.fsproj? What it prints?

Yes, sure
Target TestMessage:
		MSBuildExtensionsPath32 = /usr/local/Cellar/mono/4.0.1/lib/mono/xbuild

It might be because you have installed mono via homebrew, right? It seems to be bug in homebrew: https://www.bountysource.com/issues/4119788-msbuildextensionspath32-mismatch-between-mono-and-fsharp-when-using-homebrew-formulas
I can't realise if they fixed it, but you could update your homebrew formulas with brew update and update or reinstall (ouch) mono
Or you can install mono from official site (http://www.mono-project.com/download/)

Actually I installed homebrew to install VSCode. This is a bit of a mess :)
Updating brew and mono doesn't yield anything better though..
Will use the symlink. Thanks

OK, so looks like it's an issue connected with non standard mono installation.

authors: Indy9000 Krzysztof-Cieslak mcgee