hold note animation

What feature do you want to get added on the base engine?
can you add the fnf 0.4.1 hold strum note animation? and that long note splash, pretty please
i tried add it but idk how to code lol'nt
please i will be very happy if you add it.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

Character -hold animations are already available on Experimental, I will not add hold note splashes.

I mean, the weekend 1 update new splash notes of the long notes (when you
end a long note the splash animation start)
El dom, 11 ago 2024, 7:58, ShadowMario @.***> escribió:

Character -hold animations are already available on Experimental, I will
not add hold note splashes.
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/15269#issuecomment-2282635595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKKBWNEBZKOAPKA6C2LALJTZQ34PHAVCNFSM6AAAAABMFFV7POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSGYZTKNJZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Boolean stuck toggled as false

On version 0.8.4, sandbox vault.
I came across this issue in my regular vault, but this seems to be happening to me in the sandbox as well (just Dataview (0.5.64) + Metadata Menu installed). The boolean seems to get stuck on false, and cannot be toggled in either the properties button (in the note) or modal menu. It can only be toggled back to true via editing "false" to "true" in the source of the note.
Scenarios of the initial placement into the properties:
Empty -> can toggle to true -> can toggle to false -> stuck on false
True -> can toggle to false -> stuck on false
False -> stuck on false
Not sure if I'm the only one experiencing this, but thought I'd log an issue just in case.

I'm experiencing this as well in my everyday vault. Have't set up a sandbox for testing but could do that if it would be helpful.
macOS: 13.4 (22F66)
MM: 0.8.4
Dataview: 0.5.64

Hi should be fixed with 0.8.5

I am on version 0.8.7 and I have the same issue.


wrong cursor type when hovering a scrollbar in the scrollable notebook output

create a notebook with a cell that produces long output:
for i in range(1000):
    print(i)

hover over the scrollbar within the output, it should be the pointer, but it is text

https://github.com/microsoft/vscode/blob/a11d69c12959cd9ef1f1782bd0d056d7afa78854/extensions/notebook-renderers/src/index.ts#L339-L340
The scrollbar inherits the cursor style from this container and a important override in ::-webkit-scrollbar doesn't seem to work.


Provide obsm/varm from ExperimentAxisQuery, as obsp/varp

WIP
Context: https://github.com/single-cell-data/SOMA/issues/177

Replaced by #179


feat: Add Windows support

Fix #273, fix #589, fix #335
This PR adds support for Windows, along with a Windows build in the CI.

There appears to be a few problems in the test suite, but the core functionality now works for Windows.
Interestingly, the errors seen on GitHub do not occur on my own Windows machine. @algomaster99 could you try running the tests of this branch on your Windows machine and see what happens?

@algomaster99 could you try running the tests of this branch on your Windows machine and see what happens?

I will check it by tonight.

I will check it by tonight.

No hurry, do it when you've got time.

@slarse I was able to repair the files which @PrakashNayak provided. However, the tests are failing on my system too.
[ERROR] Tests run: 434, Failures: 5, Errors: 7, Skipped: 2

[ERROR] Errors:
[ERROR]   ClasspathModeTest.resolveClasspathFrom_enablesRepairOfViolation_thatRequiresClasspathToDetect:47 » NonZeroExit
[ERROR]   GatherStatsTest.statisticsFile_containsCorrectNbViolationsBeforeAndAfter_whenUsingTargetedRepair:93->performTargetedRepair:159 » NonZeroExit
[ERROR]   GatherStatsTest.statisticsFile_containsCorrectSpecifierForPerformedRepair_whenUsingTargetedRepair:120->performTargetedRepair:159 » NonZeroExit

[ERROR]   GatherStatsTest.statisticsFile_containsExpectedStats:48 » NonZeroExit
[ERROR]   MavenLauncherTest.sorald_repairsProductionAndTestCode_inMavenProject:53 » NonZeroExit
[ERROR]   MavenLauncherTest.sorald_repairsRuleViolation_thatRequiresClasspathToDetect:91 » NonZeroExit
[ERROR]   WarningMinerTest.canDetectRuleViolation_thatRequiresClasspath_whenResolvingClasspathInMavenProject:214 » NonZeroExit

Failures have long messages so let me know if you need me to send it you.

Those are similar errors to CI but not the same:
2021-08-13T14:34:10.6039028Z [INFO] Results:
2021-08-13T14:34:10.6039821Z [INFO]
2021-08-13T14:34:10.6043146Z [ERROR] Failures:
2021-08-13T14:34:10.6044495Z [ERROR]   SegmentStrategyTest.segmentStrategy_doesNotFail_onCrashInParsingSegment:115
2021-08-13T14:34:10.6046462Z Expected: a value greater than <1>
2021-08-13T14:34:10.6047116Z      but: <0> was less than <1>
2021-08-13T14:34:10.6047678Z [ERROR] Errors:
2021-08-13T14:34:10.6053121Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectNbViolationsBeforeAndAfter_whenUsingTargetedRepair:93->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6057540Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectNbViolationsBeforeAndAfter_whenUsingTargetedRepair:93->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6060624Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectNbViolationsBeforeAndAfter_whenUsingTargetedRepair:93->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6064253Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectSpecifierForPerformedRepair_whenUsingTargetedRepair:120->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6070875Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectSpecifierForPerformedRepair_whenUsingTargetedRepair:120->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6074830Z [ERROR]   GatherStatsTest.statisticsFile_containsCorrectSpecifierForPerformedRepair_whenUsingTargetedRepair:120->performTargetedRepair:155 � IndexOutOfBounds
2021-08-13T14:34:10.6077360Z [ERROR]   TargetedRepairTest.targetedRepair_acceptsAbsoluteViolationPath:113 � NonZeroExit
2021-08-13T14:34:10.6080299Z [ERROR]   TargetedRepairTest.targetedRepair_canTargetSpecificFile:169 � NonZeroExit
2021-08-13T14:34:10.6082242Z [ERROR]   TargetedRepairTest.targetedRepair_canUseSpecifiers_withRuleKeysLackingSPrefix:199 � NonZeroExit
2021-08-13T14:34:10.6091255Z [ERROR]   TargetedRepairTest.targetedRepair_correctlyRepairsSingleViolation:38 � NonZeroExit
2021-08-13T14:34:10.6094292Z [ERROR]   TargetedRepairTest.targetedRepair_requiresViolationSpecs_pointToExistingViolations:135 � IllegalArgument
2021-08-13T14:34:10.6098511Z [INFO]
2021-08-13T14:34:10.6103883Z [ERROR] Tests run: 434, Failures: 1, Errors: 11, Skipped: 2

Some of the errors you get are most likely due to not having Maven on the system path (I get those on my machine). The creation of the statistics file also appears not to work, and the violation specifier appears a bit broken.

To as quickly as possible add at least partial support for Windows, I'm just ignoring the test failures. The vast majority of functionality seems to be working fine.

Some of the errors you get are most likely due to not having Maven on the system path (I get those on my machine)

Probably. I have manually updated PATH variable to include mvn executable and that works on Powershell. But I have noticed that for the integrated bash shell in IntelliJ, I had to configure them again. I can try executing the tests on powershell and see if there is any difference.

Ping @fermadeiral @khaes-kth, ready for review/merge

we also need to have files with CRLF line endings in our test resources. To test the sniper printer output, that is.

Right. I did not consider this. :sweat_smile:


DropDownMenuSubContent text color mismatch

Colors for DropDownMenuSubContent does not match colors for DropDownMenuContent.
SubContent has darker text in 'light mode', and lighter text in 'dark mode'.

Closes #45

Ran into a similar issue today... fixed by changing 'text-on-popover' to 'text-popover-foreground' in DropdownMenuSubContent inside dropdown-menu.tsx


Set Ukraine localization and language as available

Change the status of Business Central availability in Ukraine from "Planned" to "Available" - as of 19.1
Change the status of Ukrainian language from "planned" to "available". App is live on AppSource.

Thank you for your contribution. It will be part of our next doc update.


Many bahavior capsules have their own tf-listener

Many bahavior capsules have their own tf-listener. This results in having ~5 tf-listeners and buffers running at the same time, dramatically increasing the message load.
We should just have one such listener and buffer per running blackboard (body- and head-behavior).
Props @Flova for catching this!

Solved by #303


Iterative Transform Propagation

Objective
Make transform_propagation_system faster. Zoom zoom.
Solution

Remove all queries except for root and transform queries (which are now nicely symmetrical). Down to only one Query::get_mut call per entity!
Transition from a recursive to an iterative approach. Using a Vec stack instead of the stack.
Split out root transforms that have children from those that don't. Two different systems enables additional parallelism here.
Use unsafe pointers. (Can we fenangle a lifetimed read-only reference here?)

Existing propagation tests seem to suggest both no soundness nor correctness issues.
TODO: Stress test.
Supercedes #4180 if and only if this provides noticeably better performance.

I'm inclined to agree with you on the idea of avoiding unsafe wherever possible, but systems like these are critical to the engine's application level performance. Unless we're going deep enough where the soundness of the unsafe code is difficult to track (see bevy_ecs), we'd be leaving potential perf on the table.
I eventually want to wrap this traversal code in its own dedicated HierarchyQuery, where the unsafe code is kept isolated and encapsulated, and we can keep the same performance profile.

I just tested with the many_cubes -- sphere example, which has 160k root entities and I see the following median system execution times:

main: 1.05ms
https://github.com/bevyengine/bevy/pull/4180 : 0.158ms
this PR: 0.088ms

NOTE: The above does not really test hierarchy propagation as it is a flat hierarchy. But it does test with a lot of entities. :)

Good to see that the flat hierarchy + change detection still sees a marginal improvement from the system split. Probably going to need the hierarchy stress test actually test the changes here.

Ran this using #4170 on main, #4180, and this PR using the defaults: The hierarchy generated the following properties (roughly) for each of them:
InsertResult {
    inserted_nodes: 257025,
    active_nodes: 128512,
    drawn_nodes: 0,
    maximum_depth: 18,
}

Median execution times for the systems (5950x, 200+ samples):

Main: 15.10ms
#4180: 13.46ms
This PR: 10.20ms

Note for this PR, the "flat" case that @superdump tested is negligible (less than 10 microseconds).
A depth of 18 is a bit deeper than your typical humanoid rig, so I think this would be a closer approximation of a real scenario than the prior test on many_cubes, and I'm seeing a 35% improvement for this case with this PR.
Moving this out of draft as this clarifies the performance benefit here.

Did another test with GlobalTransform::clone and got 11.90ms as the median across several hundred frames in the same conditions. The unsafe version is about 14.3% faster just to validate that there is a performance gain from being unsafe here.

Yes, that is the "clone" version seen above. It's noticeably faster given the size of the type requiring more to copy the value.

Fair enough. I had naïvely assumed that the clone version put the GlobalTransform into the pending struct.

Ah no, I misread (stupid 3AM groggy brain, haha). No it's not the same, the naive "clone" method above is as you think.
Updated to current main, profiled ~3,000 samples from the updated transform_hierarchy stress test under the humanoid_mixed configuration:
Cfg {
    test_case: Humanoids {
        active: 2000,
        inactive: 2000,
    },
    update_filter: UpdateFilter {
        min_depth: 0,
        max_depth:<PHONE_NUMBER>,
        probability: 1.0,
    },
}

InsertResult {
    inserted_nodes: 272000,
    active_nodes: 134000,
    maximum_depth: 12,
}

Attempt
Mean time

main
8.1 ms

This PR (naive clone)
14.75 ms

This PR (pending + index)
16.94 ms

This PR (unsafe)
12.97 ms

Several observations:

The pending + index version is likely slower due to the additional index operation on every actual access. It still has the same dereference, read, and mul_transform otherwise.
Seems like my attempt to merge #4608 using a Or may have actually added significant overhead. Going to be testing a few more options here.

Closing this as I can't seem to get this to actually be an improvement over the current default case. After #4697, it takes about ~240us to run propagation on many_foxes on my machine, with this PR in it's current state, it averages around 340-370us. There's notable overhead here that just makes all this extra unsafe not worth it.


Add documentation for connecting Tableau with Open Distro for Elasticsearch using JDBC Driver

Documentation should include:

Setup

Connection

Use

Added documentation.
https://github.com/opendistro-for-elasticsearch/sql-jdbc/blob/master/docs/tableau.md


How do I connect this software to bluetooth?

The CLI tool doesn't have the functionality to connect via Bluetooth implemented yet, only the Python module does.
If you are interested in integrating it in your own application, have a look here:
https://github.com/dreadnought/energy-storage-controller/blob/master/smart_bms.py
This service uses the DalyBMSBluetooth class to connect via Bluetooth and push the data to an InfluxDB.


Feature/fix tpe deserialize

delete unnecessary processes from tpe deserialize.

This pull request is closed because the modifications duplicate those of the fix_serialize branch.


Hyperbroadcast

When sending out a broadcast, IF not have this file, rebroadcast to others
Send IP for your peers to connect to, and have the basename and blockName.

Potential abuse: if hyperbroadcast reaches a peer that has already received this, there will be a flood of network traffic. Querying first if your outgoing peers have the file would be better.


BugFix: Prevent null exception if block for minting is null(#803)

Checking if GetBlock() return null then set hashBlock as a uint256.Zero

@dangershony  can you please review it once you have chance


It seems deployment doesnt work as per latest instructutions

Describe the bug
I put together a basic app using Vite, works fine when on local.
Open trying many methods of deploying to github pages, it seems no method works for this.
Reproduction
https://github.com/Ammar-Ghazal/Portfolio-V2
Steps to reproduce
To reproduce issue, re run the deployment.yml workflow file, and open the resulting github.io link, the components don't render as expected.
System Info
System:
    OS: Windows 11 10.0.22621
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 4.76 GB / 15.79 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (119.0.2151.97)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-react: ^4.0.2 => 4.0.2
    vite: ^4.4.0 => 4.5.1

The above is for my local setup.

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Issue was related to incorrect structure of components.


allow_nil for strings and inverse logic of allow_nil

I added allow_nil option to String type so it works similar to numeric types. Because there is no reason why you should forbid nil values in string fields.

Inverted logic of allow_nil because when you have such class

class A
  include ShallowAttributes
  attribute :a, Integer, allow_nil: true
end

and you initializing a with nil
A.new(a: nil)

you expect it's value to be nil, cause you specifically wrote allow_nil: true in class definition.
But currently it has 0 value.
pry(main)> A.new(a: nil).a
0

Coverage decreased (-0.4%) to 99.515% when pulling 548b0e22b4038bb3d4bea30c846157f31fdd5a19 on morr:nil-strings into 37fe19415397c78fcc40c562ea6b0b0b7c47cb16 on davydovanton:master.


Fix ${workspaceRoot} in kit "toolchainFile" Issue #329

It looks like this will already be caught with #317. That PR has been pending for a while, but it should be in for the next release/beta.

Closed, since this issue has already been dealt with in PR #317.


Fix for resetting parameters by default values in a settings asset on a first project load

When loading the project for the first time (when the "Library" folder does not exist), AssetDatabase is unable to find and load the settings asset which will cause the settings asset to be recreated, and custom values will be overridden by defaults
After 1 frame delay AssetDatabase will be ready and the settings asset will be found in the project correctly. So I've added this delay

@EmreDogann please check this PR.

I just gave it a quick look, looks good. I'm not at my computer right now so I will test it out when I get back either later today or tomorrow.

I tried it out, and I was also able to reproduce the issue you were having. I tested your commit, and it seems to work nicely. Will merge request.
Also, I appreciate the comments as well. :)


Actions: fix run installer step

Should fix actions problem on Win 64

Hmm, nope, does not fix it.


Monday afternoon uuids party

@rafatower @Kartones will wait for green tests and deploy

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

ok your part :+1:

Frontend tests were OK :+1: (details)

ok

Frontend tests were OK :+1: (details)


example.env when migrating to v7 issues

First, you should not delete everything below line 64, then you will lose the database settings you need to migrate your database.
Second, what's supposed to go in here?
"username:password" are easy, but whats my "host_name" shall the number stay the same? And what's my database name?
postgres://username:password@host_name:5432/database_name
And third, it's a little too easy to just tell us you don't support with database migration. The database is the most crucial thing of ones farmbot, once it's ruined, all the data of the plants is lost.  There wasn't even a warning to consider backing up before updating. And as the previous versions were relatively unstable (at least for me) the temptation to update was pretty big.
So please help me out now as I'm being trapped between the version :(
And by helping me, helping all the others that will follow...

Sorry for my choice of words, I was a little aroused yesterday. The fear of losing my precious database and the worry of not being able to sort this out myself as the instructions are not explicit enough, was a little too much

@derletztename You have a few options:
Option 1: Stay on API v6, Don't Migrate
If you would rather not deal with data migration, you have the option to downgrade. This is the quickest solution.

Pick a release that worked well for you in the past (v6.6.3 is the latest v7 version).
Revert to that tag using Git.

Option 2: Upgrade the API, Use Old DB

Set the DATABASE_URL to your old database. Your host will be your machines real IP address (not localhost or <IP_ADDRESS>). The database name is most likely something like farmbot_production, farmbot_prod or farmbot_development, depending on what your RAILS_ENV was set to.
You may need to configure PostgreSQL to allow remote connections. Please learn about how to secure a PostgreSQL database if you choose this option. I can't provide PostgreSQL training.

Option 3: Migrate old DB to Docker with pg_dump

Create a backup using pg_dump. The command you want is probably pg_dump -U postgres -h localhost -p 5432 farmbot_development > my_backup (or farmbot_prod or farmbot_production- it depends on your local setup).
Run the command below. You will need to change two things before you can copy/paste:

Replace password123 with whatever your POSTGRES_PASSWORD var is set to
Replace farmbot_development with the real DB name. If RAILS_ENV is production, use farmbot_prod. Otherwise, use farmbot_development.

sudo docker-compose run web psql -d postgres://postgres:password123@db/farmbot_development < my_backup

Other Notes
Ruby on Rails stores database info (password, username, host, etc) in Rails.configuration.database_configuration. You can access it from the Rails console sudo docker-compose run web rails c (v7) or via rails c (<= v6).

Thank you Rick for this far more detailed answer.
I think the last one is the most sustainable one. And in this new more explicitly explained way I might be able to manage it. There is just a little issue directly in the beginning. When I want to create the backup I get asked for a password. In your notes you have mentioned even that somehow. And while reading here I learned that the database infos can either be stored in the config/database.yml or in ENV['DATABASE_URL']. So I tried setting the passwort in the database.yml which seems to change nothing at all. So you used the ways via ENV['DATABASE_URL']?
And to change data in that I need to use Rails commands? I tried that as well, but man this is another level again.
So concluding, could you maybe please explain if you have used the yml or the ENV['DATABASE_URL'] or both together and how to set the passwort then? Because in the instructions there are different ways for each configuration style

I think I managed to change the password with the database.yml, as following your commands there appears the password several times in the list. But still when trying to make that backup when I get asked for the password, I get an error saying that it's wrong. I think I always have used the development environment not production..
derletztename@permabot_server:~/farmbot-web-app$ rails c
W, [2018-10-24T09:14:34.643560 #3980]  WARN -- Skylight: [SKYLIGHT] [3.0.0] Running Skylight in development mode. No data will be reported until you deploy your app.
(To disable this message for all local apps, run skylight disable_dev_warning.)

I deleted the line in the .env file and changed the password in the database.yml and it really has changed if I look with the rails console (rails c), but still I get this error below. Where else could this password been set or what else could be the issue? I mean it clearly looks like being a password issue, but maybe there is something else behind?
derletztename@permabot_server:~/farmbot-web-app$ pg_dump -U postgres -h localhost -p 5432 farmbot_development > Paul_backup
Password:
pg_dump: [archiver (db)] connection to database "farmbot_development" failed: FATAL:  password authentication failed for user "postgres"
FATAL:  password authentication failed for user "postgres"

@derletztename: Try resetting your PostgreSQL password.
Go in to PostgreSQL:
$ sudo -u postgres psql

Then list all users:
psql (10.5 (Ubuntu 10.5-0ubuntu0.18.04))
Type "help" for help.

postgres=# \du

Which will show something like this:
                                        List of roles
     Role name      |                         Attributes                         | Member of
--------------------+------------------------------------------------------------+-----------
 postgres           | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
 rick               | Superuser                                                  | {}

You can change your password with:
postgres=#  ALTER USER your_username_here with password 'whatever';

Please refer to StackOverflow and the official documentation for more information. Many of these operations are specific to Docker, PostgreSQL and Rails.

That's had done the trick for me, now the passwort is set :)
\password postgres

@derletztename The backup file is just SQL. Look for your points in there, you should see them if you backed up the correct database.

Yeah, everything seems to be in there, it's several pages long and I recognised my sequences and stuff.
Could you please tell me how to get the infos out of there into the new database?
Just migrate again with this Snippet?:
sudo docker-compose run web psql -d postgres://postgres:password123@db/farmbot_development < my_backup

So I tried to migrate it but I received a lot of errors. Here is a extract of the 3 blocks with errors.
Could you please help me integrate the old database in the new one? I have no idea what's wrong and I have spend some long hours with an friend with a lot coding experience who couldn't figure it out as well :(
ALTER SEQUENCE
ERROR:  relation "edge_nodes" already exists
ERROR:  role "derletztename" does not exist
ERROR:  relation "edge_nodes_id_seq" already exists
ERROR:  role "derletztename" does not exist
ALTER SEQUENCE
ERROR:  relation "farm_events" already exists
ERROR:  role "derletztename" does not exist
ERROR:  relation "farm_events_id_seq" already exists
ERROR:  role "derletztename" does not exist
.
.
.
ALTER TABLE
ERROR:  duplicate key value violates unique constraint "ar_internal_metadata_pkey"
DETAIL:  Key (key)=(environment) already exists.
CONTEXT:  COPY ar_internal_metadata, line 1
COPY 0
ERROR:  duplicate key value violates unique constraint "devices_pkey"
DETAIL:  Key (id)=(1) already exists.
CONTEXT:  COPY devices, line 1
COPY 0
.
.
.
ERROR:  multiple primary keys for table "ar_internal_metadata" are not allowed
ERROR:  multiple primary keys for table "delayed_jobs" are not allowed
ERROR:  multiple primary keys for table "devices" are not allowed
ERROR:  multiple primary keys for table "diagnostic_dumps" are not allowed
ERROR:  multiple primary keys for table "edge_nodes" are not allowed

Also after each reboot the password in Rails.configuration.database_configuration is nil, maybe there is also something wrong with rights management settings?
I am so lost at this point, I would even pay you to SSH onto my server and sort things out in a few minutes


Issue: [DHCPd] Static ARP Table is not loaded automatically after modification

Hello,
It seems that the static ARP table binding is not loaded automatically with the reload of dhcp service.
Instead, it is related to the interface changes.
So the bind reload is not enough for this change (Static ARP Table). A /etc/rc.reload_interfaces is needed.

Hey!
Thanks for reporting this issue. I'll take a look at this further and implement fixes where needed within the next patch.
Thanks again!

I had some time today to look at this but couldn't seem to replicate. Perhaps I'm misunderstanding the issue. Are you referring to the DHCP static mappings not assigning a static ARP entry with the arp_table_static_entry field set to true? Perhaps some screenshots or steps to reproduce the issue would be helpful.
Thanks!

Thanks for reply and above all thanks for this elegant api interface.
What I want to simulate is something like 802.1x at the router level. So the static ARP map control is a good candidate
The LAN member who has a unknown MAC cannot communicate to router. It is not a question about request dhcp service,
The option name is: Enable Static ARP entries
Now the issue:
Let's assume that my machine A has a Mac X which is not in the static ARP map

If I use Pfsense WebGui to add a static map of Mac X => OK, Machine A can ping router
If I use API to add a static map of Mac X => KO. Machine A cannot ping router. To make it work, I must call manually another API -> reload interface.

ARP Static MAP for IP release works perfect, there is no issue

Sorry for wait on this one. I've looked through the pfSense code pretty thoroughly and don't see any calls to reload_interfaces() or reload_interfaces_sync() on the DHCP Server pages. I'm hesitant to add a call to either of those functions as they may cause unexpected behavior for some users. The only reloads I am seeing are the ones currently present on the API endpoint. I have however added the staticarp field to the /api/v1/services/dhcpd endpoint in #184. This will allow you to  interact with this field as necessary and if you still experience this issue, my recommendation is to immediately make a call to /api/v1/diagnostics/command_prompt afterwards to initiate /etc/rc.reload_interfaces. I'll keep a note of this issue in the codebase going forward to re-evaluate as changes are made to pfSense and the API.
Thanks!


CAIP-2

Notes from 5/30 Working Group:

Consensus around truncated hash of the root key (first 32 of the 64 char)

FYI for anyone following CAIP standards, we went through all that would be required here: https://docs.google.com/document/d/1jI9KAXv-_EzTP43_sIqBbneasMz5y8oRSAkD1Y4PEPA/edit?usp=sharing


Crash when closing display server and generating an image

I can run the following steps to reliably crash the server:

Start my X server (graphical server)
Start the Minecraft server (in my case, using screen)
Shut down the X server
Try to generate an image: crash-2022-05-18_16.39.43-server.txt

Since starting the server before launching X11 works fine (both with it on and off), it appears that image2map detects whether a GUI is present at startup and expects it to persist if found.

It's java's behaviour, can't be fixed without changing image library (through not sure if there is an alternative)

A cursory look at the API indicates that a workaround just might be possible. Can you point me at where the Image is being created?


Subscreen backPressed for Android X issue

SubsScreens in Android X are no longer Supported #102
Workaround with https://stackoverflow.com/questions/32494548/how-to-move-back-from-preferences-subscreen-to-main-screen-in-preferencefragment
It should be replaced in the future.

I am working on this issue, would update very soon


Fix mobile UI messy

I think I can help with this one. Let me know.

Thanks, @kiyov09. zine uses Tailwind CSS to style the UI, here are the source lines related to this issue:
https://github.com/zineland/zine/blob/b30658884c50d6093871f43e7492879460151f27/templates/issue.jinja#L22-L47

Awesome. I'll start working on a solution right away. Is there anything I need to know before opening a PR?

Great, nothing else needs to know, feel free to open PR. 👍

@Folyd
Just opened a PR for this issue #163


About remove support for Russian Elbrus processor

2 xianyi & rubicon1042
For issue https://github.com/xianyi/OpenBLAS/issues/3551
Suddenly, Elbrus has native support for the x86/amd64 architecture. And there are two modes - Lintel and RTS. Lintel is a complete emulation of the Intel architecture. RTS - launching Intel binaries from the native VLIW operating system. Therefore, even if OpenBLAS support for Elbrus is removed, this processor can still use OpenBLAS. So what's the point of distorting the project code if this project will still work on Elbrus?
I recommend not dividing people who work in science and open source into countries and political regimes. The open source movement has no boundaries, especially academic developments.
Thanks.
PS: who is strange GitHub user rubicon1042? Registry at 02.03.2022, no repositories, no commits, nothing.

Some users register with github only when they want to create an issue or PR, I see nothing wrong with that. And at least it was a polite question, even if one does not agree with the underlying assumptions. As mentioned in the locked issue, the disputed commit does not provide any actual optimizations for Elbrus, just a small convenience for building OpenBLAS in its most basic x86_64 support mode.

As a general contributor to free software and mostly an outsider to OpenBLAS I just want to say I appreciate it when projects support niche hardware. I also resent the constant political campaigns to create an "other" class often based upon lies. fiction and half truths. This is not something that should be tolerated in free software projects where code should be judged entirely upon technical reasons such as quality, maintainability, licenses and value for users.
By all means if there are technical reasons to remove elbrus related code that is worth discussing, but I suspect this would not even be a consideration without bad faith on part of western media sources.


bug: production service resource requires idle_scaling attributes, but can't disable it

Provider version: 0.0.3
note: i'm only showing the relevant attributes for the resource, as we use locals to configure each of our services
# fails configuration validation, as it requires idle_timeout_minutes to be set
# even if idle_scaling is disabled
{
      tier                 = "production"
      idle_scaling         = false
}

Error message (upon plan):

idle_scaling, min_total_memory_gb, max_total_memory_gb, and idle_timeout_minutes must be defined if the service tier is production

# to bypass the above, I set idle_timeout_minutes to the default value
{
      tier                 = "production"
      idle_scaling         = false
      idle_timeout_minutes = 5
}

Error message (upon apply):

When applying changes to clickhouse_service.events, provider "provider["registry.terraform.io/clickhouse/clickhouse"]" produced an unexpected new value: .idle_scaling: was cty.False, but now cty.True.

In the second case, the service was created, but it looks like setting idle_timeout_minutes = 5 to bypass resource config validation would actually enable idle_scaling, so there's an inconsistent API value when rehydrating state

this is similar to what is described in this issue: https://github.com/ClickHouse/terraform-provider-clickhouse/issues/5#issuecomment-1644098248

this should be addressed in #33

@Kinzeng is this fixed now? Can we close this issue?


Read 'hosts' list from command line

Hi,
I'm running Cerebro in a container using yannart/cerebro.
How can I pass the list of hosts so users won't need to type it when connecting to cerebro?
BTW, Cerebro is my favorite ES admin console.
Thank you,
Jorden

This works for me: cerebro -Dhosts.0.host=http://server1:9200 -Dhosts.1.host=http://server2:9200

Is this documented somewhere? Looked in Play docs, Akka...
On Apr 5, 2017 7:29 PM, "Dylan Meissner"<EMAIL_ADDRESS>wrote:

This works for me: cerebro -Dhosts.0.host=http://server1:9200
-Dhosts.1.host=http://server2:9200
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lmenezes/cerebro/issues/120#issuecomment-291918033,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEAnU1Li3FcVwFQTBF640nvr2XIuD0-Jks5rs8FJgaJpZM4M0HjW
.

I believe it's part of the underlying configuration framework. More about it in this article here: http://blog.michaelhamrah.com/2014/02/leveraging-typesafes-config-library-across-environments
But no, I can't find an explicit reference to it.

Thank you!


fetchgit: fetch submodules in parallel

Fixes https://github.com/NixOS/nixpkgs/issues/88982

How do we check that the resulting FODs are still the same?

I checked with clickhouse.src that has a couple of hundred submodules.
I just changed the hash to something different and made sure it conflicted to the previous one.

Me now trying --rebuild with 543 srcs found with rg fetchSubmodules

https://github.com/ryukau/LV2Plugins/ from pkgs/applications/audio/uhhyou.lv2/default.nix has gone away.

It seems to be related to the use of update = none in the related submodules (https://github.com/gtk-rs/gtk-rs-core/blob/ed3457ebed5ef863ea40ad3d5f94eb0e87330b3a/.gitmodules#L4), which was ignored before but now followed by the git submodule update command
If this new behavior after this PR is considered "correct behavior", I'm fine with just updating the hashes gst-plugins-rs since it's unlikely many other packages are affected (if any)
It'll just make backports more annoying since this change isn't (and shouldn't be) on 23.05 and so the hahses will always differ for the same gst-plugins-rs version between master and release-23.05

I'd be inclined to say it's good that it does the right thing now.

Can't we backport this to 23.05? It's not as much a breaking change as it seems. And we do have fodwatch monitoring FODs now.

Or the worst case scenario would be us reverting this PR and making the new implementation an opt-in, which suffers the poor discoverability as fetchpatch2 does.

Can't we backport this to 23.05? It's not as much a breaking change as it seems. And we do have fodwatch monitoring FODs now.

It's still a possible breaking change at all for downstream users

Or the worst case scenario would be us reverting this PR and making the new implementation an opt-in, which suffers the poor discoverability as fetchpatch2 does.

I think it's fine to leave as-is. The behavior is probably more correct now, so I don't think we should revert (especially if we revert to make it a poorly discoverable opt-in)


Add documentation for query parameters

Did this get completed? Can't see anything in the README on how to do a GET with query parameters (not body).

Building URLs, including query parameters, is outside the scope of the Fetch API. We use jQuery's $.param and window.encodeURIComponent to build a URL before passing it into window.fetch.

My API wrapper handles this here https://github.com/glazedio/frisbee/blob/673cff2b6887af026330e45bdaad9d4dbdeb41ea/src/frisbee.js#L91-L95 if you want some inspiration.  I think I need to encodeURIComponent though if it's a browser.

Why is it outside the scope of the fetch API? Query parameters are part of the URL spec.

You can use URLSearchParams via URL.searchParams or new URLSearchParams() to construct the query string content.

Related https://github.com/Fyrd/caniuse/issues/2213


feat: add Discourse discussion comments

Add Discourse discussion comments
Closes https://github.com/snapshot-labs/workflow/issues/111

Testing

Check a proposal with a Discourse discussion like this: http://localhost:8080/#/s:safe.eth/proposal/0x86e0cee860e17a2f90b0d26e6e5ae0aff0c21330b8729ad449650c7ab84a0636/discussion
Check a proposal without discussion:
https://snapshot.box/#/s:shot.eth/proposal/0x2835818fa8de4387f393dd52cca279f796b0b4ea4a3627021702c0e1e4b8782f
Check proposal with a discussion that is not Discourse based:
http://localhost:8080/#/s:mcv.eth/proposal/0x41a560e5b09ffb39128a5170da00cca334ec162c2ae5039312a1759e0934d922

TO-DO

[ ] Move to sidekick for requests to Discourse

I get this error from https://corsproxy.io/
{
  "error":{
    "code":403,
    "message":"Country blocked! Your country is blocked from accessing this ressource!"
  }
}

I get this error from https://corsproxy.io/
{
  "error":{
    "code":403,
    "message":"Country blocked! Your country is blocked from accessing this ressource!"
  }
}

Right, forgot about that, I'll remove this to use sidekick service instead, meanwhile you can try with a VPN.

This page https://bafybeibuwfiaag7wlyksn2d6kbe4n3bqjxvvge3j7dtkayvbfnhiy4bad4.on.fleek.co/#/s:mcv.eth/proposal/0x41a560e5b09ffb39128a5170da00cca334ec162c2ae5039312a1759e0934d922
is now throwing an error in the console
discourse.ts:21

       GET https://corsproxy.io/?https%3A%2F%2Fhideout.metacartel.xyz%2Ft%2F307.json 403 (Forbidden)

I get this error from https://corsproxy.io/
{
  "error":{
    "code":403,
    "message":"Country blocked! Your country is blocked from accessing this ressource!"
  }
}

Right, forgot about that, I'll remove this to use sidekick service instead, meanwhile you can try with a VPN.

I got another type of error:
{
    "errors": [
        "You need to be logged in to do that."
    ],
    "error_type": "not_logged_in",
    "extras": {
        "title": "Page Not Found",
        "html": "\n\n\n\n
\n
Oops! That page is private.
\n\n    <svg class=\"fa d-icon svg-icon svg-node\" aria-hidden=\"true\"><svg id=\"user\" viewBox=\"0 0 448 512\">\n  <path d=\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"/>\n</svg></svg>\nLog In\n\n
\n\n\n\n\n\n",
        "group": null
    }
}

On this page https://bafybeibuwfiaag7wlyksn2d6kbe4n3bqjxvvge3j7dtkayvbfnhiy4bad4.on.fleek.co/#/s:safe.eth/proposal/0x1b48a83c44e323275a605b244a05bde89918fb9ec86be7bb83792eb26e544441/discussion
I am just getting
Access to fetch at 'https://forum.safe.global/t/1131/posts.json' (redirected from 'https://corsproxy.io/?https%3A%2F%2Fforum.gnosis-safe.io%2Ft%2F1131%2Fposts.json') from origin 'https://bafybeibuwfiaag7wlyksn2d6kbe4n3bqjxvvge3j7dtkayvbfnhiy4bad4.on.fleek.co' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I get this error from https://corsproxy.io/
{
  "error":{
    "code":403,
    "message":"Country blocked! Your country is blocked from accessing this ressource!"
  }
}

Right, forgot about that, I'll remove this to use sidekick service instead, meanwhile you can try with a VPN.

I got another type of error:
{
    "errors": [
        "You need to be logged in to do that."
    ],
    "error_type": "not_logged_in",
    "extras": {
        "title": "Page Not Found",
        "html": "\n\n\n\n
\n
Oops! That page is private.
\n\n    <svg class=\"fa d-icon svg-icon svg-node\" aria-hidden=\"true\"><svg id=\"user\" viewBox=\"0 0 448 512\">\n  <path d=\"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z\"/>\n</svg></svg>\nLog In\n\n
\n\n\n\n\n\n",
        "group": null
    }
}

From http://localhost:8080/#/s:mcv.eth/proposal/0x41a560e5b09ffb39128a5170da00cca334ec162c2ae5039312a1759e0934d922

This is just because the forum is private

Should be working fine now


[Backend] Account Profile Student

Get Profile student.
Check middleware student.

Done 08/02/2023 17:29


Edit page

Laravel Version: #.#.#
PHP Version:
Laravel-admin: #.#.#

Description:
Hello, how can I change the fields only for edit page?
My code:

This is for new record, but I don't want to use all the fields in the edit page.
Thank you for your help.

Use https://github.com/z-song/laravel-admin/blob/5ccba3f2673fa4c3c5645b00ddbfb487adc89fff/src/Form/Builder.php#L158

Try this
$isEdit = (substr(trim(request()->path(), '/'), -5) === '/edit') || !request()->isMethod('get');
if ($isEdit) {
    $form-> ....
}

Source from : #2127

Thank you, now it works.
Another question, is possible to get the id that i'm editing? Like $form->id or $id ?
Thank you for your help.

//...
$name_text = $form->text('name');
$somefield_text = $form->text('somefield');
//...
$form->editing(function($form)use($name_text){
    $name_text->readOnly();
    if ($form->model()->somefield == 'something') {
          $somefield_text->readOnly();
    }
});

Thank you very much. That worked.


Failed to capture screenshots in Landscape mode

New Issue Checklist

[y ] Updated fastlane to the latest version
[ y] I have read the Contribution Guidelines

Issue Description
I am new to swift.
I didn't not change any thing in the SnapshotHelper.swift file and create new UI test target and recorded my actions. After generating code in testExample function, I have added snapshot("xxxx") function where ever required.
Before calling snapshot("XXXXX") function in the code I am rotating my iPad Air/iPad Pro to landscape and after calling snapshot("XXXXX") rotating to portrait again.
Complete output when running fastlane, including the stack trace and command used
But after rotating to landscape, script failing with the below errors.
  sleep(1) // Waiting for the animation to be finished (kind of)
        XCUIDevice.sharedDevice().orientation = .Unknown

       while (0..<query.count).map({ query.elementBoundByIndex($0) }).contains({ $0.isLoadingIndicator }) {
           sleep(10)

Configuration Files
Snapshot
Fastfile:

import Foundation
import XCTest

var deviceLanguage = ""
var locale = ""

@available(*, deprecated, message="use setupSnapshot: instead")
func setLanguage(app: XCUIApplication) {
    setupSnapshot(app)
}

func setupSnapshot(app: XCUIApplication) {
    Snapshot.setupSnapshot(app)
}

func snapshot(name: String, waitForLoadingIndicator: Bool = true) {
    Snapshot.snapshot(name, waitForLoadingIndicator: waitForLoadingIndicator)
}

public class Snapshot: NSObject {

    public class func setupSnapshot(app: XCUIApplication) {
        setLanguage(app)
        setLocale(app)
        setLaunchArguments(app)
    }

    class func setLanguage(app: XCUIApplication) {
        guard let prefix = pathPrefix() else {
            return
        }

        let path = prefix.stringByAppendingPathComponent("language.txt")

        do {
            let trimCharacterSet = NSCharacterSet.whitespaceAndNewlineCharacterSet()
            deviceLanguage = try NSString(contentsOfFile: path, encoding: NSUTF8StringEncoding).stringByTrimmingCharactersInSet(trimCharacterSet) as String
            app.launchArguments += ["-AppleLanguages", "(\(deviceLanguage))"]
        } catch {
            print("Couldn't detect/set language...")
        }
    }

    class func setLocale(app: XCUIApplication) {
        guard let prefix = pathPrefix() else {
            return
        }

        let path = prefix.stringByAppendingPathComponent("locale.txt")

        do {
            let trimCharacterSet = NSCharacterSet.whitespaceAndNewlineCharacterSet()
            locale = try NSString(contentsOfFile: path, encoding: NSUTF8StringEncoding).stringByTrimmingCharactersInSet(trimCharacterSet) as String
        } catch {
            print("Couldn't detect/set locale...")
        }
        if locale.isEmpty {
            locale = NSLocale(localeIdentifier: deviceLanguage).localeIdentifier
        }
        app.launchArguments += ["-AppleLocale", "\"\(locale)\""]
    }

    class func setLaunchArguments(app: XCUIApplication) {
        guard let prefix = pathPrefix() else {
            return
        }

        let path = prefix.stringByAppendingPathComponent("snapshot-launch_arguments.txt")
        app.launchArguments += ["-FASTLANE_SNAPSHOT", "YES", "-ui_testing"]

        do {
            let launchArguments = try NSString(contentsOfFile: path, encoding: NSUTF8StringEncoding) as String
            let regex = try NSRegularExpression(pattern: "(\\\".+?\\\"|\\S+)", options: [])
            let matches = regex.matchesInString(launchArguments, options: [], range: NSRange(location:0, length:launchArguments.characters.count))
            let results = matches.map { result -> String in
                (launchArguments as NSString).substringWithRange(result.range)
            }
            app.launchArguments += results
        } catch {
            print("Couldn't detect/set launch_arguments...")
        }
    }

    public class func snapshot(name: String, waitForLoadingIndicator: Bool = true) {
        if waitForLoadingIndicator {
            waitForLoadingIndicatorToDisappear()
        }

        print("snapshot: \(name)") // more information about this, check out https://github.com/fastlane/snapshot

        sleep(1) // Waiting for the animation to be finished (kind of)
        XCUIDevice.sharedDevice().orientation = .Unknown
    }

    class func waitForLoadingIndicatorToDisappear() {
        let query = XCUIApplication().statusBars.childrenMatchingType(.Other).elementBoundByIndex(1).childrenMatchingType(.Other)

        while (0..<query.count).map({ query.elementBoundByIndex($0) }).contains({ $0.isLoadingIndicator }) {
            sleep(10)
            print("Waiting for loading indicator to disappear...")
        }
    }

    class func pathPrefix() -> NSString? {
        if let path = NSProcessInfo().environment["SIMULATOR_HOST_HOME"] as NSString? {
            return path.stringByAppendingPathComponent("Library/Caches/tools.fastlane")
        }
        print("Couldn't find Snapshot configuration files at ~/Library/Caches/tools.fastlane")
        return nil
    }
}

extension XCUIElement {
    var isLoadingIndicator: Bool {
        return self.frame.size == CGSize(width: 10, height: 20)
    }
}

Environment
fastlane version (run fastlane -v): It snapshot snapshot-1.12.3
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?NO
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?NO

Can you please format your issue per https://github.com/fastlane/fastlane/blob/master/ISSUE_TEMPLATE.md? Thanks!

@vpolouchkine, any update?

Hi @shivakrishnach31 Thanks for following up. Can you share your full input and output? Which lane are you running? Thanks! 👍


Could not create another Distribution certificate, reached the maximum number of available Distribution certificates.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Could not create another Distribution certificate, reached the maximum number of available Distribution certificates.
When i go to developer portal , I am able to create certificate manually.
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13

Ruby
2.3.3

Bundler?
false

Git
git version 2.14.3 (Apple Git-98)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13 (17A405)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    build_app(scheme: "seiosnativeapp")
    upload_to_testflight
  end
end

`./fastlane/Appfile`
app_identifier("com.seao.seiosnativeapp") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

itc_team_id("10291639") # iTunes Connect Team ID
team_id("W84Y3AR95Z") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.94.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.2

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.5

xcodeproj
1.5.7

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.4

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

bundler
1.16.1

faraday_middleware
0.12.2

naturally
2.1.0

simctl
1.6.4

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
2.1.0

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

google-api-client
0.13.6

emoji_regex
0.1.1

io-console
0.4.5

excon
0.62.0

CFPropertyList
3.0.0

libxml-ruby
2.9.0

faraday
0.15.0

unf
0.1.4

domain_name
0.5.20180417

fastimage
2.1.3

json
2.1.0

generated on: 2018-05-06

I am trying to run fastlane cert command , That command generates a certificate
But it is giving me the above error.

@bhawin-bigstep You are only allowed to have two distribution certificates for an iOS developer account. fastlane does not support revoking any distribution certificates. I am not sure how you are able to create them on the iOS developer portal unless:

Apple is auto revoking old ones for you
you are revoking one of the two existing distribution certificates
or fastlane is using a different team than the one you are logged into on the website

The behavior you are experiencing is an expected behavior of you have two existing distribution certificates on your account 😊
Sent with GitHawk

@joshdholtz  , Now i have manually revoked all the certificates in my apple developer account
Still i am getting a same error. Can you give me an insight on that please .

Any Idea please , I am in trouble here

Even if it says that i have reached max limit of certificates. I can only see 1 certificate at developers.apple.com account

@bhawin-bigstep Can you verify you are using the correct iOS developer account / team? If the number is mismatching, it sounds like a different account is being used 🤔
Sent with GitHawk

@joshdholtz  , Thanks for the update . I was using correct ios developer account but different team id .


Format message content

It is not easy to format the message content:
Both the following fails
 - Defaults of the charts have been changed:
Now, the chart has two jobs configured and curated experience turned on by default:
   - `default` scrapes all targets having `prometheus.io/scrape: true`.
   Since, by default, curated_experience.enabled=true then only targets selected by the curated experience are actually scraped.
   - `newrelic` crapes all targets having `newrelic.io/scrape: true`.
   This is useful to extend the 'default-job' allowlisting all services adding the required annotation.

Result -> WARN[0001] ListItem has more than 1 children             WARN[0001] No list items found under header "Enhancements"
 - Defaults of the charts have been changed:
Now, the chart has two jobs configured and curated experience turned on by default:

  `default` scrapes all targets having `prometheus.io/scrape: true`.
   Since, by default, curated_experience.enabled=true then only targets selected by the curated experience are actually scraped.

   `newrelic` crapes all targets having `newrelic.io/scrape: true`.
   This is useful to extend the 'default-job' allowlisting all services adding the required annotation.

The result is without the description-> Defaults of the charts have been changed: Now, the chart has two jobs configured and curated experience turned on by default:

Change entries are intended to be oneliners. The main reason for this is that, if we allowed multiline change entries, it would be really hard to tell when two lines are two entries or a two-line one.
I think the current way of doing this is putting a shorter change oneliner, and put the large explanation out of the change type headers so it is captured as notes.

I saw that there are the "Notes". I guess it is fine :)


Optional IAM Profile

With this PR is possible to associate an IAM Profile to the drone instance.

LGTM.


Developing custom plugin

Hi folks 👋,
Checking the way how to develop a plugin to the mgdp it would seem like it should inherit from BaseProxyPlugin from msgraph-developer-proxy-abstractions. Currently, the only way to do that is either to reference the project or directly the .dll.
Either way it would seem like developing the custom plugin needs to be done in the context of the mgdp solution which may not always be optimal.
I was thinking that the msgraph-developer-proxy-abstractions should be exposed as a NuGet so it might become a dependency of any project. What do you think?
Thank you for your awesome work 👍

We absolutely should publish abstractions to NuGet to make it easier for others to build plugins. Thank you for bringing this up 👍

To clarify: we'll do it as soon as we clear a few internal things first. For now, putting it on hold

You could grab the DLL and reference it in your solution without shipping it to output. While not as convenient as having a NuGet, it would free you from having to work without our solution. That said, we're looking for ways to publish our assemblies.

You could grab the DLL and reference it in your solution without shipping it to output. While not as convenient as having a NuGet, it would free you from having to work without our solution. That said, we're looking for ways to publish our assemblies.

Thanks for the update. actually this is the approach we already took 🙂. Currently on hold waiting for better times

Out of curiosity, what kind of custom plugins have you been building? Something that we could consider adding into the product for the benefit of others?

sure. I already build it but for one of the early versions of the dev proxy (at that time it was still MS dev proxy 😉) as a POC. Not so long after we confirmed internally the usability of this product and are waiting for version 1.0 😜.
but anyway, the aim of this plugin is/was to extend the mock json allowing to define conditions for the same request. So each request could have different response mocked based on some conditions met. In my case it was based on parameters passed in the body of the request.
You may check in 'in action' here https://github.com/Adam-it/msgraph-developer-proxy-plugin-conditional-mocks?tab=readme-ov-file. I open sourced it as soon as it was done and didn't have time/budget to change it ever since 😉.
in the readmy I added some example screenshots how it worked back then. Let me know if you need any more info on that. Cheers 😉

Cool idea! I recall that. Let's keep it separate for now, but should it ever come up, I know who to ping 😄

Sure thing

Since we've got documentation on building custom plugins and we publish abstractions as a release artifact, let's close this issue for now.


iFrame stuff.

Woops, a frontend test broke because I moved the flag PNGs off the home page. Swapping the URL to /boathouses should fix that.


[regression] eframe persistence doesn't work anymore for some UI states

Describe the bug
In my app I have a egui::Window and some egui::CollapsingHeader, which stopped properly restoring from the persisted state.
The window is placed seemingly randomly, while the collapsing headers are always closed on app launch.
To Reproduce
Steps to reproduce the behavior:

Create a CollapsingHeader, in a native app project using persistence.
Toggle the header.
Quit the app.
Reopen app, the header isn't open anymore.

Expected behavior
The header should be open at app launch, as the state is persisted.
Desktop (please complete the following information):

OS: Arch Linux, Wayland (Sway)

Additional context
I have bisected the issue and it's caused by 5514a8afda53c282d2be670bef657d5c7812d467.
The last previous working commit is eeeb4b7de2d08b7923a0e19cf1a711b7219afa1f.
Not working 5514a8afda53c282d2be670bef657d5c7812d467 persisted file: not-working.txt
Working eeeb4b7de2d08b7923a0e19cf1a711b7219afa1f persisted file: working.txt

Seems to be related strictly to the ahash related changes.


CASMINST-5874: Update Goss tests for CRUS removal

Summary and Scope
Update Goss tests to version modified to handle removed CRUS service.
See source PR for details.
Issues and Related PRs

Part of the CRUS removal epic.
csm-rpms PR

Testing
None (change is extremely tiny and simple).
Risks and Mitigations
Without this change, the Goss test in question will fail after CRUS is gone.
Pull Request Checklist

[X] License file intact
[X] Target branch correct
[X] Testing is appropriate and complete, if applicable
[X] HPC Product Announcement prepared, if applicable

Replacing this with a combo PR, to reduce likelihood of further merge conflicts.
https://github.com/Cray-HPE/csm/pull/1734


build: env show--move describer describer method

Changed RetrieveData() in cli/env_show.go to Describe() in describe/env.go to address #853. Can see actual env data in json format.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

json output:

? Which project's environments would you like to show? e2e-init-1583862289
? Which environment of e2e-init-1583862289 would you like to show? second-env
{"environment":{"name":"second-env","accountID":"327148513104","region":"us-west-2","production":false},"applications":[{"name":"front-end","type":"Load Balanced Web App"},{"name":"testing-app","type":"Load Balanced Web App"}]}
$


Fix the code generated by new command fails by Builder

Thanks alot 👍

Your fix is working fine, in the meantime. 👍
I did a complete test cycle, and everything looks good.
I also updated the generated files for all grammars in the crate (0b47cc4)


angular-start branch deleted

In the readme of the master you say:
The angular-start branch contains the starting point for the NativeScript “TypeScript and Angular” getting started guide.
but the branch is deleted/non-existend

Hi @philippsander,
Thank you for contacting us.
With the new release of NativeScirpt 2.5, we have made some changes to our Getting Started tutorial.
In the new guidelines, we encouraged the user to start the tutorial, while using clear NativeScirpt project instead of using angular-start branch.
The new guidelines could be found here  in the documentation.
Furthermore, we will change the Readme file of the master branch.
Regards,
@tsonevn


Metadata ip test

Just want to test the reverse, not for review, actual pr is: https://github.com/tinkerbell/osie/pull/214

Worked successfully off of ip, closing this out since it was just use to test osie.
2021-05-13 18:26:13,351 - util.py[DEBUG]: Resolving URL: http://<IP_ADDRESS>:80 took 5.044 seconds
2021-05-13 18:26:13,351 - util.py[DEBUG]: Resolving URL: http://metadata.packet.net took 0.000 seconds
2021-05-13 18:26:13,351 - url_helper.py[DEBUG]: [0/1] open 'http://<IP_ADDRESS>:80/2009-04-04/meta-data/instance-id' with {'url': 'http://<IP_ADDRESS>:80/2009-04-04/meta-data/instance-id', 'allow_redirects': True, 'method': 'GET', 'timeout': 60.0} configuration
2021-05-13 18:26:13,357 - url_helper.py[DEBUG]: Read from http://<IP_ADDRESS>:80/2009-04-04/meta-data/instance-id (200, 36b) after 1 attempts
2021-05-13 18:26:13,358 - DataSourceEc2.py[DEBUG]: Using metadata source: 'http://<IP_ADDRESS>:80'
...


Function getAccount in SigningCosmosClient doesn't work properly

await window.keplr.enable(keplrChainId);

  const client = LcdClient.withExtensions(
    { apiUrl: 'https://lcd-cosmoshub.keplr.app' },
    setupAuthExtension,
    setupBankExtension,
    setupDistributionExtension,
    setupGovExtension,
    setupMintExtension,
    setupSlashingExtension,
    setupStakingExtension,
    setupSupplyExtension,
  );
  console.log('client : ', client);

  const offlineSigner = window.keplr.getOfflineSigner(keplrChainId);

  const accounts = await offlineSigner.getAccounts();
  const balances = await client.bank.balances(accounts[0].address); //How can I get balance from my wallet?

  console.log('balances : ', balances);
  // This what I got in console
   //balances :
   //{height: '9122542', result: Array(0)}
   //height: "9122542"
  //result: Array(0)
  //length: 0
//Why is result:Array empty?
  const cosmJS = new SigningCosmosClient(
    'https://lcd-cosmoshub.keplr.app',
    accounts[0].address,
    offlineSigner,
  );
  const account = await cosmJS.getAccount(accounts[0].address);
  console.log('account:', account);
// why doesnt account  work correctly and my code doesnt work after this part?

// if i use @cosmjs/stargate

import {
  SigningStargateClient,
} from '@cosmjs/stargate';
import { keplrChainId } from 'appConstants';

async function connectKeprl(): Promise<SigningStargateClient | false> {
  if (!window.keplr) {
    return false;
  }

  await window.keplr.enable(keplrChainId);

  const offlineSigner = window.keplr.getOfflineSigner(keplrChainId);

  const accounts = await offlineSigner.getAccounts();

  const cosmJS = await SigningStargateClient.connectWithSigner(
    'https://rpc.my_tendermint_rpc_node',
    offlineSigner,
  );
  const account = await cosmJS.getAccount(accounts[0].address);
  console.log('account:', account);

//i have error like this POST https://rpc.my_tendermint_rpc_node/ net::ERR_NAME_NOT_RESOLVED
// so how can I resolve these errors

Using LcdClient (and anything else from @cosmjs/launchpad) is a dead end. This package is for connecting to Cosmos SDK 0.37–0.39 backends only and is about to be removed.
If you have questions to @cosmjs/stargate related integration, please format the code properly to make it readable. See https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks and https://commonmark.org/.

@webmaster128  i formated

`// if i use @cosmjs/stargate
import {
SigningStargateClient,
} from '@cosmjs/stargate';
import { keplrChainId } from 'appConstants';
async function connectKeprl(): Promise<SigningStargateClient | false> {
if (!window.keplr) {
return false;
}
await window.keplr.enable(keplrChainId);
const offlineSigner = window.keplr.getOfflineSigner(keplrChainId);
const accounts = await offlineSigner.getAccounts();
const cosmJS = await SigningStargateClient.connectWithSigner(
'https://rpc.my_tendermint_rpc_node',
offlineSigner,
);
const account = await cosmJS.getAccount(accounts[0].address);
console.log('account:', account);
////How can I get balance from my wallet?
//i have error like this POST https://rpc.my_tendermint_rpc_node/ net::ERR_NAME_NOT_RESOLVED
// so how can I resolve these errors`

https://rpc.my_tendermint_rpc_node is a placeholder. You need to replace it with our Tendermint RPC URL.

@webmaster128  Hey Could you please send me your Tendermint RPC URL. Because I couldn’t find it by myself. Thank you!

If you want to connect to the Cosmos Hub, you can try https://rpc.cosmos.network/. There are many other RPC endpoints out there, but you'd have to go and search for them.

@webmaster128 I have some questions
1)I want to get balance from my wallet.Am I using the correct code?
2)When I am trying  to call "connectWithSigner" I catch CORS error,so how can I resolve it.
I'd be grateful If you helped me.Thanks a lot.
`import { SigningStargateClient } from '@cosmjs/stargate';
import { keplrChainId } from 'appConstants';
async function connectKeprl(): Promise<SigningStargateClient | false> {
if (!window.keplr) {
return false;
}
await window.keplr.enable(keplrChainId);
const offlineSigner = window.keplr.getOfflineSigner(keplrChainId);
const accounts = await offlineSigner.getAccounts();
const cosmJS = await SigningStargateClient.connectWithSigner(
'https://rpc.cosmos.network',
offlineSigner,
);
console.log(cosmJS.getBalance(accounts[0].address, 'uatom'));
return cosmJS;`

You need to await the result of getBalance: const balance = await cosmJS.getBalance(accounts[0].address, 'uatom'). The rest LGTM auf first glance.
Okay this is a confuguration problem of the RPC endpoint. You can try https://rpc-cosmoshub.keplr.app/ to see if it helps.

@webmaster128
I'm trying to do the way you advised, but I get the CORS again.  Probably I'm writing or using something in a wrong way.
import {
  SigningStargateClient,
} from '@cosmjs/stargate';
import { keplrChainId } from 'appConstants';

async function connectKeprl(): Promise<SigningStargateClient | false> {
  if (!window.keplr) {
    return false;
  }

  await window.keplr.enable(keplrChainId);

  const offlineSigner = window.keplr.getOfflineSigner(keplrChainId);

  const accounts = await offlineSigner.getAccounts();

  const cosmJS = await SigningStargateClient.connectWithSigner(
    'https://rpc-cosmoshub.keplr.app',
    offlineSigner,
  );
  const balance = await cosmJS.getBalance(accounts[0].address, 'uatom');
  console.log(balance);

Yeah, sorry this does not work too. You have to find a Tendermint RPC node that has CORS configures for access from any origin for the Cosmos Hub. There is no obvious solution to that. You need to ask your war through Cosmos Hub community channels. Maby you find some nice validators that provide such an endpoint.


Nice work - are you aware of the USPTO data leak?

Hi authors, this is a very nice work. I enjoyed reading the paper as it was well explained. In particular your top-20 and top-50 are very high, beating works like GLN and impressive. Also thanks for being one of the few repos that provide proper documentation + env.yaml for easy install.
However (and as much as I hate to break it to you), I'm not sure if you are aware of the USPTO data leak. Please refer to https://github.com/uta-smile/RetroXpert, a concurrent work as yours, about this issue.
In short, the 1st mapped atom (id: 1) in the product SMILES (and reactant SMILES) is usually the reaction centre. So, if you directly use the original atom mapping in the USPTO dataset to set the order of generation/edits for molecular graphs, I think there's a subtle but important data leak that's going to make it easier for the model to generate the correct reactants (since it's going to implicitly figure out that the first atom in most products (and consequently, reactants) should be the reaction centre and thus going to need some sort of modification, rather than having to learn which atom is really the reaction centre). The authors of RetroXpert have been alerted to this leak and implemented a corrected canonicalization pipeline to ensure that the atom-map ordering is truly canonical.
I have re-trained RetroXpert on that truly-canonical USPTO-50K and their top-1 is significantly lower at ~45% (and so are the remaining top-K's). It makes their work no longer SOTA.
I took a brief look at MEGAN's data scripts but I didn't see any canonicalization part. I am interested in whether you have already corrected for this issue, or if you have already re-ran/are re-running the experiments. Thanks.

Hi, thank you for your kind comments. We are also aware of the data leak problem in the RetroXpert paper. We have checked for it in our model and we believe that it does not apply to MEGAN.
To train MEGAN, we construct ground truth paths of graph edits, which rely on reaction mapping between substrates and product. However, during evaluation, the model does not use the mapping information - there is simply no such feature in the input representation. Moreover, as MEGAN is a Graph Convolutional Network, its inference does not depend on the order of its nodes; that is, it performs exactly same calculations for input SMILES "CCO" and "OCC", etc.
There is a little tweak in the evaluation code, which might seem like a data leak but we believe it is not. At https://github.com/molecule-one/megan/blob/8cba1016d80dd84120c85348fec861cb4f91304d/bin/eval.py#L142 we make sure that the order of atoms in SMILES is the same as the order of reaction mapping numbers. This tweak is needed because of a bug in the RdKit version that we use, which makes canonical SMILES that contain stereochemical information dependent on order of atoms in an RdKit Mol object. With this bug we can generate a correct prediction but falsely count it as incorrect because the "canonical" SMILES is different for MEGAN prediction and for the ground truth target. This tweak fixes this bug but does not affect the prediction of MEGAN (as it does not know the order of atoms in the graph). We are investigating using a newer version of RdKit and it seems that this issue has been solved since, so when we finally confirm it we will update the code and re-run evaluation using only unmapped canonical product/substrates SMILES as the model input.

Thanks for the detailed reply and explanation. I think it makes sense that MEGAN doesn't suffer from the data leak, but I'll continue to think about it just to make sure.
Anyway, I want to re-train MEGAN on my own version of USPTO-50K but having some difficulty. I have my own train.csv/valid.csv/test.csv files already prepared (approx 80/10/10 but not the same as the one GLN used).
I ran into "FileNotFoundError: Dataset has not been downloaded and/or generated. Please run "acquire" method to be able to load it!" so I looked at your acquire.py code and I see that you have to make some x.tsv/metadata.tsv and all these files. Can you guide me how to train on my 3 csv files?

For a quick solution, you can replace raw_train.csv/raw_val.csv/raw_test.csv with your own reactions and use them as they were uspto_50k. id can be any string as long as it is unique for each reaction, you can generate it for instance as an ascending integer. reaction_type_id is used only for uspto_50k_rt (the "reaction type given" wariant). In your case if you do not have such information you can simply set this column to 0 for all reactions.
If you want to implement this more "properly", you need to create a new class that inherits Dataset, similar to https://github.com/molecule-one/megan/blob/8cba1016d80dd84120c85348fec861cb4f91304d/src/datasets/uspto_50k.py. It must save data as x.tsv, metadata.tsv and split.tsv. You can probably deduce what each of this files should contain by the code of the acquire method. After writing such class you must add it to the dictionary at https://github.com/molecule-one/megan/blob/8cba1016d80dd84120c85348fec861cb4f91304d/src/config.py#L25. Then you can acquire/featurize/train/evaluate using same commands as for uspto_50k but replacing it with the key of your dataset in this dictionary.

Fantastic. Thanks for the pointers. The model's been training for a while and I didn't get any errors so far. Will leave this issue open for a day or two and then close it.

Hello again, just wondering how long training is supposed to be with the latest configs. From the paper i remember reading 10 hours on USPTO-50K, but i suppose the configs have changed since then. Currently I'm at epoch 56 and it just got a new best val top-1 of 49.02%, which means it's going to be at least 16 epochs before the training ends (LR is 1.25e-8). 1 epoch takes ~20 mins on 1x RTX2080Ti, so it's been about 20 hours. I'm wondering if the patience of 16 is that necessary

In our case the training took 35 epochs, which took about 10 hours on a single GTX1070. Maybe the longer training stems from different dataset and random weights initialization. You can safely interrupt the training with keyboard interrupt as weights are saved every epoch. Patience of 16 is very conservative and could probably be lowered to 8 or even 6.
Evaluation should take about an hour on 5k samples and beam size 50.

Hi mikolaj,
I restarted a separate training session with LR patience of 4 and early stop patience of 8. I also increase LR factor to 0.1 from 0.05, to follow the values given in the paper.
Anyway more importantly, it seemed to be running fine but halfway, I encountered an annoying CUDA issue. I'm not sure is it the GPU problem or some subtle code issue, but I tried on different nodes in my HPC and the error still happens. I restarted the training again but during first few batches of the first epoch the error happens again.
 Traceback (most recent call last):
  File "bin/train.py", line 358, in <module>
    dispatch_utils.dispatch_configurable_command(train_megan)
  File "/home/linmin001/megan_0/src/utils/dispatch_utils.py", line 187, in dispatch_configurable_command
    os.path.join(save_path, "stderr.txt"))(save_path)
  File "/home/linmin001/megan_0/src/utils/dispatch_utils.py", line 119, in func_wrapper
    func(*args, **kwargs)
  File "/home/linmin001/.conda/envs/megan/lib/python3.6/site-packages/gin/config.py", line 1078, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/linmin001/.conda/envs/megan/lib/python3.6/site-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise
    six.raise_from(proxy.with_traceback(exception.__traceback__), None)
  File "<string>", line 3, in raise_from
  File "/home/linmin001/.conda/envs/megan/lib/python3.6/site-packages/gin/config.py", line 1055, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "bin/train.py", line 318, in train_megan
    lr_step=warmup_lr_step if epoch_i < megan_warmup_epochs else 0.0)
  File "bin/train.py", line 225, in run_epoch
    raise e
  File "bin/train.py", line 214, in run_epoch
    batch_metrics = run_batch(all_ind, train)
  File "bin/train.py", line 137, in run_batch
    loss = -torch.log2(actions + ~target_one + eps) * target_one * weight
RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 10.76 GiB total capacity; 1.09 GiB already allocated; 9.75 MiB free; 42.99 MiB cached)
  In call to configurable 'train_megan' (<function train_megan at 0x2aab38336510>)

Have you ever encountered this while running experiments? I tried to follow all the advice from https://github.com/pytorch/pytorch/issues/16417 but none seems to solve it.

Hi
Ad 1. The smaller number of samples featurized by MEGAN can be caused by two factors: 1) RdKit could not read SMILES of some samples (which should not be the case for USPTO-50k, which is 100% parsable by RdKit) or 2) We remove from train/valid sets reactions that have more than the maximum (16) generation steps. You can try increasing this hyperparameter but from our experience it is not worth it in terms of Top K on USPTO-50k, as reactions with number of steps > 16 are still very unlikely to be correctly generated during evaluation. This hyperparameter does not affect reactions selected for the evaluation, which still runs on your whole dataset and the model will try to generate reactions for all input molecules. You can even set a different "max_gen_steps" during evaluation in bin/eval.py script.
Ad 2. The error suggests that you exceeded GPU RAM, which seems very unlikely if you have 64 GB. We trained on a GPU with 8 GB RAM and did not get any such error. In your error message I see 10.76 GiB total capacity, which suggests that in fact the process has less GPU RAM available, maybe this indicates some other problem? You can also try lowering batch size, however it is already small (4). Sorry for not being too helpful on this but we did not encounter such problems on our side.
I hope you will be able to solve the remaining issues and I wish you best in your research

Thanks for the explanation! Really appreciate it. Re: issue 2), I'll try to find way. Most likely just some temporary issue with my compute cluster.

Hello, just wanted to update that the root cause was in the env.sh. If you're on a cluster, line 29 export CUDA_VISIBLE_DEVICES=0 can be very problematic. Only after a second look through the codebase, I figured this could cause the problem. If your job is on a node with multiple GPUs, where other jobs are also running and using those GPUs, specifying GPU:0 can cause conflicts in GPU usage with cryptic errors like the one I encountered. Commenting this line out solved the issues.
Also for 'uspto_50k.config', I reduced the lr_patience, lr_factor and start_epoch according to your reply and what is in the paper, to:

train_megan.learning_rate = 0.0001
train_megan.gen_lr_factor = 0.1
train_megan.gen_lr_patience = 4
train_megan.early_stopping = 8
This gave me 48.92% best top-1 validation accuracy on epoch 31 and early stopped after 40 epochs, which took about 14 hours on 1 NVIDIA RTX2080Ti. I think this is reasonably close to your results.

My dataset has 39.7k/5k/5k train/valid/test reactions, and just in case, I also re-canonicalized all atom-mapping using the script from RetroXpert. (see https://github.com/uta-smile/RetroXpert/blob/canonical_product/canonicalize_products.py) and it did not affect the results, which confirms that megan is unaffected by the data leak.
Thanks for your help so far and I am going to close this issue.


Migrate all new commits from v1 to v2 repo

See: https://github.com/casbin/casbin-website-v2/pull/2#issuecomment-1152581173

@EmperorYP7 can you work on the issues at: https://github.com/casbin/casbin-website-v2/issues ?

@hsluoyz sure!


Priority as number

Replaces #77
change type on priority from Int to Number. This allows passing a Float as a priority.
Advantages:
This is a more general expression of priority which may make it easier at some point to use rank functions (https://github.com/JuliaDynamics/ConcurrentSim.jl/issues/75).
This also avoids having to normalize (and sometimes scaling) priorities so that they are integer in queueing systems.

Codecov Report

Merging #90 (7913399) into master (91a9809) will increase coverage by 0.34%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   98.06%   98.40%   +0.34%
==========================================
  Files          10        9       -1
  Lines         258      251       -7
==========================================
- Hits          253      247       -6
+ Misses          5        4       -1

Impacted Files
Coverage Δ

src/simulations.jl
100.00% <ø> (ø)

src/base.jl
97.87% <100.00%> (-0.05%)
:arrow_down:

src/events.jl
100.00% <100.00%> (ø)

src/resources/containers.jl
100.00% <100.00%> (ø)

src/resources/stores.jl
96.96% <100.00%> (+2.85%)
:arrow_up:

src/utils/time.jl
100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I'll work on resolving the issues next week.

TODO:

[ ] should make order of parameters consistent in both resource types (Containers has it as the first parameter. Stores has it as the second).

@Krastanov, I got it to work without introducing a breaking change. One of the tests on GitHub fails on something with makedocs (nightly). Not sure what that is. Let me know what you think of this PR. Thanks

I will look into this by the end of the weekend. The documentation tests are unrelated and probably fixed in #93

This looks good to me. Could you add tests that it works reliably?
E.g.:

adding a process with Int priority followed by adding a processes with Float priority
Float followed by Int
Float followed by Float
Int followed by Int

And maybe something with BigInt and BigFloat. Mainly to make sure there is no older code that makes some implicit assumptions and breaks.
That would also test whether we are missing some convert statements.

In the meantime I will fix some of the currently hidden / broken tests. The failure on nightly is unrelated and comes from MacroTools. I will try to fix it upstream sometime soon (see https://github.com/FluxML/MacroTools.jl/pull/195 (feel free to jump in if you feel like it :D )

Merging the other pull request caused conflicts. I think I resolved them all, but please double check my merge commit above (and pull it locally if you need to add something more)

All of the new documentation failures come from a single newly added test. In particular, I think the constructor for Store has a small break in backward compatibility because previously an implicit convert statement. That Store constructor is the only incompatibility I currently see.

The error was because that doctest was using the wrong type for capacity. The capacity in a Store has always been UInt. I have fixed this now.

Wonderful! I will fix the documentation break that was introduced with the merge with the other PR and will merge this as well.

Sorry to be a killjoy... I was going through the rest of the code because I was extremely surprised that the =Inf default values were not triggering UInt(Inf) conversion errors. It took me a bit to find the source of this -- it is not really in anything you had changed.
Rather now that you have made EvenKey a parameterized type, the heap slot in Simulation is not concrete anymore.
It is here:
mutable struct Simulation <: Environment
  time :: Float64
  heap :: DataStructures.PriorityQueue{BaseEvent, EventKey}

I am a bit on the fence about this. BaseEvent is already abstract, so it is not like this is changing much, but it is pushing things in an unpleasant direction.
What I plan to do is to add a few broken tests as a reminder that this is something that should probably be fixed in the future. I will add the tests, create a new issue to have them recorded, and merge this.

Actually, I do not know how to do a recursive isconcretetype check anyway... So I can not write a useful broken test. Given that the heap key is already abstract, I am not too worried about changes in performance, but in the future this would be something to improve.

You know, now that I think about this. I don't think we should have priorities be Number for EventKey and other scheduling related methods. The motivation behind this PR was to allow the user to specify floats for the priorities used when queueing resources. I don't think a user would typically be setting float priorities for Events. I would be in favor of restoring the Int priorities for Events and just keeping the Number priorities for resources. What do you think, @Krastanov ?

If you have the bandwidth to do that, I would be very much in favor.


Import the game count of number of games made on ludumdare.com

This depends on #1616
Idea is that it would be fun if the total number of games showed the grand totals

[ ] number of ld on old and new site
[ ] number of ld & minis on old and new site

Since we don't want each profile request to cause a bit of information gathering from the old site, setting an account-link to the old site would have to trigger that count.

Data will be migrated over, and old site will be eventually retired.
On Sun, Apr 22, 2018, 02:17 Martin Zackrisson<EMAIL_ADDRESS>wrote:

This depends on #1616 https://github.com/ludumdare/ludumdare/issues/1616
Idea is that it would be fun if the total number of games showed the grand
totals

number of ld on old and new site
number of ld & minis on old and new site

Since we don't want each profile request to cause a bit of information
gathering from the old site, setting an account-link to the old site would
have to trigger that count.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/1617, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABf2CR7TleQjh7Ecq_GwDFjPeCnaOpHkks5trCCEgaJpZM4Tevra
.


git pending approval

GENERATE A GIT WALLET AND CLEAR THE COST $329.88
REFUND COST {$7,300.00} WESTON

AWAINTING APPROVAL ON WESTON


Questions about VerneMQ webhooks caching

Environment

VerneMQ Version: VerneMQ Version: 1.0.0rc2
OS: :Linux Docker container
Erlang/OTP version (if building from source):

Expected behavior
I want to set the limit to indefinite for the webhooks caching.
Actual behaviour
Hi,
I know how to enable caching and I saw this is working.
I have some questions regarding this.

What are the valid values for the cache timeframe ?

Is there a limit for the number of seconds ?

Can we set the time to indefinite ?

Thank you!

Hi @EnCl
to answer your questions:

Only non-negative integer values.
No - it will be parsed and turned into an erlang 'bignum' integer (it doesn't have a max size)
No.

Hope that helps,
Lars


[feature]: add time filter to event notification RPCs

Is your feature request related to a problem? Please describe.

SubscribeReceiveAssetEventNtfns : add  time filter in request params
SubscribeSendAssetEventNtfns : add time filter in request ; add addr and txhash in response
Describe the solution you'd like
I think SubscribeReceiveAssetEventNtfns need at least a time filter for subscribe or it will received all the events when the Subscribe service restart.
there is no addr and txhash info in SubscribeSendAssetEventNtfns response.
I can do nothing after receiving the send events as there is not addr and txhash info , for example :  check the send event on chain; send notification to user
The features are very important for projects to support their users to send and receives.

Having the addr on send notifications alone seems like it would be the quickest way to enable an application to link the event to a domain-specific transaction, account, or user database resource.
Very curious about any thoughts on this or other more secure/robust approaches.

@lukegao209 The two notification RPCs currently do not give you events from past events, only new events from the time you subscribe. Are you requesting that you can retrieve events from the past, starting at a certain time?
Or do you mean you'd only like to receive events for addresses that were created a certain time ago? For example "only give me receive events for addresses that were created today"?
I'm currently re-designing the event APIs to be way more useful (not just for our integration tests).

The two notification RPCs currently do not give you events from past events

Okay, I just noticed this isn't always true. On startup of the daemon, if you already subscribe quickly enough, you get notifications about previously completed events. I'll attempt to fix that. Already completed events shouldn't re-notify.

@lukegao209 The two notification RPCs currently do not give you events from past events, only new events from the time you subscribe. Are you requesting that you can retrieve events from the past, starting at a certain time? Or do you mean you'd only like to receive events for addresses that were created a certain time ago? For example "only give me receive events for addresses that were created today"?
I'm currently re-designing the event APIs to be way more useful (not just for our integration tests).

it would be great to subscribe starting at a certain time

@lukegao209 https://github.com/lightninglabs/taproot-assets/pull/853 should satisfy your need -- If you'd like to review for feature acceptance, that'd be great


⚠ SceneTime has degraded performance

In 04fb59b, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2799 ms

Resolved: SceneTime performance has improved in 541d930 after 7 minutes.


Latest Python version but Heroku still thinks I have an unsupported older one

Hi there, I try to deploy my Flask app on Heroku which works with Python 3.5.2 and Python 3.6.5. I know Python 3.5.2 is outdated but each time I push it tells me I'm using an outdated version of the app depite of the Pipfile
Here is the log:
mike@mike-thinks:~/Programing/Rasa/myflaskapp$ git push heroku master
Counting objects: 31715, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (23971/23971), done.
Writing objects: 100% (31715/31715), 293.38 MiB | 1.10 MiB/s, done.
Total 31715 (delta 7105), reused 31669 (delta 7076)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote:  !     The latest version of Python 3 is python-3.6.5 (you are using python-3.5.2, which is unsupported).
remote:  !     We recommend upgrading by specifying the latest version (python-3.6.5).
remote:        Learn More: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> Installing python-3.5.2
remote: -----> Installing pip
remote: Traceback (most recent call last):
remote:   File "/app/tmp/buildpacks/779a8bbfbbe7e1b715476c0b23fc63a2103b3e4131eda558669aba8fb5e6e05682419376144189b29beb5dee6d7626b4d3385edb0954bffea6c67d8cf622fd51/vendor/pipenv-to-pip", line 23, in <module>
remote:     main()
remote:   File "/app/tmp/buildpacks/779a8bbfbbe7e1b715476c0b23fc63a2103b3e4131eda558669aba8fb5e6e05682419376144189b29beb5dee6d7626b4d3385edb0954bffea6c67d8cf622fd51/vendor/pipenv-to-pip", line 11, in main
remote:     lockfile = json.load(f)
remote:   File "/app/.heroku/python/lib/python3.5/json/__init__.py", line 268, in load
remote:     parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
remote:   File "/app/.heroku/python/lib/python3.5/json/__init__.py", line 312, in loads
remote:     s.__class__.__name__))
remote: TypeError: the JSON object must be str, not 'bytes'
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !	Push rejected to rosenberg-moodbot.
remote:
To https://git.heroku.com/rosenberg-moodbot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/rosenberg-moodbot.git'

And here is the Pipfile:
[[source]]
url = "https://pypi.python.org/simple"

[packages]
requests = { extras = ['socks'] }

[requires]
python_full_version = "3.6.5"

The question was asked on stackoverflow but got no useful answers.

Hi @antoinecomp,
This is because you already have a runtime.txt file in your repo with python-3.5.2 - https://github.com/antoinecomp/moodbot/blob/master/runtime.txt
The pipenv python version detection will only work if you do not already have a runtime.txt file in your root directory - https://github.com/heroku/heroku-buildpack-python/blob/master/bin/steps/pipenv-python-version#L7
So if you want detection off your pipfile to work you have to remove the runtime.txt file, alternatively you could just update the runtime.txt file to the version you want.


Best approach to send images?

I compiled uvgRTP for Android, and then also on a linux box. I ported the send_generic example into my Android app and was able to use it to send packets to receiving_hook running on my linux machine. Now I want to try to send images, like an MJPEG stream, just one image after another. Should I be feeding the whole image buffer to push_frame or should I be breaking the image up into packet size chunks and feeding them one at a time?
Thanks!

Nevermind I figured it out :)  Just had to set the flags correct between those two demos.

@esteimle Although this issue is closed, this is an interesting topic.
How is it possible to compile uvgRTP on Android?


Build incremental components through build workflow with loading previous build manifest

Description
This is the last PR to enable incremental build on the Python workflow.
The idea of this PR is to build those components that were detected by rebuild_component from build_incremental class.
Firstly we add a new parameter to the build_recorder class so that it could load existing build manifest if provided; otherwise generate a brand new manifest.
Then similar to how we build in run_build.py, here for incremental build, we are importing the previous build manifest and only build the list of components from buildIncremental.rebuild_plugins().
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/4210
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I'm looking to add additional tests to fix the cov.

PR is ready for review. Seems like some issues with Maven so that the groovy test failed.

This is pretty clean. See below, rename/simplify. Document this feature?

@dblock Just added some documentations. Please help review it as well. Thanks!

Just reviewed with @zelinh on this PR.
I have no issues with the implementation and is clear on the details.
Regarding the conflict between --component and --incremental, is it possible to go these two routes:

If both parameters present, error out the build and provide information in console, that user can only use either parameter, not both at the same time.
If both parameters present, output a warning msg in the console, notify user that --component will not take effect when --incremental is presented at the same time.

The 1st route needs more implementation, while the 2nd route requires one more logging.
Please let me know what you think.
Thanks.

After discussing again among @gaiksaya @zelinh and I, we have decided to make both --component and --incremental mutually exclusive by following the solution here:
https://github.com/opensearch-project/opensearch-build/blob/main/src/validation_workflow/validation_args.py#L114
Later, we can make both parameters work together, in cases where user want to use --incremental function to verify if there is a change within the component(s) defined by --component parameter.

Updated based on what @peterzhuamazon @gaiksaya and I discussed earlier.
I make --components and --incremental mutually exclusive for now. We can discuss about the future enhancement later.
If the rebuild list is empty, the whole build process will stop and skip building from everything.
Please help review it again. Thanks! @peterzhuamazon @gaiksaya @dblock

Almost there!
Please add test for skipping the entire build and ensure the graceful exit. Thanks!

Added new tests. I tried locally and it works.
[opensearch@c81bdd48ecdb opensearch-build]$ ./build.sh manifests/2.12.0/opensearch-2.12.0-inc.yml --incremental
Installing dependencies in . ...
Installing dependencies from Pipfile.lock (fcf5b2)...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Running ./src/run_build.py manifests/2.12.0/opensearch-2.12.0-inc.yml --incremental ...
2024-01-04 00:47:28 INFO     Loading tar/builds/opensearch/manifest.yml
2024-01-04 00:47:29 INFO     Updating ref for https://github.com/opensearch-project/OpenSearch.git from 923aa25367006b830a0b66aca82eb9c47dafba22 to 923aa25367006b830a0b66aca82eb9c47dafba22 (923aa25367006b830a0b66aca82eb9c47dafba22)
2024-01-04 00:47:29 INFO     Updating ref for https://github.com/opensearch-project/common-utils.git from 2.x to 8e2537b6c1cde03449f0818242a1a36089a69522 (refs/heads/2.x)
2024-01-04 00:47:29 INFO     Updating ref for https://github.com/opensearch-project/job-scheduler.git from 2.x to 482c90fccf59a3e02bc5cb60124580c164a9d7c3 (refs/heads/2.x)
2024-01-04 00:47:30 INFO     Updating ref for https://github.com/opensearch-project/geospatial.git from 2.x to 273fa8fe051d469b5a79ee37a1ce203738239ddb (refs/heads/2.x)
2024-01-04 00:47:30 INFO     Updating ref for https://github.com/opensearch-project/security.git from 2.x to 2d7d6702c8aab1fbb25ab660f3432062fa564e10 (refs/heads/2.x)
2024-01-04 00:47:30 INFO     No commit difference found between any components. Skipping the build

Issue created here as we discussed. https://github.com/opensearch-project/opensearch-build/issues/4320