Colorbar: add support for custom tick formatter

Suggestion:
Add ability to define how the value of the tick marks on a color bar are displayed.
For example with very large values (10^15+) the labels do not always display properly. It would be good to be able to define the string format for these ticks.
For example:
tickLabel= tickValue.ToString("+0.000e00; -0.000e00")

Hi @mawbydp, thanks for this question! I went to implement this feature and discovered it was already possible so I added a cookbook example:
double[,] data = SampleData.MonaLisa();

var hm = myPlot.Add.Heatmap(data);
var cb = myPlot.Add.ColorBar(hm);

// create a static function containing the string formatting logic
static string CustomFormatter(double position)
{
    return $"{Math.Round(position / 2.55)} %";
}

// create a custom tick generator using your custom label formatter
ScottPlot.TickGenerators.NumericAutomatic myTickGenerator = new()
{
    LabelFormatter = CustomFormatter
};

// tell the colorbar to use the custom tick generator
cb.Axis.TickGenerator = myTickGenerator;


TabBar is not showing

Version
Tell us which versions you are using:

react-native-router-flux v3.31.1
react-native v0.29.1

Expected behaviour
to show tabbar
Actual behaviour
not showing the tabbar
Steps to reproduce
const scenes = Actions.create(
  <Scene key='root' tabs={true} unmountScenes
      component={connect(stateToProps)(Switch)}
      selector={props => props.isLoggedIn ? 'tabBar' : 'login'}>
    <Scene key='splash' component={Splash} title=''
      hideNavBar={false} />
    <Scene key='login' component={Login} title=''
      hideNavBar={true} />
    <Scene key='signup' component={Signup} title='Signup'
      hideNavBar={false} />
    <Scene key="tabBar" tabs icon={TabbarIcon} tabBarStyle={styles.tabBarStyle}>
      <Scene key='home' component={Home} title='Home' initial={true}
        icon={TabbarIcon} />
      <Scene key='diary' component={Diary} title='Diary'
        icon={TabbarIcon} />
      <Scene key='cabinet' component={Cabinet} title='Cabinet'
        icon={TabbarIcon} />
    </Scene>
  </Scene>
);

What the status? Did you see the tabbar?

@Atu yeah. I found what is causing the problem and it is because I did not declare the class 'TabbarIcon' at the top of the 'scenes' declaration. I'm still kinda adjusting from compiled language to scripting language, so I forgot this basic thing.


Hunter 3.05.01

I think that is everything?

https://github.com/hunter-packages/tesseract/releases/tag/v3.05.01-hunter-0


*Request unsafe in presence of memory leaks

{
    let buffer = vec![0u8; 512];
    let request = dest.immediate_send(&buffer as &[u8]);
    std::mem::forget(request);
}
// request is still alive but buf is dead

a.k.a. the JoinGuard problem.
This could perhaps be fixed by using a Scope-based mechanism, or by asking for an owned buffer instead.

Good catch, thank you.
Although the scope-based mechanism does lead to somewhat convoluted code, I think it is the more general solution. This way the non-blocking operations can still be used on borrowed buffers and thus the same buffer can be used in more than one send operation, or can be involved in a send operation and read from at the same time. Using the existing guard based design with owned buffers would likely require Arq and friends to make this work, not sure one could get the C code that actually fulfils the request to uphold the exclusivity constraints though.
I still have to think some more about whether it is possible to carry over the freedom of when exactly one wants to wait for a specific request (or even cancel it) into the scope based design. Only being able to wait for all operations initiated within a scope at its exit seems like a restriction. But then again, this might be what is necessary to actually provide a safe API in the Rust sense of the word.
Currently, I do not have huge amounts of free time on my hands, would you be willing to do some work on this issue?

Should be fixed by #18.


[opt](routine load) support routine load perceived schema change (#39412)

pick #39412
At present, if the table structure changes, the routine load cannot perceive it. As a long-running load, it should be able to perceive the changes in the table structure.

run buildall

run buildall

run buildall


JSON encoding / decoding customization for JSON based cass

This PR allows the customization of json_encode and json_decode for the array and collection casts, as well as AsArrayObject, AsCollection, AsEnumArrayObject, etc.
use Illuminate\Database\Eloquent\Casts\Json;

Json::encodeUsing(fn ($value) => json_encode($value));

Json::decodeUsing(fn ($value, $associative) => json_decode($value, $associative));

This customization would typically be done in a service provider.

What if 2 columns within the same project needs different json encoding / decoding? This customization object seems to be global? Would that require a custom cast?

@morloderex I guess that require a custom cast.


Is there a way to generate native libraries that work with all Java versions

I'm using Java 11 now and the native libraries I generated (libGraphMol) can only work with Java 11, not other versions. Is there anyways to generate native libraries to work with all Java version?

This is a question, not a big report, which we have specifically asked people not to do. On top of that, you have posted the same question in multiple places.
Please do not spam projects this way


This fixes #27 in the original python-mailchimp project

This connects in the existing Folder entity into the main class and adds the missing create function.

Thanks for this pr ! I really appreciate !


ignore project setting files

Coverage remained the same at 82.489% when pulling 0e34958aefa160973d75d49cb27dfc704b38f490 on garboy:master into 7771c9e109615fac6ef3fb15e356e7a280947225 on neoremind:master.


Session Flash race condition

Thanks for all the hard work on this!
I noticed a race condition related to the flash. Basically the redirect can complete before the flash is saved to the database - meaning that the flash doesn't show till the next page load (an unfortunate bug for a flash).
I'm unsure if I'm the only one to experience this from hackathon-starter, as I'm using another db rather than the default mongo/mongoose. In theory, it can happen anytime you call (and execute) the redirect, before the session is done saving - and all the redirects in this repo currently don't wait for the session to be saved.
I can send a PR to save the session before redirecting, like this:
req.session.save(function () {
  res.redirect('/login');
}
// Some more code needs to be rewritten in the controllers/user.js so the various functions don't fall through

Before I do, I thought I'd check to see if this has been an issue for others. If not, feel free to close this issue.

@nemild Curious, what DB are you using?

@niallobrien Postgres by way of connect-session-sequelize
You can see the relevant issue

@nemild I am going to close this issue for now since this has never been a problem for me with flash messages. There haven't been any reports of this issue either; until now. In my latest project I am not even using flash messages anymore, but instead render the same page with additional data:
if (errors) {
    return res.render('account/login', {
      title: 'Log in',
      errors: errors
    });
  }


feat(gsoc): navbar revamp

Fixes Revamp Navbar
Describe the changes you have made in this PR -

improve navbar options with modern vuejs and vuetify
reduce dom manipulation
fix all options to work properly
improve navbar for mobile devises and improve responsiveness

Screenshots of the changes (If any) -

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

cc @nitin10s


IPAM not releasing addresses on device delete

Describe the bug
IPAM not releasing addresses on device delete
How to Reproduce
Join a node and delete it
Expected Behavior
to delete the IPAM lease
Deployment Environment
No response
Additional Context
No response

Resolved by doing a device lookup before in order to release the address.


fix: Incorrect placement in [Tooltip]

🐛 Bug Report
If you attach a Tooltip at the item at the very right of the page it renders at the incorrect place.
See the screen recording
https://github.com/microsoft/fluentui-blazor/assets/2365592/173048cc-dc18-4d12-9cdc-a937c3e87d10
💻 Repro or Code Sample
Just attach a tooltip to the item at the very top right of the page.
🤔 Expected Behavior
Tooltip renders below the item with some shift to fit the screen. The tooltip arrow points straight to the item center.
😯 Current Behavior
Tooltip renders somewhere else. The tooltip arrow points into some strange direction
🔦 Context
See the screen recording
🌍 Your Environment

.NET 8 and FAST 4.2.1

Andrii (@xperiandri) Are you using the FluentTooltipProvider?

Yes, I do. This is my layout ending
    <FluentToastProvider />
    <FluentDialogProvider />
    <FluentTooltipProvider />
</FluentLayout>

There is an issue with the underlying fluent-tooltip web component. This is what I get with a simple test with just the wc:

(gray area is the scrollbar at the right of the screen. Tooltip partially disappears and is not moved left).
Will raised it in the fluentui web components repo.

As a workaround, I would suggest to set the tooltip position to Position.Left for now. The TooltipProvider will make sute it is displayed on top of all other components.
My guess is it will take a while to get this fixed on the web components side...

Closing this, as it is not going to be solved in the current version of the web components, The team is fully solving this for the next version and it will flow into here when ready. We have a workaround for now.


[.NET Core] NullReferenceException during Event serialization

(Forked from #23)
Creating a simple calendar with a single calendar event (basically the sample in https://github.com/rianjs/ical.net/wiki without the recurrence rules) in a .NET Core console app fails to serialize.
I did some debugging, looks like the actualEvent.Properties.Remove("DURATION") in EventSerializer.cs removes the DURATION from _dictionary, but not from _lists, causing the _lists entry to be set to null.
Since _lists is what is used to create the enumerator, this null entry is included when using LINQ extension methods.
This means that during serialization, in ComponentSerializer.SerializeToString() the following throws a NullReferenceException because p is null:
var properties = c.Properties.OrderBy(p => p.Name).ToList();

Sample code to reproduce is below, using Microsot.NETCoreApp 1.1.1:
var now = DateTime.Now;
var later = now.AddHours(1);
var e = new CalendarEvent
{
    DtStart = new CalDateTime(now),
    DtEnd = new CalDateTime(later)
};
var calendar = new Calendar();
calendar.Events.Add(e);
var serializer = new CalendarSerializer(new SerializationContext());
var serializedCalendar = serializer.SerializeToString(calendar);

@remyjette  what is your solution ?

I mean, a quick hack would be to change
var properties = c.Properties.OrderBy(p => p.Name).ToList();

to
var properties = c.Properties.Where(p => p != null).OrderBy(p => p.Name).ToList();

But I'm not planning on submitting a PR to change that line because it's just that - a hack. The underlying issue is that when GroupedListEnumerator is enumerating the values of the CalendarPropertyList that contains the properties of the event, it's including a null for the removed DURATION property rather than skipping it. I haven't yet had time to dig into this further, but that's my findings so far. Hopefully I'll have soon have some more time to investigate this so I can submit a PR with an actual fix rather than the hack I mentioned above.

Ok perfect thx, im waiting for the next release ;)

Ps : we can
var properties = c.Properties.OrderBy(p => p?.Name).ToList ();

I suggest ?

Think this may relate to #260

@remyjette - does your PR ( #270 ) solve this issue?

Yep! Closing this issue.

Published in Ical.Net 3.0.9-net-core-beta:
https://www.nuget.org/packages/Ical.Net/

Using 3.0.14
NullReferenceException in Ical.Net.Serialization.iCalendar.Serializers.Components.EventSerializer.SerializeToString in Ical.Net.dll


Any suggestions for improving pattern matching speeds?

Hello,
I'm trying to learn more about SIMD instructions for efficient pattern matching and was wondering if it would be considered viable for one to try and leverage them to improve pattern matching performance in YARA.
If SIMD instructions is not feasible, does anyone have any suggestions for me in order to heighten the efficiency of the pattern matching implementation in YARA?
I intend on utilising a very large amount of rules (we're talking thousands here) -- which would be manually written by hand whilst following existing performance guidelines to be taken into consideration when writing rules -- and all of these rules will only contain sequences of hexadecimal values (which will have to exhibit uniqueness and be of a preferable length for ideal atom generation) but scanning speeds will still need to be as optimum as I can possibly get them.
YARA is already great but if there are ways for me to optimise it further for my own use-cases then I'll investigate those very-much welcomed suggestions; it is worth noting that I'm only fixated on YARA's pattern matching and rules system, so YARA isn't currently being nor will be used to handle tasks like mapping a file into memory or scanning the virtual address space of a running process.
I am open to suggestions evolving around specific hardware setups as well, so suggestions do not have to be tied to general-purpose. Hardware-specific optimisations are feasible for my use-case.
Thanks.

YARA already uses APIs like memcmp which seems to already make use of SIMD for optimization when compiling with MSVC as long as the SIMD instructions are available on the system the software is running on (which is based on your CPU).
New to the SIMD party, I wasn't yet aware that it may be utilized when available on a system you're running the software on depending on various factors such as the compiler you're using; I only discovered this once I had gone through the Intel documentation to learn about the SIMD instruction set and created my own Proof-of-Concept to leverage and then noticed the benchmark tests matched when not using it, leading me to investigate why that was the case.
Therefore, manually implementing SIMD in this area won't provide any additional performance gain depending on what compiler is being used.
I'd say that YARA's main area of bottleneck would be the speed at which it can read data that needs to be scanned, such as from a file after mapping it into memory, which isn't really YARA's fault but more so down to hardware and the OS kernel.
Still though, it was a nice experiment given it taught me something one way or the other.
If anyone has any ideas for possible performance-enhancing modifications for me to look into (strictly regarding the pattern matching in YARA), it'd be appreciated.

I'm closing this issue because it's an open-ended question. We are constantly looking for ways to improve YARA's performance, but there's no silver bullet for this.


feature/name agnostic

accepts any bag name, and TSV files can be any name, but must end on '.tsv'
identifies participant and sample TSV file, and uploads in correct order
tests are in test_TSV_identification.py
found that deleting the bag in /tmp of the AWS Lambda is a requirement, otherwise files with different names will accumulate
this hadn't been detected previously, perhaps because we always used the same TSV file names, and they were overwritten
tested Lambda (using curl) with

manifest zip file with 2 TSV files, named
participant.tsv and sample.tsv
zip file that contains 3 TSV files
zip file that contains duplicate entries
zip file that has different bag and TSV file names

┆Issue Number: BFL-2

➤ Cricket Sloan commented:
This is collapsed with #BFL-3


allow bosh to be used with a1 instance size and persistent disk that can be migrated

currently cpi adds an additional ephemeral disk as a data disk. a1 instance size only allows 2 data disks which means that bosh cannot migrate persistent disks (attaches 2 disks at one time to a single vm). to support this scenario let's add root_disk.size configuration to https://bosh.io/docs/azure-cpi.html#resource-pools just like ephemeral_disk.size. this would also require stemcell update similarly to how google stemcell does it [1]. let's not set ephemeral disk for the agent when ephemeral_disk is nil. for now let's continue to default ephemeral_disk but eventually we'll just switch to root_disk configuration.
[1] https://github.com/cloudfoundry/bosh/blob/master/stemcell_builder/stages/bosh_google_agent_settings/apply.sh#L10

cc @dsboulder

Also applies to all instance classes that allow just 1 or 2 data disks, such as:

Standard_A0
Standard_A1
Standard_DS1_v2
Standard_F1s

Code is merged.

In order to verify this, I think I need a new stemcell right?  @cppforlife can I get one?

@dsboulder Maybe you can verify it with our private stemcell build as below before the official build.
url: https://cloudfoundry.blob.core.windows.net/share/stemcell-for-resize.tgz
sha1: 484fa57cd787daddb266a4dbe43198a4f217d42c

I tried it, got it to work with a cloud_config like this:
  cloud_properties:
    instance_type: Standard_F1
    root_disk:
      size: 19384
    ephemeral_disk:
      use_root_disk: true
    storage_account_name: dsomaug9storageaccount

Can we add all these new options to the docs?  It was hard to figure them out.

@dsboulder Sorry for that I forgot to tell you how to configure it. Actually we have created a PR #181 for docs-bosh.


bin/setup_heroku fails if you supply an account password with a semicolon in it

If you enter a password containing a semicolon when prompted by this script, it does not seem to get properly escaped, and only the portion up to the semicolon is used.  If this is less than 8 characters, it will fail with a "password is too short" as shown in the transcript below.
(Email address and password redacted for obvious reasons)

(... other setup happens here ...)
Okay, what is your email address<EMAIL_ADDRESS>And what username would you like to login as? xxx
Finally, what password would you like to use?
Just a moment...
ERROR:

Running `rake db:seed<EMAIL_ADDRESS>SEED_USERNAME=xxx SEED_PASSWORD=xxx` attached to terminal... up, run.3041
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Password is too short (minimum is 8 characters)
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/validations.rb:57:in `save!'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:273:in `block in save!'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:273:in `save!'
/app/db/seeds.rb:10:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `block in load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/engine.rb:543:in `load_seed'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:200:in `load_seed'
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/railties/databases.rake:174:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)

Ack, thanks for letting me know!


chore(package): update nyc to version 10.2.0

https://greenkeeper.io/

Codecov Report

Merging #48 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   83.33%   83.33%
=======================================
  Files           1        1
  Lines          12       12
=======================================
  Hits           10       10
  Misses          2        2

Continue to review full report at Codecov.

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


Dutch specs localized and filtered

Review of pull request  #1594

@LionbridgeCS Please don't close a PR with ongoing reviews to create a new one, unless that's discussed on the original PR for clarity. Otherwise it gets much harder to track if review comments were addressed.
If a commit is mistakenly pushed to a PR, you can update the PR reverting it.

@tellarin Thank you for the directive, noted.


C backend (C code generation from model)

Is a backend which generates c code possible/ in scope?
(this is not really limited to c code, could be js/ rust whatever with very simple changes, just picking c as the most common use case)
Motivation: Maximum portability/ simplicity
Recently I has much success with this approach for random forest models, much like https://github.com/nok/sklearn-porter but simpler/ handmade and I'd like to also use this for neural networks, if possible.
The whole thing would be similar to NN512, I also explored this a bit with onnx -> c but did not get very far yet due to the lack of time/ too much complexity https://github.com/onnx/onnx-mlir/issues/1668
My guess/ main question is that lazy evaluation would not work with c code generation because all the code would need to be generated + compiled at once so if tinygrad would fully switch to lazy ops this might not work?

Funny you mention this, I was just thinking about it. This for a company or a hobby project?

it would "compile" in the same way the openpilot model does.

good to know its generally in scope

This for a company or a hobby project? Come discuss on the discord.

Its sadly not for a company, even the people at onnx-mlir where I joined a discussion to present the idea where hard to convince that this is actually useful.
Onnx-mlir is also a very good idea generally, their api is just not very easy to use and its hard to distribute in an existing toolchain/ cross platform.
I think for large models a c backend likely is indeed not useful/ to slow but especially for smaller ones this should greatly expand the areas where one can deploy them.

Done, see tinygrad.org

great work! thanks
its also amazing that it already works on wasm, really good showcase 👍
just as a note/ braindump, the next possible steps from my POV are:

making it more widely usable (onnx -> c instead of efficientnet)
separating it from gpu code

adding more flavors to make it faster:

separate SIMD codepaths for wasm, x86, arm, (like NN512)
use BLAS for matmul instead of raw for loops
better tiling/ TODO profile/ probably memory bound
add restrict qualifiers to params if applicable

Never using BLAS, it should be able to generate code that maxes out the CPU. tinygrad doesn't link to libraries.
Improving the compiler to go from onnx / refactoring it to share more code with the openpilot compiler is great.
Restrict params are valid for GPU also, probably a 5 line PR I would merge.
Better tiling should be found with the KOPT.

I am interested in ultra portable solutions like this and did a speed comparison (with a simple conv net) to dlib which was about 4x faster.  So i was wondering if there are any plans to work on the speed of the c backend.

If there's funding to make it faster, we can. 0 effort has been put into optimization.


Unsplash integration

After seeing @_developit 's beautiful tweet

I realized it'd be nice to have a button here to source a random CC-licensed image from Unsplash

Just leaving this here for implementation: https://source.unsplash.com/random


dexie-cloud-todo-app — in some cases, initial sync hangs for about a minute

I've encountered this on https://dexie.github.io/Dexie.js/dexie-cloud-todo-app/ in incognito mode, though I've also reproduced it locally (yarn run build then npx serve ./build then visit in an incognito tab) —  sometimes it hangs for a while trying to do the initial sync:
Service worker build on Fri Apr 01 2022 03:04:08 GMT-0700 (Pacific Daylight Time)
dexie-cloud-addon.js:2502 BroadcastedAndLocalEvent: bc.addEventListener() syncstatechanged-TodoDBCloud2-z0lesejpr bc is a BroadcastChannel
dexie-cloud-addon.js:5945 Dexie Cloud Addon: Using service worker
dexie-cloud-addon.js:4753 Performing initial sync

Eventually this appears in the logs, after which, sync succeeds:
dexie-cloud-addon.js:4690 Latest initialSync worker seem to have died.
 The dead job started: Thu Apr 07 2022 16:59:12 GMT-0700 (Pacific Daylight Time)
 Last heart beat was: Thu Apr 07 2022 16:59:12 GMT-0700 (Pacific Daylight Time)
 We're now taking over!

I timed it a couple of times, and it seems to be a 60 second timeout. Maybe there's a way to detect the dead job sooner?
The interactive parts (i.e. creating a list) don't work while it's awaiting that initial sync.

When reproducing it on https://dexie.github.io/Dexie.js/dexie-cloud-todo-app/ it seems like it happens consistently for the first incognito tab opened; but doesn't seem to happen outside of incognito (even when I unregister the service worker, "Clear Site Data" and close all tabs). Maybe just a coincidence but noting just in case.

If you want to reproduce it yourself, try a new incognito tab with https://dexie.github.io/Dexie.js/dexie-cloud-todo-app/ . You might also be able to see it by doing a local build, serving it, and opening in an incognito tab: yarn run build && npx serve build.
Ah, and just confirmed that if I switch it to serviceWorkerRegistration.unregister(), the problem does not appear in the local build. However, if I keep serviceWorkerRegistration.register(), with tryUseServiceWorker: false in db/TodoDB.ts, the problem does appear, though only in incognito.

Thanks for this finding!
I could reproduce this in non-incognito mode as well, in case of a true first experience (where the SW and databases where wiped out and the page has been refreshed after that to ensure they have no trace on the windows).
The reason seems to be due to some code in serviceWorkerRegistration.ts from workbox that does a page reload on the very first time it executes - and only when being served from localhost. The reload happens directly after the initial sync started and it aborts all JS execution and starts everything over again, leaving the "job" row in the DB that stalls the initial sync when executed the second time.
But I've realized that initialSync doesn't need to be protected using a guarded job. If it were to be executed multiple times in parallell, the only worst thing that could happen is some unnescessary double work - and no inconsistencies. So I will stop protecting initial sync whithin a guarded job. This will fix the issue. Thanks again for finding the issue!


Termdebug buttons don't work in gnome-terminal

When running vim -N -u NONE testing_program.c (with vim 8.0.1389) and start :Termdebug (after :packadd termdebug, of course), I get debugger running, but I cannot press any buttons with mouse while running vim inside of gnome-terminal on RHEL-7 (gnome-terminal-3.22.1-2.el7.x86_64 if it matters). I have to switch to GVim (either by :gui or running gvim directly) to have buttons working.
If buttons are not supported in text-only environment, they shouldn't be shown and documentation should suggest some alternatives how to operate termdebug (are there some shortcut keys similar to the generally used in other GUI debuggers like F10 for :Next, F11 for :Step, etc.?).

Matěj Cepl wrote:

When running vim -N -u NONE testing_program.c and start
:Termdebug (after :packadd termdebug, of course), I get
debugger running, but I cannot press any buttons with mouse while
running vim inside of gnome-terminal on RHEL-7
(gnome-terminal-3.22.1-2.el7.x86_64 if it matters). I have to
switch to GVim (either by :gui or running gvim directly) to have
buttons working.
If buttons are not supported in text-only environment, they shouldn't
be shown and documentation should suggest some alternatives how to
operate termdebug (are there some shortcut keys similar to the
generally used in other GUI debuggers like F10 for :Next, F11 for
:Step, etc.?).

The buttons work fine in xterm.  Do you have 'mouse' set to "a"?
Can you position the cursor with a mouse click?
--
A meeting is an event at which the minutes are kept and the hours are lost.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

yes, set mouse=a in ~/.vim/vimrc did the trick. It might be helpful to add mention of it in the Termdebug help, because it could be the only place in the terminal vim where mouse is used.


Compatibility package for Pharo6

Added compatibility for pharo6.
Did a few renames

Pull Request Test Coverage Report for Build 875

24 of 24 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 873:
0.0%

Covered Lines:
7925

Relevant Lines:
7925

💛  - Coveralls


[T5A2][F11-A2]Deng Yue

Ready for review

Sorry, I forgot to fork the new repo. This PR should be sent to AddressBookLevel3 instead of AddressBookLevel2


Max and min sizes

Hello! Having tried about 10 sass packages for setting type, I love megatype so far! So simple and effective, especially the debugging. I was wondering about min and max font sizes, because it's not always preferred to have extremely large font sizes on television screens and tiny on mobile. $min-font-size has no effect, or I'm not understanding something. Any way to add $max-font-size after certain breakpoint?

Sorry, I take this back. I'm using fully fluid grids (jeet) instead of those snappy ones, so I guess I have to improvise. I'd still like to hear your thoughts on this @StudioThick.

Hi, glad to hear your feedback. If you're using a grid system I recommend matching your megatype configure to the breakpoints you're using in the grid system (if applicable). Adding a max font size is an interesting suggestion, might have a look over the weekend.
I'll have a look to see if min size has any bugs

Thanks for the answer! I'm not using a grid system per se, with jeet's sass helpers you can easily set grids to columns with an include. Currently using megatype's default breakpoints, because they were very close to my previous breakpoints.
I have another question, if you don't mind. Is there a list for cap heights for fonts or do you figure them out by testing? also, it seems not always text is aligned directly on debugging lines, but I guess that's not possible especially for freely fluid grids (without momentarily static 'snappy' width).

Close enough, I guess.


Acceptance testing updates

🚨  Do not merge, work in progress 🚨
First steps towards setting up a standard practice for acceptance testing with EmberFire. This should include:

new docs including example test code, and
test helpers and blueprints that match existing ember acceptance testing patterns.

Progress:

[x] Define an acceptance test module for Qunit, add to emberfire blueprint.
[x] Add docs for standard approach including instructions for fixture data
[x] Add module definition and example test for Mocha users.
[ ] Add access to the firebase ref in the acceptance test
[ ] Add instructions for handling changes to data, e.g. updates, additions, deletions
[ ] Manually test example code with a basic ember app.

Potentially out of scope:

[ ] Add acceptance tests to the dummy app
[ ] Updating Emberfire's acceptance tests to use the new module.

Notable considerations:

ember-cli is moving test helpers to individual test libraries.

I signed it!


Some suggestions

Repository type listed should be owner. I don't think anyone want to delete a repo using this tool as a member. Of course, it can be passed as an arg, but it shouldn't be all by default. Especially since there is no distinction in the menu between participating and owned repos.
https://github.com/yaolifeng0629/del-repos/blob/d9932dd890e508063bc3c9d1c01a4ba82e16a2ee/src/services/gitee.ts#L18
https://github.com/yaolifeng0629/del-repos/blob/d9932dd890e508063bc3c9d1c01a4ba82e16a2ee/src/services/github.ts#L18

Do a double check after repos selected. It's difficult for people to concentrate on a scrolling menu to determine if there are no items selected by mistake.
No need to pop up the create token page every time. Change the logic, e.g. when the user presses enter without filling in the token.
Allow custom sorting, such as oldest, or alphabetically.

Of course, thank you still for creating this wonderful tool. If you have a plan but lack the time, I'd love to submit a PR

@alex3236 Thank you for your feedback

The starting point is to display all of its repositories to authorized users, including those that participate as members and those that are private. This way, users can flexibly delete any warehouses related to them.

To prevent misoperation, an optimization item for a secondary confirmation step can be added after the user confirms the deletion. This will greatly reduce the risk of accidental deletion.

Considering that some users may not be familiar with the process of obtaining or saving tokens, we choose to display the page for creating tokens every time. This is a temporary solution, welcome to explore more elegant solutions.

Currently, the warehouse list is sorted by project activity. This helps users quickly find the most commonly used or important warehouses.

The starting point is to display all of its repositories to authorized users, including those that participate as members and those that are private. This way, users can flexibly delete any warehouses related to them.

For this point, why not show the repo owner? In https://github.com/ruanyf/weekly/issues/4644 the repo is shown as owner/name but now it seems to be name, which makes it impossible to distinguish the owner of a repo with the same name

The starting point is to display all of its repositories to authorized users, including those that participate as members and those that are private. This way, users can flexibly delete any warehouses related to them.

For this point, why not show the repo owner? In ruanyf/weekly#4644 the repo is shown as owner/name but now it seems to be name, which makes it impossible to distinguish the owner of a repo with the same name

@alex3236 Sorry, I didn't understand the sentence 'but now it sees to be name, which makes it impossible to distinguish the owner of a repo with the same name'. Could you please give me an example

The starting point is to display all of its repositories to authorized users, including those that participate as members and those that are private. This way, users can flexibly delete any warehouses related to them.

For this point, why not show the repo owner? In ruanyf/weekly#4644 the repo is shown as owner/name but now it seems to be name, which makes it impossible to distinguish the owner of a repo with the same name

@alex3236 You are right. This is a current issue that exists

The starting point is to display all of its repositories to authorized users, including those that participate as members and those that are private. This way, users can flexibly delete any warehouses related to them.

For this point, why not show the repo owner? In ruanyf/weekly#4644 the repo is shown as owner/name but now it seems to be name, which makes it impossible to distinguish the owner of a repo with the same name

@alex3236 The latest version has been released and fixed, see #1.0.13


Latest 1.16 causes "declared locally but not exported" error

Getting this error when using the latest 1.16:
Module '"./dist/connection_string"' declares 'ConnectionString' locally, but it is not exported.

https://github.com/Azure/azure-iot-middleware-freertos/actions/runs/3491532894/jobs/5844277832#step:9:3614

PR #9


docs: formatting and consistency

Updated the provider block example with more comments, and broke the auth-related parameters into groups for easier understanding
Added corresponding environment variables to provider block example and to Argument Reference
Improved formatting and consistency of Argument reference
Added "Conflicts with" data from provider.go

Test Plan
Visual validation (if possible) that Terraform's Markdown formatter supports footnotes with the [^n] syntax

@farfromunique could you reopen once you've fixed?


VM phase stuck in 'pending'

Creating a VM from ManageIQ seems to get stuck in 'Pending'
checking events shows below log (see the last lines)
[fedora@vparekh-automation-provider ~]$ oc get events -n default
LAST SEEN   FIRST SEEN   COUNT     NAME                                       KIND                    SUBOBJECT                   TYPE      REASON                    SOURCE                             MESSAGE
2d          2d           1         docker-registry-1-mfrr9.152dcdd793faca09   Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "registry-storage"
2d          2d           1         docker-registry-1-mfrr9.152dcdd7baef3948   Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "registry-token-nnqbw"
1h          1h           1         docker-registry-1-mfrr9.152e72208be30ec5   Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "registry-storage"
1h          1h           1         docker-registry-1-mfrr9.152e722098044d9e   Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "registry-token-nnqbw"
1h          1h           1         docker-registry-1-mfrr9.152e7220afd4333d   Pod                                                 Normal    SandboxChanged            kubelet, localhost                 Pod sandbox changed, it will be killed and re-created.
1h          1h           1         docker-registry-1-mfrr9.152e7224f1395dc1   Pod                     spec.containers{registry}   Normal    Pulled                    kubelet, localhost                 Container image "openshift/origin-docker-registry:v3.9.0" already present on machine
1h          1h           1         docker-registry-1-mfrr9.152e72255a2bcc62   Pod                     spec.containers{registry}   Normal    Created                   kubelet, localhost                 Created container
1h          1h           1         docker-registry-1-mfrr9.152e72256809776a   Pod                     spec.containers{registry}   Normal    Started                   kubelet, localhost                 Started container
2d          2d           1         localhost.152dcdd658bd503c                 Node                                                Normal    Starting                  kubelet, localhost                 Starting kubelet.
2d          2d           2         localhost.152dcdd65da10307                 Node                                                Normal    NodeHasSufficientDisk     kubelet, localhost                 Node localhost status is now: NodeHasSufficientDisk
2d          2d           2         localhost.152dcdd65da11303                 Node                                                Normal    NodeHasSufficientMemory   kubelet, localhost                 Node localhost status is now: NodeHasSufficientMemory
2d          2d           2         localhost.152dcdd65da12897                 Node                                                Normal    NodeHasNoDiskPressure     kubelet, localhost                 Node localhost status is now: NodeHasNoDiskPressure
2d          2d           1         localhost.152dcdd65ddc603f                 Node                                                Normal    NodeAllocatableEnforced   kubelet, localhost                 Updated Node Allocatable limit across pods
2d          2d           1         localhost.152dcddb4e331f25                 Node                                                Normal    RegisteredNode            node-controller                    Node localhost event: Registered Node localhost in Controller
1h          1h           1         localhost.152e721f421fb212                 Node                                                Normal    Starting                  kubelet, localhost                 Starting kubelet.
1h          1h           1         localhost.152e721f46d7d556                 Node                                                Normal    NodeAllocatableEnforced   kubelet, localhost                 Updated Node Allocatable limit across pods
1h          1h           1         localhost.152e721f4d18dfb2                 Node                                                Normal    NodeHasSufficientDisk     kubelet, localhost                 Node localhost status is now: NodeHasSufficientDisk
1h          1h           1         localhost.152e721f4d19323f                 Node                                                Normal    NodeHasSufficientMemory   kubelet, localhost                 Node localhost status is now: NodeHasSufficientMemory
1h          1h           1         localhost.152e721f4d193fe4                 Node                                                Normal    NodeHasNoDiskPressure     kubelet, localhost                 Node localhost status is now: NodeHasNoDiskPressure
1h          1h           1         localhost.152e721fca695dfa                 Node                                                Warning   Rebooted                  kubelet, localhost                 Node localhost has been rebooted, boot id: a08f6663-a52c-4619-97d0-2bdcd34b5403
1h          1h           1         localhost.152e722337337594                 Node                                                Normal    RegisteredNode            node-controller                    Node localhost event: Registered Node localhost in Controller
2d          2d           1         router-1-wgwcx.152dcdd7d8a1dd72            Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "router-token-z2mts"
2d          2d           1         router-1-wgwcx.152dcdd7d8d9bc01            Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "server-certificate"
1h          1h           1         router-1-wgwcx.152e722097d083e0            Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "router-token-z2mts"
1h          1h           1         router-1-wgwcx.152e722098125ef5            Pod                                                 Normal    SuccessfulMountVolume     kubelet, localhost                 MountVolume.SetUp succeeded for volume "server-certificate"
1h          1h           1         router-1-wgwcx.152e7220afe019d0            Pod                                                 Normal    SandboxChanged            kubelet, localhost                 Pod sandbox changed, it will be killed and re-created.
1h          1h           1         router-1-wgwcx.152e7222dd43fa2e            Pod                     spec.containers{router}     Normal    Pulled                    kubelet, localhost                 Container image "openshift/origin-haproxy-router:v3.9.0" already present on machine
1h          1h           1         router-1-wgwcx.152e72238feb8ce6            Pod                     spec.containers{router}     Normal    Created                   kubelet, localhost                 Created container
1h          1h           1         router-1-wgwcx.152e7224199dc514            Pod                     spec.containers{router}     Normal    Started                   kubelet, localhost                 Started container
35m         35m          1         vparekh.test001.152e7594a334d918           OfflineVirtualMachine                               Normal    SuccessfulCreate          offlinevirtualmachine-controller   Created virtual machine: vparekh.test001
35m         35m          2         vparekh.test001.152e7594a54c7881           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test001-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
7m          28m          3         vparekh.test001.152e75f4203811b6           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test001-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
35m         35m          1         vparekh.test002.152e7594603464d1           OfflineVirtualMachine                               Normal    SuccessfulCreate          offlinevirtualmachine-controller   Created virtual machine: vparekh.test002
35m         35m          2         vparekh.test002.152e75949eed1d8a           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test002-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
7m          28m          3         vparekh.test002.152e75f41fffa29d           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test002-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
35m         35m          1         vparekh.test003.152e75980b24419e           OfflineVirtualMachine                               Normal    SuccessfulCreate          offlinevirtualmachine-controller   Created virtual machine: vparekh.test003
35m         35m          2         vparekh.test003.152e75980e6c0144           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test003-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
7m          28m          3         vparekh.test003.152e75f42035564f           VirtualMachine                                      Warning   FailedCreate              virtualmachine-controller          Error creating pod: pods "virt-launcher-vparekh.test003-" is forbidden: unable to validate against any security context constraint: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000000000,<PHONE_NUMBER>] spec.containers[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]

Using kubevirt 0.5.0

@fabiand @rmohr

@vatsalparekh seems like your installation on openshift is not complete. That normally happens, if the controllers don't have the right security context set. Could that be? Could you check if the security contexts are configured like suggested here: https://www.kubevirt.io/user-guide/#/installation/README?id=using-command-line-interface?

@rmohr yes, security context was not set! corrected, VM in scheduled now

How do we warn users about this issue if common?

There was some offlist discussion to have a cluster level component (maybe node needed as well?) to perform checks to indicate the health of th eapplicaiton (Kubevirt) - this component could have checked this condition as well.
I started tracking the items here: https://github.com/kubevirt/kubevirt/issues/1023


Remove an workaround profile exists in core/pom.xml file since the related issue had been already fixed.

According to the link https://bugs.eclipse.org/bugs/show_bug.cgi?id=541772#c30, I observed that such issue had already been fixed in 4.12M1 release. The workaround for this profile is not needed in my opinion.
I suggest to remove this profile.
The workaround profile:
https://github.com/apache/accumulo/blob/07bc9d329ea0b8da9a577863acfe009910e189cd/core/pom.xml#L386-L401

@ctubbsii I believe you ran into this issue in Eclipse.  Can you verify this is no longer needed?

@milleruntime I will need to update my Eclipse environment to test it. I will merge it if it is fixed in the current version of Eclipse.

Thanks for the PR @markxiaotao ! I merged it, and found and fixed two others of the same type, which would have remained if you hadn't brought it to our attention. Thanks! If you wish to be added as a contributor to https://accumulo.apache.org/people/ , please open a pull request to add yourself at https://github.com/apache/accumulo-website/edit/master/pages/people.md and leave a reference to apache/accumulo#1652 in your commit log.
If you intend to be a regular contributor to Accumulo projects, please consider subscribing to our developer mailing list (https://accumulo.apache.org/contact-us/) and introducing yourself. :smiley_cat:


Complete basics

[x] Monoid
[x] Functors

[x] Common

[x] Covariant Functor (just Functor)
[x] Applicative
[x] Monad

Monad still needs some cleaning up (whoops), but I'm calling this closed.


This is all beautiful code 👍

Thanks for sharing it. As always, I start by reading the automated tests, and they all look fine. I haven't tried to compile the source code (yet) but it is a pleasure reading it. 💯
(Closing this as it was mostly for feedback.)

Thank you 😊

One thing I noticed, you could use the new, compact, .csproj (and .fsproj) file format, even if you are not targeting .NET Standard. Although, I have to say I'm quite OK with .NET Core in general.*
Then, you won't need FAKE, since all you'd have to do is
dotnet build
dotnet test

Even though I spend a lot of my time in Haskell and GHC these days, I've learned a lot about .NET Core from AutoFixture, Hedgehog, and a customer for whom I switched a fairly big project into (ASP).NET Core.

* I like the fact that, on a clean machine, you can download the .NET Core SDK as a ZIP file, extract it, add it to PATH, and that's it! What bothers me is that the F# Interactive isn't available in .NET Core (yet).


Add Librtmp package

Add Librtmp package

Add librtmp 5b2f14f

I still see unrelated "Submodule gate updated 0 files" change.

Should be gone now.

Should be gone now

Looks good, thank you. Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1297
https://travis-ci.org/ingenue/hunter/builds/189112878

Testing

Some tests failed. Feel free to investigate fixes or simply exclude broken toolchains. Branch pkg.librtmp.

Fixed the android and VS12 issues, should have an update coming. Waiting on the MacOS test. VS11 and below will be turned off as they do not support C99 which is quasi used in the code. Also disabling analyze, mingw and msys as the builds seem to be failing from openssl and checking the openssl test those are excluded.

Updated hunter-packages/rtmpdump also with new release (used same name). Modified this PR with the new SHA and sent PR(https://github.com/ingenue/hunter/pull/46) for ingenue/hunter

Ok, this one should be a go, test updates in https://github.com/ingenue/hunter/pull/46.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1307
https://travis-ci.org/ingenue/hunter/builds/191887004

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1311
https://travis-ci.org/ingenue/hunter/builds/191914925

https://travis-ci.org/ingenue/hunter/jobs/191914938

This job failed because librtmp is not relocatable in fact. Please take a look at librtmpTargets.cmake installed file - there should be no full paths there but OpenSSL and ZLIB is saved with full paths. This can be fixed by using OpenSSL::* targets and ZLIB::zlib. See wiki pages:

https://github.com/ruslo/hunter/wiki/pkg.openssl
https://github.com/ruslo/hunter/wiki/pkg.zlib

Wiki about relocation:

https://github.com/ruslo/hunter/wiki/example.find_package.config


save file instead of show image in windows

I notice your comment on the ‘out_file‘ parameter of the show_result function in inference.py: If out_file is specified, the visualization result will be written to the out file instead of shown in a window,  but actually it is shown in windows. (and because I run my python in no gui environment,  even though i specify the out_file, it shows cannot connect to X server, which may be confused to somebody new to this)
So, I add a if statement before show image.

Thanks for the fix.

Hi @MeepoAII ！First of all, we want to express our gratitude for your significant PR in the mmdetection project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/raweFPmdzG
If you have WeChat，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤

Hi @MeepoAII ！First of all, we want to express our gratitude for your significant PR in the mmdetection project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/raweFPmdzG
If you have WeChat，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


Update stable version in repo from 1.3.10 to 2.0.5

Think about update stable version to 2.0.5
Version: stable=1.3.10 (96 days old) => latest=2.0.5 (15 days old)
Installs: stable=2822 (55.47%), latest=1015 (19.95%), total=5087
Click to edit

Think about update stable version to 2.0.5
Version: stable=1.3.10 (96 days old) => latest=2.0.5 (15 days old)
Installs: stable=2822 (55.47%), latest=1015 (19.95%), total=5087
Click to edit

2.0.5 has a major bug regarding secordary white channels on several bulbs / led controller.
Please see the issues. It's not a good idea to uplift now as many would be affected.
I addition as the iobroker ibject structure has changed (great improvement!) I would recommend puting out a disclaimer.
Automations won't work after the update as all paths changed.
Regards


[Help] Help with an particular cadence sensor

Hello Andrew,
My name is Erasmo, I'm a developer, I need some help with a bluetooth device.
https://www.amazon.com/MEILAN-Wireless-Bluetooth-Computer-Waterproof/dp/B07QCPLVFC
I connect to him but I can't parse the retrieved data from this little device.
I read your repository "oled-bike-computer" but my device doesn't have Uint32Array, they have only Int8Array and Uint8Array data.
Can you help me with this?
Regards, Erasmo.

Unfortunately, I don't have too much knowledge on how different sensors work and this repo is shared to the public as an example and backup. You're free to share MRs, but I don't currently have time to take a look. Here are some possible resources that might be useful:
https://www.bluetooth.com/blog/the-wheels-on-the-bike-are-bluetooth-smart-bluetooth-smart-bluetooth-smart/
https://learn.adafruit.com/bluetooth-bicycle-speed-cadence-sensor-display-with-clue


switch to yarn to resolve nanoid security

I don't recall why we use npm instead of yarn in the setup but npm doesn't support something like resolutions (instead it needs some additional tooling to enforce version overrides).
let's switch to yarn and add resolutions for nanoid.
https://staging.coda.io/d/Quality-Tracker_d-GJF-DmEUK/Bugs_sucBW#Bugs_tuq-W/r21336&view=modal

The idea was to minimize the number of dependencies for a developer who just wants to try out the examples.
Totally fine to use yarn if it's much better, but mind updating the README so that it's accurate?

Sure. Sorry I missed that!


MQTT Connection deadlock if any invalid details provided

Hi Team,
@JonathanHenson
@justinboswell
When we provide any invalid/incorrect connection details, we are observing an hang/deadlock in sdk (no connection callback receiving)
Case-I:
//invalid certificates
MqttCertificate cert1;
cert1.HostAddress = host_address; // used a valid IoT Core endpoint
cert1.port = port; // used 443
cert1.rootCA = "na";
cert1.clientCRT = "na";
cert1.clientKey = "na";
Result for Case-I:

hang/deadlock in sdk and no callback receiving from sdk

Case-II:
//invalid endpoint
MqttCertificate cert1;
cert1.HostAddress = "<IP_ADDRESS>"; // this is not a valid endpoint
cert1.port = port; // used 443
cert1.rootCA = cert_root + root_ca;
cert1.clientCRT = cert_root + device_cert;
cert1.clientKey = cert_root + device_key;
Result for Case-II:

Strangely here MQTT Connection was successful
But when we used that connection to create subscriptions no callback received and hang/deadlock observing in sdk

Please test these from your side also and provide us fix.
Thank you.
Regards,
Ravichandhra Palla,
Hitachi Vantara.

We've investigated what went wrong here and have a batch of changes in the works to address it. Here's what's going on:

The TLS context builder wasn't exposing any errors that happened along the way (in this case, the certificates didn't load).
This led to a TLS connection being established on port 443, but without any certificates, which led to the server thinking that we wanted to establish over websockets, instead of directly over MQTT.
The client still expected to communicate over MQTT so sent the CONNECT packet
The server (expected a websocket upgrade request over HTTPS) did not respond to the MQTT CONNECT packet
The client hangs forever waiting for CONNACK

Understood, Thank you @graebm .
We are waiting for the fixes.
-Ravi

FIxed in latest.
Note the minor changes to the samples. If the configuration turns out invalid, check clientConfig.LastError() to find out why instead of the global LastError()function.

We will test this, thank you @graebm


plenary error remapping Toggle

Description
Remapping the "Toggle" action to = seems to be throwing plenary async error:
Error executing vim.schedule lua callback: ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed wit
h this message: vim/shared.lua:0: The reverse lookup found an existing value for "Toggle" while processing key "<tab>"
stack traceback:
        [C]: in function 'error'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:45: in function <...ck/packer/start/plenary.nvim/lua/plenary/as
ync/async.lua:44>

I've git bisect'ed this issue to https://github.com/NeogitOrg/neogit/pull/618/commits/b57d5ee08be53a2c4ca35c1a7d4efe7cac0498a7
Neovim version
NVIM v0.10.0-dev-653+gfbeef0d4e
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system and version
Linux archlinux 6.4.3-arch1-1
Steps to reproduce

nvim -nu minimal.lua
`:lua require("neogit").open()

Expected behavior
No error and the ability to map ["="] = "Toggle"
Actual behavior
Error from above gets thrown and none of the neogit functionality is functional.
Minimal config
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])
local package_root = "/tmp/nvim/site/pack"
local install_path = package_root .. "/packer/start/packer.nvim"
local function load_plugins()
  require("packer").startup({
    {
      "wbthomason/packer.nvim",
      {
        "TimUntersberger/neogit",
        requires = {
          { "nvim-lua/plenary.nvim" },
          { "sindrets/diffview.nvim" },
        },
        config = function()
          print("loaded neogit")
          require("neogit").setup({
            mappings = { status = { ["="] = "Toggle" } },
          })
          vim.keymap.set("n", "<space>gs", require("neogit").open)
        end,
      },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. "/plugin/packer_compiled.lua",
      display = { non_interactive = true },
    },
  })
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing neogit and dependencies.")
  vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path })
end
load_plugins()
require("packer").sync()

Seems to be related to #635. This is because the reverse mapping has two Toggle values and fails.
To work around this @jamestrew, you can try disabling Toggle mapping like so:
require("neogit").setup({
    mappings = {
        status = {
            ["="] = "Toggle",
            ["<tab>"] = "",
        },
    },
})

@jamestrew The latest changes on master should work with your bindings now.
#659 was merged. To disable the mapping just set the key you don't desire to false.

Tiny nitpick, sorry. :)
Disabling with ['<tab>'] = false works while ['<Tab>'] = false doesn't. Just so you know in case it causes some other issues.

Oh good catch
The classic casing mismatch.
I'll jump on and fix it up in a little bit

I'm able to remap Toggle naturally now.
Feel free to close this issue. Thanks everyone :+1:


subtract with overflow panic in lr_out_of_place_sort

I'm sorting a list of 5000 struct elements that implement RadixKey as follows:
#[derive(Debug, Clone, Copy)]
struct IH {
    /// Index in the original text.
    idx: usize,
    /// Hash of a prefix-extension of the suffix starting at `i`.
    h: Mod,
}

/// Sort `IH` by the contained hash.
impl RadixKey for IH {
    const LEVELS: usize = 8;
    #[inline]
    fn get_level(&self, level: usize) -> u8 {
        (self.h.0 >> (level * 8)) as u8
    }
}

My tests keep running into this error:
thread 'test::random_ssa' panicked at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorts/out_of_place_sort.rs:249:9:
attempt to subtract with overflow
stack backtrace:
...
   3: rdst::sorts::out_of_place_sort::lr_out_of_place_sort
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorts/out_of_place_sort.rs:249:9
   4: rdst::sorts::lsb_sort::<impl rdst::sorter::Sorter>::lsb_sort_adapter
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorts/lsb_sort.rs:107:21
   5: rdst::sorter::Sorter::run_sort
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorter.rs:64:37
   6: rdst::sorter::Sorter::handle_chunk
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorter.rs:148:9
   7: rdst::sorter::Sorter::top_level_director
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/sorter.rs:164:9
   8: rdst::radix_sort_builder::RadixSortBuilder<T>::sort
             at /home/philae/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/rdst-0.20.11/src/radix_sort_builder.rs:155:9
   9: ssa::Ssa::new_params::dfs
             at ./src/lib.rs:129:13

This doesn't happen for sequences with length up to 4000 though (probably because a different algorithm is used?).
I'm not sure if my data has specific properties. If this is hard to replicate using some random fuzzing I'm happy to attach some data.

Apologies for the delay, I've managed to replicate this. It's only possible to trigger this under these conditions using the standard tuner:

5000 to 200,000 items
Heavily skewed data at one level (e.g. 4990 items with last byte 0xF, 10 items with last byte 0x0)
Development build

The subtractions should be harmless in a production build, as while the numbers will wrap, they will not be used again after that point. I run the test suite in production mode because it's too slow otherwise, so didn't encounter this panic while testing sorry.
The 5000 to 200,000 items and skewed data conditions are caused by the standard tuner only using Algorithm::LrLsb in that situation.
Still working on the fix, will try to have it out by tomorrow.

I've pushed a new version as 0.20.12. From the tests, it seems the subtractions are all fine, it's just the wrapping causing panics in debug. I've explicitly marked these as wrapping / saturating to avoid the panics in debug builds.
Please let me know if this resolves the issue for you!

Thanks for the fix! My tests are passing again :)
Indeed it's not unlikely I was feeding it some kind of skewed data.


Linear algebra library

This is the first iteration of the Linear algebra library as described in issue #2
It allow us to create 6 new types :

vec2, vec3, vec4
mat2, mat3, mat4

vectors and matrix can be create as in two ways :
//vector creation
vec3 v(x, y, z);
vec3 v = { x, y, z);

//matrix creation
mat3 m(vec3 a, vec3 b, vec3 c);
mat3 m = { {1,2,3},{3,2,1},{3,1,1} };

they can be acces like this :
//vector acces
vec3 v(x, y, z);
v[0] = x;
v[1] = y;
v[2] = z

//matrix acces
m[0] = vec3(x,y,z); //get the first vector
m[0][0] = x; // get the first value inside the first vector

Currently, there are operations for addition, subtraction, and multiplication for both vectors and matrices. However, division is not directly supported for matrices. Instead, matrix division can be achieved by multiplying a matrix A by the inverse of another matrix B, denoted as A * inverse(B).
It's important to note that matrix multiplication is non-commutative, and currently, only the operation of multiplying a matrix by a vector has been implemented when working with these two types. Also, the size of matrices and vectors is significant; for example, a vec2 cannot be multiplied by a vec4 or a mat3.
Additionally, both matrices and vectors can be multiplied by a scalar.
Here's a breakdown of the possible mathematical operations for vectors and matrices:
For Vectors:

Dot product
Cross product
Length (magnitude)
Normalization (unit vector)

For Matrices:

Determinant
Inverse
Transpose

bare-bones test code can be done as such :
mat4 m(vec4(1, 9, 3, 4), vec4(1,2,3,4), vec4(3,5,5,4), vec4(4,2,1,3));

std::cout << determinant(m) << std::endl;

vec2 a = vec2(4);
a = a + vec2(4,2);
std::cout << a[0] << " " << a[1] << std::endl;

mat2 m2 = { {1.0,2.0},{3.0,1.0} };
mat2 b2 = { {2.0,1.0},{6.0,1.0} };

//this part is order sensitive a * m2 will not compile
a = b2 * m2 * a;
std::cout << a[0] << " " << a[1] << std::endl;

//biggest matrix inverse, as been test and validated
mat4 m4 = { {1,-1,3,1},{-3,2,1,5},{3,1,1,5},{2,2,3,1} };
m4 = inverse(m4);

std::cout << std::endl;
std::cout << m4[0][0] << " " << m4[0][1] << " " << m4[0][2] << " " << m4[0][3] << std::endl;
std::cout << m4[1][0] << " " << m4[1][1] << " " << m4[1][2] << " " << m4[1][3] << std::endl;
std::cout << m4[2][0] << " " << m4[2][1] << " " << m4[2][2] << " " << m4[2][3] << std::endl;
std::cout << m4[3][0] << " " << m4[3][1] << " " << m4[3][2] << " " << m4[3][3] << std::endl;


button orientation in resources area

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

the buttons are irregularly places which is not highlighting or enhancing the overall UI , would want to contribute and make changes , please do allocate me this issue so that i can contribute
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

please assign me the issue under Gssoc 2024

@AdhithiManjunath Work in the resources.html file only don't make changes in other files and make sure you fetch the repo before working to update new commits


Page title after back button not showing up

In the demo https://infinite-scroll.com/demo/full-page/ if you scroll down to page 2 for example, click on a link and then use the back button, on top of the restored page there is a page title showing "Full page demo - page 2".
This title is missing in my case. Is this page title part of the infinite-scroll feature? Anyone knows how to get this page title?

I solved it by adding this script. "section-header__title" ist the class name of my h1 heading. I append the page number to the title if "page=" is inside the url on pageload.
$(document).ready(function() {
if (window.location.href.indexOf("page=") > -1) {
var pagenumber = window.location.href.split('page=').pop();
var elementTitle = $('.section-header__title').first().text();
elementTitle += ' - Page ' + pagenumber;
$('.section-header__title').first().text(elementTitle);
}
});


[BUG] Deployment Channel returns an error

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Selecting any deployment channel results in an error "Failed to fetch information! (HTTP 401 - Unauthorized)

change your channel to LIVE

Fixed it,


WIP: Add support for csi provider for azure

Not up for review yet. WIP PR

Closing this PR opened other one https://github.com/confidential-containers/cloud-api-adaptor/pull/1173


Strip any trailing slashes when reading the default project path

Fixes #99689. Any trailing slashes in default project path will now be removed.

Edit: This should also be changed here:
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/project_manager/project_dialog.cpp#L382-L388

Edit: This should also be changed here:
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/project_manager/project_dialog.cpp#L353-L357
And here:
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/project_manager/project_dialog.cpp#L382-L388

I think both of these path strings actually get cleaned in later fdialog_project->set_current_dir() calls
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/project_manager/project_dialog.cpp#L358-L367
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/project_manager/project_dialog.cpp#L389-L395
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/editor/gui/editor_file_dialog.cpp#L1242-L1246
https://github.com/godotengine/godot/blob/0eadbdb5d0709e4e557e52377fa075d3e2f0ad1f/drivers/windows/dir_access_windows.cpp#L151-L154
My only concerns are these fix_path() calls aren't called in Error DirAccessPack::change_dir and Error DirAccessJAndroid::change_dir, but I'm not sure if they're needed there. Let me know if you want to play it safe and just simplify the path in those two spots anyways. @Calinou

For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Thank you for spotting that, wasn't aware my local git config was still using my old school email. I have updated my config, all of my commits from now on will be linked to my account.

For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Thank you for spotting that, wasn't aware my local git config was still using my old school email. I have updated my config, all of my commits from now on will be linked to my account.

If you want to also fix the identity for the current commit, you can do so with:
git commit --amend --reset-author
git push --force

For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Thank you for spotting that, wasn't aware my local git config was still using my old school email. I have updated my config, all of my commits from now on will be linked to my account.

If you want to also fix the identity for the current commit, you can do so with:
git commit --amend --reset-author
git push --force

Thank you for the help, commit is now fixed. I tried to fix it when I changed my local config, but wasn't sure if doing `git push --force`` would add another commit to my PR so I figured it was safe to leave as is but it's fixed now!

Thanks! Congratulations on your first merged contribution! 🎉


select ![] after from_text sometimes causes panic

What happened?
The following query seems to cause panic.
PRQL input
from_text format:json '[{"a":1, "b":1}]'
loop (
    derive b_new = a + b
    select [a=b, b=b_new]
)
select ![b]
take 2

SQL output
NA

Expected SQL output
No response
MVCE confirmation

[X] Minimal example
[X] New issue

Anything else?
No response

It's not a problem with loop. Even that snippet causes an error.
from_text format:json '[{"a":1, "b":1}]'
select ![b]

It's not a problem with loop. Even that snippet causes an error.
from_text format:json '[{"a":1, "b":1}]'
select ![b]

Thanks for pointing that.
This also panic at the same point.
$ echo 'from_text format:json \'[{"a":1, "b":1}]\'
  select ![b]' | prqlc compile
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/prql-compiler-0.6.1/src/semantic/transforms.rs:705

I believe this was fixed with #2399


Large number of pagination links for huge data.

I'm using the latest version of the component.
The problem is that for the huge data, the components generates a large list of pagination links.
If data has 1000 records and each page having 10 records then the component generates 100 pagination links.
Is there a way to skip some pagination links from the pagination list like in the attached image?

Please refer to #48 to discuss pagination


Refactor player data.

Rethink the way player data is maintained.
Possibly create a Player struct and map it to an address
struct Player {
    boolean isRegistered
    boolean hasVoted
    ... deposit ?
}

mapping ( address => Player ) player

Article on struct gas cost: https://medium.com/@novablitz/storing-structs-is-costing-you-gas-774da988895e


enhancement: example addition for chat history management

This PR introduces functionality to simplify chat history handling, inspired by Ollama. It aims to streamline the process for developers to manage and implement chat history effectively.
Pls do let me know if any changes are to be done.

Hi there, @divine-architect! First off, thank you so much for your contribution here. Chat history handling is definitely a capability that developers want and need, so this will be very helpful. Instead of directly in our SDK here, could we possibly collaborate on a very short guide or tutorial for our Groq API Cookbook instead? I can then refer to your merged PR in our official documentation for those who want to learn how to implement and promote across our socials with credit to you as well.

Sure thing, will close the PR now, thanks.


SFSafariViewController doesn't open like a native iOS modal

https://stackoverflow.com/questions/62404311/flutter-sfsafariviewcontroller-doesnt-open-like-a-native-ios-modal
Description
Animation bug having to do with the POPOVER presentationstyle for SFSafariViewController.
Expected behavior:
Notice how in the second GIF, the app itself is pushed back, whereas in the first GIF, we can see a semi-transparent view created instead of the native push back animation for the app.
Current behavior:
While this works, there is a bug in the animation through which the SFSafariViewController appears. The background elements are not pushed backwards like in the native IOS push animation. Instead there is a faint transparent transition element.

Fix will be available in the next release


"Join Request Sent!" not translated

When I click to join a dojo, the confirmation message is not translated.
URL: https://zen.coderdojo.com/dashboard/dojo/de/berlin/dojo-berlin-friedrichshain-1
Crowdin: https://crowdin.com/translate/zen-community-platform/1/en-de#2584
The difference is the "!"

closing as 934 contains it.


Sea: A lightweight filesystem to process large neuroimaging data on HPC

Project info
Title:

Project lead:
Valerie Hayot-Sasson @valhayot
Mathieu Dugre @mathdugre
Timezone:
UTC-4
Description:
Large file transfers to and from slow storage can impede the processing of neuroimaging workflows processing such data. Sea is a file system that aims to reduce the costs of such file transfers by leveraging compute-local storage whenever possible during pipeline execution to offset the overhead of reading and writing to local storage.
Link to project:
https://github.com/big-data-lab-team/sea
Mattermost handle:
@valeriehayot @mathdugre
Goals for the OHBM Brainhack

Evaluate the performance improvement brought by Sea on various neuroimaging workflows
Ensure compatibility of Sea with neuroimaging workflows

Good first issues:

Testing execution of neuroimaging pipelines with Sea running
Adding Github actions CI
Creating test cases for commonly used file interaction functions
Writing documentation for Sea

Skills:

Knowledge of neuroimaging workflows/how to execute them

Chat channel:
hbmhack-sea
Image for the OHBM brainhack website

Project submission
Submission checklist
Once the issue is submitted, please check items in this list as you add under 'Additional project info'
Please include the following above (all required):

[x] Link to your project: could be a code repository, a shared document, etc. See here
[x] Include your Mattermost handle (i.e. your username). If you do not have an account, please sign up here.
[x] Goals for the OHBM Brainhack: describe what you want to achieve during this brainhack. See here.
[x] Flesh out at least 2 "good first issues": those are tasks that do not require any prior knowledge about your project, could be defined as issues in a GitHub repository, or in a shared document, cf here.
[x] Skills: list skills that would be particularly suitable for your project. We ask you to include at least one non-coding skill, cf. here.
[x] Chat channel: A link to a chat channel that will be used during the OHBM Brainhack. This can be an existing channel or a new one. We recommend using the Brainhack space on mattermost, cf. here.
[x] Provide an image of your project for the OHBM brainhack website

You can also include information about (all optional):

[ ] Someone co-leading the project in the timeslot you have not selected to provide additional visibility.
[ ] Number of participants, cf. here
[ ] Twitter-size summary of your project pitch, cf. here
[ ] Set up a kanban board on your repository to better divide the work and keep track of things, cf here
[ ] Project snippet for the OHBM Brainhack website, cf. here

We would like to think about how you will credit and onboard new members to your project. We recommend reading references from this section. If you'd like to share your thoughts with future project participants, you can include information about (recommended):

[ ] Specify how will you acknowledge contributions (e.g. listing members on a contributing page).
[ ] Provide links to onboarding documents if you have some.

QMENTA has agreed to sponsor the event and provide computational resources through their platform.

[ ] Get in touch with QMENTA through their Brain Innovation Hub Slack space, if you think your project would benefit from their support.

hi @ohbm/project-monitors: My project is ready!


Support for Package Change Callbacks in FabricClient

My project needs Config package change notifications.
I'm assuming Code Package and Data Package will be useful to others as well, and the implementations are identical except for the type of the package (method signatures otherwise identical, in other words).
So I'm happy to implement all 3.
Probably should also support Config package triggering the config-rs implementation to reload config, but I don't personally need that, so I don't intend to take that on at present.

More specifically, the 3 interfaces that should have convenient high level wrappers as part of FabricClient (unless there's a better place for them) are:

IFabricCodePackageEventHandler
IFabricDataPackageChangeHandler
IFabricConfigurationPackageChangeHandler


Better error when tlbexp isn't found

This situation can occur on fresh VS 16.3 installs, which install the .NET 4.8 SDK
but don't yet have #4690 and so still look for tlbimp in the .NET 4.6.2 SDK.

"default .NET SDK" isn't entirely clear; a user might think that means the latest version, i.e., 4.8 right now, rather than 4.6.2. Perhaps "...MSBuild is trying to refer to the latest version of the .NET SDK to which it was updated, and that isn't installed."
What do you think?

Would it be clearer if I just removed default? I don't want to make this message too too complicated, just marginally clearer than the error 9009 running "" /silent /nologo ...

That would still leave me wondering to which SDK you're referring. It would be helpful to have some specificity to make it clear which SDK is needed without giving a number (so it remains true in future updates). If you want just a marginal improvement, that would work, but I'm trying to avoid having someone see the helpful message, download a new SDK but not 4.6.2, and when it doesn't work, decide the message is just wrong and start looking elsewhere.

Updated to a "what you should do" message, rather than a "what the problem is" one. If someone encounters this it's because they don't have the right workloads installed.


bugfix: change daemon config Label JSON name from label to labels

Signed-off-by: Michael Wan<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
fix pouchd config Labels json name from label to labels
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1241 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1241      +/-   ##
==========================================
+ Coverage   15.31%   15.36%   +0.05%
==========================================
  Files         172      172
  Lines       10665    10630      -35
==========================================
  Hits         1633     1633
+ Misses       8912     8877      -35
  Partials      120      120

Impacted Files
Coverage Δ

daemon/config/config.go
10% <ø> (ø)
:arrow_up:

daemon/mgr/network.go
3.47% <0%> (-0.01%)
:arrow_down:

daemon/mgr/container.go
0% <0%> (ø)
:arrow_up:

cli/update.go
0% <0%> (ø)
:arrow_up:

@HusterWan , could you please explain change flag name from  label  to labels,  seems that flag names always singular. Just curious.

curious +1

@HusterWan , could you please explain change flag name from label to labels, seems that flag names always singular. Just curious.

@Ace-Tang because getUnknownFlags will check flagSet parameter name being same with daemon.Config JSON name, if your have better idea, please let me know, thanks.

Should we close or promote this pr， @HusterWan ？


[Bug][0.17.1] Map not moving

Hello!
After upgrade from [0.16.2] https://github.com/kesha-antonov/react-native-maps/tree/fix_fire_twice_onRegionChangeComplete
to [0.17.1] map does not respond to my tap gestures. Map not moving.
Has anyone experienced same or fixed it?

Android version is fine, but having same problem in iOS Simulator iPhone 8 and iOS 11.0. Map is just static, doesn't respond to any touch or drag.

I've checked on oPhone real device. Map not responding

I had the same problem with iOS 11 so I had to install iOS 10.3 simulator which works fine and smooth
but I didn't try it on real device

We should target latest ios
I have 11 on device

@kesha-antonov It seems like it's just unusable on simulator
look at this issue https://github.com/airbnb/react-native-maps/issues/1665

Can confirm. Replacing:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework

with
http://cl.ly/0q2k0r232o2h

solved issue with iOS simulator.

In iOS simulator 11.2 should be fixed. Let me know if not.

How can i fixed this issue on iOS 11 The map is freeze on real device and simulator. Can anyone tell the solution @alvelig @kesha-antonov

I am also facing similar kind of issue with weird behavior, when i run the project, the screen is blank, and when i navigate somewhere else and then come back, map shows up but it doesn't respond to any tap gesture. Need help....

Did anybody find the solution for the freezing issue on real device and simulator?


Material Design - floatLabel option does not work

Describe the bug
which template:

[x] MaterialDesignFrameworkModule — Material Design
[ ] Bootstrap3FrameworkModule — Bootstrap 3
[ ] Bootstrap4FrameworkModule — Bootstrap 4
[ ] NoFrameworkModule — plain HTML
[ ] Other (please specify below)

A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Visit the demo page: https://hamidihamza.com/Angular6-json-schema-form/?set=asf&example=asf-simple&framework=material-design&language=en
Select the Material Design framework.
Use the following schema:

{
  "schema": {
    "type": "object",
    "properties": {
      "first_name": {
          "type": "string",
          "floatLabel": "always"
      }
    }
  }
}

Expected behavior
The 'First Name' label is floated.
Desktop (please complete the following information):

OS: Win 10
Browser: Chrome
Version:  73.0.3683.86

Context
This feature is documented as supported, however, I am unable to get it to work.

It may be worth noting that the following schema shows that the 'textarea' type properly respects the 'floatLabel' property.
{
  "schema": {
      "first_name": {
          "type": "string"
      }
  },
  "form": [
    {
      "key": "first_name",
      "type": "textarea",
      "placeholder": "Make a comment",
      "floatLabel": "auto"
    }
  ]
}

Specifying an appearance of 'legacy' will allow floatLabel to work again.
{
  "schema": {
    "type": "object",
    "properties": {
      "first_name": {
          "type": "string",
          "appearance": "legacy",
          "floatLabel": "auto"
      }
    }
  }
}

This commit is what caused it to stop working.
However, it is worth noting that this Stackblitz shows that floatLabel should work with the appearance 'standard', so this is still a valid issue.


freezing

When ever i use visual studio code after sometime it get freeze and unresponsive .I had also try to update it but no updates are available. This is not the first time i am facing this issue from  1 month.

/needsMoreInfo

/needsMoreInfo


Must Gather: collection continues even when the debug pods are not ready.

Fixed an issue where even when debug pods are not in ready state, the collection script continued to execute.
Signed-off-by: RAJAT SINGH<EMAIL_ADDRESS>

/cherry-pick release-4.6


Getting current page item info

Hi everyone,
I have a simple question:
In which event I can get current page item?
Here is the simpflied version of my code:
renderPage(item) {         let tmpConnectionOpacity = 0.25         let tmpInUseOpacity = 0.25         return (             <View key={item.id}>             <TouchableOpacity>                 <Panel panelName={item.name} connectionOpacity={tmpConnectionOpacity} inUseOpacity={tmpInUseOpacity}  />             </TouchableOpacity>             </View>         );       }
<ViewPager style={inlineStyles.panelPages} onPageSelected={this.onPageSelected}  ref={(viewPager) => {this.viewPager = viewPager}}>                 {this.context.cloudData.panelList.map(panel => this.renderPage(panel))}                 </ViewPager>
I just want to get the current page item information. Such as key or index, so I will be able to process that information. OnPageSelected event doesn't meet my requirements.
Thx in advance.

onPageScroll props return the current page and its offset while the user scroll the ViewPager.
Store it in a state or a context if you need to use it in deeper children of ViewPager

![Uploading
![Uploading Scre

en Shot 2019-1

0-21 at 22.56.50.png…]()
Screen Shot 2019-10-21 at 22.56.43.png…]()
 onPageSelected = (e) => {         alert(e.nativeEvent.position)       };
I try to show the current position. But it didn't give me what I wanted.
TEST1 - index 0
TEST2 - index 1
TEST3 - index 2
are my items.  But the indexes that alerted are not the same with the keys.

By the way,
onPageSelected and onPageScroll gives the same position values.

Yes, it will give the same position. You don't have a way to access the current position directly from ViewPager component, you need to store it and change the values when the position changes.
function Component(props) {
  //by default the initialPosition props is 0, set as initial value of currentPage too...
  const [currentPage, setCurrentPage] = useState(0);

  {... component code }
  const onPageScroll = (event) => {
    const {position} = event.nativeEvent;
    if(position !== currentPosition) {
      setCurrentPosition(position);
    }
  }

 return (
  <ViewPager onPageScroll={onPageScroll}>
    ... your pages
  </ViewPager>
 )
}

If you need the current position after render, just use currentPosition.

I understand what you mean, but this is very difficult for a horizantally scrollable view pager.
I guess, I should get offset and position values together and try to detect which page is shown at that time. Am I right?

I guess, I should get offset and position values together and try to detect which page is shown at that time. Am I right?

No, the position refers exactly to the current page are selected, offset are usual if you need some tracking to do some animation or an event with precision. If you just need the current index, position is enough.

But I tried to explain with the screenshots, position doesn't give the right index.
I can't understand working logic of position :/
When I scrolled to TEST 3 page, it didn't alert.
When I scrolled to TEST 2 page, it alerted 2. But I expected 1 from it.

@erdouzun have checkout our example ? I think the answer is provided by @brunocrpontes .  Can you provide a code ? Because it is hard to investigate, when example works fine but you code does not.
Thank you @brunocrpontes for trying to help @erdouzun

Yes I checked it out times and times. It looks so simple but I cannot get the right index when I scroll my pages.
 onPageSelected = (event) => {         const {position} = event.nativeEvent;         this.context.changeSelectedPanel(this.context.cloudData.panelList[position].name)       };
renderPage(item) {         let tmpConnectionOpacity = 0.25         let tmpInUseOpacity = 0.25         return (             <View key={item.id}>             <TouchableOpacity>                 <Panel panelName={item.name} connectionOpacity={tmpConnectionOpacity} inUseOpacity={tmpInUseOpacity}  />             </TouchableOpacity>             </View>         );       }
 let panelView = <View/>             if(this.context.cloudData.panelList.length > 0)             {                 panelView =                  <ViewPager style={inlineStyles.panelPages}  onPageSelected={this.onPageSelected} initialPage={0}  ref={(viewPager) => {this.viewPager = viewPager}}>                 {this.context.cloudData.panelList.map(panel => this.renderPage(panel))}                 </ViewPager>             }
STYLE
panelPages:         {              height:StyleVars.windowHeight * 0.1304,             marginTop:StyleVars.windowHeight * 0.0299,         },
Page is rendered and it (pnPageSelected event) gives me the index 0 (OK.)
When I scrolled to 2nd item it gives me the index 0  (??)
When I scrolled to 3rd item it gives me nothing (??)
When I scrolled to 2nd item again it gives me index 2 (??)

In your example;
you scroll the pages with button touch event. So you can easily set the position.
I try to detect the page position with the slider current movement. This is why my code doesn't work. I hope I explain myself clear.

I guess the problem is about the defining the transitionStyle.
I added this and it worked
transitionStyle="scroll"
Thanks for your help.

Hey @erdouzun, transitionStyle is "scroll" by default. In curl mode onPageScroll does not work. I am still working on it.

I'm sorry if I mislead you.
I changed also the ref defining. Maybe the first problem of my code was that.
It was like that:
ref={(viewPager) => {this.viewPager = viewPager}}
And then I changed to:
ref={this.viewPager}
You are right transtionStyle="scroll" is default.

This how you can do it:

onPageScroll = ({nativeEvent}) => {
        this.setState({
            activeStep: nativeEvent.position
        });
}

then pass the prev function to the ViewPager component
<ViewPager

onPageScroll={this.onPageScroll}
>
.............
</ViewPager>

This how you can do it:

onPageScroll = ({nativeEvent}) => {
        this.setState({
            activeStep: nativeEvent.position
        });
}

then pass the prev function to the ViewPager component
<ViewPager

onPageScroll={this.onPageScroll}
>
.............
</ViewPager>

Save my life 🎿✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅✅

This how you can do it:

onPageScroll = ({nativeEvent}) => {
        this.setState({
            activeStep: nativeEvent.position
        });
}

then pass the prev function to the ViewPager component
<ViewPager

onPageScroll={this.onPageScroll}
>
.............
</ViewPager>

You saved me a lot

This worked

The question was how to get the current page item info !

can we get a current page from ref? i don't want to use state and trigger re-render just to capture page to implement (go to next page) function 🤷