Context Builder API

Is your feature request related to a problem? Please describe.
Sometimes a combination of contexts is needed. e.g. a combination of local and remote context.
Describe the solution you'd like
Provide API, a builder, allowing to create combined context.
e.g.
JsonLd.createContext().add(localcontext).add(remotecontext).build()

Describe alternatives you've considered
Now, a user must create a context manually or with JSON-P.

V2 has been canceled because of lack of funding.


Plan workshop content

Define the workshop scope in terms of the expected skill level of attendees, and the desired take-aways.

General outline:

Brief Introduction (Difference between Git & GitHub)
Installation (Windows, Mac, and Linux)
How does Git see your project?
Basic Commands
Branches

Initial Poll Results in from Facebook

Feature
Interest

Pull Requests
12

Merge vs Rebase
5

Issues
2

Wikis
2

Github Pages
2

Continuous Integration
2

Depreciated in favor of #6


Improving results with anime characters

I tested this code on a couple of anime characters and consistently had issues with eyes. I noticed the training data includes no anime characters.

Can you please advise on how to improve results?
Should I retrain with characters?
Can the inference.yaml be tweaked to improve results?

Thanks

https://github.com/fudan-generative-vision/champ/assets/140408754/3e1e60db-890b-40a1-a00f-e4d83b53388c

https://github.com/fudan-generative-vision/champ/assets/140408754/ac967e87-1272-4736-bdf2-15588f169711

same problem, Does anyone know how to get better results?


Proper validations in all the forms

Every single form should be properly validated before making a submit.

Implemented.


req.user is undefined

Hi,
I'm using this package to manage sessions with a PGSQL database. The login works fine and the user is correctly serialized to the DB. The problem seems to happen with getting the current user because req.user is undefined. Where is req.user being set? Is it something I have to do?
Thanks in advance.

Have you set up the deserializer?
Something like:
passport.deserializeUser((id, cb) =>
	process.nextTick(async () => {
		const user = await User.findById(id).exec()

		cb(null, user : null)
	})
)

Have you set up your context for your operations? Are you using context.getUser()?

Moving this to discussions. We can create a new issue if we find a bug here.


Add a warning to extension if Hotreload is not connected like "Live reload"

The retired Microsoft Live reload extension adds this little yellow bar over the opened XAML if it is not connected:

It would be nice if this was be also added here. I was confused why the page did not update until I noticed I  had not clicked on "connect" in toolbar.

Included in 1.1.0 release.
@MagicAndre1981

ok, I see it, but only shortly. Next I saw the message that VS was unresponsive and not the bar is gone

@MagicAndre1981 going to revert this functionality in 1.1.2 and test again - please update to 1.1.2.

@MagicAndre1981 could you check this Beta build of extension ?
https://github.com/stanbav/HotReloadExtension-Beta/blob/master/Windows/Xamarin.Forms.HotReload.Extension.WinVS.vsix

@stanbav with the new beta version VS2019 Preview no longer shows the perf warning for me

@MagicAndre1981 Nice. 1.1.3 will include this fix.

@stanbav  great. do you have any idea why I can't connect Hotreload to local device/simulator UWP app? Remote device works fine.

@MagicAndre1981  Hmm, need to investigate that issue, could you create a ticket for this issue? so we don't forget about that.

@MagicAndre1981 Hmm, need to investigate that issue, could you create a ticket for this issue? so we don't forget about that.

done:
https://github.com/AndreiMisiukevich/HotReload/issues/41

Thanks !

@stanbav
there is a bug:

I enabled Hotreload via old school Toolbar icon click but the new yellow bar is not going away. Also it would be nice to only show it over an opend XAML file like LiveReload does.

@MagicAndre1981 good idea, will fix it in future releases.

@stanbav and ETA for a fix? I still have this yellow bar in 1.2.0 even if I'm connected and I would still prefer a smaller bar over an opend XAML file.


[Bug]: 1.253 NullReferenceException on startup (eventual crash?)

What happened?
Hi,
today's update is starting up with a NullReferenceException, works for a moment regardless and eventually quits. Looks like the quit happens when a game ends (in my case, I got eliminated).
(Edit: Hmm I tried to reproduce and it didn't crash this time at least, so maybe it was coincidence and unrelated)

Platform
Steam

Update to version 1.254 and try it.

Thank you, error on startup is gone. (And crash did not happen after that first time, so I guess it isn't a real problem)
Thanks again :)


Upgrade to ds v54

What is the context of this PR?
Upgrades the DS to v54 including adding ids to prefixes and suffixes which are now mandatory
How to review

Tests pass
Check schemas with answers that have prefixes and suffixes display correctly

Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Upgrade to v54 of the DS (2 SP)


Create dataset loader for National Speech Corpus

Dataloader name: national_speech_corpus_sg_imda/national_speech_corpus_sg_imda.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?national_speech_corpus_sg_imda

Dataset
national_speech_corpus_sg_imda

Description
The National Speech Corpus (NSC) is the first large-scale Singapore English corpus spearheaded by the Info-communications and Media Development Authority (IMDA) of Singapore. It aims to become an important source of open speech data for automatic speech recognition (ASR) research and speech-related applications. The NSC improves speech engines’ accuracy of recognition and transcription for locally accented English. The NSC is also able to contribute to speech synthesis technology where an AI voice can be produced that is more familiar to Singaporeans, with local terms pronounced more accurately. Part 1 features about 1000 hours of prompted recordings of phonetically-balanced scripts from about 1000 local English speakers. Part 2 presents about 1000 hours of prompted recordings of sentences randomly generated from words based on people, food, location, brands, etc, from about 1000 local English speakers as well. Transcriptions of the recordings have been done orthographically and are available for download. Part 3 consists of about 1000 hours of conversational data recorded from about 1000 local English speakers, split into pairs. The data includes conversations covering daily life and of speakers playing games provided. Links to Part 4, 5, 6 are included in the DropBox. Please open the DropBox via the desktop application since the folder is very large.

Subsets
read_balanced, read_pertinent, conversational_f2f, conversational_telephone

Languages
eng

Tasks
Automatic Speech Recognition, Text-To-Speech Synthesis

License
Other (other)

Homepage
https://www.imda.gov.sg/how-we-can-help/national-speech-corpus

HF URL
-

Paper URL
https://docs.google.com/forms/d/e/1FAIpQLSd3k8wFF4GQP4yo_lDAXKjCltfYk-dE-yYpegTnCB20kr7log/viewform

#self-assign

Adding the bonus+3 due to its massive size and complicated directory structure.


Linking to 'self' is difficult.

'self' is an autolink to a property or descriptor named "self". This is unfortunate for CSP, which uses 'self', 'none', 'unsafe-eval', 'unsafe-inline', and 'unsafe-redirect' as values which I'd like to link to.
I was hoping that <a title/lt/whatever="...">'self'</a> would work, but the preprocessing for autolinks happens before takes precedence.
Would you accept a patch which turned off the CSS-specific bits for specs that don't intend to use those autolinks? Or create an escaping syntax (\'self', perhaps)?
WDYT?

The usual way we handle this is to just not use single quotes; instead we use double quotes or smart quotes ‘’ for things.
But if single quotes are pretty important here, yeah, I'd accept either of those patches.
If you do the former, a metadata line like Markup Shorthands: CSS off would work (using the "YAML boolean" that I use in some other metadata; there's a parsing function for it in MetadataManager).
The latter has precedence - I already allow escaping some of the shorthands with an opening slash.  Extending that to all of them would be fine.

And done.  There is now a Markup Shorthands metadata, taking a comma-separated list of categories and bool-ish values, so you can shut off the CSS shorthands with:
Markup Shorthands: css no


Add scan folder and spark config support in Sparkjob activity

Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.

Link to engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

Design Document:
Previous Open API Doc:
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

Hi @lmazuel could you please help review this PR? Keep align with ADF. Thanks.

I'm not ARM, but feels the regular ADF pattern of "object" everywhere, so merging so Synapse gets access to the API


Go get is stuck

Stuck while getting this package, i ve waited for a long time

Hi, this module is hosted on GitHub, so the inability to get the package is almost certainly an issue with the Go module proxy or GitHub itself. I don't think there's anything actionable that I can do.

Is it just me, or is anyone else experiencing the same issue?

Is there an error message you are getting?
IIRC, you can do something like: GODEBUG=cmdgo=2 go get $PACKAGE to print more output.


Bitdefender: "suspicious connection blocked"

扩展版本 (extension version): 1.4.7
浏览器版本 (browser version):  85.0.4183.102 (Official Build) (64-bit)
操作系统 (operating system): Win10x64
问题描述 (problem description):
Sorry, got this message from Bitdefender:

and removed your extension.
Please fix your certificate and I'm back using it.

Yep, agreed - this is a great extension - applause, so appreciate update your certificate!


WIP: Implement Events: onStart, onStop, onComplete for Timer and Stopwatch

Codecov Report
Patch and project coverage have no change.

Comparison is base (58644a6) 72.58% compared to head (361ba8a) 72.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   72.58%   72.58%
=======================================
  Files           5        5
  Lines          62       62
  Branches        7        7
=======================================
  Hits           45       45
  Misses         11       11
  Partials        6        6

Flag
Coverage Δ

unittests
72.58% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


noun: actually use u3's version number

A draft working towards proper versioning of the noun library, which is essentially the library which implements the Noun and how it is represented in-memory and on-disk.
This work starts with renaming pkg/noun to pkg/u3.
This work is in the interest of establishing a proper "loom migration framework" and design pattern which makes future upgrades to the loom format relatively simple when compared with how difficult it is to upgrade the loom format today.
With this strategy, Vere's file hierarchy would look something like this:
pkg/
├── c3
├── ent
├── noun        # aliases to current functions, structs, etc.
├── u3          # noun library as of before pointer compression
├── u4          # noun library as of pointer compression
├── u5          # noun library for persistent memoization
├── ...         # future noun library versions
├── migrations  # migrations between sequential pairs of noun library versions
├── ur
├── urcrypt
└── vere

Impractical.


Suggestion: Scaling the chart down when there is overlap with the legend

I used to work with Highcharts, but switched to ECharts. And even with Chinese documentation, it's way easier to use, so nice job!
Though there is one function I miss in ECharts, and that is setting the legend to not overlap the chart, by automatically scaling the chart down when there is overlap.
I've created a jsfiddle to illustrate what I mean: http://jsfiddle.net/gw7gwyqv/2/
See what happens when you resize the chart window? The chart gets larger/smaller to prevent overlapping with the legend. This is a really nice feature I think.
I don't know if this will be easy to implement (probably not...), but maybe you can add something like:
options.legend.overlap: (boolean)

Also, the legend overlaps with the toolbox too, which should not happen in any case, right?

Hi Jeffery, glad to hear you like echarts and can work with it easily. We will have English doc soon.
About the overlapping problem, we known it's really annoying. And we have discussed if there is a way to get the layout done automatically to avoid overlap. Not only between the chart and legend, but also many other components like toolbox. And sadly we haven't found a elegant way to achieve that.
And we think the chart is the most important in the view so it is not a good way to avoid overlapping by scaling the chart. Maybe it's better to render the legend outside with html and let css do the complicate layout job. Like following code
option: {
    legend: {
        // Not show the legend, instead rendering it with html
        show: false,
        data: ['Quatro', 'Esmee'],
        selected: {
            'Quatro': true,
            'Esmee': true
        }
    }
};

$el1.click(function () {
    chart.setOption({
        legend: {
            selected: {
                Quatro: false
            }
        }
    });
})

Thanks for the suggestion. I've not thought about that.
I see, you're right about it being not the best option. But sometimes it's just not worth creating a custom legend (lot of extra work), and then you may rather just see a shrinked chart.
But, I'm going to use your suggestion, I think that will be the best option, and it solves my problem. Thanks again for the help!

Yes, agree with that it has a lot of work that developer should not concern. Maybe we can provide a legend extension which is rendered with HTML and CSS instead of canvas

大概的意思就是不显示下面的legend,然后点击一下一个数据块，就隐藏这个数据块，那如果我再想让这个数据块显示回来，不就不行了吗？

有没有办法知道lengend占几行或何时换行，若知道legend有多少行就可以大概计算出Grid的位置了。

Hi, may I know if you have done any enhancements to solve the overlapping issue, please?

Any news?

Any updated on this?

Latest version support scrollable legend. Which may solve overlapping issue. See https://ecomfe.github.io/echarts-doc/public/en/option.html#legend.type

Interesting, I believe that having a custom legend component would be extra effort and complicated(specially if you would like to keep the series on/off functionality). In the other hand I understand also the Canvas rendering limitations. I will try combining to have more space and try on the scrollable suggestion. Either way I wanted to express that doing as original request would be awesome.

I would suggest to customize legend by html. It's much easy than canvas.

I work in angualar and I solved it by separating the chart into 2 component, one is a component where I draw the legend by myself and one is to draw pie only using echarts. both are contained under a parent component having display: flex where I have flex-grow: 1 for the pie child component. this solved the responseness issue for me.


[ci] do not fail on Docker build failure

Since the docker image is only experimentally supported and causing
build errors, we only attempt to build it but don't fail when it fails.
Signed-off-by: Timothy Trippel<EMAIL_ADDRESS>

i'm merging this one first since there are still a few people seeing docker instability.


Impossible to use MatrixVec for storage of a statically sized matrix?

Hello! I'm trying to figure out how to use nalgebra and I'm hitting the following issue.
I have a function that parses a list of numbers and returns a Vec<f64>. I use the function in such a way that the vector is ensured to have a certain size (in this case, 20 elements). I want to create a Matrix4x5 with the contents of this vector. Using Matrix4x5::from_row_slice() would work, but as far as I can tell it will copy the contents of the vector into a stack-based array. What I'd like to do is to use the existing vector storage with something along Matrix4x5::from_data(MatrixVec::new(U4, U5, my_vector)), which errors out with "expected MatrixArray, found MatrixVec".
Is there any way of doing this?

So if I understand correctly, you want to have a 4x5 matrix with a dynamically-allocated storage? The only structures with dynamically allocated storage are DVector and DMatrix, so you should use something like:
DMatrix::from_data(MatrixVec::new(Dynamic::new(4), Dynamic::new(5), my_vector))

Unfortunately it is not currently possible to have a dynamically-allocated matrix with both dimensions known at compile-time. Another option would be to use a heap-allocated Matrix4x5 but there will be copy of your Vec into the stack, and then on the stack into a Box.

I see, thanks.


Upgrade OCLint to v0.10.2

Please add an appcast

@adidalal sorry for skipping that section from the contributing guideline, just added appcast.

Thank you for the contribution. It was merged directly as 029c74abf9efe169e750f3e957d9faf3a62e126d to keep commit history cleaner. Your contribution is still credited to you.


missing api resources

When discovering api resources we fetch the api groups, eg:
    {
      "name": "batch",
      "versions": [
        {
          "groupVersion": "batch/v1",
          "version": "v1"
        },
        {
          "groupVersion": "batch/v1beta1",
          "version": "v1beta1"
        }
      ],
      "preferredVersion": {
        "groupVersion": "batch/v1",
        "version": "v1"
      }
    },

And we just use the preferredVersion, but it turns out that there are api resources that may be in a non-preferred version which we thus miss. We should instead use all versions mentioned.

Fixed in #4


Update 3W data for MOZ, ETH, SDN, SSD

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.773%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1662

Relevant Lines:
1811

💛  - Coveralls


[rt.openssl.org #4470] FEATURE: OpenSSL test script for configurations and options

Migrated from rt.openssl.org#4470 (status was 'new')
Requestors:

<EMAIL_ADDRESS>
Attachments:

openssl-test.tar.gz
openssl-test.tar.gz
openssl-test.tar.gz

From<EMAIL_ADDRESS>on 2016-03-22 12:53:15:
Hi Everyone,

Attached is a test script to repeatedly configure, build and test
OpenSSL under different configuration options. Options include the
usual suspects like "no-asm", "no-ssl2", "no-ssl3" and "no-comp". It
also includes other options, like Debug, Release, IPv4 and IPv6.

I understand some of the devs have similar scripts Please consider
adding the attached script or a similar dev script to the tarball.

The script will help the project proactively detect issues, and help
it avoid reactive fixes. As the script grows in depth and breadth,
OpenSSL will only get stronger.

Thanks in advance.

From<EMAIL_ADDRESS>on 2016-03-22 13:20:02:
Updated to fix the additional options, like "-g2 -Os"

On Tue, Mar 22, 2016 at 8:53 AM, The default queue via RT
<EMAIL_ADDRESS>wrote:
>
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>         "FEATURE: OpenSSL test script for configurations and options",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket has been
> assigned an ID of [openssl.org #4470].
>
> Please include the string:
>
>          [openssl.org #4470]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
>                         Thank you,
><EMAIL_ADDRESS>>
> -------------------------------------------------------------------------
> Hi Everyone,
>
> Attached is a test script to repeatedly configure, build and test
> OpenSSL under different configuration options. Options include the
> usual suspects like "no-asm", "no-ssl2", "no-ssl3" and "no-comp". It
> also includes other options, like Debug, Release, IPv4 and IPv6.
>
> I understand some of the devs have similar scripts Please consider
> adding the attached script or a similar dev script to the tarball.
>
> The script will help the project proactively detect issues, and help
> it avoid reactive fixes. As the script grows in depth and breadth,
> OpenSSL will only get stronger.
>
> Thanks in advance.
>
>
> -------------------------------------------------------------------------
> http://rt.openssl.org/Ticket/Display.html?id=4470&user=guest&pass=guest

From<EMAIL_ADDRESS>on 2016-03-27 08:57:46:
Updated to print the options used when a failure occurs; add
additional test configurations, like "no-asm -ansi".

The QA/Testing team should try the script. Its very revealing. Here's
what I am seeing:

$ grep '!!!!!!!!!!' openssl-result.txt
!!!!!!!!!!FAILED (no-aes)!!!!!!!!!!
!!!!!!!!!!FAILED (no-asm no-aes)!!!!!!!!!!
!!!!!!!!!!FAILED (no-autoalginit)!!!!!!!!!!
!!!!!!!!!!FAILED (no-asm no-autoalginit)!!!!!!!!!!
...

Its better to run the script on a machine with 8 or 16 cores because
there's a lot of combinations and you'll get results faster. The
script automatically steps up job counts based on logical processors.
I think the project has some big iron lying around, so it should be
available somewhere.

> -------------------------------------------------------------------------
> Hi Everyone,
>
> Attached is a test script to repeatedly configure, build and test
> OpenSSL under different configuration options. Options include the
> usual suspects like "no-asm", "no-ssl2", "no-ssl3" and "no-comp". It
> also includes other options, like Debug, Release, IPv4 and IPv6.
>
> I understand some of the devs have similar scripts Please consider
> adding the attached script or a similar dev script to the tarball.
>
> The script will help the project proactively detect issues, and help
> it avoid reactive fixes. As the script grows in depth and breadth,
> OpenSSL will only get stronger.
>
> Thanks in advance.

We have the checker that does this once a day and emails to openssl-commits.  That 'no-asm -ansi' configuration isn't a bad idea, that should probably be added.

@levitte Is adding that to bureau enough, or do you have another copy somewhere run out of cron?

It uses the run-checker from bureau, but doesn't update it automatically.  I'll notice when it's change and will update accordingly.

Beat you to it ;-)


WebAuthn backport to SS3: back and front end

just do it (after we do it)

Just tested, I can't complete the registration process. I get a server error returned after I've pressed my key and press the "next" button.

I think my problem was a missing Guzzle dependency, since I switched to @NightJar's branch with Git rather than Composer. Once the PSR-7 library is there it works nicely. Closing - follow ups can be made with @ScopeyNZ's work in the admin area.


Move config env parsing code to config helper functions

Should be in a file outside the config so there's less clutter.

Fixed in bc1a6a1a2bcf84ced658eb20d5297c44b44fa97c.


Add analysis Setup/Teardown functions to the analysis Driver [phab:D424]

Created by schroederc at 2015-07-24 19:05:29:

schroederc closed via commit aec77d7df119effe2c450129158184f5c10ae423 at 2015-07-24 20:00:40


console errors when using component for twitch stream

Hello there,
I' m trying to put my component with url and with some options on twitch, and have this error:

How i can solve this? Many thanks!

Same with Vimeo direct URL's. Reverting back to 1.2.1 works.

@pedropcruz @hellojere What URL/props are you using to cause this error? Examples code/repos/jsFiddles are very useful.

@CookPete Happens with the react-player demo too when using the following for the source:
https://player.vimeo.com/external/134290208.sd.mp4?s=9000cee9e39cb10a907c297ec36bcde452dfb9e5&profile_id=112

@CookPete in my case just showing doing this:
<ReactPlayer
                        className="react-player"
                        url="https://www.twitch.tv/pedropcruz"
                        config={{
                            twitch:{
                                options:{
                                    'font-size':'small',
                                    channel: 'pedropcruz',
                                    chat: 'default',
                                    layout: 'video-and-chat',
                                    theme: 'dark',
                                    src: 'https://www.twitch.tv/pedropcruz/chat'
                                }
                            }
                        }}
                    />

@pedropcruz your config is working correctly for me? See jsFiddle.
After a closer look at your screenshot, it looks like it could be an adblock extension that is preventing sdkloader from loading, which may be preventing the Twitch SDK from being loaded.
@hellojere this looks like a separate issue where the Vimeo player is attempting to play your MP4 file, as the URL for the file contains vimeo.com.

@CookPete Hmmn. Ok. It indeed should be playing an MP4 and not embedding a Vimeo player at all. I'll look into other solutions for this. Cheers.

already remove adblock and other type of that extension, and the error continues the same.

@pedropcruz What are the exact console errors you are seeing with adblock disabled?

I seem to be receiving a similar error without the chat rendering

this is my render call:

even with a src added, it still errors out at a window.appendChild function call.

Just had a closer look – you guys are trying to use options for the Embed Everything player like chat, layout and theme. Currently ReactPlayer uses the Interactive Frame player, which uses fewer options.
I'll see if it makes sense to switch over to use Twitch.Embed() for everything rather than Twitch.Player() – perhaps using Twitch.Embed() only if certain options are set.

Turns out that Twitch.Embed() doesn't quite work for us as it only has events for ready and play. I think the solution here is to only embed the video, and embed the chat window separately by following the Twitch docs.


allow_missing=True not working with nested args on passing null

I'm trying to follow jsonapi's spec on updating relationships, so I made the following args
args = {
    'data': Arg({
        'type': Arg(str, required=True, target='json'),
        'id': Arg(int, required=True, target='json')
    }, required=False, allow_missing=True)
}

@private.route('/departments/<int:dept_id>/relationships/companies', methods=['PATCH'])
@use_args(args, locations=('json',))
def function(args, dept_id):
    ...

here I'm expecting that when I pass an object in data, it will try to validate it if it has the necessary fields (type and id) and when I pass null it will continue on and give me dict object of {data: None}, but only the former is working, if I try to pass null it gives me an 422 UNPROCESSABLE ENTITY error saying "Expected type 'object' for data, got 'null'"
as mentioned in #9 , with allow_missing=True values will only be excluded if they are not found on the request; otherwise if given value of null then it will be included in the parsed arguments.

This is now fixed by virtue of using marshmallow's Nested field.


Upgrade the Gradle wrapper to 8.7

Ah, yes, 526b783fdef14c583443e96b067cf170cf090684 is the exact commit to upgrade Gradle, and the next 4e6cf745e309c0724371de7d74169f97a0fd4485 is required to make it happen.
For some reasons, Gradle judged that this project's compileTestJava and checkstyleTest somehow used the result of jar, and recent Gradle requires us to declare such dependencies explicitly.
You can see the error message at: https://github.com/embulk/embulk-parser-csv/actions/runs/8829820651/job/24241673277

@dmikurube Thanks LGTM👍

Thanks!


[BUG] Filters in Web security page

Describe the bug
The indicator color for selected filter is applied during hover only, after i select the filter and move the cursor the orange color doesnt persist .
To Reproduce

Go to Web Securit page
Click on any of the tabs there (Topic - web labs ...)
Click on any of the filters in the left section
the filter applies but the there's no visual indicator (no orange color on the selected filter  )

Expected Behavior
The selected filter has a differentiating color that would persist even after hovering on the filter
Screenshot/ Video

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@92206 Thanks, would you like to handle this bug?

I would like to work on this if it's okay with you @92206  ?

sure , please go ahead .

Great ! @ArkadiK94  can i be assigned ?


channel_axis argument fails with dask.array

🐛 Bug
Just wanted to post this here so I don't forget.
Dask arrays do not have a take method, so if you try to call add/view_image on a dask array with the channel_axis argument, you get: AttributeError: 'Array' object has no attribute 'take' at line 552 below:
https://github.com/napari/napari/blob/15deef08f1aea5e6a6951f7a83d4713f16070ed4/napari/components/viewer_model.py#L545-L552
import napari
import numpy as np
import dask.array as da

napari.view_image(np.random.random((2,10,10,10)), channel_axis=0)  # works
napari.view_image(da.random.random((2,10,10,10)), channel_axis=0)  # Attribute Error

Can't immediately think of an elegant fix, other than checking if isinstance(data, da.Array) and then calling da.take

That's no good! I thought I had tried this with a dask array, but evidently not. Here is the dock string for da.take. It looks like this can actually just be replaced by np.take and that will still return as dask array. i will make a short PR


Using nn.gModule

I have another question, I'm new to machine learning, and especially to torch. Why you wrapped your model with nn.gModule, neither than nn.Module. What is the difference?

nn.gModule is in a torch package called nngraph, check out nngraph


Feature/abi types encoding

Uint data type.

Current coverage is 79.03% (diff: 42.85%)

Merging #8 into master will decrease coverage by 0.37%

@@             master         #8   diff @@
==========================================
  Files            32         33     +1
  Lines           918        935    +17
  Methods           0          0
  Messages          0          0
  Branches         92         95     +3
==========================================
+ Hits            729        739    +10
- Misses          141        145     +4
- Partials         48         51     +3

Powered by Codecov. Last update 2d27aa5...7b9c20d


Fields values are ignored?

I'm running influx1.3.3. and the latest influx-stress binary.
influx-stress insert --pps 1 -n 10 cpu,host=server field1=100.0
select * from cpu
name: cpu
time                field1 host
----                ---- ----
1503086572364559306 0    server-0
1503086573367787961 0    server-1
1503086574366653212 0    server-2
1503086575368854918 0    server-3
1503086576369727488 0    server-4
1503086577365074040 0    server-5
1503086578368212529 0    server-6
1503086579369044237 0    server-7

@Manoj321 field values are ignored. We just look at type and field names and start and incremental counter.

Makes sense..


mat-checkbox: Element matching '[cdkFocusInitial]' is not focusable.

What is the expected behavior?
Hi, I have a <mat-checkbox > that I'd like to autofocus inside a dialog. For this I'm using <mat-checkbox cdkFocusInitial ...>
What is the current behavior?
mat-checkbox does not receive focus, and the console contains a warning "Element matching '[cdkFocusInitial]' is not focusable."
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-vmf92a
For some reason the stackblitz does not log the error to console, it only silently fails to set the initial focus.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.2.3, Material 7.3.1, MacOS Mojave, ts 3.2.4, chrome.
Is there anything else we should know?
Keep up the good work!

It's because the mat-checkbox element itself isn't focusable (the input inside it is). It'll be fixed by https://github.com/angular/material2/pull/14473.


Update Gateway namespaces

Since https://github.com/projectcontour/contour/issues/3615 was fixed,
Contour takes care of the namespace of Gateway.
So this patch moves external and internal Gateway moves to
test-gateway namespace and test-local-gateway namespace.
side note: Contour pod and Gateway must be deployed in the same
namespace due to https://github.com/projectcontour/contour-operator/issues/343.
(It also means that two Gateways cannot be deployed in the same namespace.)
/cc @markusthoemmes @ZhiminXiang @tcnghia

@ZhiminXiang can you please help with this PR? thanks

Thank you @tcnghia :pray:
@ZhiminXiang https://github.com/knative-sandbox/net-ingressv2/pull/74 fixes the CI and also covers this PR, so could you please take a look at https://github.com/knative-sandbox/net-ingressv2/pull/74 ?


button message not seen

button message not seen after update whatsapp

@ookamiiixd ?

@ookamiiixd please also fix this issue

@ookamiiixd please also fix this issue

can't. this error from baileys it self. can't send buttons, lists or templates at this time because WA is changing their structure. have to wait for what happens next.


Windows have titlebar (contrary to settings)

Even though my settings have to titlebars in i3, I'm seeing titlebars in sway. I don't see any issues or any specific docs on disabling titlebars either.
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

### SWAY-SPECIFIC-STUFF

input "1452:657:Apple_Inc._Apple_Internal_Keyboard_/_Trac" {
  natural_scroll enabled
}

### / SWAY-SPECIFIC-STUFF

set $mod Mod4

### colour ###

# set $bg-color            #414959
# set $inactive-bg-color   #303641
# set $text-color          #b3bdcb
# set $inactive-text-color #9da3ad
# set $urgent-bg-color     #E53935

set $bg-color            #404552

set $focused-bg-color    #404552
set $active-bg-color     #373c48
set $inactive-bg-color   #2f343f
set $text-color          #c3cddb
set $inactive-text-color #9da3ad
set $urgent-bg-color     #E53935

set $indicator           #00ff00
set $separator           #757575

# class                 border              background         text                 indicator
client.focused          $focused-bg-color   $focused-bg-color  $text-color          $indicator
client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-color $indicator
client.focused_inactive $inactive-bg-color  $focused-bg-color  $inactive-text-color $indicator
client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $indicator

# client.unfocused #3a3a3a #222222 #bbbbbb #292d2e

### /colours ###

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
# font pango:DejaVu Sans Mono 8
font pango:Open Sans 9
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.

 It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# split in horizontal orientation
bindsym $mod+b split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
bindsym $mod+Shift+a focus child

# switch to workspace
bindsym $mod+1 workspace 1: 
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8: 🔊
bindsym $mod+9 workspace 9: 
bindsym $mod+0 workspace 10: 
bindsym $mod+Control+1 workspace 11
bindsym $mod+Control+2 workspace 12
bindsym $mod+Control+3 workspace 13
bindsym $mod+Control+4 workspace 14
bindsym $mod+Control+5 workspace 15
bindsym $mod+Control+6 workspace 16
bindsym $mod+Control+7 workspace 17
bindsym $mod+Control+8 workspace 18
bindsym $mod+Control+9 workspace 19
bindsym $mod+Control+0 workspace 20

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1: 
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8: 🔊
bindsym $mod+Shift+9 move container to workspace 9: 
bindsym $mod+Shift+0 move container to workspace 10: 
bindsym $mod+Shift+Control+1 move container to workspace 11
bindsym $mod+Shift+Control+2 move container to workspace 12
bindsym $mod+Shift+Control+3 move container to workspace 13
bindsym $mod+Shift+Control+4 move container to workspace 14
bindsym $mod+Shift+Control+5 move container to workspace 15
bindsym $mod+Shift+Control+6 move container to workspace 16
bindsym $mod+Shift+Control+7 move container to workspace 17
bindsym $mod+Shift+Control+8 move container to workspace 18
bindsym $mod+Shift+Control+9 move container to workspace 19
bindsym $mod+Shift+Control+0 move container to workspace 20

# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym h resize shrink width 10 px or 10 ppt
        bindsym j resize grow height 10 px or 10 ppt
        bindsym k resize shrink height 10 px or 10 ppt
        bindsym l resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
        status_command python $HOME/.config/i3/status.py
        colors {
          background $inactive-bg-color
          separator $separator
          #                  border             background         text
          focused_workspace  $focused-bg-color  $focused-bg-color  $text-color
          active_workspace   $focused-bg-color  $active-bg-color   $text-color
          inactive_workspace $inactive-bg-color  $inactive-bg-color $inactive-text-color
          urgent_workspace   $urgent-bg-color   $urgent-bg-color   $text-color
        }
        separator_symbol "|"

        # tray_output primary
}

#exec_always --no-startup-id feh --bg-scale $HOME/.wallpapers/1.jpg

new_window pixel
hide_edge_borders both

for_window [class="B2g"] floating enable
for_window [class="Upwork"] floating disable

workspace_auto_back_and_forth yes

Screenshot:

That is gtk3 app, so it draws it's own titlebar on the client side. If your application has no feature such as turning the header bar off, you should patch Gtk somehow.
https://github.com/SirCmpwn/sway/wiki
Grep for Disabling client-side GTK3 decorations. I also think it is worthful to ask gtk guys about this on their bugtracker. There should be an option allowing header bars removal.

GTK3 applications can also expose config options for that (it's up to the app whether it is decorated or not). So opening an issue with the application developer is an option too.

Thanks for the clear explanations. (I searched for "titlebar", and github's search didn't pick up "title bar" 😅 ).
FWIW, I've opened an issue on GTK's issue tracker here. If I ever get the time, I might try and look into it, but, TBH, my C sucks too much for this sort of thing and I don't think it'll happen.

I was able to disable gtk3 titlebars by using a negative margin in ~/.config/gtk-3.0/gtk.css:
.titlebar.default-decoration {
  margin: -200px;
  opacity: 0;
}

@pauloue, I don't believe this is the best place to post that. You should probably put it on sway's wiki (probably around https://github.com/swaywm/sway/wiki#my-favorite-application-isnt-displayed-right-how-can-i-fix-this)


UI Step 2 - Issue no. 11 - Information buttons

@FIN-casey
The text associated with a few information buttons needs to be updated, please (see my instructions below).

The text associated with Information button no. 2 should now read:

To remove a species from a given functional group, deselect it from the column "Species" using the dedicated radio button.

To remove all the species belonging to the same class from a given functional group, deselect the class from the column "Class" using the dedicated radio button; this action will deselect all the species belonging to the class from the column "Species" of the functional group.

The text associated with Information button no. 3 should now read:

The text associated with Information button no. 3 should now read:

The changes in the information text are now implemented.

@FIN-casey Many thanks! I can now close the present issue.


the position of first intron

I am a little bit confused about the first intron, just using the first one in the introns.bed  of each gene or we should also use the *.genepred  file and consider more things about it.
Thank you so much, your code is pretty valuable.
I am looking forward to your reply.

Hi @sixone11, the introns.bed will contain all the introns. We are revamping this repositry to make it easier to get the first intron, last intron etc.
I hope that helps!


[Issue-3612] Fix bug showing balance VFT

🚀 Deployed on https://pr-3618--sw-web-runner.netlify.app


[DROOLS-1454] osgify kie-dmn

Missing license on Activator (and since we're the only level 3(?) compliant runtime we'd probably like to protect our efforts?)

@manstis I did not noticed it was missing. I will add one on another commit.

@manstis done: https://github.com/droolsjbpm/kie-dmn/commit/95691988ce6afbaca6095100f2272377ed03fa86


Error: Building package cudnn:x64-windows failed with: BUILD_FAILED

PS C:\Users\Albert Jin Young Seo\ML\vcpkg> .\vcpkg install darknet[opencv-base,cuda,cudnn]:x64-windows
Computing installation plan...
The following packages will be built and installed:

cuda[core]:x64-windows -> 10.1#7
cudnn[core]:x64-windows -> 7.6.5#1
darknet[core,cuda,cudnn,opencv-base]:x64-windows -> 2021-01-21
ffmpeg[avcodec,avdevice,avfilter,avformat,avresample,core,gpl,postproc,swresample,swscale]:x64-windows -> 4.3.2#4
libjpeg-turbo[core]:x64-windows -> 2.0.6
liblzma[core]:x64-windows -> 5.2.5#2
libpng[core]:x64-windows -> 1.6.37#14
libwebp[core,nearlossless,simd,unicode]:x64-windows -> 1.1.0#2
opencv[core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1
opencv4[core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1
protobuf[core]:x64-windows -> 3.15.8
pthreads[core]:x64-windows -> 3.0.0#8
quirc[core]:x64-windows -> 1.1#2
stb[core]:x64-windows -> 2020-09-14
tiff[core]:x64-windows -> 4.1.0#1
zlib[core]:x64-windows -> 1.2.11#9
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Found CUDA V11.3.58
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\Albert Jin Young Seo\AppData\Local\vcpkg\archives\01\01b2212e6e551bd035918947d9087307212340fd.zip
Building package cuda[core]:x64-windows... done
Installing package cuda[core]:x64-windows...
Installing package cuda[core]:x64-windows... done
Elapsed time for package cuda:x64-windows: 624.7 ms
Starting package 2/16: cudnn:x64-windows
Building package cudnn[core]:x64-windows...
-- Found CUDA V11.3.58
-- CUDNN_INCLUDE_DIR: CUDNN_INCLUDE_DIR-NOTFOUND
-- CUDNN_LIBRARY: CUDNN_LIBRARY-NOTFOUND
CMake Error at ports/cudnn/portfile.cmake:136 (message):
Please install manually cuDNN for your CUDA v11.3
Call Stack (most recent call first):
scripts/ports.cmake:142 (include)

Error: Building package cudnn:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: cudnn:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
Please let me know what is the issue,
Very respectfully,

Hi @albertseo1990
Thanks for posting this issue.
@cenit Could you please help take a look?
It seems that it still have problems.

unfortunately for cuda 11.3 users have to install cudnn manually and then let the portfile find it... vcpkg is not redistributing cudnn8 for cuda 11.3.
There was a PR hanging around to add it for some cuda versions but my pr was to fix finding cudnn already installed, not install it

This will be fixed by PR #17331.

it will not be fixed. It will stay the same, on the contrary the portfile will NOT download any cudnn anymore for no-one, not even for cuda versions that were automatic before

Thanks for your information @cenit.
Can you help try to fix this?

unfortunately is not fixable.
As @BillyONeal said in https://github.com/microsoft/vcpkg/pull/17331#issuecomment-824302062, due to licensing problems vcpkg cannot redistribute cudnn anymore, so cudnn will always ask users to install cudnn manually if missing.
@albertseo1990 has to download cudnn manually on his system as the log in the initial message is already saying
-- Found CUDA V11.3.58
-- CUDNN_INCLUDE_DIR: CUDNN_INCLUDE_DIR-NOTFOUND
-- CUDNN_LIBRARY: CUDNN_LIBRARY-NOTFOUND
CMake Error at ports/cudnn/portfile.cmake:136 (message):
Please install manually cuDNN for your CUDA v11.3
Call Stack (most recent call first):
scripts/ports.cmake:142 (include)

So this is intended. We have to download it manually now.

So this is intended. We have to download it manually now.

unfortunately, yes

I did make the error message suggest how the user might remediate the problem rather than just saying "go install this" so at least something got better, but yeah, not a good situation

@albertseo1990
Please download cudnn manually. I think this issue can be closed now.


Missing BAM indexes causes pipeline failure during sharded BQSR

Issue first reported by Umang here: https://gatk.broadinstitute.org/hc/en-us/community/posts/360068718312-issue-with-gatk4-exome-analysis-pipeline-when-running-given-sample-data
Reproduced in the following environment:

Cromwell 52 (listed as supported)
gatk-workflows/gatk4-exome-analysis-pipeline 1.4.0 release
Singularity backend from example

https://github.com/broadinstitute/cromwell/blob/develop/cromwell.example.backends/singularity.conf

Made changes in two separate batches, as Variant Calling was also affected by this issue.

This repository will be archived, an issue ticket has been created within the new repository holding the pipeline. Here


Enable logging

Closes #72
Removing logback-test.xml made logging happen again. Not entirely sure why, but we are now getting logs (to files, and the correct pattern to stdout).

Huh, turns out logback reads both logback.xml and logback-test.xml, whichever is in the classpath. Before, we had  both in src/main/resources, so the test (empty) config was being used. Now, the test config is used for tests, and the regular configuration used for code.


Em dash digraph not working while unicode does work

Steps to reproduce
method 1. DIGRAPH:  insert Ctrl, k, --
(produces a hyphen)
method 2. UNICODE: insert Ctrl+v u2014
(produces an em dash)
Expected behaviour
Expected behaviour is that the documented digraph (method 1) should produce an em dash character; instead, it produces a hyphen character.
The documented unicode method of inserting an em dash character, does produce the em dash; but takes a lot more keystrokes to achieve.
Version of Vim
9.0.1550
Environment
macOS
xterm-256color
BASH 5.2.15(1)-release  (aarch64-apple-darwin22.1.0)
Logs and stack traces
Here's the vim log attached.
myVimLog.txt

The documented digraph is -M.

:digraph menu
When viewing :digraph on a bigger screen, I can see that @zeertzjq—you are correct!

ChatGPT

Seems that ChatGPT has been giving me inaccurate data.

seriously, you asked ChatGPT? What about reading the documentation?

That's a valid question @chrisbra although I feel you may have meant it as rhetorical.
Firstly, why not ask ChatGPT?
Secondly, if you try and search for "dash" in the vim documentation, there is nothing about the digraph em dash.
Lastly, its very difficult to se is from the :digraph bitmap that is printed, particularly on a laptop screen.
One may have the greatest features and product in the world, but if no one knows it, they won't use it! IMHO

The digraph list has capitalized descriptions.

First of all, digraphs are documented in the help document: digraph.txt so :h digraph.txt has all information you need (including a listing of all digraphs).
Or you can search using the :helpgrep command: :helpgrep em.dash\c (I added the \c to make sure we ignore case when searching). Then it is the first match.

To know how to see the help, :h 02.8 will help.
https://github.com/vim/vim/blob/2a94e9879283c55b162cf4e6d9ac7e0b0c35bc97/runtime/doc/usr_02.txt#L406-L413
We may need to mention ChatGPT here ;-)

With Vim, the built-in help system covers everything, it is never (or extremely rarely) out-of-date, and in addition there are even two whole helpfiles dedicated to how to find info in the documentation:
:help " (or F1)
:help helphelp

To look into the whole help system for the string "em dash" (the \c is there to force caseless search):
:helpgrep em dash\c

There is one match, and it tells us that -M is the desired digraph.
Or
:h digraph.txt

will bring you to the helpfile about digraphs, then
/em dash

will bring you to the correct line (if 'ignorecase' is set then \c is not necessary here, but you can still add it to force caseless search regardless of the 'ignorecase' setting).
Or the first help item of the digraph.txt helpfile tells us that
:digraphs!

(which you may shorten to :dig!) displays all available digraphs (the ! adds subtitles to make it easier to find what you need), then on the first line below Punctuation (with my screen size and 'guifont' setting it is about one screen down from the top) the digraph you want is described as
-M —  8212

meaning that the digraph -M is the one for the em dash character, i.e. — or 8212 decimal. Of course, to enter that in Insert mode you would type Ctrl-K -M, as the help item :h i_digraph (the first one under :h digraphs-use) tells us.
All the above tells us that the official Vim help, installed with the program, has the correct desired info, and that ChatGPT, which is not affiliated with Vim, is in this case incorrect or at least misleading.
Best regards,
Tony.


Add support for binary literals

Per the ANSI spec:
<binary string literal> ::=
    X <quote> [ <space>... ] [ { <hexit> [ <space>... ] <hexit> [ <space>... ] }... ] <quote>
      [ { <separator> <quote> [ <space>... ] [ { <hexit> [ <space>... ]  <hexit> [ <space>... ] }... ] <quote> }... ]
<hexit> ::=
    <digit> | A | B | C | D | E | F | a | b | c | d | e | f

Additionally:

The sequence

   <quote> [ <space>... ] { <hexit> [ <space>... ] <hexit> [ <space>... ] }... <quote>

is equivalent to the sequence
   <quote> { <hexit> <hexit> }... <quote>

The sequence

   <quote> { <hexit> <hexit> }... <quote> <separator>
   <quote> { <hexit> <hexit> }... <quote>

is equivalent to the sequence
   <quote> { <hexit> <hexit> }... { <hexit> <hexit> }... <quote>

The introductory 'X' may be represented either in upper case (as 'X') or in lower case (as 'x').
It is implementation-defined whether the declared type of a binary string literal is a fixed-length binary string type, a variable-length binary string type, or a binary large object string type.

this is Yang, I'll be joining the team (I'm in bootcamp now), may I claim this task? thanks

Martin:
can I have a clarification?
when you said "is equivalent .." , you removed the spaces.
so we are not allowing hex strings of the form      X'  a0  b0 c0 ff ' ? (i.e. only allow  X'a0b0c0ff' )
Thanks
yang

I copied that straight from the spec, but what it means is that you can think of the one with spaces as if it didn't have any spaces. It doesn't mean that we don't support the version with spaces.
I don't think we need to support the one with separators at this point.

thanks. for the result, say given an input        "X'61' "  , do we want the resulting StringLiteral to hold "61" or "\u0061" (single letter "a")

It shouldn't be a string literal. It should be a binary literal (which doesn't exist today, and should contain a byte array with the data)

hi Martin : I wrote the grammar definition part. it actually supports the full spec (including the separator). it's a bit tricky because of the separator support, so I was hoping to run it by you first.
the basic thought is that, we want to easily skip out the separator (comment and ws), using the parser's built-in ability, instead of having to pick out the comment in BinaryStringLiteralContext.getText(), in order to be able to skip out the separator, the resulting binary_string has to be a non-terminal/rule, instead of terminal. then the segments (e.g. 'ab 01 0f' ) become full terminals, and could overlap with the existing definition of STRING, so STRING has to be changed to a non-terminal, and AstBuilder has to make corresponding changes on STRING() calls.  the starting "X" of binaryStringLiteral overlaps with IDENTIFIER, so one extra option has to be added to identifier rule.
https://github.com/yangyangyyy/presto/commit/77be010df4952ed687df644a49953e065f71f77f#diff-b6133c98ceb3bc51fb1698a107e63ee8R535
this way in BinaryStringLiteral's children are nicely cleansed of separators

Let's not add support for separators right now. We can consider adding it later. It's a weird feature that we don't support anywhere else at this time, so it's likely to break a bunch of things (query formatting, CLI editing, etc)

sounds good, I'll keep it as a token


Error after sudo make install

This link wasn't working here http://slackinvite.molo.ch/
Elasticsearch version: 5.6.7
Moloch version: Last one from Github at time of writing
OS name and version: Ubuntu 16.04 LTS
How was Moloch built/installed: sudo ./easybutton-build.sh --install
Provide logs, stack traces and steps to reproduce:
Fresh Ubuntu install.
Using the deb it wouldn't work, so I'm trying to build from source.
I followed the steps from Github.
Installed ES 5.6.7, installed Node.js version 6.x and ran sudo npm install on viewer directory.
Errors at the end (yes, first I had already launched sudo ./easybutton-build.sh):
netkia@netkia-pc:/data/moloch$ sudo ./easybutton-build.sh --install
MOLOCH: Installing Dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
bison is already the newest version (2:3.0.4.dfsg-1).
dh-autoreconf is already the newest version (11).
flex is already the newest version (2.6.0-11).
g++ is already the newest version (4:5.3.1-1ubuntu1).
gettext is already the newest version (0.19.7-2ubuntu3).
libbz2-dev is already the newest version (1.0.6-8).
libffi-dev is already the newest version (3.2.1-4).
libgeoip-dev is already the newest version (1.6.9-1).
libjson-perl is already the newest version (2.90-1).
libmagic-dev is already the newest version (1:5.25-2ubuntu1).
libpcre3-dev is already the newest version (2:8.38-3.1).
libpng12-dev is already the newest version (1.2.54-1ubuntu1).
libreadline-dev is already the newest version (6.3-8ubuntu2).
libsocket6-perl is already the newest version (0.25-1build2).
libtool is already the newest version (2.4.6-0.1).
libwww-perl is already the newest version (6.15-1).
libyaml-dev is already the newest version (0.1.6-3).
make is already the newest version (4.1-6).
pkg-config is already the newest version (0.29.1-0ubuntu1).
xz-utils is already the newest version (5.1.1alpha+20120614-2ubuntu2).
curl is already the newest version (7.47.0-1ubuntu2.8).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.12).
uuid-dev is already the newest version (2.27.1-6ubuntu3.4).
wget is already the newest version (1.17.1-1ubuntu1.4).
zlib1g-dev is already the newest version (1:1.2.8.dfsg-2ubuntu4.1).
The following packages were automatically installed and are no longer required:
ant ant-optional antlr ca-certificates-java default-jre-headless groovy2 gyp ivy java-common java-wrappers
javascript-common junit4 libantlr-java libapache-pom-java libasm4-java libbsf-java libbsh-java libcommons-cli-java
libcommons-logging-java libcommons-parent-java libelasticsearch1.7-java libgpars-groovy-java libhamcrest-java
libhawtjni-runtime-java libhyperic-sigar-java libjansi-java libjansi-native-java libjcommander-java libjcsp-java
libjline2-java libjna-java libjna-jni libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libjsr166y-java
libjts-java libllvm3.8 liblog4j-extras1.2-java liblog4j1.2-java liblucene4.10-java libmircommon5 libnetty-3.9-java
libqdox-java libqmi-glib1 libqpdf17 libservlet2.5-java libspatial4j-0.4-java libuv1 libuv1-dev libxpp3-java
libxstream-java libyaml-snake-java node-abbrev node-ansi node-ansi-color-table node-archy node-async node-block-stream
node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini
node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid
node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json
node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which openjdk-8-jre-headless testng ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
MOLOCH: Downloading and building static thirdparty libraries
MOLOCH: Not rebuilding glib
MOLOCH: Not rebuilding yara
MOLOCH: Not rebuilding libmaxmind
MOLOCH: NOT rebuilding libpcap
MOLOCH: Not rebuilding curl
MOLOCH: Not rebuilding lua
MOLOCH: Building capture
./configure --prefix=/data/moloch --with-libpcap=/data/moloch/thirdparty/libpcap-1.8.1 --with-yara=thirdparty/yara/yara-3.7.1 --with-maxminddb=thirdparty/libmaxminddb-1.3.2 --with-glib2=thirdparty/glib-2.54.3 --with-curl=thirdparty/curl-7.59.0 --with-lua=thirdparty/lua-5.3.4
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for git... git
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for main in -lpcre... yes
checking for main in -luuid... yes
checking for main in -lrt... yes
checking for main in -lnet... no
checking for main in -ldl... yes
checking for main in -lresolv... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for pfring... no
checking for libpcap... /data/moloch/thirdparty/libpcap-1.8.1
checking for nl_socket_alloc in -lnl-3... no
checking for nl_socket_alloc in -lnl... no
checking for nl_handle_alloc in -lnl... no
checking for yara... thirdparty/yara/yara-3.7.1
checking for maxminddb... thirdparty/libmaxminddb-1.3.2
checking for glib2... thirdparty/glib-2.54.3
checking for curl... thirdparty/curl-7.59.0
checking for lua... thirdparty/lua-5.3.4
checking for magic... checking for main in -lmagic... yes
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating capture/Makefile
config.status: creating capture/plugins/Makefile
config.status: creating capture/plugins/daq/Makefile
config.status: creating capture/plugins/pfring/Makefile
config.status: creating capture/plugins/snf/Makefile
config.status: creating capture/plugins/lua/Makefile
config.status: creating capture/parsers/Makefile
config.status: creating db/Makefile
config.status: creating tests/plugins/Makefile
config.status: creating viewer/Makefile
config.status: creating viewer/version.js
config.status: creating parliament/Makefile
config.status: creating release/Makefile
config.status: creating capture/molochconfig.h
config.status: capture/molochconfig.h is unchanged
config.status: executing depfiles commands
Making all in .
make[1]: Entering directory '/data/moloch'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/data/moloch'
Making all in capture
make[1]: Entering directory '/data/moloch/capture'
gcc -fPIC -g -O2 -Wall -Wextra -D_GNU_SOURCE -c main.c db.c yara.c http.c config.c parsers.c plugins.c field.c trie.c writers.c writer-inplace.c writer-disk.c writer-null.c writer-simple.c readers.c reader-libpcap-file.c reader-libpcap.c reader-tpacketv3.c packet.c session.c molochmagic.c rules.c drophash.c
-I/data/moloch/thirdparty/libpcap-1.8.1
-Ithirdparty -I/data/moloch/thirdparty/glib-2.54.3/glib -I/data/moloch/thirdparty/glib-2.54.3 -I/data/moloch/thirdparty/glib-2.54.3/gmodule -I/data/moloch/thirdparty/glib-2.54.3/gobject -I/data/moloch/thirdparty/yara/yara-3.7.1/libyara/include -I/data/moloch/thirdparty/libmaxminddb-1.3.2/include -I/data/moloch/thirdparty/curl-7.59.0/include
-DBUILD_VERSION='"v1.1.0-76-g4cd28a1"'
db.c: In function ‘moloch_db_load_oui’:
db.c:1818:22: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized]
node->data = g_strdup(str);
^
field.c: In function ‘moloch_field_parse_ip’:
field.c:716:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((uint32_t *)v->s6_addr)[0] = 0;
^
field.c: In function ‘moloch_field_ip4_add’:
field.c:797:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((uint32_t *)v->s6_addr)[0] = 0;
^
writer-disk.c: In function ‘writer_disk_output_cb’:
writer-disk.c:180:13: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
(void)ftruncate(outputFd, filelen);
^
writer-disk.c: In function ‘writer_disk_output_thread’:
writer-disk.c:251:17: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
(void)ftruncate(outputFd, filelen);
^
writer-simple.c: In function ‘writer_simple_thread’:
writer-simple.c:339:13: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(info->file->fd, info->file->pos);
^
gcc -rdynamic -ggdb main.o db.o yara.o http.o config.o parsers.o plugins.o field.o trie.o writers.o writer-inplace.o writer-disk.o writer-null.o writer-simple.o readers.o reader-libpcap-file.o reader-libpcap.o reader-tpacketv3.o packet.o session.o molochmagic.o rules.o drophash.o -o moloch-capture
-u g_checksum_update -u g_hmac_update -u g_uri_unescape_segment
/data/moloch/thirdparty/libpcap-1.8.1/libpcap.a
/data/moloch/thirdparty/glib-2.54.3/glib/.libs/libglib-2.0.a /data/moloch/thirdparty/glib-2.54.3/gio/.libs/libgio-2.0.a /data/moloch/thirdparty/glib-2.54.3/gobject/.libs/libgobject-2.0.a /data/moloch/thirdparty/glib-2.54.3/gthread/.libs/libgthread-2.0.a /data/moloch/thirdparty/glib-2.54.3/gmodule/.libs/libgmodule-2.0.a /data/moloch/thirdparty/glib-2.54.3/glib/.libs/libglib-2.0.a /data/moloch/thirdparty/yara/yara-3.7.1/libyara/.libs/libyara.a /data/moloch/thirdparty/libmaxminddb-1.3.2/src/.libs/libmaxminddb.a /data/moloch/thirdparty/curl-7.59.0/lib/.libs/libcurl.a -lrt -luuid -lpcre thirdparty/http_parser.o thirdparty/js0n.o thirdparty/patricia.o -ldl -lpthread -lssl -lcrypto -lyaml
-lm -lresolv -lmagic -lffi -lz
(cd parsers; make)
make[2]: Entering directory '/data/moloch/capture/parsers'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/data/moloch/capture/parsers'
(cd plugins; make)
make[2]: Entering directory '/data/moloch/capture/plugins'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/data/moloch/capture/plugins'
make[1]: Leaving directory '/data/moloch/capture'
Making all in db
make[1]: Entering directory '/data/moloch/db'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/data/moloch/db'
Making all in viewer
make[1]: Entering directory '/data/moloch/viewer'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/data/moloch/viewer'
Making all in parliament
make[1]: Entering directory '/data/moloch/parliament'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/data/moloch/parliament'
Making all in release
make[1]: Entering directory '/data/moloch/release'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/data/moloch/release'
make: '../lua.so' is up to date.
Making install in .
make[1]: Entering directory '/data/moloch'
make[2]: Entering directory '/data/moloch'
npm install
/usr/bin/install -c -D package.json /data/moloch/package.json
/usr/bin/install: 'package.json' and '/data/moloch/package.json' are the same file
Makefile:748: recipe for target 'install-exec-local' failed
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory '/data/moloch'
Makefile:640: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/data/moloch'
Makefile:326: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
MOLOCH: Installed, now type sudo make config'
netkia@netkia-pc:/data/moloch$ sudo make config
/data/moloch/bin/Configure
/bin/bash: /data/moloch/bin/Configure: No such file or directory
Makefile:753: recipe for target 'config' failed
make: *** [config] Error 127
Thanks.

Thanks for the slackinvite ping, will look into it

What do you mean the deb doesn't work?

It looks like you are trying to build in /data/moloch, which won't work.  You need to check out into a different directory and install there.  I would wipe out or rename /data/moloch

Thanks, I've already managed to install it using the deb!

sudo -s
then run the commands
peter
On Thu, May 31, 2018 at 12:15 AM, Andy Wick<EMAIL_ADDRESS>wrote:

Closed #862 https://github.com/aol/moloch/issues/862.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aol/moloch/issues/862#event-1653388027, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABdq8db_g6Lfp1GEew8iJKUZkTaD1DZZks5t3o1-gaJpZM4URp0S
.


Subscriptions show in small frame

When I upgraded to Windows 10, this problem appeared. When the add-on is disabled, it works fine. I'm using Firefox 39 and the latest dev build of YT Center.

Have the same issue in Chrome but works fine in Firefox.
Both running Developer Version - Build #531 with the exact same settings and account.

Try clearing cache and cookies..

That actually worked which is odd since this was a clean install of Windows o0
Thx

YouTube is testing the grid layout for the subscriptions (yes they are considering reverting the design to how it was before), this is being applied via cookies. When you cleared yours it removed the cookie that enabled their new grid layout test, which is very likely creating conflicts with YTC.


Fix misalignment between feet soles

This PR aims to fix: https://github.com/icub-tech-iit/ergocub-software/issues/23
The exported material from the CAD is committed.

Seems that something went wrong in the generation:
     Start 1: ergoCubGazeboV1ConsistencyCheck
1/2 Test #1: ergoCubGazeboV1ConsistencyCheck ...***Failed    0.02 sec
ergocub-model-test error: r_knee is not revolute

    Start 2: ergoCubSN000ConsistencyCheck
2/2 Test #2: ergoCubSN000ConsistencyCheck ......***Failed    0.02 sec
ergocub-model-test error: r_knee is not revolute

For some reason r_knee is exported as weld
      <SimpleJoint>
        <name>"SIM_ECUB_R_UPPER_LEG--SIM_ECUB_R_LOWER_LEG"</name>
        <nodeID>"115:-:116"</nodeID>
        <status>""</status>
        <base>
          <JointSide>
            <name>""</name>
            <connection>
              <Frame ref="35"></Frame>
            </connection>
          </JointSide>
        </base>
        <follower>
          <JointSide>
            <name>""</name>
            <connection>
              <Frame ref="36"></Frame>
            </connection>
          </JointSide>
        </follower>
        <primitives>
          <Primitive>
            <name>"weld"</name>
            <nodeID>""</nodeID>
            <referenceFrame>"WORLD"</referenceFrame>
            <axis>0.57735,0.57735,0.57735</axis>
          </Primitive>
        </primitives>
      </SimpleJoint>
      <SimpleJoint>

cc @salvi-mattia @Mick3Lozzo

@Mick3Lozzo in order to push the simscape button, do we have to open the mech assembly in sandbox/221219_ergoCub_simulation_model_neutral_format
or in project/simulationmodel/ecub ?

In sandbox/221219_ergoCub_simulation_model_neutral_format @salvi-mattia.

the right knee seems to be weel defined

Right now I had to manually fix the simmechanics XML for the r_knee exported as weld, and the missing stl for l_wrist_1 link

50237ab (#27)
0200cab (#27)

Shall we keep track in a separate issue of these glitches in the exportation from creo?
@Lawproto @mfussi66 @Mick3Lozzo @pattacini @salvi-mattia @fiorisi

Shall we keep track in a separate issue of these glitches in the exportation from creo?

Yep definitely. I'll open a dedicated issue asap.
In the meantime, you can proceed with merging the PR if everything else is fine.


karate: init at 1.1.0

Co-authored-by<EMAIL_ADDRESS>Motivation for this change
Add a new tool
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

I'm not sure where to put the license or other metadata when creating the derivation with pkgs.writeShellScriptBin.

Why not mkDerivation with meta?

I added metadata.

@06kellyjac  All your suggestions should be applied.

@06kellyjac  Thanks for the review.


Update mobile UA as the existing one doesn't seem to work anymore

The existing mobile user-agent stopped working on my end.
Here I replaced it with one from an iPhone running latest iOS 15 beta, which works for me.
Please kindly review. :)

Hi,
Thanks a lot.
It's interesting the android user agent does not work for you. I think it works for me and others. May I ask what platform are you using the extension? I'm curious why this could happen and if Android did not work for you, iPhone may not work for others.
Cheers

Hi,
Thanks a lot.
It's interesting the android user agent does not work for you. I think it works for me and others. May I ask what platform are you using the extension? I'm curious why this could happen and if Android did not work for you, iPhone may not work for others.
Cheers

Thanks @tmxkn1 ! I tried to change mobile UA back today. Now it works for me (again).
I have been able to use this as-is without issues for months until yesterday. I'm running this on Chrome 92.0.4515.159 on my Mac. I regularly pull from the repo to keep the code up-to-date and am on the latest commit when I had the issue.
The symptom yesterday was that when I click "Check Now". The extension icon turned yellow even though Mobile search progress is at 0/100. I tried to click "Check Now" multiple times but it would just turn yellow immediately. Also tried to reload the extension in dev mode, turn the extension off and on. No luck. I then changed the mobile UA, reloaded the extension. And it started working again for me.
So it might be some other one-off bugs that isn't really related to the UA.
Closing this PR.

Looks like we are now all affected by the problem... and this fix seems working. I need another day to confirm it as I haven't got a chance to test it.

Looks like you have deleted your repo hence can't be reopened. Please submit another one for credit. Meanwhile, I will push a quick fix branch for others to test.

Looks like you have deleted your repo hence can't be reopened. Please submit another one for credit. Meanwhile, I will push a quick fix branch for others to test.

Yeah I will recover the repo with the commit. Pls confirm if this works on your end.
I'm wondering if there are some other checks than UA involved in mobile Edge search progression now.
I tried this morning with the older UA, didn't work, switched to the new UA, still didn't work (reloaded the extension, off-and-on; but didn't restart Chrome).


[Sema] Translate names in unused result warnings of implicit functions

Problem
Currently, an unused call to synthesized == of enums and structs warns about an unused call to the functions __derived_enum_equals and __derived_struct_equals.
Solution
This PR adds a special case to translate these calls back to the call to the operator ==.
Example
enum Bar {
  case A, B
}

// Before
Bar.A == .B // Result of call to '__derived_enum_equals' is unused

// Now
Bar.A == .B // Result of call to operator '==' is unused

I just found this bug and it is not tracked by an SR yet.

@swift-ci Please smoke test

LGTM. I'm curious why these have a special name to begin with, though?
Also, you'll need to run full tests to merge at the moment, not just smoke tests.

Thanks for having a look. I don't know why the special names are needed but it looks like they were introduced by #8735 by @graydon to remove inter-file-dependencies of operators.
@swift-ci Please test


test: problematic cases

There are some missing tests that cover cases that go wrong because by default there is not grouping around subexpressions.
maybe many of "a" compiles to a+? but should compile to (?:a*)? or even better a*.

maybe(repeat(+, a)) != a+?
maybe(seq(aaa)) != aaa?
repeat(seq(aaa)) != aaa+


Issue #73 - Printing or exporting a single prim

Add utility functions that allow you to print a string representation of a single prim, or export a single prim into a layer by itself.
Particularly useful for debugging large scenes, as USD provides Export() and ExportToString() at the stage level, but has no equivalent utitlities for outputting information about only a single prim.

Very useful! Thank @pmolodo!


allow people to request an invite

If you do not want everyone to be able to sign up, then currently you need to send out invites. it would be nice if people could request an invite and 'admins' can accept or reject the person to join.

@spaceywolfi Can you explain more about what exactly do you want to change?

hi @sagar-kalra
sorry for not being very clear, i hope this explanation helps more:
If the setting of an organization is set to invite only
and a person who has not been invited to the organization yet goes the url of the team chat such as
organization.zulipchat.com they will not be able to request an invitation.
I think it would be nice if the person could request an invitation.
The admins that are already in the organizations should then be able to accept or reject the request of the new person.

@spaceywolfi okay
I understood now

Yeah, this is a good idea.  @hackerkid is probably the right person to work on this :)

I was actually thinking about creating an issue for this a couple of hours ago :)
@sagar-kalra If you don't mind I will work on this as I have been working on this part of the codebase for the past few days :)

@hackerkid Yeah, sure you can go ahead work on this.


no resolver defined to resolve ocsp.int-x3.letsencrypt.org while requesting certificate status

Something is going wrong with the DNS resolver every now and then. Are there other options we can add?
2019/03/21 15:48:15 [warn] 9#9: no resolver defined to resolve ocsp.int-x3.letsencrypt.org while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org, certificate: "/etc/nginx/certs/*******.com.crt"

Is this an issue with docker-letsencrypt-nginx-proxy-companion? Or are there other factors at play?
resolver <IP_ADDRESS>;

I deploy again, and then it goes fine.

What container is this log line from ?

If this is from letsencrypt-nginx-proxy-companion, how you obtained it is not clear to me has I personally never encountered it and it's not part of this repo's specific code.
With /app/cert_status ?

It came from docker-letsencrypt-nginx-proxy-companion or nginx-proxy. I tried to dig a bit deeper, but unfortunately in order to work around this I did docker-compose down && docker-compose up -d to trigger a new certificate request, but as a result the previous logs have been cleared.

With /app/cert_status ?

I did not run anything manually, this is just the nginx-proxy with letsencrypt-companion setup.
I've seen this 3 times out of maybe 50 new domains requested through the letsencrypt-companion, so it does not happen often. According to this however, it happens due to obsolete resolver configuration in nginx. I do not know if we should look at nginx-proxy or letsencrypt-companion for this issue, but it happens when letsencrypt requests a certificate for the first time, so I thought I'd post an issue here. I don't know a lot about the inner workings of either, and I don't understand what the solution suggested in aforementioned link actually means.

The LE community thread you linked make it rather clear that this is an ningx-proxy related issue.
If you are using an up to date version of the nginx-proxy container (or of the nginx.tmpl file), the suggested solution is already there.

I have verified that the template I checked out does already have that line of code. Today I've experienced the same issue three times in a row. I will take this issue to the nginx-proxy repo.
There seems to be reciprocity between nginx-proxy and docker-letsencrypt-nginx-proxy-companion.

There seems to be reciprocity between nginx-proxy and docker-letsencrypt-nginx-proxy-companion.

What do you mean ?

@buchdag?

What do you mean ?

Sorry English is not my native tongue. I'm trying to say some form of interaction.
I can hang two, four, eight or twenty services in the nginx-proxy stack. But the only one indirectly having (random occasional) problems is the letsencrypt-companion.
So whether or not the root issue is with nginx-proxy, it seems to show itself exclusively as a response to letsencrypt-companion activity.

What your nginx-proxy container is telling you is that it's trying to perform OCSP validation for a Let's Encrypt issued certificate but can't resolve the DNS name of their OCSP responder (ocsp.int-x3.letsencrypt.org).
That's an issue 100% internal to the nginx-proxy container and completely outside of what the letsencrypt-nginx-proxy-companion container can do. The companion has no bearing on nginx-proxy DNS settings.
The companion is actually pretty simple in what it does, it's just bash automation around an ACME / LE client, and the one and only direct interaction it has with nginx-proxy is reloading it when certificates are created or modified.

@buchdag thank you for clarifying. I will close this issue and hope someone can help me out at https://github.com/jwilder/nginx-proxy/issues/1256

The LE community thread you linked make it rather clear that this is an ningx-proxy related issue.
If you are using an up to date version of the nginx-proxy container (or of the nginx.tmpl file), the suggested solution is already there.

I have that suggested solution already in my nginx.tmpl - I'm still getting lots of these warnings; not sure how they're affecting my system. Any idea how I can debug this? nginx-proxy doesn't have curl installed unfortunately.


Items do not render in tests (using jest and testing-library/react)

Expected Behavior
When a test written with jest and testing-library/react renders a MultiSelect component with a non-empty list of items, the items are rendered in the MultiSelect component, i.e. appear in the result of testing-library's screen.debug and are queryable using testing-library dom element queries.
Actual Behavior
The rendered component does not include the items in the rendered DOM, although it does include the number selected (e.g. "1 selected") in the selection list component, implying that the component's state is up-to-date, and something about the test environment or MultiSelect configuration is preventing the items themselves from rendering.
Steps to Reproduce the Problem

In package.json (among other things - I believe these are the relevant packages)

 "@kenshooui/react-multi-select": "1.1.6",
  "react": "16.11.0",
 "jest-cli": "24.9.0",
 "@testing-library/dom": "8.11.1",
 "@testing-library/jest-dom": "5.16.1",
 "@testing-library/react": "12.1.2",

Test:

import MultiSelect from '@kenshooui/react-multi-select';
import { render, screen } from '@testing-library/react';
describe("testing multiselect rendering", () => {
it.only("renders something in the id list", async () => {
  const items = [{ id: 'xyz1', label: 'xyz1' }];
  let selected = items;

  const setSelected = ids => selected = ids;

  await render(<MultiSelect
	     name="selected_items"
	     items={items}
	     selectedItems={selected}
	     onChange={setSelected}
	   />);

  // would normally use getBy or findBy - using queryBy to more easily demo the issue
  const numSelected = screen.queryByText("1 selected");
  expect(numSelected).not.toBeNull();  // => assertion passes

  const item = screen.queryByText("xyz1");
  expect(item).not.toBeNull();  => // assertion fails
});

});

The first assertion passes and the second one fails, i.e. "1 selected" is in the rendered DOM, implying that the component's state is up to date, but the item's label "xyz1" is not, meaning that the selected item itself isn't rendering.

Likewise, the result of `screen.debug()` shows:

            <div
              class="kn-selection_status__status___1qxE9"
            >
              1 selected
            </div>

which is the element in the target list on the right that reports the number of selected items in it,
and includes the list component rendered, but no items within it:

          <div
            style="overflow: visible; height: 0px; width: 0px;"
          >
            <div
              aria-label="grid"
              aria-readonly="true"
              class="ReactVirtualized__Grid ReactVirtualized__List kn-list__list___22Wuc"
              role="grid"
              style="box-sizing: border-box; direction: ltr; height: -47px; position: relative; width: 0px; will-change: transform; overflow-x: hidden; overflow-y: auto;"
              tabindex="0"
            />
          </div>
        </div>

Likewise, the source list on the left renders its top-level grid component, but no items:

            <div
              class="kn-item_label__label___2fJ5p"
            >
              Select All
            </div>
          </div>
          <div
            style="overflow: visible; height: 0px; width: 0px;"
          >
            <div
              aria-label="grid"
              aria-readonly="true"
              class="ReactVirtualized__Grid ReactVirtualized__List kn-list__list___22Wuc"
              role="grid"
              style="box-sizing: border-box; direction: ltr; height: -87px; position: relative; width: -1px; will-change: transform; overflow-x: hidden; overflow-y: auto;"
              tabindex="0"
            />
          </div>

When I inspect the DOM in a browser, those list components contains other elements rendering the list items.

Is this a missing configuration option? Perhaps something rendering itself differently based on device that isn't rendering in the  test environment's dom?

My end goal is to write tests confirming that actions taken outside of this component in the surrounding page are updating this component's state correctly (i.e. my end goal is not to test MutiSelect itself, but that the set of currently-selected items is being propagated to it correctly, because other components in the page can also change the selection).

Thanks for any help with this.

## Specifications

  - Version: 1.1.6
  - Platform: OS X, node 17.0.1
  - Subsystem: react 16.11.0

Spent some time on this thinking it was only react-virtualized's 'AutoSizer' that was causing issues. However, it seems like the auto height higher order component throws in some issues too. Using these spies, I was able to render items in the dropdown:
const height = 100 // set to whatever you need
const width = 100 // set to whatever you need
jest.spyOn(HTMLElement.prototype, 'offsetWidth', 'get').mockReturnValue(
            width
)
jest.spyOn(
            HTMLElement.prototype,
            'clientHeight',
            'get'
).mockImplementation(() => height)


All traffic lights in carlaviz turn green

I'm trying to run Carla with Sumo and Carlaviz. I've managed to synchronize Carla (client) and Sumo (server), so the vehicles move in Carla based on the routes from Sumo. However, all the traffic lights in Carlaviz are green instead of following the traffic light logic from Sumo. When I run the run_synchronization.py the traffic light manager is Sumo. Shouldn't those changes be depicted on Carlaviz too? I'm using Carla 0.9.11 and Sumo 1.7.0.

Please re-open this issue if you still have the same problem in the latest CarlaViz.


Support for resuming an existing conversation

Edit on 3/28/17: I changed the code according to @billba feedbacks below. Now you can resume using token+conversationid+streamUrl OR conversationid+secret. You can optionally use watermark in both cases but only using the polling API for now. See updated readme for more details. Note that I used warnings to not fail silently when falling in an unsupported case.
Here is a impl. proposal for resuming a previously started conversation.
**It is related to this related to issue #9 **
When creating a DirectLine object, you can now specify a conversationid and an optional watermark to resume previous conversation.
Here is the readme update for more details

@meulta,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

This is the right idea. A few notes:

Is it actually necessary to add the new Resume/Resuming states? It seems like Uninitialized/Connecting covers it just fine.
In the case where someone passes in both conversationId and token they must have called the DL reconnect API themselves (otherwise they couldn't have gotten a token). In which case it seems a little silly to call it again. I'm wondering if maybe there are three cases:

New conversation (conversationId is undefined) - call the DL connect API.
Resume conversation using secret (conversationId and secret are both defined) - call the DL reconnect API to get the streamUrl.
Resume conversation using token (conversationId, token, and streamUrl are all defined ) - they called the DL reconnect API themselves. Fill in the blanks and get rolling.

What do you think?
Aside from that, a few nits:

Project coding standards - ifSPACE(condition)SPACE{
Project coding standards - use const when possible, let when necessary, var never
I don't like ajaxConversation for the return value of startConversation. It's not an Ajax return value, it's an Observable<Conversation> so the idiom is to call that value conversation$. But I think if may end up not needing this if you follow my first suggestion above.

Thanks for reviewing:

agreed: I was thinking it was more explicit and easier to understand with new states as is it not functionally the same as the first connection. Removing and replacing with explicit comments will do the trick.
Seems fair. I will update accordingly

Got it for coding standards, I am working on an update.

Updated PR and PR description.

PR updated to take @billba feedbacks into account

Hooray! Thank you and good work.

@shanthisri0222 I wonder if you are passing the token as secret instead of token -- if you do that, DirectLineJS will not refresh the token for you.

I'm passing token only and we have observed that it's getting refreshed only once. Any particular reason?

How can you save the conversationId if it is not accesible? It is private inside DirectLine object.
Do I need to edit the compiled botchat.js ?

@sevetseh28 , if you are using .net web api project to receive messages, context.Activity object has the ConversationId


fix: enabled dynamic height by default

Added default value for dynamic height = AUTO_HEIGHT in the widget register helpers.

@ankurrsinghal I've added a different mechanism to enable this. Please see #17686 . Closing this PR.


Coursier is adding transitive dependencies of test configuration to runtime

steps
Transitive dependencies of libraries in a test configuration are being added to the runtime.
SBT version 1.3.9
Scala 2.13.1
See attached
coursier-deps.zip
Running the Main app triggers a library version collision ("bad" library brought in via test configuration disabled logging):
sbt:coursier-deps> run
...
[info] running whatever.Main
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 1.8.
SLF4J: Ignoring binding found at [jar:file:/var/folders/q9/d3zz50q12zbd5hfcyt8y9hjh0000gp/T/sbt_c774719a/target/ffe5d269/97705cb7/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]

Without Coursier, the test library is excluded from the runtime (and logging happens):
sbt:coursier-deps> set ThisBuild / useCoursier := false
[info] Defining ThisBuild / useCoursier
...
sbt:coursier-deps> run
[info] Compiling 1 Scala source to /Users/dlanders/dev/bugreports/coursier-deps/target/scala-2.13/classes ...
[info] running whatever.Main
14:15:17.431 [run-main-1] INFO whatever.Main$ - Hello, World!

The specific end result involving slf4j is not my issue, but it is the real problem I ran into and happens to illustrate the dependency problem easily.
problem
The specific case I have involves a test library which, within its transitive dependencies, includes a beta version of slf4j logging that is incompatible with the runtime dependencies.
See comments in the attached build.sbt for the libraries involved in that dependency chain.
Running an app (i.e. sbt run) will have the slf4j 1.8.0-beta2 jar included and effectively disable logging.
Disabling coursier (i.e. behavior prior to sbt 1.3) does not include transitive dependencies from the test configuration.
Running evicted is no help: it does show that 1.8.0-beta2 was selected, but not what dependency brought it in.
sbt:coursier-deps> evicted
[info] Here are other dependency conflicts that were resolved:
[info] 	* org.slf4j:slf4j-api:1.8.0-beta2 is selected over {1.7.25, 1.7.26, 1.7.28, 1.7.28, 1.7.28, 1.7.28}
[info] 	    +- org.apache.kafka:kafka-streams:2.4.0               (depends on 1.7.28)
[info] 	    +- org.apache.kafka:kafka-clients:2.4.0               (depends on 1.7.28)
[info] 	    +- org.apache.kafka:connect-json:2.4.0                (depends on 1.7.28)
[info] 	    +- org.apache.kafka:connect-api:2.4.0                 (depends on 1.7.28)
[info] 	    +- com.typesafe.scala-logging:scala-logging_2.13:3.9.2 (depends on 1.7.26)
[info] 	    +- ch.qos.logback:logback-classic:1.2.3               (depends on 1.7.25)

expectation
Test dependencies do not leak into compile or runtime configurations.
notes

@srednal Thanks for the report. This is a known issue with Coursier integration - https://github.com/coursier/coursier/issues/1382

Thus this is at least related to #5449 I think.
Too bad lm-coursier 2.0.0-RC6-5 didn't make it in time for sbt 1.3.12.

sbt 1.4.x series uses per-config resolved Coursier.
sbt:deps> run
[info] running whatever.Main
12:21:22.846 [run-main-1] INFO whatever.Main$ - Hello, World!


fix: miscapitalization

Hey, I'm not sure if this is intended but on the first glance it looks wrong.

This was actually intentional so Enter and exiT  would be more visually distinct, but this has been reported more than one time so I'm starting to think this is just confusing.

Fair enough! Maybe we can take advantage of emojis here. e.g. 🟢 Enter & 🔴 Exit

Awesome! I see you've made the change so I'll just close the PR.