Missed type for React component while spread types

There are strange errors when you pass component as argument of type with spread (Test2). And even more strange errors if such type contains more spreads in it.
function Test2({ component: C }: Props) {
  return
<C/>

}

Works well if you just have component: typeof Component in type definition. But became weird if such definition came in via spread: { ...{ component: typeof Component } }. And weirder if you use multiple spread: { ...HereIsComponent, ...{} }.
Minimalistic example:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoAlgWwA5wE4AuYASgKYCGAxgQDRgDeYAwnDnAHantEC+YUeVmADkeCtWGpUBAJ7ZSYAPIEAFqTwAFQdgDOYALwNUYMAVI6CAfgBcYC3nTsA5qh5TZ8sFri6DRk5SsuJzctgAUHqRwUMxBHFwEAJRgAD5gAGIAruzU6Byu7nIK3roAjH4lOoWelQBMfvTGYAB0rZU0BdJFXto6AMwNTa3N7UOtymqavR1uqFDZuRxgACrmBKVhjIFsIQS2TGA8tpWlyY0mYgSZeOxgADwAJugAbgB8d0zA78BPb2DAwDACHwAGs9AhSDAYJ15jkCHlbqsLLVNmBtsEEvtDsderUzk1Ltdbo8Xu9Pt9fq9-oCAKLEYhgbIPUhQRykB4whbwpZIgh9VHo+KhZjYno+fr4i6kK43e6Uj5fO4-UnUsB0hnZEHsRC3SJgADUjPYzNZnA5biAA
*I use component: C because React requires custom elements' names to be capitalized.

@hlomzik based on https://github.com/facebook/flow/issues/1326 spread operator is not supported in type definition.

This works fine if you make all of objects exact


Metal: reduction "Runtime canonicalization must simplify reduction axes to minor 4 dimensions"

Description
Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:35:25) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jax.numpy as jnp
>>> a = jnp.zeros( (2, 3, 4, 5, 6))
Platform 'METAL' is experimental and not all JAX functionality may be correctly supported!
2024-03-06 22:16:28.766754: W pjrt_plugin/src/mps_client.cc:563] WARNING: JAX Apple GPU support is experimental and not all JAX functionality is correctly supported!
Metal device set to: Apple M1 Pro

systemMemory: 32.00 GB
maxCacheSize: 10.67 GB

>>> jnp.all(a == a)
Assertion failed: (0 <= mpsAxis && mpsAxis < 4 && "Runtime canonicalization must simplify reduction axes to minor 4 dimensions."), function encodeNDArrayOp, file GPUReductionOps.mm, line 76.
Abort trap: 6

System info (python version, jaxlib version, accelerator, etc.)
Platform 'METAL' is experimental and not all JAX functionality may be correctly supported!
2024-03-06 22:15:35.748974: W pjrt_plugin/src/mps_client.cc:563] WARNING: JAX Apple GPU support is experimental and not all JAX functionality is correctly supported!
Metal device set to: Apple M1 Pro

systemMemory: 32.00 GB
maxCacheSize: 10.67 GB

jax:    0.4.20
jaxlib: 0.4.20
numpy:  1.26.4

The backend kernel doesn't support rank > 4 for reduce op. Is it possible for the app to work around the issue by reshaping the tensor, e.g.,
a =  jnp.zeros( (2, 3, 4, 5, 6)).reshape(-1, 4, 5, 6)

Thanks! I can work around, particularly for these --> scalar conversions. (But for this case it also seems like a straightforward thing to do on the plugin-end?) I could be wrong but I think any reduction of either 1 or all axes can be written as a reshape -> reduce -> reshape.
Can we leave this open as a sign post?
Is there a guide on Metal perf yet (presumably not JAX-focused, but something close by?)

The reduction dimension is not limited to 1 nor all axes from stablehlo spec, so the pattern(reshape-reduce-reshape) will not resolve all the cases. We will look into whether a more general conversion pattern could be added to jax-metal.

Sure, i meant those are the easy cases, and felt like a minimum. I think you can define something that's correct modulo floating point (and definitely not optimal) with transpose->reshape->reduce->reshape


Contentful support

Ref #5
A content provider should allow fetching content created with Contentful, possibly via Renderful.

Added in https://github.com/nebulab/solidus_content/commit/64a9cb01393961ec2154daebbefc4fc9044e204e


[SPARK-9713] [ML] Document SparkR MLlib glm() integration in Spark 1.5

This documents the use of R model formulae in the SparkR guide. Also fixes some bugs in the R api doc.
@mengxr

Merged build triggered.

Merged build started.

Test build #40346 has started for   PR 8085 at commit c9555e8.

Test build #40346 has finished for   PR 8085 at commit c9555e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Made some minor comments. @shivaram Could you make another pass?

Thanks @ericl - I just left some inline comments.

Merged build triggered.

Merged build started.

Test build #40537 has started for   PR 8085 at commit f751411.

Test build #40537 has finished for   PR 8085 at commit f751411.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM

Merged into master and branch-1.5. Thanks!


Making helm references consistent as well as using versions based on k8s minor version

This is a fairly preliminary try to address #236. It also fixes #379. I have two concerns:

I am setting and re-setting helm_version a few times in run-services; I feel this could be refactored a bit. Suggestions?
when attempting to run up a cluster with v1.4.9, to see if we'd get a different version of helm, that worked; however the process exited with a failure on Install charts:

changed: [localhost] => (item={u'repo': u'atlas', u'version': u'0.1.0', u'namespace': u'kube-system', u'name': u'heapster', u'chart': u'heapster'})
failed: [localhost] (item={u'repo': u'atlas', u'version': u'0.2.0', u'name': u'central-logging', u'chart': u'central-logging'}) => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.4/bin/helm/helm", "install", "atlas/central-logging", "--name", "central-logging", "--version", "0.2.0", "--namespace", "default", "--values", "/Users/guineveresaenger/.kraken/guinhlm14/atlas-central-logging.helmvalues"], "delta": "0:00:01.305384", "end": "2017-05-02 00:12:13.241034", "failed": true, "item": {"chart": "central-logging", "name": "central-logging", "repo": "atlas", "version": "0.2.0"}, "rc": 1, "start": "2017-05-02 00:12:11.935650", "stderr": "Error: a release named \"central-logging\" already exists", "stdout": "", "stdout_lines": [], "warnings": []}

PLAY RECAP *********************************************************************
localhost                  : ok=206  changed=23   unreachable=0    failed=1

Can one of the admins verify this patch?

Ok to test

I'm assuming this fails for the same reason everything else is failing right now.

also this:
https://github.com/samsung-cnct/k2-tools/issues/35

retest this please

retest this please

Had to adjust the file path to reflect changes in k2-tools' docker image as referenced in:
samsung-cnct/k2-tools#35

retest this please

retest this please

retest this please

retest this please


Issue with Reactotron and MMKV Plugin

Actual Behavior:
Using .use(mmkvPlugin({Storage})) causes a connection issue.
import { MMKV } from "react-native-mmkv";
export const Storage = new MMKV({
id: "storage",
});
|
V
import { Storage } from './Storage/mmkv';
|
V
// When I comment on this line, the connection works correctly and has no issues.
// .use(mmkvPlugin({Storage}))

Not enough details, no stacktrace, no logs, no reproduceable example, heck I don't even know what Reactotron is.

https://www.npmjs.com/package/reactotron-react-native-mmkvI followed the
documentation https://www.npmjs.com/package/reactotron-react-native-mmkv
and successfully implemented the code. However, when I added
".use(mmkvPlugin({ storage }))" as indicated in the documentation, the
connection to Reactotron failed.
On Fri, Nov 10, 2023 at 5:13 PM Marc Rousavy @.***>
wrote:

Closed #601 https://github.com/mrousavy/react-native-mmkv/issues/601 as
not planned.
—
Reply to this email directly, view it on GitHub
https://github.com/mrousavy/react-native-mmkv/issues/601#event-10924187345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3GGJZLOI4SXUHXJODVTADYDYHPJAVCNFSM6AAAAAA7E6ESZWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHEZDIMJYG4ZTINI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Inject Presenter is null

I`ve tried everything to inject the presenter in activity but it still null:
Activity:

@Inject
    EventListPresenter presenter;

@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Scope scope = Toothpick.openScopes(getApplication(), EventListPresenter.class, this);
        Toothpick.inject(this, scope);
}

Presenter:
@Singleton
public class EventListPresenter implements OSSubscriptionObserver {

    @Inject
    public EventListPresenter(LoginInteractor loginInteractor, NotificationInteractor notificationInteractor, EventListInteractor interactor, EventListView view, User currentUser, int lastPage, boolean sentRegisterIdToServer, List<SearchItem> items) {
        this.loginInteractor = loginInteractor;
        this.notificationInteractor = notificationInteractor;
        this.interactor = interactor;
        this.view = view;
        this.currentUser = currentUser;
        this.lastPage = lastPage;
        this.sentRegisterIdToServer = sentRegisterIdToServer;
        this.items = items;
    }

:data gradle
compile 'com.github.stephanenicolas.toothpick:toothpick-runtime:1.1.1'

    compile 'com.github.stephanenicolas.toothpick:smoothie:1.1.1'

    annotationProcessor 'com.github.stephanenicolas.toothpick:toothpick-compiler:1.1.1'

Actually the documentation ia so poor for mvp implementation that is incredible someone can use it. Improove please!!

Hi @gabrielnra ,
Do you still have the problem?
Regarding the presenter being null, I cannot see any issue in the code. After calling Toothpick. inject, the presenter shouldn't be null. Have you defined any binding for EventListPresenter.class?
However, about the annotation used for the EventListPresenter @Singleton, you should be using an annotation attached to the intermediate scope and not singleton. The MVP use case is an Scope Annotations. The steps would be:

Define annotation

@javax.inject.Scope
@Documented
@Retention(RUNTIME)
interface @EventListPresenterSingleton {}

Annotate your presenter with it

@EventListPresenterSingleton
public class EventListPresenter implements OSSubscriptionObserver {

Use annotation as the intermediate scope name and inject

Scope scope = Toothpick.openScopes(getApplication(), EventListPresenterSingleton.class, this);
Toothpick.inject(this, scope);

Remember to close the intermdiate scope when you don't need it anymore, probably inside onDestroy when the activity is finishing

@Override
protected void onDestroy() {
  Toothtpick.closeScope(this);
   if (isFinishing()) {
     Toothpick.closeScope(EventListPresenterSingleton.class);
   }
}

I guess that you are right and we could have a detailed explanation of the MVP use case in the wiki. Do you wanna open an issue for that?

Yes please! I've being struggling to integrate, but, bad news. I couldn't do it. Is frustrating and I would love to be using it.

Could you provide an example where I can see the issue?
The only reasons I can think of:

You have a binding for EventListPresenter.class
TP.inject is not being called

This piece of the article presented below helped me to figure out that scope should be applied in both application and activity.
Updating the docs with something based on the article mentioned would be awesome!
Tks!
Article from: https://medium.com/@markchristopherng/migrating-off-roboguice-3-part-2-c06644d2d1ef
Toothpick
The final step involved implementing the Toothpick framework. This step took a bit longer than the other frameworks but overall went quite smoothly as I had previously road tested the framework on a sample project. The main concept in Toothpick revolves around scopes and creating a scope tree. I borrowed this definition from Stephanen Nicolas’s slides Migrate to TP from RG 4.
Scopes are:
a place to define bindings (via modules)
a place to recycle injected instances
Scopes can be used to:
inject dependencies into instances
getInstance of classes
Just like Roboguice 3, Toothpick also has modules that can be used to define bindings such as a particular class should be a singleton. These modules are then installed in a scope and used during the injection process.
A scope lower in the dependency tree can also be used to override a binding defined higher up in the scope tree. We used this feature in our Espresso tests to override the real objects with mocks.
Looking at our app we really only needed 2 scopes;
Application scope for defining global singletons and objects that access the ApplicationContext
Activity scope for defining objects that rely on the Activity Context.
The scope tree looked like this:
                 RootScope
                    |
                 AppScope
                    |
               ActivityScope

Your probably thinking why there are 3 scopes when I only mentioned 2. We found that when we updated our Espresso tests we needed the extra root scope to help with overriding the bindings with mocks as mentioned previously.
The application object was updated to install the module in the root scope and to create a scope tree as follows:
public class App extends Application {
public static final String ROOTSCOPE = "rootscope";
public static final String APPSCOPE = "appscope";

@Override
public void onCreate() {
super.onCreate();
context = this.getApplicationContext();

Scope rootScope = Toothpick.openScopes(ROOTSCOPE);
rootScope.installModules(new ApModule(this));

Toothpick.openScopes(ROOTSCOPE, APPSCOPE);

if (BuildConfig.DEBUG) {
    Toothpick.setConfiguration(Configuration.forDevelopment());
}

}
Toothpick also has a really nice development feature which allows it to detect cyclic dependencies. When our app was failing to load, this feature proved useful in helping resolve this issue. Toothpick detected a cyclic dependency on startup and even printed out a nice graph showing where the issue was.
The migration involved replacing the Roboguice 3 injector with equivalent Toothpick injector throughout the app and also adding the Toothpick injector to all fragments and activities that were using injection. This update required removing the RoboContext from our services and updating our BaseActivity to extend from AppCompatActivity and our BaseFragment to extend from the support Fragment.
Roboguice
RoboGuice.getInjector(this).injectMembers(this);
Toothpick
Toothpick.inject(this, Toothpick.openScope(App.APPSCOPE));
Our application also extensively used the @ContextSingleton annotation that was popular with Roboguice 3. We noticed that we could replace the Context with the ApplicationContext in all our ContextSingleton classes except for one as these classes were either reading strings or accessing share preferences and did not require the Activity context.
For the one class that required an Activity context we injected this class in a new activity scope in the onCreate() method where it was being used:
@Override
protected void onCreate(Bundle bundle) {
activityScope = Toothpick.openScopes(Application.ROOTSCOPE, Application.APPSCOPE, this);
activityScope.installModules(new ActivityModule(this));
super.onCreate(bundle);

}
When the activity is destroyed the scope also needs to be closed.
@Override
protected void onDestroy() {
Toothpick.closeScope(this);
super.onDestroy();
}
Conclusion
The migration from Roboguice 3 to the 5 new frameworks roughly took about 7–10 man days on our mid-size app. The app codebase is about 55K lines of code with another 20K lines of test code. Planning the migration and testing each framework meant the migration went relatively smoothly without encountering too many problems.
The migration was successful and during the migration we even managed to deliver other business features. There are many benefits to upgrading including improved performance, faster development (less boilerplate), happier developers and better maintainability.


fix: 403 error in cover pages

this is the best monkeypatch i can come up with right now to ensure the app doesnt crash if it recieves a URL like that. Up to you if you want to merge it or come up with a better solution :)

Thank you for your PR @Soneji! I prefer to keep throwing an error in this situation because 403 should not happen by default. But the error like "unexpected token on a JSON" was very undescriptive, so your 403 status code verification is very useful. Therefore I kept it and just replaced your console.log with a new ForbiddenError class.
I will release another update to authenticate correctly on cover image requests to prevent the 403 error from keep happening.

Ah I'm glad the PR was of some help, thanks for fixing this! :)


Shadow does not support different node styles

in shadow mode: shadow node should copy inline style of innernode

issue closed, commit aeadf3ad78123890777f2b8f86a56d1ffb558c55


Minimum predictive performance (accuracy) of classifier for LIME to work properly.

Thank you for publishing this great library.
I have a quick question. Can I still use LIME even if my classifier yields "low" accuracy (i.e. classifier with prediction accuracy of 65%)?  Is there a minimum predictive accuracy that should be considered in order for LIME to work properly?
Given that LIME relies on the classifier.predict_proba function, I assume that the predictive performance of the classifier is very important; however, I am not sure at what level of accuracy I can start using LIME.
Thank you in advance!

I think the accuracy of a model is not relevant for LIME to work. The goal of LIME is to help the user understand the predictions of the model, and which parts of the input lead to those predictions. The model may have 0% accuracy, and LIME can still surface why it is making the (wrong) predictions it is making.


Fix broken output pane caused by lines with hashtags only

Addresses https://github.com/posit-dev/positron/issues/5036

Thanks! Could you add the relevant unit tests please?

Yes! Thanks to the example tests you created, I added 2 lines to your functions.

@lionel- I made another PR at #593, which supports the nested outline feature and also fixes this very issue, but much more changes are involved. On the other hand, this PR is a quick fix and can be merged/reviewed easily.

wow that's great, thanks so much!


Variables used only by directives should be removed from the request

I am running into an issue while using the @append(parentID: ID) directive as a hint to Houdini about how to correctly insert a newly-created record into a list
I have a query like this in my application, which is displayed on a route like /list/:primaryKey:
query ListPage($primaryKey: Int!) {
  list(primaryKey: $primaryKey) {
    id # `ID` for the purposes of implementing the `Node` interface
    primaryKey # Actual `id` in the database; queries use this data instead

    items @list(name: "ListPageItems") {
      id
      content
    }
}

Within that page, I have a button to create a new item within that list:
mutation AddItemToList($listPrimaryKey: Int!) {
  createItemInList(listPrimaryKey: $listPrimaryKey) {
    ...ListPageItems_insert
  }
}

This works fine on the first list page navigated to (say, /list/1) but breaks if I perform a navigation to another list (like /list/2) without fully reloading the page. If I stay on the initial list, the list is inserted into automatically. If I navigate to the second list and try to perform the mutation, the operation is successful but the item just doesn't appear in either of the lists. Refreshing /list/2 then shows the item correctly, since it's loaded anew from the API.
In an attempt to fix this, I tried to use the @append directive, updating my mutation like so:
mutation AddItemToList($listID: ID!, $listPrimaryKey: Int!) {
  createItemInList(listPrimaryKey: $listPrimaryKey) {
    ...ListPageItems_insert @append(parentID: $listID)
  }
}

However, this causes me to run into a new error: the server complains that $listID is never actually used in the mutation, and thus should not be provided.
This isn't wrong, from the perspective of the API, since the entire @append directive only exists on the client; as far as I can tell, the actual API call has the directive removed. However, I can't just remove the variable from the mutation either, since the client needs it.
I think that any variables used only by a directive, and never used in the actual GraphQL query, should be stripped out of the query before sending it to the API. Does that sound like the right solution to this problem?

Oh good point! Thanks for such a detailed description of the problem. I think your proposed solution is right. Implementing this will be slightly tricky but if you want to give it a shot, I'd be happy to provide any guidance you need. Otherwise, I'll try to get something out relatively soon since you're currently blocked

I'll see if I can put some time toward fixing this myself after work today!

since you're currently blocked

No worries here; the app I'm working on isn't mission-critical and shipping it with a know bug like this isn't the end of the world.

Awesome! If you want a more direct way of getting ahold of me feel free to reach out on discord

Thinking more closely about your problem and I don't think that @parentID will help in your situation. I'm guessing you wouldn't be able to publish your work stuff somewhere I can check out but if you had the time to put together a repo that shows the issue, I would gladly take a look and can figure out what's going on

this is now fixed in version 0.14.8 but i'm still not sure it will help through your original issue. If you wouldn't mind creating a separate issue with these details we can try to figure it out together

but i'm still not sure it will help through your original issue. If you wouldn't mind creating a separate issue with these details we can try to figure it out together

Unfortunately, that seems to be the case!
I'll open up a new issue with the relevant information from this one. I think I'm going to need a whole demo app to really display the bug, which... might take some time to put together!


Create component tree

Will use this issue to share new component trees for various pages before publishing them as official documentation.

Summary Page
Component Tree

Component Wireframe

Gene Summary page component breakdown:

SummaryContainer -> fetches data
PageHeader -> shows header
TabContainer -> shows AppBar with tabs

TabItems -> generates tabs based on given data

PanelItems -> generates panels based on given data

PanelWrapper -> wrapper that provides structure for each panel
GoaPanel -> panel specific to GOA content
GoaPanelTableRow -> the display for each row in GoaPanel
GoaPanelTableContent -> displays data on right side of table

Here's an even more simplified component tree.
It follows the basic concept of list -> item -> list -> item.

I created a new wireframe for the protein tab:

In this example, there are three unique panels. Each panel is individually wrapped by a PanelWrapper (containing MUI styling). The same structure is used inside each panel:
<ItemDisplay>
  <LeftDisplay>title...</LeftDisplay>
  <RightDisplay>content...</RightDisplay>
</ItemDisplay>

The above is one row of content in a panel. Repeat as necessary for the data to display (generally with map function).
I also added pseudocode for all of the components necessary for the protein page:
https://gist.github.com/wildlifehexagon/3076cd3ab7f0e8a9cf5685157df06f0a

General Information Panel wireframe:

Pseudocode for general information panel on summary page: https://gist.github.com/wildlifehexagon/3adb0a285736d51d33068a3bca9f9549
Pseudocode for goa panel on summary page: https://gist.github.com/wildlifehexagon/ad498770cf3b4f1423c548ccc38bd098


Make FocusMarkerLayout used in demo to be a part of library

I started testing Tap to focus and found implementation of FocusMarkerLayout to be rather useful and I think it probably would be a good idea to make it a part of library. Please share your opinion and if you are agree I'll be able to create pull request for this.

Agreed!

This is in 0.9.16, coming today. You'll be able to set tap mode to tapWithMarker.


Could you add a sleep task to System Tasks?

I want to have ability for workflow instance to wait for a while.

@MaksimRT There already exists a WAIT task: https://netflix.github.io/conductor/configuration/systask/#wait
Or, are you looking for something different? If so, please reopen the ticket with more details.

Yes, I am looking for something different.
I just want that the WAIT (or any other task) could be set as COMPLETED by conductor itself after some fixed amount of time. Right know I have to manually set it via externel REST call.
Do you get what I mean?

You can try using timeoutSeconds in task definition and optional in Workflow tasks to achieve the same with WAIT task.

Great idea!
Never think about it (
Thank you!

I tried this but looks it doesn't work. The wait task runs forever.....The task I added is like this. Did I make anything wrong? Thanks. @kishorebanala
                {                     "name": "delay",                     "taskReferenceName": "delay",                     "type": "WAIT",                     "optional": True,                     "timeoutSeconds": 60                 },

Yeah, it looks like maybe this workaround broke with Conductor v3?


Radar

Tgg

Is there a purpose to this issue?

Since there is no description or explanation I think it is safe to close @sxlijin :)


Haskell-vim-now and stack don't seem to play together nicely yet

Hi!
First of all, I really like haskell-vim-now, it's super easy to install and makes my vim environment beautiful.
I used it successfully for quite a while, but recently I started using stack instead of cabal-install (which is also an awesome improvement), and unfortunately I feel like now many things don't work very well anymore. One thing happening in my AWS EC2 environment is that every time  I save I get this syntastic error:
ghc-mod: Could not find $libexecdir/cabal-helper-wrapper
If you are a developer set the environment variable
`cabal_helper_libexecdir' to override $libexecdir[1]. The following will
work in the cabal-helper source tree:
    $ export cabal_helper_libexecdir=$PWD/dist/build/cabal-helper-wrapper
[1]: /tmp/build-IARM/.cabal-sandbox/libexec
If you don't know what I'm talking about something went wrong with your
installation. Please report this problem here:
    https://github.com/DanielG/cabal-helper/issues

In another environment ",hc" doesn't seem to work well anymore. This could have something to do with the fact that I have both a local ghc installation and a global one (one in my home dir, the other across users), or that I have my packages installed locally.
(As an aside, auto-indenting doesn't seem to work very well in .lhs files but I'm fairly sure that's a plugin-specific thing, not a haskell-vim-now issue.)
In case all these issues are already fixed, what's the easiest way for me to update haskell-vim-now? (I can git pull, maybe that's all I need to do?)
Oh by the way, I did find this command in a post by Michael Snoyman (https://groups.google.com/forum/#!topic/haskell-stack/8HJ6DHAinU0):
cabal configure --package-db=clear --package-db=global --package-db=$(stack path --snapshot-pkg-db) --package-db=$(stack path --local-pkg-db)

this solved at least part of my problems, maybe it will be useful for other people as well.
Cheers and thanks!
Sam

Thanks for the bug report. When was the last time you ran the installer? The problem with missing cabal-helper-wrapper really messes ghc-mod up under certain cabal versions. I recently added a fix for that:
https://github.com/begriffs/haskell-vim-now/blob/master/install.sh#L88-L92
If you run the installer again it will try to fix the problem. Let's try to get this part fixed on your machine and then look into getting things to work with the stack specific package db location.

The re-install solved the cabal-helper-wrapper issue, thanks. ",hc" and ",hl" are still non-functional.
Best

I just replaced cabal-install with stack.
stack setup, install all of required utilities (like ghc-mod, hlint etc), export stack's PATH and .local/bin, then removed haskell-vim-now's bin PATH in vimrc. All features work well, no problems so far.
I'm new to haskell world, so maybe (and i bet there is) some better way. Like to make stack and cabal-install co-exist.
P.S. to make ghc-mod work with stack instead of cabal, you should cabal clean in your project dir.

Ideally, you do not want cabal-install, it is better to stop using it altogether and move completely to stack instead of having both. They can coexist nonetheless, but I don’t see why someone would like to continue using cabal-install.

@SimpleX91: I did what you suggested. Hlint works, and if I run hoogle data first I can use the hoogle commands as well. ",hc" (I'm not sure which extension that calls to be honest) does not work, and neither do ",ht"/",hT" (gives a ghcmod: cannot guess type error).
I think the problem is with the libraries installed locally by stack. Many of my imports are not installed globally and I guess that causes trouble. Actually, I did not think of testing this before, but if I edit a simpler program (with no local installs) ",hc" does work as expected. Checking for expression types still causes errors.

@samvher you sure you run cabal clean in project directory and removed PATH export in .vimrc?
I assume you did that, so here're all (I hope) steps, necessary to switch from cabal-install to stack. These steps do not require to edit ~/.vimrc.

install stack
remove ~/.haskell-vim-now/bin directory (further we'll make a symlink to ~/.local/bin, where stack copies global binaries)
rm -r ~/.haskell-vim-now/bin
cd ~/
stack setup (if you need that)
vim ~/.stack/global/stack.yaml and add cabal-helper to extra-deps (extra-deps: [cabal-helper-<IP_ADDRESS>])
stack install aeson-pretty codex cpphs ghc-mod hasktags hlint hoogle hscolour hscope pointfree pointful shake stylish-haskell
ln -s ~/.local/bin ~/.haskell-vim-now/bin
use stack only: create new projects with stack new simple or use existent with stack init
you should get rid of cabal-install sandboxes and other dirs for all your old projects (cabal sandbox delete, cabal clean)

Well, you should probably add stack's ghc to your PATH (only if something doesn't work):

add export PATH=$(stack --verbosity 0 path --bin-path) to your ~/.bashrc

Hope that's all and this helps. Good luck!

@SimpleX91: I followed your detailed instructions, and it seems everything is working, thanks! I need an additional extra-deps: - pure-cdb-0.1.1 though. Even with local libraries installed it seems to work so far (fingers crossed).

I now have the installer add pure-cdb to the extra-deps. Glad it all works for you now!
You may want to run the installer once more because it now uses hdevtools for compile checking (,hc) since ghc-mod and Syntastic no longer work correctly together.


Dataset question

First of all, this is a good job. As a beginner, I want to use the CIFAR-100 dataset to run this code. Where can I modify it, because the documentation only provides the usage of the ImageNet dataset ( Maybe I missed it), I hope you can help me and clear my doubts, thanks

I can't find these files, have these files been renamed?


average_pull_size

Let's add average_pull_size metric to the quality-of-service.rb script. It should calculate the average size in hits-of-code of all recent pull requests.

dup of #188


fix(anvil): treat 0 basefee as constant

Closes #5161
Treats base fee set at 0 as a constant and skips calculating a new basefee altogether if so.

thank you!


Port kele-list to vtable

Closes #204.

Codecov Report
Attention: Patch coverage is 0% with 26 lines in your changes missing coverage. Please review.

Project coverage is 65.37%. Comparing base (8657600) to head (fdd5443).

Files
Patch %
Lines

kele.el
0.00%
26 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
- Coverage   67.82%   65.37%   -2.45%
==========================================
  Files           1        1
  Lines         749      725      -24
==========================================
- Hits          508      474      -34
- Misses        241      251      +10

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


Added support for multiple lines of text

Looks better now.

Any thoughts on this?

Any chance to get this PR merged into the main project?

Thank you...


Enable json-ld, also allow override via placeholders

888.de does not appear to have any json-ld. They want to enable it though the way they do on 888casino.com -- they are able to paste it in on a per-page basis in AEM?
Did a test with Google https://search.google.com/test/rich-results/result?id=J5ljph_TRn5rNrKOvbbljQ

Kiran's plan:

we need a default json-ld script using some hard coded values plus certain per-page meta values
this script should be included by default for all pages, UNLESS --
page metadata properties should have a "json-ld-override" key, and if value = "yes" then fetch the corresponding page's script from placeholders.xlsx

Other notes -- https://www.888casino.com/about/
https://search.google.com/test/rich-results/result?id=6FYP0iD8muXCS1gBAC6deg
Says the breadcrumbs are the Rich Results, not the "Organization" like on the home page:

https://www.888casino.com/about/888-casino-club/ has same "1 valid item detected" as breadcrumbs.
https://www.888casino.com/vipcasinoclub/ has No Items Detected.

https://www.888casino.com/slots/john-hunter-and-the-tomb-of-the-scarab-queen/ has no ld+json on the page.
https://www.888casino.com/roulette/american/ no ld+json
https://www.888casino.com/about/888-casino-club/ no ld+json
https://www.888casino.com/live-casino/ has 2 of them.


Exoplayer Android SDK- Transferring media in .exo format to a peer phone application and allow the peer to play the content.

My use case is:

Bob with my app installed, would download a DASH Widevine DRM MP4 video from cloud using Android Exoplayer SDK.
We allow Bob to transfer the content to another user(Nick) using my app via WiFiDirect.
After transfer complete, Nick can received the Widevine license from cloud for the content and begin play from local cache.

For this, the approach I wish to follow is to transfer the chuck of .exo files associated with the content Bob wishes to transfer Nick. I investigated a bit on this and noticed that just transferring the .exo files does not make any sense to Nick to play it from cache. After downloading content, Exoplayer also maintains a mapping of .exo files with below tables in the Sqlite DB:
ExoplayerDownloads
ExoplayerCacheIndex
ExoplayerCacheMetadata
Queries:

Along with the .exo files, can I send the mapping by extracting the records from the DB tables into a json format and then insert them at Nick's end.
What are the relevant fields that the player uses from the above DB tables to play the media from cache. The table contains some blob fields which didn't make much sense to me. Would be good if i get a basic understanding of the structure.

Awaiting response.

This question isn't specific to the codelab. Please post on the ExoPlayer github site instead.


Running litr without any arguments does ...

... what? Currently running Litr without any arguments:
litr

Does nothing. Therefore this also does not help the user at all getting started. So, needs some thought.

A message will appear if no arguments are passed:
You can run `litr --help` to see what you can do here.


Fix layer permissions issues

@scolsen PTAL?

/gcbrun

Codecov Report

Merging #1048 (4feb2c1) into master (6376329) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1048   +/-   ##
=========================================
  Coverage     31.25%   31.25%
  Complexity      800      800
=========================================
  Files           326      326
  Lines         11502    11502
  Branches       1120     1119    -1
=========================================
  Hits           3595     3595
  Misses         7349     7349
  Partials        558      558

Impacted Files
Coverage Δ

...google/android/gnd/ui/home/HomeScreenFragment.java
0.00% <0.00%> (ø)

...oogle/android/gnd/ui/home/HomeScreenViewModel.java
0.00% <0.00%> (ø)

...stence/remote/firestore/schema/LayerConverter.java
0.00% <0.00%> (ø)

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 6376329...4feb2c1. Read the comment docs.


Scheduling a goal again immediately after the previous one finishes results in error

Checked for duplicates
Yes - I've already checked
Is this a regression?
No - This is a new bug
Version
develop
Describe the bug
The UI e2e test for scheduling the same goal twice has started to fail causing the PR checks to not pass. The PRs themselves don't have any scheduling related changes, so the suspicion is that scheduling changed in a way that makes the UI test obsolete.
We just need to know if there's a change that needs to be made to the tests.
Reproduction
To reproduce:

Through the UI, create a Banananation plan
Then create the following scheduling goal and associate it to the plan created in step 1

export default (): Goal =>
    Goal.ActivityRecurrenceGoal({
        activityTemplate: ActivityTemplates.BakeBananaBread({
            temperature: 325.0,
            tbSugar: 2,
            glutenFree: false,
        }),
        interval: Temporal.Duration.from({ hours: 12 }),
    });

Navigate to the plan and open the scheduling panel
Click the Schedule button in the scheduling panel
Wait for the completion status
Click the Schedule button again
The error console should now have the following error:

java.lang.NullPointerException: Cannot read field "durationInMicroseconds" because "right" is null
	at gov.nasa.jpl.aerie.merlin.protocol.types.Duration.add(Duration.java:236)
	at gov.nasa.jpl.aerie.merlin.protocol.types.Duration.plus(Duration.java:361)
	at gov.nasa.jpl.aerie.scheduler.model.SchedulingActivityDirective.getEndTime(SchedulingActivityDirective.java:167)
	at gov.nasa.jpl.aerie.scheduler.solver.PrioritySolver.satisfyGoalGeneral(PrioritySolver.java:577)
	at gov.nasa.jpl.aerie.scheduler.solver.PrioritySolver.satisfyGoal(PrioritySolver.java:368)
	at gov.nasa.jpl.aerie.scheduler.solver.PrioritySolver.solve(PrioritySolver.java:325)
	at gov.nasa.jpl.aerie.scheduler.solver.PrioritySolver.getNextSolution(PrioritySolver.java:127)
	at gov.nasa.jpl.aerie.scheduler.worker.services.SynchronousSchedulerAgent.schedule(SynchronousSchedulerAgent.java:215)
	at gov.nasa.jpl.aerie.scheduler.worker.SchedulerWorkerAppDriver.main(SchedulerWorkerAppDriver.java:90)

Logs
No response
System Info
Chrome 117.0.5938.132, Mac OS 13.5.2 (22G91)

Severity
Moderate

Consider porting the failing UI test to our e2e tests


Fix isAdminUser.

This attacks the problem that if a cluster is in read-only mode, no
user (except the superuser) had RW access to the system db. Therefore,
isAdminUser was returning false.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9139/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9141/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/9144/

Still need to run arangosync tests on this.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9148/

arangosync tests have been green for me with this version. This is good to go from my perspective.


title in options doesn't change

This might be directly related to Kode Studio, I'm not sure, but when debugging my project the title of the window does not correctly reflect that set in the options of System.init call. That being said, the width and height are correctly changed, so I suspect that it is probably just that the title doesn't properly change the window title.

The title of the window in Kode Studio reflects the title tag in build/debug-html5/index.html. And this is defined with what you pass in let project = new Project('ProjectTitle') in the khafile.js.

Ah, I see. So what's the point of title in the options? :)

The options passed in System.init are used depending of the target. The html5 target is more influenced by the index file and the desktop targets are from System.init. So the best is to set the same window size and title in khafile.js and System.init to have everything equal. For example:
in the desktop targets, the window is created with the size in System.Init. KodeStudio also get the size in System.Init. But html5 uses what is define in the index.html for the size of the canvas. And the index.html is only created in the first time a project is being built.
Mobile dont use the size in System.init, but the size of the screen.
The title of the window in the desktop should also come from System.init, but I tested now and there is one thing that needs to be fixed here
https://github.com/KTXSoftware/Kha/blob/master/Backends/Kore/main.cpp#L328
The parameter name in init_kore_impl is not being passed to options.title. If you change manually you will see the name in the title of the window.

See the comments here
https://github.com/KTXSoftware/Kha/blob/master/Sources/kha/WindowOptions.hx#L36

I opened a issue https://github.com/KTXSoftware/Kha/issues/465


Tv3play: Prefer regular subtitles before hearing impared.

Sometimes only regular subtitles are present.

Thanks for the update.


disableIntrospection: add options to documentation

@saihaj weird, the formatter added this value prefix. Not sure why. thanks!


Modify NERD tokenisation for prodigy

@harrisonpim Can you break down the acronyms here? Some links to what NERD is and "prodigy" would be really helpful.


feat: implement driver Start command

It seems like GitHub wants to do some funky things with the change detection because of my reordering of functions. Here is a breakdown of the changes:

Moved a chunk of code from Initialize into Start
Added locking and clearing of clients on Stop()
Moved non-driver functions to util.go along with their tests
re-ordered the functions in driver.go to make more sense. (initialize, start, stop all together, etc.)

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

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[X] I am not introducing a new dependency (add notes below if you are)
[N/A] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] TODO I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[N/A] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Fixes #308

Codecov Report

Merging #343 (c65c0a2) into main (3c68e39) will decrease coverage by 0.08%.
The diff coverage is 20.40%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #343      +/-   ##
==========================================
- Coverage   33.25%   33.18%   -0.08%
==========================================
  Files          18       19       +1
  Lines        1798     1802       +4
==========================================
  Hits          598      598
- Misses       1134     1138       +4
  Partials       66       66

Impacted Files
Coverage Δ

internal/driver/driver.go
12.13% <4.28%> (-4.76%)
:arrow_down:

internal/driver/util.go
60.71% <60.71%> (ø)


[ranking] add support for multi-column layout

Top is new multi-col format, bottom is current (still works)
Ranks by the last specified SV
Added a new 'dev' topic for tile spec development / testing.
TODO: fulfillment updates

thanks for the review!


Confluence connector wave 1

This pull request lays the foundational structure for the Confluence connector, aligning with the specifications outlined here. Key highlights of this PR include:

Creation of a confluence_configurations table to store cloudId, essential for constructing the Atlassian API endpoint.
Establishment of a confluence_spaces table for managing selected global spaces.
In accordance with the specifications, and due to limited granularity provided by the OAuth flow, this PR focuses on the retrieval, listing, and selection of global (non-private) spaces.
Implementation of necessary groundwork for future plans, ensuring that even though not ready for production, the structure is set in place.
Access to the Confluence connector is restricted to Dust employees and development environment.
Development of a basic Confluence API wrapper, compensating for the absence of an official SDK from Atlassian.

Prior to the final release of this PR, the following tasks remain:

[ ] Establish a production application within the Atlassian Developer Console.
[ ] Add the secret NANGO_CONFLUENCE_CONNECTOR_ID in k8s secrets.

Subsequent PRs will follow to add the ingestion of pages within the selected spaces.

Securely store the application secret within our Kubernetes cluster.

Which secret is that? Isn't that a nango thing? Was the NANGO_CONFLUENCE_CONNECTOR_ID added to front/connectors secrets?

Securely store the application secret within our Kubernetes cluster.

Which secret is that? Isn't that a nango thing? Was the NANGO_CONFLUENCE_CONNECTOR_ID added to front/connectors secrets?

Yes this todo is to add the NANGO_CONFLUENCE_CONNECTOR_ID in the front-secrets.

Securely store the application secret within our Kubernetes cluster.

Which secret is that? Isn't that a nango thing? Was the NANGO_CONFLUENCE_CONNECTOR_ID added to front/connectors secrets?

Yes this todo is to add the NANGO_CONFLUENCE_CONNECTOR_ID in the front-secrets before deploying.

Let's add that to the deploy procedure of the PR


DRB3 and DRB5

Hi, can SpecHLA type DRB3 and DRB5 as kourami? Thanks

Hello, now SpecHLA does not support DRB3 and DRB5.

Do you have any plans to make SpecHLA support additional HLAs?

How does the SpecHLA phase the variants when only short reads are used? Thanks

Yes. Our group is developing another package to support additional HLA genes. I will let you know once it is finished.

If the short reads cannot afford enough phase information, SpecHLA will use HLA database, genotype frequency, and pedigree information to phase the variants.

It would be great if the next release could type HLA using diploid assembly. Thanks

Great suggestion. We do have some code to extract the sequence of HLA genes from the diploid assembly. I will update SpecHLA to support typing from diploid assembly as soon as possible.

Hello,
Thanks for the valuable suggestion. As suggested, we added a module to support HLA typing from diploid assemblies (typing_from_assembly.py). Please see the changes in SpecHLA v1.0.3 or the latest commit.

Yes. Our group is developing another package to support additional HLA genes. I will let you know once it is finished.

Hello, shuai,
Are there any other tools  can work for long read HLA typing ( nanopore sequencing)  ?
if we just add DRB3/4/5 imgt sequence into  SpecHLA db ,  SpeckHLA can detect accurately  DRB3/4/5 allele  ?
Expecting your reply !
thanks .

Hello,
Sorry for the delayed update. If you add DRB3/4/5 imgt sequence into SpecHLA db, it still needs some revisions in the scripts. I believe it will work well after some adjustments. I wonder do you have any benchmark data (with real data and ground truth)? With real benchmark data, we can add this function quickly.
Also, as I know HLA*LA also can work with nanopore sequencing data. But it might require too many computational resources. You can have a try on it.
Best,
Shuai

Hello, Sorry for the delayed update. If you add DRB3/4/5 imgt sequence into SpecHLA db, it still needs some revisions in the scripts. I believe it will work well after some adjustments. I wonder do you have any benchmark data (with real data and ground truth)? With real benchmark data, we can add this function quickly.
Also, as I know HLA*LA also can work with nanopore sequencing data. But it might require too many computational resources. You can have a try on it.
Best, Shuai

Yeah,  I have  got   the benchmark data for A,B,C ,DRB1, DQA1,DQB1, DPA1, DPB1,  DRB3/4/5 ,  that's why I hope  you nice guy can  support DRB3/4/5 as soon as possible .
could you update specHLA to support DRB3/4/5 this week ?
Thank you very much !!!

So great! We will update it very soon. This week is a little challenging but I believe we can finish it next week. Could you please send us the benchmark data, so that we can start to adjust the parameters.

So great! We will update it very soon. This week is a little challenging but I believe we can finish it next week. Could you please send us the benchmark data, so that we can start to adjust the parameters.

well,  what is your email address  ?

Thanks. My email is<EMAIL_ADDRESS>

Hello again Shuai,
So is there an update to know if analyzed sequence contains DRB-3/4/5 and type it?
Thanks!

Hello, we plan to release the update to support DRB3/4/5 within one month.

Hello, we plan to release the update to support DRB3/4/5 within one month.

look forward to


Adding Windows Server 2019 domain functional level

Adding Windows Server 2019 domain functional level as confirmed by test team (Shirmay Chang)

Learn Build status updates of commit 8a3c4f5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/SfBServer2019/plan/system-requirements.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Please ignore this PR as main purpose was to add Windows Server 2019 DC support which is already in document and not functional level.


Determine the validity of time

Hi
Few changes above should notify user when the time is not a valid time . E.g when user eneter 33:33:12. Time greater than 24hrs shouldn't be accepted as valid. User should be warn.

Coverage increased (+0.4%) to 68.257% when pulling 529a504f372f235d45bbdc55b30124d49cc7c20b on nuruddeensalihu:nuru/fix_invalid_time into f2189f273cdae0c241ebc6d9c32aa91b79346555 on binary-com:master.


Advertise numpy >= 1.12 required

closes #2401

Should this PR also put an entry in the changelog in order not to forget about it when doing the release?

Done.
BTW, we check the list of all PRs since the previous release when writing the changelog, so if we put meaningful titles to PRs, they should not be forgotten...


Correct range of input values for MobileNet

Hello,
I want to use the implementation of MobileNetV3 (either the MobileNet_large or MobileNet_small version) in my project. I'm using the TensorFlow v2.4.1.
I get confused when I read the documentation about the range of input values for MobileNet-based models. According to this link  the expected range of values for the model is [0,1]. However, according to this other link, the correct range of values is [-1, 1]. A similar issue was already reported at this link.
On the other hand, to my surprise, the function preprocess_input of the module MobileNetV3 does not apply any change over the input; i.e. the function is returning directly the input.
@keras_export('keras.applications.mobilenet_v3.preprocess_input')
def preprocess_input(x, data_format=None):  # pylint: disable=unused-argument
  return x

So, what should be the correct range of input values for MobileNetV3?

Hi @ogreyesp. The following options might be worth trying while someone from the team replies to your query -

Load up the MobileNetV3 model and print the summary of the model. Inspect the first few layers and if you see something like Normalization or Rescaling to be present there then you can be sure that you can pass an input image as is. This is in fact the case for all the EfficientNet models that are present in tf.keras.applications.
If the above option is not applicable then maybe try with both [0, 1] and [-1, 1] range scaling and see which one works. I know this sounds terrible, so apologies in advance for this suggestion.

Hi @sayakpaul. Thank you for your suggestions, they were very helpful.
Indeed, MobileNet v3 has a rescaling layer, so we don't need to rescale the images before passing them to the model.
Thanks!

For completeness of the issue :
tf.keras.applications.MobileNet (v1,v2,v3) models expect pixel range [-1,1] where as TF Hub image models expect [0,1] range. Thanks!

Hi @ymodak
I'm not sure... according to the implementation of MobileNetV3 at this link, more specifically line 265, the input is rescaled to [0,1] scale.
  x = img_input
  x = layers.Rescaling(1. / 255.)(x)

The docs are updated for MobileNetV3 https://www.tensorflow.org/api_docs/python/tf/keras/applications/mobilenet_v3/preprocess_input


Fix the bug: "openssl ca" signing CSR with "-rand_serial" should not update serial file

The bug: when serial file is specified in configuration, invocation of openssl ca for signing a CSR with option -rand_serial still updates random serial number to serial file. This doesn't make sense since serial file serves for the incremental update of serial number in a sequence of certificates signing. The help text for openssl ca command says for -rand_serial option "Always create a random serial; do not store it" so the current behavior also contradicts with the documented.
The fix: when -rand_serial is specified serial file is not updated

This PR is waiting for the creator to make requested changes but it has not been updated for 30 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).


threadinfo.emoji is null?

i used the api.getThreadInfo method and the callback info array's emoji object is null. How do I use the group emoji?

If emoji is null it means it is not set (so you have just that blue like button)

Does that help @y9y9l5m6?  The docs here say that if the value is null, there is nothing custom set for that thread.


CNF-9384: add ImageRegistry capability

Capability manages the image registry which allows to distribute Docker images

/approve
if you don't land the remaining PRs for this feature by feature complete/branch cut(august 17th), we will need to revert this api addition

/lgtm


cannot install the rMVP package

I tried the two methods you write on GitHub but both of them failed.

<EMAIL_ADDRESS>Downloading GitHub repo<EMAIL_ADDRESS>Error: Failed to install 'rMVP' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

install.packages("rMVP_<IP_ADDRESS>.tar.gz", repos=NULL)
Warning: invalid package ‘rMVP_<IP_ADDRESS>.tar.gz’
Error: ERROR: no packages specified

Some C++ code is included in rMVP to improve computational efficiency, so you need to compile C++ tools. If you use Windows, RTools can be found here. Mac needs CRAN's clang and gfortran, which can be downloaded from here. Linux usually includes the necessary C++ compiler tools, and if you don't have one, please contact your server administrator.

This is an offline installation. You must correctly indicate the path to the local package. The package can be downloaded from the Release page.

Thank you for your quick response!
I installed the clang and gfortran but I still cannot install the package successfully.

<EMAIL_ADDRESS>Downloading GitHub repo<EMAIL_ADDRESS>Your system is ready to build packages!
✔  checking for file ‘/private/var/folders/z8/41981c953kb8f2fk__vh8w500000gn/T/RtmpR5a9pR/remotes1c47ccf14e4/XiaoleiLiuBio-rMVP-c28e333/DESCRIPTION’ ...
─  preparing ‘rMVP’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
Removed empty directory ‘rMVP/vignettes’
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘rMVP_<IP_ADDRESS>.tar.gz’

installing source package ‘rMVP’ ...
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppArmadillo/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppProgress/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/bigmemory/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp  -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang: error: unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘rMVP’
removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rMVP’
Error: Failed to install 'rMVP' from GitHub:
(converted from warning) installation of package ‘/var/folders/z8/41981c953kb8f2fk__vh8w500000gn/T//RtmpR5a9pR/file1c430b118f0/rMVP_<IP_ADDRESS>.tar.gz’ had non-zero exit status

Hi, many thanks for building a great Script. I have an issue as I cant install rMVP and found error below..
install.packages("https://mran.microsoft.com/download/")
Installing package into ‘C:/Users/THINK/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://mran.microsoft.com/download/’ is not available (for R version 3.5.1)

install.packages("https://cran.r-project.org/bin/windows/testing/rtools40.html")
Installing package into ‘C:/Users/THINK/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://cran.r-project.org/bin/windows/testing/rtools40.html’ is not available (for R version 3.5.1).

I have even tried with latest version 3.6.1 but still have the same issue.
Sincerely
Gill

Hi Gill,
Thank you for trying rMVP. Please install the latest R version 3.6.1 and install rMVP by the following script:
install.packages(“rMVP”)
For the downloads of Microsoft R Open and Rtools, you can go to the related website. Please let me know if you have any other problems.
Cheers,
Xiaolei

---------- Origin message ----------

From："Rafaqat Ali Gill"<EMAIL_ADDRESS>To："xiaolei-lab/rMVP"<EMAIL_ADDRESS>Subject：Re: [xiaolei-lab/rMVP] cannot install the rMVP package (#38)
Date：2019-10-20 23:07:17Hi, many thanks for building a great Script. I have an issue as I cant install rMVP and found error below..

install.packages("https://mran.microsoft.com/download/")
Installing package into ‘C:/Users/THINK/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://mran.microsoft.com/download/’ is not available (for R version 3.5.1)

install.packages("https://cran.r-project.org/bin/windows/testing/rtools40.html")
Installing package into ‘C:/Users/THINK/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘https://cran.r-project.org/bin/windows/testing/rtools40.html’ is not available (for R version 3.5.1).

I have even tried with latest version 3.6.1 but still have the same issue.
Sincerely
Gill
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xiaolei-lab/rMVP/issues/38#issuecomment-544260862

##install error
I tried to install rMVP in Linux system, but I got the problem showed below, I tried many ways in including  modify Makeconf file of R. Thankyou for your help!

installing to library ?home/bin/R/x86_64-pc-linux-gnu-library/4.0?
installing source package 鈘MVP?...
** package 鈘MVP?successfully unpacked and MD5 sums checked
** using staged installation
** libs
Error: C++11 standard requested but CXX11 is not defined
removing ?home/bin/R/x86_64-pc-linux-gnu-library/4.0/rMVP?

Please update your R to 3.6.2+ and install rMVP by install.packages("rMVP")

Thankyou for your reply, my R version is R-4.0, the latest version.

Does it work? If not, please also try to update the GCC in your computer.

This issue is closed because it is no longer active.


Can not call add_range_partition

Hi there.
I've created a table and want to add range partition for it. However when I call add_range_partition the following error comes out.
presto:log> CALL kudu.system.add_range_partition("schemaname", "tablename", '[{"lower": null, "upper": "2018-02-13"},{"lower": "2018-02-13", "upper": "2018-02-14"},{"lower": "2018-02-14", "upper": "2018-02-15"},{"lower": "2018-02-15", "upper": null}]');
Query 20180215_083528_00113_gvdyz failed: Procedure not registered: system.add_range_partition

Should I register the procedure beforehand? How can I do this?
Your help will be very appreciated.
Thanks in advance.

Sorry, I am using the wrong version of presto-kudu. It would be fine from 0.193


BXC-2170/BXC-2171: get metrics collection working

An old version of this PR with a few comments is here: https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/727


Wacom Intuos Issue (macOS Sierra)

VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T13:56:35.908Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

file-icons
file-icons
1.0.3

vscode-auto-open-markdown-preview
hnw
0.0.4

spacegray-vscode
ionutvmi
1.1.4

svgpreview
kisstkondoros
0.1.2

easy-less
mrcrowl
1.3.4

Using latest Wacom driver (6.3.20-11)
Steps to Reproduce:

Pen works for several clicks
Pen stops functioning properly
Pen now can only select text, but acts like it's losing focus and can't control the I-beam anymore.
multi-finger gestures also stop working (however, one's middle finger can still be extended at the screen quite happily)
Going into the driver in System Preferences allows one to click again in the editor, but only for a few clicks and the cycle repeats (see item 1)

It seems like resolved at macOS High Sierra 10.13.1 Update.

I actually just started having trouble with this again on the most recent version of Visual Code - right when the thread was closed.  It was working from May to the end of October and now the pen is doing the same thing again.

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:23:26.125Z)
OS Version: Darwin x64 17.2.0
Extensions:

Extension
Author (truncated)
Version

RunOnSave
eme
0.0.16

file-icons
fil
1.0.7

vscode-auto-open-markdown-preview
hnw
0.0.4

svgpreview
kis
0.2.0

easy-less
mrc
1.4.5

(1 theme extensions excluded)

I also stared having this problem again.
VSCode : Version 1.19.1
OS Version: 10.13.2 (17C89)


"Boost Libraries" and "Boost C++ Libraries"

This exact text has to appear on the front page and maybe other pages:
"Boost Libraries"
"Boost C++ Libraries"

@4down I don't see this on the home page. Do we need to add this text?


M-x usage

Why not can I use M-x in my terminal??
I use emacs -nw to open emcas in my iTerm2

In iterm with the standard settings, I use Alt/Option as the Meta key. Depending on your iTerm2 settings, that may or may not work for you.

thank u purcell

I was doing just that and then I realized that a full emacs session
launched from the app it even better. Especially when you combine it with
emacs 24.1 transparency or toggle-frame-fullscreen without a menu or
toolbar. C-u M-x shell on remote directories opened like C-x C-f
/ssh:user1@host1|sudo:user2@host1: for most remote terminal work and M-x
term to reconnect to remote screen sessions. It makes it easy to C-x C-f or
C-x C-r in a shell and open a file or directory and v(iew) and o(pen) files
or v(iew) and then e(dit) files if I need to with remote directory
tracking. The true icing on the cake is when you remote debug a python file
using M-x pdb and change the command to python -m pdb file.py and it all
runs remotely.
I'm not saying that you can't do the same things in a terminal. I just
don't know why I did it and put up with C-arrow and M-arrow errors and
basic mouse inconsistences. It doesn't take much time browsing in M-x
customize-group emacs and it children and C-x C-s to set and store those
changes to get history and completetion and ido working everywhere. My
favorite is adding the melpa package archive to the packages customization
group and getting ido-vertical installed with a M-x list-packages.
On Thu, Jul 2, 2015, 05:00 dreaming<EMAIL_ADDRESS>wrote:

Closed #276 https://github.com/purcell/emacs.d/issues/276.
—
Reply to this email directly or view it on GitHub
https://github.com/purcell/emacs.d/issues/276#event-346237455.

@freegnu Agreed! :-)


Support for .fon fonts

I know the windows release isn't out yet, but is this possible or even an issue? Thanks!

I was not able to get the last stable Chrome (Version 48.0.2564.116 m) to render any bitmap fonts on Windows. I also tried a TTF with embedded bitmaps - they were also ignored.  It looks like the Chrome team have gone back and forth on whether to support these but right now they don't.


py less django project

It should be possible for eg python -m importd.app to read settings file, and if app is composed of reusable apps, there need not be any python files at all.
python -m importd may be can be used for this, or some other submodule.

I cant imagine a useful enough Python Django module that dont have at least 1 Python file, or need one.
Too few use cases :grey_question:

Actually yes. Imagine you have a blog app, which does whole blog management. In order to activate it you will have to create a settings file. With setting stored in json/yml, you need not have any python file in your project.

But then this one is Close-able by https://github.com/amitu/importd/issues/60


Multiple rows in Thumbnail Navigator.

Hi guys! Is there a way to add more rows to the "Thumbnail Navigator" in JSSOR?
I have this slider where the content of the main image is controled by clicking a thumbnail (which is in a row). However, I would like to add more rows of thumbnails. Is it possible with JSSOR?
Thanks.

Example, 6 cols * 2 rows thumbnails.
$ThumbnailNavigatorOptions: {
    $Origintation: 1,
    $DisplayPieces: 6,
    $Lanes: 2
}


Fix DFS bug

The DFS function uses an object as a key into another object. This
doesn't work, because the key gets stringified to "[object
Object]" and is therefore useless.

Looks like an quite efficient fix to me. You can start the id at 0 since you use pre-incrementation.
Thanks for reacting so quickly!

Thanks from me too!
Hey, @Golmote, nice to see you again around here! 👋


Can't import Bestiary 5 - Dream Dragon, Young Adult

Can't import statblock:
Dream Dragon, Young Adult      CR 13
XP 25,600
Young adult dream dragon (Pathfinder RPG Bestiary 5 90)
N Huge dragon (extraplanar)
Init +4; Senses dragon senses, dreamsight; Perception +31
Defense
AC 26, touch 8, flat-footed 26 (+18 natural, -2 size)
hp 157 (15d12+60)
Fort +13, Ref +9, Will +12
Defensive Abilities dream fortress; DR 5/magic; Immune paralysis, sleep; SR 24
Offense
Speed 40 ft., fly 200 ft. (poor)
Melee bite +20 (2d8+9), 2 claws +19 (2d6+6), tail slap +17 (2d6+9), 2 wings +17 (1d8+3)
Space 15 ft.; Reach 10 ft. (15 ft. with bite)
Special Attacks breath weapon (50-ft cone, 10d6 electricity, Reflex DC 21 half), crush (Small creatures, DC 21, 2d8+9), sleeping breath 1/day
Psychic Magic (CL 15th; concentration +20)
9 PE—euphoric cloud[ACG] (2 PE, DC 17), invisibility (2 PE), lullaby (0 PE, DC 15), mirror strike[UC] (1 PE), thought shield II[OA] (3 PE)
Psychic Spells Known (CL 5th; concentration +9)
2nd (5/day)—aversion[OA] (DC 16), mind thrust II[OA] (DC 16)
1st (7/day)—blurred movement[ACG], color spray (DC 15), shield, sleep (DC 15)
0 (at will)—dancing lights, daze (DC 14), detect magic, ghost sound (DC 14), message, resistance
Statistics
Str 23, Dex 11, Con 18, Int 18, Wis 17, Cha 20
Base Atk +15; CMB +23; CMD 33 (37 vs. trip)
Feats Alertness, Flyby Attack, Hover, Improved Initiative, Multiattack, Power Attack, Skill Focus (Perception), Weapon Focus (bite)
Skills Acrobatics +0 (+4 to jump), Bluff +23, Diplomacy +23, Fly +10, Intimidate +23, Knowledge (arcana) +22, Knowledge (planes) +22, Perception +31, Sense Motive +25, Stealth +10, Survival +21
Languages Aklo, Common, Draconic
Ecology
Environment any (dimension of dreams)
Organization solitary
Treasure triple
Special Abilities
Blindsense (60 feet) (Ex) Sense things and creatures without seeing them.
Breath Weapon (50-ft cone, 10d6 electricity, Reflex DC 21 half, usable every 1d4 rounds) As a standard action, affect an area with elemental damage (Ref half).
Crush (Small creatures, 2d8+9, DC 21) A flying or jumping Huge or larger dragon can land on foes as a standard action, using its whole body to crush them. Crush attacks are effective only against opponents three or more size categories smaller than the dragon. A crush attack affects as m
Damage Reduction (5/magic) You have Damage Reduction against all except Magic attacks.
Darkvision (120 feet) You can see in the dark (black and white only).
Dragon Senses (Ex) See four times as well as a human in dim light and twice as well in normal light.
Dream Fortress (Su) A juvenile or older young adult dream dragon is immune to dream, nightmare, and similar spells.
Dreamsight (Su) With a brief glance, a very young or older dragon can see a hazy image of the current dreams of sleeping creatures.
Fly (200 feet, Poor) You can fly!
Flyby Attack You can take a standard action during your move action while flying.
Hover Can hover in place without Fly checks, and kick up dust cloud if within 20 ft of ground.
Immunity to Paralysis You are immune to paralysis.

Low-Light Vision See twice as far as a human in dim light, distinguishing color and detail.
Power Attack -4/+8 You can subtract from your attack roll to add to your damage.
 This is a mind-affecting sleep effect.
Spell Resistance (24) You have Spell Resistance.

[ ] Splitting of Saves catches Keywords in other words (e.g. Fort in Fortress)


Save widget state to the .ows file

check this example

https://github.com/biolab/orange3/discussions/5882


Zookeeper needed for dev-config

In running lein run dev-config.edn I get
2015-09-21 19:21:17,472:22178(0x116b06000):ZOO_ERROR@handle_socket_error_msg@1697: Socket [::1:2181] zk retcode=-4, errno=61(Connection refused): server refused to accept the client
2015-09-21 19:21:17,472:22178(0x116b06000):ZOO_ERROR@handle_socket_error_msg@1697: Socket [<IP_ADDRESS>:2181] zk retcode=-4, errno=61(Connection refused): server refused to accept the client

which resolves once I start running a Zookeeper locally
2015-09-21 19:21:20,806:22178(0x116b06000):ZOO_INFO@check_events@1703: initiated connection to server [fe80::1:2181]
2015-09-21 19:21:21,191:22178(0x116b06000):ZOO_INFO@check_events@1750: session establishment complete on server [fe80::1:2181], sessionId=0x14ff236287a0000, negotiated timeout=10000
I0921 19:21:21.191696 327958528 group.cpp:313] Group process (group(1)@<IP_ADDRESS>:56667) connected to ZooKeeper
I0921 19:21:21.191776 327958528 group.cpp:787] Syncing group operations: queue size (joins, cancels, datas) = (0, 0, 0)
I0921 19:21:21.191836 327958528 group.cpp:385] Trying to create path '/mesos' in ZooKeeper

Is this expected? From the documentation,

Cook is written in Clojure. To develop Cook, all you need is a JVM and Mesos installed and configured. Cook will automatically start embedded copies of the rest of its dependencies."

I thought I would not need any dependencies when running in dev-mode.

Can you look in the log to see if the zk testingserver started
successfully? That should've done it.
On Mon, Sep 21, 2015 at 7:27 PM Sunil Abraham<EMAIL_ADDRESS>wrote:

In running lein run dev-config.edn I get
2015-09-21 19:21:17,472:22178(0x116b06000):ZOO_ERROR@handle_socket_error_msg@1697: Socket [::1:2181] zk retcode=-4, errno=61(Connection refused): server refused to accept the client
2015-09-21 19:21:17,472:22178(0x116b06000):ZOO_ERROR@handle_socket_error_msg@1697: Socket [<IP_ADDRESS>:2181] zk retcode=-4, errno=61(Connection refused): server refused to accept the client
which resolves once I start running a Zookeeper locally
2015-09-21 19:21:20,806:22178(0x116b06000):ZOO_INFO@check_events@1703: initiated connection to server [fe80::1:2181]
2015-09-21 19:21:21,191:22178(0x116b06000):ZOO_INFO@check_events@1750: session establishment complete on server [fe80::1:2181], sessionId=0x14ff236287a0000, negotiated timeout=10000
I0921 19:21:21.191696 327958528 group.cpp:313] Group process (group(1)@<IP_ADDRESS>:56667) connected to ZooKeeper
I0921 19:21:21.191776 327958528 group.cpp:787] Syncing group operations: queue size (joins, cancels, datas) = (0, 0, 0)
I0921 19:21:21.191836 327958528 group.cpp:385] Trying to create path '/mesos' in ZooKeeper
Is this expected? From the documentation,
Cook is written in Clojure. To develop Cook, all you need is a JVM and
Mesos installed and configured. Cook will automatically start embedded
copies of the rest of its dependencies."
I thought I would not need any dependencies when running in dev-mode.
—
Reply to this email directly or view it on GitHub
https://github.com/twosigma/Cook/issues/39.

Ah ok - yes - the log shows everything is OK.
2015-09-21 19:16:09,042 INFO  org.apache.curator.framework.state.ConnectionStateManager [main-EventThread] - State change: CONNECTED

The error message from my first post is what Cook is sending to stderr/out.

Aha--the docs should explain what stdout/stderr logs are for: Mesos.
On Mon, Sep 21, 2015 at 8:01 PM Sunil Abraham<EMAIL_ADDRESS>wrote:

Ah ok - yes - the log shows everything is OK.
2015-09-21 19:16:09,042 INFO  org.apache.curator.framework.state.ConnectionStateManager [main-EventThread] - State change: CONNECTED
The error message from my first post is what Cook is sending to stderr/out.
—
Reply to this email directly or view it on GitHub
https://github.com/twosigma/Cook/issues/39#issuecomment-142142321.


Update p5js version that ships with build

Loving all of the improvements to the IDE + Windows support!  I was just wondering, when you plan on updating the p5js build version that ships with the IDE?  I'm starting to document and test webgl using the IDE which is now available in the master branch, but unavailable in v0.4.5.  Thanks!

Will do!


TextDecoration on TextBlock can't be removed

I think  TextDecorations.None ist not working on a TextBlock, because I can't remove it by setting txtBlock.TextDecorations = TextDecorations.None;
It makes no difference whether the text was underlined or striked-through, no change will occur.
Steps to reproduce the bug

Create TextBlock named txt and a CheckBox named cb with the checked/unchecked handlers

private void cb_Checked(object sender, RoutedEventArgs e)
        {
            txt.TextDecorations = Windows.UI.Text.TextDecorations.Underline;
        }

        private void cb_Unchecked(object sender, RoutedEventArgs e)
        {
            txt.TextDecorations = Windows.UI.Text.TextDecorations.None;
        }

Expected behavior
Well, the strike-though or underline should vanish
Screenshots

Version Info

Destination version Build 18362
NuGet package version:

Windows 10 version
Saw the problem?

November 2019 Update (18363)
YES

Device form factor
Saw the problem?

Desktop
YES

Additional context

Should be the same as https://github.com/microsoft/microsoft-ui-xaml/issues/1093. There's also a workaround mentioned there.


Run ionic app

Excuse my ignorance, how to execute my existing app on docker container after build ?

This docker image is for building the app, not for running it.

thx !


Update Help Window

Updated Help Window to suit latest iteration of UG.

Codecov Report

Merging #191 (3771d0f) into master (06e67d4) will decrease coverage by 0.25%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #191      +/-   ##
============================================
- Coverage     48.48%   48.22%   -0.26%
  Complexity      368      368
============================================
  Files            89       89
  Lines          1679     1688       +9
  Branches        184      188       +4
============================================
  Hits            814      814
- Misses          797      806       +9
  Partials         68       68

Impacted Files
Coverage Δ

src/main/java/seedu/trackermon/ui/HelpWindow.java
0.00% <ø> (ø)

...java/seedu/trackermon/logic/parser/ParserUtil.java
73.17% <0.00%> (-7.92%)
:arrow_down:

...edu/trackermon/logic/parser/SortCommandParser.java
0.00% <0.00%> (ø)

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 06e67d4...3771d0f. Read the comment docs.


Make calendar expandable/collapsible while exposing current selected week

Add ability to show week/month on calendar

Hi, do you mean hiding and showing the calendar? The changes for this have already been merged to master and I intend to release this in the weekend.
https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarView.java#L240
You can clone the repo and play around with the sample as well to get a feel for how it works. However, if this is not what you want, then a little more info would be greatly appreciated.
Thanks.

@SundeepK like this, or when you click some special button)

Ah, I see. You want to expose the current week while being able to show/hide the calendar by touch or button. Thanks.

What would be the expected behavour if you have scrolled to a different month? Should it reset to the current month? Or show the current week in that month or the first week?

@SundeepK I think first week of of that month will be the most expected flow.

Any updates for this?

Hi, I've just finished off multi event support so I'll look at this when ever I get time. I can't give you an update on when it will be done because I'm quite busy and I don't want to estimate either.

Any updates on week mode ?
@SundeepK


Tapping on currentLocation link, but saying "Don't Allow" produces unfriendly error

I have added in the currentLocation prop to the GooglePlacesAutocomplete component and everything works well through its happy path.
Although, when a user taps on "Don't allow" two things are to note:
1/ The currentLocation link remains on the list
2/ Tapping on the currentLocation link renders an alert stating "User denied access to location services"
Ideally it would be nice that if the user attempts to tap the link again, they are presented with the option to allow access again (although, I don't think this is possible, at least in iOS).
If that is not possible, it would be ideal to be able to pass in a deniedLocationAlertText string to explain that they need to go to settings to allow the location.
Is this possible to add into this component?
I think a stretch goal here would be to pass through a custom request alert to "fake" ask the user to share their location, therefore you will have less chance to run into iOS's "ask once and then you can't ask again" policy.
Appreciate any help or updates here. 🙌

+1 👍
I am in a similar situation.
but, in my opinion, I think you should delegate to the developer what action should occur in case of error
for example, it may be the case that I do not want to show a native alert to an error of permissions not granted, and simply want to display my custom alert
thx!

@scott-metalab-zz To echo what @pmarconi said, this should probably be handled outside of the library.  As you noted, on iOS you can only ask for permission once.
You can use the currentLocation prop to control together with a library like react-native-permissions to decide whether to show  the current location option to the user.
In addition, current location doesn't work in RN v0.60.0+, see #541 for more.
Let me know if i can close this.

@bell-steven I attempted to use your suggestion (use the currentLocation prop together with react-native-permissions, and it mostly works.
However changing the currentLocation prop does not re-render the buildRowsFromResults()/datasource list until the user edits the field and then clears it. It seems we need a way to immediately re-render the suggestion list when this currentLocation prop changes.


Lgsvl + Apollo 5.0.  Localization timestamp mismatch

System information

OS Platform and Distribution: Ubuntu 18.04
Apollo installed from: LGSVL Forked Apollo 5.0
Apollo version:  5.0

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:

Launch lgsvl simulator, select BorregasAve Map.
bootstrap.sh in Apollo 5.0 docker container
start bridge.sh to bridge the simulator's messages to apollo
open another terminal, get inside Apollo's docker container, and launch the localization module:
cyber_launch start /apollo/modules/localization/launch/localization.launch
open serveral terminals with cyber_monitor to show the timestamps of different messages, from both simulator and from Apollo's localization module.

Supporting materials (screenshots, command lines, code/script snippets):

The screenshot was captured live, the timestamp of Localization Module (/apollo/localization/pose) appears to be several seconds ahead of the simulator's messages (/apollo/sensor/gnss/corrected_imu, /simulator/ground_truth/3d_detections, /apollo/sensor/gnss/imu and /apollo/sensor/gnss/best_pose)
note that /apollo/sensor/gnss/best_pose is using GPS time system, which is at the same time with other sensor messages.
Any advise on this is appricated. Thanks in advance.

I did some temporary fix.
Please refer to issue at LGSVL repo.


Add miniver to simplify development branch descriptions

Closes: https://github.com/pygfx/pygfx/issues/696
pip install -e . -vv
# You might only need to run this once I believe. we don't run it daily on our dev machines

In [1]: import pygfx

In [2]: pygfx.__version__
'0.1.18.post29+g9342016'

In [3]: from packaging.version import Version

In [4]: Version('0.1.18.post29+g9342016') > Version('0.1.18')
True

In [5]: assert Version('0.1.18.post29+g9342016') > Version('0.1.18')

In [6]: assert Version('0.1.18.post29+g9342016') < Version('0.1.19')

So I use this in my project and the github action that I use to upload the package to pypi will make the static version correctly.
You don't need to change the source when you create a new release. just tag then your CI will pickup the new version in the upload to pypi.
see: https://github.com/ramonaoptics/python-teensytoany
Xref: https://github.com/jbweston/miniver

oh man, the CIs made this more difficult than I wanted to.

hmm, i've never used pyinstaller ...

This is actually the first time i read through the miniver code in earnest.
I understand how it is designed now, and I somewhat understand their design decisions of having 2 files.
But it is somewhat overly complicated.
It may be interesting to use https://github.com/proudust/gh-describe though this seems like getting more untrusted code in the repo.

My general feeling about this is that it's adding a ton of code and complexity to solve a very small simple manual step... not too enthusiastic.

complexity and dependencies [...]  not too enthusiastic.

Understood. This is a fair criticism.


Fixed potential AttributeError when checking for deleted sources

Description:
Fixed potential AttributeError when checking for deleted sources
Related issue (if applicable): fixes #7493
Checklist:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Bugfix, thus it could be a candidate for a potential 0.44.2 or 0.44.3


Implemented binomial trees in Rust

Oh boy.
So I implemented binomial trees in Rust to see how it would fare. I think the most interesting thing to learn here is how incomplete the standard library is with respect to linked list, they are quite painful to use.
This is definitely not the most efficient implementation, and in fact it tries to follow the description I received of it quite meticulously.
Still, out of mere curiosity, I'd love to have some benchmarks to compare the different implementations. I wonder how the trade-offs I had to made will impact performance competitiveness with other languages. What is for sure is that it reduced clarity.
I think the code is self-documented (beyond the couple comments I added), if you need me to change anything feel free to review. Hopefully there is no bugs, too.

(by the way it will only build on the nightly channel as the cursor API is not stable yet)


Add GA build

Checks the image is buildable, will run on PRs, pushes and every night

Note we could modify this to push the result at some point (if we pushed to github's container image repository it'd be a lot easier in terms of secrets management)

Note we could modify this to push the result at some point (if we pushed to github's container image repository it'd be a lot easier in terms of secrets management)

Yes, but because of Cucumbers open model, literally anyone could then push anything. And we'd execute it during a release too.

@mpkorstanje It wouldn't necessarily have to be tagged as cucumber build:latest - that tagging could be an additional step

Currently only core team members can make releases. All core team members are trusted. So all artifacts are trusted. This is simple and easy to understand.
Once you allow CI to make any releases this reasoning becomes more nuanced. Artifacts released by CI can not be trusted to the same degree. I doubt we will be able to make the distinction without error.
And I'm saying this because for the past few months, just about every week now, I've had to explain to someone why making releases from a public CI would be fundamentally a bad idea. So collectively it is safe to say that have a hard time understanding security at a fundamental and conceptual level.

We don't distinguish between core and all the other committers, so anything the core uses to trigger that can be used by anyone.

@mpkorstanje i must have misunderstood ‘ Currently only core team members can make releases’. Will try and catch you on slack

Hi @ciaranmcnulty,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber


Miscellaneous beacon chain changes—take 3

(See #128 and #218 for takes 1 and 2.)

[ ] Pull out validator balances: Performance optimisation whereby the validator balances are segregated from the validator_registry. (The balances of active validators change every epoch, whereas the rest of the registry changes infrequently.)
[ ] Historical justification bitfield: Merge previous_justified_slot, justified_slot, justification_bitfield and finalized_slot into a bitfield that grows by one bit every epoch. (Cleaner, more flexible.)
[ ] Latest RANDAO mixes: See https://github.com/ethereum/eth2.0-specs/issues/295.
[ ] Placeholders: Add placeholders for proofs of custody and VDFs. See #145.

For (2) I don't think it's nearly that simple. state.finalized_slot being updated depends not just on the pattern of justified slots but also on what the state.previous_justified_slot was at the time it was updated. So I don't think we can get rid of finalized_slot. We also need state.previous_justified_slot and state.justified_slot to remember what was the source that messages were supposed to be using in the previous two epochs, and that's not something that can necessarily be figured out from a justification bitfield because the justification bitfield might change but the justification sources should not change.

Light-client friendly shuffles: See #323.

I think we should not consider this a milestone for the spec release at this point. Would rather calmly take a couple of months to talk with academics about what the best shuffling algo for our use case is, and we can swap it in later.


Proposed changes to mttp CSR

proposed changes to mttp CSR to reserve upper bits for expanded PA (future), and reduce SDID to 6 bits and reserve remaining bits

Hello Ravi, may I know the rationale of reducing SDID to 6 bits?

Hi @gagachang - we had not formally discussed the width of this field - given what we expect for usages, such as Confidential Computing, Keystone, various TEEs, VSM, pKVM etc, it seemed that a handful of supervisor domains would be reasonable, so 6 bits seemed apropos. (We can keep some bits reserved for future in the register as specified).

The format of the remaining fields should be dependent on mode setting, to leave the most flexibility for future enhancements. So the breakdown into SDID/PPN/WPRI should be mode-specific, and so we're only specifying this split for the modes we're proposing in this version of spec, not all possible values of mode field.

I see now there's already a sentence in spec saying what's in my last comment, so can ignore.

The PPN should be aligned in the LSBs just as with satp.

updated per feedback

The update defined it as [PPN, WPRI, SDID, MODE] instead of [MODE, SDID, WPRI, PPN].

@rsahita The change needed is as follows (Changing lanes to 2 also improves the readability in the PDF)
For RV64:
{reg: [
  {bits:  44, name: 'PPN (WARL)'},
  {bits:  10, name: 'WPRI'},
  {bits:   6, name: 'SDID (WARL)'},
  {bits:   4, name: 'Mode (WARL)'},
], config:{lanes: 2, hspace:1024}}

For RV32:
{reg: [
  {bits:  22, name: 'PPN (WARL)'},
  {bits:   2, name: 'WPRI'},
  {bits:   6, name: 'SDID (WARL)'},
  {bits:   2, name: 'Mode (WARL)'},
], config:{lanes: 2, hspace:1024}}

yes i noticed the error and had fixed it :-) - will update to improve readability per your comment (thanks)

@rsahita another thing to fix is perhaps to remove "All sub-fields are WARL." since some subfields are not.


Bundling schema resources into a single document

JSON Schema bundling is often required for packaging scenarios. In particular, bundling without reference removal seems relatively straightforward. Is this something that could be in scope for this library?

Hi. I think this is a duplicate of #692 (and that yes it'd be acceptable to PR!)


[CI] Use updated core workflow for E2E

Signed-off-by: Ruturaj Mohite<EMAIL_ADDRESS>Description
Ports the Istio to the new core e2e workflow
This PR is a part of https://github.com/meshery/meshery/issues/5529
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@leecalcote Sorry for the late reply, and @Revolyssup for teeing this off.


No permissions are showing for Elasticsearch DA

No permissions are showing for Elasticsearch DA. Please ensure that the CRNs are correct in ibm_catalog.json

https://github.com/terraform-ibm-modules/terraform-ibm-icd-elasticsearch/pull/129