text:
We will probably need to install RSGISLIB

RSGISLIB is used in a few notebooks, and while it really should be removed, it's not been removed yet.
Installing is hard though, and it may be better to refactor notebooks to no longer require it.
Here's the docs: http://rsgislib.org/

Hi @alexgleith
RSGISLIB has been added to the image. Please test.

@lgkgh got the below error when running "from rsgislib.segmentation import segutils". I don't think we use this in any notebook now, so we don't have to worry about this for the sandbox.

ImportError                               Traceback (most recent call last)
/tmp/ipykernel_68/965852656.py in
----> 1 from rsgislib.segmentation import segutils
/usr/local/lib/python3.8/dist-packages/rsgislib/segmentation/init.py in
31
32 # import the C++ extension into this level
---> 33 from ._segmentation import *
34
35
ImportError: /usr/local/lib/python3.8/dist-packages/rsgislib/segmentation/_segmentation.so: undefined symbol: _ZN10GDALDriver6CreateEPKciii12GDALDataTypePPc

authors: alexgleith fangfy lgkgh

repo: digitalearthafrica/deafrica-sandbox


text:
Adapt READ ME

READ ME needs to be adapted according to recently closed issues:

Swagger
API responses (e.g. removing cropping attribute, new structure of image attribute
Dependencies (audio module)

closed by pr #104

source: gharchive/issue

repo: digitalfabrik/lunes-cms

license_type: permissive

license_source: github-api


text:
🛑 Subtlefuge is down

In 4f5966c, Subtlefuge (https://subtlefuge.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Subtlefuge is back up in 27a0bd5.

license: MIT


text:
HowTo build and test this library from sources

Hi guys, I would handle the error TooManyFollower and I would know which steps I have to do in order to build the library, run tests etc.
It could be very helpful for TS newbie as me.
@dilame and all supporters: thanks for your hard work: now this library is more clear and better coded.

@alexgiul just watch package.json scripts:
  "scripts": {
    "build": "rimraf dist && tsc -p tsconfig.build.json",
    "format": "prettier --write \"src/**/*.ts\"",
    "lint": "tslint -p tsconfig.json -c tslint.json",
    "typecheck": "tsc -p tsconfig.build.json --noEmit",
    "prepare": "npm run build",
    "test": "mocha --inline-diffs --timeout 1000000 tests/run.js",
    "generate-interface": "ts-node ./tools/response-to-interface.ts",
    "generate-docs": "ts-node ./tools/docs-generator.ts"
  },

authors: alexgiul realinstadude

repo: dilame/instagram-private-api


text:
Add drift id to ansible

@orangejenny @biyeun
@sravfeyn

deployed this on softlayer and prod.

source: gharchive/pull-request

repo: dimagi/commcarehq-ansible


text:
chore(deps): update storybook monorepo to v6.1.21

Closes

User facing changelog

Additional details

How has the user experience changed?

PR Tasks

[ ] Have tests been added/updated?
[ ] Have docs been added/updated?
[ ] Have stories been added/updated?

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: dimazuien/react-viewport-height


text:
🛑 android-12.0.0_r3 is down

In f7e2bb5, android-12.0.0_r3 (http://aospxref.com/android-12.0.0_r3/) was down:

HTTP code: 404
Response time: 261 ms

Resolved: android-12.0.0_r3 is back up in fc7c35d after 10 minutes.

repo: dimenspace/aosp-uptime


text:
🛑 android-6.0.1_r9 is down

In 349b9a4, android-6.0.1_r9 (http://aospxref.com/android-6.0.1_r9/) was down:

HTTP code: 404
Response time: 164 ms

Resolved: android-6.0.1_r9 is back up in 112fa90 after 8 minutes.


text:
🛑 android-7.0.0_r7 is down

In ca50935, android-7.0.0_r7 (http://aospxref.com/android-7.0.0_r7/) was down:

HTTP code: 404
Response time: 239 ms

Resolved: android-7.0.0_r7 is back up in 161c9a6 after 34 minutes.


text:
Replicate results from the paper

Dear authors,
thank you very much for your work. I would like to ask you a few questions.
First, when I evaluate your provided network, I get the following results:
OLD_test_iter pretrain 2d car --> easy: 0.9277, mod: 0.8439, hard: 0.6785
NEW_test_iter pretrain 2d car --> easy: 0.9342, mod: 0.8377, hard: 0.6742
OLD_test_iter pretrain gr car --> easy: 0.3349, mod: 0.2507, hard: 0.1983
NEW_test_iter pretrain gr car --> easy: 0.3225, mod: 0.2268, hard: 0.1722
OLD_test_iter pretrain 3d car --> easy: 0.2490, mod: 0.2077, hard: 0.1729
NEW_test_iter pretrain 3d car --> easy: 0.2317, mod: 0.1621, hard: 0.1234
OLD_test_iter pretrain 2d pedestrian --> easy: 0.6618, mod: 0.5812, hard: 0.4975
NEW_test_iter pretrain 2d pedestrian --> easy: 0.6896, mod: 0.5670, hard: 0.4756
OLD_test_iter pretrain gr pedestrian --> easy: 0.0628, mod: 0.0512, hard: 0.0483
NEW_test_iter pretrain gr pedestrian --> easy: 0.0471, mod: 0.0391, hard: 0.0321
OLD_test_iter pretrain 3d pedestrian --> easy: 0.0436, mod: 0.0445, hard: 0.0396
NEW_test_iter pretrain 3d pedestrian --> easy: 0.0371, mod: 0.0293, hard: 0.0270
OLD_test_iter pretrain 2d cyclist --> easy: 0.6234, mod: 0.4608, hard: 0.3972
NEW_test_iter pretrain 2d cyclist --> easy: 0.6301, mod: 0.4180, hard: 0.3816
OLD_test_iter pretrain gr cyclist --> easy: 0.0344, mod: 0.0296, hard: 0.0306
NEW_test_iter pretrain gr cyclist --> easy: 0.0295, mod: 0.0168, hard: 0.0168
OLD_test_iter pretrain 3d cyclist --> easy: 0.0293, mod: 0.0270, hard: 0.0262
NEW_test_iter pretrain 3d cyclist --> easy: 0.0263, mod: 0.0149, hard: 0.0148

These are OK results for the car class but not for pedestrian and cyclist classes. Also, these results are not the same that you provide in your paper. I mean these results:

Also, when I run train.sh, I get similar results to the results that I get using the provided model, but these results are still not the same as in the paper. In fact, it is significantly better for the pedestrian class and better for the cyclist class.
OLD_test_iter 40000 2d car --> easy: 0.8290, mod: 0.7506, hard: 0.5892
NEW_test_iter 40000 2d car --> easy: 0.8759, mod: 0.7708, hard: 0.6137
OLD_test_iter 40000 gr car --> easy: 0.3448, mod: 0.2528, hard: 0.2053
NEW_test_iter 40000 gr car --> easy: 0.3066, mod: 0.2115, hard: 0.1653
OLD_test_iter 40000 3d car --> easy: 0.2671, mod: 0.1953, hard: 0.1754
NEW_test_iter 40000 3d car --> easy: 0.2230, mod: 0.1503, hard: 0.1193
OLD_test_iter 40000 2d pedestrian --> easy: 0.5670, mod: 0.4883, hard: 0.4096
NEW_test_iter 40000 2d pedestrian --> easy: 0.5822, mod: 0.4813, hard: 0.3946
OLD_test_iter 40000 gr pedestrian --> easy: 0.1323, mod: 0.1156, hard: 0.1137
NEW_test_iter 40000 gr pedestrian --> easy: 0.0528, mod: 0.0424, hard: 0.0351
OLD_test_iter 40000 3d pedestrian --> easy: 0.0473, mod: 0.0482, hard: 0.0413
NEW_test_iter 40000 3d pedestrian --> easy: 0.0405, mod: 0.0314, hard: 0.0287
OLD_test_iter 40000 2d cyclist --> easy: 0.4861, mod: 0.3255, hard: 0.3241
NEW_test_iter 40000 2d cyclist --> easy: 0.4460, mod: 0.2657, hard: 0.2633
OLD_test_iter 40000 gr cyclist --> easy: 0.1132, mod: 0.1058, hard: 0.1064
NEW_test_iter 40000 gr cyclist --> easy: 0.0375, mod: 0.0242, hard: 0.0238
OLD_test_iter 40000 3d cyclist --> easy: 0.1070, mod: 0.0909, hard: 0.0909
NEW_test_iter 40000 3d cyclist --> easy: 0.0213, mod: 0.0141, hard: 0.0144

Can you please tell me how can I obtain the same results as in the paper?
Thank you!

Dear authors,
thank you very much for your work. I would like to ask you a few questions.
First, when I evaluate your provided network, I get the following results:
OLD_test_iter pretrain 2d car --> easy: 0.9277, mod: 0.8439, hard: 0.6785
NEW_test_iter pretrain 2d car --> easy: 0.9342, mod: 0.8377, hard: 0.6742
OLD_test_iter pretrain gr car --> easy: 0.3349, mod: 0.2507, hard: 0.1983
NEW_test_iter pretrain gr car --> easy: 0.3225, mod: 0.2268, hard: 0.1722
OLD_test_iter pretrain 3d car --> easy: 0.2490, mod: 0.2077, hard: 0.1729
NEW_test_iter pretrain 3d car --> easy: 0.2317, mod: 0.1621, hard: 0.1234
OLD_test_iter pretrain 2d pedestrian --> easy: 0.6618, mod: 0.5812, hard: 0.4975
NEW_test_iter pretrain 2d pedestrian --> easy: 0.6896, mod: 0.5670, hard: 0.4756
OLD_test_iter pretrain gr pedestrian --> easy: 0.0628, mod: 0.0512, hard: 0.0483
NEW_test_iter pretrain gr pedestrian --> easy: 0.0471, mod: 0.0391, hard: 0.0321
OLD_test_iter pretrain 3d pedestrian --> easy: 0.0436, mod: 0.0445, hard: 0.0396
NEW_test_iter pretrain 3d pedestrian --> easy: 0.0371, mod: 0.0293, hard: 0.0270
OLD_test_iter pretrain 2d cyclist --> easy: 0.6234, mod: 0.4608, hard: 0.3972
NEW_test_iter pretrain 2d cyclist --> easy: 0.6301, mod: 0.4180, hard: 0.3816
OLD_test_iter pretrain gr cyclist --> easy: 0.0344, mod: 0.0296, hard: 0.0306
NEW_test_iter pretrain gr cyclist --> easy: 0.0295, mod: 0.0168, hard: 0.0168
OLD_test_iter pretrain 3d cyclist --> easy: 0.0293, mod: 0.0270, hard: 0.0262
NEW_test_iter pretrain 3d cyclist --> easy: 0.0263, mod: 0.0149, hard: 0.0148

These are OK results for the car class but not for pedestrian and cyclist classes. Also, these results are not the same that you provide in your paper. I mean these results:

Also, when I run train.sh, I get similar results to the results that I get using the provided model, but these results are still not the same as in the paper. In fact, it is significantly better for the pedestrian class and better for the cyclist class.
OLD_test_iter 40000 2d car --> easy: 0.8290, mod: 0.7506, hard: 0.5892
NEW_test_iter 40000 2d car --> easy: 0.8759, mod: 0.7708, hard: 0.6137
OLD_test_iter 40000 gr car --> easy: 0.3448, mod: 0.2528, hard: 0.2053
NEW_test_iter 40000 gr car --> easy: 0.3066, mod: 0.2115, hard: 0.1653
OLD_test_iter 40000 3d car --> easy: 0.2671, mod: 0.1953, hard: 0.1754
NEW_test_iter 40000 3d car --> easy: 0.2230, mod: 0.1503, hard: 0.1193
OLD_test_iter 40000 2d pedestrian --> easy: 0.5670, mod: 0.4883, hard: 0.4096
NEW_test_iter 40000 2d pedestrian --> easy: 0.5822, mod: 0.4813, hard: 0.3946
OLD_test_iter 40000 gr pedestrian --> easy: 0.1323, mod: 0.1156, hard: 0.1137
NEW_test_iter 40000 gr pedestrian --> easy: 0.0528, mod: 0.0424, hard: 0.0351
OLD_test_iter 40000 3d pedestrian --> easy: 0.0473, mod: 0.0482, hard: 0.0413
NEW_test_iter 40000 3d pedestrian --> easy: 0.0405, mod: 0.0314, hard: 0.0287
OLD_test_iter 40000 2d cyclist --> easy: 0.4861, mod: 0.3255, hard: 0.3241
NEW_test_iter 40000 2d cyclist --> easy: 0.4460, mod: 0.2657, hard: 0.2633
OLD_test_iter 40000 gr cyclist --> easy: 0.1132, mod: 0.1058, hard: 0.1064
NEW_test_iter 40000 gr cyclist --> easy: 0.0375, mod: 0.0242, hard: 0.0238
OLD_test_iter 40000 3d cyclist --> easy: 0.1070, mod: 0.0909, hard: 0.0909
NEW_test_iter 40000 3d cyclist --> easy: 0.0213, mod: 0.0141, hard: 0.0144

Can you please tell me how can I obtain the same results as in the paper?
Thank you!

the same question，thank you

Dear authors,
thank you very much for your work. I would like to ask you a few questions.
First, when I evaluate your provided network, I get the following results:
OLD_test_iter pretrain 2d car --> easy: 0.9277, mod: 0.8439, hard: 0.6785
NEW_test_iter pretrain 2d car --> easy: 0.9342, mod: 0.8377, hard: 0.6742
OLD_test_iter pretrain gr car --> easy: 0.3349, mod: 0.2507, hard: 0.1983
NEW_test_iter pretrain gr car --> easy: 0.3225, mod: 0.2268, hard: 0.1722
OLD_test_iter pretrain 3d car --> easy: 0.2490, mod: 0.2077, hard: 0.1729
NEW_test_iter pretrain 3d car --> easy: 0.2317, mod: 0.1621, hard: 0.1234
OLD_test_iter pretrain 2d pedestrian --> easy: 0.6618, mod: 0.5812, hard: 0.4975
NEW_test_iter pretrain 2d pedestrian --> easy: 0.6896, mod: 0.5670, hard: 0.4756
OLD_test_iter pretrain gr pedestrian --> easy: 0.0628, mod: 0.0512, hard: 0.0483
NEW_test_iter pretrain gr pedestrian --> easy: 0.0471, mod: 0.0391, hard: 0.0321
OLD_test_iter pretrain 3d pedestrian --> easy: 0.0436, mod: 0.0445, hard: 0.0396
NEW_test_iter pretrain 3d pedestrian --> easy: 0.0371, mod: 0.0293, hard: 0.0270
OLD_test_iter pretrain 2d cyclist --> easy: 0.6234, mod: 0.4608, hard: 0.3972
NEW_test_iter pretrain 2d cyclist --> easy: 0.6301, mod: 0.4180, hard: 0.3816
OLD_test_iter pretrain gr cyclist --> easy: 0.0344, mod: 0.0296, hard: 0.0306
NEW_test_iter pretrain gr cyclist --> easy: 0.0295, mod: 0.0168, hard: 0.0168
OLD_test_iter pretrain 3d cyclist --> easy: 0.0293, mod: 0.0270, hard: 0.0262
NEW_test_iter pretrain 3d cyclist --> easy: 0.0263, mod: 0.0149, hard: 0.0148

These are OK results for the car class but not for pedestrian and cyclist classes. Also, these results are not the same that you provide in your paper. I mean these results:

Also, when I run train.sh, I get similar results to the results that I get using the provided model, but these results are still not the same as in the paper. In fact, it is significantly better for the pedestrian class and better for the cyclist class.
OLD_test_iter 40000 2d car --> easy: 0.8290, mod: 0.7506, hard: 0.5892
NEW_test_iter 40000 2d car --> easy: 0.8759, mod: 0.7708, hard: 0.6137
OLD_test_iter 40000 gr car --> easy: 0.3448, mod: 0.2528, hard: 0.2053
NEW_test_iter 40000 gr car --> easy: 0.3066, mod: 0.2115, hard: 0.1653
OLD_test_iter 40000 3d car --> easy: 0.2671, mod: 0.1953, hard: 0.1754
NEW_test_iter 40000 3d car --> easy: 0.2230, mod: 0.1503, hard: 0.1193
OLD_test_iter 40000 2d pedestrian --> easy: 0.5670, mod: 0.4883, hard: 0.4096
NEW_test_iter 40000 2d pedestrian --> easy: 0.5822, mod: 0.4813, hard: 0.3946
OLD_test_iter 40000 gr pedestrian --> easy: 0.1323, mod: 0.1156, hard: 0.1137
NEW_test_iter 40000 gr pedestrian --> easy: 0.0528, mod: 0.0424, hard: 0.0351
OLD_test_iter 40000 3d pedestrian --> easy: 0.0473, mod: 0.0482, hard: 0.0413
NEW_test_iter 40000 3d pedestrian --> easy: 0.0405, mod: 0.0314, hard: 0.0287
OLD_test_iter 40000 2d cyclist --> easy: 0.4861, mod: 0.3255, hard: 0.3241
NEW_test_iter 40000 2d cyclist --> easy: 0.4460, mod: 0.2657, hard: 0.2633
OLD_test_iter 40000 gr cyclist --> easy: 0.1132, mod: 0.1058, hard: 0.1064
NEW_test_iter 40000 gr cyclist --> easy: 0.0375, mod: 0.0242, hard: 0.0238
OLD_test_iter 40000 3d cyclist --> easy: 0.1070, mod: 0.0909, hard: 0.0909
NEW_test_iter 40000 3d cyclist --> easy: 0.0213, mod: 0.0141, hard: 0.0144

Can you please tell me how can I obtain the same results as in the paper?
Thank you!
OLD_test_iter 40000 2d car --> easy: 0.8559, mod: 0.7633, hard: 0.6673
NEW_test_iter 40000 2d car --> easy: 0.9023, mod: 0.7834, hard: 0.6453
OLD_test_iter 40000 gr car --> easy: 0.1754, mod: 0.1422, hard: 0.1190
NEW_test_iter 40000 gr car --> easy: 0.1770, mod: 0.1230, hard: 0.1005
OLD_test_iter 40000 3d car --> easy: 0.1317, mod: 0.0964, hard: 0.0698
NEW_test_iter 40000 3d car --> easy: 0.1184, mod: 0.0762, hard: 0.0596
OLD_test_iter 40000 2d pedestrian --> easy: 0.5614, mod: 0.4844, hard: 0.4063
NEW_test_iter 40000 2d pedestrian --> easy: 0.5609, mod: 0.4403, hard: 0.3724
OLD_test_iter 40000 gr pedestrian --> easy: 0.1065, mod: 0.1057, hard: 0.1051
NEW_test_iter 40000 gr pedestrian --> easy: 0.0278, mod: 0.0242, hard: 0.0194
OLD_test_iter 40000 3d pedestrian --> easy: 0.1027, mod: 0.1024, hard: 0.0909
NEW_test_iter 40000 3d pedestrian --> easy: 0.0193, mod: 0.0167, hard: 0.0125
OLD_test_iter 40000 2d cyclist --> easy: 0.0612, mod: 0.0686, hard: 0.0715
NEW_test_iter 40000 2d cyclist --> easy: 0.0505, mod: 0.0377, hard: 0.0393
OLD_test_iter 40000 gr cyclist --> easy: 0.0048, mod: 0.0048, hard: 0.0048
NEW_test_iter 40000 gr cyclist --> easy: 0.0013, mod: 0.0013, hard: 0.0013
OLD_test_iter 40000 3d cyclist --> easy: 0.0043, mod: 0.0043, hard: 0.0043
NEW_test_iter 40000 3d cyclist --> easy: 0.0008, mod: 0.0008, hard: 0.0008
sorry,i got the results like this when i run train.sh,could you please tell me how i can get the results like yours

Dear authors,
thank you very much for your work. I would like to ask you a few questions.
First, when I evaluate your provided network, I get the following results:
OLD_test_iter pretrain 2d car --> easy: 0.9277, mod: 0.8439, hard: 0.6785
NEW_test_iter pretrain 2d car --> easy: 0.9342, mod: 0.8377, hard: 0.6742
OLD_test_iter pretrain gr car --> easy: 0.3349, mod: 0.2507, hard: 0.1983
NEW_test_iter pretrain gr car --> easy: 0.3225, mod: 0.2268, hard: 0.1722
OLD_test_iter pretrain 3d car --> easy: 0.2490, mod: 0.2077, hard: 0.1729
NEW_test_iter pretrain 3d car --> easy: 0.2317, mod: 0.1621, hard: 0.1234
OLD_test_iter pretrain 2d pedestrian --> easy: 0.6618, mod: 0.5812, hard: 0.4975
NEW_test_iter pretrain 2d pedestrian --> easy: 0.6896, mod: 0.5670, hard: 0.4756
OLD_test_iter pretrain gr pedestrian --> easy: 0.0628, mod: 0.0512, hard: 0.0483
NEW_test_iter pretrain gr pedestrian --> easy: 0.0471, mod: 0.0391, hard: 0.0321
OLD_test_iter pretrain 3d pedestrian --> easy: 0.0436, mod: 0.0445, hard: 0.0396
NEW_test_iter pretrain 3d pedestrian --> easy: 0.0371, mod: 0.0293, hard: 0.0270
OLD_test_iter pretrain 2d cyclist --> easy: 0.6234, mod: 0.4608, hard: 0.3972
NEW_test_iter pretrain 2d cyclist --> easy: 0.6301, mod: 0.4180, hard: 0.3816
OLD_test_iter pretrain gr cyclist --> easy: 0.0344, mod: 0.0296, hard: 0.0306
NEW_test_iter pretrain gr cyclist --> easy: 0.0295, mod: 0.0168, hard: 0.0168
OLD_test_iter pretrain 3d cyclist --> easy: 0.0293, mod: 0.0270, hard: 0.0262
NEW_test_iter pretrain 3d cyclist --> easy: 0.0263, mod: 0.0149, hard: 0.0148

These are OK results for the car class but not for pedestrian and cyclist classes. Also, these results are not the same that you provide in your paper. I mean these results:

Also, when I run train.sh, I get similar results to the results that I get using the provided model, but these results are still not the same as in the paper. In fact, it is significantly better for the pedestrian class and better for the cyclist class.
OLD_test_iter 40000 2d car --> easy: 0.8290, mod: 0.7506, hard: 0.5892
NEW_test_iter 40000 2d car --> easy: 0.8759, mod: 0.7708, hard: 0.6137
OLD_test_iter 40000 gr car --> easy: 0.3448, mod: 0.2528, hard: 0.2053
NEW_test_iter 40000 gr car --> easy: 0.3066, mod: 0.2115, hard: 0.1653
OLD_test_iter 40000 3d car --> easy: 0.2671, mod: 0.1953, hard: 0.1754
NEW_test_iter 40000 3d car --> easy: 0.2230, mod: 0.1503, hard: 0.1193
OLD_test_iter 40000 2d pedestrian --> easy: 0.5670, mod: 0.4883, hard: 0.4096
NEW_test_iter 40000 2d pedestrian --> easy: 0.5822, mod: 0.4813, hard: 0.3946
OLD_test_iter 40000 gr pedestrian --> easy: 0.1323, mod: 0.1156, hard: 0.1137
NEW_test_iter 40000 gr pedestrian --> easy: 0.0528, mod: 0.0424, hard: 0.0351
OLD_test_iter 40000 3d pedestrian --> easy: 0.0473, mod: 0.0482, hard: 0.0413
NEW_test_iter 40000 3d pedestrian --> easy: 0.0405, mod: 0.0314, hard: 0.0287
OLD_test_iter 40000 2d cyclist --> easy: 0.4861, mod: 0.3255, hard: 0.3241
NEW_test_iter 40000 2d cyclist --> easy: 0.4460, mod: 0.2657, hard: 0.2633
OLD_test_iter 40000 gr cyclist --> easy: 0.1132, mod: 0.1058, hard: 0.1064
NEW_test_iter 40000 gr cyclist --> easy: 0.0375, mod: 0.0242, hard: 0.0238
OLD_test_iter 40000 3d cyclist --> easy: 0.1070, mod: 0.0909, hard: 0.0909
NEW_test_iter 40000 3d cyclist --> easy: 0.0213, mod: 0.0141, hard: 0.0144

Can you please tell me how can I obtain the same results as in the paper?
Thank you!
OLD_test_iter 40000 2d car --> easy: 0.8559, mod: 0.7633, hard: 0.6673
NEW_test_iter 40000 2d car --> easy: 0.9023, mod: 0.7834, hard: 0.6453
OLD_test_iter 40000 gr car --> easy: 0.1754, mod: 0.1422, hard: 0.1190
NEW_test_iter 40000 gr car --> easy: 0.1770, mod: 0.1230, hard: 0.1005
OLD_test_iter 40000 3d car --> easy: 0.1317, mod: 0.0964, hard: 0.0698
NEW_test_iter 40000 3d car --> easy: 0.1184, mod: 0.0762, hard: 0.0596
OLD_test_iter 40000 2d pedestrian --> easy: 0.5614, mod: 0.4844, hard: 0.4063
NEW_test_iter 40000 2d pedestrian --> easy: 0.5609, mod: 0.4403, hard: 0.3724
OLD_test_iter 40000 gr pedestrian --> easy: 0.1065, mod: 0.1057, hard: 0.1051
NEW_test_iter 40000 gr pedestrian --> easy: 0.0278, mod: 0.0242, hard: 0.0194
OLD_test_iter 40000 3d pedestrian --> easy: 0.1027, mod: 0.1024, hard: 0.0909
NEW_test_iter 40000 3d pedestrian --> easy: 0.0193, mod: 0.0167, hard: 0.0125
OLD_test_iter 40000 2d cyclist --> easy: 0.0612, mod: 0.0686, hard: 0.0715
NEW_test_iter 40000 2d cyclist --> easy: 0.0505, mod: 0.0377, hard: 0.0393
OLD_test_iter 40000 gr cyclist --> easy: 0.0048, mod: 0.0048, hard: 0.0048
NEW_test_iter 40000 gr cyclist --> easy: 0.0013, mod: 0.0013, hard: 0.0013
OLD_test_iter 40000 3d cyclist --> easy: 0.0043, mod: 0.0043, hard: 0.0043
NEW_test_iter 40000 3d cyclist --> easy: 0.0008, mod: 0.0008, hard: 0.0008
sorry,i got the results like this when i run train.sh,could you please tell me how i can get the results like yours

The difference in the results can be caused just by a different dynamics of the training and by a different initialization.

Dear authors,
thank you very much for your work. I would like to ask you a few questions.
First, when I evaluate your provided network, I get the following results:
OLD_test_iter pretrain 2d car --> easy: 0.9277, mod: 0.8439, hard: 0.6785
NEW_test_iter pretrain 2d car --> easy: 0.9342, mod: 0.8377, hard: 0.6742
OLD_test_iter pretrain gr car --> easy: 0.3349, mod: 0.2507, hard: 0.1983
NEW_test_iter pretrain gr car --> easy: 0.3225, mod: 0.2268, hard: 0.1722
OLD_test_iter pretrain 3d car --> easy: 0.2490, mod: 0.2077, hard: 0.1729
NEW_test_iter pretrain 3d car --> easy: 0.2317, mod: 0.1621, hard: 0.1234
OLD_test_iter pretrain 2d pedestrian --> easy: 0.6618, mod: 0.5812, hard: 0.4975
NEW_test_iter pretrain 2d pedestrian --> easy: 0.6896, mod: 0.5670, hard: 0.4756
OLD_test_iter pretrain gr pedestrian --> easy: 0.0628, mod: 0.0512, hard: 0.0483
NEW_test_iter pretrain gr pedestrian --> easy: 0.0471, mod: 0.0391, hard: 0.0321
OLD_test_iter pretrain 3d pedestrian --> easy: 0.0436, mod: 0.0445, hard: 0.0396
NEW_test_iter pretrain 3d pedestrian --> easy: 0.0371, mod: 0.0293, hard: 0.0270
OLD_test_iter pretrain 2d cyclist --> easy: 0.6234, mod: 0.4608, hard: 0.3972
NEW_test_iter pretrain 2d cyclist --> easy: 0.6301, mod: 0.4180, hard: 0.3816
OLD_test_iter pretrain gr cyclist --> easy: 0.0344, mod: 0.0296, hard: 0.0306
NEW_test_iter pretrain gr cyclist --> easy: 0.0295, mod: 0.0168, hard: 0.0168
OLD_test_iter pretrain 3d cyclist --> easy: 0.0293, mod: 0.0270, hard: 0.0262
NEW_test_iter pretrain 3d cyclist --> easy: 0.0263, mod: 0.0149, hard: 0.0148

These are OK results for the car class but not for pedestrian and cyclist classes. Also, these results are not the same that you provide in your paper. I mean these results:

Also, when I run train.sh, I get similar results to the results that I get using the provided model, but these results are still not the same as in the paper. In fact, it is significantly better for the pedestrian class and better for the cyclist class.
OLD_test_iter 40000 2d car --> easy: 0.8290, mod: 0.7506, hard: 0.5892
NEW_test_iter 40000 2d car --> easy: 0.8759, mod: 0.7708, hard: 0.6137
OLD_test_iter 40000 gr car --> easy: 0.3448, mod: 0.2528, hard: 0.2053
NEW_test_iter 40000 gr car --> easy: 0.3066, mod: 0.2115, hard: 0.1653
OLD_test_iter 40000 3d car --> easy: 0.2671, mod: 0.1953, hard: 0.1754
NEW_test_iter 40000 3d car --> easy: 0.2230, mod: 0.1503, hard: 0.1193
OLD_test_iter 40000 2d pedestrian --> easy: 0.5670, mod: 0.4883, hard: 0.4096
NEW_test_iter 40000 2d pedestrian --> easy: 0.5822, mod: 0.4813, hard: 0.3946
OLD_test_iter 40000 gr pedestrian --> easy: 0.1323, mod: 0.1156, hard: 0.1137
NEW_test_iter 40000 gr pedestrian --> easy: 0.0528, mod: 0.0424, hard: 0.0351
OLD_test_iter 40000 3d pedestrian --> easy: 0.0473, mod: 0.0482, hard: 0.0413
NEW_test_iter 40000 3d pedestrian --> easy: 0.0405, mod: 0.0314, hard: 0.0287
OLD_test_iter 40000 2d cyclist --> easy: 0.4861, mod: 0.3255, hard: 0.3241
NEW_test_iter 40000 2d cyclist --> easy: 0.4460, mod: 0.2657, hard: 0.2633
OLD_test_iter 40000 gr cyclist --> easy: 0.1132, mod: 0.1058, hard: 0.1064
NEW_test_iter 40000 gr cyclist --> easy: 0.0375, mod: 0.0242, hard: 0.0238
OLD_test_iter 40000 3d cyclist --> easy: 0.1070, mod: 0.0909, hard: 0.0909
NEW_test_iter 40000 3d cyclist --> easy: 0.0213, mod: 0.0141, hard: 0.0144

Can you please tell me how can I obtain the same results as in the paper?
Thank you!

could you please show me your depth_guided_config.py settings when you run train.sh,when i run train.sh,i couldn't get the results like yours.thank you

hi, had you solve this problem. i am comfused too


text:
CheckBox组件是删了么？

找了半天没找到，是会员限定么？

会员组件


text:
FIx the CI

The problem is the same as ocaml-freestanding when ocaml-ci wants to run dune and ... this project is just a spaguetti of Makefile...

The CI works but it does not compile gilbraltar (only gilbraltar-toolchain). The main problem is: we need the OPAM layout to, finally, build our test and OCaml-CI does not provide to us such ability.

repo: dinosaure/gilbraltar

license: ISC


text:
Unable to set proxy

Hello,
The reason I'm submitting this as an issue is that you want to maintain compatibility to the official pusher client, and pusher-client-node does not allow for setting a proxy. Since I work behind a corportate proxy, this has been a real headache, and I bet there are more people in the same situtation. I gave it a shot myself but I am not that knowledgeable.
Thanks in advance,
Pimeau

Hi @Pimeau
Thanks for creating the ticket. I can't find anything about proxies in the PusherJS docs so not sure how I should fix this. Do you have an example of how you configure the official client?

Hello Dirk,
Thanks for your reply. My bad, I was looking at
https://github.com/pusher/pusher-http-node, which a colleague told me was
the official client. This one lets you set a proxy, but now I'm confused,
what is the official client? :|
It would be great if you could support proxies. We're behind a corportate
one without much control over server or network configuration. I was
tinkering with your code but I'm far too newbie for getting it working.
Excuse me if I created a defect out of something that is not.
Best regards,
Luis M
On Tue, Feb 23, 2016 at 1:55 PM, Dirk Bonhomme notifications@github.com
wrote:

Hi @Pimeau https://github.com/Pimeau
Thanks for creating the ticket. I can't find anything about proxies in the
PusherJS docs so not sure how I should fix this. Do you have an example of
how you configure the official client?
—
Reply to this email directly or view it on GitHub
https://github.com/dirkbonhomme/pusher-client-node/issues/11#issuecomment-187875894
.

The "pusher-js" library is Pusher's official client to consume their realtime data channels and meant to be used in a browser: https://github.com/pusher/pusher-js
This "pusher-client-node" library is a port of Pusher's official client and meant to be used in Nodejs environments
The "pusher-http-node" is Pusher's official library to communicate with their API, not the realtime data channels.
So not sure what you are trying to do? Use their api or consume realtime data? There might be an easy way to pass your proxy settings to the underlying library I'm using. But guess I'll need an example first.

We are listening on their realtime data channels for the new_lead event.
Based on that we trigger some actions.
When I was tinkering with your code, I hard-coded a proxy in the
requestOptions variable the WebSocket uses. Before my experiments, we
usually get:
Error { type: 'WebSocketError',
error: 'Unknown socket error: ETIMEDOUT connect' }
After that:
Error { type: 'WebSocketError',
error: 'Unknown socket error: EPROTO write'
This is what I did to requestOptions:
var requestOptions = {
port: 8080,
host: 'OUR_PROXY',
path: 'wss://ws.pusherapp.com:' + port,
headers: {
'Connection': 'Upgrade',
'Upgrade': 'websocket',
'Host': headerHost,
'Sec-WebSocket-Version': options.value.protocolVersion,
'Sec-WebSocket-Key': key
}
};
Later on the path would be concatenated (+=) with the rest of the URL, I
read somewhere that this is how you could achieve using a proxy, but I sure
messed up. I tried both encrypted true / false when creating the Pusher
object but nothing changes.
Please let me know if you need more details.
On Wed, Feb 24, 2016 at 11:03 AM, Dirk Bonhomme notifications@github.com
wrote:

The "pusher-js" library is Pusher's official client to consume their
realtime data channels and meant to be used in a browser:
https://github.com/pusher/pusher-js
This "pusher-client-node" library is a port of Pusher's official client
and meant to be used in Nodejs environments
The "pusher-http-node" is Pusher's official library to communicate with
their API, not the realtime data channels.
So not sure what you are trying to do? Use their api or consume realtime
data? There might be an easy way to pass your proxy settings to the
underlying library I'm using. But guess I'll need an example first.
—
Reply to this email directly or view it on GitHub
https://github.com/dirkbonhomme/pusher-client-node/issues/11#issuecomment-188354836
.

I think you are on the right track but I'm afraid that's as far as I can help you. I'm not sure if and how a websocket proxy is supposed to work. From the looks of it I would guess that you are using an http proxy (port 8080..) which probably isn't able to forward websockets.
You might have more luck asking it over at the "ws" library? https://github.com/websockets/ws
Success!

Makes total sense Dirk, it boils down to the ws lib. I will continue my
research with the guys there. Thanks for taking the time to reply to my
mails. Your last name suits you well :-)
Merci bien,
Luis M
On Feb 24, 2016 7:39 PM, "Dirk Bonhomme" notifications@github.com wrote:

I think you are on the right track but I'm afraid that's as far as I can
help you. I'm not sure if and how a websocket proxy is supposed to work.
From the looks of it I would guess that you are using an http proxy (port
8080..) which probably isn't able to forward websockets.
You might have more luck asking it over at the "ws" library?
https://github.com/websockets/ws
Success!
—
Reply to this email directly or view it on GitHub
https://github.com/dirkbonhomme/pusher-client-node/issues/11#issuecomment-188552732
.

Haha thanks. Let me know if you've been able to figure it out. There might be an easy way to enable proxies through this plugin's configuration. I'll close the ticket for now.

authors: Pimeau dirkbonhomme

repo: dirkbonhomme/pusher-client-node

license: mit

license_source: bigquery


text:
Added Rivets Formatter for inversion of eq called unless.

This is a possible fix for discolabs/cartjs#48, allowing for the following example usage:

To show all line items except for those where the product title equals Title 1

<div class="line-item" rv-show="item.title | unless 'Title 1'">
  <!-- Line Item Properties -->
</div>

(Also, haven't updated docs in this case as pending further expansion of DOM Binding Guide)

As per my comment in #48, it's possible to achieve inversion by chaining formatters - so we could do | not | eq rather than having this single formatter.
I'd probably prefer to leave that as the approach to solve this problem rather than adding a new formatter - small composable units and all that.
Thanks!

Agreed - didn't realise Rivets supported that, but definitely makes more sense. The use case that Lindsey highlights may be more flexibly solved with an includes? formatter as you suggested, though in my mind the ideal would be a match formatter that could accept a regexp...

authors: gavinballard michaelrshannon

repo: discolabs/cartjs


text:
Refactor(readme): improve readme

Reword the readme to make it easier to understand.
Add amethyst to the framework section

Formated!

@deepsarda
hmm
weird
check formatting test is still failing, although it fail somewhere else, which suspect me to think that it looks like you're not using the latest deno version
the latest version is 1.25.3, you can check by running deno --version
if you're not on the latest version, can you run deno upgrade then deno fmt again then add, commit, and push again?
Sorry if this annoys you, deno changed their default formatting a few versions ago (a few weeks ago)
Here's more screenshot why ITOH don't like auto format like what you suggested
Warning: Clicking this will expand and spam the screen with images

@lts20050703
Here you go.

repo: discordeno/discordeno


text:
Update akka-actor to 2.6.6

Updates com.typesafe.akka:akka-actor from 2.6.4 to 2.6.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka", artifactId = "akka-actor" } ]

labels: library-update, semver-patch

Superseded by #121.

Superseded by #121.

repo: dispalt/tagless-redux


text:
Python 2.6 support

It looks like we could get Python 2.6 support by just changing the way that formatted strings are defined to include the argument number.
tox -epy26 results in the following output:
https://gist.github.com/woodb/05795c29334d17d06f2a.js
I'd be willing to take this on, but it does require updating the following files, so I wouldn't want the PR to get too stale.
graphql/core/execution/values.py
graphql/core/language/error.py
graphql/core/language/lexer.py
graphql/core/language/parser.py
graphql/core/language/printer.py
graphql/core/validation/rules.py

seems like something we should do after https://github.com/dittos/graphql-py/issues/6 is finished off

Agreed @rawls238

After looking at what it would take to support Python 2.6, I'm thinking that it's not really important. Esp. since we're dealing w/ a hip new tech, I don't see anyone using it still being on Python 2.6 that would want to use it (while I would argue that #17 was necessary for this same reason).
Closing this one out, but if someone has a compelling reason to want to support 2.6, we can reopen it.

repo: dittos/graphql-py


text:
🛑 Cobi-MQTT - MQTT Port is down

In 0e0bd88, Cobi-MQTT - MQTT Port ($COBI_MQTT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cobi-MQTT - MQTT Port is back up in c6605f4.

repo: diveliastudio/upptime


text:
Djangocms-installer crashes when creating new project.

@yakky You clearly get me wrong.
I've got a crash when creating new project, and it also removes PARENT directory, not current one. It means. Even if you want to remove parent directory for some reason please fix a crash, cause I can't even create a project. What's wrong with this community, do you even read my text in previous issue?
cd ~/
mkdir myproject
cd myproject
djangocms -p . zavifoto
*crash*
ls ~/
<no files>

Details bellow:
I've been doing exactly as docs stated, and my whole directory been destroyed. Before that I've tried this in home directory, and all files were destroyed there too with this crash.
mkdir zavifoto
cd zavifoto
virtualenv .
source bin/activate
pip install djangocms-installer

(zavifoto)django@zavifoto:~/zavifoto$ djangocms -p . zavifoto
Database configuration (in URL format) [default sqlite://localhost/project.db]:
django CMS version (choices: 2.4, 3.0, stable, develop) [default stable]:
Django version (choices: 1.4, 1.5, 1.6, 1.7, stable) [default stable]: 1.7
Activate Django I18N / L10N setting (choices: yes, no) [default yes]:
Install and configure reversion support (choices: yes, no) [default yes]:
Languages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here: lt,en,ru
Optional default time zone [default America/Chicago]: Europe/Vilnius
Activate Django timezone support (choices: yes, no) [default yes]: yes
Activate CMS permission management (choices: yes, no) [default yes]:
Use Twitter Bootstrap Theme (choices: yes, no) [default no]: yes
Use custom template set [default no]:
Load a starting page with examples after installation. Choose "no" if you use a custom template set. (choices: yes, no) [default no]: yes
Traceback (most recent call last):
  File "/home/django/zavifoto/bin/djangocms", line 11, in <module>
  File "/home/django/zavifoto/local/lib/python2.7/site-packages/djangocms_installer/main.py", line 47, in execute
  File "/usr/lib/python2.7/shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '.'

This is the latest ubuntu instance on digital ocean.
(zavifoto)django@zavifoto:~/zavifoto$ uname -a
Linux zavifoto 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

This is related to nephila/djangocms-installer, and should be opened in that repository.
This should be fixed in 0.7.1, anyway

authors: holms yakky

repo: divio/django-cms


text:
Validate POST data in CartItemDetail view

item_quantity does not get validated allowing to post negative or non-numeric quantity
https://github.com/divio/django-shop/blob/master/shop/views/cart.py#L51

grr yea I know... I once did a path that introduced a form with proper validation for the cart view but then I found out that the product detali view suffers from the same problem.
I had started on another patch to introduce a django form to the product detail view as well but then I faced yet another delicate problem:
SQL can only save so big values in the field that holds the sum of all items. While we might be able to check that the toal sum is not too big on the cart overview (in the form's clean method), we cannot check that so easily on the product detail view. Someone might enter a quantity of 999999999, which might still be ok, but then THAT has to be multiplied with some price and will most probably already result in a value that is too big for the database. additionaly, someone might add 99999999 items to his cart, then go back to the product detail page and add another 999999999...
I don't know what the best practice is for ecommerce solutions. I bet every shop has to deal with this? Do they just assume that no one will ever enter crazy amounts?

I know it's a pretty ugly solution, but how about putting a setting or a constant for it? I think nobody will blame us if we put "cart can only handle 99999 objects of the same type" in a "known limitations" somewhere... What do you think?

I mean put one higher limit on the price as well obviously... I think It's fair to assume people buying 5x5000k$ yatchs will probably not use an online shop?

I'm kind of spammy, but I noticed this shop in particular uses another trick to limit the amount (drop down boxes).
http://shop.canonical.com/

IMHO shop should handle big values. For example we build a panel for wholesale customers, and this panel should be able to handle very big values.

zeus sure, everyone would want to have that feature. But how do you think this can be done? It's the database that restricts us. Should we save all prices and amounts and total sums as strings? o_O

mbrochh  AFAIK we have DecimalField for these fields. And DecimalField stored in db with Deciaml type which is in fact just string. I can't see db level limitations here :(.

This is changed and should be fixed in https://github.com/divio/django-shop/pull/138
Let me know if that addresses the problem

Closed. Please check version 0.9.

authors: chrisglass jrief mbrochh neo64bit zeus

repo: divio/django-shop


text:
🛑 Arcadja is down

In b277d98, Arcadja (https://www.arcadja.com/auctions/en/) was down:

HTTP code: 302
Response time: 1868 ms

Resolved: Arcadja is back up in a39fbda after 17 minutes.

repo: divtiply/artupptime


text:
🛑 Artsy is down

In 523776b, Artsy (https://www.artsy.net/) was down:

HTTP code: 504
Response time: 20090 ms

Resolved: Artsy is back up in 786fb01 after 58 minutes.


text:
🛑 Smith & Singer is down

In 0c81df4, Smith & Singer (https://www.smithandsinger.com.au/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Smith & Singer is back up in 1fa6989 after 22 minutes.


text:
🛑 Tate Ward is down

In b47e125, Tate Ward (https://www.tateward.com/) was down:

HTTP code: 503
Response time: 513 ms

Resolved: Tate Ward is back up in aafe4c0 after 8 minutes.


text:
🛑 Heritage Auctions is down

In f6b32ae, Heritage Auctions (https://www.ha.com/) was down:

HTTP code: 403
Response time: 228 ms

Resolved: Heritage Auctions is back up in 59cde9c after 30 minutes.


text:
🛑 ArtChart is down

In 0c1d02c, ArtChart (https://artchart.net/en) was down:

HTTP code: 504
Response time: 15933 ms

Resolved: ArtChart is back up in 287a3d9 after 4 minutes.


text:
🛑 Radio France Open API is down

In 9f94d70, Radio France Open API ($SECRET_SITE) was down:

HTTP code: 500
Response time: 475 ms

Resolved: Radio France Open API is back up in ae5b9e9.


text:
Fix authentication error when postgres is password protected

Fixes #282

@NoahRR Hey there, I saw that you had issues with #282, would you mind trying out this branch and see if it works for you?

Should add a testcase for this too -> https://dba.stackexchange.com/a/243220/132631

👍🏾

@NoahRR Hey there, I saw that you had issues with #282, would you mind trying out this branch and see if it works for you?

@jonathan-s  Hey, yeah I'd love to. Sorry, I'm new to the programming world, how would I actually download this new branch to test if it works? I KNOW REALLY NOOB QUESTION xD

@NoahRR Hey there, I saw that you had issues with #282, would you mind trying out this branch and see if it works for you?

@jonathan-s Hey, yeah I'd love to. Sorry, I'm new to the programming world, how would I actually download this new branch to test if it works? I KNOW REALLY NOOB QUESTION xD

scratch that... I see the branch now xD. Let me test it

nope, I'm still a dumbass :). I cloned repo and checked out password branch, but how do I actually "install" it so I can test the new functionality. @jonathan-s I know you probably have more important things to do but I'd love to test this branch if I could >.<

@NoahRR Nothing wrong with being a noob, we all were at some point.
So you've cloned the repo and also changed the branch to password. Great! Half-way there. If you go to the folder where the cloned repo is (ie you see setup.py when you type ls -l in the command line). You should be able to type pip install -e . that would install the package in editable mode (which is excellent way of developing python packages :) ). It's pip installed and is now available everywhere you can access all the other packages that were installed the same way.

@jonathan-s I really appreciate the help (now i understand how that works)!
The new branch seems to have solved the password problem!
... I'm still running into errors, but I believe those are due to Postgres permissions (error: permission denied for schema topology). Anyways, I don't think that is relevant and shouldn't be too hard to fix on my part. The --no-password errors are gone!

Great to hear @NoahRR, and thanks for verifying that it works as expected.

authors: NoahRR ZuluPro jonathan-s

repo: django-dbbackup/django-dbbackup


text:
Fixes RemovedInDjango110Warning in runserver_plus

This fixes the issue described in #770, but only for the runserver_plus command.

I think that the failing tests are unrelated to my changes.

repo: django-extensions/django-extensions


text:
Use class attribute to guide RDN creation

So in #175 it was mentioned that, ideally, the whole process of creating the RDN should be separate from designating primary keys for the database table.
@Natureshadow mentioned they were not keen on such a major rewrite, though.
But looking at the code, I believe there's quite an easy path, namely a simple class attribute, for which I propose rdn_fields, taking a list of field names. The code for build_rdn is trivial to change.
As far as the user is concerned:

They are already expected to add some class attributes. Requiring one more should not be strange or surprising.
Previously, if they did not add a primary_key field, they got an error when saving. Now, if they do not add the class attribute, they get the exact same error at the exact same time.
Creating a list of field names is a common occurrence in Django: for Meta ordering, for the admin site, for a ModelForm, etc.

In short, as far as user experience goes, I do not see this as a major difference.
Is it backwards compatible? Well, not as I wrote it, no. But you can easily turn the if slightly more complicated to achieve that:
    if field.db_column and (field.primary_key or field.name in self.rdn_fields):

@Natureshadow mentioned they were not keen on such a major rewrite, though.

Where did I say that?
In any case, please make this change backwards-compatible.

I was referring to this comment: https://github.com/django-ldapdb/django-ldapdb/issues/175#issuecomment-410215764

I was referring to this comment: #175 (comment)

I can't remember what the reason for this comment was. That said, I will test and review the change in the course of the week.

authors: Natureshadow SwampFalc

repo: django-ldapdb/django-ldapdb


text:
File and image uploads broken if using google appengine sdk 1.9.x

Hello,
We have problems uploading images and files if we switch to the 1.9.x appengine sdk versions. The request handling code just does not get any FILES.
I could simulate the same error using sdk 1.8.9 when using the webob 1.1.1 library. Using the webob 0.9 version with the newer sdk does not seem to solve the problem, and is actually not supported by appengine as well.
Please help.

I might be running into the same issue: request.FILES is an empty dict after POST'ing a form that includes a file upload (SDK 1.9.17). My investigations are ongoing.

authors: fastgeert tkmunzwa

repo: django-nonrel/djangoappengine


text:
Refs #32339 -- Added use_fieldset to Widget.

Hi All,
Currently we have no way of telling of a widget should be rendered with a <fieldset> / <legend> or with a . In the
 template PR I did this by widget name but that's not great for extending functionality. Further, when adding aria-describedby I ran into similar issues where we need to know where to add the aria-describedby is it on the   or the <fieldset>.
This PR adds an attribute to each widget so we can identify how that widget should be treated. I've added a minimal version of the proposed as_div() method/template to show how it is intended to be used once more work is complete.
Sorry for all of these tests! There are alot of widgets; however, I think if we can agree this it will help to ensure we capture other changes correctly.
A few notes:

Multiwidget/selectdatewidget I think require a <fieldset> but their templates likely need more work. Maybe this could be a separate ticket(s). I say tickets as I think selectdatewidget is quite a narrow question and could be an easy picking, multiwidget I'm not so sure.
ClearableFiles render in different ways. It is possible to get a checkbox and a file field input with this one, and I wonder if we should be adding a fieldset in that scenario. However, that's at the widget template level, not here as it's not always one thing or the other.
Should I also add similar tests for the custom admin widgets as part of this PR?

I'm not part of the accessibility team and as a new contributor, I will try to help at my level, happy to have suggestions if I'm doing something wrong.
I think this will help to define the aria attributes, especially aria-describedby.

Multiwidget/selectdatewidget I think require a

I think they should also

ClearableFiles render in different ways. It is possible to get a checkbox and a file field input with this one, and I wonder if we should be adding a fieldset in that scenario

I'm not sure fieldset is needed in that case, aria attributes here will be the aria-controlsand aria-label to know that there is a button action and the title of the action.

@sabderemane thanks for the review.

I'm not sure fieldset is needed in that case

Ok, I've not enabled it for now. It sounds like we may need a different approach for that widget and therefore I think it's ok to say that is out of scope for now.
@felixxm -- can I give this a nudge onto your list? 😁

... can I give this a nudge onto your list? 😁

Just added a Has Patch on ticket-32339. I'll have a look.

Hi Carlton,
It took me a little while to fully understand your question as we need to change the Form Template rather than the Widget Template. What I think you asked is can we replace the BoundField property with a {% with ... %} and I think you are accepting the additional properties on the widgets are ok. If I've misunderstood this then maybe what follows is wrong.
There are two parts to my answer. One is a short term view to address the questions needed to inform the discussion on this PR alone, the second is considering how it fits into form rendering more generally.
This PR
I'd not thought of doing {with ... in the template, I agree that could be a nice way to remove the additional API that is currently being added to BoundField. However, this feature isn't really to do with the way the widget i.e. the <input> tag is rendered it is to do with the whole field (i.e. incl. Label, helptext etc).
I like adding the property to BoundField as it means we can write this in our docs. The alternative would be much more verbose (i.e. dig into the widget) which I'm not so sure about? As discussed here there is a need for form rendering logic to know about a feature of the widget, and therefore I think it's ok to add this as we also have errors, helptext, labels, css classes, widget type as part of BoundField to help render the field in the form.
More Generally
The longer and more "strategic" answer is that I am coming round to the idea that BoundField should be a renderable. Currently we have Forms and Widgets as renderable objects, but we can't currently render a Field (a "Field" being inclusive of Label, Help text, Errors). If folk render a BoundField today, what they actually get is a rendered widget (the <input>).
Now, thinking about what is left in Crispy-Forms core and how that differs to Django this is one of the core conceptual differences. The template logic in Crispy-Forms is based around the concept of a Field.html template where Field is the BoundField (and oh, didn't it take a long time for that penny to drop 😆) and the widget/<input> is just part of that.
This concept in crispy-forms then allows us to build Layouts so something like this following. Note: I've deliberately made the layout a little more complex, so we can't just loop over the fields in the form and treat them all the same.

   Layout(
          Row("name", "email")
          Row("favourite_colour")
   )

Now, if we were to try and recreate this with pure Django we'd need a custom template that would look like.

        {{ form.text_input_a.label_tag }}
        {{ form.text_input_a }}
        {{ form.text_input_a.help_text }}
        {# errors here (BoundField.errors) #}

        {{ form.text_input_b.label_tag }}
        {{ form.text_input_b }}
        {{ form.text_input_b.help_text }}
        {# errors here (BoundField.errors) #}

        {{ form.text_input_c.label_tag }}
        {{ form.text_input_c }}
        {{ form.text_input_c.help_text }}
        {# errors here (BoundField.errors) #}

I appreciate one is written in Python, and the other in DTL. If the only change is to consider Field a renderable then we could re-write the crispy-form Layout in DTL.

        {{ form.text_input_a }}

        {{ form.text_input_b }}

        {{ form.text_input_b }}

Note: Practically we can't do this as it's very backward incompatible as calling str on a BoundField currently gives us a widget. So likely we'd need another method on the BoundField.
We'd then need a field.html template that did something like:
 {{ field.label_tag }}
 {{ field }}
 {{ field.help_text }}
 {# errors here (BoundField.errors) #}

I think this is much nicer as there is a lot less repetition. This is helped by BoundField already really wanting to be rendered today due to the above mentioned data it holds. Currently we just loop over a forms fields here which is fine but as soon as you want to do something a little different as in the layout above you have to drop down a couple of levels and render each component of the field individually.
This seems like it would fit with Django's current approach and I don't think it would add that much API to Django. That is, this can be achieved without adding something similar to crispy-forms Layout. We'd be saying, do your html layout in html, rather than in Python which is how crispy-forms addresses the problem.
I do not think it appropriate to add crispy's Layout to core would result in two ways to do the same thing. All of the other various layout objects are then effectively small HTML snippets that help build a Layout, so we'd not need those either. Yes a Layout allows you to update them "on the fly" but I'm not convinced that's something that should be in core.
If your layout is getting very complex for example using prepend inputs / inline checkboxes then that's a feature that crispy-forms brings to help with those more complex use cases. However, you can get the majority of the way there with Django core.
I appreciate the second half of this is conceptual as I've not actually considered the implementation details to consider how we would implementing making BoundField a renderable. Hopefully this helps support the case that it's ok to add more renderable logic to BoundField as part of this PR.
I hope this is helpful. 😄

Hey @smithdc1 — Super stuff! 👍
OK, so for this PR, you've convinced me, let's press on with the extra method. (Do you want to rebase and check it's how you want and I'll give it another proper look over at the change-set level?)
Then more generally — Yes: BoundField wants to be rendered, but not just by changing __str__, nor adding something like Layout. Whether that ends up as a method, (or maybe a template tag 🤔), or... we don't need to settle now — but I think your assessment is about right. Keeping it template based, one way or the other, would allow folks to specify their control groups, and then it's just "render those in a loop", which is nice.

Hey @smithdc1 — I picked this up to look up, but I'm not going to finish it today. It rebases cleanly so I've pushed that, so we're both on the same page, in case you get to it too. (Hope that makes sense 😬) Thanks.

Hi @carltongibson thank you for your review.
I started to make a few edits last night which I've added as a separate commit. It's unlikely I'll get time until next week to come back to this. Although hopefully it's not that far off in any case now.
If we agree boundfield can be rendered should we accept this ticket?
https://code.djangoproject.com/ticket/33437

Suitably rephrased maybe... - we don't want to add as_p(), rather a way of rendering with the set template(set). Let's ponder.

Just wanted to mention I intend to review this this weekend, for the aspects I’m competent on. Sorry it’s taken so long.

Hi @smithdc1 — I just pushed https://github.com/django/django/pull/15317/commits/adc058be283f17106a3fd491c869da62652065a8 to resolve one of the test failures. I said on Windows but looking at the matrix, it was everywhere (which is a relief 😅). I'll look at the multi-widget failure next.

Thank you @thibaudcolas for the review. 👍
Thank you @carltongibson and @felixxm for pushing this over the line.

authors: carltongibson sabderemane smithdc1 thibaudcolas

repo: django/django


text:
Fixed #24439 -- Remove make_object_list as needed.

Bug fix to https://code.djangoproject.com/ticket/24439#ticket

merged in fea45eff5a2f2ad10b2788603db80e5a4fe6be06, thanks.

authors: jambonrose timgraham


text:
hi，can you support  django-rest-framework

hi，can you support  django-rest-framework
thank you very much  :+1: ）

:+1: I may start working on this later this Spring.

repo: djangonauts/django-pgjson


text:
Restore NewConnection struct for parts of a connection

This enables forwards-compatibility with future extensions such as a datagram stream.
Partially unblocks #395.

LGTM. Just fix up the examples?

Whoops. Examples which require features are always so difficult to get cargo to see. That should do it.

Forget the benchmarks! 😝

Thank god for CI.

authors: Ralith djc

repo: djc/quinn


text:
Potentially improve HashMap deserialization perf

drive by change, didn't do any benchmarks, but seems like this can't hurt, right?

Looks good to me, every little bit helps!

authors: djkoloski matklad

repo: djkoloski/rkyv


text:
Additions

core data apps #89

[ ] keyboard apps

[ ] keyboard section

misc

[ ] https://github.com/1raynes/speakability 11
[ ] https://github.com/jamiely/ios-balloon-burst 8
[ ] https://github.com/Azoft/CollageMaker-iOS 10
[ ] https://github.com/Mav3r1ck/Tripletz 6
[ ] https://github.com/lucasqiu/Adler-Mobile-App 4
[ ] https://github.com/weiran/Hackers 285 but not maintained
https://github.com/KinveyApps ... ?
[ ] Cepp: Find information on addresses (Brazil)

https://github.com/filipealva/Cepp
https://itunes.apple.com/br/app/cepp-encontre-ceps/id942709971

React Native

[ ] https://github.com/peralmq/ForeignExchangeApp 6
[ ] https://github.com/christopherdro/react-native-sudoku 21
[ ] https://github.com/christopherdro/react-native-sudoku 21
[x] https://github.com/joemaddalone/react-native-todo
[x] https://github.com/jsphkhan/ReactNativeExamples/tree/master/ios/WeatherApp 41
[x] https://github.com/mikkoj/NortalTechDay 80
[x] https://github.com/paranoida/IcelandEarthquakes 18
[x] https://github.com/bradoyler/newswatch-react-native 17
[x] https://github.com/ashwinpreet/ReactNativeExamples/tree/master/ios/CurrencyConverter 8
[x] https://github.com/campezzi/react-native-spacepics 6
[x] https://github.com/asamiller/den 54
[x] iTunesCatalog 28
[x] https://github.com/catalinmiron/react-native-dribbble-app 46
[x] https://github.com/christopherdro/react-native-rss-reader 28

Apple Watch

[x] https://github.com/contentful-labs/Wunderschnell
[x] SBB: Apple Watch app to access the SBB (Swiss railway) timetable
[x] https://github.com/FancyPixel/done-swift 43
[x] https://github.com/azamsharp/WatchNotes
[x] https://github.com/GetHighstreet/HighstreetWatchApp
[ ] Guess Game :large_orange_diamond:
[ ] Weather :large_orange_diamond:
[ ] https://github.com/jazzychad/FlickrWatch 3
[ ] Stocks App

0ish :star:  :confused:

[ ] https://github.com/andreamazz/Gitorade 1
[ ] https://github.com/danylokostyshyn/AfishaLviv-iOS
[ ] https://github.com/danylokostyshyn/FS-Player
[ ] https://github.com/iOSBeginner/SleepTracker Record and improve your sleep
[ ] https://github.com/AdnanZahid/Math-Quest-iOS
[ ] Coin Tracker: Cryptocurrency coin tracker :large_orange_diamond:
[ ] https://github.com/jenduf/SwiftFanorona
[ ] https://github.com/thomasdegry/Facebook-Pop-Introduction

Sample

[x] CloudKit 66
[x] CloudKit :large_orange_diamond: 72
[x] Federal Data SDK :large_orange_diamond:

Parse

[x] Paws: Building an Instagram-Like App with Parse and Swift :large_orange_diamond:

ResearchKit

[x] GlucoSuccess: ResearchKit app studying Diabetes

https://github.com/ResearchKit/GlucoSuccess
https://itunes.apple.com/app/glucosuccess/id972143976

[x] Share The Journey: ResearchKit app studying Breast Cancer

https://github.com/ResearchKit/ShareTheJourney
https://itunes.apple.com/app/share-the-journey/id972180604

[x] mPower: ResearchKit app studying Parkinson's disease

https://github.com/ResearchKit/mPower
https://itunes.apple.com/app/parkinson-mpower-study-app/id972191200

Done

[x] https://github.com/b3ll/ClickWheelKeyboard
[x] https://github.com/synboo/SwiftFlickrApp 211
[x] Hacker News Client: Hacker News API-Based iOS Reader (Firebase)

https://github.com/bonzoq/hniosreader
https://itunes.apple.com/app/hacker-news-client/id939454231

[x] https://github.com/ijoshsmith/swift-ascii-art 33
[x] https://github.com/id-Software/DOOM-iOS 300+
[x] https://github.com/id-Software/DOOM-IOS2
[x] https://github.com/id-Software/Wolf3D-iOS
[x] https://github.com/a2/arex-7 An iOS application for remembering to take your medications. (IPA pronunciation: ˈɑrɛks)  🔶
[x] Sample https://github.com/apiaryio/polls-app
[x] https://github.com/kevinvanderlugt/Swift-Walk-Tracker 🔶 9
[x] Longboxed: Track the releases of your favorite comics.

https://github.com/jayhickey/Longboxed-iOS
https://itunes.apple.com/us/app/longboxed-comic-tracker/id965045339

:cn:

[x] https://github.com/JakeLin/ChineseZodiac 72
[x] 翻翻看: Concentration game 🔶

https://github.com/HackCancer/iOS - to be added - made in swift

What does it do?

@1raynes what does it do?

Its the app for the hackathon - hackcancer.co, a hackathon taking place @ Google Campus in London in October. The app lets user donate, order food, get for updates, view achievements - all kinds of functionality really that would be useful for the hackathon :)

I see, thanks

repo: dkhamsing/open-source-ios-apps


text:
Make rule descriptions easier to visually parse

Yardstick output can be fairly difficult to parse when there are a lot of changes which could be made:

I think some formatting changes could mostly alleviate this.  When it comes to rule descriptions I think we should make the following changes:

[x] Include their YARD tag if possible (only one rule doesn't follow this right now)
For example, prefer:
lib/yardstick.rb:35: Yardstick.measure: The public/semipublic method should include an @example

instead of
lib/yardstick.rb:35: Yardstick.measure: The public/semipublic method should have an example specified

[x] Consistent positioning in description for YARD tag in question.  I would prefer at the beginning of each line.

[ ] API tags and recommended values should be bolded and underlined respectively. I also think colors would make the instructions easier to parse when there are a lot of them. For example:

I agree with all of these.

@dkubb for #34 so far I have the following descriptions:
>> puts Yardstick::Document.registered_rules.map(&:description)
@api should be specified
@api should be public, semipublic, or private
@api should be semipublic or private for protected methods
@api should be private for private methods
@example should be specified for public and semipublic methods
method summary should be specified
method summary should be less than or equal to 79 characters in length
method summary should not end in a period
method summary should be a single line
@return should be specified

@backus should the rule output be ordered according to where the @ tag typically appears within the output? For example, the method summary stuff should be first, with @example second, @api last, and @return just before @api (with @yield and related in between`).

That sounds good to me.  I'll open a separate issue for this since the current PR is just about changing the look of the rule output not the ordering.

authors: backus dkubb

repo: dkubb/yardstick


text:
group releases after OS

Seb reported this on 2016-06-10T16:54:51Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=16157
Description
Imho we should group the three download options after the OS - not the release type. It's very confusing.

If I would use OS X - I will scroll to the according OS X category.

OS X:
 - DMD 2.071.0
 - DMD Beta (2.071.1-b2)
 - DMD Nightly

greensunny12 commented on 2016-06-10T17:03:42Z
See https://nodejs.org/en/download/ for a good download page


text:
Fix Issue 18603 - Update minimally required version for macOS

See also: https://dlang.org/changelog/2.079.0.html#osx-10_9

Ping. This is a really trivial documentation update ...


text:
Pointer to Nullable of recursive struct

alexandre.bourquelot reported this on 2023-12-06T01:59:02Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=24270
CC List

apz28
b2.temp
dlang (@Vild)
nick (@ntrel)

Description
```
import std.typecons;

struct RecursiveClass {
    int id;
    bool flag;
    Nullable!(RecursiveClass)* children;
}
```

This does not compile because the compiler is unable to infer the size of the struct, but given that the third member is a pointer, it should work.

```
/usr/lib/ldc/x86_64-linux-gnu/include/d/core/internal/traits.d(345): Error: unable to determine fields of `RecursiveClass` because of forward references
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/traits.d(3343): Error: template instance `core.internal.traits._hasIndirections!(RecursiveClass)` error instantiating
```

alexandre.bourquelot commented on 2023-12-07T05:14:00Z
The above works yes, but the semantics are a little different.
There is no reason why I should not be able to create a pointer on a nullable, if I wanted to.

apz28 commented on 2023-12-06T16:20:43Z
I think you put '*' in wrong place. Try below

```
struct RecursiveClass {
    int id;
    bool flag;
    Nullable!(RecursiveClass*) children;
}
```

nick (@ntrel) commented on 2023-12-10T18:58:34Z
Just to note that this compiles fine:

struct S(T)
{
    int i;
    T m;
}
struct R {
    int i;
    S!(R)* m;
}

b2.temp commented on 2023-12-11T05:08:28Z
(In reply to Nick Treleaven from comment #3)
> Just to note that this compiles fine:
>
> struct S(T)
> {
>     int i;
>     T m;
> }
> struct R {
>     int i;
>     S!(R)* m;
> }

The problem shows the tip of its nose when performing static introspection and while the decl sema of the struct is not finished. Just start doing some `__traits` things and you'll get some similar errors.

Note that actually I think the error message is correct (and this report is likely a duplicate BTW, already seen that `hasIndirection` issue in the past)

repo: dlang/phobos


text:
std.parallelism fatal flaw?

Big parts of the std.parallelism unittests where not run for a very long time.
Apparently they do not even compile anymore. This PR refactors the unittests
so they are at least run once by default. While refactoring I found a couple of
problems with the unittests. Such as, local unittest function being unable to
access the current stackframe. This destroyed some constructs used by
std.parallelism.
I'm a noob when it comes to std.parallelism. I found this bug while scoping
imports. I need help on this!

Well, it is a stress test, but yeah, probably nobody was running it and it's better to have it run once like this by the tester, so it's kept up to date.

@joakim-noah not only that but the design concept used by the test is no longer supported by D. Which begs the question if std.parallelism is still a working phobos module or if it needs to be deprecated.

@klickverbot I recreated your PR here. The difference is that I moved the two unittests into a function that takes the number of runs as an argument. Now I get:
std/parallelism.d(4467): Error: static function std.parallelism.testFunction2.parallelSqrt cannot access frame of function std.parallelism.testFunction2
std/parallelism.d(4495): Error: static function std.parallelism.testFunction2.parallelSum cannot access frame of function std.parallelism.testFunction2
I really could need some help. I do not see the problem.

std/parallelism.d(4467): Error: static function std.parallelism.testFunction2.parallelSqrt cannot access frame of function std.parallelism.testFunction2
std/parallelism.d(4495): Error: static function std.parallelism.testFunction2.parallelSum cannot access frame of function std.parallelism.testFunction2
I really could need some help. I do not see the problem.

As I said in my earlier comment, it means exactly what it says: you're trying to get a variable that belongs to testFunction2 inside of a static function. Specifically, you're trying to access poolInstance.

std/parallelism.d(4467): Error: template instance amap!(mySqrt) cannot use local 'mySqrt' as parameter to non-global template amap(functions...)
std/parallelism.d(4470): Error: template instance amap!(parallelSqrt) cannot use local 'parallelSqrt' as parameter to non-global template amap(functions...)
std/parallelism.d(4499): Error: template instance amap!(parallelSum) cannot use local 'parallelSum' as parameter to non-global template amap(functions...)
IMO the problem is that unittest block statements are somehow different from function block statements. And the test/use-case of std.parallelism used that fact.

Ping @burner

I hadn't had much time lately. But its on my list

Hmm we should really enable the test suite. There's some random (un)-coverage business going on in at least these places of std.parallelism:
636:    throw exception;

https://codecov.io/gh/dlang/phobos/compare/86050a1c59eda327fa263549f0b53e56a4cfa9ed...2749175ceb24e4b780725677b7e233f65e4f791c/changes
3755 assert(lastException);
3756 lastException.next = e;
3757 lastException = findLastException(e);

https://codecov.io/gh/dlang/phobos/compare/77f1a9067b59395f8444cb2d01047680aebcfe5f...2e05f29d3c4cc7690198c3ad0d06eb23293da48a/changes

authors: JackStouffer burner joakim-noah wilzbach


text:
Add public examples to all functions in std.math

Finishes everything except rndtonl which is blocked by issue 18693

@JackStouffer we can't merge this as long as it's failing on FreeBSD :/ (so removing the 72h merge label for now)
Maybe version the failing test + put a FIXME bugzilla issue like we did for std.random?

The most annoying thing about this is that the line numbers on the error messages in the auto tester are clearly wrong. So, I'm doing this manually to figure out what's going on.

just rebase your PR to master - then the line number will match ;-)

This is what happens when you have no tests https://issues.dlang.org/show_bug.cgi?id=18739

authors: JackStouffer wilzbach


text:
Fix Issue 20411 - wrong default datetime when saving files in zip file

This is a prerequisit for fixing issue 20292, because else some unittests will break (the created zip files are rejected when read in again...)

Not sure about this one:

Hidden information leak
Purity regression
Programs which expected created ZIP files to be reproducible may regress.

1. Hidden information leak

What do you mean with this? I don't understand.

2. Purity regression

Yeah, but I think, that cannot be helped. Getting system time cannot be pure. The alternative would be to make ZipArchive.build() nonpure and remove some more attributes there. Looked more problematic to me.

3. Programs which expected created ZIP files to be reproducible may regress.

Can one really expect zip files to be always identical?
$> zip test1.zip a
  adding: a (stored 0%)
$> zip test2.zip a
  adding: a (stored 0%)
$> md5sum *.zip
e3d4e5807755856fdd3027798b385d0b  test1.zip
572fc6cd340391facbec00edb01136a0  test2.zip

(they differ in these mysterious extra fields)
But anyway I think that fixing a bug is more important.

What do you mean with this? I don't understand.

Applications may be written with the expectation that the time of the archive creation is not included in the archive itself. Including the time of archive creation leaks information, and could be used to e.g. greatly improve the likelihood of guessing the RNG seed used to initialize rndGen, and then predict the random values that the program generated (such as security tokens).

Can one really expect zip files to be always identical?

The error lies within the expectation that a library for creating ZIP files programmatically behaves in a similar way as a tool primarily meant to be used by humans.
Generally speaking, yes, reproducible outputs should be the default, as the growing trend for pure programming languages / functional-defined systems / reproducible builds shows.

Getting system time cannot be pure.

Ideally there would be a function or constructor for adding an archive member, which could then take an argument for the member date. Clock.currTime could the default value for this parameter (if we don't consider backwards compatibility or the information leak). Then, specifying a constant value as the argument would make it pure.
IMHO it is fortunate that 0 is an invalid value, as then it can be unambiguously interpreted to mean "no date specified", which is exactly what happens here, so no changes in std.zip are needed.

IMHO it is fortunate that 0 is an invalid value, as then it can be unambiguously interpreted to mean "no date specified", which is exactly what happens here, so no changes in std.zip are needed.

Convinced. I havn't found any specs that forbid 0 as a value. It's just not a valid date. I need to be a little more coutious when implementing the validation of date/time issues though. With that I'll also update the docs to make clear, that no time is saved, when no one is specified.


text:
Move away from packed-struct

It's unable to handle little endian lsb, so this causes the code to use the inverted bit numbering to the USB standard and conversions.

Decided to stick with it in the end

repo: dlkj/usbd-hid-devices


text:
[Question] read_report only works the first time

Want to start this off with a big thanks for the library 🙇 It's made my life much easier especially as a complete beginner in embedded devices.
Firstly this is probably an issue with my code as opposed to the library. I have followed the examples and the device implementation for Keyboard. Basically I've implemented a custom HID interface that will represent a pedal (for sim racing). It has an Z axis which atm can be set using a potentiometer. That works fine and I have even tested it in a game. However I need to be able to also send data to the device (Raspberry Pico) for example when ABS is engaged. For the purpose I've defined an output endpoint with the size of 1 byte. That's also working but only the first time I write to the device and any subsequent writes don't appear to be read.
https://github.com/gmartsenkov/active-pedals-client  - How I read/write to the device
https://github.com/gmartsenkov/active-pedals - This is running on the Pico

No problem. Glad you got it working!

authors: dlkj gmartsenkov

repo: dlkj/usbd-human-interface-device


text:
Jython

Enable Travis CI to run the test suite under Jython.
Includes a fair number of "hacks" to get Jython working, since Travis
does not officially support Jython.
In particular, there is a big hack to get the codecoverage plugin working.
This resolves #15

There is a performance test for CompoundGenerator that checks prepare runs in "reasonable" time.
With the added Jython build, it appears Travis struggles to provide the "juice" required for this test to reliably pass across all 5 builds.
For a "normal" machine, the time limit on this test is already quite generous (more than double the time required for my desktop).
Too generous a limit, or repeated "bumping it up" would no longer prevent slow "creep", where minor changes, each only affecting performance in a small way, add up to a significant degree.
But having to repeatedly restart Travis jobs is annoying too.

The problem fixed by #38 may have been part of the cause - ~2 seconds were added for large Dimensions (like that in the performance test) by unnecessarily repeating a calculation.

repo: dls-controls/scanpointgenerator


text:
Remove legacy build session

track down what we need to remove from moby and cli.

Related work:

https://github.com/docker/cli/pull/2105
https://github.com/moby/moby/pull/39983

merged. this is done.

repo: dmcgowan/docker


text:
Режим работы кондиционера

Добрый день
После обновления (ранее стояла версия буквенно-цифровая какая-то), кондиционер включается в режим авто теперь, если только явно алисе не сказать, чтобы включила на режим охлаждения, при этом в устройствах яндекса светится режим охлаждения для кондиционера. Раньше всегда включалось в том режиме, который был задан ранее, т.е. сейчас стал передаваться режим, но не тот, какоторый нужен.
Версия 0.1.1, ядро 2021.8.3.

Добавил документацию по этому моменту - https://github.com/dmitry-k/yandex_smart_home#режим-включения-кондиционеров-и-термостатов
Ишью закрываю, если что-то не получится - переоткройте.


text:
Notebooks should be converted to markdown/notedown format for easier review

In #166, I set up a notedown (i.e. notebook in markdown format) pipeline and converted word embedding notebook to use it.
We still have three more to go:

[ ] Word Embeddings Training and Evaluation
[ ] Language Modeling using NLP Toolkit
[ ] Sentiment Analysis (SA) with pretrained Language Model (LM)

@leezu @cgraywang @szhengac

Last one in #401

repo: dmlc/gluon-nlp


text:
predict use c_predict_api.h, use the tutorial char_lstm model, and get error 'The shape information of is not enough to get the shapes'

Environment info
Operating System:win10
Compiler:vs2015update3
Package used (Python/R/Scala/Julia):Python,c++
MXNet version:0.8.0
Or if installed from source:yes
If you are using python package, please provide
Python version and distribution:2.7.12
Error Message:
../model/Inception/obama-symbol.json ... 980395 bytes
../model/Inception/obama-0002.params ... 23327710 bytes
[11:08:42] F:\mxnet0.8\mxnet-0.8.0\dmlc-core\include\dmlc/logging.h:300: [11:08:42] F:\mxnet0.8\mxnet-0.8.0\src\c_api\c_predict_api.cc:158: Check failed: sym.InferShape(&arg_shapes, &out_shapes, &aux_shapes) The shape information of is not enough to get the shapes
Assertion failed: pred_hnd, file my.cpp, line 141
Minimum reproducible example
        int width = 129;
	int height = 68;

	const mx_uint input_shape_indptr[2] = { 0, 3 };
	const mx_uint input_shape_data[3] = { 1,
		static_cast<mx_uint>(width),
		static_cast<mx_uint>(68) };
	PredictorHandle pred_hnd = 0;

	if (json_data.GetLength() == 0 ||
		param_data.GetLength() == 0) {
		return -1;
	}

	// Create Predictor
	MXPredCreate((const char*)json_data.GetBuffer(),
		(const char*)param_data.GetBuffer(),
		static_cast<size_t>(param_data.GetLength()),
		dev_type,
		dev_id,
		num_input_nodes,
		input_keys,
		input_shape_indptr,
		input_shape_data,
		&pred_hnd);
	assert(pred_hnd);

Steps to reproduce

I follow the tutorials http://mxnet.io/tutorials/python/char_lstm.html and get a model
I try to use this to do predict in c++,use c_predict_api with the code above
then get the error

What have you tried to solve it?
1.I try to change the code to
        const mx_uint input_shape_indptr[2] = { 0, 2 };
	const mx_uint input_shape_data[2] = { 1,
		static_cast<mx_uint>(129*68) };
	PredictorHandle pred_hnd = 0;

I try to add the lstm init state

        mx_uint num_input_nodes = 3;
	const char* input_key[3] = { "data","l0_init_c","l0_init_h" };
	const char** input_keys = input_key;

	// Image size and channels
	int width = 129;
	int height = 68;

	const mx_uint input_shape_indptr[4] = { 0, 2, 4, 6 };
	const mx_uint input_shape_data[6] = { 1,static_cast<mx_uint>(width),
	1,static_cast<mx_uint>(512),
	1,static_cast<mx_uint>(512) };

also get the error
could anyone help me?thx

Try adding label shape maybe help

@feiyulv thanks for your reply, but where should I add the label shape?

like this
const char* input_key[4] = { "data","label", "l0_init_c","l0_init_h" };

@feiyulv thank you very much. It works to me. but the predict result is alwasy zero. could you help me to find the bug? that's my code below
int main(int argc, char* argv[]) {
	// Models path for your model, you have to modify it
	std::string json_file = "../model/obama-symbol.json";
	std::string param_file = "../model/obama-0002.params";

	BufferFile json_data(json_file);
	BufferFile param_data(param_file);

	// Parameters
	int dev_type = 1;  // 1: cpu, 2: gpu
	int dev_id = 0;  // arbitrary.
	mx_uint num_input_nodes = 3;  // 1 for feedforward
	const char* input_key[4] = { "data","softmax_label","l0_init_h","l0_init_c"};
	const char** input_keys = input_key;

	const mx_uint input_shape_indptr[5] = {0,2,4,6,8};
	const mx_uint input_shape_data[8] = {
		1, static_cast<mx_uint>(129) ,//seq_len=129
		1, static_cast<mx_uint>(129),
		1, static_cast<mx_uint>(32), //hidden_dim=32
		1, static_cast<mx_uint>(32) };
	PredictorHandle pred_hnd = 0;

	if (json_data.GetLength() == 0 ||
		param_data.GetLength() == 0) {
		return -1;
	}

	// Create Predictor
	MXPredCreate((const char*)json_data.GetBuffer(),
		(const char*)param_data.GetBuffer(),
		static_cast<size_t>(param_data.GetLength()),
		dev_type,
		dev_id,
		num_input_nodes,
		input_keys,
		input_shape_indptr,
		input_shape_data,
		&pred_hnd);
	assert(pred_hnd);

	int image_size = 129;

	// Set Input Image
	std::vector<mx_float> test1,test2,test3,test4;
	for (int j = 0;j < 129;j++)
	{
		test1.push_back(j);
	}
	for (int j = 0; j < 129; j++)
	{
		test2.push_back(3);
	}
	for (int j = 0; j < 32; j++)
	{
		test3.push_back(0);
	}
	for (int j = 0; j < 32; j++)
	{
		test4.push_back(0);
	}
	MXPredSetInput(pred_hnd, "data", test1.data(), 129);
	MXPredSetInput(pred_hnd, "l0_init_h", test3.data(), 32);
	MXPredSetInput(pred_hnd, "l0_init_c", test4.data(), 32);

	// Do Predict Forward
	MXPredForward(pred_hnd);

	mx_uint output_index = 0;

	mx_uint *shape = 0;
	mx_uint shape_len;

	// Get Output Result
	MXPredGetOutputShape(pred_hnd, output_index, &shape, &shape_len);
	std::cout << *shape << std::endl;
	std::cout << shape_len << std::endl;
	size_t size = 1;
	for (mx_uint i = 0; i < shape_len; ++i) size *= shape[i];

	std::vector<float> data(size);

	MXPredGetOutput(pred_hnd, output_index, &(data[0]), size);

	// Release Predictor
	MXPredFree(pred_hnd);

	system("pause");
	return 0;

authors: feiyulv kongjiellx

repo: dmlc/mxnet


text:
mxnet example training cannot get expected result after 0.5.0

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System: Linux idc01-rank-gpu-01 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
Compiler: gcc-4.8.5
Package used (Python/R/Scala/Julia): Python
MXNet version: 0.9.4
Or if installed from source: yes
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution: 2.7.10
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
Minimum reproducible example
if you are using your own code, please provide a short script that reproduces the error.
###################################
I am trying the new mxnet to do the inception-bn-full test. I was tried successful in mxnet 0.5.0, but I found still not work in mxnet 0.9.4, even try to set fix_gamma = false.
And I found the train acc is very strange which vary unstable. (when doing test in 0.5.0 it increase  very stable).
Also I also doing a simple test in mnist, I turn the mnist data to images, then processing then to rec. using alexnet to training the network. It does not work at all.
So I guess is there something wrong with the code in train_imagenet.py or etc. or sth bug exist.

There have been some incompatible changes since 0.5. You can try models trained with the new version at data.mxnet.io

@piiswrong thanks,
Before I report the problem, I have already turn into 0.9.4, and failed to do image classification tasks.
Actually, I have some tasks in image classification the scale is around ImageNet tasks, So how can I try to do the train if not turn back to 0.5.0.

@piiswrong
I have been frustrated here, and I try to detect the error, I just found one significant difference in new version training process, the acc is changing unstable while in old version (0.5.0) the changing is very stable and can finally increase to a good score.
I guess something with cuda matters? or can you give some recommending building suggestion?

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!

authors: GeorgeXia1828 piiswrong szha


text:
Piecewise constant functions

I have input data that take the form X_i,j = {0,1 or 2} and a continuous output Y_i. Is there some way to model piecewise constant functions in mxnet?

Create logical masks, and multiply them by the chosen output for that logical condition, and then add them all together.
For example, suppose you want
y = 10   if x = 0
    -4.2 if x = 1
    14   if x = 2

Then in mxnet
x = mx.sym.var('x')
y = 10 * (x == 0) + -4.2 * (x == 1) + 14 * (x == 2)

This works because mxnet's logical operators return numeric 1/0 values (rather than boolean values). Consequently, each term in the above expression will be zero except the condition matching the value of x. So if x = 1, then the result of that operation is: 10 * 0 + -4.2 * 1 + 14 * 0 = -4.2.
Same of course works if you're using mxnet ndarrays.

OK, my intention is to estimate the mean of each constant. The data has many variables p in x
y    x[,1]    x[,2]    ...    x[,p]
10    0        1       ...     2
-4.2  1        1       ...     1
8.5   0         0       ...     1
-1    1         1       ...     2
5.9   0         2       ...     0
0.5   2         2       ...    1

Any suggestions how to deal with that? My first goal is simply to model as a linear regression.

If I'm understanding you, I would just restructure your data to be binary inputs which is far more standard for this kind of setup than special cases when you might really want to go through the trouble of defining piece-wise functions.
In the case when you have 1 variable x in {0, 1, 2} then transform your input to be a 1 hot vector. For example,
x = 0 becomes [1, 0, 0],
x = 1 becomes [0, 1, 0],
x = 3 becomes [0, 0, 1].
If you have 2 variables, x in {0, 1, 2}^2, then you basically concatenate two one-hot vectors. For example,
x = [2, 0] becomes [0, 0, 1, 1, 0, 0],
x = [1, 2] becomes [0, 1, 0, 0, 0, 1],
etc.
Extend for x in {0, 1, 2}^p for arbitrary p.
After pre-processing your input in this way, just add a FullyConnected layer to it and your favorite loss function.
You may want to look into using mxnet's one_hot function for helping with the pre-processing (or you can do it manually pretty easily), possibly with a reshaping afterwards.


text:
KERAS on MXNET ISSUE

i am getting the following error on KERAS with MXNET background. i changed backend in keras.json from tensorflow to mxnet
i am using keras version of 2.0.6 and mxnet version 0.10.0

working on keras version 1.2.2


text:
fix typo causing unary ndarray function being defined with fallback generic functions

For example, currently _copyto is defined using the generic function generator instead of unary function generator.

The error check was caused by original BUG in unary function, due to we never used it
https://github.com/dmlc/mxnet/blob/master/python/mxnet/ndarray.py#L604
Need to change  (src.handle) to  (src.handle,) (add comma), can you update the PR to do that?

Just updated, waiting for the CI to run again.

authors: pluskid tqchen


text:
Fix the link to model API and some grammars

Hi, the link to model API is broken in the current documentation. I changed the link, and it now links to the model API documentation in the same folder.

LGTM, thanks

authors: koallen piiswrong


text:
Move linter to Jenkins.

Currently the linter is not reliable.  It renames all cu files into cc files and perform clang-tidy checks, which leads in incorrect results, see the end of:
https://travis-ci.org/dmlc/xgboost/jobs/473251478
We have CUDA runtime on Jenkins thanks to @hcho3 , where we can use clang-tidy without such hack.  The correct clang-tidy results I generated is attached.
log-tidy.txt

Regenerated with both host and device checking:
log-tidy.txt

Requirement:

clang-tidy >= 7
A huge refactor of current code base.
Extra script on CMake to obtain the compile database.

@RAMitchell @hcho3 Do you think it's worthy?

You dont have to refactor the lint errors all in one go. What if you set up the system on jenkins but allow it to pass even with errors, spend a couple of weeks fixing lint issues, then make it mandatory.
I think this is very much worth doing.

authors: RAMitchell trivialfis

repo: dmlc/xgboost


text:
Get LeaseExpiredException while running xgboost on yarn

It seems that the output model file is modified by multi executors:
LogType:stderr
Log Upload Time:星期三 二月 24 15:50:20 +0800 2016
LogLength:6595
Log Contents:
connect to ip: [10.132.64.212]
16/02/24 15:50:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/02/24 15:50:07 WARN shortcircuit.DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
connect to ip: [10.132.64.212]
[15:50:15] src/tree/updater_prune.cc:74: tree pruning end, 1 roots, 12 extra nodes, 0 pruned nodes, max_depth=3
connect to ip: [10.132.64.212]
[15:50:15] src/tree/updater_prune.cc:74: tree pruning end, 1 roots, 10 extra nodes, 0 pruned nodes, max_depth=3
connect to ip: [10.132.64.212]
16/02/24 15:50:15 WARN hdfs.DFSClient: DataStreamer Exception
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /tmp/mushroom.final.model (inode 72401845): File does not exist. Holder DFSClient_NONMAPREDUCE_-1693428250_1 does not have any open files.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:3602)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.analyzeFileState(FSNamesystem.java:3399)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3255)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:676)
at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:617)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2086)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2082)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2080)
at org.apache.hadoop.ipc.Client.call(Client.java:1472)
at org.apache.hadoop.ipc.Client.call(Client.java:1403)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)
at com.sun.proxy.$Proxy9.addBlock(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:252)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
at com.sun.proxy.$Proxy10.addBlock(Unknown Source)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1674)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1471)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:668)

FSDataOutputStream#close error:

Interesting! with set save_period = 1, this problem is solved. I guess with save any model except the final round model, the /tmp/mushroom.final.model will be modified for many times