text:
Run conan_basic_setup() command when setting up deps

Basically, I've removed the invocation to the command to
prevent conan to change the runtime output directory of
our targets. Moving all the executables to bin/ makes ctest
to not find them when configured directly from an executable
target (See CMake add_test() command).
Ping @memsharded

I wouldn't recommend to remove all of the stuff that conan_basic_setup() is doing, but maybe just to remove the setting of the output dirs: http://docs.conan.io/en/latest/integrations/cmake.html
Create your own my_conan_basic_setup:
macro(my_conan_basic_setup)
     conan_check_compiler()
     # JUST REMOVE THIS LINE:
     # conan_output_dirs_setup()
     conan_set_find_library_paths()
     if(NOT "${ARGV0}" STREQUAL "TARGETS")
         message(STATUS "Conan: Using cmake global configuration")
         conan_global_flags()
     else()
         message(STATUS "Conan: Using cmake targets configuration")
         conan_define_targets()
     endif()
     conan_set_rpath()
     conan_set_vs_runtime()
     conan_set_libcxx()
     conan_set_find_paths()
 endmacro()

Then you will get some convenient things from the other macros, without conan messing with the output dirs.
Would this work for you? Thanks for the feedback!


text:
Add feature to automatically send checks when UT says they're in logic

Alternative take on #74.
Not tested yet, do not merge.

I don't think this should be a Game option. Features that auto-spam a multiworld without requiring user interaction first are probably a bad idea in general.
imo, this should always be an opt-in that's toggled on after connecting in the client. A button to toggle would be fine, or a command, either works.

I made it a game option because LinkLink and Progressivizer pretty much always want it enabled, and that's what the original PR did

if we want to "hide" it we could always place it in the meta.json since the stuff in that file is more technical

We're not just designing a feature for a handful of meta apworlds to use. We're designing a feature that any Manual apworld can use. And this current design of the feature is one that could be enabled silently without the player of that world knowing.
That's really bad. And I'm shocked that I have to (again) mention that that's bad.
Also, this current design of the feature has the potential for large-scale location spam, which is a concern I brought up in the original feature suggestion thread for the feature: https://discord.com/channels/1097532591650910289/1181665955542212740/1181699938086817842
We have to consider the main potential risks of this feature when we're making it. Please revise the feature in a way that makes it safe for users and for multiworlds, or close the PR.

Clarifying question: what do you mean by "enabled silently without the player of that world knowing"?
Are you saying that people will enable autorelease on other peoples' worlds without their knowledge, or that the author enabling a feature is "without the player's knowledge"?

Is there a way to add a "two-factor" check similar to deathlink? I.e. t must be turned on both in the game options and the player yaml to be enabled by default. Or is that just not worth the extra hassle and it's better to have the player type /toggle_autosend every time?

Clarifying question: what do you mean by "enabled silently without the player of that world knowing"?
Are you saying that people will enable autorelease on other peoples' worlds without their knowledge, or that the author enabling a feature is "without the player's knowledge"?

The latter: that the author enabling a feature is "without the player's knowledge".
If I'm a player, and a world creator releases an apworld for a game franchise that I know/enjoy, and I decide to take their apworld into a sync/async... What indication do I have (as a player) that the world creator enabled this option in their JSON configs? And that, when I connect for the first time, whatever they marked as open is going to get automatically sent into the multiworld I joined.

source: gharchive/pull-request

authors: FuzzyGamesOn axxroytovu nicopop silasary

repo: ManualForArchipelago/Manual

license: MIT

license_type: permissive

license_source: github-api


text:
Getting locale with just stringId

When only stringID is specified no string is returned.

This shouldn't be necessary, as it's possible to define stringid description and message in the file.

source: gharchive/issue

repo: Manvel/cmints


text:
Get the data collection features

keep the data in the localhost at the moment

For the second stage, go for submissions via POST requests on REST server.


text:
Xamarin Forms - map display response time

I am trying to display map with points and path added.
After a xamarin forms page is opened with map, it takes almost 30 seconds for page to become responsive, so that you can move around or zoom in/out.
Tried with 2.0.2 and 3.0-rc.1 but seems that there is no difference
Any suggestions?
Here are some debug infos from app:
2021-07-22 16:43:01.541087+0200 caminomobileapp.iOS[1381:22985] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x600007c33d00> to GL_RENDERBUFFER 1
2021-07-22 16:43:01.541323+0200 caminomobileapp.iOS[1381:22985] Failed to make complete multisample framebuffer object 8cd6
2021-07-22 16:43:01.541449+0200 caminomobileapp.iOS[1381:22985] Failed to make complete framebuffer object 8cd6
2021-07-22 16:43:01.557992+0200 caminomobileapp.iOS[1381:22985] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x600007c33d00> to GL_RENDERBUFFER 1
2021-07-22 16:43:01.558169+0200 caminomobileapp.iOS[1381:22985] Failed to make complete multisample framebuffer object 8cd6
2021-07-22 16:43:01.558300+0200 caminomobileapp.iOS[1381:22985] Failed to make complete framebuffer object 8cd6
2021-07-22 16:43:01.558904+0200 caminomobileapp.iOS[1381:22985] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x600007c33d00> to GL_RENDERBUFFER 1
2021-07-22 16:43:01.559039+0200 caminomobileapp.iOS[1381:22985] Failed to make complete multisample framebuffer object 8cd6
2021-07-22 16:43:01.559165+0200 caminomobileapp.iOS[1381:22985] Failed to make complete framebuffer object 8cd6
2021-07-22 16:43:01.559435+0200 caminomobileapp.iOS[1381:22985] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x600007c33d00> to GL_RENDERBUFFER 1
2021-07-22 16:43:01.559550+0200 caminomobileapp.iOS[1381:22985] Failed to make complete multisample framebuffer object 8cd6
2021-07-22 16:43:01.559660+0200 caminomobileapp.iOS[1381:22985] Failed to make complete framebuffer object 8cd6
Thread started: <Thread Pool> #13
Thread started: <Thread Pool> #14
Thread started: <Thread Pool> #15
Thread started:  #16
Thread started: <Thread Pool> #17
Thread started: <Thread Pool> #18
Thread started:  #19
Thread started:  #20
Thread started:  #21
2021-07-22 16:43:02.661740+0200 caminomobileapp.iOS[1381:24263] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=1381
2021-07-22 16:43:02.662653+0200 caminomobileapp.iOS[1381:24263] SecTaskCopyDebugDescription: caminomobileapp.[1381]/0#-1 LF=0
2021-07-22 16:43:02.664746+0200 caminomobileapp.iOS[1381:24263] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2021-07-22 16:43:02.799882+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_protocol_metadata [C2] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:43:02.800107+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_protocol_metadata [C2] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:43:02.800284+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_protocol_metadata [C2] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:43:02.800450+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_protocol_metadata [C2] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:43:02.800613+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_connected_local_endpoint [C2] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2021-07-22 16:43:02.800752+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_connected_remote_endpoint [C2] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2021-07-22 16:43:02.800880+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_connected_path [C2] Client called nw_connection_copy_connected_path on unconnected nw_connection
2021-07-22 16:43:02.801099+0200 caminomobileapp.iOS[1381:24267] Connection 2: unable to determine interface type without an established connection
2021-07-22 16:43:02.801330+0200 caminomobileapp.iOS[1381:24267] Connection 2: unable to determine interface classification without an established connection
2021-07-22 16:43:02.801491+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_protocol_metadata [C2] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:43:02.802102+0200 caminomobileapp.iOS[1381:24267] [connection] nw_connection_copy_metadata [C2] Client called nw_connection_copy_metadata on unconnected nw_connection
2021-07-22 16:43:02.802250+0200 caminomobileapp.iOS[1381:24267] Connection 2: unable to determine interface type without an established connection
2021-07-22 16:43:02.805072+0200 caminomobileapp.iOS[1381:24267] Connection 2: unable to determine interface type without an established connection
Thread started:  #22
Thread started:  #23
2021-07-22 16:44:15.189484+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_protocol_metadata [C3] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:44:15.189622+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_protocol_metadata [C3] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:44:15.189762+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_protocol_metadata [C3] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:44:15.189940+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_protocol_metadata [C3] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:44:15.190138+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_connected_local_endpoint [C3] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2021-07-22 16:44:15.190293+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_connected_remote_endpoint [C3] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2021-07-22 16:44:15.190450+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_connected_path [C3] Client called nw_connection_copy_connected_path on unconnected nw_connection
2021-07-22 16:44:15.190607+0200 caminomobileapp.iOS[1381:24268] Connection 3: unable to determine interface type without an established connection
2021-07-22 16:44:15.190750+0200 caminomobileapp.iOS[1381:24268] Connection 3: unable to determine interface classification without an established connection
2021-07-22 16:44:15.190881+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_protocol_metadata [C3] Client called nw_connection_copy_protocol_metadata on unconnected nw_connection
2021-07-22 16:44:15.191536+0200 caminomobileapp.iOS[1381:24268] [connection] nw_connection_copy_metadata [C3] Client called nw_connection_copy_metadata on unconnected nw_connection
2021-07-22 16:44:15.191659+0200 caminomobileapp.iOS[1381:24268] Connection 3: unable to determine interface type without an established connection
2021-07-22 16:44:15.193780+0200 caminomobileapp.iOS[1381:24268] Connection 3: unable to determine interface type without an established connection

Thanx,
D

Here is fresh update,
if I just display map it starts to be responsive after a few seconds,
if I try to add GPX track as MapLayer or points as Map Pins, things slow down sigificantly. All is frozen for 30 - 35 seconds, and after that time it comes to life.
Any experience with similar issues?
D

Another update,
looks like adding pins to map is really slowing down initial response. It does not make difference between adding pin type icon or pin, as it takes same time to unfreeze the map.

Hi Dino,
from your debug log I read that you work on iOS. (Mapsui runs on a couple of different platforms, so this information is actually quite relevant).

Any experience with similar issues?

Yes, indeed I have also observed performance issues with Mapsui.Forms on iOS, in particular when using many Pins or long Polylines, see e.g. #1084. Performance on Android is significantly better in my experience.
It would be great if one could manage to identify the most severe performance bottlenecks on iOS and get rid of them. Also it would be good to find out why there is such a difference in performance between iOS and Android. I kinda have that one my todo list, and hope to get to it soon (lately I was busy dealing with other issues unfortunately).

HI,
I will be more than happy to support finding the issue for slow performance on iOS, I can confirm that redraw on Android is much faster.
When page is opened, map is displayed with pins and track displayed quite fast (almost not noticeable that is drawn),
but to be able to move around on map or zoom in/out, time for app to become responsive significantly extends as more pins are added.
here is how I am adding pins to map:
`
public void ShowMapPins()
{
//load icons
Assembly assembly = IntrospectionExtensions.GetTypeInfo(typeof(App)).Assembly;
Stream embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_blue.png");
var pin_blue = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_caffebar.png");
var pin_caffebar = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_finance.png");
var pin_finance = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_health.png");
var pin_health = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_restaurant.png");
var pin_restaurant = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("mobileapp.pin_shopping.png");
var pin_shopping = embeddedPinStream.ToBytes();
embeddedPinStream = assembly.GetManifestResourceStream("caminomobileapp.pin_sight.png");
var pin_sight = embeddedPinStream.ToBytes();
        //get pins from screens
        mapScreens = GlobalVars.appScreens.Where(s => s.ScreenTypeId == 3 && (s.MapPinLat != 0 && s.MapPinLon != 0)).ToList();

        var list = new List<Pin>();
        foreach (LangScreen mapPinScreen in mapScreens)
        {
            Byte[] xPinIcon = null;
            if (mapPinScreen.MapPinType == "sight")
                xPinIcon = pin_sight;
            else if (mapPinScreen.MapPinType == "restaurant")
                xPinIcon = pin_restaurant;
            else if (mapPinScreen.MapPinType == "caffebar")
                xPinIcon = pin_caffebar;
            else if (mapPinScreen.MapPinType == "shop")
                xPinIcon = pin_shopping;
            else if (mapPinScreen.MapPinType == "pharmacy")
                xPinIcon = pin_health;
            else if (mapPinScreen.MapPinType == "finance")
                xPinIcon = pin_finance;
            else
                xPinIcon = pin_blue;

            var pin = new Pin(mapView)
            {
                Label = mapPinScreen.ScreenTitle,
                Position = new Position(mapPinScreen.MapPinLat, mapPinScreen.MapPinLon),
                Type = PinType.Icon,
                Icon = xPinIcon,
                //Type = PinType.Pin,
                //Color = Xamarin.Forms.Color.Blue,
                Transparency = 0.4f,
                Scale = 0.7f,

            };
            pin.Callout.Type = CalloutType.Single;
            pin.Callout.TitleFontSize = 20;
            pin.Callout.TitleTextAlignment = TextAlignment.Center;
            pin.Callout.SubtitleFontSize = pin.Callout.TitleFontSize - 5;
            pin.Callout.TitleFontColor = Xamarin.Forms.Color.Blue;
            pin.Callout.SubtitleFontColor = pin.Color;
            pin.Callout.SubtitleTextAlignment = TextAlignment.Center;
            pin.Callout.Spacing = 20;
            pin.Callout.MaxWidth = 200;
            pin.Callout.Anchor = new Xamarin.Forms.Point(0, 35);
            pin.Callout.CalloutClicked += (s, e) =>
            {
                if (e.NumOfTaps == 1)
                {
                    var span = DateTime.Now - lastClickedTime;
                    if ((Int32)span.TotalMilliseconds > 1000)
                    {
                        var p = e.Callout.Pin;
                        //p.HideCallout();
                        Console.WriteLine("Tapped on callout for pin: " + p.Label);
                    }
                    lastClickedTime = DateTime.Now;
                    e.Handled = true;
                    return;
                }
            };

            //
            //mapView.Pins.Add(pin);
            //pin.ShowCallout();
            list.Add(pin);
        }
        ((ObservableRangeCollection<Pin>)((MapView)mapView).Pins).AddRange(list);

`

Ok, found something interesting (time is based on iphone simulator),
I am adding 33 pins in total.
If I comment out section with callout generation, map becomes responsive after 29 seconds
If I uncomment callouts creation (despite the fact that they are not shown) map becomes responsive after 2 minutes and 24 seconds.
Commenting out CalloutClicked assignment is having no impact on time it takes for map to become responsive.
As I am using xamarin forms, any idea how to speed up / simplify callout creation?

This issue is pretty similar to https://github.com/Mapsui/Mapsui/issues/683. On iOS you can make the app freeze / lag by modifing multiple layers at once. The problem here is, that Mapsui causes to render new each time a entry is added or removed on iOS. My current workaround (which is in the app since Mapsui 2.x), uses await Task.Delay(1) in between each Add/Remove. In your case you need to replace the AddRange at the end with a loop which adds each entry on it's own and waits in between. However this is only necessary on iOS, Android just works fine with multiple changes at once.
@pauldendulk hasn't there already been an attempt to fix this behavior on iOS and make it similar to Android?

based on your suggestion I am doing the following.
there is separate public async void ShowMapPins() method for adding pins
pins are added in loop
((ObservableRangeCollection<Pin>)((MapView)mapView).Pins).Add(pin);
Console.WriteLine("pin addded");
await Task.Delay(1);

it still takes 25 seconds to add all pins to map, where map is frozen for first 10 seconds
in log when page is loaded this is what I get
</AppConfig>2021-08-16 21:11:44.992 caminomobileapp.iOS[15069:7082666] Clicked: internal|map
Loaded assembly: Anonymously Hosted DynamicMethods Assembly [External]
2021-08-16 21:11:45.315 caminomobileapp.iOS[15069:7082666] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2802d7320> to GL_RENDERBUFFER 1
2021-08-16 21:11:45.315 caminomobileapp.iOS[15069:7082666] Failed to make complete multisample framebuffer object 8cd6
2021-08-16 21:11:45.315 caminomobileapp.iOS[15069:7082666] Failed to make complete framebuffer object 8cd6
2021-08-16 21:11:45.326 caminomobileapp.iOS[15069:7082666] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2802d7320> to GL_RENDERBUFFER 1
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete multisample framebuffer object 8cd6
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete framebuffer object 8cd6
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2802d7320> to GL_RENDERBUFFER 1
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete multisample framebuffer object 8cd6
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete framebuffer object 8cd6
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2802d7320> to GL_RENDERBUFFER 1
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete multisample framebuffer object 8cd6
2021-08-16 21:11:45.327 caminomobileapp.iOS[15069:7082666] Failed to make complete framebuffer object 8cd6
2021-08-16 21:11:46.015 caminomobileapp.iOS[15069:7082666] pin addded
Thread started:  #17
Thread started:  #18
Thread started:  #19
2021-08-16 21:11:46.062 caminomobileapp.iOS[15069:7082666] pin addded
Thread started: <Thread Pool> #20
Thread started: <Thread Pool> #21
Thread started:  #22
Thread started:  #23
2021-08-16 21:11:53.198 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:53.885 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:57.311 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:57.773 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:58.227 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:58.692 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:59.151 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:11:59.613 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:00.065 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:00.529 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:00.993 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:01.442 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:01.906 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:02.362 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:02.823 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:03.280 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:03.745 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:04.196 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:04.662 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:05.116 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:05.576 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:06.039 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:06.489 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:06.952 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:07.403 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:07.865 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:08.317 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:08.782 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:09.237 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:09.699 caminomobileapp.iOS[15069:7082666] pin addded
2021-08-16 21:12:10.154 caminomobileapp.iOS[15069:7082666] pin addded

when I use  ((ObservableRangeCollection<Pin>)((MapView)mapView).Pins).AddRange(list);
page with map is immediately displayed when page is navigated to with all the pins added.
then all freezes for 10 seconds and after that all is working ok

There is good hope that #1192 will improve responsiveness a lot. @dinonovak Can you check that?

Any improvements?

@charlenni running on .rc4 nuget I can see significant improvement on iOS, in simulator. and on actual device.
map is staring to be responsive within few seconds compared to 15-20 seconds before.
Tried with Single and Detail callout types and almost no difference. in speed.

@dinonovak Thank you for your response.
If all is ok, could you please close this issue?

authors: Sebastian1989101 charlenni dinonovak janusw

repo: Mapsui/Mapsui


text:
A prior art reference

It might be worth mentioning in the article that a similar functionality existed in legacy architectures.
Cf. the "young bits" register in BESM-6: http://mailcom.com/besm6/instset.shtml

Thank you for the link. We'll mention it in later revisions of the paper, but the operation is not quite the same as FPADDRE. I don't fully understand the "young bits" register, but the YTA pseudo-code sets the sign bit to 0, while a true FPADDRE instruction can produce negative values (e.g. for a and b with non-overlapping mantissas and |a| > |b| we have FPADDRE(a, b) == b, which can be negative)

To perform the double precision calculations, rounding of the single precision result was suppressed (bit 2 of register R was set), therefore the "young bits" were always increasing the absolute value of the mantissa, i.e. their sign was guaranteed to be the same as the sign of the result.  The decision not to replicate the sign in the representation likely had some rationale, but I won't be able to reverse-engineer it on the spot.

authors: Maratyszcza leobru

repo: Maratyszcza/FPplus

license_source: bigquery


text:
Fix colors on hover on the home calendar

On dark theme the hover colors hides completely the arrow keys and the text in the Today and < > arrows. We need to overwrite the styles of the calendar to make it more visible

Fixed at https://github.com/MarckFp/ppoc-gen/commit/1401428aef2fd2a435a5ab11ce1ed4af223fd288

repo: MarckFp/ppoc-gen


text:
Build failed in jitpack.io

https://jitpack.io/#Marcono1234/tiny-lingua
caused by buildSrc

Thanks for your interest in this project!
I have updated the project with the latest upstream Lingua changes, and also modified the build script now. However, building on JitPack currently fails with "Max repo size 500MB exceeded", probably because JitPack considers the size of the complete history of the repository, see also https://github.com/jitpack/jitpack.io/issues/5210.
I am not sure if that can be solved in some way (without rewriting the Git history).
Is manually building this project an option for you at the moment?
I have created #5 to track publishing to Maven Central, but I am not sure when or even if I will do that, since there are multiple requirements for publishing to Maven Central.

"Max repo size 500MB exceeded" issue is solved by trying to build with the repository's administrator signed in to jitpack.
jitpack only supports java 8, so it requires additional configuration to set java 17 to fix the issue. Please see #6 (Successful build log on my fork: https://jitpack.io/com/github/JellyBrick/tiny-lingua/529d9edae1/build.log)

Thanks, that has solved it! I am wondering though if in the future it will always be necessary that I am the one triggering the JitPack build if a user wants to use it.
Also, hopefully you like Tiny Lingua! Feel free to share any feedback 🙂


text:
Provide Download Options for the Wizard and Examples

Add to the GitHub Release a zip with the wizard and examples after the NuGet Release

I just did it for 3.1-rc2
https://github.com/MarcosMeli/FileHelpers/releases/tag/3.1.0-rc2
Will do the same for final release

repo: MarcosMeli/FileHelpers

license: mit


text:
Incorrect string value: '\x8C'

ch.vorburger.exec.ManagedProcessException: An error occurred while running a script file sourced from the classpath at: dbconf/dml/vip_ocim_admin/ocim_admin_dml.sql
at ch.vorburger.mariadb4j.DB.run(DB.java:371)
at ch.vorburger.mariadb4j.DB.source(DB.java:306)
at ch.vorburger.mariadb4j.DB.source(DB.java:287)
at com.vip.ocim.report.testsuite.TestDBInitializer.initDBOcimAdmin(TestDBInitializer.java:168)
at com.vip.ocim.report.testsuite.TestDBInitializer.initDB(TestDBInitializer.java:70)
at com.vip.ocim.report.testsuite.TestDBInitializer.postConstruct(TestDBInitializer.java:37)
at com.vip.ocim.report.testsuite.UnitTestBase.init(UnitTestBase.java:64)
at com.vip.ocim.report.testsuite.UnitTestBase.(UnitTestBase.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:250)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:226)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: ch.vorburger.exec.ManagedProcessException: Program [D:\apps\svr\cfgbackup\memdb\bin\mysql.exe, -uroot, -Dvip_ocim_admin, --port=3306] (in working directory D:\apps\svr\cfgbackup\memdb) failed, exitValue=-559038737, last 100 lines of console:
ERROR 1366 (22007) at line 1: Incorrect string value: '\x8C' for column 'tenant_description' at row 1
at ch.vorburger.exec.ManagedProcess.checkResult(ManagedProcess.java:310)
at ch.vorburger.exec.ManagedProcess.startExecute(ManagedProcess.java:216)
at ch.vorburger.exec.ManagedProcess.start(ManagedProcess.java:155)
at ch.vorburger.mariadb4j.DB.run(DB.java:368)
... 35 more
Caused by: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Stream Closed)
at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:205)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Stream Closed
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
at org.apache.commons.exec.DefaultExecutor.closeProcessStreams(DefaultExecutor.java:306)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:387)
at org.apache.commons.exec.DefaultExecutor.access$200(DefaultExecutor.java:48)
at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:200)
... 1 more
insert sql DML
error line:    db.source("dbconf/dml/vipshop_webim/webim_dml.sql", "root", "", dbName);
Contains Chinese strings
how to solve this problem

Contains Chinese strings

@sortjiajun this is likely an "encoding" issue... are you using MariaDB4j "professionally" (at work) and would be willing to pay for support to fix this?

@sortjiajun this is likely an "encoding" issue...

It's because years ago I had (wrongly) hard-coded a Charset.defaultCharset() here...
... it may be better to use the configuration.getDefaultCharacterSet() instead of Charset.defaultCharset(), there.
This would mix the "DB Encoding" with the "Encoding of Resources on the Classpath" - but that's probably still better than a hard-coded Charset.defaultCharset(). (If anyone reading along here has an alternative suggestion, e.g. thinks we should have 2 separate properties on DBConfiguration for this, please chime in here!)
@sortjiajun would you like to try changing that and raising a Pull Request with your proposed fix for this?
If you would like me to make this fix for you, then please (README quote) support on OpenCollective, via GitHub Sponsoring or through a Tidelift subscription** to ensure active maintenance of this project used by hundreds, since 2011! 🫶

authors: sortjiajun vorburger


text:
Not including style in main-broswer.js

Is it possible somehow not to include styles in final main-browser.js file? As I understand they get included directly in html file?

I'd have to try and play with it, but they might not be needed in their (at least for the ASPNET usecase here), good idea! Let me give it a shot.

#415

#415

@JustasKuizinas have you taken a look after @davidsekar changes? If you still need help open a new issue.

authors: JustasKuizinas MarkPieszak davidsekar isaac2004


text:
SSR rendering of internal pages does not work on Live

Hello, I have integrated this structure successfully. It has been deployed on live too. The issue I am facing is that on live the server side rendering of internal pages are not working. It rather renders home page and then route to the requested page. Which is not the expected behavior. However SSR of internal pages is working fine on localhost. I have deployed the application using IIS on live. What am I missing there? I am out of ideas to make it work fine. localhost is working fine where as on live it is not working as expected.

Does it error out when you do npm run build:prod locally and try to create all the bundles?

I create build from visual studio publish area and it doesn't error out any
thing while creating build.
On Feb 8, 2018 9:57 AM, "Mark Pieszak" notifications@github.com wrote:

Does it error out when you do npm run build:prod locally and try to
create all the bundles?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarkPieszak/aspnetcore-angular2-universal/issues/556#issuecomment-364002699,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYjweJDeK6w_m5nwqMnXPEwWQn1csTbks5tSn6egaJpZM4R9svs
.

When I try to view the page source of any internal/dynamic page it always give me the home page's page source

Did you try to directly access that page and than see the source?

Yes I did that. For eg: myapp.com/merchant-1 first lands on myapp.com and then navigate to myapp.com/merchant1 whEn I tried to view the page source of merchant1 page ot gave me the source of myapp.com

It should work that way, unless you directly access the route of that page.

I have to access the page directly in order to have proper seo. There are
dynamic meta descriptions and titles. This is working on localhost but not
working via iis
On Feb 8, 2018 6:15 PM, "Luiz Machado" notifications@github.com wrote:
It should work that way, unless you directly access the route of that page.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarkPieszak/aspnetcore-angular2-universal/issues/556#issuecomment-364108088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYjwfDOOt1a5QGlZt5CTPrk4YW_drK2ks5tSvOEgaJpZM4R9svs
.

Try to view this web page. http://35.158.211.140 and then access the
categories from sidebar. It will route eventually as expected. But when you
view that category page directly it will first land on home page and then
navigate to the reqyested page.
Similarly when you click Avail now button it will take you to detail page.
But directly accessing that page will render the home page first and then
navigate to detail page on client side.
On Feb 8, 2018 6:17 PM, wrote:

I have to access the page directly in order to have proper seo. There are
dynamic meta descriptions and titles. This is working on localhost but not
working via iis
On Feb 8, 2018 6:15 PM, "Luiz Machado" notifications@github.com wrote:
It should work that way, unless you directly access the route of that page.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarkPieszak/aspnetcore-angular2-universal/issues/556#issuecomment-364108088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYjwfDOOt1a5QGlZt5CTPrk4YW_drK2ks5tSvOEgaJpZM4R9svs
.

Sorry, but that link opens a blank page for me.

authors: MarkPieszak Sharique-Hasan odahcam


text:
Fix for issue #1977

Sorry, about all the the commits before hand. I now know not to do $ git commit -a.

I have fixed the indentation error and pushed the change into my repo.

@jiangha4 Great! Another good issue to work on is #1621.

repo: MarkUsProject/Markus


text:
--option=value arguments are ignored (equal sign instead of space between long option and value)

What happened?
I noticed that Robocop wasn't following the config I specified when I used --argumentfile. See below for a minimal reproducible example.
What command/code did you try to run?
With equal sign:
❯ robocop --argumentfile=/path/to/config . -vv
No config file found or configuration is empty. Using default configuration
...

Without equal sign:
❯ robocop --argumentfile /path/to/config . -vv
Loaded configuration from /path/to/config
...

What is the full error message?
See above: No config file found or configuration is empty. Using default configuration
What did you expect to happen instead?
--option=value and --option value should behave the same. I didn't test options beside --argumentfile but I would assume the same bug is present for any long option. Note that robotidy (and other tools using Python's default argparse config) accepts both --option=value and --option value.
Operating System
No response
Robocop version
5.0.4

The problem is that Robotidy and Robocop use totally different cli parser (Robocop uses python default library while Robotidy uses click). This difference already lead to some problems in the past or missing features that had to be implemented separetely. I could add support for key=value  options to Robocop but it could be additional work for something that could be supported out of the box of we made switch to click. I need to think about it how I want to approach it - maybe it is good time to switch Robocop cli parser engine to something more modern like click.

I think another reasonable approach is to just not support the --option=value format (it seems to be a GNU convention and not everyone follows it). But in that case I think (1) it should be documented and (2) a warning/error should be raised when an unexpected argument is encountered.

I will also consider it - switching to click or alternative is a lot of work and its bit of separate subject. As for 2) I agree, it shouldnt silently accept unrecognized arguments. Most likely it was parsed as a file path but I need to check

authors: bhirsz paulzzy

repo: MarketSquare/robotframework-robocop


text:
Review Style Guide and Best Practices from VF

[ ] Upload Style Guide/Best Practices
[ ] Review
[ ] Discuss which parts can be re-used

I have uploaded our style guide...
coding_standard.md

authors: manykarim vfuksa

repo: MarketSquare/robotframework-style-guide


text:
Plan to port Pulsar2d to Linux or Haiku

Is there a plan to port Pulsar 2D to Linux or Haiku and by the way EGSL run under 32Bit and 64Bit Haiku.

Pulsar2d will be released as open source. So on any operating system supporting FreeBASIC or Freepascal, SDL2, SDL2_image and SLD2_mixer you can also use Pulsar2d.

Pulsar2d will be released as open source. So on any operating system supporting FreeBASIC or Freepascal, SDL2, SDL2_image and SLD2_mixer you can also use Pulsar2d.

Ok, i will waiting to the released of Pulsar2d and o hope i can generate a working Version for haiku.
On the egsl.retrobasic.org Webseite the Downloads doesn't works. It is possible to get the source for bubblechain (egsl).
And one questions more. The license of all examples from egsl are under zlib?
Can we change (original copyright owner stays in the history)and distribute the software. I think in the past lelldorin has ask and we get a yes.
Regards
BeSly Team

Can we generate a package for Bubblechain and Astrorocks (both egsl version). So there  are great games and it would be a shame if they just disappeared.
In the package we can wrote that the License is closed source, we don't change on the source code anything. i hope you say yes.

i found a old mail between Christian and you , in that you allow to put the source in the from Astrorocks (old Variant from EGSL time) in the HAIKU IDE. And BubbleChain, we can host only a Package which can be downloaded. Nothing was changed.

I cannot reactivate the website, the contract was terminated a long time ago. -the second point is that EGSL is not developed anymore and abandoned years ago. I only develop Pulsar2d, so this is this github repository for.

I'm only annoying because we want to make sure that we don't violate any rights.  If there are no objections, I see no problem that we host the packages.  Then we can close the issue.

authors: MarkusMangold lorglas


text:
Uncaught Exception: dns service error: unknown

An uncaught exception was reported.
Info:
OS: linux
Arch: x64
GPMDP Version: 3.2.4
Time: Thu Jun 30 2016 00:23:45 GMT-0400 (EDT)
Error:
dns service error: unknown
Error: dns service error: unknown
    at Error (native)
    at new Advertisement (/usr/share/google-play-music-desktop-player/resources/app/node_modules/mdns/lib/advertisement.js:56:10)
    at Object.create [as createAdvertisement] (/usr/share/google-play-music-desktop-player/resources/app/node_modules/mdns/lib/advertisement.js:64:10)
    at Server.<anonymous> (/usr/share/google-play-music-desktop-player/resources/app/build/main/features/core/websocketAPI.js:56:25)
    at Server.g (events.js:286:16)
    at emitNone (events.js:91:20)
    at Server.emit (events.js:185:7)
    at emitListeningNT (net.js:1279:10)
    at _combinedTickCallback (internal/process/next_tick.js:71:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This issue was created automatically inside the uncaughtException handler

It looks like you are running the unstable AUR build on arch
Please use the stable version or install avahi


text:
Додати особисту інформацію

Заповни резюме ВЛАСНОЮ інформацією - Сміливо додавай нові блоки, змінюй структуру, стилі.

Додати посилання на соц-мережі.

repo: MartaMykhalchyshyn/homepage


text:
Updated to PSR4 and tidied up readme

Needs tagging before the composer instructions will work

Thank you! That is much better. I'll look into updated this code soon, I believe the API has changed a bit as well.

No worries - working for basic usage (that I implemented today)

authors: MartijnOud spamoom

repo: MartijnOud/DistanceMatrix


text:
Use with a growing buffer

How can I use this package with a growing buffer?
I tried a dynamic array, but it doesn't work
    ubyte[] buf;
    auto file = File(filePath, Mode.readWrite);
    file.read(buf);

    import std: writeln;
    writeln(buf); // buf is empty

This package does not do buffering, it is strictly an abstraction of an i/o subsystem, and the basis of other packages which might do buffering or whatever else. If you want buffering, I'd suggest using iopipe which is built to work on top of this package, and provides a buffering system.
Your code basically says "read 0 bytes from the input", and then writes that empty buffer to stdout.

I couldn't find a simple example that allows me to read text from a file. I want to see if this library gives better performance over the following code that I have.
   import std.file : readText, write;

   const string str = readText(file);
    const strModified = doThingsWithString(str);
    write(file, strModified);

read and readText use the file size to preallocate the result. I doubt you get better performance by using a growing buffer. I also wouldn’t expect much performance difference with std.io if you did the same optimization.

authors: aminya schveiguy

repo: MartinNowak/io


text:
Crash in try_gluon

try_gluon crashed overnight and unfortunately I made an error when enabling the logging so this is all relevant logging for now. Presumably it has to do with the garbage collector but hopefully it occurs again so I can get some more information.
hread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/gluon_vm-0.2.0/src/thread.rs:1082
error: Process didn't exit successfully: `target/release/main` (signal: 11, SIGSEGV: invalid memory reference)

Can we run gluon in a subthread, and catch panics at the boundary?

panics are already caught by iron so I don't think that is necessary.

There might be two errors at play here, one that causes the panics and one that causes the segfaults.

https://gist.github.com/Marwes/825b1ff9f5484f1ccdfb0eba9f828286
Looks like the process ran out of memory, it might be the stack consuming all memory actually. I may have missed adding limits for that.

let factorial n : Int -> Int =
    n * factorial (n - 1)

factorial 10

From /r/rust https://www.reddit.com/r/rust/comments/552l6s/gluon_02_released_now_with_rowpolymorphic_records/d881pea

authors: Marwes brendanzab

repo: Marwes/gluon


text:
invoke the application functionality

WHEN I enter the command to invoke the application
THEN my server is started and the Sequelize models are synced to the PostgreSQL database

done


text:
Don't escape newlines in curl bodies

Fixes #96
This PR removes the improper newline escaping that was done on generated Curl request bodies.

Hmm, the CI tests seem to be seriously broken. They all passed on my local machine FYI.

Any change of having this fixed/merged?

Such a useful fix idea! Any chance of having this merged?

@gschier hello! 👋  I'm new to this project, and have begun some housecleaning... Would love to merge any work that has happened in the insomnia fork. Has it diverged greatly? If you have bandwidth I will be reviewing PR's, including this one.

I think this is the only thing that's changed, besides merging in a couple of the stale PRs from here 😀

@gschier is now a maintainer of httpsnippet! Welcome! With your new maintainer abilities, feel free to rebase off master and I will gladly review. Looks good pending tests pass

do our tests not capture this? wondering why we don't need to modify any output fixtures

Added a new multiline JSON test fixture to capture this

just a small comment and then it's good to go.

authors: RolphH darrenjennings gschier muzafarova

repo: Mashape/httpsnippet


text:
Update CI script cassandra to retry download if it fails

seen multiple download failures in CI logs, added 5 retries to fix these

Nice.
Side note: this will also fail as soon as Cassandra releases a new version (mirrors do not maintain older versions). I was thinking about using Apache archives as other projects (like ccm) already do to retrieve our Cassandra version.

authors: Tieske thibaultCha

repo: Mashape/kong


text:
How to ensure message processing order in MassTransit

there is one publisher and one  consumer
then i send two same commands C1,C2,and maybe i will pay many time to process this command.
how to ensure that C1 has been processed when i consume C2

Message order is never guaranteed. Sort of a first rule of messaging. If you absolutely need in order message processing, without any exceptions, you need to build it into your logic.
Because even with the best efforts of the transport to deliver one message at a time with a single consumer, if you encounter an error it could cause it to process out of order.
That said. RabbitMQ. PrefetchCount = 1 with a retry filter to handle transient errors should get you 99% of the way there.

I have an scenario in which I process multiples transactions (which can be processed in parallel) I am using masstransit, however, each transaction produce a set of events in which I need to consume in sequential order (for each individual transaction), events from different transaction events could be processed in parallels, If I set the max concurrency in 10, I can process 10 transactions simultaneously, but the events gets disordered, If I set concurrency in 1 everything is in order but I loose the opportunity of process multiples transactions.
A way I imagine this could be solved is if I can produce a queue per transaction, and each queue is 1 concurrent, however Masstransit produce a queue per Type and I dont know if I can control that?

authors: ccccccmd israelito3000 phatboyg

repo: MassTransit/MassTransit


text:
Allow in-memory outbox to complete pending tasks concurrently

It would be very useful for the outbox to support awaiting for pending tasks concurrently (instead of sequentially) in order to improve the rate at which outgoing messages can be published.
This was previously discussed in Discord and the requirement for configuration was mentioned in order to preserve the existing behavior as default.
The easiest way to implement this would be by adding an optional boolean parameter (dispatchActionsConcurrently?) to the UseInMemoryOutbox extension method; I could work on a PR if you prefer.

Right, I didn't forget about you on this one. I have a branch, basically to where I will allow the method to be specified (default will be as it is today, but alternative would be concurrent).

authors: gschuager phatboyg


text:
Allow fuzzier searches

For example, "element HAS [‘III’, ‘IV’]" to search for certain group elements (proposed in the talk in the 'matador' system).

How to distinguish Iodine or Vanadium from group I and V ?

In matador all macros are enclosed by square brackets, to avoid such issues. This makes sense to me as any macro query would need to be expanded into e.g. "Li or Na or K..." etc. Alternatively, we could just agree upon more descriptive names, e.g. "group-I".

Would this need be satisfied by instead just standardizing a property that is a list of element groups? E.g.,
element_groups HAS "III", "IV"

I'm struggling to think of an example that can't be trivially handled by the client doing a large OR query. I know this is an issue arising from my talk last year, but perhaps this wouldn't be as useful as I previously thought!
With element_groups, the query "give me all [II]TiO3 compounds" is still quite cumbersome, and would need to do something with elements_ratios of Ti and O, the order of which changes depending on the alphabetical ordering of the unknown [II] element... Expanding the macro would give you e.g. formula_reduced = "BeO3Ti" OR formula_reduced = "MgO3Ti" OR formula_reduced = "CaO3Ti" OR... which is probably appropriate for the client to just perform themselves.
Adding element_groups would of course allow for e.g. "give me all III-V compounds" without needing to mess around with ratios, though I'm not sure its worth the overhead for every database to add a new queryable property.

Partially relevant: https://github.com/Materials-Consortia/OPTIMADE/pull/415

authors: blokhin davidwaroquiers ml-evs rartino sauliusg

repo: Materials-Consortia/OPTIMADE


text:
[New PURL] PRIMA

Contact details
This information will appear a comments in the htaccess file of your prefix as comments
Contact person name: Ahmad Z. Ihsan
Contact Email: a.ihsan@fz-juelich.de
Basic details
What is your resource prefix?
PRIMA
Where is the resource located on the Web (i.e. the URL)?
The actual URL of the resource, i.e. a functional URL.
At the moment, the ontology contains 4 modules.

prima-core
prima-dal
prima-dataset
prima-experiment

Would be nice if you can make a purl e.g., https://purls.helmholtz-metadaten.de/prima/core, https://purls.helmholtz-metadaten.de/prima/experiment, and so on.
Do you want to enable content negotiation?
Yes
Advanced details
To enable Content Negotiation, please fill in the following table if you have more than one version  (or more generally, representations of a resource) of your resource. A resource type can be

Resource type:

 RDF/XML
 TTL
 OWL
 N-triples
 N3
 HTML

PRIMA Core

Resource type
URL

1.      OWL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/core/ver_1_0/prima-core.owl

2.      TTL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/core/ver_1_0/prima-core.ttl

3.      JSON-LD
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/core/ver_1_0/prima-core.jsonld

3. HTML
https://materials-data-science-and-informatics.github.io/MDMC-NEP-top-level-ontology/PRIMA/core/ver_1_0/index.html

PRIMA Data Analysis Lifecycle

Resource type
URL

1.      OWL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/data-analysis-lifecycle/ver_1_0/prima-data-analysis-lifecycle.owl

2.      TTL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/data-analysis-lifecycle/ver_1_0/prima-data-analysis-lifecycle.ttl

3.      JSON-LD
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/data-analysis-lifecycle/ver_1_0/prima-data-analysis-lifecycle.jsonld

3. HTML
https://materials-data-science-and-informatics.github.io/MDMC-NEP-top-level-ontology/PRIMA/data-analysis-lifecycle/ver_1_0/index.html

PRIMA Dataset

Resource type
URL

1.      OWL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/dataset/ver_1_0/prima-dataset.owl

2.      TTL
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/dataset/ver_1_0/prima-dataset.ttl

3.      JSON-LD
https://raw.githubusercontent.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/master/PRIMA/dataset/ver_1_0/prima-dataset.jsonld

3. HTML
https://materials-data-science-and-informatics.github.io/MDMC-NEP-top-level-ontology/PRIMA/dataset/ver_1_0/index.html

PRIMA Experiment

Resource type
URL

1.      OWL
https://github.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/blob/master/PRIMA/experiment/ver_1_0/prima-experiment.owl

2.      TTL
https://github.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/blob/master/PRIMA/experiment/ver_1_0/prima-experiment.ttl

3.      JSON-LD
https://github.com/Materials-Data-Science-and-Informatics/MDMC-NEP-top-level-ontology/blob/master/PRIMA/experiment/ver_1_0/prima-experiment.jsonld

3. HTML
https://materials-data-science-and-informatics.github.io/MDMC-NEP-top-level-ontology/PRIMA/experiment/ver_1_0/index.html

yes please.

Ahaa, i see. Then let it be lower case. :D

Hi Said, I found the purl for the https://purls.helmholtz-metadaten.de/prima/experiment is not working. But others are fine.
Could you check it?

Please add a readme.md file to your namespace (i.e. /prima) directory to give people visiting it some information about the content

Sure I'll add this

Yes, it works now.
Thanks!

One more thing,
I imported the experiment ontology via Protege but it failed actually. Then I changed the link for the experiment ontology in the .htaccess to the correct one. Still, I can't import the ontology in Protege.
Do you know what's wrong? or maybe should I expect some time for the new link to work?
Others ontology are fine, ie. I can import them in Protege via url.

Yes it works now. thx!


text:
🛑 sonarQ is down

In efbd160, sonarQ (https://sonarqube.dev.securitize.io) was down:

HTTP code: 502
Response time: 349 ms

Resolved: sonarQ is back up in d3dde08.


text:
splitmus: accept object file stubs

As well as being able to generate assembly stubs through act asm gen-stubs for insertion into Litmus tests, splitmus (or a variant thereof!) should be able to accept object files and generate the changes necessary to insert them into a Litmus harness.

Depends on issues #108 and #107.

This is the obj_splitmus script, which has now replaced splitmus.


text:
mobile browser support

Hello.
I am trying this library and it seems like it does not work with mobile browsers.
I tested with Safari and Chrome with my iphone xs and ipad. It cannot read the storage.
Can you please check this?

Same issue!

Have you found a solution for this?

@Andresdamelio  no. decided not to use this solution. switching to other work around.

repo: MatthewLarner/cross-domain-storage

license: isc


text:
[WIP] Replace curb-fu with faraday.

Close https://github.com/MaxCDN/ruby-maxcdn/issues/8
Problem

As mentioned in https://github.com/MaxCDN/ruby-maxcdn/issues/8, curb-fu depends on C extensions, it can be hard to use at some environments.
We use ruby-maxcdn in Sidekiq workers and observed RuntimeError: select(): Bad file descriptor in curl/easy.rb:309:in 'http_delete'

Sidekiq tasks uses threads.
libcurl seems to have restrictions about multi-thread uses.

Solution
Replace curb-fu with Faraday because ruby-maxcdn already have Faraday in dependencies through signet.

We will try to use this branch for our apps. I'll report here it works or not.

Looks great! Something I'd been wanting to do anyway. I'll run integration tests and benchmarks in the next day or so and let you know if anything looks off.
Thanks for the contribution!

Benchmarks looks faster. \o/
Running benchmarks as follows in order:

 maxcdn.get('zones/pull.json')
 maxcdn.get('reports/popularfiles.json')
 maxcdn.get('v3/reporting/logs.json')
 maxcdn.post('zones/pull.json', { :name => 'NAM', :url => 'URL' })
 maxcdn.put('account.json', { :name => 'NAME' })
 maxcdn.delete('zones/pull.json/ZONEID')
 maxcdn.purge('ZONEID')
 maxcdn.purge('ZONEID', 'FILE')
 maxcdn.purge('ZONEID', [ 'FILE1','FILE2' ])

       user     system      total        real
get   :  0.020000   0.000000   0.020000 (  0.488872)
get   :  0.010000   0.000000   0.010000 (  0.189951)
get   :  0.020000   0.000000   0.020000 (  0.377715)
post  :  0.000000   0.000000   0.000000 (  2.562924)
put   :  0.010000   0.000000   0.010000 (  0.393983)
delete:  0.010000   0.000000   0.010000 (  2.689457)
purge :  0.010000   0.000000   0.010000 (  0.860581)
purge :  0.000000   0.000000   0.000000 (  0.711392)
purge :  0.020000   0.000000   0.020000 (  1.427185)

Integrations passed as well:
Started with run options --seed 56049

Client
  test_get_logs                                                   PASS (0.63s)
  test_post_and_delete                                            PASS (14.91s)
  test_purge                                                      PASS (2.33s)
  test_put                                                        PASS (0.37s)
  test_get                                                        PASS (0.75s)

Finished in 19.00286s
5 tests, 11 assertions, 0 failures, 0 errors, 0 skips

Before I merge, it'd be awesome if you'd do the following...

[ ] Bump version to 0.3.0 in lib/maxcdn/version.rb
[ ] Update README.md w/ a "Change Log" entry for this change.

... otherwise, I'll take care of it post merge.

It's great see your positive responses. Thanks!
I'll update version and readme.

Thanks so much @hiroshi! @jmervine feel free to merge and push to rubygems.

Released: https://rubygems.org/gems/maxcdn/versions/0.3.0
Thanks for the contribution!

authors: hiroshi jdorfman jmervine

repo: MaxCDN/ruby-maxcdn


text:
Configuration option not working or out of date

Noticed that the configuration option -d is mentioned twice. Once for --date, once for --debug.
https://github.com/MaxMelcher/AzureDevOps.WikiPDFExport#-d----date

Thanks, will update it.
the --date is no longer required, can be added via the --footer/--header flags and placeholders.

Thanks, will update it.
the --date is no longer required, can be added via the --footer/--header flags and placeholders.

fixed.

fixed.

authors: Jheronymus MaxMelcher


text:
我新建了一个项目，lib下按你的代码拷贝进去，能够正常运行，但是视频播放不了，你的原项目就可以，是iOS目录有修改什么吗？

我新建了一个项目，lib下按你的代码拷贝进去，能够正常运行，但是视频播放不了，你的原项目就可以，是iOS目录有修改什么吗？或者其他需要注意的地方吗

iOS 目录添加了一些存储和访问网络的权限。
忘了说了，视频播放插件无法在 iOS 模拟器上运行。具体请看issues，不过 bug 好像修复了。

authors: Mayandev hihey

repo: Mayandev/morec


text:
Detailed instructions about code execution

Hello fellows.
I am a newbie and faced some issues during this code execution. However, I found these instructions that saved me a lot of time:
https://www.nnmutong.com/home/tarticle_item?id=4799
I hope this could be useful.
PS: I am sorry if this post was not proper to this discussion.

@igormahall zan!

authors: MaybeShewill-CV igormahall

repo: MaybeShewill-CV/lanenet-lane-detection


text:
CSS Tokenizer cannot parse single digit numbers without prefix

body,
html {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  color: var(--gray-1);
  background-color: var(--gray-3);
  height: 100%;
  min-height: 100vh;
}

The current tokenization build is
Ident("body")
Comma
Whitespace
Ident("html")
Whitespace
LeftBrace
Whitespace
Ident("margin")
Colon
Whitespace

Error parsing file sample/full.css!
Could not parse number at position 23

When you add another digit, a plus or minus this issue is no longer a problem.
This means it's likely an issue with the partial tokenizers at the end:
  // EOF
    if iter.peek().is_none() {
        return Ok(CSSToken::EOF);
    }

    // Simpler matches
    let ch = iter.peek().unwrap();

    // Digit
    if ch.is_ascii_digit() {
        numeric_token(iter, position)
    } else if is_name_start_code_point(*ch) {
        ident_like_token(iter, position)
    } else {
        let ch = iter.next().unwrap();
        Ok(CSSToken::Delim(ch))
    }

It appears that something in the chain of numeric_token is consuming the number before it can be collected in digits, as digits reports an empty string

Fixed in db2ee1ea5d2015f8f1a37a3b1581b15a1455000c
The issue was in consume.rs and the number consume function:
// 4.3.12. Consume a number
pub fn number(
    points: &mut Peekable<Chars>,
    position: &mut i32,
) -> Result<(f64, NumericFlag), ParseError> {
    let mut flag = NumericFlag::Integer;
    let mut repr = String::new();

   // Switch points.next() to points.peek() here
    if let Some(ch) = points.peek() {
        // If there is a sign preceeding the number, add it to the string
        if equal(ch, &'+') || equal(ch, &'-') {
            *position += 1;
            let ch = points.next().unwrap();
            repr.push(ch);
        }

The consumer here would consume the first digit, and then try and pass it off to digits. At this point there would be no more digits.


text:
feat(ui-feedback): fix ui

What does this PR do?

fix UI glitches

Description of Task to be completed?

hide side-nav button on larger screen-size

change language in toast error message

How should this be manually tested?

view the hosted app on a monitor over 992px width

Any background context you want to provide?

feedback from scoreCard

What are the relevant pivotal tracker stories?
-https://www.pivotaltracker.com/story/show/153235156
Screenshots (if appropriate)

none

Questions:

none

Coverage increased (+1.009%) to 91.928% when pulling 05f94a5c39ca3d12b83c4487c20b908c11ef86e5 on feat/fix-ui/153235156 into 71a698e179e4af8118f3fa1c4023ea6c1f87b44d on defense-feedback.


text:
Does Medical-SAM2 support dicom including dicom-rt formats?

SAM2 only supports picture and video formats. Does Medical-SAM2 support dicom including dicom-rt formats?

Sorry, it also doesn't support dicom-rt 😢


text:
IndexError: index 10 is out of bounds for dimension 0 with size 10

IndexError: index 10 is out of bounds for dimension 0 with size 10

Please raise your issue more clearly.

authors: FateScript Siomn

repo: Megvii-BaseDetection/YOLOX


text:
Tooltip Rendering Error with Gilding Crystal in JEI

Minecraft version
1.20.1
LibX version
1.20.1-5.0.13
UtilitiX version
1.20.1-0.8.11
Forge version
Neoforge 47.1.79
The latest.log file
https://gist.github.com/GentlemanCheesy/84a7e533d8ee281ec2b1b1c14a6cf28e
Issue description
Hovering over a resulting armor in JEI with the gilding crystal recipe causes a rendering error which then occurs when hovering over any other item until the game is restarted. Completely replacing the item name, lore, and anything else.
Steps to reproduce
Hover over the gilded crystal in its jei smithing table recipe.
Other information
n/a

I wasn't able to reproduce it. I used your version information and tried with and without advanced tooltips. I used JEI 15.3.0.4.

https://github.com/MelanX/UtilitiX/assets/68432025/c1607bed-95db-42c1-98f0-e8b6d356c583
Sorry for the delay, here is the video you requested! Thank you.

authors: GentlemanCheesy MelanX

repo: MelanX/UtilitiX


text:
fix: [h5] double quote escape [prod env]

Related pr: #2
I forgot to test it in production mode previously.
I fixed the regular expression in this pr.

ok


text:
Feedback: 这是一条测试信息 啦啦

这是一条测试信息 啦啦

iOS13.5.1 - iPhone 11 - ZLGitHubClient1.0.1(7)

test

哈哈哈哈

啦啦啦

repo: MengAndJie/GithubClient


text:
Update README.md

Fix Markdown syntax :)

Thanks


text:
Stable cycle through multiple matches

Cycle stably through multiple matches.

Iterate by acceptable extension, then by current path component
Gather all candidate filepaths
Identify "self" in the stable list
Open next entry in stable list

Allows for cycling through partially-overlapping extension lists such as ['.spec.js', '.js', '.css']

Thanks for the pull request. Can you detail what this PR fixes from a user's perspective? For me, switching between e.g. x.js and x.spec.js (and back) works reliably since v2.0.1

@JohannesRudolph In our project, we have several files (not just 2) that differ only by extension.
For example

WebhookFormSection.js
WebhookFormSection.css
WebhookFormSection.examples.js

Currently, one can configure file-ext-switcher to recognize and switch between all of these suffixes; however, in practice the plugin simply toggles back and forth between two of the three files.
This PR makes it so that a stably-sorted list of all candidate files is created each time the command is invoked. Then the "current" file is located within the stably-sorted list, and the subsequent file is switched to.
This means that from a user's perspective, rather than toggling back and forth between two of the three files, instead they cycle unidirectionally through all three files.

I think I get it. Are you using a single keybinding like below?
{
        "key": "ctrl+shift+;",
        "command": "fileextswitch",
        "args": {
            "extensions": [
               ".js",
               ".css"
               ".examples.js"
            ],
            "useOtherColumn": false
        },
        "when": "editorTextFocus"
    }

If that's the case, can you please rebase on 2.1.1 (which I have forgotten to push, sorry!).

@JohannesRudolph Yes, this work supports cycling through several extensions associated with a single keybinding, just as you describe.
I've rebased this branch on your 2.1.1 work.

authors: JohannesRudolph duncanbeevers

repo: Meshcloud/vscode-file-ext-switcher

license: unlicense


text:
CSET_*_CYCLE_POINT variables clash with general definition of cycle point

Describe the bug

By convention a forecast cycle refers to its initiation time (as has always been the way in the RES) thus this is what many will instinctively think of when setting any of the data with CYCLE in the name.
Currently in CSET the CYCLE variables refer to the variable being CYCLED over in Cylc. This is not clear, either the naming convention in CSET needs to change or the documentation should be improved to provide this clarity. I would suggest the former.

[!NOTE]
This may become more obvious when multiple forecast cycles can be added into CSET, but will be important for when running RAL trials, and is vital for me [@daflack] switching between Services and RMED to aid the transitions each month.

FURTHER COMMENT: cycling via datatime could fix this and reduce this confusion.

Fixed in #765.

repo: MetOffice/CSET


text:
Transect information in title

What problem does your feature request solve?
Currently when transects are plotted, there is no information on the start and end coordinate tuple. This information is captured at the CYLC level, but is not contained within the cube itself. To be able to expose this information in the plot operator, we probably need a solution in the transect operator that stores the coordinate information as an additional attribute. Then we can access the information when plotting.

If you don't mind it not being in the plot itself, you can add it into the title or description field of the recipe, and then it will show up on the website.


text:
Add age of air diagnostic functionality

Adding capability to run the age of air diagnostic on data, linked to issue #269

Tests to do include;

Test calc distance with some known values.
Test shape is correctly rejecting if not all equal, also if time coord not hourly.
Check if time decreasing will fail correctly.
Check pressure level not found fails correctly.
check all variables present (need to add this in function directly).

.yaml is going to look something like 1. read cubes, 2. filter cubes (u,v,w,p), might need some additional filtering to only get pressure level data, otherwise it might start returning 10m winds and we don't want/use this. Better to do this filtering in dedicated operators than start finding ways around this within the age of air operator itself. Run the age of air diagnostic, and then produce contourf plot; tbd (and data)

Some vague review comments. I've not properly read through and understood the code yet though. I'll do that a bit later.

thanks! There is a lot more to add yet, this is mostly initial commits for copy/pasting code into CSET. So best to hold of any review, as code needs a lot of tidying up/documentation, plus all the testing and cylc/yaml additions

Got a bit eager, but its great to see it coming along. I'll mark this PR as a draft for now.

Meta
- Create new template variable, with description. Q: what is sort-key.
- If age of air turned on, create a new variety of options; plev; list, list of pressure levels to run code on. Includevertical; bool, cyclic; bool.
- These variables (plev, includevertical, cyclic) need passing to yaml. Q: how to we get menu's to appear if diagnostic turned on.

YAML
- Will inherit plev, includevertical, cyclic from those selected in the GUI (and thus rose-suite.conf). For the filter cubes, if includevertical is false, we don't need vertical velocity fields. Q: how to make the YAML not look for this STASH if option selected? Can we put logic in YAML? Or would it be better to have two YAML (vertical and no vertical)?
- To plot, we can use standard contour plot and timeseries plot functionality already in CSET.

Cycling
-  Will run AOA task on each forecast intialisation, and loop through each plev specified in rose-suite.conf. For example for 2 forecasts, with only ageofair diagnostic turned on, and plev= [250,500,850], run-time would look like;

20240417T0000Z
task: ageofair_250
task: ageofair_500
task: ageofair_850
20240417T1200Z
task: ageofair_250
task: ageofair_500
task: ageofair_850
So all pressure levels run in parallel.

Only thing left to do now is build the cylc workflow, tests etc. all done.

Now ready for first stage technical review (quite a big changelog)

Note that there are other suggestions that GitHub has hidden under "hidden conversations". You might be better off looking through the Files tab for them.

I think the design of this operator needs some consideration with how it will work with the current default of CSET of cycling through valid-time. The operator expects to be run once, for a given initialisation, and passed all the data for that forecast. I don't really know how compatible this is with the current architecture, because each calculation at each forecast time depends on the preceding data.

For now this can be worked around by running the operator within the collate step. We are currently discussing a longer term change to cycling on data time, which would alleviate this.

Update 04/07 - dependency on ability for regrid to handle cubelists (which will make the yaml much nicer as we need to repeat regridding for multiple variables). Links #720 #721

I have added an additional call to the plot line series in the recipe, as it is good to also visualise this as a domain average. This currently appends the domain average timeseries plot to the back of the other spatial plots. I'd rather not copy paste the recipe to be re-run for domain average (a lot of extra code, plus duplication of actual run-time to derive the diagnostic). I tried to redefine the title half way through the yaml but it didn't like it. At this stage happy for domain average timeseries to be appended to end of spatial plots, but wondered if there was a better solution to computationally heavy diagnostics that can be visualised in various ways

I am also getting very low coverage (15%) despite tests covering most combinations, am I missing something? The coverage report highlights most lines in the function but no hover-over/info to tell me why the line isn't executed during the tests. Otherwise, just need to rebase and then ready for final technical/science review

Ready for science review @daflack and technical review @jfrost-mo

Ready for final review. Only thing not implemented is the realise_data, as this throws up AttributeError: 'Cube' object has no attribute 'realise_data'. I am also getting low coverage due to calls within multiprocessing - which might be related to how pytest-cov generates the coverage report (https://stackoverflow.com/questions/61143858/how-to-measure-coverage-when-using-multirpocessing-via-pytest).

Coverage near 100% now, so ready for final check before merge. Thanks all for time reviewing.


text:
Add Camp

I want to show you the symbolic image erc-20 token in the metamask.

@JoshepJang

Can you use contract address in EIP-55 version, please?
There is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks

@JoshepJang

Why you created issue #675?
Can you please update in the JSON address to EIP-55
Can you remove PNG file from pull request?

Yes, sir. Thank you.
I modified it.

@JoshepJang thank you so much - it looks perfect, awesome job!

@JoshepJang thank you so much - it looks perfect, awesome job!

When will the camp image be updated?

authors: JoshepJang xrn

repo: MetaMask/contract-metadata

license: ISC


text:
[Figma] Update Color to deprecate Rinkeby Network

Deprecate "Rinkeby" network colors in Figma to follow code.

rinkeby.default
- rinkeby.inverse

Removed & deprecated from Figma

repo: MetaMask/design-tokens


text:
BREAKING: Scope under MetaMask org

Scopes the package under the MetaMask npm org.
Fixes #52

How is this breaking?

How is this breaking?

We should deprecate the old namespace and point it at the new one.

authors: FrederikBolding Mrtenz

repo: MetaMask/eth-rpc-errors


text:
Unable to find libc (Android, Unity, C#)

Hi,
It's been 2 days that I'm stuck trying to look for a solution, so I'm really worried since the deadline is getting closer.
I'm included NBitcoin in my Unity project. Everything runs fine in the editor but when I deploy an APK file to run it on Android I get always this error:
10-30 18:05:59.269   885   903 E Unity   : Unable to find libc
10-30 18:05:59.541   885   903 E Unity   : EntryPointNotFoundException: getdomainname
10-30 18:05:59.541   885   903 E Unity   :   at (wrapper managed-to-native) System.Net.NetworkInformation.CommonUnixIPGlobalProperties:getdomainname (byte[],int)
10-30 18:05:59.541   885   903 E Unity   :   at System.Net.NetworkInformation.CommonUnixIPGlobalProperties.get_DomainName () [0x0000b] in :0
10-30 18:05:59.541   885   903 E Unity   :   at System.Net.CookieContainer..ctor () [0x0003f] in :0
10-30 18:05:59.541   885   903 E Unity   :   at System.Net.Http.HttpClientHandler.get_CookieContainer () [0x0000d] in :0
10-30 18:05:59.541   885   903 E Unity   :   at System.Net.Http.HttpClientHandler.CreateWebRequest (System.Net.Http.HttpRequestMessage request) [0x000e4] in :0
10-30 18:05:59.541   885   903 E Unity   :   at System.Net.Http.HttpClientHandler+c__async0.MoveNext () [0x0006a] in :0
10-30 18:05:59.541   885   903 E Unity   : --- End of stack trace from previous location where exception was thrown ---
10-30 18:05:59.541   885   903 E Unity   :   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8cdd91c3618b427b905eb298374eee86>:0
10-30 18:05:59.541   885   903 E Unity   :   at System.Runtime.CompilerServices.TaskAwaiter.Th
Any help that you could provide me it would be really appreciated.
Thanks.

You are using Unity 4.6 right ? I think this has more to do with a Unity issue than NBitcoin, have you checked on unity forum?

If the issue is only about getdomainname, I may do something, but I am wondering if this is the case.

Relevant: https://forum.unity.com/threads/httpclient.460748/ seems indeed a unity issue

Thanks for replying Nicolas!
I've isolated the problem and it only happens when I try to use QBit Ninja. Accessing only to NBitCoin works fine in Android. I need to do a mobile app where users can sell their 360 videos, I think that maybe I can have some basic functionality without the help of QBit Ninja.. I've found this documentation (https://www.codeproject.com/Articles/835098/NBitcoin-Build-Them-All#simple). My main doubt right now is just what I need to look in the response of transactionBuilder.Verify(tx) to identify if the transaction was succesfull or not. Any help you could give me would be extraordinary appreciated.
Thanks.

@EstebanGameDevelopment can you try with the new version I just pushed? v1.0.3.42 . It might solve your issue

Thanks a lot for the help Nicolas! It's great when you find professional people who reply, you are one of a kind!
Yes, the problem with the "libc.so" is now solved, but the ball is on the roof of Unity, because there is a problem with mono v2.X only supporting SHA1, so I get this error:
TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Rethrow as IOException: The authentication or decryption has failed. Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Rethrow as IOException: The authentication or decryption has failed. Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) (at <eb1224ae7b184cd09343d47f8a05481b>:0) Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) (at <344dc4d3f1ad41809df78607b6121a41>:0) Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at <344dc4d3f1ad41809df78607b6121a41>:0) Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) (at <344dc4d3f1ad41809df78607b6121a41>:0) System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) (at <344dc4d3f1ad41809df78607b6121a41>:0) Rethrow as WebException: Error: TrustFailure (The authentication or decryption has failed.) System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at <344dc4d3f1ad41809df78607b6121a41>:0) System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) (at <9c9f068c46c64ffd91fda7af157b4d15>:0)
So, if it were up to Unity to solve the problem, then I wouldn't be getting any solution anytime soon.
I'll try to work without QBit Ninja. It's a pain in the ass because I hate to reinvent the wheel, but I will try to focus only in what I need.
Again, if you got any tutorial that can help me out without using QBit Ninja it would be great.
Thanks.

Ok, it seems that I was wrong, it won't work anyway, as soon as you access to the "Get" of the transaction it breaks with the TlsException error. I will have to consider PayPal to pay to the video creators and when Unity manages to fix the problem with SHA-256 I will go back to Bitcoin.
BlockrTransactionRepository blockr = new BlockrTransactionRepository();
        NBitcoin.uint256 check = new NBitcoin.uint256("4ebf7f7ca0a5dafd10b9bd74d8cb93a6eb0831bcb637fec8e8aabf842f1c2688");
        Transaction aliceFunding = blockr.Get(check);

Blockr is dead do not use it!

The problem seems to be caused by https, you can access qbit through http by passing the uri in the constructor http://api.qbit.ninja/

Yes, the problem with the uri in the constructor is solved.
Now the problem is back to another DLL (MonoPosixHelper), here is the log on Android device when accessing to the transactions with QBitNinja.
It still complains about "libc" but it's not the same Exception as before so I understand that "libc" not found is not an issue.
> 11-03 11:25:36.204  1337  1352 E Unity   : Unable to find libc
> 11-03 11:25:36.358  3147  3656 D EnterpriseController: netId is 0
> 11-03 11:25:36.358  3147  3656 D Netd    : getNetworkForDns: using netid 670 for uid 10391
> 11-03 11:25:36.358  3147  3656 D DnsProxyListener: DNSDBG::dns addrinfo af 0
> 11-03 11:25:36.442  3664  3692 I art     : Starting a blocking GC Explicit
> 11-03 11:25:36.663  3664  3692 I art     : Explicit concurrent mark sweep GC freed 14188(766KB) AllocSpace objects, 3(60KB) LOS objects, 17% free, 75MB/91MB, paused 1.797ms total 220.930ms
> 11-03 11:25:36.927  1337  1434 E Unity   : Unable to find MonoPosixHelper
> 11-03 11:25:37.028  1337  1352 E Unity   : DllNotFoundException: MonoPosixHelper
> 11-03 11:25:37.028  1337  1352 E Unity   :   at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
> 11-03 11:25:37.028  1337  1352 E Unity   :   at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean gzip) [0x0004a] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 11:25:37.028  1337  1352 E Unity   :   at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Boolean gzip) [0x0002d] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 11:25:37.028  1337  1352 E Unity   :   at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Int32 windowsBits) [0x00000] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 11:25:37.028  1337  1352 E Unity   :   at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,System.IO.Compression.Compre
>

In order to help, I post here the code related only to the NBitcoin for Unity:
Download Unity Project: UnityNBitcoin
There are 3 instructions images in the package to just run the whole project without understanding too much about Unity so any programmer who is not familiar with the tool will be able to jump on board without any problems.

I can't try, I don't have unity. I think I can get rid of this exception as well. I'll release a new version soon so you can deactivate compression.

Ok can you try the following and tell me if it works. (new version 1.0.3.43)
QBitNinjaClient client =...;
client.SetHttpMessageHandler(new HttpClientHandler() { UseCookies = false }, false);
// use client

It looks like it doesn't find the SetHttpMessageHandler on the latest build
An screenshot of Visual Studio with the latest version ..43

That is very strange, can you see the method through intellisense ?

Ok, it needed from "System.Net.Http.dll"
Now the ball is on my roof because it displays this message in the Unity editor:

Loading script assembly "Assets/Plugins/Bitcoin/System.Net.Http.dll" failed!

I will tell you something as soon as I get or not a solution

I've imported the last "System.Net.Http.dll"(4.3.3) and I'm afraid be are back to square one. Unable to find "libc" when I run the app in Android device
> 11-03 17:48:47.405 16886 16901 E Unity   : Unable to find libc
> 11-03 17:48:47.460 16886 16901 E Unity   : EntryPointNotFoundException: getdomainname
> 11-03 17:48:47.460 16886 16901 E Unity   :   at (wrapper managed-to-native) System.Net.NetworkInformation.CommonUnixIPGlobalProperties:getdomainname (byte[],int)
> 11-03 17:48:47.460 16886 16901 E Unity   :   at System.Net.NetworkInformation.CommonUnixIPGlobalProperties.get_DomainName () [0x0000b] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 17:48:47.460 16886 16901 E Unity   :   at System.Net.CookieContainer..ctor () [0x0003f] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 17:48:47.460 16886 16901 E Unity   :   at System.Net.Http.HttpClientHandler..ctor () [0x0006f] in <56203551693747c19246346a733913ee>:0
> 11-03 17:48:47.460 16886 16901 E Unity   :   at QBitNinja.Client.QBitNinjaClient..cctor () [0x00000] in <52314d84ca7340b6b72e7385bbe5a77c>:0
> 11-03 17:48:47.460 16886 16901 E Unity   : Rethrow as TypeInitializationException: The type initializer for 'QBitNinja.Client.QBitNinjaClient' threw an exception.
> 11-03 17:48:47.460 16886 16901 E Unity   :   at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
> 11-03 17:48:47.460 16886 16901 E Unity   :   at BitCoinController.TestBasicTransactions () [0x0000a] in <dc9ab04499784006809eda2da456c61c>:0
> 11-03 17:48:47.460 16886 16901 E Unity   :   at BitCoinController.Start () [0x00006] in <dc9ab04499784006809eda2da456c61c>:0

mmmh the original error should not appear. If UseCookie is at false, this should not happen.

woops my fault... making new version

Can you confirm you did not forgot the UseCookie to false ?

OK so:
Remove the imported System.Net.Http.dll. Remove client.SetHttpMessageHandler(new HttpClientHandler() { UseCookies = false }, false);.
Add
QBitNinjaClient.SetCompression(false);
QBitNinjaClient client = ...;

Ok, with SetCompression(false), it seems that somewhere else stills tries to create a deflated stream
> 11-03 21:31:56.744 10844 10861 E Unity   : DllNotFoundException: MonoPosixHelper
> 11-03 21:31:56.744 10844 10861 E Unity   :   at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
> 11-03 21:31:56.744 10844 10861 E Unity   :   at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean gzip) [0x0004a] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 21:31:56.744 10844 10861 E Unity   :   at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Boolean gzip) [0x0002d] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 21:31:56.744 10844 10861 E Unity   :   at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Int32 windowsBits) [0x00000] in <344dc4d3f1ad41809df78607b6121a41>:0
> 11-03 21:31:56.744 10844 10861 E Unity   :   at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,System.IO.Compression.Compre
>

did you called SetCompression BEFORE creating the QBitNinjaClient ?

My bad, you were right, I wrote the call SetCompression(false) in another place, it was friday night and I was pretty tired.
Now that I'm starting the day fresh I can say everything is working fine. I can call to QBitNinjaClient to perform all the operations of this example.
I've updated the ZIP file of the project so any other Unity programmers can benefit from the awesome work we have done. The project is ready to make a build for Android device, you only have to remember to write the password "testest" in the process of building:
Download UnityNBitcoin Basic Example Project
Also, here is the APK if you have an Android device and you want to test the behaviour of NBitcoin on your device.
Download APK UnityNBitcoin
Now it's time for me to start the real deal, make it work for my project.
Thanks a lot Nicolas!!!

Hey can you make a small PR on https://github.com/MetacoSA/QBitNinja in the README to document the peculiarity of Unity?

I'm working with SourceTree and it seems that I don't have permissions to commit and push the README.
Anyway the only thing that should be explained is:

Unity
In order for the API to work in Unity for Android devices you should:

QBitNinjaClient.SetCompression(false); Because it's missing the DLL MonoPosixHelper from the build
QBitNinjaClient client = new QBitNinjaClient("http://api.qbit.ninja/", NBitcoin.Network.Main); Because Mono v2.X only supporting SHA1, not SHA256
Scripting Runtime Version: Select "Experimental (.NET 4.6 Equivalent)"

You can directly edit the README under github, and easily do a PR, can you ?

Done!! 👍
I don't have permissions to upload files, so feel free if you want to upload the Unity sample I made to the repository

You changed it on your private repo, but you did not created the pull request.

Solved.

authors: EstebanGameDevelopment NicolasDorier

repo: MetacoSA/NBitcoin


text:
some fine print / descriptions not displaying

https://beta.metaculus.com/questions/1/will-advanced-ligo-announce-discovery-of-gravitational-waves-by-jan-31-2016/
description / fine print not displaying (link issue?)
Possibly only for old questions from before fields were separated

Duplicate of #714

authors: SylvainChevalier lsabor

repo: Metaculus/metaculus


text:
[public report]: Challenge Creation

User Impacted
0xe95608B6a7f97bf5D076F0594EEe07e77b9781b7
Discord ID (including number)
PCWCFA#0438
Workflow Impacted
Analyze
Feature Impacted
Launch Challenge
Issue description
I entered the max UI-allowed MBETA tokens for rewards and was not able to create the challenge. The UI did not show any errors, but the console showed a 404.
I was trying to create the challenge in this marketplace https://dev.metricsdao.xyz/app/analyze/m/0x1515455ca7842941dd1a90ae114cb4cf50397fd6/sr/new.
This is the amount of MBETA I was trying to enter: 10000000000000000000000000000000000000000000000000000000000000000. Thanks to @gnomadic for giving me this idea.

Blocking
no it is not
Relevant log output
No response

BTW, I know that the dates ranges are being updated, so just to be safe, I have made the dates logical -- start of analytics earlier than the end date of analytics, and review starts after analytics end. However, I'm still not able to create the challenge.

Common pattern on many token amount input fields, examples below:

authors: PCWCFA drakedanner

repo: MetricsDAO/xyz


text:
米家中 应用通过服务器获取不到设备电量等信息

get_user_device_data中已经获取到了事件信息，通过文档试了好多没有获取到电量等信息，具体是哪个接口和接口中的参数能否说下

你们是什么设备呢，电量信息应该是向设备发送RPC命令请求回来了的吧，XmPluginHostApi callMethodFromCloud

repo: MiEcosystem/NewXmPluginSDK


text:
Roman Num merge 1

May I pull pls

Complete "Test It Out, Sudoku Checker, Project Euler", Epicodus - Intermediate JavaScript - Week 2, Lesson 35

authors: MicahOlson louiesch

repo: MicahOlson/roman-numerals


text:
The fade/opacity effect on calendar and weather

I have study the code but cant solve the case. Where is the fading/opacity effect on the calendar and weather coming from? I want to make it all 100% white due to some issues with my monitor.
Thanks alot in advance!
Morten Johnsen
Norway

See: https://github.com/MichMich/MagicMirror/blob/master/js/calendar/calendar.js#L163
Replace:
var row = $('<tr/>').attr('id', 'event'+i).css('opacity',opacity).addClass('event');

With:
var row = $('<tr/>').attr('id', 'event'+i).addClass('event');

Cheers, M.

Thank you so much!

authors: MichMich tjobo

repo: MichMich/MagicMirror


text:
Use DALLE or other tools to create a logo for the extension

I'm going to apply for publishing on Chrome web store and I need a logo for the extension.
I tried to use DALLE 3 to create some, if anyone is interested in this, feel free to comment your logo below!

Will the brain be scaring? :D

repo: MichaelYuhe/ai-group-tabs