Update dockerfile in aspmvc deployment

Fix dockerfile example to work with latest microsoft/aspnet version.
This is the minimal change. There are other ways to get the content in the correct place. The latest aspnet docs use a site_root argument when creating the image. See https://github.com/Microsoft/aspnet-docker/blob/master/4.6.2/sample/Dockerfile

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@obsoleted  Thanks! Much appreciated.


Update when theme is changed

When the Pharo theme is changed, the browser does not take that into account. One is forced to close and reopen browser windows.

Done by 058e891


Deprecate devinstaller

Devinstaller has proven to be an unsuccessful experiment: it does not really make installation simpler but instead introduces its own bugs  and gotchas.
See for example https://github.com/mumuki/escualo.rb/issues/12 and https://github.com/mumuki/mumuki-classroom/issues/125.
Many times even supporting it requires special code, and still the user experience for the final dev is not  the best - developing in a VM is troublesome.
On the other hand, installing the base environment is not difficult - it requires only 4 simple steps that are documented in the four apps, and all the apps come with a devstart script.
So my proposal is to deprecate devinstaller, and close all issues related to it.
Perhaps we could keep the good parts of it - cloning the important repos, mainly - , though, by adding  that part of the script to this repository.

Side notice: the next step in order to promote a less ad-hoc development and productive infrastructure is to deprecate escualo, too.

Done


Fix duplicate images for shows and related artists

This started happening after the RN upgrade:

This still needs a schema update.


problem with Ferriere HII

the densities of HI and H2 match well with Fig 7, though the HII values from the code are slightly lower

I add the VHIM and HIM component such that the total HII density gives the correct values.


API query for Engine Listing "Last Update" values

Anyone know where the "Last Update" values are extracted from in the Engine Listing?  These are the Version, Content and Product values as seen in the Nexpose management dashboard.  I can get the rest of the info via the API 'EngineListingRequest"..just these fields are proving elusive.

Take a look at the Connection#engine_versions method. Under the hood it's sending an API request for ConsoleCommand with the command version engines and then parsing the plain-text response to capture key-value pairs. If you go to your console's administration page, then go to the "Run commands" link next to the "Troubleshooting" item (near the bottom right of the page) you can run the command version engines to see what the keys and values will look like - the ruby code just converts that to a hash.
There is an alternative method proposed which would parse the data from the UI endpoint instead, although it hasn't been accepted as a replacement (yet - I can't recall why). See https://github.com/rapid7/nexpose-client/pull/231 for more info on that alternative.

Awesome.  Cheers Gavin.  Haven't had a chance to put it to the test yet, but now that I can see where it gets the data from I should be good to go.


Permission denied

I have an Issue where i dont get the list.txt
I think because of the "Permission denied"
Mammu@DESKTOP-RQPGT3I MINGW64 ~/twist.moe (master)
$ ./startp.sh gintama
URL: https://twist.moe/a/gintama
making it https://twist.moe/a/gintama/1
Fetching info...
rm: cannot remove '.temp.txt': No such file or directory
../api.sh: line 9: /c/Users/Mammu/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
../api.sh: line 14: /c/Users/Mammu/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
Creating gintama/list.txt
copying download.sh to gintama
Done
Check the Anime/gintama folder
Enjoy
Done
Mammu@DESKTOP-RQPGT3I MINGW64 ~/twist.moe/anime/gintama (master)
$ ./download.sh
anime is gintama
curl is installed: yes
cat: list.txt: No such file or directory
Total no of episodes : 0
Enter 'a' for all episodes
start at:
a
cat: list.txt: No such file or directory

Hi have you installed python3? The python path that's in your error message
seems like it is the one shipped with windows. Please install the latest
version of python3 and add it to your PATH. Detailed instructions here.
https://docs.python.org/3/using/windows.html#windows-full
On Tue, 12 May 2020, 02:10 Mammutor<EMAIL_ADDRESS>wrote:

I have an Issue where i dont get the list.txt
I think because of the "Permission denied"
Mammu@DESKTOP-RQPGT3I MINGW64 ~/twist.moe (master)
$ ./startp.sh gintama
URL: https://twist.moe/a/gintama
making it https://twist.moe/a/gintama/1
Fetching info...
rm: cannot remove '.temp.txt': No such file or directory
../api.sh: line 9:
/c/Users/Mammu/AppData/Local/Microsoft/WindowsApps/python3: Permission
denied
../api.sh: line 14:
/c/Users/Mammu/AppData/Local/Microsoft/WindowsApps/python3: Permission
denied
Creating gintama/list.txt
copying download.sh to gintama
Done
Check the Anime/gintama folder
Enjoy
Done
Mammu@DESKTOP-RQPGT3I MINGW64 ~/twist.moe/anime/gintama (master)
$ ./download.sh
anime is gintama
curl is installed: yes
cat: list.txt: No such file or directory
Total no of episodes : 0
Enter 'a' for all episodes
start at:
a
cat: list.txt: No such file or directory
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/phanirithvij/twist.moe/issues/26, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCBL6X7RVZQB4QRZAWEL6LRRBPB7ANCNFSM4M6HRTLA
.

I have the latest version and I checked the mark and I see it there in PATH

Ok, can you do a where python and let me know the results?
After that, you need to modify the api.sh file to use the newly installed
python instead of that .../WindowsApps/python3 one.
On Wed, May 13, 2020 at 6:56 PM Mammutor<EMAIL_ADDRESS>wrote:

[image: FdRD1pl]
https://user-images.githubusercontent.com/44206081/81818087-dbaf7f00-952d-11ea-9529-3d021735e3e2.png
I have the latest version and I checked the mark and I see it there in PATH
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/phanirithvij/twist.moe/issues/26#issuecomment-627984832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCBL6UVYAEHH5NT5KXJSR3RRKNZXANCNFSM4M6HRTLA
.

What is where python and how i execute it? And I dont understand what I have to modify in the api.sh

You can fix the issue in two ways
In cmd (search cmd in windows search) or cmder (if you have installed it) run the command where python and also run where python3 these commands will show all the python installations in your system. Then in the twist.moe directory that you cloned you can see api.sh when you do an ls -l in cmd or cmder. Open the file using notepad or some text editor and where there is python3 replace it with the newly installed python3's path.
OR
In your PATH you have C:\Users\Mammu\AppData\Local\Microsoft\WondowsApps if it's not necessary you can remove it. Or if you need it in PATH then change the order in the path i.e. first you'll have C:\Users\Mammu\AppData\Local\Microsoft\WondowsApps after that you need to have C:\Users\Mammu\AppData\Local\Programs\Python\Python38
Finally it should be like
Path is
C:\Users\Mammu\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Mammu\AppData\Local\Microsoft\WondowsApps;C:\Users\Mammu\AppData\Local\Programs\Python\Python38

I have removed the C:\Users\Mammu\AppData\Local\Microsoft\WondowsApps. The first way does not work:
Mammu@DESKTOP-RQPGT3I ~/twist.moe (master)
λ where python
bash: where: command not found
So I hope that I got I now right.

But I have now a different problem.
Mammu@DESKTOP-RQPGT3I ~/twist.moe (master)
λ ./startp.sh gintama
URL: https://twist.moe/a/gintama
making it https://twist.moe/a/gintama/1
Fetching info...
rm: cannot remove '.temp.txt': No such file or directory
../api.sh: line 9: python3: command not found
../api.sh: line 14: python3: command not found
Creating gintama/list.txt
copying download.sh to gintama
Done
Check the Anime/gintama folder
Enjoy
Done

Ok open the api.sh file in the twist.moe directory using notepad and change python3 to py everywhere

same issue

Ok go to that C:\Users..Python\Python38 and do an ls see if python.exe exists

I also searched manually bit i didnt found python.exe. So I looked up where my python.exe is. and its in C:\Users\Mammu\AppData\Local\Programs\Python\Python38-32.

Did you install 32 bit python version by mistake? Install the 64 bit version after checking that your system is 64 bit. Google. If it is 32 bit which I don't it is, add that thing to path

Yeah it was an acciedent. I have now also a Python Launcher installed.

And I added it to PATH. Now I get a different message

Ok this is a new issue. I'll look into it. In the mean time try to use https://github.com/phanirithvij/twist.moe/releases/download/v0.1.3/twist.exe

I downloaded it and put the exe in the twist.moe folder. Now it created the list.txt and now I can download.


Add Fir extended checkers

I extracted updating .json data to a different commit to make the PR reviewable.

I uncommented tests, but there is currently some compiler bug that needs being investigated first: java.lang.IllegalArgumentException: source must not be null

I'll create a new review for 2.0.20-beta1, as a related compiler bug is fixed there.


Allow for Shift + Click range-select in the Grid, similar to Windows Explorer

Allow for Shift + Click multi-select in the Grid, similar to Windows Explorer

this can be done with customized grid plugin


Second - added ViewingLib and Toolbar

Overall great progress to reach stretch goals, and to adopt PRs.
Have approved the PR with some minor comments, not necessary to fix here itself (will be great if you can though :-) ).
Overall some comments looking into diffs, not necessarily to fix in this PR, but definitely get better at in the future projects and the main project. Rougly in order of importance. Let me know if you have some questions about them -

There should be not redundant comments in commits, ideally it should only be on complex code pieces.
Avoid redundant new-lines and uneven indentation.

Will be good to add a gitignore, let me know if you need help using it.


Restore Layout not working

The Restore Layout command only closes the 4 tabs but the bottom splitted window remains open even after a Sublime restart. And now I can't close it at all.

I fixed my layout by setting custom setting in Settings - User
in Tools -> Xdebug -> Settings - User added
{
  "close_on_stop": true
}


KeyChainAccountStore does not use ValueData for storing the secret

From reading the source in KeyChainAccountStore, it looks like no secret information is ever stored in the secret field ValueData. Instead, all reads/writes on data to be stored are performed on the Generic field of the SecRecord - which, AFAIK, will not be encrypted when stored in the keychain.

I realize this is a pretty old submission :-( sorry for the delay. This will be fixed in the next release.


What is the mergeAssociated(array $data) function for?

https://github.com/vierge-noire/cakephp-fixture-factories/blob/a808936ff57761890270112cca838bf1265047cf/src/Factory/BaseFactory.php#L555-L569

There is no use of this function, it was put public in order to have it tested. But indeed we could put it in protected/private.


[hgrid] 'Email file(s) to me' links

We might add a feature that allows users to input an email address and have some OSF resource emailed to that address. This could allow OSF users to easily share materials with non-users.
This could also help any users behind institutional firewalls that disallow certain downloads but who have access to email. SSRN has this feature, and their proposed use case is for users in this situation.
My thoughts on this are riffing on @RaoulGrosser's suggestion here that users should be able to request an archive of a GitHub addon's contents be emailed to them.
If you have an SSRN account, you can see how their implementation works here or on any other paper posted there.

Will be considered when we refactor the email system. Thanks.


Maintainability: Clean and Clear Code

We have documentation as a metric, maybe maintainability is also relevant.
Maintainability:

If a stranger can modify your code and fix a bug in less than an hour, it is maintainable.

Test it. Ask someone who is outside of the project to take a look at your code and tell you how clear it is. Not how beautiful your classes and code constructs are—that’s what makes it clean. Instead, ask someone to fix a bug in just 30 minutes and see how they react. You will realize how clear the code is and whether it speaks the language a stranger can understand.

Full reference: https://www.yegor256.com/2018/09/12/clear-code.html

I'm not sure how is this related to D&I: would you like to stress that people with different backgrounds, genders etc should all be able to fix the bug in 30 minutes? This seems to be a rather extreme definition of maintainability as in practice developers would be (more or less) familiar with the code they are expected to maintain...

Thanks Alexander, good question.
Here is my reflection of what I thought:
I was not thinking about diversity here.
I assumed that creating an inclusive community involves reducing barriers
to participation.
I thought this "maintainability test" could indicate one barrier of entry
that is intrinsic to the code cleanliness and clarity.

This is a good point; however, "cleanliness and clarity" might be in the eye of the beholder, at least to some extent. Margaret Burnett and her team has worked on GenderMag to identify "gender bugs" in software. Based on differences in problem solving strategies of women and men they have created several personas representing those strategies, e.g., Abby embeds strategies more common among women and Tim embeds strategies more common among men. It might be the case that specific "cleanliness and clarity" aspects of the code make comprehension/maintainability more difficult for Abbys than for Tims.

I like the idea of applying a GenderMag approach beyond the user interface
to include source code.

Agree with  @aserebrenik   I think this can be a component of communication, or project place - issue tracker, but stand alone seems a bit odd.

My experience maintaining Augur has underscored the role of code readability in DEI work. More readable, understandable structure, which we achieved through refactoring work over the past year, has made it palpably easier to involve new contributors.

I would propose closing this issue or migrating it to another working group. I understand the perspective on inclusiveness, but looking at other metrics we have produced, this feels unusually oriented towards code.

I agree with this comment. I'm trying to think about where it would even go (other WG). My inclination is to simply close it.

Since the idea is almost four years old, I think closing it is alright. If it was more recent, I might suggest transferring it elsewhere, but I think it has had a lot of time to be out there.
Closing as invalid. 🎬


Replace pointer variable with local variable

There is no need to new and delete

@jsdosa I fixed it


Fix/remove helloworld

The "hello, world" application is now moved to a separate repository here https://github.com/Chymyst/helloworld

Current coverage is 100% (diff: 100%)

Merging #78 into master will not change coverage

@@           master   #78   diff @@
===================================
  Files          14    14
  Lines         828   828
  Methods       728   728
  Messages        0     0
  Branches      100   100
===================================
  Hits          828   828
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 2d855bf...5d98ca7


Angular v17 Upgrade: Events Feature Refactor

This major pull request refactors the entire events feature to the new standards of Angular v17. This pull request also rewrites most of the functionality to be more concise and readable, following the best conventions for future students in COMP 423 and 393, using everything we have learned so far.
This refactor also fully utilizes the new frontend pagination abstraction created in #456.
Once again, I am adding @jadekeegan and @atoneyd to this PR as reviewers, since this was the feature we worked on the most! @atoneyd, you can also see the first glimpses of the new age of pagination in our site - thank you for helping to get the first version working, which was the stepping stone that allowed the abstraction to be made!!✨ @jadekeegan, this PR also iterates on event registrations.
Managing State of Paginated Data
Intro
This refactor was the first one that featured pagination as the main form of data retrieval, marking the first usage of the Paginator<T> abstraction introduced in #456. This is a refactor using Angular v17. We can combine the signals functionality with the abstracted paginator to make our code much more readable and performant.
The Event Service
To use our abstraction, the new event service creates an encapsulated event paginator object, as shown below:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event.service.ts#L34-L36
The TimeRangePaginator is an implementation of the PaginatorAbstraction abstract class which specifically works with paginated data on a time range, where a start and end time are used as parameters.
Loading our new pages is extremely easy and is done in the getEvents() method, shown below:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event.service.ts#L47-L49
This method takes in an optional params field for the pagination's parameters. In the case that this is not supplied, a default time range parameter constant is used. This saves us a lot of repeated code elsewhere in the feature.
As mentioned in #456, .loadPage() takes in both params and an operator function in the case that the model returned by the API is not of the same type expected. Since our API returns EventJson, we can pass in parseEventJson into this parameter, resulting in paginated data of type Event.
Notice that, unlike the organization refactor ( #455 ), the service does not expose any signals. This is because, unlike with organizations, events does not have a single collection of events shared by every component. We only want to load the events we need for a page (the entire point of pagination), so sharing this data does not really make sense here. Not to mention, pagination parameters are component specific and based on query parameters. So, this management is left up to the components.
The rest of the service methods follow normal conventions and return observables.
The Event Page Component
Pagination truly shines in the event page component, which got the heaviest refactor - this component shrunk nearly in half after the refactor.
First, our component has a reactive page signal that stores the current paginated event data. This signal will update every time a new page is loaded to store the new page, allowing our page to dynamically update.
In addition, we previously needed to use a function to group event data by date. This functionality was moved into a new pipe called GroupEventsPipe. Now, the component also adds a computed signal which, when called (and the page updates), the signal uses the new pipe to expose grouped event data. This is done as shown below:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event-page/event-page.component.ts#L51-L55
The best part is that we can make our specific pagination parameters as signals. There are three parameters - one for the start date, end date, and any filter query. This is shown below:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event-page/event-page.component.ts#L56-L62
This functionality is great paired with an effect. The new component has an effect such that, when any of the pagination signals are updated, the page automatically refreshes with new data and the query parameters in the URL is updated:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event-page/event-page.component.ts#L81-L100
This is great, since our page now updates whenever a query parameter is changed - which is done when the search bar is edited, or when a user presses on the arrows to switch between pages.
The Event Detail Component
Nothing major changed in the event detail component's refactor, although some code has been cleaned up. This component still uses the resolver to load a single event. This is required for the titleResolver to run properly.
The Event Editor Component
The event editor has also been refactored to make the code cleaner and more concise.
In this refactor, the authentication functionality was moved to a new guard. Since this guard uses two different conditions to ensure that the user can access the page, I had to use the combineLatest RxJS method:
https://github.com/unc-csxl/csxl.unc.edu/blob/fcf9e16ced9da94d81ac41cefe3e622456117dbc/frontend/src/app/event/event-editor/event-editor.guard.ts#L45-L50
Notice though that this guard has to call the getEvent() function from the service - which repeats functionality in the event resolver. This means that when we open the editor, two GET API calls are performed. This is really unfortunate, and I tried many different approaches, none of them work.
The problem is that resolvers run before canActivate guards in Angular, so there was no way to use the resolver's event data in the guard. The only other idea I saw online was to perform a reroute in the resolver if the user is not an organizer, however I felt that this overloaded the resolver with functionality that it should not have - thoughts @KrisJordan?
Widgets
All widget HTML code was also updated to the new conventions!
Other Changes
Removal of the Event Admin Page and Gears
Throughout the refactoring process, I found the event admin component and related functionality merged in #402 needs to be reworked - so, I removed the admin page entirely. We will revisit this page once we get to the Angular Material 3 upgrade. No functionality is lost to the user with this removed, and the code becomes much cleaner.
Reversion to a Single Column Format
I have temporarily disabled the dual-column arrangement on the events page, since you recommended this @KrisJordan (@jadekeegan is very sad 😭)
I mainly disabled it because the code became much more concise - even if we add it back, I think the way it was implemented needs reworking.
File Structure Changes
There are not extremely major change to the file structure in the events page, however a new /pipe directory has been added to follow the conventions established in #455.
Future Considerations

There are a few things I noticed in the events frontend that I think could warrant some refinements to our backend. These are noted in #459.
We might be able to try to figure out a better construction to replace the existing titleResolver and the child route added to get it configured.
As @KrisJordan mentioned, it might be better for all admin features to be moved to a separate admin folder rather than individual feature folders. Since services are not declared in modules and are injected from root, feature services would be available to the Admin module. This might allow for our file organization to be cleaner.

Thank you for the review @KrisJordan! I fixed most of the comments, but I had some additional comments on the rest + some other things that I have noticed.

Yes, the date conversions here were extremely painstaking - in the first iteration of COMP 393, we ended up having to use the GB version to get everything working. We had issues with getting the native date selectors to work, as they reverted back to random / arbitrary times. I think, however, that the solution separating the Json model and the regular model may have solved the date problems we had - so, I will revisit this now and see if I can get things working standardized on ISO format!

For the resolver / guard issue, my first attempt actually was to use route.data - however, the result was undefined. Since resolver data is not loaded before the guard runs, the route's data is not set by the time the guard runs. Now, I think that this problem also kind of ties into the comment you made about profile()!, something I also seems off. In this case too, even if we protect the admin page with a guard, it would still be hard to pass this data directly in. We could have a profile resolver which loads a profile if logged in, or redirects the user if they are not logged in, but it also seems really anti-Angular to me. We could create some sort of guard that is loaded in the app module and then pass it around, but not sure what is best here.

This is not related to the CR comments, but something I wanted to ask about as we did this refactor. There does not yet seem to be a convention marking signal variables like we have $ for observables. In Swift state variables, we also use $, but preceding the name (as in $flashcards). Do you think we need to standardize on some convention to denote signals vs. non-signals? I can see, for example, organizations being more easily confused as a non-signal variable.

Well, it looks like the conversion to ISO strings was easier than expected!


ModuleNotFoundError - 'MessageSerializer', also 'MockSchemaRegistryClient'

Hi all
I am trying to use python-confluent-schemaregistry package.
Since pip install is not available, I did a git clone and then used the python setup.py install method.
The installation ended successfully with:
Finished processing dependencies for confluent-schemaregistry==0.1.1
But when creating some python 3 code like:
from confluent.schemaregistry.serializers import MessageSerializer, Util
from confluent.schemaregistry.client import CachedSchemaRegistryClient

or even
import confluent.schemaregistry.serializers

python cannot find both MessageSerializer and MockSchemaRegistryClient modules:
>>> from confluent.schemaregistry.client import CachedSchemaRegistryClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nvidia/kafka-test/python-confluent-schemaregistry/confluent/schemaregistry/client/__init__.py", line 17, in <module>
    from MockSchemaRegistryClient import *
ModuleNotFoundError: No module named 'MockSchemaRegistryClient'

>>> from confluent.schemaregistry.serializers import MessageSerializer, Util
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nvidia/kafka-test/python-confluent-schemaregistry/confluent/schemaregistry/serializers/__init__.py", line 12, in <module>
    from MessageSerializer import *
ModuleNotFoundError: No module named 'MessageSerializer'

This happens when installing the package system-wide and also in a virtualenv
And in python 3.5 and 3.6 also !!
any help on this issue ? Or is there a mistake on my side ?
regards

Apologize cause I was trying to use this by mistake, in python3 and not python2.
And more apologize for not mentioning it as long I realised it, but now... after some months!!
... closing it...


DNX project structure

Created DNX project structure and started migrating tests from NUnit to xUnit, don't know if it's worth it though.
Not yet possible to target CoreCLR (dnxcore50/dotnet) as Sprache doesn't provide supported packages.
Also NUnit doesn't yet target CoreCLR, but they are planning on it in v3.0.0 issue here.
Since it's not yet possible to target CoreCLR, maybe it would be sufficient to migrate to NUnit-3.0.0 and target CoreCLR once Sprache and NUnit supports it?

Not yet possible to target CoreCLR (dnxcore50/dotnet) as Sprache doesn't provide supported packages.

I think if it works out Sprache is not so difficult to migrate, assuming they will accept a pull request. The .NET Compatibility analysis showed only a reference to System.Threading.Thread to get the current Culture in a unit test.

Since it's not yet possible to target CoreCLR, maybe it would be sufficient to migrate to NUnit-3.0.0 and target CoreCLR once Sprache and NUnit supports it?

I think NUnit in 3.0 also takes an opinionated approach to help developers into the Pit of Success. I honestly don't like that approach when it comes to tooling (as opposed to frameworks), but since all things are equal and xUnit is x-platform today.. let's take a deep breath and fall in.


fix: Updates client get method

Resolves #5 and #6
This PR adds handling of timeout (10 seconds) and adds check for request success.

added @Toreno96 as reviewer post our meeting earlier, thanks :)

@Toreno96 thanks for the review, updated client

@Toreno96 does this look okay to you? if so, I can ask @martinalbert to squash and i'll merge?

@ViolanteCodes yes, LGTM! ✅


FinalizerHandlerTest.finalizerThatInvokesDmlShouldCauseException

Expected Behavior
Test classes should run without problems in existing orgs. The test classes of the Apex Trigger Actions Framework should run in existing orgs regardless of customizing, e.g. validation rules.
Actual Behavior
The test method finalizerThatInvokesDmlShouldCauseException of the test class FinalizerHandlerTest fails if a validation rule exists for the account.
Steps to Reproduce the Problem

Deploy framework into an scratch org.
Create validation rule on object Account, for example: ISBLANK(BillingStreet)
Run FinalizerHandlerTest.finalizerThatInvokesDmlShouldCauseException
Monitor test result: System.AssertException: Assertion Failed: The exception should have the correct message: Expected: DML is not allowed within the finalizer context., Actual: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Billing Street required: [BillingStreet]

Specifications

Version:
Platform:

"Test classes should run without problems in existing orgs"
I'm not sure this is true...
This is certainly not the case for packages on the app exchange. As a package developer, we can't really be responsible for what the subscriber has in their org - particularly when DML operations are performed.
I suppose we could mock the Limits class to insulate as much as possible, but there is only so much we can do.
Also, package tests are executed at package version generation time - not version installation time, so the tests should always be protected from whatever is in the subscribers org.

@mitchspano in general, I agree that tests with DML statements in packages won't work in most subscriber orgs. But in this case, it looks like the test is doing insert new Account(Name = 'Acme'); - you could change it to do a (pointless) update on user instead, and it would work in all orgs. Something like update new User(Id = UserInfo.getUserId());

@mitchspano: Yes, regarding managed packages (on the AppExchange) you are absolutely right. I thought this should be true as well for frameworks, which can be deployed without installing a package, as I did in the past with the fflib packages or the trigger framework of Kevin O'hara, etc. I thought it would be great if no one has to adjust the coding to get the framework working in their org and for updates to be able to simply over-deploy without manual adjustments on every update of the framework.
@jongpie: Thanks for the idea, that should work out.

@jongpie: I thought I would quickly provide a PR in my lunch break. I was surprised that it didn't work out:
Update failed. First exception on row 0 with id 0051l0000095WUqAAM; first error: APEX_DATA_ACCESS_RESTRICTION, In parallel Apex tests, DML operations aren't permitted on this type of object: User: []
https://ideas.salesforce.com/s/idea/a0B8W00000GdZgcUAF/allow-dml-on-user-object-for-parallel-testing-apexdataaccessrestriction
My next idea of update new Organization(Id = UserInfo.getOrganizationId()); doesn't work as well, since "DML operation Update not allowed on Organization".
Any other ideas?

This issue is also affecting our org since the tests are included in LocalTests for deployments. I've updated the test locally, but would love a solution that doesn't require reimplementing when updates are installed.
@benjaminloerincz
Would using Database.setSavepoint(); work here, as it would increase the DML limit used? Or does it have to be an sobject?


Better PSO initialization errors

Currently what I get is DescriptorInit(some_id, some_option). It would be great to at least return the name of the thing that's getting not found or mismatched. Problem is - we'd optimally want to borrow these names from ProgramInfo instead of cloning them in order to avoid heap allocation. However, some of the PSO constructors in src/render/factory.rs are linking the program inside them, so they can't return anything out that's bound to the program lifetime...
Perhaps, we could use Cow<str> there? Getting understandable errors here is extremely important to assist people debugging their code.

After some thinking I figured that the best way would be to have something like PsoError<S>, where S = &'a str when passing the program handle (no allocations!), and S = String otherwise. Some boilerplate is required to convert between PsoError<&'a str> to PsoError<String> but otherwise should be efficient and ergonomic.


update exit started event

in fav: https://github.com/omgnetwork/omg-childchain-v2/pull/189

in fav: https://github.com/omgnetwork/omg-childchain-v2/pull/189


Convenience expectation on functions is not working with Normals?

On v0.7
julia> using Expectations

julia> dist = Normal()
Normal{Float64}(μ=0.0, σ=1.0)

julia> E = expectation(dist);
julia> E(x-> x)
2.889272167366858e-17

julia> expectation(x->x, dist)
ERROR: MethodError: no method matching expectation(::getfield(Main, Symbol("##23#24")), ::Normal{Float64})
Closest candidates are:
  expectation(::D<:Distribution{Univariate,Continuous}, ::NT) where {D<:Distribution{Univariate,Continuous}, NT} at C:\Users\jlperla\.julia\packages\Expectations\062z\src\iterable.jl:133
  expectation(::D<:Distribution{Univariate,Continuous}, ::NT, ::Type{#s13} where #s13<:ExplicitQuadratureAlgorithm; kwargs...) where {D<:Distribution{Univariate,Continuous}, NT} at C:\Users\jlperla\.julia\packages\Expectations\062z\src\iterable.jl:133
Stacktrace:
 [1] top-level scope at none:0

I would add these sorts of things to the tests.    Should https://github.com/econtoolkit/Expectations.jl/blob/master/src/iterable.jl#L273 perhaps be calling _expectation instead of expectation?
I would remove the _expectation export from https://github.com/econtoolkit/Expectations.jl/blob/master/src/Expectations.jl since it is a private function.  Finally, are you sure we want to do the following?  If the tests pass, I think it may be better to let the users of the library deal with their namespaces.
using Reexport
@reexport using Distributions

Good catch. Let me investigate.

cc: @jlperla
So first impression is that this stuff is already in the tests:
@test expectation(x -> x, testDist7, z) == E_9(x -> x) # Grid one.
@test expectation(x -> x, testDist4) == E_4(x -> x) # Standard normal/Gaussian continuous.
@test expectation(x -> x, testDist) == E_1(x -> x) # Discrete one.

I wonder why this is broken for you. Could it be an old copy of the package?

Closing because I tested on my machine (1.0.0, because Arpack or something required it), and it worked.

On a fresh v0.7 installation, I do not have that problem.  Who knows.


Offtopic: please add an SSL certificate to your website...

I am sure you guys put a lot of time and effort in this project but some basics still apply. Not having a ssl certificate on your website anterion.ai makes people think you might be bunch of amateurs. Let's encrypt provides free ssl certs for your website. Please use it. Good luck with your project and startup.

Thanks Rodger, we’ll add it to the list for today!


Updated docs and replaced outdated speed-racer

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on renaming and restructuring the Unreal SDK within the project, transitioning from unreal to unreal-engine, while updating references, icons, and documentation accordingly.
Detailed summary

Renamed unreal to unreal-engine in various files.
Updated icon paths in Header.tsx and sidebar.tsx.
Added a new redirect structure in redirects.mjs.
Updated metadata for Unreal Engine SDK in multiple .mdx files.
Introduced new wallet management functions for in-app and ecosystem wallets.
Removed obsolete assets and files related to the previous structure.
Updated package dependency version for @dirtycajunrice/klee.
Enhanced documentation for Unreal Engine SDK features and functions.

The following files were skipped due to too many changes: apps/portal/src/app/unreal-engine/blueprints/utilities/nodes.ts, apps/portal/src/app/unreal-engine/blueprints/in-app-wallet/nodes.ts, apps/portal/src/app/unreal/blueprints/smart-wallet/nodes.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4903  👈
main

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

Join @dirtycajunrice and the rest of your teammates on  Graphite


mesos-dns: bump to official 1.13 tag

High-level description
Proper release of mesos-dns for DC/OS (fixes the reported version).
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-5151 mesos-dns reports version "dev" instead of "1.13".

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: not user facing.
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: no functional changes.
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/mesosphere/mesos-dns/compare/28427c25d147e2324452702fda50f42a5dd8723b..857ceb94d223971ab4164fd41992369fc7f31c5b
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot label ready for review


When creating NFT, specify that zero sell amount means not puting the NFT for sell

Is your feature request related to a problem?
When creating NFT, specify that zero sell amount means not puting the NFT for sell
Describe the solution you would like
I would like to see

a warning stating that zero sell amount means not puting the NFT for sell
a click box that presents selling the nft as an option (true by default) and then the price dropdown shows when this box is clicked

I prefer the second option
Describe alternatives you have considered
warning or click box
Screeenshots

[V] Put NFT on Sell
[ Price Box ]

good catch! I'd like to see the combination of two:

toggle button which says "List NFT for sale", toggled by default
upon untoggling the t,oggle price input bar disappears
preselected price in price input bar should be > 0 (0.1 is good)
reducing the price to 0 shows warning "In order to list NFT, price has to be more than 0"

👋


Add docs for EmulationVersion alpha

https://github.com/kubernetes/enhancements/issues/4330
KEP-4330
PR: https://github.com/kubernetes/kubernetes/pull/122891

(nit)
/retitle Add docs for EmulationVersion alpha

/sig api-machinery

Hello @siyuanfoundation :wave: please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday March 12th 2024 18:00 PST. Thank you!

Looks like this is no longer needed for v1.30; is that right?

/hold
@siyuanfoundation Kubernetes 1.30 is releasing today.
This PR will need to be targeting the dev-1.31 branch once it is available. Our team will keep you posted.

You can reopen this in the next release cycle and target dev-1.31. Thanks! :)


[strict] Enforce no-dup-keys

This fail otherwise in strict mode.
Fix https://github.com/callemall/material-ui/issues/1918.

:+1:
It should've been there already.


Subrun value is always 0 on REve display

See for example

Yes, that is never filled, but I can add it, should be easy mostly these numbers were a test of being able to pass to the GUI. GUI development is my next job


CMM Error When Running "ccm create"

I get this error when trying to do “ccm create –v 2.1.9 –n 1 mycluster” on my Windows laptop:
BUILD FAILED
C:\Users\prebolab.ccm\repository\2.1.9\build.xml:348: artifact:pom doesn't support the "groupId" attribute
I believe I have the latest version of ant which is mentioned here:
http://wiki.apache.org/cassandra/RunningCassandraInEclipse#artifact:pom_error
Would anyone have any recommendations?
Thank you.
Brian

What version of the JDK are you using?

jdk1.8.0_40

So your ant is version 1.9.4 or greater, then?

Also, you are using the newest source code of CCM, yes?

I can confirm that jdk1.8.0_51 with ant 1.9.4 on Windows 10 with the newest CCM does compile, so this is going to end up being some sort of environmental issue.

Apache Ant(TM) version 1.9.6 compiled on June 29 2015
I installed CCM from ccm-2.0.2.tar.gz.

Using Windows 7 Enterprise SP1.

Okay, well the newest ccm version was <IP_ADDRESS>, and I just released 2.0.5 seconds ago. Can you try 2.0.5? You can either get it from pypi, or by installing from source (this repository).

I downloaded 2.0.5 from https://pypi.python.org/pypi/ccm/2.0.5, however, I get the same error.  I attached the full log file.

Buildfile: C:\Users\prebolab.ccm\repository\2.1.9\build.xml
init:
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\build\classes\main
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\build\classes\thrift
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\build\test\lib
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\build\test\classes
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\src\gen-java
[mkdir] Created dir: C:\Users\prebolab.ccm\repository\2.1.9\build\lib
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
[echo] Downloading Maven ANT Tasks...
[get] Getting: http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
[get] To: C:\Users\prebolab.ccm\repository\2.1.9\build\maven-ant-tasks-2.1.3.jar
maven-ant-tasks-init:
maven-declare-dependencies:
BUILD FAILED
C:\Users\prebolab.ccm\repository\2.1.9\build.xml:348: artifact:pom doesn't support the "groupId" attribute
Total time: 4 seconds
Buildfile: C:\Users\prebolab.ccm\repository\2.1.9\build.xml
init:
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
maven-ant-tasks-init:
maven-declare-dependencies:
BUILD FAILED
C:\Users\prebolab.ccm\repository\2.1.9\build.xml:348: artifact:pom doesn't support the "groupId" attribute
Total time: 0 seconds
Buildfile: C:\Users\prebolab.ccm\repository\2.1.9\build.xml
init:
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
maven-ant-tasks-init:
maven-declare-dependencies:
BUILD FAILED
C:\Users\prebolab.ccm\repository\2.1.9\build.xml:348: artifact:pom doesn't support the "groupId" attribute
Total time: 0 seconds
--- Cassandra Build -------------------
ant jar failed. Retry #1...
ant jar failed. Retry #2...

Well now the important thing to check is to see if this is CCM's fault. Can you download the C* source yourself via git, and see if you can compile 2.1.9 separately?
git clone https://github.com/apache/cassandra
cd cassandra
git checkout cassandra-2.1.9
ant

Thanks for the help by the way.  It does look like 2.1.9 has the error when I compile it.
C:\cassandra\cassandra>ant
Buildfile: C:\cassandra\cassandra\build.xml
init:
[mkdir] Created dir: C:\cassandra\cassandra\build\classes\main
[mkdir] Created dir: C:\cassandra\cassandra\build\classes\thrift
[mkdir] Created dir: C:\cassandra\cassandra\build\test\lib
[mkdir] Created dir: C:\cassandra\cassandra\build\test\classes
[mkdir] Created dir: C:\cassandra\cassandra\src\gen-java
[mkdir] Created dir: C:\cassandra\cassandra\build\lib
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
[echo] Downloading Maven ANT Tasks...
[get] Getting: http://repo2.maven.org/maven2/org/apache/maven/maven-ant-ta
sks/2.1.3/maven-ant-tasks-2.1.3.jar
[get] To: C:\cassandra\cassandra\build\maven-ant-tasks-2.1.3.jar
maven-ant-tasks-init:
maven-declare-dependencies:
BUILD FAILED
C:\cassandra\cassandra\build.xml:348: artifact:pom doesn't support the "groupId"
attribute
Total time: 0 seconds
C:\cassandra\cassandra>

Well this is at least somewhat good news. I recommend you go to the #cassandra irc channel on freenode, or email the user mailing list with your problem. They should be able to help.

Ok - thank you.


added zenodo doi

@JosePizarro3 FYI

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.309%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
2027

Relevant Lines:
2524

💛  - Coveralls

And in the How to cite part of the readme :-)

Can you approve/review @JosePizarro3 ?

Cannot you bypass the protection?

Yes of course, I just wasn't sure how important it was to you. I will do so in the future in cases that it is obviously ok, sorry :flushed:


Set up GH Actions

Experiment with GH Actions instead of Travis

Oh boy this is frustrating and weird.

Caching resources

https://sarunw.com/posts/caching-dependencies-in-github-actions/
https://github.com/actions/cache
https://github.com/ReactiveCocoa/ReactiveCocoa/blob/master/.github/workflows/master.yml

Build actions from the marketplace were rather limited

https://github.com/marketplace/actions/xcode-build
https://github.com/marketplace/actions/xcode-test
https://github.com/devbotsxyz/carthage-bootstrap/

So!
This is intended to replace Travis, which I couldn't get to run anymore. this PR is blocked by Travis, too,  you see.
What do y'all think about dropping our Travis build in favor of GitHub Actions? I have barely figured out how to make this work, and we're currently not testing Xcode 11 or Swift 4.2 builds with this. :/
Help would be appreciated (and much needed)

@DivineDominion Thanks for all this work. I've put aside some time for myself tomorrow to look at this in detail.

@mjarvis Did you have a change to look at this? What do you think of it?

@dani-mp @mjarvis Pinging for feedback if you think GH Actions are the way to go and f you spot any errors in the setup. I am considering to drop the annoying-to-figure-out cache setup and live with builds taking 10mins in total instead.


Change flags for Kurdish, Kurmanji and Sorani

Motivation
Kurmanji is spoken in many countries, currently we use the Syrian flag, we should use a non-political flag. Sorani is spoken in two countries, one being the autonomous region of Kurdistan, maybe it would also be good to change the flag.
Proposed Solution
Create a flag/flags similar to the Arabic and Farsi flags - theoretically we only need Kurmanji and Sorani, but for that to work we need issue INFRA-214 closed (merging Kurdish and Kurmanji).
Alternative
Only substitute Kurmanji - Sorani is only spoken in two countries and we have those flags in the system.

Just for reference: New flags have to be added to my fork of the flagpack library before we can use them in the Integreat CMS:
https://github.com/timoludwig/flagpack-dart-sass


Update Azure Front Door settings

Update the Azure Front Door experience:

For non-prod apply standard without managed rulesets
For prod apply premium with managed rulesets
Add IP address restrictions across all environments (not hidden behind network_isolation flag)

migrated to 1852533


Accessibility checks and changes

ACCESSIBILITY REPORT
Page titles: The page title was already implemented. No issues found.
Image text alternatives: Issues found: Alts were already in the document, but we updated a couple of alt texts (remove "icon" word).
Text headings: Hierarchy was already in place, no need to refactor headings. No issues found.
Color contrast: Issue found: Updated card titles to increase contrast and thus readability, with a black background.
Resize: Issues found: The text didn’t get larger when you change the setting in Chrome, so we changed all font sizes from px to em. Font changes to large and small don’t crop texts (no issues found here).
Interaction: Web page interaction with the keyboard was already in place for the current document. No issues found.
Moving content: The page has no moving elements but the title logo, but it does not blink or flash. No issues found.
Multimedia: No video or audio in portfolio (yet..). No issues found.
The basic structure of the page: The webpage was tested without CSS (deleted using devtools), the structure seems logical and there's no need for extra refactoring. No issues found.

no need to refactor headings.
Color contrast: Updated card titles to increase contrast and thus readability, with a black background.
Text readability: Text as an image is not present. The text do

Your report should also include:

Resize

Each point on the list needs to include the result of your evaluation:
If everything was ok, make a statement about that (e.g. "Page titles - no issues found").

Hi @bimbolabuari, I received the email from your review, but I still see the "Review Pending" status (even after refreshing several times) in my Dashboard Progress. Should I contact student success or something? Thank you.


image size in reveal presentation

when i insert image for presentation they are usually horizontally or vertically off the screen . i tried to manipulate themes/hugo-academic/assets/css/reveal_custom.css by adding following lines:
.reveal img {
  max-width: 100%;
  height:auto;
}

and nothing changed.
i also manipulated  themes/hugo-academic/assets/css/reveal.css but it didnt help.
how can i make images fit to the screen?
also i tried to fit images to slide by filling the slide with image as background by {{< slide background-image="slayt2.PNG" >}} but that also didn't help.

forgot to mention, in #796 it was mentioned to have custom theme for slides, I wasn't aiming for that, I was want to fix the issue of filling whole slide with image for ANY theme I choose to use

Have you tried using the Figure shortcode (refer to the Academic and Hugo docs)? With figures, you can specific the image size.

as you said, i tried to shortcodes like this;
{{< figure src="slayt2.png" width="100%" >}} but  this type contains a blackframe and dont want to frame my figure .As i ask before, i want to fit images to slide by filling the slide with image as background. I want a setting to change the background.


MaxDist approach for extraction of boxes

Codecov Report

Merging #18 into master will decrease coverage by 1.84%.
The diff coverage is 74.07%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
- Coverage   66.12%   64.28%   -1.85%
==========================================
  Files           6        7       +1
  Lines         124      140      +16
==========================================
+ Hits           82       90       +8
- Misses         42       50       +8

Impacted Files
Coverage Δ

src/MaxDist.jl
0% <0%> (ø)

src/IBC.jl
97.29% <100%> (-2.71%)
:arrow_down:

src/CharibdeOptim.jl
85.71% <100%> (ø)
:arrow_up:

src/DiffrentialEvolution.jl
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58ecc73...a2b3b27. Read the comment docs.


Test against latest Go versions

See also https://github.com/etix/mirrorbits/issues/84
The go_import_path setting allows forks to run Travis builds otherwise it will use the wrong path and fail like there.

Didn't know go_import_path existed. Thanks a lot!


replaced use of url function with use of path function to fix issue #113

replaced use of url function with use of path function to fix issue #113
Fixes: #113

Shouldn't this be applied to L67 and L75 too here: https://github.com/Lagaffe/bolt-translate/blob/946950b5f694b1de00f7a2359be84128c70f63fa/templates/fields/_locale.twig#L67-L75 ? Or does this only apply to the switcher?

As far as I know it only applies to the switcher. I've tested the preview and view buttons and they seem to work.

Alright, in that case I'm merging, and we'll revisit those other links at a later stage :)


modify some test in imageMagick

Pull Request Test Coverage Report for Build 461

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.3%) to 82.989%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/commons/util/ImageMagickUtil.java
3
78.46%

Totals

Change from base Build 459:
0.3%

Covered Lines:
1971

Relevant Lines:
2375

💛  - Coveralls


Automated Package Upgrade

:tada: This PR is included in version 27.1.56 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cloudwatch get metric data return by period

addresses localstack/localstack#3493

This is now part of moto >= 1.3.17.dev241


How can subtract a Linear Expression from another Linear Expression

What version of OR-Tools and what language are you using?
Version: v9.6
Language: Java
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Mac 12.6.4
What did you do?
I Created two Linear Expression say LE1, LE2. I have an equation of the form of LE1-LE2.
So basically i want to subtract LE2 from LE1. There is a sum function in CPModel to create sum of Linear Expressions. I want to use that , But how do i create the expression -LE2 from LE2.
What did you expect to see
I want to create negative of Linear expression
What did you see instead?
I do not see any way to create a Negative linear expression from a Linear Expression.
Make sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment
No

LinearExprBuilder().add(l1).addTerm(l2, -1).build()

LinearExpr.newBuilder().add(expression1).addTerm(expression2, -1).build()
this worked for me . thanks @lperron


Update Travis settings for Xcode 9.4

Also integrates @ashfurrow’s patch from #4051.

Codecov Report

Merging #4249 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #4249   +/-   ##
=======================================
  Coverage   87.76%   87.76%
=======================================
  Files          46       46
  Lines        5738     5738
=======================================
  Hits         5036     5036
  Misses        702      702

Impacted Files
Coverage Δ

AFNetworking/AFURLResponseSerialization.h
90% <ø> (ø)
:arrow_up:

AFNetworking/AFURLResponseSerialization.m
89.34% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d135b74...9c2742c. Read the comment docs.


[catch2] failure when trying to install from head

Host Environment

OS: Ubuntu 20.04 (native, WSL2), Ubuntu 20.10 (native), Windows 10
Compiler: n/a

To Reproduce
Steps to reproduce the behavior:
./vcpkg install --head catch2
Failure logs
catch-failure.txt
Additional context
This is specifically for catch2; I have no issue with ./vcpkg install --head catch, which I believe to be an alias for catch2.

@cjdb ,catch2 have updated to 2.13.7,Could you please update your vcpkg and try again?


element-desktop: add darwin support

Description of changes
Unpacks the original macOS binary from https://packages.element.io/desktop/update/macos/index.html.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Do you have problems with element-desktop on darwin? For me it already works fine with the current from-source variant on aarch64-darwin.

@leona-ya , good point...
I had this issue when trying to test on nixos 23.11:
error: Package ‘element-desktop-1.11.59’ in /Users/elian/Projects/nixpkgs/pkgs/applications/networking/instant-messengers/element/element-desktop.nix:147 is not available on the requested hostPlatform:
         hostPlatform.config = "x86_64-apple-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
         ]
         package.meta.badPlatforms = [ ]
       , refusing to evaluate.

Seems that element-desktop is building just fine on master, but for some reason I didn't bother to check. 🤦🏻
Thanks!


Add syndie satchel, buff syndie backpack, abstract bag parents

About the PR

Adds the syndicate satchel to the game since syndies already had backpacks and duffels (sprite by Dutch-VanDerLinde). It is explosion-resistant and one row larger than a regular satchel.
Buffs the syndicate backpack storage by one column to give it an additional benefit like the duffelbag.
Adds a missing description to the syndicate backpack.
Created base abstract parents for the backpack, satchel, and duffelbag and change all relevant bags to use these abstract parents instead of being parented off of the default backpack.

Satchels from https://github.com/space-wizards/space-station-14/pull/27398

Why / Balance

Syndie satchels are necessary for my drip game and it's odd we don't have them yet.
Technical details

Abstract parents are needed for the different bag types because it's just good practice to not parent off of used entities, someone might make a change to backpacks thinking it only affects backpacks and it cascades to all 3 bag types in the game.
I thought about changing the Id of all the bags to reflect the new parent base since every id currently has "Backpack" in the name but decided it would be way too disruptive of a change for no reason.
Parenting changes:

ClothingBackpack -> ClothingBagBackpackBase
ClothingBackpackDuffel -> ClothingBagDuffelBase
ClothingBackpackSatchel -> ClothingBagSatchelBase

Media

https://github.com/user-attachments/assets/437c3607-5c64-4b9d-8a5c-41a5b2f49f6a
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: The syndicate satchel is now available for purchase in the uplink.

YES. YES. YES. SYNDRIP IS A NECESSARY FEATURE

Wheeeeee.


Remove workarounds (HA-core updated to aiohttp 3.10.1

Summary by CodeRabbit

Chores

Streamlined the changelog by removing the "ongoing" section for clearer version-specific updates.
Simplified the testing script by removing outdated code related to the aiohttp library, improving maintainability.

Fixes #600 596

Fixes #596

Should we remove the patch-dir/-file too?

Oops :)


Generate bash tags fo4 support

Many bash tags, while still not yet present in Wrye Bash, are currently available within the less than ideal Mator Smash framework. I hence added rudimentary support for fallout 4 (which was relatively straightforward, since most record types are just skyrim's ported over, little work had to be done here) and added a warning message to fallout 4's main message, reflecting the situation.

Cancelled pull requestr as GenerateBashTag script was updated.


Add null flow asset check when calling StartRootFlow

Hello! First of all, amazing plugin and thanks so much for making it open source 🙏🏼
My first time testing things out I accidentally just called FlowSubsystem->StartRootFlow in blueprint with no flow asset and it crashed. This fix adds a simple null check and uses the message log to surface the error to the designer. I know you haven't used FMessageLog much in the plugin so far but I find it extremely helpful to get an in-your-face error for blueprint things like this. I also decided to put the null check directly in the StartRootFlow function since it is the blueprint callable function. Calling CreateRootFlow with a null asset will still crash, but you've got the check in CreateFlowInstance and it's native only so a programmer should know what's up.
Cheers!

Change accepted, thanks! :)
Only applied cosmetic readability changes :)


What injection/build.

I've tried debug build and tried injecting with manual map & loadlibrary but both just crash.
What injector did you use? or Build version
Injectors used 'TheKruz' but modified and 'Extreme Injector' default
here's the SS of where is crashes I'll try to fix but 🤷  Edit: Fixed

You should use release x64 when building and it should work if you successfully updated all the stuff inside the code.

You should use release x64 when building and it should work if you successfully updated all the stuff inside the code.

Yea, I'm updating things now I'm trying to get the updated sig for 'MATERIAL_SYSTEM2_DLL' because the current is outdated/not working

memory.cpp:370 "48 89 5C 24 00 48 89 6C 24 00 56 57 41 56 48 81 EC 00 00 00 00 48 8D 0D"
haven't found the new one yet but here is where my crash is being called.

here what i got to show up so far in console. only updated a few sigs that I could.
but after saying 'found 256' it crashes 🤷

here what i got to show up so far in console. only updated a few sigs that I could.
but after saying 'found 256' it crashes 🤷

build on publish and it should work, or at least will tell you the errors you have to fix!


Add a shortcut notation to rules dsl

This allows creating null routes or empty compiler rules with the following notation:
compile '/foo/', nil
route '/foo/', nil

As it currently stands, the shortest way to do these is this:
compile('/foo/') {}
route('/foo/') {}

or this:
compile '/foo/' do
  nil
end
route '/foo/' do
  # nothing
end

.. Neither of which feels as clean as the shortcut notation.

I have decided not to pull this change. I feel that this tiny change adds too much extra complexity for what it’s worth.

Sounds reasonable. Thanks.


Co-op Custom Game Settings

When trying to start a game with custom settings, after selecting custom settings there is no setting page which comes up as in singleplayer. How do I set the custom settings for a multiplayer game? Such as turning player dialogue off.

Experimental ability to use custom experience mode was added, but still is not properly tested, you can use it on your own risk but we not promise that every option there is working for sure.


Enormous volume of location reports from one specific device

We recently encountered an issue where one of our beta users was sending through an enormous volume of location requests.  We saw nearly 14,000 such requests in a 60 minute period.  We were able to track down the user and get him to force close the app and that stopped the massive surge of requests.  Clearly, this was an issue both for his phone's performance and questionable for our API if this happened across a large userbase.
We're using a vanilla implementation of this plugin, based largely on the example in the README.
What would cause such a massive request surge?  We're using the same settings (accuracy 10, stationaryRadius 20, distanceFilter 30) that are in the README example.
It's possible (we're trying to confirm) that the user disabled the GPS on his device during the time in question.
Any suggestions on where we should look for the root cause of this issue?
Thanks so much.

FYI Android has been completely refactored in Premium Version

No more in-plugin HTTP -- plugin now calls your Javascript callback, just like iOS
Significantly improved battery performance

http://christocracy.github.io/cordova-background-geolocation/


antisense RNA

4 genes are annotated to FYPO:0002913 increased antisense RNA transcription from two papers
(atf1 is annotated to the child increased antisense RNA transcription at stress response genes)
I had a quick look at the papers and it looks like it they should be annotated to
"increased antisense RNA level"
so FYPO:0002913 can be merged into FYPO:0003557?
and the term used for atf1 be renamed?
PMID:25122751 and PMID:24100010

No, we keep transcription and RNA level terms separate because they don't actually mean the same thing: a difference in RNA level may be due to changes in transcription or degradation. It's also possible to do assays that look specifically at transcription, although they're not done nearly as often as simply measuring RNA levels.
I can recast FYPO:0003908 as an RNA level term, because it has never had a logical definition and has only been used for that one atf1 annotation. But I won't merge the more general terms.

FYPO:0003908 now rejigged.

Yes I know they don't mean the same thing, I thought that in these papers the authors were measuring RNA level, not transcription. I guess I meant 'renaming' rather than 'merging'. Whatever works :-)

edit file: 36a0132ad81c1ca6c58d5359cde67b290188929d
release: 26871d42eabe9730906d4a2e850f973d24f88ad8


added my season of docs proposal

Extremely sorry for the noise @ElizabethN
I opened many PR's for such a small issue😅🙏 I have closed all of them now. I'll make sure to make right commits from now on.
And a big Shoutout to @vchrombie for helping and guiding me to solve this issue⭐🙏


About 3d detection scenario

Hello. Thanks for your work. I am currently doing some researches about 3d object detection, and I found that most datasets come from autonomous driving, where the cameras are installed in the cars. Are there any current datasets using the cameras fixed by the road, capturing the cars and people in the scene?

Thank you. I am downloading your dataset like KITTI and nuscenes. However, I feel confused about what to download and how to process when seeing your document in https://github.com/open-mmlab/mmdetection3d/blob/master/docs/zh_cn/data_preparation.md.
Take KITTI as an example, the documents only mentioned that I should download the files. However, there are tens of files needed to be downloaded, and I felt confused about which is needed. Also, I am not sure how to place the downloaded files before I process them.

And so do nuscenes. I am unsure about which to download and how to place the files.

For KITTI, please go to this page and download the lidar/images/calib/labels files.
For nuScenes, please download the "Full Dataset (v1.0)" for 3D detection task.

Because the following discussion will not be about the original issue title, we will close it temporarily. Please feel free to pose new ones for other questions.


fix(paths): disallow matching current or parent directory

Issue from https://github.com/esbuild-kit/tsx/issues/42

:tada: This PR is included in version 4.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1487 ms

Resolved: Bofrost.at performance has improved in 0c7dccd after 6 minutes.


My game for the Penny's Big Breakaway Sprig Jam

Making the game was fun
Your checklist for this pull request
Author name
Author:
OHIO-Man
About your game
What is your game about?
My game is a roguelike game where you explore randomly generated levels, fight enemies and eventually fight the final boss
How do you play your game?
Controls:
WASD to move
IJKL to attack
The Game:
Explore a randomly generated world where you have to use
your yoyo to fight penguins and eventually fight the
emperor at the end.

To buy an item at the shop, just step on it and it'll be
bought.
Here are the items, their prices, and their effect:
Item    |    Effect    |    Price

------------+--------------+-------------
Appel   |  Heals by 1  |      2
Borgor   |  Heals by 2  |      5
Spool   |  Str Len +1  |      10
Cool Yoyo |    ATK +1    |      15
There are also spikes that you have to dodge.

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[ ] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

I hope so.

Mainly "The Binding of Isaac".


Prevent mvkv from writing more than one abort to abortChannel

Describe your changes and provide context
This should protect against instances where the panic associated with the abort is swallowed / recovered, since we want to avoid potentially writing MORE aborts than size of abortChannel.
Testing performed to validate your change
Existing tests, PoC verification TODO

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

Project coverage is 61.23%. Comparing base (3c6e9f6) to head (79ca97d).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1599      +/-   ##
==========================================
+ Coverage   61.22%   61.23%   +0.01%
==========================================
  Files         366      366
  Lines       26114    26114
==========================================
+ Hits        15988    15992       +4
+ Misses       9119     9116       -3
+ Partials     1007     1006       -1

see 1 file with indirect coverage changes


Remove version: hrzlgnm.mdns-browser version 0.6.3

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/hrzlgnm/mdns-browser/releases/download/mdns-browser-v0.6.3/mdns-browser_0.6.3_x64-setup.exe
OK
(Automated message - build 923)


Native Terraform/OpenTofu function templatestring() does not work in Terragrunt as a builtin function.

Describe the bug
A new function templatestring() was added in Terraform 1.9 and Opentofu 1.7. This New function does not work when attempting to use in terragrunt as a built-in function https://terragrunt.gruntwork.io/docs/reference/built-in-functions/#terraform-built-in-functions, both when using the Terraform binary and the OpenTofu binary.
Steps To Reproduce
Define locals block that uses function templatestring().
example/terragrunt.hcl:
locals {
  template = "$${stage}-test"
  name = templatestring(local.template, { stage = "staging" } )
}

inputs = {
  name = local.name
}

example/main.tf:
variable "name" {}

resource "aws_sqs_queue" "example" {
  name  = var.name
}

Expected behavior
Here is the expected behaviour
$ terragrunt init

OpenTofu has been successfully initialized!

Here is the actual behaviour
$ terragrunt init

ERRO[0000]   on /.../example/terragrunt.hcl line 7, in locals:
ERRO[0000]    7:   name     = templatestring(local.template, { stage = "staging" })
ERRO[0000]
ERRO[0000] with
ERRO[0000] local.template as "${stage}-test"

ERRO[0000] There is no function named "templatestring".

Versions

Terragrunt version: v0.59.6
OpenTofu Version: v1.7.2
Terraform version: v1.9.2

Additional context
Function works properly when defined directly in .tf file using opentofu/terraform
example/main.tf:
locals {
  template = "$${stage}-test"
  name = templatestring(local.template, { stage = "staging" } )
}

resource "aws_sqs_queue" "test" {
  name = local.name
}

$ terragrunt init

OpenTofu has been successfully initialized!

Hey @begemotik , this is a good request, but not a priority right now.
Could you provide any reasons why this should be prioritized higher? I imagine most folks needing this functionality would simply use run_cmd right now.

Is it possible to update the documentation if going forward Terragrunt doesn't plan to support all built in Opentofu/Terraform functions. Can lead to a little confusion https://terragrunt.gruntwork.io/docs/reference/built-in-functions/#opentofuterraform-built-in-functions

Is it possible to update the documentation if going forward Terragrunt doesn't plan to support all built in Opentofu/Terraform functions.

Sure thing, I can update that.
To be clear, we're not refusing to support this, we're just trying to prioritize effectively. If there's a use-case that requires this behavior, we can look at prioritizing it.

Could you provide any reasons why this should be prioritized higher? I imagine most folks needing this functionality would simply use run_cmd right now.

We manage multiple ASGs within one TF state and need to be able to re-use one config template for different cases.
There is another case I can imagine with "generate" block and dynamic providers rendering.
We haven't tried run_cmd, I might be mistaken but it occurs to be that run_cmd would be hard to re-use across many states as it references local file.

run_cmd(command, arg1, arg2…) runs a shell command and returns the stdout as the result of the interpolation. The command is executed at the same folder as the terragrunt.hcl file


Update some links in README

Hi @bmac, thanks for linking to the sails-ember-blueprints!
I updated the links a bit, because the ember-blueprints were turned into real sails generator to be found at: https://github.com/mphasize/sails-generate-ember-blueprints
Now I guess I should add a similar paragraph explaining about the difference of adapting either Sails or Ember for the respective counterpart and link back to this project. :-)
Thanks for your work!

Thanks!


Create landing page

Create a landing page where we will include links to all deployed frontends and documentation

Is this going to be a part of the book or its own UI?
I imagined a dashboard where users have interactive button (links) which take them to each app. I thought that would be a fun UX but the book style also makes sense.

hey, i would want to work on this issue but before that could you please mention a few more specifications as to where the landing page should exist and what all should it contain? or is it just a requirement for ui improvements in https://sway-applications.vercel.app/


Accept OpenTelemetry trace data via OTLP

This is the most important feature that came up in Jaeger v2 discussions, but it does not actually require v2, can be done standalone.

[x] Add OTLP receiver to collector #3701
[x] Update documentation https://github.com/jaegertracing/documentation/pull/578
[ ] ~Add OTLP receiver to agent~ - let's wait for user demand
[x] Support configuration of the receiver (ports) #3710

Where do we see this going? otlp grpc endpoints on the agent make the most sense to me.

I would mount it both in the agent and in the collector. Some deployments (e.g. serverless) do not support agents.

Where would the user demand for OLTP on the agent be collected? I'd love to see this feature implemented.


[UI] EVEREST-1052: update technology selection card

https://perconadev.atlassian.net/browse/EVEREST-1052
Updated design of database selection buttons.
https://www.figma.com/file/WasdpYdmJNoTn4zgFdHJcF/Everest-lib?type=design&node-id=57%3A11060&mode=design&t=C2cZjffjFkScdLpB-1

can be moved to upstream (just please resolve the conflicts with main before moving)


style height 100% on body breaks resize logic

By setting the height attribute on the body to 100%, the resize logic fails to execute.  I may not be fully understanding the logic but if someone could explain to me why this is desired behavior or how to correct this without changing the attribute I would much appreciate it.  My example is located:
https://github.com/poloka/resize-example/tree/master

It's a limitation of CSS, rather than a desired behaviour.
See https://github.com/davidjbradshaw/iframe-resizer#iframe-not-downsizing for how to work around.

Sorry, didn't get to try your suggestion.  I ended up making the modification to the project I noted above and the taggedElement seems to work.  However, my content will not scroll that is not displayed when I set a maximum height.  Would you know what I did wrong?


Code Reproducibility

Hello,
I'm trying to reproduce the results I got in April, however the learning curves don't overlap.  I've found out that different tensorflow versions yield different episode rewards for the baselines/ppo1. The gym version doesn't change the results. I've checked the libraries being used by this repository including mujoco but nothing comes to my mind. Any help will be highly appreciated.

That sounds like a bug, do you have examples of 2 different tensorflow versions that produce different results and an example script that reproduces the issue?


Eigen issues: (1) it fails to find Eigen headers (2)

(1)
This error:
In file included from ../NeuralAmpModelerCore/NAM/activations.cpp:1:
../NeuralAmpModelerCore/NAM/activations.h:6:10: fatal error: 'Eigen/Dense' file not found
    6 | #include <Eigen/Dense>
      |          ^~~~~~~~~~~~~
1 error generated.

is because CXXFLAGS is missing pkg-config --cflags eigen3.
(2)
Build fails with this error:
n file included from ../NeuralAmpModelerCore/NAM/get_dsp.cpp:8:
../NeuralAmpModelerCore/NAM/lstm.h:26:84: error: no member named 'lastN' in namespace 'Eigen::placeholders'
   26 |   Eigen::VectorXf get_hidden_state() const { return this->_xh(Eigen::placeholders::lastN(this->_get_hidden_size())); };
      |                                                               ~~~~~~~~~~~~~~~~~~~~~^

Not sure why lastN isn't found.

Eigen is already included in the NAM sources as submodule and NAM needs to be build against  this special revision of eigen. Building against a newer revision fails.
If Eigen/Dense not found there must be something wrong with the include path. Could you show me what you get with
make V=1  --> turns on verbose mode to see the command for the compiler.
should be like this
clang++     -march=x86-64-v3 -std=c++20 -MMD -flto=auto -fPIC -DPIC -Ofast -Wall -funroll-loops -msse3 -mfpmath=sse -mfxsr -Wno-sign-compare -Wno-reorder -Wno-infinite-recursion -DUSE_ATOM -DFFTCONVOLVER_USE_SSE=1 -fomit-frame-pointer -fstack-protector -fvisibility=hidden -fdata-sections -I. -I./ -I./zita-resampler-1.1.0 -I../FFTConvolver/ -I../delegate/include/delegate/ -DRTNEURAL_DEFAULT_ALIGNMENT=32 -DRTNEURAL_USE_EIGEN=1 -DRTNEURAL_NAMESPACE=RTNeural -DDSP_SAMPLE_FLOAT -DNAM_SAMPLE_FLOAT -Dneural_amp_modeler_EXPORTS -Wno-unused-private-field -fdenormal-fp-math=positive-zero -MMD -Wall -c ../NeuralAmpModelerCore/NAM/activations.cpp -o ../NeuralAmpModelerCore/NAM/activations.o  -I../NeuralAmpModelerCore/NAM/ -I../NeuralAmpModelerCore/Dependencies/eigen/ -I./ -I../NeuralAmpModelerCore/Dependencies/nlohmann/

The eigen submodule was missing.
Now the error is:
 Building object file RtNeuralModel.o
c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -I/usr/ports/audio/ratatouille-lv2/work/Ratatouille.lv2-de99e933acb5e246ae5ecf805683f7bd8c0db732/NAM  -std=c++20 -MMD -flto=auto -fPIC -DPIC -Ofast -Wall -funroll-loops  -Wno-sign-compare -Wno-reorder -Wno-infinite-recursion -DUSE_ATOM  -fomit-frame-pointer -fstack-protector -fvisibility=hidden -fdata-sections -I. -I./ -I./zita-resampler-1.1.0 -I../FFTConvolver/ -I../delegate/include/delegate/ -DRTNEURAL_DEFAULT_ALIGNMENT=32 -DRTNEURAL_USE_EIGEN=1 -DRTNEURAL_NAMESPACE=RTNeural -DDSP_SAMPLE_FLOAT -DNAM_SAMPLE_FLOAT -Dneural_amp_modeler_EXPORTS -Wno-unused-private-field -fdenormal-fp-math=positive-zero -MMD  -c RtNeuralModel.cpp -o RtNeuralModel.o -I../NeuralAmpModelerCore/NAM/ -I../NeuralAmpModelerCore/Dependencies/eigen/ -I./ -I../NeuralAmpModelerCore/Dependencies/nlohmann/ -I../RTNeural/RTNeural/ -I../RTNeural/modules/Eigen/ -I./ -I../RTNeural/modules/json/
In file included from RtNeuralModel.cpp:10:
./ModelerSelector.h:20:10: fatal error: 'dsp.h' file not found
   20 | #include "dsp.h"
      |          ^~~~~~~
1 error generated.

wired, that's the NAM core header located in  ../NeuralAmpModelerCore/NAM/
maybe, you could try to add the include path in Ratatouille/makefile line 262 before the source file, I usually put the behind the object file.
change
$(QUIET)$(CXX) $(CXXFLAGS) -MMD  -c $(patsubst %.o,%.cpp,$@) -o $@ $(NAM_INCLUDES) $(RTN_INCLUDES)
to
$(QUIET)$(CXX) $(CXXFLAGS) -MMD $(NAM_INCLUDES) $(RTN_INCLUDES) -c $(patsubst %.o,%.cpp,$@) -o $@
but, I guess that wouldn't help as for building the nam and rtneural object files the same syntax was used and worked.

Hi @yurivict
So I've installed FreeBSD in a virtual box and checked what happens.
At least I guess I've no fixed all remaining issues for build on FreeBSD.
Note, for using Neural Models in realtime context it is important to have some SIMD optimisations enabled.
Ratatouille use sse instructions and x86-64-v3 optimisations.  The makefile detect if the build machine support those.
That works now as well on FreeBSD.
Let me know if you still having issues to build Ratatouille


How to fix this error

Traceback (most recent call last):
File "main.py", line 17, in
from async_hcaptcha import AioHcaptcha
File "/home/runner/AltruisticWoefulCodewarrior/venv/lib/python3.8/site-packages/async_hcaptcha/init.py", line 1, in
from .asynchcaptcha import AioHcaptcha
File "/home/runner/AltruisticWoefulCodewarrior/venv/lib/python3.8/site-packages/async_hcaptcha/asynchcaptcha.py", line 20, in
from .autosolver import AutoSolver, AutoSolverException
File "/home/runner/AltruisticWoefulCodewarrior/venv/lib/python3.8/site-packages/async_hcaptcha/autosolver.py", line 1, in
from ._autosolver import PluggableObjects, YOLO, PluggableONNXModels
File "/home/runner/AltruisticWoefulCodewarrior/venv/lib/python3.8/site-packages/async_hcaptcha/_autosolver.py", line 15, in
import cv2
File "/home/runner/AltruisticWoefulCodewarrior/venv/lib/python3.8/site-packages/cv2/init.py", line 8, in
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

What system do you using?

I use windows and everything works fine there, but I need my project to run 24/7, for that I need a host. I tried heroku, but my project size is over 500 mb. After that I tried replit and got this error

Click on three dots in files tab, click "show hidden files", open replit.nix and paste this:
{ pkgs }: {
  deps = [
    pkgs.nano
    pkgs.unzip
    pkgs.wget
    pkgs.python38Full

    pkgs.chromium
    pkgs.chromedriver
    pkgs.nss
    pkgs.nspr
    pkgs.xorg.libxcb
    pkgs.dbus
    pkgs.libGL
  ];
  env = {
    PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
      # Needed for pandas / numpy
      pkgs.stdenv.cc.cc.lib
      pkgs.zlib
      # Needed for pygame
      pkgs.glib
      # Needed for matplotlib
      pkgs.xorg.libX11

      pkgs.chromium
      pkgs.chromedriver
      pkgs.libGL
    ];
    LD_LIBRARY_PATH="${pkgs.glib.out}/lib:${pkgs.nss.out}/lib:${pkgs.nspr.out}/lib:${pkgs.xorg.libxcb.out}/lib:${pkgs.dbus.out}/lib:${pkgs.libGL.out}/lib:$LD_LIBRARY_PATH";
    PYTHONBIN = "${pkgs.python38Full}/bin/python3.8";
    LANG = "en_US.UTF-8";
  };
}

It will install all needed libraries, but it can raise ImportError with config.py. I don't know, how to fix this error, but after several attempts it started. Maybe error can be fixed by moving opencv (cv2) directory to one directory with your script (I'll try this tomorrow).

Follow this instructions: https://github.com/RuslanUC/aio-hcaptcha/releases/tag/opencv-replit

Thanks
Everything is working great now.


Change strip() to rstrip().

strip() is messing up the logo a bit but remove starting spaces.

Fixed logo


MacOS GitHub Actions build & package

Here a first version of MacOS FStar builds. This builds and packages FStar for every push and PR and makes the package available as artifact.
I'm not happy with the hard-coded build name (macos-build.yml:35) and open for suggestions how to make that nicer/more future proof (something like fstar_*.tar.gz unfortunately doesn't work here). Also note that I added a PACKAGE_DOCS environment variable for allowing to package without building docs. I'm not sure if they're critical to have in there. But I wanted to avoid having to install madoko and a full latex distribution.
When we're happy with this one and it landed I'll add a second workflow that makes weekly builds that we can push to FStarLang/binaries.

also, could you clarify, while we're at it:

do we have unlimited CI time on OSX, or do we have a cap?
do we have a limit on how many artifacts we can upload?
do artifacts get cleared after a while?

do we have unlimited CI time on OSX, or do we have a cap?

There is a usage limit on concurrent jobs and some other limits, e.g. upper limits on job (6h) and workflow (72h).

do we have a limit on how many artifacts we can upload?

I don't think so (see link in other comment). Not sure about their lifetime though.

do artifacts get cleared after a while?

Looking at this the default expiration time is 11 days.

Thanks for clarifying everything. Let's first change this to a weekly (per the Slack thread) and merge this PR (no need to re-request review), then, in subsequent PRs:

figure out how to generate slack notifications to #fstar-build (otherwise none of us will notice if there's a build failure)
make sure this gets uploaded to the same place as the other ones (fstarlang/binaries)

Thanks for this PR!


Use of KNN algorithm

Use of KNN algorithm to detect the nearest asteroid given an asteroid to define a journey.

Added into https://github.com/ocriado91/SpocMining/commit/8bcc78db44e94daf0f5d26d3dd5c793d0600f1e6


Make csidriver updateStrategy configurable

Description
https://dt-rnd.atlassian.net/browse/K8S-9601
Make the updateStrategy part of the csi DaemonSet configurable via Helm.
How can this be tested?
make deploy/helm should use the defaults set in the values.yaml

play around with your own values.yaml

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.30%.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3383   +/-   ##
=======================================
  Coverage   58.30%   58.30%
=======================================
  Files         334      334
  Lines       18686    18686
=======================================
  Hits        10895    10895
  Misses       6567     6567
  Partials     1224     1224

Flag
Coverage Δ

unittests
58.30% <ø> (ø)

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

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


Bug in Website

Hello
There is issue on this link in textbox.
https://www.polymer-project.org/0.5/docs/start/creatingelements.html

This issue was moved to Polymer/docs#1377


It is possible to realize the pictures?

It is possible to realize the pictures?
To be able to add the backend through a few pictures and then put them in the user profile?
Sincerely BatFormat.

Yes, it is possible. See the documentation and tutorials to learn how.


ZRTP messages should not do everything in their constructors

This makes the code difficult to manage and change. Examples:
https://github.com/ultravideo/uvgRTP/blob/cce653b9b7fb26e52d7edd436a5ab9eeae328d30/src/zrtp/commit.cc#L15

I'm closing this since I don't think this is high priority enough to get solved in any sensible timeframe.


Additional Security Venues

The following are popular, high-quality venues that I recommend added to the venue list for security:
General Security conferences:

ACM ASIACCS
IEEE EuroS&P
Annual Computer Security Applications Conference

More specialized venues:

Usenix SOUPS
ACM WiSec
Privacy Enhancing Technologies Symposium
Financial Cryptography and Data Security

There may be others I have not listed.
I also recommend amending the following:

AsiaCrypt and FSE should be moved to the "cryptography" grouping. They are objectively not security conferences as they do not accept systems security papers.
ACM TISSEC is now ACM TOPS. Only the name has changed, and you may want to update the listing to reflect this.

PS: Thanks for maintaining this resource!

Hi @bradreaves, Thanks for your suggestion.
We will consider adding the suggested venues + will update the naming in the next update.

SOUPS, WiSec and PoPETs are added in 2021 update.
We could not find a conference/journal page of Financial Cryptography and Data Security from dblp.
AsiaCrypt, FSE, and TISSEC are also fixed in 2021 update! :)
See https://github.com/csmetrics/csmetrics.org/blob/master/app/data/venue_list.csv


Force ItemListFormAction to re-sort the feed on first view

More details in the commit message of https://github.com/newsboat/newsboat/commit/abc1d38a62a6358021c45ff45c79bb5c9c827b3c. The other commit is purely to make the code more uniform across the two files.
Reviews are welcome! Will merge in three days.

Coverage decreased (-0.01%) to 57.04% when pulling 95c1b5dae4a842247f31b6ed90310cab7620575a on bugfix/articles-not-sorted-by-title-desc into fcf92ba345db6110b78630b2eee86503e68100da on master.

Thanks for the review!


Bug report for computing z scores from p-values

There is a bug on computing z-scores from p-value:
In sum_stats_parsers.py, line 182, it computes the lower tail of the normal distribution, which leads to reverse sign of Z-scores. Either adding a negative sign or the replace the ppf(pval_read / 2.0) by (1-ppf(pval_read / 2.0)) can solve the problem

@mxcai maybe this is related to issue #139 ?
Also, do you know why on the same line the code divides by sqrt(N), it's no longer a z-score in that case (unless this adjustment is taken into account later at some stage).


ID vs Id

On https://github.com/golang/lint/blob/master/lint.go#L706, golint warns for fields named ...Id and suggests renaming to ...ID:
example/client.go:12:2: struct field ClientId should be ClientID
In code, id is typically used an abbreviation for “identifier,” rather than an acronym. The Go standard library is inconsistent here, using both ID and Id. Should golint tolerate this, or suggest the inverse?

The standard library is unable to be changed now, but its uses of Id are largely in error. ID is the correct style, just like HTTP and URL are.

@dsymonds HTTP is an acronym. “id” is an abbreviation.

The check is for initialisms, not acronyms; in this sense, the style is to follow how you'd write it in prose, which is ID or HTTP.

For the reference on initialisms: https://github.com/golang/go/wiki/CodeReviewComments#initialisms

ID is an initialism if you think of it as Identity Document. If you thought it meant Identifier that doesn't work so well.

What about the plural form Ids? Should it be warned to rename to IDs as well for consistency?

Honestly this feels like being different for the sake of being different. What is wrong with your standard camelCase and PascalCase? Making an exception just for "ID" makes no sense and just feels like bias to me. Follow one pattern and remove exceptions. Every time there is an exception this is how confusion occurs.


There is no Digital signature

I'm suddenly seeing a "There is no Digital signature" warning. I think it has something to do with QTS 5.0 I just installed?!

Tailscale has been working flawlessly for me under QTS 5.0 so far - altho I've recently hit some DNS issues which I'm not yet sure if they're related to Tailscale or not ( literally just discovered the DNS issue as the cause of another issue I was trying to work ).
Likewise, I'm currently 6 hours drive away from my QNAP (and crazily did the 4.5 -> 5.0 upgrade remotely - was glad to see Tailscale startup flawlessly and I was back and running/acccess the server within 30 minutes or so.

Tailscale has been working flawlessly for me under QTS 5.0 so far - altho I've recently hit some DNS issues which I'm not yet sure if they're related to Tailscale or not ( literally just discovered the DNS issue as the cause of another issue I was trying to work ).
Likewise, I'm currently 6 hours drive away from my QNAP (and crazily did the 4.5 -> 5.0 upgrade remotely - was glad to see Tailscale startup flawlessly and I was back and running/acccess the server within 30 minutes or so.

I took the risk and upgraded my QNAP and it came online without problems. For me it also seems that Tailscale works great on QTS 5.0.
If it seems that the problems with DNS seem to be related to Tailscale package, then could you open a new issue? I would look into it separately then (probably by using a VM instance of QTS).

If it seems that the problems with DNS seem to be related to Tailscale package, then could you open a new issue? I would look into it separately then (probably by using a VM instance of QTS).

Note there was a newer QTS firmware released that specifically called out fixing DNS issues. I've not had any issues with Tailscale and DNS since updating...

If it seems that the problems with DNS seem to be related to Tailscale package, then could you open a new issue? I would look into it separately then (probably by using a VM instance of QTS).

Note there was a newer QTS firmware released that specifically called out fixing DNS issues. I've not had any issues with Tailscale and DNS since updating...

Great! Thanks for confirming.


Support for Sentry/Replay

Currently the SDK isn't working with Replays, it attached the Replay id on the breadcrumb but the replay itself wasn't sent, further investigation is required for the case:

The envelope sent by the web X app seems different, when running just on the browser, I get the envelope payload as the following one

But when sending by the mobile I noticed the segment data was missing and also the replay attachment seems to be on an unexpected format

I am not entirely sure if the second screenshot is accepted by the replay attachment, but I'll assume it's not since it didn't show any attachment on the replay sent.

I am having a bit of trouble since the project isn't building due to external repositories being unstable/missing

Ok so, this is the main problem
https://github.com/getsentry/sentry-capacitor/blob/8f74052464e9dfc70237c973cccf90ce2b81e16f/src/wrapper.ts#L73-L75
We can't serialize it as json since the data isn't a json serializable data, but at the same time, we can't convert it to a string since there'll be data loss/conversion ( new Decoder('UTF-8') )

In React-Native we assemble the whole envelope in the JS layer and send a bytes array to the native SDKs.
https://github.com/getsentry/sentry-react-native/blob/ca810b988e532633b662192ab286e8fc93324e46/src/js/wrapper.ts#L152

Sounds like a good refactor for capacitor