Suggestion for bagde on LinkdIn

It was suggested at the workshop in Aalborg, 13-06-2019 that it should be possible to advertise in your LinkdIn-profile that you took part in a coderefinery-workshop.

Thank you! This was a good idea which could also increase visibility for this project.

I think it was a good idea but it did not stick. But still appreciating.

I think it was a good idea but it did not stick. But still appreciating.


Metadata for entitity not sent because it doesnt exist

What is the output link of /viaversion dump?
https://dump.viaversion.com/eedaa4859a4444229393a946bfb383a0f54db12cf10da1e9253f4a10080f5ba3
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
Yes, Bungeecord #1333
How does this error happen? login? Using an item?
Just spams the console of missing items due to 1.13 on 1.12/1.8.8 spigot/paper servers.
Is there an error in the console? Use pastebin.com. Is there a kick message?
https://pastebin.com/g25ApZpk

Can you test with 1.4.1? (Latest release)

It isnt fixed, using the latest snapshot 1.4.2 sends this: https://pastebin.com/1iaQbUcF

Should I maybe go to 1.4.1 release or will there be a fix soon? https://pastebin.com/iazz3yJ1

As discussed on discord, down to a plugin sending entity data in wrong order. Can use suppress-metadata-errors in config to hide errors if needed.


fix: fix grpc conflicts

fix: fix grpc conflicts

This is being handled in the PR #1781

This is being handled in the PR #1781

This is being handled in the PR #1781

yes, the thing is that this blocks the CI. :(

This is being handled in the PR #1781

yes, the thing is that this blocks the CI. :(

yes, I changed that, the point is if we merge this, u will cancel the effect of my PR since the manifest will be not updated, let me close for now

yes, I changed that, the point is if we merge this, u will cancel the effect of my PR since the manifest will be not updated, let me close for now


Add inital ui layout and design

Use Qt creator to setup UI and add the layouts needed for adding functionality

Done.


adds camtasia 19

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

It looks like the CDN endpoint I'm hitting and the one the agent is using are not in sync. I'm not sure which one is correct though. Having a similar issue with #2616 Help please?

this is now working, but as it is a draft it cannot be merged.  maybe this is a duplicate now?

This is the Sha I get for version 2020.0.6. Which is not the version of this YAML file (2019.0.10)

if you are looking for the 2019.0.10 version, then you need a different URL.
this appears to be the URL you need.
https://download.techsmith.com/camtasiastudio/releases/19010/camtasia.exe

I know that, you're the one who set the URL and the hash to 2020.0.6 https://github.com/microsoft/winget-pkgs/commit/04a4dc3a474e69fa4928e4cd530a78ca896b2f25

Yikes.  Sorry.


Reference topic get task by id

I hope this is just the reference topic and a link change on the main tasks topic.

Thank you! After reviewing the files, it looks like I was unsuccessful in trying to move some changes to the new branch, so some of the links that support the the tutorial topic (pull request 46) are in pull request 47, and I don't think I successfully reverted all the changes when I tried separating one branch into two. Is there a way to diff pull request 46 and 47? 47 might have everything that 46 does, with some of the additional link changes to the overview topic to make things more visible. Otherwise, I think merging 46 first and then 47 would work too.

I rebased your pull request and merged #46 into this one, so I'll close #46.
Review these changes and address whatever comments remain, then when it looks ready to you,
squash the commits and it should be ready to merge.
Thanks!


Synchronize Content and Routing Structure

Still a WIP...
Currently our /content directory doesn't exactly reflect our routing structure. This is an attempt to fix that and clean up a variety of other oddities and hacks related to content and routing. It won't be a perfect fix, as there are a few antwar tickets open that would allow us to simplify things even further and add other functionality like the fully dynamic routing/content structure proposed here but it will take us one step closer to that so things are easier to migrate later on.
Here are the things I'd like to accomplish with this PR:

[x] Synchronize content and routing structure... the big one being nesting api, configuration, development, loaders, and plugins all under a new /documentation route.
[x] Update all internal links broken by the above change.
[ ] Add redirects for all external links that would be broken by the above change.
[ ] Update navigation links both in the Navigation and SidebarMobile components... the mobile sidebar is probably in the worse state of these two as some links are just blank. I'm hoping to achieve a more dynamic result but this is another one that will be facilitated by certain antwar updates like antwarjs/antwar#124.

This will take some serious review when finished as it is a major change to the site. However it will knock out some things from #1039 and should provide a more intuitive layout for future (and present) contributors.

Pretty much just edit and generated links failing now... I'm going to start on the UI work and redirects.

Closing as this has become fairly dated and I'm not sure when #980 will be completed -- I'll either re-open or make similar changes down the road.


Remove the default timeout

At the moment (in Armlet 1.1.0) the default request timeout is set to 30 seconds, with is too short for a quick analysis to complete. Also, this assumes by default that the user isn't running a full analysis.
I suggest that we do not set an timeout in armlet by default as this is handled on the server side (we can still support it as an optional parameter. WDYT?

The way the timeout in armlet works is pretty weird in armlet because it doesn't really stop the backend from continuing.

Exactly, it's only useful as a "last resort" if the analysis is definitely stuck in some way. For example a quick analysis is expected to finish within at most 60-90 seconds, but should never take more than 5 minutes. After 5 minutes, the client can safely assume that something is wrong and drop the connection.

as you suggest above, there probably should always be some "last-resort" time to wait before giving up because something really went bonkers. But isn't that essentially a "default value"?

@rocky yes, but like you said, the client side understands the context better of what the end-user is doing. Armlet shouldn't be forcing any particular timeout on the client, so I'd argue that there should be no timeout at all by default. If the client wants one, they can set it explicitly.

+1 for no unlimited default timeout. The backend guarantees (assuming there is no bugs) that eventually any analysis request will end up either with Finished (on success) or Error (on failure) status. Thus the only practical purpose of timeout now is to limit the maximum number of poll pings the Armlet can send (as they are rate limited). Going forward, once we add the endpoint to remove a non-started analysis from API queue, we can also add an optional call to that in the end of timeout. So that client can express that after that time I won't need results of that analyses anyway, thus please drop it, if not started yet, saving some API usage and queue time for my subsequent requests.

Merged ich #60

Like @birdofpreyru I agree not having a default timeout is bad. If you want to set it to a high number like 24 hours, that's fine.
And in #60 I misunderstood in my sleep deprevation that this was going to be applied to the default value, not an example value. That too feels wrong. If the example goes with a "quick" analysis, as it does here, it should be set to something slightly larger than the quick analysis default of 90 seconds, say 120 seconds. Not one day.
I've written to clients that use armlet. In neither do I feel that the right thing to do is use 1 day.
I often run the example analysis program, and when I run that as a demo, I also feel 1 day is the wrong value too.
So given a sample size of 2 clients, and my own use what is currently in the example is just something that feels to me not right. If people cut and paste this and_don't_ change the value, they will be starting out with something not right.
So, if you would, I would appreciate it if you would explain why

no default value makes sense (where this last left off I had said there seems to be always a maximum time before the armlet returns, even if it is large),
it makes sense to set 1 day in running a "quick" analysis example program that people may cut and paste.

Also, and this is also important, it really messes up our ability to do exponential polling in a way that favor quick response for quick jobs over jobs which are long.


SW-5179 Created Atlassian Client for support tickets

JIRA is no longer supporting a client library so we implemented a thin HTTP layer using ktor to submit REST APIs.
An AtlassianResource interface is used to build the request including path, header and request body and each endpoint will implement this interface. This is to maintain strong typing and ensure that the payload/request are correct.
The tests should demonstrate the use cases of this client.

#1838  👈
main

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

Join @tommylau523 and the rest of your teammates on  Graphite

@sgrimm Another thing I will need to figure out, is to configure the necessary envs for our CI pipeline, staging and prod env.
The latter 2 can happen when the entire feature is completed and API controllers implemented.
The CI one would be a really nice to have to track regressions and such.


Can't install plugin without sudo

When i use npm install imagemin-webpack-plugin i get this error log
npm ERR! path /Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js'
npm ERR!  { Error: EACCES: permission denied, open '/Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js'
npm ERR!   cause:
npm ERR!    { Error: EACCES: permission denied, open '/Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js'
npm ERR!      errno: -13,
npm ERR!      code: 'EACCES',
npm ERR!      syscall: 'open',
npm ERR!      path: '/Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js' },
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: '/Users/mast/Desktop/PackBet/website/node_modules/.staging/imagemin-webpack-plugin-a8c629a8/gulpfile.babel.js',
npm ERR!   parent: 'packbet' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

If i installing plugin with sudo, then i get error that webpack can't find module because not enough permissions for this folder.
node v7.9.0
npm 5.0.3

That's interesting... the .staging in the path means this is just NPM downloading it before it really does anything to this package.
I'm leaning toward this either being an NPM problem or a permissions problem on your system. A few questions:

What OS are you using?
(dumb question but...) are you out of disk space?
can you try adding it to your package.json, deleting the node_modules folder, then doing an npm install?

I haven't used npm 5 yet but i can install it later today and take a look at if I can reproduce this.

macOS 10.12.1
56Gb free space
I have not much time to play with reinstalling but I installed previous version via npm install<EMAIL_ADDRESS>and it works fine

Same issue here
$ npm i --save-dev imagemin-webpack-plugin                                            [17:26:44]
npm WARN<EMAIL_ADDRESS>license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: es5-ext@https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.12.tgz (node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/Users/others/react-landing-page/node_modules/.staging/es5-ext-56b4a405/error/index.js'

npm ERR! path /Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js'
npm ERR!  { Error: EACCES: permission denied, open '/Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js'
npm ERR!   cause:
npm ERR!    { Error: EACCES: permission denied, open '/Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js'
npm ERR!      errno: -13,
npm ERR!      code: 'EACCES',
npm ERR!      syscall: 'open',
npm ERR!      path: '/Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js' },
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: '/Users/others/react-landing-page/node_modules/.staging/imagemin-webpack-plugin-ef9c2aa3/gulpfile.babel.js',
npm ERR!   parent: 'universal-react-redux-boilerplate' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR!      /Users/.../.npm/_logs/2017-08-08T15_27_04_646Z-debug.log
FAIL: 243

node version v8.1.4

Same here. Have you found any solution yet?
node -v: v8.1.3
npm -v: 5.0.3
Ubuntu 16.04.3 LTS

I can't reproduce this on my machines.
Does anyone having this issue have the same problem with other packages? Can you try installing the packages that I depend on manually (list below) and see if they all install correctly?
"dependencies": {
    "async-throttle": "1.1.0",
    "babel-runtime": "6.18.0",
    "imagemin": "5.3.1",
    "imagemin-gifsicle": "^5.1.0",
    "imagemin-jpegtran": "^5.0.2",
    "imagemin-optipng": "^5.1.0",
    "imagemin-pngquant": "5.0.1",
    "imagemin-svgo": "5.2.2",
    "lodash.map": "^4.6.0",
    "minimatch": "3.0.4",
    "webpack-sources": "1.0.1"
  }

https://github.com/npm/npm/issues/18380

Just had it once / when I installed it first.

I'm closing this for now as I haven't heard anything in awhile. I'll reopen it if the problem reappears.


CVE-2019-11479: kernel Small MSS DoS

Issue description
See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11479

Should be already fixed (thanks @alyssais) for all active kernel version
73e0f13bac20c7ef99391ce759ff1261425b51ca
d5bf0ae8040e1020c7deaf414692bd00056a50d1
84de6aed790f546b9dc9a4a7190a0c055eae8c9f
9ccdf3c9f546e29df5745950fc1be601214c0320
48108096250ee491f4171d95270ef8aa5d020b84

Indeed. This was already fixed in 19.03 and unstable when this issue was opened.


⚠ Bofrost.at has degraded performance

In 53255f6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Bofrost.at performance has improved in 6dd6bdb after 305 days, 7 hours, 22 minutes.


DNF sort

I will add DNF sort using C++

i can add it in java
please assign it to me

I will provide code in C

I will provide code in C

I will add DNF sort using C++

Hey, sorry for the delay my mid semester exams were there.
I will push the code in C++ by today itself

You need any change in the above PR?
It was opened 4 days ago.

Hi @ankitapuri


[1564] SPIKE - Schools autocomplete (JS trickery approach)

Context
https://trello.com/c/IRGoBBNz/1564-spike-how-does-the-autocomplete-render-js-non-js
Changes proposed in this pull request
Guidance to review

Resulting work: https://github.com/DFE-Digital/register-trainee-teachers/pull/800


Use a grid layout on the 404 page consistent with other pages

Preview: https://deploy-preview-1163--cert-manager-website.netlify.app/docs/foo/bar
Changed the 404 page to be more consistent with the other pages.

vs

@relativelyrehan Please take a look at this and tell me if you think it's an improvement.


Admin deactivate a service

See this story: https://www.pivotaltracker.com/story/show/92216650
And also: https://www.pivotaltracker.com/story/show/94082572
Adds radio buttons at the bottom of the admin service page to change the status of a service.
To go from deactivated to published takes two clicks.
I have checked the API code and services are removed from the search index when their status changes from 'published', so there is no extra work to be done for the second story above. (See relevant API code for updating a status here: https://github.com/alphagov/digitalmarketplace-api/blob/master/app/main/views/services.py#L338)

Merged with master because the rebase was killing me... fixing the same thing for every commit.

This will break if we change the database to speak public/private/removed. But I don't think there's a clean way around that. So I'm going to merge it :+1:


Prefiled tag valur

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
API, UI Feature, Other
🔖 Feature description
Hello
I'm continuing my prometheus grafana integration with uptime kuma and I'm very happy with it.
I see that the export of tags is in progress here https://github.com/louislam/uptime-kuma/pull/898
Would it be possible to be able to select tags with a prefilled value like
datacenter = ILIAD and applies it to several probes ?

Hello
For my part, I don't think so.
For example, I have two labels with the location of my servers
DATACENTER= EQUINIX
DATACENTER= ILIAD
I have a lot of probes to add and the dropdown with pre-populated values would be a plus.
What do you think?

What is wrong about using the labels option in your scraping configuration?
See https://stackoverflow.com/questions/49829423/prometheus-add-target-specific-label-in-static-configs
Given that we don't support multiple instances directly, I think this is out of scope and handling this in the metrics-collector/relabeling configuration is a better fit

What do you mean by

This would avoid entering into the probe directly in my opinion

I don't understand why an additonal tag is required and why this is not better handled by existing tooling outside our scope.
Either

you want to tag the instance => I would argue that this should be handled outsie of our scope
you want to tag monitors => https://github.com/louislam/uptime-kuma/pull/898

I only wish to have the possibility of having labels in the uptime kuma interface but labels with value before the assignment.


/help inline chat link doesn't work

VS Code Version: 1.85 Insiders, Copilot Chat pre-release
OS Version: Windows 11

Bring up Chat view
Run /help
try to click the "starting an inline chat session" link

Inline chat isn't started in the open editor. Command ID inlineChat.start looks correct

Works with VS Code 1.84.2 and Copilot Chat stable

@roblourens The inlineChat.start command cannot be used like this, it requires editor focus (and an editor...) I'd suggestion to add a special command that first focuses an editor (or creates an untitled one) and then triggers the command. I believe this should be done inside the extension

@joyceerhl It doesn't seem helpful to open an untitled editor with the inline chat widget, should we have this just list the keyboard shortcut or tell users to click the sparkle button?

This message only appears when the user has an active editor at the time that the chat welcome message is rendered, but of course it doesn't rerender when the active editor changes. I think we could go with listing the keyboard shortcut

Oh, actually, this text is still owned by Copilot Chat, and I don't think we should hardcode the keybinding. We don't yet allow extensions to look up the keybinding for a command, though there have been several issues filed about this https://github.com/microsoft/vscode/issues/162433, https://github.com/microsoft/vscode/issues/196835. I actually have a RemoteHub use case for being able to lookup keybindings https://github.com/microsoft/vscode-remote-repositories-github/issues/366, I'll start an API proposal for that and remove the command link from the /help text in the meantime

We don't yet allow extensions to look up the keybinding for a command,

Shouldn't the markdown renderer simple insert keybindings? The MD refer to a command and all it takes is a lookup for the keybinding in the renderer. IMO no need for special API

Do you mean to e.g. support the kb() syntax similar to how we add keybindings on the vscode-docs site? I would also like this tho I didn't think this was generally supported in markdown renderers. @mjbvz is supporting keybinding syntax in our markdown renderer something you'd be open to?

Apparently GitHub uses <kbd></kbd> tags e.g. Ctrl+Enter

Filed upstream https://github.com/microsoft/vscode/issues/199802

I think he's saying that vscode/ChatListRenderer should be responsible for seeing that we rendered a command link, looking up the keybinding, and doing something to render it, like adding it to the tooltip. Or it could do something smart like append it into the link text like  (cmd+i).
kbd rendering is supported by our markdown renderer, the markdown preview uses it, but all the fancy stuff is disabled in chat.

Hm, I don't know if injecting that everywhere is going to lead to weird/unexpected behavior. I was thinking of supporting kbstyle(inlineChat.start) directly in the markdown renderer instead, since it's unambiguous that you'd want the label to be rendered there, and we'd also be able to use this in more places than just chat

I got pretty far with supporting kbstyle and ran into the problem that the styles for our keybinding label renderer get stripped during markdown sanitization, and I don't think there's a way to allowlist specific styles using dompurify, so went with a scoped fix for chat as suggested

looking up the keybinding, and doing something to render it, like adding it to the tooltip

Yeah, I was thinking about the tooltip and not much more.
@joyceerhl What are you planning, not really I can follow. Also, lets keep in mind that inlineChat.start is only useful when having an editor to begin with. Otherwise it's a noop (maybe command link rendering should also take enablement into account)

We'll inject the keybinding in parentheses after the command link text now if a keybinding exists (in insiders after we release stable). The welcome message doesn't include the inline chat command link if there is no active editor, but the welcome message is only computed once and then restored from serialized state, so most of the time it is stale. Maybe we should update it when the active editor changes and/or always call the api for the latest data?


feat: add support for third-party Netatmo APIs

This PR aims to close #157 by adding third-party API support to the library.
Some thermostat manufacturers such as Muller-Intuitiv and Saunier-Duval seem to be selling Netatmo products under their own brand. These products don't have the exact same functionality and ship with their own applications -- which can be, let's say, quite limited. However, these apps still rely on a Netatmo-compatible API.
To be able to call these APIs from pyatmo, two changes must be made to the library:

Make the base URL configurable, currently hard-coded to https://api.netatmo.com/
Add support for a user_prefix URL query parameter during authentication, which seems to be a hint to the Netatmo auth backend to silo their different user bases.

To this end, in this PR, we:

Rename _BASE_URL to _DEFAULT_BASE_URL ;
Add user_prefix and base_url as optional, configurable parameters to the auth structure;
Add post_api_request function which takes an endpoint and automatically appends the configured base url (same for the async variant)

Thanks @outadoc for the contribution. From a first glance this looks pretty solid. I'll do a proper review ASAP.


[Text] [Refactoring] Extract SymbolTextRun from ShapedTextRun

This PR is blocked by #9892 . Please look at this PR only after merging of #9892 because diff is bad.
What does the pull request do?
This is a minor refactoring. Preliminary step to add shaping skipping to improve text build performance.
Currently all text runs is ShapedTextRun. That means that shaping is performed with harfbuzz even if it is not needed at all. @Gillibald said that he wants to add a shortcut for this cases that will leave UnshapedTextRun in TextLineImpl. To make this possible - we've decided to extract SymbolTextRun from ShapedTextRun, inherit UnshapedTextRun from ShapedTextRun and make all hit test and selection code to work with SymbolTextRun. So the codebase will work with shaped and unshaped text.
What is the current behavior?
Code works as before. Just code architecture is affected.
What is the updated/expected behavior with this PR?
I've added a base class as we discussed with @Gillibald. You can merge this PR as is and everything will work as before. Or you can not merge this PR and @Gillibald will add a shaping-shortcut code and fix all todos by editing this PR or making a new one.
Comments to @Gillibald
After analysis I've come to an idea that unshaped text can be RTL and bidi - that's why SymbolTextRun have so many abstract methods: Reverse, Split, TryMeasureCharacters, TryMeasureCharactersBackwards. I did not implement this methods inside UnshapedTextRun because this requires shortcut logic.
I've added 9 "//todo gillibald" in all places where you need to make changes.

Even if this PR will be cancelled - there is still a research done and now we can see that making shaping shortcuts takes a bit more work than we were expected
Checklist

[ x] Added unit tests (if possible)?
[ x] Added XML documentation to any related classes?
[ x] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes / Obsoletions / Deprecations
I think there is none.

@Gillibald ok, I thought there can be corner cases. Then after dependant PR will be merged and we will see a nice diff we should specify a list of methods/properties that I should put back to ShapedTextRun from SymbolTextRun.
Just in case: BiDiLevel property was in class before my changes...

I can see two potential optimizations.

Skip bidi analysis
Skip shaping

Bidi analysis can be skipped for text that only contains ASCII
Shaping can be skipped for non complex scripts and if no font features like liga are present. In general text that only contains digits is a good candidate for this.
Unshaped text defaults to the paragraph's bidi level
In general skipping shaping should be optional and the TextLineImpl should work with unshaped and shaped runs

You can test this PR using the following package version. 11.0.999-cibuild0028290-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

After some perf profiling I see that there is a lot of perf bottlenecks that's 100x times significant than shaping. Shaping takes just 0.01-0.1% of CPU load, while text enumerations over GraphemeEnumerator and other enumerators are taking 90% of CPU load.
CoerceLength bottleneck:

Enumeration bottlenecks:

harfbuzz pressure:

After this I think I should close this PR and focus on defeating this perf issues. Maybe we will come to this idea a lot later.

Turnes out profiler do not show unmanaged performance. So 0.1% is a bad measurement. In reality there is about 20-40% unmanaged CPU load. Uncnown part of it is harfbuzz.


Unknown TKK position

stopped finding tkk, and no longer translates. Google changed something

i'm got this exception

I have the same problem, any solution for this ?

I have the same problem too.

I have the same problem, any solution for this ?

I have the same problem. google has changed the token recovery system. has anyone figured out a possible solution?

any update about this issue, it can be solved or are there any other solutions ?

Google Translate API is now paid and cannot be used for free.

Google Translate API is now paid and cannot be used for free.

There's a new Google Translate endpoint that you can use for free here: ssut/py-googletrans#268


Test benchmarks in CI

Closes #
Introduced changes

Added a CI step that runs benchmarks using cargo run --benches command. This will run each benchmark only once, verifying that it passes, without time measurements etc.

Checklist

[x] Linked relevant issue
[x] Updated relevant documentation
[x] Added relevant tests
[x] Performed self-review of the code
[x] Added changes to CHANGELOG.md

Though if we don't add this step as required to the master branch protection I think merging PRs with benchmarks broken would still be possible. And we'll immediately know that a PR broke the benchmarks.

Yes, but we'll be taking up 6m of the time possibly blocking the merging while it's not necessary to block the PR because of that. And we'll still know after merging which one broke it

Though if we don't add this step as required to the master branch protection I think merging PRs with benchmarks broken would still be possible. And we'll immediately know that a PR broke the benchmarks.

Yes, but we'll be taking up 6m of the time possibly blocking the merging while it's not necessary to block the PR because of that. And we'll still know after merging which one broke it

Though if we don't add this step as required to the master branch protection I think merging PRs with benchmarks broken would still be possible. And we'll immediately know that a PR broke the benchmarks.

Yes, but we'll be taking up 6m of the time possibly blocking the merging while it's not necessary to block the PR because of that. And we'll still know after merging which one broke it

Updated. Benchmarks tests will now only trigger on push (to master since it's the only push type that causes CI workflow to trigger).


Validate: update twitter error message

@mikesherov @mrjoelkemp
cc: @be-dmitry
This would be part of a fix for this issue (in addition to a separate PR on be.net):
https://github.com/adobe-community/issues/issues/6656
While the issue focuses on the Twitter field, all of the fields operate in the same way... That is, they prepend the user's input with a @, and they are all using the same validation params.
This validation regex (Twitter) is basically the same thing we want on all of the social reference fields and it seems like removing twitter from the error message allows us to use this validator on all of the social reference fields (facebook, dribble, vimeo).
Alternately, I could create a new validator with the same regex and call it SocialUsername or something and leave the Twitter message alone...
Thoughts?

As a feedback message this looks fine, though the real solution here is to implement what we have on portfolio

I would add new named validator, as you suggested. Also, tests.

Found a better solution that doesn't involve modifying BeFF. Closing this.  :)


Created Circle Image Slider

https://shrit1401.github.io/CircleImageSlider/ this is live preview, all is from pure CSS no JS and I have also pulled a request

great work 🚀

Please do one thing, create a demo folder inside "Circle Image Slider" and add a demo of your project named demo.gif

oh yeah ill do it right now, is it has to be a gif can i put a png?

gif of changing the slider would be good

@Shrit1401 please add demo.gif


Add support for the cusparseSgemmi API

I was looking into what it would take to Marian-NMT to HIP (note: I am not affiliated with the project). Having gone through an initial hipification, I stumbled into a function call to cusparseSgemmi, which does not seem to be supported by hipSPARSE/rocSPARSE as far as I can tell from the documentation and source code.
Is this something that happens to be in your roadmap? Thanks for all of your efforts!

Yes, this is something on our roadmap and will be added in one of our future releases.

Hey, saw the bug was closed! Was this implemented already? Is the code available in some branch somewhere?

It has been added to develop branch with PR #125


Sling 4258

SLING-4258
-fix how the json servlet delivers dates with timezones.
-add test cases for some dates with different timezones

@santiagozky  - the Jira issue has been resolved, can you please close the pull request?


Typo

Typo in components/ExampleTwoDeepComponent.jsx and build/bundle.js
frgament -> fragment

Thanks for catching this. I prefer to do my own site builds for the example site, so I fixed this myself instead of merging in your bundle.js file.


react-perfect-scrollbar stops scrolling when cursor is on tinymce editor

here is the implementation of tinymce editor in perfectScrollbar.
`import PerfectScrollbar from "react-perfect-scrollbar";
<PerfectScrollbar
style={{ height: "calc(100vh - 181px)", overflowX: "hidden" }}
>
<Editor
value={description}
onEditorChange={(event: string) => setDescription(event)}
/>
`

I am facing the same issue.
It is stopping because TinyMCE Editor is using iframe and iframe takes over the target and it is trying to scroll itself(content inside iframe).

If someone will need some kind of solution - I didn't found anything. I just decided to use native browser scrollbar(styled properly) on page with TinyMCE Editor and all iframes.


Feature request: Python implementation that does not require explicit build step

One of the reasons to use Python in the first place is the quick edit-refresh cycle without an interleaving build step. Currently, the way gRPC is implemented breaks this benefit of the Python language. Python has a very powerful module import system that can be extended (see importlib).
Thus I'd like to request a change to the Python implementation so that it is possible to import a *_pb2 or *_pb2_grpc module where the corresponding *.proto file exists but no such *.py file exists, with the gRPC implementation dynamically generating the Python classes at runtime in the import library (and, of course, caching this intelligently so that this strategy is still viable and efficient in a production context).

If this is going to happen it's almost certainly going to happen first for Protocol Buffers. Have you also filed this feature request over there? If not I suspect that you should.

That's a good call; filed protobuf issue 3427 to address implementing the equivalent in protocol buffers.

Commenting to keep this open.

This was always ambitious and always long-term; I agree that it should stay open.

FYI, I have something in a partial state (works with regular Python protos but not yet gRPC, works with compiling locally with protoc, not yet using the network). It's currently sitting in a Cloud Source Repository under my personal account (been developing this outside of Google)... what would the be right way to get permission to copy that into a public repo on GitHub under Google?

@gnossen I've granted you Repository Reader access (on your @google.com account) to proton which has a proof-of-concept that you can use as a starting point (sorry if you've gotten further than this).

@michaelsafyan: I think @willnorris can either answer that question or can put you in touch with the colleague who can?

Closing this as this is being tracked with some newer issues and are actively being worked on.


Set a Shortcut for Keep Awake

Description of the new feature / enhancement
I'd like to press a key combo and turn on Awake mode or turn it off.
Would be great to set short cuts for each of the indivdual settings if possible.
Scenario when this would be used?
  However, I have set it to auto hide as the only quick way to access awake mode is from the taskbar.
Ideally I could just hit a key combo to set it to the desired state.
Supporting information
Here is the quickest way I can see off actioning it..

Not planned for Awake natively, but maybe that's something that can be integrated with Keyboard Shortcuts?


Brackets turns into a web browser

While browsing the web in Firefox 46.0.1, I accidentally clicked and dragged a link from a webpage into Brackets.
When I let go of the link in Brackets, the editor disappeared without warning, and the window became a web browser.
Dragging this Google Link into the Brackets window has the same behaviour.
There's no consistent way to get back to the editor without closing Brackets completely and reopening it.  Any unsaved changes before the click-and-drag event are lost.  Menu options stop working too.

I'm running Brackets 1.6 on Windows 7.
(The same thing happens from Google Chrome 50.)

Hi @dangowans,
this issue is a duplicate of #11970 (and some other older ones). Due to the nature of the component that backs Brackets (CEF) this thing is bound to happen, but the fix should be relatively simple. If you feel like putting in a PR I can guide you through the steps (or I'll try to get around to it later myself).

Honestly, I only created an account here to submit this bug.  I would have to do a whole lot of reading up on git before I'd totally understand what a PR is, let alone be comfortable "putting in a PR".

@dangowans That's alright! Thanks for reporting the issue! 👍

Hey. I'd like to work on this. Can I?

Hi @wasifhyder,
of course! If this is your first time contributing to Brackets, check out the guide on How to hack on Brackets first first, which outlines all the the steps you need from getting started to putting up an PR.
If you have any questions (about the process or the issue), just post them here! Have fun 👍

Hi,
I am working on brackets in a separate repository with a team as part of a college course project. I've already started a topic about the solution with brackets-dev: "Brackets turning into browser issue https://github.com/adobe/brackets/issues/12441 (may be old)". Is there any drag-and-drop copy for text in Brackets? Brackets currently stops the browser's default behavior only when there is data to transfer like a file, but if you drag text into Brackets such as a url then Brackets will open that url unless the default behavior is halted. The only problem with my solution is that when drag-and-drop is handled, the default behavior of the browser is halted all together before checking if there is any data to transfer which would disable any drag-copy of text; that's the reason why I'm asking.

Hi @jamram7,
Go to Debug -> Open Preferences File and add "dragDropText": true to the brackets.json (right panel) to enable drag and drop text functionality.
`

Huh, even with that on and after I reverted the code back to the original state, I can't drag copy text to brackets. What is also weird is that with dragText set to true I can't drag a url into brackets and expect it to produce the bug either. However I can drag a url into the extension plane and produce the bug with dragText set to true which makes me wonder if my solution is really a solution.

Ok so I tried to draging-and-droping url's all around the editor with my solution working with brackets and it does not allow the browser to takeover, even with the split views, but the issue with dragAndDrop not working when it is true bothers me. I'm working on a Mac and I've tried it with a clean install, not a git link, on my Windows desktop and it too doesn't drag-and-drop text. Can someone verify that they can drag-copy text with the dragAndDrop option set to true?

The dragAndDrop option allows dragging selected text to move it. To copy selected text, hold down Cmd key on Mac (Ctrl key on Windows,Linux).

So I've had to change the solution, but it's where it should be now; I've tested the drag-and-drop option and it works with text. You can drag-copy text just not urls, and it works in the different split views. The solution is this:
            var types = event.dataTransfer.types;
            if(!files.length){// stop default behavior if a url is dragged in so the browser does not takeove
                types.forEach(function (value){
                    if(value == "text/uri-list"){ //plain text just has text/html
                        event.stopPropagation();
                        event.preventDefault();
                        return;
                    }
                });
            }

And you put that before if (files && files.length) { in two functions function handleDragOver(event) { and function handleDrop(event) {. These two functions are in the function function attachHandlers() { under utils/DragAndDrop.js.

Good job @jamran7!
Would you be interested in making that a PR? See https://github.com/adobe/brackets/blob/master/CONTRIBUTING.md for more information.

Yes I am, I am running the test now and will soon create a PR.

@jamran7 from your solution it seems to me you are implementing the allowDropFileTypes option of CodeMirror.
Could you investigate if it is the case?
Keep in mind I didn't look at this issue at all so maybe it is the wrong route, I still believe it's worth double checking.

allowDropFileTypes: array
When set (default is null) only files whose type is in the array can be dropped into the editor. The strings should be MIME types, and will be checked against the type of the File object as reported by the browser.

CM is apparently not in charge of handling files in Brackets which is why Brackets pre-empts CM. CM wouldn't see any files anyways if that option was used. (Scroll, the cut off threw me off)
// Over CodeMirror specifically, always pre-empt CodeMirror's drag event handling if files are being dragged - CM stops
        // propagation on any drag event it sees, even when it's not a text drag/drop. But allow CM to handle all non-file drag
        // events. See bug #10617.
        window.document.body.addEventListener("dragover", function (event) {
            if ($(event.target).closest(".CodeMirror").length) {
                handleDragOver(event);
            }
        }, true);
        window.document.body.addEventListener("drop", function (event) {
            if ($(event.target).closest(".CodeMirror").length) {
                handleDrop(event);
            }
        }, true);

@jamran7 thank you. I really appreciate.

The bug fix passes all tests, with the exception of one suite which seems to be a bug with the test, and it's only one test of the whole suite. It said it was expecting <!doctype html> in the test file, image is attached. As for JSLint the changed code follows with the exception that it want's "use strict" in every function.

The Find in Files error is sort of known, don't worry too much about it.
If your PR is ready, just submit it so we can take a look: without seeing the code we cannot give more advices about the JSLint warning.

This has been fixed in PR #12946


Caret brush should = primary color

Edit:  Please forgive me... I didn't realize that you can apply MD style to entire form.  Please close.
I just got too excited about this library and started playing without even looking into examples LOL.
Not gonna happen again!  Sorry!
Please close this issue!

You can close


Create FAQ entry update_iOS

This PR creates a new FAQ entry which informs the user why he sees the update_os screen on iOS versions between 13.5 and 13.6.1.

Preview of the changes
DE:

EN:

Closes #905

@MikeMcC399
I would be happy if you could review the texts, mainly the english one (-:
Thanks!

@MikeMcC399 Thanks, pushed a new commit.

@Ein-Tim LGMT, thanks.

@MikeMcC399 Thanks for review.

@Ein-Tim Actually, I just saw a typo in the German title. das -> dass and comma before "dass"

@dsarkar
I will correct this with my next PR (which will hopefully arrive by today's evening) that will introduce #946.

@dsarkar
#947 fixing this.


cmd/vet: bool checker issues a triangular number of errors

The vet command's bool checker reports progressively more errors as the redundancy in an expression grows.  However, vet's test suite exercises deeper expressions that lead to redundant errors that are ignored by vet's current test harness because they all match the correct regexp.  The new x/tools/go/analysis test harness is more precise and requires multiple expectations for multiple errors. I do not wish to change the checker logic during the migration to the new API, so the task of this issue is to fix the checker logic and remove the workaround from the tests.

It might be easier to have vet just stop reporting errors on a given line after some small count is reached. Also more general. This sort of issue with error reporting is an evergreen.


Update MacOS instructions in README.md

Took be a bit to find this information online. Hope to save others the time searching for macOS instructions by adding these details to the README.md
https://docs.rs/nostr-sdk/latest/nostr_sdk/ includes these instructions in their docs.

Took be a bit to find this information online. Hope to save others the time searching for macOS instructions by adding these details to the README.md
https://docs.rs/nostr-sdk/latest/nostr_sdk/ includes these instructions in their docs.

Thank you for figuring this it. It worked for me!

Hi, sorry, I not received the notification for this PR. Tomorrow I'll merge it


Proposal: Do not payout apps with 0 reach on Awario

What is the problem you are seeing? Please describe.
App developers that do not care about their apps anymore are still paid out monthly rewards.
How is this problem misaligned with goals of app mining?
This discourages app developers that actively develop their apps.
What is the explicit recommendation you’re looking to propose?

Add requirement to communicate about the app in the app mining rules, i.e. have a reach > 0 by Awario.
Mark apps that have a reach of 0 on Awario as illegible.

Describe your long term considerations in proposing this change. Please include the ways you can predict this recommendation could go wrong and possible ways mitigate.
This is a general improvement over the current situation. It is easy to implement.
The additional requirement is an acceptable burden on app publishers even if they do not usual do marketing.
App developers that do not want to develop their apps anymore can still send a tweet or so once a month and thereby receive rewards. This is no different without this improvement. However, app developers that do not care at all won't get any rewards.
This rule needs to be reviewed if app reviewer Awario is removed.
Additional context
There was a general consent in  #64 that it is a good idea to exclude apps in rewards that are not developed anymore. However, a fair way was not found back then.

This could be interesting, do you think though, that social media activity is a fair indicator of active or inactive development? I think it could be a decent proxy for a lot of people, but also happen to know for a fact a few teams that are very quiet and still work on their app, but aren't worried about marketing at the moment. Would we want to make teams like that ineligible because they didn't generate any awareness?

a few teams that are very quiet and still work on their app, but aren't worried about marketing at the moment.

+1

I should agree with @friedger as a month period seems good enough for any "very quiet" projects to talk about it at least one time. Otherwise an alternative will be monitoring the repository of source codes, and I think you will agree this way is not practical.
Without this activity pressure, someone can make and release an app one time and left it to be without any update and after some month, it cause some dissatisfied users and dead apps.

If a team is so busy that they can't tell the community that they are still alive then they should not be eligible.
I am happy to mention the product if I know what the team is doing. Please put me in contact with them.
It is not about marketing, but communication.

If it's not about marketing, then we shouldn't be using Awario to measure it, we should have some other mechanism. While I firmly believe all projects should be marketing on some level, I don't think it's a fair proxy for 'active development' or something that they should be removed for choosing not to do. Of course, I don't recommend it, and it should hurt them, but going as far as requiring it to the point of removal doesn't seem fair.
Potentially a better proxy for this is to require that App Miners all fill in our quarterly survey. We could even add questions that ask them to recap what they've worked on. I think if you're trying to control for knowing if a team is 'alive' then we should just direct to them vs. measuring an output that's not necessarily coupled. If they can't fill out a short survey 4 times year, then I wholeheartedly agree that is a dead project and should be removed.
Other ideas that could solve this that I personally would support:

Removing the bottom 10% of teams at a regular interval
Removing teams that get zeroes with multiple App Reviewers
Removing teams that show no progress with ANY App Reviewer over multiple months (and are not ranked in the top X%)
Removal for extended unresponsiveness to PBC team by a survey of some sort

I though checking the awario reach for > 0 was easy to implement to measure some kind of liveliness. I am happy to see other means implemented:

Removing the bottom 10% of teams at a regular interval
Hmm, could hit the wrong teams but as the last 10% only get tiny amounts it does not really matter. It would matter if we implement #80 and #25 .

Removing teams that get zeroes with multiple App Reviewers
NIL and awario would be the only reviewers that the can give zeroes at the moment. Even product hunt has at least a 1.

Removing teams that show no progress with ANY App Reviewer over multiple months (and are not ranked in the top X%)
I like that but some reviewer scores are a bit volatile, like PH.

Removal for extended unresponsiveness to PBC team by a survey of some sort
Definitively, yes!

On app-center.openintents.org there is now a UI that allows app publishers to post monthly updates.

PBC discussed and don't feel like this is aligned with our goals or process. Closing this.

@jeffdomke Could you elaborate on the misalignment?


Composited escape keys problematic (added in v0.0.41)

In Dutch, my native language, "jk" is quite common.
While I really like the ability to "jj" (added with "jk" in eb2c07c1e7f76907fbb03523386a3f079a659d97 and v0.0.41), hardcoding it into the plugin is problematic.
Is it possible to expose the choice of keys to the user, or supply a switch to enable each of these?

put into your keybinding.json should do the trick:
			{
				"command": "-vscode-neovim.compositeEscape1",
				"key": "j"
			}

but you're right it shouldn't be enabled by default

Thanks for your extremely fast response and fix!


App restart when calling startCardPayment()

We are facing a very weird issue when clicking pay with card and calling the below function on android:
PaymentSdkActivity.startCardPayment(requireActivity(), configData, callback = this)
The problem is that the app is restarting and auto cleaning the logs, so we are not able to see the problem.
And the weird thing is that on some android devices it's working fine, 3 devices out of 10.
Any idea what's the problem here?

Please provide us with the following:
.the version you are using
.the parameters passed to configData object.
. android versions and phones data where this issue occurs.

Good morning Mohamed,

The version of sdk is 6.1.8 (implementation 'com.paytabs:payment-sdk:6.1.8')
The configData params: profileId, serverkey, clientKey, amount, currencyCode
For the android version, it's random, we tested on android 7, 8, 9, 10 & 11, we are having the problem on all android version, but on a small number of devices it's working, for example on android 9 it's working on 1 device but not the others.

Are you using kotlin or java

Kotlin

Please create a meeting on zoom and send me the link on
<EMAIL_ADDRESS>tomorrow at 3 pm

I tried with version 6.1.9, still the same.
Can we make it at 4PM GMT+3?

ok

Hello Mohamed,
Did you receive my zoom link?

Big Thank you @mohamedkhairy953 for you support
The problem was caused by a big drawable icon we used in .setMerchantIcon(drawable)
As per Mohamad's recommendation we used a png hosted on server and we passed the link to setMerchantIcon(http link of icon) instead of passing the drawable object.
This solved the app restarting problem.


[ MB-14723 ] Turn on linter for Admin API

Jira ticket for this change
Summary
This patch just turns on the linter. This must be merged after Admin UI
description refactors #10137 gets merged into the default branch.

Messages

:book:
:link: MB-14723

  Generated by :no_entry_sign: dangerJS against 7c13ca1c47e9521a054629d1c8fc83ea8eb07356

@felipe-lee are you okay with closing and re-opening this yourself so I can review this? That way we can get this turned on 🙃 thanks!

@felipe-lee are you okay with closing and re-opening this yourself so I can review this? That way we can get this turned on 🙃 thanks!

Yeah that works for me 😅

@rogeruiz, here you go: #10177

closed by #10177


Failed to fetch the auth bundle: Server returned status code 400

How can I run the demo, i have config the Daily API Key -> but when run the demo I get the response:
VoiceClientManager      ai.rtvi.client.basicdemo             E  Future resolved with error: Failed to fetch the auth bundle: Server returned status code 400

I have update the API KEY and it run.
However, it not speak anything and I got error logs from CallClient              ai.rtvi.client.basicdemo

Hi @quangchien99, thanks for the report. Which version/commit of the demo are you using? The URL and API key should be set as follows:

URL: https://api.daily.co/v1/bots/start
API key: This should be the key here: https://bots.daily.co/dashboard/secrets

Thank you @marcus-daily, is this demo available for starting conversation with bot yet?
After I run this demo the UI is displayed well, but nothing happened?
In Logcat, I got:

The demo did not  record my talk, and not speak the bot response as well.

I'm in main branch with commit Update package name to co.daily.bots.demo

Thanks @quangchien99! That commit is correct and the bots should start speaking first.
If you let me know the room URL, I could take a look at the server logs to see if there are any issues. There should be a log line that looks like the following, I just need the room_url field please:
DailyTransport: connect({"room_url":"https://pc-e914d07d216540f4a68f5285363a9732.daily.co/dailybot525df02636924311ae4f1ffe8fe4e82a", ...

Do you see any change in the microphone indicator when you speak? Also, what kind of Android device and OS version are you using?

Got the same error:
ProfileInstaller         D  Installing profile for co.daily.bots.demo  DailyTransport           I  setState(Authorizing)   daily.bots.dem           I  Background young concurrent copying GC freed 58829(4010KB) AllocSpace objects, 3(64KB) LOS objects, 42% free, 5431KB/9373KB, paused 107us total 210.284ms   VoiceClientManager       E  Future resolved with error: Failed to fetch the auth bundle: Server returned status code 400
there is no room_url  log in the logcat viewer.

Here is my room URL @marcus-daily
connect({"room_url":"https://pc-67c85fdeebcee12c0daced13e6c8657c.daily.co/dailybotbaa47472b38e47e1be8a701e12159e5d",...
It seems everything's working fine, but actually it's not.
Firstly, bot will speak first when start the sample, but I just receive the log and nothing spoken from device speaker.
Bot transcript: Hello, I'm here to help.
The UI background turn black
Then after receive log
Bot stopped speaking
-> UI turn grey for user to speak, but when I speak, nothing happen, microphone indicator remains unchanged.
I also tried to test in multiple device but none worked. (Microphone Permission has been granted)

Google Pixel 4 - Android 13
Galaxy Z Fold4 - Android 13

https://github.com/user-attachments/assets/b8bae5fd-fa66-4fbc-b813-3c05b312b5b6
Btw, your app is amazing and promising <3

@goodev your API is invalid or not imported
Check apiKey in this snipet is valid or not?
voiceClientManager.start(
            baseUrl = backendUrl ?: DEFAULT_BACKEND,
            apiKey = apiKey,
            initOptions = initOptions,
            runtimeOptions = runtimeOptions
        )

@quangchien99   the apikey is copyed form here:

@goodev try to replace apiKey right in this code, to check if it work or not
voiceClientManager.start(             baseUrl = backendUrl ?: DEFAULT_BACKEND,             apiKey ="your-api-key-paste-it-here",             initOptions = initOptions,             runtimeOptions = runtimeOptions         )

@quangchien99  not working

@quangchien99 Thank you for the information, I don't see any errors in the server logs.
It might be a problem setting up the WebRTC audio transport. If you could send me the full logcat output for the app please, I could take a look (but make sure the API key and room token isn't visible in the log).
Thank you for persevering with this, hopefully we can find the issue!
@goodev That's unusual, could you try the following curl command please and tell me the output?
curl --location --request POST 'https://api.daily.co/v1/bots/start' --header 'Content-Type: application/json' --header 'Authorization: Bearer YOUR_API_KEY' --data '{ "bot_profile": "voice_2024_08", "max_duration": 300, "services": { "tts": "cartesia", "llm": "anthropic" }, "config": [] }'

The text YOUR_API_KEY should be replaced with your key.

@goodev I've updated the demo to log the HTTP response body, this should indicate why you're getting the 400 error:
https://github.com/daily-demos/rtvi-client-android-demo/commit/73d0afd28feef21ca0dc65e3bac455afd7dec318
Please try again with that commit and let me know the error message. Also, have you modified the demo code in any way?

Oh, I got the problem @marcus-daily , it's due to my company network policy.
It seems to blocking somethings from the demo requests/streaming.
I change to use 4G/public wifi -> it's working perfectly.
It's amazing bro.
Is there anyway that I can modify to use my own:

TTS Service like Elevenlabs
LLM Model (Maybe my custom LLM - which expose from Dify)

@quangchien99 Awesome! Glad to hear it's working.
STT: I've added some options for language in the following PR: https://github.com/daily-demos/rtvi-client-android-demo/pull/10 It should be merged soon but you can try it out now.
If you select Nova 2 General (Multilingual) at the bottom of the settings menu, a list of languages should appear, including Vietnamese.
TTS: Currently only Cartesia is supported, however we're planning to add Elevenlabs next week!
LLM: The ones supported at the moment are Anthropic, LLaMa, and also OpenAI and Groq if you add your own API key to the configuration:
https://docs.dailybots.ai/api-reference/client/supportedServices
I'll pass on your suggestion of adding Dify!

It looks like there's a PR for adding Dify support here: https://github.com/pipecat-ai/pipecat/pull/378
Once it's merged we can expose it via Daily Bots as well!

It's awesome @marcus-daily
Thank you so much <3

I have test the demo with other languages than English.
I found that it not working due to the initial_messages is all in English, this caused the answer is also English too
I suggest to custom the initial_messages in VoiceClientManager class like:
                ServiceConfig(
                    "llm", listOf(
                        Option("model", runtimeOptions.llmModel.id),
                        Option(
                            "initial_messages", Value.Array(
                                Value.Object(
                                    "role" to Value.Str("system"),
                                    "content" to Value.Str("You are a helpful voice assistant. Keep answers brief, and do not include markdown or other formatting in your responses, as they will be read out using TTS. Please greet the user and offer to assist them. And answer in ${runtimeOptions.sttLanguage.name}")
                                )
                            )
                        ),
                        Option("run_on_config", true),
                    )
                ),

But after experimenting, I found that it will use the voice model like "British Lady" to speak other languages (Vietnamese) -> This leads to a really strange conversation :D
Can't wait to see the demo with Elevenlabs And Dify <3

@marcus-daily {"error":"authorization-header-error","info":"invalid authorization header"}  , do I need create a new apikey?

@goodev Thanks, I'm able to reproduce that error message if I remove the word "Bearer" from the request header, or otherwise have a malformed header. Could you check the changes you've made to the source code to ensure they're correct?
The customHeaders field should be set to: listOf("Authorization" to "Bearer $key"), replacing $key with your API key.

I want to use my roomUrl like this ,but can't work.  how to use roomUrl?

Hi @Xiamingmin5, the URL should be set to an RTVI-compatible backend such as https://api.daily.co/v1/bots/start, as this will cause the bot to join the room. If there's something you're trying to achieve by joining a specific room, please let me know and I help.

Thanks , after change the customHeaders.  it worked.


feat: 🎸 Export ChildIdentity entity class from types

Description
ChildIdentity was not exported from the types file making it to be imported from internal file when used in some other package. This exports the entity class.
Breaking Changes
NA
JIRA Link
NA
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.18 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Performance comparison with realm.io

It might be useful to add realm.io comparison in the readme table.

Hi yes sure I will add it to the comparison table. Although realm is an interesting case as it's a proprietary non-sql database but it does have a Android layer that is open source. On the pure database side I think independent comparisons have shown it to be only slightly faster than SQLite. Realm queries are also extremely limited compared to what you can do with the subset of SQL SQLite supports.

Closing since Realm is more of a graph database not a SQL one also its not really an ORM. Might be worth mentioning in the wiki.


Force absolute path when adding close #1204

Forces absolute path when adding a file to the registry. Also test that absolute paths are returned even when relative paths are provided.

Great PR @david4096 --- I would have an easy job if all PRs were this clean and tidy!
+1

+1 Thanks @david4096!


Create milestones for the project

Edited June 2nd, 2023
We plan to track the progress of the project using milestones. What should these milestones be?
We suggest to use milestones for grouping issues and pull requests in related topics.
We suggest to adopt continuous integration, providing fast releases, so linking milestones to releases is perhaps not necessary. However, milestone # 0 is related to the framework of the package, and upon completion could mark the initial stable release, 0.0.1. We suggest that further releases, that should be incremental upon merging PRs, should follow semantic versioning.
We suggest that the milestone numbering could indicate the timeline, but not necessarily indicate consequentiality, i.e. milestone # 3 does not require milestone # 1 and # 2 to be completed, however, milestone # 2 requires # 1 to be completed, since # 2 is related to integrating # 1 in the package framework.
# 0 Framework → 0.0.1

Naming conventions: recommended rules that need to be followed in naming classes and functions in the public namespace.
Material classes: MC2010 Concrete, EC2 Concrete, MC2010 Reinforcement, EC2 Reinforcement
Section classes: Rectangular reinforced concrete, generic reinforced concrete section
Structural element classes: column, straight beam
Framework for documentation
Documentation for material, section and structural element classes

# 1a EC2 2023: Properties and property development

Property development: strengths, stiffnesses, creep, shrinkage, etc.
Constitutive relations
Design strengths

# 1b EC2 2023: Ultimate limit state

Stress distribution for ULS
Transverse shear ULS
Torsion ULS
Punching ULS
Combined actions ULS: bending, axial, shear
Slender members
Prestressing losses

# 1c EC2 2023: Serviceability limit state

Crack width calculations
Minimum reinforcement
Deflection calculations

# 1d EC2 2023: strut and tie and detailing

Reinforcement detailing
Strut and tie modelling

# 1e EC2 2023: Fatigue

Fatigue

# 1f EC2 2023: Misc

Durability?

# 2a Integrate EC2 2023 in the framework

Material classes
Section classes? Depends on how this is implemented in #0.
Structural element classes? Depends on how this is implemented in #0.

# 3 MC2020
...
# 4 Integrate MC2020 in the framework
...
etc. for EC2 2004 and MC2010

Hi. As a new member on this project I would like to see some text explaining the vision and motivaion for this work, what the aim currently is, and how we envision this program/code to be used for the end user (are we doing only one calculation or several millions when we run the program).

Thanks for the comment, @slobbeat. We have updated the initial comment above based on your input 😃

I have created milestones related to the package framework, and also Eurocode 2 2023 based on a brief review by @talledodiego and myself. We should do the same for fib Model Code 2020.

[ ] Review fib Model Code 2020 and create related milestones.

Here is my draft for the milestones for the package framework related to MC2020.
As the MC2020 is extensive, we may need to add more sections in the future under demand.
@aperezcaldentey and @MestreCarlos , feel free to add or remove chapters if you consider it necessary.
* Next to all bullet points, I have written the respective chapter as of the last Draft of the Model Code 2020.
3a MC2020: Material properties (14 – 16)

Concretes (14): compressive strength (<IP_ADDRESS>), tensile stress (<IP_ADDRESS>), modulus of elasticity (<IP_ADDRESS>), stress-strain relations (<IP_ADDRESS>), time effects (<IP_ADDRESS>) and temperature effects (<IP_ADDRESS>).
Reinforcing steel (15): stress-strain relations and strength (15.10.1, 15.10.2).
Prestressing steel (16): stress-strain relations and strength (<IP_ADDRESS>, <IP_ADDRESS>).

3b MC2020: Ultimate Limit State (30.1)

Bending with and without axial force (30.1.2)
Shear (30.1.3)
Torsion with and without axial force and/or bending (30.1.4)
Punching (30.1.5)
Strut-and-tie models (30.1.6)
Compression members (30.1.7)
Fatigue (30.2.2)

3c MC2020: Serviceability Limit State (30.5)

Limit state of cracking (<IP_ADDRESS>)
Limit state of deformation (<IP_ADDRESS>)

I have updated the milestones according to your comment @DanielGMorenaFhecor.


Naming attribute is not found when starting the pyomo_ns server

Starting the pyomo_ns server with Python 3.5.3 I got the following error:
Error:   File "c:\anaconda3\envs\py35\lib\site-packages\pyutilib\pyro\nameserver.py", line 19, in start_ns
    Pyro.naming.main(sys.argv[1:])
AttributeError: module 'Pyro4' has no attribute 'naming'

I already fixed it locally by adding import Pyro4.naming on line 32 in \pyutilib\pyro\util.py . So I guess this should be a quick fix. But maybe this should be done at a different location in the code.

I came across this a few months ago and made a similar fix in commit 96d215659f27813d436ce903d7f2be1e495729b5.
A PyUtilib release usually gets generated when Pyomo is released, so this should be in a release relatively soon.


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.

If you want to publish the node manually, install the cli and run comfy node publish
Please message me on Discord if you have any questions!

hey @smagnetize, wanted to send a small nudge and ask if you had any questions!

@smagnetize, wondering if there's any way we can support you on this PR!


Missing module datasets.load_dataset

Hi there! When running the command python baddiffusion.py --project default --mode train+measure --dataset CIFAR10 --batch 128 --epoch 50 --poison_rate 0.1 --trigger BOX_14 --target HAT --ckpt DDPM-CIFAR10-32 --fclip o -o --gpu 0, we found the error:
File "/data/yanbo.wang/BadDiffusion/baddiffusion.py", line 12, in <module>     from dataset import DatasetLoader, Backdoor, ImagePathDataset   File "/data/yanbo.wang/BadDiffusion/dataset.py", line 9, in <module>     from datasets import load_dataset, concatenate_datasets ImportError: cannot import name 'load_dataset' from 'datasets' (unknown location)
Seems that after running the bash command and mkdir datasets, we do not have related functions named load_dataset, concatenate_datasets.
Hope we could get the reply.

Hi, sorry for late reply. Line 9 in file dataset.py would load Huggingface datasets package. Thus, please install it via pip install datasets.
https://huggingface.co/docs/datasets/installation


Update to ReadMe.md to setup virtual environment. Added type-hints

The ReadMe file has been updated so that whomsoever uses the projects does not have to install the dependencies in the global system, instead having a step-by-step guide on how to setup a virtual environment that can contain those same dependencies without affecting the global system. The user will have to activate the virtual environment on every fresh use though.
Updated the .gitignore file so that the virtual environment folder is not pushed or modified by git commands
Also added type hints to some code. Syntactic sugar that does not affect how the code runs.

Hi @Ashwamedh-14
Thanks for your valuable contribution in this project.👍


About word level attention

Why is there the word-level attention in your code?
Did the author also use the word-level attention in the ACL paper?

No, Yankai Lin didn't use word-level attention in his ACL paper. The word-level attention comes from another paper listed in the reference.
When combining them together, the performance will get an visible increase. That's why I use it.


what will be the URL parameters if Mangopay KYC refused. I don't find any document for this.

Like if KYC Validated then URL is
http://www.mynotificationurl.com?EventType=KYC_SUCCEEDED&RessourceId=1309853&Date=1397037093
but what parameter will hook URL send if KYC Refused ??

Please let me know ASAP

Hello @Aasif001,
Status when a KYC Document is refused is KYC_FAILED.


Support email in Contributing page of doc is wrong

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
An Issue was written for PyDPF-Core about the support email not printing out correctly in the doc.
This email should actually also be changed, and there is the same problem in PyDPF-Post.
See here.
Steps To Reproduce

[x] Change the mail.

[x] Make sure the url prints-out correctly.

Which Operating System are you using?
Windows
Which Python version are you using?
3.8
Installed packages
Not pertinent.

See #81


[opengl] cross-compilation build failure

Host Environment

OS: Linux Ubuntu 18.04
Compiler: llvm + clang-cl 9

To Reproduce
Steps to reproduce the behavior:
./vcpkg install glew
Failure logs
Cannot find Windows 10.0.18362.0 SDK.  File does not exist:
/clang_windows_sdk/winsdk/Lib\10.0.18362.0\um\x86\OpenGL32.Lib

Additional context
The file DOES exist but in a Linux path format (use / instead of \)
ll /clang_windows_sdk/winsdk/Lib/10.0.18362.0/um/x86/OpenGL32.Lib

https://github.com/microsoft/vcpkg/blob/42456b785a4508386f080ae8fad2642e056b747d/ports/opengl/portfile.cmake#L4-L11
This should be replaced by file(TO_NATIVE_PATH <path> <out-var>)

Does https://github.com/microsoft/vcpkg/blob/42456b785a4508386f080ae8fad2642e056b747d/ports/opengl/portfile.cmake#L39-L42 need to be replace as well ?

@Nemirtingas I think so.

Do I also need to call file(TO_NATIVE_PATH ...) or can I just use the Unix path separator / ? DESTINATION use the Unix separator and looks fine.

@Nemirtingas All path should be set as UNIX style, and if you are in Windows, it should be converted by file(TO_NATIVE_PATH <path> <out-var>).

Is it something like this that you want ? https://github.com/Nemirtingas/vcpkg/tree/opengl_port_fix

@Nemirtingas Yes, does it work?

I must test on Windows but it works on Unix as TO_NATIVE_PATH doesn't change anything on Unix'es ;)


Fix export of SVG by passing format to serialize

Fixes #399
Silly omission.

Current coverage is 58.36% (diff: 100%)

Merging #421 into master will not change coverage

@@             master       #421   diff @@
==========================================
  Files            26         26
  Lines           711        711
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            415        415
  Misses          296        296
  Partials          0          0

Powered by Codecov. Last update f75065d...8ef2ac8

Does serialize() do PNG export by default? I kind of think it should have to be explicit, even if PNG output is the (presumed) common case. What do you think @jeffbaumes?


Dapr and .NET 5

Describe the proposal
Compatibility with .NET 5 came up today in the Dapr community call. This issue is a proposal for what the dotnet-sdk needs do about the pending .NET 5 release and a blueprint for how we think about new .NET releases in the future.
FAQ
What is .NET 5?
.NET 5 is the next release of .NET
You can read more about the implications of why it's called .NET 5 rather than .NET Core 5 here
In technical terms, you can think of .NET 5 as the next release of .NET Core (following 3.1).
When will .NET 5 be released?
You can read about the .NET roadmap and support lifecycle here.
.NET 5 is on track to be released at GA quality in November 2020. RC releases are available now.
Is .NET 5 an LTS release?
You can read about the .NET roadmap and support lifecycle here.
.NET 5 is a current (non-LTS) release. current releases have a shorter support lifecycle compared to LTS releases. Most users will want to use LTS releases and update on the slow path (~2-3 years) - using current releases is the fast path (~1 year).
Does Dapr work on .NET 5?
We have not done any validation with .NET 5 yet. We expect .NET 5 to be highly compatible, and expect that it already works well with Dapr.
We're aware of one issue: https://github.com/dapr/dotnet-sdk/issues/414
Proposal
Support Matrix
The proposal is that Dapr dotnet-sdk should remain compatible with, and provide support for all supported versions of .NET (beginning with .NET Core 3.1).
Example: .NET Core 3.1 is supported until December 2022 - the Dapr dotnet-sdk should support .NET Core 3.1 until at Dec 2022
Example: .NET 5 will be released in Nov 2020 and supported until at least Nov 2021 - the Dapr dotnet-sdk should support .NET 5 during the same period - after .NET 5 is end-of-life it's likely that the dotnet-sdk will remain compatible, but support is per the discretion of maintainers - there is no guarantee that the project will accept bug fixes or answer questions related to an unsupported release
Rationale: Unsupported .NET releases no longer receive security patches. Any user running an unsupported .NET release in production cannot have confidence that they are secure. Aligning the Dapr dotnet-sdk support lifecycle with the official .NET plans means that Dapr dotnet-sdk is compatible with all versions that receiving security updates.
Pre-release versions
We appreciate and benefit from users running Dapr with pre-release builds of .NET for validation.
The proposal is that support of pre-release versions of .NET and Dapr is best-effort and at the discretion of maintainers. Concretely what this means is that the maintainers may choose to deprioritize addressing feedback based on a pre-release.
Example: Suppose a pre-release of .NET introduces a bug and is incompatible with the dotnet-sdk. There's no expectation that the Dapr dotnet-sdk will make code changes to work around the problem.
Testing
The proposal is that the Dapr dotnet-sdk will test will all supported versions of .NET (starting with .NET Core 3.1) and any releases in RC status. The unit tests and integration tests will multi-target to run on all targeted versions of .NET.
Validation passes that are done manually should include all supported versions of .NET. Compatibility issues between .NET runtime versions are far more likely to be found with app building or integration tests than unit tests.
Rationale: We need to strike a balance between our ability to test and the requirements for contributors. Once a new version of .NET enters the support matrix it raises the minimum version of the .NET SDK required to build the repository. Requiring a pre-release of the .NET SDK only when it's close to release gives the best tradeoff for everyone.

I've tried to use the actors API in a .NET 5.0 project and was unable to make the call to UseActors in my Program.cs.
https://github.com/dapr/dotnet-sdk/blob/f6f434d6e6e5d31498a25d72fa92002091cefdee/src/Dapr.Actors.AspNetCore/WebHostBuilderExtensions.cs#L29
This is due to the fact that .NET 5 changed to HostBuilder instead of the WebhostBuilder.

I've tried to use the actors API in a .NET 5.0 project and was unable to make the call to UseActors in my Program.cs.
https://github.com/dapr/dotnet-sdk/blob/f6f434d6e6e5d31498a25d72fa92002091cefdee/src/Dapr.Actors.AspNetCore/WebHostBuilderExtensions.cs#L29
This is due to the fact that .NET 5 changed to HostBuilder instead of the WebhostBuilder.

Actually WebHostBuilder is already deprecated in .Net Core 3.1. The interface IWebHostBuilder is still available for smooth migrations from older .Net Core versions really.

I agree here. The .Net Dapr SDK/packages should target netcoreapp3.1 (LTS release) and also net5.0 for all new API's and improved performance.

Agreed, .NET Core 3.1 is LTS and should definitely work. I've been using that version at clients everywhere. .NET 5 and 6 are using the new API interface. So I figure we can slowly move towards that interface to be sure it works for 6 when it becomes the new LTS version.
I can create a pull request to make the .NET SDK work for .NET 5 and Core 3.1 if you like.

@wmeints that would be great. Let me know if I can join in on that one if needed!

@wmeints - this likely need to change as part of: https://github.com/dapr/dotnet-sdk/issues/434 - the rough plan is to make all of the actors configuration to Startup.cs
The challenge with IHostBuilder is that you don't want to end up with two web pipelines registered. IHostBuilder shows up in scenarios where you aren't using HTTP at all (workers). Actors is coupled to the idea of an HTTP serving pipeline (even though it tries to hide it).
Fortunately in a web project both are actually there - we should probably update our samples and docs for now.
public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder => // this is IWebHostBuilder
                {
                    webBuilder.UseStartup<Startup>();
                    webBuilder.UseActors(options =>
                    {

                    });
                });


[EPROD-350] fix: Add non-legacy transaction to the block tests

Issue ticket
Issue ticket link: <>
Checklist before requesting a review
Code conventions

[ ] I have performed a self-review of my code
[ ] Every new function is documented
[ ] Object names are auto explicative

Security

[ ] The PR does not break APIs backward compatibility
[ ] The PR does not break the stable storage backward compatibility

Testing

[ ] Every function is properly unit tested
[ ] I have added integration tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] IC endpoints are always tested through the canister_call! macro

@itsyaasir is this PR still needed?


s390x, etc: Support leonbe?

Thanks for filing a feature request! Please fill out the TODOs below.
Feature
TODO: Brief description of the feature/improvement you'd like to see in
Cranelift/Wasmtime.
We want to see wasmtime use/support the leonbe addressing convention as implemented in wasm2c instead of the current lemulation addressing convention.
Benefit
TODO: What is the value of adding this in Cranelift/Wasmtime? What problems does
it solve?
Consistency with another wasm implementation. Presumably easier for the JIT to optimize. Allegedly improved performance on older BE platforms without fused byteswap opcodes. (This could all be benchmarked.)
Implementation
TODO: Do you have an implementation plan, and/or ideas for data structures or
algorithms to use?
It shouldn't be too hard, mostly changing memory instructions and some other stuff.
Alternatives
TODO: What are the alternative implementation approaches or alternative ways to
solve the problem that this feature would solve? How do these alternatives
compare to this proposal?
The main alternative is to get rid of wasm2c's leonbe and make it use lemulation, or maybe even go the extra length and make it portable to mixed-endian architectures. Unfortunately the compiler isn't allowed to entirely eliminate byteswaps with that approach.

What does wasm2c's implementation have to do with wasmtime's? They are entirely independent wasm runtimes which can't be used together on a single wasm module.
Also what is the difference between leonbe and lemulation? I can't find anything about it on the internet.

lemulation (emulated LE reads on a BE host - memory values (byte reads) are LE, memory ordering (relative to position) is LE):
fn read_u32(memory: &[u8], position: u32) -> Option<u32> {
  let b0 = *memory.get(position)?;
  let b1 = *memory.get(position + 1)?;
  let b2 = *memory.get(position + 2)?;
  let b3 = *memory.get(position + 3)?;
  // generally optimized out on little-endian to a single 32-bit unaligned read
  Some(u32::from(b3) << 24 | u32::from(b2) << 16 | u32::from(b1) << 8 | u32::from(b0))
}

leonbe (observationally little-endian memory on a BE host - memory values (byte reads) are BE, memory ordering (relative to position) is LE):
fn read_u32(memory: &[u8], position: u32) -> Option<u32> {
  let b0 = *memory.get(memory.len() - position - 1)?;
  let b1 = *memory.get(memory.len() - position - 2)?;
  let b2 = *memory.get(memory.len() - position - 3)?;
  let b3 = *memory.get(memory.len() - position - 4)?;
  // generally optimized out on big-endian to a single 32-bit unaligned read
  Some(u32::from(b3) << 24 | u32::from(b2) << 16 | u32::from(b1) << 8 | u32::from(b0))
}

leonbe (observationally little-endian memory on a BE host - memory values (byte reads) are BE, memory ordering (relative to position) is LE):

That is a clever technique! I think for dynamic memories (which don't reserve a 4GB chunk all at once even if the actual size of the memory is still smaller) this will require copying the memory when trying to grow it much more often as you did have to grow it towards lower addresses rather than higher addresses. The fact that you have a subtraction on the critical path of computing the address may also be bad for performance, but I don't know how much effect it will have exactly.

it's true that allocators are generally designed to enable right growth but not so much left growth, but then there are many which aren't - as an example of a real system that does this, the JVM doesn't bother, so a JVM program (like a JVM wasm runtime) has to do full copies every time - so we don't expect it to be much of an issue in practice, especially if you can move whole pages at a time (page-oriented allocators?).
but the extra subtractions can be generally optimized out. (manually if the compiler can't do it for you.)

A JVM wasm runtime has to always copy, but Wasmtime could avoid the copy. I just looked at the impl and it seems like it too always copies too though.


codebeat badge

Is it fine to add codebeat badge to README?
codebeat is automated code review tool for Swift,Ruby,Go & Python that helps get instant feedback on code quality.
"Quick wins" suggested by codebeat could be a nice candidate for a pull request and help other developers become contributors.
FYI. To be fully open and honest. I'm co-founder of codebeat.

Is there a way to exclude some files/packages? Most of the Quick wins are from mock package which is generated.

@mthenw yes, you can use .codebeatignore file to exclude some files. Please check https://help.codebeat.co/docs/path-exclusions to learn how to do it.

I guess the go-bindata stuff is a false negative as well, and our ./docs get an F :( hahaha

Closing for now. I will add this when I will have time to configure ignored files.


How to build nodec for Window?

Hi, Can someone please guide me on how to create a new nodec executable for Windows? I have been able to build for MacOS using ruby-packer, but am unable to proceed with Windows. In need of urgent help please.

Do you mean building a single nodec executable file like the downloads from:
http://enclose.io/nodec

Do you mean building a single nodec executable file like the downloads from:
http://enclose.io/nodec

Yeah. That was the goal. I even managed to build the nodec for Mac using ruby-packer (rubyc), but failed to do so for Windows.

Do you mean building a single nodec executable file like the downloads from:
http://enclose.io/nodec

Yeah. That was the goal. I even managed to build the nodec for Mac using ruby-packer (rubyc), but failed to do so for Windows.

I tried using ruby-packer but I got this:
=> Building ruby phase 1
Traceback (most recent call last):
9: from C:/ruby-packer/bin/rubyc:143:in <main>' 8: from C:/ruby-packer/lib/compiler.rb:661:in run!'
7: from C:/ruby-packer/lib/compiler.rb:183:in build_ruby_pass_1_windows' 6: from C:/ruby-packer/lib/compiler.rb:183:in chdir'
5: from C:/ruby-packer/lib/compiler.rb:184:in block in build_ruby_pass_1_windows' 4: from C:/ruby-packer/lib/compiler/utils.rb:52:in run'
3: from C:/ruby-packer/lib/compiler/utils.rb:52:in map' 2: from C:/ruby-packer/lib/compiler/utils.rb:52:in each'
1: from C:/ruby-packer/lib/compiler/utils.rb:53:in block in run' C:/ruby-packer/lib/compiler/utils.rb:38:in escape': undefined method `include?' for nil:NilClass (NoMethodError)
So how did you use ruby-packer to pack this in macOS?

Exact steps mentioned here worked for me on macOS but on Windows it fails with compile-time errors - https://github.com/adobe/node-packer/blob/master/BUILD_INSTRUCTIONS.md


Run Recurring Jobs via longhorn-manager API

This PR refactors the logic responsible for running Recurring Jobs as per longhorn/longhorn#1406 such that instead of using the Engine API directly in order to make Snapshot and Backup calls, the Recurring Job calls the longhorn-manager in order to make requests instead.
This means that the actual Backup or Snapshot calls will go through the same code that a user-created Backup or Snapshot would go through, and the Backup and Snapshot operations will be visible from the longhorn-manager log.

I've pushed an extra commit up that properly returns a Backup Volume when the BackupDelete action is called. This is to prevent the Job from running into errors during cleanup of old Backups as a result of the call actually succeeding but being unable to parse the returned Backup Volume that it's expecting to receive.


Install apt packages (using MUP) as non-root user

I am using this with mup 1.5.3 and have some apt packages to install:
{
  ...
    docker: {
      // change to 'abernix/meteord:base' if your app is using Meteor 1.4 - 1.5
      image: 'zodern/meteor',
      buildInstructions: [
        'RUN apt-get update && apt-get install -y imagemagick graphicsmagick'
      ],
  ...
}

That will obviusly fail since it won't run as root user. However I would like to avoid using the zodern/meteor:root since it also runs the app via root user, right?
What would be the best way to solve this?
Edit: I currently install these packages manually but I don't see it as a "solution" but rather as a workaround.

You can add instructions to change the user. For example:
buildInstructions: [
  'USER root',
  'RUN apt-get update && apt-get install -y imagemagick graphicsmagick',
  'USER app'
]


[Chore] Add github-action to auto-add to project

What needs to be done
Adding issues should automatically be added to the project board found here:
https://github.com/users/bradtaniguchi/projects/4/views/1
Additional context
https://github.com/actions/add-to-project

See GitHub actions in nx-template repo


Mark Green g000590

It looks like the photo for Mark Green (TN-07) is actually an image of former Rep. Mark Andrew Green of Wisconsin.

Looks like the correct images now in place:

https://theunitedstates.io/images/congress/original/G000590.jpg
https://theunitedstates.io/images/congress/450x550/G000590.jpg
https://theunitedstates.io/images/congress/225x275/G000590.jpg

However, the metadata file is missing: https://github.com/unitedstates/images/blob/gh-pages/congress/metadata/G000590.yaml


Disable libnetwork prestart hook

Disable libnetwork-setkey prestart hook right now because actually we
don't support CNM. Before this, if we don't specify --net none in docker
command line, something weird will happen, you can see container running
with ps, but you can exec/stop/rm that container, this will influence
user experience largely.
Signed-off-by: Zhang Wei<EMAIL_ADDRESS>

please hold on, I'm working on  CNM support.

Oh, that's great!
Supporting CNM is definitely better choice.

close it, since network namespace manipulation proxy is merged. #218


[Docs]: Create okta integration page under organizations

Type
New content idea
What do you want to report?
Due to its length we should have a separate Okta integration page under organizations
Code of Conduct

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

Good candidates to review this are Nick and Radwo. Darko said he not the best person for this


context deadline exceeded for all exporters

Hey,
I've noticed that recently from time to time randomly I'm getting context deadline exceeded error from all exporters in Prometheus:

For the record I see this not only from the ceph-exporter by DigitalOcean, but at the same time blackbox exporter shows similar error:
Get http://blackbox-exporter:9115/probe?module=http_2xx&target=http%3A%2F%2F[removed_ip]: dial tcp: lookup blackbox-exporter on [removed_ip]:53: dial udp [removed_ip]:53: i/o timeout

Prometheus (1.4.1) runs under Docker on a Linux 3.10.0-327.18.2.el7.x86_64 x86_64 system.
# docker -v
Docker version 1.11.2, build b9f10c9

Logs:

What's interesting, logs do not show anything, below are the last entries:
time="2016-12-30T14:23:00Z" level=info msg="Checkpointing in-memory metrics and chunks..." source="persistence.go:549"
time="2016-12-30T14:23:03Z" level=info msg="Done checkpointing in-memory metrics and chunks in 3.029525873s." source="persistence.go:573"
time="2016-12-30T14:28:03Z" level=info msg="Checkpointing in-memory metrics and chunks..." source="persistence.go:549"
time="2016-12-30T14:28:06Z" level=info msg="Done checkpointing in-memory metrics and chunks in 3.001948943s." source="persistence.go:573"

Although, after this, I've found these errors in Docker logs:
Dec 30 15:30:28 docker: time="2016-12-30T15:30:28.260836203+01:00" level=error msg="More than 100 concurrent queries from <IP_ADDRESS>:45773"
Dec 30 15:30:39 docker: time="2016-12-30T15:30:39.261085324+01:00" level=error msg="More than 100 concurrent queries from <IP_ADDRESS>:45773"

Disk I/O is no more than 5% utilized, CPU and RAM usage is low. Any ideas what would be worth checking?

Actually this can be more of a Docker problem:
# cat /var/log/messages | grep "More than 100 concurrent queries" | grep "Dec 30" | wc -l
755

It seems that the issue wasn't Prometheus fault after all. I tried running container with METRICS_RESOLUTION=5s flag and it didn't helped.
Looks like it was Docker 1.11.2 bug with concurrent queries - https://github.com/docker/docker/issues/22185. Upgrading Docker to newest version (1.12.5) helped, and I do not see context deadline exceeded errors in Prometheus and More than 100 concurrent queries from <...> errors in Docker.