Balance tweaks.

This is a collection of things that i think they need a tweak for balance purposes:
Magnetic Forcefield (The grapling hook mod)

Enables hyperfast flight requiring 8 iron ingots

Acceleration Wand (Not Enough Wands)

If used with mechanical users, it can be stacked with itself, breaking time-space continuum generating millions of rf a tick at the cost of 3 bonemeal , 2 nether stars and 2 diamonds.

Coal Generator (LibVulpes)

Generates an absurd 60k+ rf with a single piece of coal at the cost of 6 tin and 2 redstone, rendering other coal generators useless.

Canister (Pressure Pipes)

Its expensive recipe defies his purpose, specially since you can just make a hundred-times-more-easier-to-do portable tank (Mekanism)

Translocator/Transfer pipes (Extra Utilities 2)

Same as above, translocator's complex recipe renders his "quick transport fix" purpose useless, specially since you can just make a full stack of Transfer Pipes with 6 stone and 1 redstone dust.

Experience Rod (EnderIO)

Vastly superior to other experience storagers, like the Tome of Peritia (Blood Magic) only requiring 2 soulsand, 2 glowstone, 2 redstone and 4 gold.

EU:RF Conversion (Mekanism Cubes/Industrial Wires)

The conversion needs a nerf IMO to a lower RF output.  The issue below is one of the consequences of this

Nuclear Reactor (IC2) / Extreme Reactors

Nuclear Reactor is several times more efficient and powerfull than a extreme reactor can be thanks to EU:RF conversion, even though you need a IC2 reactor in order to craft a Reactor Controller.

Fusion Reactor (Mekanism)

Even though Fusion reactor produces the triple more RF as a Draconic Evolution reactor, its way cheaper, rendering this last one useless.

Also no celestial manipulator recipe even in end-game :( (pleaserino?)
Thats about it! Thanks for making this awesome modpack, keep up the good work!

I agree on the magnetic force, will add an appropriate recipe.

The libvulpes generator is new, didnt catch it in the udpate, it will be removed

Acceleration wand is meant be blacklisted from fakeplayers, will take care of that.
I will re-evaluate the canister recipe

translocationors are much faster than standard exu transfer nodes, I will probably end up making exu pipes more expensive and translocators a little less expensive to find a middle ground here

experience rod recipe could probably use a revamp yeah, most likely will include xp shards from a woot factory

The reason a piece of coal yeilds so much more is ic2 generators are intentionally buffed, not a consequence of this. Ic2 generators are meant to be the early game power source. For those people that refuse to deal with ic2 subcrafting they can use a furnace/survivalist generator at lower power output.

The easier mek cube recipe is an intentional way to allow for a semi unified power source early game. It doesn't bypass Ic2's power net, you must still apply the correct voltages and use transformers or it will blow up your ic2 machines. You'll notice the universal cables (except for ultimate tier) are disabled, so they are forced to use cubes and ic2 wiring. Ultimate tier require uumatter from top tier IC2 machines to produce, so you can use them eventually, but only after you've gotten your ic2 infrastrucutre rolling.

Ic2 reactor is even more powerful than baseline, nuclear fuel has been increased. You're assumption about it being better than extreme reactors is flawed however. Extreme reactors does not produce RF at all, passive generation is disabled. You can only produce steam with it, and its steam output has been increased significantly. When used with a mekanism turbine it can quite easily produce upwards up a million rf/t without even a single huge turbine.

The dragonic reactor is not a balancing point for this pack atm, it was recently added back and the recipes are default, more or less it's there for people that just want to experiment with it. There are no useful configuration options for me to tweak it to fit it better within the pack's progression right now,
The fusion reactor is pretty much top tier power as it requires all previous power infrastructure to get there and by the time you can make a fusion reactor you could essentially make the creative items anyway. I suppose I could add some awakened draconium or something into the fusion recipes, any ideas for that?

Celestial manipulator recipe should definitely be there, I will double check that!

@Saereth Weird , i writed the big reactors issue because i was allowed to produce RF from passive generation, is it a bug, maybe?

The power tap shouldnt have a recipe to craft it

ok all these changes are done now for next update except translocatiors and item pipes, I'll give that a bit more thought as to how to best handle it, probably cheaper but require some kind of machine processing.
as for the canisters, they hold 64 buckets and act as a bucket as well, they are very good for what they do. so early game they are a bit pricey yes, but once you have some infrastructure their cost is trivial and they are very good. If I made them pre steel you'd be able to easily just take one to the nether, fill up and not worry about lava probably ever again. bucketing into portable tanks is at least a bit more work.
We're testing these recipe changes on the test server and you should expect to see them in the next update.

@Saereth the problem isnt that they are not good enough, the problem is that mekanism tanks doubles as a bucket, essentially overriding the canisters at a much cheaper price, there is no work in filling the tanks since you can just right click as you do with the canisters :p

ah they do that lol, ok mek tanks getting nerfed a bit, probably will require steel as well :p there is still the ender io tank for a cheap early game tank as well.

All these are in the new update coming out later today


Optionally type-erased GPIO drivers

Based on #2072
cc #2006
Closes #1995
Reformulating on top of FlexPin allowed me to see a few missing methods here and there, but the bulk of this PR is the removal of the Any drivers and the optionally (but by default) type-erasing drivers.
WIP because it's undocumented and I'm looking for feedback if this PR is acceptable in scope or if I should slice it up into bits.

Added GpioPin::degrade to create ErasePins easily. Same for AnyPin by accident.
Input/Output/OutputOpenDrain now have separate new and new_typed constructors. new turns the pin into ErasedPin, new_type does not.
The type paramters of the pin drivers now default to ErasedPin.
Removed CreateErasedPin
New functions:

Flex::unlisten
Flex::is_interrupt_set
Flex::wakeup_enable

Flex now implements Wait

Generally, a good idea IMHO - not sure I'm a huge fan of .degrade() (I know it's common elsewhere) - could we have Into<ErasedPin>? (Just a matter of taste - maybe there are good reasons not to)

Usually I'm trying to follow embassy's lead, but I also want to add From<Flex>/Into<Flex> implementations to the drivers so we won't be entirely miming them. I guess that means we also don't have to stick to degrade - I kept typoing it to downgrade anyway.

After a bit of consideration, .into() is somewhat ambiguous and ErasedPin::from() is not simple enough. Therefore, I'd like to keep some inherent method, and degrade is as good a name for it as any.

After a bit of consideration, .into() is somewhat ambiguous and ErasedPin::from() is not simple enough. Therefore, I'd like to keep some inherent method, and degrade is as good a name for it as any.

Sure - if it's not Into<ErasedPin> it makes sense to have the name aligned with others - no need to make up a different name


fix(wallet): hide expired toggle for empty wallet

Description:
Hide the "show / hide expired" toggle for new users with no previous activity.
Motivation and Context:
For new users with an empty wallet it doesn't make any sense that in middle of the activity list there is a toggle button to show/hide expired requests, since we know the user has no requests.
How Has This Been Tested?
Manually
Types of changes:
UI/UX improvement
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

utACK 14c0f8e


Adding migration (to be performed) to move users for updated security rules

@kswenson After our discussion today, I believe this is what a PR for a migration should look like once the other migration prep PR is merged. It satisfies our criteria in that it is both safe to merge and requires minimal changes to be committed post-migration.

(Note that this shouldn't actually be merged until the other PR #139 is)

Also, I still want to update the self fields of migrated data, but I wanted to open this PR as a sample for now. Will mark WIP to reflect this


Request: Terminal Mode Highlighting

Vim version 8.1 and 0.3 neovim both support a terminal mode. I want to be able to change the highlighting of vim airlines so that I don't have this black and green colored bar in the middle.
Using 'vim -u NORC', I can see the same two colors for highlighting in the default statusbar, but I can easily resolve that by editing the StatusLineTerm highlighting group. I can't find a way to do this using vim airline.
what I want to be able to see:

what I am seeing:

what black and green color bar? You should be able to set the section variables

The green fg on black bg middle section. It doesn't use my airline palette. I don't think setting my section variables actually changed anything, and with the default vim status bar it uses my highlighting settings. I don't have this problem with any of the other modes.

Please have a look at the term extension and the colorscheme dark how to configure it.

Thank you.


Add a default value to Mutually Exclusive and radios 'or' parameter

The label will always be 'or' so unless the service is translated, it shouldn't need to set this parameter.

Hard code text content

Adding a default value to the radio component would force users to have the parameter even when its is not required.  In my opinion,  Users should add the "or" parameter based on usage/requirement.
So default value can be added only to the mutually-exclusive component where it is required.


HasField method not working with MySQl EF Core 1.1

Error:

Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory..ctor(Micros
oft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger`1<Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory>, System.Diagnostics.Diagn
osticSource, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper)'.

Project.json
{
  "version": "1.0.0-*",
  "buildOptions": {
    "debugType": "portable"
  },
  "dependencies": {},
  "frameworks": {
    "netstandard1.6": {
      "dependencies": {
        "NETStandard.Library": "1.6.1",
        "Microsoft.EntityFrameworkCore.Relational":"1.1.0",
        "MySQL.Data.EntityFrameworkCore":"7.0.6-ir31"
      }
    }
  }
}

context file:
public DbSet<City> City {get;set;}

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
         modelBuilder.Entity<City>()
                .Property(c => c.Dist)
                .HasField("_district");
}

Model.
public class City
{
        private string _district = string.Empty;
        public int Id { get; set; }
        public string Name { get; set; }
        public string CountryCode { get; set; }
        public string Dist { get; }
        public int Population { get; set; }
}

NOTE/ WORK AROUND:
If I take ""Microsoft.EntityFrameworkCore.Relational":"1.1.0",' line out from project.json and OnModelCreating() method from context file and make property proper in Model class. It works perefectly.

The current pre-release of the official MySQL provider doesn't yet support the 1.1 release. They are working on an update. In the meantime, you could look at using the SapientGuardian provider, folks have been using that with 1.1.

Rowan: How is the Pomelo provider with 1.1?
Thanks,
Don

I think I may have seen one issue filed where it tried to call a broken API, but now I can't find the issue.


Executing AudioStreamPlayer.set_stream function leaks memory in Godot

Godot version
4.2.beta.custom_build. b733901e9
System information
Ubuntu 22.04 CI
Issue description
When executing (this code was automatically minimized, so it is possible, that an even more "minimal" project can be created)
extends Node
func _process(delta):
	var temp_variable60676 = AudioStreamPlayer.new()
	add_child(temp_variable60676)
	temp_variable60676.set_stream(AudioStreamMicrophone.new())
	temp_variable60676.seek(-76.8111363053322)
	temp_variable60676.play(-26.7877578735352)
	temp_variable60676.set_bus(StringName(""))
	temp_variable60676.queue_free()

Godot leaks memory:
Godot Engine v4.2.beta.custom_build.b733901e9 - https://godotengine.org
Vulkan API 1.2.0 - Forward+ - Using Vulkan Device #0: Unknown - SwiftShader Device (LLVM 10.0.0)
modules/gdscript/gdscript_vm.cpp:698:13: runtime error: store to misaligned address 0x616000362224 for type '<unknown> *', which requires 8 byte alignment
0x616000362224: note: pointer points here
  01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  0a 00 00 00 02 00 00 00  09 00 00 00 17 00 00 00
              ^
modules/gdscript/gdscript_vm.cpp:705:42: runtime error: load of misaligned address 0x616000362224 for type '<unknown> *', which requires 8 byte alignment
0x616000362224: note: pointer points here
  01 00 00 00 fc ce b7 bb  f9 55 00 00 00 00 00 00  0a 00 00 00 02 00 00 00  09 00 00 00 17 00 00 00
              ^
######################## Ending test ########################
WARNING: You must enable the project setting "audio/driver/enable_input" to use audio capture.
     at: start (servers/audio/audio_stream.cpp:364)
=================================================================
==10751==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 168 byte(s) in 1 object(s) allocated from:
    #0 0x7fdd91eb61e7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x7fdd7fc670d6  (<unknown module>)
Direct leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x7fdd91eb4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55f9ba531821 in Memory::alloc_static(unsigned long, bool) core/os/memory.cpp:75
    #2 0x55f9a606f05d in DefaultAllocator::alloc(unsigned long) (/home/runner/work/Qarminer/Qarminer/godot.linuxbsd.editor.dev.x86_64.san+0x2f4a405d)
    #3 0x55f9ba531755 in operator new(unsigned long, void* (*)(unsigned long)) core/os/memory.cpp:44
    #4 0x55f9b5bc2ed8 in SafeList<AudioServer::AudioStreamPlaybackBusDetails*, DefaultAllocator>::insert(AudioServer::AudioStreamPlaybackBusDetails*) core/templates/safe_list.h:126
    #5 0x55f9b5b934af in AudioServer::update() servers/audio_server.cpp:1459
    #6 0x55f9a6373223 in Main::iteration() main/main.cpp:3643
    #7 0x55f9a608e211 in OS_LinuxBSD::run() platform/linuxbsd/os_linuxbsd.cpp:933
    #8 0x55f9a606cae7 in main platform/linuxbsd/godot_linuxbsd.cpp:74
    #9 0x7fdd91229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
Indirect leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x7fdd91eb61e7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x55f9b5b8827f in AudioServer::start_playback_stream(Ref<AudioStreamPlayback>, HashMap<StringName, Vector<AudioFrame>, HashMapHasherDefault, HashMapComparatorDefault<StringName>, DefaultTypedAllocator<HashMapElement<StringName, Vector<AudioFrame> > > >, float, float, float, float) servers/audio_server.cpp:1137
    #2 0x55f9b5b87c6d in AudioServer::start_playback_stream(Ref<AudioStreamPlayback>, StringName, Vector<AudioFrame>, float, float) servers/audio_server.cpp:1127
    #3 0x55f9b390c31d in AudioStreamPlayer::play(float) scene/audio/audio_stream_player.cpp:147
    #4 0x55f9aecb8ebe in void call_with_variant_args_helper<__UnexistingClass, float, 0ul>(__UnexistingClass*, void (__UnexistingClass::*)(float), Variant const**, Callable::CallError&, IndexSequence<0ul>) core/variant/binder_common.h:303
    #5 0x55f9aecb6c81 in void call_with_variant_args_dv<__UnexistingClass, float>(__UnexistingClass*, void (__UnexistingClass::*)(float), Variant const**, int, Callable::CallError&, Vector<Variant> const&) core/variant/binder_common.h:450
    #6 0x55f9aecb27f4 in MethodBindT<float>::call(Object*, Variant const**, int, Callable::CallError&) const core/object/method_bind.h:335
    #7 0x55f9bbeb022e in Object::callp(StringName const&, Variant const**, int, Callable::CallError&) core/object/object.cpp:774
    #8 0x55f9bb260fce in Variant::callp(StringName const&, Variant const**, int, Variant&, Callable::CallError&) core/variant/variant_call.cpp:1168
    #9 0x55f9a6d41761 in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_vm.cpp:1704
    #10 0x55f9a662e82e in GDScriptInstance::callp(StringName const&, Variant const**, int, Callable::CallError&) modules/gdscript/gdscript.cpp:1896
    #11 0x55f9afe41000 in bool Node::_gdvirtual__process_call<false>(double) scene/main/node.h:318
    #12 0x55f9afd7f494 in Node::_notification(int) scene/main/node.cpp:57
    #13 0x55f9a7e47777 in Node::_notificationv(int, bool) scene/main/node.h:49
    #14 0x55f9bbeb1db8 in Object::notification(int, bool) core/object/object.cpp:836
    #15 0x55f9aff49950 in SceneTree::_process_group(SceneTree::ProcessGroup*, bool) scene/main/scene_tree.cpp:951
    #16 0x55f9aff4cbf4 in SceneTree::_process(bool) scene/main/scene_tree.cpp:1028
    #17 0x55f9aff3acea in SceneTree::process(double) scene/main/scene_tree.cpp:508
    #18 0x55f9a6371a0f in Main::iteration() main/main.cpp:3614
    #19 0x55f9a608e211 in OS_LinuxBSD::run() platform/linuxbsd/os_linuxbsd.cpp:933
    #20 0x55f9a606cae7 in main platform/linuxbsd/godot_linuxbsd.cpp:74
    #21 0x7fdd91229d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
SUMMARY: AddressSanitizer: 488 byte(s) leaked in 3 allocation(s).

This example was found by Godot fuzzer - Qarminer, so it is quite unlikelly that this code could be used in real project, but still this should be handled gracefully.
Memory leaks or asan backtraces are visible when using Godot build with sanitizers support - https://github.com/qarmin/GodotBuilds/actions (linux -> linux-editor-sanitizers)
Steps to reproduce
Above
Minimal reproduction project
Above

This seems to be a duplicate of your issue https://github.com/godotengine/godot/issues/67589.
While the other title says set_current, the reproduction steps mention set_stream


When a profile update is installed, Nudge may not update the UI and logic

After solving for https://github.com/macadmins/nudge/issues/370, it now appears that the entire UI may need to be torn down and re-assessed from scratch. I don't know what to do here yet, besides possibly just exiting out of nudge and relying on the launch agent.
I will think through this.

This may not be the bug, but currently my working theory.

Is it not possible for Nudge to exit and relaunch itself on the fly?

Otherwise, just exiting and letting the LaunchAgent handle it seems like a fair solution to me.

Nudge will now quit if the MDM profile is re-installed and the content of the MDM profile has changed.
https://github.com/macadmins/nudge/commit/f13a697dd61400f7f0d73dc38226f7769ed8e4f4


Update NOTICE.txt

Based on https://github.com/mattermost/desktop/blob/master/package.json
Do these have a license?

https://github.com/nadeesha/ts-prune missing license?
https://github.com/Quramy/electron-connect missing license?

/release-note-none

@devinbinnie I don't have merge permissions - please help merge and cherry-pick to release-5.3.

Error trying doing the automated Cherry picking. Please do this manually
fatal: No such remote 'upstream'

+++ Returning you to the master branch and cleaning up.

Cherry pick is scheduled.


Add typedoc support to the demo site

I added an api tab in the code section that links to the typedoc generated api documentation.
https://rawgit.com/dgutride/patternfly-ng/typedoc-dist/dist-demo/

Looks like toast notification shows the same api for toast notification list. And search highlight has no docs -- probably that '/" needs to be removed from the path?


Add BaseFormatConverter::convertIcuShortFormatToPattern

This removes code duplication and makes it easier to extend
FormatConverter with custom conversions.

Why is there a separate $juiFallbackDatePatterns and why doesn't it contain time information?
It would make more sense to have a single $fallbackPatterns array, which contains ICU patterns, and then that can be converted normally. That would make it simpler to create a custom conversion function, since you'd always get a valid ICU pattern, and you wouldn't have to deal with fallbacks.

Oh, I see, convertDateIcuToJui doesn't convert times. Why?

jui is about the jQueryUI date picker which can not pick times and thus has no syntax for time values.

I see. It would still be possible to use a single $fallbackPatterns array, and the conversion would strip out anything jui doesn't support. But because the patterns are public, this would break BC.

I see. It would still be possible to use a single $fallbackPatterns array, and the conversion would strip out anything jui doesn't support. But because the patterns are public, this would break BC.

that would be possible in general but I think we should leave it as is. This way there is more control over what actually happens. This is a fallback for the case when intl is not installed anyway. If you want to do it properly you should have installed intl extension anyway.

It would be much simpler if convertIcuShortFormatToPattern could just return a pattern every time, and you wouldn't have to deal with separate fallbacks on a case-by-case basis.
See https://github.com/nkovacs/yii2-datetimepicker/blob/master/FormatConverter.php#L56

I know but that will break BC so we can not do that in 2.0.x. also currently the format is specified in the PHP / JUI syntax which is more explicit than having a syntax that needs to be converted after wards.

I don't think it's a good idea to have separate fallbacks, if they are different and you install intl, your app will suddenly use a different format and may break.
Since I had to reimplement this anyway for my extension, I can wait for Yii 2.1.

related to #11732

Won't be merged into 2.0.


SampleBasedStatisticsSuite is flaky

sometimes, we will get
- test analyze function *** FAILED ***
  0.03333333333333333 did not equal 0 (SampleBasedStatisticsSuite.scala:144)

when running SampleBasedStatisticsSuite

Just found this, I also made a PR for the same issue.

Still be seen in test.


Fix flaky test GetVolatilePartitionsExpiry

Resolves: OLPEDGE-1113
Signed-off-by: Serhii Lozynskyi<EMAIL_ADDRESS>

Please also elaborate on the fix details in the commit message. (What was happening and why the change is a proper fix to the issue.)

The commit message's still missing even a basic description of what has happened, how it's fixed, etc.

Thanks for editing the commit message.


Add "Parse and modify a version string" example

#283
I'm actually not certain if this follows best practices or even the intended goal of the example.
Feedback appreciated!

Potential points to note:

Changed name of example from "modify" to "increment" because incrementing is the only modification the crate enables.
Prematurely assigned the semver crate to the Configuration category; the crate is not currently in any category, though I have mentioned this on the crate's evaluation thread!
Not entirely sure if I'm implementing error-chain correctly...

That's excellent work @mykalu !
I've merged it after minimal cleanup (squashed commits into single one, small wording update and moved the the external reference link to the bottom of the file)


Allow to pass extra cli arguments to probes/actions

Hi all,
It would be neat if one could tweak the subprocess running k6 and pass it extra arguments. This could be an optional argument to each probe/action that simply gets passed directly as-is to the command line of k6 when running its process.

@Lawouach, we would love to talk to you about potentially transferring the grafana/chaostoolkit-k6 to the chaostoolkit organization if you'd be interested in the continued maintenance. Please let me know your thoughts.

Hey @javaducky would be delighted to. Feel fre to reach out to me on a DM/email or mastodon :)


Come up with system for indicating which studies are ready to process

@ValentineHerr (and @mawilliams99 ), we need a good system to communicate which studies we want to send into the pipeline for sending to EFDB (i.e., generate files to review). This is step 7 here).
For the first round, I sent Valentine a list (see issue #1), and some of those (not necessarily high priority) remain in files to review. (@ValentineHerr , I think we should just delete these. They still need various levels of review, and aren't necessarily high priority.)
@ValentineHerr , from a quick look, I didn't see in your code where you entered the studies identified. What would be a convenient way to communicate these?  Perhaps add a column in citations.csv indicating EFDB status (ready to run & send, sent...)? Or have such a file here?

note: I think it's more productive to do most of the review in the original ForC format, and only send to [1-to-review](https://github.com/forc-db/IPCC-EFDB-integration/tree/main/data/1-to-review) once we're confident that it's good. Perhaps a good workflow to start would be for Madison to check data in ForC against the original pub, and then I review/approve the files in [1-to-review](https://github.com/forc-db/IPCC-EFDB-integration/tree/main/data/1-to-review).

For now, I'll start a list here of studies that are ready:

[ ] McGarvey_2015_csio

@ValentineHerr , from a quick look, I didn't see in your code where you entered the studies identified. What would be a convenient way to communicate these? Perhaps add a column in citations.csv indicating EFDB status (ready to run & send, sent...)? Or have such a file here?

I had hard-coded the list of citations that you had listed here.
I think that either a new column in the CITATIONS table or a new .csv file (only one column for citation.ID suffices) in this repo would be fine. I don't think we need to keep track of status as this folder should list all what has been transferred.
Also, it does not matter if a citation that has already been transferred stays in the list as the system makes it that if there is no new data entered (or approved, e.g. if it was listed as suspicious and is not anymore) from that citation, nothing will be generated.

note: I think it's more productive to do most of the review in the original ForC format, and only send to 1-to-review once we're confident that it's good. Perhaps a good workflow to start would be for Madison to check data in ForC against the original pub, and then I review/approve the files in 1-to-review.

That is fine with me.

I added EFDB.ready field to the citations table metadata. @mawilliams99 , could you please add this to ForC_citations when you have a chance? Then, you can populate with "0" for all studies but those in this folder, which get "1". McGarvey_2015_csio should also get "1", as should any the studies you finish reviewing.
Then, @ValentineHerr , you can have your script reference this field.

Hopefully I did not create a conflict by doing this (I reffered to the wrong issue but the commit is here).
If i did, @mawilliams99, you can revert my  commit

I think we likely have a conflict with @mawilliams99's version (at least the measurements file) after you updated everything, @ValentineHerr , and after I fixed the one error. Sorry, @mawilliams99! The easiest fix is probably to save your copy under a temporary name, pull the new version, and copy your changes in there. Alternatively, sometimes GitHub may be able to merge conflicting copies when the changes themselves don't conflict (have seen it work for .Rmd files, but not sure about .csv).

I added source.type (but didn't fill) in CITATIONS so you don't need to do it @mawilliams99, unless you have a conflict and need to revert my commit.
If you are having issues with merging your changes in MEASUREMENTS, let me know and I can help you navigate that.

FYI, @teixeirak McGarvey_2015_csio is ready to review here

I just approved McGarvey_2015_csio.  I believe we can close this issue.


Update Composer dependencies (2022-03-31-00-07)

Visual regression test passed!
View the visual regression test report


Add more friendly way to JS compatible maps

Currently, to have map keys use string instead of symbols in JavaScript objects, one has to do the following.
%{ "key" => value }

This is a proposal to come up with a more natural way of defining a map that has string keys in JavaScript. The way proposed in #150 is:
${ key: value }

Notice % is replaced with $. This does not have to be the final syntax if another option is better. If new syntax is added, it should be defined as a macro. Ideally converting the second code snippet into the first one.

@AdamBrodzinski I tried creating a macro for the expression ${ key: value }, but I get compilation errors when quoting it "it complains about the $". I tried some other options like obj(a: "b") or o(a: "b") which work well. What do you think?

I currently have "Kernel.object" in master. From the changelog:
Added Kernel.object/1 function to make it more natural to create a JavaScript object with string keys
Elixirscript, by default turns the following, %{a: "b"} into {[Symbol.for("a")]: "b"} in JavaScript. In order to get string keys,
one would have to do %{"a" => "b"} which turns into {a: "b"} in JavaScript. With Kernel.object, you can create string keyed maps
conveniently, object(a: "b") which turns into {a: "b"}.
NOTE: when updating the created by, you still have to use the string form %{ my_map | "a" => "c" }
If there aren't any objections, we can go with this.

@bryanjos awesome! i'll check this out this week :smile:   I think object(a: "b") would be just fine! Typically that 'first' line is something like styles = object( anyway so the extra chars aren't a big deal IMHO and also make it more clear what it is were the proposed ${a: "b"}  is not clear.
Great job! :beers:


Just install the driver but can not get more than 60Hz at 4K

Is there a way to get to a higher display rate? How do I do this?

same issue. except anything over 1080p is limited to 60hz.

change the FPS in options.txt from 60 - 240 (or whatever you want)

If you happen to be using sunshine for streaming this tool would allow you to set the [Width x Height + Hz] dynamically. It has Sunshine Integration that is well documented and easy to setup like QRes. It also has a GUI that will let you change every setting in these drivers without editing any configs.
Virtual Display Driver: Wizard
A GUI tool that can integrate with other software such as Sunshine for efficient manipulation (Install / Uninstall / Reload / Configure) of Indirect Display Driver Sample (IddSample) implementations like the HDR capable Virtual Display Driver from itsmikethetech that works on Windows 10/11. This installer/configuration tool is intended to provide a more elegant solution in place of needing to edit configs or use Device Manger for driver installation.
https://github.com/sofmeright/VirtualDisplayDriver_Wizard


Add Prometheus metrics

Hi Josh,
I have another request which stems from a requirement in the business context where we'll use ChartMuseum (but would also make sense in a more general context I believe): add Prometheus metrics, using https://github.com/prometheus/client_golang.
Things it would be nice to (optionally) measure:

Number of requests, by type
Duration of requests
Number of charts served
Time it takes to regenerate index
Etc.

What do you think? Of course if you agree once more, I'll be happy to propose an implementation.

@cjauvin Yes, I think this would be very helpful. Please share the details of implementation


Constexpr-fying bind and other functional facilities

@K-ballo this time it looks like pycicle is complaining for a reason. It seems like gcc 7.3 (C++ 17) has problems while gcc 6.2 (C++ 17), gcc 4.9 (C++ 11), and clang 3.8 (C++ 11) are okay. Clang 6.0 timed out so could be a problem there as well.


Add an NPM module

Would be nice to be able to install as an NPM module.

Sure thing. I don't use npm to manage front end deps - are there any fields you'd need other than the usual in the package.json file? I.e. is it conventional to list the main files as in bower.json?

It's up under angular-snap as of v1.8.1. Snap.js itself isn't on npm and I don't much like the idea of tracking down shasums to match version numbers over there so I'm leaving it off the dependency list for now. If you can convince @jakiestfu to publish on npm or have a tidy solution for syncing up versions I'd be more than happy to list it as a dependency too.

Thanks @jtrussell. Appreciate it.


chore: support set env on Windows

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
support set env on Windows

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[X] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[] Other... Please describe:

What is the current behavior?

Issue Number: 7982
close #7982
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

duplicated #8556


connect to a socket source that also includes other parameters

A bit of a novice here, so excuse me if this is obvious.
(I am trying to translate some node.js into python as well)
I am trying to create a connection to a web service that requires two keys to be passed in the connection string.
The node.js uses an npm module and looks like this:
var meshblu = require('meshblu');
var request = require('request');
      var conn = meshblu.createConnection({
      "uuid": "0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc",
      "token": "qirqglm6yb1vpldixflopnux4phtcsor"
    });

    conn.on('ready', function(data){
    console.log('Ready');

They also have a REST interface that requires this in the header like this using PowerShell:
$authHeader = @{
meshblu_auth_uuid = $obj.uuid
meshblu_auth_token = $obj.token
}
$skynetUsers = Invoke-RestMethod -URI http://skynet.im/devices?type=user -Headers $authHeader -Method Get
$skynetUsers.devices
Any idea how to handle this with the websockets?

As far as I can tell from meshblu's readme, these parameters must be passed as HTTP headers, like this:
meshblu_auth_uuid: 0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc
meshblu_auth_token: qirqglm6yb1vpldixflopnux4phtcsor

Unfortunately, websockets doesn't support passing custom HTTP headers at this time.
If you don't mind I'll close this ticket which is extremely specific and open a new one for supporting custom HTTP headers (#47).


Clear button in api-client doesn't work

What happens?
After typing keys or values in the "Test Request" modal, the clear button doesn't do anything.
What did you expect to happen?
The clear button should clear all the keys and values.
OpenAPI Document
No response

hey @mahdiyari, thanks for the feedback! as of right now the clear button is only clearing non enabled value - we thought it would be a good way to prevent from removing values unexpectedly:

do you feel like this should be done differently? curious to hear more about this!

It is a bit confusing. It feels like a quick reset button that is supposed to reset all the values. Maybe consider adding a title to the button that explains what it clears?

what could be a quick follow up on this could as follow:

displaying tooltip on button hover including more information
displaying clear action only in presence of at least one enabled filled key || value

cc @cameronrohani

I was testing random keys and values to test the behavior of the API. Also having an X button on each row might be helpful to quickly remove a row.


Fix analytics screen event tracking

Fixes #275
TLDR; Analytics stopped working because App got refactored and missed passing the onNavigationStateChange to the Navigation stack. This PR fixes that.
Tester check-list

[ ] Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

[ ] Galaxy S8 (Android 7.0/8.0)
[ ] Galaxy S7 (Android 6.0)
[ ] iPhone X (iOS 11.x)
[ ] iPhone 8 (11.x)
[ ] iPhone 7 (iOS 10.x)

Jut double checked the iOS alpha build, and screen events are now coming through.


Reading Wikipedia to Answer Open-Domain Questions

https://aclanthology.org/P17-1171/

발표 자료 : DrQA_집현전3기_중급5조.pdf
Source : DrQA
저자 발표 영상 : Danqi Chen: From Reading Comprehension to Open-Domain Question Answering


Aerie AMPCS parsing fails on empty and self-closing tags

Checked for duplicates
Yes - I've already checked
Is this a regression?
No - This is a new bug
Version
2.11.0
Describe the bug
When uploading a command dictionary with empty or self-closing XML tags, I get an error from (I think) the sequencing server that looks to be coming from the AMPCS dictionary parsing module.
Reproduction
Upload an XML dictionary with empty or self-closing XML tags (e.g., <description></description> or <description/>). Aerie will fail to parse the dictionary. Stack trace from error response included below.
Logs
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at Module.parse (file:///app/node_modules/@nasa-jpl/aerie-ampcs/dist/index.js:315:62)
    at file:///app/build/app.js:110:38
    at Layer.handleRequest (/app/node_modules/router/lib/layer.js:101:15)
    at next (/app/node_modules/router/lib/route.js:142:13)
    at Route.dispatch (/app/node_modules/router/lib/route.js:107:3)
    at handle (/app/node_modules/router/index.js:421:11)
    at Layer.handleRequest (/app/node_modules/router/lib/layer.js:101:15)
    at /app/node_modules/router/index.js:288:22
    at processParams (/app/node_modules/router/index.js:568:12)
    at next (/app/node_modules/router/index.js:282:5)

System Info
Local or AWS Aerie deployment; Firefox on MacOS.

Severity
Moderate

Thanks @cartermak - I have a PR with a fix for this in the underlying aerie-ampcs repository, will update again once it's reviewed again and released.

Remaining to do before this is fully fixed:
[x] Review & merge aerie-ampcs PR
[x] Update aerie-ampcs package version (1.0.6)
[ ] Publish new package version to NPM
[ ] Publish tagged release on aerie-ampcs repo
[ ] Update to v1.0.6 in Aerie package.json, PR, and cherry-pick to 2.11.1 branch


Dynamic User Group to include users with a Microsoft 365 E3 License.

I am having trouble finding the resources needed to learn how to create a Syntax Rule for a Dynamic user group that will only include users who have been give the Microsoft 365 E3 License. I have located the GUID for the License but that is about all I can do. Even Copilot is not use full as it only produces rule that have a invalid object error.
Can we get a Syntax example added that I can use to create a Rule that applies to Specific Microsoft 365 Licenses?
The Broken rule that Copilot keeps spitting out is: (user.assignedLicenses -any (assignedLicense: assignedLicense.skuId -eq "05e9a617-0261-4cee-bb44-138d3ef5d965"))
Any help is appreciated.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5f7a4070-1be8-5f1f-0092-68fb6b9e2305
Version Independent ID: cd34312f-b507-affe-555e-1e0c63e7d494
Content: Rules for dynamically populated groups membership - Microsoft Entra ID
Content Source: docs/identity/users/groups-dynamic-membership.md
Service: entra-id
Sub-service: users
GitHub Login: @barclayn
Microsoft Alias: barclayn

@michaelfromslc
Thanks for your feedback! We will investigate and update as appropriate.

@michaelfromslc
Thank you for your feedback!
I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


chore: bump validator plugin version to support rule addition

Codecov Report

Merging #96 (3cf3f82) into main (c2945d2) will increase coverage by 0.12%.
The diff coverage is 100.00%.

:exclamation: Current head 3cf3f82 differs from pull request most recent head 2f4bf9c. Consider uploading reports for the commit 2f4bf9c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   69.60%   69.72%   +0.12%
==========================================
  Files           2        2
  Lines         250      251       +1
==========================================
+ Hits          174      175       +1
  Misses         56       56
  Partials       20       20

Files
Coverage Δ

internal/controller/ocivalidator_controller.go
78.57% <100.00%> (+0.31%)
:arrow_up:

Continue to review full report in Codecov by Sentry.

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


Glebashnik/fix tensor adress hash code

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Replaced custom hash code implementation with the one that is similar to a Java standart library.
The order of labels is reversed when generating hash codes for multi-label addresses.
For some reason this increased performance 8x for matrices with string labels.
Benchmarked with TensorFunctionBenchmark.java.

Looks like a lot of time in the benchmark is spent resolving hash collisions in the binary tree fallback path in HashMap.
My guess is that hashing order impacting performance is due to how it all boils down to Long.hashCode(numeric) in the label, which is the identity function for all numbers using less than 32 bits (it just XOR-folds the top 32 bits on top of the low 32 bits). With Arrays.hashCode() the contribution of the final element hash to the output is a simple addition, so returning the identity of strictly increasing internal label IDs will yield hashes with very little difference.
Example:
Arrays.hashCode(new long[]{-2, -3, -4, -5, -6}) = 29615266
Arrays.hashCode(new long[]{-2, -3, -4, -5, -7}) = 29615267
Arrays.hashCode(new long[]{-2, -3, -4, -5, -8}) = 29615268

Flip the ordering around and you get much more dispersion due to earlier multiplies:
Arrays.hashCode(new long[]{-6, -5, -4, -3, -2}) = 33368866
Arrays.hashCode(new long[]{-7, -5, -4, -3, -2}) = 34292387
Arrays.hashCode(new long[]{-8, -5, -4, -3, -2}) = 35215908

This is very data-dependent—e.g. in the benchmark case the matrix changes most rapidly in the last dimension, but it could just as well have been the other way around.
Here's if I run the benchmark on this branch locally:
Indexed unbound vectors,                     time per join:    0.279 ms
Indexed unbound matrix,                      time per join:    0.423 ms
Indexed bound vectors,                       time per join:    0.267 ms
Indexed bound matrix,                        time per join:    0.467 ms
Mapped vectors,                              time per join:   12.158 ms
Mapped matrix,                               time per join:   18.290 ms
Mapped vectors with string labels,           time per join:   12.222 ms
Mapped matrix with string labels,            time per join:   17.490 ms
Indexed vectors, x space                     time per join:   38.040 ms
Indexed matrix, x space                      time per join:   18.380 ms
Mapped vectors, x space with string labels   time per join:   54.260 ms
Mapped matrix, x space with string labels    time per join:   92.710 ms

Running with the right-to-left hashCode evaluation order "reverted" to left-to-right:
Indexed unbound vectors,                     time per join:    0.293 ms
Indexed unbound matrix,                      time per join:    0.972 ms
Indexed bound vectors,                       time per join:    0.288 ms
Indexed bound matrix,                        time per join:    0.976 ms
Mapped vectors,                              time per join:   11.998 ms
Mapped matrix,                               time per join:  134.430 ms
Mapped vectors with string labels,           time per join:   14.824 ms
Mapped matrix with string labels,            time per join:  121.720 ms
Indexed vectors, x space                     time per join:   40.900 ms
Indexed matrix, x space                      time per join:   20.440 ms
Mapped vectors, x space with string labels   time per join:   59.540 ms
Mapped matrix, x space with string labels    time per join:  459.680 ms

High 🐌 factor as observed.
Let's sneakily change LabelImpl.hashCode() to mix bits around in a blender...
@Override
public int hashCode() {
    // return Long.hashCode(numeric);
    long k = numeric;
    // 64-bit avalanche finalization mix from MurmurHash3, with final fold down to 32 bits
    k ^= k >>> 33;
    k *= 0xff51afd7ed558ccdL;
    k ^= k >>> 33;
    k *= 0xc4ceb9fe1a85ec53L;
    k ^= k >>> 33;
    return Long.hashCode(k);
}

With this change and still with left-to-right eval:
Indexed unbound vectors,                     time per join:    0.293 ms
Indexed unbound matrix,                      time per join:    0.966 ms
Indexed bound vectors,                       time per join:    0.293 ms
Indexed bound matrix,                        time per join:    0.972 ms
Mapped vectors,                              time per join:    7.126 ms
Mapped matrix,                               time per join:   25.250 ms
Mapped vectors with string labels,           time per join:    7.496 ms
Mapped matrix with string labels,            time per join:   20.450 ms
Indexed vectors, x space                     time per join:   39.400 ms
Indexed matrix, x space                      time per join:   18.600 ms
Mapped vectors, x space with string labels   time per join:   62.380 ms
Mapped matrix, x space with string labels    time per join:   95.650 ms

With this change and right-to-left eval (i.e. the only diff from the branch is LabelImpl.hashCode:
Indexed unbound vectors,                     time per join:    0.291 ms
Indexed unbound matrix,                      time per join:    0.985 ms
Indexed bound vectors,                       time per join:    0.291 ms
Indexed bound matrix,                        time per join:    0.973 ms
Mapped vectors,                              time per join:    7.292 ms
Mapped matrix,                               time per join:   21.660 ms
Mapped vectors with string labels,           time per join:    8.214 ms
Mapped matrix with string labels,            time per join:   23.760 ms
Indexed vectors, x space                     time per join:   40.780 ms
Indexed matrix, x space                      time per join:   18.440 ms
Mapped vectors, x space with string labels   time per join:   61.510 ms
Mapped matrix, x space with string labels    time per join:   98.160 ms

Benchmark timings fluctuate a bit between runs, so minor differences shouldn't be read too much into.
Not likely a silver bullet (as with all things), but could be worth looking into as a more "generalized" solution.


Upgrade framework version

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11572762578

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11572762578
Status: success


Use AsApproximateFloat64 to improve scheduler performance

Swapping this to use AsApproximateFloat64 gives a 5-10% performance improvement to scheduling
The reason it should be safe is because the behaviour is only different if the float exceeds max int and we don't expect any pod resource requests to exceed max int
Longer term we could get around this by computing this weighted resource list on the job upfront, rather than on the fly in the scheduler (as the weightings are static). This would mean the performance wouldn't matter - and we could go back to the "safe" call if we wanted
┆Issue is synchronized with this Jira Task by Unito

I tried this before and it would yield incorrect results even for relatively small numbers. Might be worth double checking. In any case, maybe we can' entirely remove the need for using this function in the inner loop instead.


Add F2 keyboard shortcut to edit text boxes

Hi! It would be really practical to implement the F2 keyboard shortcut for when one grabs a text box and wants to edit it. It is a very common shortcut and avoids changing to the mouse for the double click already available. Very happy with Excalidraw, great tool!

In the meantime, you can also use enter to the edit selected text element.

Yes! F2 is the "de-facto" shortcut for this, especially when you're used to working with data (excel and the likes).

We could do it, but since text editing is as simple as using enter, we thought that f2 could be used in Excalidraw+ to edit scene title instead (or scene title in excalidraw.com as well, when later saving to a file).

F2 would cause conflict in Obsidian, I guess.


CMMC2.0 Solution (Private Preview)

Fixes #
Proposed Changes

@aprakash13 ,please review Analytic Rules, Thanks.

Please fix the workbooks query, thanks.

Please fix the queries, thanks.

@v-sabiraj, thank you for reviewing. Both errors you're seeing are expected behavior. In the workbooks error, you don't have Azure Information Protection logs in your demo environment. Any time a custom log isn't present, it'll throw this error message. This is an indication the customer should onboard Azure Information Protection or another Data Loss Prevention tool to meet this control. I recommend requesting Ninja Demo environment access (https://aka.ms/NinjaDemoAccess). I can walk you through accessing it for the first time and this environment has all security tools onboarded showing desired state of the content.
For the second error in the Analytics Rule, this is also expected behavior because your workspace doesn't have Microsoft Defender for Cloud Regulatory Compliance logging onboarded. If you follow Getting Started Steps#4-5 (https://docs.microsoft.com/en-us/azure/defender-for-cloud/update-regulatory-compliance-packages | https://docs.microsoft.com/en-us/azure/defender-for-cloud/continuous-export) they provide customer steps to enable the Microsoft Defender for Cloud Regulatory Compliance Assessment for NIST SP 800-171 and export policy assessments to the Sentinel workspace. If you follow the steps above for getting access to the Ninja demo environment, it has these logs so you can see the desired state.


Fix link to context.router in API documentation

The generated ID is contextrouter: https://github.com/rackt/react-router/blob/master/docs/API.md#contextrouter

thank you!


EcDoubleAssignNewYV1

EcDoubleAssignNewYV1 hint  computes a new y-coordinate for doubling a point on an elliptic curve
Reference:
https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/cairo_secp/ec.cairo#L151

This hints calculates the new y -coordinate when doubling a point on an elliptic curve
the computation is obviously similar to the one when adding 2 different points:
new_y when doubling a point:
    %{ value = new_y = (slope * (x - new_x) - y) % SECP_P %}

new_y when adding 2 different points:
    %{ value = new_y = (slope * (x0 - new_x) - y0) % SECP_P %}

The hint to compute new_y when adding 2 different points is already implemented and is called FastEcAddAssignNewY, see https://github.com/NethermindEth/cairo-vm-go/pull/334


Change 'unicode_literals' in TemplateCommand, change admin and view templates

If you using non askii symbols on python2, like Cyrillic alphabet, you still have an error
'SyntaxError: Non-ASCII character' because encoding not specified.
Also admin and views templates needed unicode_literals too.
For example, when you put some comments with non askii characters or raise error message with it.

This was added in models.py to mitigate a possible migration bug #24949. I'm not convinced of the value of these changes, especially with the end of Python 2 support so near.

So in next versions  {{ unicode_literals }} variable will be deleted from that templates? If not, this changes will be helpful for people who working with python2 and use non askii alphabet . I think many of them, specify encoding every time, like me.

There will be one more version to support Python 2 (Django 1.11), then yes, this will be removed.
@MarkusH, since you introduced the first unicode_literals, any opinion?

I guess that makes sense, yes. I put it into new files all the time anyway.

Okay, we also need a Trac ticket and a test update.

@timgraham sorry it is my first contribute, can you explain a bit, what should I do next

Create a ticket: https://code.djangoproject.com/newticket
Add a test similar to the one in 5d428908218e3692d1bc7e4ada6235029ae9e45c

thanks, I'll do it today, later

I update test case and create ticket https://code.djangoproject.com/ticket/27171#ticket

Not in tests.py-tpl though?

buildbot, add to whitelist.

Not sure tests.py need it, but I can modify it too, for complete change.

Update it too


Two weekly bin pickup - a holiday in each week leads to the pickup date moving twice.

Hi Folks,
How can I configure or change the "Move forward when Holiday in the week" blueprint automation so that it only moves the next date based on holiday(s) in the preceding week period (rather than two week period).
My pickup is normally every two weeks on a Tuesday.  The next pickup date currently shows Thu 10th Feb instead of Wed 9th Feb.  I suspect this is due to there being a holidays in each of the two weeks prior (the first being Mon 31st Jan and the second being Mon 7th Feb).
Thanks

The blueprint should only look in the current week, not two weeks before. So if a collection is on Wednesday, it will check if a holiday is any time from Monday to Wednesday and if yes, it will move the collection to Thursday. Are you saying that it does not work that way? Or that you need it to work differently? I'd either fix it, or help you to come with own custom automation (or create a new blueprint...)

Thanks for replying.  Yes, I'm saying that it didn't seem to work that way.  Given it's supposed to work that way and its very rare to have two public holidays within a two week interval, I've just deleted the garbage collection integration that's not working and set it up again from scratch.  Thank you for the offer of help too.

@shadsnz , would you like to check #330? Is that what you had in mind? I just made another flavor of the blueprint. Does that do what you meant?

Thanks @bruxy70.  It's looking good now.  But I suspect it was my configuration as I may have had the provential holidays setting wrong on the collection that wasn't working . I'm very grateful for your efforts with this functionality - it's really effective and useful.  Thanks agian.


feat: problem 38

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

30 of 33 (90.91%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 90.156%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/problem_38/mod.rs
29
32
90.63%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
1786

Relevant Lines:
1981

💛  - Coveralls


Special charachters Handled Incorrectly

A tournament entered a team name with a utf-8 character and this broke all the things (à).
This should not break all the things.

^ Adding a character validator on the text fields for teams, judges, debaters, etc. would solve the problem. If I recall correctly, Python 2 strings do not support unicode.


smartctl symlink

In 4.3.1:
Inspect the timestamps of smartctl and other files in
the same directory. If smartctl was modified later than
the majority of other files or is not a symlink, it is likely
that the smartctl binary was tampered with. This serves
as a first indication that the device may be infected by
COATHANGER.

My file smartctl file is older and not a symlink.
It's also not the the same hash.
I think 'is not a symlink' a false positive?

Thanks for creating an issue @pbeij. We have released an improved version of our advisory which will be published later this afternoon on the NCSC website. During our text review process some phrases in section 4.3.1 were inadvertently modified. The new text reads:
4.3.1
Check if the files /bin/smartctl or /data/bin/smartctl exist using the following command:

fnsysctl ls -la /bin
fnsysctl ls -la /data/bin

Inspect the timestamps of smartctl and other files in the same directory.
Disregard timestamps of symlinks, because these are updated more frequently.

If smartctl was modified later than other non-symlink files, it is likely that
the smartctl binary was tampered with. This serves as a first indication
that the device may be infected with COATHANGER or other malware.

Note: An earlier version of this report incorrectly stated that it would be an
indicator if smartctl is a symlink.

An earlier version of this report incorrectly stated that it would be an
indicator if smartctl is a symlink.
Should be:
An earlier version of this report incorrectly stated that it would be an
indicator if smartctl is NOT a symlink.

This output was recovered from a device running 7.4.2. The smartctl file is newer than the majority of the other files, including files that are not a symlink.  Maybe add some nuance to the documentation that this on itself is not an IOC?

@pbeij: Thank you for your input. You're right, we corrected our comment above and made sure the new version of the advisory includes the right text.
@hackett92: Thank you for your remark.  As stated in the updated version of the advisory, one should disregard timestamps of symlinks, because these are updated more frequently. Therefore, you should compare the timestamp of the smartctl binary (in your case located at /data/bin/smartctl) to the timestamps of other binaries in the same folder.
We will review the advisory internally and perhaps update the document to clarify this case.


Update Onsite logging

Hi @digitaldiina , can it be approved and also new Docs built before Thursday next week? I have a training about this. If not, it is not a big deal, I can show them the branch, and not the public Docs. Thanks.


Documentation note

Paragraphs have not been placed correctly and something has been overlooked.
https://docs.microsoft.com/en-us/office/vba/api/word.range.sort
Under Parameter > Name > SortFieldType3:
"Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you?ve selected or installed. The default value is wdSortFieldAlphanumeric. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you have selected or installed."
Must be:
Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you have selected or installed. The default value is wdSortFieldAlphanumeric.

@PeterVanLoosbroek Thanks for this fix. I fixed it, and changes will be live later today.


Draft claims on user object aren't populated with data (they only have IDs)

bring in the data!  Pretty sure this is in the way we ask mongo

Next step - receive them client side


Receiving "Unauthorized" message in terminal

Hello, I am trying to wire up the SendGrid API to my front-end code through a submit form with HTML. For my backend, I am using Node.js. The node version is v12.16.1. The @sendgrid/mail version is 7.4.0. My form is:

Name

Email

Subject:

My backend code is divided into two files. In my email.js file, my code:
require("dotenv").config
const sgMail = require("@sendgrid/mail")
sgMail.setApiKey(process.env.SENDGRID_API_KEY)

    const receiveMail = (to, from, subject, text) => {
        const msg = {
        to,
        from,
        subject,
        text
    }

    sgMail.send(msg, (error, result) => {
    if (error) {
        console.log(error)
    } else {
        console.log("Email sent!")
    }
 })
}

module.exports = receiveMail

and in my server.js file:
const path = require("path")
const http = require("http")
const express = require("express")
const app = express()
const server = http.createServer(app)
const receiveMail = require("./utils/email.js")
const port = process.env.PORT || 3000
const publicDirectoryPath = path.join(__dirname, "../public")

app.use(express.static(publicDirectoryPath))
app.use(express.urlencoded({ extended: false }))

app.get("/", (req, res) => {
    res.render("public")
})

app.post("/sendemail", (req, res) => {
    const {name, email, subject} = req.body
    console.log(name, email, subject)
    const from =<EMAIL_ADDRESS>    const to = name

    const message = "New Contact Request"

    const output = `

 You have a new Email

Contact Details

Name: ${name}

Email: ${email}

Subject: ${subject}

    `
    receiveMail(to, from, message, output)
})

server.listen(port, () => {
    console.log(`Server is up on port ${port}!`)
})

There error I am receiving in the terminal when I click the submit button is:
ResponseError: Unauthorized
    at C:\Bootcamp\Portfolio\node_modules\@sendgrid\client\src\classes\client.js:145:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  code: 401,
  message: 'Unauthorized',
  response: {
    headers: {
      server: 'nginx',
      date: 'Wed, 09 Dec 2020 01:09:12 GMT',
      'content-type': 'application/json',
      'content-length': '116',
      connection: 'close',
      'access-control-allow-origin': 'https://sendgrid.api-docs.io',
      'access-control-allow-methods': 'POST',
      'access-control-allow-headers': 'Authorization, Content-Type, On-behalf-of, x-sg-elas-acl',
      'access-control-max-age': '600',
      'x-no-cors-reason': 'https://sendgrid.com/docs/Classroom/Basics/API/cors.html'
    },
    body: { errors: [Array] }
  }
}

Any help would be much appreciated. Thank you in advance!

Hi @jmorales113
This looks like an issue with your credentials. I would suggest you start by testing your api key to verify it is working properly. You should also verify that you are storing the key in an environment variable named SENDGRID_API_KEY.

Hello Jennifer,
Thank you for your timely response. I do have the API key stored in an environment variable named SENDGRID_API_KEY in a file called .env. Also, I tested the API key in another application and it's working properly. Any other suggestions would be greatly appreciated.

Hello @jmorales113,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team

what was the fix to this? seems like a CORS issue


Validate failure in CI

For some reason the validate workflow started to fail from #3587. Let's figure out how we can restore it.
https://github.com/apache/camel-k/actions/workflows/validate.yml

cc @astefanutti

@tadayosi yes, these are new issues unrelated to @3587. Maybe we'll want to add only-new-issues: true to the golangci-lint action configuration.

This easy fix seems to suppress the errors #3592


DocFX fails to inherit indexer comments

https://github.com/linksplatform/Memory/blob/ac233104cb63a2b8f27e72bc9e62cba2319d367f/DirectMemoryAsArrayMemoryAdapter.cs#L34
Documentation link

All include tags for xml-comments should be checked, https://github.com/dotnet/docfx/issues/2328 issue can be helpful for fixes.


How to add a toast from outside react component?

Hi, I don't know if it is possible, but it would be nice to add toast notifications, in my case, from apollo link error.

I used a simple approach: passing the hook instance to the place where the notification should be raised
You can do it in many ways, the simplest ones could be:

As a parameter (which can be tedious and error-prone if you have to add the parameter in many places)
As a module variable (or any other global mechanism)

In my case I did it with a variable in the module from where I want to raise the notifications:

Maybe this is not the best “clean code / architecturally brilliant” approach, but it works just fine for the needs of the project. 🤓👍
Otherwise, maybe you can try react-toastify, which uses a function approach (not a hook) to raise the notifications.

@CicheR Thanks, that looks good!


dashboard: show epoch on DAG

          I found you once raised the idea to show the epoch on DAG. 🤔

https://github.com/risingwavelabs/risingwave/issues/13481#issuecomment-2301341892
Originally posted by @xxchan in https://github.com/risingwavelabs/risingwave/pull/19639#discussion_r1865898939

Duplicated with https://github.com/risingwavelabs/risingwave/issues/19619 ?


Cannot find type 'Binding' in scope , Xcode  version 13.4.1 (13F100)

Hello , I am facing this error while archiving. I had the same problem before with other version of Kingfisher, i used package manager and problem solved but now i am facing this problem again. Used package manager and also  pods but no changes.

import SwiftUI
add this line in your file

Where did you add import SwiftUI @sohaib-sajjad ?
@alijalali did you resolve your issue?
I believe I'm experiencing the same.

same problem here. Building for 10.3+ with Xcode 13.4.1. Kingfisher is 6.3.1 from spm. I can't update to kingfisher 7, because its 12+

Can you try to add SwiftUI.framework to the Link Binary With Libraries and see how it can work? (Maybe you also need to set it to optional too, to allow it working with iOS 12 or earlier.)

@onevcat unfortunately it doesn't help :( Tried just now. I'm now trying to update to Xcode 14, so I'll report if that can fix the issue

Xcode update not helping. Even worse ;( Xcode 14 says, that SPM package is 11+ (but in fact package is 10+)
In my situation it's easier to bump up to 11+ than trying to resolve the issue

Xcode 14 has dropped the support for iOS 10 so it won't work for sure.

By the way, if it is possible to drop iOS 10, then maybe you can try the version6-xcode13 branch. I remember it is a special branch with some modifications to let the framework run under Xcode 13.
For any earlier version, I am now trying to see what is happening. But I cannot ensure that there would be a fix for that. Version 6 has been deprecated for a long time and there is no guarantee it can work with the recent Xcode versions.

OK. I checked the reason and recalled the investigation long ago.
As indicated here, SwiftUI only contains 64bit slice on device (arm64) so there is no way to link it to the target with 32bit environment (armv7). So you have to at least upgrade your deployment target to iOS 11 and please consider using the version6-xcode13 branch.

UIKit
SwiftUI
Xcode
Kingfisher

iOS 10+
iOS 13+
12
~> 6.3.1

iOS 11+
iOS 13+
13
version6-xcode13

iOS 12+
iOS 14+
13
~> 7.0

There seems to be no way to support iOS 10 under Xcode 13 or later with the SwiftUI part of Kingfisher.


Screen not cleared when spawn shell

No problem when running a terminal emulator in X, however, without X, or in the initramfs, when the "!" key pressed, the prompt appears at top of screen and the prior shfm output is still there. Ditto when type "exit" to go back to shfm, the shell output is still there.
With nnn, "!" causes the prompt to display at bottom of screen, everything is still there, just rolls up.
With nnn, typing "exit" rewrites the screen with the nnn output.

Fixed, thanks. Was using the "alternate buffer" sequence to store the screen's contents when a shell or command was run. Swapped to actually calculating the previous state. The "alternate buffer" is now used to save the screen's contents before shfm is run. Great changes all around. Let me know if the issue still persists, I can no longer reproduce it on my end.


add rollabe table for Madcap Top effects

Brush up Madcap Top to include the new rollable table

We probably want to keep the HTML table, just clean it up a bit.

We probably want to keep the HTML table, just clean it up a bit.


OOSI: Design the Link-in-bio page for click matrics

Fixes #5
Screenshots

@Swarnendu0123

I have already reviewed, please do the modifications mentioned in this https://github.com/oxiton-foundation/click-metrics/pull/132#pullrequestreview-2094642316

No review comments are visible to me. The link says 0 reviews in total reviews section.

Please attach what the GitHub is showing.

Sorry to say, but you should learn how to use GitHub first.

I can clearly see, I have reviewed these two comments which can be accessible in https://github.com/oxiton-foundation/click-metrics/pull/132#pullrequestreview-2094642316.

hey, thank you for your kind feedback.
Meanwhile check this github documentation Reviewing a pr since the ss you attached clearly shows your changes as pending and the documentation also states :

For further proof of no review requests on my side:

Let's give it a final touch, resolve the conflicts and we are done.

Thanks!

@Swarnendu0123 The merged pr resolved issue #5 which had level 4 label when assigned and even now. Do rectify the level for merged pr accordingly.


[SPARK-48754] Separate session code from sql module

What changes were proposed in this pull request?
This pulls the session code into a separate package, enforcing the layered structure that is defined in the README. This is the change that we prepared by introducing the sparkExecutor interface earlier
Why are the changes needed?
This improves the package structure by making it reflect the dependencies described in the README directly
Does this PR introduce any user-facing change?
It moves the session code to a new package but introduces no behavioral changes
How was this patch tested?
Ran existing unit tests

I think you need to pull from master again to fix the merge conflicts.

Yes, looks like my change was overtaken by a different one

Rebased

So basically, I am trying to separate some very tightly coupled components here. You know more about how folks expect to use this so we can keep it in on package if that is preferable.
I am trying to make the codebase (to some degree) reflect the dependency diagram from README.md but increasingly decoupling the very highly coupled components of the package. The current dependencies look like this:
    +-------------------+
    |                   |
    |  sparkSessionImpl |
    |                   |
    +-------------------+
              |
              |
              +
    +-------------------+
    |                   |
    | dataFrameImpl     |
    |                   |
    +-------------------+
              |
              |
              +
+---------------------------+               +----------------+
|                           |               |                |
| SparkConnectServiceClient |--------------+|  Spark Driver  |
|                           |               |                |
+---------------------------+               +----------------+

That doesn't quite match what the README.md file says (session and dataframe are reversed).

Merged to master.

Sounds good. Yes, I agree that this isn't final. It is easier to shuffle around in smaller pieces even if we end up merging it again. In the mean time, it enforces som discipline around avoiding the circular dependencies that I broke up


Modify gmws-fronted web configuration to find images

This is related to Jira ticket SOFTWARE-4578
https://opensciencegrid.atlassian.net/browse/SOFTWARE-4578

@aaronmoate The files should be also in /var/lib/gwms-frontend/web-area/monitor/images (line 428 and 836, in glideinwms-vofrontend-core), which is within the web space/Alias already defined.
The files are also in web-base to allow the upgrade command but should not be served by that directory.

I verified all current releases and the sources (spec files) and all do include the files in the right place. Somehow the installation missing /var/lib/gwms-frontend/web-area/monitor/images was corrupted. rpm -V glideinwms-vofrontend-core should detect the missing files. I don't know how that happened, so I'm leaving issues/36 open but this proposed solution is incorrect, so I'm closing the PR without merging.


Support ExtAcks

Would adding this feature cause a breaking change?
Maybe - Depends on how it's implemented.
Is your feature request related to a problem? Please describe.
I'm always frustrated when I get errors like "EINVAL" back from the kernel.  Figuring out exactly what is invalid is complicated and annoying.
Describe the solution you'd like
The kernel appears to support "extacks" which are extended error strings on netlink messages: https://lwn.net/Articles/719721/ / https://grep.app/search?q=NL_SET_ERR_MSG
This is enabled with a setsockopt:
  setsockopt(fd, SOL_NETLINK, NETLINK_EXT_ACK, true);

Then extra attributes are included on the netlink error messages:
struct nlmsgerr {
        int             error;
        struct nlmsghdr msg;
        /*
         * followed by the message contents unless NETLINK_CAP_ACK was set
         * or the ACK indicates success (error == 0)
         * message length is aligned with NLMSG_ALIGN()
         */
        /*
         * followed by TLVs defined in enum nlmsgerr_attrs
         * if NETLINK_EXT_ACK was set
         */
};

/**
 * enum nlmsgerr_attrs - nlmsgerr attributes
 * @NLMSGERR_ATTR_UNUSED: unused
 * @NLMSGERR_ATTR_MSG: error message string (string)
 * @NLMSGERR_ATTR_OFFS: offset of the invalid attribute in the original
 *       message, counting from the beginning of the header (u32)
 * @NLMSGERR_ATTR_COOKIE: arbitrary subsystem specific cookie to
 *      be used - in the success case - to identify a created
 *      object or operation or similar (binary)
 * @NLMSGERR_ATTR_POLICY: policy for a rejected attribute
 * @__NLMSGERR_ATTR_MAX: number of attributes
 * @NLMSGERR_ATTR_MAX: highest attribute number
 */

-- /usr/include/linux/netlink.h
Instead of NlPayload::Err() returning an std::io::Error, it could return a different Error type that includes all the extra metadata, and a nested std::io::Error.
This would drastically help with providing better error messages, and would avoid me pulling my hair out when I screw up and get yet another mysterious EINVAL.
Describe alternatives you've considered
The obvious alternative would not be to implement ExtAck support.
But more usefully, another option would be for NlPayload::Err to continue to implement a std::io::Error but the msg would be from NLERRMSG_ATTR_MSG instead of "Invalid Argument" (although I can't see a way in the standard library to do that).
Another variant would be to have std::io::Error wrap a different error that contains more information but continues to set ErrorKind correctly.

Hi @isomer! I've seen this capability described in the kernel code before but hadn't dug into it too much. This seems like it could absolutely be valuable! What I'm mostly confused about is what you mean by NlPayload::Err(_) returning an IO error. That should only happen if there was an error in the socket operations themselves in which case you won't receive a netlink packet error in return. This is the kernel telling you that you made an incorrect syscall. However, if you send a well formed netlink packet and set everything up properly but there is an error in the netlink packet contents, then you will get a message in response outlining the error. It may be worth giving me an example of a case in which you've seen the IO error returned so that I confirm my guess.
Regardless, I think this is a valuable feature! Thanks for suggesting it!

You're right, I had forgotten I convert things to a std::os::Error very early on and thought that it was neli doing that.  My apologies.
I played with it a little bit this evening trying to make a simple example case to demonstrate what currently happens.  And it turns out that it muddles the attributes into the nlmsg!  So you get a combination of both your attributes, and the NLMSGERR_ATTR attributes in there.
I've written a stripped down program using nl80211 with the same caveats as last time.  It's possible that this could be done with Rt but I ran out of weekend before I could experiment with that (and thus some of this code is a little... rough).  This example relies on the fact that the kernel does some initial type checking of attributes before it does anything else with the message, so I pass a 1 byte mac address to GetInterface which is clearly wrong which is then flagged and returned with an only slightly error message.
I suspect that neli is just consuming attributes until the buffer is empty, where neli should only be consuming attributes for the length provided in the netlink header.
This requires neli and libc.
use libc::{setsockopt, NETLINK_EXT_ACK, SOL_NETLINK};
use neli::{
    consts::{
        nl::{GenlId, NlmF, NlmFFlags},
        socket::NlFamily,
    },
    err::NlError,
    genl::{Genlmsghdr, Nlattr},
    nl::{NlPayload, Nlmsghdr},
    socket::NlSocketHandle,
    types::GenlBuffer,
};
use std::os::unix::io::{FromRawFd as _, IntoRawFd as _};

#[neli::neli_enum(serialized_type = "u8")]
pub enum Nl80211Command {
    GetInterface = 5,
    /* Others elided */
}
impl neli::consts::genl::Cmd for Nl80211Command {}

#[neli::neli_enum(serialized_type = "u16")]
pub enum Nl80211Attribute {
    Mac = 6,
    /* Attributes Elided */
}
impl neli::consts::genl::NlAttrType for Nl80211Attribute {}

#[neli::neli_enum(serialized_type = "u16")]
pub enum ExtAckAttr {
    Unused = 0,
    Msg = 1,
    Offs = 2,
    Cookie = 3,
    Policy = 4,
}
impl neli::consts::genl::NlAttrType for ExtAckAttr {}

fn main() -> Result<(), Box<dyn std::error::Error>> {
    env_logger::init();
    let mut sock = NlSocketHandle::connect(
        NlFamily::Generic, /* family */
        Some(0),           /* pid */
        &[],               /* groups */
    )?;
    unsafe {
        let fd = sock.into_raw_fd();
        let enable = 1_i32;
        if setsockopt(
            fd,
            SOL_NETLINK,
            NETLINK_EXT_ACK,
            &enable as *const _ as *const _,
            std::mem::size_of::<i32>() as _,
        ) == -1
        {
            return Err(std::io::Error::last_os_error().into());
        }
        sock = NlSocketHandle::from_raw_fd(fd);
    }

    let family_id = sock.resolve_genl_family("nl80211")?;
    let mut attrs = GenlBuffer::new();

    attrs.push(
        Nlattr::new(
            /* Nested */ false,
            /* Network Byte Order */ false,
            /* Attribute */ Nl80211Attribute::Mac,
            /* Value */ vec![0_u8], /* NOTE: Deliberately wrong length */
        )
        .unwrap(),
    );

    let req = Nlmsghdr::new(
        /* len */ None,
        /* type */ family_id,
        /* flags */ NlmFFlags::new(&[NlmF::Request, NlmF::Ack]),
        /* seq */ Some(1),
        /* pid */ Some(0),
        /* payload */
        NlPayload::Payload(Genlmsghdr::<Nl80211Command, Nl80211Attribute>::new(
            /* cmd */ Nl80211Command::GetInterface,
            /* version */ 1,
            /* attrs */ attrs,
        )),
    );

    sock.send(req)?;
   loop {
        let data: Result<
            Option<Nlmsghdr<GenlId, Genlmsghdr<Nl80211Command, Nl80211Attribute>>>,
            _,
        > = sock.recv();
        match data {
            Ok(msgs) => {
                println!("msgs: {:?}", msgs);
            }
            Err(NlError::Nlmsgerr(e)) => {
                println!("msg err: {:?}", e);
                println!(
                    "unix error: {:?}",
                    std::io::Error::from_raw_os_error(-e.error)
                );
                for attr in e.nlmsg.nl_payload.get_attr_handle().iter() {
                    match ExtAckAttr::from(u16::from(&attr.nla_type)) {
                        ExtAckAttr::Msg => {
                            println!(
                                "Msg={:?}",
                                String::from_utf8(attr.nla_payload.as_ref().to_vec())
                            );
                        }
                        ExtAckAttr::Offs => {
                            println!("Offs={:?}", attr.nla_payload.as_ref());
                        }
                        ExtAckAttr::Cookie => {
                            println!("Cookie={:?}", attr.nla_payload.as_ref());
                        }
                        ExtAckAttr::Policy => {
                            println!("Policy={:?}", attr.nla_payload.as_ref());
                        }
                        _ => println!("attr: {:?}", attr),
                    }
                }
            }
            Err(e) => {
                println!("err: {:#?}", e);
            }
        }
    }
}

The output on my machine is:
msg err: Nlmsgerr { error: -34, nlmsg: NlmsghdrErr { nl_len: 28, nl_type: UnrecognizedConst(35), nl_flags: NlmFFlags(FlagBuffer(5, PhantomData)), nl_seq: 1, nl_pid: 0, nl_payload: Genlmsghdr { cmd: GetInterface, version: 1, reserved: 0, attrs: GenlBuffer([Nlattr { nla_len: 5, nla_type: AttrType { nla_nested: false, nla_network_order: false, nla_type: Mac }, nla_payload: Buffer([0]) }, Nlattr { nla_len: 39, nla_type: AttrType { nla_nested: false, nla_network_order: false, nla_type: UnrecognizedConst(1) }, nla_payload: Buffer([98, 105, 110, 97, 114, 121, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 115, 105, 122, 101, 32, 111, 117, 116, 32, 111, 102, 32, 114, 97, 110, 103, 101, 0]) }, Nlattr { nla_len: 8, nla_type: AttrType { nla_nested: false, nla_network_order: false, nla_type: UnrecognizedConst(2) }, nla_payload: Buffer([20, 0, 0, 0]) }, Nlattr { nla_len: 28, nla_type: AttrType { nla_nested: true, nla_network_order: false, nla_type: UnrecognizedConst(4) }, nla_payload: Buffer([8, 0, 6, 0, 6, 0, 0, 0, 8, 0, 7, 0, 6, 0, 0, 0, 8, 0, 1, 0, 10, 0, 0, 0]) }]) } } }
unix error: Os { code: 34, kind: Uncategorized, message: "Numerical result out of range" }
attr: Nlattr { nla_len: 5, nla_type: AttrType { nla_nested: false, nla_network_order: false, nla_type: Mac }, nla_payload: Buffer([0]) }
Msg=Ok("binary attribute size out of range\u{0}")
Offs=[20, 0, 0, 0]
attr: Nlattr { nla_len: 28, nla_type: AttrType { nla_nested: true, nla_network_order: false, nla_type: UnrecognizedConst(4) }, nla_payload: Buffer([8, 0, 6, 0, 6, 0, 0, 0, 8, 0, 7, 0, 6, 0, 0, 0, 8, 0, 1, 0, 10, 0, 0, 0]) }

Note the: "binary attribute size out of range\u{0}"
I also ran out of time as to why it's showing as UnrecognizedConst(4) for ExtAckAttr::Policy (and I have no idea how to interpret the contents of that anyway).

This looks fantastic!  Thank you very much, this will make debugging much much more pleasant and much easier to understand what's going wrong.
I've left a comment in the PR with I think a minor improvement - Should the u16 instead be a enum?  Especially given it's an enum in the C header.
If nothing else, it'll make Debug dumps a little bit clearer for people who are trying to debug wtf going on.


Create documentation about iOS setup / run

Description
As an iOS developer,
I need to know how to setup / run the app in a iOS environment / device,
so that I can contribute to the iOS part of the application.
Maybe we could create a separate markdown document and mention that in the README.
Acceptance Criteria
Update [Required]

[ ] Create a markdown document explaining setup for iOS

Definition of Done

[ ] All of the required items are completed.
[x] Approval by 1 mentor.

Estimation
🤷♀

I would like to work on this issue.

@isabelcosta what difference between android and iOS app running should be mentioned? Because the flutter run command is same for both platforms, and installing flutter on a mac is already there on the readme

@isabelcosta what difference between android and iOS app running should be mentioned? Because the flutter run command is same for both platforms, and installing flutter on a mac is already there on the readme

just the running of a virtual device on mac, using xcode?

just the running of a virtual device on mac, using xcode?

Yap @Techno-Disaster :) that is it.

just the running of a virtual device on mac, using xcode?

Yap @Techno-Disaster :) that is it.

can you please specify this in the issue body. Because most of the setup/ run part using flutter run is done already in the current readme, so people might get confused on what they have to do.

@isabelcosta , can instructions to run iOS apps with Flutter on iOS devices (since iOS emulators require Mac) from Linux machine be included? Please check here.

@gaurivn you cannont have a ios emulator on a linux machine, there might be some hacks around it, not that i know off but apple just dosen't allow this. Also I'm not sure what you have found in the stackoverflow link, but the iOS folder is created when you do flutter create <appname> .

@Techno-Disaster , okay I get what you said. I'm sorry, my mistake I thought I could run the iOS app on an iOS device from Linux.

@isabelcosta this looks sane as #62 which already has a PR #78 up. closing this for now. Feel free to open it if there is some issue.
Thank You


Overheating issue observed in iOS 17 and above

Description
I hope this message finds you well. We're currently experiencing a concerning issue with our application on iOS 17 and above, specifically related to overheating.  Kindly suggest us is this related to OS issue or react native framework issue as we are unable to observe overheating issue in android.
React-Native version: 0.72.0
Steps to reproduce
This issue when bottom tab bar navigation is happened.
React Native Version
0.72.0
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 13.6.3
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 52.60 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.12.0
    path: ~/.nvm/versions/node/v18.12.0/bin/node
  Yarn: Not Found
  npm:
    version: 8.19.2
    path: ~/.nvm/versions/node/v18.12.0/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.11.3
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9619390
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.12
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.0
    wanted: ^0.72.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true

Stacktrace or Logs
My bug is not a crash.

Reproducer
https://github.com
Screenshots and Videos
No response

This issue has no useful information to diagnose, or a reason why we think this is a React Native bug. Please create a new issue following the template, if you have useful information to share.


PR localization of views - logix

Describe the changes you have made in this PR -
localize logix module
extract repeated keys present in about page module and logix module in general namespace
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

logix was the original name of circuitverse, not need to refer that anymore. also, 'general', Instead of general.xyz, you van just use xyz

I am using rule  that translations will be put in ```folder_name + view_name````  namespace. as this will bring scalability and reduce key conflicts a lot in future.
here
logix:
  contribute:
    ....

shall I change toplevel namespace from logix: to circuitverse: ?
this will break consistency as folder name is still logix
regarding general I used this word to define context  that is key is repeating key and used in other templates also.
if we just use email_us_heading  contributors will not get idea that this key is also used in other templates also this key is placed in general folder.
Definitely it will reduce one level of nesting. To what I shall give priority here

For the general use config/locales/locale.yml, like 'config/locales/hi.yml'

changes made accordingly !!
CC @tachyons


Use crontab for cron, add examples to README including typo3 scheduler

Use crontab instead of putting things directly into /etc/cron.d. This makes commands run as the user instead of as root, avoiding permissions problems
Provide TYPO3 scheduler and drupal examples

This PR can be tested with ddev get https://github.com/rfay/ddev-cron/tarball/20220721_easier_perms_cron.d
The new README is at https://github.com/drud/ddev-cron/blob/8db9f512e8c1400a0f8363d75da2bb74aaa253bf/README.md

Thank you for this.
I saw the conversation on Discord and was planning on updating readme to include 'crontab'

I hadn't ever had any experience with the TYPO3 thing, but both TYPO3 and Drupal required extra effort because of how settings.ddev.php is only included if IS_DDEV_PROJECT, and for Drupal, also needed a trigger on DDEV_PHP_VERSION. I don't think that ddev_contrib recipe could have worked as it was, maybe I missed something.

It is one of the benefits of ddev addons. We have a chance to update the process and docs based on modern (current) frameworks.

Personally I have an error with the TYPO3 example:
PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
To avoid having this error, I have to make ddev ssh and then /var/www/html/vendor/bin/typo3 scheduler:run
Any idea?

Hi @echavaillaz - Please show the actual hooks you're using.
I used this (from the README, https://github.com/drud/ddev-cron#examples and it worked fine.
What was missing earlier was the IS_DDEV_PROJECT=true. Please remove your existing hook and use the example, and maybe do a ddev get drud/ddev-cron again. (This PR was pulled, so you can use drud/ddev-cron directly.)
hooks:
  post-start:
    - exec: printf "SHELL=/bin/bash\n* * * * * date |& tee -a /var/www/html/date.log\n* * * * * IS_DDEV_PROJECT=true /var/www/html/vendor/bin/typo3 scheduler:run -vv |& tee -a /var/www/html/scheduler-log.txt\n" | crontab

As explained in the README (updated), you can experiment using the crontab command directly until you have it going.

Hi, thanks for the answer.
I try what you purpose but the error is still the same for me...
Thanks

I think the problem is that the cron don't take care of the web_environment env vars.
The env vars that are taken in account come from my main .env file and not from the DDEV config.

@echavaillaz please try a plain vanilla TYPO3 installation. Use the DDEV TYPO3 quickstart from the docs. Then ddev get drud/ddev-cron. See if it works. Then you can proceed to look at the difference between a regular TYPO3 installation and yours. From https://ddev.readthedocs.io/en/latest/users/quickstart/
mkdir my-typo3-site
cd my-typo3-site
ddev config --project-type=typo3 --docroot=public --create-docroot
ddev start
ddev composer create "typo3/cms-base-distribution" --no-install
ddev composer install
ddev exec touch public/FIRST_INSTALL
ddev launch
ddev get drud/ddev-cron

This isn't the place to discuss this, it needs a new issue, or we can talk more in discord, but I know it can work for you. I spent half a day sorting out the basic issue, so feel very familiar with it. We can do a screenshare call if you like.


unparseable json response on my JSON endpoint

Are you experiencing an issue with...
shields.io
🐞 Description
I tried making a badge using my API (https://sloppers.club/api/metrics), and it can't parse the response:

The returned JSON is valid and can be parsed with JQ, so I'm scratching my head at this. The server code is available here. I also tried making a route for the shields-specific format and it doesn't work either.
Any ideas?
🔗 Link to the badge
https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsloppers.club%2Fapi%2Fmetrics&query=%24.connections
💡 Possible Solution
No response

Turns out it was a trailing space at the beginning of the JSON string.


Fatal Error when Multiple Frames in a scene with widgets

If you run the StackBootstrap_TUI.py file and click on start configuration, it will bring you to our main page, which is where we are experiencing the inability to move the focus from frame to frame using the keyboard.  I am sure that our code is not the cleanest, we may not be configuring scenes in the most efficient way as well.  As for resolving the frame-switching issue, is that something that you would add or we would have to do on our end?
BuggedTUI.zip
Thank you for your help.

It's a bug in asciimatics where it doesn't expect a Frame to have no current widget.  I'll sort a fix for this.


Updates to use a new MongoDB lib that supports php7.

Switch the use of ext-mongo to the MongoDB PHP library. This library sits on top of the ext-mongodb for php and has a similar interface to the original extension.

We need to update travis ci to start checking 7.

You can get travis ci to check against PHP 7 by adding it to the .travis.yml file

@nubs good to know, thanks. :smile:

@chadicus updated with changes for build to test 7 and use the correct driver. I don't know if this needs to wait on util or not to be updated since it does not use any of the classes that have problems.

@chadicus ready when you are.


chore: hoist node.js bindings on top of rust sdk

The commit history is wacky because I started this work before the SDK branch was fully merged but the diff is normal.
@greyscaled if you wanna take this for a spin, that'd be cool too.

So this patch mirrors the Python PR, which has a few quirks in service of making it possible to reference python variables as tables in later SQL queries (which means that the result of the sql() and prql() methods need to be re-executable.)
Most of the quirks of this implementation are in service of mirroring the python implementation, but I think if we don't intend to have this API, then we can have a much simpler implementation here.


Add cppitertools  and boost-functional

There is no need to wait for https://github.com/iit-danieli-joint-lab/idjl-vision-dependencies-vcpkg/pull/5 to have this packages.

This failed?

I think it is just because I merged it right away.


Fix "New" button for Bot and ClientApplication

Creating Bots and ClientApplications is a slightly special case, that does not use the normal "New" workflow.
To avoid confusion, we omit the normal "New" button on the search page.  Instead, we should include the "New" button, but have it go to the correct destination.

See code here: https://github.com/medplum/medplum/blob/main/packages/app/src/HomePage.tsx#L73-L79
Rather than disabling the "New" button, the new button should go to the respective create pages.
Bots:  https://app.medplum.com/admin/bots/new
ClientApplications: https://app.medplum.com/admin/clients/new

Hi @codyebberson, and @rahul1, I would love to work on this if it is available for contributors 🌱 .

Hi @aditipatelpro  - apologies for slow reply!  Yes, please go ahead!

I didnt understood the problem correctly, can you explain it properly

oh, sorry @mattlong somehow I failed to see that you were assigned, I'll close my PR


chore: refactor interface of base check

Refactor BaseCheck.run_check to return all result info as part of return value, rather than passing in and mutating a CheckResult object containing other data irrelevant to run_check.
Refactor SLSA requirement status information in AnalyzeContext to avoid unnecessary replication of generic info about a SLSA requirement, which can be looked up by ReqName when needed instead.

You probably need to regenerate the API doc with make docs-api when the PR is finalized.

@nicallen It would be good to add a Developer Docs page to describe the check interface. We already have a README.md through to help contributors add a new check. To avoid duplication, we can move the content of the README.md to the RST page and add a link to the README.md?

@nicallen I think it makes sense to change the commit scope to refactor so that it gets added to the release changelog.

You probably need to regenerate the API doc with make docs-api when the PR is finalized.

Sounds good. @nicallen please rebase on staging to include the latest docs updates.

@nicallen It would be good to add a Developer Docs page to describe the check interface. We already have a README.md though to help contributors add a new check. To avoid duplication, we can move the content of the README.md to the RST page and add a link to the README.md?

I have created an separate issue for this (#535), I don't think we need to do this immediately as part of this PR.