text:
docopt test suite build failure

Ping @ethercrow.
There's something weird going on with the test suite dependencies.
Preprocessing test suite 'tests' for docopt-0.7.0.2...

System/Console/Docopt/QQ.hs:17:8:
    Could not find module ‘Language.Haskell.TH’
    It is a member of the hidden package ‘template-haskell-2.10.0.0’.
    Perhaps you need to add ‘template-haskell’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

System/Console/Docopt/QQ.hs:18:8:
    Could not find module ‘Language.Haskell.TH.Quote’
    It is a member of the hidden package ‘template-haskell-2.10.0.0’.
    Perhaps you need to add ‘template-haskell’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

System/Console/Docopt/QQ/Instances.hs:7:8:
    Could not find module ‘Language.Haskell.TH.Lift’
    It is a member of the hidden package ‘th-lift-0.7.2@thlif_GbE2jWs2LBYD2hKBn9VM4A’.
    Perhaps you need to add ‘th-lift’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Shouldn't we disable (building) tests only, not the full package?

@phadej: The test suite is the author's way of vetting the package's quality. If there's an issue with the test suite, then usually we hold back upgrading to the new release of the package until we have some input from the author about the test suite failure. In other words, usually we don't entirely disable a package, we just restrict it to an older version. In this case, docopt hadn't been built with stackage yet, so there was no known-to-work-with-stackage older version to fall back to.

I didn't know docopt didn't have working version yet. It explains, thanks!

Should be fixed now in docopt-0.7.0.3

Now I see a new error with docopt-0.7.0.3:
Preprocessing test suite 'tests' for docopt-0.7.0.3...
Running 1 test suites...
Test suite tests: RUNNING...
tests: test/testcases.docopt: openFile: does not exist (No such file or directory)
Test suite tests: FAIL

Probably files need to be added to .cabal's extra-source-files section, @ethercrow please test by installing and running the tests from the tarball, you can also set up travis to test like this for added security.

Please try docopt-0.7.0.4

thanks!

authors: DanBurton bergmark ethercrow juhp phadej

repo: fpco/stackage


text:
Write probability of use function

Given an array of indices, return an array of probabilities that each woman will use contraception.
Probabilities are a function of:
- data: age, urban, education, wealth, parity, previous contraceptive use, empowerment metrics
- pars: coefficients applied to each of the above

Done on the methodtime branch

source: gharchive/issue

repo: fpsim/fpsim

license: MIT

license_type: permissive

license_source: github-api


text:
Request Support for Angular2+

Did F7 Planning to Support  Angular2+ ? Angular2 today has a big community and many expert dev  can watch and help to progress this project . also to add angular2+ is much faster as of today than angular1
I think this is possible like this repo here
https://github.com/ashvin777/framework7.angular2
its working but f7 official site has no documentation how to implement this properly

This is a (multiple allowed):

[ ] bug
[ ] enhancement
[x] feature-discussion (RFC)

Sorry, but no, no Angular support in plans


text:
Page Does not reload  V1

HI!
I have a notification list with unread and read sign (red for unread) (no sign if already read)
My problem is when user click on the notification to view it on notification detail page and go back again to the list, the LIST page did not update (we have code to remove the red sign if already read)
Our code is working properly, the only problem is the page does not reload/refresh
I try to navigate on some other page then go back again in notification list, that is only the time it refresh
I put a page back event to (that’s why there is alert after going back to detail page to list)
MORE DETAILS WITH VIDEO
http://forum.framework7.io/t/page-does-not-reload-refresh-v1/3418

Sorry, but v1 is not maintained anymore

is this a known bug?
On Fri, 11 May 2018, 7:44 PM Vladimir Kharlampidi notifications@github.com
wrote:

Sorry, but v1 is not maintained anymore
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/framework7io/framework7/issues/2378#issuecomment-388376163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjgfdTwDcBc5d_zEGIBYxB_4iISy8Ocks5txZzLgaJpZM4T57FG
.

so there is no solution to this?
On Fri, 11 May 2018, 7:58 PM John Dave Manuel jdmanuel242@gmail.com wrote:

is this a known bug?
On Fri, 11 May 2018, 7:44 PM Vladimir Kharlampidi <
notifications@github.com> wrote:

Sorry, but v1 is not maintained anymore
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/framework7io/framework7/issues/2378#issuecomment-388376163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjgfdTwDcBc5d_zEGIBYxB_4iISy8Ocks5txZzLgaJpZM4T57FG
.

No, for me looks like the problem in your code/implementation. GitHub is just not the right place for v1 issues/questions. There is a forum for this

hi I also posted in forums
On Fri, 11 May 2018, 8:02 PM Vladimir Kharlampidi notifications@github.com
wrote:

Closed #2378 https://github.com/framework7io/framework7/issues/2378.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/framework7io/framework7/issues/2378#event-1622071396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjgfYTI3j5jpeduVuro0qDclF7vAiD6ks5txaDsgaJpZM4T57FG
.


text:
CMake install support for VCPKG

Add a new option in NAppGUI CMake scripts for generate the install structure required by vcpkg.
cmake -S . -B build -DCMAKE_INSTALL_TYPE=vcpkg
cmake --build build  ....
cmake --install build ....

More background in https://github.com/frang75/nappgui_src/issues/11
@ragsaq,  @SamuelMarks

I'm trying to install nappgui with vcpkg. I have success in windows and linux (not perfect)
Working example (no resources):
hellocpp
Broken example (with resources):
products
to do this, I created a vcpkg port for nappgui and patched some of the files so that inc -> include and the cmake targets go to the shared folder.
To fix the products project, we need to use nap_desktop_app(Products "osapp;inet" NRC_PACKED) but I can't get this to work successfully because of path errors.

Can we refactor the prj so that we can import the correct nappgui cmake functions without doing include("${NAPPGUI_ROOT_PATH}/prj/NAppProject.cmake")?
Ideally, find_package(nappgui REQUIRED) can define the path to include, so that if we change the folder structure, we always do include("${NAPPGUI_PRJ_PATH}/NAppProject.cmake") and it works.
I couldn't get nappgui::osapp and similar to work in the hello example instad of ${NAPPGUI_INCLUDES}.

Hi! Thanks for report! I'll resume the support for VCPKG asap.

PS: @ragsaq there's also https://www.ryanliptak.com/blog/zig-is-a-windows-resource-compiler/ - so if we try real hard nappgui might be cross-compilable from say a Linux, *BSD, or macOS host
PPS: @frang75 Great to hear. Also did you think more RE: putting things in folders to aid both vcpkg and future FFI efforts? - https://github.com/frang75/nappgui_src/issues/11#issuecomment-1870637460

Hi @SamuelMarks. Yes the group headers in folders was done in 1.4.0 version.
https://nappgui.com/en/guide/build.html#h3

authors: SamuelMarks frang75 ragsaq


text:
Question regarding controller computation time

Hello everyone,
I am currently implementing a computational heavy controller in my panda and am reaching the time limits for the 1kHz frequency of the system.
I use a PREEMT RT kernel, adjusted the CPUs and also cleared several CPUs just for my process to avoid any rt conflicts.
My network test gave me an average RTT of around 0.2ms with 0.3ms max. Not perfect but even after several attempts it did not went over 0.3.
To evaluate the performance, I made some tests using the communication_test script by adjusting the sleep time. The results are, that a sleep time of 0.3ms (resulting in an average comuptation time of 0.35) is the upper limit with already quite low communication_seccess_rates (between 0.8-0.9). Using a sleeptime of 0.35 results in a commincation error.
Assuming we lose 0.3ms for network, 0.35ms from my computation that leaves 0.35ms for the "Time needed by the robot to process your data and step the internal controller" as stated in the Franka Docs which sounds quite a lot to me.
Does anyone have some experience if this is about to be right or have ideas on how to improve this?
Thanks,
Stephan

Hi @StephanSchwarz96 ,
for a bit of in-depth view: The Panda user (now speaking specifically about this) has roughly 0.2 to 0.3ms time for receiving, processing and sending the robot command successfully back. Why? Whenever we do our internal cycle, we first check for a newly received robot command, process it and at the end of our cycle, we send our a new robot state. That means, a user has time while our cycle sleeps to do their bit. Sometimes, our internal cycle is a bit faster - so you get something closer to 0.3ms - and sometimes it needs a bit more, so you only have time closer to 0.2ms.
Now, for FR3 users, this changed a bit over the time and will improve even further. Some under-the-hood changes improve how resources are used and we work in upcoming image release even more on the robustness of the communication. So.. maybe worth to look into getting a FR3.... :)
Cheers,
Andreas

Hi @StephanSchwarz96 ,
did this help? Could you improve the situation?

Hi @AndreasKuhner ,
thank you for the information! I managed to reduce the computation time of my loop down to under .2ms and now it works smoothly again.

repo: frankaemika/libfranka

license_source: bigquery


text:
support routing based on SoapAction for soap requests on servlet/rpcrouter

Related Problem or Business Case
When multiple SoapActions use the same namespace, it is not possible for the framework to distinguish which WebServiceListener the request should go to. In this case, you have to create a routing adapter that accepts all soap requests and then routes them with an XmlSwitchPipe based on SoapAction. This makes scalability very difficult and ugly, and the error handling is also not clean.
Describe the Feature
I would like to be able to specify attribute 'soapAction' on WebServiceListeners and have the framework do routing based on the SoapAction of incoming requests.
Collaboration with External Companies
No, community resolution only
Anything else?
No response

In NamespaceUriProvider add a mechanism to route based on the soapAction. This could be either a HTTP header or in the SOAP header. Is the soapAction unique enough?

repo: frankframework/frankframework


text:
Create wiki page for password-manager design

Add a wiki page explaining the design of password-manager microservice.

i would like to work upon it .could you assign me?

Assigning. Same pointers as #87


text:
Better and safer regex for email retrieving

Hello :-)
A simple proposal to improve this line:
https://github.com/frankie567/fastapi-users/blob/1b6c832b28dc8e3b082765bb2e970cbd759fc0ce/fastapi_users/db/mongodb.py#L32
Currently this doesn't work (tested using mongodb) with emails using special characters like : 'john.doe+something@email.com'
This line could be safer written, escaping the email of any special characters which might affect the regex match (like the '+') and by matching the exact string:
import re
user = await self.collection.find_one({'email': re.compile('^' + re.escape(email) + '$', re.IGNORECASE)})

I knew while writing this it would cause issues. I was surprised that MongoDB didn't have a simple case-insensitive search operator. Anyway, thank you for the fix, I'll look into it!

Yes for that case-insensitive search I think in mongodb we need to create a specific index with a specific collation...

Sounds so 😅 Do you have any pointers to doc or articles that would explain how to implement this?

Related official doc: https://docs.mongodb.com/manual/core/index-case-insensitive/
But I think you could just keep the updated regex method as it does the job.

After all, I went over the collation index path. It doesn't add lot of complexity, and I think it'll be more efficient in the long-run. By default, the adapter instantiates a collation with sensible defaults, but we let the possibility to pass a custom one if needed.

@all-contributors add @MariusMez  for bug, ideas


text:
Re-implement Action in TypeScript

We generally prefer TypeScript for actions, and given that this action is almost entirely just using @actions/cache and invoking stack (which can be done better with @actions/exec), it makes sense to use TypeScript even though it's "simple".
This brings the following benefits to users:

We can now properly group our output and log details such that the workflows are much easier to debug (e.g. for caching behaviors). @actions/exec also makes command invocations logged better, incorporating rerun-with-debug, etc.

Some of the changed behaviors (described below) are bug-fixes

This brings the following benefits to maintainers:

The complexity of conditional jobs and cache-key handling (among other things) is much easier to handle in TypeScript than shell
We now have a nice little set of unit tests across key functionality
We can now set all of stack path as outputs without having to maintain the list in action.yml

The following behaviors were changed along the way:

We no longer skip the Build step on a primary-key hit
This is still (I think) fine (and preferred) to do on the Dependencies step, since there are no artifacts useful outside of the build produced in that step. However, if you are relying on the Build step to produce executables (for example), skipping it on a cache-hit means no executable and that will fail.

We are very careful to not install GHC pre-caching
See #33. There are some caveats being discussed there, and this PR implements what's described.

We run stack upgrade before getting started
And added a no-stack-upgrade input to disable that if desired. Note that Stack v2.15 (newer than currently on the runners) is required to address the above, which is why I added this.

:tada: this looks ready to go

I plan to keep this in @v5 as there are no user-facing breaks
I plan to test this branch in our megarepo project for a few days first

Let me know if anyone disagrees with (1).

Heh, welp, I found one issue:
stack-build-arguments: |
  --ghc-options "$STACK_GHC_OPTIONS"

This no longer works, because the value is not passed to a shell, it's given to exec. Any variables like this won't be expanded. Using exec , and removing the shell intermediary is kind of an important benefit of this whole approach, so I wonder what we should do.

Say it's not supported
I think that
stack-build-arguments: |
  --ghc-options "${{ env.STACK_GHC_OPTIONS }}"

Would work the same, but I haven't tested it. It's possible env isn't available when with arguments are processed.

Support it by doing exec("sh", ["-c", "..."])
This would be much uglier to escape (add bug risk) and make the build logs less clear.

Support it by doing our own envsubst thing
I dunno, this doesn't seem that bad?

I did (3) :shrug:

could you elaborate on the impact to build logs?

It's minor, but right  now the build logs may show:
% /usr/bin/stack build --test
stack logs...

Or
% /usr/bin/stack build --test
Error: /usr/bin/stack exited 1

And now they would show,
% /bin/sh -c /usr/bin/stack build --test
stack logs...

And
% /bin/sh /usr/bin/stack build --test
Error /bin/sh exited 1

Which is just a little potentially confusing if you were expecting stack, especially the error case -- if that's all you looked at.

FYI I restored the branch for now, until I update our test repositories to go back to @v5, please don't clean it up yet.

source: gharchive/pull-request

repo: freckle/stack-action


text:
🛑 TUT Website is down

In 1f9a0db, TUT Website (https://www.tut.ac.za) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TUT Website is back up in da3ccfb.

repo: fredre/ecMonitor


text:
[Feature Request] New Bar/Menu/Lists

Improvements when reading a zPage

Add a reading progress bar to tell readers how much they have read and how much they have left to read.
Add a button to go to the end or the beginning of the zPage.
Press and hold the go to home button to open a menu with options.

Mark as unread
Donate
Share

zPage search improvements

Add a three-point menu with options for:

Mark as read/unread the zPage
Donate
Share

Add the reading progress bar to the displayed zPage.

New zPage lists

Add list of zPage read and zPage unread.
Button to switch between lists.
Button to clear the list.
Menu with options and reading progress bar.

The zPage read/unread lists help readers to easily locate the zPage they have recently read or those zPage they left to read later.

As I promised before, the suggestions I post will also be added on this site, there are several features that from my point of view could bring a lot to the reading user and even to the creators who at some point are engaged in reading other zPage.
I previously posted on Twitter that it would be great to have IDs for headings and didn't post it here because something tells me it's already in the plans.
Thanks for the great work you guys are doing with Free2z!

There are potentially several issues here that might be better broken down into multiple issues. Some I like more than others.

Add a reading progress bar to tell readers how much they have read and how much they have left to read.

I'm not likely to implement this. I would just use the native browser scroll, for me on the right in desktop and mobile works well enough. This is not a make-or-break feature that would differentiate F2Z from other sites. Also, I'm hoping to get more people to start doing viewing keys and goals. So, it would be a little noisy and confusing IMO to have a goal progress and a reading progress. Like your picture has both - here 0% is read and 2% of the goal is achieved:

I'm hoping to open-source Free2z - probably after we do the security audit - so, at that point, someone might be able to contribute this feature. I'd prefer something unobtrusive like maybe a little percentage/progress widget in the lower right instead of at the top? Also, per-user page state (how much has each user read of each page?) can be a sort of n^2 problem if we want to persist state for each user for each page.

Add a button to go to the end or the beginning of the zPage

This one of the longer pages: https://free2z.cash/zcash-crypto-world-tour - I can go to the top and bottom really fast with just the native scroll. This is another thing I could imagine accepting contributions for. But, I need to concentrate on infrastructure and security, backend, legal compliance and all sorts of fun stuff like that. So, I don't see working on this for a while, if ever. More reason to open source though so others might be able to contribute improvements like this.

Press and hold the go to home button to open a menu with options.
Mark as unread
Donate
Share

I do like the idea of a speed-dial, perhaps once scrolled down where you could quickly get to all page actions. https://mui.com/material-ui/react-speed-dial/ - so, when you scroll to the bottom you could quickly get the donate/upvote/downvote/etc. I also like the "mark as read" idea. But, a strange point is that I guess if the page gets updated it becomes unread again? Also, this will only work for logged-in users. We won't be trying to track unauthenticated users reading status (even though we might be able to do something with localstorage). I still think these are relatively high-effort items that I won't be able to get to any time too soon.

Add list of zPage read and zPage unread.
Button to switch between lists.
Button to clear the list.
Menu with options and reading progress bar.

I do like the idea of read versus unread and maybe a star to come back and read later. I try to use the site as much as possible and one thing is that, yes there are some pages that I have already seen and would like to kinda' hide them from my default view so I can just look at the new/unread stuff. I think read/unread could be a good vehicle for this. But, I also want to think about what it all might looks like with 1,000, 10,000 ... 1,000,000 pages ... marking things as "read" would be a drop in the bucket maybe ... I still like it though, read/unread and maybe "starred" for things that you want to come back to later (whether you have read them or not ... maybe you just want to check back on the progress or donate when you have gotten back to your wallet or sth ...).
At scale I think what might be more valuable is using time as a factor in the f2zscore ranking. So, a simple thing might be to divide by time since last updated / created. Right now the f2zscore is simply amount of donations to F2Z (times 3 if "verified"). But, I'm going to multiply more if there is a viewing key, a goal, a poll, connected social accounts, overall score of the creator ... and I will perhaps multiply by (5/numdays) where numdays is perhaps days_since_created+days_since_updated ... this way newer stuff with interactive features will rise to the top and overall creator clout will become more important. Adding the element of time will also make things more dynamic day-to-day. I think as the amount of content grows, this dynamic ranking will deliver interesting new stuff. Maybe even 100/numdays - that way something brand new gets a 100X boost over something ~3 months old 🤔 ... I think I like that!
But, I think read/unread and starred (per-user state) could also be useful. These are relatively non-trivial problems though - the read/unread state is per-user and therefore not really cacheable and can't be returned from the main page (anonymous) page listing. Sooo, yeah, it invites a bit of an engineering problem as at scale you can imagine 1,000,000 users and 1,000,000 zPages - this is 1,000,000,000,000 possible User-zPage state rows ... OTOH I could store the user's stuff on the client but then it wouldn't follow them from one device to another ... I think I'm talking myself out of stars and read/unread status 😄 ... simplicity at the UI-level lends itself to simplicity in the backend, simplicity in the infrastructure ... still, I'll think about it. But, I want to get the core/global/anonymous features right before I invite a 1,000,000,000,000-row uncacheable table in 😄 . Stars and read/unread are a cool idea - I'll think about it; but, it won't be the top priority any time too soon. OTOH, each user only needs a few rows for what they have starred and what they have read ... so, maybe there is a place for it ... still non-trivial to mash together the public zpage state with the user-specific zpage state - especially on a listing page ...

Menu with options

I do like the idea of being able to do the page actions from the listing. I have left room for this kind of stuff - share, upvote, downvote, donate ... I think that's a yes - I'll make some more things you can see and do on the listing. Seeing your mockup with the progress bar makes me think more about the progress of the goal rather than the individual user's reading progress. The goal progress is globally cacheable and it would be cool to see what someone is asking for and how much they have raised from the listing page ... another thing that I would like to see from the listing is the number of comments a page has...
I usually work in small Kanban notes so I'm going to boil this down to a couple of those:
Listing page improvements: https://github.com/free2z/free2z/projects/1#card-82470983
f2zscore ranking improvements: https://github.com/free2z/free2z/projects/1#card-82471015
read/starred: https://github.com/free2z/free2z/projects/1#card-82471071
anchor/deeplinks to headings: https://github.com/free2z/free2z/projects/1#card-82471256
anchor links to comments: https://github.com/free2z/free2z/projects/1#card-81327112
Thanks for the feedback! I'm going to track these items on the Kanban board. But, I'll leave this open in case someone wants to pick some other stuff out of these suggestions once I open source the code.

First of all, thank you very much for your answers.

I'm not likely to implement this. I would just use the native browser scroll, for me on the right in desktop and mobile works well enough.

Wow... notice that I had not noticed what you mention and yes, when opening from the browser on the mobile or desktop we have that bar that in addition to being used to scroll also serves as a reference.

...it would be a little noisy and confusing IMO to have a goal progress and a reading progress. Like your picture has both - here 0% is read and 2% of the goal is achieved...

Yes, it can be confusing while you are at the start of the zPage, but when scrolling the Goal bar is no longer visible, also the progress bar/widget can be displayed only while scrolling, if it remains visible all the time it can distract the reader.

I'd prefer something unobtrusive like maybe a little percentage/progress widget in the lower right instead of at the top?...

In principle the design was circular with the percentage below and to the right as you mention. Ah, it is clear that I am not a designer, I just try to express some ideas graphically so that they can be understood. 😂😂

So, I don't see working on this for a while, if ever. More reason to open source though so others might be able to contribute improvements like this.

Great, I'm sure others will help with the implementation of functions when releasing the code and of course it is important and you should focus on those features you mention, I wish you much success.

I do like the idea of a speed-dial, perhaps once scrolled down where you could quickly get to all page actions. https://mui.com/material-ui/react-speed-dial/ - so, when you scroll to the bottom you could quickly get the donate/upvote/downvote/etc.

The basis of these suggestions is to offer the reader ease of access to existing functions and others, before I was thinking of a top bar with the main options and that this is made visible with some action anywhere in the zPage, since the options within the zPage are only visible from the top of the page, but I love the idea described in the link you provide. Regarding the other aspects of the suggestion, everything in due time, from the rush only remains the tiredness and if you liked it for sure you will get the solution or someone will contribute after releasing the code.

I do like the idea of read versus unread and maybe a star to come back and read later.

I laugh a little at what you say because originally the design had a Favorites option, then I changed it to Pin and in the end I removed it, but I thought the Favorites option could contribute to the positioning of the zPage.
About the Mark as read options, it is an option that becomes visible only if you have viewed the zPage, hence the reading progress bar that would indicate that yes, you have viewed the zPage (although I like what you comment about making the Goal bar visible in that part), using the function sends the page to the Read list, but I understand that it can be a problem to store all this.
To conclude, thank you very much again for allowing us to leave suggestions on this site, sorry for the length of the suggestion and the answer hahahaha.
Long live Free2z and keep the improvements coming (Concentration 👍🏽).

I'll close this one because of the three suggestions two have partially been added:

Better options bar for zpages.

Menu of options in the zpages.

I'm sure that over time the three dot menu will get more options.
¡Muchas gracias! 👍

authors: Edicksonjga skyl


text:
Is there any 5G AKA test data can be provided?

I'd like to verify my 5g aka code is correct or not. So I want to ask if anybody can help me to provide any test data of 5g-aka.
Thanks.

free5GC mainly uses GitHub for issue tracking. Information regarding to general questions or technical support. It will be highly considered if forward to the forum.
The issue will be closed due to it does not follow the issue template.


text:
TestRegistration Test failing with invalid memory address

Hi!
I ran ./test.sh TestRegistration and it is failing. Error message is shown in the attachment. Please advise!
TestRegistration_error.txt

I faced a similar issue triggering segmentation fault each run. I solved it reinstalling and running as regular user, not root. Give it a try with a non-root user.

Hi @ameet-17
If there still any problem?
Or maybe we can close the issue.

The issue still exists.
Thanks for your help!
Ameet
On Sun, May 24, 2020, 4:37 AM free5GC notifications@github.com wrote:

Hi @ameet-17 https://github.com/ameet-17
If there still any problem?
Or maybe we can close the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/free5gc/free5gc/issues/37#issuecomment-633217951, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APJCKBM33VI6QCVK6T5TERLRTEBIPANCNFSM4MZGG7VA
.

Hi,
Can you provide more information?
Such as your OS, are you running in container, your kernel version, etc.

Hi,
I am not running 5GC and test script as root and using another account.
OS version is Ubuntu 18.04.4 LTS
I am running this on a VM and not a container.
Kernel version is 5.0.0-23-generic

Seems to be the same problem on issue #67.
We'll try to work on the issue there.


text:
Sign in process needs some sort of notification it hasn't crashed

When signing in, there is a moment where the button turns a strange shade of green and nothing happens for about 30 seconds. This is a really long wait, and we should definitely find a way to make the wait shorter. But we should also show some sort of visual confirmation that it's working and it hasn't crashed.

@raisedadead is there anything we can do to speed up the email? Even if it takes a moment to receive the email, the UI should seem as snappy as possible.

This is inherent from the infrastructure challenges.
Currently, whenever a login request is made:

An AJAX request is made to the auth api.
It looks up through the accounts, and creates a token.
Then a request is made to AWS api for sending out the email.
As the requests cascade and resolve, the AJAX completes.

The button in the UI is in a disabled state, while the above 4 steps happen.
This is to prevent clicking and generating multiple requests.
We have #14902 to make steps 3-4 async, and speed up some of this.
We can add a notification on this page, to warn of this delay.
But, the real enhancement is to implement the Job Queue.

A delayed method can be added in between the below lines, which will set a notification
https://github.com/freeCodeCamp/freeCodeCamp/blob/1dae80ad1b885ad1a23e3d315f3de546d8305d76/server/views/account/email-signin.jade#L54-L55
that reads,

There are lot of requests being made, please bear with us, while we send you the email to sign-in.
This should not take too long.

And such a notification should be triggered only after 3-4 seconds since the button was clicked.

@raisedadead Couldn't we just say "OK - we're sending a magic link to [email address]" in the UI and remove the button? Then by the time they get into their email, it will probably already be there.

@QuincyLarson yes, that can be done.

@raisedadead Awesome! Thanks for doing this. This is such a critical part of the onboarding, so we want to get it just right. Once this is ready, I will go through and fine-tune the copy throughout the signing in process. Thanks for keeping me posted on this :)

Chatted with @raisedadead and I'm gonna take this one.

@StephenMayeux thanks a lot for your interest in this issue, but I happened to figure out that we are having a refactor of some of the backend in progress.
This will affect the work on this issue.
I am adding a blocked tag until then. Please feel free to take a look at other open issues.

@StephenMayeux It's great to have you here! Since @raisedadead wrote the original logic and has already made good progress on it, I recommend jumping on another one of the help wanted issues.

authors: QuincyLarson StephenMayeux raisedadead

repo: freeCodeCamp/freeCodeCamp


text:
[Guides] Duplicate pages/files in the repo?

Describe your problem and how to reproduce it:
I wanted to improve this guide page and searched for it within the repo when I found two identical files corresponding to the currently published one (one inside the client/src/pages/guide/ dir and other inside client/src/guide/)

Which one should I edit?
Is there a need/purpose behind this or am I doing something wrong?

Add a Link to the page with the problem:
Find results at this repo for this query: generate-random-whole-numbers-within-a-range in order to edit this guide page
Tell us about your browser and operating system:

Browser Name: Vivaldi
Operating System: Xubuntu 16.10

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Hi @AdrianSkar,
I believe this issue is known and will be worked on by @QuincyLarson and @raisedadead.

@AdrianSkar could you close this as it has been solved. All guide files are now found in ‘/guide’

Sure @Nirajn2311. Thank you all!


text:
[.dev] Formatting on mobile

Describe the bug
Some pages overflow horizontally on mobile browsers.
To Reproduce
Steps to reproduce the behavior:

Use a mobile with a small enough screen (i.e. iPhone 6/7/8 in the chrome dev console)
Go to https://www.freecodecamp.dev/donate/
Try to scroll horizontally (it should not work)
Click on 'Show other ways to donate'
Try to scroll

Expected behavior
The browser should not let you scroll horizontally.
Screenshots
Donate:

Also, the welcome page:

Desktop (please complete the following information):

OS: Linux
Browser chrome
Version 76.0.3809.87

Smartphone (please complete the following information):

Device: Galaxy S6
OS: 7.0
Browser chrome
Version 76.0.3809.111

Still there, I'm afraid.  The coins are too long and cause overflow.
I'll have a fix in a sec.


text:
Nav logo should be served a react svg component

Nav logo should be served a react svg component
https://github.com/freeCodeCamp/freeCodeCamp/blob/c52c36e51ec48d3df1126b7a143da54c182ed948/client/src/components/Header/components/NavLogo.js#L3
Take a look at the other logos in the codebase for reference.
The alt text should read: 'freeCodeCamp.org'
https://github.com/freeCodeCamp/freeCodeCamp/blob/c52c36e51ec48d3df1126b7a143da54c182ed948/client/src/components/Header/components/NavLogo.js#L9

Removing the first timers, because it may not be very trivial.

I would love to get this done. Please assign it to me.

Issue assignment is not necessary, we accept the first valid PR, which follows our contribution guidelines.

@raisedadead Thanks for the heads up, I thought we still followed the assignment rule like in the past. I will submit a PR soon.

There you go, making an exception because of your interest :)
Happy contributing!

Hi @nawazishali how is this coming along. Are you still working on this?

Hi @raisedadead
I will be making a PR today hopefully. Was stuck in some other work.

Hi @raisedadead
I ran into an Eslint issue, when I converted SVG to JSX the svg path code is so lengthy that I get
Line 13 exceeds the maximum line length of 80
Any hint on how I can manage this? tried running the npm run format:js but it doesn't work.

You should be able to wrap using the lines at 80 in your code editor if you happen to use VS Code?
Let's make a PR or share a link to your repo/branch for more context.
Thanks.

Created a PR with ESLint max-len disabled. I tried wrapping the code to multiple lines but some string blocks are very long and would break the svg if put on a new line.

authors: nawazishali raisedadead


text:
challenge Basic HTML and HTML5: Create a Form Element can pass with wrong code

Describe your problem and how to reproduce it:
this challenge instruct to next the existing input element inside a form tag. It is possible to pass this challenge by creating a new input tag inside the form element without nesting the existing one.
The following code with two input elements passes:

CatPhotoApp

Click here to view more cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text" placeholder="cat photo URL">
<form action="/submit-cat-photo">
 <input type="text">
</form>

Add a Link to the page with the problem:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/create-a-form-element
see this topic in the forum: https://www.freecodecamp.org/forum/t/form-element-problem/366128

@Ieahleen thanks for reporting this!
How about an extra test to count the number of <input>s?

Sounds good to me @ojeytonwilliams. I would make the text: You should not any additional input elements.

I also suggest changing the instructions to:

Nest your existing input element inside a form element, and add the action="/submit-cat-photo" attribute to the form element.

@ojeytonwilliams We don't really care if the user adds extra input elements outside the form element.  We just want to make sure there is just one input element nested with the desired action attribute nested inside the form element.

I don't mind making users nest the existing input. I agree that the concept of the challenge is to add an action to a form. But if that were all we cared about, why check for an input at all? I think this little bit of extra work gives the challenge a little more depth without complicating it.

We just want to make sure there is just one input element nested with the desired action attribute nested inside the form element. It is the latter part we should be testing for.

The first test could also be made into an equality, then. The second test checks that the form (with the nested input) has the right action.

authors: Ieahleen RandellDawson moT01 ojeytonwilliams


text:
Fix Typos in Italian CONTRIBUTING.md

[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

@elenaramon Translation corrections look good, thanks. But someone else merged another PR first that conflicts with this. Could you resolve the merge conflict please? Thanks.

authors: elenaramon tchaffee


text:
added a laws of ux link

pretty good explanation

[ 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 then xxxx below with the issue number.
Closes #XXXXX

We are marking this PR invalid for Hactoberfest as it does not follow the recommended guidelines below:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove white space / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details
This is taken directly from https://www.interaction-design.org/literature/topics/fitts-law


text:
Add information about pattern matching

Added information about how we can use a switch statement for pattern matching and gave an example from Microsoft docs.

[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

@thecodingaviator Is this PR ready to be merged?

@RandellDawson someone with more ecperience in C# would need to look at the code

@thecodingaviator This code is taken directly from https://docs.microsoft.com/en-us/dotnet/csharp/pattern-matching

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


text:
Add "my changes" to the article

my changes:

capatilize 'T' for "title" on line #1
change localetitle to "العنوان" on line #3
change "الاعداد العائمة" to "الاعداد العشرية" on line #14
change "الشخصيات" to "الرموز" on line #15
change "اكتب منطقي" to " القيم المنطقية" on line #16
change "سلبية و ايجابية" to " سالبة و موجبة" on the second line on line #22
add (byte) on line #24, to clairfy more
added translation on lines 28-36
added (short) on line #39
added translation on lines 41-51
changed "الباحث" to "العدد الصحيح" and added (integer) on line #54
added translation on lines 58-66
add (long) on line # 69
added transaltion on lines 73-81
change "ارقام عائمة" to " اعداد عشرية" on line #87
added (float) on line #91
added translation from line 95-112
added (double) on line #115

[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

I hope that my changes will be added to the explanation of data types to make it more informative

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

authors: KamarM RandellDawson


text:
Change Link

I wanted to try to improve the link

[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

We are marking this PR invalid for hacktoberfest as it does not follow the recommended guidelines below:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details

authors: hcapati jonathan-grah


text:
Add Java Implementation

[ ] 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 master branch of freeCodeCamp.
[ ] 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

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


text:
fix(curriculum): correct Priority Queue test text to match class name

Test text did not match the class naming provided in the challenge
seed. Tests are dependent upon this name, thus any student implementing
the name in the displayed text would fail the tests as the sought class
was not defined.
resolve #37842

[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] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

redundant, apparently.


text:
fix(learn): rework Project Euler - Problem 58

Changes challenge to use argument in function call.
Adds two additional tests.
Adds solution.
Tested on local fork.

Related to #40896.
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)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

I added this solution to the forum guide article


text:
fix(curriculum): Divided step 13 into 2 steps; updated step 13 and added step 14

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.

Related to #54430

Once the Python team are happy with this, I'll pop in and run the sync tool to get the CI passing.

@naomi-lgbt Thank you so much for that. Could you guide me as to how that can be done? I plan on making regular contributions in the future and I would like to make sure I do things properly.


text:
feat(1.9.0): add blocking tests flag

This is useful for tests that make IO/FS ops that should not interfere with one another.
As mentioned in the CHANGELOG, there is a known bug whereby with the breakOnFailure flag is enabled, the client appears to show proceeding tests as hanging.
This should be fixed with #232 , as both will require a way to stop the test promise, but still communicate the result to the client.

Merging to unblock - will not deploy until apparent hanging tests is patched

repo: freeCodeCamp/freeCodeCampOS


text:
Update junit to 4.13.1

Updates junit:junit from 4.13 to 4.13.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "junit", artifactId = "junit" } ]

labels: library-update

Decision was made to remove this no longer needed dependency

authors: chick scala-steward

repo: freechipsproject/treadle


text:
Connection is lost after save

I don't remember if this is a consequence of VSCode's document management, but it's not a desired behavior. We're used to saving often so it should not trigger connection closure when one mistakenly saves a GhostText document.
Extracted from:

#291

Ok, I think I figured out why this is happening:
When the file is created it is using an untitled scheme
const file = vscode.Uri.from({
  scheme: 'untitled',
  path: `${tmpdir()}/${avoidsOverlappingFiles}/${filename}`,
});

the documentaton for onDidCloseTextDocument states:
An event that is emitted when a text document is disposed or when the language id of a text document has been changed.
The onDidCloseTextDocument event is being triggered on save because the untitled document is "closed" when it gets saved to disk as a file document.

VSCode's document management is a joke. I think I just need to avoid  using untitled://
This was also mentioned in another issue: autosave to avoid closure prompts

Can this be something like how git rebase --interactive does it? I have exported EDITOR="code --wait --add" on my terminal. When I run git rebase --interactive, it creates a file and then tells vscode to open that file. Saving the file works fine, and on closing the editor it somehow triggers continue.

authors: Moulick fregante kevintraver

repo: fregante/GhostText


text:
Interaksjonsforbedringer i datepicker

🔗 Praktiske lenker (om tilgjengelig)
Pull request: #3415
Designskisser: Components → feat: datepicker/refactor
Forhåndsvisning: Preview-link fra @fremtind-bot (om tilgjengelig)
Discussion: Link til discussion (om tilgjengelig)
🎯 Sjekkliste

[x] Du har laget en branch i Figma og bedt om feedback
[ ] Du har sjekket at alt av kode og tester kjører som det skal
[ ] Dere har sammen sjekket at resultatet av design og kode matcher

Hvis du står fast og trenger tips kan du ta en kikk i huskelista vår, eller tagge noen fra Jøkul-teamet i dette issuet.

Figma-komponenten begynner å bli klar for merging. Hva synes du @kjetilbendik?

Nye datepicker er nå merget i Figma cc @maciejost @piofinn @kjetilbendik

authors: onordbo wkillerud

repo: fremtind/jokul


text:
Move init() calls out of modules

@thomasdigby I've moved init() call into Tabs public API, and calling from _layouts/component now - whaddya think @thomasdigby? See: https://github.com/frend/frend.co/commit/cef3be9cafb77dd7f4baa217f113cb0d769b4add
Shall we roll this into the others?

init should be included in the public API for sure.
I'm slightly leaning towards self-initalising the components but happy to go either way.

Revert.

Can I -1 here?

authors: adamduncan thomasdigby

license: mit


text:
Using CSV Dict Writer with data package descriptor

You can use the data package descriptor with CSV Dict writer to define the output csv file that you want. In one of our internal key metric dash boarding project we use a utility function to achieve this. The utility function can be found in the following code snippet. This supports write and append mode.
import csv
from datapackage import Package

def csvDictWriterForDataPackageResource(dp, resource_name, write_format):
    # dp is path to datapackage
    # name of the resource
    # write_formart is insert or append - w for rewriting file, a for Appending
    package = Package(dp)
    resource = package.get_resource(resource_name)
    fieldnames = resource.schema.field_names
    output_path = "data/" + resource.descriptor["path"]

    outstream = csv.DictWriter(open(output_path, write_format, newline=""), fieldnames)
    return outstream

Hi @nirabpudasaini! I'm working on cleaning up the issues in this repo, and I'm wondering if there is an action you'd like to take here (or an action you'd like someone else to take?) Thanks!

I think it perfectly matches the "Ideas" section in Discussions

authors: lwinfree nirabpudasaini roll

repo: frictionlessdata/project


text:
RuntimeError: Set changed size during iteration

See https://github.com/friendly-traceback/friendly-traceback/issues/45#issuecomment-962197860 and https://github.com/dodona-edu/papyros/pull/80#issuecomment-997451558
@pdawyndt @winniederidder

The following is a draft explanation for the currently unhandled example mentioned in #80 (comment)
Traceback (most recent call last):
  File "HOME:\github\friendly-traceback\ignore.py", line 2, in <module>
    for number in numbers:
RuntimeError: Set changed size during iteration

    A `RuntimeError` is raised when an error is detected that doesn't fall in any
    of the more specific exception types defined by Python.

    While you were iterating over the elements of `numbers` (a `set`)
    in a `for` or `while` loop, you either tried to add or remove items from it.
    Suggestion: start by making a copy of `numbers` and iterate over the elements
    of that copy if you want to change `numbers` inside a loop.

    Exception raised on line 2 of file HOME:\github\friendly-traceback\ignore.py.

       1: numbers = {1, 2, 3}
    -->2: for number in numbers:
       3:     numbers.add(2 * number)

            number:  2
            numbers:  {1, 2, 3, 4}

If this meets your approval, it can be added to the next release of friendly-traceback. Feel free to make suggestions for better wording.

This should be an issue here, not part of the papyros discussion.
@aroberge Did you actually implement the detection of the iterable numbers? executing.Source.statements_at_line should work well for that. Either way, it should be easy to detect the type of loop (for or while), assuming it's actually raised at a loop instead of something like next(). But also there's an arrow pointing at it so it's a bit redundant.
You could directly suggest .copy() for dicts and sets, in case the user doesn't know how to apply your suggestion.
The other common suggestion is to create a new collection and add the items you want, instead of modifying the original. I understand that may be too much for this message.
Maybe you could link to a resource explaining the overall problem in more detail?

@alexmojaki Yes, I did implement the detection of the iterable numbers using an existing utility function.  Here's the current code:
def container_changed_size_during_iteration(
    message: str, frame: FrameType, tb_data: TracebackData
) -> CauseInfo:
    pattern = re.compile(r"(.*) changed size during iteration")
    match = re.search(pattern, message)
    if not match:
        return {}
    container_name = match.group(1).lower()
    if container_name.startswith("dict"):
        container_name = "dict"
    container_type = info_variables.convert_type(container_name)

    objects = info_variables.get_all_objects(tb_data.bad_line, frame)
    names = []
    for name, obj in objects["name, obj"]:
        if container_name == "dict":
            if isinstance(obj, dict):
                names.append(name)
        elif container_name == "set":
            if isinstance(obj, set):
                names.append(name)

    if len(names) == 1:
        cause = _("While you were iterating over the items of `{name}` ({container_type})\n"
                  "in a `for` or `while` loop, you either tried to add or remove items from it.\n"
                  "Suggestion: start by making a copy of `{name}` and iterate over the items\n"
                  "of that copy if you want to change `{name}` inside a loop.\n"
                  ).format(name=names[0], container_type=container_type)
    else:
        cause = _("While you were iterating over the items of a container ({container_type})\n"
                  "in a `for` or `while` loop, you either tried to add or remove items from it.\n"
                  f"Suggestion: start by making a copy of the container and iterate over the items\n"
                  "of that copy if you want to change that container inside a loop.\n"
                  ).format(name=names[0], container_type=container_type)

    return {"cause": cause}

I have been thinking of figuring out what type of loop might be the cause of the problem, and might still do that.
I'm hesitant to add links to sites explaining the error, unless it is the Python docs, as it is not possible to guarantee that the explanation will be available in all supported languages and is not friendly to people that do not understand English.  (The Python docs are translated in various languages.) Following your suggestion about .copy(), I might add some sample code; something like:
_("You might want to do this as follows:\n"
  "    my_{name} = name.copy()\n"
  "    for item in my_{name}:\n"
  "        # Change {name}\n")

authors: alexmojaki aroberge

repo: friendly-traceback/friendly-traceback


text:
Include Discarded Promotions

When applying or validating a promotion, we load all associated promotions through order_promotions and check their usage limit. A discarded promotion can still be associated with an order. If we do not load discarded promotions, then the order_promotion will not have an associated promotion and checking usage limits will result in an error.

Looks like this broke a few specs:
./spec/models/solidus_friendly_promotions/friendly_promotion_adjuster/load_promotions_spec.rb:59
./spec/models/solidus_friendly_promotions/promotion_spec.rb:172

Yes it does. A couple of things going on here:

LoadPromotions didn't care about discarded promotions, but should probably have a safeguard to never, ever load a discarded promotion. This PR exposes that, so that's great - also worth a fix.
The promotion spec breaks because the promotion in question is not persisted, and with the scope added, accessing the promotion's codes will not load unpersisted promotions. I think that can be fixed by just calling create instead of build in the spec setup.
There's another thought I had around this: What should happen to carts order_promotions when an admin hits the delete button on a promotion? Probably something like this: https://github.com/friendlycart/solidus_friendly_promotions/blob/main/app/models/solidus_friendly_promotions/promotion_action.rb#L14. I think it's fine to allow discarding promotions even if they have promotions, if only to clear up the index view, but carts should have those order_promotions removed.

All of this is a bit of work, would you be up for it? I can also pick it up later, as you wish.

All of this is a bit of work, would you be up for it? I can also pick it up later, as you wish.

I'd be happy to work on it.

authors: mamhoff manleyac


text:
Fr/create workflow comment

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install @friggframework/api-module-ironclad@0.0.8-canary.63.3511cfb.0
# or
yarn add @friggframework/api-module-ironclad@0.0.8-canary.63.3511cfb.0

:rocket: PR was released in @friggframework/api-module-ironclad@0.0.9 :rocket:

authors: seanspeaks sheehantoufiq

repo: friggframework/frigg


text:
Inline edit of node title not working anymore?

Hi,
we are using the react-sortable-tree. Now we want to enable users to edit the title of a node. You have shown an example at modify-nodes.js. Unfortunately this does not seem to work anymore?
We updated our npm package to 1.21 and still get no chance to edit the title. When we hit the console we see an object inside the title property. Tough it should be in the rowTitle-span-Element.
Any ideas are appreciated!
Thanks, Richard

Could you make sure the version is 1.1.0 or greater?

Thanks, we updated manually to the latest version. That made the trick!

authors: fritz-c rgeike

repo: fritz-c/react-sortable-tree


text:
a bit off topic: pdf/a after merging

I like ocrmypdf very much. But i have one concern when merging several pdfs generated by ocrmypdf. Each single pdf is in pdf/a format, indicated by acrobat reader with a blue bar at the top.
For merging i use either
pdftk *pdf cat output all.pdf
or
gs -dBATCH -dNOPAUSE -sPAPERSIZE=A4 -sDEVICE=pdfwrite -sOutputFile="all.pdf" $(ls *.pdf)
Is the merged pdf still in pdf/a format? acrobat does not show the blue bar any more.
The blue bar also disappears when i change the meta data:
pdftk in.pdf dump_data output info.txt
edit info.txt
pdftk in.pdf update_info info.txt output out.pdf
Although in.pdf was pdf/a, i don't know whether out.pdf is follows the pdf/a convention.
Can someone give me a hint on that? And if its not pdf/a, how can i transform it to pdf/a?
Thanks a lot,
Femi

No. PDFTK does not preserve PDF/A status. You can use Ghostscript with the
-dPDFA (?) switch to merge and to create PDF/A. The options to get a PDFA
are very fussy and Ghostscript's error messages are obtuse. Use the exact
same command line ocrmypdf does, with the same order.
I believe to get a PDFA with metadata embedded you can use PDFTK to add
metadata then Ghostscript to get the PDFA - but you might have to write a
little postscript stub file that contains the metadata segment and merge it
with the PDFA. The development version of ocrmypdf sort of does this right
now.
On Sat, May 30, 2015 at 03:01 femifrak notifications@github.com wrote:

I like ocrmypdf very much. But i have one concern when merging several
pdfs generated by ocrmypdf. Each single pdf is in pdf/a format, indicated
by acrobat reader with a blue bar at the top.
For merging i use either
pdftk *pdf cat output all.pdf
or
gs -dBATCH -dNOPAUSE -sPAPERSIZE=A4 -sDEVICE=pdfwrite
-sOutputFile="all.pdf" $(ls *.pdf)
Is the merged pdf still in pdf/a format? acrobat does not show the blue
bar any more.
The blue bar also disappears when i change the meta data:
pdftk in.pdf dump_data output info.txt
edit info.txt
pdftk in.pdf update_info info.txt output out.pdf
Although in.pdf was pdf/a, i don't know whether out.pdf is follows the
pdf/a convention.
Can someone give me a hint on that? And if its not pdf/a, how can i
transform it to pdf/a?
Thanks a lot,
Femi
—
Reply to this email directly or view it on GitHub
https://github.com/fritz-hh/OCRmyPDF/issues/108.

This problem with metadata being dropped by OCRmyPDF has been fixed in v3.0-rc2.

repo: fritz-hh/OCRmyPDF


text:
typo in URL of this repository

Under "About" of the "Code" tab, the link for this repository is:
rouge-scholar.org
The link has the color word "roUGe" when it should be "roGUe".

Thanks for spotting this @castedo. This is now fixed.

authors: castedo mfenner

repo: front-matter/rogue-scholar


text:
Demo code.

There is any way to see any implementation demo code?
I'm working in a version for Android TV platform. The controls are working properly with remote control keys but they are not working when control panel is hide, and not able to show the control panel by pressing remote control keys. I would like also to control the amount of seconds of the back and forward buttons.
Any help or orientation will be helpful.
Thank you.
FGM

Default controls in ExoPlayer are not that great and not easily configurable unless you want to mess with a lot of Java/XML. What we are aiming for with this plugin is complete control of the player from Cordova which you can do right now since event are communicated to your Cordova app.
We are also thinking about adding simple info popup to the plugin that could be used to communicate to the user what event your app is handling (like play/pause, forward/rewind, etc).

Hi thank you for the answer. For the moment I was trying to handle any Key Event to show the control in the same way you are doing with Touch Events, but no results for the moment. I found the control navigation with remote key are working while the 5 sec. is active, but after that period I'm not able to handle any Key Event to active again the control panel.

Hi @frontyard,
I forked the repo and added the method to handle any key event to show the controls and now its working properly in TV platform.

Thanks! Please create a pull request.

Can you make  ExoPlayer  in new Activity instead Dialog ?  Or   with  Surface view it  rect params in  JS

@casic You feature request is not related to this thread. If you want to start a new thread we can continue the conversation there.

How can send olaylist like that,
{
"url":"url1",
"name":"name1",
"logo":"logo1"
.......
},
......
If not, can u add playlist support.

@mkalyon Please open a new issue with your feature request.

authors: FGMGIT casic frontyard mkalyon

repo: frontyard/cordova-exoplayer-plugin


text:
Background colour doesn't span entire line

While kicking the tires, I noticed that my output differed from the tutorial:

I also tried outside of ipython from the CLI without any improvement.

Terminal editor: kitty
Shell: zsh
TERM=screen-256color

Please let me know if there's any other information you need.
Really nice package, thanks for sharing!
PS: Also tried konsole terminal emulator with the same result.

Thanks for reporting, it is already noticed

@ironhouzi It seems depend on the console setting, it's replicated on my Windows cmd by not on emulator cmder.
I will fix that in 0.3.1, thanks again

authors: frostming ironhouzi

repo: frostming/python-cfonts


text:
Software security super issue

We haven't made much of an attempt at ensuring security and I think we should keep it that way for a while. However as we design things we should have rough security model so we avoid short cuts that will cause us pain later on.
In general any device is allowed to be malicious but as long the number of corrupted devices chosen by the user to receive shares is below the threshold t for that key then:

Only those devices should have shares.
No signature that the user did not intend should ever be produced by that key.
The user should be able to produce a signature with any t honest devices that were part of that key generation.

(1) and (2) must hold even if the coordinator is malicious as long as the number of corrupted share holding devices is less than t.
So thoughts on how to achieve the above:

Whenever the user is presented with an decision they must understand the implications of it just by looking at the device itself.

It must be hard for a malicious coordinator or device to trick the user into proceeding with a malicious action on an honest device. The coordinator might say "Now ignore the warnings or instructions on the device an just press OK". This is a very important design point that must be considered all the way through the design.

During an key operations (generation or creating new access structure) all devices participating:

have the same view of which devices are providing and receiving the shares. This must be true for those providing shares and those receiving them
Each device must be verifying that their input was included in the key operation (see #56).
Secret shares must be encrypted to the intended recipient (following from point (1) all devices must have the same view of which shares were encrypted to which keys).
Of course the view must be shared by the coordinator too

We must follow the underlying protocol to follow receive its security guarantees

Cannot reuse nonces.
Randomness must be random. Don't use deterministic randomness without unfathomably careful analysis.
We MUST hold these guarantees even when a malicious coordinator or device is trying to glitch the honest device by sending malformed messages or just shutting off power at certain opportune moments. For example, after a device transmits a signature share a coordinator may be able to cut power off before it is able to save it to flash.
When the protocol requires a secure and/or authenticated channel between devices we must make sure that we are providing this (e.g. signing and verifying signatures on messages).

I think the above is not exhaustive. When you add features like issuing new shares or adding new access structures and deleting access structures we'll need to revisit this.

Seems good. My summary

A malicious coordinator phone/laptop cannot be allowed to break the share threshold
decisions should be visual on the frostnap devices
frostsnap devices need to follow a strict protocol to make sure they get true randomness,  do not reuse nonces and verify communication

Please update this interpretation as you see fit.

authors: LLFourn midizzz

repo: frostsnap/frostsnap


text:
🛑 eturnal is down

In a977192, eturnal (https://turn.fruw.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: eturnal is back up in a213031 after 12 minutes.

repo: fruworg/upptime


text:
[Feature Request] substat nudging

I think this would be an addition to the "Minimum Final Stat Filter"
but it would be nice if I could choose a substat no minimum amount entered
and the optimizer just tries to make sure its included.
one example of this I found is I like to optimize for atk on jean but I want to have a bit of energy recharge added in there to make the burst happen a bit more often.

while messing with optimizationing for itto I had a thought for this, the nudging could just be a pre-filter on the artifacts selected for builds.
so filter out all artifacts that don't have the the stats (sub or main) selected for nudging or selected as main stat for the character

repo: frzyc/genshin-optimizer


text:
Zonneplan last measured value update only once per hour

Hi,
I noticed that "Zonneplan last measured value" (which shows the current power that is produced in W) only updates once per hour. This used to be every 5 min. Why is that changed? Is it possible to update this every 5 minutes again?
The total yield is still updated every 5 minutes, so the API is called anyway?

See https://github.com/fsaris/home-assistant-zonneplan-one/pull/91#issuecomment-1884853304

Thanks! Is there anything I can do in the meanwhile?

Maybe use yield today. That is updated more often and with more precision.
see #94

The latest release fixed this, thanks!!
It's nice to see the difference in the detail on the graph comparing yesterday and today :D

authors: fsaris willemstoker

repo: fsaris/home-assistant-zonneplan-one


text:
IsPrivate returns true for all functions of a private module are marked as private

Reference: https://github.com/fable-compiler/Fable/issues/696
Consider the following code:
module private Foo =
    let add x y = x + y
    let private add2 x y = x + y

Foo.add 2 2

When inspecting the typed AST IsPrivate returns true for both Foo.add and Foo.add2 methods. Apparently this behaviour affects to all members of a private module. Not sure if this is by design, but as can be seen in the sample above, add is public and can be accessed from outside the module, so IsPrivate shouldn't eval to true for this symbol.
This affects Fable compilation as private members are not exported and cannot be accessed from outside the module.

@alfonsogarciacaro Tricky.  Perhaps using IsPrivate is just wrong.
private on the module means "private to the enclosing namespace declaration group".  So add is visible from the perspective of that namespace declaration group, but add2 is not.  Both are private from the perspective of any other file or namespace declaration group.
The problem is that what is visible will depend on where the module is viewed from.   I presume it would be execution-wise sound to have add in the compiled JS representation of the module, since it's visible from somewhere, i.e. you only trim out the things like add2 that are really, really private.
It might be best to add a way to get the FSharpAccessibilityRights for the immediately enclosing namespace declaration group of the module.  You could then ask IsAccessible on each symbol in the module w.r.t. those access rights.   This would return true for add and false for add2.

Thanks a lot for the insights @dsyme! Yes, I had a quick look at the code and I realized I was wrong about the value returned by IsPrivate, I thought it basically said if the private keyword was being used or not.
JS modules are an addition of ES2015 and correspond to files, so I'm simulating nested modules using a closure (as it was always done for JS in the past). I guess we can just fix this by attaching all members to the closure exports object no matter whether they are public or not. That wouldn't be very problematic as the private/public difference in JS is mainly in the file boundary, but it'd be nice to have a proper way to handle it.
Being able to grab the FSharpAccessibilityRights of the enclosing entity in order to check IsAccessible looks the most correct way to handle this indeed, though I guess it needs to be implemented because I didn't find a way to achieve the FSharpAccessibilityRights in FCS source code. Would it be easier to just allow checking if the symbol has the private modifier? This may not be as precise, but will probably work for Fable.

... I guess we can just fix this by attaching all members to the closure exports object no matter whether they are public or not. ...

That sounds reasonable in the interim. Would that aid with debugging etc?

Ok, I already implemented that solution :+1: I guess it won't affect that much the runtime execution, as it only affects private members of private modules, and where privacy really matters in JS is at the file level. Actually for classes all fields are already public, as there's no way in JS to hide them.
I'll keep the issue open in the hope a better fix comes in the future, but please feel free to close it if you think it's better.
Thanks a lot for your help!

@alfonsogarciacaro Great. I'll leave it open as a feature request about FSharpAccessibilityRights

authors: alfonsogarciacaro dsyme


text:
Made ViewBuilder.Create with props overload more strongly typed.

My goal here was to make ViewBuilder.Create more strongly typed with regards to the ctor props that are passed.
TabItem.content (ViewBuilder.Create([], Form.Host, formProps)) ]

@JordanMarr Are you interested in becoming co-maintainer on this repository?  Please see #172 . Thanks!

@JordanMarr Are you interested in becoming co-maintainer on this repository? Please see #172 . Thanks!

Sign me up. I am happy to help out where I can!

@JordanMarr Fantastic, invitation sent. You will be co-maintainer with @sleepyfran
fsprojects policies are here: https://github.com/fsprojects/fsprojects-admin/#an-f-community-project-incubation-space

Thanks, something based on this is contained in my PR and will be merged soon.
https://github.com/fsprojects/Avalonia.FuncUI/pull/179

authors: JaggerJo JordanMarr dsyme


text:
Issue 1835 handle auto-restore on twice

Fix for running auto-restore a second time on a project.
Integration tests for one and two runs.

cool. thanks

authors: JohanLarsson forki

repo: fsprojects/Paket


text:
Fixed parsing of net6 targets

Closes #4054

thanks!

authors: forki vshapenko


text:
Config for sandbox execution

My attempt to work on https://github.com/fthomas/scala-steward/issues/180
I can get the tests to compile in my machine but the tests fail when they try to read files with test data like "create-fork.json"
Submitting this for initial feedback.
TODO:

I need to figure out how to get the tests to pass in my machine
Need to write unit test for this new config flag.

retest

repo: fthomas/scala-steward


text:
Autonomna vožnja pomoću distribuiranog algoritma učenja uslovljavanjem

Članovi tima:
Luka Bjelica (SW-21-2018)
Asistent:
Milica Škipina
Definicija problema:
Autonomna vožnja vozila unutar 2D simuliranog okruženja bez automatskog zaštitnog sistema (safety sistem za automatsko kočenje), pomoću algoritma učenja uslovljavanjem u distribuiranom sistemu.
Nadovezivanje na projekat  iz predmeta ORI. Akcenat je stavljen na postizanje boljih rezultata, implementaciju DDDQL algoritma (Distributed Double Deep Q Learning), kao i implementaciju podsistema za praćenje kvaliteta treniranja.
Skup podataka:
Ne postoji, agent uči isključivo iz okruženja.
Okruženje:
Reč je o custom implementaciji 2D okruženja saobraćaja na auto putu. Okruženje se sastoji iz 2 dela: servera koji diktira dinamiku saobraćaja i komunicira sa sistemom za donošenje odluka (agentovom mrežom), i web aplikacije koja prikazuje trenutno stanje svih instanci okruženja u browser-u. Komunikacija  se odvija preko WebSocket protokola. U okviru implementacije okruženja se takođe nalazi logika za davanje povratne informacije mreži za svrhe treniranja (nagrade ili kazne za svaku donetu odluku).
Metodologija:
Procesi eksploracije i učenja su odvojeni, odnosno nezavisni. Inicijalno kreiraju se 2 mreže sa nasumičnim parametrima (Q i Target mreže). Agent vrši upit ka target mreži u određenoj frekvenciji i dobija odgovor koju akciju treba da izvrši. Akcija se sastoji iz 2 dela, da li da skrene levo, desno ili ostane u trenutnoj traci, kao i to da li da ubrza ili uspori. U početku, odluke se donose nasumično, korišćenjem epsilon greedy policy algoritma. Okruženje vraća sistemu za odlučivanje ocenu svake odluke i na osnovu toga agent uspeva da uči. Ideja je da se ovo odvija u distribuiranom sistemu tako da se hardverska ograničenja mogu lakše prevazići i da se proces treniranja može lakše skalirati. U tom kontekstu, postojale bi instance generatora gradijenata od kojih bi svaka generisala gradijent na osnovu istorjie odluka (i ocena) i slala gradijent orkestratoru. Orkestrator bi preuzeo odgovornost primenjivanja gradijenta na Q mrežu, kao i povremene sinhronizacije Target i Q mreže. Nakon svake epizode, okruženje bi slalo rezultat agenta na API koji prikuplja podatke treninga. Cilj je implementirati mehanizam za jednostavan pregled i poređenje rezultata treniranja za različite konfiguracione parametre, što bi ubrzalo proces optimizacije tih parametara.
Fokus:

Implementacija distriburianog RL algoritma.
Implementacija mehanizma za evaluaciju kvaliteta treniranja.
Optimizovanje konfiguracionih parametara i, kao rezultat toga, poboljšanje kvaliteta treniranja.

Evaluacija:
Poređenje dobijenih rezultata sa rezultatima dobijenim do sada. Kvalitet učenja, odnosno provera da li agent postepeno ili naglo uči/zaboravlja.
U kontekstu distribuiranog sistema, rešenje je kvalitetno ako skaliranje ne zahteva veliki trud i vreme, a daje bolje rezultate treniranja.
Mehanizam evaluacije kvaliteta treniranja je dobar ukoliko je moguće brzo doneti odluku o tome da li je određena konfiguracija bolja od prethodne ili neke druge.

Tema odobrena.
Ostavite link ka GitHub repozitorijumu projekta.
Srećan rad.

https://github.com/bjelicaluka/self-driving-rl

authors: bjelicaluka milica-skipina


text:
add: Rocket league umu

After seeing the discussion at #151 and PR #193, I wanted to introduce Umu to Rocket League as well. Finally, I had some free time and made Rocket League work with Umu.
However, there is still an issue that I could not find a solution to yet. If I enable umu, I can run bakkesmod alongside rocket-league, however once bakkesmod tries to inject, it fails and gives an error message that goes Injection failed, please download vc_redist.x86.exe and restart your PC. A Google search made me believe that the error message is implying I should have Microsoft Visual C++ Redistributable in the prefix, however even after trying to install vcrun2019 with winetricks  (umu-run winetricks vcrun2019) or manually running the installer.exe (VC_redist.x86.exe or x64) in the prefix through umu, I still get the same error message bakkesmod.
I have been looking into possible solutions but could not get far. I wonder if anyone here has a suggestion to find a solution for that.
So TLDR; RL works with umu, and bakkesmod runs but does not inject. Any ideas on how can I fix that?

In my case the game doesn't seem to launch at all.

I guessed perhaps I was not adding umu to PATH correctly, but I just removed umu from my config and RL still seems to work without issues, and looks like the path is set correctly.
I added WINEPREFIX to umu scripts as well, maybe legendary was not directing to the correct game files. Though I am not confident that was the issue for you.
it could be helpful if you shared with which attributes/values you call rocket-league in your config and what the output is when you start rocket-league from the terminal

Currently testing directly from the repo using this patch
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 234bbf5..576a177 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -86,6 +86,7 @@
       rocket-league = pkgs.callPackage ./rocket-league {
         wine = config.packages.wine-tkg;
         inherit (config.packages) umu;
+        useUmu = true;
       };

       star-citizen = pkgs.callPackage ./star-citizen {

Output log is
nix-gaming on  rocket-league-umu [≡✓] via 
› nix run .#rocket-league
warning: Git tree '/home/mihai/Documents/code/git/nix-gaming' is dirty
do you want to allow configuration setting 'allowInsecure' to be set to 'true' (y/N)?
do you want to permanently mark this value as untrusted (y/N)?
warning: ignoring untrusted flake configuration setting 'allowInsecure'.
Pass '--accept-flake-config' to trust it
do you want to allow configuration setting 'extra-substituters' to be set to 'https://nix-gaming.cachix.org' (y/N)?
do you want to permanently mark this value as untrusted (y/N)?
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=' (y/N)?
do you want to permanently mark this value as untrusted (y/N)?
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Preparing download for "Rocket League®" (Sugar)...
[Core] INFO: Parsing game manifest...
[Core] INFO: Install path: /home/mihai/Games/rocket-league/rocketleague
[Core] INFO: Selected CDN: fastly-download.epicgames.com (https)
[DLM] INFO: Found 0 missing files.
[cli] INFO: Download size is 0, the game is either already up to date or has not changed. Exiting...
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching Sugar...
gamemodeauto:
gamemodeauto:
gamemodeauto:

nix-gaming on  rocket-league-umu [≡✓] via   took 8s
› gamemodeauto:
steamrt is up to date
UMU-Proton is up to date
/nix/store/836by2rrl5xxwnnc4kbd9v21j9gglmv7-gvfs-1.54.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /nix/store/836by2rrl5xxwnnc4kbd9v21j9gglmv7-gvfs-1.54.2/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/836by2rrl5xxwnnc4kbd9v21j9gglmv7-gvfs-1.54.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /nix/store/836by2rrl5xxwnnc4kbd9v21j9gglmv7-gvfs-1.54.2/lib/gio/modules/libgvfsdbus.so
/nix/store/xj09bp6qdnf5aswgw9wpjcx2n9267ggp-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint
Failed to load module: /nix/store/xj09bp6qdnf5aswgw9wpjcx2n9267ggp-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/tmp/pressure-vessel-libs-WVY9R2/${PLATFORM}/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tmp/pressure-vessel-libs-WVY9R2/${PLATFORM}/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
fsync: up and running.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
dbus[435206]: arguments to dbus_pending_call_block() were incorrect, assertion "pending != NULL" failed in file dbus-pending-call.c line 766.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace

I just noticed we were not adding gamemode to the path correctly, but I don't think that was the issue with your case anyway. Honestly, when I run rocket-league, the output is pretty similar, I don't see any noticeable difference, except the game runs normally. Perhaps we can try looking into umu logs like that;
$ UMU_LOG=debug rocket-league

Sure, here's the log.
rl.log

I just compared the output with the output on my end, it looks pretty similar except for the wine: using kernel write watches, use_kernel_writewatch 1. statements toward the end, where I don't have such logs. I don't think that tells anything helpful though.
To debug further I would recommend creating a shell with umu-run and legendary-gl, they try to manually run the game directly through umu-run,
export GAMEID=umu-252950
export STORE=egs
export PROTON_VERB=runinprefix

legendary update Sugar --base-path ${location}
legendary launch Sugar --no-wine --wrapper "umu-run" --base-path ${location} --dry-run

With the dry run option, the last command should print the command legendary will run and just exit. Then you can try manually running this command without including gamemode or any other dependencies in the way. Also, it might be worth trying to setup the envvar PROTONPATH=GE-Proton to use a different version of proton.
But at this point, it becomes a little too much work and I am not confident that this kind of debugging can get us somewhere, so one option is to leave the PR in this state as a draft and come back to it when there are new releases or improvements from umu project. Honestly, it is a bit sad to see that even nix struggles with the "it works on my machine" problem.

@emrebicer following your instructions I managed to get it to launch after a nix flake update.

That is very good to hear, so does the PR also work after the nix flake update by any chance? Or just the dry-run? If it is only the dry run, then perhaps you can try prepending the gamemoderun command before the dry-run output, so we can see if gamemode is somehow at fault

Only the dry-run works. Strangely enough, it also works if I prepend gamemoderun, but not when I do nix run .#rocket-league.

I think I found the culprit here. I moved to another (physical) place where I don't have access to the desktop I have developed the changes for this PR, but I have my Nvidia desktop that is mentioned at #186 .
On this desktop. I can reproduce the issue you are having, I simply can't run Rocket League with Umu with this PR. I did do some digging and I believe the issue is with the environment variable export PROTON_VERB=runinprefix. By default, if this environment variable is not found, umu will set the option to PROTON_VERB=waitforexitandrun and I think this is the recommended way to use umu, however since I wanted to introduce bakkesmod option from nix-gaming I need to be able to run 2 programs at the same time using umu, so I set this env var to runinprefix as it is recommended in the umu project wiki.
Again, it was working without issues on my other desktop, but apparently, there is something wrong with it so it doesn't work on my Nvidia machine or your environment...
So I suggest for now we focus on making Rocket League work in any environment with umu and ignore bakkesmod case at the moment. Given that, I pushed a commit that removes the line where we set the mentioned env var. With that change, Rocket League Umu works on my Nvidia machine as well without issues. (A side note: there are no performance issues with umu, so this PR might lead to closing #186  as well.)
Can you please try with the latest change as well? If it also works for you without issues, then we can focus on how we can support bakkesmod with Umu as well, I guess I can open an issue about it at the Umu project repo and ask for their help/recommendations about it.

@emrebicer I'm terribly sorry for the delay, the notification must have slipped my view.
I've just tested this, seems to work well despite the gamemode errors (which are probably a skill issue on my part).

No worries, I also get many gamemode errors that go gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory. I don't know if this is the same issue, but similar issues are still open at upstream like here and there.
However despite the error, looks like gamemode is being activated, as the output of gamemoded -s is returning gamemode is active when Rocket League is running. So I am not sure if this is something we can fix / should be worried about.

Okay, then hopefully it will be fixed upstream. Thanks for looking into it.

I'd suggest trying older vcrun20xx as well, and if that doesn't work, try to copy the resulting dll to bakkesmod's directory along with creating a dll override. Not sure it will work, but it's worth a try.

I tried installing all the vcrun20xx versions that I see on the winetricks verbs, but none of them resulted in a different behavior. I am not sure about the resulting DLLs, but I found vcruntime140.dll and kernel32.dll copied them to the same folder as bakkesmod.exe and tried rerunning things, it did not change any behavior either.
I don't know how to override DLLs on wine, googling suggested using winecfg, not sure how well winecfg is supported for proton but gave it a shot and ran it by setting the target umu prefix. Under the libraries tab, there are some DLLs but I did not see a way to override the DLL by path, it lets me choose the load order for native or builtin. So if you have some, I would appreciate some tips for achieving the overriding DLL suggestion.
Other than that I found other things such as, if I run umu-run winetricks <any_verb> before running RL, afterward it actually lets me run RL using PROTON_VERB=runinprefix env var. However, the result is not so satisfying as there is some flickering happening and performance is noticeably worse.
Another thing I tried was to create a .bat script to launch bakkesmod and RL at the same time just for testing purposes (I wanted to create an environment where I run both of them without setting PROTON_VERB=runinprefix while using umu). It kinda worked, they both started and bakkesmod injected without throwing the missing dependency error... However, then I realized if I start them this way, RL won't respond to keyboard/mouse and screen resize events and just be stuck at the entrance screen to the game (it is not frozen but I could not just proceed to play the game). My best guess is that there might be a proton limitation somehow that prevents focusing on multiple windows. However, the important finding here is that bakkesmod injects fine without throwing an error if it is started without the PROTON_VERB=runinprefix  env var.
So my take on these findings is; for whatever reason using PROTON_VERB=runinprefix messes with the behaviour of the programs, and AFAIK this is the only way to run multiple programs at once. I already opened an issue regarding that on the umu repository here. However the issue is kind of waiting for more reports atm and their reasonable take is "This is technically not a bug with the launcher, but rather a possible constraint with an upstream component or an OS issue.".

authors: emrebicer fufexan

repo: fufexan/nix-gaming


text:
Feature request: notice of 15 character limit for Microsoft Office files

It might be helpful to give notice when someone is trying to password-protect a Microsoft Office file that more than 15 character passwords aren't supported.
Current behavior: Error message https://github.com/fukuyori/ExcelPass/issues/1
Requested behavior: Possible changes:

Descriptive error message
Notice about limit on program interface when Microsoft file types are added
Entry typing is limited to 15 characters

We restricted the write password length to 15 characters in version 1.7.3.1

:) great, thanks

authors: fukuyori vatterspun

repo: fukuyori/ExcelPass


text:
proposed change to fix finish pmutation issue #29

See #29

Just did some trials, working fine to me. 👍

Works with my code as well!

authors: awkay levitanong wilkerlucio

repo: fulcrologic/fulcro-incubator


text:
Issue submitting Change Password from in /account/ page

Save Button doesn't seem to do anything, pressing enter seems to attempt to save but says fields are empty even though they are not.

Partially fixed by #63 but success message not displaying.

repo: fullctl/aaactl


text:
🛑 Location Inventory Service is down

In e3ccf89, Location Inventory Service (https://api.waypath.io/locationinventories/health-monitor) was down:

HTTP code: 404
Response time: 133 ms

Resolved: Location Inventory Service is back up in 9adf085.


text:
Support Multiple Key Types for Base Entity

Guid is a secure and reliable data type. But there can be instances where performance can be a bit down due to lot of Guids in DBs.
To combat this, we can make the BaseEntity to BaseEntity where T can be simple ints as well.
Someone can take this up and raise a PR as well.
Things to note.
Ensure new migrations are built.
Test every other scenario as well.

i think the main problem here is at Repository level :)

I've tested PR and there is no apparent problem in code behavior.
Please check it out

I've done some work to support generic Key type in this project, but imho the result wasn't good.
the repo methods needs to be changed to accept TKey and client code must provide TKey type in everywhere because  C# Method type inference ignores generic constraints on the method type parameters
Other solution that I was considering was to provide multiple RepositoryAsync for example RepositoryIntAsync or RepositoryGuidAsync , but that would be massive code duplicate and also bypassing UOW
So I'm wondering if anyone has a better idea?
btw we can also consider [ULID](https://github.com/RobThree/NUlid) instead of GUID for primary keys:
Universally Unique Lexicographically Sortable Identifier
A GUID/UUID can be suboptimal for many use-cases because:

It isn't the most character efficient way of encoding 128 bits
It provides no other information than randomness

A ULID however:

Is compatible with UUID/GUID's
1.21e+24 unique ULIDs per millisecond (1,208,925,819,614,629,174,706,176 to be exact)
Lexicographically sortable
Canonically encoded as a 26 character string, as opposed to the 36 character UUID
Uses Crockford's base32 for better efficiency and readability (5 bits per character)
Case insensitive
No special characters (URL safe)

https://github.com/blazorhero/CleanArchitecture/blob/master/src/Domain/Entities/Catalog/Brand.cs
We have developed more or less the same requirement for BlazorHero as well. Can you please check it.

@iammukeshm thanks.
the problem arise in RepositoryAsync:

equality checks like e.Id == entityId will cause Operator '==' cannot be applied to operands of type 'TKey' and 'TKey' because of TKey is not constrained. we can constrain TKey with where TKey : struct but string and/or guid are not struct and int is not class. the solution that I'm considering is to provide overloaded method for type int and guid. but that's tricky.
methods like GetByIdAsync<T> needs to be changed to GetByIdAsync<T, TKey> and client code needs to supply each of this types. for example code like GetByIdAsync(product) needs to be changed to GetByIdAsync<Product, Guid>(product)

equality checks like e.Id == entityId will cause Operator '==' cannot be applied to operands of type 'TKey' and 'TKey'
Can we use Equals() method instead of  == operator?

@iammukeshm I'm not quite sure. because predicate will be translated to sql, I suspect that Equals can't be translated.
can you check it out?

@imnikitaokunev Equals() works, tnx!

authors: AdelSS04 iammukeshm imnikitaokunev pashaie

repo: fullstackhero/dotnet-webapi-boilerplate