text:
A bit of CI upkeep

This PR mixes a number of small changes, so I think it's fine to bundle them like this.
First: back when we were only using Travis, we ran all our jobs on the same Ubuntu version. Official repos didn't contain all the C++ compilers we need, so we also added r/test PPA and apt.llvm.org. This made the .travis.yml slightly less complicated than it would've been otherwise.
Now that we're using Cirrus CI and Docker, it's far simpler to run a couple different Ubuntu versions such that they cover the whole range of compilers we support. That's what I did here: Ubuntu 18.04 keeps shouldering most of the load, while 16.04 is used for GCC 4.9, and 20.04 is used for GCC 9, GCC 10, and Clang 10.
Second: .travis.yml had some leftovers from my failed attempt to run builds with more warnings enabled, and run tests with more checks (like stack protector). This PR adds these jobs to Cirrus. I'm not yet sure how useful they will be; I made a note to re-evaluate in two months.
Fixes #838
Fixes #922
Reviews welcome. Will merge in 24 hours.

Coverage remained the same at 56.199% when pulling 275f8cba7acbd4bf49e67c863d6f7e8de5ddb2c7 on feature/dockerfiles-upkeep into b1884ff27f341c8d400432d50567ec4857374f0b on master.

authors: Minoru coveralls

repo: newsboat/newsboat


text:
adding chatGPT files

FINALLY! I didn't click something when making my access token.

I was able to do this on Friday last week, I just didn't update it. My bad.

source: gharchive/pull-request

repo: newtfire/textAnalysis-Hub

license_type: permissive

license_source: github-api


text:
请问JPVideoPlayerManager.m中 ，这个断言的作用是防止什么？我总是崩溃在这里

我是崩溃在这个断言, 作者为什么要加这么多断言?

pod install 下来，支持三个url,超过就会崩溃，JPVideoPlayerManager.m总是崩溃。

我把断言那句话，用if容错掉，然后就没有崩溃了

Me too

我把断言那句话，用if容错掉，然后就没有崩溃了

你知道, 作者为什么要加这么多assertion吗?

断言去掉了，为了排除 bug 加的断言.

source: gharchive/issue

authors: CranberryYam invokeHao mjf1986 newyjp

repo: newyjp/JPVideoPlayer

license: mit

license_source: bigquery


text:
Package Resources are not associated to packages in application Packages scan step update

In updating the application Packages scanning step in the scan_codebase pipeline for #447, I noticed that the CodebaseResources of a Package are not associated with the Packages that was scanned. Looking a little deeper, I see that the Package Resources in scancode.io cannot be properly associated to the Package they are from by using the .assemble() methods from packagedcode's Package handlers. This is because of how for_packages is implemented on the CodebaseResource model in scancode.io and the Resource model in commoncode. In scancode.io, for_packages on the CodebaseResource model is a property that collects the purls for Packages that have been related to that CodebaseResource. In scancode-toolkit/commoncode, for_packages on the Resource model is a list that contains package_uid strings for the Package the Resource is from.
When you run the .assemble() methods from packagedcode Package handlers on a CodebaseResource object, it attempts to append package_uid strings to the for_packages field. This does not properly work since CodebaseResource.for_packages is a property, not an attribute that can be used the same way.

This issue has been fixed, following an update to scancode-toolkit where the code has been modified to be able to accept different functions that adds a package to a resource. https://github.com/nexB/scancode-toolkit/pull/3035


text:
Script hangs in the middle of execution for up to an hour.

time sh -c 'sh -c "$(curl -sL https://nextdns.io/diag)"'
Welcome to NextDNS network diagnostic tool.

This tool will download a small binary to capture latency and routing information
regarding the connectivity of your network with NextDNS. In order to perform a
traceroute, root permission is required. You may therefore be asked to provide
your password for sudo.

The source code of this tool is available at https://github.com/nextdns/diag

Do you want to continue? (press enter to accept)
Testing IPv6 connectivity
  available: true
Fetching https://test.nextdns.io
  status: ok
  client: 193.110.*******
  protocol: DOH
  dest IP: 45.90.28.0
  server: rix-hkg-1
Traceroute for primary IPv4 (45.90.28.0)
    1  193.110.******    0ms   0ms   0ms
^C

real    72m1.162s
user    0m0.419s
sys     0m0.174s

What is your platform/OS/version?

What is your platform/OS/version?

uname -a
Linux ******** 5.8.0-29-generic #31~20.04.1-Ubuntu SMP Fri Nov 6 16:10:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Traceroute is hanging when trying to run diag against 1.4.3 install.  See this output where it's stuck:
Testing IPv6 connectivity
  available: false
Fetching https://test.nextdns.io
  status: ok
  client: 24.229.200.248
  protocol: DOH
  dest IP: 162.220.223.23
  server: anexia-ewr-1
Fetching PoP name for ultra low latency primary IPv4 (ipv4.dns1.nextdns.io)
  vultr-ewr: 19.638ms
Fetching PoP name for ultra low latency secondary IPv4 (ipv4.dns2.nextdns.io)
  anexia-ewr: 13.054ms
Fetching PoP name for anycast primary IPv4 (45.90.28.0)
  zepto-xrs: 26.782ms
Fetching PoP name for anycast secondary IPv4 (45.90.30.0)
  anexia-ewr: 16.078ms
Pinging PoPs
  anexia-ewr: 11.887ms
  hetzner-iad: 20.496ms
  smarthost-bos: 20.537ms
  vultr-ewr: 20.505ms
  anexia-mnz: 20.451ms
  zepto-xrs: 20.544ms
  zepto-iad: 20.465ms
  axcelx-bos: 20.506ms
  teraswitch-pit: 24.632ms
  cloudzy-pit: 52.182ms
Traceroute for ultra low latency primary IPv4 (66.135.25.157)
    1   10.229.192.1   13ms   5ms   7ms
    2 207.44.112.149    9ms   8ms   7ms
    3  172.16.10.101   13ms  14ms  13ms
    4  172.16.10.170   13ms  14ms  13ms
    5 213.200.112.170   14ms  15ms  12ms
    6 173.205.45.234   74ms  44ms  48ms

authors: IceCodeNew dmfrey rs

repo: nextdns/diag

license: MIT


text:
small typo: java.imageio

java.imageio mentioned in the changelog should be javax.imageio:
https://github.com/nextjournal/clerk/blob/fc297cb8b1cd879c888f573d1c7913dafd1d66dd/CHANGELOG.md#05346-2022-01-27

@daslu thanks, fixed!

authors: daslu mk

repo: nextjournal/clerk

license: ISC


text:
🛑 /getMusicFeed - Get music feed by URL or ID is down

In e33b4f6, /getMusicFeed - Get music feed by URL or ID (https://nextpost.tech/tiktok-api/getMusicFeed?query=7129970471625362182&cache_timeout=0&license_key=$API_KEY) was down:

HTTP code: 403
Response time: 13 ms

Resolved: /getMusicFeed - Get music feed by URL or ID is back up in 3095fcc after 298 days, 4 hours, 19 minutes.

repo: nextpost-tech/tiktok-status


text:
[BUG] - Modal scrollBehavior="outside" breaks placement prop

NextUI Version
latest
Describe the bug
By using the scrollBehavior="outside" prop, placement is always at the top (with a my-16 margin)
Cause:
https://github.com/nextui-org/nextui/blob/main/packages/core/theme/src/components/modal.ts#L171
For now the only way to fix it on the user side is to not use scrollBehavior="outside" but enter
<Modal classNames={{
 wrapper: "items-end overflow-y-auto",
      base: "my-1",
}} />

for example if one prefers placement="bottom" and scrollBehavior="outside"
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create a
Add scrollBehaviour="bottom"
Modal will be placed at top

Expected behavior
Modal should always respect the placement prop
Screenshots or Videos
No response
Operating System Version
any
Browser
Other (add additonal context)

It might be due to incorrect usage of parameters. bottom is not a valid parameter for scrollBehavior. The valid parameters for scrollBehavior are normal | inside | outside
https://nextui.org/docs/components/modal#api

It might be due to incorrect usage of parameters. bottom is not a valid parameter for scrollBehavior. The valid parameters for scrollBehavior are normal | inside | outside
https://nextui.org/docs/components/modal#api

No. The bug is emerging when scrollBehavior=outside and placement=bottom is used together.
Look at your screenshot of the docs page, the prop just below scrollBehavior

scrollBehavior=“outside”

Thank you for correcting the reproduction steps.
https://codesandbox.io/p/sandbox/sleepy-hugle-d6tt88?file=/App.jsx:37,42&utm_medium=sandpack
There are two scenarios:
Scenario 1: When the text does not exceed the container. In this case, scrollBehavior='outside' should not be used.
placement='top'

placement='bottom'

In this case, the placement property is effective.
Scenario 2: When the text exceeds the container. In this case, the scrollBehavior property must be added. When scrollBehavior='outside' and placement='bottom' are used together, the behavior is such that the placement property does not take effect. Regardless of the placement value set, the behavior remains the same, with a distance from the top, and a scroll-down state, as shown in the image below.

scrollBehavior='outside' and placement='top'

In this case, the placement property does not take effect.
Is it your expectation that when setting scrollBehavior='outside' and placement='bottom', the initial pop-up state is at the bottom of the scrollbar, as shown in the image below?

@wingkwong Can I work on this issue and add the 3 cases suggested by @robodove ?

@wingkwong This behavior is taking place because of the items-start class in scrollBehavior:outside variant and disabling it should provide the solution for OP.
Should we allow the user to change the placement property when scrollBehavior = outside, or we should keep the things unchanged?

authors: CHENFANGC abhinav700 robodove

repo: nextui-org/nextui


text:
Test2

test2 branch test

Deployment started for this pull request.

Deployment successful. Deployed application.


text:
[-𝗙𝗨𝗟𝗟-𝐯𝐢𝐫𝐚𝐥!𝐜𝐥𝐢𝐩𝐬-]— Mona Alam Video Original Video Link Mona Alam Video Viral On Social Media X Trending Now

54 seconds ago
L𝚎aked Video Mona Alam Original Video Viral Video L𝚎aked on X Twitter Telegram
►✅ 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 ==►► 𝙁𝙪𝙡𝙡 𝙑𝙞𝙙𝙚𝙤❤❤⬇⬇
►✅ 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 ==►► 𝙁𝙪𝙡𝙡 𝙑𝙞𝙙𝙚𝙤❤❤⬇⬇
WATCH NOW

[-𝐅𝐔𝐋𝐋-𝐕𝐈𝐑𝐀𝐋-]— Mona Alam Video Original Video Link Mona Alam Video Viral On Social Media X Now [1TNPO]
[-wATCH-]— Mona Alam Video Original Video Link Mona Alam Video Viral On Social Media X Trending Now
[-wATCH-]— Mona Alam Video Original Video Link Mona Alam Video Viral On Social Media X Trending Now
[-wATCH-]— Mona Alam ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Mona Alam ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Mona Alam Video Original Video Link Mona Alam Video Viral On Social Media X Trending Now
Mona Alam Original Video video took the internet by storm and amazed viewers on various social media platforms. Mona Alam, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Mona Alam Original Video Viral Video L𝚎aked on X Twitter
Mona Alam Original Video video oficial twitter
L𝚎aked Video Mona Alam Original Video Viral Video L𝚎aked on X Twitter..
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
...
....
🟢 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑾𝑨𝑻𝑪𝑯 𝑵𝑶𝑾
🔴 𝑪𝑳𝑰𝑪𝑲 𝑯𝑬𝑹𝑬➤🌐👉👉 𝑫𝒐𝒘𝒏𝒍𝒐𝒂𝒅 𝑵𝒐𝒘

...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
.....

.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.

authors: SudarshanDettman ghost lliansm

repo: nezhahq/nezha


text:
Check supported models and handle warnings

Description of feature
Check if requested alleles and lengths combinations are supported by epitope prediction tools and handle warnings/errors properly!
Given in  MERGE_PREDICTIONS_BUFFER.out.ch_prediction_warnings, use and output directly!

Another check for the module lengths is introduced in PR #75

The peptide length will be checked for an available model and if multiple alleles are given only the matching models are used and the user is informed that the prediction will happen at reduced peptide length (e.g. for mouse alleles H2-Db and H2-Ld: H2-Db is available at length 9 and H2-Ld is available at length 8 and 9. Only peptides of length 9 will be predicted)
This will be implemented as extra process.
@skrakau Should I check in this process if the alleles are available and remove it from check_samplesheet_create_tables?

related to https://github.com/nf-core/metapep/issues/74

authors: skrakau tillenglert

repo: nf-core/metapep


text:
Usage docs page missing

Hello nf-core team,
https://nf-co.re/usage_docs answers with a 404, so I'm letting you know!

Well, a few pages are not there yet

Nextflow tutorial
Helper tools
Guidelines
etc.
so I guess it's a work in progress. Good luck!

Where did you find that url ? If I go to the main homepage, the links on top work :-)
Would be interesting so we can fix the urls !

At the bottom menus:
Getting Started
Using nf-core
Available pipelines
Helper tools
Nextflow tutorial

Amazing that you found these - I'll update them to point to the correct subpages :-)

Fixed, thanks a bunch @hmenager

authors: apeltzer hmenager


text:
Unify SummarizedExperiment output

Description of feature
Currently, the pipeline generates three SummarizedExperiment .rds files while it would be more convenient and less confusing to generate a single one with different assay layers.
Current situation
There are three rds files:

All of which have a counts and abundance layer

The abundance layer is the same in all three objects

While the counts are different representing counts, length scaled counts and scaled counts, respectively.

Proposed solution
Create a single SummarizedExperiment with the following assays:

tpm (what is currently in "abundance", but the name is more explicit)
counts
counts_scaled
counts_length_scaled
gene_lengths (what is currently in salmon.merged.gene_lengths.tsv)

possibly, it could be worth adding a vst layer generated by DESeq2::vst().
Create another one for the transcripts with the same layers.

@drpatelh would you accept a PR for this?

repo: nf-core/rnaseq


text:
iOS 11.3

Hey, do you now if there is an issue caused by iOS 11.3 ?
It seems that my homebridge doesn't work anymore since I update my iPad and iPhone to 11.3, but I don't know if it's the cause

works for me

I've also been having a strange issue since I updated to iOS 11.3 and tvOS 11.3 . No problem at all with any of my homekit accessories when I'm on my home network where my pi is attached, but the minute I leave the network all homebridge accessories are showing "no response". No error or anything strange looking in the homebridge log, any ideas?

I removed my bridge (so all my accessories) then reinstall it, and now it works perfectly

authors: Hackashaq666 Marsgames zackaweed

repo: nfarina/homebridge


text:
Callback?

Hi there. How do my device "tells" homebridge some status changing? For instance, lights have been turned off directly. Could you be provide some example? Thanks.

If you turn a lamp off manually, I don't see how homebridge would ever get the message, unless you had somesort of 'smartsocket' that could self monitor electrical usage.  Then that would have to 'report back' via a Homebridge plugin https://www.npmjs.com/search?q=homebridge-plugin


text:
tf.contrib.learn.preprocessing will be deprecated

since tf.contrib.learn.preprocessing will be deprecated in future version of TensorFlow, the code in chapter 7 about the bag-of-word should be updated by using tf.data or something else.

Thanks @EtoDemerzel0427  for bringing this up.  I'll see what I can do.

who can give me a example?


text:
Modularizar los comportamientos del bot, para que otras comunidades puedan utilizarlo

Estoy enviando un ...  (marque con una "x")
[] Error reportado
[*] Solicitud de característica, mejora.

Comportamiento Actual
No existe
Comportamiento Esperado
Se espera que el comportamiento de este bot, se pueda encapsular en módulos y/o clases, de tal manera que se puedan implementar sólo los features necesarios para cada bot y personalizarlo para cada comunidad.
Ejemplo:
Wengy puede (A la fecha del 17 Abril del 2017):

Dar los buenos días (en ciertas condiciones).
Publicar un mensaje una vez al día (en caso de que hayan nuevas entradas en el blog que se configuró en config.js.
Responder mensajes en los que se les menciona o se les responde directamente.
Saludar a los nuevos miembros del grupo, despedir a los que salen del grupo.
Crea un gist automáticamente cuando el usuario coloca un bloque de código (bajo ciertas condiciones).

Se requiere que cada una de estas características puedan ser activadas/desactivadas según la funcionalidad que se quiere con el bot, esto puede implicar mover gran parte del código a otro repo y que los bots que quieran utilizar ciertas características del core lo puedan hacer (incluso wengy).
Reproducción del Problema
No aplica
Cual es el motivo / Caso util para cambiar el comportamiento?
Un esqueleto de comportamientos para futuros bots de otras comunidades y que puedan personalizarlo.
Por favor cuentamos sobre tu ambiente de desarrollo:
No aplica

¿Se entiende @Villanuevand @edwinvrgs?

@leocabeza, y si en vez de separar el código en distintos repositorios, más bien se utiliza un enfoque estilo Angular?
Me explico:
En su repo tienen esta estructura:
packages/
    animations/
    common/
    compiler-cli/
    core/
    ...

Cada carpeta de esas es un módulo totalmente independiente, cada uno con su respectivo package.json, y pudiéndose descargar de npm.
Me encanta la idea de este issue. 😃

Aunque leí otro repo, y por mi mente pasó un repo por cada feature...
Pero por lo que entiendo, un repo para toda los módulos, y otro donde sea Wengy como tal y los use.
¿Es así como lo comentas? 🙄

Pues igual no hay nada definido. Y si, así como comentas es como se me ocurre @osnoser1 , aunque pensandolo bien no sé si sea la mejor manera, porque cada módulo estaría con sus propias dependencias...
Ejemplo: Nosotros utilizamos node-fetch para hacer peticiones http. Entonces... ¡Qué pasa si alguien quiere utilizar axios u otra libreria para hacer peticiones http a sus proyetos?
Otro caso es que pasa si alguien en vez de api.ai quieren utilizar el AI de Facebook, o el de Microsoft...
Entonces no sé que tan mantenible sea, a la larga, crear una interfaz para esas funcionalidades.
Quizás en el proyecto de Angular sea un poco distinto, porqué ya tienen todas las dependencias predefinidas.

Es importante que se deben comentar todas las funciones con jsdoc junto con este issue, y también a mi parecer, agregar pruebas unitarias a todo

Quizás esto sería una buena opción:
https://github.com/lerna/lerna

Tenemos que hacer un roadmap y hacer los cambios poco a poco

@dianjuar Tell me more!

Qué les parece si en vez de implementar una arquitectura desde 0 utilizamos una ya estructurada, conocida y documentada?
https://nestjs.com/
A partir de ahí podemos implementar nuestro propias abstracciones, patrones o diseños.

Yo creo que es mucha complejidad añadida @dianjuar, ¿Y si dejamos todo configurable para que el que quiera utilizar wengy-ven solo le haga fork y ya?

authors: Villanuevand dianjuar leocabeza osnoser1

repo: ngVenezuela/wengy-ven


text:
WSGI.py (or other WSGI Confguration)

I noticed that this repo had a wsgi.py which would be useful for deploying with wsgi on Apache
https://github.com/jaycrossler/geoq-django
Understand that the project may favor nginx, but would it be possible to supply a default wsgi configuration for multithreaded wsgi deployment on Apache?

We actually have used Apache / wsgi for other implementations of the system. I'll see if we have a default configuration we can make available

repo: ngageoint/geoq


text:
GEOWAVE-346: landsat8 utilities from commandline tool

apologies for the fairly large diff - it includes general raster improvements working through landsat 8 as the use case

this commit history got messed up...closing this and opening a new clean PR

repo: ngageoint/geowave


text:
postgresql secure upstream

I am trying to secure a postgresql behind nginx. I've followed the documentation from here (https://docs.nginx.com/nginx/admin-guide/security-controls/securing-tcp-traffic-upstream/)
the config file looks like this:
stream {

    upstream postgres {
        server localhost:5432;
   }

    server {
        listen     443;
        server_name db.myservername.com;
        proxy_pass postgres;
        proxy_ssl  on;

        ssl_certificate         SSL_CERT;
        ssl_certificate_key     SSL_KEY;
        ssl_trusted_certificate SSL_CHAIN_CERT;
    }
}

Nginx complains that conf.d is not the correct path for this kind of file.
Could you tell me if that can even work with nginx-le ?

nginx-le doesn't do any magic. All it does is LE certificate update and replacement of  SSL_CERT, SSL_CERT and SSL_CHAIN_CERT with those cert paths. And the file you mapped to /etc/nginx/service.conf will be copied to /etc/nginx.d/conf/ and this about it.
You can see what it made by yourself inside the container, i.e. docker exec -it nginx cat /etc/nginx/conf.d/service.conf. As long as your source service.conf valid the result should be valid as well, so whatever works with nginx will be working fine with nginx-le because nginx-le is the nginx.

Thanks for your reply.
With a bit of hacking I managed to make it work (but I finally realized that I could not do SSL termination for that TCP stream as it requires NGINX Plus (see https://docs.nginx.com/nginx/admin-guide/security-controls/terminating-ssl-tcp/).

Can you please post what you did at least briefly? Otherwise somebody will find this thread and will not be able to learn about how to do what you did.

Sure,
in the docker-compose.yml, I add a volume like so: - ./path_to/service_db.conf:/etc/nginx/stream.d/service_db.conf
and the content of service_db.conf (see the hardcoded value for ssl_certificate as nginx-le script does not take care of this)
upstream postgres {
    server localhost:5432;
}

server {
    listen     5433;
    proxy_pass postgres;
    proxy_ssl  on;

    ssl_certificate         /etc/nginx/ssl/le-crt.pem;
    ssl_certificate_key     /etc/nginx/ssl/le-key.pem;
    ssl_trusted_certificate /etc/nginx/ssl/le-chain-crt.pem;

    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
    ssl_prefer_server_ciphers on;
    ssl_dhparam /etc/nginx/ssl/dhparams.pem;
    ssl_ecdh_curve secp384r1;
    ssl_session_timeout 10m;
}

Maybe one enhancement of neginx-le script could be to retrieve all files that look like stream_*.conf and replace certificate path the same way as service*.conf and move the files to stream.dfolder.

@vtoupet thanks for the idea, will be done in #48. I believe it was proposed some time ago in another issue but we didn't pick it up that time.

authors: paskal umputun vtoupet

repo: nginx-le/nginx-le


text:
Model developers to tune architecture

With "Efficient Neural Architecture Search via Parameter Sharing"
Planned major changes
To better support architecture tuning with ENAS, I'm planning changes to Rafiki's current model training framework:
Replacing budget option MODEL_TRIAL_COUNT with TIME_HOURS
Context
Currently, when application developers create model training jobs, they pass a budget like { 'GPU_COUNT': 1, 'MODEL_TRIAL_COUNT': 20 }, with MODEL_TRIAL_COUNT deciding the no. of trials to conduct for each model template.
Change
Replace MODEL_TRIAL_COUNT option with TIME_HOURS option, which specifies how long the train job should run for. It is a soft time target. At the same time, I'll be reworking the Advisor component (which proposes trials' knobs) such that it is additionally in charge of deciding how many trials to run, when to stop each worker, when to stop the train job, given the budget e.g. GPU_COUNT and TIME_HOURS.
Reasons for change

May not be intuitive to the application developer to specify no. of trials while creating a train job ("how many trials should I put as budget? how long do I need to wait?"), especially if they're not supposed to be familiar with details like how model are trained and tuned. In contrast, TIME_HOURS is more straightforward.
Currently, different models & model tuning strategies would require different no. of trials to be effective. For example, the original ENAS tuning strategy requires maybe (301x150+10+1) trials for sufficient train-eval cycles.
In the future, it gives more flexibility for model tuning strategies at the Advisor component - for example, I'll be adding a new type of tuning strategy that takes all the models with no hyperparameters (e.g. model's knob config only consists of fixed values) and just conducts a single trial (since there's nothing to tune). It's also possible that a new tuning strategy can situationally conduct more/fewer trials based on feedback from workers.

Introducing PolicyKnob
Motivation
I have been integrating ENAS as a new model tuning strategy on Rafiki (e.g. at the Advisor component). If model templates want to do architecture tuning with ENAS, the model's training code needs to switch between different "modes":

During the ENAS architecture search phase, the model needs to alternate between "train my parameters for 1 epoch" and "don't train my parameters; just evaluate on the validation dataset"
At the end of the architecture search, the model needs to switch to training its parameters from scratch with a full-sized architecture stacked with more cells, and train for 310 epochs

Similarly, when you think about a standard hyperparameter tuning procedure, you might want the model to do early-stopping for the first e.g. 100 trials, then conduct a final trial for a full e.g. 300 epochs.
In both architecture tuning & hyperparameter tuning, the model needs to be configured by Rafiki somehow to switch between these "modes" on a trial-basis.
Change
We can model the configuration of a model template for different training "modes" with different model policies. For example, if a model is to engage in policy QUICK_TRAIN, it is to prematurely speed up its training step e.g. by either doing early-stopping or reducing the no. of epochs. The model communicates to Rafiki which policies it supports by adding PolicyKnob(policy_name) to its knob_config. On the other hand, Rafiki configures the activation of the model's policies on a trial-basis by realising the values of PolicyKnobs to either True (activated) or False (not activated).
For example, here is a example knob config of a model which supports the policy QUICK_TRAIN:

Whenever the model is to do early-stopping, Rafiki will pass quick_train=True as part of the model's knobs. Otherwise, the model defaults to full-length training.
Here is my current documentation for PolicyKnob:
'''
    Knob type representing whether a certain policy should be activated, as a boolean.
    E.g. the `QUICK_TRAIN` policy knob decides whether the model should stop model training early, or not.
    Offering the ability to activate different policies can optimize hyperparameter search for your model.
    Activation of all policies default to false.

    =====================       =====================
    **Policy**                  Description
    ---------------------       ---------------------
    ``SHARE_PARAMS``            Whether model supports parameter sharing
    ``QUICK_TRAIN``             Whether model should stop training early in `train()`, e.g. with use of early stopping or reduced no. of epochs
    ``SKIP_TRAIN``              Whether model should skip training its parameters
    ``QUICK_EVAL``              Whether model should stop evaluation early in `evaluate()`, e.g. by evaluating on only a subset of the validation dataset
    ``DOWNSCALE``               Whether a smaller version of the model should be constructed e.g. with fewer layers
    =====================       =====================

'''

@nudles I have added some details & reasoning on the major changes I'm going to make for architecture tuning. Let me know if you have any comments & advice on them!

In terms budget, can we let users to configure either hours or trials?
rename QUICK_TRAIN to EARLY_STOP?
when will DOWNSCALE be used?

Okay, I will keep MODEL_TRIAL_COUNT for backward compatibility as well.
Noted on the suggestion.
DOWNSCALE is used in architecture search for both NAS and ENAS. During the architecture search phase, the model constructed has fewer layers (e.g. 6 layers) to speed up the search, and its performance is somewhat a proxy of actual performance. On the other hand, at the final train phase, the final model trained from scratched is full-sized (e.g. 15 layers), which will be the one that is going to give the best performance.

authors: nginyc nudles

repo: nginyc/rafiki


text:
performance optimisation when stage has been disposed of

I realised that there were some functions still being called recursively at every frame even after removing the scene.
In hope of getting rid of as much as I could, I was removing everything by doing:
stage.removeAllComponents();
stage.dispose();
stage.viewer.container.innerHTML = "";
stage = null;

This might not be too much of a problem in some pages, but if you happen to add and remove stages a lot (popup/modal with ngl viewer, or single-page applications) then this can build up.

After adding and removing a stage 20 times (using a modified version of /examples/embedded.html) This is what I would get on the performance tab of Chrome.
Every single frame I would have 20 calls to mouseObserver._listen() and 20 to viewer.animate() that would amount to about 5ms of useless use of the main thread, and memory usage growing (even if it does get caught by the garbage collector eventually).
Compare to this screenshot using the code in this PR

Here with have absolutely nothing happening after doing the same steps, which is way better regarding resource usage.

OK, so I had installed this LGTM analysis thing on my forked repo and force-pushed to retrigger a check but I don't think it's something that needs to be done from my side. Let me know if I have to do something in order to pass the check

This looks basically OK, though I'm not expert on this code, but perhaps you should protect against accidentally calling window.cancelAnimationFrame with an undefined value, and set the request back to undefined once the request is canceled. (And type frameRequest to include undefined.)

but perhaps you should protect against accidentally calling window.cancelAnimationFrame

This is not strictly necessary. cancelAnimationFrame does nothing when called with undefined or any invalid value.

Reviewed and tested after a rebase. This works as advertised. Thanks @aurel-l  for your contribution!

Reviewed and tested after a rebase. This works as advertised. Thanks @aurel-l  for your contribution!

authors: aurel-l garyo ppillot sto3psl

repo: nglviewer/ngl


text:
Scythe off by one tick

Here are my settings. It is always ready to attack when the bar is still one tick from full. Kicking and other attack cooldowns seem to work fine. Idk if it's just the red scythe or also the default scythe. I use the red scythe. This seems to be a new issue, I wasn't experiencing this when running tob last week but all this week it's been happening.

It is still happening today. Scythe and Shadow are off by one tick. the bar doesn't quite fill up to the highest before you can attack again. It functions perfectly with Tbow though. If you need a video I can make one, but probably not necessary?

Try mimicking the same check marks.
LMK

Doesn't work how I like it. I use it as an action bar that fills up and when the bar is full I am ready to attack. Here is a video showing what is wrong.
Tbow attacks when bar is filled. (correct)
Shadow and Scythe attack when bar is one tick away from filled. (incorrect)
https://www.youtube.com/watch?v=birD-b951qA

Well the magic animation starts for tumeken's at 3 seconds (and it matches the video timestamps too). Keep in mind these are projectiles. The magic animation for shadow and range animation (on rapid) for Twisted bow have different speeds, but if you don't move and stay in the same spot will end up hitting the same if the monster is right in front of you.

Try this setting? I was using regular scythe and it worked for me where it would be fill to the max then empty.

I will try that. Projectiles dont have anything to do with the attack animation itself. I went back and looked and I could just be wrong here. I'm sick right now so maybe my timing is just off. I'll report back later, thanks.

I tried it. It's still wrong by one tick for both shadow and scythe. I was butterflying Akkha and everytime I go to attack it's one tick away from full bar. I've been using this plugin for over a thousand raids and it's never had this issue until this last week.

I'm not sure if this is wrong - can you get a video that includes xp drops from shadow and tbow?
And just to confirm - you didn't change "Empties Before Attack", "Fills Before Attack", or "Attack Bar Fills or Drains" between the previous behavior or now?

Two more things:

Can you also enable the "Show Attack Cooldown Ticks" option?
Can you confirm the attack animation IDs for the scythe and shadow are 8056 and 9493, respectively?


text:
requirements.txt is missing

The README suggests to
pip install -r requirements.txt

but the file seems not to have been included in this repository.

The requirements.txt file has been added to the repository.

Thank you, however I am getting the following error:
ERROR: Cannot install -r requirements.txt (line 13), -r requirements.txt (line 4) and torch==2.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested torch==2.0.0
    lightning 2.0.1.post0 depends on torch<4.0 and >=1.11.0
    torchvision 0.15.2 depends on torch==2.0.1

On a side note (that might be an issue on my side), I am experiencing issue with some packages (pillow, scikit_learn, ...) that needs to be built from source (on Ubuntu 20.04.6 LTS) in the required versions as the wheel seems not to be available.
How was the requirements.txt file generated?
Maybe it would be worth updating to latest, if it can be verified that the results of the benchmark stays consistent.

The requirements.txt was generated using pipreqs (https://pypi.org/project/pipreqs/).
I fixed the dependency errors in the new requirements.txt and verified that all these requirements can be downloaded and installed using "pip install -r requirementx.txt". As I mentioned in the requirements.txt, "lightning" was only used for the lightning version of the ENOT baseline, which we ended up not using for the evaluation (we used the pure pytorch version). For clarity and to resolve dependency issues, I have removed this version of ENOT.
In general, the benchmark code uses only basic math operations from torch and numpy. All benchmark parameters are downloaded from Google Drive. Therefore, it is not critical to have exactly the same version as long as numpy and torch perform math operations in the same way in all versions. There is plotting and metric code for some benchmark pairs in the mixtures_benchmark_visualization_eot.ipynb notebook. You can compare it with the output you get in your Python environment. The results should be the same if your torch/numpy version has the same random generators, and may be slightly different if not.

authors: ngushchin stepelu

repo: ngushchin/EntropicOTBenchmark


text:
🛑 CDN is down

In c688e23, CDN (https://vncdn.vn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CDN is back up in fda422c.


text:
Documentation errors

In Scenes section

‘started’ : The Scene is dormant, waiting to be started or to be destroyed.
‘stopped’ : The Scene is started.

In Navigators section:

During the lifetime of a Navigator it can go from ‘inactive’ to ‘inactive’ and vice versa multiple times, until it reaches the ‘destroyed’ state.

In Usage section:

Acorn is tactically divided in several modules to be able to separate different concerns from eachother.

I'm sorry I cannot create a pull request at the moment.

Thanks! No problem, I will update them :+1:

Fixed!

authors: jamolkhon nhaarman

repo: nhaarman/Acorn


text:
support for netstandard2.0

This should enable using the library with .NET framework targets as well.
Went over the unit tests (with api key and developer mode) and built the doc again to verify things are still OK.

remark: setting as work in progress as I'm facing some issue with transitive FSharp.Data dependency when running samples under fsianycpu.exe (the .NET Framework version of FSI).

It is actually working, it is just necessary to reference the same version of FSharp.Data (4.2.4 as of now) in order for things to bind correctly.
I think this can be merged, it works with .NET Framework FSI now.

I'm facing some issue with transitive FSharp.Data dependency when running samples under fsianycpu.exe (the .NET Framework version of FSI).

I don't recall if there is an issue using netstandard or not. There's weirdness using FSharp.Data as a Library for parsing Json as we are here. I thought targetting net5.0/6.0 was because of a prior FAKE dependency, but maybe there are issues.
FYI I pushed a commit fixing the github action workflow workflow.

I don't recall if there is an issue using netstandard or not. There's weirdness using FSharp.Data as a Library for parsing Json as we are here. I thought targetting net5.0/6.0 was because of a prior FAKE dependency, but maybe there are issues.

I was thinking to make a separate PR to remove FAKE dependencies from paket.dependencies (and running paket install again), do you want me to adjust it in this PR?
The error I'm facing is, I think, because FSharp.Data split the types in separate assembly, and as of 4.2.4 it still expects everything under a single assembly.
We should focus on upgrading FSharp.Data to the earliest version that introduced the split, but this would require a bit of research.

FYI I pushed a commit fixing the github action workflow workflow.

No problem!

it is just necessary to reference the same version of FSharp.Data (4.2.4 as of now)

I think #r nuget doesn't pick up dependency restrictions properly (I've had this issue elsewhere). You have to manually specify versions.
Anyway, thanks for putting this together!

Confirming it works with 4.2.10, so it doesn't have to be the exact same version, just the types have to be in same assembly as the library is compiled for.
The earlier version of FSharp.Data that bring the split seems to be 5.0.1: https://www.nuget.org/packages/FSharp.Data.Json.Core/#versions-body-tab
So my suggestion, on a next major update is to update to 5.0.1, and people should be able to use any later release, it would simplify the `#r "nuget: FSharp.Data" to not have to bake the version.

I was thinking to make a separate PR to remove FAKE dependencies from paket.dependencies (and running paket install again), do you want me to adjust it in this PR?

It would be excellent if you removed them here.

The error I'm facing is, I think, because FSharp.Data split the types in separate assembly, and as of 4.2.4 it still expects everything under a single assembly.

We should focus on upgrading FSharp.Data to the earliest version that introduced the split, but this would require a bit of research.

About that time they merged a breaking change to HTTP/Json parsing which is the problem. Phillip knew it was breaking when he merged it but our usage here is a bit of an edge case.
I think 5.0.2 is the last compatible FSharp.Data before the break. Happy for you to update it in this PR if you'd like, but I'm happy to merge without this change.

It seems non trivial to update it without breaking documentation generation for now, I'll try to pay a look at another time.
5.0.2 seems to be same as the 4.2.10 based on the release note, best for now is to keep it as it is.

Thank you @smoothdeveloper  for providing this improvement! It should show up on nuget soon as v0.2.0.

Great, will be able to use it out of box off nuget then :)
Thanks for the great package!

authors: nhirschey smoothdeveloper


text:
Ajax 기능은 언제쯤 추가될까요?

안녕하세요!
NHN고도 안종태 qnibus@godo.co.kr라고 합니다.
저희가 해당 콤포넌트를 사용하고 있는데요!
Ajax 기능이 필요한데 혹 추가하실 예정이 있으신지요?
있으시다면 언제쯤일지 궁금해서 질문드립니다.
게시판의 성격과 맞지 않으면 글 보시고 지우셔도 되오며,
이메일로라도 답변 좀 해주셨으면 정말 감사하겠습니다.
수고하세요!

안녕하세요 :) NHN 엔터테인먼트 FE개발랩입니다.
문의 주신 내용에 대해서는 메일로 회신 드리겠습니다.
감사합니다.

authors: qnibus seonim-ryu


text:
How can I restrict the file types that a user chooses for uploading an image?

How can I restrict the file types that a user chooses for uploading an image?
Thanks!

the feature is not yet supported.
let us discuss the feature here.

authors: SteveSchreiner kyuwoo-choi


text:
fix(ci): pin @nhost/nhost-js dep version in sveltekit quickstart

This will ensure CI doesn't complain about trying to install an unpublished version of the @nhost/nhost-js package in the SvelteKit quickstart.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (f7c2148) 86.84% compared to head (278a641) 86.80%.
Report is 12 commits behind head on main.

Files
Patch %
Lines

packages/nhost-js/src/utils/helpers.ts
80.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2402      +/-   ##
==========================================
- Coverage   86.84%   86.80%   -0.05%
==========================================
  Files          85       85
  Lines        9353     9328      -25
  Branches      495      489       -6
==========================================
- Hits         8123     8097      -26
- Misses       1230     1231       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter onehassan

repo: nhost/nhost


text:
Typo in capability statement.

Documentation for the practitioner search in PractitionerRole has a typo. organation should be organization.

In core hapi - see https://github.com/jamesagnew/hapi-fhir/search?utf8=✓&q=organation&type=

authors: KevinMayfield VictorHarris


text:
Create 2 new components: tabs and character count

To be released in February release - frontend and service manual
Related issue: https://github.com/nhsuk/nhsuk-service-manual/issues/1857

Draft in branch review/feb-release.

Published:

https://service-manual.nhs.uk/design-system/components/character-count
https://service-manual.nhs.uk/design-system/components/tabs

repo: nhsuk/nhsuk-service-manual


text:
Feature/upgrade ci scripts

Supersedes #68

:rocket: deployment of nhsuk/profiles-db succeeded (http://profiles-db-pr-71.dev.beta.nhschoices.net)

repo: nhsuk/profiles-db


text:
Embed original gist comments?

This issue is to track discussion whether to render the comments on the original gist or not.
You can see the current implementation here: https://nicegist.github.io/84aec347c6a1b90890dad8953d7e8c67#gist-comments
The comment section is only shown for gists that have received comments. (Compare the link above to this Nicegist without comments)
What I like about it is, that you can easily link to comments (since I create unique anchor links for each comment). See: https://nicegist.github.io/84aec347c6a1b90890dad8953d7e8c67#comment-1876170
Let me know what you think. I'm still not sure if I should keep it or if its too distracting (because, ultimately, the idea of Nicegist is to offer a clean representation for gists).

Hmm... I'm torn. But that sort of also means I don't have a strong opinion either way. :) But design-wise I think they look nice.

Closing, since it's not an open issue. Further discussion welcome. Pinned this issue.


text:
remove mention of summer school ?

in title (probably in yaml file), in intro text on welcome page.
we (you and I and others) will reuse this for regular workshops as well ;)
in read me file: maybe you could say instead that it was initially created for the LMU OSC summer school 2023 and linking to the website https://malikaihle.github.io/OSC-Open-Research-Summer-School-2023/

for the title: could be simply "Introduction to R' ?

also mention
Note
This chapter is optional. It is not necessary to follow the rest of the conference, but you will get startet with plotting in R.
in https://nickhaf.github.io/r_tutorial/qmd/plotting/plotting.html can be removed I think.
the title already says it's optional


text:
Smoothing/ Running Averages

Hi
I'm interested in producing a running average &/or smoothing via the average of a definable number of previous values (in a date series).  I could produce this via sql on the database that I'm getting the data from, but thought that this could be either a derived attribute or an aggregation function, but I'm a bit stuck on the best approach and also how to reference the values in previous cells.  Any guidance gratefully received.
Edit
It's amazing that just after posting I came across #140 which has given me something to work from.  I'll see what I can come up with.

OK, let me know how it goes! I think there's enough info in that other ticket to put you on the right track :)

Both of these are minor modifications of the code in #140  by philliproso
There are probably more efficient and elegant ways of doing this, but I've never used coffeescript before, so apologies in advance.
runningAverage takes account of whether some of the cells are empty or not,smoothedAverage does not
In the code for smoothedAverage, the value in a cell is the average of the current cell and the previous 3 cell values, in the earlier cells it's the average of the current cell and the previous cells.
runningAverage: (formatter=usFmt) -> ([attr]) -> (data, rowKey, colKey) ->
  sum: 0
  push: (record) -> @sum += parseFloat(record[attr]) if not isNaN parseFloat(record[attr])
  value: ->
    colKeys=data.getColKeys()
    counter = 0
    flat_col_key=colKey.join(String.fromCharCode(0))
    for item in colKeys
      flat_item=item.join(String.fromCharCode(0))
      if flat_item is flat_col_key
        itter=counter
      counter++
      prev_value = 0
      if itter >0
        denom = 1
        for i in [1...itter+1]
          aggregator = data.getAggregator(rowKey, colKeys[itter-i])
          if 'sum' of aggregator
            prev_value += aggregator.sum
            denom++
      return (@sum + prev_value) / (denom - 1)
  format: formatter
  numInputs: 1

smoothedAverage: (formatter=usFmt) -> ([attr]) -> (data, rowKey, colKey) ->
  sum: 0
  push: (record) -> @sum += parseFloat(record[attr]) if not isNaN parseFloat(record[attr])
  value: ->
    colKeys=data.getColKeys()
    counter = 0
    flat_col_key=colKey.join(String.fromCharCode(0))
    for item in colKeys
      flat_item=item.join(String.fromCharCode(0))
      if flat_item is flat_col_key
        itter=counter
      counter++
      for i in [1...itter+1]
        prev_value = 0
        if (itter -1) of colKeys
          aggregatorone = data.getAggregator(rowKey, colKeys[itter-i])
          if 'sum' of aggregatorone
            prev_value += aggregatorone.sum
        if (itter -2) of colKeys
          aggregatortwo = data.getAggregator(rowKey, colKeys[itter-(i+1)])
          if 'sum' of aggregatortwo
            prev_value += aggregatortwo.sum
        if (itter -3) of colKeys
          aggregatorthree = data.getAggregator(rowKey, colKeys[itter-(i+2)])
          if 'sum' of aggregatorthree
            prev_value += aggregatorthree.sum
        if itter > 3
          return ((@sum + prev_value) / 4)
        return ((@sum + prev_value) / (5 - (4 - itter)))
  format: formatter
  numInputs: 1

Both of these are minor modifications of the code by philliproso  in #140
runningAverage calculates a running average of non-blank cells
smoothedAverage calculates the average of the current cell and the 3 previous cells - it doesn't take account of blank cells, or if there have been fewer than 3 previous values, the average of the current cell and it's predecessors.
There are probably lots of more efficient and elegant ways of doing this in coffeescript, but this was my first time using it, so please indulge my inefficiencies (I got part of the way there in coffeescript, hacked the resulting javascript, then tried to work out the necessary coffeescript to get that js.
Anyway I've now got node.js / npm installed so may further refine things, but it's working sufficiently for me needs
runningAverage: (formatter=usFmt) -> ([attr]) -> (data, rowKey, colKey) ->
  sum: 0
  push: (record) -> @sum += parseFloat(record[attr]) if not isNaN parseFloat(record[attr])
  value: ->
    colKeys=data.getColKeys()
    counter = 0
    flat_col_key=colKey.join(String.fromCharCode(0))
    for item in colKeys
      flat_item=item.join(String.fromCharCode(0))
      if flat_item is flat_col_key
        itter=counter
      counter++
    prev_value = 0
    if itter >0
      denom = 1
      for i in [1...itter+1]
        aggregator = data.getAggregator(rowKey, colKeys[itter-i])
        if 'sum' of aggregator
          prev_value += aggregator.sum
          denom++
    return ((@sum + prev_value) / (denom - 1))
  format: formatter
  numInputs: 1

smoothedAverage: (formatter=usFmt) -> ([attr]) -> (data, rowKey, colKey) ->
  sum: 0
  push: (record) -> @sum += parseFloat(record[attr]) if not isNaN parseFloat(record[attr])
  value: ->
    colKeys=data.getColKeys()
    counter = 0
    flat_col_key=colKey.join(String.fromCharCode(0))
    for item in colKeys
      flat_item=item.join(String.fromCharCode(0))
      if flat_item is flat_col_key
        itter=counter
      counter++
    for i in [1...itter+1]
      prev_value = 0
      if itter-1 of colKeys
        aggregatorone = data.getAggregator(rowKey, colKeys[itter-1])
        if 'sum' of aggregatorone
          prev_value += aggregatorone.sum
      if itter-2 of colKeys
        aggregatortwo = data.getAggregator(rowKey, colKeys[itter-2])
        if 'sum' of aggregatortwo
          prev_value += aggregatortwo.sum
      if itter-3 of colKeys
        aggregatorthree = data.getAggregator(rowKey, colKeys[itter-3])
        if 'sum' of aggregatorthree
          prev_value += aggregatorthree.sum
      if itter > 3
        return ((@sum + prev_value) / 4)
      return ((@sum + prev_value) / (5 - (4 - itter)))
  format: formatter
  numInputs: 1

Again, another minor modification
Percentage change from previous value
percentageChange: (formatter=usFmt) -> ([attr]) -> (data, rowKey, colKey) ->
  sum: 0
  push: (record) -> @sum += parseFloat(record[attr]) if not isNaN parseFloat(record[attr])
  value: ->
    colKeys=data.getColKeys()
    counter = 0
    flat_col_key=colKey.join(String.fromCharCode(0))
    for item in colKeys
      flat_item=item.join(String.fromCharCode(0))
      if flat_item is flat_col_key
        itter=counter
      counter++
    if itter >0
      aggregator = data.getAggregator(rowKey, colKeys[itter-1])
      if 'sum' of aggregator
          return (((@sum - aggregator.sum)/aggregator.sum))
    return
  format: formatter
  numInputs: 1

I'm going to close this as a duplicate of #140 and leave a link there to here.

repo: nicolaskruchten/pivottable


text:
How to deal with large data set getting from server side

My situation is that I have more than 200k rows records which are gotten from server side. In order to use pivottable js, a client browser needs to download whole data, e.g via ajax request, it causes browser hang and not respond.
I'm thinking that instead of processing pivot table in front-end, I would do it on back-end side. However I would love to use the js library for drag&drop UI. It means that when I manipulate pivot table, it would send a request to server. Is there any way I could achieve this result?
Or any suggestion would prevent browser not respond while downloading a large data set for initializing the pivotable?
Thanks

I'm working now on the same issue.
My idea is to load data by portions (may be 20k rows), then init pivotUI with this array.
So, it means that pivottable will not reload all data every for each drag-n-drop move.

@ilyaguy: yeah, that's one way I have tried, but one down side is that user needs to wait until client gets all portions. And server needs to query into database for every portion (20k rows), it will take time to load whole data.
My idea is that we only load data from database one time and store it in cache or local file. For each drag&drop move, client sends request to server, server don't need to query again, just get data from cache and process the pivot table (e.g using Pandas python library to handle it)

Hello guy's,
I'had to work on an similar issue...
In my case, the final user has to deal with several data set
When then user logs in, for each data set he has subscribed to, i run an asynchronous ajax request
that stores the result of the sql query in php session.
During this asynchronous request, the front end shows a progressbar ( Loaded 1 of X...).
When finished, you can easily reload the full page without doing any other request on the database.
Your pivot table should easily deal with the 200k rows that are stored in the php session.

@chapt0011: storing data in php session means that the data is in server memory, right? If data grows up quickly, server will be out of memory. Is there any way we store data in client local storage? so we don't affect server memory.

I think you need to choose where the pivoting needs to happen!.
If it happens on server side, it will help reducing the amount of data to be transferred to client... But then you wouldn't need a pivot table ui on the client side (pls correct me if i am wrong)
On the othethand, if you want the user to have entire data and perform pivoting on it, then data volume to be transferred to client may go up!!!!
Good point to discuss about.... Waiting to learn from this discussion :)

@datnguyen0606 Sure, but assume data has been loaded in php session.
Render the page on the server side does'nt meen you can't unset the session variable on the server side after it has been sent to client side.
First:
While loading data into php session variable
//SQLRequest
// $_SESSION['dataset']=SQLResult json formatted
display loading progress!
On loaded
Redirect user to the following page:
<?php
session_start();
//if you don't use any template engine
echo '
[...]

';

//FINALLY unset the session variable which is already written!
unset($_SESSION['data']);
?>

Peform pivot on the server side is not a good idea.  Anytime the final user wants to change rows or cols in the table,  he will have to reload the dataset or the pivot result.
Actually the data in pivotui is already stored on the client side.  I think you are just looking for the best way to get them as fast as possible from the server..
1st.  you need to optimize your request !  if you are using mysql you can try to use a ramdisk...
2nd. Use Ajax asynchronously to perform your request, you don t really need php sessions . This way you won t get any javascript timeout

My feeling is that the architecture of this library is incompatible with a server-side integration along these lines... See #150

@chapt0011  yes you can bring in data in smaller chunks. But the pivot result on the client will be based on the data so far loaded on the client. And, the performance will be based on the client machine configuration!!!
@nicolaskruchten it would be nice if you can point us to references of such architectures that would address such requirements. Thanks :)

https://github.com/nicolaskruchten/pivottable/wiki/Frequently-Asked-Questions#server-side-integration


text:
not installable on mac M1 machine

The output log is:
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  TOUCH Release/obj.target/libvips-cpp.stamp
  CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
  LIBTOOL-STATIC Release/nothing.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
  CXX(target) Release/obj.target/sharp/src/common.o
../src/common.cc:24:10: fatal error: 'vips/vips8' file not found
#include <vips/vips8>
         ^~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/grimmer/.nvm/versions/node/v15.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:369:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/Users/grimmer/.nvm/versions/node/v15.14.0/bin/node" "/Users/grimmer/.nvm/versions/node/v15.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/grimmer/git/webpack-demo/node_modules/sharp
gyp ERR! node -v v15.14.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok

@nicolaspanel ,
another related thing is, I forked this repo to mine and consider to release a TypeScript version as another npm package, one of the reasons is that I remove the image manipulation feature. The changes are here,  https://github.com/grimmer0125/numjs/pull/4 and I do not change the algorithm part.
Should you have any concerns and suggestions, please tell me.

hi @grimmer0125
I just gave you write access to this repo => Feel free to improve it in any way
1 advice though: sticking to numpy api (or as close as possible) make it easier for numpy users
Best regards

see #125 that fixes this issue
in the meantime, adding
  "resolutions": {
    "sharp": "0.30.7" // or 0.29.2
  },

should fix the issue
ref #110

repo: nicolaspanel/numjs


text:
refactor(db): Make log handling explicit in StorageAPI.setState

Move the log concatenation logic out of setState and into a separate appendLog method.
Add a deltalog parameter to the StorageAPI.setState method to make it more obvious that setState should also handle appending entries to the game log.
Closes #577.

Two quick details:

This only uses appendLog during onUpdate in the game master. I think this is the only place that will produce deltalogs, but wanted to flag it just in case a setState call elsewhere could have been adding to the log.

deltalog is still being included in the state object sent to setState. It might not be necessary to store it in state, but I wasn’t sure (and it’s usually a pretty small object in any case).

deltalog resides in the state object primarily because reducer.ts passes around a state object.  I'd love to separate it out if it's possible to do that in a clean way, but like you pointed out, it's a pretty small object.

OK, I’ve stripped deltalog from the state that gets persisted. I’m going to refrain from stripping it out elsewhere for now, because I’m not very clear where it is needed (e.g. on the client).

Thanks, and sorry about the additional work to revert some of the changes!

No worries — it’s probably good to keep the API surface small too.

authors: delucis nicolodavis


text:
Remove misplaced .gitignore entry

OS-specific entries, like *.DS_Store, should reside in a global .gitignore, created by each user to fit their needs.
Example:
git config --global core.excludesfile '~/.gitignore'
echo '*.DS_Store' >> ~/.gitignore

@migueldemoura I agree but I do not want users having to do this separately. Adding this line to the .gitignore isn't really impacting anything anyway. If you have any additions for Windows users, please let me know!

Fair enough.
I'd suggest separating the two types of ignores with two new lines.
As for other suggestions:
Windows:
Thumbs.db
Desktop.ini

If you want, I can push another commit to address this.

@migueldemoura Please do! Thanks for the help :-)

authors: migueldemoura nielsenramon

repo: nielsenramon/chalk


text:
🛑 Coffee Senses (testing) is down

In 9591c30, Coffee Senses (testing) (http://coffee.naupahouse.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Coffee Senses (testing) is back up in cccd047 after 53 minutes.


text:
Added multiuser support

List of fixed issues (if they exist):

Demos work on:

[ ] iOS Safari
[ ] iOS Firefox
[ ] iOS Chrome
[ ] Android Chrome
[ ] Android Firefox
[ ] macOS Safari
[ ] macOS Firefox
[ ] macOS Chrome
[ ] Windows Chrome
[ ] Windows Firefox

@cdrake, is this ready to be merged in? looks like the checks have passed ok.

authors: cdrake hanayik

repo: niivue/niivue


text:
Added deccan ruby conf 2018

Deccan Ruby Conf 2018 happening in Pune on 4th Aug 2018

2018 is almost over, so I'll close this. Thanks for creating the PR, much appreciated!

authors: nikhita razasayed

repo: nikhita/tech-conferences-india


text:
⚠ LabBricks has degraded performance

In 64aac7e, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3210 ms

Resolved: LabBricks performance has improved in 2b9573f after 20 minutes.

repo: nikolasibalic/status


text:
Set up error-chain

@nikomatsakis I fixed this up to use the error chain in this PR and got it compiling. I expanded the throw macro to take fmt arguments as well and it is indeed pretty cool. I don't know about the word 'throw', but I think this macro should be in error-chain.
cc @Yamakaky this project contains an interesting throw! macro that removes some of the boilerplate of creating a new error.

@nikomatsakis check out that second commit that uses chain_err. That's what this lib encourages when adding information to an error (instead of creating a new error by e.g. format!("some error happened: {}", inner_error). Then the third commit sets up main to print the chain of errors.

@brson nice! did, this require any changes to error-chain?

Regarding throw!, The original ? included a throw keyword roughly equivalent to the macro here -- we removed it but in the time since I've come to think such a thing would be useful.

@nikomatsakis No, this code itself didn't require any error-chain patches.

authors: brson nikomatsakis

repo: nikomatsakis/cargo-chrono


text:
issue #335 solved

Description
I've updated about's  card images
Checklist

[x] I am making a proper pull request, not a spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
(Write your answer here.)
Add relevant screenshot or video (if any)

@niloysikdar the conflicts are solved, plz check it !

@niloysikdar please review it !!

Hey @ashuydv please check this does'nt  seem fine

#368 issue solved

Make UI more engaging #337,

Added a new loader , plz review it.

@ashuydv the pull request is good to merge you just need to fix the footer. Please check this
And the preloader looks great!

on my localhost the loader looks like this,

why its expanding ??

Check the css maybe something might have been overwritten

Can U plz explain, what should I fix in footer ?? should I change the background or should i make it like this ??
Plz guide me

The footer looks like this. Just make it of screen size

Its working now, plz review it now

@ashuydv your preloader is working fine now. Just resolve the conflicts I'll merge it. And extremely sorry for the delay.

ok, will do

sry, for the delay, review it for the last time

index.html file is fine but it seems that you have made changes in the about page also. Please remove those changes. Check this .About page looks  different from rest of the pages.

I've added only cards, I haven't touched navbar in any of them ,

Seems fine now. Thank you!

authors: ashuydv nilisha-jais

repo: nilisha-jais/Musicophilia


text:
Observações sobre Listar Almoxarifados

Não sei a causa, mas certos almoxarifados não estão sendo deletados ao clicar no ícone de excluir. O que não faz sentido já que eu consegui excluir alguns antes. A única ação que fiz com eles foi registrar entradas.

Provavelmente deve fazer parte da regra de negócios não permitir a exclusão de almoxarifados que possuem algum tipo de registro.

@joaopontes22 verifique se este comportamento está correto.
Se algum almoxarifado tiver algum lançamento ele não deve ser apagado.
Se o almoxarifado não tiver lançamentos ele pode ser apagado.

@nilsonLazarin correto, almoxarifados com lançamentos não podem ser apagados.

@joaopontes22 Vou estar encerrando essa issue então, uma vez que o comportamento está dentro do esperado.

repo: nilsonLazarin/WeGIA


text:
🛑 Nimbus9 Billing API is down

In b537501, Nimbus9 Billing API (https://api.nimbus9.io/v2/billing/health) was down:

HTTP code: 502
Response time: 1337 ms

Resolved: Nimbus9 Billing API is back up in d32e870.


text:
Rtransparent Publication Ingestion

Working on issue https://github.com/nimh-dsst/dsst-etl/issues/10

alembic

done, please help me check @leej3

repo: nimh-dsst/dsst-etl


text:
Update jquery.collection.js

Fixing label issue (#28)

Hello
Thank you for your contribution.
Quickly read the problem, and wondering if you checked this page?
https://symfony-collection.fuz.org/symfony3/troubleshoot/hide-form-labels

Yeah, but that's just hiding the label.
With my addition, it's now possible to actually use that label and show numbered "steps" or "items" if you will.

Nice.
Will check this closer within a couple of hours.

Okay, so when adding fields, it works.
But when loading in such a collection it gets rendered by twig, currently i'm solving it with adding
{%- if name matches '/^\\d+$/' -%}
        {%- set name = 'item ' ~ (name|number_format + 1) -%}
{%- endif -%}

But users need to add this to their templates if they want labels to be displayed properly.

And I think moving elements won't sort correctly those numbers.
We may think of a better solution, like a selector to write position nbr somewhere.

Position is being stored in a hidden field, though.

Sure, but it may be more friendly to set a selector like span.position so you could use Item # to automatically fill Item #42 on your view without tricky hacks.

Yeah, but keep in mind it wouldn't always be "Item" either ;)

authors: iSDP ninsuo

repo: ninsuo/symfony-collection


text:
Build Error building the latest source. DiscordBridge.cs line 117. Missing ;

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1002	; expected	iTunesRichPresence-Rewrite	D:\Desktop_Stuff\Github_Clones\C#\iTunesRichPresense\iTunesRichPresence\DiscordBridge.cs	117	Active

Here
            catch (EntryPointNotFoundException) {
                var newPresence = new DiscordRpc.RichPresence {
                    largeImageKey = "itunes_logo_big",
                    details = "No song playing",
                    state = "Re-install iTunesRichPresence to clear this message"
                }
            }

Adding a semi colon after the ending curly bracket let's the project build successfully.

As you can tell, I put extensive testing into this fix. I'd notice the error when I went to build a patch, but thanks for pointing it out to me.

Resolved in 06cfd81


text:
ENH: JupyterLite, WebGL

https://github.com/emscripten-forge/empack
https://github.com/emscripten-forge/recipes
https://www.google.com/search?q=jupyterlite+emscripten-forge
https://jupyterlite.rtfd.io -> Lab

https://jupyterlite.readthedocs.io/en/latest/howto/configure/simple_extensions.html#the-case-of-jupyter-widgets-and-custom-renderers
https://jupyterlite.readthedocs.io/en/latest/howto/configure/rtc.html#enabling-rtc-in-jupyterlite

https://www.google.com/search?q=emscripten-forge+webgl

I don't think it can be made to work without a SIGNIFICANT amount of work

Hopefully the compiler will do most of that work. Maybe @martinRenou knows of an example emscripten-forge empack package that has OpenGL/EGL code?
ipygany does 3D in notebooks with VTK, which may or may not already be transpired to WASM IIUC
https://github.com/QuantStack/ipygany

https://emscripten.org/docs/optimizing/Optimizing-WebGL.html#which-gl-mode-to-target

There may need to be a 'polyfill' like requests-wasm-polyfill?
https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/requests-wasm-polyfill/recipe.yaml

https://www.google.com/search?q="glfw"+emscripten
https://www.google.com/search?q="moderngl"+emscripten

https://github.com/emscripten-core/emscripten/blob/main/system/include/GL/glfw.h
https://gist.github.com/ousttrue/0f3a11d5d28e365b129fe08f18f4e141?permalink_comment_id=4484709#gistcomment-4484709
 -sUSE_GLFW=3 option

Students could easily develop and share STEM games with a WASM compilation of jupylet that works in JupyterLite or VSCode.dev

Maybe @martinRenou knows of an example emscripten-forge empack package that has OpenGL/EGL code?

I don't!

ipygany does 3D in notebooks with VTK, which may or may not already be transpiled to WASM IIUC

ipygany only uses VTK on the back-end for file loading, the rendering is done entirely using WebGL.
From time to time I google to see if Kitware folks provide an easy way to compile VTK for WASM, thankfully today you triggered that search and it seems to be fruitful https://gitlab.kitware.com/vtk/vtk-wasm-docker (initial commit a month ago).
Though I guess all of this VTK discussion is completely out of scope for jupylet, so sorry for the spamming. If you want, @westurner, I'd be happy to have this discussion under an ipygany issue.

hi @martinRenou, you were one of the first people to star jupylet when it first came out. thanks! :)

@westurner, I don't have the time to jump into such a project at the moment, but I see that jupyterlite supports numpy ipywidgets and ipyevents, and is using async just as classic jupyter, so actually it may be possible to put aside audio, 3d, and sharertoy support and just reimplement the sprites and labels modules and start with them and get an initial version of jupylet for jupyterlite and continue from there (that is how jupylet started anyway).

Probably worth compiling to WASM and running the tests first
This is the requests-wasm-polyfill, because actual requests is not built on the ES/JS fetch api:
https://github.com/emscripten-forge/requests-wasm-polyfill/tree/main/requests

an example emscripten-forge empack package that has OpenGL/EGL code?

It looks like there's already glfw support in emscripten.
Is VTK actually out of scope? There probably could be a VTK backend; IDK what the advantage would be.

actually it may be possible to put aside audio, 3d, and sharertoy support

W3C Web Audio API

https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API
https://github.com/topics/web-audio-api

W3C Gamepad API

https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API
https://github.com/pybricks/support/issues/995

W3C Sensor API

https://developer.mozilla.org/en-US/docs/Web/API/Sensor_APIs

Like JupyterLite (and the vscode pyodide extensions) pyscript is also built on pyodide:

https://dev.jeff.glass/pyscript-audio/index.html
https://realpython.com/pyscript-python-in-browser/#sensor-api

3d

https://news.ycombinator.com/item?id=32657051 :

[ ] ENH: SensorCraft: replace Pyglet (OpenGL) with an alternate WebGL/WebGPU implementation

https://github.com/quobit/awesome-python-in-education/issues/50

authors: martinRenou nir westurner

repo: nir/jupylet


text:
Can i limit the reading area?

Is there any way I can use the full screen camera area to display but limit the reading area to a subview?

Yes. The reading area is your SurfaceView, so how you size it (be it full screen or a specific height and width) in your layout is on you. Next is where you display your read data into , again depends on where you show the read data.
I may be able to answer more clearly if you gave me a specific case.

Hi, I'm sorry I lated too much to answer but I've been a little busy.
What I was trying to say is that I wanted to show the camera on the whole screen but limit the qr reading area to another inside view, like this:

I ended up modifying your QRDataListener by adding another onDetected method that sends the whole Barcode object so i could get the Rect of the read data and compare it to the Rect of my inside view in order to limit the reading area.
QRDataListener:
public interface QRDataListener {

  /**
   * On detected.
   *
   * @param data
   *     the data
   */
  // Called from not main thread. Be careful
  void onDetected(final String data);

  // Allows to use the whole captured data
  void onDetected(final Barcode data);
}

QREader:
@Override
        public void receiveDetections(Detector.Detections<Barcode> detections) {
          final SparseArray<Barcode> barcodes = detections.getDetectedItems();
          if (barcodes.size() != 0 && qrDataListener != null) {
            qrDataListener.onDetected(barcodes.valueAt(0));
            qrDataListener.onDetected(barcodes.valueAt(0).displayValue);
          }
        }

My implementation:
...
qReader = new QREader.Builder(ScanActivity.this, scanner, new QRDataListener() {
            @Override
            public void onDetected(final String data) {
            }

            @Override
            public void onDetected(Barcode barcode) {
                if(areaRect.contains(barcode.getBoundingBox())) {
                    final String data = barcode.displayValue;
                    qReader.stop();
                    ...
                }
            }

        }).facing(QREader.BACK_CAM)
                .enableAutofocus(true)
                .height(width)
                .width(height)
                .build();
...

I hope this could help somebody else and I thank you for your attention.

@primissus if you added a feature, do consider sending a PR.

I am facing a problem on the aspect ratio of the camera preview.
Always displayed with bad aspect ration.
What to do ??

@simonkarmy  I am facing same issue too. did you get any solution for that?

authors: NilaxSpaceo nisrulz primissus simonkarmy

repo: nisrulz/qreader


text:
chore: add example deployment

Deploys to vercel

Codecov Report

Merging #1 (aab750f) into develop (84c2fbf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop       #1   +/-   ##
========================================
  Coverage    82.08%   82.08%
========================================
  Files            1        1
  Lines           67       67
  Branches        21       21
========================================
  Hits            55       55
  Misses          12       12

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 84c2fbf...aab750f. Read the comment docs.

authors: codecov-commenter davemooreuws

repo: nitrictech/react-animated-term


text:
add test actions code

概要
test用Actions追加
#28

ブランチ名を間違えたのでclose

repo: niwaniwa/Sakura-Pi-Node


text:
Lorri displays "error extending watch paths" warning during successful operation

I recently upgraded my version of nix and lorri and began to encounter the following warning lines during lorri builds. It does this on every single new build, but not when loading from a cached build.
Nov 08 16:51:03.439 WARN error extending watch paths:, paths: [Normal("/Users/pd/.config/nixpkgs/config.nix"), Normal("<nix/fetchurl.nix>"), Normal("/Users/pd/Desktop/lorri-init-path-errors/shell.nix"), Normal("<nix/derivation-internal.nix>")], error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }), paths: [] }, nix_file: /Users/pd/Desktop/lorri-init-path-errors/shell.nix

I was able to create a minimal reproduction using a brand new repository where the only files were created by lorri init, you should be able to check it out here:
https://github.com/peterldowns/lorri-init-path-warnings
Hopefully you can reproduce the behavior by checking out the repository and running:
cd lorri-init-path-warnings
direnv allow .
lorri watch --once

Expected behavior
Lorri functions correctly, updates the current shell environment to add the hello binary to the $PATH.
Actual behavior
Lorri functions correctly, updates the current shell environment to add the hello binary to the $PATH, and prints the warning log visible above.
Metadata

$ lorri info --shell-file shell.nix
Project Shell File: /Users/pd/Desktop/lorri-init-path-errors/shell.nix
Project Garbage Collector Root: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/gc_roots/bad6431c93487fe2821f8b802ac8a0d8/gc_root/shell_gc_root

General:
Lorri User GC Root Dir: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/gc_roots
Lorri Daemon Socket: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/daemon.socket
Lorri Daemon Status: `lorri daemon` is running

$ uname -a
Darwin pld-mbp-22 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64 arm Darwin

Additional context

macOS 14.4.1 Sonoma
lorri 1.7.1 installed via service.lorri.enable = true; in my system flake
system flake nixpkgs (where lorri comes from) is github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D (2024-11-07 05:50:23)

Interesting. Thanks for putting together a reproduction. I'll see if I can take a look over the weekend, but I'm on the road next week.
I agree: the warning should describe which path can't be found, at the very least.

Cool, thanks for the quick response. This isn't an urgent bug in any way, since the only problem is that there is a warning shown — lorri still works great. Thanks for maintaining and for the improvements you've been making, I'm looking forward to the improved flakes support!

authors: nyarly peterldowns

repo: nix-community/lorri


text:
Use Nix copy command instead of nix-closure-copy

This relates to #63
I tested it, and its very fast.
It only work fast on NisOS unstable though, as NixOS 23.05 contains Nix 2.13 which doesn't support that yet.
On older nixos it just works slowly.

I tested it, and its very fast.

Can you provide some numbers to go with this?  How does it deal with latency?

@exarkun sure,
here is a time terraform apply -auto-approve on some example terraform on AWS (with around 100ms latency) and sample nix config without the patch:
terraform apply -auto-approve  14.52s user 4.95s system 3% cpu 8:26.58 total
and here is with the patch (on completely new machine):
terraform apply -auto-approve  7.47s user 1.55s system 14% cpu 1:00.89 total

@exarkun i don’t have capacity to test this right  now. I’d be happy to merge it if it was opt-in. Can we add a flag in the terraform module to switch between original implementation and this one? Thanks!

repo: nix-community/terraform-nixos


text:
Release tree-sitter-nix on Crates.io

Hi, I'd love to include tree-sitter-nix in my markdown to html converter crate, but to do that I can't have git dependencies.
Do you have any interest or plans on releasing the Rust adapter on crates.io?

Oh yeah, that's a good idea! I'll see if I can push it up tonight or this weekend.

@benwis I just now published the crate: https://crates.io/crates/tree-sitter-nix :tada:
Lemme know if there's anything else I can do!

authors: benwis cstrahan

repo: nix-community/tree-sitter-nix


text:
Error building on FreeBSD

Been getting the following while with nix
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:49:5: 49:11 error: unresolved import `libc::SIGPWR`. There is no `SIGPWR` in `libc` [E0432]
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:49     SIGPWR,
                                                                                ^~~~~~
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:49:5: 49:11 help: run `rustc --explain E0432` to see a detailed explanation
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:50:5: 50:14 error: unresolved import `libc::SIGSTKFLT`. There is no `SIGSTKFLT` in `libc`. Did you mean to use `SIGSTKSZ`? [E0432]
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:50     SIGSTKFLT,
                                                                                ^~~~~~~~~
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:50:5: 50:14 help: run `rustc --explain E0432` to see a detailed explanation
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:52:5: 52:12 error: unresolved import `libc::SIGPOLL`. There is no `SIGPOLL` in `libc`. Did you mean to use `SIGILL`? [E0432]
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:52     SIGPOLL, // Alias for SIGIO
                                                                                ^~~~~~~
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:52:5: 52:12 help: run `rustc --explain E0432` to see a detailed explanation
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:53:5: 53:14 error: unresolved import `libc::SIGUNUSED`. There is no `SIGUNUSED` in `libc` [E0432]
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:53     SIGUNUSED, // Alias for 31
                                                                                ^~~~~~~~~
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/sys/signal.rs:53:5: 53:14 help: run `rustc --explain E0432` to see a detailed explanation
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/unistd.rs:188:47: 188:50 error: mismatched types [E0308]
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/unistd.rs:188     let res = unsafe { libc::sethostname(ptr, len) };
                                                                                ^~~
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/unistd.rs:188:47: 188:50 help: run `rustc --explain E0308` to see a detailed explanation
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/unistd.rs:188:47: 188:50 note: expected type `i32`
/home/abuilder/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.6.0/src/unistd.rs:188:47: 188:50 note:    found type `usize`

Looks like the issue is fixed in 0.6.1-pre.

repo: nix-rust/nix


text:
PTRACE_O_SYSGOOD flag is interpreted as part of a signal

In sys::wait, if waitpid returns a status originating from ptrace and PTRACE_O_SYSGOOD is set, the seventh (0x80) bit of the status will be flipped. This causes status parsing to fail.
The flag technically isn't a ptrace event either, but I feel like that would be the best place to put it. Alternatively, a SYSGOOD-status could be its own unique kind of status, or a boolean entry could be added in WaitStatus::Stopped to mark it.
I've opened a pull request simply ignoring the bit for now (#549)

@chaosagent thanks for the report. What's the platform / architecture this happens on?

This only happens on Linux, and I can confirm it happens on x86_64, but the Linux man page says that it might not work on all platforms.
The name of the flag is PTRACE_O_TRACESYSGOOD btw; I'll changethe issue title to reflect.

authors: chaosagent kamalmarhubi


text:
先决条件

[X] 我已尝试更新模板版本

[X] 我已检索模板手册

[X] 我已检索项目 wiki

[X] 我已确认这个问题没有在其他 issues 中提出过。

期望的现象
英文摘要页的论文标题不要出问题
发生了什么
下面是英文标题的设置：

下面是摘要页的英文标题：

最小工作示例
见**发生了什么**

njuthesis 模板版本
v1.3.0
模板获取途径
通过 GitHub Releases 或镜像站下载
操作系统
Windows
TeX 发行版
No response
编译程序
XeLaTeX
额外信息
No response

修了。

准备发release吗，还是最近不会发了我直接clone好了

现在可以从 https://github.com/nju-lug/NJUThesis/actions/runs/5924875459 的 Artifacts 板块下载每次 commit 生成的模板格式文件。

authors: atxy-blip elem-azar-unis

repo: nju-lug/NJUThesis


text:
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) Error

Using this example:
from sklearn import datasets
import numpy as np
from classix import CLASSIX

X, y = datasets.make_blobs(n_samples=5000, centers=2, n_features=2, cluster_std=1, random_state=1)
clx = CLASSIX(sorting='pca', radius=0.15, group_merging='density', verbose=1, minPts=13, post_alloc=False)
clx.fit(X)

I am getting the following error:
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-569-bb587af68fc1> in <module>
      5 X, y = datasets.make_blobs(n_samples=5000, centers=2, n_features=2, cluster_std=1, random_state=1)
      6 clx = CLASSIX(sorting='pca', radius=0.15, group_merging='density', verbose=1, minPts=13, post_alloc=False)
----> 7 clx.fit(X)
      8
      9 X

~/miniconda3/envs/ltf-analysis/lib/python3.8/site-packages/classix/clustering.py in fit(self, data)
    506             self.labels_ = copy.deepcopy(self.groups_)
    507         else:
--> 508             self.labels_ = self.clustering(
    509                 data=self.data,
    510                 agg_labels=self.groups_,

~/miniconda3/envs/ltf-analysis/lib/python3.8/site-packages/classix/clustering.py in clustering(self, data, agg_labels, splist, sorting, radius, method, minPts)
    724             # self.merge_groups = merge_pairs(self.connected_pairs_)
    725
--> 726         self.merge_groups, self.connected_pairs_ = self.fast_agglomerate(data, splist, radius, method, scale=self.scale)
    727         maxid = max(labels) + 1
    728

~/miniconda3/envs/ltf-analysis/lib/python3.8/site-packages/classix/merging.py in fast_agglomerate(data, splist, radius, method, scale)
    115             # den1 = splist[int(i), 2] / volume # density(splist[int(i), 2], volume = volume)
    116             for j in select_stps.astype(int):
--> 117                 sp2 = data[splist[j, 0]] # splist[int(j), 3:]
    118
    119                 c2 = np.linalg.norm(data-sp2, ord=2, axis=-1) <= radius

IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

python==3.8.12
classixclustering==0.6.5
numpy==1.22.0
scipy==1.7.3

I'll give it a spin and report back! Thanks for the prompt action!!

This seems to be working now. It do say that it isn't using Cython but was quick enough anyway for what I was doing.
Many thanks!

repo: nla-group/classix


text:
Linux

This is compatible with Linux ETS2?

The current revisions are DLLs and only run on Windows.
I am unaware of any support for SDK plugins in ETS2 for Linux neither. All SDK examples are for Windows, and they also use Windows-specific includes in their code.
I don't run Linux as a gaming OS at this moment, so I haven't got ETS2 installed to try this out.
If you do have any related links to the ETS2 SDK and Linux, please let me know.


text:
Multiple versions causing conflict

Description
I'm using a 3rd party library that uses nlohmann/json under the hood.  I am also using it in my code.
I have found that unless these two versions are exactly the same, there are side effects that cause the code not to function in the 3rd party library.  (The failure happens with 3.9.2 in the 3rd party library and 3.10.5 in mine.) The exact failure I can't pinpoint, because it happens deep in code I'm not famililar with, but it causes no build-time error or crash, but DOES cause incorrect behavior that appears to be null JSON objects.
Keeping my version matched to the library gives me temporary respite, but is a pain to maintain, and becomes unsolvable if it happpens with yet another library.
The problem is clearly a collision in object code resolution.  Could we have it customizable to change from nlohmann to MYNAMESPACE::nlhomann?  Wrapping the header file in a namespace doesn't work for a variety of reasons.  I CAN do a very cheap hack by doing
#define nlhomann my_nlhomann
but I suspect that might not be very sustainable.
Or perhaps there is another solution that I haven't found online?
Reproduction steps
The 3rd party library in question is depthai-core, in a dependency.
Expected vs. actual results
The exact throw is "cannot use at() with null", but this is due to a previous problem.
Minimal code example
No response
Error messages
No response
Compiler and operating system
Linux gcc
Library version
3.9.2, 3.10.5
Validation

[ ] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

What about a versioned inline namespace? (@nlohmann)

I might try it later, but it'll need some support from your release scripts to bump the namespace version.

But I agree; if the header file used
  namespace nlohmann_3_10_5 {...}
  namespace nlohmann = nlohman_3_10_5;

then that would easily solve the problem forevermore.

That's not quite what I'm suggesting.
namespace nlohmann {
inline namespace v3_10_5 {
// ...
}
}

Nothing changes for end users unless there's an ambiguity because both headers are included in one translation unit.
See https://en.cppreference.com/w/cpp/language/namespace#Inline_namespaces for an explanation.

Are you having this issue because two different versions of the library headers are being included in the same file (translation unit) or because two different files (translation units) with different versions are linked together?  The former is now prevented by https://github.com/nlohmann/json/pull/3418 in the develop branch.

Are you having this issue because two different versions of the library headers are being included in the same file (translation unit) or because two different files (translation units) with different versions are linked together? The former is now prevented by #3418 in the develop branch.

Based on the proposed workaround, I'm assuming this is about linking different versions together. An inline namespace would result in different symbol names. JSON_DIAGNOSTICS would still pose a problem, but could be solved with an inline namespace as well, as mentioned during one of the last ABI-related discussions.

FYI, we'll soon check whether incompatible versions are used together, see https://json.nlohmann.me/api/macros/json_skip_library_version_check/#runtime-assertions. That is, 3.11.0 will detect when it is used by earlier versions.

@nlohmann That only helps with including two different versions of the header in the same file.  It doesn't help with ODR violations that occur at link time when you use different versions in different files.  There are things that can help with that too, but we're not doing any of them yet.
https://docs.microsoft.com/en-us/cpp/preprocessor/detect-mismatch?view=msvc-170
This can also be used to detect one file built with diagnostics, and one without.  It will only help going forward as it can only detect when the pragmas exist and are different between files.  It won't prevent previous versions being used together or with the new version.

@gregmarr The problem is specifically two object files that use diffent versions of the header-only json, so that the wrong code gets executed leading to bad data.  The inlined versioning looks like it would work, and is much more elegant than my brute force #define

authors: falbrechtskirchinger gregmarr nathanieltagg nlohmann

repo: nlohmann/json


text:
fix doxygen error of basic_json::get()

@ref command do not  seems to work in markdown code span. so i change
`void from_json(const  @ref basic_json&, ValueType&)`

into
`void from_json(const ` @ref basic_json`&, ValueType&)`

are there better solution for this problem?

The mentioned functions are not meant to be linked in the first place, because they are most likely in the client's code - it can be any from_json function based on ValueType. I'm not sure whether fixing this so that basic_json can be clicked brings too much value here.

Coverage remained the same at 99.722% when pulling dfa371c436fa14926544eb11f3207d0439cd2c43 on zhaohuaxishi:doxygen_error into 9b764ee5d671b41255d390ab9089f12036b2d38a on nlohmann:develop.

is that means the @ref command should just be removed then.

Coverage remained the same at 99.722% when pulling b8dff3bc1674acb6a30cd733ecae545b93b1baeb on zhaohuaxishi:doxygen_error into 723c87560459eaacb3e3b3f0d4666bd2d02be317 on nlohmann:develop.

Coverage remained the same at 99.722% when pulling b8dff3bc1674acb6a30cd733ecae545b93b1baeb on zhaohuaxishi:doxygen_error into 723c87560459eaacb3e3b3f0d4666bd2d02be317 on nlohmann:develop.

authors: coveralls nlohmann zhaohuaxishi


text:
how to understand use_bert_emb?

I change the bert model to Albert model.
But when use_bert_emb is set to true, the model reports an error: RuntimeError: The size of tensor a (128) must match the size of tensor b (768) at non-singleton dimension 2.
if use_bert_emb is set to false, the model works normally.
How can I solve this problem?

I have the same problem with you. Have you solved it?

Sorry, the problem has not been solved for the time being.
| |
Shuai Zhao
|
|
邮箱：17839192463@163.com
|
Signature is customized by Netease Mail Master
On 08/21/2020 15:16, GuanNiPiShi123 wrote:
I have the same problem with you. Have you solved it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

repo: nlpyang/PreSumm


text:
Is generate() coming back?

Would really love to see this function back again. The book says it will be reinstated in a later version, but when?

+1 , given the recent RNN generation from @karpathy (https://github.com/karpathy/char-rnn), it might be very easy to create a generate algorithm but support of any NN implementation is all very unstable API changes almost every 2-3 weeks =(

Is there a reason why this function was removed? Just curious.

authors: JonathanReeve alvations

repo: nltk/nltk


text:
#2404 Modal open calls should complete in order

This is a second PR attempt for issue #2404.  (PR #2443 has rebase issues and will be closed.)

Oops...PR'd to the fork instead of upstream.

repo: nlwillia/bootstrap


text:
Stage 6 updates

This is based on #3, so that should get merged first.
This does the bare minimum to allow the user to go to Stage 6. Guidelines with mc or fr questions will not appear, so if you try to navigate past the first guideline, you will be stuck.
I did not attempt to set up any gates, but I can work on that once the new mc & fr methods are set up.
I did not attempt to wire up the layer toggle or hubble viewer. @johnarban or @Carifio24, perhaps one of you could work on that once you're finished with the other content you are updating. Thanks!

Opened new PR at https://github.com/cosmicds/hubbleds/pull/436 to merge this to cosmicds main, so closing this.

Reopening this and closing https://github.com/cosmicds/hubbleds/pull/436

repo: nmearl/hubbleds


text:
Benefit of GRAAL VM integration

Theoretical, mostly.
Current situation with GRAAL, native-image does not run properly.
Rhino is an order of magnitude faster than Graal's JS implementation.
https://github.com/oracle/graaljs/issues/836

It is also evident that graal is slow, at least by 12% for our use case.

More update: https://github.com/mozilla/rhino/issues/1555

repo: nmondal/cowj