text:
pagemenu with tabbar

In your demo4 PageMenuDemoTabbar,  the last cell of tableview can not be showed completely. I meet this problem in my own project, how to resolve this issue?  :)

Me too. Did you solve it already?

@mschonvogel self.view.frame.height = self.view.frame.height - tabbar.heiht - navibar.height(if it exists and not belongs to current view) - statusbar.height.    Just have a try~~    :)

With or without tab bar the issue still exists. I haven't found a solution about the last table view cell. It's an issue about height and it disappears when you scroll via tapping the menu items, but not otherwise. Please post a solution about that if you have one.

@ulsc the subview's height is not equal to the screen's height, u should minus the page menu bar's height and other bar's height. Hope it's useful to u :)

I have same problem , if view height  minus tabbar's height , the first page doesn't show all , when  scroll to other page and back ,it will show all view.

- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    if (self.view.frame.size.height == SCREEN_HEIGHT - MENU_CONTROL_HEIGHT) {
        [self.tableView mas_updateConstraints:^(MASConstraintMaker *make) {
            make.bottom.equalTo(self.tableView.superview).with.offset(-MENU_CONTROL_HEIGHT);
        }];
    }else{
        [self.tableView mas_updateConstraints:^(MASConstraintMaker *make) {
            make.bottom.equalTo(self.tableView.superview).with.offset(0);
        }];

    }
}

The code above seems to solve the problem.

I think I have found the solution, when I scroll to other page the height turn to be fine then I scroll back to the first page everything is fine. So I added this lines of code
pageMenu.moveToPage(1)
pageMenu.moveToPage(0)

authors: alex521 chenenyu khemmachart mschonvogel ulsc zjmdp

repo: PageMenu/PageMenu


text:
SyntaxError: Unexpected token      vnodes.push(  )

有没有谁碰到过这问题？侧边栏渲染的时候，render方法内部报错。
ERROR in ./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js&)
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: E:\webDev\webpackIV\src\layout\components\Sidebar\Item.vue: Unexpected token (20:19)
if (icon) {

20 |       vnodes.push(  )
|                    ^
21 |     }
22 |
23 |     if (title) {

要安装babel的jsx插件，并配置

do like this

要安装babel的jsx插件，并配置

I did this, the error has disappeared ,but the icon still not display.

source: gharchive/issue

repo: PanJiaChen/vue-admin-template

license: MIT

license_type: permissive

license_source: github-api


text:
TagsView右键菜单获取当前tag问题

请问这里下拉菜单的点击事件中，直接传入selectedTag就能获取到当前右击的tag，是怎么做到的？？不知道这个参数是怎么传入的。

openMenu方法中传入的。

authors: PanJiaChen phoenixor

repo: PanJiaChen/vue-element-admin


text:
引入vue-pdf报错

我想用vue-pdf显示pdf, 在开发环境没问题, 但是在生产环境它报错:
GET http://ip/569d2d2aea278436377d.worker.js 404 (Not Found)    pdf.worker.js?d0ca:2 404 (Not Found)
找了一下, 发现vue-pdf编译的结果放在dist目录下, 而其他js编译完之后都放在dist/static/js目录下, 这个需要怎么解决呢

我怎么知道你代码怎么写的。。

目前水平只会抄你的demo, pdf显示也是vue-pdf的代码, 大致是下面这样:
    <el-dialog title="打印" size="small" :visible.sync="dialogFormVisible">
      <pdf ref="pdf" :src="pdfsrc"></pdf>
      <div slot="footer" class="dialog-footer">
        <el-button @click="dialogFormVisible=false">取 消</el-button>
        <el-button type="primary" @click="$refs.pdf.print()">打 印</el-button>
      </div>
    </el-dialog>

<script>
  import { fetchPDF } from 'api/orders';
  import pdf from 'vue-pdf';

  export default {
    components: {
      pdf
    },
    data() {
      return {
        pdfsrc: undefined,
	dialogFormVisible: false,
	xloboData: {
	  BillCode: undefined
	}
      }
    },
    methods: {
      handlePDF(row) {
        this.msData.BillCode = row.db_number;
	this.pdfsrc = '';
        fetchPDF(this.msData).then(response => {
	  this.pdfsrc = "data:application/pdf;base64, " + response.data.BillPdfLabel;
          this.dialogFormVisible = true;
	});
      }
    }
  }
</script>

我想请教的是: 为什么我添加了vue-pdf依赖, 但是它编译出来的js却存放在dist目录下, 而不是dist/statics/js目录下.

那它打包到去哪里了？

vue-pdf依赖的pdfjs编译之后存放在frontend/dist目录下, 其他的js都存放在frontend/static/js目录下

不是很能理解你的问题，如果你基于我项目的话 所有打包的js都会在dist/static/js下面

估计是我哪里弄错了, 我看了build配置, 应该都会往dist/static/js目录下放才对.
请问一下, 我添加依赖到项目是否只需要执行npm install vue-pdf save这个指令呢?

npm install vue-pdf --save 或者 npm install vue-pdf -S

谢谢, 我找找原因

谢谢, 我找找原因
请问解决了吗，我也碰到这个问题了

我也遇到了同样的问题，请问有解决方案了吗

我在开发环境都跑不起来这个插件！！！！
报错如下：
Unknown custom element: <pdf> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
代码如下：
<pdf :src="pdfSrc" :page="pdfCurrentPage" @num-pages="pdfPageCount=$event" @page-loaded="pdfCurrentPage=$event" @loaded="pdfLoadHandler" />

import { pdf } from 'vue-pdf'
components: {
    pdf
  },

authors: D1995 DaiShengloda PanJiaChen tacy wxlv


text:
页面刷新，不要关闭某个路由

作者，你好，首先非常感谢你开源了这么好的框架！
现在有个问题：打开了很多个路由页面，点击浏览器的刷新按钮，怎么让某个路由不要关闭，比如首页？
我现在的情况是：打开了多个路由后，一刷新浏览器，只会保留那个active的路由，其他都会关闭掉，包括我首页设置了固钉也会被关闭，但是我看了你线上的完整预览版，刷新后首页跟文档都不会被关闭。
麻烦您有空的时候看下，感谢！

因为刷新的时候vuex里的数据丢失了。把@/store/modules/tagsView中的state在浏览器sessionstage中存一份。

@hedekun 我下载了完整版的代码，作者也没有存到sessionStorage，但是不管页面怎么刷新，首页跟文档页始终不会被关闭。我是下载那个基础模板，然后自己添加了tagsView进去

@DazhiFe 你需要持续保持的话，在@/router中的meta字段中添加affix: true就可以了。实现的逻辑在@/layout/compoents/TagsView/index.vue。逻辑也是添加到已经访问的tagsView里。

src/permission.js 改动在if(hasGetUserInfo)这一块，对着 admin的模板改就行了。。。我也找了好久-.-!

@hedekun affix: true 这个有加了哦，我试下 @wubianluoye 说的，谢谢你。

我也是这个问题困扰了好久都没解决

打开的页面，一刷新除了当前页面都会被关闭，如果我不想关闭打开的页面应该怎么设置呀？

authors: DazhiFe bochoi hedekun wubianluoye zhengjf1988


text:
本项目如何webpack配置gzsip压缩，谢谢

我按照网上 compression-webpack-plugin配置，表示不成功，求

https://zhuanlan.zhihu.com/p/69864841


text:
权限结果疑惑？

看获取user 信息  返回字段有role，roles 内容一样，请问下这两个字段的区别和用途

谢谢你的提醒，目前主需要roles.
role是为了兼容老的api。已去除。历史原因。

@PanJiaChen 好的，还有一个疑惑 roles 为啥用数组，而不是一个字符串，难道是为了一个账号可能拥有多种角色考虑？

是的。

authors: PanJiaChen xdwxls

repo: PanJiaChen/vueAdmin-template


text:
depricated?

I get with the basic example in powershell this; Deno dont supprt dlopen anymore since deno 1.25.x or earlier
error: Uncaught (in promise) TypeError: Deno.dlopen is not a function

Hey, thanks for letting me know.
I'll try and update it for 1.25+ soon, maybe within the next week or so.
Sorry about that.

I believe the most recent commit (https://github.com/Pandawan/deno_notify/commit/89ed931c17a68fcefc29349b750dabcd84e69efa) should fix this.
Please try v1.4.0 and let me know if you get any issues.

I'm getting the same error for 1.4.2: "Deno.dlopen is not a function"
I'm on deno 1.31.1

@joost-de-vries So the error "Deno.dlopen is not a function" actually occurs because you did not add the --unstable flag when running your code. This library requires ffi's to work, which have not yet been stabilized by Deno, so you need to use this flag to explicitly tell Deno to allow the ffi API.
Seeing as this isn't the first time people mention this issue, I've added a section in the FAQ to address this.
Anyway, I also noticed that Deno 1.31 also added breaking changes to their FFI API so I'm releasing a new update (0d3dc10) to fix this. Should be v1.4.3.

authors: Pandawan dareksob joost-de-vries


text:
ASCII Grid writer method produces incorrect header

How to reproduce
Use ./Scenarios/Global_Grid/data/country_data_population_distribution/extractor.py to create ASCII grids.
Open an output file in a text editor and observe the header
Actual header
ncols 26
nrows 15
xllcorner -63
yllcorner 18
square_width 0.041666666666667
NODATA_value -9999

Expected header
ncols 26
nrows 15
xllcorner -63
yllcorner 18
cellsize 0.041666666666667
NODATA_value -9999

Note cellsize rather than square_width.
Fixing the header in the ascii grid allows the files to be opened in a third-party software such as QGIS.

Renamed square_width to cellsize.

repo: PandemiaProject/pandemia


text:
[Feature] User And Admin Panel

Hey!,
Can You Do A User Panel That (for Any Server) So The Server Owner Can Choose Which Command They Wanna Disable And The Admin Panel (For The Owners) So They Can Change The Bot Status Make Him Offline And More Perks,
If You Want More Explain Add Me: Arnon001#7584
Or Send a mail: arnonhacohen123@gmail.com

Hey,
Thanks for the idea @arnonGPMC I am currently working a resign for Discord BOT Dashboard, if you want to see some more features feel free to send them here.
Thanks!

authors: PapaSnags arnonGPMC

repo: PapaSnags/Discord-BOT-Dashboard


text:
fix : set unclickable that remained HTML element

Description
After a model is fully loaded, the loading HTML element still remained and clickable.
It is annoying so I commited a fix for that.

It works well! Thank you!

source: gharchive/pull-request

authors: Brianballow Taehyeong-Gim

repo: ParallelSpaceInc/poly-web


text:
requiring unknown module "parse"

package.json
{
  "name": "IOT",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "dependencies": {
    "parse": "^1.8.1",
    "parse-react": "^0.5.1",
    "react": "^0.14.7",
    "react-native": "^0.22.2",
    "react-native-vector-icons": "^1.3.2"
  }
}

Why am I getting this error?

Parse 1.8.1 is not compatible with parse-react. This is stated on the parse-react repo. You should use 1.6.14 if you wish to still use parse-react, which is in the process of being replaced with a Redux-oriented solution.

#267 @andrewimm hi i am having the same issue . and i have the parse-react 1.6.14 on my package.json

authors: andrewimm mihir-harbinger xphaul

repo: ParsePlatform/Parse-SDK-JS


text:
OAuth example

Hi,
I'm a little bit lost as how to implement a OAuth login (Facebook, Twitter, Google) in a js (cordova/react) app.
I asked for an example in the JS SDK repository without success.
https://github.com/ParsePlatform/Parse-SDK-JS/issues/222
How does all this work ? Or should I use a client lib like redux-auth ?
Thx a lot in advance,
Olivier Allouch

Please use stackoverflow for those questions. Issues reported here are for bugs and enhancements related to parse-server

authors: flovilmart oallouch

repo: ParsePlatform/parse-server


text:
don't wait for flush_ready during producer updates

This pull request addresses an issue likely related to #498. It fixes a bug causing queue flushes on Producer.update() to block the main thread for seconds or more, depending on the maximum queue size configured. In Parsely's internal case, this bug can cause the main thread to block for around five minutes at a time.

cc @jofusa, neither of us caught this when it was initially written.

Current coverage is 85.81% (diff: 100%)

Merging #594 into master will increase coverage by 0.69%

@@             master       #594   diff @@
==========================================
  Files            27         27
  Lines          3186       3187     +1
  Methods           0          0
  Messages          0          0
  Branches        508        509     +1
==========================================
+ Hits           2712       2735    +23
+ Misses          330        311    -19
+ Partials        144        141     -3

Powered by Codecov. Last update 8077e48...11df384

good catch.

authors: codecov-io emmett9001 jofusa

repo: Parsely/pykafka


text:
Ad hoc cluster #670

The LocalProvider was not generalized enough to work with both the local and ssh channels.
This PR adds support for the LocalProvider + SSHChannel combination allowing users to launch pilots on ad-hoc clusters. There are still issues with cancelling remote workers due to issues with killing nested process trees safely. For now, ipp workers will timeout in a few minutes and cleanup automatically while HTEX workers linger around.
PR also adds example configs.
Fixes #670

Thanks for testing this PR from @gordonwatts!

authors: annawoodard yadudoc

repo: Parsl/parsl

license_source: bigquery


text:
🛑 Alexandra Bridge Replacement Project is down

In ae591bf, Alexandra Bridge Replacement Project (https://ncc-ccn.gc.ca/projects/alexandra-bridge-replacement#) was down:

HTTP code: 403
Response time: 241 ms

Resolved: Alexandra Bridge Replacement Project is back up in b795df6 after 2 hours, 20 minutes.

repo: PatLittle/Consultations-Tracker


text:
Unsafe APK

I had hope for this application, it looks good and complete for my needs until i realised it is flagged 9/10, even by people...
Yeah, most AV engine flagged this project/product, well sad, id hope for the future they would remove any malicious code or the ones that would flag it or just [rem].
If you guys would please clarify and give us some answers?, maybe it will clear things up
please??

The software does not have any reinforcement, and you can completely use MT manager or jadx to modify it twice. I have no plan to update it, so it has not been updated from 2022 to 2024
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: nom @.>
发送时间: Monday, November 4, 2024 7:20:42 PM
收件人: PatrickAlex2019/ApkEditor @.>
抄送: Subscribed @.***>
主题: [PatrickAlex2019/ApkEditor] Unsafe APK (Issue #12)
I had hope for this application, it looks good and complete for my needs until i realised it is flagged 9/10, even by people...
Yeah, most AV engine flagged this project/product, well sad, id hope for the future they would remove any malicious code or the ones that would flag it or just [rem].
If you guys would please clarify and give us some answers?, maybe it will clear things up
please??
―
Reply to this email directly, view it on GitHubhttps://github.com/PatrickAlex2019/ApkEditor/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANA6W75PWUTFMYYEP2LZSBDZ65KAVAVCNFSM6AAAAABREA3UNSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTENJTGY2TGMQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I actually didn't expect you would reply from a project updated 2 years ago, I appreciate your response, i understand why you didn't updated it, but i suggest you add a disclaimer so that other people would understand the issues and the projects inactive, again thanks for the response ^_^

The software does not have any reinforcement, and you can completely use MT manager or jadx to modify it twice. I have no plan to update it, so it has not been updated from 2022 to 2024 获取 Outlook for iOShttps://aka.ms/o0ukef
…
________________________________ 发件人: nom @.> 发送时间: Monday, November 4, 2024 7:20:42 PM 收件人: PatrickAlex2019/ApkEditor @.> 抄送: Subscribed @.> 主题: [PatrickAlex2019/ApkEditor] Unsafe APK (Issue #12) I had hope for this application, it looks good and complete for my needs until i realised it is flagged 9/10, even by people... Yeah, most AV engine flagged this project/product, well sad, id hope for the future they would remove any malicious code or the ones that would flag it or just [rem]. If you guys would please clarify and give us some answers?, maybe it will clear things up please?? ― Reply to this email directly, view it on GitHub<#12>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANA6W75PWUTFMYYEP2LZSBDZ65KAVAVCNFSM6AAAAABREA3UNSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTENJTGY2TGMQ. You are receiving this because you are subscribed to this thread.Message ID: @.>


text:
Error message when internet connection is not available

CoinMarketCap v1.0.0-stable
macOS 10.13.3 (17D25b)
Reproducibility: always
Steps:

Disconnect from internet.
Launch CoinMarketCap.

What happened:
A white screen is shown.

Expected result:
An error message is displayed, eg. Unable to connect. Please check your internet connection.
Notes:
This should be handled all across the app, not just on startup.

App is deprecated. Retracting.

repo: PaulRBerg/CoinMarketCap-Desktop


text:
Error HH201: Could not set param noTypechain for task compile because its name is already used.

Initialized a new Hardhat Typescript project with
npx hardhat --> Create an advanced sample project that uses TypeScript

Ran the installation command from README:
yarn add --dev hardhat-packager typechain @typechain/hardhat @typechain/ethers-v5

Running any hardhat task fails with the following error:

Searching for noTypechain yields the following results:

Removed @typechain/hardhat from package.json and reinstalled

Works as expected

Looks like some kind of conflict for the @typechain/hardhat package
Related dependencies used:
"devDependencies": {
  "@typechain/ethers-v5": "^9.0.0",
  "@typechain/hardhat": "^4.0.0",
  "ethers": "^5.5.4",
  "hardhat": "^2.8.4",
  "hardhat-packager": "^1.2.1",
  "typechain": "^7.0.0",
}

This may be related to https://github.com/dethcrypto/TypeChain/discussions/526.
What version of hardhat, typechain and @typechain/ethers-v5 did you use?

Updated the op with the related dependencies

Yeah this is caused by https://github.com/dethcrypto/TypeChain/discussions/526.
Make sure to follow the peer dependency rules listed in my package.json file. You can't use hardhat-packager with the latest versions of TypeChain (yet). I'm working on a fix as we speak.

Okay, this should be fixed in v1.3.0.
Let me know if that works for you, @sebastiantf!

Awesome! Working fine now! Thanks!

@PaulRBerg I am experiencing the same issue in my repository when upgrading to the latest version of Hardhat 2.20.0 and ethers v6. This is my package.json below:
This is the PR and the file changes where we are experiencing the issue: https://github.com/lukso-network/lsp-smart-contracts/pull/889/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
"devDependencies": {
    "@b00ste/hardhat-dodoc": "^0.3.16",
    "@erc725/erc725.js": "0.23.0",
    "@lukso/eip191-signer.js": "^0.2.2",
    "@nomicfoundation/hardhat-toolbox": "^4.0.0",
    "@nomiclabs/hardhat-web3": "^2.0.0",
    "@turbo/gen": "^1.12.3",
    "@typechain/ethers-v6": "^0.5.1",
    "@typechain/hardhat": "^9.1.0",
    "all-contributors-cli": "^6.26.1",
    "dotenv": "^16.0.3",
    "esbuild": "^0.17.15",
    "eslint": "^7.32.0",
    "eslint-config-custom": "*",
    "eth-create2-calculator": "^1.1.5",
    "ethers": "^6.11.0",
    "hardhat": "^2.20.0",
    "hardhat-contract-sizer": "^2.8.0",
    "hardhat-deploy": "^0.11.25",
    "hardhat-deploy-ethers": "^0.4.1",
    "hardhat-gas-reporter": "^1.0.9",
    "hardhat-packager": "^1.4.2",
    "markdown-table-ts": "^1.0.3",
    "npm-run-all": "^4.1.5",
    "pluralize": "^8.0.0",
    "prettier": "^2.8.8",
    "prettier-plugin-solidity": "^1.1.3",
    "rollup-plugin-esbuild": "^5.0.0",
    "solhint": "^3.6.2",
    "ts-node": "^10.2.0",
    "turbo": "latest",
    "typechain": "^8.3.2",
    "typescript": "^5.3.3",
    "unbuild": "^2.0.0",
    "vite-plugin-checker": "^0.5.6",
    "vite-tsconfig-paths": "^4.0.7",
    "web3": "^1.5.2"
  },
  "peerDependencies": {
    "@typechain/hardhat": "9.x",
    "hardhat": "2.x",
    "lodash": "4.x",
    "typechain": "8.x"
  },

The reason it was failing is because hardhat-packager uses v6.0.0 of @typechain/hardhat, while my package.json had ^9.1.0 set.
In order to solve this, we had to do the following:

add the following entry in the package.json, to force resolution to only this version.

"resolutions": {
    "@typechain/hardhat": "9.1.0"
  }

set the following preinstall command in the "script": {} section of the package.json:

"scripts": {
    "preinstall": "npx --yes force-resolutions",
     // your other scripts...
}

delete your node_modules (and package-lock.json as well eventually). And re-run npm i

re-run npm i a 2nd time after the new package-lock.json got generated.

After that, you can run the following rg command below to ensure only one dependency of @typechain/hardhat is installed to resolve to. If two version appear (the one as well from hardhat-packager, then it will not work.
rg --no-ignore -l noTypechain node_modules

Kudos to @richtera for his help on debugging this issue! 🚀

authors: CJ42 paulrberg sebastiantf

repo: PaulRBerg/hardhat-packager


text:
Phone validation

Features

Added an extra check to force mobile numbers to be 11 characters long

[Delivers: #142219727]

@EvanBarbour3 Ready for your review

@00eadeyemi Ready for your review.

@00eadeyemi Refactored the code to use the built in regex validation of the plugin. Ready for your review.

@00eadeyemi Refactored the code to use the built in regex validation of the plugin. Ready for your review.

@00eadeyemi Moved code into discussed formValidationRules js file, ready for another look.

Tested and working

repo: PayBreak/basket

license: mit


text:
DelegatingLoader not Working with Spring Boot

I initialize Pebble with this code:
@Bean
public PebbleEngine pebbleEngine() {
	return new PebbleEngine.Builder().extension(springExtension()).build();
}

@Bean
public SpringExtension springExtension() {
	return new SpringExtension();
}

@Bean
public ViewResolver viewResolver() {
	final PebbleViewResolver viewResolver = new PebbleViewResolver();
	viewResolver.setPrefix("/templates/");
	viewResolver.setSuffix(".twig");
	viewResolver.setPebbleEngine(pebbleEngine());
	return viewResolver;
}

This is working very well, when running the project from Eclipse on a local Tomcat.
Running it with Spring Boot, as Java application, I get this Stacktrace:
com.mitchellbosecke.pebble.error.LoaderException: Could not find template "index.html" (?:?)
	at com.mitchellbosecke.pebble.loader.DelegatingLoader.getReader(DelegatingLoader.java:74)
	at com.mitchellbosecke.pebble.loader.DelegatingLoader.getReader(DelegatingLoader.java:27)
	at com.mitchellbosecke.pebble.PebbleEngine.retrieveReaderFromLoader(PebbleEngine.java:173)
	at com.mitchellbosecke.pebble.PebbleEngine.access$300(PebbleEngine.java:52)
	at com.mitchellbosecke.pebble.PebbleEngine$1.call(PebbleEngine.java:126)
	at com.mitchellbosecke.pebble.PebbleEngine$1.call(PebbleEngine.java:120)
	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4904)
	...

Any ideas why?

Where's your TemplateLoader ? See http://www.mitchellbosecke.com/pebble/documentation/guide/spring-integration

authors: MBurchard ebussieres

repo: PebbleTemplates/pebble


text:
Accomodate accuracy computation in Subscriber framework

Need to think about how to funnel labels to subscribers in the correct order and the network's final output (maybe finally use tag property to tag the layer's messages?). This is necessary for emitting accuracy measures.

Fixed by introducing new message types for network_output, input_data, input_labels…


text:
[ENH] Add option of creating output folders to zip

Currently BABS assumes that the output folders listed under zip_foldernames will be created by BIDS Apps. However, this is not always be created by BIDS Apps, e.g., fMRIPrep latest BIDS output layout. Therefore, in this PR, we give users an option to ask BABS to create output folders to zip.

Ah I realized that the commits merged from another branch (PR #103) is showing up here... I will close this PR, and create a new one with PR #103 merged.

repo: PennLINC/babs


text:
pyAFQ within QSIprep does not read --recon_spec json file correctly?

Summary
When running reconstruction using qsiprep for pyafq_tractography it seems that the custom config (given by --recon-spec) is not read correctly.
Additional details

QSIPrep version:  QSIprep 0.20.1.dev0+geda84d5.d20240112
Singularity version: 3.11.0

What were you trying to do?
Modify the pyafq_tarctography.json to change random_seeds parameter to true and n_seeds to 1500000. I created a new pyafq_tarctography_NYU.json config (below) based on pyafq_tarctography.json and mounted it inside the singularity image so it can be read using --recon-spec
{
    "description": "Use pyAFQ to perform the full Tractometry pipeline",
    "space": "T1w",
    "name": "pyafq_tractometry_NYU",
    "atlases": [],
    "nodes": [
        {
            "name": "pyafq_tractometry_NYU",
            "software": "pyAFQ",
            "action": "pyafq_tractometry",
            "input": "qsiprep",
            "output_suffix": "PYAFQ_TRACTOMETRY",
            "parameters": {
                "use_external_tracking": false,
                "export": "all",
                "random_seeds": true,
                "n_seeds": 1500000,
                "odf_model": "CSD",
                "seg_algo": "AFQ",
                "parallel_segmentation": "{'n_jobs': -1, 'engine': 'joblib', 'backend': 'loky'}",
                "n_points": 100,
                "clean_rounds": 5,
                "distance_threshold": 3,
                "length_threshold": 4,
                "min_sl": 20,
                "stat": "mean",
                "scalars": "['dti_fa', 'dti_md']",
                "import_tract": ""
            }
        }
    ]
}

What did you expect to happen?
Tracking until 1500000 bundles are created (example below comes from running pyAFQ (1.2) natively on the same data)
INFO:AFQ:Loading Image...
INFO:AFQ:Generating Seeds...
INFO:AFQ:Getting Directions...
INFO:AFQ:Tracking...
1%|          | 16149/1500000 [01:31<2:17:09, 180.30it/s]
Code run:
BIDS_DIR = "/scratch/jk7127/qsiprep_run/BIDS"

tracking_params = {"random_seeds" : True,
                  "odf_model" : "CSD",
                  "n_seeds" : 1500000}

brain_mask_definition = ImageFile(
    suffix="mask",
    filters={'desc': 'brain',
             'space': 'T1w',
             'scope': 'qsiprep'})

myafq = GroupAFQ(bids_path=BIDS_DIR,
                 segmentation_params={"seg_algo": "afq"},
               	 scalars=["dti_fa", "dti_md"],
  		 clean_params={"n_points":100, "clean_rounds":5, "distance_threshold":3,"length_threshold":4,"min_sl":20, "stat":"mean"},
                 tracking_params=tracking_params,
		 preproc_pipeline='qsiprep',
		 participant_labels=subjid
)

bundle_html = myafq.export_all(viz=False,afqbrowser=False, xforms=False,indiv=True)>

What actually happened?
INFO:AFQ:Loading Image...
INFO:AFQ:Generating Seeds...
INFO:AFQ:Getting Directions...
INFO:AFQ:Tracking...
31%|███       | 62192/200885 [05:57<16:00, 144.46it/s]
Seems that the parameters are not read as max number of fibers is 200885
Code run:
sub=$1

# load the freesurfer module
module load freesurfer/6.0.0
source /share/apps/freesurfer/6.0.0/SetUpFreeSurfer.sh

singularity run --cleanenv --containall --writable-tmpfs \
    -B /scratch/jk7127/qsiprep_run/work:/work,/scratch/jk7127/qsiprep_run/BIDS/,${FREESURFER_HOME}/license.txt:/opt/freesurfer/license.txt,/scratch/jk7127/qsiprep_run/pyafq_tractometry_NYU.json:/pyafq.json \
    /scratch/jk7127/Singularity/qsiprep.sif \
    /scratch/jk7127/qsiprep_run/BIDS/ /scratch/jk7127/qsiprep_run/BIDS/derivatives/ participant \
    --fs-license-file /opt/freesurfer/license.txt \
    --participant_label $sub \
    --output-resolution 1.5 \
    -w /work \
    --recon_only \
    --recon_spec /pyafq.json \
    --recon_input /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/
exit 0

below is report.srt created by qsiprep before running reconstruction (seems all parameters are read correctly). report.srt comes from:
/scratch/jk7127/qsiprep_run/work/qsirecon_wf/sub-wlsubj121_pyafq_tractometry_NYU/sub_wlsubj121_ses_nyu3t02_acq_138vols_space_T1w_desc_preproc_recon_wf/pyafq_tractometry_NYU/run_afq/_report/report.rst

Original Inputs
---------------

* bval_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.bval
* bvec_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.bvec
* dwi_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.nii.gz
* itk_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/anat/sub-wlsubj121_from-MNI152NLin2009cAsym_to-T1w_mode-image_xfm.h5
* kwargs : {'n_seeds': 1500000, 'random_seeds': True, 'odf_model': 'CSD', 'seg_algo': 'AFQ', 'parallel_segmentation': {'n_jobs': -1, 'engine': 'joblib', 'backend': 'loky'}, 'n_points': 100, 'clean_rounds': 5, 'distance_threshold': 3, 'length_threshold': 4, 'min_sl': 20, 'stat': 'mean', 'scalars': ['dti_fa', 'dti_md'], 'import_tract': None, 'omp_nthreads': 8}
* mask_file : /work/qsirecon_wf/sub-wlsubj121_pyafq_tractometry_NYU/sub_wlsubj121_ses_nyu3t02_acq_138vols_space_T1w_desc_preproc_dwi_specific_anat_wf/resample_mask/sub-wlsubj121_desc-brain_mask_trans.nii.gz
* tck_file : <undefined>

Seems n_seeds parameter is not read at all. Setting it to a string in the recon_spec file does not cause any error.
Original Inputs
---------------

* bval_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.bval
* bvec_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.bvec
* dwi_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/ses-nyu3t02/dwi/sub-wlsubj121_ses-nyu3t02_acq-138vols_space-T1w_desc-preproc_dwi.nii.gz
* itk_file : /scratch/jk7127/qsiprep_run/BIDS/derivatives/qsiprep/sub-wlsubj121/anat/sub-wlsubj121_from-MNI152NLin2009cAsym_to-T1w_mode-image_xfm.h5
* kwargs : {'n_seeds': 'wrong_string', 'random_seeds': True, 'odf_model': 'CSD', 'seg_algo': 'AFQ', 'parallel_segmentation': {'n_jobs': 8, 'engine': 'joblib', 'backend': 'loky'}, 'n_points': 100, 'clean_rounds': 5, 'distance_threshold': 3, 'length_threshold': 4, 'min_sl': 20, 'stat': 'mean', 'scalars': ['dti_fa', 'dti_md'], 'omp_nthreads': 8}
* mask_file : /work/qsirecon_wf/sub-wlsubj121_pyafq_tractometry_NYU/sub_wlsubj121_ses_nyu3t02_acq_138vols_space_T1w_desc_preproc_dwi_specific_anat_wf/resample_mask/sub-wlsubj121_desc-brain_mask_trans.nii.gz
* tck_file : <undefined>

Thanks for reporting this! Just to see that I understand what's going on, could you share your recon_spec file and how you called it?

Oh - sorry - I only saw the last message and not the entire thread before it! I see your recon_spec is up there (and sorry for the slowness picking up this issue!).

OK - I think that I understand what's going on. The issue is that all the arguments in the recon_spec are being passed to ParticipantAFQ as one dict kwargs here: https://github.com/PennLINC/qsiprep/blob/bd788392cfe6182a581473d0c5685f6d06bcc8c3/qsiprep/interfaces/pyafq.py#L106, but tracking parameters (for example n_seeds) need to be in a separate nested dict called tracking_params, otherwise they are ignored. My suggestion would be to add the tracking parameters defaults as a dict in the same way that parallel_params are added: https://github.com/PennLINC/qsiprep/blob/bd788392cfe6182a581473d0c5685f6d06bcc8c3/qsiprep/data/pipelines/pyafq_tractometry.json#L36, but not 100% sure whether that would work.
@jk619 : I hope what I am saying makes sense to you. Would you mind running your processing with a recon_spec that looks like below? I've changed one line marked with a comment:
{
    "description": "Use pyAFQ to perform the full Tractometry pipeline",
    "space": "T1w",
    "name": "pyafq_tractometry_NYU",
    "atlases": [],
    "nodes": [
        {
            "name": "pyafq_tractometry_NYU",
            "software": "pyAFQ",
            "action": "pyafq_tractometry",
            "input": "qsiprep",
            "output_suffix": "PYAFQ_TRACTOMETRY",
            "parameters": {
                "use_external_tracking": false,
                "export": "all",
                "tracking_params: {"random_seeds": true, "n_seeds": 1500000},    #  <= This is what I've changed
                "odf_model": "CSD",
                "seg_algo": "AFQ",
                "parallel_segmentation": "{'n_jobs': -1, 'engine': 'joblib', 'backend': 'loky'}",
                "n_points": 100,
                "clean_rounds": 5,
                "distance_threshold": 3,
                "length_threshold": 4,
                "min_sl": 20,
                "stat": "mean",
                "scalars": "['dti_fa', 'dti_md']",
                "import_tract": ""
            }
        }
    ]
}

Hi Arliel,
Thanks for taking a look!
I tried both but none worked
"tracking_params": {"random_seeds": true, "n_seeds": 1500000},
"tracking_params": "{'random_seeds': true, 'n_seeds': 1500000}" - same  syntax as for parallel_segmentation

Introducing the tracking_params dict to the json file removed random_seeds and n_seeds from the report.rst (somewhat expected I think) but there is no sign of tracking_params there.
#previous:
* kwargs : {'n_seeds': 'wrong_string', 'random_seeds': True, 'odf_model': 'CSD', 'seg_algo': 'AFQ', 'parallel_segmentation': {'n_jobs': 8, 'engine': 'joblib', 'backend': 'loky'}, 'n_points': 100, 'clean_rounds': 5, 'distance_threshold': 3, 'length_threshold': 4, 'min_sl': 20, 'stat': 'mean', 'scalars': ['dti_fa', 'dti_md'], 'omp_nthreads': 8}
current:
* kwargs : {'odf_model': 'CSD', 'seg_algo': 'AFQ', 'parallel_segmentation': {'n_jobs': -1, 'engine': 'joblib', 'backend': 'loky'}, 'n_points': 100, 'clean_rounds': 5, 'distance_threshold': 3, 'length_threshold': 4, 'min_sl': 20, 'stat': 'mean', 'scalars': ['dti_fa', 'dti_md'], 'import_tract': None, 'omp_nthreads': 8}
PS. I looked at printouts produced by the recon workflow and seems I never get this info:
https://github.com/PennLINC/qsiprep/blob/bd788392cfe6182a581473d0c5685f6d06bcc8c3/qsiprep/workflows/recon/pyafq.py#L97-L100
Would be easy to trace the kwargs error based on that

I have a feeling that the order of the loops here might be causing the problem.
https://github.com/PennLINC/qsiprep/blob/bd788392cfe6182a581473d0c5685f6d06bcc8c3/qsiprep/workflows/recon/pyafq.py#L22-L48
Line 35 is never reached as tracking_params is not a default parameter provided by arg_dict = afb.func_dict_to_arg_dict(). arg_dict has parameters like n_seeds but they are not under a tracking_params group which seems to be relevant.
This is an attempt to fix it, however, the config file will only have parameters that belong to one of three groups "CLEANING_PARAMS", "SEGMENTATION", "TRACTOGRAPHY_PARAMS"). Not sure if any other should be considered.
import AFQ
import AFQ.utils.bin as afb

def _parse_qsiprep_params_dict(params_dict):
    arg_dict = afb.func_dict_to_arg_dict()
    kwargs = {}
    special_args = {
        "CLEANING_PARAMS": "clean_params",
        "SEGMENTATION": "segmentation_params",
        "TRACTOGRAPHY_PARAMS": "tracking_params"}

    for key in arg_dict.keys():
        if key in special_args.keys():
            if special_args[key] in params_dict.keys():
                for actual_key in params_dict[special_args[key]].keys():
                    if actual_key in arg_dict[key].keys():
                        kwargs[special_args[key]] = afb.toml_to_val(params_dict[special_args[key]])
        else:
            kwargs[key] = afb.toml_to_val(params_dict[key])

    for ignore_param in afb.qsi_prep_ignore_params:
        kwargs.pop(ignore_param, None)

    return kwargs

params_dict = {}
params_dict['tracking_params'] = {}
params_dict['tracking_params']['n_seeds'] = 1500000
params_dict['tracking_params']['random_seeds'] = True
params_dict['clean_params'] = {}
params_dict['clean_params']['n_points'] = 200
kwargs = _parse_qsiprep_params_dict(params_dict)
print(kwargs)

OUTPUT:
{'tracking_params': {'n_seeds': 1500000, 'random_seeds': True}, 'clean_params': {'n_points': 200}}
PS. Seems that TRACTOGRAPHY_PARAMS has relevant fields for tracking_params not TRACTOGRAPHY (line 29)

I think the problem lies here:
https://github.com/PennLINC/qsiprep/blob/bd788392cfe6182a581473d0c5685f6d06bcc8c3/qsiprep/workflows/recon/pyafq.py#L22-L48
All parameters are assigned directly to kwargs  (i.e kwargs[n_seeds] instead of kwargs[tracking_params][n_seeds]. I think the easiest is to find to which category n_seeds belongs (in this case [tracking_params]) and assign it there. This would avoid playing with the json file and adding tracking_params there.
Alternatively, when adding tracking_params to the json file (as you proposed)
"tracking_params": {"random_seeds": true, "n_seeds": 1500000},
line 35 is never reached as tracking_params is not a default parameter loaded in line 23.
This is my solution (hope it helps and makes sense) but parameters that are not a part of tracking_params, segmentation_params or cleaning_params are not currently assigned so probably it needs another fix.
import AFQ
import AFQ.utils.bin as afb
import pdb

def _parse_qsiprep_params_dict(params_dict):
    arg_dict = afb.func_dict_to_arg_dict()
    kwargs = {}
    special_args = {
        "CLEANING_PARAMS": "clean_params",
        "SEGMENTATION": "segmentation_params",
        "TRACTOGRAPHY_PARAMS": "tracking_params"}

    for key in params_dict.keys():
        for special_key in special_args.keys():
            if key in arg_dict[special_key].keys():
                if special_args[special_key] not in kwargs:
                    kwargs[special_args[special_key]] = {}

                kwargs[special_args[special_key]][key] = afb.toml_to_val(params_dict[key])

    for ignore_param in afb.qsi_prep_ignore_params:
        kwargs.pop(ignore_param, None)

    return kwargs

params_dict = {}
params_dict['n_seeds'] = 1500000
params_dict['random_seeds'] = True
params_dict['n_points'] = 200

kwargs = _parse_qsiprep_params_dict(params_dict)
print(kwargs)

OUTPUT
{'tracking_params': {'n_seeds': 1500000, 'random_seeds': True}, 'clean_params': {'n_points': 200}}
PS. It seems that tracking_params are stored under TRACTOGRAPHY_PARAMS not in TRACTOGRAPHY (line 29)

repo: PennLINC/qsiprep


text:
[Frontend] Hotfix for error flag on ubuntu machine without clang.

Context: The empty argument in the flags causes the ld failure when invoking gcc via subprocess (and inter-process communication) but not clang
Description of the Change: Only add flag when in macOS.
Benefits: User can avoid install clang.
Related GitHub Issues:

Went looking for this fix and couldn't find it in the changelog 👀

repo: PennyLaneAI/catalyst


text:
同遊戲不同角色的live2d模型只有一個能Extract

我的各角色live2d是.bundle檔案，每個角色的檔案我都用assetstudio確認過有moc和phy的檔案，但我把他們各自放到不同資料夾且把各自的資料夾拖到live2dextractor時只有固定的某個角色能成功，其他的全部都是跳出終端機一下就立刻沒了。
我曾想過是不是因為檔案是中文名，但當我把能輸出成功的檔案改中文名且不能輸出的改英文名時，前者依舊可以輸出成功，後者依舊不行。
如果能夠幫助我我會很感謝的。

https://drive.google.com/drive/folders/1hKH4_5r-w4q072bLXAoLlgKuRpvRL2hZ
這是.bundle檔，能夠成功extract的角色叫福爾蒂娜

我猜，你这个游戏是猫猫头

Memento Mori我倒是导出出来了，但是还是有些小问题（


text:
Accessibility: Show preview when changing layout using keyboard navigation

Currently the carousel only works with mouse hover

Closed due to 4 weeks of inactivity.
Feel free to reopen with new input.

This issue should not be closed due to inactivity - these will take time to fix but remain severe accessibility issues.

authors: PerplexDaniel glombek


text:
Check email verified for edits via API

For the API views in gennotes_server/views.py we want to enforce sure edits are only coming with users that have verified email address.
Could do this by creating a custom permissions & permissions.py - I think the field that should be checked is the verified field for EmailAddress in allauth.account.models

#11 tries to fix this, but it turns out it was already the behavior -- Django allauth doesn't let you log in when your email address is not verified, and IsAuthenticatedOrReadOnly checks whether you're logged in.  So we can just close this.

Fixed via #11, and merged.
Wasn't redundant, allauth only checks email=verified through the user login view (i.e. the login form on the website), not other paths to user authentication.

authors: cjb madprime

repo: PersonalGenomesOrg/gennotes


text:
Re-Onboarding of Bayer to the DEV network

Bayer will rejoin the DEV network with a new IT infrastructure setup. Thereby, only the blockchain node will rejoin the network.
What will stay the same?

everything, besides the blockchain node DNS name
e.g. the following will stay the same:

Blockchain node IP address
Blockchain node Egress IP address
enode key
validator key

What will change?

Bayer blockchain enode IP adress

What is required by the other companies?

Update the enode with the IP address instead of a DNS name

Date & Time - MSD  adding of new enode details: DONE
Date & Time - Bayer node successfully synchronizes: In progress
Test cases:

Check the blockchain generated log files - on Bayer and MSD side

Date & Time - Other participants adding of new enode details: by 07.04.2022
Test cases:

Check the blockchain peer node status and log files at all companies

Bayer is seeing incoming connections from

[x] Romsoft
[x] MSD

Bayer Node is fully synced 2022-04-04 10:25 CET:  blockNumber: 4328819

Modified enode detail in J&J side.

authors: RakeshL-JnJ lukasosterheider tgip-work

repo: PharmaLedger-IMI/epi-workspace


text:
Browser Issue

I got different results with two different browser. At the back is opera, in the front is firefox. So by default both browser show different results.
I added the following line to the example.php to see whats in the userlangs array.
print_r($i18n->getUserLangs());

OS: Ubuntu 16.04
Opera Version: 46.0
Firefox Version: 54.0

As noted in README language may be applied throw several ways
...
GET parameter 'lang' ($_GET['lang'])
SESSION parameter 'lang' ($_SESSION['lang'])
HTTP_ACCEPT_LANGUAGE (can be multiple languages) ($_SERVER['HTTP_ACCEPT_LANGUAGE'])
Fallback language
...
I suppose that in one browser you have $_SESSION['lang'] = 'de',
But in another - dont.
Or if not - may be there is difference in $_SERVER['HTTP_ACCEPT_LANGUAGE']

I assume this is resolved. Feel free to reopen if the problem still exists.


text:
Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind, I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

I've added a license. Sorry it took so long

authors: PhoenixSmaug unixorn

repo: PhoenixSmaug/zsh-lgbtq-themes

license: Unlicense


text:
DaynaPORT Issues With MacTCP

Info

Which version of Pi are you using: Pi 4 Model B
Which github revision of software: v23.04.01
Which board version: akuker 2.5
Which computer is the PiSCSI connected to: Mac Quadra 700

Describe the issue
I'd like to start by saying that the PiSCSI is absolutely awesome! By far the best SCSI drive replacement that I've ever had, so great job to everyone who has helped make this possible!
Unfortunately, I've been having some problems with getting the DaynaPORT emulation to work with MacTCP. I'm using a Quadra 700, so I can run Open Transport (with DHCP) as well and that works perfectly, but MacTCP just doesn't. I've configured everything according to the steps on the DaynaPORT wiki page, but I always just get timeout errors in MacTCP Ping whenever I try to ping 8.8.8.8. Running "ip addr show" and "brctl show" on the Pi gives the same results shown on the wiki page too, so I'm pretty sure I have everything configured properly on the PiSCSI end of things. I've tried MacTCP with the PiSCSI on several different machines (including an SE) and encounter this same problem every time, so it doesn't seem to have anything to do with the specific computer either. What could be going on here?
The reason why I need MacTCP instead of just using Open Transport is because the eventual goal is to get this thing working with MacWorks Plus on the Apple Lisa, which can't run Open Transport thanks to its 68000 processor. I'm just trying to get a proof of concept working on the Quadra 700 before trying anything on the Lisa itself since the Quadra is WAY faster and easier to transfer files to than the Lisa.
Thanks for the help!
Alex

@alexthecat123 Thank you for the kind words! We're doing our best to deliver a useful tool for old SCSI equipped computers.
So yes, it is notoriously tricky to get MacTCP to play ball with a modern network. It's a moody beast. From the network configuration, it seems like you're trying to connect to a LAN where a DHCP server controls the IP assignments, correct? Can you please share how you have configured MacTCP on the Quadra?
Also, if you haven't done so already, please read through all the steps and troubleshooting advice on our wiki: https://github.com/PiSCSI/piscsi/wiki/Dayna-Port-SCSI-Link

Thanks for the response! Yeah, MacTCP can be a real pain to deal with sometimes!
Yep, that's exactly right about my network; it's a LAN with a DHCP server for IP address assignment. It just sucks that DHCP doesn't work in MacTCP because that would probably make things way easier!
I've read that wiki page probably at least 25 times now and I've tried everything that it suggests. MacTCP is configured exactly the way that it specifies with an IP of 10.10.20.2, the router IP of 10.10.20.1, a subnet mask of 255.255.255.0, and the Google DNS server. But I still get the timeout error in MacTCP Ping.
And I apologize in advance if the problem ends up being something really stupid that I've overlooked; networking is BY FAR my weakest area of knowledge in computing and I know very little about it!
Here are some photos showing the exact network configuration that's being used on the Quadra!

@alexthecat123 I can see the problem here immediately. You need to configure MacTCP with IP / subnet / router addresses that align with the address ranges of your router. Looking at your wired network interface, that means in the 192.168.0.2~254 range (netmask of 24).
The pitfalls here are that 1) assigning static IPs in a DHCP managed network can lead to duplicate assignment of IP addresses, and 2) the router may reject connections from MacTCP altogether. I've had mixed results myself. You may want to consider putting up a separate router just for your vintage network that is lenient with this kind of configuration.
An alternative is to set up NAT for your bridge, which isolates it from the rest of your LAN and enable you to use whatever status IP address ranges that you want. But with the drawback that you can't reach the rest of your LAN from MacTCP.
I suggest you try the former approach first! You may be lucky and have it just work for you.

Thanks so much for the help! That makes a lot of sense; I was wondering why the wiki listed those 10.10.20.X IP addresses, but I guess those were specific to the author's router!
Unfortunately, the first approach didn't work for me. I changed the gateway to 192.168.0.1 and the Quadra's IP to 192.168.0.25 and then went into the router and reserved that IP for the DaynaPORT's MAC address, but no luck. So I guess I just have one of those routers that doesn't like MacTCP?
Although this does seem a little strange because MacTCP works fine with my router when I use a NuBus ethernet card, but not with the PiSCSI. Could that offer any clues as to what's going on?
This means that I'm probably stuck with the NAT option for now. Sorry if this is a dumb question, but could you tell me how to set up NAT for the bridge? Like I said, I know very little about networking stuff!
Thanks again for all of the help!

Thanks so much for the help! That makes a lot of sense; I was wondering why the wiki listed those 10.10.20.X IP addresses, but I guess those were specific to the author's router!

No, the 10.10.20.X range is just what I arbitrarily chose as the default for the NATed network configuration... I thought I was explicit about those being example IPs that have to be adjusted for your environment! Earlier today I made a few edits that hopefully reduce the chance of misunderstanding, but please help pointing me to any ambiguous statements in the wiki. I most certainly have blind spots!

Unfortunately, the first approach didn't work for me. I changed the gateway to 192.168.0.1 and the Quadra's IP to 192.168.0.25 and then went into the router and reserved that IP for the DaynaPORT's MAC address, but no luck. So I guess I just have one of those routers that doesn't like MacTCP?
Although this does seem a little strange because MacTCP works fine with my router when I use a NuBus ethernet card, but not with the PiSCSI. Could that offer any clues as to what's going on?

Have you run the Dayna diagnostics apps to make sure that the hardware and drivers are working correctly on your system?

This means that I'm probably stuck with the NAT option for now. Sorry if this is a dumb question, but could you tell me how to set up NAT for the bridge? Like I said, I know very little about networking stuff!
Thanks again for all of the help!

Sure! It should just be a matter of following the wiki instructions.
First revert the "wired" network bridge settings, i.e. deleting piscsi_bridge and removing the line in dhcpcd.conf as described in https://github.com/PiSCSI/piscsi/wiki/Dayna-Port-SCSI-Link#wired-raspberry-pi-setup
Then, follow the steps for the NAT configuration, but substitute wlan0 with whatever your wired network interface is called: https://github.com/PiSCSI/piscsi/wiki/Dayna-Port-SCSI-Link#wireless-raspberry-pi-setup

Have you run the Dayna diagnostics apps to make sure that the hardware and drivers are working correctly on your system?

I have and the hardware seems to be working properly!
Thanks for the NAT instructions! Unfortunately, after following your instructions I now get the error message "Configure the network bridge for eth0 first: /etc/dhcpcd.conf, /etc/network/interfaces.d/piscsi_bridge" whenever I try to attach an ethernet adapter. What should I do to get around this?

@rdmark What is going to happen with this ticket? Is this actually something the requires changes/fixes in PiSCSI?

@alexthecat123 Sorry for leaving you hanging there! The workaround there is to use the scsictl command line tool to attach the DP device. We have validation on the Web UI side to prevent incomplete network bridge configuration. But looking at your case, I think I will change that validation to a warning instead of error.
Please let me know if you are still available to keep troubleshooting this, and I can give you a few commands to try!

This PR will make the Web UI more lenient about attaching networking devices when it can't detect the "normal" bridge settings. https://github.com/PiSCSI/piscsi/pull/1319

@rdmark I'm pretty busy with college right now, but I'll try to make time for troubleshooting soon. You can go ahead and send me the commands and I'll try them out next time I get the chance!

@benjamink I haven't tried that yet, but I'll give it a shot as soon as I can!

Hi! I'm silvano from italy. I have an issue with my Powerbook 520c which runs system 7.5. I've been able to run the BlueSCSI pico wifi model but I can't have an internet connection. From OpenTrasnport 1.3 menu I've been selected Alternate ethernet and DHCP server. When I try to use an internet browser such as icab, an error appears.There's no Internet connection. this is the log file:
Platform: BlueSCSI Pico
FW Version: 2023.11.16-release Nov 17 2023 03:26:27
Flash chip size: 2048 kB
=== SD Card Info ===
SD card detected, FAT32 volume size: 30436 MB
SD Name: SD32G, MID: 0x03, OID: 0x53 0x44
=== Global Config ===
Reading configuration from bluescsi.ini
Active configuration:
=== Finding images in / ===
== Opening /NE4.hda for ID: 4 LUN: 0
---- Configuring as network based on image name
---- Image ready
== Opening /HD10_512 PowerBook 520c 240MB.hda for ID: 1 LUN: 0
---- Image ready
=== ROM Drive ===
Platform supports ROM drive up to 1692 kB
---- Activating ROM drive, SCSI id 0 size 1692 kB
---- WARNING: This image does not appear to be a valid Macintosh Device image. See: https://github.com/BlueSCSI/BlueSCSI-v2/wiki/Disk-Images
---- Activated ROM drive, SCSI id 0 size 1692 kB
=== Configured SCSI Devices ===

ID: 0, BlockSize: 512, Type: Fixed, Quirks: Apple, Size: 1692kB
ID: 1, BlockSize: 512, Type: Fixed, Quirks: Apple, Size: 245824kB
ID: 4, Type: Network, Quirks: Apple

=== Network Initialization ===
Wi-Fi MAC: 00:80:19:07:E3:38
Connecting to Wi-Fi SSID "" with no authentication
Wi-Fi connection failed: -4
Initialization complete!
INFO: Pico Voltage: 3.276V.
Someone can help me please???
thankyou!

repo: PiSCSI/piscsi


text:
PyPi Pip Package omits Windows files

The repository itself contains the Windows resource files and libs and lists Windows as supported platform.
However, the uploaded pip package does not (and it also omits Windows from supported platforms):
https://pypi.org/project/pvporcupine
When I install the pip package first and then copy over the resource files/lib manually, I can resolve that problem (however then I'm stuck at a pyaudio error which may be unrelated).
Is this intended?

pip package is not intended to support windows as described here: https://pypi.org/project/pvporcupine/
for windows, you need to clone the repo and then install pyaudio yourself.

@kenarsa oh that's a pitty. I saw that note, but is there a technical reason for it?

authors: hofst kenarsa

repo: Picovoice/porcupine


text:
Added Typescript support

Closes #2
This adds Typescript support to jest-mock-console.
To ensure that future work on this library does not break the typings file, all tests were converted to their Typescript equivalent.
Overview of changes:

Added a typings file
Converted all *.test.js to *.test.ts
Updated package.json to include:

A reference to the new typings file
Additional dev dependencies to support Typescript files (ts-jest, @types/jest, @types/jasmine, babel-jest, babel-core, typescript).
The addition of Jest as a peer dependency

Contributors additions

Codecov Report

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

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          25     25
  Branches        3      3
=====================================
  Hits           25     25

Continue to review full report at Codecov.

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

authors: codecov-io qgolsteyn

repo: PiereDome/jest-mock-console


text:
Sound is mono (not stereo)

I using this player for playing karaoke YouTube video, but there's no vocal, only music i can hear.
Can this player play stereo music?

Hey, if the problem is the player not being mono you should hear both channels overlapped, right?

The problem is the player not stereo.

Yeah sorry, I meant stereo.

How to make both channels overlapped?

Well, that's what should happen if the problem is that the sound is not stereo.
What I'm trying to understand is if that's really the problem you're having.

I use this video https://youtu.be/PdXljK7LRKU with your YouTube player library, but no vocal, only music i can hear.
You can try.

Sounds very weird. I can't think of any reason for this to happen. Vocals and music are part of the same audio stream. Unless your phone has 2 speakers and one of the two is broken.

Ok, can this player change aspect ratio of YouTube video? Example: from 4:3 to 16:9

This is a different question. To keep everything in order I suggest opening a new issue for it.

When i using official YouTube app the sound is stereo, but when i play YouTube using web/browser on my phone, the sound is mono.

Can't say much if I'm not able to replicate the issue.

authors: PierfrancescoSoffritti ghozien


text:
Playback quality

Hello,
Thank for the library, it works pretty well. Is it possible to add the ability for the user to manually select the quality of the video as it happens in the Android YouTube API. I don’t mean setting the quality programmatically but manually when the video plays.

No, unfortunately at the moment it's not possible to change the quality with the IFrame Player API. See issue #27


text:
ImportError: No module named 'coinbase_config'

I get this error 👆when I do python2 main.py

I haven't touched this code in a long time, so I'm sure other things will break too. Basically, create a coinbase_config.py file and search the code base to see what constants are imported from that file (API Keys). I'd like to come back to this project at some point (which is why the repo is still up), but don't hold your breath!

Awesome thanks for the heads up :)

authors: PierreRochard cyzanfar


text:
ModuleNotFoundError: No module named 'netbox_ipcalculator'

ModuleNotFoundError: No module named 'netbox_ipcalculator'
Following the instructions but get this error. Last issue is closed without solution
This file /opt/netbox/local_requirements.txt is not present at my installation. Only base_requirements.txt so i put the line netbox-ipcalculator in there, maybe false.

Ok, found.
Put netbox-ipcalculator in requirements.txt not in base_requirements.txt

and better: create a file named local_requirements.txt (if not already existing)
it can be so easy with a hint in readme


text:
Feature request: Configuration option to remove message formatting

Please implement configuration option to specify formatting for all messages. In particular, red console/log messages do not read well on my blue console screen. The message file should include all messages, as well as plugin prefixes.
What does your feature do?
Allow operator to specify message content, including colors and other formatting.
How would people use it?
Incorporate Quests messaging seamlessly into server design.

Thanks for your interest in Quests!  This suggested doesn't seem ideal, as it wouldn't cater to those looking to simply change colors rather than disable them. Therefore, it's my opinion that the best solution would be to add console messages to the language files, which could then be formatted with color to your liking per https://github.com/PikaMug/Quests/wiki/Casual-‐-Translations#formatting
However, given that one could simply change the background color of one's console screen, this doesn't seem very high-priority. I'll leave this open until such time it warrants further attention.

I much prefer entries in the language file. That is what I meant by "configuration" but perhaps that wasn't clear (I appreciate that it could be interpreted as applying to config.yml).
I do not intend to change the color of my screen. In particular, I will not change it to white, just to satisfy bad color choices enforced by a plugin.

Took a second look at this and realized that, regardless of whether we add to the language files or include an option to format all messages, there are hundreds of hardcoded strings that would need to be addressed, most of which do not use ChatColor.RED, and more than half of which are only displayed in the console if/when an error occurs. It became apparent that adding these to the language files would be a unreasonable overhead for translators, and future bug reports would likely necessitate converting errors back to English before I can even get started on them.
As such, I've decided not to proceed with this ticket, however you're welcome to come up with a list of specific messages which bother you and I'll try to address them individually.

I assume messages to the console are routed through a single path. I think you could just wrap that appropriately to manage a configuration option to remove all formatting. Other plugins have done so (often at my request).

While editor and chat messages are routed, console messages are output directly through the Bukkit or JavaPlugin logger. As you say, wrapping them would be useful if adding a config option for formatting, but requires the same amount of work. I'd still prefer to simply correct whichever few console messages have formatting and let the window app use its default color.

OK. For starters, questsadmin itself (ie., help).

You originally requested a solution for "console/log messages" and while /questsadmin is accessible by the console, it is not a logging message. As such, its colors can already be modified in the language files by following https://github.com/PikaMug/Quests/wiki/Casual-‐-Translations#formatting

My language file contains no color format codes (eg, %red%). I didn't realize that I should use %reset% to remove the default colors. That doesn't resolve all the color codes, but it helps a lot. Thanks.

authors: PikaMug SlimeDog

repo: PikaMug/Quests


text:
:sparkles: Add middleware

Changes

adds: All remaining middleware
improvements: Documentation is consistent over all middleware

Check off the following

[ ] I have tested my changes with the current requirements
[x] My Code follows the pep8 code style.

I updated the docs, so that they would be the same as in #155 , so that there would not be any merge conflicts if those are consistent

repo: Pincer-org/Pincer


text:
chore(apps/prod/greenhouse): increase greenhouse data size to to 15Ti

/hold

@wuhuizuo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

debug/prow-call-nested-jenkins-job
daf596209c795e4b0225ca92b13bbf74e64a8021
link
true
/test prow-call-nested-jenkins-job

Full PR test history.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wuhuizuo: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

debug/prow-call-nested-jenkins-job
daf596209c795e4b0225ca92b13bbf74e64a8021
link
true
/test prow-call-nested-jenkins-job

debug/prow-call-jenkins
daf596209c795e4b0225ca92b13bbf74e64a8021
link
true
/test prow-call-jenkins

Full PR test history.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

repo: PingCAP-QE/ee-ops


text:
recovery: Added F2FS compression support for wiping

Change-Id: I73253bb63aa3cae9852a96d170212608b2e0ba2a
Signed-off-by: Diniboy1123 diniboy@protonmail.com
We Merge Pull Requests Submitted Here After Reviewed By Core Developers
If you are submitting any patches, Tell us a little about it.

Kindly wait for Core Developers to review.
You can join our community on Telegram

Community Group
Test Build & Build Help Group

@shashank1439 @SathamHussainM


text:
Guide how to get involved with Research

I dont even know what research is @Zmwang622

I would be happy to draft an article about doing research as an undergrad.

Please do
On Thu, May 21, 2020 at 10:56 AM zhenyudg notifications@github.com wrote:

I would be happy to draft an article about doing research as an undergrad.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PittCSWiki/pittcswiki.github.io/issues/59#issuecomment-632132217,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKKYL63MZYFJEUAXXPXNADRSU6IDANCNFSM4M32RLNQ
.

@varughese Could you assign this to zhen yu? I think he is more knowledgeable about this topic than me.

thanks @zhenyudg  - here's a guide on how to write a guide ! - https://github.com/PittCSWiki/pittcswiki.github.io/blob/master/docs/how-to-write-a-good-guide.md
its really just adding a markdown folder the the src/pages/guides folder. ty <3

closed by #96 . ty zhen : )

Todos for v2 of the guide:

Some examples of Pitt's research exhibitions that students can submit to.
Info about CS1950 (do you need to find a research advisor before signing up for CS1950, or do they pair you up with someone?)
A more in-depth guide to applying for REUs and similar programs.

A guide to writing research statements.

A section on making a research poster.
A section on writing a research paper.
Some links to other people's advice; I'm not the only one who has stuff to say.

@varughese Should we consider making a Research hub with a variety of research articles? Seems like this article is going to get huge quickly

yeah
to make "hubs" just make a folder with the name of the hub and an index.md in it to serve as the table of contents
so
src/guides/research/
have this be an overview
src/guides/research/index.md
then put whatever else u want

authors: Zmwang622 varughese zhenyudg


text:
Feat: add github action to lock new issues

Is your feature request related to a problem? Please describe.
Issues receive more comments as a whole. As a result, the number of desktop and mobile notifications rises, making their management challenging for repository maintainers, admins.
Describe the solution you'd like
I will add the github action workflow, which will lock new new issues. This means that, when the new issue is created, it will be locked. The issue will be unlocked when the maintainer/admin will add status: ready for dev label to it. The admins and maintainers would greatly benefit from this, and it would also reduce notifications.
Record

[x] I agree to follow project's contribution guidelines and code of conduct.
[x] I'm a GSSoC'23 contributor.
[x] I want to work on this issue.

Thanks

What are the updates?

I will make the PR today.

@PiyushKalyanpy please review the PR.
Thanks

repo: PiyushKalyanpy/GyanaGuru


text:
Add a pre- and post- hook for the process-compose wrapper

Allow prep and cleanup scripts, cmds or other customizations in the wrapper with pre- and post- process-compose hooks.
The exec of the process-compose call line was removed to allow for a postHook.

What prompted the hook use was wanting to use shell variables obtained and/or set at runtime.
The simplest case was just wanting to use ${TMPDIR:=/tmp} as the base for a short postgres socket path which is then used in several process-compose processes, including postgres-init from services-flake.
When I first tried setting this as a process environment var in each process where it was needed, it evaluated it correctly in most places, but it fails to evaluate correctly in the probe commands, and then processes fails because the probes fail, the postgres ready probe in this case.
Using the hook approach with the shell var declared at the wrapper script level worked.
Here is an example preHook: link.
Example command for this process-compose stack (will download about ~1 GiB binaries, start syncing a public testnet Cardano chain, and extract chain data into dbsync for analysis):
nix run github:input-output-hk/cardano-parts/next-2024-01-10#run-process-compose-dbsync-sanchonet

Cool, that makes sense. Nice to see the cardano project using this!

authors: johnalotoski srid

repo: Platonic-Systems/process-compose-flake


text:
Версия 4

Добрый день.
На сегодняшний день Атол выпустили 4 версию протокола, поддержку 3 планируют прекратить в июне 2018 года.
Готовите ли вы обновление проекта? Если да, то в какие сроки?

Добрый день! У Вас есть информация о том, что обновилось в новой версии?

Есть Pdf с информацией о версии: https://yadi.sk/i/XNTmygz73S33Dc
Взят с официального телеграмм-канала: https://t.me/atolonline

В документации написано, что поддержка v3 осуществляется до 1 января 2019 года. Пока обновление не предполагалось. Но если у Вас есть возможность обновить SDK под версию v4 - можете сделать pull request. В базовом классе добавить метод получения заголовков в POST запросе + в базе возвращается Content-type: application/json; charset=utf-8.
Так же добавить в ответе error_id и пройтись по всем полям прошлой версии - сверить - не изменились ли они.

authors: Tamidin lashnag


text:
Artefakt: Wurf für Zauber wird nicht ausgeführt

DSA 5.2.0
Ich habe ein Artefakt erstellt mit einem Ablativum als dauerhafter Effekt.
Wird der Zauber ausgelöst, erscheint eine Chatnachricht über den Verbrauch einer Ladung, es wird aber keine Probe ausgeführt:

Die Konsole sagt dazu:

#1554


text:
Large generated schematics generating rendering fails

Description of Issue:
When you imported that in your world and trying to look at it from above it might and shortly will skip chunks on loading phase. In result you will see your creation with miltiple full-height holes. Raising camera above precision rendering point (to trigger simplifying textures) and going back can fix that, but it will start again. Probably if you gonna do it 10-20-whatever times, it will be fully loaded. But anything nearby (same imported areas) will act same. Looks like memory-on-loading-chunks issue or saved-chunks issue. Also already rendered chunks after climbing always will disappear and be rendered in simple mode again. Most of them is good with normal view. Also that starts mostly far from starting position (after map is opened in editor). (rarely it just becomes stuck and wont render anything more with normal textures)
MCEdit Version:
1.5.6.0 and pre1.6.0.53
Minecraft Version the world was last opened in:
1.12.2
Operating System:
Win 7 x64
A screenshot or full text of the error from the console:

How to reproduce:
Generate large schematic from common mesh (obj or something) via poly2vox.exe + aux filter for MCEdit, import it into any existing world and start to look whole affected area from above.

Also catched another problem

Alongside of common LT tile entities there is saved workbench (basically same with scripted LT's feature) and 2 chest with recipes and ready LTte constructions

Seems to be just MCEdit is unable to read all its content due to large bits amount in all of that LTtes saved inside of chest.

Any help? I can't work here with this bug...

Somehow got normal working (after some events with other games with BSODs)But now all the same, directly caused by Save process here.

Unstable, but semi-working, will close for now.

So, it is consistent on latest, mostly on no-chunks-area where I placing parts. Often goes stuck completely after 10 ок something minutes of work. Might go on another test runs but all basic info is here already.

Any idea?

Any idea?

repo: Podshot/MCEdit-Unified

license: ISC


text:
Gradient Accumulation Support

Is there currently support for gradient accumulation? If not, do you have any hints on how/where I can implement it in this project?

Hi, Pointcept currently does not support gradient accumulation but I do plan to add it in the next version. You can consider modifying the code here (https://github.com/Pointcept/Pointcept/blob/main/pointcept/engines/train.py#L183). You can access the config dictionary by self.cfg.

authors: Gofinge acardaras-sanborn

repo: Pointcept/Pointcept


text:
More commands

TODO

[ ] say command (in work)
[ ] userinfo command

You can suggest more on comments section.

Snipe command

repo: PojavLauncherTeam/PojavBot


text:
'utf8' codec can't decode byte 0x9c"

Issue without proper information won't be answered
Actual Behavior
I got " [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c" when I login the game.
Steps to Reproduce
When I use commands "npm install", I got the following error.
` Running setup.py develop for pgoapi
Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;file='/Users/Ding/Documents/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps:
running develop
running egg_info
writing requirements to pgoapi.egg-info/requires.txt
writing pgoapi.egg-info/PKG-INFO
writing top-level names to pgoapi.egg-info/top_level.txt
writing dependency_links to pgoapi.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pgoapi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'pgoapi.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/site-packages/pgoapi.egg-link (link to .)
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/pgoapi.egg-link'

----------------------------------------

Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;file='/Users/Ding/Documents/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps" failed with error code 1 in /Users/Ding/Documents/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/
`
Then I run commands (i.e., sudo -H pip install -r requirements.txt) in folder gofbot, and pgoapi-1.1.6 installed successfully.
Then I run npm start, the error described at the start shows up.
Information

OS OS X 10.11
Git commit ( to get git commit run git log -1 --format="%H")
npm install

Check out https://github.com/PokemonGoF/PokemonGo-Bot-Desktop/issues/138

authors: austinxw tnsbm

repo: PokemonGoF/PokemonGo-Bot-Desktop


text:
documented docker for the auth.json use case

Fixes:

add instructions for the docker run command for the multiple config files use case.

:+1:

repo: PokemonGoF/PokemonGo-Bot


text:
compatibility with Celery 4.0?

Hi,
with celery 4.0 around the corner, and me needing to implement a quite complex task based processing infrastructure which would benefit greatly from jobtastic's additional features, I wonder: is jobtastic compatible with celery 4.0? Or, if not, is it planned?
Sorry if this is not the right place to ask, could not find a specific jobtastic mail list or so.

Hello Vincent,
We haven't done any testing with celery 4.0 yet, but it is something we definitely want to support. I think the first thing we need before we can officially support celery 4.0 is a stable version of celery 4.0 on pypi. After that, it should be as simple as updating the tox/travis files to show we support celery 4.0 and fix any bugs found. If this is something you would be interested in take a look at, we do love pull requests :) If not, we will eventually get to it.

OK, thanks, that's good to know! Then I can safely start with current Celery in combination with Jobtastic, and have no worries about a future upgrade path.
I understand your "let's wait for a 4.0 on pypi", however, many new features and even some bug fixes now already only go into celery master (=4.0rc or so). So using Celery 4.0 master is often already encouraged (at least, that's how it feels to me). But I have the feeling it won't take long before a 4.0...
Anyway, I might be able to help with testing once I start this project (and maybe bug fixing, though I don't know Celery's insides very good yet), depending on my balance between production/development at that time.

Then I can safely start with current Celery in combination with Jobtastic, and have no worries about a future upgrade path.

We're still using Jobtastic in production, and Celery 4 has some nice goodies, so we'll build 4.0 compatibility eventually. If you wanted to create a branch/PR that runs Jobtastic against Celery 4.0 master, that would be interesting/helpful.

authors: jlward vincentschut winhamwr

repo: PolicyStat/jobtastic


text:
More list functions

Let's implement

split
join
foldr
foldl
iterate

And append

repo: PolyglotSymposium/mappy


text:
IE11/Edge: Lit Markers within SVG causes errors.

Description
When using the 'svg' tagged template of lit-element, if the content within it has a 'path' element for which the 'd' attribute is dynamically set, then the 'd' attribute will be missing in IE11/Edge16 with an error: SVG4601: SVG Path data has incorrect format and could not be completely parsed.
Since 'd' determines the path, there is nothing displayed.
Live Demo
https://astonishing-purpose.glitch.me/
Steps to Reproduce
Inside 'svg' tagged template literal add 2 elements:

An SVG with only static values.
Another SVG same as above but with the nested 'path' element having dynamic 'd' value.

Expected Results
Output should render 2 SVG elements.
Actual Results
Chrome: Both SVGs are visible as expected.
IE11/Edge16: Only one SVG is rendered onto the browser.
Browsers Affected

[x] IE 11
[x] Edge
[ ] Chrome
[ ] Firefox
[ ] Safari 11
[ ] Safari 10

Versions

lit-element: v0.6.1
webcomponents: v2.1.3

From my analysis, it looks like the following could be the culprit in IE11/Edge:
template.innerHTML = this.getHTML();
The 'd' attribute with random value like below is considered invalid:

I think angular has a solution to this late binding attribute problem in SVG: https://github.com/angular/angular.js/pull/2061

This is just a dupe of the upstream lit-html issue you filed: https://github.com/Polymer/lit-html/issues/594. Let's just track there. Otherwise we could duplicate every lit-html issue here.

authors: deepsnitk justinfagnani

repo: Polymer/lit-element


text:
css blocking when css including string content: "/\00a0";

Live Demo
https://stackblitz.com/edit/lit-element-example-m49smv
Browsers Affected

[* ] Chrome
[* ] Firefox
[* ] Edge
[* ] Safari 11
[* ] Safari 10
[* ] IE 11

Versions
Newest version

@hzmnet Escaping symbols is needed in template string literals.
import { LitElement, html, css } from "lit-element";

class MyElement extends LitElement {
  static get properties() {
    return {
      mood: { type: String }
    };
  }

  static get styles() {
    return [
      css`
        .mood {
          color: green;
        }
        .mood::before {
          content: "\\00a2"; // cent sign
        }
      `
    ];
  }

  render() {
    return html`
      Web Components are ${this.mood} great shoud green!
    `;
  }
}

customElements.define("my-element", MyElement);

@motss  You are right. I did not expect that is Escaping symbols issue. Thank you!

authors: hzmnet motss


text:
Polymer not working correctly when activating shadow dom for firefox with flags in about:config

The screenshot at the end of the post shows polymer-project.org in firefox developer edition.
To test the new shadow dom feature I edited the flag "dom.webcomponents.enabled" as described in http://caniuse.com/#feat=shadowdom.
My guess is that polymer detects this change (shadow-dom-enabled) and doesn't use the shady dom anymore, but tries to work with the implementation of firefox' shadow dom. Maybe Polymer should test whether the shadow dom is working correctly before switching solutions. Then again, this is just a guess and honestly I don't know if this edge case should be handled (After all, you can break everything in about:config).

This is a known issue with the current polyfill, documented on the browser compatibility page.
https://www.polymer-project.org/1.0/resources/compatibility.html
Related to: https://github.com/webcomponents/webcomponentsjs/issues/289

So you decided to use Firefox' implementation so they can test their shadow dom? Pretty good.

authors: Spreadyy arthurevans

repo: Polymer/polymer


text:
Add support for CPU throttle.

It uses an experimental Webdriver method (sendDevToolsCommand) to set the rate of CPU throttling. As of today it works in chrome headless mode.
https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md

Thanks for the PR! Can you give some background on why this feature is useful for you?

A change can improve latency for a fast machine but make it worse for a slower one.
Race conditions between CPU intensive work and XHR requests can trigger behaviors that make the end to end test results different than expected.
An example is when trying to do some background work that can interfere with the critical path. (setIdleCallback, prefetching links,...)

authors: aomarks outermeasure

repo: Polymer/tachometer


text:
inlineCss not working on Polymer 1.0 project

Hi guys,
When I try to use:
$ vulcanize --inline-css elements.html

the following error is presented:
{ [Error: ENOENT, open 'c:\test\app\ower_components\paper-item\paper-item-shared.css']
  errno: -4058,
  code: 'ENOENT',
  path: 'c:\\test\\app\\ower_components\\paper-item\\paper-item-shared.css' }
Error: ENOENT, open 'c:\test\app\ower_components\paper-item\paper-item-shared.css'
    at Error (native)

Notice that it tries to access 'c:\test\app\ower_components' folder instead of 'c:\test\app\bower_components'. Somehow it looses 'b' in the folder name.
Any ideas ?

I'm able to inline css without issue. Are you sure there's not a typo somewhere? What's your source?

I think that there is no typо, because when I remove the --inline-css it is working perfectly fine.
I will be able able to give you the source later today, but the same problem can be seen here :
http://stackoverflow.com/questions/30819435/vulcanize-inlinecss-not-working-on-polymer-1-0-project/30966457#30966457

My project is located in C:\test, with the following folder structure:
test
-- app
-- -- html
-- -- -- elements.html
-- -- styles
-- -- scripts
-- -- ....
-- bower_components
-- ....

And the elements.html contains:
<link rel="import" href="../../bower_components/polymer/polymer.html">

<!-- Iron elements -->
<link rel="import" href="../../bower_components/iron-icons/iron-icons.html">
<link rel="import" href="../../bower_components/iron-icon/iron-icon.html">

<!-- Paper elements -->
<link rel="import" href="../../bower_components/paper-ripple/paper-ripple.html">
<link rel="import" href="../../bower_components/paper-toolbar/paper-toolbar.html">
<link rel="import" href="../../bower_components/paper-item/paper-item.html">
<link rel="import" href="../../bower_components/paper-checkbox/paper-checkbox.html">
<link rel="import" href="../../bower_components/paper-input/paper-input.html">
<link rel="import" href="../../bower_components/paper-button/paper-button.html">
<link rel="import" href="../../bower_components/paper-spinner/paper-spinner.html">

Solution:  http://stackoverflow.com/questions/30819435/vulcanize-inlinecss-not-working-on-polymer-1-0-project/30966457#31098879

That's a nice workaround, but it should really just be fixed in vulcanize.

inlineCss is also not working when compiling on gulp-vulcanize
//CSS file
<link rel="stylesheet" href="style.css">

but it is working when using vulcanize directly
vulcanize --inline-css build/splash.html > build/splash2.html

use the same technique.
cuz the standard deck calls paper-styles, which in turn calls roboto.html which in turn calls the google font.

I am not using any paper element. Im, just importing
<link rel="import" href="../../bower_components/polymer/polymer.html">

and I created my own polymer element.
but it doesn't vulcanize the CSS file I am adding on the main html
<link rel="stylesheet" href="style.css">

authors: Chariyski angeldevz azakus eterna2 tuespetre

repo: Polymer/vulcanize


text:
Switch to es2018 output for Typescript

Allows for native spread syntax in output
Also bump to latest Typescript/tslint release

The typescript compiler can strip comments entirely.  Seems excessive.
Here's something that does light minimization and removes the comments from the output and puts them in a separate file.  I made sure that sourcemaps are preserved and the output actually has newlines...
const TerserPlugin = require('terser-webpack-plugin');

const lib = './shells/lib';

module.exports = {
  mode: 'none',
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        cache: true,
        extractComments: 'all',
        parallel: true,
        sourceMap: true,
        terserOptions: {
          ecma: 8,
          compress: false,
          mangle: false,
          module: true,
          output: {
            semicolons: false
          }
        }
    })
   ]
  },
  devtool: 'source-map',
....

Updating package-lock.json now...  Anyone want to review?

repo: PolymerLabs/arcs


text:
Customers make sounds when they enter, eat, and leave.

When they enter, a door chimes and sometimes they say 'hello'. If the
player gets a big combo, the customer will says 'mmm!' or 'oooh!' in between
bites. When the player breaks their combo, the customer says 'check please!"
The customer's sounds are AudioStreamPlayer2Ds with a spatial element.
The door is on the left side of the store, so when the door chimes or
customers say 'hello', the sounds come from the left. When customers say
'mmm!' or 'check please!' then the sound comes from close to the center.
I also tried to make the other customer sounds lean a little to the left, since
the customers are on the left side of the screen. I figure kitchen sounds will
be panned right and eating sounds will be panned left.
There's some logic to make sure customers don't say 'hello' 'goodbye'
too frequently.

Additionally, these sounds replace most of the chef's sounds. The chef still speaks at the beginning of a round, and when she loses. I didn't think it made thematic sense for the chef to be chattering about how great she is while she cooks. Let the customers say that stuff.

repo: Poobslag/turbofat


text:
Does PowerShell DSC provide feature that the user can review execution results of client nodes by a GUI way?

One quick question: Does PowerShell DSC provide a feature that the user can review execution results of client nodes by a GUI way?Thanks in advanced.

There's not a dedicated GUI tool that I know of. However, you can see the results in the event viewer: Applications and Services Logs/Microsoft/Windows/Desired State Configuration
For more information, see "Where are DSC event logs?" in the troubleshooting docs https://msdn.microsoft.com/en-us/powershell/dsc/troubleshooting

This post(https://blogs.msdn.microsoft.com/powershell/2016/12/06/wmf-5-1-releasing-january-2017/) mentioned that WMF 5.1 RTM will be released on Jan-2017.  Any idea what day in January it will be available?

In regards to your question about a Powershell DSC GUI.
I know of 2 one commercial offering (Otter by Indeo) and the other is a new open source effort (Stephen Owen a Powershell MVP).
We are also building a Powershell DSC GUI application and we are in beta looking for early adopters if you are interested http://devopstrawler.com/

authors: DevOpsTrawler KosherSalt chancein007

repo: PowerShell/DscResources


text:
Hang (possible deadlock) in PSScriptAnalyzer

Before submitting a bug report:

Make sure you are able to repro it on the latest released version
Perform a quick search for existing issues to check if this bug has already been reported

Steps to reproduce
Warning do this in a new process that you know the PID of -- it will lock up.
iwr https://raw.githubusercontent.com/TravisEz13/PsAzDevOpsExt/master/src/PSPackageProject.psm1 -outfile ex.ps1
Invoke-ScriptAnalyzer -Path ex.ps1

Expected behavior
PSSA emits any relevant diagnostics and returns
Actual behavior
Call never returns and does not respond to Ctrl+C
Environment data

> $PSVersionTable
                                                                                Name                           Value                                               ----                           -----                                               PSVersion                      7.0.0-preview.2
PSEdition                      Core
GitCommitId                    7.0.0-preview.2
OS                             Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Ju…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
1.18.1

Debugging this, it seems to occur around this call. This behaviour is not present in 1.18.0.

/cc @JamesWTruher

The suspicion is that this is caused by the runspace pool deadlocking. The immediate solution is to rip that out, and down the line we should investigate implementing our own runspace pool.

Possibly related:  #1287

Oh I should add we checked this in 1.18.0 and no hang there

The next step I think is to get a proper stack trace on Windows using a debugging environment that can drill into the platform code; it would be nice to prove that this is a deadlock

Ok, after a bit more analysis I believe this is the same issue as @SeeminglyScience describes in https://github.com/PowerShell/PowerShellEditorServices/issues/762#issuecomment-428756484

Notice that the repro script contains a reference to Install-Package

pssa.log
windbg thread stack dump

Looking at the windbg dump, I agree that definitely looks like the same issue.  I'm not sure if there is anything on PSSA's end that can be done though.
I got side tracked before I could submit a PR to oneget, but I've been running with these changes for a few months now without any issues.  Not sure when I'll get to submitting that PR if someone else wants to take that on.

Unfortunately I think even if we get those changes into PackageManagement (which we should try to do), it will be hard to propagate them to users. Similarly, I think it's worth investigating if something can be done in PowerShell to prevent this, but it will only be possible to make such a change in PS 7.
So I think PSSA and PSES will need to special case the PackageManagement cmdlet parameters. Not ideal, but not all that hard. And they're not going to change, especially with PSGet 3.0 coming.

So I think PSSA and PSES will need to special case the PackageManagement cmdlet parameters. Not ideal, but not all that hard. And they're not going to change, especially with PSGet 3.0 coming.

Ah right PSSA can do that, I forgot it's the one calling CommandInfo.Parameters.  I can't think of a way that PSES could though, it's being trigger through TabExpansion2.

authors: SeeminglyScience bergmeister rjmholt

repo: PowerShell/PSScriptAnalyzer


text:
Link to the rules from the readme

PR Summary

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[-] Make sure all .cs, .ps1 and .psm1 files have the correct copyright header
[-] Make sure you've added a new test if existing tests do not effectively test the code changed and/or updated documentation
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

I think this is a good idea for discoverability, just want to make sure the link is in the right place. @bergmeister @JamesWTruher is there anywhere else you'd put the link in the README?

authors: bbodenmiller rjmholt


text:
Add compare-object to constrained runspace commands

Hi,
Lovin' Plaster and the new 'Parameter condition' feature!
I'd love to see the Compare-Object command from the constrained runspace for the conditions, especially when testing whether any value of an array (multichoice) is present in an array of values:
Compare-Object ${PLASTER_PARAM_Multichoice} @("val1","val2") -IncludeEqual -ExcludeDifferent
We can work around it, but it'd be easier and cleaner with the above for long lists.
i.e.
${PLASTER_PARAM_Multichoice}.contains("val1") -or ${PLASTER_PARAM_Multichoice}.contains("val2")
Thanks!

I think that would be a safe cmdlet to add.  We're getting close to releasing an updated.  I'll see if I can get this in for the update.

I'm keener on the release, PSConf.asia is next week and I'd love to have it then :)

authors: gaelcolas rkeithhill

repo: PowerShell/Plaster