repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
miniflux/v2 | 840584354 | Title: Deactiviate/suspend a user account as an administrator
Question:
username_0: - [x] I have read this document: https://miniflux.app/opinionated.html#feature-request
I'm unsure if this would be considered generally helpful, so please feel free to close!
I self-host Miniflux and a couple of friends use it too. One of them rarely ever logs in, her feed items have reached ~15,000 unreads and counting. Similar to how you can disable feeds, would it be worthwhile to have the ability to disable accounts temporarily? This is more of a resources issue where I'm coming from -- I'd like her feeds to not refresh and also not keep adding up to the disk size (+ backup sizes) if she's not using it.
She'd like to be able to _come back_ at any point with all her feeds and categories intact.
Answers:
username_0: Is there any interest in this? |
LK-JP/Pacman-Ghosts-Client | 587169860 | Title: Create Ghost Class
Question:
username_0: - Ghosts should each use a different method to travel towards pacman
- If a ghost touches pacman game is over, noLoop()
- They should start in their upper center container thingy
- we need to determine speed relative to pacman<issue_closed>
Status: Issue closed |
aws-amplify/amplify-js | 677665866 | Title: AuthStrategy is inconsistent with Amplify CLI
Question:
username_0: **Describe the bug**
AuthStrategy defined in Amplify JS Datastore is different from that in Amplify CLI. This affects subscription behavior and seems to be causing the issue #5290.
**To Reproduce**
n/a
**Expected behavior**
The `authStrategy` `'group'` should be `'groups'` to match with Amplify CLI.
**Code Snippet**
*Amplify JS Datastore*
https://github.com/aws-amplify/amplify-js/blob/022d1a14bf6fad0b22fcc70341df56572233d617/packages/datastore/src/types.ts#L119
*Amplify CLI*
https://github.com/aws-amplify/amplify-cli/blob/2e8c1c949f3caedf4c6834b03bdd913ee998a86c/packages/graphql-auth-transformer/src/AuthRule.ts#L1
```
export type AuthStrategy = 'owner' | 'groups' | 'public' | 'private';
```
**Screenshots**
n/a
**What is Configured?**
*amplify/backend/api/amplifyDatasource/schema.graphql*
```
type Task @model
@auth(
rules: [
{ allow: owner }
{
allow: groups
groups: ["Admin"]
operations: [create, update, delete, read]
}
]
)
{
id: ID!
title: String!
description: String
status: String
owner: String
}
```
Running `amplify codegen models` generates the following model file, which says `allow` (authStrategy) is `'groups'`.
*src/models/schema.js*
```
export const schema = {
"models": {
"Task": {
"name": "Task",
"fields": {
...
},
[Truncated]
"update",
"delete",
"read"
]
}
]
}
}
]
},
...
```
**Smartphone (please complete the following information):**
n/a
**Additional context**
Add any other context about the problem here.
**_You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app._**
Answers:
username_1: @username_0 thanks again for the PR. It's been merged and is currently available via `npm i aws-amplify@unstable` and will be part of the next release.
Status: Issue closed
|
vsch/idea-multimarkdown | 388428137 | Title: Add better suggestion visualisation and suggestions to fix incorrect local md files links
Question:
username_0: Currently, if the link is invalid it's marked on red

There are two things that can be improved here.
1. First of all, we could only mark part of the path that is invalid (from the root to last valid folder) as sometimes this is jus ta missing package somewhere in the middle of the path. It would be helpful to know "Oh this part is incorrect so I need to remove only this part"
2. If we know that only part of the path is incorrect we could give more precise quick fixes to a user eg.
Path
`folderA/folderB/folderC/folderD`
let's assume that `folderC/folderD` part is incorrect. Now as a quick fix suggestion we could recursively list all the md files in `folderA/folderB` and propose them as potential fix eg.
```
folderA/folderB/folderC/info.md
folderA/folderB/folderC/folderD/info.md
folderA/folderB/folderC/folderE/info.md
...
```
Answers:
username_1: @username_0, just trying to clarify if this is an improvement to a working feature of how intention text is showing alternate targets or a bug preventing alternate targets intention from showing:
<img width="1144" alt="image" src="https://user-images.githubusercontent.com/10299086/49626354-743fe800-f9a7-11e8-9c2a-74b023fd8f48.png">
It should show all files matching the file name of an unresolved target.
username_0: Yesterday I had no such hints, today they are working fine 🤔
Let's close issue for now and I will take a closer look in the future
Status: Issue closed
|
vuetifyjs/vuetify | 526683484 | Title: [Bug Report] VAutocomplete ignore initial value of search-input prop
Question:
username_0: ### Environment
**Vuetify Version:** 2.1.11
**Vue Version:** 2.6.10
**Browsers:** Chrome 78.0.3904.97
**OS:** Windows 10
### Steps to reproduce
Create a VAutocomplete with a property initialized with a value
### Expected Behavior
The field should contain the initial search value
### Actual Behavior
The field is empty
### Reproduction Link
<a href="https://codepen.io/Alex83690/pen/Yzzggzq" target="_blank">https://codepen.io/Alex83690/pen/Yzzggzq</a>
### Other comments
If you set the search value after a delay, it works
<!-- generated by vuetify-issue-helper. DO NOT REMOVE -->
Status: Issue closed
Answers:
username_1: ### Environment
**Vuetify Version:** 2.1.11
**Vue Version:** 2.6.10
**Browsers:** Chrome 78.0.3904.97
**OS:** Windows 10
### Steps to reproduce
Create a VAutocomplete with a property initialized with a value
### Expected Behavior
The field should contain the initial search value
### Actual Behavior
The field is empty
### Reproduction Link
<a href="https://codepen.io/Alex83690/pen/Yzzggzq" target="_blank">https://codepen.io/Alex83690/pen/Yzzggzq</a>
### Other comments
If you set the search value after a delay, it works
<!-- generated by vuetify-issue-helper. DO NOT REMOVE -->
username_2: well ok it works when I set the items and v-model at the same time. But this is kindof a workaround for, since I dont use v-model in my real application and also the items are initially not set neither |
the-infocom-files/planetfall | 509553800 | Title: Missed opportunities
Question:
username_0: I don't know if this is going to be a regular feature of playtesting, but here are some things I noticed along the way that I was surprised the game didn't have a funny or useful response to:
- You can burn various objects by shooting them with the laser, but the game makes no distinction between if the object's on the ground, being held by you, or even worn by you. I would think that burning your uniform while you're wearing it would at the very least be a painful experience. Actually, see https://github.com/the-infocom-files/planetfall/issues/28 for a bug caused by this.
- You can't "SWIM" or "SWIM UP" in the escape pod, even after it fills with water. The game just tells you "You can't swim here!"
- When the escape pod is under water, looking through the window still tells you that "You can see a planet, hopefully a hospitable one."
- When you're swimming underwater, "SIT" responds with "You recline on the floor for a bit, and then stand up again."
- If you try to "CLOSE DOOR" in the Cryo-Elevator, the game says "You can't do that to a cryo-elevator door." The normal response would have been "You can't close it yourself."
- In many places, the game lets you "EXAMINE CONTROLS", but not in the shuttle car control rooms. It just says "You can't see any controls here!" |
dotnet/roslyn | 294387331 | Title: Generic extension method with `in this` parameter fails to compile
Question:
username_0: Thanks, @username_1 ! What a confusing corner case, I was not realized any kind of member access would copy the struct in generic code since compiler can't tell if `T` is `readonly` struct or not...
Status: Issue closed
Answers:
username_1: This seems very similar to #24601.
username_0: Thanks, @username_1 ! What a confusing corner case, I was not realized any kind of member access would copy the struct in generic code since compiler can't tell if `T` is `readonly` struct or not...
Status: Issue closed
|
databricks/sjsonnet | 588818103 | Title: Support absolute path for output file
Question:
username_0: `--output-file` requires a relative path by using `os.RelPath()`.
As per conversation [here](https://github.com/databricks/sjsonnet/commit/211cc58b0ba8bac28120a51c4787d5228ac577eb#r38081678), we kindly request to (re)introduce support for absolute paths.<issue_closed>
Status: Issue closed |
ianlancetaylor/libbacktrace | 997065563 | Title: handling open file descriptor limits with early initialisation
Question:
username_0: When you reach your process' open file descriptor limit, you can no longer produce a backtrace, because libbacktrace tries and fails to open the executable:
```text
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
libbacktrace error: failed to read executable information (-1)
```
What we need is to replace that on-demand file opening with an early one - either by making `fileline_initialize()` public, so we can call it after `backtrace_create_state()`, or by including a call to it in the latter function. |
umijs/dumi | 825437562 | Title: 请问下封装组件时,网络请求如何处理?
Question:
username_0: 我这边有一个ant design pro项目,想把一些页面放到内部私有的公共组件库里面,比如用户管理。这样其他项目直接用。所以需要包含网络请求,权限控制等逻辑。有几块不太清楚怎么处理,请教各位大佬们?
1. request
import from umi会使用主项目的app.tsx设置的拦截器吗?
2. dva:
connect,model, service 三部分代码,在组件中如何处理?
3.<Access>
似乎是根据plugin-access+access.ts处理的,有部分是dev依赖,组件中如何引入?
Answers:
username_1: 业务逻辑耦合过重不建议做组件库,组件库应该是相对独立、不依赖开发框架(比如 umi)、暴露接口供外部初始化的场景下使用的,你描述的场景拆不出来,如果想页面在多项目复用建议看下 git submodules,可能有所帮助
该 issue 不在组件库讨论范围,issue 关闭
Status: Issue closed
username_2: @username_0 同样的需求,请问您最后怎样处理的?我的项目增加里一些权限组件供业务团队使用,其中也使用了dva |
AtomLinter/linter-pylama | 236504015 | Title: PyLama is broken in Atom 1.19beta0: 'TypeError: Cannot read property '17' of undefined'
Question:
username_0: OS: Fedora 25
Atom: 1.19.0-beta0 (built in Flatpak)
Electron: 1.6.9
Chrome: 56.0.2924.87
Node: 7.4.0
Python: 3.5.2
pylama: 7.3.3
Whenever I open a python file I get an error in console:
```
[Linter] Error running Pylama TypeError: Cannot read property '17' of undefined
at /home/username_0/.atom/packages/linter-pylama/lib/helpers.coffee:110:46
at Array.map (native)
at /home/username_0/.atom/packages/linter-pylama/lib/helpers.coffee:96:38
(anonymous) @ /home/username_0/.atom/packages/linter/lib/linter-registry.js:159
```
This might be related to a full rewrite of editor in 1.19 - as otherwise pylama works perfectly in 1.18
Answers:
username_1: Wow, looks like somebody was using the internal state of the `TextEditor` instead of the public API, no wonder it broke.
Status: Issue closed
|
MithrilJS/mithril.js | 485080978 | Title: route key parameter
Question:
username_0: Hi All,
I read mithril doc, and I am a little confused how to use key parameter from route.
If use key this keyword, then inside the component code, that is how I should read the key value or how to do?
Please advise!
Thanks
Eric
var Edit = {
view: function(vnode) {
return [
m(Menu),
m("h1", "Editing " + vnode.attrs.key)
]
}
}
m.route(document.body, "/edit/1", {
"/edit/:key": Edit,
})
Answers:
username_1: Yes. Or alternatively, you can also read it via `m.route.param("key")`. Either way works, and it's up to you which is better in that given situation.
Status: Issue closed
|
vert-x3/vertx-examples | 257993343 | Title: NoClassDefFoundError in gradle-simplest
Question:
username_0: what i did :
- cloned the project
- build the project using ```./gradlew shadowJar```
- run the jar using ```java -jar build/libs/gradle-simplest-3.4.2-fat.jar```
- got this error :
```
Exception in thread "main" java.lang.NoClassDefFoundError: io/vertx/core/spi/VerticleFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at io.vertx.core.ServiceHelper.loadFactories(ServiceHelper.java:61)
at io.vertx.core.ServiceHelper.loadFactories(ServiceHelper.java:47)
at io.vertx.core.impl.DeploymentManager.loadVerticleFactories(DeploymentManager.java:55)
at io.vertx.core.impl.DeploymentManager.<init>(DeploymentManager.java:51)
at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:178)
at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:143)
at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:139)
at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:34)
at io.vertx.core.Vertx.vertx(Vertx.java:80)
at io.vertx.example.HelloWorldEmbedded.main(HelloWorldEmbedded.java:13)
Caused by: java.lang.ClassNotFoundException: io.vertx.core.spi.VerticleFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 29 more
```
environment :
- ubuntu 16.04
- Java 1.8.0_144
any idea what is wrong ?
thanks!
Answers:
username_1: interesting... it works fine on macOS + Java 1.8.0_144
username_2: Works fine for me as well on Fedora and OpenJDK8. Please reopen with more info if issue persists |
InsertKoinIO/koin | 352449385 | Title: Koin-Android-Scope improvements: ComponentCallbacks.inject/get only searches relevant scopes
Question:
username_0: **Is your feature request related to a problem? Please describe.**
I find it difficult to use the Android-Scope functionality while I know that I must either use a factory or potentially share instances of a single between multiple fragments of the same type.
**Describe the solution you'd like**
I would like inject/get to be aware of the scope from the ComponentCallbacks instance that was used as the receiver.
This can be achieved with the following code:
```kotlin
val scopeName = "My Scope Here" // or this::class.java.simpleName
val scopePath = Path(scopeName, Path.root())
StandAloneContext.loadKoinModules(
module(scopeName) {
single { "Example String we want!" }
},
module("SomeOtherScopeOverHere") {
single { "DON'T GIVE ME THIS!" }
}
)
scopedWith(scopeName)
val injected = (StandAloneContext.koinContext as KoinContext).get<String>(
CustomRequest(
module = null,
clazz = String::class.java,
parameters = emptyParameterDefinition(),
defininitionFilter = {
it.searchAll(String::class).filter { it.path.isVisible(scopePath) }
}
)
)
// injected === "Example String we want!"
```
Using a standard get/inject in the situation set up above will cause an issue with resolution, where Koin does not know which object to pick.
```
org.koin.error.DependencyResolutionException: Multiple definitions found for type 'java.lang.String' - Koin can't choose between :
Single [class='java.lang.String', path:'My Scope Here']
Single [class='java.lang.String', path:'SomeOtherScopeOverHere']
```
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Target Koin project**
I believe this fits inside the "koin-android-scope" project, but I'm as yet unsure how this will work correctly alongside the standard "koin-android" module.
Answers:
username_0: That's interesting, I didn't know about that feature.
While that is useful, I think this breaks some of the power of inversion of control through dependency injection. It's much cleaner if the injected class does not need to be aware of the module for which it is being injected.
What I would like to do is set up a Activity/FragmentLifecycleCallbacks class and create modules on demand, and automatically scope those Activities/Fragments with the correct (and unique) scope. This would mean the Activites/Fragments don't have any idea where the dependencies are coming from, only that there are dependencies for them.
I think this is something that should be a consideration of the Koin-Scope module.
Status: Issue closed
|
FastLED/FastLED | 692746142 | Title: Typos in wiki example (Multiple Controller Example page)
Question:
username_0: On the page https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples, the example under Multiple LED Arrays sets the elements of the redLeds and greenLeds arrays to black to turn off, but sets the elements blueLeds array to blue instead of black.
Unrelated, later on the article is the typo "strpi" (instead of strip).<issue_closed>
Status: Issue closed |
AhoyLemon/idiots.win | 676194918 | Title: New plan to bust out of iframe.
Question:
username_0: The way that I have implemented shitty websites iframing in Idiots win is to try to remove it from the iframe.
`_actions.js`, line 60
However, browsers are preventing this from working.
**SO**, find another way to fuck with those sites.
Answers:
username_1: You can block the site from being embedded by other websites using headers two headers.
```
X-Frame-Options: DENY
Content-Security-Policy: ...rest of CSP options; frame-ancestors 'none';
```
https://securityheaders.com/?q=https%3A%2F%2Fidiots.win%2F
username_0: Good thought, @username_1 - but there's two problems with that.
1. idiots.win is Github pages. I'm not sure if that's possible to edit headers in this case.
2. If I could, actually fully disabling the iframe is still subotptimal. These arcade sites are saying "One of our games is idiots.win", and I'd like the user to know, "Well, here's idiots win, but it's not owned by this arcade site." Blocking the thing entirely just shuts that conversation down. |
tsgrp/OpenAnnotate | 226617269 | Title: Mode Switcher Covers Up Part of the Document
Question:
username_0: The mode switcher can cover up important parts of the document, and there is no way to see what is behind it:

Suggested fix from @iwhitingTSG would be to add some "margin" on the first page so that the user is scrolled in a way that there is room for the menu since vertical scrolling is totally fine:

Answers:
username_1: Ian's solution is easy to visualize and really desirable visually. We should be mindful of how we achieve it from a technical perspective though, as an offset in the height of the pages container has impact on a lot of the page scrolling and resizing logic. Overall 👍
username_1: 
Mode switcher has been moved to it's original position.
Status: Issue closed
|
bdw429s/coldbox-legacy-app-demo | 383171376 | Title: Directory does not exist coldbox-legacy-app-demo/HTMLHelper/models
Question:
username_0: I called `server start [email protected]+311402` when I wanted to look at this sample app and was greeted by an error
```
Directory does not exist
Directory: D:/myfolder/coldbox-legacy-app-demo/HTMLHelper/models
```
The `HTMLHelper/models` folders are located under `coldbox/system/modules`. Somehow this is not recognized by ACF. Do I have to modify a mapping?
Answers:
username_1: @username_0 ColdFusion 2018 has some serious regressions that prevent ColdBox from even working on it. I would stay away from Adobe CF 2018 for now. Alternatively, you can probably make it work if you manually add a `this.mappings` into your Application.crfc that points to the core HTMLHelper module. I'm hoping Adobe will finally fix this bug in update 2.
username_2: Here it is - January 2019 - and I am still having this same issue with ACF 2018 and ColdBox - any hints on a fix (from either Ortis or Adobe)?
username_2: Brad - your previous comment also stated "ColdFusion 2018 has some serious regressions that prevent ColdBox from even working on it" - so why would I implement a workaround for a symptom of a larger - seemingly systemic - problem?
I found the same "symptom" - two months after this was originally posted.
I was hoping for something more than "it's all Adobe's fault but here's a workaround - but these two won't work together anyway".
My mistake. I won't hold expectations like that again.
username_1: I think you're overstating this a bit There _are_ serious bugs that may or may not affect you depending on what you're doing with ColdFusion. The 3 biggest ones I'm aware of in 2018 are:
1) Auto-adding of CF Mappings broken. This will affect any ColdBox user using modules. The workaround is to manually add a CF mapping for every module you install (or that ships with ColdBox)
2) Mocking methods on a CFC that implements an interface now throws exceptions at runtime. This would affect you if you're using TestBox and MockBox for method mocking. No workaround known at this time.
3) Tons of ORM bugs, I'd have to look them all up. This would affect anyone using the `cborm` module for sure and possibly anyone using CF's ORM in general.
Those 3 issues hit pretty much all of our apps and many of our client's apps square in the jaw, but you can decide whether your code will be affected by them. Like I said originally, I'd just avoid 2018 for now until Adobe tightens things down. It's a well-known practice to avoid new versions of Adobe CF in production until at least the first updater when the bugs get fixed. Updater 1 in 2018 was a security fix however so I think that's why it didn't fix much. Updater 2 (with fixes for most of the issues above) should come out in Feb. We're testing a beta of it now.
username_2: I "insist" on using 2018 - because that is what is deploy throughout our corporate environment - so not really as much that I "insist" on using it - as that is "all there is" in our environment. And "avoiding" it would not be an option for my team.
I will inform our team that ColdBox will be a "non-starter" until "at least" after 2018 Updater 2.
username_1: Yep, I get it. You're just a cog in the wheel using what's provided. I think your ire would be better directed at Adobe than here at me. I didn't break anything, Adobe did.
Here's some of the tickets in the Adobe bug tracker that we logged against 2018 so you can tell them how inconvenient these bugs are for you:
https://tracker.adobe.com/#/view/CF-4203283
https://tracker.adobe.com/#/view/CF-4203134
https://tracker.adobe.com/#/view/CF-4203133
https://tracker.adobe.com/#/view/CF-4203136
https://tracker.adobe.com/#/view/CF-4200117
username_2: My apologies if I seem "irate" - most definitely with the scenario and not with you. I'm in the process of upvoting those tickets. |
VKCOM/VKUI | 635978215 | Title: [Bug] iOS Swipe Back
Question:
username_0: **Описание**
Работает в браузере. не работает в клиенте ВК.
**Шаги воспроизведения**
Просто прописать минимальный код из оф примера
**Скриншоты**
Опционально.
Answers:
username_1: Из тикета непонятно, в чем проблема. Мы используем свайп бэк во всех наших приложениях и проблем не наблюдаем.
username_1: Закрываю за отсутствием активности
Status: Issue closed
|
wp-oop/transient-cache | 602771967 | Title: Static analysis overcomes humans!
Question:
username_0: in `selectColumn()`
```php
$this->wpdb->get_col($query, $columnName);
```
get_col expects an integer, not a string :(
https://developer.wordpress.org/reference/classes/wpdb/get_col/
`phpstan.neon.dist`
```yaml
includes:
- vendor/username_0/phpstan-wordpress/extension.neon
parameters:
# TODO level: max
level: 5
inferPrivatePropertyTypeFromConstructor: true
paths:
- src/
ignoreErrors:
```
Answers:
username_0: The Fun begins on Level 6! @phpstan's benefit is far greater then its _price_.
username_1: Currently, this is not causing problems because the [query][1] has only 1 field, which presumably gets picked up automatically by WP, disregarding the column passed to `get_col()` completely. This does not mean that it is not an issue, however. I will continue the investigation later.
username_1: This is now a problem. `wpdb#get_var()` explicitly [does][1] `array_values()` on the row. This is IMHO pretty stupid, because nobody retrieves column values by index: column order in a table may easily change. Nevertheless, this in fact breaks the functionality. I'll be looking into this.
[1]: https://core.trac.wordpress.org/browser/tags/5.5.1/src/wp-includes/wp-db.php#L2564
Status: Issue closed
|
Windsdon/maljs | 777109966 | Title: No description (description:: ' ',)
Question:
username_0: So i am using your code example:
// do a quick search
mal.quickSearch("lelouch").then(function (results) {
// access and fetch the first character
results.character[0].fetch().then(function (r) {
// access and fetch the first anime
r.animeography[0].fetch().then(function (r) {
console.log(r);
});
});
});
But in output, i don't get a description:
mal: MyAnimeList { url: 'https://myanimelist.net' },
type: 'anime',
id: '1575',
sn: 'Code_Geass__Hangyaku_no_Lelouch',
path: '/anime/1575/Code_Geass__Hangyaku_no_Lelouch',
fetched: true,
title: 'Code Geass: Hangyaku no Lelouch',
score: 8.72,
ranked: 41,
popularity: 14,
members: NaN,
cover: undefined,
description: '',
... |
robolectric/robolectric | 399851262 | Title: java.lang.ClassCastException: androidx.appcompat.widget.ContentFrameLayout cannot be cast to androidx.appcompat.widget.ContentFrameLayout
Question:
username_0: ### Description
I'm getting j_**ava.lang.ClassCastException: androidx.appcompat.widget.ContentFrameLayout cannot be cast to androidx.appcompat.widget.ContentFrameLayout**_ when try to run test
`activity = Robolectric.setupActivity(ConvergedWrapperActivity::class.java)` <- that line causes exception
### Steps to Reproduce
```
@RunWith(RobolectricTestRunner ::class)
@Config(packageName = "xxx",
sdk = [24],
manifest = "AndroidManifest.xml")
@PowerMockIgnore("org.mockito.*", "org.robolectric.*", "android.*","javax.xml.*", "org.xml.sax.*", "org.w3c.dom.*", "org.springframework.context.*", "org.apache.log4j.*")
@Ignore
open class MyRobolectric {
@get:Rule
val rule = PowerMockRule()
lateinit var activity: MyActivity
lateinit var context: Context
@Before
fun setupData(){
activity = Robolectric.setupActivity(MyActivity::class.java)
}
...
}
```
### Robolectric & Android Version
```
androidTestImplementation 'androidx.test:runner:1.1.1'
testImplementation "org.robolectric:robolectric:4.1"
android.enableUnitTestBinaryResources=true
```
```
<uses-library android:name="android.test.runner"
android:required="false" />
```
Answers:
username_1: I suspect this is related to your use of PowerMock; is it necessary for this test?
username_0: Finally we stay by configuration, that is working on.
There is some inconviniency in roboelectric .jar file so it doesn't refresh, You have to first downgrade to `testImplementation "org.robolectric:robolectric:4.0"` then upgrade to `testImplementation "org.robolectric:robolectric:4.1"`
` testImplementation "org.mockito:mockito-core:2.8.9"
String powerMockito = "1.7.4"
testImplementation "org.powermock:powermock-core:$powerMockito"
testImplementation "org.powermock:powermock-module-junit4:$powerMockito"
testImplementation "org.powermock:powermock-api-mockito2:$powerMockito"
testImplementation "org.powermock:powermock-module-junit4-rule:$powerMockito"
testImplementation "org.powermock:powermock-classloading-xstream:$powerMockito"
testImplementation 'androidx.test:core:1.1.0'
testImplementation "org.robolectric:robolectric:4.1"`
Add new element **androidx.*** to @PowerMockitoIgnore
`@RunWith(RobolectricTestRunner ::class)
@Config(packageName = "xxx",
sdk = [24],
manifest = "AndroidManifest.xml")
@PowerMockIgnore("org.mockito.*", "org.robolectric.*", "android.*", "androidx.*")
@Ignore
abstract class MyRobolectric {
@get:Rule
val rule = PowerMockRule()
lateinit var activity: ConvergedWrapperActivity
lateinit var context: Context
@Before
fun setupData(){
activity = Robolectric.setupActivity(ConvergedWrapperActivity::class.java)
activity.setContentView(R.layout.converged_activity_main)
context = ApplicationProvider.getApplicationContext()
Manager.setActivity(activity)
}
protected fun findViewById(id: Int) = activity.findViewById<View>(id)!!
}`
Status: Issue closed
|
jwbowers/workflow | 158683792 | Title: Add new and different insights to the paper
Question:
username_0: I recall that Maarten had great thoughts about directory stuctures, file names, and other approaches to organizing work.
Answers:
username_1: Great thoughts any day! What is our time window on this paper?
username_0: I think that Fernando would like something in the next couple of weeks. Maybe you can add to/change the paper given your great thoughts in the next week? And then I can give it one more look before sending to him and Thad?
>
username_1: great, will try to get to it this week!
Status: Issue closed
|
jankichauhan/Tip-Swift | 102424428 | Title: [Into to iOS] Project 1 - Review my app
Question:
username_0: My app is complete, please review /cc @codepathreview.
Answers:
username_1: Good work. This prework is a preview of our weekly project process. Generally, weekly projects take between 5-10 hours to complete the required features and an additional 5-10 hours to complete the optional features. In general, we've seen that the more hours you log, the quicker you improve your proficiency with iOS.
The purpose of this project was to begin to explore Xcode and to get a broad overview of iOS development using Swift. For example, in this project, we explored the following concepts:
- Code styling in Swift. You can find some code styling guides here:
- [Ray Wenderlich Swift Style Guide](https://github.com/raywenderlich/swift-style-guide)
- [Github Swift Style Guide](https://github.com/github/swift-style-guide)
- Views are created in Storyboard, Interface Builder, or programatically, but they have the same goal: instantiate, initialize, and layout view objects. We use IBOutlets to give names to view objects, similar to giving unique ids to divs in HTML.
- We registered for touch events, which can be done programatically or via IBActions.
- We explored NSUserDefaults, one of the four persistence strategies in iOS.
- View controllers have a set of methods that are called when it loads, appears, or disappears. These are called view controller lifecycle methods.
- Do your views look good on iPhone 4, 5, and 6? Do your views look good on both iOS 6 vs iOS 7/8? We will cover in class how to use Auto Layout to robustly design your views for different screen sizes and OS versions.
- After this assignment, you should understand the purpose of IBOutlets and IBActions as well as the basics of designing views and programmatically interacting with the views from the controller.
The next step is to schedule a brief phone conversation with the teaching team [here](https://www.google.com/calendar/selfsched?sstoken=UVBDTi1jVkx4<KEY>YzQzODdkNDFhZjQ0NWQyZjFiMDU3Nzg). You might have to click to subsequent weeks to find an available slot. Admission is rolling, so the sooner you schedule, the better. Once you've selected a time, **update the calendar event with a phone number to call you at**.
During the phone calls, I'll ask you a few simple language questions that may include things like: strong vs weak properties, optionals, blocks/closures, and categories/extensions. I'll also ask you about why you want to learn iOS and what apps you're interested in building.
Feel free to make any improvements to the app before we chat, I'll check it one more time right before our call. I give priority to people that demonstrate that they are willing to put a lot of time into this class. Check out these [past excellent submissions](http://courses.codepath.com/snippets/intro_to_ios/prework.md#heading-excellent-past-submissions). |
electron-userland/electron-builder | 565726146 | Title: Is it possible to run a secondary installer?
Question:
username_0: Hi !
I am bundling an .exe that requires the Visual Studio redistributable to be installed. Is it possible to run that installer during the installation of my Electron App? And if so, how would I go about setting that up?
Thanks in advance!
Answers:
username_0: I think I've answered my own question:
I need an nsis nsh script entry similar to:
```
macro customInstall
ExecWait '"$INSTDIR\resources\DPInst.exe" /sw'
!macroend
```
username_1: Can somebody enlighten my if the need to install the VC++ redist for native modules oneself, changed over the time? I have the feeling in electron 4 or 3 it was installed by the installer by default. I am confused by the different closed tickets in electron, electron-packager and electron-builder. Even more about the intended behavior in the future. Still thx @username_0
Status: Issue closed
username_0: I believe that this issue can be closed.
username_0: For future generations...
```
!macro preInit
SetRegView 64
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\My Product"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\My Product"
SetRegView 32
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\My Product"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\My Product"
!macroend
!macro customInstall
ReadRegStr $1 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}" "DisplayVersion"
StrCmp $1 "14.0.23026" installed
;not installed, so run the installer
File /oname=$PLUGINSDIR\vc_redist.x64.exe "${BUILD_RESOURCES_DIR}\..\extras\vc_redist.x64.exe"
ExecWait '"$PLUGINSDIR\vc_redist.x64.exe" /passive /norestart'
installed:
;we are done
!macroend
```
username_2: Hi Andrew
I came accross the same issue, how ever when I added the custom NSIS script I wasn't able to make an installer with yarn dist. May I ask how do you configure the builder? Thanks.
username_0: Hi there - what is the error that you're encountering? I didn't do anything special for the installer. I specified the install script and built with electron-builder as per the docs. Which platform are you building for? I can post a snippet.
username_2: Hi Andres
I'm building for Windows.
` "build": {
"directories": {
"buildResources": "build/release"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"script": "build/installer.nsi"
},
"win": {
"icon": "lib/img/logo.ico"
}
}`
and the NSIS script is as follows:
`!macro customInstall
File /oname=$PLUGINSDIR\vc_redist.x64.exe "${BUILD_RESOURCES_DIR}\..\msvc\vc_redist.x64.exe"
ExecWait '"$PLUGINSDIR\vc_redist.x64.exe" /passive /norestart'
!macroend`
When ever electron-builder gets to the custom script part it stops and give me error 1.
Any ideas would be appreciated thank you. |
xtermjs/xterm.js | 446703613 | Title: Input memory exhaustion
Question:
username_0: Forked off from https://github.com/xtermjs/xterm.js/issues/2077
The time-based input limiting contains a buffer, that gets drained only once all chunks were handled.
This way fast producers can easily exhaust memory and will crash the terminal / browser engine.
Relevant code: https://github.com/xtermjs/xterm.js/blob/af81acc50e336d3fd39b10fa4322f6949a5ba926/src/Terminal.ts#L1441-L1447
Partial fix: Trim/slice already handled chunks from the buffer.
Answers:
username_0: Trimming writeBuffer once bufferOffset reaches some threshold should be enough to fix this.
Status: Issue closed
|
vipulasri/Timeline-View | 213833555 | Title: How to implement Timeline in a Fragment with ViewPager
Question:
username_0: public class IslemlerFragment extends Fragment {
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
private RecyclerView mRecyclerView;
private TimeLineAdapter mTimeLineAdapter;
private List<TimeLineModel> mDataList = new ArrayList<>();
private Orientation mOrientation;
private boolean mWithLinePadding;
public IslemlerFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment IslemlerFragment.
*/
// TODO: Rename and change types and number of parameters
public static IslemlerFragment newInstance(String param1, String param2) {
IslemlerFragment fragment = new IslemlerFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
mDataList.add(new TimeLineModel("Item successfully delivered", "", OrderStatus.INACTIVE));
mDataList.add(new TimeLineModel("Courier is out to delivery your order", "2017-02-12 08:00", OrderStatus.ACTIVE));
mDataList.add(new TimeLineModel("Item has reached courier facility at New Delhi", "2017-02-11 21:00", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Item has been given to the courier", "2017-02-11 18:00", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Item is packed and will dispatch soon", "2017-02-11 09:30", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Order is being readied for dispatch", "2017-02-11 08:00", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Order processing initiated", "2017-02-10 15:00", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Order confirmed by seller", "2017-02-10 14:30", OrderStatus.COMPLETED));
mDataList.add(new TimeLineModel("Order placed successfully", "2017-02-10 14:00", OrderStatus.COMPLETED));
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_islemler, container, false);
mOrientation = Orientation.VERTICAL;
mWithLinePadding = true;
mRecyclerView = (RecyclerView) view.findViewById(R.id.recyclerView);
LinearLayoutManager llm = new LinearLayoutManager(getActivity());
mRecyclerView.setLayoutManager(llm);
mRecyclerView.setHasFixedSize(true);
mTimeLineAdapter = new TimeLineAdapter(mDataList, mOrientation, mWithLinePadding);
mRecyclerView.setAdapter(mTimeLineAdapter);
//Application crash
return view;
}
}
`
Answers:
username_1: @username_0 Please show crash log.
username_0: 03-13 20:16:26.518 19317-19317/com.makronik.hesaptakibi D/Zygote: CtrlSocket libc.so ctrl_sockets_set_addr pfunc is not exist!
03-13 20:16:26.528 19317-19317/com.makronik.hesaptakibi I/art: Late-enabling -Xcheck:jni
03-13 20:16:26.568 19317-19317/com.makronik.hesaptakibi D/ActivityThread: ActivityThread,attachApplication
03-13 20:16:26.588 19317-19317/com.makronik.hesaptakibi D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
03-13 20:16:26.728 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.058 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.148 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.218 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.298 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.388 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.458 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.528 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.628 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.688 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.738 19317-19317/com.makronik.hesaptakibi W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.makronik.hesaptakibi-1/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
03-13 20:16:27.738 19317-19317/com.makronik.hesaptakibi W/System: ClassLoader referenced unknown path: /data/app/com.makronik.hesaptakibi-1/lib/arm64
03-13 20:16:27.748 19317-19317/com.makronik.hesaptakibi I/InstantRun: Starting Instant Run Server for com.makronik.hesaptakibi
03-13 20:17:19.578 19317-19317/com.makronik.hesaptakibi V/HwPolicyFactory: : success to get AllImpl object and return....
03-13 20:17:19.588 19317-19317/com.makronik.hesaptakibi V/HwWidgetFactory: : successes to get AllImpl object and return....
03-13 20:17:19.628 19317-19317/com.makronik.hesaptakibi V/ActivityThread: ActivityThread,callActivityOnCreate
03-13 20:17:19.778 19317-19317/com.makronik.hesaptakibi V/ActivityThread: ActivityThread,callActivityOnCreate
03-13 20:17:19.808 19317-19317/com.makronik.hesaptakibi W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
03-13 20:17:20.038 19317-19317/com.makronik.hesaptakibi V/BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
03-13 20:17:20.038 19317-19317/com.makronik.hesaptakibi V/BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
03-13 20:17:20.038 19317-19317/com.makronik.hesaptakibi V/BoostFramework: mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
03-13 20:17:20.038 19317-19317/com.makronik.hesaptakibi V/BoostFramework: mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
03-13 20:17:20.038 19317-19317/com.makronik.hesaptakibi V/BoostFramework: mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
03-13 20:17:20.048 19317-19317/com.makronik.hesaptakibi V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@3b200ba
03-13 20:17:20.138 19317-19317/com.makronik.hesaptakibi W/AHBottomNavigation: The items list should have at least 3 items
03-13 20:17:20.168 19317-19317/com.makronik.hesaptakibi I/HwSecImmHelper: mSecurityInputMethodService is null
03-13 20:17:20.168 19317-20862/com.makronik.hesaptakibi D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi D/CubicBezierInterpolator: CubicBezierInterpolator mControlPoint1x = 0.15, mControlPoint1y = 0.7, mControlPoint2x = 0.2, mControlPoint2y = 0.98
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi D/CubicBezierInterpolator: CubicBezierInterpolator mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@2d9243f
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi D/CubicBezierInterpolator: CubicBezierInterpolator mControlPoint1x = 0.15, mControlPoint1y = 0.7, mControlPoint2x = 0.2, mControlPoint2y = 0.98
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi D/CubicBezierInterpolator: CubicBezierInterpolator mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
03-13 20:17:20.278 19317-19317/com.makronik.hesaptakibi V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@739d10c
03-13 20:17:20.398 19317-19317/com.makronik.hesaptakibi D/AndroidRuntime: Shutting down VM
03-13 20:17:20.398 19317-19317/com.makronik.hesaptakibi E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.makronik.hesaptakibi, PID: 19317
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.username_1.timelineview.TimelineView.initLine(int)' on a null object reference
at com.makronik.hesaptakibi.TimeLineViewHolder.<init>(TimeLineViewHolder.java:29)
at com.makronik.hesaptakibi.TimeLineAdapter.onCreateViewHolder(TimeLineAdapter.java:54)
at com.makronik.hesaptakibi.TimeLineAdapter.onCreateViewHolder(TimeLineAdapter.java:23)
at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6321)
at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5509)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5394)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5390)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2149)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1533)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1496)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:593)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3537)
at android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2979)
at android.view.View.measure(View.java:18930)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5976)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:18930)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1658)
at android.view.View.measure(View.java:18930)
[Truncated]
at android.view.View.measure(View.java:18930)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5976)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1486)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:765)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:647)
at android.view.View.measure(View.java:18930)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5976)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2705)
at android.view.View.measure(View.java:18930)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2154)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1248)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1484)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6238)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:884)
at android.view.Choreographer.doCallbacks(Choreographer.java:696)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$Frame
03-13 20:17:20.728 19317-19317/com.makronik.hesaptakibi I/Process: Sending signal. PID: 19317 SIG: 9
username_1: @username_0 according to log, the error lies in your `TimelineViewHolder` you might have not properly implemented `Timeline` using `findViewById`. Please check the initialization of views.
username_0: public class TimeLineViewHolder extends RecyclerView.ViewHolder {
@BindView(R.id.text_timeline_date)
TextView mDate;
@BindView(R.id.text_timeline_title)
TextView mMessage;
@BindView(R.id.time_marker)
TimelineView mTimelineView;
public TimeLineViewHolder(View itemView, int viewType) {
super(itemView);
ButterKnife.bind(this, itemView);
mTimelineView.initLine(viewType);
}
}
' public TimeLineViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
mContext = parent.getContext();
mLayoutInflater = LayoutInflater.from(mContext);
View view;
view = mLayoutInflater.inflate(R.layout.timeline_item, parent, false);
return new TimeLineViewHolder(view, viewType);
}
`
username_1: Can you please upload the project, so that I can take a look?
username_0: I found the problem
public class TimeLineViewHolder extends RecyclerView.ViewHolder {
public TextView mDate;
public TextView mMessage;
public TimelineView mTimelineView;
public TimeLineViewHolder(View itemView, int viewType) {
super(itemView);
mDate = (TextView) itemView.findViewById(R.id.text_timeline_date);
mMessage = (TextView) itemView.findViewById(R.id.text_timeline_title);
mTimelineView = (TimelineView) itemView.findViewById(R.id.time_marker);
mTimelineView.initLine(viewType);
}
}
`
Status: Issue closed
|
ItalyPaleAle/svelte-spa-router | 754051639 | Title: Svelte 3.30.0 breaks the Router Component
Question:
username_0: In the Svelte 3.30.0 update the `SvelteComponent` and `SvelteComponentDev` interfaces were changed to be strongly typed. This means that the type of imported Components is now incompatible with these interfaces leading to errors like this:
```
Type '{ "/": typeof Index; }' is not assignable to type 'RouteDefinition'.
Type '{ "/": typeof Index; }' is not assignable to type 'Record<string, typeof SvelteComponentDev | WrappedComponent>'.
Property '"/"' is incompatible with index signature.
Type 'typeof Index__SvelteComponent_' is not assignable to type 'typeof SvelteComponentDev | WrappedComponent'.
Types of construct signatures are incompatible.
Type 'new (options: Svelte2TsxComponentConstructorParameters<Partial<{}>>) => Index__SvelteComponent_' is not assignable to type 'new <Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any>(options: { target: Element; anchor?: Element; props?: Props; hydrate?: boolean; intro?: boolean; $$inline?: boolean; }) => SvelteComponentDev<...>'.
Construct signature return types 'Index__SvelteComponent_' and 'SvelteComponentDev<Props, Events, Slots>' are incompatible.
The types of '$on' are incompatible between these types.
Type '<K extends string | number>(event: K, handler: (e: { [evt: string]: CustomEvent<any>; }[K]) => any) => () => void' is not assignable to type '<K extends Extract<keyof Events, string>>(type: K, callback: (e: Events[K]) => void) => () => void'.
Types of parameters 'handler' and 'callback' are incompatible.
Types of parameters 'e' and 'e' are incompatible.
Type 'CustomEvent<any>' is not assignable to type 'Events[K]'.
```
A temporary solution is to just stick to Svelte 3.29.7, but I'm sure this will eventually need to be addressed.
I'm not exactly sure how to go about fixing something like this since I'm relatively new to Svelte. If this is something that needs to be brought to the attention of the Svelte team rather than here please let me know so I can make the appropriate issue there.
Answers:
username_1: Thanks for reporting this, I'll take a look tonight
username_2: Language-tools-maintainer here, sorry for the inconvenience. I will look into how breakage like this can possibly avoided by relaxing the `SvelteComponent` types a little or by changing something inside the language-tools definitions.
Note that the update to use the typed `SvelteComponent` is technically a breaking change because people need to use version 3.30+ of Svelte for this to work.
username_1: @username_2 thanks for chiming in!
I played around with this a bit in the morning, before starting work.
The issue is that, before the PR that implemented generic typings, I was already offering typings using the "old" format: https://github.com/username_1/svelte-spa-router/blob/v3.0.5/Router.d.ts#L162
When the new typings got merged, sadly the old ones stopped working.
I haven't finished working on the new typings and plan to look at this again tonight, but I did realize this was a breaking change and was already thinking how to communicate this.
1. The biggest issue is for people using TypeScript. I was thinking I could make svelte ^3.30.0 as peerDependency to signal to people that they should be using at least that version. I can also add to the docs that using TypeScript will require Svelte 3.30 or higher.
2. People who aren't using TypeScript shouldn't be impacted, however if they are using Svelte < 3.30.0 they will see errors in the editor (but that won't impact compile-time).
If there's a way you can relax the types, however, that would be amazing!
username_1: @username_2 I have made a code change to match the strong types, but it doesn't look like it's correct anyways: https://github.com/username_1/svelte-spa-router/commit/ba2658ec80863285dfae7044299f05ca757e64bc
It seems the types are still too strict and it won't work for a router like this. I've been thinking about this but I'm low on ideas at this point and wondering if this is something that needs to be fixed upstream :(
username_2: It needs to be fixed upstream. The problem is that typescript will always complain when `typeof SomeClassWithGenerics = Subclass` it seems. We need to revert the typed `SvelteComponent` and instead provide that functionality through a separate class.
username_1: Thanks for confirming. I've reverted my last attempt for now and we'll wait for a change upstream
username_2: This should be fixed with Svelte version 3.31.0. Nothing to do on your part @username_1 .
username_1: Thank you @username_2 for submitting a fix upstream!
@username_0 can you please confirm this is working for you too now?
Status: Issue closed
username_0: @username_1 yes this works perfectly for me! Thanks for the quick response @username_2! |
TRP-Solutions/fancy-filter | 981230618 | Title: clientside api to remember concurrent filter changes
Question:
username_0: When the server is slow to respond and the clientside filters change before the previous change is finished on the server, the client should be able to remember the latest changes to the filter to prevent mismatch.<issue_closed>
Status: Issue closed |
smith-chem-wisc/MetaMorpheus | 327902127 | Title: Higher intensity experimental peaks aren't prioritized
Question:
username_0: For two experimental peaks that are close in mass, the lower m/z peak is matched to the theoretical peak when we should instead be prioritizing the higher intensity peak (or perhaps the one closest in mass?)
This is a significant problem in low res MS2 data.
Example:
Product tolerance = 0.01 Da.
Theoretical peak: 500.010 Da
Experimental peaks:
500.005 Da intensity: 1e4
500.010 Da intensity: 1e7
The 1e4 peak is currently being used for score calculation.
Answers:
username_0: I'm running into this again for spectral comparisons. It'd be nice to have an elegant solution that doesn't triple the comparison time...
username_0: Does anybody have an opinion on if we should prioritize the highest intensity or the closest mass?
From the previous example, if there was an additional experimental peak (500.020 Da intensity: 2e7), which should we count?
I am leaning the closest mass, since it should be less computationally demanding and I have a solution for it already...
username_1: I think highest intensity would be best, since closest mass is more liable to pick noise. I don't feel super strongly about it though. Needs evidence either way... RT vs predicted RT, for example
username_1: closest mass is used now, btw, not lowest m/z that meets the mass tolerance |
influxdata/telegraf | 1005609725 | Title: Windows Perfmon Counters - Plugin fails to start when dynamic instances are added for monitoring
Question:
username_0: ### Relevant telegraf.conf:
[[inputs.win_perf_counters]]
[[inputs.win_perf_counters.object]]
ObjectName = "Connected Clients"
Instances = ["*"]
Counters = ["Messages Received"]
Measurement = "client_connections"
### System info:
telegraf-1.19.3_windows_amd64
Windows Server 2016 Standard
Windows 10 Enterprise
### Steps to reproduce:
ObjectName = "Connected Clients"
Instances = ["*"]
Counters = ["Messages Received"]
Measurement = "client_connections"
In the above example, whenever a new client connects to my server, I create a dynamic perfmon instance to that client under the perfmon object "Connected Clients". Instance name includes client ip and the port it is connected on. As I learn clients when connected, I create a perfmon instance dynamically. I have counters to track messages sent, messages received, message queue size etc...
As I don't know the instance names, I am using the wild card option to get counters for all instances.
Telegraf input plugin fails to start when there are no connected clients, as it doesn't find any perfmon instance to pull the values. As it fails to start, it can't monitor any other counters.
### Expected behavior:
As it is a wild card fetch, I expect Telegraf input plugin to ignore this error when there are no instances to monitor.
Please note that, when I don't have perfmon object, it works fine. When I have perfmon object but no instances, it fails.
### Actual behavior:
Telegraf input plugin fails to start.
### Additional info:
E:\telegraf>E:\telegraf\telegraf.exe --config E:\telegraf\telegraf.conf --config-directory E:\telegraf\conf --test
2021-09-22T20:44:34Z I! Starting Telegraf 1.19.3
2021-09-22T20:44:35Z E! [inputs.win_perf_counters] Error in plugin: error while getting value for counter \Connected Clients(*)\Messages Received: The returned data is valid.
2021-09-22T20:44:35Z E! [telegraf] Error running agent: input plugins recorded 1 errors
Answers:
username_0: Troubleshooting this, I found that using wild cards expansion and counters refresh interval takes care of dynamic instances.
inputs.conf:
[inputs.win_perf_counters]]
UseWildcardsExpansion = true
CountersRefreshInterval = "1m”
[[inputs.win_perf_counters.object]]
…
Details:
-------
Source file: telegraf\plugins\inputs\win_perf_counters.go
When UseWildcardsExpansion is set, all available counters are expanded and GetFormattedCounterValueDouble is called.
When UseWildcardsExpansion is NOT set, GetFormattedCounterArrayDouble is called.
GetFormattedCounterArrayDouble
- calls PdhGetFormattedCounterArrayDouble twice
- expects return code PDH_MORE_DATA on first call
- expects return code ERROR_SUCCESS on second call
GetFormattedCounterValueDouble
- calls PdhGetFormattedCounterValueDouble once
- expects return code ERROR_SUCCESS
When dynamic instances are not yet created, PdhGetFormattedCounterArrayDouble returns ERROR_SUCCESS on the first call itself. As per the current implementation, this is an Error condition so the plug in fails.
Fix:
---
We can either fix GetFormattedCounterArrayDouble to accept ERROR_SUCCESS on first call and treat this as no data condition or document to use wild cards expansion and counters refresh interval to take care of dynamic instances.
Suggestions? |
magda-io/magda | 698617652 | Title: Helm Chart Auto Documentation
Question:
username_0: **Is your feature request related to a problem? Please describe.**
Currently, we don't have good documentation for our helm charts. As helm chart value files are the main configuration interface when building a new helm app on top of Magda. We should provide documents of all available configuration options of all charts.
[helm-docs](https://github.com/norwoodj/helm-docs) is a tool can auto-generate helm chart doc in markdown format (from chart values file & comments in it). We even can setup [pre-commit hook](https://pre-commit.com/) to make docs auto-updated (and commit ) when value files are changed.
This ticket is about setup `helm-docs` so that all charts comes with a `readme.md` document.
After that, we can refine-tune the comments in values to improve the documentation quality --- but we can do this gradually in a separate ticket.<issue_closed>
Status: Issue closed |
jiggzson/nerdamer | 261338326 | Title: factor on master & dev is broken
Question:
username_0: nerdamer('factor(x^2+2x y+y^2)') => 2*x*y+x^2+y^2
Answers:
username_1: @username_0 I literally just ran this from dev and I get (x+y)^2. You must have some setting turned on. This is exactly why I don't want to allow division by zero because then I get issues like this.
username_0: Maybe only on master, then. I must had done something wrong. If you can veify that this issue is not on master, then I must had done something wrong in my pre-loading-nerdamer script.
username_0: Still not fixed in 0.7.13.
Reproduction steps:
1. Open http://js.do
2. Delete all code
3. Enter `<script>`
4. Copy nerdamer.core.js and Algebra.js from 0.7.13 into there
5. Enter `document.writeln(nerdamer('factor(x^2-y^2)'));</script>`
6. Click 'Run code'
7. `-y^2+x^2` is printed
username_0: pfactor(6) => 6
The prime factorize function is also broken.
username_0: factor(6(2a+2))
=> (1+a)*(2) (@demo)
=> 1+a (@master / @dev) |
topcoder-platform/community-app | 360462667 | Title: Size of the 'Change Password' button enable and disable states are different
Question:
username_0: ## Ref:
@username_1
Answers:
username_0: https://www.screencast.com/t/bVcMWxw6
username_1: Contest https://www.topcoder.com/challenges/30072049 has been created for this ticket.<br/><br/>```This is an automated message for thomaskranitsas via Topcoder X```
username_1: Contest https://www.topcoder.com/challenges/30072049 has been updated - the new changes has been updated for this ticket.<br/><br/>```This is an automated message for thomaskranitsas via Topcoder X```
username_1: @topcoder-platform/topcodercompetitors this is open for pickup
username_2: @username_1 need changes on topcoder-react-ui-kit, do u want me to change it there? or manage hereitself?
username_2: @username_1 found solution doin it.
username_2: @username_1 #1616
Status: Issue closed
username_1: Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30072049<br/><br/>```This is an automated message for thomaskranitsas via Topcoder X``` |
oshi/oshi | 991663982 | Title: udev library issue
Question:
username_0: My monitor runs on a very old Linux system and does not have the udev library. How do I not use the udev library
Answers:
username_1: Given that OSHI supports Linux distros 2.6 and later, udev has been an assumption. There's not really a built in backup.
In modern distros, udev is just an abstraction to things you could obtain from sysfs and/or the /dev directory, but those haven't been coded up.
So unfortunately the answer is either:
- Install udev on your system if possible to build it from source
- Don't use OSHI's features that rely on UDEV (generally disk devices and usb devices) and program your own workarounds
- Upgrade to a newer distribution
Status: Issue closed
username_0: Ok, thank you
username_1: If it's helpful, the initial implementation of Linux USB Devices did not use Udev and you can see it here:
https://github.com/oshi/oshi/blob/287732b3adc266be6716ac88a5e599afbcbbfc71/src/main/java/oshi/hardware/platform/linux/LinuxUsbDevice.java
You could probably adapt something similar to the disks, although the initial implementation used udev so there's nothing previous you could use as an example. |
bitstadium/HockeySDK-Android | 173356555 | Title: Util.isConnectedToNetwork crashes if ACCESS_NETWORK_STATE is revoked / not granted
Question:
username_0: Since Android M[arshmallow], the user can revoke previously granted permission groups, such as network state access. The CrashManager#sendCrashes() method handles many obstacles gracefully, however this one causes a SecurityException with the following trace:
java.lang.SecurityException: ConnectivityService: Neither user 10171 nor current process has android.permission.ACCESS_NETWORK_STATE.
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:1538)
at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:923)
at net.hockeyapp.android.utils.Util.isConnectedToNetwork(SourceFile:271)
at net.hockeyapp.android.CrashManager.sendCrashes(SourceFile:558)
at net.hockeyapp.android.CrashManager.sendCrashes(SourceFile:546)
at net.hockeyapp.android.CrashManager.execute(SourceFile:204)
at net.hockeyapp.android.CrashManager.register(SourceFile:143)
at net.hockeyapp.android.CrashManager.register(SourceFile:128)
There is no clean way to bypass this check and retry blindly (which is a perfectly legitimate scenario) other than intercept the SecurityException and call CrashManager#submitStackTraces() directly.
Answers:
username_1: Hi @username_0, thanks for reporting this.
In my testing, the `ACCESS_NETWORK_STATE` permission is not presented to the user for granting, it is in the [Normal Permissions group](https://developer.android.com/guide/topics/security/normal-permissions.html) - so to my knowledge, the user can only revoke this permission using ADB.
To mitigate the crash:
The originating method `Util.isConnectedToNetwork(…)` is used in several places. As the crash reporting does not have UI at this point, we can only log an error to the console then.
username_0: Logging is good enough. I would also suggest returning true then so that code that relied on prior network availability knowledge tried the network operation anyway. (And if it fails, it would result in nothing worse than a further retry at a later time.)
username_1: Unfortunately this is not entirely possible - some of the network calls would fail and could cause crashes. The permission not being granted is an edge case as laid out before, so I think the better behavior is to stop right there.
username_0: Unfortunately, I would consider it in irrecoverable regression and advise my team to stick to the existing version then.
1. No I/O operation can be guaranteed to complete in a predictable fashion. Going out of network coverage / switching networks / hitting a "Sign in to WiFi" proxy wall / radio jam from magnetic storms would stay possible in all cases.
2. Network calls throw a checked IOException. There is no way to miss it. There is also no way to mishandle it by rethrowing it as unchecked (RTE etc.) without a rainfall of crashes for reasons listed in (1).
3. On the contrary, assuming "no right to know the network state" to mean "no network" would cut reports from users deliberately revoking the permission entirely.
Another _graceful_ way to go (other than assuming "true") would be giving the client app control over the default value.
An even more graceful way to go would be extracting the condition as a settable/injectable strategy.
username_1: We have had weird uncaught exceptions and error scenarios even though we employed checks in the respective areas on several occasions. Unfortunately, errors are often not reproducible because only limited information is available. This prompted us to add this network connectivity check in the CrashManager.
Generally speaking, what would be the motivation of a user to be deliberately revoking the permission to access the network state but allowing for the app to try and transmit data anyway without e.g. revoking the `INTERNET` permission anyway?
Also, I tried revoking the `ACCESS_NETWORK_STATE` permission via ADB - it only returned
```
Operation not allowed: java.lang.SecurityException: Permission android.permission.ACCESS_NETWORK_STATE is not a changeable permission type
```
So, how would one revoke this particular permission anyway?
username_0: However the motivation the scenario is legitimate, and whether or not the feature is available on a specific device, there are firmwares in the wild giving that flexibility.
This is the report we have: https://rink.hockeyapp.net/manage/apps/11060/app_versions/34145501/crash_reasons/133684546
We can ofc speculate (e.g. app just installed prior to permission request and crashed fresh on installation) but I would rather act out of evidence. It _is_ possible not to have the permission. It is a legitimate idea not to allow _any_ application have it. Other application developers may decide to not request the permission at all - and you are saying they will be unable to use HockeyApp by design.
username_0: ...and I was right about the firmware. The issue is predominantly affecting LG VS990, LG-H900, LG-H901 and like on OS 6.0 (I did not say "exclusively" to avoid paging through all the 1600 traces).
username_0: Accessing - even merely reading - the network state (i.e. the way the user connects to the network, which includes carriers, WiFi SSIDs etc.) is not critical to the functionality of a communication app; hence, it SHOULD NOT be exposed; and if the application deliberately requests it, then something is wrong with the app and the permission MUST NOT be exposed. I am not obsessed with security, but I know there are a lot of people who do, and many of them for good reasons.
username_1: According to the official documentation, the `ACCESS_NETWORK_STATE` permission is granted automatically upon installation, when it is listed in the manifest. The documentation is not clear on whether permissions granted this way can be revoked later through ADB – our test devices don't allow for changing the permission later, so we can't verify it.
How did you find out about the affected devices, are those devices affected by the crash group you are referring to?
We don't have access to customers crash reports for privacy reasons. I'd suggest opening a [support request](https://support.hockeyapp.net) and share the stack trace with us there.
The application developer does not have to request this permission - we are requesting it in our manifest and this gets merged into the apps manifest. So I don't see how it would go amiss for users unless they actively revoke the permission _after_ app installation.
In theory, accessing the network state would not be relevant to sending data. But like I said, in practice we had issues where this was the only safe guard against weird crashes caused by a network connection not being available.
After all, the SDK is open source - if you feel the need to alter the way it behaves you can create a PR for the proposed solution.
username_0: That's what I will probably do. Thanks you for providing the context!
Status: Issue closed
|
sunspot/sunspot | 22262256 | Title: Sunspot_rails installation problem in production - database configuration does not specify adapter
Question:
username_0: Versions are as such
```
Ruby (1.9.3)
rails (3.2.13)
sunspot (2.0.0)
sunspot_rails (2.0.0)
mysql (2.9.1)
mysql2 (0.3.13)
```
Answers:
username_1: You should not be using the sunspot_solr gem in production. A standalone Apache Solr instance should be deployed and your sunspot.yml should be pointing to that.
Closing this due to age though.
Status: Issue closed
|
himananiito/livedl | 544052764 | Title: ブラウザを開かないとニコ生の録画が開始されない
Question:
username_0: 使い方のページ(https://himananiito.hatenablog.jp/entry/livedl#%E4%BD%BF%E3%81%84%E6%96%B9%E6%A6%82%E8%A6%81)で、”録画に失敗しないようにするため、同じ配信をブラウザでは開かないようにして下さい。”と記載がありますが、ブラウザで視聴しないと録画が開始されません。cui版です。
Answers:
username_1: ニコ生の仕様が変わったらしいので
ブラウザで視聴開始してから録画開始が必須になったみたいです。
参照→ https://github.com/himananiito/livedl/issues/45#issuecomment-568457847 |
INCATools/ontology-development-kit | 357335742 | Title: Specifying IAO as a dependency triggers some Null Pointer Exceptions and then the target build fails.
Question:
username_0: I am running ODK 1.1.4 on OS X 10.11.16 with Docker CE 18.06.0-ce-mac-70.
See the attached terminal capture for details.
[ODK-IAO-failure.txt](https://github.com/INCATools/ontology-development-kit/files/2353958/ODK-IAO-failure.txt)
Auxiliary issue: I specified the -vvv flag on the command line. I still got truncated stack traces and the message to use the -vvv flag.
Answers:
username_0: I decided to use the -f flag to work around this issue, and now I'm seeing some of the same ROBOT errors in the Travis CI log: https://travis-ci.org/data2health/credit-ontology/jobs/425038956
username_1: @username_2 Is this related to
https://github.com/ontodev/robot/issues/289
or
https://github.com/owlcollab/owltools/issues/260
username_1: You can reproduce this quite simply running your example, instead of:
```
./seed-via-docker.sh -d po ro pato -u username_2 -t "Triffid Behavior ontology" triffo
```
add IAO:
```
./seed-via-docker.sh -d po ro pato iao -u username_2 -t "Triffid Behavior ontology" triffo
```
username_2: Correct, the robot ticket is a manifestation of the same error.
One approach would be to simply abandon making obo files as default in odk. Many communities don't use these. Yet I'd be loathe to do this. The bioinformatics community served by OBO makes heavy use of these. And errors in making the obo file are often manifestations of underlying structural issues in ontologies that need to be fixed
Note I get a different error for `./seed-via-docker.sh -d po ro pato iao -u username_2 -t "Triffid Behavior ontology" triffo`
```
robot convert -i triffo.owl -f obo -o triffo.obo.tmp && mv triffo.obo.tmp triffo.obo
2018-09-06 18:28:39,516 ERROR org.obolibrary.obo2owl.OWLAPIObo2Owl - error executing obo id to IRI
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at org.obolibrary.obo2owl.OWLAPIObo2Owl.oboIdToIRI(OWLAPIObo2Owl.java:1664)
at org.obolibrary.oboformat.writer.OBOFormatWriter$OWLOntologyNameProvider.getName(OBOFormatWriter.java:1182)
at org.semanticweb.owlapi.oboformat.OBOFormatRenderer$1.getName(OBOFormatRenderer.java:74)
at org.obolibrary.oboformat.writer.OBOFormatWriter.write(OBOFormatWriter.java:325)
at org.obolibrary.oboformat.writer.OBOFormatWriter.write(OBOFormatWriter.java:203)
at org.semanticweb.owlapi.oboformat.OBOFormatRenderer.render(OBOFormatRenderer.java:88)
at org.semanticweb.owlapi.oboformat.OBOFormatStorer.storeOntology(OBOFormatStorer.java:42)
at org.semanticweb.owlapi.util.AbstractOWLStorer.store(AbstractOWLStorer.java:99)
at org.semanticweb.owlapi.util.AbstractOWLStorer.storeOntology(AbstractOWLStorer.java:64)
at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.saveOntology(OWLOntologyManagerImpl.java:1302)
at org.obolibrary.robot.IOHelper.saveOntology(IOHelper.java:559)
at org.obolibrary.robot.IOHelper.saveOntology(IOHelper.java:500)
at org.obolibrary.robot.ConvertCommand.execute(ConvertCommand.java:167)
at org.obolibrary.robot.CommandManager.executeCommand(CommandManager.java:246)
at org.obolibrary.robot.CommandManager.execute(CommandManager.java:190)
at org.obolibrary.robot.CommandManager.main(CommandManager.java:139)
at org.obolibrary.robot.CommandLineInterface.main(CommandLineInterface.java:53)
Caused by: java.lang.NullPointerException
at org.obolibrary.obo2owl.OWLAPIObo2Owl.translateShorthandIdToExpandedId(OWLAPIObo2Owl.java:1766)
at org.obolibrary.obo2owl.OWLAPIObo2Owl.oboIdToIRI_load(OWLAPIObo2Owl.java:1705)
at org.obolibrary.obo2owl.OWLAPIObo2Owl$1.load(OWLAPIObo2Owl.java:81)
at org.obolibrary.obo2owl.OWLAPIObo2Owl$1.load(OWLAPIObo2Owl.java:77)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 20 more
Use the -vvv option to show the stack trace.
Use the --help option to see usage information.
Makefile:50: recipe for target 'triffo.obo' failed
make: *** [triffo.obo] Error 1
rm imports/iao_terms_combined.txt imports/pato_terms_combined.txt imports/po_terms_combined.txt imports/ro_terms_combined.txt
ERROR RUNNING: cd src/ontology && make prepare_release
Exiting. Run with '-f' to force execution and ignore errors at ./seed-my-ontology-repo.pl line 330.
```
username_2: A subset of these are fixed by making the obo writing be less script use `--check false` in the conversion command in the makefile
username_0: One of the side effects of using the -f flag here is that the iao_imports file was missing a bunch of annotations, which we've added back manually.
As a relative ODK novice, what would I need to do in my repo to get my ontology to build? I notice Chris mentioned above that this is related to building the OBO version, is there an option for me to turn that off?
username_1: Hey! I have this issue here as high priority, but I won't get to it before next week. Is it an option to remove IAO from the imports for now, import IAO manually into your edit file and remove it again when we have fixed this? In order to remove it, you can simply delete the IAO entry in the Makefile (IMPORT variable), or, if you start from scratch, just leave it out? Is that an option?
username_0: Possibly? I'll have to take a look because I'm not very familiar with how the ODK is structured, but this does seem like something I can figure out. Looking forward to the fix!
username_1: For now, we will go for the solution that simply avoids checking whether an ontology, for example an import, corresponds to valid OBO. In order to really tighten things up, it would be good if ROBOT would allow a flag like --check warning, instead of --check false, so we could get at least a print in the logfile that tells us that a source ontology does not confirm to the OBO format @rtauber . :) So if you check out the latest ODK, creating a new ontology with IAO, or any other import for that matter, should now work.
username_2: Note that the "side-effect" of the OBOFormat writer linting your OWL (e.g. to check cardinality of various annotation assertions) should now be largely subsumed by the awesome robot report mechanism. This is also more flexible, so unlike the OBOWriter you aren't locked in to having max cardinality for rdfs:comment.
username_0: So I have two projects created with the last release, and we've already made modifications to them. I don't want to lose that work. Is there a way to implement this fix in our repositories, or do I need to save a copy of my -edit.owl files and recreate the repository with the latest ODK?
username_0: OK, so I cloned the ODK repo and used it to create a new version of one of my ontologies with IAO imported. That worked, so I think this bug has been fixed.
Then I created and checked out a new branch in my old repo, called "latest-odk". I copied and committed the files from the newly generated repo to that branch, except for the changes in the -edit.owl and -idranges.owl files that I wanted to keep. So I think I have a branch that contains both the work I want to save and the files/structure of the latest ODK. I want to successfully build in that branch before I merge into master, and I'm hitting some problems there. Time for a new ticket.
Status: Issue closed
username_1: I will close this in favour of the other now open tickets. Please re-open if necessary. |
oblador/react-native-keychain | 725425375 | Title: Error User interaction is not allowed on iOS
Question:
username_0: When calling Keychain.getGenericPassword() I am receiving a `User interaction is not allowed` error.
The options I use when setting the item is `const options = { service, accessible: Keychain.ACCESSIBLE.ALWAYS };`
Version: 6.2.0
Status: Issue closed
Answers:
username_0: When calling Keychain.getGenericPassword() I am occasionally receive a `User interaction is not allowed` error.
The options I use when setting the item is `const options = { service, accessible: Keychain.ACCESSIBLE.ALWAYS };`
Version: 6.2.0
Status: Issue closed
username_1: @username_0 You closed, reopened and closed, did you find something?
username_0: The issue was a cached keychain with the wrong access, didn't realise it's not cleared on app uninstall
username_2: Hi @username_0 I'm having the same error message, how did you manage to solve the issue?
username_0: I ended up just changing the key along with the updated accessibility option |
rozap/exshape | 233092972 | Title: parts are in reversed order
Question:
username_0: Example file: Zillow NY neighborhoods boundaries - https://www.zillowstatic.com/static/shp/ZillowNeighborhoods-NY.zip
```pry(8)> name
"<NAME>"
pry(9)> parts
[0, 247]
pry(10)> points
[[%Exshape.Shp.Point{x: -73.85608525799972, y: 40.65037135900031},
%Exshape.Shp.Point{x: -73.85674782907176, y: 40.65132123254244},
%Exshape.Shp.Point{x: -73.85736016361085, y: 40.65206964142362},
%Exshape.Shp.Point{x: -73.85822196777701, y: 40.65250054350653},
%Exshape.Shp.Point{x: -73.85867554891695, y: 40.65297680370385}],
[%Exshape.Shp.Point{x: -73.85892501854421, y: 40.65345306390082},
%Exshape.Shp.Point{x: -73.85915180911427, y: 40.653997361268885},
%Exshape.Shp.Point{x: -73.8594919949693, y: 40.65442826335197},
%Exshape.Shp.Point{x: -73.85962806931114, y: 40.6547684492071},
%Exshape.Shp.Point{x: -73.86037647819232, y: 40.65535810468923},
%Exshape.Shp.Point{x: -73.86073934310458, y: 40.655584895259196},
%Exshape.Shp.Point{x: -73.86155578915668, y: 40.65581168582934},
%Exshape.Shp.Point{x: -73.86216812369584, y: 40.65619722979836},
%Exshape.Shp.Point{x: -73.86230419803786, y: 40.65669616905236},
%Exshape.Shp.Point{x: -73.86239491426589, y: 40.65719510830654},
%Exshape.Shp.Point{x: -73.86268633099984, y: 40.65760322400049},
%Exshape.Shp.Point{x: -73.86317099999962, y: 40.65827700000064},
%Exshape.Shp.Point{x: -73.86150799999977, y: 40.659050000000114},
%Exshape.Shp.Point{x: -73.86121299999962, y: 40.65915400000019},
%Exshape.Shp.Point{x: -73.86075274639505, y: 40.659290117556},
%Exshape.Shp.Point{x: -73.86074299999972, y: 40.6592930000005},
%Exshape.Shp.Point{x: -73.86027299999982, y: 40.65943200000046},
....
```
I am really think first part should be 247 points length and not 5. It's just messing polygons (it's not closed, look at first and last points).
Answers:
username_1: Yep you're right. Parts should be `[247, 5]`, and since parts is wrong, the rings in the polygon are also wrong.
Thanks for filing the issue, looking into this now.
username_1: @username_0 thanks for filing this, i've fixed it and published to hex as `0.2.6`
Status: Issue closed
|
obophenotype/c-elegans-gross-anatomy-ontology | 456257151 | Title: 'intestinal muscle' part_of intestine?
Question:
username_0: @username_1
I noticed that the term:
intestinal muscle (WBbt:0005796)
is asserted to be "part of" the intestine (WBbt:0005772). I wouldn't have considered the intestinal muscle to be part of the intestine, but rather part of the alimentary system as a whole. The definition of "intestine" does not appear to accommodate the "intestinal muscle" as part. I would suggest/request that we remove the "part_of intestine" axiom for "intestinal muscle" and instead add the "part_of alimentary_system" axiom.
This comes up because a user is asking for genes expressed in the intestine, but if I use the WormBase Ontology Browser to get the list of genes expressed in the intestine or any of its parts, this will include genes expressed in the intestinal muscle, which I don't think is what they are looking for.
What do you think?
Answers:
username_1: In MA and FBbt, muscles of the intestine are related to intestines with part_of. Thus, I am reluctant to remove this relationship in WBbt. It may be prudent to inquire Daniela to see if her curation practices are consistent with the intent of the ontology structure. But I don't think WBbt is wrong in this regard.
username_0: Hmm, OK. Yes, I do think we should consult Daniela as well. I guess I feel there is then a discrepancy between the existing definitions of intestine and one in which the intestinal muscle would be included as part. For example, the WormAtlas glossary for intestine:
https://www.wormatlas.org/glossary/iglossary.htm#intestine
The definition of "intestine" begins:
"A chain of very large cuboidal cells which all descend from a common precursor, the E founder cell and form a wide central lumen lined by many microvilli that form a brush border. Food passes from the posterior pharynx to the intestine where it is digested and then on to the rectum which processes the waste products for excretion."
I don't see any part of the definition in WormAtlas or within the anatomy ontology itself that suggests that it includes the muscle component. There is the WormAtlas definition for "Gut":
https://www.wormatlas.org/glossary/gglossary.htm#gut
that reads:
"A general term which may refer both to the intestine and to related muscles and valves which regulate intake or outflow of its contents."
which may be a more appropriate part_of parent for intestinal muscle. I guess my biggest issue with it is that when people use WOBr to extract intestinally-expressed genes, I would think they are looking for genes expressed in the int cells (derived from E, as in the definition), not the intestinal muscle cells.
username_1: Intestinal cell WBbt:0005792 is for those who look for exclusively E-derived cell gene expression. Perhaps WA's intestine definition is more in line with the fact that not all nematode intestines have associated muscles. Perhaps gut in nematodes is a better counterpart of intestine in mammals.
username_0: OK, yeah, that makes sense
username_0: @username_1
Can we revisit this after our discussion with <NAME>? |
sshnet/SSH.NET | 221619386 | Title: executing telnet command , result empty
Question:
username_0: hello,
I can connect to server with
var connectionInfo = new KeyboardInteractiveConnectionInfo(ip, 22, username);
connectionInfo.AuthenticationPrompt += delegate (object sender, AuthenticationPromptEventArgs e)
{
foreach (var prompt in e.Prompts)
{
if (prompt.Request.Equals("Password: ", StringComparison.InvariantCultureIgnoreCase))
{
prompt.Response = "password";
}
}
};
but when i try executing telnet command, I do not seem to succeed. (maybe i should run async or wait)
var sshclient = new SshClient(connectionInfo)
var terminal = sshclient.RunCommand("telnet xxx.xxx.xxx.xx 9819" + Environment.NewLine);
log.Info("Command>" + terminal.CommandText);
log.Info("Result>" + terminal.Result);
after telnet, i execute other commands and all of them fails (error: unknown command, i presume the telnet command failed, so the following ones also fail)
Answers:
username_1: If you run something basic like 'ls' does it still report unknown command? Just wondering if it's actually telnet that's giving the error, not ssh.
username_2: @username_0 could you please provide more details and answer to @username_1 question?
username_3: This is because you are using RunCommand when you establish a connection you do not start a shell on the host, for that after connection you will need to create a stream from the connection, this will create a terminal that you can issue and read from. RunCommand will simply do an exec on the system and close the process so it calls the telnet command and closes it and then you are sending other commands thinking that the connection retains a state.
>
Status: Issue closed
|
emergenzeHack/covid19italia_segnalazioni | 589884622 | Title: Consegne e commissioni
Question:
username_0: <pre><yamldata>
Indirizzo: Via Taranto, 44, 00182 Roma RM, Italia
Link: https://www.deliveryroma.it/esercente/enoteca-verso/
Nome attività: <NAME>
Posizione: 41.8840145 12.517281
Telefono: '0670454326'
Zona di Consegna: <NAME>, <NAME>, Appio-Latino, Aventino, Centro,
Esquilino, Prenestino-Labicano, Tuscolano
</yamldata></pre>
Answers:
username_0: Sembra che questa segnalazione non sia geolocalizzata. Ho automaticamente aggiunto 41.8840145 12.517281 (Via Taranto, 44, 00182 Roma RM, Italia) come coordinate. Per favore, controlla <a href='https://nominatim.openstreetmap.org/search.php?q=41.8840145+12.517281&polygon_geojson=1&viewbox='>qui</a> se sono corrette. In caso positivo, rimuovi pure la label 'Posizione da verificare' da questa Issue, altrimenti, procedi a correggere o rimuovere la posizione come spiegato <a href='https://github.com/emergenzeHack/covid19italia/wiki/Lavorare-sulle-segnalazioni#aggiungere-geolocalizzazione'>qui</a>.
Status: Issue closed
|
EOSIO/eosjs | 390509782 | Title: Including the eosjs in a typescript project breaks tsc build
Question:
username_0: **Version of EOSJS**
20.0.0-beta2 , maybe earlier. Doesn't show with the 16.x versions.
**Describe the bug**
We are including eosjs in a firestore backed node project. When adding
```
"eosjs": "20.0.0-beta2",
```
in package.json running tsc on the project directory returns with a code 2, which unfortunately breaks the firestore build process.
**To Reproduce**
Steps to reproduce the behavior:
see above.
**Expected behavior**
Return an exit code of 0
**Screenshots**
none
**Desktop (please complete the following information):**
- OS: Mac Os
- Node: 8.2.1
- tsc: 2.8.3, and 3.2.2
**Additional context**
Add any other context about the problem here.
Answers:
username_1: Can you show the output from your build failure? There were significant API changes in version 20.
username_0: tsc just returns a code 2. That's the only output I get. I'll look a bit more into this over the weekend and will provide some more feedback.
username_2: Not enough information to reproduce. Current instructions for including eosjs in projects lives in https://github.com/EOSIO/eosjs/blob/master/README.md
Status: Issue closed
|
ioBroker/ioBroker.admin | 957291188 | Title: Error in GUI!
Question:
username_0: TypeError: e.props.repository is undefined
value https://192.168.178.65:8081/static/js/main.44b5e404.chunk.js:2
value https://192.168.178.65:8081/static/js/main.44b5e404.chunk.js:2
value https://192.168.178.65:8081/static/js/main.44b5e404.chunk.js:2
Wo https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Io https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Ui https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Cl https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
_l https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
El https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
ml https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Ga https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
unstable_runWithPriority https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Wa https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Ga https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
Ua https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
hl https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
enqueueSetState https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
setState https://192.168.178.65:8081/static/js/5.acc635a4.chunk.js:2
value https://192.168.178.65:8081/static/js/main.44b5e404.chunk.js:2
getAdaptersInfo https://192.168.178.65:8081/static/js/main.44b5e404.chunk.js:2
Answers:
username_0: TypeError: e.props.repository is undefined
value Adapters.js:1350
value Adapters.js:1302
value Adapters.js:1613
React 8
unstable_runWithPriority scheduler.production.min.js:18
React 6
value Adapters.js:600
getAdaptersInfo Adapters.js:674
promise callback*a/o.getAdaptersInfo Adapters.js:668
value Adapters.js:325
promise callback*value Adapters.js:325
value Adapters.js:314
React 2
unstable_runWithPriority scheduler.production.min.js:18
React 4
unstable_runWithPriority scheduler.production.min.js:18
React 8
unstable_runWithPriority scheduler.production.min.js:18
Xt React
r helpers.ts:87
_wrapEventTarget trycatch.ts:185
I instrument.ts:559
React 8
e index.js:22
1426 index.js:47
u (index):1
r (index):1
t (index):1
<anonymous> main.44b5e404.chunk.js:2
username_1: Which version of admin? In 5.1.19 it should be fixed.
username_0: Thanks for the help. was due to the admin.
I have now 5.1.19 and there is no more error.
THANK YOU.
Sorry, my english is very bad :)
Status: Issue closed
|
a7359475/layaair-cmd | 293116962 | Title: linux atlas-generator
Question:
username_0: 
Answers:
username_1: 包里带的二进制文件是 mac 下的, linux 下没有这个.
p.s. 其实上传二进制并不见得好, 远不如源码方便. 特别是有些三方工具比如 guetzli 就更没必要了.
https://github.com/google/guetzli
username_1: 有个哥们自己动手重写了一个
https://github.com/jideam5/atlas-generator |
xojs/xo | 562065979 | Title: Cannot `pkill xo`
Question:
username_0: 0. Clone Got or any other npm package.
1. Rename `node_modules` to `node_modules_something_else`.
2. Run `xo`.
3. Open another terminal and run `pkill xo`.
4. No effect, xo runs as usual using 100% CPU.
Answers:
username_1: It's a feature meant to keep you warm during the cold polish winters.
username_1: Yeah, I can reproduce this on macOS too even with latest `xo`.
username_2: reproduced on macOS with BigSur |
superphy/version-1 | 94995254 | Title: Gene tree not displaying properly
Question:
username_0: Looking at this gene page: .../genes/info?amr=2899618, all the nodes in the gene tree occupy essentially one spot on the entire grid. Might be a scaling issue (i.e. branch length ~0)
Answers:
username_0: All gene sequences are identical, so i guess the tree is correct. |
RobertsLab/resources | 922792670 | Title: Mac Mini in FTR 230 dead
Question:
username_0: At long last the Mac Mini (genefish) is dead (tried turning it on today, was not successful). Not sure if there's interest in replacing it. My workflow involved running things on genefish since I could easily ScreenShare into it, but I may have been the only one using it.
Answers:
username_1: I don't think the computer's dead.
There was a power outage earlier this week and I think that may have tripped something. I say this because I can't access Owl either.
It's possible they were both plugged into the battery backup power unit.
Can you please verify that the battery backup unit is powered on (it's the big black box to the right of the TV)?
username_1: Also, it might be easier to do this via Zoom, so I can see things and help direct you more efficiently.
username_1: You should be able to easily do this with Ostrich (which is a much more powerful computer), as it is also Mac OS.
username_0: Mac Mini + (hopefully) Owl should be back online. Turned the power box back on.
Status: Issue closed
|
tabler/tabler | 548644625 | Title: instructions for minimal dashboard
Question:
username_0: I have the demo dashboard running but can’t find any instructions beyond installation. How would one create ‘hello world’ in Tabler?
Answers:
username_1: @username_0 in tabler demo you can find `empty.html` with empty sample :)
Status: Issue closed
|
yousuketanaka/phptraining | 163505568 | Title: フォームから入力された値をechoで表示してみましょう。
Question:
username_0: #1 はすぐ終わると思いますので 続けてこちらもやってみましょう。
- 「HTMLのフォームを作成」して
- 「フォームから送信した情報をechoで画面に表示」
してみましょう。
難しい場合は「HTML フォーム」から調べてみるといいでしょう(すでに学ばれているのでこちらもすぐかもしれませんね)。
Answers:
username_1: 承知しました。
username_1: 作成したファイルをgitにプッシュする際に以下の添付の表示が出てきました。これを解決するために幾つかのサイトで調べて試したのですが、上手くいきません。確認するキーワードはありますでしょうか?
https://www.evernote.com/l/ARs86lEroTdDXb-CSZLExbo2e4IDnG5gCCk
username_0: @username_1 「出力を開く」を押すと何が表示されますでしょうか?
username_0: ```
@username_1
また、これらの単語の中で意味のわからない言葉はありますでしょうか?
- リポジトリ
- リモート・リポジトリ
- ローカル・リポジトリ
- マージ (ブランチをやっていないので少し難しいかもしれません。)
- コミット
username_1: 特に何も表示はされません。「出力」箇所が表示されるだけになっています。
https://www.evernote.com/l/ARtqUdxy4gtCIYqqp_ZIQu_90dqU9jFQyG4
username_0: @username_1
ありがとうございます。
以下指示が足りなかったため補足させてください。
```
また、これらの単語の中で意味のわからない言葉はありますでしょうか?
リポジトリ
リモート・リポジトリ
ローカル・リポジトリ
マージ (ブランチをやっていないので少し難しいかもしれません。)
コミット
追記: 現状なんとなく頭の中でイメージできていたらOKです。 これらの言葉を知ることで解決に近づけると思っています。
```
補足:以上の言葉の中でわからない言葉があれば教えてください。またそれらの言葉を調べてみましょう。
username_0: @username_1
1、今どのような問題が起きているのかを把握する。ー今ここを進めています。
2、問題の解決方法を探す。ー Next
1が終わったとき、または詰まったときは報告・相談くださいませ。
username_1: 以下の図のように理解しています。つまり、一度ローカルレポジトリにgitへアクセスすることを宣言し(イメージ)、その後、実際にアクセスして情報をgitにアップするという理解です。
https://www.evernote.com/l/ARujU6oVPcdJJqePGddJPLzpAIotwDvRH3I
username_0: ここでいう
- 「gitへアクセスすることを宣言」
-「実際にアクセスして情報をgitにアップする」
という表現はいただいたイメージでいうとどこの状態(コミット・プッシュなど)での話にあたりますでしょうか(あるいはイメージには表現されていないものを示されていますでしょうか)。
https://www.evernote.com/l/ARujU6oVPcdJJqePGddJPLzpAIotwDvRH3I
username_1: 「gitへアクセスすることを宣言」=コミット、
「実際にアクセスして情報をgitにアップする」=プッシュ
と理解しており、上記の2つの表現は、イメージで表現されていないものは含んでいないという理解です。
username_0: 言葉のニュアンスの違いだけかもしれませんが、一度コミットとプッシュについて調べてみましょう。
username_1: Netbeansの使い方について確認させてください。外部のcssやjsのファイルを取り込みたいと考え、その方法を探していたのですが、あまりに簡単なのかその方法を見つけることができませんでした。ですが、MAMPのhtdocsに直接ファイルを持っていくとNetbeansにも反映されました。これはこの方法しかないのでしょうか?
username_0: Netbeansの使い方に対しての答えにはならないのですが
「外部スタイルシート」「JavaScript 外部」で検索してみましょう。
こちらはNetbeansに限らず、一般的な(開発環境は問わない)外部ファイルの参照の仕方になります。
「外部」「取り込む」の解釈にずれがありましたら指摘してくださいませ。
username_1: キーワードの提供ありがとうございます。早速調べます。
username_0: 申し訳ありません。
「外部」「取り込む」に関して解釈のずれがありそうなので、一旦こちらで調べてから再度返信いたします。
username_1: 承知しました。返信は明日で結構です。
username_0: 回答修正します。
NetBeansの外部のCSSやJsの取り込みについて、もしドラック&ドロップでできないようでしたら、直接MAMPのhtdocsに置くやり方で大丈夫だと思います。
username_0: gitプッシュ時のエラーについて、コミットとプッシュについて調べたあとも解決に時間がかかりそうであればこちらを見てくださいませ。
https://github.com/username_1/phptraining/issues/6
username_1: 調べた結果、私は以下のように理解しました。
🔹コミット
ファイルやディレクトリの追加・変更を、ローカルリポジトリに記録する操作。複数のサイトの説明では、単に「リポジトリに記録する」と説明されていましたが、リモートリポジトリに記録する操作は「プッシュ」であるため、特に「ローカルリポジトリ」への記録操作をコミットと言うと理解しています。
🔹プッシュ
ローカルリポジトリ内の変更履歴をリポートリポジトリにアップロードする作業。
username_0: で全く問題ありません。
コミットの例外として今回のエラーの原因になった「GitHubへの直接コミット」のように単に「リポジトリに記録する」と理解されていたほうが柔軟にイメージできる場合もあります。覚えておいてくださいませ。
username_1: 承知しました。報告が遅れましたが、formの作成とその出力の作成を完了しております。
username_0: 了解しました。確認いたします!
username_0: 本issueの課題のFormのコードもGoodでした!
質問などなければcloseしたいと思いますー。
Status: Issue closed
username_0: Closeしますね。 |
nelsonic/github-scraper | 97426991 | Title: Record "Developer Program" membership?
Question:
username_0: see: https://developer.github.com/program/
Status: Issue closed
Answers:
username_0: Done:
+ Test: https://github.com/username_0/github-scraper/blob/4ab9ac88d98636e6c2959ff2b55183c9245849a2/test/profile.test.js#L42
+ Code: https://github.com/username_0/github-scraper/blob/4ab9ac88d98636e6c2959ff2b55183c9245849a2/lib/profile.js#L73-L77 |
jupyterlab/jupyterlab | 273890012 | Title: Upgrade ipython and ipykernel for binder
Question:
username_0: The current version of the binder environment is on IPython 6.0.0 and ipykernel 4.6.0. As a result, `_repr_mimebundle_` does not get handled (making demoing `vdom` + jupyterlab problematic). Could this get explicitly pinned or does this need to happen elsewhere in the base binder image?
Answers:
username_1: +1
username_1: @username_0 which repo are you referring to here?
username_1: I am guessing we want to pin this in the base binder image. @username_2 @choldgraf @willingc @username_3
username_2: It needs to happen inside https://github.com/jupyter/repo2docker/tree/master/repo2docker/buildpacks, inside the python and conda dirs :) Great way for someone to easily contribute ;)
username_2: https://github.com/jupyter/repo2docker/pull/169 should fix it. It would be great if this becomes part of release process somewhere ;)
username_1: Opened https://github.com/ipython/ipython/issues/10947 to track the ipython/ipykernel part of this.
Status: Issue closed
|
tarantool/luatest | 934753607 | Title: Create before_test and after_test
Question:
username_0: If we use several tests in a group and, for example, one of them starts a server, we want to shutdown it in spite of the test's result.
So, fixtures for setup test context and shutdown it after, which are depending on a test, could resolve this problem.<issue_closed>
Status: Issue closed |
stevebauman/location | 294302213 | Title: Location not working properly
Question:
username_0: Hello,
I added the package to my laravel project but it's not responding correctly it's only returning the country name. And only GeoPlugin driver is working, because if i change the driver it's always returning to geoPlugin and even if i changed the ip or added an invalid ipto below line
`
$position = Location::get('x.x.x.x');
`
it's always returning same address, a;thought the ip address is not valid .
Status: Issue closed
Answers:
username_0: Now i noticed that it's stored in the session and i should delete the session to get new data
username_1: Hi @username_0,
I'm going to be resolving this shortly: https://github.com/username_1/location/issues/39 |
devssa/onde-codar-em-salvador | 438935588 | Title: Desenvolvedor Java na [Capitani]
Question:
username_0: <!--
==================================================
POR FAVOR, SÓ POSTE SE A VAGA FOR PARA SALVADOR E CIDADES VIZINHAS!
Use: "Desenvolvedor Front-end" ao invés de
"Front-End Developer" \o/
Exemplo: `[JAVASCRIPT] [MYSQL] [NODE.JS] Desenvolvedor Front-End na [NOME DA EMPRESA]`
==================================================
-->
## Descrição da vaga
Desenvolvedor Java
## Local
Salvador
## Requisitos
Conhecimento em SQL e PL/SQL;
Capacidade de realizar depuração (debug) em aplicações;
Experiência com controle de versão Git;
Experiência em JEE, JSF, JSP, Spring, EJB, JPA, Hibernate, JDBC, Log4J, Maven, HTML, CSS,
JavaScript, Webservices REST e SOAP, Definição de interface de serviços; Tomcat;
Glassfish; iReports; JasperReports;
Boas práticas de desenvolvimento: Design Patterns, testes unitários e de integração,
clean code, e integração contínua;
Experiência com Eclipse e Netbeans;
Conhecimento em metodologias ágeis (Scrum/Kanban/XP);
## Contratação
Temporário
## Nossa empresa
Fundada há 22 anos a Capitani, Consultoria em Tecnologia, vem apoiando seus clientes a desenvolver soluções em inovação e transformação digital. É reconhecida pelo mercado como fornecedora parceira e tem como grande destaque os nossos profissionais especialistas diferenciados. Profissionais sigam nossa company page para acompanhar nossas publicações de vagas. Clientes interessados em nossos serviços e soluções por favor nos contatar. Visite nosso site: http://www.capitani.com.br/
## Como se candidatar
https://capitani.peoplenect.com/ats/external_applicant/?page=view_jobs_details&job_id=1061&pageno=1 |
rust-av/av-metrics | 810275458 | Title: Failed to install when fetching from Cargo
Question:
username_0: When we try to install av-metrics with the help of the command
`cargo install av-metrics-tool`
it fails to install, error log
```rust
/home/mindfreeze/.cargo/registry/src/github.com-1ecc6299db9ec823/av-metrics
-tool-0.7.0/src/main.rs:359:34
|
359 | fn calculate_video_metric<D: Decoder>(
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 | use av_metrics::video::decode::Decoder;
|
1 | use crate::decode::Decoder;
|
error[E0405]: cannot find trait `Decoder` in this scope
```
Full Error Log: https://paste.debian.net/plain/1185456
When we clone and build it works fine.
At the same time when we try to install like `cargo install av-metrics` alone, it does not work as mentioned in the readme, it is advised to have `av-metrics-tool`. So if we fix the confusion of having two av-metrics when we try to fix it will be better.
Answers:
username_1: We should fix the av-metrics-tool version requirements and publish an update. Potentially we could rework the crates differently but that can be done later. |
h4cc/awesome-elixir | 218188566 | Title: Evaluate Package "eidetic_eventstore_mongodb"
Question:
username_0: Evaluate "eidetic_eventstore_mongodb" to see if it's awesome, and possibly include in the list.
Link: https://hex.pm/packages/eidetic_eventstore_mongodb
Description:
A MongoDB EventStore for the Eidetic EventSourcing library
This is a autogenerated issue, because the packages was added on hex.pm. |
gimli-rs/gimli | 318669670 | Title: Add an Arc-/Rc-based reader
Question:
username_0: I think we don't want to just make `EndianBuf` but with replacing the `&[u8]` with `Arc<[u8]>`, because that means that slicing or splitting the reader would require copying the data. We want something like `(start, end, Arc<[u8]>)` and have slicing/splitting just change the start and end indices and bump the ref count.
cc @username_2
Answers:
username_1: I'm going to look into using https://crates.io/crates/bytes (or at least use its ideas).
username_0: https://carllerche.github.io/bytes/src/bytes/bytes.rs.html#155-295 seems relevant
username_0: It seems that it is similar to the `(start, end, Arc<[u8]>)` representation but with variants for static buffers (I don't think this is too relevant for our use case) and for inlining small buffers directly into the handle instead of putting them behind a pointer.
username_2: If I'll mmap a file I'll have some `Arc<T>` instead of an `Arc<[u8]>`, where `T` is going to be an arbitrary type which will control the lifetime of the mmap. So it'd be the best to allow the user to use a custom type and constraint `T` to be `T: Deref<[u8]>` or `T: bytes::Buf` or something along these lines.
username_0: SGTM!
username_0: Some initial ground work being laid in https://github.com/gimli-rs/gimli/pull/295
Status: Issue closed
|
mathertel/DMXSerial | 628725337 | Title: megaavr PlatformsIO compability
Question:
username_0: compiling this simple working example for the Arduino Nano Every
```c++
#include <Arduino.h>
#include <DMXSerial.h>
void setup() {
// put your setup code here, to run once:
// Serial.begin(9600);
DMXSerial.init(DMXController, 4);
}
void loop() {
// put your main code here, to run repeatedly:
// if(Serial.available()){}
}
```
works flawless with the Android IDE but fails at PlatformIO with
```
Processing nano_every (platform: atmelmegaavr; board: nano_every; framework: arduino)
---------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelmegaavr/nano_every.html
PLATFORM: Atmel megaAVR 1.0.0 > Arduino Nano Every
HARDWARE: ATMEGA4809 16MHz, 6KB RAM, 47.50KB Flash
PACKAGES:
- framework-arduino-megaavr 1.8.6
- toolchain-atmelavr 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 9 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <DMXSerial> 1.5.0
Building in release mode
...
Compiling .pio/build/nano_every/src/main.cpp.o
Compiling .pio/build/nano_every/lib001/DMXSerial_ID912/DMXSerial.cpp.o
Archiving .pio/build/nano_every/lib001/libDMXSerial_ID912.a
Indexing .pio/build/nano_every/lib001/libDMXSerial_ID912.a
Linking .pio/build/nano_every/firmware.elf
DMXSerial.cpp.o (symbol from plugin): In function `_DMX_init()':
(.text+0x0): multiple definition of `__vector_26'
.pio/build/nano_every/FrameworkArduino/UART1.cpp.o (symbol from plugin):(.text+0x0): first defined here
DMXSerial.cpp.o (symbol from plugin): In function `_DMX_init()':
(.text+0x0): multiple definition of `__vector_27'
.pio/build/nano_every/FrameworkArduino/UART1.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
*** [.pio/build/nano_every/firmware.elf] Error 1
```
First the framework version was 1.8.5 (not 1.8.6) which caused some namespace errors which was fixed with an [update of the platformio library](https://github.com/platformio/platform-atmelmegaavr/issues/3), that I have requested. Now they should be identical and I'm getting above error.
I don't know C/C++ and avr-gcc well enough to solve this one alone, though I know the problem lies somewhere in the UART access.
I will/can also try to solve this myself if you point me in the right direction.
Answers:
username_1: Hi Johannes, These 2 vectors are the interrupt routines for the Serial UART1. I also see no special thing pointing to something else using UART1. I don't use the -DAVR_NANO_4809_328MODE option but it compiles as well on Arduino without reporting conflicts.
This is odd. I wish you find "something".
username_0: ### Identified Problem
After not getting any different results by playing with the compiler flags, i checked the files being linked. PlatformIO does -at least with my (default) settings- compile all files from the arduino core and tries to link them all with my other source files, even when I don't use them
```
Building in release mode
avr-g++ -o .pio/build/nano_every/firmware.elf -Os -flto -mmcu=atmega4809 -Wl,--gc-sections -Wl,--section-start=.text=0x0 -fuse-linker-plugin .pio/build/nano_every/FrameworkArduinoVariant/variant.c.o .pio/build/nano_every/FrameworkArduino/CDC.cpp.o .pio/build/nano_every/FrameworkArduino/NANO_compat.cpp.o .pio/build/nano_every/FrameworkArduino/Tone.cpp.o .pio/build/nano_every/FrameworkArduino/UART.cpp.o .pio/build/nano_every/FrameworkArduino/UART0.cpp.o .pio/build/nano_every/FrameworkArduino/UART1.cpp.o .pio/build/nano_every/FrameworkArduino/UART2.cpp.o .pio/build/nano_every/FrameworkArduino/UART3.cpp.o .pio/build/nano_every/FrameworkArduino/UNO_compat.cpp.o .pio/build/nano_every/FrameworkArduino/USBCore.cpp.o .pio/build/nano_every/FrameworkArduino/WInterrupts.cpp.o .pio/build/nano_every/FrameworkArduino/WMath.cpp.o .pio/build/nano_every/FrameworkArduino/abi.cpp.o .pio/build/nano_every/FrameworkArduino/api/Common.cpp.o .pio/build/nano_every/FrameworkArduino/api/IPAddress.cpp.o .pio/build/nano_every/FrameworkArduino/api/PluggableUSB.cpp.o .pio/build/nano_every/FrameworkArduino/api/Print.cpp.o .pio/build/nano_every/FrameworkArduino/api/Stream.cpp.o .pio/build/nano_every/FrameworkArduino/api/String.cpp.o .pio/build/nano_every/FrameworkArduino/hooks.c.o .pio/build/nano_every/FrameworkArduino/main.cpp.o .pio/build/nano_every/FrameworkArduino/new.cpp.o .pio/build/nano_every/FrameworkArduino/wiring.c.o .pio/build/nano_every/FrameworkArduino/wiring_analog.c.o .pio/build/nano_every/FrameworkArduino/wiring_digital.c.o .pio/build/nano_every/FrameworkArduino/wiring_pulse.S.o .pio/build/nano_every/FrameworkArduino/wiring_pulse.c.o .pio/build/nano_every/FrameworkArduino/wiring_shift.c.o .pio/build/nano_every/src/main.cpp.o -L.pio/build/nano_every -Wl,--start-group .pio/build/nano_every/lib4b0/libDMXSerial.a -lm -Wl,--end-group
DMXSerial.cpp.o (symbol from plugin): In function `_DMX_init()':
(.text+0x0): multiple definition of `__vector_26'
.pio/build/nano_every/FrameworkArduino/UART1.cpp.o (symbol from plugin):(.text+0x0): first defined here
DMXSerial.cpp.o (symbol from plugin): In function `_DMX_init()':
(.text+0x0): multiple definition of `__vector_27'
.pio/build/nano_every/FrameworkArduino/UART1.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
*** [.pio/build/nano_every/firmware.elf] Error 1
```
while the ArduinoIDE is only linking the neccesarry files
```
Linking everything together...
/home/johannes/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-gcc -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -Wl,--section-start=.text=0x0 -mmcu=atmega4809 -o /tmp/arduino_build_176197/sketch_jul20a.ino.elf /tmp/arduino_build_176197/sketch/sketch_jul20a.ino.cpp.o /tmp/arduino_build_176197/libraries/DMXSerial/DMXSerial.cpp.o /tmp/arduino_build_176197/core/variant.c.o /tmp/arduino_build_176197/../arduino_cache_832754/core/core_arduino_megaavr_nona4809_mode_off_c1f597cf3dd931fc8d6bf7075b294c68.a -L/tmp/arduino_build_176197 -lm
/home/johannes/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O binary -R .eeprom /tmp/arduino_build_176197/sketch_jul20a.ino.elf /tmp/arduino_build_176197/sketch_jul20a.ino.bin
/home/johannes/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_176197/sketch_jul20a.ino.elf /tmp/arduino_build_176197/sketch_jul20a.ino.eep
/home/johannes/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino_build_176197/sketch_jul20a.ino.elf /tmp/arduino_build_176197/sketch_jul20a.ino.hex
Using library DMXSerial at version 1.5.2 in folder: /home/johannes/Arduino/libraries/DMXSerial
/home/johannes/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-size -A /tmp/arduino_build_176197/sketch_jul20a.ino.elf
Sketch uses 2678 bytes (5%) of program storage space. Maximum is 49152 bytes.
Global variables use 560 bytes (9%) of dynamic memory, leaving 5584 bytes for local variables. Maximum is 6144 bytes.
```
(adding the UART1.cpp.o to the linking command of the ArduinoIDE will raise the same error).
So it is no real bug since you usually shouldn't use Serial1 when using DMX Serial any ways. Now I only have to find out, how to solve this in PlatformIO. I will write an update when I have found a solution, until then I symlinked my source files into a ArduinoIDE folder strucure (and enable use external editor in the options) for my cross platform tests.
username_1: Thanks for the investigation.
Status: Issue closed
|
kubernetes/website | 542283065 | Title: Issue with k8s.io/docs/reference/glossary/
Question:
username_0: **This is a Bug Report**
<!-- Thanks for filing an issue! Before submitting, please fill in the following information. -->
<!-- See https://kubernetes.io/docs/contribute/start/ for guidance on writing an actionable issue description. -->
<!--Required Information-->
**Problem:**
`cluster infrastructure` and `cluster operations` are not included in glossary while there are references to them in https://kubernetes.io/docs/setup/#production-environment
**Proposed Solution:**
Add two terms
**Page to Update:**
https://kubernetes.io/docs/reference/glossary/?all=true
<!--Optional Information (remove the comment tags around information you would like to include)-->
<!--Kubernetes Version:-->
<!--Additional Information:-->
Answers:
username_1: /kind bug
/priority backlog
Those documents exist in the glossary but aren't being listed. I think I can fix that.
username_1: Thanks for spotting this @username_0 |
Azure/azure-cli | 610486318 | Title: runtime not supported
Question:
username_0: When running `az webapp create` with `--runtime="node|10.0"` or `--runtime="node|10.15"` an error occurs on CLI.
```bash
Linux Runtime 'node|10.0' is not supported.Please invoke 'list-runtimes' to cross check
```
So far I have not found any that work on --is-linux app service plan.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 2983e943-cce1-effd-57d0-cce4b0c0a7e1
* Version Independent ID: 4262c40a-7140-b420-58b5-5cf40ab2316e
* Content: [az webapp](https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#feedback)
* Content Source: [latest/docs-ref-autogen/webapp.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/webapp.yml)
* Service: **app-service-web**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Answers:
username_1: routing to appropriate team
username_0: I resolved this issue by explicitly `list-runtimes` with the `--is-linux` argument. So by running `az webapp create --is-linux --list-runtimes` the correct list of runtimes is displayed. Selecting these works on Linux machines.
I do think that where runtimes for Windows and Linux match, they should be the same casing, same name, and work across platforms. Currently, when listing runtimes on Windows they are same format but lowercase. On Linux they are same format `runtime|version` but in all caps. In this case when creating web app the casing does matter.
username_2: @username_3 can you take a look at this -did your changes to runtime not fix this?
username_3: Hi @username_0, the --runtime parameter in `az webapp create` is not case sensitive, so it should work the same regardless if it is upper or lower case. In your use case, node|10.0 and node|10.15 are not supported for linux, as shown by `az webapp list-runtimes --linux` which is why you're receiving the error. The only node runtime currently supported by both windows and linux is node|10.14
username_3: I can update the error message to clarify that for linux apps, the list-runtimes command should be used with flag --linux: `Linux Runtime 'node|10.0' is not supported. Please invoke 'az webapp list-runtimes --linux' to cross check`
Status: Issue closed
|
flutter/devtools | 932023856 | Title: DevTools is slow to startup
Question:
username_0: DevTools is a bit slower to startup than expected. It is possible this is just a Flutter Web issue or it is possible we are serving which settings that defeat some caching of assets used by Flutter Web. For example, we need to make sure that that CanvasKit is cached rather than downloaded from the server each time.
Once DevTools renders it displays a spinner while sending off the following requests:
{jsonrpc: 2.0, method: getVersion, id: 9, params: {}}
{jsonrpc: 2.0, method: getVersion, id: 10, params: {}}
{jsonrpc: 2.0, method: getFlagList, id: 11, params: {}}
{jsonrpc: 2.0, method: getVM, id: 12, params: {}}
{jsonrpc: 2.0, method: getIsolate, id: 13, params: {isolateId: 1}}
At minimum we should only call getVersion once and we should try to ensure that all other requests are issued in parallel.
Answers:
username_1: Note that there still seems to be a delay after getting a response for those initial requests. `package:dwds` responds to those requests almost immediately yet the spinner is still shown for a small period of time.
Status: Issue closed
username_2: DevTools is a bit slower to startup than expected. It is possible this is just a Flutter Web issue or it is possible we are serving which settings that defeat some caching of assets used by Flutter Web. For example, we need to make sure that that CanvasKit is cached rather than downloaded from the server each time.
Once DevTools renders it displays a spinner while sending off the following requests:
{jsonrpc: 2.0, method: getVersion, id: 9, params: {}}
{jsonrpc: 2.0, method: getVersion, id: 10, params: {}}
{jsonrpc: 2.0, method: getFlagList, id: 11, params: {}}
{jsonrpc: 2.0, method: getVM, id: 12, params: {}}
{jsonrpc: 2.0, method: getIsolate, id: 13, params: {isolateId: 1}}
At minimum we should only call getVersion once and we should try to ensure that all other requests are issued in parallel.
Status: Issue closed
username_2: DevTools is a bit slower to startup than expected. It is possible this is just a Flutter Web issue or it is possible we are serving which settings that defeat some caching of assets used by Flutter Web. For example, we need to make sure that that CanvasKit is cached rather than downloaded from the server each time.
Once DevTools renders it displays a spinner while sending off the following requests:
{jsonrpc: 2.0, method: getVersion, id: 9, params: {}}
{jsonrpc: 2.0, method: getVersion, id: 10, params: {}}
{jsonrpc: 2.0, method: getFlagList, id: 11, params: {}}
{jsonrpc: 2.0, method: getVM, id: 12, params: {}}
{jsonrpc: 2.0, method: getIsolate, id: 13, params: {isolateId: 1}}
At minimum we should only call getVersion once and we should try to ensure that all other requests are issued in parallel.
username_3: Are we still seeing issues with startup time? @username_2 @annagrin |
jonasschmidt/ex_json_schema | 464123322 | Title: Map.take deprecation
Question:
username_0: Hi,
```
Erlang/OTP 22 [erts-10.4.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]
Interactive Elixir (1.9.0) - press Ctrl+C to exit (type h() ENTER for help)
```
With elixir 1.9 comes lot of deprecations.
One of them is : `warning: Map.take/2 with an Enumerable of keys that is not a list is deprecated. Use a list of keys instead.`
The consequence is the follow :
in `ex_json_schema/lib/ex_json_schema/validator/properties.ex`
line 73: `Map.take(properties, unvalidated)`
`unvalidated` is a MapSet that is now deprecated
one solution could be to do : `Map.take(properties, MapSet.to_list(unvalidated))`
Other thing,
in `ex_json_schema/lib/ex_json_schema/validator.ex`
line 182, 189, 197, 204: `Map.size` is deprecated
It should to be replaced by `map_size` `(Kernel.map_size)`
The consequence of this deprecation. My log is filled with bunch of `warning`
I tried do clone the project, fix the issue, but when I try to test it, I have :
```
Finished in 1.0 seconds
484 tests, 6 failures
```
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference #foo
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference http://localhost:1234/bar#foo
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference http://localhost:1234/bar#foo
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference http://localhost:1234/nested.json#foo
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference http://localhost:1234/nested.json#foo
- ** (ExJsonSchema.Schema.InvalidReferenceError) invalid reference #foo
Sorry, i don't have more time do spend on this issue.
git diff :
```
diff --git a/lib/ex_json_schema/validator.ex b/lib/ex_json_schema/validator.ex
index 870d91b..017b310 100644
--- a/lib/ex_json_schema/validator.ex
+++ b/lib/ex_json_schema/validator.ex
@@ -179,14 +179,14 @@ defmodule ExJsonSchema.Validator do
end
defp validate_aspect(_, _, {"minProperties", min_properties}, data) when is_map(data) do
- case Map.size(data) >= min_properties do
+ case map_size(data) >= min_properties do
true ->
[]
false ->
[
%Error{
[Truncated]
index b5882de..033ca2d 100644
--- a/lib/ex_json_schema/validator/properties.ex
+++ b/lib/ex_json_schema/validator/properties.ex
@@ -70,7 +70,7 @@ defmodule ExJsonSchema.Validator.Properties do
defp unvalidated_properties(properties, validated_properties) do
unvalidated = MapSet.difference(keys_as_set(properties), keys_as_set(validated_properties))
- Map.take(properties, unvalidated)
+ Map.take(properties, MapSet.to_list(unvalidated))
end
defp keys_as_set(properties) do
diff --git a/test/JSON-Schema-Test-Suite b/test/JSON-Schema-Test-Suite
index 1bd999a..9cbad89 160000
--- a/test/JSON-Schema-Test-Suite
+++ b/test/JSON-Schema-Test-Suite
@@ -1 +1 @@
-Subproject commit <KEY>
+Subproject commit 9cbad896454d42fb591ffb4ed3b452a5c12ec63a
```
Status: Issue closed
Answers:
username_0: If it was addressed 9 days ago, why it was still there ? |
rancher/rancher | 186675080 | Title: Add ability to see/edit which template I used in environments page
Question:
username_0: **Rancher Version:** master 11/01
** Comments: ** I should be able to see which template I used when I created an environment. I should also be able to change the templates.
Answers:
username_1: See yes, edit not supported. The template is only used once on creation of the environment.

Status: Issue closed
username_0: Version - master 11/06
Verified fixed |
davidgiven/fluxengine | 918737089 | Title: Required sector 10 missing; ------- ERRORS
Question:
username_0: After getting the Fluxengine Client built, I wanted to test a .SCP image to verify how the software works. I chose a KAYPRO II
image to test. The Kaypro II CP/M Definitions is:
22DISK - by SYDEX
BEGIN KAY1 Kaypro II/2 - SSDD 48 tpi 5.25" - 512 x 10
DENSITY MFM LOW
CYLINDERS 40 SIDES 1 SECTORS 10 512 SKEW 4
SIDE1 0 0,1,2,3,4,5,6,7,8,9
BSH 3 BLM 7 EXM 0 DSM 194 DRM 63 AL0 0F0H AL1 0 OFS 1
END
cpmtools
# KAY1 Kaypro II/2 - SSDD 48 tpi 5.25" - 512 x 10
diskdef kay1
seclen 512
tracks 40
sectrk 10
secbase 0
blocksize 1024
maxdir 64
dirblks 2
skew 1
boottrk 1
os 2.2
end
10 Sectors (0-9) by 512 bytes * 40 tracks.
My fluxengine command line:
$ ./fluxengine read ibm --decoder.ibm.sector_id_base=0 --decoder.ibm.required_sectors=10 -c 0-39 -s kaypro2_imd.scp -o kaypro2_imd.img > kaypro2_imd.log
KAYPRO2_IMD.LOG:
SCP tracks 0-19, heads 0-0
SCP sample resolution: 25 ns
0.0: 600.186 ms in 168679 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
Required sector 10 missing; <------------------------------------------------ERROR!
logical track 0.0; 5120 bytes decoded.
0.1: 600.186 ms in 167428 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
Required sector 10 missing; <------------------------------------------------ERROR!
logical track 1.0; 5120 bytes decoded.
1.0: 600.186 ms in 169771 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
Required sector 10 missing; <------------------------------------------------ERROR!
logical track 2.0; 5120 bytes decoded.
1.1: 600.186 ms in 170728 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
Required sector 10 missing; <------------------------------------------------ERROR!
logical track 3.0; 5120 bytes decoded.
2.0: 600.186 ms in 167749 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
Required sector 10 missing; <------------------------------------------------ERROR!
logical track 4.0; 5120 bytes decoded.
2.1: 600.186 ms in 169621 bytes
60 records, 30 sectors; 2.00us clock (500kHz);
[Truncated]
0. 4 ........................................
0. 5 ........................................
0. 6 ........................................
0. 7 ........................................
0. 8 ........................................
0. 9 ........................................
Good sectors: 400/400 (100%)
Missing sectors: 0/400 (0%)
Bad sectors: 0/400 (0%)
wrote 40 tracks, 1 sides, 200 kB total
If I change the --decoder.ibm.required_sectors=9, I do not get the Sector 10 Missing Message.
Please account for 0-9 being 10 total sectors.
Thanks.
Larry
Answers:
username_1: `--decoder.ibm.required_sectors=10` tells it to expect sector 10 on every track, and no others. Try `--decoder.ibm.required_sectors=0-9`.
BTW, I am moving away from a single autodetecting-everying decoder profile towards specific profiles for specific formats, so once this works let me know the settings and I'll add a kayproii profile. |
RelativeMedia/rackcatio-frontend | 196723521 | Title: Build ProductKeys view/route
Question:
username_0: Each should be on its own route.
- [ ] edit - `/productkeys/edit/:id`
- [ ] list - `/productkeys` (indexRoute)
- [ ] create - `/productkeys/create`
- [ ] delete - `/productkeys/delete/:id`
- [ ] detail - `/productkeys/detail/:id` |
jakelever/civicmine | 407765449 | Title: Corpus
Question:
username_0: Hi Jake,
Quick question: You have four categories (diagnostic, predictive, predisposing, prognostic). Do you by any chance have any plans to classify the corpus with whether a relationship in a sentence is a true positive or false positive? OR, do you know of a corpus like this out in the interwebs?
Thanks,
KMS
Answers:
username_1: Hey, by true positive, do you mean an clinical biomarker (extracted from the text) that turned out to be likely correct when we delved further into the paper (or associated literature)? If so, not on a large scale.
username_0: Hi,
I was thinking more along the lines of:
True positive: GeneA is associated with CancerB.
False positive: GeneA is not associated with CancerB.
Kind of like how the GAD and EU-ADR has true positive and false positive sentences.
Best,
KMS
>
username_1: The [CancerMine corpus](https://github.com/username_1/cancermine) might be the most relevant. It distinguishes whether a gene is associated as a driver, oncogene or tumor suppressor. There are positive and negative sentences in there.
username_0: Ok—thanks!
> |
maccevedor/saar | 268971931 | Title: Editar usuario
Question:
username_0: Info: https://stackoverflow.com/questions/35286569/edit-user-profile-using-fos-user-bundle
Answers:
username_0: https://www.cloudways.com/blog/symfony-user-management/
https://symfony.com/doc/current/bundles/EasyAdminBundle/integration/fosuserbundle.html
Status: Issue closed
username_0: Se deja configurado la administracion del usuario con el EasyBundle |
AlexisEidelman/Insalubrite | 217810136 | Title: suffixes
Question:
username_0: dans adrbad, le suffixe 1 (valeurs b,t,q,c) correspond certainement à bis ou autre, à quoi correspond le suffixe2 (valeurs A, P, Z, S, W, etc.) ?
Answers:
username_1: D'après un fichier de description de l'APUR, il s'agist simplement d'une lettre permettant d'identifier l'adresse.
En effet, un numéro de rue doit apparemment toujours être suivi d'une première lettre qui est b, t, q, c, puis d'une seconde lettre.
Ils ne donnent cependant pas d'informations supplémentaires sur cette seconde lettre sinon qu'elle semble être employée uniquement dans un cadre informatique.
username_0: Merci @username_1 tu aurais un lien vers la doc ?
username_1: Erratum: l'information ne venait pas de l'apur (du moins pas celle-ci).
Voici le lien pour l'apur
http://www.apur.org/sites/default/files/documents/Adresse.pdf
Et voici les infos que j'ai trouvé (qui proviennent de la documentation de l'api du programme open data de Paris)
http://opendata.paris.fr/api/datasets/1.0/adresse_paris/attachments/adresse_pdf/ |
adazzle/react-data-grid | 357298887 | Title: Cannot render column named `getCell` because that overwrites the `getCell` function
Question:
username_0: ---
### Issue Details
Given this code:
```javascript
const columns = [
{ key: 'getCell', name: 'Conflicting' }
]
return (
<ReactDataGrid
columns={columns}
rowGetter={(i) => ({ 'getCell': 'SHOW YOURSELF' })}
rowsCount={2}
enableRowSelect={true}
/>
)
```
... JS stops running, with the error: `TypeError: _this2.getCell is not a function`
The problem is the bunch of refs added to `Row` with logic like `ref: (node) => this[key] = node,
`. |
chef/chef | 364159040 | Title: knife boostrap with ed25519 failing
Question:
username_0: <!---
!!!!!! NOTE: CHEF CLIENT BUGS ONLY !!!!!!
This issue tracker is for the code contained within this repo -- `chef-client`, base `knife` functionality (not
plugins), `chef-apply`, `chef-solo`, `chef-client -z`, etc.
* Requests for new or alternative functionality should be made to [feedback.chef.io](https://feedback.chef.io/forums/301644-chef-product-feedback/category/110832-chef-client)
* [Chef Server issues](https://github.com/chef/chef-server/issues/new)
* [ChefDK issues](https://github.com/chef/chef-dk/issues/new)
* Cookbook Issues (see the https://github.com/chef-cookbooks repos or search [Supermarket](https://supermarket.chef.io) or GitHub/Google)
-->
## Description
I want to bootstrap a node with `knife` but I am failing due to perhaps ed25519?
## Chef Version
```
~ chef --version
Chef Development Kit Version: 3.3.22
chef-client version: 14.5.33
delivery version: master (6862f27aba89109a9630f0b6c6798efec56b4efe)
berks version: 7.0.6
kitchen version: 1.23.2
inspec version: 2.2.112
```
## Platform Version
MacOS 10.14
## Replication Case
<!--- Tell us what steps to take to replicate your problem. See [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve)
for information on how to create a good replication case. -->
## Client Output
```
~ knife bootstrap 192.168.56.98 -x guenter -i .ssh/id_ed25519 --sudo -N ubuntu-1604-nano
Node ubuntu-1604-nano exists, overwrite it? (Y/N) y
Client ubuntu-1604-nano exists, overwrite it? (Y/N) y
Creating new client for ubuntu-1604-nano
Creating new node for ubuntu-1604-nano
Connecting to 192.168.56.98
#<Thread:0x00007fd97bb95350@/opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
23: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
22: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session_actions.rb:36:in `block (2 levels) in sessions'
21: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server.rb:138:in `session'
20: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb:488:in `next_session'
19: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server.rb:186:in `new_session'
18: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh.rb:241:in `start'
17: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/session.rb:66:in `authenticate'
16: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/session.rb:66:in `each'
15: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/session.rb:80:in `block in authenticate'
14: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/methods/publickey.rb:19:in `authenticate'
13: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/key_manager.rb:119:in `each_identity'
12: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/key_manager.rb:119:in `each'
11: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/key_manager.rb:122:in `block in each_identity'
10: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/methods/publickey.rb:20:in `block in authenticate'
9: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/methods/publickey.rb:62:in `authenticate_with'
8: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/key_manager.rb:142:in `sign'
7: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/key_factory.rb:43:in `load_private_key'
6: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/key_factory.rb:60:in `load_data_private_key'
5: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/key_factory.rb:113:in `block in classify_key'
4: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/ed25519.rb:152:in `read'
3: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/ed25519.rb:152:in `new'
2: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/authentication/ed25519.rb:111:in `initialize'
1: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/cipher_factory.rb:67:in `get'
/opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/key_expander.rb:14:in `expand_key': No digester supplied (RuntimeError)
ERROR: RuntimeError: No digester supplied
``` |
paritytech/substrate | 395355219 | Title: Substrate on Windows
Question:
username_0: Hi. In this issue, I wanna track the progress of all Windows related TODOs. Goal is to make Substrate as easy to develop as on MacOS / Linux 😄
TODOs:
- [ ] Update to `rocksdb = 0.11.0` (it seems that there will be a release soon) to fix build issues on Windows (See also #1299)
- [ ] Update to `rocksdb = 0.11.0` in https://github.com/paritytech/parity-common/tree/bkchr-shitty-memory-leak-detection?? (@bkchr, should a PR be based on that branch?)
- [ ] Update `parity-common` in `substrate` accordingly.
- [ ] Update to `ring = 0.13.5` and to `untrusted = 0.6.2` to fix build issues on Windows
- [ ] First, update to latest `libp2p` in `substrate` as recommended in https://github.com/libp2p/rust-libp2p/pull/674
- [ ] Update `ring = 0.13.5` and `untrusted = 0.6.2` in `libp2p`
- [ ] Update `libp2p` in `substrate` again to get new `ring` and `untrusted` dependencies
- [ ] Update `parity-crypto = 0.2`, `ring = 0.13.5` and `untrusted = 0.6.2` in `substrate`
- [ ] Add instructions on how to build substrate on Windows to the [README](https://github.com/paritytech/substrate/blob/master/README.adoc)
- How to install llvm/clang
- How to install openssl
I've created https://github.com/username_0/substrate/tree/fix-windows which contains updates to `parity-crypto`, `rocksdb`, `ring`, and `untrusted`. The branch works now on three windows machines. (CC: @kenhuang)
Next I'll have a look on updating libp2p ....
Answers:
username_1: This is a non-trivial task, but we can easily crate a side-branch in libp2p with `ring` updated to 0.13 if that's the blocking point.
username_0: @username_1, Indeed. it is a non-trivial task for me atm. and it will take me some time to work through libp2p and how/what substrate uses of it.
Regarding a side-branch, this is what I did in https://github.com/username_0/rust-libp2p/commit/f78f6ec997f11ebe2ed1ed41047d8e6ac791cbfd and https://github.com/username_0/substrate/commit/052710cffaec4ccf21af4853ea443f6d7d903969 and it is working for me and my coworkers.
If you're ok with using a side-branch for the moment than it would definitly make life easier for some Windows users for the time being 😃
@username_1, do you wanna push the branch https://github.com/username_0/rust-libp2p/commit/f78f6ec997f11ebe2ed1ed41047d8e6ac791cbfd to https://github.com/libp2p/rust-libp2p? I could create a pull request then for substrate if needed.
Thanks!
username_1: I'm already working on it.
username_1: cc #1386
username_0: Substrate is now working for us on Windows without any problems. Thanks everybody!
Status: Issue closed
|
tehp/music | 155421492 | Title: Beauty (Beatsession Remix)
Question:
username_0: Beauty (Beatsession Remix)<br><img src="http://ift.tt/Q3nI6m"><br>
Wolf Colony remix for 'Beauty'. Remix & Additional Production by Beatsession. Follow Beatsession at http://ift.tt/1doP4Hn<br>
Uploaded by Wolf Colony http://ift.tt/1aHKnHy<br> |
40338732/CourseWork | 406082248 | Title: 2: As an HR advisor I want to produce a report on the salary of employees in a department so that I can support financial reporting of the organisation.
Status: Issue closed
Question:
username_0: [2 results.txt](https://zube.io/files/napier-group-c/a37f51510a02a5e7ecb26f24cf358cae-2-results.txt)added code
String strSelect = "SELECT e.emp_no, e.first_name, e.last_name, d.dept_no " // ", d.from_date , d.to_date "
+ " FROM employees e "
+ " JOIN dept_emp d on d.emp_no = e.emp_no"
// + " JOIN salaries s on s.emp_no = e.emp_no and s.from_date = t.from_date "
+ " WHERE d.to_date = '9999-01-01' "
+ " order by d.dept_no desc , e.last_name ASC";
Statement stmt = con.createStatement();
// Statement conn = con.createStatement();
String results = "";
// Execute SQL statement
ResultSet rset = stmt.executeQuery(strSelect);
// Return new employee if valid.
// Check one is returned
System.out.println(
"Emp No:" +"\t" +" FirstName:" +"\t" + " Surname:" +"\t" + "Dept" );
while (rset.next())
{
Employee emp = new Employee();
emp.emp_no = rset.getInt("emp_no");
emp.first_name = rset.getString("first_name");
emp.last_name = rset.getString("last_name");
emp.dept_name = rset.getString("dept_no");
// emp.fromdate = rset.getDate("from_date");
// emp.todate = rset.getDate("to_date");
System.out.println(emp.emp_no + "\t" + emp.first_name + "\t" + emp.last_name + "\t" + emp.dept_name + "\n");
String newRES = emp.emp_no + "\t " + emp.first_name + "\t " + emp.last_name + "\t " + emp.dept_name + "\n";
results = results + newRES;
}
return results;
Answers:
username_0: [2 results.txt](https://zube.io/files/napier-group-c/a37f51510a02a5e7ecb26f24cf358cae-2-results.txt)added code
String strSelect = "SELECT e.emp_no, e.first_name, e.last_name, d.dept_no " // ", d.from_date , d.to_date "
+ " FROM employees e "
+ " JOIN dept_emp d on d.emp_no = e.emp_no"
// + " JOIN salaries s on s.emp_no = e.emp_no and s.from_date = t.from_date "
+ " WHERE d.to_date = '9999-01-01' "
+ " order by d.dept_no desc , e.last_name ASC";
Statement stmt = con.createStatement();
// Statement conn = con.createStatement();
String results = "";
// Execute SQL statement
ResultSet rset = stmt.executeQuery(strSelect);
// Return new employee if valid.
// Check one is returned
System.out.println(
"Emp No:" +"\t" +" FirstName:" +"\t" + " Surname:" +"\t" + "Dept" );
while (rset.next())
{
Employee emp = new Employee();
emp.emp_no = rset.getInt("emp_no");
emp.first_name = rset.getString("first_name");
emp.last_name = rset.getString("last_name");
emp.dept_name = rset.getString("dept_no");
// emp.fromdate = rset.getDate("from_date");
// emp.todate = rset.getDate("to_date");
System.out.println(emp.emp_no + "\t" + emp.first_name + "\t" + emp.last_name + "\t" + emp.dept_name + "\n");
String newRES = emp.emp_no + "\t " + emp.first_name + "\t " + emp.last_name + "\t " + emp.dept_name + "\n";
results = results + newRES;
}
return results; |
graphql-dotnet/authorization | 431492846 | Title: Arguments Empty When Trying Authorize
Question:
username_0: I'm trying to authorize a field by validating it´s input arguments in a custom policy. My policy gets executed correctly but the Arguments property of the AuthorizationContext variable is always empty. What do I need to do in order to get this populated?
### Field Definition
```csharp
Field<DeviceContextType>(
name: "deviceContext",
description: "Get device context data by id.",
arguments: new QueryArguments(
new QueryArgument<IdGraphType> {Name = "id"},
new QueryArgument<IdGraphType> {Name = "organizationId"}
),
resolve: context => new DeviceContext
{
// my dummy object here
}
).AuthorizeWith<DeviceQueryPolicy>();
```
### DeviceQueryPolicy
```csharp
public class DeviceQueryPolicy : IAuthorizationPolicy
{
public DeviceQueryPolicy(IDependencyResolver resolver)
{
Requirements = new[]
{
new DeviceIdMatchOrganizationIdRequirement(resolver),
};
}
public IEnumerable<IAuthorizationRequirement> Requirements { get; }
}
```
### DeviceIdMatchOrganizationIdRequirement
```csharp
public async Task Authorize(AuthorizationContext context)
{
// Arguments is always empty here! Why?
if (!context.Arguments.ContainsKey("id")
|| !context.Arguments.ContainsKey("organizationId")) {
context.ReportError("Organization have no access rights to this device");
return;
}
```
### Query
```graphql
# Passing along two arguments
{
devices {
deviceContext(
id: "26748243-9D9D-4E9A-A890-718A46D2C0D5"
organizationId: "26748243-9D9D-4E9A-A890-718A46D2C0D5"
) {
active
}
}
}
```
Answers:
username_1: `AuthorizationContext.Arguments` is probably a poorly named property. Those are actually the Input Variables and not the Arguments to the field.
username_0: I think I'm mixing things up here, which Input variables do you mean?
username_1: @username_0 The variables that you pass in to a GraphQL Query.
https://graphql-dotnet.github.io/docs/getting-started/variables
username_2: Is there any way to access to the field's arguments from the AuthorizationContext in order to use it in the auth logic?
username_3: Is there any way to access to the field's arguments from the `AuthorizationContext` in order to use it in the auth logic?
username_1: @username_3 only if you use variables really. These rules run before execution so don’t have direct access to the arguments.
username_2: Ok. I guess that I will have to add that kind of authorization on the resolver itself, right?
username_3: Ok. I guess that I will have to add that kind of authorization on the resolver itself, right? |
react-hook-form/react-hook-form | 1107477875 | Title: Feature Request: Allow resetField to be used on object/field array inputs
Question:
username_0: **Is your feature request related to a problem? Please describe.**
I would like to use the `resetField` method on a field array input like so:
```resetField(`array.${index}.field`)```
Currently, it seems this behavior is unsupported: #7307
**Describe the solution you'd like**
I think the `resetField` method should work for all fields regardless of whether they are field array fields or nested. This mirrors the behavior of `setValue` which is a very useful method.
**Describe alternatives you've considered**
Resetting the entire field with the current form values.
Answers:
username_1: I wouldn't want resetField to go for the same rout as setValue, if this related fieldArray, maybe we should have dedicated method for field array only.
Status: Issue closed
username_0: I'm fine with that. I just would like to resetField array inputs.
username_1: i assume you are using `reset` API right now with `getValues`?
username_1: also would `replace` to be a good option?
username_0: Correct. So right now I'm doing this:
```
reset(getValues())
setValue(`fieldArray.${index}.field`, defaultValue')
```
Replace would work but it's not much better than the above. It would look like:
```
replace(getValues('fieldArray'))
setValue(`fieldArray.${index}.field`, defaultValue')
```
You could of course modify what you pass into `reset` or `replace` and therefore avoid the `setValue` call, but this is also messy since I need to dig into the object and modify it (plus mutation issues since getValue doesn't return a deep copy).
Maybe a new method called `replaceField` could work? Or `updateField`? Not sure what you would want, but I would just like to reset not only the value but the meta state of a field array input.
This mainly is due to conditionally rendered field array inputs which is mentioned in the other PR I made #7580
username_1: - for group of inputs: `['a', 'b'].forEach(resetField)`
- for field array, we can consider to introduce seperate method.
username_0: Ok, thanks.
username_2: `for field array, we can consider to introduce seperate method.`
I'm really waiting for this feature! I feel like after this the react-hook-form will be feature complete for all my cases. |
nipy/nipype | 159956349 | Title: cmtk ROIGen fail
Question:
username_0: I can not run the example with FS 6.0 beta and the unpatched nipype (not the cmtk version)
...
20, 0], 2032: ['ctx-rh-frontalpole', 100, 0, 100, 0], 2033: ['ctx-rh-temporalpole', 70, 70, 70, 0], 2034: ['ctx-rh-transversetemporal', 150, 150, 200, 0], 2035: ['ctx-rh-insula', 255, 192, 32, 0]}
160613-15:46:01,40 interface INFO:
Grey matter mask created
160613-15:46:02,204 interface INFO:
Number of grey matter labels: 84
160613-15:46:02,205 interface INFO:
Label 0 not in provided mapping
KeyError: (75, '\nInterface ROIGen failed to run.')
Answers:
username_1: @username_0 is this still the case now that 6.0 is out of beta?
username_0: @username_1 yes.
Freesurfer freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0-2beb96c
nipype
{'commit_hash': 'ff02ed0',
'commit_source': u'repository',
'networkx_version': '1.11',
'nibabel_version': '2.1.0',
'nipype_version': u'1.0.0-gff02ed0.dev',
'numpy_version': '1.12.0',
'pkg_path': 'nipype',
'scipy_version': '0.14.0',
'sys_executable': '/usr/bin/python',
'sys_platform': 'linux2',
'sys_version': '2.7.9 (default, Jun 29 2016, 13:08:31) \n[GCC 4.9.2]',
'traits_version': '4.6.0'} |
gravitee-io/issues | 348696899 | Title: refresh button on dashboard and analytics page
Question:
username_0: <!--- separate refresh button with some time interval option on dashboard and analytics page. -->
### Expected Behavior
separate refresh button on dashboard and analytics page.
### Current Behavior
currently there is no option to refresh (apart from clicking time frame default time "1 D") but sometime user might think refreshing the page by pressing F5 or F6+Enter but it shows old data.
### Possible Solution
so if we could provide separate refresh thus user will click on refresh button to view update.
### Steps to Reproduce (for bugs)
1. configure the API
2. Hit by postman
3. come back to dashboard screen refresh the page by F5 , it should show hit count 1
4. but nothing will be there, now click on time interval now we can see the hit count 1
### Context
i have been giving demo to team member we hits the API from Postman but no increment in hit count every time we refreshed by F5 then later we moved to some other menu item and came to dashboard i got the hit count update.
### Your Environment
* Version used: 1.18.1
* Browser Name and version: chrome : Version 68.0.3440.84 (Official Build) (64-bit)
* Operating System and version: windows -10
Answers:
username_1: Closed by https://github.com/gravitee-io/issues/issues/1421
Status: Issue closed
|
psoerensen/qgg | 384830188 | Title: Error in read.dcf(path):
Question:
username_0: When I tried to install it I got the following error:
library("devtools")
install_github("username_1/qgg")
Error in read.dcf(path) :
Found continuation line starting ' ro ...' at begin of record.
Answers:
username_1: ?Hi Fernando, we will look into this. Peter
username_0: It worded, thanks.
Status: Issue closed
username_0: When I tried to install it I got the following error:
library("devtools")
install_github("username_1/qgg")
Error in read.dcf(path) :
Found continuation line starting ' ro ...' at begin of record.
username_0: BTW, the function "gprep" is not reading the correct ".fam" file.
It is written fam <- fread(input=**bimfiles**[1], header=FALSE, data.table = FALSE), but should be famfiles[1] instead.
Status: Issue closed
username_1: fixed - thank you for identifying this bug |
LoneGazebo/Community-Patch-DLL | 555808402 | Title: Interception
Question:
username_0: _1. Mod version (i.e Date - 4/23):_1-11-2
An enemy bomber attacks my unit and gets intercepted by my fighter (according to the animation), but the bomber manages to hurt my ground unit and there is not mention of the successful interception in the log. It seem the animation shows an interception when none takes place in reality.
Answers:
username_1: Did the fighter perhaps not have Interceptor IV?
I've noticed in my games that Destroyers will make the "intercepting"-sound every time, but only apply the damage sometimes (when the 25% chance triggers)...maybe it's the same for air planes?
Also, the fact that air unit actions often don't get logged makes it very confusing to figure out what's going on / what happened.
username_1: Okay I've been testing air units a bit and the animations and text notifications are REALLY buggy...they very often don't correspond to what's actually going on, which is quite confusing, like no animation and no text message despite Interception happening (I know it happened due to changes in HP).
username_2: hmm
Status: Issue closed
|
openebs/openebs | 300269134 | Title: Allow dynamic provisioner to connect to out of cluster maya-service
Question:
username_0: FEATURE REQUEST
As a first step towards making the maya-service configurable, the provisioner takes the maya-serivce name as an ENV (#1227). However, this needs to be extended to allow using api-servers that is outside of the cluster.
This kind of configuration will help to provide dedicated storage deployments and also to help with developers running local maya-binaries.
Answers:
username_1: @username_0 Please schedule this for the next sprint as it will enable the cStor team to do what needs to be done at this level. |
HerringtonDarkholme/yats.vim | 230792721 | Title: export default class breaks public/private/readonly/static
Question:
username_0: public/private/readonly/static show up as errors when export default class is used

Answers:
username_1: I'm getting this as well, whats up?
username_2: Sounds like class syntax isn't in typescriptExpression group, will fix it.
username_2: Fixed in https://github.com/username_2/yats.vim/commit/c8d92830107d5d17516b8937320421eade4c7c96
Status: Issue closed
|
googleapis/sloth | 575606215 | Title: Team is attributed by api first, then repo
Question:
username_0: [Issue](https://github.com/googleapis/google-cloud-cpp/issues/2990) for the C++ Bigtable client is attributed to Storage and Databases team instead of the C++ team.
All issues in google-cloud-cpp should be attributed to the C++ team by default.
Status: Issue closed
Answers:
username_0: [Issue](https://github.com/googleapis/google-cloud-cpp/issues/2990) for the C++ Bigtable client is attributed to Storage and Databases team instead of the C++ team.
All issues in google-cloud-cpp should be attributed to the C++ team by default.
username_0: Reopening as fix was rolled back by #596
Status: Issue closed
|
WarEmu/WarBugs | 646637754 | Title: Possible x realm abuse with double accounts
Question:
username_0: _Faction lock seems to work fine even with multiple accounts. However, I managed to find a way to dodge the faction lock if you are playing on multiple accounts._
**Expected behavior and actual behavior:**
Expected behavior: get faction locked after capturing keep in destro.
Actual Behavior: Was able to login just fine to order.
**Steps to reproduce the problem:**
1. Do whatever atrocities you need to do to get locked and exit game.
2. Shut down RoR launcher ( This might not be needed ).
3. Restart your router ( I'm running mobile internet so this might differ ). Toying around with ipconfig might also be enough to do the trick.
4. Start launcher and Login to your opposite faction account and you are able to play.
------------------------------------------------------------------------------------------
5. Exit game and log to your destro character. ( don't boot router ).
6. Now it displays faction lock that you should have got from part 1.
7. Faction lock now carries to order account but its timer is from part 1.
**Testing Screenshots/Videos/Evidences (always needed):**
Can duplicate the problem and get some screenshots if needed, Kinda hard to prove my point with just pictures and rather not share some of the screenshots publicly if possible.
Answers:
username_1: Thanks - this isn't necessarily a bug, it's just a limitation of the system.
Status: Issue closed
|
Flobbos/laravel-crudable | 603321889 | Title: Translatable -> $this->model becomes builder instance
Question:
username_0: When using a with() statement during an update the model instance referenced in translatable becomes a builder instance and therefore throws an error when trying to access the translated attributes of the underlying eloquent model.
Suggestion: Use the injected model to check for the translated attributes instead.
Status: Issue closed
Answers:
username_0: This bug was fixed. |
kanazawarb/meetup | 892585297 | Title: meetup 105 イベント後対応
Question:
username_0: ## レポートを作成する
- [ ] ツイートまとめ(togetter) ... 後述手順参照
- [ ] 写真アルバム(30days) ... 後述手順参照
- [ ] レポートページ
- [ ] 運営ブレストログ(github wiki)
## レポートをアナウンスする
- ツイートまとめ(togetter)
- [ ] Twitter
- [ ] Facebook
- [ ] ruby-jp slack
- 写真アルバム(30days)
- [ ] Twitter
- [ ] Facebook
- [ ] ruby-jp slack
- レポートページ
- [ ] Twitter
- [ ] Facebook
- [ ] ruby-jp slack
---
## 手順補足
* [ツイートまとめ(togetter) 作成手順](https://github.com/kanazawarb/meetup/wiki/how-to-write-together)
* [写真アルバム(30days) 作成手順](https://github.com/kanazawarb/meetup/wiki/30days-%E3%82%A2%E3%83%AB%E3%83%90%E3%83%A0%E4%BD%9C%E6%88%90%E6%89%8B%E9%A0%86)
* Ruby-jp slack template
```
先日 20XX年X月X日(土) に実施した Kanazawa.rb meetup XX のレポートをまとめました。
ツイートまとめ: https://togetter.com/li/XXX
アルバム: http://30d.jp/kzrb/XX
レポート: https://meetup.kzrb.org/XX/report.html
```
Answers:
username_0: 30days http://30d.jp/kzrb/95
togetter https://togetter.com/li/1716799
username_1: レポートページ、 @cottondesu 先生が PR 作ってくれていたのをレビューしてマージしました。
ありがたし、ありがたし :pray:
Status: Issue closed
username_1: ruby-jp slack にも書き込んでおきました。
クローーーズ 🎉
username_1: ref. https://ruby-jp.slack.com/archives/CM74K0KB8/p1622162630000700 |
dotnet/runtime | 921533095 | Title: [wasm] Use JsonSerializable attrbiute in browser-bench sample
Question:
username_0: To avoid `Trim analysis error IL2026` in this sample, we can use the new source generator prototype for json serialization and `JsonSerializable` attribute on `TextContainer` type.
Currently this is impossible due to https://github.com/dotnet/runtime/issues/54226.
Answers:
username_0: This is going to affect performance, so I think we should measure both cases, with and without generated serialization code. |
kyounglabumbc/beadmapping | 84117619 | Title: poor circle finding when circles are small and dense
Question:
username_0: missing circles in dense videos when radii are 1 to 2 pixels. may need to either tweak parameters or find a more robust method
Answers:
username_0: http://www.mathworks.com/matlabcentral/answers/195933-function-imfindcircles-detects-false-circles
username_0: im gonna email you the image from the run through. the proram is finding many circles as the spot directly between two circles. |
ruanyf/weekly | 625657897 | Title: 老闆想要成長 — 我們就讓老闆「看見」成長
Question:
username_0: 「世界上沒有所謂的『持續成長』,偏偏這卻是傳統商業人士所渴求的事。但成長的目的是什麼呢?牛津大學如此有名,它為什麼不在華盛頓哥倫比亞特區設分校呢?一個擁有一二〇個音樂家的交響樂團很成功,為什麼擁有六百個音樂家的交響樂團沒有更成功呢?『成長』完全稱不上是有效的商業策略。」
[文章連結](https://medium.com/@p5d12000/%E8%80%81%E9%97%86%E6%83%B3%E8%A6%81%E6%88%90%E9%95%B7-%E6%88%91%E5%80%91%E5%B0%B1%E8%AE%93%E8%80%81%E9%97%86-%E7%9C%8B%E8%A6%8B-%E6%88%90%E9%95%B7-3edd784cd8be)<issue_closed>
Status: Issue closed |
kinnala/scikit-fem | 560794761 | Title: expose element lengths
Question:
username_0: Stabilization techniques like ‘streamwise diffusion’ ([Elman, Silvester & Wathen 2014, §6.3.2](doi.org/10.1093/acprof:oso/9780199678792.003.0007)) are based on an ‘element Péclet number’
which requires a measure of the length of the local element.
The details of the definition vary (Elman et al p. 253 prefer ‘a measure of the element length in the direction of the wind’), but a simple start on this might be to expose of the local variable `lengths` in
https://github.com/username_1/scikit-fem/blob/0065458db249a91380f88a6c4286738b5dc97731/skfem/mesh/mesh3d/mesh3d.py#L41-L44
and similarly the argument of `max` in
https://github.com/username_1/scikit-fem/blob/0065458db249a91380f88a6c4286738b5dc97731/skfem/mesh/mesh2d/mesh2d.py#L43-L46
Then `param` could be moved up to the common superclass `skfem.Mesh`.
Answers:
username_1: In bilinear form definition you can use w.h which should do the trick.
Status: Issue closed
|
jbangdev/jbang | 654671089 | Title: Add option `--class-path`, `--cp` to `run` for adding dependencies
Question:
username_0: We talked about this before @username_1 and you said you can use the `JAVA_OPTS` for that, which is correct, but I just came up with a use-case which is not easily doable in that way:
When the user wants to add dependencies on Maven artifacts.
I thought of this when getting one of those typical warnings at the startup of some artifact where it says that it's missing a Logger library. And I wondered how you could add that artifact when you do something like `jbang run com.example:my-artifact:1.2`. Well, what about:
`jbang run --cp com.example:runtime-impl:1.2 com.example:my-artifact:1.2`
(We could even permit URLs now that we have the infrastructure in place for references to GAVs and remote JARs)
Answers:
username_1: Yes. Part of what would make jbang a java standin.
username_1: One issue though - : conflicts with path separator. Thus I think for gav we would need something like —deps to also get transitive deps.
username_0: Ah yes, you're absolutely right. So perhaps we should just forget about `--class-path`/`--cp` to avoid any confusion. We _only_ add `--dep` (NOT plural) and you can use that to add _one_ path, GAV or URL. Wdyt?
For people that need to add old-style Java paths there's still the JAVA_OPTS option.
username_1: Ack on allowing it to be stated multiple times.
Nack on it being —dep.
Should be deps and just be treated exactly same as input to //DEPS as we allow those to have space, semicolon or commas as separators.
I still think having -cp support should be added but different usecase than what you were after.
username_0: Just encountered a situation where I could have used this feature. Perhaps I should start on a PoC of adding `--cp` and `--deps`. It shouldn't be too hard, right? (Famous last words)
username_1: i think it should be fairly straightforward (second famous :)
Status: Issue closed
|
CocoaLumberjack/CocoaLumberjack | 57686701 | Title: CocoaLumberjack not available
Question:
username_0: 1. Add the lumberjack files to your project.
2.Configure the framework.
2.1 Write in the test.pch files
#import "./CocoaLumberjack/Classes/CocoaLumberjack.h"
#import "./CocoaLumberjack/Classes/DDLegacyMacros.h"
#ifdef DEBUG
static const int ddLogLevel =LOG_LEVEL_VERBOSE;
#else
static const int ddLogLevel = LOG_LEVEL_OFF;
#endif
2.2 YGAppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[DDLog addLogger:[DDASLLogger sharedInstance]];
[DDLog addLogger:[DDTTYLogger sharedInstance]];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
DDLogError(@"ok");
}
Compile the project .Report an error
Ld /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog normal x86_64
cd /Users/Jackson/Desktop/oc/testlog
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos -L/Users/Jackson/Desktop/oc/testlog -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos -F/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/build/Debug -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/Build/Debug -filelist /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -Xlinker -dependency_info -Xlinker /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog_dependency_info.dat -o /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog
ld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos'
ld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos'
ld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release'
ld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DDASLLogger", referenced from:
objc-class-ref in YGAppDelegate.o
"_OBJC_CLASS_$_DDLog", referenced from:
objc-class-ref in YGAppDelegate.o
"_OBJC_CLASS_$_DDTTYLogger", referenced from:
objc-class-ref in YGAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
help me!!!
Answers:
username_0: my system is Xcode 6.1,help me...
username_1: I would first search [StackOverflow] (http://stackoverflow.com/search?q=%5Bios%5D+symbol%28s%29+not+found+for+architecture+x86_64) for the error "ld: symbol(s) not found for architecture x86_64" when building for iPhone / simulator. GitHub project issues tend to focus on specific project bugs / feature requests. (I'm not experienced on mobile, but I would expect x86_64 to be for MacOS X builds, so it may be that an Xcode project setting is incorrect).
username_0: I guess where settings are not correct, try many times will not work, so I posted to ask?
Embedded dylibs/frameworks are only supported on iOS 8.0 and later for architecture x86_64
I compiled here the old error? Xcode6 how to set up? Can give a detailed explanation?
Status: Issue closed
username_0: help,help...
username_0: Still errors . why?why?
Embedded dylibs/frameworks are only supported on iOS 8.0 and later for architecture x86_64
username_0: 1. Add the lumberjack files to your project.
2.Configure the framework.
2.1 Write in the test.pch files
#import "./CocoaLumberjack/Classes/CocoaLumberjack.h"
#import "./CocoaLumberjack/Classes/DDLegacyMacros.h"
#ifdef DEBUG
static const int ddLogLevel =LOG_LEVEL_VERBOSE;
#else
static const int ddLogLevel = LOG_LEVEL_OFF;
#endif
2.2 YGAppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[DDLog addLogger:[DDASLLogger sharedInstance]];
[DDLog addLogger:[DDTTYLogger sharedInstance]];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
DDLogError(@"ok");
}
Compile the project .Report an error
Ld /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog normal x86_64
cd /Users/Jackson/Desktop/oc/testlog
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos -L/Users/Jackson/Desktop/oc/testlog -L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos -F/Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/build/Debug -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release -F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release -F/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Desktop/Build/Debug -filelist /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -Xlinker -dependency_info -Xlinker /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Intermediates/testlog.build/Debug-iphonesimulator/testlog.build/Objects-normal/x86_64/testlog_dependency_info.dat -o /Users/Jackson/Library/Developer/Xcode/DerivedData/testlog-ahnjaufjbbzpuicykofoftfdpque/Build/Products/Debug-iphonesimulator/testlog.app/testlog
ld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/build/Debug-iphoneos'
ld: warning: directory not found for option '-L/Users/Jackson/Desktop/oc/testlog/testlog/CocoaLumberjack/Framework/Mobile/Build/Debug-iphoneos'
ld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-hagiutaowmyznjdswctloqoaktgh/Build/Products/Release'
ld: warning: directory not found for option '-F/Users/Jackson/Library/Developer/Xcode/DerivedData/Lumberjack-dknsbwmeyhqxyugzaxspmmklmamb/Build/Products/Release'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DDASLLogger", referenced from:
objc-class-ref in YGAppDelegate.o
"_OBJC_CLASS_$_DDLog", referenced from:
objc-class-ref in YGAppDelegate.o
"_OBJC_CLASS_$_DDTTYLogger", referenced from:
objc-class-ref in YGAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
help me!!!
username_2: So this is when not using CocoaPods right?
username_0: CocoaPods Already installed right.
username_2: CocoaPods may be installed but I think you're adding the files manually or using the Lumberjack project.
Can you try using a [`Podfile`](http://guides.cocoapods.org/syntax/podfile.html) with `pod 'CocoaLumberjack'` in it?
username_3: :+1: I hit this as well. I've been using CocoaLumberjack for ages w/ Cocoapods and v2.0 rc2 broke my build. I haven't investigated it much though. I'll add any additional details I can find.
username_2: Was it working with the previous rc?
Cleaning the project before building may also help.
username_3: Resolved my issue tonight. I thought it was similar to this issue but it was completely different. I accidentally opened the xcode project instead of the workspace so it was a very easy fix.
username_2: Good to know! Does it solve your problem @username_0 ?
Status: Issue closed
username_4: Closing, it should be fine now, since we also have the [Manual install section doc](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/GettingStarted.md#manual-installation) |
Flutterando/modular | 836882630 | Title: Passing arguments to the wrong route
Question:
username_0: ```
ChildRoute(
Routes.ACTION_RESULT,
child: (_, args) => FullScreenActionPage(args.data),
transition: TransitionType.fadeIn,
),
ChildRoute(
Routes.SEND_FEEDBACK,
child: (_, args) => FeedbackPage(args.data),
routeGenerator: (builder, settings) =>
PopupRouteBuilder.build(builder: builder, settings: settings),
),
```
From SEND_FEEDBACK page I'm navigating to ACTION_RESULT page. Each page using separate models for the args:
- SEND_FEEDBACK - FeedbackType
- ACTION_RESULT - FullScreenActionArgs
During performing any king of named navigation (pushReplacementNamed, pushNamed) Modular reinstantiates current page (bug #311) but moreover for some reason is passing FullScreenActionArgs to the SEND_FEEDBACK route for the split of the second.
Answers:
username_1: please. Try v3.0.1
username_0: thanks, there is no issue on v3.0.1. But unfortunately, I'm not able to migrate on it due to the broken RouterOutlet logic #333.
Status: Issue closed
|
nuxtjsbrasil/nuxtjsbrasil.github.io | 353414697 | Title: Sobre oe testes
Question:
username_0: Rodei os testes local aqui e quebrou algo. Acho que quando o @username_1 estava elaborando os testes o @galvez altereou alguma coisa no Hero.



Answers:
username_1: html alterado... tem que rodar um novo snapshot
adiciona no package.json
"test:newsnapshot": "jest -- -u"
esse comando tira um novo snapshot mas tem que ter certeza da alteracao que esta fazendo
username_1: caso queira usar um watch pra testar enquanto coda usa
jest -- --watch
e pra testar somente o que foi alterado
jest -o |
puyis/tea-cozy | 329503839 | Title: Suggestion - add IDs to each section and link in nav
Question:
username_0: Seen here: https://github.com/puyis/tea-cozy/blob/9ee2193e63c2d55840888d9d188519a9116f7bb0/index.html#L13-L15
Seems like you already have them linked in the nav, you just have to label the divs correctly. |
nesbox/TIC-80 | 803171819 | Title: Angle() Function
Question:
username_0: Plz add a function named angle( x1 , y1 , x0 , y0 , x2 , y2 ) which returns angle in radians ( 0 to 2*pi ) and it is angle between point ( x1 , y1 ) and ( x2 , y2 ) w.r.to ( x0 , y0 ) as center
Answers:
username_1: Sounds like something for an external library to me, some sort of geometry lib.
username_2: You could implement this in a small function in your code. Pythagoras will help you out 😉
username_1: I found this helpful for just the math:
https://www.varsitytutors.com/calculus_3-help/angle-between-vectors
username_3: Agreed, it's a kinda geometry lib function, the current API is more for working with the virtual "hardware" :)
username_1: https://gist.github.com/Xeoncross/9511295#file-mathlib-lua-L231
```lua
-- Returns the angle in degrees between the first and second points, measured at the centre
-- Always a positive value
function angleAt( centre, first, second )
local a, b, c = centre, first, second
local ab = math.lengthOf( a, b )
local bc = math.lengthOf( b, c )
local ac = math.lengthOf( a, c )
local angle = math.deg( math.acos( (ab*ab + ac*ac - bc*bc) / (2 * ab * ac) ) )
return angle
end
```
username_0: Thanks :)
username_0: I made it , angle between 3 points with x0,y0 as center , it's 30 lines of code :)
username_1: 30 lines? Why doesn't the code there work as is?
username_0: I just wrote my own code :)
username_0: It's done here : https://tic80.com/play?cart=1663
Should this be closed now ?
Status: Issue closed
username_3: Great, thank you :)
username_0: Usage of angle ( ) Function i created : https://tic80.com/play?cart=1946 |
grovesNL/glow | 675324972 | Title: Slow compile times due to compiler bug
Question:
username_0: This isn't directly actionable by `glow`, but I wanted to open an issue to draw attention to it.
I was surprised at how long `glow` took to compile given its complexity (~14 seconds on my machine).
I asked about it in the Rust compiler team Zulip and they diagnosed it as this issue: https://github.com/rust-lang/rust/issues/65510 (Quadratic slowdown for lookup of bounds on associated types)
@matthewjasper believes this should be fixed by https://github.com/rust-lang/rust/pull/73905
Answers:
username_0: So rust-lang/rust#73905 was merged and I decided to see how it impacts `glow` compile times.
Clean build times of `glow` on stable: ~15.3 seconds
Clean build times of `glow` on nightly: ~3.6 seconds
This is a fantastic improvement! :)
Thanks @matthewjasper! |
angular/language-service-builds | 401869035 | Title: Angular Language Service plugin causes a major slowdawn for Navigation to definition in Visual Studio Code
Question:
username_0: Hello
Last 2 months Angular Language Service plugin for Visual Studio Code is the main reason of a major slow dawn for navigating to classes on Ctrl + Click
Could you please disable interrupting go to definition for *.ts files and do it for template files only.
Steps:
1. Open large project
2. Wait for 30 seconds (Visual Studio Code builds navigation to definition files)
3. Hold Ctrl and click on any class in ts file
Actual result:
35 secs of waiting is needed before definition is opened.
Expected result:
Do not interfere with .ts files |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.