text:
Properly support ottavas

This commit adds support for properly transposing pitches affected by an <octave> element that has a @plist attribute.  Support for @startid/@endid/@tstamp/@tstamp2 can be added later with the help of additional <key>s, but with those attributes it's harder to find out what pitches are affected by the <octave>.

I'm still not convinced. The @plist makes sense if you have multiple layers in one staff and only one is affected by the ottava sign. But for the visual appearence of the ottava line @startid  and @endid should be used.

I changed the template so now it doesn't have to use \ottava. This should simplify all and is more "MEI-like". Plz try, if it works for you.
As I produced a conflict though, I'll close this PR for now.
(We should rethink this whole <octave> business at Tours.)

authors: rettinghaus th-we

repo: rettinghaus/MEILER


text:
relation to JWS?

Can the resulting JWT object be signed and used as a JWS?

Yes, this module should be implementing a correct JWS. The tests are based on the jwt.io examples, so it's at least interoperable there.
It does not implement JWE at this time.

source: gharchive/issue

authors: retupmoca tbrowder

license: mit

license_type: permissive

license_source: bigquery


text:
Need dependencies list

Can't get it to compile, don't know what I need to install to get int32_t to be defined, etc...

int32_t should be a standard posix thing. I'm hoping the recent autoconfig changes I made will make compilation easier.

authors: MaskedRetriever revarbat

repo: revarbat/Mandoline


text:
Dotnet: Update Apps

Need to implement ability to update apps in the dotnet rewrite
Legacy Node code

    async updateApps(req, res)
    {
        console.log('Updating Applications');
        const dir = __dirname + '/../temp';
        if(fs.existsSync(dir) == false){
            console.log('Creating temporary directory');
            fs.mkdirSync(dir, {recursive: true});
        }

        let appsUrl = 'https://github.com/revenz/Fenrus/raw/master/apps.zip?t=' + new Date().getTime();
        let zipfile =  dir + '/' + new Utils().newGuid();
        try
        {
            let appHelper = AppHelper.getInstance();
            if(!appHelper.count())
                appHelper.load();
            let previous = appHelper.count() || 0;
            console.log('Previous application count: ' + previous);

            await HttpHelper.download(appsUrl, zipfile);

            const zip = new StreamZip.async({ file: zipfile});
            const count = await zip.extract(null, './apps');
            console.log(`Extracted ${count} entries`);
            await zip.close();

            console.log('Successfully updated applications');
            appHelper.load();
            let updated = appHelper.count() || 0;
            console.log('Updated application list in memory');
            res.status(200).send(`Updated ${count} applications.\n\n${updated - previous} new app${updated - previous == 1 ? '' : 's'}`).end();
        }
        catch(err)
        {
            console.log('Failed to update applications: ' + err);
            res.status(500).send('' + err).end();
        }
    }

done

repo: revenz/Fenrus

license: MIT

license_source: github-api


text:
Home: Reorder Groups

As a user, I would like to re-order my home page from that home screen without needing to go into settings.

done


text:
Error while running reviewdog with rdjson and github-check reporter

Hi!
Try to use it with PRO version of betterscan.io (Scanner for many languages and Cloud - IaC)
Tried this:
cat betterscan-report.json| jq -f to-rdjson.jq | $HOME/bin/reviewdog -f=rdjson -reporter=github-check

But results in this:
reviewdog: post failed for rdjson: status=400: failed to create gh transport: GET https://api.github.com/users/topcodersonline/installation: 404 Not Found []

Any idea what I am doing wrong?
P.S I am the creator behind betterscan.io

Duplicate

repo: reviewdog/reviewdog


text:
Option to make checkboxes enabled

Currently the parser renders checkboxes with disabled attribute by default. We want to make them clickable so people can interact with them.
It would be great if you could add an option for this so we can enable users to do that.
P.S. Thanks for this repo as markdown-it-checkbox doesn't confront to the GFM standard.

Hi @astoilkov! I disabled them at render time because that's how GitHub does it; I guess I expected people who needed them enabled to just do it at runtime in JavaScript. But it's a simple enough option, so I added it in 8ebf24d, and I just published v1.3.0 with it. Let me know if it doesn't work for you.

Wow...that was fast and incredibly useful. Thanks!

authors: astoilkov revin

repo: revin/markdown-it-task-lists

license: isc


text:
How to make AnalyticsProvider.setAccount dynamic

Hi,
How can i make AnalyticsProvider.setAccount dynamic. Means getting Tracking Id from database and assigned to AnalyticsProvider.setAccount. In Angular config I cannot use $rootScope and in run I have $rootscope which has tracking id. Any idea how can i do that?
Thanks

This is outside the scope of this module, but what you might want to consider is pre-loading data as part of your index page. Your index page would be server generated as you would need to generate a

Closing this issue as it is not actionable for angular-google-analytics.

authors: justinsa sukhiimangat

repo: revolunet/angular-google-analytics


text:
Loading Screens

loading screens in scene manager where needed.

done

repo: reworks-org/galaxy


text:
Search in project units not working

No result when searching for an identifier defined in a .pas in the project. Attached screenshot below.

Strange, I can repeat the same problem here.
Some special condition ? Some error on log ?

I'll get back to you next week.

Try the master branch

@rfrezino Sorry, but I'm extremely busy and I'll try to get back to you soon.

@rfrezino  I decided to give a try at the end, there is no more "loading...' message - it shows "Ready" now. But I still couldn't find a class defined in my project... I'm not sure I'm doing anything wrong...

Fixed!

authors: edwinyzh rfrezino

repo: rfrezino/RFindUnit


text:
ERROR: Signature extraction failed

youtube-dl --verbose "https://www.youtube.com/watch?v=9R30petM1k0"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=9R30petM1k0']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 3.6.0 - Linux-4.9.6-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 9R30petM1k0: Downloading webpage
[youtube] 9R30petM1k0: Downloading video info webpage
[youtube] 9R30petM1k0: Extracting video information
[youtube] {22} signature length 42.41, html5 player en_US-vflp0EuAP
[youtube] 9R30petM1k0: Downloading player /yts/jsbin/player-en_US-vflp0EuAP/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen
req = sanitized_Request(req)
File "/usr/lib/python3.6/site-packages/youtube_dl/utils.py", line 525, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "/usr/lib/python3.6/urllib/request.py", line 329, in init
self.full_url = url
File "/usr/lib/python3.6/urllib/request.py", line 355, in full_url
self._parse()
File "/usr/lib/python3.6/urllib/request.py", line 384, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'
(caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen
req = sanitized_Request(req)
File "/usr/lib/python3.6/site-packages/youtube_dl/utils.py", line 525, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "/usr/lib/python3.6/urllib/request.py", line 329, in init
self.full_url = url
File "/usr/lib/python3.6/urllib/request.py", line 355, in full_url
self._parse()
File "/usr/lib/python3.6/urllib/request.py", line 384, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen
req = sanitized_Request(req)
File "/usr/lib/python3.6/site-packages/youtube_dl/utils.py", line 525, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "/usr/lib/python3.6/urllib/request.py", line 329, in init
self.full_url = url
File "/usr/lib/python3.6/urllib/request.py", line 355, in full_url
self._parse()
File "/usr/lib/python3.6/urllib/request.py", line 384, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 369, in extract
return self._real_extract(url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1646, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen
req = sanitized_Request(req)
File "/usr/lib/python3.6/site-packages/youtube_dl/utils.py", line 525, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "/usr/lib/python3.6/urllib/request.py", line 329, in init
self.full_url = url
File "/usr/lib/python3.6/urllib/request.py", line 355, in full_url
self._parse()
File "/usr/lib/python3.6/urllib/request.py", line 384, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'
(caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflp0EuAP/base.js'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

Thanks, I am using Arch's pacman, and updated to youtube-dl-2017.01.29-1
just prior to running the program. Probably the package is for a earlier
version.
On Wed, Feb 1, 2017 at 2:31 PM, Sergey M. notifications@github.com wrote:

Closed #11930 https://github.com/rg3/youtube-dl/issues/11930.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/11930#event-944665036, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARsBz5acJaCRyn5f8BjW2gK7dQLchk1Lks5rYHsegaJpZM4Lzzwk
.

--
best regards
Plamen Vassilev

authors: dstftw pvasilev

license: Unlicense


text:
unable to download video data: <urlopen error [Errno 8] nodename nor servname provided, or not known>

$ youtube-dl -t http://www.youtube.com/watch?v=Yr14Io0wsiU
[youtube] Setting language
[youtube] Yr14Io0wsiU: Downloading webpage
[youtube] Yr14Io0wsiU: Downloading video info webpage
[youtube] Yr14Io0wsiU: Extracting video information
ERROR: unable to download video data: urlopen error [Errno 8] nodename nor servname provided, or not known
This is with 2014.06.26, on OSX 10.9.2
Please tell me how can I provide more information to help troubleshoot this problem.
Thanks a lot.

This also shows up if you force IPv6 but IPv6 is not routable, disabled, what ever.


text:
Can't download last available Rick and Morty episode

I can't download the latest available Rick and Morty season 2 episode (currently http://www.adultswim.com/videos/rick-and-morty/the-ricks-must-be-crazy/ , but will possibly change before you see this issue).

t@h ~/youtube-dl> ./youtube-dl -v http://www.adultswim.com/videos/rick-and-morty/the-ricks-must-be-crazy/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.adultswim.com/videos/rick-and-morty/the-ricks-must-be-crazy/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.28
[debug] Python version 3.4.3 - Linux-4.1.6-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.8, ffprobe 2.8, rtmpdump 2.4
[debug] Proxy map: {}
[AdultSwim] the-ricks-must-be-crazy: Downloading webpage
[download] Downloading playlist: Rick and Morty - The Ricks Must Be Crazy
[AdultSwim] playlist Rick and Morty - The Ricks Must Be Crazy: Collected 0 video ids (downloading 0 of them)

It is only the latest unresticted (no key to the right of episode) video which fails. This other videos download fine, for example:

t@h ~/youtube-dl> ./youtube-dl -v http://www.adultswim.com/videos/rick-and-morty/get-schwifty/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.adultswim.com/videos/rick-and-morty/get-schwifty/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.28
[debug] Python version 3.4.3 - Linux-4.1.6-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.8, ffprobe 2.8, rtmpdump 2.4
[debug] Proxy map: {}
[AdultSwim] get-schwifty: Downloading webpage
[AdultSwim] Rick and Morty - Get Schwifty Part 1: Downloading segment information
[AdultSwim] Rick and Morty - Get Schwifty Part 2: Downloading segment information
[AdultSwim] Rick and Morty - Get Schwifty Part 3: Downloading segment information
[AdultSwim] Rick and Morty - Get Schwifty Part 4: Downloading segment information
[download] Downloading playlist: Rick and Morty - Get Schwifty
[AdultSwim] playlist Rick and Morty - Get Schwifty: Collected 4 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[...]

That works, thanks!


text:
got error when trying to download facebook video

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.facebook.com/AjaySathyanSinger/videos/393289610861209/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.18
[debug] Python version 2.7.9 - Linux-4.0.0-os--name--
[debug] exe versions: ffmpeg N-75185-gf58e011, ffprobe N-75185-gf58e011, rtmpdump 2.4
[debug] Proxy map: {}
[facebook] 393289610861209: Downloading webpage
ERROR: An extractor error has occured. (caused by KeyError(0,)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 291, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 145, in _real_extract
video_data = params['video_data'][0]
KeyError: 0
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 297, in extract
raise ExtractorError('An extractor error has occured.', cause=e)
ExtractorError: An extractor error has occured. (caused by KeyError(0,)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This issue is already fixed and will be available in the next version of youtube-dl.

authors: SpEcHiDe dstftw


text:
Adding subtitles

Persuant to issue 5046, pulls in subtitles for The Daily Show extractor.

Merged, thanks!

source: gharchive/pull-request

authors: jaimeMF pishposhmcgee


text:
🛑 Sito Web is down

In 2b46b41, Sito Web (https://www.comune.preganziol.tv.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sito Web is back up in 2a9cf99 after 5 minutes.

repo: rglauco/upptime


text:
🛑 Sito Web is down

In d8fc482, Sito Web (https://www.comune.preganziol.tv.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sito Web is back up in db4d674 after 6 minutes.


text:
Add dependency: jsx - A streaming, evented JSON parsing toolkit. And use it.

Adding dependency: jsx: A streaming, evented JSON parsing toolkit.
Calling jsx:encode/1 and passing params inside a map to produce automatic real JSON in the response instead of literally coded before that.
Bumping version number to 0.1.5.

She looks regularized ! :+1: — Approved. :blue_heart:


text:
🛑 play.tonk.link is down

In acea222, play.tonk.link (https://play.tonk.link) was down:

HTTP code: 503
Response time: 463 ms

Resolved: play.tonk.link is back up in 5af7b7b after 10 minutes.

repo: rgstephens/upptime


text:
Add mresvanis to OWNERS

Signed-off-by: Michail Resvanis mresvani@redhat.com

/lgtm
/assign @enriquebelarte

/hold

/lgtm

/unhold
/approve

authors: mresvanis qbarrand ybettan


text:
Registered enum types can't be used with assert_eq in Rhai

I registered an enum as described here: https://rhai.rs/book/patterns/enums.html
It works as described, I can use the enum (and pass it as an argument), so it seems the type is registered:
assert!(MyEnum::Foo == MyEnum::Foo)
however I cannot check for equality using assert_eq!:
assert_eq!(MyEnum::Foo, MyEnum::Foo);
ERROR: Runtime error: unknown types in assertion: left was example::MyEnum, right was example::MyEnum (line 22, position 9)

Well, you know that but Rhai doesn't. Unless you define the == operator for that enum type, Rhai can only assume that one opaque object is not the same as another...

I did that in the macro:
#[rhai_fn(global, name = "==", pure)]
pub fn eq(my_enum: &mut $typ, my_enum2: $typ) -> bool {
    my_enum == &my_enum2
}

#[rhai_fn(global, name = "!=", pure)]
pub fn neq(my_enum: &mut $typ, my_enum2: $typ) -> bool {
    my_enum != &my_enum2
}

I also tried defining the comparison operators directly on the enum type itself but I had the same error. Although the == comparison works when they are defined, using within assert_eq fails.

May I ask whether you derived Clone for your type?

Can you post your exact aasert_eq call?

My bad - I had forgotten that I had defined the assert_eq call myself, I had thought this was within rhai. I patched the assert_eq call to handle this extra type and now it works as expected. Thank you for the quick response. 🙏🏻

authors: Hodkinson schungx

repo: rhaiscript/rhai


text:
🛑 CMS is down

In 0235942, CMS ($CMS_HOST/api/singletons/get/ping?token=$CMS_API_TOKEN) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CMS is back up in 6db75fc after 3 hours, 30 minutes.

repo: rheinklang/upptime


text:
🛑 BOS2 is down

In c24a56e, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 47940b6 after 34 minutes.

repo: rholak/upptime


text:
Jolokia2 weblogic.conf - Weblogic Specific Metrics not working

I started the Jolokia JVM Agent successfully and dynaically attached it to the weblogic sever process as follows:
java -jar jolokia-jvm-1.7.1.jar --host x.x.x.x 7876

I added the below conf file in my tellegraf
`[[inputs.jolokia2_agent]]
urls = ["http://x.x.x.x:8778/jolokia/"]
name_prefix = "weblogic."
name_override="custom_jolokia_weblogic_xxxx"

[inputs.jolokia2_agent.tags]
monitor = "JMX"
level1 = "NONPROD"
JVM Generic Metrics
[[inputs.jolokia2_agent.metric]]
name  = "OperatingSystem"
mbean = "java.lang:type=OperatingSystem"
paths = ["ProcessCpuLoad","SystemLoadAverage","SystemCpuLoad"]
[[inputs.jolokia2_agent.metric]]
name  = "jvm_runtime"
mbean = "java.lang:type=Runtime"
paths = ["Uptime"]
[[inputs.jolokia2_agent.metric]]
name  = "jvm_memory"
mbean = "java.lang:type=Memory"
paths = ["HeapMemoryUsage", "NonHeapMemoryUsage", "ObjectPendingFinalizationCount"]
WLS Metrics
[[inputs.jolokia2_agent.metric]]
name = "JTARuntime"
mbean = "com.bea:Name=JTARuntime,ServerRuntime=*,Type=JTARuntime"
paths =["SecondsActiveTotalCount","TransactionRolledBackTotalCount","TransactionRolledBackSystemTotalCount","TransactionRolledBackAppTotalCount","TransactionRolledBackResourceTotalCount","TransactionHeuristicsTotalCount","TransactionAbandonedTotalCount","TransactionTotalCount","TransactionRolledBackTimeoutTotalCount","ActiveTransactionsTotalCount","TransactionCommittedTotalCount"]
tag_keys   = ["ServerRuntime"]
tag_prefix = "wls_"`
However now when I test the conf, I am not getting the weblogic specific metrics. I am only getting the others. Output of the test is below:
`2022-01-01T18:13:51Z I! Starting Telegraf 1.20.0
2022-01-01T18:13:51Z D! [agent] Initializing plugins
2022-01-01T18:13:51Z D! [agent] Starting service inputs
2022-01-01T18:13:51Z D! [agent] Stopping service inputs
2022-01-01T18:13:51Z D! [agent] Input channel closed
2022-01-01T18:13:51Z D! [agent] Processor channel closed
2022-01-01T18:13:51Z D! [agent] Processor channel closed
2022-01-01T18:13:51Z D! [agent] Stopped Successfully
weblogic.custom_jolokia_weblogic_xxxx,jolokia_agent_url=http://x.x.x.x:8778/jolokia/,level1=NONPROD,monitor=JMX ProcessCpuLoad=0.0013271863649063984,SystemCpuLoad=0.09316221948462643,SystemLoadAverage=0.78 1641060832000000000
weblogic.custom_jolokia_weblogic_xxxx,jolokia_agent_url=http://x.x.x.x:8778/jolokia/,level1=NONPROD,monitor=JMX Uptime=242102807 1641060832000000000
weblogic.custom_jolokia_weblogic_xxxx,jolokia_agent_url=http://x.x.x.x:8778/jolokia/,level1=NONPROD,monitor=JMX HeapMemoryUsage.committed=953155584,HeapMemoryUsage.init=536870912,HeapMemoryUsage.max=1908932608,HeapMemoryUsage.used=597336808,NonHeapMemoryUsage.committed=441737216,NonHeapMemoryUsage.init=2555904,NonHeapMemoryUsage.max=-1,NonHeapMemoryUsage.used=432062952,ObjectPendingFinalizationCount=0 1641060832000000000`
Below is my system info:
Telegraf 1.20 Weblogic 12.2.1 Jolokia 1.7.1 Red Hat Linux Enterprise 7.9

Sorry, this really sounds like a telegraf question. I don't know how telegraf queries Jolokia (looks like that you are using a custom input inputs.jolokia2_agent.metric that I don't know. A general advise for troubleshooting is to find out with which HTTP requests Telegraph hits your agent and then try it manually yourself to find out any error messages.

Sorry, this really sounds like a telegraf question. I don't know how telegraf queries Jolokia (looks like that you are using a custom input inputs.jolokia2_agent.metric that I don't know. A general advise for troubleshooting is to find out with which HTTP requests Telegraph hits your agent and then try it manually yourself to find out any error messages.

@rhuss thanks for your time and reply. I managed to make it work. Will close it.

authors: rhuss utsukprani

repo: rhuss/jolokia


text:
d/pull doesn't return falsey value

(let [db (dx/create-dx {} [{:id       1
:name   "Java"
:immutable? false}])]
(dx/pull db [:id :name :immutable?] [:id 1]))
if you change immutable to true in db, it is returned
only in noindex branch. was returned by master pull

if-let was used instead of if-some, fixed

confirm fixed via hotplate tests

authors: ribelo stevebuik

repo: ribelo/doxa


text:
Upgrade Eddie documentation, 2022 edition

This issue ticket to collect thoughts/problems/comments on the Eddie documentation as we get started in 2022 MSc project.

[ ] Reorganize the documentation between initial setup on Eddie and every-time on Eddie.
[ ] Add line that qlogin -l h_vmem=8Gruns the vignette but qlogin -l h_vmem=4G does not.

Maybe because I am a beginner but when I read this I assumed this was the paths in the job submission file that needed changing not the paths in the YAML itself. Also I think the below needs reiterating in the submit a job script:
Please also note the paths in the YAML configuration file we will be using from the example-datasets directory are just a reference. You should check and edit the paths according to your directory structure.
We have created a new branch docs-hackathon-460 and a pull request named #463

Would be great to add a comment about how to login to a specific node e.g. “-q *@node1h21” as this means you can hopefully avoid node-specific problems

Say something about Java VM memory settings for nextflow. Because tryign to use nextflow from a login node tends to lead to an out-of-memory error:
$ nextflow log
Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes
NOTE: Nextflow is trying to use the Java VM defined by the following environment variables:
 JAVA_CMD: /exports/csce/eddie/biology/groups/wallace_rna/anaconda/envs/riboviz/bin/java
 NXF_OPTS:

This could probably be solved by setting some kind of configuration flag for the Java VM to ask for less memory.
@FlicAnderson - do you happen to know how to do this?

Say something about Java VM memory settings for nextflow. Because tryign to use nextflow from a login node tends to lead to an out-of-memory error:
$ nextflow log
Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes
NOTE: Nextflow is trying to use the Java VM defined by the following environment variables:
 JAVA_CMD: /exports/csce/eddie/biology/groups/wallace_rna/anaconda/envs/riboviz/bin/java
 NXF_OPTS:

This could probably be solved by setting some kind of configuration flag for the Java VM to ask for less memory.
@FlicAnderson - do you happen to know how to do this?

@ewallace This error has cropped up before, and we've got a related open issue: #375 - "Investigate Java and Nextflow on EDDIE Could not allocate metaspace issue".
Mike's comment here shows him using -Xmx to set maximum Java heap size, and XX:CompressedClassSpaceSize also? Perhaps worth playing around with these options?
Personally I haven't attempted these, so I think it's worth trying and documenting?

Eddie documentation on how to submit a job is not entirely clear, particularly on how to specify the resources in terms of memory etc. we want to give the job. I would suggest re-wording this.

Change the SRA toolkit configuration, initial set-up. Actual documentation indicates CACHE > Set Default Import Path, but the current version of the configuration options of SRA now state: CACHE > Set location of user-repository.

Eddie documentation on how to submit a job is not entirely clear, particularly on how to specify the resources in terms of memory etc. we want to give the job. I would suggest re-wording this.

It would be great to know what wording would be most helpful? What would you recommend changing it to? @Maberuiz & @B209678-2021?

authors: B209678-2021 FlicAnderson Maberuiz asnewell ewallace

repo: riboviz/riboviz


text:
add Tracing with context extracted from kafka message

When trying to implement the tracing using kafka headers as a medium, I figured that I could not build the context from the decode function.
The problem is the decode function does not return a context.
Also, the decode function is the only one that has access to the kafka headers.
I could have changed the signature of the decodeFunc interface, but I know we designed it this way to match go-kit library and I would rather not break any middleware we have built so far.
In this PR, I added a new option on the listener to handle tracing.
You can use any implementation that matches the TracingFunc interface, but it comes with a default implementation that might be totally enough for most use cases.
Even if we are using go-tracing here as a helper to extract the tracing headers, we are only using opentracing features. So this should be pretty robust to any actual tracing implementation that you want to use.

Pull Request Test Coverage Report for Build 118

18 of 42 (42.86%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-4.6%) to 77.976%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

listener.go
18
23
78.26%

options.go
0
19
0.0%

Files with Coverage Reduction
New Missed Lines
%

listener.go
1
70.5%

Totals

Change from base Build 106:
-4.6%

Covered Lines:
262

Relevant Lines:
336

💛  - Coveralls

authors: FrancoisPoinsot coveralls

repo: ricardo-ch/go-kafka


text:
The search box refreshes when typing, making it impossible to work properly

Describe the bug
Search input box and filter, refresh the page every time a word is entered. This interaction makes it difficult to use the search function properly
Environments (please complete the following information):

OS: macOS
Browser  edge
Version  0.6.12

@Avey777 Pls provide more informations.
I can not reproduce it by using v0.6.12 with official demo dataset.

https://github.com/riccox/meilisearch-ui/assets/35259040/3de7cacf-65e6-431d-95fb-105b6d1e44f7
The network is a little slower, this loading effect. It makes people feel very uncomfortable, mainly because the interaction here is inappropriate.

@Avey777 Pls provide more informations. I can not reproduce it by using v0.6.12 with official demo dataset.

Can this be optimized?

@Avey777 Are you using online version to reproduce this？
I can't reproduce same problem with that.

@Avey777 Are you using online version to reproduce this？ I can't reproduce same problem with that.

You can try slowing down your Internet connection. I am using the Edge browser.
https://meilisearch-ui-git-main-avey777.vercel.app/

I think it would be better to just turn off search while typing and search again when clicking the Search button

@Avey777 Thx!
Reproduced this bug in slow internet connection mode already.

repo: riccox/meilisearch-ui


text:
Example: Updating a record

I need to be able to update records after they are being advertised, but cannot figure out how. This seems like it would be a fairly common requirement, so an example would go a long ways.

Updating MDNS is NOT fairly common.  Could you explain what you want to update?

I could do it one of two ways:

Stop the current service and restarted a new one (we would need the Goodbye message on cleanup)
Update the service "instance name" and CNAME record name

Unrelated, but for what it's worth, this library is a pleasure to work with. Additionally, it's the best MDNS library I have used across half a dozen different programming languages.

Stopping a service is discussed in issue #47;  @cerna any progress on the issue?
All the resource records for a service are in ServiceDiscovery.NameServer.Catalog.  See https://richardschneider.github.io/net-dns/articles/rr.html for supported resource records.

@Visic its been 3+ weeks since you last comment.  This issue will be closed next week unless I hear from you.

@richardschneider I am still interested in this functionality, I haven't had time to dig into making the changes myself, but as soon as it is ready I will be using it in production.

authors: Visic richardschneider

repo: richardschneider/net-mdns


text:
Test report is wrong when fork in Test := true

Following test unexpectedly succeeds when fork in Test := true.
import org.scalacheck.Properties
object Spec1 extends Properties("Spec1") {
  property("prop 1") = false
  property("prop 2") = true
}

[info] ! Spec1.prop 1: Falsified after 0 passed tests.
[info] + Spec1.prop 2: OK, proved property.
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[success] Total time: 4 s, completed Jul 21, 2015 10:45:18 PM

I confirmed this issue was introduced by 82042613eebbde3c822328cbfab3c4186828f1f1 using git bisect.
Tested by sbt 0.13.8 and scalacheck 1.12.4.

+1

Weird. Will look into this after my vacation.

The number of total tasks is wrong when fork in Test := true
import org.scalacheck.Properties

object Spec1 extends Properties("Spec1") {
  property("prop 1") = false
  property("prop 2") = true
}

[info] + Spec1.prop 1: OK, proved property.
[info] + Spec1.prop 2: OK, proved property.
[info] ScalaCheck
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] ScalaTest
[info] Run completed in 351 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
[success] Total time: 1 s, completed Jan 18, 2016 4:18:28 PM

There are two properties checked, but sbt prints Total 1. Without fork, it gives
[info] Passed: Total 2, Failed 0, Errors 0, Passed 2

I also observe this with version 1.12.5

People interested in this bug might want to see if sbt 0.13.13-RC1 fixes it for them: https://github.com/sbt/sbt/pull/2730

this bug is still there for me in sbt 0.13.13

This sounds a lot like https://github.com/lihaoyi/utest/issues/25 caused by https://github.com/sbt/sbt/issues/3510 (uTest's workaround is linked from the utest issue)

We ran into this in the Scala build as well and I disabled forking. Turns out that took us out of the frying pan and into the fire, as we now get the wrong version of scala-library on the Scalacheck classpath.
So its time to fix this bug :)
When forking tests, the SBT process setup up a server that listens on a stream for events sent by the forked JVM.
This code in the server:
  @annotation.tailrec def react(): Unit = is.readObject match {
    case `Done` =>
      os.writeObject(Done); os.flush()
    case Array(`Error`, s: String) =>
      log.error(s); react()
    case Array(`Warn`, s: String) =>
      log.warn(s); react()
    case Array(`Info`, s: String) =>
      log.info(s); react()
    case Array(`Debug`, s: String) =>
      log.debug(s); react()
    case t: Throwable =>
      log.trace(t); react()
    case Array(group: String, tEvents: Array[Event]) =>
      listeners.foreach(_ startGroup group)
      val event = TestEvent(tEvents)
      listeners.foreach(_ testEvent event)
      val suiteResult = SuiteResult(tEvents)
      results += group -> suiteResult
      listeners.foreach(_ endGroup (group, suiteResult.result))
      react()
  }

Assumes that all events for a given group will be sent in a single batch (results is a Map, not a MultiMap)
The Scalacheck Framework seems to violate this assumption by creating a different Task for each property. This calls handleEvent, which is implemented by the SBT framework to batch up events from the task and send them up to the server after task completion.
The test interface isn't documented, AFAICT, so this sort of misunderstanding isn't surprising.
I'm going to try to modify Scalacheck to use coarser grained tasks. I might also try to patch SBT to use a multi-map to just deal with the way events are coming.

authors: Philippus dwijnand gok01172 k0ala lihaoyi retronym rickynils tkawachi xuwei-k

repo: rickynils/scalacheck


text:
Cannot dynamically update table contents

Cannot dynamically update table contents
ExpandableTableCell _buildCell(String content, {CellBuilder? builder}) {
    return ExpandableTableCell(
      child: builder != null
          ? null
          : GestureDetector(
              onTap: () {
                print('Cell $content tapped');
                // update cell content
                setState(() {
                  data['rows'][0]['columns'][0]['value'] = 'Updated';
                });
              },
              child: DefaultCellCard(
                child: Center(
                  child: Text(
                    content,
                    style: textStyle,
                  ),
                ),
              ),
            ),
      builder: builder,
    );
  }

How can you update it

Duplicate of #15

authors: laterdayi rickypid wajipu


text:
Link PyPI page in the README

I had to search for this to find it: https://pypi.python.org/pypi/pynYNAB
Would be nice if you included:

Installation
pip install pynYNAB

in the README.

I just added it. Yeah, it's kind of inconvenient because the pypi repo and the github repo have different names. The right one would be pynynab but I can't change the github name anymore AFAIK

@rienafairefr you can change the github name. It will automatically redirect to the new repo :)

It personally doesn't really bother me if the GitHub repo and the package name are different; so long as I can navigate from one to the other, it's all good :)

Thanks Scott, name's been changed :-)

authors: hfaran rienafairefr scottrobertson

repo: rienafairefr/nYNABapi


text:
TINYINT issue with MariaDB/MySQL

I haven't had much time to look into it, but a column of type TINYINT(1) will make riffe2 throw an exception when mapping a bean. TINYINT(2) on the other hand works.

This is according Gemini:
A TINYINT(1) column in MySQLcis a single-byte integer that can store values from 0 to 255.
It is often used to represent Boolean values, such as true or false.

When a TINYINT(1) column is read using JDBC, it is converted to a Java Boolean object.
This is because the JDBC driver considers TINYINT(1) to be a Boolean data type.

My bean was expecting an int.

Gemini also found this:
PostgreSQL has a native boolean data type that can have three states: true,
false, and unknown. The unknown state is represented by the SQL null value.
Valid literal values for the true state are TRUE, 't', and 'true'.

In MySQL, TINYINT(1) is the canonical way of storing booleans. Because of this,
the MySQL driver implicitly converts the TINYINT(1) fields to boolean if the
Java tinyInt1isBit configuration property is set to true.

When migrating data from MySQL to PostgreSQL, it's important to understand the
differences in data types between the two systems. To avoid compatibility
issues, you can handle TINYINT as a Boolean data type when extracting data from
MySQL if the data contains only 1 or 0 values.

Which I think is dumb as it makes your code database specific. I think my trick of using tiniyint(2) is a better database agnostic solution. Especially, since not all JDBC drivers support the boolean type.
There is a flag in the MySQL driver to run that feature off, which I think is an even worse solution.
@gbevin  Thoughts?

I'm looking into this but I can't seem to reproduce it. Do you remember what the scenario was where a column of type TINYINT(1) would throw an exception when mapping to a bean?

Was your bean using an int property and it not working because RIFE2 was trying to set it as a boolean, or did it have a boolean property and that failed to be set?

authors: ethauvin gbevin


text:
pyQuil's matrix parser has bad unary negative precedence

In the following Quil snippet
DEFGATE GATE:
    -0.1423778799706841+0.5434363975682295i, 0.030120407817330608+0.21880920854030905i, 0.5780939048956186+0.17673751393273546i, 0.34250301785395104+0.39100343148922345i
    0.6109563775698803+0.31036017600958843i, 0.10776160886162989+0.45680803144107546i, -0.32868033811636505+0.2191611538037213i, -0.33381072966569714+0.20647214020215426i
    -0.3745142406959119+0.19459381688184849i, 0.8148318189588546+0.1287484529826616i, -0.11898829852813203+0.09706566388329525i, -0.08934945999457819-0.331333651054412i
    0.16747690295293213+0.09294140020312874i, -0.21421397384867405-0.06718977178186793i, -0.04159810172810102+0.673200231678094i, 0.36054583760017944-0.5727032705265448i

the matrix internally attached to the GATE object has sign errors in the (0, 0), (1, 2), (1, 3), (2, 0), (2, 2), (2, 3), (3, 1), and (3, 2) entries, but the correct (3, 3) entry. The error appears to be in the precedence of unary negation: -a+b is interpreted incorrectly as -(a+b).
This prevents such DEFGATEs from running on the QPU stack.

🎉

repo: rigetticomputing/pyquil


text:
UAV ICAO

Hi Rik,
Can you add these to the UAV marker please. :)
ELBIT Hermes 900 & Kochav - HRM9
IAI Heron & Harfang - HRON
Baykar TB2 - BTB2
Baykar TB3 - BTB3
Baykar Bayraktar Kızılelma & Kızılelma - KZLA
Baykar Bayraktar Akıncı & Akıncı - AKNC
General Atomics MQ-1, RQ-1, Predator, Warrior & Grey Eagle - Q1
Cheers

All added

repo: rikgale/VRSCustomMarkers


text:
Comparison with Odin serializer?

Hello! Firstly, thanks so much for Ceras; it has been much easier to use than other serializers for us. I was curious on its comparison with Odin serializer? We already use that for serializing for editing data in Unity, but we use Ceras for our network serialization. I was curious if you had any input between the two!
https://github.com/TeamSirenix/odin-serializer

Hey, glad Ceras works well for you! :)
I don't really know much about Odin unfortunately, but it seems to have a similar (?) feature set.
At the moment I don't have much time to do a detailed comparison, but maybe (since you already know both serializers) have some input?
I mean, if you can mention some topics you're interested in specifically, I could offer my opinion on those things in particular (after investigating how odin handles those) :P
Looking at the comparison table in their repo the only thing that Ceras doesn't do is Json Formatter.
That requires embedding the type of each member (field, prop, list/array entry, generic, boxed object, ...).
Maybe that is the biggest difference?
By default Ceras tries to avoid having to embed this type of information if at all possible.
There is a mode (version tolerant mode) where this kind of information is embedded as well. In fact, I think it actually wouldn't be too hard to add a "json output" to data that was saved in version-tolerant mode!
The fact that Ceras tries to avoid having to embed any additional information gives it a few advantages and disadvantages compared to Odin (and the MsgPack format). For example Ceras can be faster because there's simply less data to read/write!
I'm not too sure about long-term storage (saving binary data to files), like how Odin handles changing classes, but I guess it has some sort of mechanism to deal with that as well (seeing as Odins driving idea was making a serialization lib for the unity editor initially).
As for speed... I really don't know. I never compared Odin and Ceras, but I'd be surprised is Odin is much faster (but it's possible, who knows :P) as I always used MessagePack as a benchmark until now.
Next: Serializing/editting data in Unity. Hmm I'm not too sure if Ceras can beat Odin there as it (most likely) has some sort of intermediate representation just like Newtonsoft.Json. I'm talking about classes like JObject, JToken, ...   and Odin probably has something similar to that  as well; while Ceras does not. I considered having something like that initially but strongly decided against it because it would cost too much performance. And competing at the very top of the performance ladder was (and still is) one of the primary goals of Ceras (along with ease of use, and a broad set of scenarios it can be used in).
How have your experiences been with the two serializers? Anything you noticed that Ceras does a lot worse? Or maybe much better?

Wow, what a detailed response! This pretty much answered my questions. I sadly don't have too much experience with Odin outside of Unity. I would assume most who use it are using it to serialize things in Unity bundled with their inspector library.
I like Ceras for the simple fact that the team is so small (is it only you?) and you don't have to litter your code with attributes! Do you have plans in the future to get a logo for Ceras? It would be a great thing to be able to add to a project!
Thanks again!

I like Ceras for the simple fact that the team is so small (is it only you?) and

Do you have plans in the future to get a logo for Ceras? It would be a great thing to be able to add to a project!
Yeah its just me.

you don't have to litter your code with attributes!

Ah yes, avoiding attributes is important so the library can be swapped in/out quickly. Though there are attributes to configure stuff, for people who like attributes more. But everything they do (and much more even) can be configured by code.

Do you have plans in the future to get a logo for Ceras? It would be a great thing to be able to add to a project!

No plans yet.
If the project grows some more once I release v5 (when I finally get around to actually implementing all the remaining features I want haha) I might find someone to make a nice one :)


text:
Add in-app support chat widget (Pylon) for testing purposes

We are in the process of evaluating Pylon and I'd like to test out its in-app chat support capabilities:
https://docs.usepylon.com/chat/setup
If possible, I would like to embed the widget in a test build / environment that we could then use to run some tests locally (but make sure not to expose in production yet to any of our customers).
App ID: 26a0fdd2-3bd3-41e2-82bc-1b35a444729f

FYI @ericpgreen2

repo: rilldata/rill


text:
Wildcard or Free Text Filter for Dimensions

Firstly thanks for your work on Rill - its a fantastic tool and we enjoy using it everyday. We keep Rill up to date and run it against our Clickhouse instance.
We work with large Dimensions - they may have many thousands or even hundreds of thousands of unique values per dimension.
When trying to filter in Rill on these large dimensions often I'm unable to find the value of interest in the limited list of values present in the filter drop-down.
As a fall back I also try to set the required filter from the Dimension - Expand Table - view, which often shows more values and allows for sorting alphabetically, forward and reverse, but even then unless the dimension value I'm looking for is near the start, or the end alphabetically I'm unable to find and set it as I would like.
Would it be possible to provide a "wildcard" string that would then be applied as a filter to the dimension (using LIKE or CONTAINS or similar). That way I could enter PPP for example and all dimension values containing PPP would then be filtered to.
Alternatively having a free text component to the filter drop down allowing explicit entry of the dimension value to filter on would also help in the case I'm describing.

Hey, we do currently perform a wildcard search when searching in a dimension. So if you perform a search and hit enter it would select/filter by all matching entries

Hi @mindspank - thanks for the reply - from your notes I managed to find it!
For others who might end up here - the wildcard search against a dimension can be accessed from the detail screen for a chosen Metric when a Comparison Dimension is selected.


text:
feat: Rill cloud E2E setup

[x] Get a working docker compose for rill cloud
[x] Figure out auth (adding a container that has barebones oauth)
[ ] Figure out github. We can perhaps skip app installation steps and start a local git server.
[x] Figure out a good way to distribute .env (Will only contain keys for the dockerised components)
[ ] Add a github action to build UI and start cloud

We will be using dev env for running e2e


text:
编译出错: 错误：‘exp’在此作用域中尚未声明

Describe the bug
arch linux 下载，然后安装说明上的那些以来，然后编译，然后出错。
To Reproduce
Steps to reproduce the bug:
编译，然后出错。
Expected behavior
A clear and concise description of what you expected to happen.
Log
If applicable, add crash log to quick focus your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Flavor(please complete the following information):
Select your flavor:

[* ] ibus-rime
[ ] fcitx-rime
[ ] fcitx5-rime
[ ] Squirrel
[ ] Trime
[ ] Weasel

Package:

OS: [Linux arch-pc-lv3 6.2.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 07 Apr 2023 02:10:43 +0000 x86_64 GNU/Linux
]
Version: []
URI: []

Additional context
Add any other context about the problem here.
[ 63%] Building CXX object src/CMakeFiles/rime.dir/rime/gear/script_translator.cc.o
/home/htqx/apps/ibus-rime/librime/src/rime/gear/script_translator.cc: 在成员函数‘void rime::ScriptTranslation::PrepareCandidate()’中:
/home/htqx/apps/ibus-rime/librime/src/rime/gear/script_translator.cc:490:23: 错误：‘exp’在此作用域中尚未声明  490 |     cand->set_quality(exp(entry->weight) +
|                       ^~~
/home/htqx/apps/ibus-rime/librime/src/rime/gear/script_translator.cc:504:23: 错误：‘exp’在此作用域中尚未声明  504 |     cand->set_quality(exp(entry->weight) +
|                       ^~~
make[3]: *** [src/CMakeFiles/rime.dir/build.make:1238：src/CMakeFiles/rime.dir/rime/gear/script_translator.cc.o] 错误 1
make[2]: *** [CMakeFiles/Makefile2:260：src/CMakeFiles/rime.dir/all] 错误 2
make[1]: *** [Makefile:146：all] 错误 2
make[1]: 离开目录“/home/htqx/apps/ibus-rime/librime/build”
make: *** [Makefile:43：release] 错误 2

master已经修复了此问题
https://github.com/rime/librime/blob/e391bc2cd9b37edbaf94b2aeab5a969a1b37944d/src/rime/gear/script_translator.cc#L11
在docker的archlinux/archlinux:latest测了一下可以编译

authors: eagleoflqj htqx

repo: rime/librime


text:
Column slug does not exists

Hi, guys.
When I try to assert the use of a feature, I do like this:
// (... subscription is made on Controller, it goes ok as far as I can see)... Then:

$plan = app('rinvex.subscriptions.plan')->find(1);
$subscriptions = $plan->subscriptions;
$user->refresh();
$this->assertTrue($user->subscription('pro')->canUseFeature('news'));

And the error in console is:
1) Tests\Feature\SusbscriptionTest::a_user_can_subscribe_to_plan
Illuminate\Database\QueryException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'slug' in 'where clause' (SQL: select * from `plan_subscriptions` where `plan_subscriptions`.`user_id` = 1 and `plan_subscriptions`.`user_id` is not null and `plan_subscriptions`.`user_type` = App\User and `slug` = pro limit 1)
...
Caused by
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'slug' in 'where clause'

I only could find slug in code at Rinvex\Subscriptions\Traits\HasSubscriptions:
public function subscription(string $subscriptionSlug): ?PlanSubscription
    {
        return $this->subscriptions()->where('slug', $subscriptionSlug)->first();
    }

If I change that 'slug' to 'name', I get this error:
1) Tests\Feature\SusbscriptionTest::a_user_can_subscribe_to_plan
Error: Call to a member function expired() on null

/Users/pedropauloalmeida/WORK/PROJECTS/WAVEWEB/SPACE-ROCKET/space-rocket/vendor/rinvex/subscriptions/src/Models/PlanSubscription.php:510
/Users/pedropauloalmeida/WORK/PROJECTS/WAVEWEB/SPACE-ROCKET/space-rocket/tests/Feature/SusbscriptionTest.php:33

So I checked the $plan->features->pluck('name') and the result is as expected:
Illuminate\Support\Collection {#704
  #items: array:4 [
    0 => "news"
    1 => "communications"
    2 => "help"
    3 => "library"
  ]
}

So, the problems I've found are:

The  Rinvex\Subscriptions\Traits\HasSubscriptions uses "slug" column, that do not exists anymore.
If I change that column to "name", the model /Models/PlanSubscription.php:510 leads to a null point exception.

Could you please check it out?
Oh, a last warn: could it be related to this issue?
https://github.com/rinvex/subscriptions/issues/22
Thank you.

One more thing:
In PlanSubscription model, the problem is in $usage variable, line 502: it returns NULL (that's the null point):
$usage = $this->usage()->byFeatureName($featureName)->first();
The query was scoped correctly (I think):
select * from `plan_subscription_usage` where `plan_subscription_usage`.`subscription_id` = ? and `plan_subscription_usage`.`subscription_id` is not null and `feature_id` = ?

But at line 510, the first attempt is if ($usage->expired() on a NULL pointer.
Hope it helps.
https://github.com/rinvex/subscriptions/blob/285f08eaec97048b4fec58da51ef8c083fdf5847/src/Models/PlanSubscription.php#L499

Fixed in 96dad848fbc3d1aeb1a367231dc651b16749bf12 Please feel free to open this or a new issue if you need further assistance 👍

authors: Omranic ppalmeida

repo: rinvex/subscriptions


text:
chore: move jest and eslint configs to separate files

High Level Overview of Change
Title says it all.
Context of Change
It's a little confusing working with everything in the package.json. Plus, now we can add comments for the different settings, for better documentation.
Type of Change

[x] Refactor (non-breaking change that only restructures code)

TypeScript/Hooks Update

[ ] Updated files to React Hooks
[ ] Updated files to TypeScript

Before / After

Test Plan

Replaced by #660.

authors: ckniffen mvadari

repo: ripple/explorer


text:
Clarify type of timer interrupt

Clarify that mtime >= mtimecmp results in a machine timer interrupt being posted.

Hi @aswaterman, could you take a look at this PR? It's a very small change, should be easy to review.

repo: riscv/riscv-isa-manual


text:
Shall we have a prefix sum instruction?

A prefix sum is
void prefix_sum(int32_t *src, size_t size, int32_t *des);

des[0] = src[0]
des[1] = src[0] + src[1]
des[2] = src[0] + src[1] + src[2]
...
des[size-1] = src[0] + src[1] + src[2] + ... + src[size_1]

For scalar code, it is
	mv sum, x0
	slli size, size, 2
	add src_end, src, size
	beq src, src_end, end
loop:
	lw input, 0(src)
	add sum, sum, input
	sw sum, 0(des)
	addi src, src, 4
	addi des, des, 4
	bne src, src_end, loop
end:
	ret

However, if we have vpresum.vs vd, vs2, vs1, vm # vd[i] = sum(vs1[0], vs2[0~i]), we could have
	beqz size, end
	vsetvli x0, size, e32, m8
	vmv.s.x vsum, x0
loop:
	vsetvli current_vl, size, e32, m8
	vlw.v vsrc, (src)
	vpresum.vs vdes, vsrc, vsum
	vsw.v vdes, (des)
	sub size, size, current_vl
	slli current_vl, current_vl, 2
	add src, src, current_vl
	add des, des, current_vl
	lw pre_sum, -4(des)
	vmv.s.x vsum, pre_sum
	bnez size, begin
end:
	ret

@HanKuanChen It would be interesting to compare with a vectorized prefix_sum using the current spec (i.e., without vpresum.vs). Demonstrating the higher complexity, both algorithmic and syntactic, might help strengthen the argument for inclusion of this instruction. Additionally, you might also consider explaining how vpresum.vs could improve the performance of real-world applications (e.g., IIR filters).

authors: HanKuanChen knightsifive

repo: riscv/riscv-v-spec


text:
Support UNION ALL

We need to support the SetOp, tracking in #2911, but UNION ALL is much more widely used than others, so we should implement it first.
IIUC, UNION ALL concat the two (or multiple) inputs so that it may be converted to a simple merger in the steam engine in the frontend, and we don't need to introduce a new operator here.
cc @xiangjinwu

We already have a similar one in IndexDeltaJoin PR, but it’s still under review.

Still need binder and planner support 🤪

LookupUnion is a new operator after merger. It will merge all items from each channel in order (first, second, third) instead of randomly pick one.
To make life easier, I'd recommend:

Use LogicalUnion for both lookup joins and union all
Union will have a special property "for_lookup". If true, it will be converted to LookupUnion in stream plan; otherwise, it will be a normal Union.
Union has to be a separate executor, that's because MergeExecutor only takes channels as inputs instead of executors. If we have some plan like this:

Union
  Exchange
    Join
      A
      B
  Join
    C
    D

Then union's input will be one side channel, one side normal executor. So we can't use merge executor to do this.

LookupUnion is a new operator after merger. It will merge all items from each channel in order (first, second, third) instead of randomly pick one.
To make life easier, I'd recommend:

Use LogicalUnion for both lookup joins and union all
Union will have a special property "for_lookup". If true, it will be converted to LookupUnion in stream plan; otherwise, it will be a normal Union.
Union has to be a separate executor, that's because MergeExecutor only takes channels as inputs instead of executors. If we have some plan like this:

Union
  Exchange
    Join
      A
      B
  Join
    C
    D

Then union's input will be one side channel, one side normal executor. So we can't use merge executor to do this.

Different branches of UNION-ALL may be highly biased, is it ok to use such pick strategy?

For the union all you mentioned here, it will "randomly pick one"
For lookup's union, it will "merge all items from each channel in order (first, second, third)"

Prior discussion on binding:

(1) Without union, the query and its body select share the same context (current behavior); (2) With union, each descendant select will use their own context, leaving the context of query empty, and extra_order_exprs would return bind error as expected.

Originally posted by @xiangjinwu in https://github.com/singularity-data/risingwave/pull/2329#discussion_r866476756

@chenzl25 Is this completed?

@chenzl25 Is this completed?

From the user perspective, yes. We can still do some optimizations: subquery with union, better shuffle strategy.

authors: TennyZhuang chenzl25 fuyufjh skyzh xiangjinwu

repo: risingwavelabs/risingwave


text:
DISTINCT ON doesn't respect order for ON columns

Describe the bug
DISTINCT ON is planned to group top n, but it seems not enough. Because for group top n, its order is only the order in each group, instead of the output order.
To Reproduce
create table t (v1 int, v2 int, v3 int);
insert into t values(1),(2);

dev=> select distinct on(x) x from t order by x;
 x
---
 2
 1
(2 rows)

dev=> select distinct on(x) x from t order by x;
 x
---
 1
 2
(2 rows)

Expected behavior
Output should be sorted
Additional context
No response

cc @TennyZhuang

I think the specific implementation is just to replace the hashmap with a Btreemap. And that optimization can also be done on the HashAgg executor. But I prefer to just require order when optimizing and insert add a SortOperator above.

it is not a necessary optimization.
I am not sure if it is better. Though we emit an extra Sort executor, the btree map is more inefficient to look up than hash map. The cost of the extra Sort executor depends on the groups number and the cost of the btree map depends on the groupExecutor's input.


text:
chore: revert udf timeout

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
It can cause inconsistency issues, and does not resolve root cause of why UDF timeouts in the first place.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Actually, it could lead to inconsistency issues. I will just disable it.


text:
docs

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

#19628  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


text:
HelloWorld.c

Hello World in C.
HelloWorld.txt

Hello World in C++.
HelloWorld.txt


text:
Fix/remove renew

This PR removes renew capability from canal. In my opinion, it was not implemented well (for the simple reason that the callbacks could not know whether a call to renew or reauth failed or not), and it was buggy. We don't need it right now, and should we ever need it in the future, we should try and implement it better.

Shucks, those comments shouldn't be there. I'll fix that shortly.
On Tue, Mar 12, 2019, 3:37 PM Rémi Attab, notifications@github.com wrote:

@RAttab commented on this pull request.
In src/canal.erl
https://github.com/rkallos/canal/pull/2#discussion_r264850987:

 end,

% blow up here?

There's a lot of these added in the PR. Why the uncertainty?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rkallos/canal/pull/2#pullrequestreview-213608292, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAikoQrT_FD7f09VDXJewMqvjcoBmQzlks5vWAIFgaJpZM4brkZ5
.

repo: rkallos/canal


text:
Using batch generator instead of train all training set

@kittinan, here is workaround script to train using fit_generator instead of fit. You can replace lines 184-193 in train.py to the following:
import itertools
import numpy as np

def generator(l1, l2, l3, batch_size=128):
    gen1 = iter(itertools.cycle(l1))
    gen2 = iter(itertools.cycle(l2))
    gen3 = iter(itertools.cycle(l3))
    while 1:
        yield [np.vstack([next(gen1) for _ in range(batch_size)]), np.vstack([next(gen2) for _ in range(batch_size)])],  np.vstack([next(gen3) for _ in range(batch_size)])

batch_size = 128
gen_batch_train = generator(x_train_char, x_train_type, y_train batch_size=batch_size)
gen_batch_val = generator(x_val_char, x_val_type, y_val, batch_size=batch_size)
model.fit_generator(gen_batch_train, steps_per_epoch=len(x_train_char) // batch_size,
                    epochs=10, verbose=verbose,
                    validation_data=gen_batch_val,
                    validation_steps=len(x_val_char) // batch_size,
                    callbacks=callbacks_list)

@kittinan I guess this is an enhancement but we won't do it now. We can refactor the code once we retrain the model. I'll just close this issue due to inactivity.

repo: rkcosmos/deepcut


text:
UB in AlignedVec due to potential null pointer input to NonNull::new_unchecked

I was looking at the source code of the AlignedVec struct, when I noticed multiple places of UB because of unchecked usage of NonNull::new_unchecked. The docs clearly state that the passed pointer must be non-null. However, in the implementation of AlignedVec, there are multiple places (with_capacity, change_capacity and reserve) where the returned pointers of the alloc API (like realloc) are directly passed to NonNull::new_unchecked. As the re-/allocation methods can return a null pointer due to different reasons, bypassing the null check is not sound.
One of the problematic methods:
  pub fn with_capacity(capacity: usize) -> Self {
      if capacity == 0 {
          Self::new()
      } else {
          unsafe {
              let ptr = alloc::alloc(alloc::Layout::from_size_align_unchecked(
                  capacity,
                  Self::ALIGNMENT,
              ));
              Self {
                  ptr: NonNull::new_unchecked(ptr),
                  cap: capacity,
                  len: 0,
              }
          }
      }
  }

Best,
Robin

Thanks for reporting this issue, I'll do a pass on AlignedVec and any other places that use the global allocator.

Fixed by 5b929039f46b5c69607b2861fb3d9ef540a97564

authors: djkoloski robinhundt

repo: rkyv/rkyv


text:
Add instructions how to add new co-organizers

Here's a section on co-organizers: add instructions on how to add them here as well ☺
https://guide.rladies.org/organization/intro/co-organizers/
FYI: @MounaBelaid I believe you know best what's the procedure (and we can update it with the link to the new form once it's confirmed it's running)

Duplicate of #18

I’ll go ahead and close it since it’s a duplicate. I’ll be referenced in the other issue stream anyway.

This is what I wanted to do ☺

I’ll go ahead and close it since it’s a duplicate. I’ll be referenced in the other issue stream anyway.

I’ll go ahead and close it since it’s a duplicate. I’ll be referenced in the other issue stream anyway.

authors: cosimameyer drmowinckels

repo: rladies/rladiesguide


text:
the preview button dosn't work any more on windows 7

not in : blender-2.68a-windows32
and not in the new 2.72 version

My fork at https://github.com/mecwerks/scene-viewer fixes this issue. I'm not sure if the original dev will merge pull requests or not but you can try mine.

authors: mecwerks meiry

repo: rlofc/scene-viewer


text:
Remove documentation relative to Leiningen config

Suppressions don't work when supplied from project.clj
(defproject nvd-helper "local"
  :description "nvd-clojure helper project"
  :dependencies [[nvd-clojure "2.2.0"]]
                 [org.clojure/clojure "1.10.3"]]

  :nvd {:suppression-file "../nvd/nvd-suppressions.xml"})

In this case, the suppressions don't apply. However if I put nvd-config.json into the command line:
{"delete-config?": false,
 "nvd": {"suppression-file":  "../nvd/nvd-suppressions.xml"}}

Then the suppressions do apply. So the suppressions file is good but nvd-clojure isn't getting the config out of project.clj successfully.
I looked at https://github.com/rm-hull/nvd-clojure/blob/master/README.md?plain=1#L154 to write the project.clj, I hope it's correct.

Thanks for raising the topic.
Since the Lein plugin is deprecated, now the :nvd Leiningen config does nothing. In particular, for the following commmand:
lein with-profile -user run -m nvd.task.check "" "$(cd <YOUR_PROJECT>; lein with-profile -user,-dev classpath)"

The nvd.task.check program has no (good) way of reading :nvd Leiningen config.
Consequently I'll remove said config from the README, it's what I should have done when removing the lein-nvd plugin.

On a very peripherally related topic - I don't understand why delete-config? defaults to true? Why is it even an option?

For backwards compat reasons.
As we move from .json to .edn config files (https://github.com/rm-hull/nvd-clojure/issues/125) I'll use the occasion to get rid of this piece of config.

As I hadn't read through the issues I used quite a bit of time trying to configure with the :nvd key in project.clj, obviously to no avail. I found the PR that improves the documentation but it isn't merged, probably because more documentation changes need to fall in place. Would you consider to create a smaller PR that at least removes wrong information from the readme and that can get merged quicker?

Thanks for the reminder - fixed now!
https://clojars.org/nvd-clojure/versions/2.6.0 has been released as well

authors: lxsli skat-kurt vemv

repo: rm-hull/nvd-clojure


text:
syntax problem in locale files

Hi,
I'm using jquery-timeago in an angular 4.x project with angular-cli.
Webpack script loader complains about ending semicolon in jquery-timeago's localization files.
For example, in jquery.timeago.en.js, when I add ) after } in line 9 here https://github.com/rmm5t/jquery-timeago/blob/master/locales/jquery.timeago.en.js#L9, this problem is fixed.
I'm not sure if the problem is related to jquery-timeago or webpack's script loader but I just wanted to ask here.
Thanks.

@m90 Do you have time to look into this?

I can look into that later today, although I am unsure why that is to be honest as the syntax of the file is valid (https://jsfiddle.net/yu8aeptp/), and the plugin uses the same syntax in the main file: https://github.com/rmm5t/jquery-timeago/blob/master/jquery.timeago.js#L27. Which makes me think it's related to the build pipeline in this particular case.
I'll let you know if I can find out anything here.

@rmm5t It looks to me as if this is due to the fact that #320 is not on npm yet. When I do a npm install in a fresh project I will install 1.6.0 including the broken definitions. When I manually install master (i.e. git+https://github.com/rmm5t/jquery-timeago#master) I can bundle the locales just as expected (I'm doing that using browserify, but I guess that makes no difference here).

@ismcagdas Did you install the package using npm or something similar? In case yes, when did you do that?

😞 Sorry. So true. I forgot to run my publish script.
v1.6.1 is now published to NPM.

@m90, @rmm5t I have tried v1.6.1 and it is fixed.
Thanks a lot for quick response and this great library 😄


text:
Memory leaks

Check the output from command:
/home/zam/bin/bin/valgrind --leak-check=yes --track-origins=yes -v build/pandora test/test_cases/prg4567.fa test/test_cases/read0.fa wow &> build/pandora_valgrind_output.txt
START: Wed Oct 26 20:23:44 2016
Building Index from PRG file
--39147-- REDIR: 0x3a146bd1d0 (operator new[](unsigned long)) redirected to 0x4a0794a (operator new[](unsigned long))
--39147-- REDIR: 0x3a11e83350 (memchr) redirected to 0x4a09890 (memchr)
--39147-- REDIR: 0x3a146bb2f0 (operator delete(void*)) redirected to 0x4a072ec (operator delete(void*))
--39147-- REDIR: 0x3a11e833d0 (bcmp) redirected to 0x480260a (_vgnU_ifunc_wrapper)
--39147-- REDIR: 0x3a11f3e6d0 (__memcmp_sse4_1) redirected to 0x4a0a8c0 (bcmp)
--39147-- REDIR: 0x3a11e83800 (memmove) redirected to 0x4a0ad40 (memmove)
--39147-- REDIR: 0x3a146bb330 (operator delete) redirected to 0x4a06f68 (operator delete)
Reading Read file
Finished building PanGraph from reads
Writing PanGraph to file
FINISH: Wed Oct 26 20:23:46 2016
==39147==
==39147== HEAP SUMMARY:
==39147==     in use at exit: 504 bytes in 16 blocks
==39147==   total heap usage: 1,934 allocs, 1,918 frees, 454,491 bytes allocated
==39147==
==39147== Searching for pointers to 16 not-freed blocks
==39147== Checked 207,608 bytes
==39147==
==39147== 504 (48 direct, 456 indirect) bytes in 1 blocks are definitely lost in loss record 9 of 9
==39147==    at 0x4A07EB6: operator new(unsigned long) (vg_replace_malloc.c:287)
==39147==    by 0x44790C: main (in /data2/users/rachel/projects/pandora/build/pandora)
==39147==
==39147== LEAK SUMMARY:
==39147==    definitely lost: 48 bytes in 1 blocks
==39147==    indirectly lost: 456 bytes in 15 blocks
==39147==      possibly lost: 0 bytes in 0 blocks
==39147==    still reachable: 0 bytes in 0 blocks
==39147==         suppressed: 0 bytes in 0 blocks
==39147==
==39147== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 4)
==39147==
==39147== 1 errors in context 1 of 3:
==39147== Conditional jump or move depends on uninitialised value(s)
==39147==    at 0x3A11A1754B: index (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A06237: expand_dynamic_string_token (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A082F1: _dl_map_object (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A016DD: map_doit (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A0E265: _dl_catch_error (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A015F6: do_preload (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A0480E: dl_main (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A15B4D: _dl_sysdep_start (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A014A3: _dl_start (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A00B07: ??? (in /lib64/ld-2.12.so)
==39147==    by 0x3: ???
==39147==    by 0xFFEFFF912: ???
==39147==  Uninitialised value was created by a stack allocation
==39147==    at 0x3A11A032A1: dl_main (in /lib64/ld-2.12.so)
==39147==
==39147==
==39147== 1 errors in context 2 of 3:
==39147== Conditional jump or move depends on uninitialised value(s)
==39147==    at 0x3A11A17546: index (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A06237: expand_dynamic_string_token (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A082F1: _dl_map_object (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A016DD: map_doit (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A0E265: _dl_catch_error (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A015F6: do_preload (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A0480E: dl_main (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A15B4D: _dl_sysdep_start (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A014A3: _dl_start (in /lib64/ld-2.12.so)
==39147==    by 0x3A11A00B07: ??? (in /lib64/ld-2.12.so)
==39147==    by 0x3: ???
==39147==    by 0xFFEFFF912: ???
==39147==  Uninitialised value was created by a stack allocation
==39147==    at 0x3A11A032A1: dl_main (in /lib64/ld-2.12.so)
==39147==
--39147--
--39147-- used_suppression:      4 U1004-ARM-_dl_relocate_object
==39147==
==39147== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 4)

If you compile for debug with -O0 -g then valgrind is able to tell you precise functions and lines

authors: iqbal-lab rmnorris

repo: rmnorris/pandora


text:
invalid byte '\u0091' in Cookie.Value

When I tried using gh slack to read some messages this morning, I received the following error. Not sure if Slack changed something with their auth cookies?
2024/11/22 10:58:30 net/http: invalid byte '\u0091' in Cookie.Value; dropping invalid bytes
Error: api token not found

I get the same if I run gh slack auth:
❯ gh slack auth
2024/11/22 10:59:20 net/http: invalid byte '\u0091' in Cookie.Value; dropping invalid bytes
Error: api token not found

Nope, will update and confirm it's working! Thanks

Working again, sorry about that!

repo: rneatherway/gh-slack


text:
V10. Documentation and example clarification

Environment

Mapbox (GL) implementation: v10
@rnmapbox/maps  #main
Platform: iOS
React Native Version 0.69.4
Platform OS:  iOS 15.5
Device: iPhone 13
Emulator/ Simulator: yes
Dev OS: macOS

Standalone component to reproduce

I used this example: https://github.com/rnmapbox/maps/blob/main/example/src/examples/FillRasterLayer/CustomVectorSource.js
My file:

const VECTOR_SOURCE_URL = 'mapbox://mapbox.country-boundaries-v1';

const App = () => {
  const isDarkMode = useColorScheme() === 'dark';

  const backgroundStyle = {
    backgroundColor: isDarkMode ? Colors.darker : Colors.lighter,
  };

  return (
    <SafeAreaView style={backgroundStyle}>
      <MapboxGL.MapView style={{width: '100%', height: '100%'}}>
        <MapboxGL.VectorSource
          id="customSourceExample"
          url={VECTOR_SOURCE_URL}
          onPress={e => {
            console.log(`VectorSource onPress: ${e.features}`, e.features);
          }}>
          {/* <MapboxGL.FillLayer
            id="customSourceFill"
            style={{fillColor: 'red'}}
          /> */}
          <MapboxGL.LineLayer id="layer1" style={{lineColor: 'red'}} />
        </MapboxGL.VectorSource>
      </MapboxGL.MapView>
    </SafeAreaView>
  );
};

Tried to Fill and Line these layers.

Source is taken here:

Should show country boundaries

But in reality - nothing.

Question:
Where is the mistake placed?
What I did
Tried to understand this part doc:
https://github.com/rnmapbox/maps/blob/main/docs/FillLayer.md
Maybe id prop - is the key to issue.

Where is the source in the style defined?
Thank you for your help.
Will be happy to add some video to docs after clarification for other developers.

@mfazekas
Seems it's not only my issue
https://github.com/rnmapbox/maps/discussions/1991
https://github.com/rnmapbox/maps/discussions/1991
If you could navigate to docs or send very simple example with Fill and Line example for general  mapbox.country-boundaries-v1 , I will be appreciate for your help.

Plus I checked this manual https://docs.mapbox.com/mapbox-gl-js/example/vector-source/
And tried to replicate in React Native. The result is the same -> no lines showed.

@rusakovic Did you manage to make it work?

authors: amoiseenko-sc rusakovic

repo: rnmapbox/maps


text:
fix(ci): Add GH_TOKEN secret

As GITHUB_TOKEN is not used to avoid inifinte loops.
More: https://github.com/semantic-release/semantic-release/discussions/1906

:tada: This PR is included in version 1.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: roalcantara/dockers


text:
Improve schedule/as_matmul matching on hybrid loop-libop code

Current schedule/as_matmul can't match some basic cases when there are both loops and libop calls. Example:
for i in range(500):
  c[i] = a[i] @ ft.transpose(b, (1, 0))

This code cannot be mapped to a Matmul node because libop introduces intermediate local variables. The code is actually like this:
for i in range(500):
  t = ft.transpose(b, (1, 0))
  u = a[i] @ t
  c[i] = u

In order to deal with this case, we need two following changes:

Call inline on every variables inside the matching sub-tree. There will be no side-effect because the matching will fail otherwise. This will solve the problem of t in this example.
Implement a new schedule, maybe named anti_inline, that removes an intermediate variable an redirect all Stores to it to the final destination. We can implement anti_inline for only variables that are copied to another variable with modifications (like c[i] = u). These will also be no side-effect because the matching will fail otherwise. This will solve the problem of u.

After implementing the changes above, schedule/as_matmul is expected to match this code to a Matmul, but still can't deal with its derivatives. In order to accept such a code in AD, will need one more change:

Simultaneously match multiple Matmuls in one schedule/as_matmul call, instead of relying on #! prefer_libs to fission the loops.

Another approach to solve the problem (without considering AD) is to add a new schedule uncache and run it automatically inside as_matmul. As the name suggests, uncache undoes the cache schedule. uncache(v) detects whether v maps to a parent VarDef u, and replace v by u with corresponding indices.

repo: roastduck/FreeTensor


text:
Error when using -r

Hi, when I try using the -r flag to generate the register header, I get an error
$ svdtoheaders -s AT32F403Axx_v2.svd -p "" -r AT32F403Axx_registers.h -o
Traceback (most recent call last):
  File "/home/eike/.local/bin/svdtoheaders", line 238, in <module>
    main()
  File "/home/eike/.local/bin/svdtoheaders", line 234, in main
    for r in (registers(doc)):
  File "/home/eike/.local/bin/svdtoheaders", line 118, in registers
    fields = register.get('fields', {}).get('field', [])
AttributeError: 'NoneType' object has no attribute 'get'
$

I'm using this SVD: https://raw.githubusercontent.com/vadrov/AT32F403ACGU7_display_spi_dma_st7789_ili9341/main/SVD/AT32F403Axx_v2.svd

I'm not exacty sure what you mean. I was able to pinpoint the error to the register "PSR", which is defined as
        <register>
          <name>PSR</name>
          <displayName>PSR</displayName>
          <description>Performance selection register</description>
          <addressOffset>0x0</addressOffset>
          <size>0x20</size>
          <resetValue>0x00000030</resetValue>
          <fields>
          </fields>
        </register>

in contrast to all other registers, the "" section is empty. I don't know about the svd standard, but in xml that's completely valid.
My suggestion would be to add a sanity check there. I can also add a pull request if that's of interest.

Alright I see where their initial miscommunication came from, I had to edit my description because I didn't escape the brackets in the first place and updates don't seem to be sent via email :D also the link to the svd file seems to be affected, hence the confusion
Okay I'll submit a PR when I find the time for a fix

repo: robertlipe/svdtoheaders


text:
SV-Create Required Resolvers

Create required resolvers for Apollo back end.

Created query resolvers and createUser and loginUser mutations. Created typedefs for all models and initial queries and mutations. New scalar for date still to be set up properly.

repo: robertpdavis/betfair-bet-bot


text:
fix(title): clean up titles

゜｡ᕕ( ≧ ω ≦)／゜｡
^ I MADE DIS: http://japaneseemoticons.me/kamoji/

HAHAH LOLLLL.
lgtmmmmmmmmmmmm


text:
Should we have a Mobile version of the Web Administration?

If so, we need different HTML pages, different interactions. We cannot only rely on CSS3 mechanisms. We need a standard version and a mobile version of the web administration.
This may be manageable at the router level in Angular.
In the mobile version, the first page should only list applications, name and qualifier, no description. Touching an application would lead to another page with the description, global action and the list of instances. Clicking an instance would lead to another page with details and action buttons.
We really need different HTML and JS files, since the interactions are radically different. The mobile version must reduce the amount of displayed things, and use more transitive pages.

The web administration has now different displays for 1200+ px (width) and 800-1199 px.
We have not digged for lower resolutions, even if we could. Since we do not target mobile phones, as it does not make sense at the moment, I'd rather close this issue.

repo: roboconf/roboconf-web-administration


text:
Need information on integrating Robot framework with espresso android app automation

Hi,
Is it possible to integrate Espresso Android App automation framework with Robot Framework? If yes then could you please provide me some pointers.
Regards,
Arun Kumar Saini

It sure doesn't seem like anyone has created the RF libraries to tie into the Espresso tools.  If there's enough interest, it might be a valuable 3rd party library to turn into a working project.

Robot Framework user group is a better place to ask these kinds of questions. This issue tracker is intended for bugs and feature requests.

authors: Tattoo arunku2x chriscallan

repo: robotframework/robotframework


text:
Keyword 'Collections.Log List' fails with error in case its single element is a tuple.

Steps to reproduce:

Create a tuple.
Create a list having only one element - the tuple.
Call "Collections.Log List" keyword for the list.

Expected result: The list length and contents should be logged using given level.
Actual result: An error has occurred: "TypeError: not all arguments converted during string formatting"
Software versions: Robotframework 3.1.2 running under CPython 3.7.3 under windows 7 x64.
Sample test:
*** Settings ***

*** Test Cases ***

Log List test
    ${L1}    Evaluate    ('a', 'ddjk', 12)
    ${L3}    Evaluate    ('table', 'date', 6)
    ${L2}    create list    ${L1}
    Comment    ${L2}    create list    ${L1}    ${L3}
    ${a}    evaluate    isinstance(${L2},list)
    ${a}    evaluate    isinstance(${L2[0]},list)
    ${a}    evaluate    isinstance(${L2[0]},tuple)
    Log Many    @{L2[0]}    level=DEBUG
    Log Many    @{L2}    level=DEBUG
    Log List    ${L2}

Test log:
Starting test: Workspace.Log List test
20190530 15:03:44.628 :  INFO : ${L1} = ('a', 'ddjk', 12)
20190530 15:03:44.628 :  INFO : ${L3} = ('table', 'date', 6)
20190530 15:03:44.628 :  INFO : ${L2} = [('a', 'ddjk', 12)]
20190530 15:03:44.675 :  INFO : ${a} = True
20190530 15:03:44.675 :  INFO : ${a} = False
20190530 15:03:44.675 :  INFO : ${a} = True
20190530 15:03:44.690 :  INFO : a
20190530 15:03:44.690 :  INFO : ddjk
20190530 15:03:44.690 :  INFO : 12
20190530 15:03:44.690 :  INFO : level=DEBUG
20190530 15:03:44.690 :  INFO : ('a', 'ddjk', 12)
20190530 15:03:44.690 :  INFO : level=DEBUG
20190530 15:03:44.706 :  FAIL : TypeError: not all arguments converted during string formatting
20190530 15:03:44.706 : DEBUG :
Traceback (most recent call last):
  None
Ending test: Workspace.Log List test

This is caused by code 'List has one item:\n%s' % list_[0] because when formatting with % tuple as the formatted value has special meaning. This line should be changed to 'List has one item:\n%s' % (list_[0],) to avoid the problem. Should also check does Collections or our code in general have more places where this could happen.

I went through Collections and also rest of the code base to see where we use string formatting like 'something %s' % arg and arg is given by user. There were quite a few such places, but I don't think we need to care about such usages in places where tuples are in general totally invalid (e.g. when a keyword expects a path as an argument) especially when creating a tuple in Robot data isn't that easy. In places where the value can be anything (e.g. with Collections) and especially if the value is expected to be iterable, tuples should naturally work. Luckily such usages were mostly limited to Collections but there were few in BuiltIn as well.
All affected keywords in Collections were:

Log List
Remove From Dictionary
Get From Dictionary
Dictionary Should Contain Key
Dictionary Should Not Contain Key
Dictionary Should Contain Value
Dictionary Should Not Contain Value

In BuiltIn these keywords were affected:

Should Be Empty
Should Not Be Empty


text:
Libdoc not generating lists with multiple lines correctly

Per the documentation here, we can have more than one line in a list in the [Documentation] and it will render html as one line.
Expected
Per documentation:

Actual
My Keyword
    [Documentation]  This is the documentation.
    ...
    ...  - A list (first first item).
    ...  The first item is continued here.
    ...  - Second item.

Renders this:

The line The first item is continued here. is not part of the list.

A crucial part from the docs didn't fully fit into your the image above:

List items can be split into multiple lines by indenting continuing lines with one or more spaces.

A problem with indenting using spaces is that spaces are also used as a separator and thus indenting spaces aren't seen by Robot/Libdoc. I assume you could escape these spaces with \ or by using ${SPACE}.

Oh, I see.
This worked:
My Keyword
    [Documentation]  This is the documentation.
    ...
    ...  - A list (first first item).
    ...  \ The first item is continued here.
    ...  - Second item.

This did not work (using ${SPACE} rendered the string ${SPACE}):
    [Documentation]  This is the documentation.
    ...
    ...  - A list (first first item).
    ...  ${SPACE}The first item is continued here.
    ...  - Second item.

Might be worthwhile to update the documentation with this example. If you agree, keep this issue open as a means to track the doc update task, otherwise close it.
Tx for the quick reply!

No need to leave this open..  if documentation needs to be updated, we can open a separate issue.

authors: joaonc pekkaklarck


text:
Clone via ssh instead of https

This changes the protocol for cloning from https to ssh in the readme instructions.
I only removed the explicit specification of latexpresents as folder name because that's the default and I didn't see a reason for it to be there.

This changes the protocol for cloning from https to ssh in the readme instructions.

I prefer https over ssh for a public repository since, as far as I know, ssh only works if you have a GitHub account and are logged in. You can always change the remote to ssh after it's been checked out with:
git remote set-url origin git@github.com:robotic-esp/latexpresents.git

so you can then push more improvements. :wink:
If this is wrong, please let me know.

Makes sense, thanks for these explanations Jon.

[...] and those are executed relative not to the file they are called from your project root.

[...] annoyingly looks at the argument of your \usepackage [...]

That's... interesting.

authors: gammell marlinstrub

repo: robotic-esp/latexpresents


text:
Added rectification code

Extended vPreProcess module to include rectification using "rectify" flag. Added "OVERLAP" drawer in VFramer module to compare display between the left and right cameras.

I made the requested changes and committed to my fork. Please check.

repo: robotology/event-driven


text:
Divergent Component of Motion trajectory generator

The trajectory generator of the 2D - Divergent Component of Motion was implemented following the work of Englsberger et al..
Further details can be found here #2 .
How to compile
Run the following commands to compile the repo
mkdir build
cd build
cmake ../
make

How to test
To test the new trajectory generator please run  DcmInterpolationTest (it is located in /build/tests). The results can be checked using Matlab scripts located in \misc\MATLAB\.

add to the MATLAB search path the \misc\MATLAB\ folder;
run the load_data  in the folder where DcmInterpolationTest was launched;
run the print_dcm to shown the plots of the results.

Thanks!

repo: robotology/unicycle-footstep-planner