repo_name
stringlengths 4
136
| issue_id
stringlengths 5
10
| text
stringlengths 37
4.84M
|
---|---|---|
JamesCostello-dev/RunBuddy.github.io | 714173003 | Title: Updates for Hero Section
Question:
username_0: # Updates for Hero Section
## Content Requirements
* Heading: "Start Building Habits."
* Text Body: Lorem ipsum text placeholder
* Download new hero image for hero section
## Questions/suggestions for Design Team
* What will be the marketing text?
Status: Issue closed
Answers:
username_0: Closed |
jakesutor/CS504-Project | 596260675 | Title: Analyze correlations between statistics and develop initial model
Question:
username_0: Analyzing the effect of different variables on the model, by developing an initial model to test some of the relationships between the variables.
https://www.charlotteobserver.com/sports/charlotte-hornets/article226224515.html<issue_closed>
Status: Issue closed |
mkommar/brightlight | 209328122 | Title: H.J.Res. 41 - Providing for congressional disapproval under chapter 8 of title 5 United States Code of a rule submitted by the Securities and Exchange Commission relating to "Disclosure of Payments by Resource Extraction Issuers".
Question:
username_0: The President signed H.J.Res. 41 into law on February 14th, 2017<br><br><i><b>H.J.Res. 41</b> - Providing for congressional disapproval under chapter 8 of title 5, United States Code, of a rule submitted by the Securities and Exchange Commission relating to "Disclosure of Payments by Resource Extraction Issuers".</i><br><br><b>Sponsor</b><br>
Rep. <NAME><br><br>
via Sunlight Foundation http://ift.tt/2kXMoYB |
kartoza/docker-mezzanine | 269938464 | Title: Client Logos Update
Question:
username_0: _From @cchristelis on September 27, 2017 12:37_
# Problem
Our client logos aren't up to date.
# Proposed Solution
Please add the logos.
_Copied from original issue: kartoza/kartoza#442_
Answers:
username_0: _From @username_1 on September 27, 2017 14:53_
which logos specifically, and where do they need to be updated (path, web page)?
username_0: Petra found out from Christian that our client's logos are not updated on our website.
username_0: _From @username_1 on October 15, 2017 12:26_
Can you do this @username_0?
username_0: The following list of clients are not represented on our website:
AgriTechnovation
Asem Running
Cadasta
Cyanolakes
HOT
MySmartFarm
SwiftGeospatial
SpatialMatrix
GCXWater
ITHACA
African Urban Solutions foundation
ExperiCo
University of Denmark
University of Venda (Department of Zoology)
UWC Institute for Post-School Studies (IPSS)
May I add all these to the website?
username_1: This is the list:
DFAT
World Bank
AgriTechnovation
iMMAP
SANSA
Humanitarian OpenStreetMap Team (HOT)
Tracks4Africa
Cyanolakes
CSIR
UWC Institute for Post-School Studies (IPSS)
MySmartFarm
Kirchhoff Surveyors
i@ Consulting
RHDHV
ITHACA
Further Education and Training (FET) Institute
University of Venda
TPA consulting
1Map
Terrestris
QGIS.ORG
Saab Grintek Defence
Cross Cultural Consulting Services
GIS solutions
Metaspatial
University of Fort Hare
Violence Prevention Through Urban Upgrading
Webtide
Freshwater Resource Centre
SpatialMatrix
NGI
Overberg FPA
University of Denmark
University of Pretoria CE
Cape Town Marathon
AfriGIS
SwiftUASGeospatial
Skybird
Groundtruth
BMI Tech Knowledge
Leo Consult
FNB
username_0: @username_1 Can I start collecting the above-mentioned client logos to add to our website?
username_1: yes, no need to ask.
Just ensure they are sufficient size and resolution.
Status: Issue closed
username_1: looking fairly good so far but quite a few are missing and they are not a consistent size. For the very small ones maybe you need to clip away some white border.
Also in general you should ask the person who created an issue to review it and let them close it.
username_1: _From @cchristelis on September 27, 2017 12:37_
# Problem
Our client logos aren't up to date.
# Proposed Solution
Please add the logos.
_Copied from original issue: kartoza/kartoza#442_
username_1: also if you can, order the images according to my list.
username_0: Will do so
username_1: This issue was moved to kartoza/kartoza.com#6
Status: Issue closed
|
zendesk/volunteer_portal | 321831268 | Title: Expand documentation and base readme
Question:
username_0: Here's what I know needs doing.
Write up the About section
Move most of the existing root README documentation into a new developer doc
Finish the Redeploy section in DEPLOY
Link to all documentation in root README
Status: Issue closed
Answers:
username_1: I've moved the two items that are still relevant to new, independent issues. Closing this one! |
twolfson/canvas-to-pixels | 241465939 | Title: Getting errors while installing canvas-to-pixels
Question:
username_0: Installed these dependencies
`sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++`
Also, installed [email protected]
Still getting errors
Before this, a long list of errors,
but last ones are these
```
make: Leaving directory `/home/utkarsh/nodecanvas/node_modules/canvas-to-pixels/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-59-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/utkarsh/nodecanvas/node_modules/canvas-to-pixels/node_modules/canvas
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
```
Status: Issue closed
Answers:
username_1: Since both `1.1.6` and `1.6.5` fail on your machine, it's likely missing a dependency. Can you try cloning their repo, set it up, and see where the failures occur?
https://github.com/Automattic/node-canvas/tree/v1.x#testing |
code4lib/2018.code4lib.org | 293522039 | Title: Fix workshop times
Question:
username_0: I was just looking at the workshop schedule and noticed they all say 9:30 - 5:30.
Answers:
username_1: on it, that's probably something i did
username_2: Ben from the Pre-conference group here to piggyback on this.
We spoke with reps from the two all-day workshops yesterday, and they would like to stay 9a - 5p:
- IIIF Hands-on Technical Workshop
- Learn Tech to Teach Tech
Status: Issue closed
|
openregister/registers-frontend | 327641775 | Title: Remove requirement for email address
Question:
username_0: As a user, I don't want to give you my email address in order to access Open Data.
### What did you do? (steps to reproduce)
I disagreed with the privacy policy, so I registered with a fake email address <EMAIL>`
I also lied about not working for Government.
### What happened? (actual results)
I received an API key. You sent email to someone who doesn't exist. Or to someone I wanted to annoy.
### What should have happened? (expected results)
Make the email address optional. Clearly state that it is only needed if the user wants to be contacted for demographic research or updates.
Answers:
username_0: Being dealt with in #327
Status: Issue closed
username_1: I'm closing this issue because an email address is no longer required when accessing the API or downloading; and you can now [sign up for updates](https://www.registers.service.gov.uk/sign-up-for-updates) - which is the best way to get the latest GOV.UK Registers news... 💌 |
synthetichealth/synthea | 999358748 | Title: How to make every patient go through module?
Question:
username_0: Hi everyone!
The issue I am having seems regardless of module, but if I run the covid model for example:
```
./run_synthea -m covid19 -p 100 --exporter.years_of_history 0
```
I get patients that do not seem to have gone through the model. Is it possible to make every patient go through the model?
I ask because I wrote my own custom model, and when I generate patients using it, it also generates patients with no Observations. From the diagram below, I was expecting to see `Weight` and `Height` Observations for all generated patients, but that isn't happening. What am I doing wrong, or is this working as intended?

Answers:
username_1: I would refer you to this wiki page: https://github.com/synthetichealth/synthea/wiki/The--M-Feature
Basically, please do not use the M Feature. We do not support troubleshooting the M Feature. Every day that goes by I am increasingly tempted to remove it from the code.
username_1: Also, for missing Observations, please see `exporter.years_of_history` under https://github.com/synthetichealth/synthea/wiki/Common-Configuration#other-export-settings
If you are using the default value, anything older than 10 years is removed from the patient record. This may or may not be a culprit of your missing data (it could be that you are using the M Feature).
username_0: Ah, I think the link you sent explains it. I _do_ want to restrict generation so only the module I wrote is the one that is used, but it seems like that is not a supported feature right?
Regarding history, I do set the flag ` --exporter.years_of_history 0` in my runs.
username_1: It is not a _supported_ feature.
"Supported" being the key word.
It is a feature, it is just that when you do that, it isn't going to behave the way you think it should.
For example, if no other modules run, where does the patient weight and height come from? Where do the patient vital signs come from? Nowhere, because they don't exist any longer. |
xamarin/XamarinCommunityToolkit | 783056020 | Title: [Bug] {xct:Translate String} works only for currently open pages
Question:
username_0: ### Description
If user changes language with `LocalizationResourceManager.Current.SetCulture()`, all strings localized with `{xct:Translate String}` on **currency open** pages get updated to new language, but if user opens new page it will be localized with old language.
### Steps to Reproduce
1. Open some page (page has language A)
2. Change culture to language B with `LocalizationResourceManager.Current.SetCulture()`
3. Open new page with some string localized with `{xct:Translate String}`
4. New page will be localized with language A instead of B
### Expected Behavior
Newly opened pages respect current language
### Actual Behavior
Newly opened pages localized using language app was opened with
### Basic Information
- Version with issue: 1.0.0
- Last known good version:
- IDE:
- Platform Target Frameworks: <!-- All that apply -->
- iOS: <!-- The version of the iOS SDK you are compiling against, e.g. 11.1 -->
- Android: 10
- UWP: <!-- The version of the UWP SDK you are compiling against, e.g. 16299 -->
- Android Support Library Version: <!-- if applicable -->
- Nuget Packages:
- Affected Devices:
### Workaround
Manually localize all strings from the code
### Reproduction imagery
<!-- If it is a visual issue, please include imagery (GIF/Screenshots) showing the problem -->
### Reproduction Link
<!-- Please upload or provide a link to a reproduction case -->
Answers:
username_1: I have seen this behavior in my own app too and have been working on a fix there. I will have to look at how I can implement this the easiest within the current XCT API without breaking it.
username_0: I thinks I found the cause for this issue. `Thread.CurrentThread.CurrenUICulture` is not persisted between pages. To fix it just for your app, you can store culture yourself and set `Thread.CurrentThread.CurrenUICulture` manually in constructor for each page.
I think it should work
Status: Issue closed
|
sahana/SAMBRO | 175410789 | Title: Resouce block incomplete
Question:
username_0: At present the resource block only allows for uploading images. See the CAP V1.2 specifications. It should allow for uploading any document, provide a URL to other resources that can be retrieved over the web and several other elements that are missing.
Answers:
username_0: All resources (documents, URLs) should be included in the Email when possible. The Subscriber should have the option of selecting whether or not they want to receive the resource files.
One issue is if the resource file is too large then that may slow down the dissemination process with attaching each of the resources. You may have to do a performance computation to see when the file size increases how it slows down the process. Thereafter, we can set a constraint to limit the Resource file size and only those files that are below the constraint would be included in the Email as an attachment.
username_1: I do not see an issue with the speed of dissemination if we are not talking about >>1000 recipients. Most of the time of email delivery is lost on DNS and SMTP connections, not I/O.
However, the size of the outgoing message must be monitored to not exceed a certain size, as incoming mail servers might have quite variable restrictions about acceptable mail sizes (usually, 10MB, but could be much less, nobody knows).
Another, safe option would be to reference to resources inline instead of attaching them, such that they will be fetched later when the email is read (which of course would require an active network connection at this point).
username_0: That was our conclusion to provide the resource in-line for them to fetch it over an active network.
Only the CAP.XML file would be provided in the email attachment. All other resources will simply carry the link in the body.
Status: Issue closed
username_2: #39
username_0: At present the resource block only allows for uploading images. See the CAP V1.2 specifications. It should allow for uploading any document, provide a URL to other resources that can be retrieved over the web and several other elements that are missing.
username_0: Reminder , you need to add the URL to the Blueprint and Userguide that discusses this feature
Status: Issue closed
|
ValveSoftware/steam-for-linux | 9718576 | Title: Superbrothers Sword & Sworcery segfaults at start
Question:
username_0: On Fedora 18 (64 Bit with 32 Bit libs, all other Steam games work), Superbrothers: Sword & Sworcery EP segfaults at startup:
Game update: AppID 204060 "Superbrothers: Sword & Sworcery EP", ProcID 2811, IP 0.0.0.0:0
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Setting breakpad minidump AppID = 204060
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198024959991 [API loaded no]
/run/media/mimox/usb3/steam/Steam/SteamApps/common/Superbrothers Sword & Sworcery EP/run.sh: line 17: 2814 Segmentation fault ./swordandsworcery_pc
Game removed: AppID 204060 "Superbrothers: Sword & Sworcery EP", ProcID 2814
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Answers:
username_1: I solved this issue for myself (on arch (really manjaro)) by copying the files from the humble bundle tar.gz into the steam install directory. https://github.com/ValveSoftware/steam-for-linux/issues/439#issuecomment-11862232 |
angular/angular | 485586246 | Title: Print styles using media queries don't apply
Question:
username_0: I am trying to create a printable document using CSS in my angular project. For my print document that runs into multiple pages I need automatically to avoid printing the date and title in the header. At the same time I want to make sure that the document is printed with some margins. To achieve this I am using the approach suggested in [this answer](https://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print/15150779#15150779) on SO. However I am not able to get the styling to apply.
My CSS Code looks like this
```
@media print {
@page {
size: auto;
margin: 0;
}
body {
margin: 2cm !important;
}
}
```
I have looked at [this similar issue](https://github.com/angular/angular/issues/26269) - however it states that by pasting the code in the `styles.scss` file the styling applied. I have tried pasting this code in both the `app.component.scss` file as well as the `styles.scss` file. Both approaches don't seem to work.
I have created a simple [github repo](https://github.com/username_0/angular-print) to demo this issue. |
rancher/rancher | 146771216 | Title: Service containers created through Kubernete's catalog and failing, are not removed
Question:
username_0: Version - v1.0.1-rc1
Steps to Reproduce:
1. Create a kubernetes environment
2. Add three hosts
3. Go to Catalog and add WordPress
4. Go to hosts
Results: Notice that the wordpress service has three containers. 2 stopped and 1 active. The 2 stopped containers actually failed because the sql container wasn't ready yet. But instead of failing, removing, then recreating. It's failing, stopping, then recreating until one runs.

Error from containers:
4/7/2016 4:04:40 PMWarning: mysqli::mysqli(): MySQL server has gone away in - on line 10
4/7/2016 4:04:40 PM
4/7/2016 4:04:40 PMWarning: mysqli::mysqli(): Error while reading greeting packet. PID=165 in - on line 10
4/7/2016 4:04:40 PM
4/7/2016 4:04:40 PMWarning: mysqli::mysqli(): (HY000/2006): MySQL server has gone away in - on line 10
4/7/2016 4:04:40 PM
4/7/2016 4:04:40 PMMySQL Connection Error: (2006) MySQL server has gone away
Expected: Should removed failed containers.
Comment: I'm not sure if this a bug in the catalog, kubernetes or if it's the way the catalog is actually setup.
Answers:
username_1: @username_0 stop->recreate instead of remove->recreate is default kubernetes behavior. Please refer to for more info: https://github.com/rancher/rancher/issues/4351
Status: Issue closed
|
erikrose/parsimonious | 1186017099 | Title: AND/OR precedence is reversed compared to the original paper
Question:
username_0: Parsimonious reverses the precedence of AND/OR compared to the original paper and other PEG libs
* [erik mentioning operator precedence reversal on this other issue](https://github.com/erikrose/parsimonious/issues/166#issuecomment-682271152) (I cannot find an original issue for it)
* [erik's WIP branch trying to fix precedence](https://github.com/erikrose/parsimonious/tree/lower-precedence-ors)
https://github.com/erikrose/parsimonious/issues/191#issuecomment-1082716721
Answers:
username_1: Now that python 2 support has been dropped 🙌 , I'm personally more interested in working on allowing parsing of `bytes` objects. However, I'd be very interested in helping to review / test changes to syntax or precedence. I'm very glad that this library is getting more development velocity now that you have commit access!
username_0: Cool, thanks! |
beyaznet/python-taliabeeio-module | 602235837 | Title: TaliBee RPi4 Buster'da Çalışmıyor
Question:
username_0: TaliaBee kurdum. IO Modülünü kurdum. Programa sadece io.reset() komutunu yazdım ve çalıştırınca aşağıdaki hatayı aldım... Sorun ne olabilir? Yardım lütfen???
---------------------
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /api/reset (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb580e510>: Failed to establish a new connection: [Errno 111] Connection refused')) |
tendermint/tendermint | 398082029 | Title: privval: consolidate IPCVal and TCPVal
Question:
username_0: There's a lot of seemingly unnecessary redundancy between the IPCVal and TCPVal. The only differences are:
- TCPVal uses SecretConnection while IPCVal uses an unencrypted net.Conn (but should use at least a MAC, #3099)
- TCPVal listens for connections from the KMS, while IPCVal dials the KMS
While the former difference is justified (#2563), the latter seems not. Why not combine these into a single SocketValidator implementation that can handle both unix or tcp sockets, by just looking at the address? The tcp sockets can use a SecretConnection while the unix sockets use the raw unencrypted socket (and later say a MACConnection). In both cases, Tendermint should listen for an incoming connection from the KMS. That way the KMS process never has to bind, but just dials, and we can deduplicate all this code.
Of course in both cases we still need to authenticate (#2549).
@slamper/@liamsi/@username_1/@amrali is there some reason IPCVal shouldn't have the same behaviour as TCPVal w.r.t to listening for incoming connections from a KMS?
Answers:
username_1: Having them work consistently makes sense to me.
username_0: In reviewing and working on #2923, it makes sense to address this as part of that so we don't need to implement and test the recover mechanism twice.
The consolidated TCP/IPCVal should be called SocketVal. It should take a `net.Listener` in its constructor. All differences between TCP and Unix should be dealt with in the net.Listener. We can leave it to the user of the package to first set up the appropriate listener (eg. tcp with a priv key, or unix with a shared MAC key), then call NewSocketVal with it.
With this design, all the Option functions can be collapsed into the now public constructors for the listeners. Note this would resolve https://github.com/tendermint/tendermint/pull/2568/commits/03c1fd712a7564c618abc976d66b6fd8cdb3bf63#r223287299
Status: Issue closed
|
jaydpather/CommonGameLogic | 612425999 | Title: set Quantity on ProductInfos
Question:
username_0: - [ ] create new private method in StoreLogicService: SetProductQuantity
- [ ] use `Constants.ProductNames` to determine which ProductInfo is small/medium/large. (compare to ProductInfo.ProductId)
- [ ] use `Constants.LivesPerProduct` to know how many lives are in small/medium/large.
- use a switch statement. add a default case that throws an exception. (if more products are added in future, then we'll discover unhandled cases in testing). |
ant-design/ant-design | 711701202 | Title: Notification能否支持在顶部中间提示,像Message一样,还有就是能否提供不同级别如warn,info它们的背景颜色像Alert一样
Question:
username_0: - [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.
### What problem does this feature solve?
四个边角提示不太明显,中上即明显也不容易遮挡当前功能,不用message是因为message太小而且不支持手动关闭;然后Notification貌似目前的背景颜色都是白色的,不像alert一样error就是红色的背景,info是蓝色背景。
### What does the proposed API look like?
除了left,right,top,bottom增加top-middle,然后增加背景属性如bg-level是error则是红色背景。
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Answers:
username_1: 感觉可以通过 `className` `style` 自定义实现了
username_2: Notification 设计上就需要在边角,请使用 message。另外 message 支持手动关闭。
Status: Issue closed
|
microshow/RxFFmpeg | 604599845 | Title: Android视频裁剪,ios端看到的视频开头会黑屏
Question:
username_0: ffmpeg -ss 10 -t 15 -accurate_seek -i test.mp4 -codec copy -avoid_negative_ts 1 cut.mp4
Answers:
username_1: 所有视频,还是部分视频出现
username_0: 假设一个视频一分钟,我按15S去切割,分四段,第一段不会,其他三段都会出现黑屏,要么开头,要么尾巴
username_1: ffmpeg -ss 10 -t 15 -i test.mp4 -codec copy cut.mp4
username_0: 这种命令前面开头正常了,但是裁剪出来的精度不行,并且视频的后面更容易出现黑屏
username_0: 大神,有没有其他的命令用来截取视频。 我第一条的命令,在Android系统,包括window系统的视频软件是正常的(包括用剪映软件去查看帧,也是正常的),但是在ios系统 都会出现黑屏的现象。
username_1: 最好用ios的各种播放器去试,看是不是都会出现黑屏,还是个别播放器出现……
username_1: 精度的话 ffmpeg -ss 10.236 -t 15.135 -i test.mp4 -codec copy cut.mp4
这些都支持小数的 |
citusdata/packaging | 841609007 | Title: Copyright warnings on packagecloud packaging process
Question:
username_0: There are "copyright-without-copyright-notice warning" logs in debian based systems. The root cause of the problem is there is no description of copyright file below
https://github.com/citusdata/packaging/blob/all-pgautofailover/debian/copyright
copyright information should be added to fix this warning<issue_closed>
Status: Issue closed |
IFRCGo/go-frontend | 1114892837 | Title: Surge Catalogue of Services updates:
Question:
username_0: ## Surge Catalogue of Services updates:
At this link, in the additional resources section (at the bottom of the page)
https://dsgoproxyapp.azurewebsites.net/deployments/catalogue/health/eru-red-cross-red-crescent-emergency-hospital
Please include these two links-
Norwegian Red Cross Emergency Hospital Handbook
Norwegian Red Cross Emergency Hospital film
---------------------------------------------------------------------------------------------------------
At this link, in the additional resources section (at the bottom of the page)
https://dsgoproxyapp.azurewebsites.net/deployments/catalogue/water/water-supply-rehabilitation-wsr
Please include this link (text is already there).
Water Supply Rehabilitation ERU Handbook
-------------------------------------------------------------------------------------------------------
At this link, in the additional resources section (at the bottom of the page)
https://dsgoproxyapp.azurewebsites.net/deployments/catalogue/health/community-based-surveillance-cbs
Please include this link
Public Health ERU Community Base Surveillance Handbook
Answers:
username_1: Can be tested on staging.



If you need other segmentation (between normal text and URL), let me know.
Status: Issue closed
|
lineuman/mainpage | 232908055 | Title: bootstrap图片类的使用
Question:
username_0: https://jsfiddle.net/
Answers:
username_0: https://jsfiddle.net/
username_0: http://lotabout.me/2016/CSS-vertical-center/
username_0: https://bootstrap-themes.github.io/application/profile/index.html#
我需要这样的功能
username_0: https://pymotw.com/2/index.html
username_0: http://masnun.com/author/masnun个人 |
HannahVMeyer/PhenotypeSimulator | 752249028 | Title: questions abot how to simulate markers effects and phenotype
Question:
username_0: Hi
I am trying to use your package to simulate phenotype and true breeding value from markers effects for one trait in dairy cow. what I want to to is that first simulate the marker effects and add some noise on it then simulate the phenotype in Rstudio(3.6.3)
I have ped and map and bim file from plink and genomic relationship of individuals. I read the manual but still quite confused with some parts.
(1) which genetic effects function should I use in my case
geneticBgEffects Simulate infinitesimal genetic effects (reflecting sample kinship).
or geneticFixedEffects Simulate genetic variant effects ?
(2) if I understood right before using genetic function I have to get casual snps.
in the getCausalSNPs command
getCausalSNPs(N, NrCausalSNPs = 20, genotypes = NULL, chr = NULL,
NrSNPsOnChromosome = NULL, NrChrCausal = NULL,
genoFilePrefix = NULL, genoFileSuffix = NULL, format = "delim",
delimiter = ",", header = FALSE, skipFields = NULL,
probabilities = FALSE, sampleID = "ID_", verbose = TRUE)
will genotype be the ped file in my case?
also my ped file is not in matrix format, I tried to convert into matrix using read.pedfile function but R fails to convert it , may be bacaise of size of the file. do know other way to do it?
I did to understand (genoFilePrefix), (genoFileSuffix) in the command, what are these file ? should I create these file ?
(3) it would be helpful you can outline the process for me. many many thanks
Answers:
username_1: thanks for your interest in `PhenotypeSimulator`.
1) Do you want individual SNP effects, ie where you will be able to estimate the effect for each variant individually or do you want to simulate only overall genetic effects based on kinship? This does not become clear to me from your question, but given that you have the genomic relationship (Kinship matrix?) you seem to at least wanting to include the latter.
2) You can run all of the simulation steps individually, ie get the causal SNPs, simulate the genetic effects etc, or you can use `runSimulation` (the main function of the package) to take care of that. Both the step-by-step methods and using `runSimulation` can be found in this [vignette](https://hannahvmeyer.github.io/PhenotypeSimulator/articles/PhenotypeSimulator.html).
I would recommend using [PLINK](https://www.cog-genomics.org/plink2) for converting your files into plink binary format ie from ped and map, to bed and fam; specifically, have look at the section Plink text in this [link](https://www.cog-genomics.org/plink/1.9/input#bed)
username_0: really appreciate your fast reply,
1,
actually, I do not understand the difference between individual snp effects and overall genetic effects,
I want to use this formula to estimate the true breeding value, in this case which genetic effects function will be used ?
because I also want to predict the genomic estimated breeding value after simulate the phenotype and estimate the correlation between true breeding value and genomic estimated breeding value.
`

`
username_0: 
username_1: I would recommend reading the accompanying paper, which describes the different effect components:
Meyer, HV & <NAME> (2018) [PhenotypeSimulator: A comprehensive
framework for simulating multi-trait, multi-locus genotype to phenotype
relationships](https://doi.org/10.1093/bioinformatics/bty197),
*Bioinformatics*, 34(17):2951–2956
username_0: thank you
Status: Issue closed
|
rodomvp/KennelApp | 150755017 | Title: Deleting a checked in patient
Question:
username_0: When you delete a checked in patient, errors pop up in the ward view and runn show for that patient.
I suspect it has to do with the `occupied?` variable not being reset when a stay is destroyed.
Answers:
username_1: NB to whoever deals with this... 42a4a4e78526d79d0c7c7e5d1c32d414cc4e7b42
username_0: This is the error I'm getting

Status: Issue closed
|
kaaholst/android-squeezer | 797752629 | Title: Can't search with Qobuz and Deezer!
Question:
username_0: Hello!
I have found your app and it is great but i have an issue.
OS: Lollipop latest.
Unfortunatley it isn't possible to search in Qobuz nor in Deezer.
Maybee it can be fixed in the next release.
thanks a lot
anatolli
Original issue reported on github.com/nikclayton/android-squeezer by anatolli on 2015-10-21T18:06:38Z
Answers:
username_0: https://github.com/nikclayton/android-squeezer/wiki/Apps-support-in-Squeezer
Original issue reported on github.com/nikclayton/android-squeezer by username_0 on 2015-12-30T22:59:33Z
username_0: I've just released this in the first beta of 1.5.0. You can sign up to receive the beta versions at https://github.com/nikclayton/android-squeezer/wiki/Beta-testing.
Original issue reported on github.com/nikclayton/android-squeezer by nikclayton on 2017-03-18T16:56:17Z
username_0: I had the same problem. And its solved yet.
Wonderful! Thank you very much!
Original issue reported on github.com/nikclayton/android-squeezer by ankumm on 2017-03-19T15:26:52Z
username_0: 1.5.0 is released, which should fix this, so closing this issue. If you still see a problem, please re-open it.
Original issue reported on github.com/nikclayton/android-squeezer by nikclayton on 2017-04-01T16:32:31Z
Status: Issue closed
|
TechReborn/RebornStorage | 238325267 | Title: Multi block crafter recipes not recognized
Question:
username_0: Using Direwolf20 pack version 1.12.1 and added RebornStorage.
Patterns/Recipes placed in the multi block crafter (min size 3 high, 2x2 with 1 cpu and 1 storage) do not show up in the refined storage system after starting a single player world. Currently I can only fix the issue by breaking and replacing the RS controller block. Issue re-occurs every time the world is shut down and loaded later.
Status: Issue closed
Answers:
username_1: All development has moved to 1.12, it should fix now. |
nss-day-cohort-46/How-to-Ask-for-Help | 831172334 | Title: [QUICK ISSUE] Capstone ERD question (Not sure if this is the right place for it)
Question:
username_0: Not sure where I should post this question about my capstone? This is a general one. I feel like I'm building my ERD for what my app could be rather than what realistically it should be. Specifically, I'm adding a step that creates a new join table (and adds complexity) that in a the real world would make sense, but for the sake of building an app that demonstrates my learning to this point seems like too much. Do I pull it back? - Blu
#### REQUIRED Check all that apply:
- [ ] Rubber Ducking
- [x] Direction/Guidance
- [ ] Check In (Pep talk, vent session, etc.)
#### Code Snippet
```
PASTE YOUR CODE HERE BETWEEN THE BACKTICKS
```
Answers:
username_0: After typing this out I think I'm going to pull it back but would appreciate comments so I will leave open for now.
username_1: @username_0 @ajawashington will review this with you in your 1:1. I would think about what you want your app to do and build an ERD for it. If it needs to be revised for any reason, we will help you with that. Your final proposal is still a proposal and first draft of your plan. If you want to link to your current ERD in your proposal or post a link to it here, I am happy to take a quick look. Otherwise, I suggest building the ERD as you think it should be built and have questions ready for your mentor. Remember, we will be meeting with people on a 'first come, first serve' basis. Completing the proposal gets the planning conversation started sooner :)
username_0: https://dbdiagram.io/d/602e99d480d742080a3b1922
Thank you. I'm building a Per Diem app for a music tour. That's the goal. Literally a dollar amount and a bill breakdown. In the real world a crew member can be on multiple tours for multiple artists in any given year. Then they will be on multiple "runs" (a weekend of shows for example) on those tours. Adding the ability to be on multiple tours is correct in my real world brain, but doesn't really serve the app ultimately and makes it unnecessarily complicated. I'm realizing this as I respond and think through it.
I'll add the other join table in the ERD and discuss why it makes sense but doesn't make practical sense for the app with Aja in the 1 on 1.
Status: Issue closed
username_1: Yeah. Looking at your ERD as it is, I think you have hit the nail on the head. That is something you can add as stretch. |
typicalbot/typicalbot | 644856182 | Title: Custom Questionares
Question:
username_0: ## Enhancement Suggestion
Feedback for servers or game developers or anything you want.
### Description
<!-- Describe the enhancement in as much detail as possible. -->

### Usefulness
<!-- Explain why this enhancement would be useful to most TypicalBot users. -->
Instead of specific for feedback like ideas/bugs if this was made customizable to be able to have Questions set up and have them sent to a channel this could be pretty useful for something like surveys, mod applications, etc...
### Have You...?
- [ ] I have checked previous issues to see if my enhancement or feature has already been suggested.
- [ ] I have checked previous issues and pull requests to see if my enhancement or feature has already been completed for an upcoming release. |
saltstack/salt | 656129554 | Title: [DOCS] customization_spec is missing from the VMware cloud docs
Question:
username_0: **Description**
Docs here:
https://docs.saltstack.com/en/master/topics/cloud/vmware.html
talks about enabling customization, but don't document the `customization_spec` parameter that points to how to customize the instance.
https://github.com/saltstack/salt/blob/master/salt/cloud/clouds/vmware.py#L2805
Answers:
username_1: The documentation generated for `salt.cloud.clouds.vmware` and the `create()` function:
- https://docs.saltstack.com/en/master/ref/clouds/all/salt.cloud.clouds.vmware.html#salt.cloud.clouds.vmware.create
Which only includes a link to the profile config here:
- https://docs.saltstack.com/en/master/topics/cloud/vmware.html#profiles
But `customization_spec` is ultimately called from here:
- https://github.com/saltstack/salt/blob/master/salt/utils/vmware.py#L354
It looks like it is using the following:
- https://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.CustomizationSpecManager.html
With more information about vmware custom specifications here:
- https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-EB5F090E-723C-4470-B640-50B35D1EC016.html
This needs an SME, as I don't know what needs to be present in the `customization_spec` definition in the following locations:
- https://github.com/saltstack/salt/blob/master/doc/topics/cloud/vmware.rst
- Potentially elsewhere in docstrings in the other above links
username_2: @username_0 maybe the Cloud Working Group can help here and we can collaborate between the WGs - Docs and Cloud :)
username_0: yeah... I mostly put this issue in to remind myself to eventually get around to it (unless someone steals it from me)
username_2: Great! We do have some tech writers on staff with SaltStack, but they are a small group and split between many teams, so great reason to collaborate here!
username_3: I ran into the same issue today and was testing customization_spec setting.
A positive side effect of being able to select a customization spec, is that the instance will have its hostname set properly, matching the minion id (if your spec is set to use the virtual machine name for Computer name)
So no need to run a task (most customers use a state during start up) to set hostname on post deployment. |
ruflin/Elastica | 21820042 | Title: Logging implementation problems
Question:
username_0: There are several problems:
1. Client should implement https://github.com/php-fig/log/blob/master/Psr/Log/LoggerAwareInterface.php since it has a setLogger method. I know this would make Psr/Log a required dependency. But that is what it is for. The current fallback logging mechanism is somewhat hacky.
2. https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Log.php is not really needed IMO. Also it uses `error_log` even for debug messages which is not appropriate I guess. Why not use Monolog?
3. Throwing an exception in https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Client.php#L610 is not really useful.
4. The logging message https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Client.php#L620 "logging Request" is bad. And the additional information should be the actual query that was sent to elastic search like `http://localhost:9200/_bulk (PUT) { json data}`, instead of splitting it in "data", "path", "connection". This way one could easily reproduce the query in ES.
5. Elastica logs in the "info" level for requests logs. Should be "debug". This would also be consistent with doctrine for example.
Answers:
username_0: All these problems have been fixed in #1069. and I've opened #1661 to remove the outdated code. |
mapbox/underreact | 458326334 | Title: Flow error in node_modules
Question:
username_0: | ^
11 | import type { Expression } from '../expression';
12 | import type ParsingContext from '../parsing_context';
13 | import type EvaluationContext from '../evaluation_context';
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
Answers:
username_0: Seems that we set `configFile: false` to disable babel to read external `babel.config.js`
https://github.com/mapbox/underreact/blob/master/lib/webpack-config/babel-loader-config.js#L101
username_1: @username_0 it is intentional not to compile non-standard Javascript (flow) in the node_modules. To get around this problem, you will have to manually compile `mapbox-gl-style-spec` like this:
```js
// underreact.config.js
const path = require('path');
module.exports = {
webpackConfigTransform: config => {
injectGlStyleSpecLoader(config);
return config;
}
};
function injectGlStyleSpecLoader(webpackConfig) {
const rulesOneOf = webpackConfig.module.rules.find(obj => obj.oneOf).oneOf;
// The first loader is the regular javascript loader
const myLoader = Object.assign({}, rulesOneOf[0], {
exclude: undefined,
include: new RegExp(
'^' +
path.resolve(
__dirname,
'node_modules/@mapbox/mapbox-gl-style-spec/(?!dist)'
)
)
});
rulesOneOf.unshift(myLoader);
}
```
username_0: @username_1 Do you mean **standard** Javascript is the code that conform `@mapbox/babel-preset-mapbox`? I think the standard one is just use default babel setting, no other preset.
I think when users specify `compileNodeModules: []` option, they definitely want to compile there modules by their project wide babel config. Don't you think your solution to compile mapbox-gl-style-spec is not elegant? |
dotnet/docs | 450851565 | Title: Misleading default configuration value
Question:
username_0: This page indicates that the default configuration value is "Debug", but I removed the Debug configuration from my solution & all projects and my build server happily built using my new "Development" configuration after a simple "dotnet build [solution]". Perhaps that note should instead indicate that dotnet will go with the first config it finds in the solution?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 910cd365-d63a-00dc-417c-db017f83bf6f
* Version Independent ID: 5e495ddd-140e-de5c-a793-d4a9f88be51e
* Content: [dotnet build command - .NET Core CLI](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build#feedback)
* Content Source: [docs/core/tools/dotnet-build.md](https://github.com/dotnet/docs/blob/master/docs/core/tools/dotnet-build.md)
* Product: **dotnet-core**
* Technology: **dotnet-cli**
* GitHub Login: @username_3
* Microsoft Alias: **username_3**
Answers:
username_1: Thank you for opening this issue. I'll add it to the backlog. This does sound like the "default" in this case means when the setting is omitted from the command line, and there is no config defined in the project.
@username_2 Please confirm.
Thanks again!
username_2: @livarcocc @username_4
username_3: @livarcocc @username_4 can you comment on this issue?
username_4: The default configuration is defined by MSBuild and the .NET Core SDK. If not specified elsewhere it will be Debug. However, it is possible to override the default in custom MSBuild logic for your project. So if you don't specify the configuration on the command line it will use whatever the default configuration for your project is, which will typically, but not always, be Debug.
username_1: Just to clarify, the searching for the configuration is:
1. Check command line for parameters
2. Check the project for a configuration value, choose the first.
3. Use the MSBuild/Core SDK default, which is `Debug`
Status: Issue closed
|
caranatar/tracery-rs | 683291883 | Title: Implement rule stacks
Question:
username_0: Currently, overriding an existing rule in an action is inconsistent and irreversible due to a lack of support for proper rule stacks.
- [ ] Keys should map to a `Vec<Vec<Rule>>`, instead of mapping to a `Vec<Rule>`
- [ ] The overrides parameter of `Flatten` needs to be removed, as it becomes unneccessary
- [ ] Support for popping a key using `[key:POP]` needs to be added
Answers:
username_0: Closed by d20ae97
Status: Issue closed
|
qpdb/mentat | 674461194 | Title: arm64 Android build target failing
Question:
username_0: Running `cargo build -p mentat_ffi --target aarch64-linux-android --release` returns an error
```
Compiling tokio-threadpool v0.1.4
error[E0308]: mismatched types
--> /Users/emilytoop/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.6.14/src/sys/unix/uds.rs:144:33
|
144 | len_i32))?;
| ^^^^^^^ expected u32, found i32
'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
Compiling mentat v0.7.0 (file:///Users/emilytoop/Development/mentat)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `mio`.
warning: build failed, waiting for other jobs to finish...
error: build failed
```
It looks like a dependecy we have does not support `arm64` |
rbracco/covidcompare | 589792763 | Title: Refactor sidebar.js to a better design
Question:
username_0: Sidebar.js is currently poorly written with side effects and hacky code. It needs to be refactored to make building on top of it more stable. Some known issues:
-The select dropdown for which metric to show is regenerated each time the data is updated, and there is a lot of hacky code to maintain state. It should just be permanent and go in it's own DOM element.
-The current design only allows for grabbing data that is in the top level of the "properties" attribute of the geoJSON, but we are now aggregating so much data that it should be refactored so that we can have a properly nested data structure. |
gbv/cocoda | 344406565 | Title: Add support for fetching multiple concepts from API simultaneously
Question:
username_0: [DANTE](http://api.dante.gbv.de/) now supports fetching data for multiple concepts simultaneously by concatenating them with a `|`. In combination with `&properties=narrower`, we could speed up selecting concepts when their ancestors are not yet loaded. Requires https://github.com/gbv/jskos-server/issues/19 to be implemented (or having a way to know which providers support this feature and which don't).
Answers:
username_0: https://github.com/gbv/jskos-server/issues/19 is already implemented, so this could be implemented in Cocoda anytime.
username_0: Add functionality in ConceptApi and use it when loading labels in MappingBrowser.
Status: Issue closed
|
prometheus/prometheus | 186469614 | Title: query range when starttime is after endtime, prometheus panic
Question:
username_0: * Prometheus version:
root@ubuntu192:~/prometheus-1.2.1.linux-amd64# ./prometheus -version
prometheus, version 1.2.1 (branch: master, revision: dd66f2e94b2b662804b9aa1b6a50587b990ba8b7)
build user: root@fd9b0daff6bd
build date: 20161010-15:58:23
go version: go1.7.1
* Logs:
```
ERRO[0016] http: panic serving 192.168.4.11:38848: runtime error: index out of range
goroutine 212 [running]:
net/http.(*conn).serve.func1(0xc4228cc000)
/usr/local/go/src/net/http/server.go:1491 +0x12a
panic(0xc4d0e0, 0xc4200140f0)
/usr/local/go/src/runtime/panic.go:458 +0x243
github.com/prometheus/prometheus/storage/local.(*memorySeries).preloadChunks(0xc42194ed90, 0x126d520, 0x0, 0x0, 0x75083af7d7d5c73d, 0xc420226500, 0xc41fe921e8, 0x0, 0x1581dc41b84, 0xc41fe921e9)
/go/src/github.com/prometheus/prometheus/storage/local/series.go:377 +0x84c
github.com/prometheus/prometheus/storage/local.(*memorySeries).preloadChunksForRange(0xc42194ed90, 0x75083af7d7d5c73d, 0x1581dc41b84, 0x15818a25364, 0xc420226500, 0x0, 0x8000104, 0x0, 0xffffffffffffffff)
/go/src/github.com/prometheus/prometheus/storage/local/series.go:504 +0x2a6
github.com/prometheus/prometheus/storage/local.(*MemorySeriesStorage).preloadChunksForRange(0xc420226500, 0x75083af7d7d5c73d, 0xc42194ed90, 0x1581dc41b84, 0x15818a25364, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/storage/local/storage.go:972 +0xd1
github.com/prometheus/prometheus/storage/local.(*MemorySeriesStorage).QueryRange(0xc420226500, 0x7f9f51bcfde0, 0xc4229145a0, 0x1581dc41b84, 0x15818a25364, 0xc422608038, 0x1, 0x1, 0x407f29, 0xc422e7c150, ...)
/go/src/github.com/prometheus/prometheus/storage/local/storage.go:489 +0x14b
github.com/prometheus/prometheus/promql.(*Engine).populateIterators.func1(0x7f9f51c5b338, 0xc42236e0a0, 0xc41feb9de3)
/go/src/github.com/prometheus/prometheus/promql/engine.go:484 +0x45c
github.com/prometheus/prometheus/promql.inspector.Visit(0xc4228c4360, 0x7f9f51c5b338, 0xc42236e0a0, 0x41225f, 0x1254950)
/go/src/github.com/prometheus/prometheus/promql/ast.go:306 +0x3a
github.com/prometheus/prometheus/promql.Walk(0x11dfbe0, 0xc4228c4360, 0x7f9f51c5b338, 0xc42236e0a0)
/go/src/github.com/prometheus/prometheus/promql/ast.go:255 +0x7b
github.com/prometheus/prometheus/promql.Inspect(0x7f9f51c5b338, 0xc42236e0a0, 0xc4228c4360)
/go/src/github.com/prometheus/prometheus/promql/ast.go:316 +0x4b
github.com/prometheus/prometheus/promql.(*Engine).populateIterators(0xc42031cac0, 0x7f9f51bcfde0, 0xc4229145a0, 0xc4228c42d0, 0xc422e7c150, 0x2)
/go/src/github.com/prometheus/prometheus/promql/engine.go:501 +0x11f
github.com/prometheus/prometheus/promql.(*Engine).execEvalStmt(0xc42031cac0, 0x7f9f51bcfde0, 0xc4229145a0, 0xc420fdc280, 0xc4228c42d0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/promql/engine.go:355 +0x132
github.com/prometheus/prometheus/promql.(*Engine).exec(0xc42031cac0, 0x7f9f51bcfde0, 0xc4229145a0, 0xc420fdc280, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/promql/engine.go:344 +0x3a9
github.com/prometheus/prometheus/promql.(*query).Exec(0xc420fdc280, 0x7f9f51c51190, 0xc420fdc200, 0x1581dc8af64)
/go/src/github.com/prometheus/prometheus/promql/engine.go:196 +0x52
github.com/prometheus/prometheus/web/api/v1.(*API).queryRange(0xc4203b80f0, 0xc4225e2000, 0x8000104, 0x0, 0xffffffffffffffff)
/go/src/github.com/prometheus/prometheus/web/api/v1/api.go:207 +0x595
github.com/prometheus/prometheus/web/api/v1.(*API).(github.com/prometheus/prometheus/web/api/v1.queryRange)-fm(0xc4225e2000, 0xc422dbc0e0, 0x4, 0x0)
/go/src/github.com/prometheus/prometheus/web/api/v1/api.go:126 +0x34
github.com/prometheus/prometheus/web/api/v1.(*API).Register.func1.1(0x11e4960, 0xc422dbc0e0, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/web/api/v1/api.go:110 +0x55
net/http.HandlerFunc.ServeHTTP(0xc42021f2a0, 0x11e4960, 0xc422dbc0e0, 0xc4225e2000)
/usr/local/go/src/net/http/server.go:1726 +0x44
github.com/prometheus/prometheus/util/httputil.CompressionHandler.ServeHTTP(0x11e0620, 0xc42021f2a0, 0x11e4ae0, 0xc422608020, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/util/httputil/compression.go:90 +0x7c
github.com/prometheus/prometheus/util/httputil.(*CompressionHandler).ServeHTTP(0xc42021f2b0, 0x11e4ae0, 0xc422608020, 0xc4225e2000)
<autogenerated>:5 +0x79
net/http.(Handler).ServeHTTP-fm(0x11e4ae0, 0xc422608020, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/web/web.go:173 +0x4d
github.com/prometheus/prometheus/vendor/github.com/prometheus/client_golang/prometheus.InstrumentHandlerFuncWithOpts.func1(0x11e51a0, 0xc420238000, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/client_golang/prometheus/http.go:178 +0x2ab
github.com/prometheus/prometheus/vendor/github.com/prometheus/common/route.(*Router).handle.func1(0x11e51a0, 0xc420238000, 0xc4225e2000, 0x0, 0x0, 0x0)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/common/route/route.go:83 +0x2ba
github.com/prometheus/prometheus/vendor/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc42031eb80, 0x11e51a0, 0xc420238000, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/vendor/github.com/julienschmidt/httprouter/router.go:299 +0x7ec
github.com/prometheus/prometheus/vendor/github.com/prometheus/common/route.(*Router).ServeHTTP(0xc42031cb60, 0x11e51a0, 0xc420238000, 0xc4225e2000)
/go/src/github.com/prometheus/prometheus/vendor/github.com/prometheus/common/route/route.go:125 +0x4c
net/http.serverHandler.ServeHTTP(0xc422542080, 0x11e51a0, 0xc420238000, 0xc4225e2000)
/usr/local/go/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc4228cc000, 0x11e6120, 0xc420fdc140)
/usr/local/go/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2293 +0x44d
source=<autogenerated>:38
```
Answers:
username_1: #2143 draws an additional line of defense against this.
Status: Issue closed
|
MozillaFoundation/Design | 171531189 | Title: Add Design/Functionality to Open Canvas Template for OLTS
Question:
username_0: We need some design love and some improved functionality on [Abby's open canvas web app thing] (http://username_3.github.io/open-canvas/canvas/) which features in the Open Leadership Training series [here.](https://docs.google.com/document/d/1VglRpEUI3YD26Lno_N70V_fLtPEkZw2sIDQZ30-kQR0/edit?usp=sharing)
- UI is a bit confusing. When you save, your product goes [here](http://username_3.github.io/open-canvas/canvas/). Is this the best place?
- Link sharing is currently broken.
- Maybe give the option for people to share rather than it happening automatically
- Would be nice to be able to save/print, if you don't want to share your thing right away
cc: @flukeout @username_2 @username_3
Answers:
username_1: This is very cool.
@username_0 – if you or @username_3 want to bring this to design crit (next meeting Aug 29th), you might get some quick easy suggestions for improvement. This could (no promises) be a nice bite-sized project when we onboard the new design team member.
@username_4 – it'd be interesting to think about how these could optionally show up as a link in Pulse. I search Pulse for privacy, I think both things that have been made alongside a proposal like this. A great way to seed collaboration. A few of the canvas elements could easily fill our existing fields.
username_2: Thanks, @username_0, for filing. Can you clarify the timeline for this? I think @username_1 is right that this could be a good project for the new design team member, but want to make sure that aligns with your timeline.
username_0: I would say we'd want it by early October. @username_3's mentorship cohort is using a draft version of the materials starting next week but it's fine that they use the existing version. Our big launch is around MozFest, so we'd be looking to have everything ready well in advance of that date.
username_3: Yes, I don't think this can (or should) be done in time for the round I'm starting next week! They all have the "draft" disclaimer :)
username_0: @username_3 can we bring the Open Canvas Template to the design critique next week and talk about how best to polish it up for the OLTS launch? Monday, 1:30?
@secretrobotron @username_1 @flukeout
username_3: sounds good! I can be there @username_0
username_1: Excellent. I'm excited to talk about that tool. https://public.etherpad-mozilla.org/p/designcrit
Status: Issue closed
|
dotnet/core | 654647762 | Title: Error following Run deployment step
Question:
username_0: Problem encountered on https://dotnet.microsoft.com/learn/aspnet/deploy-microservice-tutorial/deploy
Operating System: windows
Running command of **Run deployment**-step results in following error:
_error: unable to recognize "deploy-myMicroservice.yaml": no matches for kind "Deployment" in version "apps/v1beta1"_
Resolution:
Change apiVersion from `apps/v1beta1` to `apps/v1`
Running same command again will result in new error:
_error: error validating "deploy-myMicroservice.yaml": error validating data: ValidationError(Deployment.spec): missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation off with --validate=false_
Resolution:
In kind: Development, inside spec, append following:
```
selector:
matchLabels:
app: mymicroservice
```
Now it should run!
This is how deploy-myMicroservice.yaml should be updated on you page:
```
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mymicroservice
spec:
replicas: 1
template:
metadata:
labels:
app: mymicroservice
spec:
containers:
- name: mymicroservice
image: [YOUR DOCKER ID]/mymicroservice:latest
ports:
- containerPort: 80
env:
- name: ASPNETCORE_URLS
value: http://*:80
selector:
matchLabels:
app: mymicroservice
---
apiVersion: v1
kind: Service
metadata:
name: mymicroservice
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: mymicroservice
```
Answers:
username_1: Thanks for the feedback @username_0. I've sent your suggestion for review.
username_2: @username_1 is there a way open a PR for this Fix.
username_3: Thank you - I was stuck and this really helped me complete and understand as well!
Status: Issue closed
|
hotwired/turbo-rails | 858353190 | Title: Allow credentials setting to be configurable in Turbo Frame fetch requests
Question:
username_0: ### Context
I maintain a site that operates on multiple subdomains as a way of separating content. I wish to serve content used by Turbo Frames from the apex for caching reasons. While setting this up I found that my cookies weren't being sent as part of the request and that lead to me find that `credentials: 'same-origin'` is [hardcoded](https://github.com/hotwired/turbo/blob/c9c11c783e413f6e68f15614fd895e4286855207/src/http/fetch_request.ts#L107) in the fetch request.
### Request
* To be able to configure `credentials: 'same-origin'` as `credentials: 'include'` at a `<turbo-frame>` level. |
coderdojo-japan/coderdojo.jp | 325141172 | Title: zen.coderdojo.com とその API の調査
Question:
username_0: Zen アカウントの方で [アクティブ状態を持っているらしい](https://github.com/coderdojo-japan/coderdojo.jp/issues/310#issuecomment-376125789)ので、API 連携し負担軽減を目指したい。
例えば「一時的に Dojoが休止となった場合、Dojo管理者が Zen 上でステータスを非アクティブにすれば、 coderdojo.jp でも即反映される」と中間の手間が省けて嬉しい。
上記も含めて実現可能かを調査する。
cf, https://github.com/coderdojo-japan/coderdojo.jp/issues/314#issuecomment-390856860
cf, https://github.com/coderdojo-japan/coderdojo.jp/issues/314#issuecomment-390839699
Answers:
username_0: 初めて issue 立てたけど、こんな感じで良いのかしら...
username_0: まずは 「Dojo管理者としてアクティブ/非アクティブの操作」をしてみたいが、テスト環境みたいなのはあるのだろうか?... 🤔
もし、無いとしたら実際にDojo管理者として登録して、登録時のコメント欄に「API連携のテストしたいので、登録しちゃいますー」的な事を書けば良いのか... 🤔
username_0: https://zen.coderdojo.com/documentation#/ を眺めてると
`id`, `userId`, `dojoId` などが登場してくる。各々の意味と、具体的な値が知りたいなー。
さて、どうしよう 🤔
ま、もうちょっと眺めてみる。
....
個人アカウント作ったので userId と思われる値で試しにコールしてみる。
`$ curl -X GET --header 'Accept: application/json' 'https://zen.coderdojo.com/api/2.0/badges/user/35307958-77da-41da-af7b-afd4cdbf6bbd'
{"statusCode":401,"error":"Unauthorized","message":"Missing authentication"}`
認証が必要っぽい。 API で認証か、、、この辺よく分かってないので調査続行。
username_0: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}[
```
`countryCode` は他にも `JP` って入れたりしたけど変わらず、色々試して2文字ってのは判明した
↓
```
$ curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
"search": {
"countryCode": "392",
"search": "okinawa"
}
}' 'https://zen.coderdojo.com/api/2.0/countries/places'
{"statusCode":400,"error":"Bad Request","message":"child \"search\" fails because [child \"countryCode\" fails because [\"countryCode\" length must be 2 characters long]]","validation":{"source":"payload","keys":["search.countryCode"]}}
```
こんな手探り状態だと、埒があかないなー。
username_1: CoderDojo Foundation が運営する CoderDojo Global Slack があり、その中に `#zen` チャンネルというものがあるのですが、そのチャンネルには CoderDojo Zen の開発者がいるので、そこで直接開発者に質問することはできそうです! 📮 🏃💨
CoderDojo Global Slack
https://coderdojo.com/coderdojo-global-slack/
username_0: ありがとうございます 😀 Slack も登録してみます。
今は WebAPI の勉強をしたり https://forums.coderdojo.com/topic/123/api を眺めたりしてました。
... 英語ですね 🇺🇸 いつもならここで怯むのですが、頑張って進んでみます
username_1: うーん、でもアレですね。確かに `Dojos/:id` に適当に入れても返ってこないし、search してみても
```
{
"statusCode": 403,
"error": "Forbidden",
"message": "Forbidden"
}
```
が返って来て、なんか挙動がおかしそうですね🤔💭
username_0: はい。今日の件は整理しておきます。
朝会後、オッケーです 🙆
username_1: はい! では明日また! お疲れ様でした〜 😆 ♨️ ✨
username_2: 昨日ちょっと触ってみて、日本のdojo一覧と思われるレスポンスは取れることが分かったので後で詳細コメントしますね😉
username_0: username_2 さん、ありがとうござます。
----
今は、仮の道場を登録する場面で、どうしても「会場の詳細」が OK になってくれないので、問い合わせを投げようかと準備中です。
(「会場の詳細」で全ての項目を入力しているのに、なんでだろ 💭 )
username_0: 拙い英語で問い合わせフォームから質問投げました。
とりあえず作成中の道場は `Pending applications` と表示されています。
このステータスが取れれば良いはずので、調査進めます。
username_2: @username_0
https://zen.coderdojo.com/documentation#!/api/postApi20CountriesPlaces
:point_up_2:のAPIが正常なのかどうかはわからないんですが、
日本で登録されているdojoの一覧らしきものは:point_down:のAPIでそれっぽいのが取れました。
https://zen.coderdojo.com/documentation#!/api/postApi20Dojos
パラメータを指定しないと全件取得するっぽい(かなり遅い)んですが、
パラメータに以下を指定すると日本だけに絞り込めていそうです。
```
{
"query": {
"countryName": "Japan"
}
}
```
レスポンスを全て精査したわけではないので、そのあたりの確認はお願いできればと思います。
username_1: お、たぶん `stage` っぽい?
## 取得パラメータのサンプル
```
{
"entity$": "-/cd/dojos",
"id": "3a1ef147-d9e7-4398-8c36-7ddf7036e343",
"mysqlDojoId": null,
"dojoLeadId": "697c1745-e2ea-4ea7-982f-81852a731275",
"name": "<NAME>",
"creator": "25cc9c31-eff5-4f9e-92ae-cb87702165c5",
"created": "2016-10-09T02:16:00.263Z",
"verifiedAt": "2016-10-17T13:08:18.974Z",
"verifiedBy": "d22d7ac3-acaf-4ba3-a467-cdf337ef4bc1",
"verified": 1,
"needMentors": 1,
"stage": 3, # <== これかな? 🤔💭
"mailingList": 0,
"alternativeFrequency": "first",
"country": {
"countryName": "Japan",
"countryNumber": 392,
"continent": "AS",
"alpha2": "JP",
"alpha3": "JPN"
},
"county": {},
"state": {},
"city": {},
"place": {
"nameWithHierarchy": "Maebashi, Gunma Prefecture"
},
"coordinates": "36.362198485216354, 139.12779092788696",
"geoPoint": {
"lat": 36.3813523,
"lon": 139.0725053
},
"notes": "<p>Suggested Notes:<br />\n<br />\nPlease bring:</p>\n\n<ul>\n\t<li>A pack lunch.</li>\n\t<li>A laptop. Borrow one from somebody if needs be.</li>\n\t<li><strong>A parent! (Very important). If you are 12 or under, your parent must stay with you during the session.</strong></li>\n</ul>\n\n<p> </p>\n",
"email": "<EMAIL>",
"website": "https://vtmacs003b.github.io/maebashi.jp/",
"twitter": null,
"googleGroup": null,
"supporterImage": null,
"deleted": 0,
"deletedBy": null,
"deletedAt": null,
"private": 0,
"urlSlug": "jp/maebashi-gunma-prefecture/maebashi-gunma",
"continent": "AS",
"alpha2": "JP",
"alpha3": "JPN",
"address1": "3-35, minamicho",
"address2": null,
"countryNumber": 392,
"countryName": "Japan",
"admin1Code": null,
"admin1Name": null,
"admin2Code": null,
"admin2Name": null,
"admin3Code": null,
"admin3Name": null,
"admin4Code": null,
"admin4Name": null,
"placeGeonameId": null,
"placeName": "Maebashi, Gunma Prefecture",
"userInvites": null,
"creatorEmail": "<EMAIL>",
"taoVerified": 0,
"expectedAttendees": null,
"facebook": null,
"day": 7,
"startTime": "10:00:00",
"endTime": "12:00:00",
"frequency": "1/m"
},
```
username_0: @username_2 ありがとうございます。私の手元でも確認できました。
@username_1 `stage`が該当するかどうかも含めて調査進めますね。
以下は先程登録した実験用の dojo 情報です。
作成途中なので pending 中です。 以下の値では stage は 0 になってます。
```
{"entity$"=>"-/cd/dojos",
"id"=>"3d56b7c0-4db6-43cb-81e7-e6d554ee3012",
"mysqlDojoId"=>nil,
"dojoLeadId"=>"85d5d9a8-85fa-4d48-8e98-5ceaffb72878",
"name"=>"sobe-test",
"creator"=>"35307958-77da-41da-af7b-afd4cdbf6bbd",
"created"=>nil,
"verifiedAt"=>nil,
"verifiedBy"=>nil,
"verified"=>0,
"needMentors"=>0,
"stage"=>0, # <= ここではゼロですね。pending は 0 ? 🤔💭
"mailingList"=>0,
"alternativeFrequency"=>"Occasionally",
"country"=>
{"countryName"=>"Japan",
"continent"=>"AS",
"alpha2"=>"JP",
"alpha3"=>"JPN",
"countryNumber"=>"392"},
"county"=>nil,
"state"=>nil,
"city"=>nil,
"place"=>nil,
"coordinates"=>"{\"26.206813496187387\",\"127.69301891326904\"}",
"geoPoint"=>{"lat"=>26.206813496187387, "lon"=>127.69301891326904},
... 以下、省略 ...
```
`stage` の値でグループ分けすれば何かしら見えてきそうです。
(stage じゃなければ他のフィールドに当たりつけてみます)
username_1: pending は ` "verified"=>0,` っぽいですね。上記の CoderDojo 前橋のサンプルだと `1` になっていたので ✅
username_1: CoderDojo Okinawa の stage ってどうなってますかね? `1` ですかね? 👀
https://zen.coderdojo.com/dojos/jp/okinawa-ken/okinawa-okinawa-prefecture/okinawa
<img width="265" alt="screen shot 2018-05-23 at 15 12 16" src="https://user-images.githubusercontent.com/155807/40406500-df959070-5e9b-11e8-821f-443b4fcaa175.png">
username_0: 私の権限では見れないようです。
zen 上では私は関わっていない状態でした (><)
「メンターとして」ボタンを押して関係性を持ったのですが、それでも ↑ の画面は見えないです 😓
username_0: もしかしたら「チャンピオンとして参加」ボタンを押せば画面が見えるようになるかもしれませんが、本当のチャンピオンのお断りとかが必要かと。
username_0: ゼロになってます...
```
"name"=>"<NAME>",
"creator"=>"8b7b4bd8-0e84-49c2-ac5a-a1a01cc85908",
"created"=>"2016-11-18T02:15:11.458Z",
"verifiedAt"=>"2016-11-22T14:16:55.476Z",
"verifiedBy"=>"<PASSWORD>",
"verified"=>1,
"needMentors"=>1,
"stage"=>0,
```
username_0: 只今、データを眺めるスクリプト書いてます 📝
username_1: なるほどなるほど。少なくとも 0〜3以上の4種類以上の状態が保存されることが分かったので、恐らく `stage: 4` という状態もありそうですね🤔CoderDojo 西成が既に非アクティブな状態にしているかどうかは未確認ですが、現状の CoderDojo 西成の stage の値も気になってきますね 👀
username_1: お、これは非アクティブな Dojo なので coderdojo.jp からも非表示になっている Dojo なんですよね。ということは `stage: 4` が「非アクティブ」という認識で合っていそうです 👀
username_0: ```
[username_0@username_0-MBP coderdojo.jp]$ ruby hoge.rb | grep "stage=>4"
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"SapporoEast"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Kotesashi @ Do it"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Fukuyama,Hiroshima"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"CoderDojo Kagoshima(CoderDojo鹿児島)"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Shiroisi"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Okayama"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Azumino"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Okayama"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Sendai"}
{:verified=>1, :stage=>4, :deleted=>0, :taoVerified=>0, :name=>"Asahikawa City"}
[username_0@username_0-MBP coderdojo.jp]$
[username_0@username_0-MBP coderdojo.jp]$ ruby hoge.rb | grep "stage=>4" | wc -l
10
```
stage: 4 なデータは 10 個あるようです。
これで合っている。で仕様を決めて(も)良いでしょうか?
username_0: すみません、言葉たらずだったかも。補足です。
考えが細かいかもしれませんが、「stage が 4 は非アクティブだ」と仕様を決めつけるラインをどこに持っていったらいいのかわからないので 🙏 💦
運営していて各道場の動きがある程度分かっていて経験則から、ほぼ間違いないの判断なのか、それともステータスを変更する画面の html を見て、フィールド名が `stage` となっていたら良しとするのか、、、ソースコードまで確認しに行くのか?、、、などなどです。
その辺りの感覚を知りたくて... 😅
username_1: はい、「ほぼ」間違いないという判断ですが、「ほぼ」を「確実」にしたい場合は、CoderDojo Global Slack で開発者に `stage` の意味について確認をとることもできそうですね 🌏
username_1: 工数見積りや仕様策定、より正しい開発方針の模索のために必要な情報があれば、お気軽に聞いてもらえれば! 😸✨
username_2: Okayamaが2つあるのがちょっと気になったので調べてみたら`"name":"Okayama"`なdojoは3つあるんですねぇ。
残りの一つはstageが1でした。
OkayamaDojoを名乗るところが3回登録されているってことなんですかねぇ?🤔
username_1: 2012~2013年ごろに Okayama が1つ合ったのは覚えているので、3つのうち1つはそれですね。いま活発なのは [岡山 岡南](https://www.coderdojo-konan.jp/) がもう1つで、最後の1つは気になりますね🤔💭
間違って2つ Dojo を作ってしまったケースは何度か見かけたことがあるので、もしかしたらそういったケースの1つかもしれません 😅
username_0: https://github.com/coderdojo-japan/coderdojo.jp/issues/330#issuecomment-391232303 の画面を見ると
- In planning
- Open, come along
- Register ahead
- フルアップ
- 非アクティブ
と5つあり、以下のstage の種類と一致しますね。
配列の先頭がステータスコードで、2番めが道場数です。
↓
```
stage
[0, 66]
[1, 116]
[2, 10]
[3, 14]
[4, 10]
```
coderdojo.jp の登録数が 140 なので、ステータスの 1, 2, 3 を足すと 116 + 10 + 14 でピッタリ 140
うーん、、、これでいいのかなぁ。また明日、調査続けます。
username_0: **「zen に存在する道場は必ず jp サイトにも存在する」** は成り立たない...ですよね!?
おそらく、別々で管理されているので片方がなかったり、あっても情報が異なっている場合があるのかなーと。
この認識はあっていますか? 🤔
username_1: はい、それは成り立たないですね。登録してからすぐに開催できる Dojo はほとんどなく、ある程度準備ができた段階で申請していただくフローになります💨
username_0: zen と jp側の道場の紐付けをどうするかですね 🤔
パッと考えると dojos テーブルに zen 側の dojo_id を持たせる感じかなー ... 💭
あと、zen と jp側の道場の各々の情報(DBフィールド)で被りとかが無いかも気になります。
見比べてみて頭に入れてみます。
username_1: ☝️ ここまで達成したら、今回の API 調査は一旦完了としましょう ✅
まとめられたアプローチを協議して、もし簡単に実現できそうであれば API 連携で非アクティブを実装しても良いですし、もし難しそうであれば代替案の Suspension モデルでも良さそうです (もしくは別案が思い付けばそれも歓迎です! 😄)
API を通した Zen/Japan 間のシステム連携はいずれやりたいと思っていたので、もし今回 API 連携のアプローチを採らなかったとしても、今回の API 調査の結果は今後の事例で役に立つかなと目論んでいます 💭 ✨
username_0: ↑了解しました。
せっかくなので、先程調査した情報を↓に貼り付けておきますね。
(コメント書いている途中だった)
----
宜野湾道場をサンプルとして比較してみます。
# zen の情報
```
{
"entity$": "-/cd/dojos",
"id": "901f6e5c-f3de-4bb6-9279-825505872b41",
"mysqlDojoId": null,
"dojoLeadId": "fff55e7e-6c5a-42a7-85ed-d4335fb19841",
"name": "Ginowan, Okinawa@ Okigin S.P.O",
"creator": "8ffd8c09-f254-4635-b0ce-9db02f64479a",
"created": "2017-09-20T17:01:33.159Z",
"verifiedAt": "2017-09-20T17:01:44.091Z",
"verifiedBy": "d<PASSWORD>",
"verified": 1,
"needMentors": 0,
"stage": 1,
"mailingList": 0,
"alternativeFrequency": null,
"country": {
"countryName": "Japan",
"continent": "AS",
"alpha2": "JP",
"alpha3": "JPN",
"countryNumber": "392"
},
"county": null,
"state": null,
"city": null,
"place": {
"nameWithHierarchy": "日本沖縄県宜野湾市"
},
"coordinates": "{\"26.2695532\",\"127.73904620000008\"}",
"geoPoint": {
"lat": 26.269556,
"lon": 127.73904100000004
},
"notes": "<ul>\n\t<li>場所:沖縄県宜野湾市真志喜1丁目13−16(株式会社おきぎんエス・ピー・オー2階会議室)</li>\n\t<li>費用:無料</li>\n\t<li>資格:7歳から17歳</li>\n\t<li>定員:10名</li>\n\t<li>持物:自分のパソコンがあれば持参して下さい。無い場合は道場のパソコンを利用することも可能ですが台数に限りが有るため、全員に行き渡らない可能性があります。<br />\n\t※作ったプログラムや作品を継続して保存したい場合、自宅でも学習したい場合はパソコンを持参することをオススメします。</li>\n\t<li>通常の日程:\n\t<ul>\n\t\t<li>9:00 - 9:30:初めての方向けDojoの説明</li>\n\t\t<li>9:30 - 11:30:プログラミング</li>\n\t\t<li>11:30 - 12:00:発表</li>\n\t\t<li>12:00 - 12:30:Dojo日記の記入と片付け</li>\n\t</ul>\n\t</li>\n\t<li>内容:\n\t<ul>\n\t\t<li>初心者向け:Scratch(スクラッチ)プログラミング</li>\n\t\t<li>中級者向け:ロボット初級プログラミング<br />\n\t\t※上級者向けメニューは準備中です。もう少々お待ち下さい。</li>\n\t</ul>\n\t</li>\n</ul>\n",
"email": "<EMAIL>",
"website": "http://www.coderdojo-ginowan.com/",
"twitter": "coderdojogwan",
"googleGroup": null,
"supporterImage": null,
"deleted": 0,
"deletedBy": null,
"deletedAt": null,
"private": 0,
"urlSlug": "jp/ri4-ben3-chong1-sheng2-xian4-yi2-ye3-wan1-shi4/ginowan-okinawa-okigin-s-p-o",
"continent": "AS",
"alpha2": "JP",
"alpha3": "JPN",
"address1": "真志喜1-13-16(株式会社おきぎんエス・ピー・オー2階会議室)",
"address2": null,
[Truncated]
}
```
# coderdojo.jp の情報
```
=> [#<Dojo:0x00007fed48d39a40
id: 106,
name: "宜野湾 (沖縄)",
email: "",
order: "472051",
description: "沖縄県宜野湾市で不定期開催",
logo: "/img/dojos/ginowan.png",
url: "http://www.coderdojo-ginowan.com/",
tags: ["Scratch", "C-Style", "Mindstorm", "Java", "Swift"],
created_at: Thu, 17 May 2018 10:47:02 JST +09:00,
updated_at: Thu, 17 May 2018 10:47:02 JST +09:00,
prefecture_id: 47>]
[4] pry(main)>
```
username_0: - jp のフィールドで似たようなのは zen にあるか?
- `name` は名前は同じだけど、jp は日本語、zen は英語で入ってたりする
- `email` は **同じ情報** として良いはずだ
- `description` は ... うーん、、今のところ不明としときます
- `logo` は... zen には無いっぽい
- `url` は `website` と同一情報
- `tags` は持ってないっぽい
「Zenの情報を部分的に取り込むアプローチは...」の前に「道場の情報は zen と jp のどちらで修正するの?」があると思います。
- zen 側で全て済ませる → これは jp 固有の情報を既に持っているので難しそう
- jp 側で全て済ませる → zen 側の情報をAPI経由で更新する → APIを駆使&機能あるか?の要調査
現状だと
1. zen で登録して道場開設
2. jp で登録してjp サイト掲載
3. jp がメイン的な扱い(!?)になっているのでメンテが発生したら dojos.yaml を修正
3.1. 気づいている人は zen 側の情報も更新
という感じだと思います。
... 引き続き、もうちょっと考えます ...
username_0: 今、登録したら出来ました。
(市町村のフィールドで `naha` を入力しても候補が出てこない不具合だった)
これで道場の情報がいじれる 😸
Status: Issue closed
username_1: zen.coderdojo.com って何だ? → 本家っぽい
zen.coderdojo.com にアクセス API に関するリンクが無いか一通り見てみる
見当たらないので zen coderdojo api でググってみる。 https://zen.coderdojo.com/documentation#/api を発見
アカウントがあると情報量が増えそうなのでアカウント作ってみる ← 今ここ
簡単なサンプルと sandbox 的な場所があれば実際に動かしてみたほうが理解早そうだけど、あるかなー? って感じで調査中
----
Zen アカウントの方で [アクティブ状態を持っているらしい](https://github.com/coderdojo-japan/coderdojo.jp/issues/310#issuecomment-376125789)ので、API 連携し負担軽減を目指したい。
例えば「一時的に Dojoが休止となった場合、Dojo管理者が Zen 上でステータスを非アクティブにすれば、 coderdojo.jp でも即反映される」と中間の手間が省けて嬉しい。
上記も含めて実現可能かを調査する。
# 関連issue
#314
#310
# TODO
- [x] API に関する guide や reference が無いか調査
- [x] アクティブ/非アクティブの取得APIが用意されているか?の確認
- [x] zen.coderdojo.com のアカウント作成 & 道場作成
- [x] 用意されているのであれば、実際に動かして確認する
- [x] 用意されていなければ、APIとしてはどんな機能が用意されているのか?を軽くレポートする
- [x] coderdojo.jp のDBに Zen の情報を取り込む時、どんなアプローチがあるか? をいくつかまとめる
username_1: に対して、この Issue が Close された時点までに出てきたアプローチが1つしかなかったので 😅
username_1: あ、こちらも別案として1つありましたね。これを足して2つのアプローチがある、ということですかね🤔
username_1: もうちょっと具体的な参考情報を出すと、API 連携の調査結果が他に人から見ても役に立つように、例えば次のような形で情報をまとめてもらえると嬉しいです 🙏 こちらもご参考にしていただければ! 😸
- [Railsガイドを差分検知できる状態にするためにやること](https://yasslab.qiita.com/shared/items/f4ef51f4e5616313c06d)
- [Railsガイドのフィジビリティスタディメモ](https://yasslab.qiita.com/shared/items/216721e5737ccb90a3f6)
- [Railsガイドのプロトタイプ開発](https://yasslab.qiita.com/shared/items/83573409e6d0b43d2e2e)
⚠️ タイトルに社内の秘密情報が含まれているため一部タイトルを変えています
username_0: @username_1
こちらは Qiita:Team の方でまとめた方がいいですか?それとも、この issue 上のコメントとしてまとめる。って事でしょうか?
username_1: 恐らく記事内容を何度か修正・変更することになりそうなので、まずは Qiita:Team で書いてもらって、内容が固まってきたらこちらの Description に転記するカタチで行きましょう! 👍 (なので基本的には一般公開する前提で書いてもらえれば 📝 💨 )
username_1: @username_0 こちら、そういえば [/docs](https://github.com/coderdojo-japan/coderdojo.jp/tree/master/docs) ディレクトリがあったことを失念していました >< 💦
Issue の Description より docs ディレクトリの方が読まれやすいので、調査結果をまとめたレポートを docs ディレクトリに置いたら本 Issue を完了としましょう ✨📑📝
cf. ドキュメント例: [新規Dojoの追加方法](https://github.com/coderdojo-japan/coderdojo.jp/blob/master/docs/how-to-add-dojo.md)
username_0: @username_1
確認ですが、 Qiita:Team に先程POSTした情報を Markdown 形式で /docs 配下に新規で作れば良いですか?
username_1: はい! そちらでよろしくお願いします ;) いくつかフィードバックしたい部分もあるので、PRで出していただけると助かります 📑👀 |
nitely/Spirit | 201578268 | Title: Private message is not private
Question:
username_0: Private message should be differ from private topic. In a private conversation, you should ask for the opposite sides for permission before allowing a new person to join the conversation. Or just disable the invite function for private message.
Answers:
username_1: What would be the purpose of this? *Nothing is really private* if everyone involve don't want to keep it private (i.e they can take screen-shots of conversations and so on). Disabling the invite function would be crippling the private topics feature for no good reason, IMHO.
username_0: Yes, the feature of private topic is great. But many user may think private message is like SMS and meant to be more private then private topic. e.g. a man send a private message(love letter/booty call etc.) to a woman, then she invites many user into this private message, that would be embarrassing.
username_1: What keeps the woman from taking a screen-shot and sharing it?
username_0: He can lie :smiley_cat:
Neither can SMS. He should bear it. But SMS is a bit better then private topic. If he needs the invitation feature, he can use private topic. If he needs the SMS feature, we should provide the improved private message functionality.
username_1: Well, yeah haha. I guess we could disable the private topic invites and add a "Private Group Topic" where the invites are enabled. But I'm still not convinced about it.
username_2: I think the current implementation is fine. The only thing I changed on my forum is I separated topic notifications and private message notifications.
username_0: I just finish copying `private` folder to `SMS` folder and modifying SMS for private messages today. I made lots of modifications and now it works. I'll post my site link here once it's finished and up in case someone wanna see the final result. And I'll make some part of it opensource once I'm free.
As for PM/SMS, Here are some of the features/modifications:
- SMSs are all in the same topic (that has and only has two of the participants). No need to open new topic hence a better communication and a better/clean layout.
- Disable join and leave functions in a SMS topic so that it works like a SMS service. Author of a SMS topic can't kick the recipient out otherwise the recipient can't access the SMS history. User can "Unnotify" or "flag" in case spamming happens.
Con: Since user can modify their comments, that means they can modify the SMS they've sent to your phone. Analogy. |
persandstrom/python-verisure | 129588005 | Title: Getting unicode errors...
Question:
username_0: Hi!
I'm getting: UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 10: ordinal not in range(128) when trying to receive the name (last person who armed/disarmed) of myPages.alarm.get() function.
My wife has an "ö" in her last name. :)
Answers:
username_1: I think it's your terminal, have a look at this issue #12
Status: Issue closed
username_0: Ah! Thank you. I had forgot to do "dpkg-reconfigure locales" on the new server. :)
username_0: Some more info if anyone else stumbles on this.
I'm running Ubuntu Server 14.04.3 (in an LXC environment).
If you get this problem it's probably a locale Issue.
More info here: https://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue
This is want I did (with sudo if you are not root):
# echo 'LC_ALL="en_US.UTF-8"' | sudo tee -a /etc/default/locale
# echo 'LANG="en_US.UTF-8"' | sudo tee -a /etc/default/locale
# echo 'LANGUAGE="en_US:en"' | sudo tee -a /etc/default/locale
# locale-gen "en_US.UTF-8"
# dpkg-reconfigure locales
Then rebooted just for the fun of it.
Then it worked. :)
username_2: Thanks for the instructions! I'll add something in the exception message that will a bit clearer to the users. |
alloystorm/dvvr | 744854692 | Title: [DVVR 0.7.3] Hair Bugs
Question:
username_0: I just discover a bugs from the hair only when it play.
(https://user-images.githubusercontent.com/49305586/99411758-f3dbce80-28c1-11eb-8fa7-e20f369e621b.png)
Status: Issue closed
Answers:
username_0: I just discover a bugs with the physical and it happened with every model and it seen like when the motion is player the physical disable.
(https://user-images.githubusercontent.com/49305586/99415457-cdb82d80-28c5-11eb-8f0c-040215438d6f.png)
Status: Issue closed
username_0: It still happened when i play the motion and the bugs is still there and when i loading the dance motion it fixed the problem with the bugs. |
sw2025/SW2025_WEB | 270548890 | Title: 专家认证页面优化
Question:
username_0: 
选择不同角色提示相应变化
角色是专家和企业家时:
友好提示
1.本平台为企业提供专家咨询和重要资源。
2.请专家实名认证,上传有效证照以便与企业深度互动。
3.专家介绍中至少包括“职称、任职、擅长、重要经历”等内容。
角色是机构时:
友好提示
1.请实名认证,上传有效证照。
2.机构介绍至少包括“机构业务范围、擅长领域 主要业绩”等内容。<issue_closed>
Status: Issue closed |
statamic/v2-hub | 149129765 | Title: RFE: Form output filenames as (human readable) timestamps?
Question:
username_0: It's been a while, but AFAICR, Raven allowed me to format form output file names something like so:
```
2014-05-18-908-02.yaml
```
The benefit of a file name like that being, I could just glance inside the output folder and immediately see what's recent or new.
v2's form stuff rocks, but...
Even though via experiments I can deduce its current output filenames (being something like `1460948604.yaml`) are "timestamp-ish" (to coin a phrase)—it's not hardly as handy a file name format for us humans.
So, I'm wondering if we could please have some kind of a
```
Format form output file names as: [_______]
```
option? For flexibility, maybe use the same loverly date-time codes we employ elsewhere: [http://php.net/manual/en/function.date.php)[http://php.net/manual/en/function.date.php]
Then folks could roll their own! Me, I lean towards
```
{{ now timezone="America/New_York" format="Y-m-d--H-i--s" }}-nn
```
for file names like
```
2016-04-18--07-26--58-nn.yaml
```
where it's more clearly be a date, a time, and perhaps some necessary gobbledegook at the end (i.e., that trailing `-nn` represents something you figure out to avoid collisions due to sub-second race conditions), as opposed to the current it's-all-gobbledegook-to-me convention.
Pretty please? :-)
Answers:
username_1: No plans to support this at this time as it would be a pretty messy backwards compatibility challenge.
Status: Issue closed
|
dresden-elektronik/deconz-rest-plugin | 432891844 | Title: Problems with conbee firmware update
Question:
username_0: I tried some different firmware versions but got the same errors. Any pointers or suggestions would be greatly appreciated.
Answers:
username_1: Did you stop deCONZ before running `GCFFlasher_internal`?
It might help to unplug any other USB devices.
username_0: Yes I believe I did, but will check to be sure. Just the Conbee plugged in, no other devices.
username_2: The error looks like deCONZ is still running?
The file needs to be specified with the full path:
sudo GCFFlasher_internal -d /dev/ttyUSB0 -f /usr/share/deCONZ/firmware/deCONZ_Rpi_0x26320500.bin.GCF
username_0: before attempting to flash the firmware. Specified the full path to the firmware file, but I still get the same error.
I've checked the system processes and deconz appears closed, but there are some processes named deconz-wifi2.sh and deconz.update2 that appears every now and then. Don't know if that has anything to do with this....
username_2: Hmm not sure what is happening, can you please post the output of:
sudo GCFFlasher_internal -l
username_2: Ah damn, I think I know what's wrong. GCFFlasher 3.01 doesn't yet support FTDI reset and the firmware 261F0500 can't be brought into bootloader mode via serial protocol command.
Looking forward to fix this tomorrow.
username_0: Alright, thank you for looking into it!
username_3: I have a problem that is maybe related: I have a rpi3b+ with the RaspBee card.
I'm running deconz via docker, using the image marthoc/deconz.
I try to update the firmware by using the command specified on the docker hub:
`docker run -it --rm --entrypoint "/firmware-update.sh" --privileged --cap-add=ALL -v /dev:/dev -v /lib/modules:/lib/modules -v /sys:/sys marthoc/deconz`
The output looks like this, but the process never finishes:
```
-------------------------------------------------------------------
marthoc/deconz Conbee/RaspBee Firmware Flashing Script
Version: 0.3
-------------------------------------------------------------------
Enter C for Conbee, R for RaspBee, or press Enter now to exit: R
-------------------------------------------------------------------
Firmware available for flashing:
deCONZ_ConBeeII_0x26480700.bin.GCF
deCONZ_Rpi_0x261f0500.bin.GCF
deCONZ_Rpi_0x26320500.bin.GCF
Enter the firmware file name from above, including extension,
or press Enter now to exit.
File Name : deCONZ_Rpi_0x26320500.bin.GCF
-------------------------------------------------------------------
Device: RaspBee
Firmware File: deCONZ_Rpi_0x26320500.bin.GCF
Are the above device and firmware values correct?
Enter Y to proceed, any other entry to exit: Y
Flashing...
GCFFlasher V3_01 (c) dresden elektronik ingenieurtechnik gmbh Apr 12 2019
```
username_2: Indeed related, the firmware-update.sh script doesn't specify the device parameter `-d`, which defaults to RaspBee on old GCFFlasher 2.x.
I'll fix that for GCFFlasher 3.2 so that the interface stays the same and support default device as RaspBee.
username_2: Version 2.05.63 is now available:
https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/V2_05_63
username_4: I gave up in the past trying to update the firmware on my Raspberry Pi running Hass.io.
I now just stop the add-on, unplug the conbee, plug it into my laptop, update via GCFlasher, plug it back into the pi and start the add-on again.
username_0: Thank you @username_2 for quick response and fix. Successfully updated the firmware from Phoscon!
Status: Issue closed
|
webduinoio/webduino-bit-module-led-matrix | 466836611 | Title: Custom field validators
Question:
username_0: not able to call validators in custom field
Blockly.Blocks['display_led_matrix'] = {
init: function () {
var valid = function(){
console.log("this valid ");
// console.log("valid call"+v);
// console.log("test009= "+this.getFieldValue('mcolor1_'));
};
this.appendDummyInput()
.appendField("show LEDS");
this.appendDummyInput()
.appendField("Select color")
//.appendField(new Blockly.FieldColour('#000000',this.select_function()), 'mcolor1_')
// Warninig: This name (mcolor_) must not be changed!
.appendField(new Blockly.CustomFieldColour('#fff000',valid), 'mcolor_'); |
C2DH/ranketwo | 385909654 | Title: INSERT new answer template for 2 lessons
Question:
username_0: HI both,
I would like you to substitute the 2 answer templates that are in the structure at present, I have changed the structure, as they did no longer match the assignments,
see attachments
[Version_2_answer-template-archival-digital-turn.docx](https://github.com/C2DH/ranketwo/files/2630750/Version_2_answer-template-archival-digital-turn.docx)
[Version_2_answer-template-boder .docx](https://github.com/C2DH/ranketwo/files/2630753/Version_2_answer-template-boder.docx)<issue_closed>
Status: Issue closed |
danielkrupinski/Osiris | 828016094 | Title: how i can do delay
Question:
username_0: how i can do delay look like
if(localplayer flag 1)
In_duck
delay
-in_duck
Answers:
username_1: like this?
```
static float last_duck = 0.f;
int duck_delay;
if(localPlayer flag 1)
{
last_duck = memory->globalVars->realtime;
in_duck
}
if(last_duck + duck_delay = memory->globalVars->realtime)
{
-in_duck
}
```
username_0: Thanks
username_1: if(last_duck + duck_delay == memory->globalVars->realtime)
username_1: in seconds |
LarryHsiao/Nyx | 482256318 | Title: readme.md:32: authorization
Question:
username_0: The puzzle `10-1-8f554894` from #10-1 has to be resolved:
https://github.com/LarryHsiao/Nyx/blob/8dad6e02d6e10deb060a038508f651fae399d2a1/readme.md#L32-L32
The puzzle was created by LarryHsiao on 19-Aug-19.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be \"done\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html).
Answers:
username_0: The puzzle `10-1-8f554894` has disappeared from the source code, that's why I closed this issue.
Status: Issue closed
|
quartznet/quartznet | 462758894 | Title: Npgsql.PostgresException: 42883: 操作符不存在
Question:
username_0: ### Version: 3.0.7
<!-- Include the major/minor version (4.2.1, 5.2.0, 6.0.2 etc) -->
### Expected behavior
2019-07-01 22:38:35.6710|0|ERROR|Dist.Dme.HSMessage.Consumer.MQ.Kafka.KafkaConsumer|Error: 1/1 brokers are down
2019-07-01 22:38:35.5994|0|ERROR|Quartz.Impl.AdoJobStore.JobStoreTX|Failure occurred during job recovery: Couldn't recover jobs: 42883: 操作符不存在: character varying = boolean Quartz.JobPersistenceException: Couldn't recover jobs: 42883: 操作符不存在: character varying = boolean ---> Npgsql.PostgresException: 42883: 操作符不存在: character varying = boolean
at Npgsql.NpgsqlConnector.DoReadMessage(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isPrependedMessage)
at Npgsql.NpgsqlConnector.ReadMessage(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications)
at Npgsql.NpgsqlConnector.ReadMessage(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications)
at Npgsql.NpgsqlConnector.ReadExpecting[T](Boolean async)
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming)
at Npgsql.NpgsqlDataReader.<NextResultAsync>b__31_0()
at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.<>c__DisplayClass90_0.<<ExecuteDbDataReaderAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Quartz.Impl.AdoJobStore.StdAdoDelegate.SelectTriggersForRecoveringJobs(ConnectionAndTransactionHolder conn, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\StdAdoDelegate.cs:line 447
at Quartz.Impl.AdoJobStore.JobStoreSupport.RecoverJobs(ConnectionAndTransactionHolder conn, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 665
--- End of inner exception stack trace ---
at Quartz.Impl.AdoJobStore.JobStoreSupport.RecoverJobs(ConnectionAndTransactionHolder conn, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 697
at Quartz.Impl.AdoJobStore.JobStoreSupport.<>c__DisplayClass260_0.<<ExecuteInNonManagedTXLock>b__0>d.MoveNext() in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 3729
--- End of stack trace from previous location where exception was thrown ---
at Quartz.Impl.AdoJobStore.JobStoreSupport.ExecuteInNonManagedTXLock[T](String lockName, Func`2 txCallback, Func`3 txValidator, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 3784
at Quartz.Impl.AdoJobStore.JobStoreSupport.ExecuteInNonManagedTXLock[T](String lockName, Func`2 txCallback, Func`3 txValidator, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 3831
at Quartz.Impl.AdoJobStore.JobStoreSupport.ExecuteInNonManagedTXLock(String lockName, Func`2 txCallback, CancellationToken cancellationToken) in C:\projects\quartznet\src\Quartz\Impl\AdoJobStore\JobStoreSupport.cs:line 3727
### Actual behavior
Answers:
username_1: Need more info, is the DB schema alright?
username_1: Closing as not enough information provided.
Status: Issue closed
|
solo-io/gloo | 631134567 | Title: RequestHeaderForTags does not work
Question:
username_0: **Describe the bug**
When attempting to use the tracing integration, the `requestHeadersForTags` configuration does not seem to work.
**To Reproduce**
Enable tracing and use the following patch (or similar) for your `Gateway`:
```
spec:
httpGateway:
options:
httpConnectionManagerSettings:
tracing:
requestHeadersForTags:
- ":path"
- origin
- x-test
tracePercentages:
overallSamplePercentage: 100
verbose: true
```
This should result in an envoy configuration similar to:
```
"filters": [
{
"name": "envoy.http_connection_manager",
"config": {
"tracing": {
"overall_sampling": {
"value": 100
},
"random_sampling": {
"value": 100
},
"client_sampling": {
"value": 100
},
"verbose": true,
"request_headers_for_tags": [
":path",
"origin",
"x-test"
]
},
...
]
```
Send a request, e.g. `curl $(glooctl proxy url)/api/pets -H 'x-test: test' -H 'origin: localhost' -v`
When the request is passed through envoy, a trace like the following will be generated (this is jaeger specifically):
```
{
"data": [
{
"traceID": "0ed0c1c877c2d2e7",
"spans": [
{
"traceID": "0ed0c1c877c2d2e7",
"spanID": "0ed0c1c877c2d2e7",
"operationName": "172.16.58.3",
[Truncated]
}
},
"warnings": null
}
],
"total": 0,
"limit": 0,
"offset": 0,
"errors": null
}
```
Notice the `tags` section does not have any values from the specified headers.
**Expected behavior**
The headers specified in the tracing config should be added to the trace tags.
**Additional context**
Gloo docs: https://docs.solo.io/gloo/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/tracing/tracing.proto.sk/#listenertracingsettings
Envoy docs: https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.html?highlight=tracing#config-filter-network-http-connection-manager-v2-httpconnectionmanager-tracing
Answers:
username_0: This does work as expected when the `/api/v2/spans` zipkin collector endpoint is used.
Status: Issue closed
|
ssbc/ssb-ebt | 1049894582 | Title: Not replicating actual friends
Question:
username_0: I'm getting a lot of bug reports in Manyverse that things are not replicating between two peers currently connected and mutually following. Finally I managed to reproduce it myself, and here's one thing I found:
- `@+UMK` is mobile Manyverse
- `@QlCT` is desktop Manyverse
- They follow each other, and are connected to each other via a room
- `@QlCT` has new content that `@+UMK` **should** download, but **does not**
- They have versions
- ssb-ebt `8.0.1`
- epidemic-broadcast-trees `9.0.0`
- ssb-friends `5.1.0`
- ssb-replication-scheduler `1.0.0`
File `~/.ssb/ebt/@QlCT` **on `@+UMK`** looked like this:
```
{
"@QlCTpvY7p9ty2yOFrv1WU1AE88aoQc4Y7wYal7PFc+w=.ed25519": 8601,
"@+UMKhpbzXAII+2/7ZlsgkJwIsxdfeFi36Z5Rk1gCfY0=.ed25519": 5309,
...
}
```
File `~/.ssb/ebt/@-UMK` **on `@QlCT`** looked like this:
```
{
"@+UMKhpbzXAII+2/7ZlsgkJwIsxdfeFi36Z5Rk1gCfY0=.ed25519": 5309,
"@QlCTpvY7p9ty2yOFrv1WU1AE88aoQc4Y7wYal7PFc+w=.ed25519": -1,
...
}
```
As you can see, that `-1` seems problematic. It means that QlCT is forbidding +UMK to get new updates, perhaps mistaking it as some disallowed peer. Could this be some initialization bug?
Answers:
username_0: Some users said that Manyverse v0.2108.2 was working fine, and that one had
- epidemic-broadcast-trees `8.0.4`
- ssb-ebt `7.0.3`
Here are the diffs between
- [e-b-t 8.0.4 and 9.0.0](https://github.com/ssbc/epidemic-broadcast-trees/compare/v8.0.4..v9.0.0)
- [ssb-ebt 7.0.3 and 8.0.1](https://github.com/ssbc/ssb-ebt/compare/v7.0.3...v8.0.1)
username_0: Learned some really strange things about this bug!
I kept two terminal tabs open, one that was constantly monitoring the contents of the ebt file on the phone, and the other was constantly monitoring the ebt file on the desktop. Once, the `@-UMK` file on the desktop showed `8592` instead of `-1`! Then I disconnected the peers (by shutting down the mobile peer), and the desktop went back to showing the number `-1` in the file.
Note that the number went to `8592` but never to `8601` which would have been the correct "latest" content. And also the above experiment didn't happen consistently. I started both peers again and again and only SoMeTiMeS did it do the sudden jump to `8592`. Most of the times it stayed on `-1`.
A couple of times, one of the files (either the mobile or the desktop) would suddenly become all blank, like the whole file was just the JSON `{}`.
username_0: Finally, I took the nuclear option of deleting the EBT files `@-UMK` on desktop and `@QlCT` on mobile, and after a while, the files were re-created with `8592` coming back (**not** the expected `8601`), **and** after a while (~2min) the number `-1` came back.
username_1: I can have a look tonight. My hunch is that it is something related to initialization. Where [notes](https://github.com/ssbc/epidemic-broadcast-trees/blob/bfcd2cab26ecc2a80875dfdcb75fb2e200ce6175/stream.js#L50) is called before things are properly set up. Resulting in [-1](https://github.com/ssbc/epidemic-broadcast-trees/blob/bfcd2cab26ecc2a80875dfdcb75fb2e200ce6175/events.js#L372).
username_0: What could be causing the lack of replication even though the number is `8592`? (less than `8601`)
username_0: I now reverted ssb-ebt to 7.0.3 and epidemic-broadcast-trees to 8.0.4 and I still see the exact same behavior (and re-starting the peers over and over again many times). So at least we can rule out new changes to code. I also removed the ebt files, just to make sure, and same behavior.
To make sure we're not dealing with a feed fork, I ended up checking what is the message at `8592` by QlCT, and it's a private message. I looked at the JSON of that message on both desktop and mobile and they are identical except for the KVT timestamp.
username_2: I want to lend energy to this quest. Please let me know if having a person pairing on this would help (sometimes a small party is good when hunting down an elusive and dangerous beast)
username_0: Yeah it would be awesome to pair. I don't know a lot of the inner details of epidemic-broadcast-trees but it's super useful that I can reproduce it on two peers and tweak code for both quickly.
username_1: Indeed. I'll try and prepare a debugging branch of both SSB-EBT and EBT that should give us an idea of what is going on.
username_1: Can you try and run desktop and phone with these 2 branches and report what output you get?
https://github.com/ssbc/ssb-ebt/pull/62
https://github.com/ssbc/epidemic-broadcast-trees/pull/55
username_1: As for pairing, agree it would be great to pair on this issue. Especially since the bug can be reproduced. I'm good with remote debugging like this. EBT is a state beast and the code is really hard to read. Itching to tidy up the code without making big changes just to make it easier to understand.
username_0: I'll try tomorrow for sure! :)
username_2: Does it have to be phone - phone or can we reproduce it locally with scuttle-testbot and it's connect function.
Maybe hook some methods to watch the things trigger
username_1: A few things we discovered:
- Calling block with false still sets notes to -1. That is wrong. It has always been this way: https://github.com/ssbc/epidemic-broadcast-trees/commit/6cdfdfce2f7a1223c851a074122e826611b3f43a sadly.
- setNotes -1 is missing a false (last argument) [here](https://github.com/ssbc/epidemic-broadcast-trees/blob/bfcd2cab26ecc2a80875dfdcb75fb2e200ce6175/events.js#L374). I'll fix that.
username_1: https://github.com/ssbc/epidemic-broadcast-trees/pull/57
username_0: On top of what arj already mentioned, there was also a bug in ssb-validate2 where a fork was detected, but as a false positive.
I discovered what the problem there is: the validation code is recreating the key using `ssbKeys.hash(JSON.stringify(msgval,null,2))` but the msgVal's `content` is actually the unboxed object, while it should be the boxed string, for the calculation of the key to be correct.
username_1: Damn. Thought it was something like that. The good thing is that once these things are deployed replication should start working again.
username_0: The fix is so obvious, it's going to hurt to review. :D
Status: Issue closed
username_0: Pretty sure this can be closed. Thanks @username_1 ! |
itchio/itch.io | 408535365 | Title: Sortable "Project totals" games list at Dashboard/Analytics
Question:
username_0: Would be nice to be able to sort your creations per views/downloads/payments etc. at the "Project totals" section of the dashboard/analytics page.

Status: Issue closed
Answers:
username_1: this was added a while ago! woop |
earldouglas/xsbt-web-plugin | 116246413 | Title: Add <container>:join to block sbt from exiting after starting the container
Question:
username_0: When launching `jetty:start` from the command line (e.g. `$ sbt jetty:start`), the container starts, then sbt exits.
Let's add a `jetty:join` or similar for cases (e.g. Dockerization) when we want to use sbt to run our server.<issue_closed>
Status: Issue closed |
arxanas/drafts.ninja | 159842301 | Title: Remove ready confirmation
Question:
username_0: After having implemented ready confirmation, there really appears to be no good use case. People don't seem to like marking themselves as ready; and checking it by default would mostly invite trolling. This is a good candidate for a feature that should be cut so as to avoid feature debt, unless someone has a reason to keep it.
Remember to update the README to remove that feature from the list.
Answers:
username_1: In theory this feature sounds awesome!
I never used/tested it... but just by thinking it looks reasonable to have another road block to avoid unavailable players during a draft - it's the most annoying thing. Better wait beforehand (and remember, people still need to get used to the changed behavior!), instead of starting all over again after pick 3. It shouldn't be too annoying for users since it's just a little click. If valued against the trouble with people who haven't been ready yet for whatever reason. To me it sounds better to kick people who're not getting ready before starting :)
People could still immediately mark themselves as ready, even if they go afk for a few mins.
Would there be a way to check if people are active and uncheck the `ready` state if they are inactive for ~1min?
username_0: Ideally we could detect if a user was not active, but it Is a hard problem. I already implement a connection monitor to this end. It is easy to get true positives, but hard to get true negatives.
It is possible for a user to join a draft and leave it in a background tab, waiting for a beep to be notified when the draft starts. (Indeed, I myself am the sort of user to do this.) In this case, there is really no way to ascertain whether they are still connected, beyond the already-implemented connection monitor.
The ready confirmation does not help in this regard. Since users can indeed mark themselves as ready but then go AFK, it does not serve to indicate true negatives (to verify that a user is in truth active), and it will rarely indicate true positives since a user will usually mark themself as active immediately upon joining the room.
The host can already kick unresponsive users during the draft anyways, replacing them with bots. Since the feature has little predictive about power and doesn't let us do anything we can't already do manually, I am inclined to remove it to avoid increasing technical debt.
cc @tritoch, if you have any thoughts.
Status: Issue closed
|
vsodre/flipg | 69463170 | Title: Channel Document Specification
Question:
username_0: This issue is just to discuss about the document of the channel collection.
The document should have just the required fields of the rss file. So being:
{
_id: "", //The link of the rss
title: "", // The title item, found at the rss channel
link: "", // The link item, found at the rss channel
description: "" // The description item, found at the rss channel as well.
}
Answers:
username_1: as metioned in #4, a last_date_collected would be neat!
username_1: good source for rss specification: http://www.rssboard.org/ |
dalibo/temboard-agent | 268682623 | Title: [doc] Instructions in Contributing.rst produce an error
Question:
username_0: The Contributing file is very useful
https://github.com/dalibo/temboard-agent/blob/master/CONTRIBUTING.rst
but.... The following steps:
```
$ docker-compose up -d
$ docker-compose exec agent bash
# pip install -e /usr/local/src/temboard-agent/
# gosu temboard temboard-agent -c /etc/temboard-agent/temboard-agent.conf
```
.... produces this error :
`CRITI: /var/lib/temboard/alice:alice bob:bob: File not found`
It seems that the pip install step breaks the configuration somehow because if you remove this step, everything works fine:
```
$ docker-compose up -d
$ docker-compose exec agent bash
# gosu temboard temboard-agent -c /etc/temboard-agent/temboard-agent.conf
```
....will start the agent correctly
Answers:
username_0: Seems like a confusion about `$TEMBOARD_USERS` and `$TEMBOARD_USERS_LIST` variables..
By default `$TEMBOARD_USERS` is set to `alice:alice bob:bob`
If I change the value to put the user file, the agent starts properly:
```
$ docker-compose up -d
$ docker-compose exec agent bash
# echo TEMBOARD_USERS
alice:alice bob:bob
# pip install -e /usr/local/src/temboard-agent/
# export TEMBOARD_USERS=/etc/temboard-agent/users
# gosu temboard temboard-agent -c /etc/temboard-agent/temboard-agent.conf
```
username_1: Sorry, I broke this without updating documentation :x
username_1: ```
$ docker images dalibo/temboard-agent
REPOSITORY TAG IMAGE ID CREATED SIZE
dalibo/temboard-agent latest dc1b6eb14090 30 minutes ago 156MB
$ docker-compose up -d
Creating network "tba_default" with the default driver
Creating volume "tba_run" with default driver
Creating volume "tba_data" with default driver
Creating tba_repository_1 ...
Creating tba_instance_1 ...
Creating tba_repository_1
Creating tba_ui_1 ...
Creating tba_agent_1 ... .. done
Creating tba_ui_1
Creating tba_agent_1 ... done
$ docker-compose exec agent bash
root@8<PASSWORD>:/var/lib/temboard# pip install -e /usr/local/src/temboard-agent/
Obtaining file:///usr/local/src/temboard-agent
Installing collected packages: temboard-agent
Found existing installation: temboard-agent 1.1
Uninstalling temboard-agent-1.1:
Successfully uninstalled temboard-agent-1.1
Running setup.py develop for temboard-agent
Successfully installed temboard-agent
root@8<PASSWORD>:/var/lib/temboard# gosu temboard temboard-agent -c /etc/temboard-agent/temboard-agent.conf
INFO: Reading /etc/temboard-agent/temboard-agent.conf.
INFO: Loading plugin 'activity'.
INFO: Done.
INFO: Loading plugin 'activity' configuration.
WARNI: No configuration: 'module' object has no attribute 'configuration'
INFO: Loading plugin 'administration'.
INFO: Done.
INFO: Loading plugin 'administration' configuration.
INFO: Done.
INFO: Loading plugin 'dashboard'.
INFO: Done.
INFO: Loading plugin 'dashboard' configuration.
INFO: Done.
INFO: Loading plugin 'monitoring'.
INFO: Done.
INFO: Loading plugin 'monitoring' configuration.
INFO: Done.
INFO: Loading plugin 'pgconf'.
INFO: Done.
INFO: Loading plugin 'pgconf' configuration.
WARNI: No configuration: 'module' object has no attribute 'configuration'
INFO: Starting main process.
INFO: Loaded probe: locks
INFO: Loaded probe: process
INFO: Loaded probe: wal_files
INFO: Loaded probe: blocks
INFO: Loaded probe: db_size
INFO: Loaded probe: tblspc_size
INFO: Loaded probe: sessions
INFO: Loaded probe: xacts
INFO: Loaded probe: replication
INFO: Loaded probe: loadavg
INFO: Loaded probe: filesystems_size
INFO: Loaded probe: cpu
INFO: Loaded probe: bgwriter
INFO: Loaded probe: memory
```
username_1: @username_0 je te laisse fermer.
Status: Issue closed
|
ionic-team/ionic-v1 | 659249411 | Title: Xcode 11 simulator changed device screen layouts & no longer honors safe-area code
Question:
username_0: **Note: If you are having problems formatting your issue please refer to this article on using markdown in Github:**
https://guides.github.com/features/mastering-markdown/
**Note: for support questions, please use one of these channels:**
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
#### Short description of the problem:
Xcode 11 simulator has now added window.outerHeight to all devices, reducing window.innerHeight by 20px on ALL iPhone and iOS types. Xcode 10 and lower did not use window.outerHeight assigned the entire window height to window.innerHeight. This messes with screen layouts for Ionic v1 apps (maybe others too). As well, Xcode 11 simulator does not honor `safe-area` code designed to keep apps below the `notch` on phones like iPhoneX/iPhone11
As you can imagine, if you can't trust what your apps looks like in Simulator how can you trust what it will really look like on real devices - and if you don't have every type of real device to test (which I don't) then you really risk deploying a prod app that doesn't render properly.
#### What behavior are you expecting?
Screen layouts are skewed and app is pushed up behind safe-area notch on iPhoneX/iPhone 11.
**Steps to reproduce:**
1. Deploy v1 app to Xcode 11 simulator - any phone.
```
insert any relevant code between the above and below backticks
```
**XCode 11 Simulator Window Height:**
For the window height issue, I use a custom frame for a map component on my app that sizes properly to any device screen layout. I had to modify it for Xcode 11 simulator because it without accounting for innerHeight it added a 20px buffer between the bottom the map frame to the bottom of the screen. To implement a fix for that I added the following:
```
// use parseInt because some older phones would report heights as 49.5, or 43.2
var statusBar = parseInt(document.getElementById('mapTitleBar').clientHeight) ;
var tabBar = parseInt(document.getElementById('allTabsBar').clientHeight) ;
var addressBar = parseInt(document.getElementById('map_addressFields').clientHeight) ;
var totalBars = statusBar + tabBar + addressBar - deviceData.iosStatusBar ;
var innerHeight = deviceData.windowInnerHeight ;
var outerHeight = deviceData.windowOuterHeight ;
if (outerHeight == 0) {
var mapHeight = innerHeight - toolBars ; // Xcode 10 and lower
} else {
var mapHeight = outerHeight - toolBars ; // Xcode 11 and up.
}
document.getElementById("mapWrapper").style.height = mapHeight+"px" ;
```
**XCode 11 Simulator safe-area notch:**
I have no solution for the `safe-area` problem. And this is frustrating because I can't see what my app is going to look like on various `notch` iPhones. And since I don't have 4 of every iPhone type (running iOS x10, x11, x12, x13) I can't see what my app will look like deployed across the various iOSs which risks there being a real issue when I deploy prod apps from Xcode 11.
I verified Xcode 10 Sim iPhoneX (iOS 11.4 and 12.4) against Xcode 11 Sim iPhoneX (iOS 11.4 & 12.4) and all devices on Xcode 10 rendered properly, but none rendered properly on Xcode 11. I did this check just to ensure it wasn't an iOS 12 vs 13 issue.
I rebuilt my app using `cordova-plugin-ionic-webview`, `webview-plus` and without any webview - it didn't matter. My app deployed to Xcode 11 simulator devices with the notch all showed my app status/menu bars pushed up behind the notch.
I need to find a way of Xcode 11 Sim iPhoneX iOS 12.4 app so that I can port the compiled version over to Xcode 10 simulators just to see if it renders correctly. Since you can't run iOS 13 on Xcode 10, I have to resort to testing only older iOS versions.
Does ANYONE have a solution for this?
**Which Ionic Version?** 1.x or 2.x
Ionic v1
Answers:
username_1: The one thing I had to do with Xcode 11 (and specifically iOS 13) is to adjust the iOS detection in Ionic at the isIPad() and setPlatform() checks:
if (/iPad/i.test(self.navigator.platform) ||
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) {
My guess is that with Ionic unable to detect iPhones properly, the iOS CSS rules aren't being triggered because the "platform-ios" class isn't being added to the <body> tag?
username_0: @username_1 - I assume your fix is for the safe-area notch issue? Is it a fix specifically for the simulator or actual device deployment...or both? I will give this a shot and report back but at a 10,000 ft level I have doubts, because even on Simulators for iOS 11.4 and 12.4 the same issue is happening - its not specific to iOS 13. But it is, seemingly, specific to Xcode 11.
username_0: @username_1 - I just grabbed my neighbors iPhone11 Pro Max and the same issue regarding the "safe area" is happening on his phone too. So its not just simulators as I was hoping it was, its now a real production issue. At this point I don't think its necessarily an iOS 13 issue as much as it is an Xcode 11 issue. Because on older Xcode 10 everything deploys fine.
In fact, on his phone I downloaded active app on App Store to his phone and it runs perfectly - his phone is iOS 13, but that app was submitted with Xcode 10. Then from my new dev mac running Xcode 11, I loaded the app direct to his phone and the `safe-area/notch` issue is happening.
I do have the latest `cordova-plugin-splashscreen` and `cordova-plugin-statusbar`. All the same `safe-area` code and meta viewport tag are still in place, but something has def changed in Xcode 11 that is causing safe area to not work. Unless it requires some new techniques I am not aware of. I assume you aren't having the safe-area issue I am having (status/menu bars pushed up behind the notch) - and if NOT then I would really appreciate your assistance helping me figure out what I need to fix. I am freaking because I need to push a new version of my app soon but I can't do it if I know this UI issue is happening on iPhoneX/iPhone 11.
I am specifically using node@10 / [email protected] to avoid Gulp 4 issues - so the ONLY thing different between code on older Mac running Xcode 10 and newer Mac running Xcode 11 is Xcode itself. Identical app code base, packages, installs everything.
My meta tag:
` <meta name="viewport" content="initial-scale=1, width=device-width, height=device-height, viewport-fit=cover">`
And in my CSS:
```
body {
display: flex;
flex-direction: column;
min-height: 100vh;
padding-top: constant(safe-area-inset-top) ;
padding-top: env(safe-area-inset-top) ;
}
.tabs {
padding-top: constant(safe-area-inset-top) ;
padding-top: env(safe-area-inset-top) ;
}
```
And when I use Safari Inspector I can see `padding-top: env(safe-area-inset-top)` is applied to the BODY tag
```
body {
display: flex;
flex-direction: column;
min-height: 100vh;
padding-top: constant(safe-area-inset-top); // this line has strike through
padding-top: env(safe-area-inset-top); // this is active line on element
}
```
username_1: https://stackoverflow.com/questions/57084407/xcode-11-uilaunchimages-has-been-deprecated-use-launch-storyboards-instead-warn
Have you switched from launch images to using storyboards yet?
username_0: @username_1 - i have not, but at the same time my app builds and launches just fine and the splashscreen/launch image shows just fine. How would this be related to `safe-area` issues on iPhoneX/iPhone11 ? I am reading your link and reading up on launch story boards.
username_0: @username_1 - i just switched to a LaunchScreen.storyboard, the new image loads as the splash screen but my app is still pushed up behind the notch. Is there something from within Xcode I need to set regarding the app itself? I see when creating a storyboard you can set the 'safe zone/area` - is there something like that for the rest of the app too?
username_1: Not that I know of, no. I just set my storyboards back when the iPhone X was released in 2017 to get safe zones working in my app, as per this Medium article:
https://medium.com/@robnorback/the-5-most-important-changes-you-need-to-make-for-the-iphone-x-ba5cdc7b5811
I just manage my launch storyboards in the Resources section of Xcode. I'm not seeing any "safe zone" settings there, but maybe it's being activated automatically when they're listed. From what I can tell, storyboards affect the rest of the app; there aren't any separate settings that I know of.
The only idea I have left is migrating off of UIWebView. Apple no longer accepts apps with references UIWebView, and although you mentioned you use cordova-plugin-ionic-webview, there are still references in there as well as cordova-ios that need to be removed, and were only recently fixed a month or so ago. Have you tried upgrading to the latest cordova-ios and cordova-plugin-ionic-webview? It's unlikely this is causing the issues you're seeing, but it's something you have to do anyways if you want your app in the app store, if you haven't already.
Good luck.
username_0: @username_1 - turns out my v1 app was already using `CDVLaunchScreen.storyboard` - it was buried down in the resources and didn't know it was there. I recall months ago (on old Mac with Xcode 10) that I had to go through some new launchscreen gymnastics to get things working right. In Xcode looking at the storyboard `View Controller - View` the default view was using:
`Top Layout Guide & Bottom Layout Guide` - the Interface Builder document was not set to use `Safe Area Layout Guides` - so I checked that and held my breath thinking it might provide the boundaries on the iPhoneX. I deployed to Simulator and NOPE - it didn't help.
But the fact that I do have storyboards in place is good. I think maybe it came from `cordova-res`. However I removed the UIWebView (webview-plus) and replaced with `cordova-plugin-ionic-webview` and again it had no impact or change on the safe-area issue.
Losing my mind on this one!
username_1: "Use Safe Area Layout Guides" is unchecked in my apps, and when I check it, it gives me an "Illegal Configuration" error, saying "Safe Area Layout Guide before iOS 9.0". Maybe under "Deployment Info" you have a newer iOS target specified? Ionic targets the lowest by default, which for Xcode 11 is "iOS 8.0".
username_0: @username_1 - gotta tell ya, was hoping to make it one or two more rev's of my Ionic v1 app which would give me the time I need to finally take the plunge into Ionic 4/5. The fact that your Ionic v1 app isn't having this issue encourages me there is a solution to my Xcode 11 problem. Still working on it. Thanks for your help, I have def learned a few things as a result of your input. Gonna take a break for a good day and let my brain reboot - maybe I can tackle this better with a fresh mind.
username_0: @username_1 - well, I had a bit of progress. My `meta` tag was off...in Xcode 10 though the same meta tag worked, but not in Xcode 11, when I updated the meta tag to the proper syntax it moved the app down, but it left the ion-nav-title section still up behind the notch - with a 20px gap between the ion-nav-title and the rest of the app. Its like something else is pinning the title-bar to the top. You can see more of what I am talking about in the images I added to this stackoverflow post: https://stackoverflow.com/questions/62946011/xcode-11-simulator-window-height-and-notch-safe-areas-not-working-properly
Thoughts?!
username_0: @username_1 - at my wits end on why this is happening. If I apply `position:relative` to the `<ion-nav-bar>` the status bar moves down to where it should be (referencing picture #2 in that stackoverflow in previous message). Outside of finding the root cause for this, I am almost on the verge of using JS to ID the phone type and if iPhoneX/iPhone11 (or devices with the notch) than apply `position:relative;` to the ion-nav-bar. Not certain what else to do at this point!
username_0: @username_1 - so, in my app.js I had to add:
```
if (ionic.Platform.isIOS()) {
if (document.getElementById('ionNavBar')) {
var ionNavBar = document.getElementById('ionNavBar') ;
ionNavBar.style.position = 'relative' ;
}
}
```
I have tested on multiple iPhone simulators with and without the notch, and adding this code does not seem to impact anything else. Until I can find what is pinning the `<ion-nav-bar>` up behind the notch/safe-area I am just going to have to go with this.
username_1: Or instead you could just set this in your CSS:
'.platform-ios #ion-nav-bar { position: relative; }`
username_0: @username_1 - losing my mind.
Can you share all the exact locations you had to append for iOS detection. At this point I think the root of all my issues has to do with Xcode 11.5. On older mac with Xcode 10, everything deploys just fine to both iPhone 8 (no notch) and to iPhoneX (notch). But on new Mac with Xcode 11 the `<meta>` tag and the `padding-top: env(safe-area-inset-top) ;` are screwing up notch and notchless iPhones. On iPhone 8/7/6 its (running iOS12.x) its causing a gap between the ion-nav-bar and the rest of the app and on iPhoneX/11 its pinning the ion-nav-bar up behind the notch, and the same gap between ion-nav-bar and the rest of the app. The gap is the "safe-area" size of about 20px.
In my index.html:
` <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> `
And in my css:
```
body {
padding-top: constant(safe-area-inset-top) ;
padding-top: env(safe-area-inset-top) ;
}
```
Should there be anything else?
username_1: If you have an extra 20px gap in iPhone 8/7/6, that means you're running an old version of cordova-plugin-statusbar or cordova-plugin-splashscreen, or you're missing the following in your config.xml:
<platform name="ios">
<preference name="StatusBarOverlaysWebView" value="true" />
</platform>
username_0: @username_1 - first off, thanks for all your help. I checked my plugin versions and statusbar is the current version (v2.4.3) but my splashscreen was on v5.0.2 - so I updated it to the latest v6.0.0. I also did not have that preference set so I it to my config.xml file - and after all that, but no change. Still have gap on both phone types, however the gap on the iPhoneX is twice as tall/height as the one on the iPhone8.
Upon further inspection, on the iPhone8, the `padding-top:env(safe-area-inset-top)` is being applied and that is what is causing the gap - my understanding is that wouldn't be applied to non-notch phones but for some reason it is. Is that supposed to be added to non-notch phones? Which brings me back to wondering if Xcode 11 is the source. But the fact its not happening on your Ionic v1 apps means there is a fix for this - but what it is I have no idea. I feel that whatever the issue is, that the fix for one phone type will also fix the other phone type.
username_1: Any iPhone running 11 or newer sets safe-area-inset-top, whether a notched phone or not, so this isn't an Xcode issue, but rather the statusbar. A notched phone does have safe-area-inset-top set to a different value than a non-notched phone (40px vs 20px), but that's it.
All signs point to cordova-plugin-statusbar. Maybe your setting wasn't recognized by your test build? Make sure it's set correctly, as per the plugin docs, and then maybe reinstall the plugin?
https://github.com/apache/cordova-plugin-statusbar/
If all else fails, then it's probably your CSS. Use Safari and walk through the DOM to make sure the spacing is correct.
username_0: @username_1 - throwing my hands up....for now.
To deal with this, I wrote a function that detects phones with a notch, if true, then apply CSS to BODY and to ION-NAV-BAR:
I DO NOT like doing this but at the moment I have wasted several days tracking down this problem and I am plum outta ideas.
```
function hasNotch() {
if (CSS.supports('padding-bottom: env(safe-area-inset-bottom)')) {
let div = document.createElement('div');
div.style.paddingBottom = 'env(safe-area-inset-bottom)';
document.body.appendChild(div);
let calculatedPadding = parseInt(window.getComputedStyle(div).paddingBottom, 10);
document.body.removeChild(div);
if (calculatedPadding > 0) {
return true;
}
}
return false;
}
```
And in app.js:
```
if (ionic.Platform.isIOS()) {
ionic.Platform.fullScreen();
if (hasNotch() == true) {
console.log("NOTCH FOUND") ;
document.getElementById("body").style.paddingTop = "env(safe-area-inset-top)" ;
document.getElementById("ionNavBar").className += " ioNaveBar" ;
}
}
```
CSS:
```
.ionNavBar {
position: relative;
}
```
While researching this issue I came across android devices that now have the notch too - probably going to move the above outside the isIOS() function and make it global.
username_2: Hi Folks,
Do you have a similar solution for Cordova hybrid mobile app to fix the notch issue on a design using kWebview |
Ryujinx/Ryujinx-Games-List | 1053726333 | Title: Summer Pockets REFLECTION BLUE - 0100273013ECA000
Question:
username_0: Summer Pockets REFLECTION BLUE
#### Game Update Version 1.0.1
#### Current on master : Build Version : 1.0.7105
The game works fine in-game if successfully booted, but randomly stucks while showing logos, and the in-game screenshot doesn't work properly.
#### Hardware Specs :
##### CPU: Intel i7-10750H
##### GPU: NVIDIA GTX 1660Ti
##### RAM: 16GM
#### Outstanding Issues:
Sometimes it stucked when the "Key" logo fades. but if you open the "Settings" menu of Ryujinx, the game resumes and continues working fine.
And the in-game screenshot of savedata doesn't save properly in full-screen mode (doesn't match your current gameplay status, but window mode is fine) or after the in-game video is played (it turns black)
#### Screenshots :



#### Log file :
[Ryujinx_1.0.7105_2021-11-15_22-09-08.log](https://github.com/Ryujinx/Ryujinx-Games-List/files/7539234/Ryujinx_1.0.7105_2021-11-15_22-09-08.log) |
settintotrieste/Victoria-2-Cold-War-Enhancement-Mod-CWE | 782459720 | Title: Lack of worldwide urbanization
Question:
username_0: Farmers and labourers always seem to end up overrepresented in pretty much all countries. I imagine this is a known issue so I'll just brainstorm some solutions here.
- Increase PROMOTION_SCALE in the defines.lua file (promotion in general seems awfully slow in general, even with 100% admin efficiency).
- Remove the -0.1% promotion chance for pops who do not follow the state religion if the state religion is atheism.
- Lower the admin efficiency hit caused by social reforms (if all social reforms you require 13% of the population to be bureaucrats if you want to retain 100% promotion efficiency, which is nearly unobtainable currently).
- Tie some social reforms to mid/late game techs to further help the AI with the issue above (an example is healthcare reforms requiring techs from the Medicine tech column, or environmental reforms requiring techs from the Power tech column).
- Speed up pop promotion if you have specific techs (not sure which but the Societal Trends tech column as a whole looks somewhat appropriate for this)
- Have the Export Oriented Economy Focus, Urbanisation National Development Policy modifiers reduce RGO sizes.
- Have some techs from tech columns such as Market Functionality and Commodities (specially ones such as Green Revolution) reduce RGO sizes.
- Increase RGO_SUPPLY_DEMAND_FACTOR_FIRE in the defines.lua file from 0 to a small amount, probably something between 0.01 and 0.05. I can see this one causing more issues than the other solutions though.
- To counter some of these changes for countries and players that do wish to keep a rural society, have the Land Reform decision, Ruralisation National Development Policy and Import Substitution Industrialisation Focused Economy increase RGO sizes.
- Though not entirely related to this, each economic specialization should encourage pops to promote to specific pop types (services encourage clerks, consumer goods encourage craftsmen, heavy industry and military goods encourage both equally).
- Some countries, such as France, need to be fleshed out more when it comes to pops, with metropolitan France being a lot more rural than it should. Italy is a good example of a country with fleshed out pops and due to that their industry skyrockets within the first decade of the game, but they do experience de-urbanization through the game. This issue is a lot more annoying as it'd take ages to fully fix the entire world's pop types and have them on the same level of Italy and Spain.
Let me know if this sounds interesting for the mod, I'll do a test run with some of these changes during the weekend and reply to this post with how the economy reacts to it.
Answers:
username_1: It’s a know issue but I decided to keep it the way it is because it will eventually lead to a overhaul of everything in the mod.
The main problem is that employed craftsmen contribute almost all industry score so if craftsmen pops are increased then the GP list will be messed up. I’ll need to then edit the prestige levels again for balance.
Also, if there are too many craftsmen, factory output will completely outpace current demand. So pop demand or factory output has to be redone.
A lot more factories will also strain the RGO capacity, especially with less RGO pops. RGO production will then need to be redone.
if there are too many craftsmen at the games start then there will be massive unemployment, causing huge immigration for the first 10 years which will mess with historical population growth. If factories are added to the game’s start to address this, the problem will be what factories to use.
More factories means more profit. This is going into the national bank which can get a stack overflow from having too much money. Reducing the value of money is not feasible because it is strangely tied to how likely rebels will rise up. Decision and events money values must also be reviewed to be attainable. Tweaking factory profits to be lower risks cascading bankruptcies when the market is just slightly lower or higher.
Factories in this mod a much more productive then vanilla ones due to the gazillion modifiers and techs. To rebalance them would need to review all of them.
More factories also cause more lag.
More craftsmen also decisively shifts those heavily urbanised nations in favour of socialism. It is difficult to mod ideological development in the game so craftsmen are set to be more socialist in general. This would affect some decisions and events. If ideology was made more dynamic, the problem then becomes what criteria to use and whether the AI can replicate those criteria.
None of the problems above can be tackled in isolation, it’s a giant vicious cycle if the pop levels are done incorrectly.
I think it is better not to touch the economy too much in this mod because it’s like a stack of cards.
Status: Issue closed
|
jasmine/gulp-jasmine-browser | 67569988 | Title: How to integrate fixtures (JSON files)?
Question:
username_0: gulpfile.js:
```JavaScript
gulp.task('jasmine', function() {
return gulp.src(
[
'node_modules/underscore/underscore.js',
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'.tmp/app/all.js',
'.tmp/test/unit/all.js',
'test/*.json' // <====
],
{ base: '.' }
)
.pipe($.jasmineBrowser.specRunner())
.pipe($.jasmineBrowser.server());
});
```
See the `test/*.json` => those are JSON files that I load via XHR inside my unit tests. With gulp-jasmine-browser they don't get loaded and the XHR requests return 404 inside localhost:8888.
Using Karma, you can do that (see http://karma-runner.github.io/0.12/config/files.html):
```JavaScript
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
// Source dependencies
'node_modules/underscore/underscore.js',
'node_modules/angular/angular.js',
// Spec dependencies
'node_modules/angular-mocks/angular-mocks.js',
// Source files
'.tmp/app/all.js',
// Spec files
'.tmp/test/unit/all.js',
// Fixtures
{
pattern: 'test/*.json',
included: false
}
],
...
});
};
```
And XHR the JSON files will work.
Answers:
username_1: Jasmine does not have built-in support for fixtures or ajax mocking. The jasmine team maintains [jasmine-ajax](https://github.com/jasmine/jasmine-ajax) to serve the latter need, but providing the response is left up to the user.
Status: Issue closed
username_0: After some more investigations, JSON files get loaded on the server created by gulp-jasmine-browser. It was just a problem of path that got me into 404s. Sorry for the bad report. |
WindowsGSM/WindowsGSM | 805306671 | Title: Crash and Auto-Restart / max: 5 trys
Question:
username_0: **Is your feature request related to a problem? Please describe.**
The Problem is a easy one. If you get a Server and change somestuff on it. Sometimes you can t Test them on a Test Server. When a server starts and crashes after a short time and you get "Auto-Start" active it will restart until you go and stop it on your own.The Result is your Discord Bot starts spamming crash messages and your channel will have 200+ Messages.
**Describe the solution you'd like**
The change which could fix this problem would be. If a server crashes in 30 more then 5 Times the "Auto-Restart". Function should not restart the server again. (It should still be active on the screen but not start the server again)
A manual start should reset the crash counter back to 0.
**additional info**
Example Link https://cdn.discordapp.com/attachments/664847699765362718/800407970113388554/unknown.png
of a crash list on discord :P |
ayapapa/alminium | 69265504 | Title: subversionde
Status: Issue closed
Question:
username_0: ちなみに、クライアントの設定でもBulkモードにできる。
C:\Users\xxxxxx\AppData\Roaming\Subversion\servers
に、
http-bulk-updates = yes
を追加する
参考:
http://subversion.apache.org/docs/release-notes/1.8.html#serf-skelta-default
Answers:
username_0: ちなみに、クライアントの設定でもBulkモードにできる。
C:\Users\xxxxxx\AppData\Roaming\Subversion\servers
に、
http-bulk-updates = yes
を追加する
参考:
http://subversion.apache.org/docs/release-notes/1.8.html#serf-skelta-default |
matplotlib/matplotlib | 126781796 | Title: plt.step(..., where="auto")
Question:
username_0: I would like to suggest adding a fourth option for the `where` kwarg of `plt.step`: `where="auto"`. This would take `x` and `y` arguments *which differ by 1 (in either way)* in length, and make a step plot that either has horizontal segments at both ends (if `len(x) == len(y) + 1`) or has vertical segments at both ends (if `len(y) == len(x) + 1`).
As far as I know, currently, to make such a plot one must manually duplicate either the first or the last value in the shorter of the two arrays, which is a bit awkward. Additionally, `"auto"`-mode would make it much easier to rotate such a plot by 90° (in the "vertical" direction): you'd just have to switch the `x` and `y` arguments, without worrying about whether you need to change `where` or which element to duplicate.
Thoughts?
Answers:
username_1: I am so-so on this. I assume the use case here is histograms? In that case I think we need a set of histogram (n vals, n+1 edges) high-level plotting tools.
Embrace the unix philosophy of small tools that do one thing well rather than the app philosophy of one tool that does a lot of things so-so.
Put another way, `step` is not quite the right abstraction/semantics for plotting a histogram, instead of shoe horning the functionality in via a kwargs + huerestics, just write the opinionated function with the correct semantics. It will be clearer for user (assuming we give it a reasonable name) and easier on mpl (as we can be very specific about the inputs and what assumptions we are making about them).
username_0: Actually the use case is time series with measurements corresponding to intervals (e.g.: average velocity between to times), rather than to discrete times. So semantically I'd think it belongs in `step`.
username_2: I suppose one major problem here is to define where the vertical lines should start/end. Is it safe to assume without loss of generality that this would always be `0` in data coordinates? Or `-inf`?
username_0: if your x is [1, 2, 3] and y is [6, 7, 8, 9], then you have
vertical from (1, 6) to (1, 7)
horizontal from (1, 7) to (2, 7)
vertical from (2, 7) to (2, 8)
horizontal from (2, 8) to (3, 8)
vertical from (3, 8) to (3, 9)
conversely if x is longer than y then you start with horizontal, but all ends are well defined.
username_2: Makes sense, I misread the vertical/horizontal above. Still maybe something like "auto0", with `step([1,2,3], [7,8], where="auto0")`, which would be interpreted as `step([1,2,3], [0,7,8,0], where="auto")` would be equally useful.
username_0: `step(x, [0, *y, 0], where="auto")` is not too bad to write (and then you don't need to cater to whoever asks for auto+inf and auto-inf)
username_3: Is there some advantage to auto versus just checking the vector sizes?
username_1: I am :+1: on this, but it should be opt-in via `"auto"`.
`"interlaced"` might be a better value? We should think about the name a bite.
username_3: `where='edges'`? `where='bin-edges'`?
username_4: +1 for „edges“.
„bin-edges“ would already be an assumption on the semantics of the data. „Interlaced“ feels a bit more vague.
username_0: It's actually not clear at all to me why one may want to call this "edges"? (I... don't see the semantic association.)
username_3: "where do you want the line at y[i] to extend to?" "pre" means before x[i], "post" means after, "mid" means centered on x[i], "edges" mean treat x[i] and x[i+1] as edges of where to draw....
But I'm not strongly against "auto", its just not clear that the way to get "auto" is to provide N+1 x-values..
username_0: But it's not necessarily n+1 x values: the proposal suggests to make this also work both when there's one more x values than y values (then the first and last lines are horizontal), and when there's one more y values than x values (then the first and last lines are vertical).
username_4: What would “auto” do if x and y have the same length? “edges” would clearly raise an error.
username_0: It would raise an error; it's not clear what's "clear"(er) in "edges" raising an error...
I personally like either "auto" or "interlaced".
username_3: Yeah, sure, transpose by whatever vector is longer...
username_2: Let me also throw in two words: `"enclosed"` or `"contained"`.
I think prior to naming one should see in how far this new functionality is to be a drawstyle and hence part of the `Line2D` machinery, or just limited to the `step` function. The former would be more general and could be applied to more usecases, yet, it causes trouble because lines up to now need equal length data.
username_0: I think(?) it's not worth trying to shoehorn this into drawstyles/Line2D because of the mismatch between x and y sizes. I would just make step output a Line2D with one entry for each visual vertex (unlike "steps-pre"/"steps-mid"/"steps-post" which has one entry for every other visual vertex, and creates the "actual" vertices of the drawn line on-the-fly).
I feel like most of the names proposed here are too semantically linked to the idea of using this to draw histograms; while I am fine with that application (despite the preference of putting that functionality in hist()) this was really not the original motivation of this proposal.
username_3: But the original motivation was the same value over an averaging interval. Why wouldn't the interval be specified by "edges"?
username_2: Well, the `"enclosed"` or `"contained"` proposal was more motivated by having the y values enclose the x values, or the x values being contained in/by the y values. Somehow for the other case of more x values than y values, this would not make too much sense, in which case `"open(ed)"` or so would be the fitting term. Separating the two cases would in principle allow to still use a drawstyle and equal-length data and then ignoring one of the respective x or y coordinates at drawtime.
username_0: Note that the original motivation was also about being able to switch the x and y axises (if your time is on the vertical axis), in which case the meaning of "enclosed" and "opened" would be switched.
The problem with "edges" is that steps-pre and steps-post *also* specify edges after all; it's only the boundary conditions that change. (I guess they're also "interlaced"...) FWIW the idea behind "auto" was "automatically determine whether x's go between y's or y's go between x's".
username_2: The problem with `auto` is really that it is associated with something *auto*matically working - while in this case it would automatically fail for equal length input. I think it is hard to communicate that some auto-setting is not going to work with the default inputs.
The case discussed here is probably more an *edge*case, so `"edges"` would fit!
Concerning `(en)closed`, one could also interprete this differently, namely that you have no free ends on the line in either or both directions. This would fit for either direction.
username_5: It was this use-case that brought me here: I frequently have lists of n+1 bin edges and n bin values -- e.g. from numpy.histogram or from an incremental histogramming tool -- and want to plot them in a (maybe filled) "stepped histogram" format.
Unless I'm missing something, this isn't currently easy in matplotlib: I have to create an extra duplicate value on one end of the values array, remind myself of the semantics of the "where" argument, explicitly type that somewhat cryptic (from a histogramming mindset) extra arg for all my data lines, etc. This feels a long way from the "make simple things simple" philosophy :-)
Automatically inferring a sensible rendering behaviour for n_y = n_x - 1 would be one way to do it, hence my finding this ticket... but a dedicated set of histogram rendering commands would be even better. Is there any concrete plan or ticket for this? I'd be happy to contribute...
username_6: What is the status of this? Based on #6669 it seems we would at least want a `where="step"` option, which would be a good start.
If I understand it correctly what we want is essentially the outcome of
`ax.step(edges, np.r_[bin_values, bin_values[-1], where='post')`
but to be able to get it as
`ax.step(edges, bin_values, where='edges')`
Is that correct? If so, any guidelines on how this should be implemented other hiding it directly in step and to raise an error if one tries to supply `len(x) == len(y)` with `where='edges`` ?
username_5: That's my understanding of the desired outcome, too: this would be _really_ nice to have, rather than having to hack an obsfucatory duplication of the last counts entry every time.
username_6: @username_5 Check #15019
username_2: After a short look at #15019 I would like to reinterate the idea of making this a *drawstyle*.
If you let `step` manipulate the data and let it add or remove values at the beginning or end, the result is that the data you put in is not the data you get out.
```
line, = plt.step(*data.T)
# -> line.get_data() != data
# also
line2, = plt.step(*line.get_data().T)
# -> line1 != line2
```
This would be a rather unfortunate design, because there is no way to e.g. update such line.
However, I'd imagine being able to update those lines is pretty useful; imagine e.g. a live plot of detector events, either in histogram mode, or as a moving window average.
In contrast, if the `Line2D` itself could just take unequal sized arrays as input, and use it depending on its drawstyle the above cyclic behaviour could be guaranteed.
username_0: Closed by #18275.
Status: Issue closed
|
NJACKWinterOfCode/youtube_cli_flask | 386203143 | Title: Remove excess code from the front-end part
Question:
username_0: As of now, the front-end part is just a basic 'create-react-app' template. There are many parts like the frontend README,logo.svg etc. That are not required.
Answers:
username_1: What does this mean ??
username_0: As of now, the front-end part is just a basic 'create-react-app' template. There are many parts like the frontend README,logo.svg etc. That are not required.
username_0: As of now, the front-end part is just a basic 'create-react-app' template. And some files like the front-end README is not required.
username_1: Cool, I will take this issue. Thanks
username_1: Should I remove all the unimportant parts and simple it to say frontend or the app name or something ??
username_1: @username_0 Please Close this as well and can you please also take a look at my marks. I don't think the score is correct
Status: Issue closed
|
thingsboard/thingsboard | 994557643 | Title: [Question] How to load with labeling settings with scripts?
Question:
username_0: **Component**
Thingsboard PE
**Description**
Is it possible to change white labeling settings via any automated system? Ideally I would just put my custom translations, white labeling, etc... as files but I don't think it's possible.
I also looked into the REST API but I don't see any section related to white labeling. Did I miss it? (that way I could at least make some curl calls to feed my instance after installation).
Status: Issue closed
Answers:
username_1: Hi there,
Please refer to the [REST API](https://thingsboard.io/docs/reference/rest-api/) article, where you'll find the steps to log in with swagger and see all the requests available:
 |
dataabc/weibo-crawler | 568863925 | Title: CSV打开字段是乱码?
Question:
username_0: 4473417006580828,IuNUwrBYo,浠澶╂�绗��娆′��瀹����涓涓ü娆℃�ü���寰骞歌���板
瀹锛杩涓���澶т��圭�ュワ�璁╂浠浠韬��瀛﹀板�澶��村颁�澶╋��杩�戒�浠�i�峰��介�璋㈣阿�ㄤ�涓ü绔��垢绂�板骞��灏浼浼翠滑锛�浣 浠��璧峰伐浣��跺
寰蹇���璋㈣阿�娆㈠
瀹�浣 浠���浼甯︾ü�瀹��d唤��锛缁х画�琛�灏骞哥�灏辫��扮�浜锛绁�夸�浠��涓ü绔�芥�垢绂锛甯�涓娆★�杩�戒�浣 �搁�#涓涓ü绔��垢绂澶х�灞ü#,https://wx2.sinaimg.cn/large/006aZ9kDly1gc0tr5z1tbj30s50gldj5.jpg,,,2020-02-18,,468563,52426,74071,涓涓ü绔��垢绂澶х�灞ü,
--
Answers:
username_1: 可能是系统编码问题。
测试了上面的微博,没有问题,怀疑是系统编码问题。以前遇到过中文乱码,发现仅仅运行打印代码(print(u'测试'))都会出现错误,修改系统编码就可以正常显示了。不知道你现在碰到的是不是这个问题,如果连打印也是乱码可能就是系统编码问题,可以通过修复系统编码来解决问题。
username_0: 感谢回复,后来用文本编辑器打开是正常的,应该是mac的Excel对编码解析有问题,不影响使用
---原始邮件--- |
styled-components/styled-components | 212525045 | Title: TypeScript Props with css function
Question:
username_0: This is arguably a usage question disguised as a request for documentation clarification. I'm struggling with adapting the `css` literals based on props, as I can't find a nice way of "hooking" in the generics.
The following throws a type error as the `css` function does not recoqnize the `props.primary` interpolation:
```typescript
import * as styledComponents from "styled-components";
import { ThemedStyledComponentsModule } from "styled-components";
interface Theme {
primaryColor: string;
secondaryColor: string;
}
const { css } = styledComponents as ThemedStyledComponentsModule<Theme>;
export const MyCss = css`
color: ${(props) => props.theme.primaryColor};
background: ${(props) => props.inverted ? props.theme.secondaryColor : props.theme.primaryColor};
`;
```
`css` does have a generic interface with regards to props, however, the following is a syntax error in TypeScript 2.2. I haven't seen any examples of how (or if) one can use generic tagged template literals in TypeScript -- which may be an issue with TypeScript (haven't seen one reported):
```typescript
interface Props {
inverted: boolean;
}
export const MyCss = css<Props>`
color: ${(props) => props.theme.primaryColor};
background: ${(props) => props.inverted ? props.theme.secondaryColor : props.theme.primaryColor};
`;
```
A working solution is to explicitly give the type of props in the interpolated functions where it matters, which isn't so bad if you use an alias (badly named here, however).
```typescript
type P = ThemedStyledProps<Props, Theme>;
export const MyCss = css`
color: ${(props) => props.theme.primaryColor};
background: ${(props: P) => props.inverted ? props.theme.secondaryColor : props.theme.primaryColor};
`;
```
Could this be clarified in the docs? I can't see any examples of CSS adapting based on props -- only on theme.
Answers:
username_1: Thanks @username_0 👍 nice workaround, I also discovered it just recently. It definitely needs to be clarified in the docs.
However the most desirable syntax would be the one you pointed also, with explicit generic argument passed. It is not currently supported by TypeScript and being discussed here https://github.com/Microsoft/TypeScript/issues/11947. The feature is generally accepted by the TS team and they are accepting PRs :)
@styled-components/typers, does anyone want to update the docs? I could, probably, somewhen next week.
username_2: @username_1 I can write some docs tomorrow, I think that's better to document this way:
```ts
// this will be declared inside your custom theme definitions
type MyThemedProps<P> = ThemedStyledProps<P, MyTheme>;
// then inside your component you'll import it and use with you custom props:
interface Props {
inverted: boolean;
}
export const MyCss = css`
color: ${(props) => props.theme.primaryColor};
background: ${(props: MyThemedProps<Props>) => props.inverted ? props.theme.backgroundColor : props.theme.primaryColor};
`;
```
What do you think?
username_3: @username_2 did we ever update the docs?
Status: Issue closed
username_3: Doesn't seem like it, closing in favor of https://github.com/styled-components/styled-components-website/issues/183
username_4: The code is very verbose compared to css/less variables. I'm not yet convinced of using styled components 😅
username_5: From https://github.com/typescript-cheatsheets/react-typescript-cheatsheet#hooks
```
const ref1 = useRef<HTMLElement>(null!);
const ref2 = useRef<HTMLElement | null>(null);
``` |
UBC-MDS/DSCI_532_L02_Group212_Movies_RDash | 536648051 | Title: Remaining issues to fix
Question:
username_0: - add padding throughout
- add colours
- including overall background colours
- plot themes / styles
- years labels on x-axis of main plot are too close together
- Movie titles on two sub-plots too long (take up too much horizontal space)
- can add brief notes about the data and/or app functionality
- increase size of first plot title
Answers:
username_1: Issues Resolved :
[link_to_commit](https://github.com/UBC-MDS/DSCI_532_L02_Group212_Movies_RDash/commit/e9a748538fdbd5afa3729fb095f192fc3c7698e7)
- Padding
- Colours to the html elements
- Main Plot: Axis label, alignments etc. resolved
- Title for all plots fixed
- Brief note about app and new metric added
Issues remaining:
- dcc.markdown text - break text into new lines
- theme_set() not working
- this should take care of the axis font size and color
- library(RColorBrewer) not working
Time constraint:
- Unable to remove default plotly hover tool
- Colour of the year slider can be changed through external CSS file [link_to_original_issue](https://github.com/plotly/dash/issues/72)
username_1: **Issues Resolved :**
- Padding
- Removed background grey shade from plots
- Header fixed
**Issues remaining:**
- dcc.markdown text - break text into new lines
- theme_set() not working
- this should take care of the axis font size and color
- library(RColorBrewer) not working
**Time constraint:**
- Unable to remove default plotly hover tool
- Colour of the year slider can be changed through external CSS file link_to_original_issue
username_1: **Issues Resolved :**
- dcc.markdown text - break text into new lines
**Issues remaining:**
- theme_set() not working
- this should take care of the axis font size and color
- library(RColorBrewer) not working
**Time constraint:**
- Unable to remove default plotly hover tool over plot(s) title
- Solutions mentioned in the official issue [post(s)](https://github.com/ropensci/plotly/issues/459) not working
- Can try with html formatting
- Colour of the year slider can be changed through external CSS file link_to_original_issue
username_1: **Issues Resolved :**
- Fixed aesthetics & formatting
- [link_to_commit](https://github.com/UBC-MDS/DSCI_532_L02_Group212_Movies_RDash/pull/15/commits/03333486cef416e36bb2af4bfcaef6fee5f51ddc)
**Time constraint:**
- Unable to remove default plotly hover tool over plot(s) title
- Solutions mentioned in the [official issue](https://github.com/ropensci/plotly/issues/459) not working
- Colour of the year slider can be changed through external CSS file
- [link_to_original_issue](https://github.com/plotly/dash/issues/72) |
OctopusDeploy/Issues | 624582717 | Title: Slow API and Timeouts for users with complex permissions
Question:
username_0: # Prerequisites
- [x] I have verified the problem exists in the latest version
- [x] I have searched [open](https://github.com/OctopusDeploy/Issues/issues) and [closed](https://github.com/OctopusDeploy/Issues/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed) issues to make sure it isn't already reported
- [x] I have written a descriptive issue title
- [x] I have linked the original source of this report
- [x] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)
# The bug
<!-- A clear and concise description of what the bug is. e.g. Azure script steps fail with the following error message when the step is executed on an external worker: `The term 'Set-AzureRmEnvironment' is not recognized.` -->
Manual interventions steps on deploy and viewing releases page fail to load for users with complex permissions structure. The page errors with `Exception occured while excuting reader for <SQL Query...` or `Error while executing SQL command in transaction. Execution timeout expired.`
## What I expected to happen
The page to load in a timely manner.
## Steps to reproduce
1. Create a User with complex permissions
2. Create a Deployment and go to `Releases` tab
3. Alternatively, create a deployment with a manual intervention step for users with complex permissions
### Screen capture
<img width="806" alt="Screen Shot 2020-05-26 at 1 48 00 pm" src="https://user-images.githubusercontent.com/4622084/82858584-993b6880-9f57-11ea-97bb-86e1d928f897.png">
<img width="1241" alt="Screen Shot 2020-05-26 at 1 48 24 pm" src="https://user-images.githubusercontent.com/4622084/82858624-bb34eb00-9f57-11ea-8a53-819b29467312.png">
## Affected versions
First observed in **Octopus Server: 2019.12** and able to reproduce in **Octopus Server: 2020.2**
## Workarounds
- Reduce number of groups/teams a user belongs to and try again
## Links
Internal - https://secure.helpscout.net/conversation/1151699020/63931/
Internal - https://secure.helpscout.net/conversation/1166611408/64740<issue_closed>
Status: Issue closed |
Catapillr/loan-application-platform | 482487412 | Title: Change your answers screens
Question:
username_0: Conditionally render version of each question which is identical except:
- [ ] The answers are pre-populated
- [ ] The "progress tracker" retains state up to the Check your answers screen
- [ ] The "Continue"/"Next" call to action takes you back to the Check your answers screen<issue_closed>
Status: Issue closed |
Helithumper/r-dailyprogrammer | 479932746 | Title: [2019-08-07] Challenge #380 [Intermediate] Smooshed Morse Code 2
Question:
username_0: # Smooshed Morse Code 2
**THIS WAS WRITTEN BY A BOT** _beep boop_
**Original Link:** [https://www.reddit.com/r/dailyprogrammer/comments/cn6gz5/20190807_challenge_380_intermediate_smooshed/](https://www.reddit.com/r/dailyprogrammer/comments/cn6gz5/20190807_challenge_380_intermediate_smooshed/)
## Post Body
*Smooshed Morse code* means Morse code with the spaces or other delimiters between encoded letters left out. [See this week's Easy challenge for more detail.](https://www.reddit.com/r/dailyprogrammer/comments/cmd1hb/20190805_challenge_380_easy_smooshed_morse_code_1/)
A *permutation of the alphabet* is a 26-character string in which each of the letters `a` through `z` appears once.
Given a smooshed Morse code encoding of a permutation of the alphabet, find the permutation it encodes, or any other permutation that produces the same encoding (in general there will be more than one). It's not enough to write a program that will eventually finish after a very long period of time: run your code through to completion for at least one example.
# Examples
smalpha(".--...-.-.-.....-.--........----.-.-..---.---.--.--.-.-....-..-...-.---..--.----..")
=> "wirnbfzehatqlojpgcvusyxkmd"
smalpha(".----...---.-....--.-........-----....--.-..-.-..--.--...--..-.---.--..-.-...--..-")
=> "wzjlepdsvothqfxkbgrmyicuna"
smalpha("..-...-..-....--.---.---.---..-..--....-.....-..-.--.-.-.--.-..--.--..--.----..-..")
=> "uvfsqmjazxthbidyrkcwegponl"
Again, there's more than one valid output for these inputs.
# Optional bonus 1
[Here's a list of 1000 inputs.](https://gist.github.com/cosmologicon/415be8987a24a3abd07ba1dddc3cf389#file-smorse2-bonus1-in) How fast can you find the output for all of them? A good time depends on your language of choice and setup, so there's no specific time to aim for.
# Optional bonus 2
Typically, a valid input will have thousands of possible outputs. The object of this bonus challenge is to find a valid input with as few possible outputs as possible, while still having at least 1. The following encoded string has 41 decodings:
......-..--...---.-....---...--....--.-..---.....---.-.---..---.-....--.-.---.-.--
Can you do better? When this post is 7 days old, I'll award +1 gold medal flair to the submission with the fewest possible decodings. I'll break ties by taking the lexicographically first string. That is, I'll look at the first character where the two strings differ and award the one with a dash (`-`) in that position, since `-` is before `.` lexicographically.
*Thanks to u/Separate_Memory for inspiring this week's challenges on r/dailyprogrammer_ideas!*<issue_closed>
Status: Issue closed |
dotkom/onlineweb-frontend | 700585303 | Title: Forgotten password
Question:
username_0: There is currently a button for "Forgotten password" which does nothing.
This feature could be implemented as a page with an input field and a SEND-button that sends a `POST` to `online.ntnu.no/auth/recover` with a` x-www-form-encoded` form with `"email"`: user-entered e-mail.
Answers:
username_0: It now does something, but the magic links redirects to "/" and thus does not work
Status: Issue closed
|
baomidou/mybatis-plus | 682760822 | Title: 分页条件构建有问题,我已经设置了字段查询判断策略为not_empty,为啥分页还是会构建进去(默认分页查询)
Question:
username_0: ### 当前使用版本(必填,否则不予处理)
3.3.2
### 该问题是如何引起的?(确定最新版也有问题再提!!!)
1. 我配置文件设置了字段查询判断策略为not_empty,但调用IService中分页却没有效果,我时间的确是null,但查询sql居然是构建出来的
### 重现步骤(如果有就写完整)
1. queryWrapper构建截图

2. 构建出来sqlri日志

3. 配置文件查询策略

Status: Issue closed
Answers:
username_1: 那个策略只对wrapper内的entity有效 |
CommonGarden/Grow-IoT | 252761279 | Title: Electron app
Question:
username_0: https://electron.atom.io/
So, a school want's run a Grow-IoT server... but I not sure if the people doing this have ever run a command line application though. It would be cool if Grow-IoT could be a desktop app (i.e. not just the UI but the server too...). #decentralize
Answers:
username_0: Not priority at the moment. Closing for now.
Status: Issue closed
|
xcp-ng/xenadmin | 319808742 | Title: XCP-ng Center have invalid url on server website.
Question:
username_0: I just updated my test server to new 7.4 release from 'news' iso, and when you try to download XCP-ng Center, it show invalid url.
"Not Found
The requested URL /XCP_ng_Center_Installer.msi was not found on this server.
Xapi Server"
From full url: https://192.168.0.15/XCP_ng_Center_Installer.msi
Answers:
username_0: https://github.com/xcp-ng/xcp-ng-release/blob/master/src/xenserver/opt/xensource/www/XCP-ng-index.html
What we searching for is:
"<li><a href="XCP_ng_Center_Installer.msi">@BRAND_CONSOLE@ installer</a></li>"
Not sure how and where i can find this variable to update path (if even exist)
username_0: Oh ... someone already done request:
https://xcp-ng.org/forum/topic/58/xcpcenter-installer-link-not-found
username_1: @BRAND_CONSOLE@ is replaced by the branding build package. The problem is not the link, it's finding which package embed it in XCP-ng during install.
username_2: So this is not an error of XCP-ng Center itself
Status: Issue closed
username_3: This is now fixed in upcoming XCP-ng 7.5 :) |
jneilliii/OctoPrint-TPLinkSmartplug | 377633415 | Title: M81 plus IP not recognized after the update.
Question:
username_0: Hi,
I'm trying to issue a M81 with the ip after it and Klipper returns
`Recv: // Unknown command:"M81 192.168.1.XXX"` (removed the last 3 digits of the IP)
The printer stays on. the plug works when I press the button in Octoprint's task bar, but not with the M81 IP command.
Answers:
username_1: Are there any errors in octoprint.log?
Status: Issue closed
|
imba/imba | 606001253 | Title: Add `new item` syntax for instantiating objects
Question:
username_0: Imba currently uses the `Item.new` syntax for creating objects, as opposed to js `new Item`. In v1 where `.` meant implicit call this made decent sense, but it might be smart to change that to the js syntax in v2.
### Advantages of changing from `Item.new` syntax
- Not possible to access `new` properties on any object without doing it like `object['new']`.
- Weird that `Item.new` can be called without parens or `!` while for every other identifier it would mean accessing a property.
- The `new Item` syntax is more familiar for people coming from js
### Disadvantages
- Acessing/calling something on the new object in the same line requires parens. So `Item.new.setup()` would have to be written like `(new Item).setup()`. Not a very common pattern though.
<!--!https://gitspeak.com/-/nip4f3Lab19d9--> |
dotnet/csharplang | 413738506 | Title: Link on delegate inside of anonymous method
Question:
username_0: @vsfeedback commented on [Fri Feb 22 2019](https://github.com/dotnet/roslyn/issues/33619)
<p>I suggest to add "this"-analog for anonymous methods for easier use when it is essential to remove handler from event inside of handler itself<br>before</p><pre>Timer timer = new Timer();
//ignoring right signature for simplifying
Action a = null;
a = () =>
{
//Dosmth
timer.Elapsed -= a;
}
timer.Elapsed += a;</pre>
after:<br><br><pre>Timer timer = new Timer();
//ignoring right signature for simplifying
timer.Elapsed += () =>
{
//DoSmth<br> //thisDelegeate is the link on current delegate. Exactly this i suggest to add<br> timer.Elapsed -= thisDelegeate;
}</pre>
<br>
_This issue has been moved from https://developercommunity.visualstudio.com/content/idea/460725/link-on-delegate-inside-of-anonymous-method.html
VSTS ticketId: 795742_
_These are the original issue comments:_
<NAME> [MSFT] on 2/18/2019, 11:58 PM (3 days ago): <p>Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.</p>
---
@username_0 commented on [Sat Feb 23 2019](https://github.com/dotnet/roslyn/issues/33619#issuecomment-466692903)
This is a language request. Moving to csharplang
Answers:
username_1: @username_0 Bit off-topic, but can you start using this instead to move threads in-place?

username_2: Rather than needing a new keyword, this feature could probably reuse the `delegate` keyword.
```
timer.Elapsed += () =>
{
//DoSmth
timer.Elapsed -= delegate;
}
```
username_0: No, because I am not an admin for these repositories.
username_3: The `delegate` keyword might not be a good idea. That's a lambda, not a delegate and even though there's an implicit conversion between the two, it's still incorrect and therefore confusing.
username_4: @username_1/@username_0
Please send feedback to GitHub about this. I haven't been able to use the issue transfer feature yet at NUnit either for the same reason, and it would be really useful there.
https://twitter.com/username_436/status/1098052245894193152
Status: Issue closed
|
alexandriatech/open-sideways-dict | 806913762 | Title: MVP - Add new word Button
Question:
username_0: Requirements
- Button should always appear at the bottom even if words are found and not found
- Button should be disabled when not logged in (debating to make it clickable and take to login instead)
- If logged in then the button should open up modal

TODO:
- Connect modal issue here.
Answers:
username_0: closing with #97
it only appears entries page with the word.
just need to secure form with #98
Status: Issue closed
|
mapbox/supercluster | 145996711 | Title: Where's trees-na.json?
Question:
username_0: Hi Vladimir – fired up the demo, where do I find the trees-na.json?
Am I supposed to put my own data in there? Don't have 40 megs worth of point data
lying around atm :)
Answers:
username_1: Hi, same question.
It's also steel a bit unclear for me, can we use it without MapBox?
And do you plan to make a selection system? And it is possible with your index system?
Something like that?
http://recordit.co/cFXNDI9DhI
(based on https://github.com/Leaflet/Leaflet.markercluster)
Maybe I should make an other question issue?
Thank you!
username_2: Hi Vladimir.
Same question here too!
Sorry if I missed something.
username_3: Some explanation would be nice indeed.
username_4: It's just a sample GeoJSON file with 400k point features that I don't want to commit to the repo because it's a 40MB file. I'll think about making the demo more approachable...
Status: Issue closed
username_0: Cool, I'll find something. |
newstars/HelloR | 526693807 | Title: p84 txt 파일 불러올 시에 한글 깨짐현상에 대해 문의드립니다
Question:
username_0: 유튜브에도 댓글을 남기긴 했는데 github에도 재차 남겨봅니다.
utf-8 인코딩 설정을 하였는데도
View(ex_data)를 하면 한글이 깨져서 출력이 됩니다.
무엇이 문제일까요?

Answers:
username_1: 안녕하세요.
혹시 다운받은 파일은 제대로 보이시나요?
파일 다운로드가 제대로 안된 것처럼 보입니다.
https://www.youtube.com/watch?v=xs4cfVq5JQc
이 영상을 참고하시면 될듯 합니다.
감사합니다.
username_0: 파일을 바로 열면 제대로 보이는데 R에서 열면 그렇습니다. readxl 을 이용해서 엑셀파일 열때는 문제 없었는데, read.table로 하면 한글이 깨져서 보이더군요
username_1: 네 그런경우는 인코딩 이슈가 맞습니다.
그럴 경우 R 스튜디오에서 File창에서 txt 파일을 열어보시면 실제로도 깨져서 보이실꺼에요.
File > Reopen with encoding 메뉴에서 UTF-8로 정상적으로 보이신다면.
read.table("data_ex.txt", encoding="UTF-8") 옵션을 포함해서 저장하셔야 정상적으로 되실꺼에요.
username_0: 이상합니다. Rstudio에서 file창에서 txt 파일을 열면 정상적으로 열립니다.
ex_data <- read.table('C:/Rstudy/helloR/data/data_ex.txt')
View(ex_data)
그런데 이렇게 코드를 실행시키면 깨지네요.
username_0: 아아, encoding='UTF-8'을 넣으니 이제 정상적으로 켜집니다. 감사합니다
Status: Issue closed
username_1: 넵 다행이네요. 즐거운 공부되세요!
username_0: 참 골치아프네요.. ex_data <- read.table('C:/Rstudy/helloR/data/data_ex.txt', header = TRUE, encoding= 'UTF-8')
header = TRUE를 넣으면 또 에러가 납니다.
username_0: 왜 자꾸 오류가 나는지 모르겠습니다 ㅠ
x1_data <- read.table('C:/Rstudy/helloR/data/data_ex1.txt', sep=',', header = TRUE, fileEncoding = 'UTF-8') 입력하면
Warning messages:
1: In read.table("C:/Rstudy/helloR/data/data_ex1.txt", sep = ",", header = TRUE, :
invalid input found on input connection 'C:/Rstudy/helloR/data/data_ex1.txt'
2: In read.table("C:/Rstudy/helloR/data/data_ex1.txt", sep = ",", header = TRUE, :
'C:/Rstudy/helloR/data/data_ex1.txt'에서 readTableHeader에 의하여 발견된 완성되지 않은 마지막 라인입니다
오류가 뜹니다
username_1: 유튜브에도 댓글을 남기긴 했는데 github에도 재차 남겨봅니다.
utf-8 인코딩 설정을 하였는데도
View(ex_data)를 하면 한글이 깨져서 출력이 됩니다.
무엇이 문제일까요?

username_1: invalid input found on input connection 의 경우에는 txt 파일이 UTF-8 이 아닐 가능성이 높습니다.
메모장으로 열고 다른이름으로 저장할때 인코딩 옵션을 UTF-8로 하시거나.
위에서 말한것처럼 R 스튜디오의 File > Reopen with encoding 메뉴에서 txt 파일을 열고 하단의 Set as default encoding for source files 를 체크하고 저장을 해주세요.
username_0: UTF-8과 UTF-8(BOM)은 아예 다른건가요?
username_1: 넵 다른 형식입니다.
다음글을 참고하시면 좋겠네요.
http://blog.wystan.net/2007/08/18/bom-byte-order-mark-problem
username_0: 감사합니다 선생님~
Status: Issue closed
|
topcoder-platform/community-app | 937921495 | Title: Automated Smoke Testing - Member Profile
Question:
username_0: - TC_001
- TC_002
- TC_003
- TC_004
- TC_005
- TC_006
- TC_007
Answers:
username_0: Fixed:
https://app.circleci.com/pipelines/github/topcoder-platform/community-app/3150/workflows/e9b14cb4-8c8b-4e16-b51f-7a347225484f/jobs/13004/parallel-runs/0/steps/0-107
username_1: fixed
https://app.circleci.com/pipelines/github/topcoder-platform/community-app/3166/workflows/1dfb847b-380e-406d-ab2f-4dcbc7de88a4/jobs/13014
username_1: fixed on prod
https://app.circleci.com/pipelines/github/topcoder-platform/community-app/3169/workflows/b8742d03-8d50-4f19-8ff3-e7b7c6c31d36/jobs/13019
Status: Issue closed
|
balena-io-modules/balena-hup-action-utils | 575641124 | Title: Should have working TS compatibility checks on balenaCI
Question:
username_0: Atm `npx typescript@~3.3.0 --noEmit --project ./tsconfig.dist.json` errors, since there is a bug that requires npm v6.11.0 to be properly resolved, but as of writing this balenaCI is on npm v6.9.0.
See: https://www.flowdock.com/app/rulemotion/resin-frontend/threads/Br85Rykyh-oKOrUQr2VAuq6Tsf-
See: https://github.com/balena-io-modules/balena-hup-action-utils/pull/19 |
storybookjs/storybook | 739012049 | Title: [addons-controls] List of objects gives [object object] labels
Question:
username_0: **Is your feature request related to a problem? Please describe**
I have a prop that is an object. My component changes based on different values in that object. If I pass in an object to a select list the labels appear as [object object].
e.g. ``` argTypes: {
objectProp: {
control: {
type: 'select',
options: [{prop1: true, prop2:1}, {prop1: false, prop2:3}, {prop1: true, prop2:100}]
}
}
}```
**Describe the solution you'd like**
Maybe an additional labels prop for what you see in the dropdown UI
``` argTypes: {
objectProp: {
control: {
type: 'select',
options: [{prop1: true, prop2:1}, {prop1: false, prop2:3}, {prop1: true, prop2:100}],
labels: ['prop1', 'no prop1','prop1 with lots of prop2']
}
}
}```
**Describe alternatives you've considered**
putting the label inside the options array but there is an obvious collision risk. I also had a think about nested property targeting, perhaps with a dot notation key but I think this would be complicated... e.g.
``` argTypes: {
'objectProp.prop2: {
control: {
type: 'select',
options: [1, 3, 100],
}
}
}```
**Are you able to assist to bring the feature to reality?**
yes, I can... I can see this would need changing https://github.com/storybookjs/storybook/blob/e4c5612d8ac1cdfd4898e9f7b6fb51e0ae135176/lib/components/src/controls/options/Select.tsx
Answers:
username_1: I believe the correct syntax is:
```js
argTypes: {
objectProp: {
control: {
type: 'select',
options: {
label1: {prop1: true, prop2: 1},
'label 2 with spaces': {prop1: false, prop2: 3},
}
}
}
}
}
```
Where the keys are what shows up in the UI, and the values are the resulting arg values.
cc @jonniebigodes
Status: Issue closed
|
Turfjs/turf | 262483929 | Title: Update API Docs
Question:
username_0: A small thing, the API docs under Meta / getGeom reads:
`var geom = turf.getGeom(point)`
Should be:
`var geom = turf.invariant.getGeom(point)`
Answers:
username_1: When using `@turf/turf` it exposes all the sub methods.
**is valid**
```js
var geom = turf.getGeom(point)
```
**won't work in v5.0** (maybe it should.. 🤔 )
```js
var geom = turf.invariant.getGeom(point)
```
Ref: https://github.com/Turfjs/turf/blob/master/packages/turf/index.js#L101
username_0: thx! I absolutely love the library by the way!!!
username_1: 👍 @username_0 Thanks, don't hesitate to submit more issues if something isn't conforming to the GeoJSON spec.
Status: Issue closed
|
United-Philanthropy-Forum/km-starter-kit | 561818942 | Title: Nightly build: `composer create-project`
Question:
username_0: This would run nightly to make sure that the upstream changes for the project continue to compile. Should keep people from running into unexpected and difficult-to-debug composer issues when spinning up new sites from the starter kit. |
SunSpecOrangeButton/pyoblib | 523075242 | Title: get_all_concepts() returns incorrect values
Question:
username_0: With details=False as the input parameter this returns a list of entrypoints. With details=True as the input parameter this returns a list of concept names. This should return a list of concept names with details=False and a full set of concept Details (in the same manner than get_concept_details returns details for a singular concept) with details=True.<issue_closed>
Status: Issue closed |
cloud-gov/cg-site | 739296777 | Title: Update and clarify docs when setting an ALIAS record on apex domain
Question:
username_0: In order for customers to successfully set an ALIAS record for their apex domain, we want to clarify the documentation on on all the attributes needed to set the record. Based on the issue from https://github.com/18F/dns/issues/493
## Acceptance Criteria
* [ ] Clarifies DNS process for apex records
---
## Security considerations
none
## Implementation sketch
Background and cf service info
* [ ] TODO |
target/flottbot | 356985606 | Title: Fix coveralls to look at all directories
Question:
username_0: Currently https://coveralls.io/github/target/flottbot appears to only be looking at some directories but not all.
Answers:
username_1: I'm not sure what to make of this.. it's definitely including all the files that have tests associated with them (9) and then some random ones (to total 13 files) that are maybe accidentally covered partially by tests? others are completely omitted. maybe it works as intended?
username_0: I would expect the coveralls tree browser to display our entire fold structure instead of just those with tests.
For example, https://github.com/target/flottbot/tree/master/remote isn't displayed on the following screenshot.

username_1: The `coverage.out` file that gets produced matches with what we're seeing at coveralls - probably have to tweak the test command some
Status: Issue closed
|
aryafallahi/mithra | 937645346 | Title: [BUG] Seed amplitude not initialised
Question:
username_0: Hello Arya,
I hope everything is going well.
Recently we found an issue in our OPAL-MITHRA simulations:
The member `seed.a0_` should be initialised in the constructor `Seed::Seed()`.
Right now, `a0_` is only initialised in the `Seed::initialize(...)` function, which is only called if the `Seed{ }` option is used in the jobfile.
The problem is that `solver.cpp` checks several times if a seed has been activated with
```
if (seed_.amplitude_ > 1.0e-50)
```
but in `solver::setSimulationParameters()` the amplitude was set as
```
seed_.amplitude_ = seed_.a0_ * EM * c0_ / EC;
```
So if the `Seed{ }` option is not used in the jobfile, `amplitude_` and `a0_` are initialised at random, and could potentially be non-zero!
This can easily be fixed by adding `a0_ = 0.0` in the constructor.
Furthermore, several classes in MITHRA don't initialise all member variables in the constructor, and I think this could lead to further errors like this one in the future. I would suggest that all member variables be initialised in the constructors, even if they are later modified with an `initialise()` function
Answers:
username_1: Hi Arnau,
sorry for the long delay. Today I managed to work on the issues. This issue is hopefully resolved and I have not forgotten any parameters. Just note that the parameters in the structures are not initialized. I hope it is fine.
Regards,
Arya
Status: Issue closed
|
arsysop/liho-gradle-plugin | 636011521 | Title: Implement lazy 'liho'custom task type
Question:
username_0: Currently 'liho' task instance rescanns all the sources from the given root anytime it is called.
To gain better performance, a [custom Task Type](https://docs.gradle.org/current/userguide/custom_tasks.html) should be implemented that will skp the work if none of inputs is changed.
Answers:
username_0: Done. When niether of
- input directory
- existing output report
- liho-gradle-plugin binary
is changed, then `liho` gradle task reports `up-to-date` and is not executed.
Status: Issue closed
|
jetperch/pyjoulescope_ui | 496492644 | Title: In waveform, y-axis right click → Range → auto should immediately autoscale
Question:
username_0: With 0.6.2 on Win10x64 in waveform view, the y-axis autoranging should be immediately applied when selected. Currently, the y-axis scale stays the same until any refresh, such as x-axis zoom or pan.
To repeat:
1. Open Joulescope UI
2. Select **View** → **Oscilloscope**
3. Pause streaming or open a JLS file.
4. Right-click on the y-axis, select **Range** → **manual**.
5. Keep mouse over y-axis and use scroll wheel to zoom in.
6. Right-click on the y-axis, select **Range** → **auto**
Answers:
username_0: Fixed in 0.8.3
Status: Issue closed
|
rParslow/TeamWhisky | 232810031 | Title: BIELLE 201142%
Question:
username_0: BIELLE 2011 42%<br>
http://ift.tt/2sh7t11<br>
#TeamWhisky BIELLE 2011 42% Rhum France/Marie Galante LMDW http://ift.tt/2sh7t11 77 € <img src="http://ift.tt/2rHvQbk"><br><br>
via Fishing Reports http://ift.tt/2dm5cfF<br>
June 01, 2017 at 10:57AM |
pandorabox-io/in-game | 982018523 | Title: Upgrading container tool with Drawer and JD abilities
Question:
username_0: UncleSam ; SX ; Huhhila
A tool to copy-paste drawer's upgrades
Adding to metatool modpack, task for container tool.
Preliminary plans are made to allow similar for technic machine upgrades using container tool.
Looks like I did not have issue for machine upgrades either, created for both. Now that there's 2 things with similar functionality I might try to actually implement both:
https://github.com/username_1/metatool/issues/114
https://github.com/username_1/metatool/issues/115
Adding jumpdrive.
Separate from basic technic machines so should add another issue for that.
Bit more complicated with different types of storage.
Basically I built metatool stuff from beginning with idea that it should allow easily supporting any nodes without having to care at all about differences between nodes, that's why for example travelnets, geocaches, lcd screens, lua controllers and books are supported by single tool.
(by oversimplified definition it is basically interface translation tool)
These are very good upgrades for container tool as currently I think it is probably least useful tool in set.
Answers:
username_1: Issue for machines: https://github.com/username_1/metatool/issues/114
Issue for drawers: https://github.com/username_1/metatool/issues/115
Issue for jumpdrive: https://github.com/username_1/metatool/issues/116
Pull request (drawers, machines and jumprdrive implemented): https://github.com/username_1/metatool/pull/117
Needs testing (and possibly fixing problems if any), if you happen to have extra time feel free to fetch branch containertool-upgrade-handling to try it and report any issues to https://github.com/username_1/metatool/pull/117
Status: Issue closed
username_1: https://github.com/pandorabox-io/pandorabox-mods/pull/1999
username_0: Huhhila ; SX
Would areatool for metatool be too foreign concept, if it were to set /area_pos1 and /area_pos2 ? And read/calculate values for those by clicking JDs, various protboxes, quarries, ...?
Managing and creating areas would be easily possible with metatool easily yes but tool API is specialized more for metadata translation and manipulation than generic stuff. So could be easily done but not sure how good idea it'll be (see sharetool, it does similar things besides basic metadata translation / display) |
wekan/wekan | 835859384 | Title: deactivated users still apear in dialog boxes
Question:
username_0: ## Issue
**Problem description**:
Currently deleting users is not implemented/working (#2716). Recommended workaround is to deactivate the user in admin panels.
When start typing a user name when try to add a member to a board - then a list of users is displayed. The list contains also deactivted users. Thease should not appear. Deactivated users should not be offered as a valid choice in dialog boxes.
**Server Setup Information**:
* Note: Please anonymize info, and do not add to this public issue any of your Wekan board URLs, passwords, API tokens etc, do you understand?: YES
* Did you test in newest Wekan?: YES
* For new Wekan install, did you configure root-url correctly so Wekan cards open correctly https://github.com/wekan/wekan/wiki/Settings ? YES
* Wekan version: 5.06
* If this is about old version of Wekan, what upgrade problem you have?: NO
* Operating System: ubuntu 20.04
* Deployment Method(snap/docker/sandstorm/mongodb bundle/source): snap
* Http frontend if any (Caddy, Nginx, Apache, see config examples from Wekan GitHub wiki first): apache2 proxy
* Node Version: as bundled
* MongoDB Version: as bundled
* Wekan only works on newest desktop Firefox/Chromium/Chrome/Edge/Chromium Edge and mobile Chrome. What webbrowser version are you using? Firefox 86.01 |
IPS-LMU/emuR | 128518706 | Title: get_trackdata : works only for emuR DB with homogenous sampling rates
Question:
username_0: emuR DB allows in-homogeneous sampling rates in the WAV files.
However, get_trackdata does not: if applied to such a loaded emuR DB the user gets a generic error message that is not helpful. (test emuR DB in /vdata/BAS/Rhapsodie/)
There is no hint in the help page about that either.
Since the outcome of most wrassp functions are dependent on the sampling rate, the application of get_trackdata in many cases does not make sense (e.g. you cannot calculate the same-sized DFT spectrum across different sampling rates). Insofar it would be nice, if get_trackdata would check the emuR DB first for homogeneity and terminate with a proper error message if sampling rates are not homogeneous (and has some remark about that in the help section).
Answers:
username_1: Should this really be dealt with with a error or is a warning sufficient?
Status: Issue closed
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.