Grapher's treatment of ADR data is difficult to use

When using the Grapher to view ADR data, I've encountered a few issues that cost a lot of time. The following (1, 2, 3) are suggestions for first-order (hopefully quick) improvements; the note at the end describes something a bit more elaborate.

The Grapher's default appears to be to load all available dependent data sets on the same plot. This is never desirable for ADR data, which contains temperatures/resistances/voltages/currents with orders of magnitude difference in their ranges.
Suggestion: It would save the user a lot of time if the default traces were always just:
1 - temperature (ch2: 4K) [K]
5 - temperature (ruox) [K]
The user would retain the ability to (de)activate all traces at will.

Each time the data-collecting server restarts, a new dataset begins. The grapher plots individual datasets, thus the timespan of a given plot is very arbitrary. If the server suddenly restarted at an inconvenient time, it can be impossible to view today's mag cycle next to yesterday's.
Suggestion: Perhaps a quick fix would be to allow the user to choose a number of previous datasets that would be plotted on the same plot, one after the next (temperature datasets from different days should not be plotted on top of each other). To keep track of which set came from which day, it would be good to indicate where each dataset begins, perhaps with a vertical line intersecting the x-axis.

The default x-axis display is in seconds, starting with a value close to 1,500,000,000 (47 years!?). This makes the x-axis very difficult to read and limits the usability of the plots. For certain zoom levels, the labels on neighboring guide lines (e.g. 1,500,000,000 and 1,500,001,000) may appear on top of each other).
Suggestion: Just one idea---the x-axis could continue to display in seconds, but with the beginning of the plot being arbitrarily defined as zero.

Note: It would be nice to easily associate the values on the x-axis with a date on the calendar (and my lab notebook). At the moment, periods of time in which the fridge was open are conveniently omitted from the data. That is nice, because it saves the user from having to wade through periods in which the fridge was warm/open. However it complicates the process of associating a calendar-date to an event in the ADR. A perhaps more ideal solution (perhaps outside the scope of the Grapher, idk) would be:

To use the grapher, the user commands the plotting to cover a certain date range
Associated with the beginning of each cooldown in that date range, there is an absolute timestamp.
The x-axis is delineated in seconds. Each cooldown has its own x=0 seconds at the beginning of the cooldown, which is the absolute timestamp (from the beginning of each cooldown). So the x-axis has multiple points called "0", one per cooldown.

(@maffoo, @DanielSank, please let me know if this is clear or if a picture is needed for clarity.)

@joshmutus Is #3 something you could implement easily?

I think #1 could be addressed in one of two ways:

Put a which traces to plot parameter in the data set. The grapher would show those traces when the data set is loaded. We've talked about supporting plotting hints before. I think this is a good idea.

Store plot hints on the client.

@maffoo ?

@DanielSank for #3, we should just change the ADR server, that's much easier.

How can we solve this problem via the ADR server?

By subtracting the initial time from all the time values it saves.
On Fri, Jan 13, 2017, 4:45 PM Daniel Sank<EMAIL_ADDRESS>wrote:

How can we solve this problem via the ADR server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/labrad/scalabrad-web/issues/320#issuecomment-272586043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHy5ZQsW_17Sol7jwND099qMftojALiOks5rSBrFgaJpZM4LjRSR
.

@DanielSank I never said it was hard.
Maybe I'm not understanding the proposed solution, but it just seems arbitrary to add a rule about how one kind of data is displayed. If we want the data to displayed differently then we should save it differently.

I strongly disagree that we should handle plotting by changing our raw data format.

I'm not saying change the format, I'm just saying change the zero. The time since Jan 1 1970 is irrelevant for this plot, the time since the start of the cooldown is what we care about, we should save that.

So, what do we change the zero to?

The beginning of the cooldown when the ADR server starts logging temperatures.

We could certainly add conversion of UTC time to date time as an option for plotting, it just wouldn't be awkward until we build in some plot helpers saved with the dataset.

The beginning of the cooldown when the ADR server starts logging temperatures.

But then when I look at the time axis and see "34 hours", to make sense of it I have to figure out when the cooldown started and do arithmetic.

We could certainly add conversion of UTC time to date time as an option for plotting

Yes!

But then when I look at the time axis and see "34 hours", to make sense of it I have to figure out when the cooldown started and do arithmetic.

Maybe I'm missing something, but I thought that was exactly what we wanted to see.
The problem we have with adding UTC time and date is that how will the grapher know when to plot it. Very little our data is stored as UTC times. Do we put a radio button? It seems silly to me to put a radio button that's applicable for something like 0.01% of our datasets. If we plumb in plot helpers this would work great. I can start the plumbing from the grapher side so it has the ability to convert to a date time, but the real question is when to apply that.

But then when I look at the time axis and see "34 hours", to make sense of it I have to figure out when the cooldown started and do arithmetic.

Maybe I'm missing something, but I thought that was exactly what we wanted to see.

Perhaps. Then maybe for another use case I want to know the actual date/time to compare with my lab notebook. So now you're saying I have to save a copy of time axis in a special format for every possible way I'd want to look at the times, i.e. time_referred_to_cooldown_start and time_as_datetime. That's obviously not a good idea. We want one set of data, probably in UTC, and the ability to view it in as many ways as is useful.

Right but the ability to view data in many useful ways is a feature that's larger in scope than this simple cooldown dataset, and to be properly handled requires some additional data to be saved with the dataset regardless. For example, how would the grapher know a time (in seconds) is a UTC timecode? What if the user decided to save they're data with 0 being the beginning of a scan?

Right but the ability to view data in many useful ways is a feature that's larger in scope than this simple cooldown dataset

I dunno, supporting a few time display formats seems generally useful and the right solution here.

and to be properly handled requires some additional data to be saved with the dataset regardless. For example, how would the grapher know a time (in seconds) is a UTC timecode? What if the user decided to save they're data with 0 being the beginning of a scan?

If I saved my data with 0 being the beginning of the scan, then I simply don't use the UTC->datetime view option.

I dunno, supporting a few time display formats seems generally useful and the right solution here.

I agree supporting them is useful, I'm debating on how we support them. If we want to store extra metadata with the datasets that help with plotting (default traces, etc) then that's how I think this should be done. I'm worried that there's a ton of view options people will want to tack on and then we'll have trouble handling them all in the UI

Default traces and various time displays seem like completely different features to me.
Default traces must be specified inside the data set. However, I might want to look at the time axis in more than one way, and I need to be able to switch back and forth, so that has to be supported by the UI.
I don't see adding a few time display formats as bloat. It's a totally reasonable thing you want to do with time data.

Yeah, guess I'm coming around, can you file a separate issue and we can discuss which formatting variants are useful for the x-axis?

Done: https://github.com/labrad/scalabrad-web/issues/321


AttributeError: 'PDFObjRef' object has no attribute 'decode'

While using pdfx for extraction of url, I got this issue.

Should be fixed now. Please let me know if it still persists with v1.4.1


refactor: Use Anyhow instead of io::Result

Add a dependency on the anyhow library.
Replace io::Result with anyhow::Result in functions that can return multiple types of error.
Refactor load_pact_from_url and load_pact_from_json to use ? operator instead of pattern matching.

Notice
This software was produced for the U. S. Government under Contract No. FA8702-20-C-0001, and is subject to the Rights in Noncommercial Computer Software and Noncommercial Computer Software Documentation Clause DFARS<PHONE_NUMBER> (FEB 2014)
Approved for Public Release; Distribution Unlimited. Case Number 19-3203.
(c) 2021 The MITRE Corporation. All Rights Reserved.

Nice! That's way better. Thank you.


How to configure TTL for records stored in Mongo

Hi @ankhers ,
I need to remove records from Mongo after specific time, how can I set TTL?
My record looks like:
{
"_id" : ObjectId("5c508a54b6befa1338b049d9"),
"message" : "Test Message",
"node"<EMAIL_ADDRESS>"timestamp" : ISODate("2019-01-29T12:16:04.863Z")
}
Please Help
Thanks
Nitin

Right now you will need to use a command to do that.
  createIndexes: "collection",
  indexes: [
    ...
  ]
]

Mongo.command(:mongo, create_index)

All options can be found here.
It is probably worth putting in a function to create indexes that is a wrapper for this command.


Put bars in front of area

hello,
in charts which contain data of type bar and area, area always overlaps bars. The unwanted effect is the color change of the bar because of the area.

In C3.js if I change in c3_chart_internal_fn.initChartElements the order between initBar and initLine then areas are overlapped by bars. This has the side effect that now lines and circle also are oberlapped by bars. So my question is, cant we draw only the area in a <g> before bar. So lines and circle would be visible but the area would only be visible in undrawn areas of the chart

Being able to set rendering order isn't the worst idea.


How to set a file to be compiled as is and others used as commonjs modules?

Hi, I'm trying to have a setup similar to how module.wrappers: false would work but only for one file.
I have a file called app.js that I want javascript to actually run when added in a script tag i.e. if I set an alert('Hello'); it would pop me an alert. Any files I import/require from there would keep their normal behavior as requirejs modules. What I want to accomplish is a single entry-point which would look something like this:
// app.js
import myCoolFunction from 'other_file';

myCoolFunction(); // this actually runs if I add this file to a script tag on HTML
alert('woot'); // this also runs if I add this file to a script tag on HTML

When I allow my files to be wrapped by brunch using commonjs modules and after I clean their names, requiring/importing them does seem to work, but this main file is never ran. What am I missing? Can I let this single entry-point file without the commonjs module?
My directory structure is simlar to:
app/brunch/javascripts
|_ app.js <-- file shown above
|_ other_file.js <-- file being imported

They get compiled to vendor/assets/javascript/brunch/app.js. I've tried joinTo/entryPoints in several different ways but I'm not really sure what should I set them to.
My config file:
// See http://brunch.io for documentation.
module.exports = {
  paths: {
    watched: ['app/brunch/'],
    public: 'vendor/assets',
  },

  files: {
    javascripts: {
      entryPoints: { 'app/brunch/javascripts/app.js': 'javascripts/brunch/app.js' }
    },
    stylesheets: { joinTo: 'stylesheets/brunch/app.css' },
  },

  modules: {
    // wrapper: false,
    nameCleaner: (path) => path.replace(/^app\/brunch\/javascripts\//, '')
  },

  plugins: {
    postcss: {
      processors: [
        /* eslint-disable global-require, import/no-extraneous-dependencies */
        require('autoprefixer'),
        require('postcss-filter-gradient'),
        /* eslint-enable global-require, import/no-extraneous-dependencies */
      ],
    },
    sass: {
      mode: 'native',
    },
  },
};

Require it in your HTML:  or look into config.modules.autoRequire

I have a similar issue. I'm using the Bing Maps Javascript Control, which uses a callback in the URL to initialize usage:

I define the function in app.js thusly:
function loadAddressLookup() {
    Microsoft.Maps.loadModule('Microsoft.Maps.AutoSuggest', {
        callback: onLoad,
        errorCallback: onError,
        credentials: 'Bing API Key Here'
    });
    function onLoad() {
        var options = { maxResults: 5 };
        var manager = new Microsoft.Maps.AutosuggestManager(options);
        manager.attachAutosuggest('#searchBox', '#searchBoxContainer', selectedSuggestion);
    }
    function onError(message) {
        document.getElementById('printoutPanel').innerHTML = message;
    }
    function selectedSuggestion(suggestionResult) {
        document.getElementById('printoutPanel').innerHTML =
            'Suggestion: ' + suggestionResult.formattedSuggestion +
            '
 Lat: ' + suggestionResult.location.latitude +
            '
 Lon: ' + suggestionResult.location.longitude;
    }
}

Brunch then modularizes it, and I can't seem to get the callback to fire. I get an error from the Bing library saying that the callback is invalid.
I have a workaround where I have put the code defining the callback function in a JS file under vendor. This works well, but it means that I have non-vendor code in vendor, which isn't very tidy.
Is there a better way to be doing this?

Not quite.


"GITHUB_TOKEN" is not whitelisted in policy "security.funcs.getenv"

I am not sure about that, happens at Netlify,
6:19:59 PM: Error: error building site: render: failed to render pages: render of "home" failed: "/opt/build/repo/layouts/docs/list.html:11:11": execute of template failed: template: docs/list.html:11:11: executing "main" at <partial "hb/modules/docs/section" .>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/docs@v0.20.1/layouts/partials/hb/modules/docs/section.html:17:3": execute of template failed: template: partials/hb/modules/docs/section.html:17:3: executing "partials/hb/modules/docs/section.html" at <partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-doc-content-end")>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.5.0/layouts/partials/hugopress/functions/render-hooks.html:34:8": execute of template failed: template: partials/hugopress/functions/render-hooks.html:34:8: executing "partials/hugopress/functions/render-hooks.html" at <partial .partial $ctx>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/docs/modules/revision@v0.1.0/layouts/partials/hugopress/modules/hb-docs-revision/hooks/hb-docs-doc-content-end.html:1:4": execute of template failed: template: partials/hugopress/modules/hb-docs-revision/hooks/hb-docs-doc-content-end.html:1:4: executing "partials/hugopress/modules/hb-docs-revision/hooks/hb-docs-doc-content-end.html" at <partial "hb/modules/revision/index" .Page>: error calling partial: "/opt/build/cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/revision@v0.6.6/layouts/partials/hb/modules/revision/index.html:33:15": execute of template failed: template: partials/hb/modules/revision/index.html:33:15: executing "partials/hb/modules/revision/index.html" at <getenv "GITHUB_TOKEN">: error calling getenv: access denied: "GITHUB_TOKEN" is not whitelisted in policy "security.funcs.getenv"; the current security configuration is:
6:19:59 PM: [security]
6:19:59 PM:   enableInlineShortcodes = false
6:19:59 PM:   [security.exec]
6:19:59 PM:     allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^git$', '^npx$', '^postcss$', '^tailwindcss$']
6:19:59 PM:     osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG|SYSTEMDRIVE)$']
6:19:59 PM:   [security.funcs]
6:19:59 PM:     getenv = ['^HUGO', 'CI$', 'PWD']
6:19:59 PM:   [security.http]
6:19:59 PM:     methods = ['(?i)GET|POST']
6:19:59 PM:     urls = ['.*']
6:19:59 PM:
6:19:59 PM: "build.command" failed
6:19:59 PM: ────────────────────────────────────────────

Seems a bug if you're not enable the hb.revision.repo_contributors parameter.
A quick workaround is append the GITHUB_TOKEN into security.funcs.getenv whitelist, even it's not used.
// hugo.yaml
security:
  funcs:
    getenv: ['^HUGO', 'CI$', 'PWD', 'GITHUB_TOKEN']

Will make a patch later.

Maybe it is misconfigured?
hb:
  revision:
    repo_service: github
    repo_owner: MasteryEducation
    repo_name: FlutterMasteryLibrary.com
    repo_branch: main
    repo_subpath: ''
    repo_contributors: true
    repo_actions: true
    icons: true
    created_at: false
    date_format: ':date_full'
    font_size: '.825rem'

https://github.com/MasteryEducation/FlutterMasteryLibrary.com

Thanks for suggested workaround; it works


ImportError: No module named new

[READ] Step 1: Are you in the right place?
Feels like a bug, unless it is specific to my machine somehow.
[REQUIRED] Step 2: Describe your environment

Operating System version: OSX 10.13.6 - Python 2.7.15
Firebase SDK version: _____ (not sure the difference between this and library version)
Library version: 2.13.0
Firebase Product: Auth and Messaging

[REQUIRED] Step 3: Describe the problem
When loading firebase-admin into an App Engine python project and running dev_appserver.py, I consistently receive the following error:
Error processing line 1 of /Repositories/project/lib/googleapis_common_protos-1.5.3-py2.7-nspkg.pth:

  Traceback (most recent call last):
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
      exec line
    File "<string>", line 1, in <module>
  ImportError: No module named new

Remainder of file ignored

googleapis_common_protos-1.5.3-py2.7-nspkg.pth seems to be a dependency of Firebase Admin
Steps to reproduce:
Installed firebase admin.
pip install -t lib -r requirements.txt
In your appengine_config.py, include the lib folder:
from google.appengine.ext import vendor

# Add any libraries installed in the `lib` folder.
vendor.add('lib')

Relevant Code:
dev_appserver.py ./app.yaml

I can't repro the issue. Can you zip up your project and upload it so I can try with that? Don't include the lib directory -- just the requirements.txt file.
If you cannot share the project for some reason, provide a minimum, complete repro that we can test with.

Closing due to lack of follow up. Please reopen with more details if this problem continues to occur.


Set maximum connections

Implement akka.http.server.max-connections to avoid DoS attacks

Leaving default of 1024 as per the documentation


mount the package cache from the system

No need for squid. One can just bind-mount the system package cache /var/cache/pacman before chrooting/sd-nspawn'ing.

closed via https://github.com/Finkregh/archstrap/pull/10


Heroku deployment

Storing equivalent of API keys
Configuration
Research of how to deploy React apps to Heroku; there might be complications unknown until the time of deployment otherwise

Merged into main, manually closing issue retrospectively


sample prefixes for fastp.html and fastp.json files

request for an additional option:  --prefix, so that fastp adds a sample prefix to each fastp.html file and each fastp.json file (since i often have multiple fastq files in a single folder and would like to run fastp on all of them)
for instance,
fastp --merge -i ${sample_prefix}_R1.fq.gz -I ${sample_prefix}_R2.fq.gz --merged_out ${sample_prefix}_outfastp.fq.gz --prefix ${sample_prefix}

You can specify the filenames by specify --html and --json

ah, thank you!
Prof. Douglas W. Yu
School of Biological Sciences, University of East Anglia, Norwich, Norfolk  NR4 7TJ  UK,  mob +44-7510-308-272
Kunming Institute of Zoology, 21 Qingsong Lu, Kunming, Yunnan 650201 China 中国云南昆明市盘龙区茨坝青松路21号, ofc +86-871-519 9178, mob +86<PHONE_NUMBER>0
people.uea.ac.uk/en/persons/douglas-yu https://people.uea.ac.uk/en/persons/douglas-yu, eastanglia.academia.edu/DouglasYu/Papers http://eastanglia.academia.edu/DouglasYu/Papers for pdfs

On 5 Mar 2020, at 23:50, Shifu Chen<EMAIL_ADDRESS>wrote:
You can specify the filenames by specify --html and --json
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/OpenGene/fastp/issues/244?email_source=notifications&email_token=ADB4EPY3BFKZOA5HP4JV2V3RGA3ENA5CNFSM4LCTVSUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7J7BA#issuecomment-595500932, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB4EP63FVWHRBAQBYX4DYDRGA3ENANCNFSM4LCTVSUA.


Improve README

Improved tag line and description, add example snippet to README.

Thanks, applied suggestions!

Merging as it does not require CIs


Add HTML box widgets

This adds a new dashboard widget type, "HTML Box", which displays raw HTML. We could use this to add forms that submit parameters, or anything else that uses HTML to make dashboards more useful.

This turned out to be unnecessary.


Add support for Markdown in HTML pages

What
Add a Markdown renderer to the kit dependencies.
Configure the prototype kit server to render all page HTML in the user's prototype with the Markdown renderer after it has been rendered with Nunjucks.
Configure the Markdown renderer so that by default the output HTML has GOV.UK Frontend classes, but leave the option open of the user changing this.
Why
See #46 for details. This has been a hotly requested feature for ages.
Who needs to work on this
Developer
Who needs to review this
Developer, Designer, Tech Lead
Done when

[ ] Prototype authors can opt-in to using Markdown in their prototype
[ ] Prototype authors can use Markdown syntax in any part of any .html file in app/views
[ ] HTML rendered by Markdown has GOV.UK Frontend styles by default
[ ] Users can opt-out of GOV.UK Frontend styles for Markdown if they wish

I think the default value of $govuk-prototype-kit-markdown should be govuk. This will signal to a Sass function that we will write that the GOV.UK Frontend classes should be associated with the appropriate HTML elements when the govuk-prototype-kit-markdown class is present. In future we could support other values, perhaps via plugins. The advantage of having the Markdown functionality built into the kit that in future plugin authors could support Markdown for their preferred design system by just writing the Sass; no need to bring a whole Markdown engine in.

Suggest for the Markdown renderer we either use marked (used by the kit and other users of the kit before), or markdown-it (used by Eleventy, easier to extend).

I'm just catching up on this.  I can see the benefit of having markdown available, for the first release I'd suggest it's opt-in rather than being on for everyone.  I've been wanting to allow the user to control their settings through the management pages, this would be a really good option to add to those pages and see how our users find it.  There can then be another setting for using govuk styles.

Making it opt-out initially makes sense, I'll update the ticket description.

@nataliecarey it would be good to discuss the idea of opt-in, opt-out, settings. For example this could be opt-in through the use of a file extension or code block

@lfdebrux to expand on the question I asked before, is there any chance rendering any markdown found on the page could be ambiguous? For example:

You can bold text by using **asterisks** in markdown

would that render the asterisk characters or or just render the word asterisks in bold?

I'm wondering if it might be easier to reason about and discover if we use a custom tag to denote markdown content
{% markdown %}
 - this is a list
 - and so on
...

https://mozilla.github.io/nunjucks/api.html#custom-tags

@lfdebrux to expand on the question I asked before, is there any chance rendering any markdown found on the page could be ambiguous? For example:

You can bold text by using **asterisks** in markdown

would that render the asterisk characters or or just render the word asterisks in bold?

It depends on the Markdown renderer used and how it is configure, but generally most renderers follow the CommonMark spec, which tries to resolve these sorts of ambiguities.
In CommonMark, any HTML tags found start a HTML block, where Markdown is not parsed [1]. Reading through the linked spec docs is useful, as it includes a whole bunch of examples of edge cases, and you can experiment yourself with it using the commonmark.js demo.

I'm wondering if it might be easier to reason about and discover if we use a custom tag to denote markdown content

Personally I'm not sure it would bring any benefit? Markdown has always been designed to include HTML in the mix, and I'm not aware of other Markdown editors/tools that delimit Markdown in this way. There'd be nothing to say that users could not include HTML in the markdown block.
I guess it would mean that you could say users couldn't include other Nunjucks things in the Markdown, but I'm not sure of the benefit of that? It's worth noting that the GOV.UK Design System codebase also uses Nunjucks with Markdown [2], as does the default configuration of Eleventy. The combination seems to work well in most normal usage, and in the rare cases where there are issues it's easy to work around it.

Thanks! It's not a strong opinion but I'm just wondering if one benefit is making it easier for our users to understand the code they're seeing. A tag would say explicitly 'this is markdown', in the same way curly braces say 'this is nunjucks'


Uncatchable exeption

As always, embedded. try{}catch{} around py_stmts(). But no luck. Sigfaults...
Fatal Python error: deletion of interned string failed

As always, get me some example code, and I can do something about it.

Yup. For now I reversed my code to the working state and trying to go step by step..


add link args to cuRand lib

Hi, thanks for the nice implementation. I had troublis with building it on linux - the pip install did not work so I used the setup.py install version. However, for me the cuRand lib wasn't properly linked, adding the extra_link_args worked for me.
Cheers,
Lisa

Thank you very much for the pull request! We will consider merge the current dgNN into our new version of dgSPARSE-lib repo.


Cannot seem to get the configuration to work

I have set authority to https://tenant.b2clogin.com/tenant.onmicrosoft.com/B2C_1A_Samssignup_signin and I receive error 400 - AADSTS50049: Unknown or invalid instance.
I have also tried https://tenant.b2clogin.com/tenant.onmicrosoft.com/tfp/B2C_1A_Samssignup_signin
const msalConfig = {
    auth: {
        clientId: 'theclientid',
        authority: 'https://tenant.b2clogin.com/tenant.onmicrosoft.com/B2C_1A_Samssignup_signin',
        redirectUri: 'http://localhost:3000/',
    },
    cache: {
        cacheLocation: "sessionStorage", // This configures where your cache will be stored
        storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
    }
};

Could anyone advise what's wrong?

@worldspawn this sample is for AAD. For B2C, could you please check the sample here. We haven't updated it yet to use the<EMAIL_ADDRESS>with the auth code flow, as there are currently a few issues that we are expecting to be resolved (e.g.), but we will very soon.

Thanks @derisen. I did eventually find that sample, but yeh could not get that to work either.
We're starting a new project with b2c and one of the clients is an SPA. I've seen notifications that implicit flow is already deprecated and will be disabled in December 2020. That date is way to close! Is it the advice currently to build with implicit flow and refactor it again sometime between when auto flow works and December??

Sorry to hear that @worldspawn -feel free to open a new issue in that sample's repo.


docs: update readme to include type warning clarification

TSSIA
Closes #129

Prettier had a hissy-fit about the README changes 🤦🏼 .. 🤞🏼 that CI passes now.


Fix deprecated GitHub action commands

resolves #302

Description
As communicated by Github in https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ these commands should be replaced.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

@kevinneville thank you for starting this up, going to open a new pr pulling in your changes to clean up the conflicts. and get merged in here #520 so going to close this one for now in favor of that one.


Provide pre-compiled application packaged with trace server

In some cases, if users want to visualize their own traces, they still need to do the full complicated dev setup. The live demo allows users to upload traces, but this is not safe for private traces and not possible for very large traces. Providing a downloadable binary is a nice midway point between the live demo and the full dev setup.

[x] Build electron app packaged with server for Linux
[x] Shrink packaged application to reasonable size range - @arfio completed a quick package (it is 600 MB which is a large for a typical electron app #378)
[x] Test app works without requiring external dependencies - @arfio and @thefinaljob successfully tested the app on a clean install of Ubuntu.

The only missing dependency is Java which needs to be installed manually before using the app #377.
Packaged app only works on a full Linux VM or native Linux (does not work using the Windows subsystem for Linux (wsl) command)

[x] Host app permanently on publicly available server (Github has a file size limit of 100 MB) - The app package is hosted here on a DORSAL lab server (a main project contributor). @thefinaljob says it takes a few minutes to download (~5 on slower wifi).
[x] Upstream changes required to package application with the server (PR #594) - This makes it easy to periodically generate an updated version of the package that can then be made publicly available
[x] Update Github readme with: (PR #392)

Link to application, build date (so users know how old the build is), specify that installing Java is required
Specify that currently it's not possible to view your own traces with the live demo, and that to view your own traces you need to install the tool.

[ ] Automate? building, packaging and updating the app (update twice a month?)

Put everything in a Docker container? So that users don't have to install Java (would have to install Docker instead) Java is easier to install than Docker for Linux users so that will be the dependency (arfio comment)

This will be more of an issue once we can build packages for Windows (because Java is awkward to install on Windows)
On Linux Java is not difficult to install, but people have an aversion to it

Related: #59

[x] Build electron app packaged with server for Linux - @arfio completed a quick package (it is 600 MB which is a large for a typical electron app)
[x] Test app works without requiring external dependencies - @arfio and @thefinaljob successfully tested the app on a clean install of Ubuntu. The only missing dependency is Java which needs to be installed manually before using the app #377.
[ ] Host app permanently on publicly available server (Github has a file size limit of 100 MB)
[ ] Update Github readme with link to application, build date (so users know how old the build is), and specify that installing Java is required
[ ] Automate building, packaging and updating the app (update twice a month?)

Updates (that could make the current approach proposed in #387 less relevant?):

The trace viewer was recently published to NPM:

Extension: theia-traceviewer
Packages: traceviewer-base, traceviewer-react-component

It's possible to upload files to the Gitpod demo. Whether it takes a reasonable amount of time to upload a 1 GB trace has not been tested yet. If it doesn't take years to upload this PR is less relevant.

@arfio Recently updated the application package available in the readme.
#594 Adjusted how the electron app is bundled to make the app package easy to generate


Update URLs

Updated URLs:

System Tasks
Task Domains

Pull Request Test Coverage Report for Build 3774

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 69.977%

Totals

Change from base Build 3755:
0.0%

Covered Lines:
11416

Relevant Lines:
16314

💛  - Coveralls


Documentation of API Key tenant token fetching

As a developer integrating with a Traction Tenant, I want some documentation describing how to get a token with an API Key, and the differences between wallet creds and API Keys, so that I know best how to use Traction.
AC:

Know where this should live (documentation)
Write documentation about

Getting API Keys
Relation between wallet/tenant/api-key
How you should get a token
Best practices around wallet cred storage?

Any Swagger definition changes needed?

Added
https://github.com/bcgov/traction/blob/main/docs/USE-CASE-API-KEY.md


Type is not being imported

The output in jsdoc has not the type import.
desired file "example.ts":
import { ParamType } from "./example2";

function someFunction(param: ParamType) {}

file "example2.ts" where the type is located:
export type ParamType = string;

Output JS:
/**
 * @param {ParamType} param
 * @returns {void}
 */
function someFunction(param) { }
export {};

Use proper import type - TypeScript removes unused imports.

In my Typescript files I usually import with just import. Is there a way to check if the import is a type?

What I meant is if there is a way to create a check if the import is a type in this library(ts-to-jsdoc) to then use it like it is right now.
Example:
input
import { ParamType } from "./example2";

function someFunction(param: ParamType) {}

output
/**
 * @typedef {import('./example2.js').ParamType} ParamType
 */

/**
 * @param {ParamType} param
 * @returns {void}
 */
function someFunction(param) { }
export {};

So you can keep your code where everything is confusing and conflated together? import type exists for a reason and you better clean up your code.

Why the library could not handle that? Not all the code uses import type?

You should be using import type to import types, but I think it should be possible for ts-to-jsdoc to detect when an import is only used in a type position. Will look into that when I get a chance.

I'm trying to add this feat. But I didn't find a function to get the type of the import yet

Already implemented, just need to write a test or two today and I'll publish ;)

Fixed in 2.0.0!


Upgrade tiles plugin

Fixes WW-4568
This PR upgrades the Tiles Plugin and adjusts its API to be compatible with Tiles 2.2.2 - this allows introduce support for OGNL, EL, Wildcards and so on.

As I said on the mailing-list before, I'm not deep into tiles. But from just reading the code it seems reasonable.
I cannot test it with an own app as I switched to tiles3 in the meantime.
When accessing tiles demo in showcase app I got attached exception. The class javax.el.ELContext exists in several JARs (like jsp-api.jar or el-api.jar) so it might be a classpath issue. The Exception disapears when I remove the ${title} expression in header.jsp.
I like how dependencies are declared. I.E. that all the tiles jars like tiles-jsp, tiles-freemarker are explicitly listed. The tiles3-plugin just declares tiles-extras which drags in a lot of stuff I don't want in my app.
tiles-stacktrace.txt

I have the same issue, no idea what's wrong but will try to figure it out. Regarding Tiles 3, it looks very similar to Tiles 2 and I'm going to work on them with knowledge gathered during upgrading this plugin.

I hope that code can be shared between both tiles plugins. What do you think of creating a strust-tiles-commons.jar or somthing the like?

Will see :)

@cnenning issue with javax.el resolved

yay, it runs ! :smiley:

Tested with own app and it is running fine. Looking forward to see the same approach with StrutsTilesContainerFactory in tiles3 plugin.
BTW what is accessible through OGNL: expression?

BTW what is accessible through OGNL: expression?

I didn't test that but it should be the whole stack

I have moved this PR to be opened against support-2-3 and it targets Struts 2.3.x. Please see #60 and I'm going to close this PR.


[CULT] BOTA-SC :  Taux de germination (Plantage) - SC  20208741N0

Url : https://jbp.botalista.community/#/cultivated/view/56206
Error message : A different object with the same identifier value was already associated with the session : [com.botalista.cultivated.entity.Propagation#56206]; nested exception is javax.persistence.EntityExistsException: A different object with the same identifier value was already associated with the session : [com.botalista.cultivated.entity.Propagation#56206]
Username : paris
Description : Bonjour les DEV  de BOTALISTA,
L’enregistrement d'un nouveau taux de germination aboutit à un rapport de plantage.
Cordialement
VIncent Lipa

Error details
Request url: https://jbp.botalista.community/api/cultivated/propagation
Request method: POST
Status Code: 405 (Method Not Allowed)
Data send:
{"version":0,"idPropagation":56206,"soilMixture":{"uid":"1074e616-cf0b-4095-a089-be43a12f6fe8","id":0,"description":"Mélange semis: terreau spéciale semis + sable de rivière"},"responsible":{"version":0,"uid":"2b866de9-3554-4122-8677-67e017d7576a","createBy":"LIPA","created":1472076000000,"idPerson":48944,"initial":"NR","name":"Rossignol","surname":"Nicolas ","names":[],"birth":null,"death":null,"domain":null,"abbreviations":[],"historicalAbbreviations":[],"mail":null,"phone":null,"comment":null,"oldID":null},"seedingDate":"2020-11-12","seedingDatePrecision":"day","container":"enum_plastic_pot","seedingMode":"enum_other","germinationDate":"2021-03-10","germinationDatePrecision":"day","germinationRate":25,"count":null,"weight":null,"temperature":null,"humidity":null,"location":null,"additionalPropagations":[],"cultivated":{"idCultivated":56206}}
Error Type: com.botalista.lib.core.errors.container.CriticalError
Error message:
A different object with the same identifier value was already associated with the session : [com.botalista.cultivated.entity.Propagation#56206]; nested exception is javax.persistence.EntityExistsException: A different object with the same identifier value was already associated with the session : [com.botalista.cultivated.entity.Propagation#56206]


Add undo button when removing entries

Describe your suggested feature
J2k has this feature.
Is a message that appears on the bottom of the screen with an undo button after removing entries
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

But why? There's already a 2-step confirmation dialog to delete an entry

But why? There's already a 2-step confirmation dialog to delete an entry

that only happens if you're in the library, not in the entry itself
if you missclicked it on the entry, it would just remove it right away

Tap again and add it back?

Tap again and add it back?

it wouldn't have the previous categories
if you have  a lot of them, its a pain to add them back but I would understand if this isn't enough to add this as a feature
also, in j2k it stays there for a long time so rushing to it wouldn't be the case

It does keep it
https://github.com/user-attachments/assets/6c287ec1-9ac5-46ed-96c2-3d60cbfec147

Also, since you clarified, duplicate of #391


Disable password copy

disable copy, paste, cut and select in password fields -> fixes #1167

fixed in https://github.com/nemgrouplimited/symbol-desktop-wallet/pull/1372


[1.18] Ticking block component isn't ticking

I'm not sure why but ticking block component isn't ticking. At least on vanilla blocks
Registration
override fun registerBlockComponentFactories(registry: BlockComponentFactoryRegistry) {
    registry.beginRegistration(BaseContainerBlockEntity::class.java, MANUFACTORY_ENVIRONMENT)
        .filter { cl -> Container::class.java.isAssignableFrom(cl) }
        .end { blockEntity ->
            if(blockEntity is Container) {
                println("Adding environment to: ${ blockEntity::class }")
                BlockEntityInventoryEnvironment(blockEntity)
            }
            else
                throw IllegalArgumentException("Expected Container BlockEntity!")
        }
}

Component interface
interface InventoryEnvironment: ComponentV3, ClientTickingComponent, ServerTickingComponent {
    val size: Int

    fun getItem(index: Int): ItemStack

    fun setItem(index: Int, stack: ItemStack)
}

Tried adding impl but doesn't work too

Apologies for the delay - may I get a link to your repository in order to better understand the context ?

Update: nevermind, there was a bug ! Thanks for the report.


External Dynamic Manila Provisioner

Trello card: https://trello.com/c/2GAHIEmX/350-13-implement-dynamic-provisioner-for-manila-external-provisioner

@jsafrane @wongma7 @rootfs PTAL

install https://github.com/sgotti/glide-vc and run glide-vc --use-lock-file to remove the extra changes to vendor dir

@wongma7 thank you for the hint glide-vc --use-lock-file, however, glide-vc removes packages that are needed even though they are in both glide.lock and glide.yaml files. For example github.com/go-openapi/spec:
Running unit tests in ./lib/controller
# github.com/kubernetes-incubator/external-storage/lib/controller
package github.com/kubernetes-incubator/external-storage/lib/controller (test)
	imports k8s.io/client-go/kubernetes/fake
	imports k8s.io/api/admissionregistration/v1alpha1
	imports k8s.io/apimachinery/pkg/apis/meta/v1
	imports github.com/go-openapi/spec: cannot find package "github.com/go-openapi/spec" in any of:
	/home/ppospisi/src/k8s.io/apimachinery/vendor/github.com/go-openapi/spec (vendor tree)
	/usr/local/go/src/github.com/go-openapi/spec (from $GOROOT)
	/home/ppospisi/src/github.com/go-openapi/spec (from $GOPATH)
FAIL	github.com/kubernetes-incubator/external-storage/lib/controller [setup failed]

That's why I'll rebase my branch without using the glide-vc --use-lock-file command.

OK, I will look into why glide-vc doesn't work here

@jsafrane I believe I've addressed all your comments. Should I squash the commits?

/retest

/test

I tested the provisioner with OpenStack (Pike) and the basic functionality is working well.
/lgtm

@jsafrane plese, would you also approve this PR as @tsmetana or do you have any further comments?


import process bugs out if an entity script isn't a tool script

As I was writing this issue I noticed my code is slightly outdated, the latest code in question has changed and it seems to partially prevent this issue.
https://github.com/jitspoe/godot_bsp_importer/blob/512e256ec6c872f3a08d02e2ec41698b602bad2c/addons/bsp_importer/bsp_reader.gd#L758-L759
That second check actually prevents the importer from bugging out. But it still doesn't give you any feedback when you forget to make the script a tool script. I suppose that when you include that method, that means you want the script to be a tool script.
Maybe something like this could exist there?
if not scene.get_script().is_tool():
	printerr(scene.name + " has 'set_import_value' method, but script is not a tool script")
	# maybe no point continuing, since the method exists but itn't working?
	break

printerr prints out a message to the output, but in red. I don't know if there's any better way to deal with it.

Thanks for pointing this out.  I don't suppose there's any way to check that a function has a return type, is there?  Would be nice to guarantee the function returns a bool, but this error at least provides some help!
Fixed in https://github.com/jitspoe/godot_bsp_importer/commit/f0681e5cd4182763142cd4d51f1480dd492373f8

Not that I know of. But I suppose you could explicitly check if it's not null and true. It won't be as elegant, but can do the job.
Tbh, I'm not too fond of the idea of being able to set actual node properties directly from spawnargs. It can make it easier to set up entities, but personally I prefer defining and controlling which "spawnargs" get used and everything else should get ignored. My end goal is to allow players to make their own maps, and I'm afraid that might be too much power on their hands. It might also require map makers to fix their maps, if they're using Godot properties that got renamed, changed, deprecated, etc.
At least that's the way I'm seeing it.

In that case, you could just have set_import_value() return true by default and nothing will be set that you don't explicitly check for.  Note than only the @export vars will be set, so if you don't want people messing with internal variables, that shouldn't be an issue.


Error downloading Dutch (NL) Kaldi profile

Just did a clean install but it seems there are files missing on the kaldi github repository.
[DEBUG:2020-06-09 17:39:45,898] rhasspyprofile.download: Downloading https://github.com/synesthesiam/nl_kaldi-cgn/raw/master/acoustic_model/conf/ivector_extractor.conf to /profiles/nl/kaldi/model/conf/ivector_extractor.conf

[ERROR:2020-06-09 17:39:46,240] rhasspyprofile.download: Download failure (https://github.com/synesthesiam/nl_kaldi-cgn/raw/master/acoustic_model/conf/ivector_extractor.conf, got 169336 byte(s), expected 881)

[ERROR:2020-06-09 17:39:46,241] rhasspyserver_hermes: ('https://github.com/synesthesiam/nl_kaldi-cgn/raw/master/acoustic_model/conf/ivector_extractor.conf', 'File size mismatch (got 169336 byte(s), expected 881)')

Traceback (most recent call last):
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyserver_hermes/__main__.py", line 583, in api_download_profile
    ssl_context=ssl_context,
  File "/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspyprofile/download.py", line 494, in download_files
    f"File size mismatch (got {final_size} byte(s), expected {bytes_expected})",

rhasspyprofile.download.DownloadFailedException: ('https://github.com/synesthesiam/nl_kaldi-cgn/raw/master/acoustic_model/conf/ivector_extractor.conf', 'File size mismatch (got 169336 byte(s), expected 881)')

Visiting the url gives a 404 Not Found.

Got it, thanks. Wil be fixed in the next release.

Hello,
Is there a temporarily fix that can be used. I have just thrown my pre-release away to find out that final release does not work with the nl kaldi profile.
Thanks

I'm trying to get a new Docker image pushed with the fix. DockerHub is not being very cooperative...

A temporary fix might be to download the missing files from an older commit: https://github.com/synesthesiam/nl_kaldi-cgn/tree/1e6d9dad9c16afdf91114f9e6e932428b522488b/acoustic_model/conf

I'm trying to get a new Docker image pushed with the fix. DockerHub is not being very cooperative...

I am using the debian package and not the docker image.
If I implement it from the source, is the fix in there already?

Yes, the fix is in master already.
I'm in the process of changing the download links in each profile to refer to a specific commit instead of master. I hadn't realized before that this would be a problem if profile files were removed or updated while someone was using a version of Rhasspy that hadn't been updated.

@NoedelVreter this is probably fixed, can you verify?


Adding gmail icon to footer

I would like to add a Gmail icon to the footer which will redirect the viewer to Gmail compose with already filled Gmail of portfolio user.
preview of the redirected page -

@smaranjitghose @anushbhatia If you approve the issue please assign it to me.

The purpose of the contact form is to avoid giving the email


[BUG]: docker-compose up on mac m1 has error

Describe the bug
A clear and concise description of what the bug is, ideally within 20 words.
ClickVisual Running Environment
Please provide the following information:

ClickVisual version:
newest version.

ClickVisual.LOG:

ERROR: for clickvisual_nginx_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for clickvisual_mysql_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for clickvisual_zookeeper_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for clickvisual_redis_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for clickvisual_alertmanager_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for nginx  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for mysql  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for zookeeper  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for redis  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for alertmanager  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

See if this document helps https://github.com/docker/compose/issues/3927

Thanks! It's my problem.


Upgrade Elasticsearch

Upgrade Elasticsearch to version 7.
Should be able to restore data from a snapshot instead of re-indexing everything.

Closed as complete by #1082


'dea_next' pre-packaging failed

This is a follow on from Error Generating Manifest: Unresolved Nodes #1036.  Once I successfully generated the manifest file, I proceeded with the instructions here:
http://docs.cloudfoundry.org/deploying/common/deploy.html
When I performed the "Build the Cloud Foundry Release" step by executing
bosh create release I received what appears to be a Ruby related build error.  I'm not sure if it's relevant, but I notice that the cf release build builds Ruby 2.1.8, and I am running Ruby 2.3.1 per the earlier instructions.  Should I target a different build?
Thanks again.
Pertinent log output, beginning with specifying the release name (Cleaned up the formatting as best I could):
Please enter development release name: |cf| cf-2405M
.
.
.
Building rootfs_cflinuxfs2...
Using final version '0289ab40e052400035836445cf9841deefd04767'
Building etcd-dns-checker...
Using final version '9676918944de93dd773b706cc7ecc68073492372'
Building ruby-2.1.8...
Using final version '0a758a4dc3408937b64f89aaa39f8ee25cce5454'
Building php-buildpack...
Using final version '6803736622b95ae7c804ef91316436b9d9a17069'
Building python-buildpack...
Using final version '3aa7326b3cc0a8732c829a09fd3a617b303e8474'
Building nginx_webdav...
Using final version 'ee1d48cbce7f78f1395b12837a500c11e5066fa7'
Building nsync...
Using final version 'c327241cb74eb4b53d616b7020771947f4749881'
Building binary-buildpack...
Using final version 'fa170a1f3c2aa97658e1158eb1ff2651b3190d13'
Building common...
Using final version '953ccbc1b39fc972d2b4903beb16af7daf78cc85'
Building consul...
Using final version '786f3d52dcbb785f523f3b39b172b9b7e2a9c148'
Building cc_uploader...
Using final version '127877d71992ee16053d4f1996c811c19e9b6622'
Building nats-common...
Using final version '1f712a21c0b1cbb3b547eccc79eb159aaee48b99'
Building haproxy...
Using final version 'f5d89b125a66892628a8cd61d23be7f9b0d31171'
Building stager...
Using final version '2bd4e3a6b76ca980be2d33e25676bd6c895429ef'
Building capi_utils...
Using final version 'f0746a954b2d4ab7bf905b8bc742584801e21357'
Building collector...
Using final version '9f8dfbcbcfffb124820327ad2ad4fee35e51d236'
Building loggregator_trafficcontroller...
Using final version '2fc7911b9d9aad4106649c4f4d2e585b0dbc9b4e'
Building cli...
Using final version '817758b7e99b9cece5a45f7c6ef2920b52014ac0'
Building dea_next...
No artifact found for dea_next
Generating...
Pre-packaging...
set -e -x
cd /tmp/d20160817-21763-d84lff/d20160817-21763-1halpou/dea_next
BUNDLE_WITHOUT=development:test
bundle package --all --no-install --path ./vendor/cache
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching https://github.com/cloudfoundry/warden.git
Fetching https://github.com/intridea/grape.git
Fetching https://github.com/cloudfoundry/loggregator_emitter.git
Fetching https://github.com/nats-io/ruby-nats.git
Using json 1.8.3
Using minitest 5.8.4
Using httpclient 2.7.1
Using json_pure 1.8.3
Using bundler 1.12.5
Using warden-protocol 0.1.5 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using loggregator_emitter 5.0.1 from https://github.com/cloudfoundry/loggregator_emitter.git (at master@7863578)
Using warden-client 0.1.0 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using nats 0.6.0 from https://github.com/nats-io/ruby-nats.git (at master@d0556a0)
Using em-warden-client 0.1.2 from https://github.com/cloudfoundry/warden.git (at master@b72b8c5)
Using grape 0.16.3 from https://github.com/intridea/grape.git (at master@c2778cf)
Updating files in vendor/cache

rake-11.1.2.gem
i18n-0.7.0.gem
json-1.8.3.gem
Could not find minitest-5.8.4.gem for installation

'dea_next' pre-packaging failed
alex@ubuntu:~/workspace/cf-release$ ruby -v
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

As an alternative to building from source (if you're not hacking on the internals of Cloud Foundry itself, no need to build from source), you may want to just deploy the latest stable build:
bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release

I'll give that a shot.  Thanks.

I am still receiving this same issue as @aremily when building from source per instructions (http://docs.cloudfoundry.org/deploying/common/deploy.html). minitest 5.8.4 is in my list of local gems.


No option to select alias when autocompleting from alias

Hi
i am not sure if this is a bug, or i am missing some settings, but behaviour described in this issues - doesn't work for me
https://github.com/tadashi-aikawa/obsidian-various-complements-plugin/issues/64
https://github.com/tadashi-aikawa/obsidian-various-complements-plugin/issues/73
it finds note corresponding to alias, but will insert link to it without alias.
Obsidian v1.1.9
Various complements v7.3.0

Hi, @Sinled :)
Do you enable the following option?

My bad, i've missed this option. Thanks for quick reply


Feature Request - Handle onbeforeunload

We need to handle the situation when a user leaves a particular page and the window.onbeforeunload() method does not seem to be called with the router.
A possible solution would be to patch navigateAction.js to check if there is a window.onbeforeunload() method defined on the window, retrieve the string value from it, and then call window.confirm() with the appropriate string.
Thoughts?

This was fixed by #19


Fix typo

Issue #, if available:
#353
Description of changes:
Fix typo
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #356   +/-   ##
=======================================
  Coverage   90.29%   90.29%
=======================================
  Files          53       53
  Lines        2556     2556
  Branches      521      521
=======================================
  Hits         2308     2308
  Misses        237      237
  Partials       11       11

Continue to review full report at Codecov.

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


tag function does not work

My sibyl2 server is deployed in k8s,here is the yaml file
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "8"
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"sibyl2-deployment","namespace":"devops-qa"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"sibyl2"}},"template":{"metadata":{"labels":{"app":"sibyl2"}},"spec":{"containers":[{"env":[{"name":"SIBYL2_BINDING_DBTYPE","value":"MONGO"},{"name":"SIBYL2_BINDING_MONGO_DB_NAME","value":"sibyl2"},{"name":"SIBYL2_BINDING_MONGO_URI","value":"mongodb://root:example@mongo-service:27017/"}],"image":"williamfzc/sibyl2:v0.16.1","name":"sibyl2","ports":[{"containerPort":9876}]}]}}}}
  creationTimestamp: "2023-07-25T05:58:24Z"
  generation: 9
  name: sibyl2-deployment
  namespace: devops-qa
  resourceVersion: "112989345"
  uid: 967e7cf4-c4fa-4a2b-b4ab-9be54a12a84b
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: sibyl2
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      annotations:
        redeploy-timestamp: "1690861224325"
      creationTimestamp: null
      labels:
        app: sibyl2
    spec:
      containers:
      - env:
        - name: SIBYL2_BINDING_DBTYPE
          value: MONGO
        - name: SIBYL2_BINDING_MONGO_DB_NAME
          value: sibyl2
        - name: SIBYL2_BINDING_MONGO_URI
          value: mongodb://root:example@mongo-service:27017/
        image: williamfzc/sibyl2:v0.16.4
        imagePullPolicy: IfNotPresent
        name: sibyl2
        ports:
        - containerPort: 9876
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2023-07-25T05:59:16Z"
    lastUpdateTime: "2023-07-25T05:59:16Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2023-07-25T05:58:24Z"
    lastUpdateTime: "2023-08-01T06:29:21Z"
    message: ReplicaSet "sibyl2-deployment-764bd6fc4" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 9
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1

As u can see ,the version of sibyl2 image is v0.16.4. After I upload the source file ,i want to tag some function.
1.Tag A Func
curl -X 'POST' \
  'http://devops-sibyl.qa.xxxx.com/api/v1/tag/func' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "repoId": "api-detect-test-app+test",
  "revHash": "d5e4a807-test",
  "signature": "com.xxx.data.fetch.service.web.controller|com.xxx.data.fetch.service.web.controller.UserActionDashboardController|allBoard|String|List<DataFetchBoardDTO>",
  "tag": "thisIsATestTag"
}'

The respones http status code is 200
2.Query the Tag
curl -X 'GET' \
  'http://devops-sibyl.qa.xxx.com/api/v1/tag/func?repo=api-detect-test-app%2Btest&rev=d5e4a807-test&tag=thisIsATestTag' \
  -H 'accept: application/json'

response is
[
"com.xxx.data.fetch.service.web.controller|com.xxx.data.fetch.service.web.controller.UserActionDashboardController|allBoard|String|List<DataFetchBoardDTO>"
]

which is in line with expectations
3.here is something weird happen, when i use the  /api/v1/regex/func to match the tag field ,the result is wrong
curl -X 'GET' \
  'http://devops-sibyl.qa.xxx.com/api/v1/regex/func?repo=api-detect-test-app%2Btest&rev=d5e4a807-test&field=tags&regex=.*this.*' \
  -H 'accept: application/json'

The response is
[]

This means that through this api, I have not obtained the information of the function that was tagged just now.
And when I get the information of the function through the signature, I don't see the related tag info  in the returned data
curl -X 'GET' \
  'http://devops-sibyl.qa.xxx.com/api/v1/signature/func?repo=api-detect-test-app%2Btest&rev=d5e4a807-test&signature=com.xxx.data.fetch.service.web.controller%7Ccom.xxx.data.fetch.service.web.controller.UserActionDashboardController%7CallBoard%7CString%7CList%3CDataFetchBoardDTO%3E' \
  -H 'accept: application/json'

response
{
  "name": "allBoard",
  "receiver": "com.xxx.data.fetch.service.web.controller.UserActionDashboardController",
  "namespace": "com.xxx.data.fetch.service.web.controller",
  "parameters": [
    {
      "type": "String",
      "name": "keyword"
    }
  ],
  "returns": [
    {
      "type": "List<DataFetchBoardDTO>",
      "name": ""
    }
  ],
  "defLine": 60,
  "span": {
    "start": {
      "row": 58,
      "column": 4
    },
    "end": {
      "row": 64,
      "column": 5
    }
  },
  "bodySpan": {
    "start": {
      "row": 59,
      "column": 59
    },
    "end": {
      "row": 64,
      "column": 5
    }
  },
  "extras": {
    "annotations": [
      "@GetMapping(\"/allBoard\")"
    ],
    "classInfo": [
      {
        "Key": "packageName",
        "Value": "com.xxx.data.fetch.service.web.controller"
      },
      {
        "Key": "className",
        "Value": "UserActionDashboardController"
      },
      {
        "Key": "annotations",
        "Value": [
          "@RestController",
          "@RequestMapping(\"/userAction/dashboard\")"
        ]
      }
    ]
  },
  "lang": "JAVA",
  "path": "xxx-data-fetch-service-web/src/main/java/com/xxx/data/fetch/service/web/controller/UserActionDashboardController.java",
  "tags": [],
  "signature": "com.xxx.data.fetch.service.web.controller|com.xxx.data.fetch.service.web.controller.UserActionDashboardController|allBoard|String|List<DataFetchBoardDTO>"
}

as u can see, the tag info is empty.

Regardless of whether there is a problem with my use, the performance of the api is not as expected. I think this is a bug, and I hope to reply as soon as possible.Thanks

Regardless of whether there is a problem with my use, the performance of the api is not as expected. I think this is a bug, and I hope to reply as soon as possible.Thanks

Could you check if the tags have been properly written to the mongo storage for this method?
I 'm not sure if the issue is caused by escaping characters.

Is it still working if you query other fields (like name)?
Also you can query it with a specific field instead, or create another script to query the db directly if the mongo works fine.

other field's query is ok,i see there are two fields in mongoDb, 'tag' and 'tags' ,tag field has values but the other one has not.

Is this normal?hope this information can be useful

OK cool. It looks like a typo.
Could you try using field=tag instead?

i tried,still not work

 i tried,still not work

bug from here:
https://github.com/opensibyl/sibyl2/blob/4cbbd3b42b2471efdd069e292528daf124792dba/pkg/server/binding/binding_mongo_create.go#L58C10-L58C10
The mongo driver uses a wrong key tag in uploading.
You can change it to tags to make it work immediately if it's urgent.
Official fix should be released soon.
Thanks for your report :)

 i tried,still not work

bug from here:
https://github.com/opensibyl/sibyl2/blob/4cbbd3b42b2471efdd069e292528daf124792dba/pkg/server/binding/binding_mongo_create.go#L58C10-L58C10
The mongo driver uses a wrong key tag in uploading. You can change it to tags to make it work immediately if it's urgent.
Official fix should be released soon. Thanks for your report :)

But I use sibyl2_0.16.4_darwin_amd64 on my pc, the tag function and regex query by tag field is ok.

By default sibyl2 uses badger as db. Its implementation is correct.
Are you using mongo on your pc?

By default sibyl2 uses badger as db. Its implementation is correct.
Are you using mongo on your pc?

Got it ,I so the reason for this bug is that the field corresponding to mongoDb is tag when creating a tag, but the tag query is through the tags field, so the query has no results. Am I right ?

This should be fixed in v0.16.5
test case: https://github.com/opensibyl/sibyl2/blob/268de607c8578ebf4b0b5fc047a062a0553707f2/pkg/server/binding/binding_mongo_test.go#L106
Feel free to reopen if it still exists.


GDA timing out when hyperion is waiting for beam

Last night the beam went down during https://ispyb.diamond.ac.uk/dc/visit/in37633-7/dcg/12777225. Hyperion correctly waited for the beam to come back up by GDA timed out on the hyperion call. For other hyperion calls we make sure not to time out if hyperion is waiting on beam to come back but the robot load + centring call does not do this.
Acceptance Criteria

GDA does not time out on the hyperion call if hyperion is waiting for beam to come back during a robot load + XRC

Fixed in https://gerrit.diamond.ac.uk/c/gda/gda-mx/+/42610?usp=dashboard

I'm happy that the above change addresses this issue, and it's already been merged so I'm closing this


Send telemetry data when treeview is in CollapsibleState

Fix: #547

Codecov Report

Merging #554 (6185130) into master (da4a7de) will increase coverage by 0.08%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master     #554      +/-   ##
==========================================
+ Coverage   68.62%   68.71%   +0.08%
==========================================
  Files          97       97
  Lines        5910     5938      +28
  Branches     1033     1041       +8
==========================================
+ Hits         4056     4080      +24
- Misses       1854     1858       +4

Impacted Files
Coverage Δ

src/tkn.ts
75.46% <80.00%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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


fix(devtools): do not show disabled label for inactive queries

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Area code for mobile phones in brazil

In Brazil, mobile phone numbers also have area code associated with them. I just added a test case, and put the specific check for Brazil on isNumberGeographical method.
Ps.: I proposed this change on Python port of the lib (https://github.com/daviddrysdale/python-phonenumbers/pull/73), and they suggested me to propose for the Java lib instead

Thanks @pappacena! I'd like to solve a number of other regions in one go, and keep the C++ and JS APIs consistent. It's a bit involved so hard to review as a PR, but I'll give it a shot myself sometime this week. I filed #990.

Hi, @keghani ! If you have the rules for the other regions, let me know and I can help you with that. :-)
Then, I can help changing the C++ and JS APIs as well.

Thanks for your support @pappacena :)
I'm working with the team to get this out in the next release. Thanks for your patience!
Indonesia turned out not to be relevant for this change anymore, but I'm adding Argentina and Mexico.
I'm going to close this pull request and track the issue at #990.

Hi again,
Just to set expectations - this is unlikely to be in the next release as I have less time than usual given the Easter holidays. I'm targeting the one after. Many thanks for your patience.

Ok, @keghani. Don't worry.
Just let me know if you want any contribution :-)

Fixed in release 7.3.0


git push heroku master for ruby on rail don't work

Hi,
I'm trying to deployng code to Heroku, but it's fail and i can't fix it. Can you help me please (sorry for my english)
iMacdeemmak:first_app$ git push heroku master
Counting objects: 64, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (53/53), done.
Writing objects: 100% (64/64), 16.47 KiB | 0 bytes/s, done.
Total 64 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.0.0
remote: -----> Installing dependencies using 1.9.7
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote:        Fetching gem metadata from https://rubygems.org/...........
remote:        Fetching version metadata from https://rubygems.org/...
remote:        Fetching dependency metadata from https://rubygems.org/..
remote:        Rubygems 2.0.14 is not threadsafe, so your gems must be installed one at a time.  Try 'port install sqlite3 +universal',
remote:        'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
remote:        and check your shared library search path (the
remote:        location where your sqlite3 shared library is located).
remote:        *** extconf.rb failed ***
remote:        Could not create Makefile due to some reason, probably lack of necessary
remote:        libraries and/or headers.  Check the mkmf.log file for more details.  You may
remote:        need configuration options.
remote:        Provided configuration options:
remote:        --with-opt-dir
remote:        --without-opt-dir
remote:        --with-opt-include
remote:        --without-opt-include=${opt-dir}/include
remote:        --with-opt-lib
remote:        --without-opt-lib=${opt-dir}/lib
remote:        --with-make-prog
remote:        --without-make-prog
remote:        --srcdir=.
remote:        --curdir
remote:        --ruby=/tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/ruby-2.0.0/bin/ruby
remote:        --with-sqlite3-dir
remote:        --without-sqlite3-dir
remote:        --with-sqlite3-include
remote:        --without-sqlite3-include=${sqlite3-dir}/include
remote:        --with-sqlite3-lib
remote:        --without-sqlite3-lib=${sqlite3-dir}/
remote:        Gem files will remain installed in /tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10 for inspection.
remote:        Results logged to /tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10/ext/sqlite3/gem_make.out
remote:        An error occurred while installing sqlite3 (1.3.10), and Bundler cannot
remote:        continue.
remote:        Make sure that gem install sqlite3 -v '1.3.10' succeeds before bundling.
remote:        Bundler Output: Fetching gem metadata from https://rubygems.org/...........
remote:        Fetching version metadata from https://rubygems.org/...
remote:        Fetching dependency metadata from https://rubygems.org/..
remote:        Rubygems 2.0.14 is not threadsafe, so your gems must be installed one at a time.  Try 'port install sqlite3 +universal',
remote:        'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
remote:        and check your shared library search path (the
remote:        location where your sqlite3 shared library is located).
remote:        *** extconf.rb failed ***
remote:        Could not create Makefile due to some reason, probably lack of necessary
remote:        libraries and/or headers.  Check the mkmf.log file for more details.  You may
remote:        need configuration options.
remote:
remote:        Provided configuration options:
remote:        --with-opt-dir
remote:        --without-opt-dir
remote:        --with-opt-include
remote:        --without-opt-include=${opt-dir}/include
remote:        --with-opt-lib
remote:        --without-opt-lib=${opt-dir}/lib
remote:        --with-make-prog
remote:        --without-make-prog
remote:        --srcdir=.
remote:        --curdir
remote:        --ruby=/tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/ruby-2.0.0/bin/ruby
remote:        --with-sqlite3-dir
remote:        --without-sqlite3-dir
remote:        --with-sqlite3-include
remote:        --without-sqlite3-include=${sqlite3-dir}/include
remote:        --with-sqlite3-lib
remote:        --without-sqlite3-lib=${sqlite3-dir}/
remote:
remote:
remote:        Gem files will remain installed in /tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10 for inspection.
remote:        Results logged to /tmp/build_00b01dcc5aed9f98559c1cd78ce93d6d/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10/ext/sqlite3/gem_make.out
remote:        An error occurred while installing sqlite3 (1.3.10), and Bundler cannot
remote:        continue.
remote:        Make sure that gem install sqlite3 -v '1.3.10' succeeds before bundling.
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote:  !     Detected sqlite3 gem which is not supported on Heroku.
remote:  !     https://devcenter.heroku.com/articles/sqlite3
remote:  !
remote:
remote:  !     Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy....
remote:
remote: !	Push rejected to secret-forest-4173.
remote:
To https://git.heroku.com/secret-forest-4173.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/secret-forest-4173.git'
iMacdeemmak:first_app$
Thanks for you help
Cannele

This looks like user error, since the Heroku's error message includes the following:
Detected sqlite3 gem which is not supported on Heroku.
https://devcenter.heroku.com/articles/sqlite3

And what is the solution ? please

I'd recommend reading the page heroic links to

ok thank you very much


SimdYuv420pSaveAsJpegToMemory

I'm very impressed by SimdYuv420pSaveAsJpegToMemory but there is a problem with the colour space conversion.  Is there a colour space mismatch or is this caused by JPEG compression?
Also please note when choosing SimdPixelFormatNone I get BGR, not YUV420P.

JPEG is image format with loss (except quality =100) so it can cause wash. As to color space see documetaion of function SimdYuv420pSaveAsJpegToMemory: http://ermig1979.github.io/Simd/help/group__image__io.html#gac0ee5c58a3d4de7540d52e7356d2dbab


[V2] Add favicon for template-retail-react-app

Currently, the icon favicon is not loading in template-retail-react-app in V2. We are seeing a warning in the terminal
Fixed favion path in ssr.js to fix favicon.
Types of Changes

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

(change1)

How to Test-Drive This PR

Run npm start inside packages/template-retail-react-app
Verify terminal does not show a Favicon not found error
Verify if browser loads correct favicon (Clearing cache and hard-reloading maybe required)

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

there is an example in ssr.js for serving the robot.txt, like:
app.get('/robots.txt', runtime.serveStaticFile('static/robots.txt'))
we should be able to do the same for favicon? let's try to keep things consistent!

we'd also need to remove the faviconPath option in the sdk cuz it's no longer valid.


Compile warning when using cordova-cli 5.4.1

When I execute taco build android it warns me during the build about this:
The format of cordova.raw.* methods "options" argument was changed in 5.4.0. "options.options" property now should be an object instead of an array of plain strings. Though the old format is still supported, consider updating your cordova.raw.* method calls to use new argument format.
It also seems to block VS attaching the debugger as it thinks the whole compilation failed, which it didn't.
This issue seems to be related to #18 and located at: https://github.com/Microsoft/TACO/blob/047a57a5d9c20b8c65905596f9b8aefc89b968d4/src/typings/cordovaExtensions.d.ts#L39 .
Update: So I guess I'm not the only one and you already responded: http://stackoverflow.com/questions/34068242/visual-studio-2015-cordova-5-4-1-could-not-debug-android-app
Is there any news about a release date? I thought a release was planned around/before Christmas to support 5.4.1? Or a possible branch/tag I could use?

Thanks @raymens for bringing up this issue. We will fix the warning in our next update

@raymens I have a PR that should fix this issue (at least on the TACO side; I can't speak for the VS team about the debugger attachment issue). You can find the PR here: https://github.com/Microsoft/TACO/pull/240

This is now merged to master and as such it should be part of our next release. You can start using the fix by using the following steps:
npm uninstall -g taco-cli
git clone [TACO repo]
cd TACO
npm install
npm install -g gulp (if not installed)
gulp package
cd build/package/node_modules/taco-cli
npm install -g

Please reopen if you still notice the issue, and thanks again for reporting it.


Fix for OS X and unix command line to launch external editor.

Quotes around file name in OS X comman line doesn't work.
Popen works better with list of parameters.
Found solution here.
https://docs.python.org/3.4/library/subprocess.html
<IP_ADDRESS>. Popen Constructor
This PR is not tested with Windows.

I'll test it on windows today and merge. Thank you!

@Kmanfi are you test it on mac?

Yes, tested with latest OS X, MacBook Pro.

Problem here with shlex.split is if file name will contain spaces. I believe your path to text editor does not contain them?

I'll test path with spaces.

Also try path without quotes at all. Content of line edit is already a string

Tested on OS X. Windows?


About needs to link to about.sourceacademy.org

Add link to https://about.sourceacademy.org/
in

Fixed by #2070.


Is workingDirectory not a control option?

e.g. for using the Maven@3 task for performing build/package/test operations -- it's a little surprising that workingDirectory is neither an input for this task nor a control option.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8098f527-ebdf-60d5-3989-5228b7a207c1
Version Independent ID: ce27c817-9599-00ef-5af2-3ac1dbad8dc6
Content: Build and Release Tasks - Azure Pipelines
Content Source: docs/pipelines/process/tasks.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@LukeCarrier Thank you for the feedback.
It looks like you've encountered an issue with the product itself, rather than an issue with the documentation.
To solicit feedback from the product team, please use Report a problem or Suggest a feature in the Azure DevOps community and provide a link back to this issue.


bounded polymorphism not working in this case

// @flow
type Dispatch<A> = (action: A) => any

function test<A: {type: string}>(dispatch: Dispatch<A>) {
  dispatch({type: 'test'})
}

index.js.flow:5
  5:   dispatch({type: 'test'})
                ^^^^^^^^^^^^^^ object literal. This type is incompatible with the expected param type of
  4: function test<A: {type: string}>(dispatch: Dispatch<A>) {
     ^ some incompatible instantiation of `A`

You can't call dispatch with {type: 'test'}, because it is not of type A.

I see what you mean now, this is getting confusing.  I wonder how to do what I'm trying to do for Redux without making the types too restrictive?  (I'm adding flow types to a 3rd party library for redux)


Deciding whether the local devnet is useful

          **definitely not blocking**, but we might want to track some potential changes upon merging.

use tooling similar to what we use in knuu, testground, or the core e2e test where we generate the files instead of keeping them in a directory. This way, its easier to confidently make changes across the entire network, make changes such the number of nodes, and there's less things in the repo.
this is definitely an overdue very handy tool! thanks for taking the time adapt the work done in blobstream for here!
Originally posted by @evan-forbes in https://github.com/celestiaorg/celestia-app/pull/3386#pullrequestreview-2023372291

IMO the local devnet is very useful but I don't think that's what this issue is really asking for. It seems @evan-forbes 's comment was asking to de-duplicate the way config files are generated.

I see, thanks. Does it make sense to invest time in dynamically generating the local devnet config files tho? I don't think so unless we find new usages that require generating a different network each time.


Update README.sops.md with user instructions for encrypted key

Summary
Based on discussion in https://github.com/tarasglek/chatcraft.org/pull/329#issuecomment-1890483618 , added instructions in README.sops.md for users decrypting secrets using an encrypted key.

Nice. I love seeing problems turn into updated docs.  Well done, @rjwignar.


COCOTB_ANSI_OUTPUT=1 broken

@Matthewar https://github.com/potentialventures/cocotb/commit/5c399d9a7a2fe092e8ee9a3fe92e4daa6b34afd9 has broken usage of COCOTB_ANSI_OUTPUT=1.
I have suggested a fix there as a comment.

Related: https://bixense.com/clicolors/

The same change also broke setting it to 0


The love letter mystery problem: C# solution

Added a new solution for the love letter mystery problem using C# programming language.

Hi @RyanFehr
Space complexity of this problem requires discussion. In my opinion it should be O(n). I've updated readme to reflect the same. Without storing the input string in memory, we can't compare a given character to its corresponding position from the end. You are doing the same in your Java solution as shown below:
String s = input.nextLine();
Please let me know your thoughts on the same.


Only build and push apps when code has changes

https://github.com/dorny/paths-filter this should simplify building this feature a bit

There is also https://github.com/Tinder/bazel-diff, but it may be a bit heavy for this use case

There is also https://github.com/Tinder/bazel-diff, but it may be a bit heavy for this use case


Make the project fit for external contributors

To easier work with external contributors it makes sense to establish some things

[ ] Spring Clean Issues
[ ] Publish Roadmap
[ ] Structure Longlist and Bugs for contributors
[ ] Enable Project board
[x] Fix ci #1864
[ ] Improve Contrib guide
[x] Create a chat (we will use GH Issues)

@vgtom we will work on improving the process for external contributors in the next few days, I will keep you posted 😁
also FYI @you1996

After a brief talk internally we would like to rely on GH discussion as means of "chat" this because it is more open than a slack chat or something similar.

@fgerschwiler @livio-a when would we like to schedule a issue cleanup and roadmap publish appointment, so that external contributor can choose a issue the like?

We should also create some incentive for contributors I will open a discussion for this


can you create stable branch?

Hi, I would use a stable branch so I don't merge your unstable changes while syncing. Could you create one?

Hi!
The main question is when this branch should be updated. Only when a version is released? Or some fixed delay after a commit, to have some testing done first?

my idea would be after each release to crates.io . I guess that's a "standard source" for users.

Sure - I can make a branch that follows the crates.io releases, though it won't benefit from semver protections, and you may still get breaking changes.

There is now a stable branch, currently at the 0.10.0 release.


made changes in css styles

Made various changes in styling.
Made the container and cards fully responsive

@singhrishabh93 I think the Font-style must be changed to give a more modern look.
What do you think?

@singhrishabh93 I think the Font-style must be changed to give a more modern look.
What do you think?

Okay we should change the font style


Drop Default trait bound of PrimaryKeyTrait::ValueType

Resolve #171

Got this error, somehow...

Error: Exec("error returned from database: database table is locked: metadata")

https://github.com/SeaQL/sea-orm/runs/3719025255?check_suite_focus=true#step:5:290

Thanks. It looks good generally.
Though I don't understand why we have to add a new trait PrimaryKeyValue.
I think the existing APIs provides sufficient info for us to implement extract_primary_key_value_from_model.

Though I don't understand why we have to add a new trait PrimaryKeyValue.

I don't want to include get_primary_key_value inside PrimaryKeyTrait because this will requires changing either...

Add type def Entity: EntityTrait
Add generic E: EntityTrait

I think the existing API provides sufficient info for us to implement extract_primary_key_value_from_model.

I think the only way to extract either (A, B) (tuple value) or A (single value) is to impl PrimaryKeyValue inside DerivePrimayKey and counting the number of primary key columns

I think, since our identity is only a tuple of 1, 2 or 3,
There can be ways to accomplish this without introducing a new trait.

Something like this?
https://github.com/SeaQL/sea-orm/blob/beb3ec62dc9f0a33c72dd8f176e217d23c3226aa/src/entity/base_entity.rs#L242-L257

Still WIP?

I think, since our identity is only a tuple of 1, 2 or 3, there can be ways to accomplish this without introducing a new trait.
Iterable actually is able to tell us the arity I suppose.

Stuck on this

Something like this?

Yes, should be.

No we don't need that either


fix(dom): fix rxjs and most typings of makeDOMDriver

ISSUES CLOSED: #860

[x] There exists an issue discussing the need for this PR
[ ] I added new tests for the issue I fixed or built
[x] I used pnpm run commit instead of git commit

ok


⚠ eid has degraded performance

In ebbd41a, eid (https://eid.digitalservicebund.de/api/v1/health) experienced degraded performance:

HTTP code: 200
Response time: 5688 ms

Resolved: eid performance has improved in 6daef4a.


Subdomain routing with scope host prefixes

Hello,
I was wondering if you think it would be possible to adapt this library to support subdomain routing?
For example, the Phoenix "scope" macro has a "host" key that will accept a prefix like this:
  scope "/", ExampleWeb do
    pipe_through :browser

    get "/xyz", PageController, :index, as: "en_xyz"
  end

  scope "/", ExampleWeb, host: "de." do
    pipe_through :browser

    get "/xyz", PageController, :index, as: "de_xyz"
  end

Which produces the following phx.routes:
             en_xyz_path  GET     /xyz                                   ExampleWeb.PageController :index
             de_xyz_path  GET     /xyz                                   ExampleWeb.PageController :index

In this case the paths are equal and depending on which subdomain is provided, the different scope is executed. This would allow for cases where the same word exists in multiple languages. But these paths could also be different per language like they currently exist.
I was thinking to combine this with the "assigns" key on the "scope" macro to pass the locale into the connection automatically.
I'm happy to try and tackle this and contribute it via a PR but I was wondering if you were interested in this and/or whether you have advice on how to approach it.
Thanks

Hi Ben,
Nice to see interest in the lib and your offer to help. I would very much like such functionality!
Without having looked at the subdomain func. in Phoenix I guess when no subdomain is given, it acts as a fallback. So the change to the configuration could be small.
scopes: %{
      "/" => %{
        assign: %Assigns{contact<EMAIL_ADDRESS>        scopes: %{
          **"europe."** => %{
            assign: %Assigns{contact<EMAIL_ADDRESS>            scopes: %{
              "/nl" => %{assigns: %Assigns{locale: "nl", contact<EMAIL_ADDRESS>              "/be" => %{assigns: %Assigns{locale: "nl", contact<EMAIL_ADDRESS>            }
          },
         **"asia."** => %{assign: %Assigns{contact<EMAIL_ADDRESS>      }
    },

I was thinking to combine this with the "assigns" key on the "scope" macro to pass the locale into the connection automatically.

The "assigns" key should remain free form in the core Config module. I still have to decide if I want to write some convenience adapters (preprocessing) or go with a 'plug' edition (in Config pipeline processing) that will do what you suggest. However, it's a separate feature and should have it's own ticket.
Would love to see a PR. Feel free to ask me any questions you might have. If you send me a PM at Elixir Forum I will send you my contact details.


Mongodb connection

Alright this was a loooong weekend, so there is quite a bit of sloppy code there!
Tried to create some structure with the commits, but since the changes depend on each other it kind of had to be one push.
I copied the changes from the other PR, think I got all of them, will double check later, didn't want to deal with the merge conflicts - I had already started the mongodb integration.
Tested most of the routes and they all seem to be working as intended.
The place order flow could definitely use some love later once we have the time.
Synchronisation script from mysql to mongodb seems to be working but didn't go over every import to check.
It's syncing to the "testSync2" database.
Main changes from what we agreed upon was the structure of the player/wallet collection, I decided to split it into two, since it was quite messy to query for wallets (which accounts for most of our queries) when they were embedded in the player collection. There are some benefits of it but the main benefit was working with it using Prisma.

Okay somethings up with my spaces/tabs configuration, doesn't look like this in my editor, will check it out tomorrow and push again 😵💫


[silgen] Scope argument cleanups with a new scope called "ArgumentScope".

[silgen] Scope argument cleanups with a new scope called "ArgumentScope".
Once this is in, I will be able to finish the SILGenApply part of Semantic SIL.
rdar://30955427

@swift-ci smoke test and merge


Is there a way to use McPicker as a DatePicker?

As of today, there is no date picker support. Sorry. PR's are absolutely welcome!😃

I think by using a basic iso formatting YYYY | MM | DD would be the best solution.   But the one issue required would be the ability to "PREVENT" the closing of the Picker if an invalid date is selected.  Not sure if this is already present within the code without making too much modifications ?


Unable to push: "Reference 'refs/stash' not found"

Every time I try to push changes to origin via SSH Gittyup throws me
Unable to push to 'origin' - reference 'refs/stash' not found
This occurs if I try to push to Github or Gitlab. Pushing via git in terminal works flawlessly.
I am running Linux Flatpak version v1.2.2

Thanks for the report. Are you using stashing somehow this will be triggered?
Did you try once Remote -> Push to..

Hi, sorry for late response.
I didn't use stashing for my repositories. After I stashed some changes now i get this error
Unable to fetch from 'origin' - config value 'commit.refs.all' was not found
This error comes up if I try to push or even fetch and again, trying to do these operations via git in terminal works properly.
Push to... option throws the same error

It seems that I finally was able to fix this problem
In Application settings -> Misc i added path to my ssh key file in "Path to default / fallback SSH key file"
I don't know why that fixed it, because it asked me about password to my ssh key and accepted it correctly beforehand, but after adding this key to path, application isn't throwing errors when trying to fetch or push or pretty much anything else.

@Skeletonek thank you for the feedback. We will check if it is possible to make it less error prone

this is happening to me when i clone a repo with the ssh config, the @Skeletonek 's  workaround of the fallback works but not ideal for me, i use one .pem for each server and manage it by config file. using git and gitahead on these repos works with no error


datetime: offset-naive and offset-aware

I'm giving this a shot and running into an issue - it doesn't render any calendar events for me. I think it's because some events on my iCal calendar have time zone information associated with them.
Any ideas?
$ ./run_calendar.sh
INFO:app:2022-09-26 00:10:13.529526
INFO:app:Retrieving calendar infos
CRITICAL:app:can't compare offset-naive and offset-aware datetimes
INFO:app:Exporting finial images
INFO:app:Init display
INFO:app:Writing on display
INFO:app:Set display to sleep-mode

I created a test calendar and attempted to induce the same error with combinations of time zones, including some that span midnight. No such luck. Any suggestions for troubleshooting this and figuring it out?

Hi,
sorry for the late reply (I'm now back from vacation 😄)
I'll do some testing by myselfe, but it would be great if you could narrow the problem down.
For debugging purposes it's probably helpful to just directly call the get_events() function inside dataHelper.py.
Could you print the event_list from dataHelper.py, Line 30?
This will eliminate the possibility of a problem in the icalevents-lib and give some more insight (without compromising your calendar)

I hope you had a great vacation!
I'm going to be honest, my last programming language was a few Java classes in college 15 years ago. (The SQL I use on a daily basis hardly counts.) I can attempt to muddle through it, but if you've got something I can copy/paste into the command line, we'll probably both spend less time on this.

I figured out how to run the function from the command line (with an arbitrary integer), but I'm utterly failing when trying to get it to print the list. Wherever I stick the print() command, I get syntax errors or messages that it isn't defined.
Is it possible that try errors out and I can't print it because the except executes instead? (Again, sorry for my lack of python knowledge.)
python -c 'from dataHelper import get_events; get_events(10)'

It should work to just add
        print(event_list)

after line 31. You need to watch out for a correct indent (as it's pythons way of scoping).
The call of the function itself  looks good 👍

Added as line 32. (Turns out I'd actually figured this out, but because it resulted in no actionable data, I figured I'd done it wrong.)
    try:
        event_list = events(WEBDAV_CALENDAR_URL, fix_apple=WEBDAV_IS_APPLE)
        event_list.sort(key=sort_by_date)
        print(event_list)

        start_count = 0

Running it results in this:
kwschnei@pical:~/eInkCalendar $ python -c 'from dataHelper import get_events; get_events(10)'
can't compare offset-naive and offset-aware datetimes

Ok, could you please re-try it with the print in line 31?
    try:
        event_list = events(WEBDAV_CALENDAR_URL, fix_apple=WEBDAV_IS_APPLE)
        print(event_list)
        event_list.sort(key=sort_by_date)

    try:
        event_list = events(WEBDAV_CALENDAR_URL, fix_apple=WEBDAV_IS_APPLE)
        print(event_list)
        event_list.sort(key=sort_by_date)

        start_count = 0

Same result:
kwschnei@pical:~/eInkCalendar $ python -c 'from dataHelper import get_events; get_events(10)'
can't compare offset-naive and offset-aware datetimes

I did a little Googling, so I came up with a question: Does try/except mean that if that try fails at any point, it stops evaluating and immediately dumps what is in the except? If so, is there a way to make the result of event_list available to print in the except area?

Thanks for testing.
This means the problem is surprisingly inside the icalevents library : /
You understanding of the try/except is correct,
but it can't be used in the way you describe, as the error would be triggered inside the except-block and the hole programm would crash.

That would be this, right? https://pypi.org/project/icalevents/#history
In which case, that's unfortunate because it appears to be dead with no updates for a couple years.

Yes, that's it.
The github-page seems alive. I even found the issue:
https://github.com/jazzband/icalevents/issues/69

Thanks Louis - I appreciate it. I think I may tinker around with attempting to pull the calendar down with wget and seeing if I can work on a script to find the offending entries and potential remove/fix them if possible as a workaround. It's a two year old bug at this point and that makes me think it's not going to be resolved quickly.
We can either close the issue since it's not your problem, or leave it open and I'll update you if I have success.


Terminal sizeToContentWidth not working for current line buffer

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70.0-insider(e9bda7aa4ff76648cfccc1a7bde465443803da71)

OS Version: macOS Monterey 12.3.1

Steps to Reproduce

Open a terminal, type to make the current line wrap.
Use workbench.action.terminal.sizeToContentWidth (Option + Z on macOS) to resize terminal column.
Nothing happens (however, if we're pasting  instead of typing, it will work).

Expected Results
Terminal resizes successfully.

I found line.isWrapped is false (expected true when typing a long line and wrap. Is it a xterm.js issue?
https://github.com/microsoft/vscode/blob/bcfdcf57e3131dc728772251606e913d160ec8c0/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts#L363

I think this is actually by design because the shell input line isn't marking the line as wrapped