repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
Ludeon/RimWorld-ru | 619555236 | Title: 2635 Royalty Keyed
Question:
username_0: Автоформатированные файлы:
[2635 - Royalty Keyed.zip](https://github.com/Ludeon/RimWorld-ru/files/4639216/2635.-.Royalty.Keyed.zip)
Порядок действий:
1. Распаковать архив в перевод с заменой существующих файлов
2. Просмотреть изменения при помощи diff-инструмента
3. Модифицировать перевод в соответствии этими изменениями
Answers:
username_1: взял
Status: Issue closed
|
NVIDIA/apex | 928490737 | Title: Understanding the amp
Question:
username_0: I'm running the amp on an models ensemble using opt_level=02. I observe that the models weight are converted to FP16 during the forward pass, however the models input/output tensors are converted back to FP32 and loss is calculated over those tensors.
I also observe GPU memory go down, but the step train time go up compared to opt_level=00.
Is this the expected behavioral? I would expect the model output to remain FP16 and train time go down.
Thank you.<issue_closed>
Status: Issue closed |
solarwinds/OrionSDK | 498319176 | Title: More Content for Get-Help in Cmdlets
Question:
username_0: Adding more content to Get-Help including examples would be useful. Will take this on as a Loop1 project.
Status: Issue closed
Answers:
username_0: The intern that was going to take this on has finished his run with us. I'll pick it up again when I can. |
mscdex/ssh2 | 278730302 | Title: [Request] Documentation: Document Connection Stream Events
Question:
username_0: For anyone trying to extract data from the stream in certain circumstances without knowing about the `end` and `error` events on the connection, this can make for issues in asynchronous applications. Is there any possibility that the documentation can reference these events?
```
conn.on('ready', () => {
// shell/exec
}).on('error', error => {
throw error; // catches connection errors
}).on('end', () => {
// catches the end event, so and data can be passed
}).connect(options);
```
I'm sure there are other events as well, but these are the two I've been able to dig out of the source so far. If needed I would be happy to create a PR for the README to mention these.
Anyways, thanks for the module! It has been a life-saver!
Answers:
username_1: You can just listen for `'close'` (instead of `'end'`), which will get emitted no matter what when a TCP connection closes, whether it was due to error or not. Everything else should already be documented.
username_0: Great to know, and thanks for the reply!
Sure enough, these are certainly mentioned in the API, but as you said `close` isn't mentioned.
I remember seeing these options in the small amount of docs I looked at covering the server (something I didn't have much use for, yet), so I didn't dive into the server portion enough to know they were both using the same Client. Even so, I always have more fun tearing through the source. My main concern is future users, and not my own personal gain, because let's face it this is an amazing module to have on hand for anyone needing SSH.
To build upon that, the reason I mentioned adding more context to the documentation is based on the way I incorporate ssh2 in my own React/Redux app, by using a similar approach to the above so it can be used in a Redux action within a React app. When using the two separate events `end` & `error` you can satisfy the resolve/reject for a promise, or any other async action within a custom API, which makes it easy to return a success/failure for redux.
If you feel this is something better covered in a developer blog I certainly understand, and will do exactly that. Even so, I wanted to at least bring it up to suggest adding such event catches to help those coming from React/Redux (sometimes with limited CommonJS) to see an easy way for implementation ssh2 into their own apps. I don't think it would take anything specific to React/Redux itself, but possibly showing these events being caught in the examples (not just in the Server examples). I would think most would want to catch Client connection errors anyways, no?
Anyways, thanks for the time, and anticipate your response.
username_1: That's the case for any `EventEmitter` in node. Whether it's node core, `ssh2`, or any other third-party module that uses an `EventEmitter`.
I'm still not quite sure what you're asking/requesting.
username_0: My apologies for the lack of clarity, it looks like you have it covered and I just overlooked it.
My request was to add a use-case for these events in the Client section of the documentation, and not just in the API, and server. While it is later made apparent that the client and server use the same object, it's not clear at first glance, making the connection events like this seem specific to ssh2 servers.
Overall it's just an ignorant oversight, but I was requesting to add more context to the client section to show the overlap to new users. Realistically its redundant, so it may not be something worth adding.
Anyways, closing this ticket.
Status: Issue closed
|
FusionAuth/fusionauth-issues | 904223997 | Title: Users imported with passwordChangeRequired=true see internal server error after login
Question:
username_0: ## Users imported with passwordChangeRequired=true see internal server error after login
### Description
We force all imported users to Fusion to change their passwords on the next login by setting passwordChangeRequired=true. After login, the user see internal server error.
### Affects versions
1.27.2
### Steps to reproduce
Steps to reproduce the behavior:
1. Import user using https://fusionauth.io/docs/v1/tech/apis/users/#import-users API
2. All users are imported with users[x].passwordChangeRequired = true
3. After import, log in with the imported user credential
4. After login, noticed the encryption_scheme and password of the user has been updated. However, the user then see a internal server error and the attached error captured in the server log.
### Expected behavior
The user can login and start that password reset flow.
### Screenshots

### Platform
(Please complete the following information)
- Device: MacBook Pro
- OS: macOS
- Browser: chrome 81.0.4044.122 (Official Build) (64-bit)
- Database: MySQL 8.0.15
### Community guidelines
All issues filed in this repository must abide by the [FusionAuth community guidelines](https://fusionauth.io/community/forum/topic/1000/code-of-conduct).
### Additional context
Add any other context about the problem here.<issue_closed>
Status: Issue closed |
SYANiDE-/SLAE-32 | 536535305 | Title: SLAE-Code.zip
Question:
username_0: is is possible to update SLAE-Code.zip as well? Thank you!
Answers:
username_1: Not quite sure I understand... I don't recall there being a SLAE-Code.zip. Do you have a link to this so I can determine what you're looking at?
username_0: Sorry didn't make myself clear. I referred to the .gitignore file, and found SLAE-Code.zip was excluded from the repo, so I was wondering if you still have this file and mind sharing.
username_1: Aaah, I see. Well I just analyzed the file in question, and I can tell you that it's precisely the same thing as is in the repository. What happened is I zipped up my entire working directory on my VM which I was studying for and taking this course/certification, and moved it to my host OS. I then created the repository and unzipped into the repository. Then pushed.
There is nothing extra missing from the repository which is also in that zip, save for third-party artifacts which I myself did not author. Everything here in this repo is of my own making.
You can just as easily download the zip version of the repository via https://github.com/username_1/SLAE-32/archive/master.zip
Cheers!
username_0: I see. Thank you so much!
Status: Issue closed
|
ridwanskaterock/cicool | 470361581 | Title: Join on tables for CRUD
Question:
username_0: Hi
I have version 2.8.0
There is an error in Crud list when including Select Multiple
In the list created the id is always 1.
I think the joined table id is being used.
Do you have a fix for this please, URGENT.
See Images attached from DB and List
<img width="1440" alt="Screenshot 2019-07-19 at 16 39 42" src="https://user-images.githubusercontent.com/52945389/61543504-e9968f80-aa43-11e9-87a3-1817b0d0c638.png">
<img width="1085" alt="Screenshot 2019-07-19 at 16 39 48" src="https://user-images.githubusercontent.com/52945389/61543521-f3b88e00-aa43-11e9-8851-ceaab365aaaa.png">
Answers:
username_0: <img width="1163" alt="Screenshot 2019-07-19 at 16 41 55" src="https://user-images.githubusercontent.com/52945389/61543614-26fb1d00-aa44-11e9-961c-020802da357c.png">
username_0: Also you will see in images "Group: and "Area" is showing id in the list not description as in Database Table
username_1: Yes for select can you make sure field reff select to primary key and field label select to your label for example

Status: Issue closed
username_1: In version 3 i have fixed for issue select and select multiple
Thanks
username_2: 
Mas Bagaimana cara nya Join table, di saya tidak muncul field untuk foreignkey nya?
username_2: 
Relasi join tabel nya tidak muncul mas?
username_1: coba ke tab network terus liat response XHRnya mas

username_2: 
username_1: coba mas sesuaikan code di bagian itu


itu udah di fix di versi 3.x |
ROBOTIS-GIT/dynamixel-workbench | 394889455 | Title: skipping ID number 0 issue when the searching dynamixel
Question:
username_0: https://github.com/ROBOTIS-GIT/dynamixel-workbench/blob/851a13b0485ee54b157196e7a1094d4f497c6cc4/dynamixel_workbench_toolbox/src/dynamixel_workbench_toolbox/dynamixel_driver.cpp#L331
I have tried to find my robot's motors several times using
$ rosrun dynamixel_workbench_controllers find_dynamixel /dev/ttyUSB0
and I found that "find_dynamixel" always could not find ID number 0.
I thought that it was from a cable fault or so. But it wasn't.
It seemed like starting from ID number 1.
this line should be changed in this code so that the code can start to find from a motor whose id is ID number 0
- return scan(get_id, get_the_number_of_id, 1, range, log);
+ return scan(get_id, get_the_number_of_id, 0, range, log);
Thanks ahead of time.
Answers:
username_1: Thank you for your contribution.
I've updated your comment to master branch
https://github.com/ROBOTIS-GIT/dynamixel-workbench/pull/215
username_0: I'm feeling happy that I could contribute it :)
thanks for the update !
username_1: Thanks again. If you have any further issue, please feel free to get ticket :)
Status: Issue closed
|
Beagle123/visualruby | 157532942 | Title: No support for Rubucop in the code editor
Question:
username_0: Rubucop is a must have when I writte ruby code, it really helps me writting good code (not so bad at least) and follow the common rules (I guess you know those links):
* https://github.com/bbatsov/ruby-style-guide
* https://github.com/bbatsov/rubocop
Answers:
username_1: Thanks cediemo:
Cool links. I've been reading the formatting stuff and tightening up my code. I ran rubocop, and it spit out a million messages, mainly about tabs. Its a cool idea.
Actually vr will support rubocop: Just go to "Project Settings" and under the run command, type in rubocop, then press "Run" button :)
You inspired me to make a better "Open Project" box when I needed to clarify how to open the example projects under your vr folder. Now, I've reprogrammed it. I think you'll find it easier. Also, you can set your own root, so you don't need to make it the home/visualruby folder. It's a super-fast interface:
https://www.ruby-forum.com/topic/6878560#new
Just clone latest github version.
Last time we communicated, you only needed to open the examples under your code folder to get it to work. Just go to "Tools" => "Global Settings" and set it to the folder where you run "ruby vr" Let me know if this makes it easier.
When you get this going, you'll have a working copy of visualruby that it editing itself. So if you press the run button, it will be running the code that you're looking at.
Best,
Eric
Status: Issue closed
|
webpack/webpack-dev-server | 913782870 | Title: webpack-dev-server requires page reload after a syntax error in the code.
Question:
username_0: Reload stops working and requires browser reload after a syntax error occur in the code.
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.11.2"
Here is my webpack config file:
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
mode: 'development',
entry: './src/index.js',
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist'),
},
devServer: {
contentBase: path.join(__dirname, 'src'),
hot: true,
port: 3000,
},
plugins: [
new HtmlWebpackPlugin({
title: 'Development',
}),
],
};
Status: Issue closed
Answers:
username_1: Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.
Please fix it and I will reopen and help.
You don't need to set `contentBase: path.join(__dirname, 'src')`, contentBase is `public` directory, you don't need to watch source of code, webpack do it itself |
katzer/cordova-plugin-local-notifications | 57921018 | Title: Past date notification coming ?
Question:
username_0: I had a problem in my android 4.4 Past date notification coming, please resolve this problem.
Answers:
username_0: I was tested both master and stable, please check.
username_1: hi @username_0, can you please explain a bit more detailed what you mean?
If you schedule a local notification with a date points to the past, the notification will trigger immediately.
username_0: Thanks for the quick replay Katzer.
In my DB i have a list of date and time.
for ex...
Fri Feb 16 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 17 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 18 2015 09:00:00 GMT+0530 (India Standard Time)
If I fetch and put the notification by now(Fri Feb 18 2015 10:40:00 GMT+0530 (India Standard Time)), The Notification will trigger immediately.
Status: Issue closed
username_0: All the Three
username_0: Thanks for the quick replay Katzer.
In my DB i have a list of date and time.
for ex...
Fri Feb 16 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 17 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 18 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 19 2015 09:00:00 GMT+0530 (India Standard Time)
If I fetch and put the notification by now(Fri Feb 18 2015 10:40:00 GMT+0530 (India Standard Time)),
the first three date and time will trigger immediately, the last date and time working correctly.
username_0: Thanks for the quick replay Katzer.
In my DB i have a list of date and time.
for ex...
Fri Feb 16 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 17 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 18 2015 09:00:00 GMT+0530 (India Standard Time)
Fri Feb 19 2015 09:00:00 GMT+0530 (India Standard Time)
If I fetch and put the notification by now(Fri Feb 18 2015 10:40:00 GMT+0530 (India Standard Time)),
the first three date and time will trigger immediately, the last date and time working correctly.
username_0: I had a problem in my android 4.4 Past date notification coming, please resolve this problem.
username_1: This is intended.
username_0: but in your previous versions like 0.6.3, i m not getting this kind of a problem the current version only i m getting.
username_0: but i m not getting this kind of problem with your previous versions(0.6.3), current version only i m getting.
username_1: You can check if the date was in the past before scheduling it. I hope thats a working solution for you.
username_0: but I m using repeat, for future the past before scheduled notification will not trigger ?
username_2: Hi username_0, when setting a repeating notification you will need to compute the first occasion in the future on which this should fire and specify this in your "add" or "schedule" (v.8.0rc) command.
I found the Moment.js library to be very useful with this: http://momentjs.com
username_0: Thanks @username_2 this might be very useful, will try and give the feedback.
Status: Issue closed
username_1: The new 0.8.x release is a complete rewrite. If the issue still exists please reopen it.
You may also take a look into the new [wiki](https://github.com/username_1/cordova-plugin-local-notifications/wiki).
Thanks! |
EdenServer/community | 456441292 | Title: Leather guild NPC bugged. Cannot receive any GP
Question:
username_0: ### Checklist
<!--
Don't edit or delete this section, but tick the boxes after you have submitted your issue.
If there are unticked boxes a developer may not address the issue.
Make sure you comply with the checklist and then start writing in the details section below.
-->
- [x] I have searched for existing issues for issues like this one. The issue has not been posted. (Duplicate reports slow down development.)
There was 1 issue but it turned out they didn't know you have to wait a jp midnight. I've waited multiple
- [x] I have provided reproducable steps. (No "as the title says" posts please. Provide reproducable steps even if it seems like a waste of time.)
I changed guilds from clothcraft to leather on a Saturday night.
Sunday afternoon after jp midnight/tally: I was asked to make barbarian's belts.
I crafted some and traded the leather GP npc the belts and there was no dialouge, she did not accept them, nothing happens at all.
Thinking the tally bugged, I waited the next day. Was asked to make raptor helms.
Made some and traded...nothing happened at all.
Waited one last day, was asked to make leather gloves. Got some and traded them. Nothing happened at all. Thinking I bugged the leather npc, I swapped to smithing.
The next jp midnight, I was able to turn in gear and acquire GP for smithing. I got my 10k GP needed. I swapped back the leather to see if it would work.
I waited a jp midnight and they asked for magic belts. I crafted some and traded them and nothing happened at all. I cannot receive any leather GP at all.
[x] I have provided my client version in the details. (type /ver into your game window)
version 30181205_0
### Details
I have switched to from cloth to leathercraft. It's been 3 jp midnights and the npc Alivatand will tell me what he is accepting but when I trade it, nothing happens. I did not rank up. He should be accepting the items. I switched to smithing and was able to turn in items just fine. I got my 10k GP and key item I needed. I switched back to leather (thinking maybe something bugged the 1st time) waited a jp midnight and crafted the items the npc above asked for. He does not accept them, doesn't give me any dialouge...nothing happens at all. The Leather GP npc is not accepting my items and I cannot receive any leather Guild points (I've tried a total of 4 days [jp midnights and even a weekly tally] and this npc isn't giving me guild points at all
Answers:
username_1: Super late comment, but if not resolved, please call GM, might be able to get it fixed.
Status: Issue closed
|
github-vet/rangeloop-pointer-findings | 781421288 | Title: NathanSun1981/CSC564: project/src/chat-room/routes/websocket.go; 6 LoC
Question:
username_0: [Click here to see the code in its original context.](https://github.com/NathanSun1981/CSC564/blob/254c9bf26001882bd2e4639697b0d5d0520c5450/project/src/chat-room/routes/websocket.go#L136-L141)
<details>
<summary>Click here to show the 6 line(s) of Go which triggered the analyzer.</summary>
```go
for _, event := range subscription.Archive {
if conn.WriteJSON(&event) != nil {
// They disconnected
return
}
}
```
</details>
<details>
<summary>Click here to show extra information the analyzer produced.</summary>
```
No path was found through the callgraph that could lead to a function which writes a pointer argument.
No path was found through the callgraph that could lead to a function which passes a pointer to third-party code.
root signature {WriteJSON 1} was not found in the callgraph; reference was passed directly to third-party code
```
</details>
Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket:
See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information.
commit ID: 254c9bf26001882bd2e4639697b0d5d0520c5450 |
biddster/node-red-contrib-wemo-emulator | 360533240 | Title: Working with alexa sdk on raspberry as well?
Question:
username_0: Hi
Does this also work when alexa sdk is running on same raspberry? Or ist this like fauxmo lib which is only working with 1st gen of dot?
Thanks
Answers:
username_1: I honestly don't know the answer to this. I've not looked at the alexa sdk stuff at all. This node simply wraps the wemore library and it's that library that handles the Alexa stuff.
Status: Issue closed
|
KtreeOpenSource/moodle-local_dashboard | 159133609 | Title: DB API usage - get_records_sql()
Question:
username_0: Attempting to visit /local/dashboard/moduleActivities.php throws
```
Did you remember to make the first column something unique in your call to get_records? Duplicate value 'News forum' found in column 'name'.
line 812 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
line 76 of /local/dashboard/moduleActivities.php: call to pgsql_native_moodle_database->get_records_sql()
``` |
toselli/issues | 1157191845 | Title: Roles - Adm
Question:
username_0: ### Descripcion del error
Hola Chicos!
Les pedimos las siguientes modificaciones en cuanto roles y visualización de pestañas en el adm.
- [ ] Pestaña blacklist: Se le quite la posibilidad a cualquier otro rol que no sea STAFFROOT, de visualizarla.
- [ ] Pestaña Configuración: Solo que la manipule STAFFROOT, la misma está vacía para otros.
- [ ] Pestaña reportes: solo para STAFROOT BI por agencias. BI por proveedores, BI por incidencias, BI por vendedores y BI Dashboard.
Gracias!
### Paso a paso para reproducir el error
.
### Captura del error



### Link al error y/o Localizador
.
### Plataforma
Google Chroome |
FriendsOfSymfony/FOSRestBundle | 319270478 | Title: SF 3.2->3.4 Response 204 regression
Question:
username_0: Hello,
So we're getting a regression when trying to upgrade to sf 3.4. Once upon a time I had actually tracked down the issue to a change in symfony itself or what this bundle was doing but I've since lost that work but needed to report it. Our tests are failing because instead of receiving a 204 response we're getting a 200.
Here's my controller code
```
protected function updateCase(Request $request, $objId, $method, $formName, $className)
{
$entityMgr = $this->get('doctrine.orm.entity_manager');
$obj = $entityMgr->getRepository($className)->find($objId);
$form = $this->createForm($formName, $obj, ['method' => $method]);
return ($this->updateObject($request, $entityMgr, $form)) ?
$this->view(null, Response::HTTP_NO_CONTENT) :
$this->view($form, Response::HTTP_BAD_REQUEST);
}
```
This controller extends the FOSRestController. When I go from sf3.2 our functional tests fail. Thoughts?
Answers:
username_1: Can you create a small example application that allows to reproduce your issue?
username_1: If there is an existing app that could be easier to set up. Can you share the URL of the git repository?
username_0: https://github.com/IBVPD/Nuvi
the src/NS/ApiBundle and related tests is what fails when you change composer.json to allow symfony ^3.2. I'm on IRC and on slack if you want me to help point out what's going wrong and where |
houjunjie/FE-learning | 403410679 | Title: lodash - array - concat
Question:
username_0: # Array 02 - concat
## concat
`concat(array, [values])`
创建一个新数组,将数组与任意的数组或值连接起来
照例,先自己实现一波
```
function concat2 () {
let length = arguments.length;
if(!length) return [];
let result = [];
for(let index = 0; index < length; index++) {
let value = arguments[index]
if(value instanceof Array) {
for(let valueIndex = 0; valueIndex < value.length; valueIndex++) {
result.push(value[valueIndex]);
}
} else {
result.push(value)
}
}
return result
}
```
lodash源码
```
function concat() {
var length = arguments.length;
if (!length) {
return [];
}
var args = Array(length - 1),
array = arguments[0],
index = length;
while (index--) {
args[index - 1] = arguments[index];
}
return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
}
```
源码很简单,我主要的疑惑是源码的实现,主要借助了两个工具函数`arrayPush`和`baseFlatten`。作用是什么?简单的和自己的实现做了一下对比。性能上差距不大。那我只能猜测是兼容,或者是一些边界的判断。让我们来看看他们的源码是怎么实现这两个函数的,到底是不是和我们想象的作用一样。
### arrayPush
```
/**
* Appends the elements of `values` to `array`.
* 将values的元素添加到array,也可以说是把values拼接到array
* @private
* @param {Array} array The array to modify. 要改变的array
[Truncated]
var value = array[index];
// 是否打平的判断,循环深度必须大于0,且value是可以被打平的
if (depth > 0 && predicate(value)) {
// 循环深度是否大于1, 大于1则进行递归打平
if (depth > 1) {
// Recursively flatten arrays (susceptible to call stack limits).
baseFlatten(value, depth - 1, predicate, isStrict, result);
} else {
// 将结果数组与当前的value进行拼接
arrayPush(result, value);
}
} else if (!isStrict) { // 如果没有通过predicate校验,则不把值添加到结果数组
result[result.length] = value;
}
}
return result;
}
```
看完这两个工具函数的源码。虽说这些工具函数对于一些边界判断确实存在,但我并没有感觉到是必要的。个人觉得更多是代码组织方面的问题。。可能也是自己能力还不足,没有一个更深的理解。。end |
ciscoheat/mithril-hx | 879471646 | Title: Broken in Haxe 4.2?
Question:
username_0: I wish I could figure this out myself, but unfortunately I'm not making any traction. The `Either` abstract seems to be broken in Haxe 4.2?
Using Haxe 4.2 and running `haxe client.hxml` you get:
```
➜ haxe client.hxml
example/DashboardComponent.hx:81: characters 18-27 : DashboardComponent should be mithril._M.Either<mithril.Component, mithril.RouteResolver<Dynamic>>
example/DashboardComponent.hx:81: characters 18-27 : ... For function argument 'routes'
```
This replicates what I'm seeing in my projects as well, whenever I try to use a route.
Minimal example showing the issue:
```haxe
package;
import mithril.M;
import js.Browser;
class TestPage implements Mithril {
public function new() {}
public function view(vnode: Vnode<TestPage>): Vnodes {
return m('p', 'Hello');
}
}
class Main {
static function main() {
var testPage = TestPage();
M.route.route(Browser.document.body, '/', {
'/': testPage,
});
}
}
```
I believe I've traced this to the abstract `Either` definition, but I can't figure out how to fix it yet (other than just defining Either as Dynamic and calling it a day).
Answers:
username_1: Hi, this was/is a very strange, intermittent error. I managed to make it work through this process:
1. Moved the routes to a var (still got the error after this)
2. Added $type around the var just to see what was going on
3. Got a compiler failure message with stack dump
4. Removed $type
5. Suddenly it started to work, and after that I've been unable to reproduce the issue.
Testing with your example, moving the routes to a var makes it work without going through the above hoops. Can you confirm?
```haxe
class Main {
static function main() {
var testPage = new TestPage();
var routes = {
'/': testPage,
};
M.route.route(Browser.document.body, '/', routes);
}
}
```
Status: Issue closed
username_0: Hmm, that fixed the routes, thanks! Now I'm running into a problem using static lifecycle methods instead of instantiated components, i.e.:
```haxe
package;
import mithril.M;
import js.Browser;
class Component implements Mithril {
public static function view(vnode: Vnode<Component>): Vnodes {
return m('p', 'component');
}
}
class TestPage implements Mithril {
public static function view(vnode: Vnode<TestPage>): Vnodes {
return [
m('p', 'testpage'),
m(Component),
];
}
}
class Main {
static function main() {
var routes = {
'/': TestPage,
};
M.route.route(Browser.document.body, '/', routes);
}
}
```
Gives me:
```
➜ haxe build.hxml
src/Main.hx:16: characters 13-25 : Could not find a suitable overload, reasons follow
src/Main.hx:16: characters 13-25 : Overload resolution failed for (selector : mithril._M.Either<String, mithril.Component>, attributes : Dynamic, children : Dynamic) -> mithril.Vnodes
src/Main.hx:16: characters 15-24 : Class<Component> should be mithril._M.Either<String, mithril.Component>
src/Main.hx:16: characters 15-24 : ... For function argument 'selector'
src/Main.hx:16: characters 13-25 : Overload resolution failed for (selector : mithril.Mithril) -> mithril.Vnodes
src/Main.hx:16: characters 15-24 : Class<Component> should be mithril.Mithril
src/Main.hx:16: characters 15-24 : ... For function argument 'selector'
src/Main.hx:16: characters 13-25 : End of overload failure reasons
```
I feel like I ran into this before, but I don't remember what the fix was :(
Not insurmountable, I can just change all the components in my code into instantiated objects rather than static classes, but I wish I knew why that stopped working :/
username_1: The route method wants a `Component`, not a `Class<Component>`, which is what you're passing to it when referencing to the class directly. It must be instantiated, which is also essential in [ModuleBuilder.hx](https://github.com/username_1/mithril-hx/blob/master/src/mithril/macros/ModuleBuilder.hx#L78) that uses some code injection with `this`.
username_0: Yea.. it used to work fine with Haxe 4.1 though :/
I guess I was just abusing something without realizing. |
jenkins-x/jx | 523622461 | Title: Update documentation when marking commands/features as deprecated
Question:
username_0: As we go through and mark commands/features as deprecated in the code and CLI, we also need to update the corresponding documentation pages.
Please follow instructions outlined here: https://jenkins-x.io/about/maturity/#deprecated-features
the code to insert a deprecation block is
```
{{% alert color="warning" %}}
Deprecated in jx since 2.0.134. Will be removed on 2nd December 2019.
{{% /alert %}}
```
Answers:
username_1: Related to #6120 |
kklmn/xrt | 406307079 | Title: Laterally graded multilayer and ParabolicalMirrorParam
Question:
username_0: At the moment I am interested in implementing a laterally graded multilayer on a parabolical mirror, and I am trying to understand what x and y represent in the get_t_thickness and get_b_thickness functions. As a basic test, here is the material class:
```python
class LatGradMultilayer(Multilayer):
def get_t_thickness(self, x, y, iPair):
global XY # to extract x,y values
XY = np.array([x,y])
return self.dti[iPair]
def get_b_thickness(self, x, y, iPair):
return self.dti[iPair]
```
With a flat mirror...
```python
OE(BL, center=[0, 200, 0], material=mL, pitch=bragg, limPhysY=[-80, 80],
limPhysX=[-3.5, 3.5])
```
...it's pretty clear what x and y are:

For ParabolicalMirrorParam it's not so clear:
```python
ParabolicalMirrorParam(BL, p=200, center=[0,200,0], material=mL, pitch=bragg,
limPhysY=[-80, 80], limPhysX=[-3.5, 3.5], isCylindrical=True)
```

Any help would appreciated.
Answers:
username_1: For parametric OEs, *x* and *y* hold parametric coordinates *s* and *phi*. I've now added [doc lines](https://xrt.readthedocs.io/raycing.html#xrt.backends.raycing.materials.Multilayer.get_b_thickness) to the multilayer methods.
The parameterization is explained in the class [description](https://xrt.readthedocs.io/raycing.html#xrt.backends.raycing.oes.ParabolicalMirrorParam).
If you need to represent your grading in cartesian coordinates, do like this:
```
locx, locy, locz = self.param_to_xyz(x, y, self.local_r(x, y)) # remember that here x and y hold s and phi
# and use locx and locy for your functions
```
If you need more explanation, please tell. |
TheIronYard--Orlando/ROR--2015--SPRING | 53554746 | Title: 02 -- High Functioning -- <NAME>
Question:
username_0: #### Tasks
* [ ] Estimate all the top-level tasks with _T-shirt sizes_: _S_, _M_, _L_, _XL_
* [ ] Work through some introductory lessons at [Learn Git Branching](http://pcottle.github.io/learnGitBranching/) (1-3 of the Introductory Sequence on the Main menu, and 1-4 of Push & Pull on the Remote menu). There's a lot of animated branching diagrams in that tutorial, so you'll have to concentrate on using them to help you learn instead of just looking at them. Like we do during lecture, try to imagine what will happen next for each step.
* [ ] End of lab wiki edit **(please finish this by 5 so I can use the feedback in shaping plans for tomorrow)**
* [ ] Add your thoughts on this assignment to the _Assignment Evaluation_ page.
* [ ] Update _Light Bulbs_ and _Things I Don't Get Yet_ to reflect how you feel at the end of lab.
* [ ] End of day wiki edit **(please do these as your final tasks)**
* [ ] Add your thoughts on this assignment to the _Assignment Evaluation_ page.
* [ ] Update _Light Bulbs_ and _Things I Don't Get Yet_ to reflect how you feel at the end of the day.
* [ ] Use the Terminal in your computer to:
* [ ] create a branch of *your* `TIY-Assignments` repo called `feature/02--high-functioning`
* [ ] switch to the new branch
* [ ] Create at least one file and directory as described above in _Deliverables_.
* [ ] Add and commit your work every hour or at every breakthrough (whichever comes first)
* [ ] Push your commits to Github
* [ ] In Github, open a PR _from_ `feature/02--high-functioning` _into_ `master`
Answers:
username_0: https://github.com/username_0/TIY-Assignments/wiki |
dotnet/runtime | 821440133 | Title: Possible OSX/Linux JIT Inlining Optimization Bug .Net Core 5.0.200
Question:
username_0: Hello!
We are seeing what looks to be a JIT optimization bug in .Net Core 5.0.200 but only for OSX and Linux, Windows does not present any issues.
### Description
We have a function `ScheduleFlushSend(JobHandle dep)` which takes a small struct as an input parameter:
```
[StructLayout(LayoutKind.Sequential)]
public struct JobHandle
{
public IntPtr JobGroup;
public uint Version;
//<member functions removed for brevity>
}
```
Inside `ScheduleFlushSend` we pass along the `dep` JobHandle parameter to an implemented interface method `ScheduleSend` however depending on optimization levels the `dep` jobhandle is corrupted.
Release builds can be forced to work by decorating `ScheduleFlushSend` with `[MethodImpl(MethodImplOptions.NoInlining)]`, or alternatively running with `COMPlus_JITMinOpts=1`
The crash would only happen after calling `ScheduleFlushSend` 30+ times, however by running with `COMPlus_TieredCompilation=0` the corruption is immediate further supporting our suspicion this is a JIT optimization bug.
Printing out the values of the `JobHandle` members before passing / after entering functions shows what looks to be an issue where inlining the function results in the parameter being read from a memory address that is off by 8 bytes.
(in this example RPCSystem.OnUpdate calls ScheduleFlushSend which calls ScheduleSend)
```
RPCSystem: jobgroup=76 version=0
|--ScheduleFlushSend: jobgroup=76 version=0
|--ScheduleSend: jobgroup=139823864677200 version=76
```
Here you can see the `JobGroup` field's value has shifted into the second member of the struct, and the first member is a random value (it actually looks like a valid, irrelevant, memory address)
I can send a working (forcing noinlining on `ScheduleFlushSend`) repo and the crashing repo (removing the forced inlining) if provided an address.
### Configuration
* Which version of .NET is the code running on?
- 5.0.200
* What OS and version, and what distro if applicable?
- Ubuntu 20.04
- OSX Mojave
* What is the architecture (x64, x86, ARM, ARM64)?
- x64
* Do you know whether it is specific to that configuration?
- Yes, only reproduces with optimizations on. Debug builds work correctly, and forcing inlining off hides the issue
### Other information
- We do not see this issue on Windows, OSX or Linux when using .Net Core 6.0.0-preview.1
- We are compiling the application as a netstandard 2.0 and running via netcorerun
Answers:
username_0: Adding area owners @username_1 @dotnet/jit-contrib
username_1: @username_0 Thank you for the report, and investigation. It does smell like a codegen bug. Given that it's not reproducing in .NET 6, perhaps we just need to figure out what fixed the problem and backport the fix. Let me figure out how to get an upload from you of the repros.
In the meantime, if you have the capability to build your own version of .NET from source, and can build a Checked build, running with "export COMPlus_JitDump=ScheduleFlushSend ScheduleSend" would be be the first thing we would likely do, to see the JIT internal output for these functions. (You could upload the output as a gist if there's nothing private you can't share publicly.)
username_0: Thanks! I made a local build and it seems really quite informative. The Checked build does not fail immediately the first time `ScheduleFlushSend` is called but after ~40 invocations the method is recompiled and crashes right after. I've never read this log before but it seems like a possible bug with the `ScheduleFlushSend` trying to be devirtualized `ScheduleSend`. Hope this helps!
[jit-opt-bug-out.txt](https://github.com/dotnet/runtime/files/6086586/jit-opt-bug-out.txt)
username_1: This looks like bad code generation in `ScheduleFlushSend()`, where it passes arguments to `ScheduleSend()` that don't match what `ScheduleSend()` expects to see.
In particular, the problem is when we think we can make a fast (optimistic) tailcall from `ScheduleFlushSend()` to `ScheduleSend()` (because `ScheduleFlushSend()` just returns the value of `ScheduleSend()` and does no further processing), but, late, we realize we can't because don't have enough available stack space to place the outgoing arguments. So we back out, and attempt to create a normal call. But, in the special case the called function returns a struct in multiple registers (in this case, the 16 byte `JobHandle` struct is passed in consecutive registers on Linux x64), we do a little extra processing to handle the return value. One more special-case: the call to `ScheduleSend()` is a virtual stub dispatch call where we previously added a special, hidden argument (the address of the VSD cell). When we process the call again (morph the call + call args), we forget about that, and think this special arg is a normal arg, so we erroneously add another special arg.
So, in summary, for a call A->B, to see this failure, we need:
1. The call is considered a potential tailcall (by the importer)
2. The call requires non-standard arguments that add call argument IR in fgInitArgInfo() (e.g., VSD call -- in this case, a generic interface call)
3. We reject the tailcall in `fgMorphPotentialTailCall()` (e.g., not enough incoming arg stack space in A to store B's outgoing args), in this case because the first arg to `ScheduleSend` is a large struct)
4. `B` returns a struct in multiple registers (e.g., a 16-byte struct in Linux x64 ABI)
5. Given all these, we forget about the non-standard args we added, then add them again (in `fgMorphCall`)
I'm not sure why this wouldn't repro in .NET 6; the problem still seems to exist. I need to try and construct a small repro case.
username_0: Thanks @username_1 that is a great breakdown. Let me know if I can provide anymore information.
Status: Issue closed
username_2: Is there some way for us to be notified or find out when this fix is backported to .NET 5?
username_1: Hello!
We are seeing what looks to be a JIT optimization bug in .Net Core 5.0.200 but only for OSX and Linux, Windows does not present any issues.
### Description
We have a function `ScheduleFlushSend(JobHandle dep)` which takes a small struct as an input parameter:
```
[StructLayout(LayoutKind.Sequential)]
public struct JobHandle
{
public IntPtr JobGroup;
public uint Version;
//<member functions removed for brevity>
}
```
Inside `ScheduleFlushSend` we pass along the `dep` JobHandle parameter to an implemented interface method `ScheduleSend` however depending on optimization levels the `dep` jobhandle is corrupted.
Release builds can be forced to work by decorating `ScheduleFlushSend` with `[MethodImpl(MethodImplOptions.NoInlining)]`, or alternatively running with `COMPlus_JITMinOpts=1`
The crash would only happen after calling `ScheduleFlushSend` 30+ times, however by running with `COMPlus_TieredCompilation=0` the corruption is immediate further supporting our suspicion this is a JIT optimization bug.
Printing out the values of the `JobHandle` members before passing / after entering functions shows what looks to be an issue where inlining the function results in the parameter being read from a memory address that is off by 8 bytes.
(in this example RPCSystem.OnUpdate calls ScheduleFlushSend which calls ScheduleSend)
```
RPCSystem: jobgroup=76 version=0
|--ScheduleFlushSend: jobgroup=76 version=0
|--ScheduleSend: jobgroup=139823864677200 version=76
```
Here you can see the `JobGroup` field's value has shifted into the second member of the struct, and the first member is a random value (it actually looks like a valid, irrelevant, memory address)
I can send a working (forcing noinlining on `ScheduleFlushSend`) repo and the crashing repo (removing the forced inlining) if provided an address.
### Configuration
* Which version of .NET is the code running on?
- 5.0.200
* What OS and version, and what distro if applicable?
- Ubuntu 20.04
- OSX Mojave
* What is the architecture (x64, x86, ARM, ARM64)?
- x64
* Do you know whether it is specific to that configuration?
- Yes, only reproduces with optimizations on. Debug builds work correctly, and forcing inlining off hides the issue
### Other information
- We do not see this issue on Windows, OSX or Linux when using .Net Core 6.0.0-preview.1
- We are compiling the application as a netstandard 2.0 and running via netcorerun.exe (a netcore app that loads all assemblies into an AssemblyLoadContext and then executes main)
username_1: The best way would be to follow this issue (I'll submit a PR with the .NET 5 port of the fix soon)
username_3: hey! any updates on the backport? :)
Status: Issue closed
username_1: @username_3 It just got merged to the 5.0 branch.
username_3: awesome. do you know when the next release might appear?
username_1: The previews are monthly, as mentioned in the last release blog post here: https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-2/. So... soon.
username_4: @username_1 would that be true even for the backport ?
username_1: oops, sorry, got confused between releases there...
However, service patch releases for 5.0 are also release on an approximately monthly cadence, as can be seen from the release page: https://dotnet.microsoft.com/download/dotnet/5.0. One was released today, so this change will be in the next one, in about a month. |
mkopylec/charon-spring-boot-starter | 369006935 | Title: No news from mkopylec?
Question:
username_0: Is username_1 still maintaining charon?
If no, I'll fork it and use the fork.
Thanks to clarify.
Answers:
username_1: Hi I'm still developing the project but recently have no time for that.
I saw your PR, I'll try to check it this weekend.
Status: Issue closed
|
reactjs/react-docgen | 961831752 | Title: [Flow] Exception on indexed access types
Question:
username_0: Using recent Flow "indexed access types" we get the following exception:
```
did not recognize object of type "IndexedAccessType"
```
See https://flow.org/en/docs/types/indexed-access
`[email protected]`
Answers:
username_0: Support for `IndexedAccessType` added from `[email protected]`. |
MRCIEU/TwoSampleMR | 487250225 | Title: Problems with accessing google authentication
Question:
username_0: We try to extract_instrument from MR Base database, we failed to get a link to my Google account and the errors as follows:
`a<-extract_instruments(outcomes=324)
Requesting default values. Extracting from pre-clumped data
0 out of 1 requested outcomes have pre-calculated instruments.
Extracting data from 1 GWAS(s)
and performing LD clumping
[>] 1 of 1
Error: Cannot read token from alleged .rds file:
mrbase.oauthError in readRDS(token_path): error reading from connection'
Answers:
username_1: I have the same question
username_2: did you resolve this problem? i also meet this question
username_3: hey it might be that you have an empty file, try removing the mrbase.oauth file and re-authenticating
username_2: yes,I reauthenticate several times,but mrbase.oauth file is always empty
---Original---
username_3: Sorry I'm not sure why this is happening. I would just check that the mrbase.oauth file in the working directory is definitely being removed (e.g. check the time stamp of the newly created one), and if problems still persist then avoid using authentication by:
```
a<-extract_instruments(outcomes=324, access_token=NULL)
```
username_0: you can only extract the avaliable trait id.
ao<-available_outcomes(access_token = NULL)
username_0: you can only extract the avaliable trait id.
ao<-available_outcomes(access_token = NULL)
username_0: you can only extract the avaliable trait id.
ao<-available_outcomes(access_token = NULL) |
18F/micropurchase | 150474166 | Title: Dashboard enhancements
Question:
username_0: Proposed enhancements for the [winners dashboard](micropurchase.18f.gov/auctions/winners/)
* [ ] top stats area could include unique bidders/auction
* [ ] A download JSON button.
* [ ] Get languages for a particular repo #454
* [ ] Separate single-bid and multi-bid data #455
* [ ] separate site that has data viz for for micropurchase bizdev. @lauraGgit started this [here](https://github.com/lauraGgit/micro-viz) |
amzn/amzn-drivers | 257590771 | Title: error: wrong stats when using ena_get_stats (kernel < 2.6.36)
Question:
username_0: Hi,
I observed that stats get wrong when using ena-driver 1.2.0 in kernel 2.6.32 (CentOS 6).
```
$ ethtool -i eth0
driver: ena
version: 1.2.0g
firmware-version:
bus-info: 0000:00:03.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
$ cat /proc/net/dev; sudo ethtool -S eth0 | grep tx_bytes
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 6919841279 29352140 0 0 0 0 0 0 6919841279 29352140 0 0 0 0 0 0
eth0: 6225205581 376664102 0 0 0 0 0 0 20661073610 284794167 0 0 0 0 0 0
queue_0_tx_bytes: 4087952612
queue_1_tx_bytes: 6640832540
queue_2_tx_bytes: 4582622571
queue_3_tx_bytes: 5800756290
queue_4_tx_bytes: 4048643657
queue_5_tx_bytes: 4257765549
queue_6_tx_bytes: 4023754776
queue_7_tx_bytes: 4398625609
```
eth0 TX bytes should be about 37.84G according to `ethtool`. However, `/proc/net/dev` shows that the TX bytes are 20.66G.
It seems that `bytes`, `packets` and `rx_drops` in `ena_get_stats` have wrong types. IMHO, They should be `unsigned long` instead of `unsigned int`.
http://elixir.free-electrons.com/linux/v2.6.32.71/source/include/linux/netdevice.h#L128
kernel >= 2.6.36 is not affected since `ena_get_stats64` is used.
I have confirmed that the problem is fixed after following patching.
```diff
--- a/kernel/linux/ena/ena_netdev.c
--
+++ b/kernel/linux/ena/ena_netdev.c
@@ -2545,20 +2545,20 @@ static struct net_device_stats *ena_get_stats(struct net_device *netdev)
{
struct ena_adapter *adapter = netdev_priv(netdev);
struct ena_ring *rx_ring, *tx_ring;
- unsigned int rx_drops;
+ unsigned long rx_drops;
struct net_device_stats *stats = &netdev->stats;
unsigned int start;
int i;
memset(stats, 0, sizeof(*stats));
for (i = 0; i < adapter->num_queues; i++) {
- unsigned int bytes, packets;
+ unsigned long bytes, packets;
tx_ring = &adapter->tx_ring[i];
do {
start = u64_stats_fetch_begin_irq(&tx_ring->syncp);
[Truncated]
do {
start = u64_stats_fetch_begin_irq(&tx_ring->syncp);
- packets = (unsigned int)rx_ring->rx_stats.cnt;
- bytes = (unsigned int)rx_ring->rx_stats.bytes;
+ packets = (unsigned long)rx_ring->rx_stats.cnt;
+ bytes = (unsigned long)rx_ring->rx_stats.bytes;
} while (u64_stats_fetch_retry_irq(&tx_ring->syncp, start));
stats->rx_packets += packets;
@@ -2578,7 +2578,7 @@ static struct net_device_stats *ena_get_stats(struct net_device *netdev)
do {
start = u64_stats_fetch_begin_irq(&tx_ring->syncp);
- rx_drops = (unsigned int)adapter->dev_stats.rx_drops;
+ rx_drops = (unsigned long)adapter->dev_stats.rx_drops;
} while (u64_stats_fetch_retry_irq(&tx_ring->syncp, start));
stats->rx_dropped = rx_drops;
```
Answers:
username_1: Thanks @username_0!
Nice catch!
We'll review and merge it.
Zorik
username_2: Thanks for your help.
Your change was merged to driver version 1.3.0
Status: Issue closed
username_0: Thanks! |
TeamMetallurgy/Aquaculture | 581701556 | Title: Start on Server Start
Question:
username_0: When i try to start 1.15.2 Server this appered!
https://pastebin.com/ikZ23s6J
Answers:
username_1: where did you download the immersive portals mod that is on your server?
username_2: Yea as sscards said, this is a problem with immersive portals. If you read line 15, you can see it's crashing on their mixins.
Status: Issue closed
|
irbv-collections/MT-controlled-vocabulary | 86261736 | Title: New Country, Province, MRC or Park
Question:
username_0: [Originally posted on GoogleCode (id 1791) on 2015-05-08]
<b>Country:</b>
Province/State:Guadeloupe
<b>MRC/District/County:</b>
Park:Parc national de la Guadeloupe
http://fr.wikipedia.org/wiki/Parc_national_de_la_Guadeloupe
ID of the specimen(s):152070
Your name:Luc |
mauriciojost/olympus-photosync | 630325920 | Title: Linux Mint 19.3 - GUI problem with openjdk11 and openjfx
Question:
username_0: Hi Mauricio,
I Thanks for your work, my Olympus OM-D love your application =)
The app work good from command line, but when i try to star the GUI i have this problem:
```
olympus-photosync --gui
[22:41:41,207 INFO Starter$] Version: 1.0.0
[22:41:41,710 INFO Starter$] Loading file configuration: PhotosyncConfig(CameraClientConfig(http,192.168.0.10,80,/DCIM,wlan.*=.*,(.*),(\d+),(\d+),(\d+),(\d+).*,true,None,None),output,Criteria(None,None,None),false,false,false,false,GuiConfig(true,100))
[22:41:41,712 DEBUG Os$] Detected OS: Linux (property value 'linux')
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/event/EventTarget
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.mauritania.photosync.starter.Starter$.startApp(Starter.scala:43)
at org.mauritania.photosync.starter.Starter$.main(Starter.scala:23)
at org.mauritania.photosync.starter.Starter.main(Starter.scala)
Caused by: java.lang.ClassNotFoundException: javafx.event.EventTarget
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 30 more
```
I have the openJDK 11.0.7 and the openJFX installed.
```
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)
```
Am I missing somethings?
BR,
-El_Giancar
Answers:
username_1: Looks like a dupe of #60. It is affecting more people now :) As soon as I get some free time I will try to fix it.
Status: Issue closed
|
abruzy/space-shooter | 605266951 | Title: ship can hide on border
Question:
username_0: The ship can hide on the border of the edges, making the game a lot easier. The ship shouldn't be allowed to cross the edge of the map. That's how it is usually done.
Answers:
username_1: Hi @username_0,
Thanks for the feedback, I'll definitely look into this and fix it |
vrm-c/UniVRM | 794565093 | Title: vrm import export caused model file validation fail at Vroid Hub
Question:
username_0: I had to make a change on one of my models which was exported using UniVRM
So I imported it to a new project , made the change and exported again.
Actually I slightly modified the pose of the model for a perfect T-pose.
But the new exported model is not accepted by Vroid Hub.
I get the error:
```
Validation failed: model file validation failed.
[{"error":"invalid_vrm","errors":["The property '#/blendShapeMaster/blendShapeGroups/2/presetName' value \"ı\" did not match one of the following values: unknown, neutral, a, i, u, e, o, blink, joy, angry, sorrow, fun, lookup, lookdown, lookleft, lookright, blink_l, blink_r in schema vrm.blendshape.group.schema.json : \"ı\""]}]
```
I did not change anything other than the pose of the model.
"ı" is a character used in my locale for lower "I" where in English locale lower "I" is "i"
so is this something I can fix ?
I need to change other settings on my model before publishing. So I did not try importing and exporting the model using English locale.
Answers:
username_1: This issue can occur with ToLower in the Turkish locale
Status: Issue closed
username_1: `v0.65.1` |
metadatacenter/cedar-project | 649239256 | Title: properties not working in fields
Question:
username_0: When I select a property in a field, the selected property does not get saved.
(Note this is after multiple searches for classes, and there are known bugs when class search is called repeatedly.)
Answers:
username_0: Here's how I duplicated this.
1) Create a field, it defaults to a term.
2) name the term, I used Search Field for Creators
3) Click on Values tab -> Add button.
4) Click on a matching item. (I clicked on the first one I think. Movie available.)
5) Close the widow (don't bother selecting a term).
6) Now (in the field editor) click on the Property link for the field.
7) Note the first bug, we are still seeing classes in the search. (That's another ticket already.)
8) Click on Start Over.
9) Reenter the search term, I think I entered "Search Field".
10) Select the property that it finds.
11) Click on the Add Property button.
12) Now (back in the field editor) hover over the Property link for the field. It should show a value, but it doesn't.
username_1: Does it matter if you do steps 3 ... 5 before?
I am asking this because I was trying to add a Property to a field, and I was not able to do so at all.
Can you do that, can you add a property?
username_2: I'm also not able to add a property even in the simple case.
(1) Create (text) field
(2) Click on Add Property icon.
(3) Search for a random property (for me, the search only shows properties from BioPortal)
(4) Add property
On return from the property selection, there is no property actually attached (JSON Schema view also confirms this)
username_1: Fixed on develop.
Status: Issue closed
|
Pylons/webob | 250100085 | Title: documentation is wrong, webob will always return unicode strings for GET args in Python2
Question:
username_0: ``req.cookies`` will contain unicode strings.
However, this line in the Python2 block will always apply a `decode` to the values which, almost always, means it will be a unicode string (by default with UTF-8 encoding).
https://github.com/Pylons/webob/blob/master/src/webob/compat.py#L118<issue_closed>
Status: Issue closed |
aspnetboilerplate/aspnetboilerplate | 675237373 | Title: Dependency of IOptions<AppSettings> not satisfied from Worker Service
Answers:
username_1: The reason it is useless is that the services of IServiceCollection are not added to IoCManager.
You need to use `WindsorRegistrationHelper.CreateServiceProvider(abpBootstrapper.IocManager.IocContainer, services);`
Add the ConfigureService service to the IoCManager.

```csharp
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
private static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.UseServiceProviderFactory(new WindsorServiceProviderFactory())
.ConfigureServices((context, services) =>
{
var abpBootstrapper = AbpBootstrapper.Create<Issue5744Module>();
services.AddSingleton(abpBootstrapper);
services.Configure<AppSettings>(context.Configuration.GetSection("AppSettings"));
WindsorRegistrationHelper.CreateServiceProvider(abpBootstrapper.IocManager.IocContainer, services);
abpBootstrapper.Initialize();
});
}
```
Status: Issue closed
|
BioinformaticsFMRP/TCGAbiolinks | 1095464667 | Title: GDCprepare Error in Ops.data.frame(y[, 1], x[[1]][, 1]) : ‘==’ only defined for equally-sized data frames
Question:
username_0: R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.3 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN
[4] LC_COLLATE=en_IN LC_MONETARY=en_IN LC_MESSAGES=en_IN
[7] LC_PAPER=en_IN LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_IN LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] purrr_0.3.4 data.table_1.14.2 magrittr_2.0.1
[4] TCGAbiolinks_2.23.2
loaded via a namespace (and not attached):
[1] MatrixGenerics_1.6.0 Biobase_2.54.0
[3] httr_1.4.2 tidyr_1.1.4
[5] vroom_1.5.7 bit64_4.0.5
[7] jsonlite_1.7.2 R.utils_2.11.0
[9] assertthat_0.2.1 stats4_4.1.2
[11] BiocFileCache_2.2.0 blob_1.2.2
[13] GenomeInfoDbData_1.2.7 progress_1.2.2
[15] pillar_1.6.4 RSQLite_2.2.9
[17] lattice_0.20-45 glue_1.6.0
[19] downloader_0.4 digest_0.6.29
[21] GenomicRanges_1.46.1 XVector_0.34.0
[23] rvest_1.0.2 colorspace_2.0-2
[25] Matrix_1.4-0 R.oo_1.24.0
[27] plyr_1.8.6 XML_3.99-0.8
[29] pkgconfig_2.0.3 biomaRt_2.50.1
[31] zlibbioc_1.40.0 scales_1.1.1
[33] tzdb_0.2.0 tibble_3.1.6
[35] KEGGREST_1.34.0 generics_0.1.1
[37] TCGAbiolinksGUI.data_1.14.0 IRanges_2.28.0
[39] ggplot2_3.3.5 ellipsis_0.3.2
[41] withr_2.4.3 cachem_1.0.6
[43] SummarizedExperiment_1.24.0 BiocGenerics_0.40.0
[45] cli_3.1.0 crayon_1.4.2
[47] memoise_2.0.1 R.methodsS3_1.8.1
[49] fansi_0.5.0 xml2_1.3.3
[51] tools_4.1.2 prettyunits_1.1.1
[53] hms_1.1.1 lifecycle_1.0.1
[55] matrixStats_0.61.0 stringr_1.4.0
[57] S4Vectors_0.32.3 munsell_0.5.0
[59] DelayedArray_0.20.0 AnnotationDbi_1.56.2
[61] Biostrings_2.62.0 compiler_4.1.2
[63] GenomeInfoDb_1.30.0 rlang_0.4.12
[65] grid_4.1.2 RCurl_1.98-1.5
[67] rappdirs_0.3.3 bitops_1.0-7
[69] gtable_0.3.0 DBI_1.1.2
[71] curl_4.3.2 R6_2.5.1
[73] knitr_1.37 dplyr_1.0.7
[75] fastmap_1.1.0 bit_4.0.4
[77] utf8_1.2.2 filelock_1.0.2
[79] readr_2.1.1 stringi_1.7.6
[81] parallel_4.1.2 Rcpp_1.0.7
[83] vctrs_0.3.8 png_0.1-7
[85] dbplyr_2.1.1 tidyselect_1.1.1
[87] xfun_0.29
Answers:
username_1: @username_0 I made some recent modifications to reduce memory usage. Due to that, the code above will not work.
You will need to prepare separately then merge.
```
library(TCGAbiolinks)
query.meth = GDCquery(
project = "TCGA-BRCA",
data.category = "DNA Methylation",
legacy = F,
barcode = c("TCGA-BH-A0BL","TCGA-BH-A0H5"),
platform = c("Illumina Human Methylation 27")
)
GDCdownload(query.meth)
brca.meth.27k = GDCprepare(
query = query.meth
)
query.meth = GDCquery(
project = "TCGA-BRCA",
data.category = "DNA Methylation",
legacy = FALSE,
barcode = c("TCGA-B6-A0WV","TCGA-A2-A3XV"),
platform = c("Illumina Human Methylation 450")
)
GDCdownload(query.meth)
brca.meth.450 = GDCprepare(
query = query.meth
)
merged <- merge(assay(brca.meth.450), assay(brca.meth.27k), by = 0 )
rownames(merged) <- merged$Row.names
merged$Row.names <- NULL
merged.se <- TCGAbiolinks:::makeSEFromDNAMethylationMatrix(merged)
```
username_0: Thank you @username_1. I prepared separately for both the platform and then merged.
Status: Issue closed
|
SMAC-Group/TTS | 174671869 | Title: Move data sets to separate package: `datapkg`, `ttsdata`, or `smacdata`?
Question:
username_0: I'd like to avoid using the `read.*()` commands in favor of pre-packaging data.
We presently have a data package:
https://github.com/SMAC-Group/datapkg
containing
- MSFT
- Monthly Precipitation
React w/ thumbs up if I'm okay to move into `smacdata`. Otherwise, leave comment with feedback.
Answers:
username_0: Paging:
@SMAC-Group/gmwm
@SMAC-Group/tts-contributors
Status: Issue closed
|
mlflow/mlflow | 626249674 | Title: [BUG] Windows 10 - CondaHTTPError: HTTP 000 CONNECTION FAILED
Question:
username_0: ### Willingness to contribute
- [x] Yes. I can contribute a fix for this bug independently.
### System information
- **Have I written custom code (as opposed to using a stock example script provided in MLflow)**: No, except for my own repo. I did not change mlflow.
- **OS Platform and Distribution**: Windows 10
- **MLflow installed from**: pip
- **MLflow version (run ``mlflow --version``)**: 1.8.0
- **Python version**: 3.6
- **npm version, if running the dev UI**:
- **Exact command to reproduce**: mlflow run .
### Describe the problem
When running `mlflow run .` from the root dir of my repo, I get this error traceback:
```shell
2020/05/28 13:06:01 INFO mlflow.projects: === Creating conda environment mlflow-a3b54c00d1403b3356472de25fb33ec1ac36c1a0 ===
Collecting package metadata (repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
Traceback (most recent call last):
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Luiz\Anaconda3\envs\env_chamber_detector\Scripts\mlflow.exe\__main__.py", line 7, in <module>
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\mlflow\cli.py", line 133, in run
run_id=run_id
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\mlflow\projects\__init__.py", line 291, in run
synchronous=synchronous, run_id=run_id)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\mlflow\projects\__init__.py", line 164, in _run
conda_env_name = _get_or_create_conda_env(project.conda_env_path)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\mlflow\projects\__init__.py", line 456, in _get_or_create_conda_env
conda_env_path], stream_output=True)
File "c:\users\luiz\anaconda3\envs\env_chamber_detector\lib\site-packages\mlflow\utils\process.py", line 38, in exec_cmd
raise ShellCommandException("Non-zero exitcode: %s" % (exit_code))
mlflow.utils.process.ShellCommandException: Non-zero exitcode: 1
```
The weird thing is that conda works perfectly fine otherwise. The same command, with the same repo version works fine on my Ubuntu machine.
# Solution
I installed [OpenSSL for Windows](https://wiki.openssl.org/index.php/Binaries) and this problem was solved.
I thought it would be helpful to register it here.
Answers:
username_0: Since I'm not sure if this is something you guys can solve from within mlflow, I'll leave it open for now
username_1: It seems this could be addressed as part of the documentation. Since you are willing to contribute, do you mind filing a PR request to document it?
username_2: Setting the environment variables as instructed in the following article helped
https://arandika.medium.com/error-on-anaconda-creating-new-environment-using-conda-command-on-windows-7-cb0758431654 |
controlplaneio/kubesec | 599845087 | Title: documentation regarding mutiple yaml file scan is not clear
Question:
username_0: Hi
Is there a way to run more than one yaml file checks using docker run command. If so, how to do it as it is not clear in the document
if possible provide commands for the same
Answers:
username_1: Kubesec only accepts a single file. You can combine multiple YAML files into one with the `---` separator and pass that to Kubesec, which will validate each document in the file separately.
You could also use `bash` to achieve this:
```bash
docker run -i kubesec/kubesec:d432be9 scan /dev/stdin < <(cat ./test/asset/score-1-prod-dump.yaml; echo '---'; cat ./test/asset/score-1-prod-dump.yaml)
```
Status: Issue closed
|
sjstein/gpsLogger | 659661488 | Title: Flush gpsd
Question:
username_0: Investigate getting "old" data from gpsd. Perhaps close the connection and renew for each iteration of a data request?
Answers:
username_0: Look: https://lists.gnu.org/archive/html/gpsd-users/2017-12/msg00007.html
username_0: Possibly more relevant : https://stackoverflow.com/questions/6146131/python-gps-module-reading-latest-gps-data
username_0: This appears to be the serial interface buffering the data. Perhaps flush that buffer before each query?
username_0: For now it appears that closing the connection to the daemon after each message read is the easiest way. See example [here](https://gpsd.gitlab.io/gpsd/client-howto.html#_python_examples).
Status: Issue closed
|
creativecommons/creativecommons.github.io-source | 425005519 | Title: Move continuous deployment to CircleCI
Question:
username_0: **Is your feature request related to a problem? Please describe.**
We currently use TravisCI. We'd like to use CircleCI instead.
**Describe the solution you'd like**
The project should build on CircleCI and the automatic build and deployment should work.
Answers:
username_1: @username_0 I would like to work on it
username_0: @username_1 you'll need me/someone else with admin access to set up the credentials on CircleCI that will let the @cc-creativecommons-github-io-bot user check out and commit to repos. you can get started on it and let me know when you're blocked by that if you'd like.
username_2: hi @username_0 , can I work on this issue if it's open? I have not worked with CircleCI and CD and want to learn about it. I might be slow on this but I will try.
Thanks
username_0: Sure, go ahead. Let me know if you run into permission errors.
username_0: Removing the "in progress" label based on Slack conversation with @username_2.
username_3: @username_0 I have seen similar issues in other repo too and would like to work on this. I have no prior experience with CI/CD but I have gone through some blogs from circleci website and would like to learn this in detail. I will first work with some dummy repos and once confirmed I will update you.
Also please guide me through this as I am completely new to this but very fascinated to learn about it.
I have a pending PR to be reviewed where I have implemented all the functionality as suggested by admin.
username_0: @username_3 we've actually started using GitHub Actions on our other repos, I think we should use GitHub Actions here too. are you still interested?
username_3: @username_0 Yes, I am interested to learn this. Both are new for me so I will definitely go with it. I will first work with some dummy repo of mine and then I will update you here.
Also please guide me through this as it is something that I am very new to. I will try going through official documentation/video for the same.
username_3: @username_0 I have written this code for push event, can you please help me with it.
Also please tell me what and all event we are registering for.
`name: Building and Deploying CC opensource site
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v1
with:
path:
- .cache/pip
- .cache/lektor/builds
- name: select python version
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
pip install pipenv
pipenv install
- name: Start webpack build
run: lektor build -f webpack`
I have gone through deploying instructions too, But I am unable to get through it as it is asking for TOKEN, branch and folder.
username_3: @username_0 Here is the screenshot for same as the formatting has been altered above.

username_3: @dhruvkb Can you help me with as @username_0 will be on holiday till Tuesday.
I am beginner to CI/CD I have written above syntax to build and deploy to CC opensource site. In deploying process it is asking for folder and branch but as the repo for generated file for CC opensource site is different one, how can I link?
Thank you.
username_3: @TimidRobot Please have a look into this. I am trying to build and deploy.
username_3: Thank you for replying. Yes, I am familiar with guideline and have been an active contributor for CC from last 2-3 month, I was looking for some help in this issue as I am new to CI/CD.
username_3: Thank you, I will go through it.
username_4: can i work on this issue
username_3: @username_4 Hey Abhishek, I am sorry but I am working on this issue and I have already tested the CI part, working on to implement the CD part. There are similar issues on different repo where you have to use CI/CD using Github actions, so I will recommend going with those.
Status: Issue closed
|
Jason-mor/learn | 164278038 | Title: 组装个人电脑
Question:
username_0: todo
Answers:
username_0: 装操作系统
1 采用老毛桃pe安装电脑程序
注意:提前下载网卡驱动,驱动精灵以便更新驱动
在pe界面找不到硬盘:原因可能是没有进行初始化。
2 装完操作系统后通过360升级到win10。以防自己下载的操作系统中埋雷。
3
username_0: 查看网卡驱动
http://zhidao.baidu.com/question/149633234.html?device=mobile&ssid=0&from=2001a&uid=0&pu=usm@0,sz@1320_1003,ta@iphone_2_5.0_1_10.10&bd_page_type=1&baiduid=F333D76A428F9E7B477E8681D2C5E81C&tj=www_zhidao_normal_2_0_10_title
username_0: 如何开启win10自带虚拟机
http://jingyan.baidu.com/article/380abd0a7671071d90192cad.html
他和vmware有什么区别
username_0: ##### hyper-v 安装ubuntu16
开启[hyper-v服务]()
1. [参考](http://jingyan.baidu.com/article/3f16e003e6e16a2591c103d9.html)
2. 碰到问题,无法启动,搜索[资料](http://tieba.baidu.com/p/3597913815)将二代虚拟机修改为一代虚拟机
3.
username_0: vmware 序列号5A02H-AU243-TZJ49-GTC7K-3C61N
username_0: thinkpad
U盘的启动
http://jingyan.baidu.com/article/925f8cb8fb062dc0dde0562a.html |
DanielMurphy22/SmokeTests | 790994390 | Title: Redhat Smoke Test: Release 6.0
Question:
username_0: Before testing:
- Check this issue relates to the OS you will test on.
- Edit this issue to assign your name test you will run, e.g. Assignee: @username_0
- Please run these tests on the release package of Mantid; **not a locally built version**.
Afterwards:
- Tick the relevant tick box once testing is completed.
- Comment below with the test you ran and any issues you came across.
If you have any questions please contact the creator of this issue.
## 1. Clean/Dirty Install Smoke Tests Assignee: @
<h3><li>[ ] Completed?</li></h3>
<details>
<summary>Testing Instructions</summary>
### Dirty install
* Make sure that you have several versions of Mantid installed
* Last release
* A nightly
* If possible an old release
* Install the latest version of the new Mantid
- [ ] Check that Mantid boots up correctly
### Clean install
* Remove all existing Mantid versions and associated files
* Windows:
* Uninstall the program
* Clear shortcuts from desktop
* Clean out the registry
* Load regedit (Command Prompt > regedit)
* Find `HKEY_CURRENT_USER > SOFTWARE > Mantid` delete it
* OSX:
* Remove the application
* Remove the `~/.mantid directory`
* Remove `~/Library/Preferences/org.mantidproject.MantidPlot.plist`
* Linux
* Remove the package: `/opt/Mantid`
* Remove `~/.config/Mantid`
* Remove `~/.mantid/`
* Re-install the latest version of the new Mantid
- [ ] Check that Mantid boots up correctly
</details>
## 2. Fitting Smoke Tests Assignee: @
<h3><li>[ ] Completed?</li></h3>
<details>
<summary>Testing Instructions</summary>
* Fitting to data [directions](http://docs.mantidproject.org/nightly/tutorials/mantid_basic_course/fitting_data/01_fitting_models_to_data.html#fitting-models-to-data)
- [ ] Simple fit
- [ ] Activating the fitting tools
- [ ] Selecting the fitting range
- [ ] Other Fit Function Settings properties
- [ ] Setting up a fit model
[Truncated]
## 6. Workspace/Algorithm Smoke Tests Assignee: @
<h3><li>[ ] Completed?</li></h3>
<details>
<summary>Testing Instructions</summary>
* Load some workspaces, try 5 from different instruments
* Show detectors, check detector view GUI, follow non-Python directions [in the documentation](https://www.mantidproject.org/MantidPlot:_Instrument_View)
- [ ] Render tab
- [ ] Draw tab
- [ ] Pick tab
- [ ] Instrument tree tab
* Test 5 - 10 random algorithms, follow [the documentation](http://docs.mantidproject.org/nightly/tutorials/mantid_basic_course/algorithms_workspaces_and_histories/02_algorithms.html#algorithms)
- [ ] Help button
- [ ] Validation of inputs
- [ ] Overwriting workspace
- [ ] Run the algorithm
- [ ] Check right-click options of the workspaces, they are listed [in the documentation](https://www.mantidproject.org/MantidPlot:_The_Workspace_Menu#Save_Nexus).
</details><issue_closed>
Status: Issue closed |
intel/ipp-crypto | 700641971 | Title: Build issue Ubuntu-18.04LTS
Question:
username_0: CMake Error at CMakeLists.txt:53 (find_package):
Could not find a package configuration file provided by "Python" with any
of the following names:
PythonConfig.cmake
python-config.cmake
I have python-dev and cmake installed No files with these names anywhere on the filesystem of this machine.
Answers:
username_1: Can you please try update cmake version to at least 3.12?
The FindPython module, which is used in project's cmake scripts, replaced deprecated FindPythonIterp one starting cmake 3.12.
Regards,
Andrey
Status: Issue closed
|
flutter/flutter | 1097218357 | Title: Flutter web stop working after upgrading to stable 2.8.+
Question:
username_0: ## Steps to Reproduce
<!-- Please include full steps to reproduce so that we can reproduce the problem. -->
1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
2. ... <!-- describe steps to demonstrate bug -->
3. ... <!-- for example "Tap on X and see a crash" -->
**Expected results:** <!-- what did you want to see? -->
**Actual results:** <!-- what did you see? -->
<details>
<summary>Code sample</summary>
<!--
Please create a minimal reproducible sample that shows the problem
and attach it below between the lines with the backticks.
To create it you can use `flutter create bug` command and update the `main.dart` file.
Alternatively, you can use https://dartpad.dev/
which is capable of creating and running small Flutter apps.
Without this we will unlikely be able to progress on the issue, and because of that
we regretfully will have to close it.
-->
index.html:
`
<!DOCTYPE html>
<html>
<head>
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="Social club for gamers.">
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Nemesis: Social club for gamers">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<meta name="google-signin-client_id"
content="151991726103-n2b1id464ohqdqjgtmrgeimpd92ierbr.apps.googleusercontent.com" />
<script src="https://apis.google.com/js/platform.js" async defer></script>
<meta name="google-signin-scope" content="profile email">
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="favicon.png" />
<title>nemesis</title>
<link rel="manifest" href="manifest.json">
</head>
<body>
<!-- Apple WebGL 2.0 fix (https://github.com/flutter/flutter/issues/89655#issuecomment-919685843) -->
<!-- TODO: Remove when https://github.com/flutter/engine/pull/29038 is merged to stable -->
[Truncated]
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.32.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 12.1 21C52 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.54
! Error: iPad (9) is not connected. Xcode will continue when iPad (9) is
connected. (code -13)
! Doctor found issues in 2 categories.
```
Answers:
username_1: @username_0
From the log, it's failing due to below error:
```
[ +12 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+49862 ms] Unhandled exception:
[ +2 ms] Invalid argument(s): Expected a library reference to be valid but was
`null`.
[ ] #0 BinaryPrinter.writeLibraryReference
(package:kernel/binary/ast_to_binary.dart:987:7)
[ ] #1 BinaryPrinter.writeLibraryDependency
(package:kernel/binary/ast_to_binary.dart:1129:5)
[ ] #2 BinaryPrinter.writeLibraryDependencies
(package:kernel/binary/ast_to_binary.dart:1111:7)
[ ] #3 BinaryPrinter.visitLibrary
(package:kernel/binary/ast_to_binary.dart:1051:5)
[ ] #4 Library.accept (package:kernel/ast.dart:557:38)
[ ] #5 BinaryPrinter.writeLibraryNode
(package:kernel/binary/ast_to_binary.dart:451:10)
[ ] #6 BinaryPrinter.writeLibraries
(package:kernel/binary/ast_to_binary.dart:756:9)
[ ] #7 BinaryPrinter.writeComponentFile.<anonymous closure>
(package:kernel/binary/ast_to_binary.dart:595:7)
[ ] #8 Timeline.timeSync (dart:developer/timeline.dart:163:22)
[ ] #9 BinaryPrinter.writeComponentFile
(package:kernel/binary/ast_to_binary.dart:577:14)
[ ] #10 IncrementalSerializer.serialize
(package:front_end/src/fasta/incremental_serializer.dart:308:13)
[ ] #11 IncrementalSerializer.writePackagesToSinkAndTrimComponent
(package:front_end/src/fasta/incremental_serializer.dart:158:24)
[ ] #12 FrontendCompiler.writeDillFile
(package:frontend_server/frontend_server.dart:695:29)
[ ] #13 FrontendCompiler.compile
(package:frontend_server/frontend_server.dart:572:13)
[ ] <asynchronous suspension>
[ ] #14 listenAndCompile.<anonymous closure>
(package:frontend_server/frontend_server.dart:1150:11)
[ ] <asynchronous suspension>
[ +291 ms] "flutter run" took 55,207ms.
[ +4 ms] the Dart compiler exited unexpectedly.
[ +1 ms]
#0 throwToolExit
(package:flutter_tools/src/base/common.dart:10:3)
#1 DefaultResidentCompiler._compile.<anonymous closure>
(package:flutter_tools/src/compile.dart:773:13)
#2 _rootRun (dart:async/zone.dart:1418:47)
#3 _CustomZone.run (dart:async/zone.dart:1328:19)
#4 _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#5 _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
#6 _BufferingStreamSubscription._sendDone
(dart:async/stream_impl.dart:404:7)
#7 _BufferingStreamSubscription._close
(dart:async/stream_impl.dart:291:7)
#8 _SinkTransformerStreamSubscription._close
(dart:async/stream_transformers.dart:87:11)
#9 _EventSinkWrapper.close
(dart:async/stream_transformers.dart:21:11)
#10 _StringAdapterSink.close
(dart:convert/string_conversion.dart:251:11)
[Truncated]
#44 _NativeSocket.issueReadEvent.issue
(dart:io-patch/socket_patch.dart:1307:18)
#45 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#46 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#47 _runPendingImmediateCallback
(dart:isolate-patch/isolate_patch.dart:122:13)
#48 _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:193:5)
[ +3 ms] Running shutdown hooks
[ +2 ms] Waiting for connection from debug service on Chrome... (completed in
50.4s)
[ ] Synced 0.0MB.
[ ] Failed to compile application.
[ ] Shutdown hooks complete
[ ] exiting with code 1
```
But the code sample you provided isn't minimal. We would need a [complete minimal reproducible code sample](https://stackoverflow.com/help/minimal-reproducible-example) that narrows down the issue without any 3rd party plugin or code, so please truncate the code sample that'll be enough to replicate the same error.
username_0: @username_1 I know, but why I have runtime type without any logging about what is going wrong here? How I can handle where is issue?
username_1: @username_0
From the log, it seems to be coming from Dart `package:kernel/binary/ast_to_binary.dart`, but in order to narrow it down properly, would be good to have a minimal repro code that throws this error.
Status: Issue closed
username_0: resolver after switching to master 💁🏿 |
woocommerce/woocommerce | 794388637 | Title: Upgrade of javascript translations require excessive file operations and are not handled gracefully in GUI
Question:
username_0: It seems there are a number of json files (10k+) that seem to be created due to Glotpress translations for Javascript components in woocommerce. It seems that there is no way to stop these from being generated for all javascript components and pre WC 4.0 and WP 5.6 translations were limited to php components (the .po files).
So it seems these are a wordpress 5.x feature that does not present until WC > 4.0 that requires translation of all the woocommerce-blocks javascript, and there we have all these .json files being generated. I found a few links with similar observations
https://wordpress.org/support/topic/multiple-json-translation-files-2/?view=all
https://wordpress.stackexchange.com/questions/326332/unknown-language-json-files
We like using FTP sockets for plugin upgrades, as it provides a very clear and definite log about plugin upgrade script file operations. Our wordpress has no special language support other than defaults, as we operate primarily in english speaking geography, though our theme includes language support.
In our ftp logs we see the STOR and CHMOD operations for all of these new translation files.
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] FTP response: Client "127.0.0.1", "226 Directory send OK."
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] FTP command: Client "127.0.0.1", "SITE CHMOD 674 /usr/share/wordpress/wp-content/languages/plugins/woocommerce-zh_TW-wc-admin-app.json"
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] OK CHMOD: Client "127.0.0.1", "/usr/share/wordpress/wp-content/languages/plugins/woocommerce-zh_TW-wc-admin-app.json 674"
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] FTP command: Client "127.0.0.1", "QUIT"
Tue Jan 12 17:22:31 2021 [pid 12656] [ftpsecure] FTP response: Client "127.0.0.1", "221 Goodbye."
Many of them have very small amounts of information
/var/lib/wordpress/wp-content/languages/plugins# cat woocommerce-zh_TW-fffdec5db595ec0ca7d043c87bae79b8.json
{"translation-revision-date":"2021-01-12 14:46:52+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=1; plural=0;","lang":"zh_TW"},"All Reviews":["\u6240\u6709\u8a55\u8ad6"],"List Settings":["\u6e05\u55ae\u8a2d\u5b9a"],"Content":["\u5167\u5bb9"],"Product name":["\u5546\u54c1\u540d\u7a31"]}},"comment":{"reference":"packages\/woocommerce-blocks\/assets\/js\/blocks\/reviews\/all-reviews\/edit.js"}}
A recent 4.8 to 4.9 upgrade took 2 hours to deploy all these translation files. And it seems like a lot of them were touched and updated again when woocommerce related plugins are upgraded.
It seems that perhaps there should be some consolidation or change in handling of the translations, to reduce the volume of file operations, and the associated time required, for simple plugin upgrades. DB upgrades have been hived off the plugin upgrade delay in the past -> with a notification that they are occuring in the background as scheduled jobs that can be monitored. If the approach to translations is not going to change, then this would be a better approach they having the little plugin upgrade icon swirl for two hours, which might other wise cause some users to worry that something has gone wrong if they can not monitor or see the background io operations underway.
Our instance runs on standard Debian wordpress/apache2/php packages
WooCommerce version: 4.9.0
WooCommerce REST API package: 4.9.0 /usr/share/wordpress/wp-content/plugins/woocommerce/includes
WooCommerce Blocks package: 4.0.0 /usr/share/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
Action Scheduler package: 3.1.6 /usr/share/wordpress/wp-content/plugins/woocommerce/packages/action-scheduler
WooCommerce Admin package: 1.8.3 /usr/share/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-admin
Log directory writable: /usr/share/wordpress/wp-content/uploads/wc-logs/
WordPress version: 5.6
Here's an idea of the file counts, 10K new json translations; presumably the file identifiers are stored in a db somewhere, so there is additional table space to consider as well.
/usr/share/wordpress/wp-content/languages/plugins# ls -al | wc -l
11519
/usr/share/wordpress/wp-content/languages/plugins# ls -al | grep woocommerce | wc -l
10912
/usr/share/wordpress/wp-content/languages/plugins# ls -al | grep woocommerce | grep json | wc -l
10764
/usr/share/wordpress/wp-content/languages/plugins# ls -al | grep woocommerce | grep json | more
-rw-rwxr--+ 1 ftpsecure ftpsecure 553 Jan 12 15:54 woocommerce-ar-00cecdb4dc8514ec7e775622bc723648.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 519 Jan 12 15:54 woocommerce-ar-01739590876f3ab645ec3678e42bbc29.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 2281 Jan 12 15:54 woocommerce-ar-01b768ae1db405a69d13758eda43a58b.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 9519 Jan 12 15:54 woocommerce-ar-02acd74879196411261af7576fdb4b93.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 2162 Jan 12 15:54 woocommerce-ar-0436417c01a5fcf6da938f5082798846.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1158 Jan 12 15:54 woocommerce-ar-056e3f14efed538fde21950202add8dc.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 806 Jan 12 15:54 woocommerce-ar-0657952e8fe472b7a7f031ef6c2f1e6a.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 622 Jan 12 15:54 woocommerce-ar-09444bf964f9242a7dc345c5da29c237.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 715 Jan 12 15:54 woocommerce-ar-09b8a04693848711e3459fcc6f5f2a94.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1288 Jan 12 15:54 woocommerce-ar-09c5919a18291dd26d6f52f9d1563a8e.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 712 Jan 12 15:54 woocommerce-ar-0a3b65850c50f16de824a40fa5ff0f0f.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 6927 Jan 12 15:54 woocommerce-ar-0cf7579f6fbc3a394bde81590518d79e.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 822 Jan 12 15:54 woocommerce-ar-0db65848d165e94c1b721836932fa2b2.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1309 Jan 12 15:54 woocommerce-ar-0dc089127d6d4abad378c797b27b1007.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 9188 Jan 12 15:54 woocommerce-ar-0e3dcd4f3ff5aa786acbbd18de58d420.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 622 Jan 12 15:54 woocommerce-ar-11eaf0a60d602f142e96c14c44445c1c.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 2747 Jan 12 15:54 woocommerce-ar-124cfb7a5d89d9c89c181e1d53e04227.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1549 Jan 12 15:54 woocommerce-ar-12698f76de1361156158b68e7449b0a9.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1443 Jan 12 15:54 woocommerce-ar-154eb5541053115f9cf2cc279decf649.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1093 Jan 12 15:54 woocommerce-ar-15ffb2e3ba27c86287dde1e4045e79cc.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 700 Jan 12 15:54 woocommerce-ar-1605a532b87cc989e30f0c39532c5845.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 658 Jan 12 15:54 woocommerce-ar-16268754aba0e39aeb4f24c835d52820.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 538 Jan 12 15:54 woocommerce-ar-1869430a90f07a7364b4c043829f725f.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 2685 Jan 12 15:54 woocommerce-ar-18a31075fa5f4596edaf76ec78921ff4.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 887 Jan 12 15:54 woocommerce-ar-19f16f4fc69aa97ecde5d39d523dfd8b.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 1114 Jan 12 15:54 woocommerce-ar-19f52ef80d162b0ab094ab96c60a76e8.json
-rw-rwxr--+ 1 ftpsecure ftpsecure 886 Jan 12 15:54 woocommerce-ar-1a349548a3d38de6f8013f63a02ddf4b.json
Answers:
username_0: Today we tested just upgrading a single plugin, Google Analytics for WordPress by MonsterInsights. The plugin was not even active, and the woocommerce javascrip translation updates went into full swing in the background.
This simple update, of a common, inactive plugin, resulted in an enormous number of file operations and actually still running right now, so will probably complete in an hour or so.
The larger problem of all of these javascript translation operations, is that there is no safe way to execute an upgrade, with a roll-back that could be completed in a reasonable amount of time to protect pending/oustanding transactions. If somebody upgrading their site ended up in an unstable state, where they decided to rollback and re-test, they would have to wait for all this woocommerce stuff to finish.
And this would happen during plugin upgrades that have nothing [that should be] directly linked to the woocommerce website functionality.
I am not sure how we will handle this risk for now, as once you upgrade into WC >4 and WP >5.6 this seems to just happen, as is our expereince in our various Debian 10 stable dev/qa/prod environments. We originally reported this two releases ago with Woocommerce support in ticket #3644320 after we determined a 4.9.0 upgrade was generating problems with our upgrade window timing.
Unfortunately they had no input on what or why this might be happening, and suggesting trying to file a bug report if we believed something was not functioning correctly. We sure hope somebody looks at this soon.
We are not going to wait the full two hours for the plugin upgrade to complete, but from below you can see all the woo translations being touched by file operations, about 10% (guess) complete having modified 1800 files so far.
/usr/share/wordpress/wp-content/languages/plugins# ls -alot | grep woocommerce | grep json | more
-rw-rwxr--+ 1 ftpsecure 66048 Jan 31 14:04 woocommerce-it_IT-wc-admin-app.json
-rw-rwxr--+ 1 ftpsecure 95183 Jan 31 14:03 woocommerce-fa_IR-wc-admin-app.json
-rw-rwxr--+ 1 ftpsecure 56698 Jan 31 14:01 woocommerce-cs_CZ-wc-admin-app.json
-rw-rwxr--+ 1 ftpsecure 488 Jan 31 13:59 woocommerce-zh_TW-fffdec5db595ec0ca
7d043c87bae79b8.json
-rw-rwxr--+ 1 ftpsecure 500 Jan 31 13:59 woocommerce-zh_TW-fe93c2577c317c098
eae3d9773e887a1.json
-rw-rwxr--+ 1 ftpsecure 426 Jan 31 13:59 woocommerce-zh_TW-fdc53b73be01f3738
b23cc383bd00b1a.json
-rw-rwxr--+ 1 ftpsecure 563 Jan 31 13:59 woocommerce-zh_TW-fd20fc8ea14847811
60e8ea0d229d5e9.json
-rw-rwxr--+ 1 ftpsecure 566 Jan 31 13:59 woocommerce-zh_TW-fc4895b6508f32c16
c4d8bc69f8162b6.json
-rw-rwxr--+ 1 ftpsecure 529 Jan 31 13:59 woocommerce-zh_TW-f9c56a0cbb6710505
047e6c835953c82.json
-rw-rwxr--+ 1 ftpsecure 825 Jan 31 13:59 woocommerce-zh_TW-f976da155dfdd0805
88c50ccda5af747.json
-rw-rwxr--+ 1 ftpsecure 1285 Jan 31 13:59 woocommerce-zh_TW-f686a272add740773
cdcb730afdb5454.json
-rw-rwxr--+ 1 ftpsecure 874 Jan 31 13:59 woocommerce-zh_TW-f60049653c419cfb1
e3dc8876e7a8bdb.json
-rw-rwxr--+ 1 ftpsecure 1691 Jan 31 13:59 woocommerce-zh_TW-f56e66fd08c07abc7
8cd844f7e83af8c.json
/usr/share/wordpress/wp-content/languages/plugins# find ./ -mtime -1 -ls | wc -l
1810
username_0: A few more observations; Upgrading some plugins like "W3 Total Cache" have no impact, whereas other plugins like "Google Analytics for Wordpress MonsterInsights" trigger about 2000 file updates to javascript translations for woocommerce.
We did the 4.9.2 upgrade in our QA environment, and another 8000 file updates javascript translations were required, taking about and a half.
After completing the upgrade to 4.9.2 yesterday, we had a separate upgrade prompt appear today for "Updated Translations" in the translations section of wordpress. This seemed to trigger yet another update, but only for Woo translations has started the update of the 10k json files again. A capture below from the GUI shows the process kicking off,

It is worth noting that our only installed language is "English (United States)" as shown in the capture below.

username_0: With some help from <NAME> we figured this out. I'll share some insights he provided.
It seems that if any point you have .mo files deployed in your language directories, the translation engine will assume you have the language support installed, and just start performing translations.
https://github.com/WordPress/wordpress-develop/blob/3c40632397cf1ee64e09c7ac767391dfac59e5ea/src/wp-includes/l10n.php#L1360
Recently, the Debian wordpress package added the missing "plugins" and "themes" directories to the languages folder, and in our environments we moved any dangling .mo files into their proper locations after the fix. We found some plugins had dropped them in the wp-content/plugins and wp-content/themes directories respectively, so we just put them into the proper locations.
It is worth noting that these directories seem to be missing in a lot of vanilla installs,
https://github.com/WordPress/wordpress-develop/blob/3c40632397cf1ee64e09c7ac767391dfac59e5ea/src/wp-includes/l10n.php#L1404
Here we see them being added (except core) to the Debian package we use
https://salsa.debian.org/debian/wordpress/-/commit/33338f03f95cade0b78a43e9a17993a0a81c1709
In our case, is is unclear if the language bits we placed into the proper locations were left because of their deployment into incorrect locations previously, where install scripts did not remove them, or if plugins had deployed them in error, but we did not find them in all our environments.
For anyone else cleaning up languages that did not have the directories deployed properly earlier, some consideration for installed languages needs to be made as once the files are in their proper locations, the translation engine will 'discover' those languages regardless of if they are installed or not.
If we were using these languages, we would still hope for some better handling of all the small javascript bits, and still recomment that the translations piece be hived off the plugin installation and/or put into the translations upgrade cleanly and sepearately from the plugin upgrade where each file operation can be seen in the GUI, so a sense of progress is being made.
Most users will not hang around for unexpectedly long file operations during a plugin upgrade.
username_1: Going to close this as you've found a solution (and this is more of an issue for core WordPress than WooCommerce).
Status: Issue closed
|
naser44/1 | 124713745 | Title: السعودية تقطع علاقاتها مع إيران وتطرد دبلوماسييها من الرياض
Question:
username_0: <a href="http://ift.tt/1ZJSuHl">السعودية تقطع علاقاتها مع إيران وتطرد دبلوماسييها من الرياض</a> |
MicrosoftDocs/sql-docs | 489790510 | Title: Missing parameter in text
Question:
username_0: On the first Parameter/Description table:
mcr.microsoft.com/mssql/server:2017-latest - The SQL Server 2017 Linux container image.
the -d is missing in front of the image name
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: b152444b-dfb8-5cbe-cf45-9830bd085a68
* Version Independent ID: 31719660-d4d0-7f63-efcc-846c822a63c2
* Content: [Get started with SQL Server Linux containers on Docker - SQL Server](https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-2017&pivots=cs1-powershell#feedback)
* Content Source: [docs/linux/quickstart-install-connect-docker.md](https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/linux/quickstart-install-connect-docker.md)
* Product: **sql**
* Technology: **linux**
* GitHub Login: @vin-yu
* Microsoft Alias: **vinsonyu**
Status: Issue closed
Answers:
username_1: @username_0 Thank you for the feedback.
The documentation has been updated. |
yanzhenjie/AndPermission | 283517899 | Title: 在请求PHONE权限时,部分权限无法正常获取
Question:
username_0: 
如图获取PHONE权限时

在onFailed回调中打印的log显示上述权限未正常获取, 机型为魅族pro 5 Android 7.0 flyme 6.7.12.12 beta
Answers:
username_0: 单独使用原生权限申请时

READ_PHONE_STATE权限是可以正常获取的.
username_1: 我也遇见了这个问题
username_2: me too.
username_3: 因为你申请权限组时,部分权限没有在Manifest中申明就会失败。
username_0: @username_3 意思是我如果要申请权限组里的部分权限的话,必须把整个组的权限都在清单文件里申明?
username_4: 没错,申请的权限需要全部注册。
另外一个好消息,大家可以升级到了2.0.0试试,2.0.0版本改动较大,主要是针对中国产手机的权限问题做了兼容(比如小米、魅族、华为、VIVO、OPPO、锤子、坚果、360、三星、HTC等),并且支持Android5.0系统中的权限申请,具体使用方法请阅读文档。
对于权限设置页面跳转也做了相应的的适配。 |
sbt/sbt-native-packager | 32409875 | Title: Feature request: createHomeDirectory
Question:
username_0: I was looking to create a home directory for the daemonUser.
I tried to modify some of the debian templates in the following way:
b/module/src/templates/postinst-useradd
```bash
@@ -0,0 +1,5 @@
\# Adding ${{user}}
if ! id -u ${{user}} > /dev/null 2>&1; then
echo "Creating user ${{user}} in group ${{group}}"
useradd --system --create-home --gid ${{group}} --shell /bin/false ${{user}}
fi
```
b/module/src/DEBIAN/postrm-purge
```bash
\# Deleting user: ${{user}} and group: ${{group}}
case "$1" in
remove|failed-upgrade|abort-upgrade|abort-install|disappear)
;;
purge)
deluser --quiet --remove-home --system ${{user}} > /dev/null || true
delgroup --quiet --system ${{group}} > /dev/null || true
;;
upgrade)
;;
*)
echo "postinst called with unknown argument \`\$1'" >&2
;;
esac
```
Alternately, I would use a 'createHomeDirectory in Debian' settingKey.
Answers:
username_1: @username_2 most of this stuff is outdated, I was wondering what today would be the best way to have this home directory created
username_2: @username_1 thanks for sharing. I like the idea of creating a home directory explicitly. I wonder if this would be a nice idea for a small archetype, e.g. `CreateHomeDirectoryPlugin`, which adds this piece of code to `rpm` and `debian`. Or if we just put it in the docs.
username_1: @username_2 I'm more fan of having an option for `--create-home` on the useradd command as that probably uses an os-specific template for the home directory instead of an empty folder
Status: Issue closed
|
thsangiorgio/prj-rev-bwfs-tea-cozy | 258272825 | Title: Don't forget to complete links
Question:
username_0: Don’t forget to complete these link. Replace the ‘#’ with the section id or class that you want it to navigate to when you click it.
https://github.com/thsangiorgio/prj-rev-bwfs-tea-cozy/blob/master/TeaCozy/index.html#L15-L17 |
swcarpentry/sql-novice-survey | 505059138 | Title: Liquid Exception: Liquid syntax error on `make site`
Question:
username_0: Hi fellow carpenters,
I've recently started contributing to this lesson. Unfortunately I'm unable to build the site locally.
When I run `make site`, I get this output:
```
jekyll serve
Configuration file: /home/kairsten/carpentries/sql-novice-survey/_config.yml
Source: /home/kairsten/carpentries/sql-novice-survey
Destination: /home/kairsten/carpentries/sql-novice-survey/_site
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Exception: Liquid syntax error (line 34): Unknown tag 'link' in _includes/navbar.html, included in _layouts/base.html
jekyll 3.1.6 | Error: Liquid syntax error (line 34): Unknown tag 'link'
Makefile:26: recipe for target 'serve' failed
make: *** [serve] Error 1
```
I don't normally use `make` or `jekyll`, so this could be an issue on my end.
Software:
operating system: Ubuntu
`make` version: GNU Make 4.1
`jekyll` version: 3.1.6
Answers:
username_1: run `make serve`
username_0: `make serve` results in the same error.
username_2: Hi @username_0 :wave:
You're running an older version of Jekyll. We're in the process of rewriting our setup instructions for installing Jekyll. It's currently in a PR: https://github.com/carpentries/lesson-example/pull/276/files#diff-2cc0b07f42930e4520820be1fe66f913R275 but if you'd be willing to give it a try and give us some feedback it'd be greatly appreciated. Thanks!
username_0: Hi @username_2 :
I followed the steps in the PR you linked. Steps 1 and 2 under *Linux (Ubuntu)*, plus the two steps under *For Everyone*. My error has changed. Here is the output I see now:
```
$ make serve
jekyll serve
/var/lib/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/drops/document_drop.rb:8: warning: already initialized constant Jekyll::Drops::DocumentDrop::NESTED_OBJECT_FIELD_BLACKLIST
/usr/lib/ruby/vendor_ruby/jekyll/drops/document_drop.rb:8: warning: previous definition of NESTED_OBJECT_FIELD_BLACKLIST was here
/var/lib/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/drops/drop.rb:8: warning: already initialized constant Jekyll::Drops::Drop::NON_CONTENT_METHODS
/usr/lib/ruby/vendor_ruby/jekyll/drops/drop.rb:8: warning: previous definition of NON_CONTENT_METHODS was here
Configuration file: /home/kairsten/carpentries/sql-novice-survey/_config.yml
Configuration file: /home/kairsten/carpentries/sql-novice-survey/_config.yml
Configuration file: /home/kairsten/carpentries/sql-novice-survey/_config.yml
Source: /home/kairsten/carpentries/sql-novice-survey
Destination: /home/kairsten/carpentries/sql-novice-survey/_site
Incremental build: disabled. Enable with --incremental
Generating...
/usr/lib/ruby/vendor_ruby/kramdown/version.rb:13: warning: already initialized constant Kramdown::VERSION
/var/lib/gems/2.5.0/gems/kramdown-1.17.0/lib/kramdown/version.rb:13: warning: previous definition of VERSION was here
/usr/lib/ruby/vendor_ruby/kramdown/element.rb:507: warning: already initialized constant Kramdown::Element::CATEGORY
/var/lib/gems/2.5.0/gems/kramdown-1.17.0/lib/kramdown/element.rb:507: warning: previous definition of CATEGORY was here
/usr/lib/ruby/vendor_ruby/kramdown/options.rb:36: warning: already initialized constant Kramdown::Options::Definition
/var/lib/gems/2.5.0/gems/kramdown-1.17.0/lib/kramdown/options.rb:36: warning: previous definition of Definition was here
/usr/lib/ruby/vendor_ruby/kramdown/options.rb:39: warning: already initialized constant Kramdown::Options::ALLOWED_TYPES
/var/lib/gems/2.5.0/gems/kramdown-1.17.0/lib/kramdown/options.rb:39: warning: previous definition of ALLOWED_TYPES was here
Liquid Exception: undefined method `includes_load_paths' for #<Jekyll::Site:0x000055cee71d5b80> in _layouts/episode.html
jekyll 3.1.6 | Error: undefined method `includes_load_paths' for #<Jekyll::Site:0x000055cee71d5b80>
Makefile:26: recipe for target 'serve' failed
make: *** [serve] Error 1
```
username_1: Could you try these steps.
`apt-get remove jekyll` (repeate till no older versions exist, I would also try `sudo apt-get remove jekyll `to make sure jekyll is removed )
`gem uninstall jekyll`
`gem install jekyll bundler`
check the paths too if they are set according to https://jekyllrb.com/docs/installation/ubuntu/
```j
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
username_0: Thanks @username_1.
I purged both ruby and jekyll from my system and reinstalled. I followed the jekyll installation steps from the website you linked (https://jekyllrb.com/docs/installation/ubuntu/). I verified I am able to create and serve a newly generated jekyll website.
I re-ran `bundle update` and then `make serve` in `sql-novice-survey`. I am getting a different error now when I run `make serve`:
```
jekyll serve
Traceback (most recent call last):
10: from /home/kairsten/gems/bin/jekyll:23:in `<main>'
9: from /home/kairsten/gems/bin/jekyll:23:in `load'
8: from /var/lib/gems/2.5.0/gems/jekyll-4.0.0/exe/jekyll:11:in `<top (required)>'
7: from /var/lib/gems/2.5.0/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
6: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler.rb:107:in `setup'
5: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:26:in `setup'
4: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:26:in `map'
3: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/spec_set.rb:148:in `each'
2: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/spec_set.rb:148:in `each'
1: from /home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:31:in `block in setup'
/home/kairsten/.gem/ruby/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:319:in `check_for_activated_spec!': You have already activated i18n 1.7.0, but your Gemfile requires i18n 0.9.5. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
Makefile:26: recipe for target 'serve' failed
make: *** [serve] Error 1
```
When I prepend with `bundle exec` as recommended in the Error message, I get:
```
$ bundle exec make serve
jekyll serve
Configuration file: /home/kairsten/carpentries/sql-novice-survey/_config.yml
Source: /home/kairsten/carpentries/sql-novice-survey
Destination: /home/kairsten/carpentries/sql-novice-survey/_site
Incremental build: disabled. Enable with --incremental
Generating...
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
Liquid Exception: "<USERNAME>/<PROJECT>" is invalid as a repository identifier. Use the user/repo (String) format, or the repository ID (Integer), or a hash containing :repo and :user keys. in /home/kairsten/carpentries/sql-novice-survey/_episodes/01-select.md
jekyll 3.8.5 | Error: "<USERNAME>/<PROJECT>" is invalid as a repository identifier. Use the user/repo (String) format, or the repository ID (Integer), or a hash containing :repo and :user keys.
Makefile:26: recipe for target 'serve' failed
make: *** [serve] Error 1
```
username_1: @username_0 could you try one last thing. Clone the a fresh repo and try again in a different location
username_2: @username_0 thanks for reporting this. I've looked a little more into it, and it boils down to the fact that the lesson uses the `site.github.url`. I provide a little more context in the PR #303.
In the meantime, I think that if you remove the Gemfile and the Gemfile.lock from the root of the lesson folder, you should be able to run `jekyll serve` and to render the lesson.
username_1: Thanks @username_0. I think this solves the issue. Feel free to open if the current master is not working as expected.
Status: Issue closed
|
async-rs/async-std | 504024689 | Title: Add support for Windows named pipes
Question:
username_0: Since Unix domain sockets are available in async-std, I think it is also in scope to add support for Windows named pipes.
There already exists a crate on top on mio (just like `mio-uds`) that we should be able to use: https://docs.rs/mio-named-pipes/0.1.6/x86_64-pc-windows-msvc/mio_named_pipes/
Answers:
username_1: Is there an update on this? The tokio implementation of named pipes (based on `mio-named-pipes`) is [dead simple](https://github.com/alexcrichton/tokio-named-pipes/blob/master/src/lib.rs) (~100 LOC).
username_2: Having names pipes support would be quite nice; but I think to prevent too much churn happening here I'd like to see us make progress towards https://github.com/async-rs/async-std/issues/293 first. |
commons-app/apps-android-commons | 343578811 | Title: Conflicts while pulling localisation updates.
Question:
username_0: **Summary:**
Normally we never experience conflicts after pulling localization updates. Because we never edit someLanguage/string.xml files manually. But this time I experienced some conflicts, it comes from latest update.
@Nikerabbit do you have any theory about reason of this situation?
**Steps to reproduce:**
Pull latest updates and merge them to your branch
**Screen shoots**


Answers:
username_1: @username_0 Is this issue still happening?
Status: Issue closed
username_2: Don't think this is still happening - I can't reproduce and as there's been no more updates on this going to assume it kinda sorted itself. If it does reappear can always reopen. |
inaka/elvis_core | 781349462 | Title: Complain about preprocessor macro use.
Question:
username_0: A rule to complain the use of any non-built-in macro, allowing for exceptions via a whitelist.
e.g.
``` erlang
{elvis_style, no_macros, ["EXCEPTION_1", "EXCEPTION_2"]}
```
Answers:
username_1: I've moved to implement this, thus the last change ("removed their assignment now").
Status: Issue closed
|
retronx-team/sys-clk | 777176177 | Title: Will i get banned?
Question:
username_0: Will i get banned if i use sys-clk?
(Sorry for my english)
Answers:
username_1: Yes? No? There is no real way to know as it's not up to us, it's up to N
Status: Issue closed
username_2: the short answer is "probably not", just like any other legit homebrew usage |
StefMa/bintray-release | 371871448 | Title: Something is wrong with v1.1.0
Question:
username_0: 
Answers:
username_1: 😕
I don't know 🤷♂️
Never saw this error before.
Can you please send more details?
* Gradle Version
* Applied Plugins
* custom publications?!
username_0: gradle4.8
classpath 'com.github.username_1:bintray-release:v1.1.0'
Status: Issue closed
|
dnmfarrell/Perly-Bot | 123751546 | Title: use link shortening
Question:
username_0: With a level of indirection traffic analysis would be possible
Answers:
username_0: Thiis should be pluggable. So perhaps the default module does nothing but it can be substitued for another which uses link shortening.
username_0: Not going to do this
Status: Issue closed
|
keybase/keybase-issues | 84315994 | Title: Can "prove twitter" not be case-sensitive?
Question:
username_0: I was having issues proving my identity via Twitter when a thought occurred to me: I typed in the CLI twitter username in lowercase to get the generated tweet to post, but my registered Twitter username is mixed-case.
Since case doesn't matter on Twitter (e.g. @foobar is the same as @FooBar), can keybase be changed to handle a non-exact-case match for proving via Twitter? This might prevent confusion for others who would otherwise have trouble proving via Twitter. |
marklocklear/twitter-splitter | 548070730 | Title: Set default text on page load
Question:
username_0: Begin typing your tweet here and see your slit tweet on the right. Tweetstorms allow you to express long-form ideas on twitter in more than 256 characters. We will split your tweet in the right place and also add the number of tweets at the beginning of each tweet.
This project was developed by @username_0 and @davenport
Enjoy! |
NLog/NLog | 864330767 | Title: Consider removing out of support TFMs
Question:
username_0: NLog supports a huge set of frameworks and some of those are already out-of-support. Most libraries already target .NET Standard 2.0 or a supported platform that support .NET Standard 2.0 like:
- .NET Core 2.0 and above
- .NET Framework 4.6.1 and above
- UAP10.0.16299
I would suggest to consider dropping support for anything older than .NET Standard 2.0 and .NET Framework < 4.6.1 in favor of a broader API set and a simplified dependency graph. Other open source repositories are dropping support for older targets as well, i.e. xunit v3.
Answers:
username_1: NLog 5.0 will support the following frameworks:
- Net35
- Net45
- Net46
- NetStandard13
- NetStandard15
- NetStandard20
See also #4274
username_0: Got it, thanks.
Status: Issue closed
|
JimmyLv/reading | 384649524 | Title: 为什么方格笔记本能够使你的头脑变得更聪明
Question:
username_0: ## 为什么方格笔记本能够使你的头脑变得更聪明?<br>
为什么方格笔记本能够使你的头脑变得更聪明? 🕰 高效能人士:计划 回顾 调整<br>
<br>
November 27, 2018 at 02:52PM<br>
via Instapaper http://www.zhiexp.com/rexp/2126 |
andreamazz/AMPopTip | 259072897 | Title: Newest version doesn't compile with Xcode 9 GM + iOS 11
Question:
username_0: Anyone else having issues compiling?
Answers:
username_1: I'm using the GM seed and it compiles and run with no errors or warnings, maybe sharing the issue you are having could help.
username_0: 
username_0: 


username_1: Using cocoapods?
It looks like the pod is compiled with swift 3 instead of swift 4 (check your Pods project, the AMPopTip.framework target). See https://github.com/username_1/AMPopTip/issues/124 for a workaround.
username_0: Thanks for the reply! I've attached some screenshots.. compiles and works fine with 2.1.7
username_0: yes our project is not swift 4 yet.. is that supported?
username_1: https://github.com/username_1/AMPopTip#versioning-notes
Use version 2.x with swift 3.
username_0: Ok great thanks for the reply, will do
Status: Issue closed
|
parsiya/Hugo-Octopress | 186972246 | Title: Error: While parsing config: (80, 19): unescaped control character U+0009
Question:
username_0: Thank you for developing this hugo theme.
I used the `sample-config.toml` to configure my hugo website, and then ran `hugo server --watch`, but following error was produced.
```
Error: While parsing config: (80, 19): unescaped control character U+0009
```
The error seems like from the Sidebar text param. How to fix this problem?
Answers:
username_1: Hey
Sorry for the delay. I have not had time to check GH recently. Let me check it and get back to you. Hopefully I can find a fix over the weekend.
username_1: Are you using it on *nix compatible system? The sample file was created on Windows which adds `0x0D 0x0A` at the end of each file. `0x09` is the ASCIIHEX of tab which is the
I cannot reproduce this on Windows but try copy/pasting the text inside the file (or grab it from the Github web interface) to a new empty file in an editor on your OS which will hopefully fix the compatibility issue.
username_0: Yes, I am using Mac OS. I will try your suggestion and report the result. Thank you very much.
username_0: Hi @username_1 , I tried your solution, but it couldn't fix the problem and the same error is produced. I commented the `sidebarText` param, and it successfully produced the website. This additional info may help you to diagnose the problem.
```
#sidebarText = """Sidebar text is passed to *markdownify* so it supports markdown. Here's a [link to google](https://www.google.com)
#</br>
#Second line
#</br>
#Third line
#"""
```
username_1: Unfortunately I do not have a Mac to reproduce this. I just tried it on Debian distro and it worked.
At this point you can try two things:
1. Use a different format for the config file. I think Hugo supports yaml and json. There should be converters from toml to json/yaml. Here's the sample config in json: https://gist.github.com/username_1/f0b947f9ef094387351d957e61790c23.
2. Remove the tabs at the start of second line until the end of the string. Because Hugo does not like the tab at the start of second line.
username_2: I fixed this by replacing all TAB characters with spaces in config.toml.
username_0: Great. I will try your solution.
username_0: @username_2 I fixed the problem by your solution. Thanks.
Status: Issue closed
username_1: I have converted all tabs to spaces in the sample-config now. Hopefully this will prevent problems in the future. |
mapbox/mapbox-events-android | 899627849 | Title: 🐞 Maximum limit of concurrent alarms 500 reached
Question:
username_0: Crash reported in the Search SDK repo https://github.com/mapbox/mapbox-search-android-examples/issues/27
**Configuration**
- SDK Version `7.0.0`
- Android OS Version Android 11 (capturing from the shared [screenshot](https://github.com/mapbox/mapbox-search-android-examples/issues/27#issue-898331151))
- Device model(s): nubia (capturing from the shared [screenshot](https://github.com/mapbox/mapbox-search-android-examples/issues/27#issue-898331151))
- App: https://play.google.com/store/apps/details?id=com.everlance (capturing from the shared [stacktrace](https://github.com/mapbox/mapbox-search-android-examples/issues/27#issue-898331151))
**Logging**
https://github.com/mapbox/mapbox-search-android-examples/issues/27#issue-898331151
The issue might be [here](https://github.com/mapbox/mapbox-events-android/blob/d73ca293b194376516997b73c5139b28430be671/libtelemetry/src/full/java/com/mapbox/android/telemetry/AlarmSchedulerFlusher.java#L37) if the scheduled task is not canceled or completed. |
niftlydev/niftly-shared-component-library | 798920317 | Title: flexible components to restrict image size, provide options for different size components
Question:
username_0: two things here. Our components should work like how @Cfkliewer made the highlight box component. size will be selectable from the cms. it should also fix images to be certain sizes so that the user doesn't have to worry about uploading perfectly sized images |
Shashank02051997/FancyGifDialog-Android | 462309337 | Title: Not working in a fragment
Question:
username_0: When I pass `getActivity()` in `new FancyAlertDialog.Builder(getActivity())` no error though it doesn't show up
Answers:
username_1: I will try to fix this on the next version of this lib.
username_1: @username_0 try to use the new release of this lib and let me know it gets fixed or not.
Status: Issue closed
username_1: I'm closing this issue for now... if you again face the issue reopen it |
enisn/Xamarin.Forms.InputKit | 1075261430 | Title: CheckChangedCommand event is not called from a Checkbox in a ListView
Question:
username_0: Code:
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
---
<input:CheckBox IsChecked="{Binding Checked}" CheckChangedCommand="{Binding CheckedChangedCommand}">
</input:CheckBox>
---
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
Expected
When checkbox manualy is checked, then the CheckChangedCommand is called.
The problem is that it is in a ListView. Outside the listview it is working fine.
Xamarin.Forms.InputKit: 3.7.2
Xamarin.Forms: 4.8.0.1560 |
binary-butterfly/shared-delivery | 592586388 | Title: Adressen aus OSM übernehmen
Question:
username_0: Ich weiß, dass das Thema Adressen und Hausnummern bei OSM nicht einfach ist. Da aber bei vielen POIs die Angaben nicht übernommen wurden (und diese erzwungen werden #28 ), macht es IMHO Sinn sich darum zu kümmern und die möglichst vollständig aus OSM mit zu extrahieren:
# Umschließende Gebäude
Geschlossene ways mit building=* tags haben häufig die addr:* Angaben, welche von POI-Nodes, die darin sind eigentlich "geerbt" werden.
# Umschließende Multipolygon-Gebäude
Die Angaben von Gebäuden können auch an einer Relation sein. wenn das Gebäude z.B. einen Innenhof hat und ansonsten eine geschlossene Fläche ist
# Adress node in der Nähe
Auch andere Knoten in der Umgebung können die Information haben.
P.S: Bei einem möglichweise folgenden Import, wäre die Community nicht unbedingt begeistert, wenn die Adressen einfach blind erneut kopiert werden.
Answers:
username_1: Kann ich das denn irgendwie der Overpass-API sagen, dass sie die Adressen auch erben soll? Weil ich zweifele ein wenig, ob die das so cool fänden, wenn ich massenhafte Abfragen machen würde ...
username_0: Ist mir nicht bekannt, dass man das über die API direkt machen könnte:
https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example
Soweit ich weiß nutzen Apps wie OSMand ein preprocessing basierend auf dumps bzw. suchen bei Abruf der Info per spatial index im Bereich des klicks. |
030/informado | 1040527861 | Title: enable all gosec checks
Question:
username_0: <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
If the matter is security related, please disclose it privately by sending an email to <EMAIL>
-->
**What happened**:
**What you expected to happen**:
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
**Environment**:
- nexus version:
- informado version (use `informado -v`):
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Others: |
Pulse-Eight/platform | 96644869 | Title: GPL-incompatible license is used for fstrcmp.c
Question:
username_0: fstrcmp.c is covered by version 3.01 of the PHP license which is not compatible with GPL:
https://github.com/Pulse-Eight/platform/blob/master/src/util/fstrcmp.c
https://en.wikipedia.org/wiki/PHP_License
Answers:
username_1: @username_2 do you use this (still) for anything?
username_2: I searched vnsi for fstrcmp: negative.
username_1: heh, noticed that it may just have been you who committed it, not who actually used it ;)
username_2: ahh, that is cmake sync. @wsnipex @username_3 do you know if this is used?
username_3: Yes it is used by the info scanners to do fuzzy steing compares.
username_3: Oh context lol. No it is not used here or on addons adaik.
username_1: right, that would mean an easy solution to the problem then ;-)
username_3: Yes. The history of this is that i started moving xbmc/utils stuff into the platform library, then have kodi use kodi-platform. One commit must have snuck into the wrong branch and has been carried onto here in the split. Issue is very much real in kodi itself though and there it will take more work..
-------- Opprinnelig melding --------
username_1: Sure, just mean that it's an easy solution _here_. As for the actual method, looks like a straight forward implementation of the described algo, so I'm not sure if the license actually is an issue here. I'll leave that up for debate later ;-)
Status: Issue closed
|
jasminb/megastoragemanager | 53215347 | Title: Backup same file multiple times
Question:
username_0: Hello,
I create a new file each day in one folder on my mobile phone and I have a sync job in MEGA Storage Manager to backup this folder.
Since 23 December 2014, the MEGA Storage Manager app has been uploading the same file to my online account multiple times. I now have 13 copies of each file in my online account.
I am running the latest version of MEGA Storage Manager as per the Google Play store.
Please advise what I can do to fix this problem.
Thank you
Answers:
username_1: Hi.
Just for clarification, do you see multiple copies of the files in the official android app from MEGA or just in the web app?
username_0: Hi,
I see multiple file copies in BOTH locations, in the OFFICIAL Android App and on the Web (Cloud Drive).
For completeness and to assist, I've attached screenshots of:
1. my Official Android App showing multiple file copies
2. my MEGA Cloud Drive showing multiple file copies and
3. a hash check of 2 files downloaded from the Mega Cloud Drive.
The hash of each file is exactly the same.


 |
jqhph/dcat-admin | 675953888 | Title: 建议使表单中的Html控件也支持水平模式
Question:
username_0: - Laravel Version:7
- PHP Version: 7.4
- Dcat Admin Version: 1.6.5
### Description:
建议使表单中的Html控件也支持水平模式
只用将`from-group row` 改为 `{$viewClass['form-group']}`
`/**
* Render html field.
*
* @return string
*/
public function render()
{
if ($this->html instanceof \Closure) {
$this->html = Helper::render(
$this->html->call($this->values(), $this->form)
);
}
if ($this->plain) {
return $this->html;
}
$viewClass = $this->getViewElementClasses();
return <<<EOT
<div class="{$viewClass['form-group']}">
<label class="{$viewClass['label']} control-label">{$this->label}</label>
<div class="{$viewClass['field']}">
{$this->html}
</div>
</div>
EOT;
}`
### Steps To Reproduce:
Answers:
username_1: 好的,欢迎提交PR
Status: Issue closed
username_1: 已支持 |
quantadex/react_quantadex | 409961774 | Title: more explicit warnings on failed order entries
Question:
username_0: Add a cancel button.
I assume if they press buy then they will see the original order again and can just press sell/buy again.
Answers:
username_1: 
username_0: Add a cancel button.
I assume if they press buy then they will see the original order again and can just press sell/buy again.
username_0: never mind they can use the cross top right
username_1: 
Updated design.
@TinyMolecule |
erpc-io/eRPC | 439012305 | Title: The code is always using NIC port number 1.
Question:
username_0: I’m trying to build the provided apps with eRPC. I have three machines with dual port connect X5 Mellanox cards running Ubuntu 18.04. Following is the configuration of the machines.
Quads1:Port1(192.168.12.1) ---> Quads2:Port2(192.168.12.2);
Quads2:Port1(192.168.23.1) ---> Quads3:Port2(192.168.23.2);
Quads3:Port1(192.168.31.1) ---> Quads1:Port2(192.168.31.2);
I am trying to run the app “small_rpc_tput” on “quads1” and “quads2”. For some reason even though I provided IPs (192.168.12.1) and (192.168.12.2) in “scripts/autorun_process_file”, It uses port 1 (counting from 0) on both machines for connection. As you can see in the attached screenshot, on quads1 it should be using IP “192.168.12.1” but instead it is using “192.168.31.2”. The printed results also seem to imply that the connection is not established correctly.
<img width="866" alt="Screen Shot 2019-04-30 at 5 00 47 PM" src="https://user-images.githubusercontent.com/26774688/56998572-569b3700-6b71-11e9-8394-6d4478d38554.png">
<img width="864" alt="Screen Shot 2019-04-30 at 5 02 05 PM" src="https://user-images.githubusercontent.com/26774688/56998578-5a2ebe00-6b71-11e9-9da1-a1ca0f07b2d3.png">
Answers:
username_1: The NIC port is determined by the `phy_port` argument passed to the Rpc constructor. See [documentation](https://www.cs.cmu.edu/~akalia/erpc_doc/classerpc_1_1Rpc.html#aaae8e09ecd3d4e14c6e241fd635aaf70). I will try to make this clearer.
The IP addresses in `autorun_process_file` are used only as control net IPs.
username_0: Thanks. That solved the issue.
Status: Issue closed
|
kubernetes/kubernetes | 704853278 | Title: kube-proxy cleanup not work
Question:
username_0: **What happened**:
Currently kube-proxy cleanup not work, which will left iptables (and ipvs) rules in host and.
```
./_output/bin/kube-proxy --cleanup
W0919 16:21:16.970463 11908 server.go:226] WARNING: all flags other than --config, --write-config-to, and --cleanup are deprecated. Please begin using a config file ASAP.
I0919 16:21:16.970684 11908 server.go:555] Neither kubeconfig file nor master URL was specified. Falling back to in-cluster config.
F0919 16:21:16.970703 11908 server.go:495] unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
```
**What you expected to happen**:
Kube-proxy cleanup can work and not relay on hostName or ClientConnection config.
**How to reproduce it (as minimally and precisely as possible)**:
`kube-proxy --cleanup` |
simquest/opensurgsim | 1071919627 | Title: Please tag releases
Question:
username_0: Hi,
the Debian Med team is maintaining opensurgsim in Debian. In Oct 2016 <NAME> pulled some codebase featuring the version number 0.7.0. Unfortunately I can not find any "Release" tagged by the project and under "Tags" I can only find version 0.6.0. It would be great if you would consider some version based tagging to inform users what is production ready released code - which we would like to package in Debian as well.
Kind regards, Andreas. |
grpc/grpc | 141981921 | Title: tests.bins/dbg/qps_openloop_test (dbg,c++,macos)
Question:
username_0: https://grpc-testing.appspot.com/job/gRPC_master/15884/config=dbg,language=c++,platform=macos/testReport/junit/(root)/tests/bins_dbg_qps_openloop_test/
Related to #3869?
Answers:
username_1: Are we seeing this after https://github.com/grpc/grpc/pull/5752?
username_0: @username_1 I don't think so. Then again, the PR's only been landed in master for about a few hours...
username_2: Although reported now, this test took place before that merge. I'm tempted to close this unless we see otherwise.
username_0: Sounds okay to me.
Status: Issue closed
|
ksyz/Net-Zabbix | 128955029 | Title: merge v2 branch in master
Question:
username_0: currently master branch uses 'user.authenticate' method, while v2 branch uses 'user.login' method.
user.login is supported in all version of zabbix, while user.authenticate is deprecated and removed in the latest versions. it would probably be best to merge v2 into master and go forward with a single branch only
Answers:
username_1: Many days later, in a distant past..
OK, I did switch the main branch to v2. It looks like some people forked the "legacy" master branch, so I will leave it as it is.
Status: Issue closed
|
Jomme5/AddressToGPSII | 451306869 | Title: Adding another option to download the app
Question:
username_0: I honestly do not care that your charging for the app but a lot of the reason people look for an app like this is because the use osmand as a replacement for Google Maps. For me i do not have anything Google related on my phone. If you could add another option where I can pay you and I can download the app that would be great.
Answers:
username_1: Sorry for my late answer. Didn't got any e-mail-notification... :( Normally most people have google-playstore on their phones. In case your phone is rooted and you threw off the google-playstore-service(if some apps are still be able to work anyways?), I can send you a copy. Notice that the underlying service of the app is not longer Bing, but Google.
Status: Issue closed
|
h2non/bimg | 614981291 | Title: load svg file with given size
Question:
username_0: I am trying to convert svg files to different sizes matching the phone screen.
libvips have the option to load svg files with larger sizes:
vips copy test.svg[dpi=8000] x.png
vips copy test.svg[scale=5] x1.png
However, the NewImage function only load the file in a small default size and it loses the sharpness when converting the image to png with larger resolution.
I wonder if there is any option to load the svg file in large resolution first. If we don't have the function now, can we expose the corresponding function in libvips. |
tsgrp/OpenAnnotate | 246092424 | Title: Suggested Redaction - Reason for Redaction
Question:
username_0: Since the Reason for Redaction exists in the configuration of each Suggested Redaction Pattern, we should put that text on the burned in Redaction that get created.
Answers:
username_0: Related Issue : https://github.com/tsgrp/OpenAnnotate/issues/198
username_1: Fixed with OA Commit 4057
CR- Marc
Status: Issue closed
|
FatihBozik/license-generator-intellij-plugin | 755279398 | Title: Incompatible with the IDEA 2020.3
Question:
username_0: Error message: `Plugin 'License Generator' (version '0.0.10') is not compatible with the current version of the IDE, because it requires build 202.* or older but the current build is IU-203.5981.155`
Answers:
username_1: Hi @username_0,
Thanks for your feedback. Fixed by 0.0.11 version. The new version will be live after JetBrains approval.
If you don't want to wait, you can manually download version latest from the [link](https://github.com/username_1/license-generator-intellij-plugin/releases/tag/v0.0.11).
Download `license-generator-intellij-plugin-0.0.11.zip` file and install it manually using Preferences > Plugins >
Install plugin from disk… and Restart IDE.
Status: Issue closed
|
oneconcern/datamon | 381787495 | Title: K8S based minio should be tested in CI/CD or deprecated
Question:
username_0: In the spirit of not having code that decays, k8s based minio install for testing should be part of CI/CD or deprecated/deleted
Status: Issue closed
Answers:
username_1: @username_0 @ransomw1c -- This is a github issue cleaning sweep
Minio basically ensures datamon still works with S3. It is part of the CI runs. Therefore, closing this. |
Hack4Eugene/SpeedUpAmerica | 438013403 | Title: Add Zoom Controls to Map
Question:
username_0: As a user I want to be able to zoom in and out without using my dumb keyboard.
* Research mapping library used
** Enable layer with zoom controls
** Style if necessary
Answers:
username_0: I managed to get this kinda sorta working but the map rendering issues are really blocking all of this. One we get that all fixed the zoom should be trivial to add.
https://docs.mapbox.com/mapbox.js/api/v2.3.0/l-control/
Status: Issue closed
|
gorhom/react-native-bottom-sheet | 920421017 | Title: Listening scroll events in BottomSheetModal
Question:
username_0: ## Ask your Question
Hi,
I'm trying to use the onScroll with the BottomSheetModal component
```
<BottomSheetFlatList
...
onScroll={(event): void => {
scrollOffset.value = event.nativeEvent.contentOffset.y
}}
...
/>
```
it doesn't seem to work.
I am missing something?
Thanks in advance
Answers:
username_1: I am trying to use the onScroll prop with `BottomSheetScrollView` and it doesn't work either. I came across PR https://github.com/gorhom/react-native-bottom-sheet/pull/225 and it seems like it was removed (for BottomSheetScrollView..), so maybe BottomSheetFlatList is similarly intentionally lacking the function
username_2: Thx, I also try to use the events (in my case onMomentumScrollEnd) and it doesn't work. Maybe, there is another way of listening to these events?
username_2: @username_0 @username_1 I just tried ScrollView from react-native-gesture-handler as mentioned here:
https://gorhom.github.io/react-native-bottom-sheet/troubleshooting#adding-horizontal-flatlist-or-scrollview-is-not-working-properly-on-android
It seems to work nicely now, events included. The horizontal Flatlist is even part of a vertical BottomSheetFlatlist and its behavior including closing the bottom sheet with vertical gestures on the horizontal Flatlist also just works. Latest versions of all components.
username_1: Does closing the BottomSheet using gestures and the vertical ScrollView component from react-native-gesture-handler work for you? It doesn't for me. Kinda of makes sense it works on a horizontal one since the horizontal one wouldn't be listening for vertical gestures as well..
username_2: Hi @username_1 yes for me it is working. But I use BottomSheetFlatList for the vertical ScrollView and inside I use the ScrollView component from react-native-gesture-handler for the horizontal Image slider. See video:
https://user-images.githubusercontent.com/153574/124245795-9cbcfe00-db20-11eb-8f4b-3acdca6c38a0.mov |
line/line-bot-sdk-python | 458347218 | Title: Support delivery/{push, multicast, reply} APIs
Question:
username_0: Add the following APIs:
- Get number of sent push messages `v2/bot/message/delivery/push`
- Get number of sent multicast messages `v2/bot/message/delivery/multicast`
- Get number of sent reply messages `v2/bot/message/delivery/reply`<issue_closed>
Status: Issue closed |
dh4/mupen64plus-qt | 172030364 | Title: Build failed
Question:
username_0: Hey!
I just received this:
```
g++ -c -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtXml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtSql -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o configeditor.o src/dialogs/configeditor.cpp
src/mainwindow.cpp: In member function ‘void MainWindow::createMenu()’:
src/mainwindow.cpp:347:9: error: ‘macVersion’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() < QSysInfo::MV_ELCAPITAN || QSysInfo::macVersion() == QSysInfo::MV_None)
^
src/mainwindow.cpp:347:34: error: ‘MV_ELCAPITAN’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() < QSysInfo::MV_ELCAPITAN || QSysInfo::macVersion() == QSysInfo::MV_None)
^
src/mainwindow.cpp:347:60: error: ‘macVersion’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() < QSysInfo::MV_ELCAPITAN || QSysInfo::macVersion() == QSysInfo::MV_None)
^
src/mainwindow.cpp:347:86: error: ‘MV_None’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() < QSysInfo::MV_ELCAPITAN || QSysInfo::macVersion() == QSysInfo::MV_None)
^
src/mainwindow.cpp: In member function ‘virtual bool MainWindow::eventFilter(QObject*, QEvent*)’:
src/mainwindow.cpp:562:9: error: ‘macVersion’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() >= QSysInfo::MV_ELCAPITAN && QSysInfo::macVersion() != QSysInfo::MV_None) {
^
src/mainwindow.cpp:562:35: error: ‘MV_ELCAPITAN’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() >= QSysInfo::MV_ELCAPITAN && QSysInfo::macVersion() != QSysInfo::MV_None) {
^
src/mainwindow.cpp:562:61: error: ‘macVersion’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() >= QSysInfo::MV_ELCAPITAN && QSysInfo::macVersion() != QSysInfo::MV_None) {
^
src/mainwindow.cpp:562:87: error: ‘MV_None’ is not a member of ‘QSysInfo’
if (QSysInfo::macVersion() >= QSysInfo::MV_ELCAPITAN && QSysInfo::macVersion() != QSysInfo::MV_None) {
^
make[1]: *** [mainwindow.o] Error 1
make[1]: *** Waiting for unfinished jobs....
```
It's building for ubuntu 16.04, but not for 14.04 to 15.10
Status: Issue closed
Answers:
username_1: This is something I broke earlier with Qt4 builds. It's fixed now with the last commits. |
django/django-localflavor | 928081703 | Title: Field of CharField inheritance
Question:
username_0: Most of localflavor form fields inherit from `CharField`. However, some are directly inheriting from `Field`. Whenever you use those fields as the default form field for any model CharField, you'll get the `__init__() got an unexpected keyword argument 'max_length'` TypeError. I wonder if the fact some fields inheriting from `Field` only is a desing decision or simply an oversight.
@username_1, what do you think?
Answers:
username_1: I suspect this is an oversight. I vaguely recall noticing this in the past but assumed that these fields were intentionally setup to inherit directly from `Field`. Since there's a specific issue with this setup, I think we should change all text based fields to inherit from `CharField`.
I think it's worthwhile to make a 3.1.1 release to address this. Do you see any compatibility issues with this change?
username_1: I can make a PR later this afternoon if you haven't already beat me to it.
username_0: Such changes could always give backwards incompatibilities, however, I think it's the right thing to do, and we can document the affected fields in the ChangeLog. I'll be pleased to review your patch :-)
username_1: There were more than I thought there would be and I have to do other stuff now. I'll finish the PR in the next couple of days and let you know when it's ready for review.
username_0: Sure, no rush! Just tell me if you'd like some help to cook the patches.
username_1: I can do it - it's giving me more motivation to finish my work on a Django wrapper to python-stdnum and possibly/eventually deprecate most of this stuff. :-)
Status: Issue closed
username_0: Fixed by d7ba69b477 |
xingyizhou/CenterNet | 560740340 | Title: Slower _topk
Question:
username_0: There is a function _topk which is commented as "Slow for large number of categories", how is it different from the _topk function you are using now?
Answers:
username_1: It is an empirical observation. Theoretically, they should be similar.
Status: Issue closed
|
ibm-openbmc/dev | 550704339 | Title: PLDM: libpldm: Implement PlatformEventMessage
Question:
username_0: - Add encode/decode APIs (responder flow only) for the command PlatformEventMessage, from https://www.dmtf.org/sites/default/files/standards/documents/DSP0248_1.2.0.pdf
- Define C struct for the 'sensorEvent' event data format - these structs will enable a user to typecast the event data that's part of the PlatformEventMessage request.
- Add unit tests
Answers:
username_1: Resolved by https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/29988
Status: Issue closed
username_2: https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/29988 merged |
asc-community/AngouriMath | 777734130 | Title: Problem with infinate solutions in systems of equations.
Question:
username_0: I made a program with this that goes through the steps of doing systems of equations instead of using the built in feature, but when I try to calculate a system with infinite solutions, I get an error. What I do is I split the equations into respective arrays based on the = sign, then I combine the equations on the left sides and on the right sides separately, and I use that single equation to calculate the x and y values. I also use a series of if statements to check if it has "no solutions" before I calculate x and y so I don't get an error. Can you think of a way I could check if it is going to be "infinite solutions" before I try to calculate it?
Answers:
username_1: @username_2 See? I have proposed step-by-step calculations before and it is actually useful.
username_1: @username_0 Is that just a system of linear equations? Or arbitrarily complex?
username_2: There are a few bugs related to corner cases #278. Equations like
```cs
"y = 0".Solve("x")
```
Need to return `{ x : y = 0 }`
But it'd be nice if you provide a concrete example
username_0: @username_2 I actually used a try-catch to detect if it will cause the error on that line and told the computer to return that awnser as "Infinite solutions"
username_0: @username_1 It's a system of 2 linear equations, but I have solved the issue now no worries. |
Cloud-CV/EvalAI | 216255082 | Title: Restrict the update profile API Endpoint from updating username
Question:
username_0: Currently, django-rest-auth provides the functionality to update the username with the update profile API Endpoint. We want to restrict this since we don't want a user to update his username once he has created his account.
For more details about the API endpoint, look at http://django-rest-auth.readthedocs.io/en/latest/api_endpoints.html#basic
Answers:
username_0: Related to #863
username_1: @username_0 can I take it up?
username_0: @username_1 Sure. :)
username_2: @username_0 @username_1 Is anyone still working on this or can I take this one?
username_0: @username_2 Yeah, you can work on it. :)
username_1: @username_0 ohh, I just forgot this issue... my bad 😅 @username_2 yeah go on bro...you can take this up :)
username_3: Hi, I'm a bit new to restful services using django, and I guess that with a bit of learning I could solve this issue, where would be the best place to start using rest for evalai?
username_1: Hey @username_3 [Djnago REST Documentation](http://www.django-rest-framework.org/) would be a good place to start learning about how REST is implemented in EvalAI.
username_3: @taranjeet @username_1 I'm currently in the process of learning django REST, I'd like to inform that I'll be back for bigger contributions to CloudCV after I'm done with a personal project of mine.
username_0: @username_3 Sounds good. Thanks for informing. :)
username_3: @username_0 Can I start working on this? :)
username_4: yes sure. Assigning this to you.
username_3: Hi, @username_0 @username_4 To update the username after creation of account we should do a PUT request to `/api/auth/user/`, right? I'd like to test this for a bit, would it be best to do it through cURL or drf-docs?
username_4: @username_3 Please refer here for the command https://pvcarrera.github.io/general/2015/03/18/curl.html. Moreover , you can use Postman client for the same. Let me know if you still have doubts.
username_3: @username_4 I'll look into it! :smile:
username_3: @username_4 Hi, I have analysed the issue. Since only the `PUT` request to the `/auth/user/` which contains `username` should be restricted, it would require writing a view to check the parameters passed, if it passes then pass it onto `rest_auth`, right?
Status: Issue closed
|
SerenityOS/serenity | 752523675 | Title: Terminal: Clear acts funny
Question:
username_0: Right click in the terminal window and choose "Clear including history" - the terminal goes totally blank and you don't see the prompt again until you push a key. When you do push a key the prompt appears on the bottom line instead of the top.
Answers:
username_1: I did discuss this with @awesomekling when he implemented it; I suggested making that button also emit a `<C-l>`.
the problem here is that the terminal clears the screen in a way that the line editor has no way to notice. |
spatie/laravel-http-logger | 434578160 | Title: why no get request?
Question:
username_0: `public function shouldLogRequest(Request $request): bool
{
return in_array(strtolower($request->method()), ['post', 'put', 'patch', 'delete']);
}`
Answers:
username_1: Because get requests mostly do not contain payloads that you'd want to inspect later.
Status: Issue closed
username_0: when debug environment, I want to get the get request.
Could you please tell me what I should do?
username_2: @username_0
inside the file config/http-logger.php:9
```
'log_profile' => \Spatie\HttpLogger\LogNonGetRequests::class,
```
we can create our own class and replace it here, so you can add the get
```
return in_array(strtolower($request->method()), ['post', 'put', 'patch', 'delete']);
```
in your custom class
username_0: @username_2
Implemented, thank you |
hakanersu/AmaranJS | 61976847 | Title: Feature for local vs global positioning?
Question:
username_0: Thank you for sharing the good work.
Just wondering if it would be possible to include element specific notifications (like this one at http://notifyjs.com/ does).
For example, when specified something like `$(".textbox").amaran()` the notification would be displayed relative to that textbox, which would be great way to show errors and all for inputs.
Answers:
username_1: I will look at it but it is very tricky with current plugin structure.
Status: Issue closed
|
InfinityRaider/AgriCraft | 70811723 | Title: Crash with PlantMegaPack 4.16+
Question:
username_0: Game crashes on load
Plant Mega Pack 4.16+ for MC1.7.10
AgriCraft 1.7.10-1.3.1
Setting config/agricraft/Configuration.cfg B:"Plant Mega Pack"=false does not prevent crash.
```
[14:02:55] [Client thread/ERROR]: Caught exception from AgriCraft
java.lang.NoSuchFieldError: seedBeet
at com.username_1.AgriCraft.reference.SeedInformation.init(SeedInformation.java:91) ~[SeedInformation.class:?]
at com.username_1.AgriCraft.proxy.ClientProxy.initSeedInfo(ClientProxy.java:136) ~[ClientProxy.class:?]
at com.username_1.AgriCraft.AgriCraft.postInit(AgriCraft.java:104) ~[AgriCraft.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:530) ~[forge-1.7.10-10.13.3.1389-1710ls.jar:?]
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-16.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-16.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:215) ~[forge-1.7.10-10.13.3.1389-1710ls.jar:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:193) ~[forge-1.7.10-10.13.3.1389-1710ls.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-16.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-16.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:701) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:304) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541) [bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) [bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
```
Full Startup Log: http://slexy.org/raw/s203VZDtGf (expires 2015-07-23)
Answers:
username_1: Was a already reported and has been fixed.
As seen in #182
Status: Issue closed
username_0: Oops. I searched open tickets, but didn't think to check closed ones. Looking forward to the next release then. :) |
ali-sdk/ali-oss | 142898270 | Title: 我采用浏览器直接上传到oss, oss回调应用服务器有没有node.je 版本的。
Question:
username_0: [https://help.aliyun.com/document_detail/oss/practice/pc_web_upload/js_php_callback.html?spm=5176.docoss/practice/post_object_callback.2.3.nN7GWD](url)
```php
<?php
// 1.获取OSS的签名header和公钥url header
$authorizationBase64 = "";
$pubKeyUrlBase64 = "";
/*
* 注意:如果要使用HTTP_AUTHORIZATION头,你需要先在apache或者nginx中设置rewrite,以apache为例,修改
* 配置文件/etc/httpd/conf/httpd.conf(以你的apache安装路径为准),在DirectoryIndex index.php这行下面增加以下两行
RewriteEngine On
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
* */
if (isset($_SERVER['HTTP_AUTHORIZATION']))
{
$authorizationBase64 = $_SERVER['HTTP_AUTHORIZATION'];
}
if (isset($_SERVER['HTTP_X_OSS_PUB_KEY_URL']))
{
$pubKeyUrlBase64 = $_SERVER['HTTP_X_OSS_PUB_KEY_URL'];
}
if ($authorizationBase64 == '' || $pubKeyUrlBase64 == '')
{
header("http/1.1 403 Forbidden");
exit();
}
// 2.获取OSS的签名
$authorization = base64_decode($authorizationBase64);
// 3.获取公钥
$pubKeyUrl = base64_decode($pubKeyUrlBase64);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $pubKeyUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
$pubKey = curl_exec($ch);
if ($pubKey == "")
{
//header("http/1.1 403 Forbidden");
exit();
}
// 4.获取回调body
$body = file_get_contents('php://input');
// 5.拼接待签名字符串
$authStr = '';
$path = $_SERVER['REQUEST_URI'];
$pos = strpos($path, '?');
if ($pos === false)
{
$authStr = urldecode($path)."\n".$body;
}
else
{
$authStr = urldecode(substr($path, 0, $pos)).substr($path, $pos, strlen($path) - $pos)."\n".$body;
}
[Truncated]
// 6.验证签名
$ok = openssl_verify($authStr, $authorization, $pubKey, OPENSSL_ALGO_MD5);
if ($ok == 1)
{
header("Content-Type: application/json");
$data = array("Status"=>"Ok");
echo json_encode($data);
}
else
{
//header("http/1.1 403 Forbidden");
exit();
}
?>
```
Answers:
username_0: 上面的代码能否转成js 版本。
username_1: @username_0 我会在后续的版本中增加对oss callback的支持。
username_2: 现在浏览器往 OSS 发请求的时候怎么设置 callback url ? @username_1
username_1: @username_2 现在只能根据文档:https://help.aliyun.com/document_detail/oss/api-reference/object/Callback.html,手动构造好`x-oss-callback`,然后在调用api的时候在`headers`中指定:
```js
client.multipartUpload(storeAs, file, {
headers: {
'x-oss-callback': callback
}
}).then(function (result) {
console.log(result);
}).catch(function (err) {
console.log(err);
});
```
username_2: @username_1 可以通过 url 带参数吗
username_1: 带什么参数?`x-oss-callback`只能在header中。
username_2: 我看到 [文档](https://help.aliyun.com/document_detail/oss/api-reference/object/Callback.html) 里有三种方式来设置回调:
- 在URL中携带参数。
- 在Header中携带参数。
- 在POST请求的body中使用表单域来携带参数,在使用POST请求上传Object的时候只能使用这种方式来指定回调参数。
第一种不可以吗?
username_1: @username_2
1. URL中设置callback,但是签名在header中,这个目前js sdk不能支持。因为它会把callback当作一个query parameter而没有加到签名中;
2. aliyun-sdk-js的问题你只能看一下代码,或者在那个repo里开issue
username_2: @username_1 非常感谢了
username_3: @username_1
callback出了java、python、php等等的demo,有没有node版本的
自己对着别的版本的代码改出来的不好使
Status: Issue closed
username_5: 我也在找node版本的~怎么就没有呢
username_6: aliyun-oss 的确是对nodejs 不够友好,找了好久终于找到解决方案了分享给大家
```javascript
const crypto = require('crypto');
// 1.获取OSS的签名
// 例子 "<KEY>
const signatureBase64 = ctx.request.header.authorization;
// 2.获取公钥
// 例子 "-----<KEY>"
const pubKeyUrl = Buffer.from(ctx.request.header['x-oss-pub-key-url'], 'base64').toString();
const pubKeyRes = await axios.get(pubKeyUrl);
const pubKey = pubKeyRes.data;
// 3 获取待签名字符串
// 例子 '/oss/callback\n{"tradeNo":"202007151283383770610798592","mime":"image/png","size":848409,"objectName":"local/upload/image/f2fb68c0c69911ea9b8367206d92f50d"}'
const authStr = url_decode(path) + query_string + '\n' + body;
// 验签
const verifier = crypto.createVerify('md5WithRSAEncryption');
verifier.update(Buffer.from(authStr));
verifier.verify(pubKey, authorizationBase64, 'base64');
``` |
MicrosoftDocs/cpp-docs | 459609806 | Title: CAsyncSocket Create's bind implementation has a bug in it
Question:
username_0: See Stackoverflow for description of the problem: https://stackoverflow.com/questions/10968182/windows-socket-error-10013 and https://stackoverflow.com/questions/17123380/c-windows-socket-error-10013.
The MFC Create function makes sure is set up properly by creating its own Socket, memset'ing it and calling 'bind'. The failure occurs on the OPs PCs and mine when something in the environment changes which makes the socket code useless in a production environment. When the failure occurs, it is consistent and always occurs in the bind whose source code is unavailable.
My workaround was to discard the 'addrResult' obtained from ::getaddrinfo and find another addrResult that does work. This is not a solution, but that is better than letting such an obscure bug stop the development of critical code.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 1c11b2e5-1be9-8d75-a063-8e5c769ec7b0
* Version Independent ID: 533b7b93-3e56-787e-6c39-f346e2104ab0
* Content: [CAsyncSocket Class](https://docs.microsoft.com/en-us/cpp/mfc/reference/casyncsocket-class?view=vs-2019#create)
* Content Source: [docs/mfc/reference/casyncsocket-class.md](https://github.com/Microsoft/cpp-docs/blob/master/docs/mfc/reference/casyncsocket-class.md)
* Product: **visual-cpp**
* Technology: **cpp-mfc**
* GitHub Login: @username_1
* Microsoft Alias: **mblome**
Answers:
username_1: @username_0 thanks for reporting this. Are you willing to post it on [developer community](https://developercommunity.visualstudio.com/spaces/62/index.html) so that the product team can see it and triage it?
username_0: Fine with me. Is that something I do? Or do you transfer #1190?
username_0: Okay, I did post the problem on the Developer Community site.
username_0: Because the problem dll is presumably in __imp_bind, which is in the Windows dll and not MFC, this issue has been referred to them by the Developer Community's <NAME> III (C+E Security) [MSFT]. Remaining, however, is the issue that the CAsyncSocket::Create Return Values documentation doesn't account for the WSAEACCES error. This is a situational bug and hard to replicate, but I have set aside a test rig where the bug appears, until it can get resolved and the documentation corrected.
username_0: Problem resolved. See my Answer in Stackoverflow `how to determine socket interface type`.
Status: Issue closed
username_1: @username_0 Glad you were able to figure this out. I added a link to the Windows topic that lists all the possible socket errors. Should appear in the next day or so. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.