Jar.archiveBaseName doesn't make sense in multi project context

problem arose due to Spring Boot's use of Copy and the default archiveBaseName of Jar
Expected Behavior
the Jar task should behave like this, in my opinion (without the println's)
tasks.withType<Jar> {
  println(archiveBaseName.get())
  archiveBaseName.set(project.path.replace(":","-").substring(1))
  println(archiveBaseName.get())
}

Current Behavior
:app has the spring boot plugin, and build will fail on BootJar because I use api as more than one subproject
Root project 'brix'
+--- Project ':app'
+--- Project ':cli'
|    +--- Project ':cli:api'
|    \--- Project ':cli:config'
+--- Project ':config-loader'
|    +--- Project ':config-loader:api'
|    +--- Project ':config-loader:service'
|    \--- Project ':config-loader:yaml'
+--- Project ':dispatch'
+--- Project ':processor'
|    +--- Project ':processor:api'
|    \--- Project ':processor:pebble'
\--- Project ':util'
     +--- Project ':util:file'
     +--- Project ':util:lang'
     \--- Project ':util:test'

Context
this is just a nuisance, also the error is misleading on how to fix
> Entry BOOT-INF/lib/api.jar is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.0.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

an alternative fix that might be more obvious by the error would be to have a DuplicateStrategy.RENAME that prefix's or maybe suffix's pre extension. Not certain if that has an unforeseen consequences in the case of jar bundling.

I think the real solution would be for Spring Boot to use DuplicateStratey#FAIL. This would improve the error message as the fix needs to be done on the projects themselves. Having a RENAME strategy might make sense but is still confusing as builds tend to look up things by name as well and may run into other problems depending on how those files are renamed. Changing the default basename would be too large of a breaking change (and the default is in line with how maven repositories are usually using the artifactId as their name).


Managed plugin

Add support for Docker network and IPAM managed plugins.
Building
To build and enable the network plugin, execute:
   cd managed-plugin/network
   make network
   make pluginv2

Similarly, to build and enable the IPAM plugin, exectute:
   cd managed-plugin/ipam
   make ipam
   make pluginv2

Usage
Create network
    docker network create --driver=calico/network-plugin --ipam-driver=calico/ipam net1

Create workloads
     docker run --net net1 --name workload-A -tid busybox
     docker run --net net1 --name workload-B -tid busybox

Test connectivity
     docker exec workload-A ping -c 4 workload-B.net1
     docker exec workload-B ping -c 4 workload-A.net1

Release
After building the network and IPAM plugins, to release, execute:
    cd managed-plugin/network
    make push
    cd ../ipam
    make push

Hi, why hasn't this been merged yet? Can I use this? i.e. to create networks with network policy on swarm?

@jonathan-kosgei I do not know
@tomdee The previous PR #144 that was closed in favor of this one was marked v2.2.0?,  I think it is too late for 2.2 but should this go on the roadmap for 2.3?

Okay thanks. Any idea when that might be?

It needs some more testing before we can merge it

@tomdee Do you want unit tests?

Closing because of no reply


[Request For Comments] Work around problem with the first call

This PR is more of a test balloon and a request for help than a polished PR intended to be merged as-is.
In my tests, I could get the toasts to show reliably only when launching the executable after the shortcut was created. If the same process that created the shortcut then tried to show the toast, it was simply not shown (but no return value indicated any failure).
The work-around with which I came up is to wait three seconds after the shortcut is created, then spawn a new process (essentially the same executable with the same command-line parameters). If no shortcut had to be created, this work-around is not necessary.
Of course, this is an ugly work-around to the problem. I do not even understand why this problem exists, otherwise a more elegant solution would probably be obvious.
Any ideas?
This PR builds on top of https://github.com/mohabouje/WinToast/pull/13.

@mohabouje so merging this to the new develop branch makes me think that you also have the feeling that this is not quite the way to go.
Any ideas how to go about it?

Actually, I have more information. After extensive testing, it would seem that my console application has to sleep for at least 3 seconds (sometimes even 5) after the shortcut was created to make the toast visible.
It would appear that this sleep is also necessary if the AppID of the shortcut had to be changed.
And it also is necessary in my tests if I run the DesktopToastsSample and click the button very quickly after the window is shown for the first time...
In real world scenarios, WinToast would be initialized at startup (and create the shortcut if necessary), and then notify the user much later, so it would not matter. It would only matter that this happens when 1) running the first time, and 2) trying to show a toast right away.

Hi,
Nice work! I love the idea to have actions, I started a few weeks ago a template to add text inputs, buttons, etc. I dint have time to finish it, but you made all-most all the work.
I accepted the pull request in the develop branch to clean together possible bugs and to kept the master branch clean, this is a good candidate for a new release. So, let’s use master branch only for new stable release.
I'm not worry about the problem with the link creation, actually the toast should be launched when the app is ready, and normally it takes more than a few seconds.
The problem is that the actions, the new feature, are not supported in Windows 8 or 8.1, and this library should be compatible with this older version.
So we need to ensure that everything works fine in older version and add the required flags to check the OS Version. I will commit some changes during this week.  It's good to know that there are people interested in good contributions to this tinny but useful library,
Best regards =)

Awesome!
BTW we could also simply develop together on my PR branch (I always mark my PRs with "allow maintainer to edit", meaning that you can push into my branch in my repository as long as the PR is open).
As to Windows 8 or 8.1: good point, I managed to forget that I wanted to test that (read: to test what happens on those platforms, as they clearly do not support actions).
BTW I want to use this console example as a building block for Git for Windows' updater... And it would be awesome if I could integrate it soon (even if it is just a preliminary version, not the final stable release). My hope is that I can release a new Git for Windows with an updater that displays toast notifications whenever possible (falling back to the modal dialog it shows right now) on Monday, Nov 27th (or soon thereafter).

Oh, and I had another idea how to go about working around this shortcut business: instead of what I did in this PR, I want to introduce an option to the command-line example, say, -only-create-shortcut, that does what it says: it will not show any toast (and will actually error out if you provide any image or text) but ensure that the shortcut exists. Its exit code should even indicate whether there already was a shortcut (smallest yet-unused positive exit code) or whether it did create/adjust one (exit code: 0).
What do you think of that idea?

Sounds great!
I like the idea, and it could be a good approach right now, specially if you want it soon for the new release. We can just force the user to launch the exe file one time to create the shortcut.
I will test the actions system right now in Windows 8 & Windows 8.1 to analyse the behaviour. I will come back with some feedback!

I will work in your branch =)

Sorry, I forgot to clone your repo and work in your branch! Actually, I think that I dont know how to do it. In any case, the branch develop is ready to be tested and posible merged with master. It takes me a while to find the way to get the current Windows versión without manifest.
In any case, the app will launch the actions only if the app runs in Windows 10, so same code will work in all platforms. I add some print_help functionality and I change the command style to a generic way in the example application. Dont hesitate to change something. See the readme in the folder for details.
Please sync your repo and merge develop with yours, if you find any problema, just do a pull!
Have a nice day, and best regards!

Oops, I saw this only now... Will have a look!

It takes me a while to find the way to get the current Windows versión without manifest.

I think the canonical way is to use GetVersion(). Sure, it uses the version from the manifest, but you can declare multiple versions with which the executable is compatible. See e.g.
https://github.com/git-for-windows/git/blob/master/compat/win32/git.manifest#L11-L24

I see that you included Windows 8.1 and 10 in the manifest, but somehow it did not work?
Overall, I like the direction where you went in develop; I would just use interactive rebase extensively to "tell a story with the commits".
How do you want to proceed from here? Do you want me to reimplement some stuff from develop, on top of master? Or would you prefer to do it yourself?

It's done! There is no need to use manifest with the alternative one =) It seems to work well in Windows 7, 8.1 & 10, with the same code. The actions are showed only in Windows 10, so, please if you have the chance to test it =)

Will do! Thanks!

Will do! Thanks!

Yes, works as advertised! Perfect!


Update release of GHA action

Workflow fails because of the bugs in the latest version of kubescape/github-action. The bugs are already fixed for the basic Kubescape repo in issues https://github.com/kubescape/kubescape/issues/1271 and https://github.com/kubescape/kubescape/issues/1255 but for now the fixes are not yet implemented in Kubescape action.
name: Suggest autofixes with Kubescape for PR by reviews
on:
  pull_request_target:

jobs:
  kubescape-fix-pr-reviews:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write

    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
        ref: ${{github.event.pull_request.head.ref}}
        repository: ${{github.event.pull_request.head.repo.full_name}}
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v35
    - uses: kubescape/github-action@main
      with:
        account: ${{secrets.KUBESCAPE_ACCOUNT}}
        files: ${{ steps.changed-files.outputs.all_changed_files }}
        fixFiles: true
        format: "sarif"
    - name: PR Suggester according to SARIF file
      if: github.event_name == 'pull_request_target'
      uses<EMAIL_ADDRESS>      with:
        file: 'results.sarif'
        level: warning

Is this closed, @Daniel-GrunbergerCA ?

FIxed :)

❤


Ensure correct rate fixing date with implied negative date offset

Negative date offsets are currently not supported, and the Callable Bond instrument has a date offset check for this, but seems implied negative date offsets (due to calendar effects) can still happen, as described here: https://discuss.daml.com/t/callablebond-incorrect-missing-observation-error/6422
This is expected to be resolved automatically as part of this: https://github.com/digital-asset/daml-finance/issues/765
which will also add support for negative date offsets.
Once merged, ensure that it indeed works as expected.

This now works as expected.


Rename $encryptable to $encrypts. Make BC.

Here you go :)

OK, merged. Did you want to submit a PR for the rest of the changes?

Sure I can do that.


Does YCSB support the scheduling of a constant workload?

Hi YCSB guys,
I would like to issue a constant workload against a DB over a specific time, e.g.:
Execute READ every N seconds (per  client thread)
Is this feature already supported?
I checked the documentation and had a look at some code but I didn't find anything?
If this is not yet supported, could you give me some hints where to start to implement such a feature?
Thank you in advance!

you can effectively do this with the target throughput flag, provided that your datastore can sustain the target rate.
see Section 4 on "running a workload" for the -target cli option

Thanks, that was exactly what I am looking for.

happy to help!


Add FAQs

Create first take on FAQs, including:

Using other technologies other than node.js
Putting the codelab and/or WebRTC on a server.
Connecting several peers.
Doing more than just video/audio conferencing.

@samdutton As discussed, trying to create some FAQs to tackle some of the common questions. Kindly review and add your own suggestions :)
In my opinion, this should be fixing #70, #72, #73, #74, #75.
This also touches on #32 and #48, although those perhaps requires further work from our side (which is on hold because of the TURN and STUN servers).

Applied both suggestions.

lgtm % nits

@samdutton I can't see the nits. I only see "Can I run a WebRTC app from a remote server?" and "HTTPS" which are both fixed. Did I miss something or is the review still pending? Thanks!


Added Suporte for any special character except the forbidden ones

I Changed the slugify function in order to do not remove all symbols and special characters cuz they were part of some music names and they were compatible with Windows Name Format...

Already implemented in v3.

Alleviate the effort though.


godot freezing even some time  godot freez my fulll laptop

ubuntu 18.04.4
ram 8 gb

Duplicate of #18871. Unfortunately, we still don't have a "definite" hardware setup or reproduction steps for this bug.

what can I do to fix that bug
On Fri, Jun 5, 2020 at 1:22 PM Hugo Locurcio<EMAIL_ADDRESS>wrote:

Closed #39310 https://github.com/godotengine/godot/issues/39310.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/39310#event-3410121443, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZQIQNKQH5K26K72P6QS5LRVCP5TANCNFSM4NTFVAYQ
.

@devendra618 Which graphics card model do you have? Try upgrading to a more recent Linux distribution. It might fix bugs in graphics drivers.

@Calinou: Again, an Ubuntu user affected. I'm definitely seeing a trend, and thinking it's less hardware and more software...

@Zireael07 Many people have reported the same issue on Windows, so I'm not so sure about that.

i have two graphics card


Remove unnecessary config

Remove unnecessary browserify config from package.json now that we're transpiling on publish.

Just removing config cruft.


The project lacks of shareble run scripts

There is a WebScrap.sln, which is not really comfortable to work with, because it requires pretty much sub-csprojects to include every time. So its hard to maintain.
The idea of this project is to have some subprojects, which just work with limited API and tests for each.
The changes in non-Core library should affect nothing except the Integration.
So, how I deal with that?
I made a custom vscode.tasks.json file, which I should put under .vscode every time I clone the repo.
This is not convenient.
I propose to introduce, maybe a VSCode workspace, or a set of bash scripts, in order to build and test entire solution.
Please mind that the solution gotta be debuggable as well.

Maybe the workspaces will help.

Its a technical ticket, and just needs more knowledge.
Could take it if no other work.

Wanna make a workspace configuration with extensions.
So I will be able to startup the repo on bare machine.


⚠ Samsung has degraded performance

In be79b61, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2957 ms

Resolved: Samsung performance has improved in 6646953.


Help!  opengles3 book sample code build failed, error LNK2019: unresolved external symbol

I have tried to build the sample code on Visual Studio 2008 with the guide in Chapter 16. I used PowerVR  SDK 3.5 on windows 7. I have set EGL_LIBRARY & OPENGLE3_LIBRARY to right path: D:\Imagination\PowerVR_Graphics\PowerVR_SDK\SDK_3.5\Builds\Windows\x86_64\Lib\libEGL.lib & libGLESv2.lib. But when i built the Hello_Triangle sample code, i got the following errors. I have tried some ways to fix it but failed. Does  anyone have the same problem? Please help me.
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glDeleteShader@4 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glGetShaderInfoLog@16 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glGetShaderiv@12 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glCompileShader@4 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glShaderSource@16 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glCreateShader@4 referenced in function _LoadShader
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glDeleteProgram@4 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glGetProgramInfoLog@16 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glGetProgramiv@12 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glLinkProgram@4 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glAttachShader@8 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glCreateProgram@0 referenced in function _Init
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glDrawArrays@12 referenced in function _Draw
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glEnableVertexAttribArray@4 referenced in function _Draw
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glVertexAttribPointer@24 referenced in function _Draw
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glUseProgram@4 referenced in function _Draw
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function _Draw
2>Hello_Triangle.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function _Draw
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglQueryString@8 referenced in function _GetContextRenderableType
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglMakeCurrent@16 referenced in function _esCreateWindow
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglCreateContext@16 referenced in function _esCreateWindow
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglCreateWindowSurface@16 referenced in function _esCreateWindow
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglChooseConfig@20 referenced in function _esCreateWindow
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglInitialize@12 referenced in function _esCreateWindow
2>Common.lib(esUtil.obj) : error LNK2019: unresolved external symbol __imp__eglGetDisplay@4 referenced in function _esCreateWindow
2>Common.lib(esUtil_win32.obj) : error LNK2019: unresolved external symbol __imp__eglSwapBuffers@8 referenced in function _ESWindowProc@16

Is it possible you are doing a 32-bit build and not a 64-bit build?  If that's the case, you would need to link against D:\Imagination\PowerVR_Graphics\PowerVR_SDK\SDK_3.5\Builds\Windows\x86_32\Lib\libEGL.lib & libGLESv2.lib.  Either that, or make sure you pick the 32-bit generator in cmake rather than Win64.
I can't think of anything else offhand that would cause this.  It works fine with VS 2013.  I don't have VS 2008 installed at the moment, but I would have expected it to work.

Hi, Dan.
Thank you for your advice. I have fix the link error on my 64bit windows 7 after i chose VS 64bit in cmake and set library to 64 bit path. But i got another error message "Unhandled exception at 0x00000000 in Hello_Triangle.exe: 0xC0000005: Access violation reading location 0x0000000000000000." The error message occured when call eglInitialize() in esCreateWindow(), does it mean the gl lib&dll have configured correctly as eglGetDisplay() didn't get a error beforce calling eglInitialize().

I think this is a PowerVR_SDK configuration issue, the 32bit project works well after i set Edit -> Preferences -> Context creation mode = Loose in  PVRVFrameGUI.

I am getting this runtime error on visual studio 2010.
Please help.

You can try to put the missing dll into the same direction of the *.exe.


aria CLI is not supported?

Hi,
I followed the quickstart from there "https://github.com/apache/incubator-ariatosca", and I saw the CLI currently support the options, such as "parse".
It said the below command can create a service instance,
aria parse blueprints/tosca/node-cellar/node-cellar.yaml
But looks like the "parse" option is not supported? and the path for "node-cellar.yaml" is not correct. How can I enable it?
This is help manual I can see:
$ aria -h
Usage: aria [OPTIONS] COMMAND [ARGS]...
ARIA's Command Line Interface
To activate bash-completion. Run: eval "$(_ARIA_COMPLETE=source aria)"
ARIA's working directory resides by default in ~/.aria. To change it, set
the environment variable ARIA_WORKDIR to something else (e.g. /tmp/).
Options:
-v, --verbose  Show verbose output. You can supply this up to three times
(i.e. -vvv)
--version      Display the version and exit
-h, --help     Show this message and exit.
Commands:
executions         Handle workflow executions
logs               Show logs from workflow executions
node-templates     Handle a service template's node templates
nodes              Handle a service's nodes
plugins            Handle plugins
reset              Reset ARIA's working directory
service-templates  Handle service templates on the manager
services           Handle services
workflows          Handle service workflows
Thank you!

The guide has been updated here: https://github.com/apache/incubator-ariatosca
so close this issue.


How to properly setup baseUrl in Slim 3.x

I'm using Uri::getBaseUrl() in my slim-plates extension, it seems not working properly on my my server when I access it over https and devtools console said.
Mixed Content: The page at 'https://slim-app.projek.xyz/' was loaded over HTTPS, but requested an insecure stylesheet 'http://slim-app.projek.xyz/styles/main.css'. This request has been blocked; the content must be served over HTTPS.

Is it a bug? or just me who can't set it up properly?
EDIT:
Just setup https in my local server and dayum, it works :sweat_smile:. I don't know why & I still trying to figure it out. By the way, I'm using heroku.
Thanks

Does that server have $_SERVER['HTTPS'] set?

Hi @vlakoff, thanks for reply.
On my local setup, yes it has but not on my heroku, dunno why.

I suppose it's because Slim doesn't have support for requests by proxies.
Unfortunately this isn't straightforward to implement if you want it to be thorough, and secure (proxies whitelist).
The best implementation by far is Symfony's, see:

Request function isSecure
RequestTest function testGetPort
IpUtils for IP range support

Thanks for your help.
I'll take a look. Cheers :smile:

How are you including main.css?

hi @akrabat,
I'm using Plates built-in Asset Extension on my base.tpl, it will only return file path without hostname (e.g. /asset/main.css)

I see href="/styles/main.css?v=..." in page source, and my browsers (Firefox, Chrome) load the file through https, as expected.
Plates should provide full URIs as they are much more reliable (e.g. with application installed in server subdirectory).

@vlakoff that's exactly my probem here.

You could also just use href="//slim-app.projek.xyz//styles/main.css?v=..." and browser will automagically choose http or https depending on the current page.

Hi @tuupola
Thanks for suggestion, but I don't thing it's a good idea to type it manualy and I was expect it should be retrieved from Uri::getBaseUrl().

What is the problem in the bug report?  Not getting the https protocol from the  Uri::getBaseUrl() call or not getting the domain part from the same call? It is not really clear from the bug description.
I am not suggesting you to manually type anything. Just saying that the protocol part is not required in the URL. If you leave it out browser uses the same protocol as the page was requested with. But I guess I misunderstand the problem here.

I use Heroku for the demo with custom domain provided by Cloudflare. The problem is Uri::getBaseUrl() doesn't return correct base url in my setup. When I access it using heroku subdomain which is https://slim3app.herokuapp.com/ I got http://slim3app.herokuapp.com and when I access it from https://slim-app.projek.xyz/ I got something like http://slim-app.projek.xyz:12345 (with extra port). I dunno where it come from, as @vlakoff said

Slim doesn't have support for requests by proxies

I also assumed the same thing.
Sorry, I have poor english.

In #1571 I suggested an option to set base URI manually via config option (which in turn may be read from .env file), but still didn't have time to prepare a PR.

@feryardiant You may want to try Proxy Scheme and Host detection middleware :raising_hand:

@vlakoff When using URL rewrites, auto-detection fails but it's not possible to set base URL manually.

@piotr-cz Could you please provide an example?
Also, I think manual setting of base URL should be considered as a very, very last resort.
If it is technically possible to detect the base URL, we should do it to avoid delegating the work to the user.

(disclaimer: currently drunk so can't go into the details)
There are middleware for scenarios with middlewares: Proxy Scheme and Host detection middleware and Client IP address middleware. They are awaiting to be used and improved :)
If middlewares can solve this issue, then I think it should be closed.

Hi @vlakoff,
Thanks for the link, I'll try both.

Best :)
Fery Wardiyanto
On Thu, Apr 21, 2016 at 6:15 AM, vlakoff<EMAIL_ADDRESS>wrote:

(disclaimer: currently drunk so can't go into the details)
There are middleware for scenarios with middlewares: Proxy Scheme and
Host detection middleware
https://github.com/akrabat/rka-scheme-and-host-detection-middleware and Client
IP address middleware
https://github.com/akrabat/rka-ip-address-middleware. They are awaiting
to be used and improved :)
If middlewares can solve this issue, then I think it should be closed.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/slimphp/Slim/issues/1665#issuecomment-212648094

I think the middleware solves this issue, otherwise you can manually set the baseUrl.

@silentworks How can I set the baseUrl manually?


WIP: new overview docs

closes #282 and #175

[x] finish wireframes (@souperneon)

[x]  goal to update formatting for '/overview' page for pricing details to be 'Get Started' (@kkowalsky)

[x]  new words for 'Get Started' div (@kkowalsky)

[x] redesign 'Get Started' div (@souperneon)

[x]  add detailed content for 'Get Started' steps (@rmglennon)

[x]  pick out FAQs for both main pricing and pricing docs, create answers (@kkowalsky/@rmglennon)

@rmglennon, new copy looks great.
Is is just me or does the H1 heading level look too big? @souperneon?

Page formatting here is same as others, but I agree...perhaps we move headings on doc to H2 or something?

is there a way we can had another section in the navbar for the different product rate limits? Ideally expose it to H3?

@rmglennon and I decided to add a new section on the docs landing page that can catch all the general Mapzen level stuff like Developer overview, Flex overview and guides. That said, the 'Get Started' div will go away from this page (for now)

Thanks, @kkowalsky, for making the homepage! Looks great!
I've been working on the overview and flex landing pages where your links will point, and mz:redirects are fun!

@kkowalsky what would you think if we made one of the items under General at /documentation be Tutorials?
Then, I could link to that page from the developer /overview when we say, "You might want to try:
Highlight mapzen.js tutorial
Search get started
Turn-by-turn tutorial"
The simplest way to do this is to add an entry under Developer Guides for something like tutorials.md. The content is just a listing of the tutorials or get started docs we have throughout the documentation. We can do that work separately from this PR.
(see https://github.com/mapzen/documentation/issues/221)

lets wait on adding tutorials until there's bandwidth for that

@rmglennon changes look great!

@rmglennon some more notes

In Account settings > Sign up for a Mapzen account, let's not make agree to terms a new step. For email users they have to check a box before they can proceed. It appears as a new step for GitHub users because they auth and come back to check a box. Let's make it a new paragraph and maybe even link to the terms.

In Account settings > Add your Mapzen Flex payment method remove " Be sure to keep your credit card information updated if it expires or you are issued a new number." We will have some method of yelling at the user when their card is close to or has expired via email, dashboard alerts, etc. These will happen by june 1 and not by this launch. I think saying "have a valid credit card" is sufficient.

Some suggestions for the Set monthly spending limits section:
With Mapzen Flex, you can set limits on your spending each month. This gives you the comfort of knowing that your bill will remain within the maximum amount you specify. YOu will only be charged for what you use which maybe less than the limit you set for the month.
Limits can be changed at any time but cannot be set to an amount lower than the already accrued charges for that month. If no changes are made, the monthly spending limit stays the same month over month. We will notify you by email as you approach your spending limit.
(Note: I moved this last line up from the next paragraph)

Unfinished section in Billing information > View your usage

Left nav order can have API limits above Support?

in 3. Customize Billing Settings, your bill will remain within the amount you specify -> perhaps will not exceed the amount you specify

the effective date is a nice touch on account settings @rmglennon :ok_hand:

I think I have addressed the feedback so far. Remaining known issue is that anchor links are not working within this section...investigating.


Robonect adapter

Please sort the adapter in alphabetically!!

RE-CHECK!

Automated adapter checker
ioBroker.robonect

:thumbsup: No errors found

[ ] :eyes: [W113] Adapter should support compact mode
[ ] :eyes: [W400] Cannot find "robonect" in latest repository
[ ] :eyes: [W801] .npmignore not found
[ ] :eyes: [W901] .gitignore not found

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

Automated adapter checker
ioBroker.robonect

:thumbsup: No errors found

[ ] :eyes: [W113] Adapter should support compact mode
[ ] :eyes: [W400] Cannot find "robonect" in latest repository
[ ] :eyes: [W801] .npmignore not found
[ ] :eyes: [W901] .gitignore not found

Add comment "RE-CHECK!" to start check anew

@Apollon77 and @GermanBluefox Can you please assist with the failed Travis CI build. Unfortunately I don't know what to do to solve it.

Travis from Repo is ok, we know reason.

RE-CHECK!

Automated adapter checker
ioBroker.coronavirus-statistics

[ ] :heavy_exclamation_mark: [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.coronavirus-statistics
[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

ioBroker.opentherm

[ ] :heavy_exclamation_mark: [E140] width and height of logo are not equal

ioBroker.robonect

:thumbsup: No errors found

[ ] :eyes: [W113] Adapter should support compact mode
[ ] :eyes: [W400] Cannot find "robonect" in latest repository
[ ] :eyes: [W801] .npmignore not found
[ ] :eyes: [W901] .gitignore not found

ioBroker.vis-inventwo

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

ioBroker.covid-19

[ ] :heavy_exclamation_mark: 404

ioBroker.valloxmv

[ ] :heavy_exclamation_mark: [E506] Word "host" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "port" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "interval" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations

Add comment "RE-CHECK!" to start check anew

Ok, relevant for robonect:
👀 [W113] Adapter should support compact mode
👀 [W801] .npmignore not found
👀 [W901] .gitignore not found

RE-CHECK!

Automated adapter checker
ioBroker.coronavirus-statistics

:thumbsup: No errors found
ioBroker.opentherm

[ ] :heavy_exclamation_mark: [E140] width and height of logo are not equal

ioBroker.vis-inventwo

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

ioBroker.covid-19

[ ] :heavy_exclamation_mark: 404

ioBroker.valloxmv

[ ] :heavy_exclamation_mark: [E506] Word "host" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "port" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "interval" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations

ioBroker.robonect

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "robonect" in latest repository

Add comment "RE-CHECK!" to start check anew

@Apollon77 I fixed all adapter checker warnings. Please assist how to go on.

I will have a look tonight

Hi, some review comments:

(note) external communications with intervals are dangerous because on timeout cases the interval fires new requests in the defined interval and do not consider if the request before was finished. So it could be that connections sum up. Better are Timeouts that are set for the next run once a run is done
(note) The error handling on respones is very minimal. Normally also "response && response.statusCode === 200" should be checked and  that the response body is not empty.
(Needs-fix) Please define roles for your objects!

RE-CHECK!

Automated adapter checker
ioBroker.robonect

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "robonect" in latest repository

ioBroker.coronavirus-statistics

:thumbsup: No errors found
ioBroker.opentherm

[ ] :heavy_exclamation_mark: [E140] width and height of logo are not equal

ioBroker.vis-inventwo

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

ioBroker.covid-19

[ ] :heavy_exclamation_mark: 404

ioBroker.valloxmv

[ ] :heavy_exclamation_mark: [E506] Word "host" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "port" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
[ ] :heavy_exclamation_mark: [E506] Word "interval" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations

Add comment "RE-CHECK!" to start check anew

@Apollon77 Can you please check my adapter again.

Thank you!


TestIsAddressCovered() fails for localhost on Fedora/CentOS

Required information

Distribution: Fedora 30/31, CentOS 7/8

Issue description
Since LXD >=3.19 the tests for github.com/lxc/lxd/lxd/util fail with the error:
+ go test -buildmode pie -compiler gc -v -tags libsqlite3 -ldflags ' -extldflags '\''-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' github.com/lxc/lxd/lxd/util
=== RUN   Test_CompareConfigsMismatch
=== RUN   Test_CompareConfigsMismatch/different_values_for_keys:_foo
=== RUN   Test_CompareConfigsMismatch/different_values_for_keys:_egg,_foo
--- PASS: Test_CompareConfigsMismatch (0.00s)
    --- PASS: Test_CompareConfigsMismatch/different_values_for_keys:_foo (0.00s)
    --- PASS: Test_CompareConfigsMismatch/different_values_for_keys:_egg,_foo (0.00s)
=== RUN   Test_CompareConfigs
--- PASS: Test_CompareConfigs (0.00s)
=== RUN   TestInMemoryNetwork
--- PASS: TestInMemoryNetwork (0.00s)
=== RUN   TestCanonicalNetworkAddress
=== RUN   TestCanonicalNetworkAddress/foo.bar
=== RUN   TestCanonicalNetworkAddress/<IP_ADDRESS>:443
=== RUN   TestCanonicalNetworkAddress/f921:7358:4510:3fce:ac2e:844:2a35:54e
=== RUN   TestCanonicalNetworkAddress/<IP_ADDRESS>
--- PASS: TestCanonicalNetworkAddress (0.00s)
    --- PASS: TestCanonicalNetworkAddress/foo.bar (0.00s)
    --- PASS: TestCanonicalNetworkAddress/<IP_ADDRESS>:443 (0.00s)
    --- PASS: TestCanonicalNetworkAddress/f921:7358:4510:3fce:ac2e:844:2a35:54e (0.00s)
    --- PASS: TestCanonicalNetworkAddress/<IP_ADDRESS> (0.00s)
=== RUN   TestIsAddressCovered
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8443-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/garbage-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8444-garbage
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8444-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8443-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/[::1]:8443-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/:8443-<IP_ADDRESS>:8443
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8443-[::]:8443
=== RUN   TestIsAddressCovered/[::1]:8443-[::]:8443
=== RUN   TestIsAddressCovered/[::1]:8443-:8443
=== RUN   TestIsAddressCovered/:8443-[::]:8443
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8443-[::]:8443
=== RUN   TestIsAddressCovered/<IP_ADDRESS>:8443-localhost:8443
=== RUN   TestIsAddressCovered/[::1]:8443-ip6-localhost:8443
--- FAIL: TestIsAddressCovered (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8443-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/garbage-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8444-garbage (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8444-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8443-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/:8443-<IP_ADDRESS>:8443 (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-:8443 (0.00s)
    --- PASS: TestIsAddressCovered/:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/<IP_ADDRESS>:8443-[::]:8443 (0.00s)
    --- FAIL: TestIsAddressCovered/<IP_ADDRESS>:8443-localhost:8443 (0.00s)
        net_test.go:80:
                Error Trace:    net_test.go:80
                Error:          Should be true
                Test:           TestIsAddressCovered/<IP_ADDRESS>:8443-localhost:8443
    --- FAIL: TestIsAddressCovered/[::1]:8443-ip6-localhost:8443 (0.00s)
        net_test.go:80:
                Error Trace:    net_test.go:80
                Error:          Should be true
                Test:           TestIsAddressCovered/[::1]:8443-ip6-localhost:8443
=== RUN   TestListenImplicitIPv6Wildcard
--- PASS: TestListenImplicitIPv6Wildcard (0.00s)
FAIL
FAIL    github.com/lxc/lxd/lxd/util     0.009s

The reason for the first error is that localhost is resolved to ::1 instead of the expected <IP_ADDRESS>:
[mockbuild@fb2a1cf064014f39b8a3d6023ed0e819 ~]$ cat /etc/hosts
<IP_ADDRESS> localhost localhost.localdomain
::1       localhost localhost.localdomain localhost6 localhost6.localdomain6

[mockbuild@fb2a1cf064014f39b8a3d6023ed0e819 ~]$ getent hosts localhost
::1             localhost localhost.localdomain localhost6 localhost6.localdomain6

The second error is because ip6-localhost is not defined.
So far I simply remove those tests from being run when building the RPM (lxd-3.19-util-net-Disable-testing-of-localhost.patch) but maybe there is a better solution?

Submitted a branch which may fix this for you. Would be great if you could test that fix and see if that does it for you.

Works fine. Thanks a lot.


cEUR support in DappKit

Expected Behavior

Add cEUR to FeeCurrency enum and getFeeCurrencyContractAddress:

FeeCurrency https://github.com/celo-org/celo-monorepo/blob/master/packages/sdk/dappkit/src/index.ts#L97
getFeeCurrencyContractAddress https://github.com/celo-org/celo-monorepo/blob/master/packages/sdk/dappkit/src/index.ts#L102

Current Behavior
No support for cEUR in DappKit

@tkporter is protocol economics planning to do this?

we are deprecating dappkit -
WalletConnect should work with all tokens, so I think this can close (cc @AlexBHarley to confirm)


[DOC-71] Modules updates

Please find latest changes to modules and questionnaires

@farzin-huma please approve this PR


k3s server --kube-apiserver-arg --service-node-port-range=30000-40000

[root@localhost ~]#
[root@localhost ~]# k3s server --kube-apiserver-arg --service-node-port-range=30000-40000
INFO[2020-01-02T10:11:39.463048656+08:00] Starting k3s v1.0.1 (e94a3c60)
INFO[2020-01-02T10:11:39.463464572+08:00] Cluster bootstrap already complete
FATA[2020-01-02T10:11:39.478510983+08:00] starting kubernetes: listen tcp :6443: bind: address already in use
[root@localhost ~]#

Related to #444
I added this to the k3s (server) service in /etc/systemd/system/k3s.service in the ExecStart:
'--kube-apiserver-arg' 'service-node-port-range=1-65535' \

How do you validate the apiserver argument is updated post adding the above in 'k3s.service'?

You'll see it in the k3s log output.

@brandond Thanks. I get below details alwaays from this command  k3s server --log testlog.txt .
time="2020-08-19T12:41:03.338058611-05:00" level=info msg="Starting k3s v1.18.6+k3s1 (6f56fa1d)"
time="2020-08-19T12:41:03.340298043-05:00" level=info msg="Cluster bootstrap already complete"
time="2020-08-19T12:41:03.352787485-05:00" level=fatal msg="starting kubernetes: preparing server: start cluster and https: listen tcp :6443: bind: address already in use"
~
Are there any other arggument should be passed to get complete log details? pls. suggest.

This most likely means k3s is already running. Did you mean to edit the systemd unit arguments and restart it, instead of running another copy of it from the command line?

I followed below steps and could see the updated arguments value set.
systemctl stop k3s.service
k3s server --kube-apiserver-arg adverties-port=7000 --log newlog.txt
BTW , where does kube-apiserver or kube-controller-manager configurations stored in K3S. How does K3S service  understand the new argument values to consider whenever it is restarted?
I know K8S stores them in file system under /etc/kubernetes/manifests/

Seems like a bug ; Followed below steps

systemctl stop k3s.service

k3s server --kube-apiserver-arg advertise-port=7000 --log newlog.txt
Expected & actual behavior :  Argument value is updated with 7000  ( default value is 6443)

Stopped the service and started again.
Expected behavior : Argument value should be retained with 7000
Actual behavior : It is reset to default value which is 6443.

Pls. advise.

Running k3s manually via the command-line with different options doesn't have anything to do with the the systemd unit configuration. You need to edit the actual unit to change the arguments that systemd starts the service with.
systemctl stop k3s
vi /etc/systemd/system/k3s.service. # change your configuration, save and quit
systemctl daemon-reload
systemctl start k3s


[BUG] rke1 load balancer is unable to provision 0/8 nodes are available: 2 node(s) had taint {node-role.kubernetes.io/controlplane: true}, that the pod didn't tolerate, 6 node(s) had taint {node.cloudprovider.kubernetes.io/uninitialized: true}, that the pod didn't tolerate.

Describe the bug

unable to provision a load balancer when using harvester cloud provider on an rke1 cluster
To Reproduce
Steps to reproduce the behavior:

deploy an rke1 cluster using harvester node driver

enable harvester node driver

once the rke1 cluster comes to active, deploy a load balancer either while deploying a workload or stand alone (serviceDiscovery -> services ->  create)
service deployment fails with error

0/1 nodes are available: 1 node(s) had taint {node.cloudprovider.kubernetes.io/uninitialized: true}, that the pod didn't tolerate.

Expected behavior

rke1 cluster should be able to provision a load balancer
Support bundle

n/a
Environment:

Harvester ISO version: v1.0.0-rc1
rancher version: v2.6.3-rc3
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): fremont datacenter

Additional context
Add any other context about the problem here.
this is working on rke2 clusters

For rke1, users have to deploy harvester-cloud-provider from rancher market manually.

@yaocw2020 we will need to update the doc on how to setup the Harvester CCM in RKE1 with the new v1.0.0 release https://docs.harvesterhci.io/v1.0/rancher/cloud-provider/#deploying-to-the-rke1-cluster-with-harvester-node-driver

the testing purpose u may need to provide a quick-to-test method since the Harvester CCM chart is not released.

close as documented on the https://docs.harvesterhci.io/v1.0/rancher/cloud-provider/#deploying-to-the-rke1-cluster-with-harvester-node-driver


Incremental training

Description of Problem:
Once a model is trained it cannot be updated. It is not possible to continue training the model on new data that came in. Instead the model needs to be retrained from scratch, which takes up a lot of time.
Overview of the Solution:
It should be possible to load a model from a previous checkpoint and continue training with new data added.

@tabergma how urgent is this one?

@evgeniiaraz We want to tackle this issue this quarter. @dakshvar22 is leading this topic. Why do you ask?

@tabergma I wanted to work on it not to lose shape :)  but if it is urgent, I'll pick something easier

Based on the discussion in the document, here are more fine-grained implementation tasks -
Changes to CLI and rasa/train.py

Add a parameter to rasa train called finetune_previous_model which starts training in fine-tuning mode.
Add a parameter to rasa train called finetune_model_path which lets you specify the path to a previous model which should be finetuned.
rasa.train_async_internal should be refactored to check if training should proceed in finetuning mode(if finetune_previous_model is set to True). If yes, then it should check if it is possible to do so.(Check the doc for constraints for finetuning to be possible).
rasa.nlu.train should be refactored to create the Trainer object in fine-tune mode which means each component should be loaded with the model to be finetuned from. This will involve building the pipeline in a way similar to how the pipeline is built during inference, i.e. when rasa shell is run or rasa test is run.
rasa.core.train should also be refactored similarly as above.

Changes needed to ML components
CountVectorsFeaturizer(CVF)

Add a parameter max_additional_vocabulary_size which lets users specify the additional buffer size that CVF should keep to accommodate new vocabulary tokens during fine-tuning.
_train_with_independent_vocab should be refactored to construct the vocabulary with the additional buffer specified above. Things to keep in mind here -

When a new training cycle is triggered, the ordering of existing vocabulary tokens should not be changed and the new vocabulary tokens should only occupy the empty slots in the vocabulary.
If the vocabulary size of CVF is exhausted, we should continue training, but warn the user that the vocabulary is exhausted and treat the new tokens which overflow as OOV tokens. At this point, the user should also be informed about the total vocabulary size of their dataset and should be prompted to retrain with full vocabulary.

DIETClassifier, ResponseSelector and TEDPolicy

load() should be refactored to load the models with weights in training mode and not in prediction mode. Currently, _load_model() builds the TF graph in predict mode which should be changed if the classifier is being loaded for finetuning. So instead of calling _get_tf_call_model_function, _get_tf_train_functions should be reused to build the graph for training.
Make sure the signature of RasaModelData in finetune mode is the same as what is constructed during training from scratch.

A working version(very draft) of the above steps is implemented on this branch. What needs to be refactored better and possible catch all edge cases are changes outside of the ML components.

Next steps based on the call with @dakshvar22 @joejuzl

Create engineering issues from this (should be around 2-3 issues 🤔 )
Get started with the engineering issues in the week of November 23rd

Other things to keep in mind:

Can we branch off master or does it make more sense to branch off the e2e branch?

I ran some initial experiments using the working version on this branch -
Setup
Data: Financial Bot NLU data split into 80:20 train test split. The train split is further divided into 2 sets - split 80:20. The first set is used for training an initial model from scratch. The second set is used for finetuning the first model trained. Consider the second set as new annotations that a user added to their training data.
Size of Set 1: 233
Size of Set 2: 292
Size of held-out test set: 73
Note: Finetuning is done by simply mixing the new data with the old data and then training on batches from the combined data.
Training: We train the first model from scratch for 100 epochs. Then add the second set to the training data and further train the first model for 30 more epochs.
Config
Results:

Initial Model
Training data
Number of epochs
Intent F1(held out test set)
Entity F1(held out test set)
Time for training

Randomly initialized
Set 1
100
0.753
0.9
48s

Model trained on set 1
Set 1 + Set 2
30
0.861
0.927
16s

Randomly initialized
Set 1 + Set 2
130
0.876
0.911
1 min 16s

Experiments on Sara data -
Size of Set 1: 3166
Size of Set 2: 792
Size of held-out test set: 990
Results:

Initial Model
Training data
Number of epochs
Intent F1
Entity F1
Response F1
Time for training

Randomly initialized
Set 1
40
0.789
0.832
0.927
4m 10s

Model trained on set 1
Set 1 + Set 2
10
0.823
0.861
0.935
1m 39s

Randomly initialized
Set 1 + Set 2
50
0.818
0.854
0.938
6m 2s

@dakshvar22 Do I understand it correctly that the incremental training is in total faster than training everything at once? This seems somewhat counterintuitive for me as I'd expect overhead from loading training data / pipelines etc.

@wochinge The time mentioned above are the time to train DIETClassifier alone and does not include the pipeline and training data loading time. We should measure that too, but it would be much smaller in comparison to the amount of time required to train DIETClassifier for an additional 40/70 epochs as shown in the examples above.

Thanks for clarifying! Even if we measure the DIETClassier on its own - shouldn't the total time of the incremental timing be greater than when training everything in one go?

@wochinge The small overhead(11s) that you see when trained in one go is because of the increase in input feature vector size and hence bigger matrix multiplications. The first two experiments on Sara data have an input feature vector of size 11752(actual vocabulary size + buffer added). The third experiment has an input feature vector of size 12752(actual vocabulary size + buffer added). The additional 1000 dimensions are present because the model is trained from scratch and hence new buffer space is added in CountVectorsFeaturizer. I did run an additional experiment to validate this with additional_vocabulary_size set to 0 in CountVectorsFeaturizer and the training times were then comparable with a small stochastic overhead(+-2 secs) either side. Does that help clarify?

Thanks a lot for digging into and clarifying this! 🙌

I had a short look on the e2e branch and at least for the engineering changes we don't need to branch off e2e. However, DietClassifier has huge changes @dakshvar22  so you want to probably branch off from e2e for your changes, what do you think?

@wochinge The only change that we need for incremental training inside DIETClassifier is a change in the load method which isn't touched on e2e. So, we should be fine branching off master. Would like to decouple it from e2e as much as possible.

@wochinge @joejuzl Created a shared branch named continuous_training for us to merge our respective PRs into.

@dakshvar22 cc @joejuzl Can we finetune a core model when NLU was finetuned previously? Or do we have to train Core from scratch as the featurization of messages will change?

Not sure if I understand the case completely. Do you mean that rasa train nlu finetune was run and then rasa train core finetune was run?

We run rasa train --finetune
NLU model is finetuned
Do we now finetune the core model or do we train it from scratch?

Ohh, we can finetune the core model as long as we are inside our current constraints, i.e. no change to labels(intents, actions, slots, entities, etc.). Why do you think we would need to train it from scratch?


Extra argument in dgelsx

Reported by jmattsson on 17 Feb 2015 13:58 UTC
Modelica.Math.Matrices.LAPACK.dgelsx passes an extra argument lwork to the external LAPACK function - the Fortran function takes 12 parameters, but 13 are passed.
This is usually not a problem since:

LAPACK is usually compiled against without any header files - the C compiler just assumes that the call is correctly formatted.
lwork is passed as the next-to-last argument, taking the place of info, that is:
a. an output, so it doesn't matter what value you pass in there
a. usually not used
You only run into trouble if you try to actually use the value of info.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1661

Modified by jmattsson on 17 Feb 2015 14:07 UTC

Comment by anonymous on 17 Feb 2015 20:07 UTC
Hm, output parameter info is actually used in Matrices.leastSquares2 in the assertion check.
Maybe it should read dgelsy which takes the 13 parameters as currently given in LAPACK.dgelsx. Since dgelsx is deprecated this could be updated (and corrected) anyway.

Modified by beutlich on 20 Feb 2015 10:56 UTC

Comment by beutlich on 20 Feb 2015 11:41 UTC
Resolved by acd67a92c1d310a99d09060dc776671747d24ec8 (maint. branch) and a13e53b2530e5983752f6b6054e796a0bd13e2f1 (trunk). In maint. branch the superfluous function argument lwork of dgelsx simply was removed. In trunk also the successor function dgelsy was introduced that replaces calls to dgelsx which by now is no longer used but kept for backward compatibility.

Changelog modified by beutlich on 20 Feb 2015 11:41 UTC
Fix function arguments and documentation of Math.Matrices.LAPACK.dgelsx and dgelsx_vec


Support for "gift to spouse" action type

Is there a consideration to support gifts to spouse as a separate action?
I guess standard gifts are equivalent to selling shares. But giving to a spouse, despite not having tax implications, reduces Section 104. I don't see how to input that transaction at least as a raw input.
Skipping that transaction would lead to incorrect results causing this application cannot be used in such scenarios.

I think it would be an useful feature to support. Although I believe you need to handle both sending and receiving the shares, it's likely both people will be using the tool.

Sending should be easy to implement as it just reduces the 104, although more careful consideration might be needed when the other rules come into scope. It might be helpful to report the value of the gift too for the reason below.
Receiving is harder to implement, because the giftee needs to somehow input the value of the shares when they were first  owned by the gifter.

I don't have transaction of these sorts so any help for implementing this would be appreciated.
Related: https://www.gov.uk/capital-gains-tax/gifts

I was looking into that and came to the same conclusions. Transfering to spouse should not be a subject to matching rules, only reduces the Section 104 (based on https://community.hmrc.gov.uk/customerforums/cgt/cd55f761-e320-ef11-a81c-0022481b5e57). I have created a patch for that. I have such a transaction but only use the raw format so haven't added it for other broakers.
Regarding receiving shares I am not fully clear whether it is subject to the same day and B&B rules. Some time ago I saw a post on the forum which implied it is, but when I checked again now that post is gone, so maybe it was wrong. Otherwise getting the quantity and value will be easy as it will be the same as the quantity and value that was removed from partner's Section 104.


fix: on progress callback

package main

import (
        "fmt"

        "github.com/go-zoox/fetch"
)

func progress(percent int64, current int64, total int64) {
        fmt.Printf("PERCENT: %.2f, CURRENT: %d, TOTAL: %d\n", float64(current)/float64(total)*100, current, total)
}

func main() {
        fetch.New().
                Download("https://speed.hetzner.de/100MB.bin", "/tmp/test.db").
                SetProgressCallback(progress).
                Execute()
}

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 73.137%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

execute.go
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
697

Relevant Lines:
953

💛  - Coveralls

thx

fix in v1.7.8


Improve compact benchmark

This PR aims at making the compact benchmark a little bit better.
The main problem with the current approach is that it measures insertions and deletions together with the compaction itself - and those two operations are taking the most of the time. This means that the result of the benchmark is not very representative of what compaction does.
Also, the test takes from 5 to 7 *minutes to run a single iteration which is basically most of the execution time for the benchmark themselves. Running only one iteration makes the measure unreliable and difficult to compare.
This PR attempts to solve those issues by:

initializing the database with a single transaction, instead of one per item;
relating the size of the test to b.N so that Go can take measures accurately;
measuring time only during compaction;
switching the log off (to avoid corrupting the benchmark report).

It also moves the benchmark (and the test) to the drivers package as compaction is a backend operation (in fact, during tested logic, the client was used just to set up the test and as such has been removed).
Last, tests under kind folder were not running. Now they are, but I had to fix the TestMigrate as it wasn't working. If required that can be moved to another PR before this one.
Also verify you have:

[x] Read the contributions page.
[X] Submitted the CLA form, if you are a first time contributor.

Marking as draft since sqlite tests are not compiling if dqlite lib is missing.

Agreed. I will link here all the smaller PRs I create and mark this as draft for now.

Depends on #108 and #109

Depends on #110

Depends on #111

All pending PR were merged. Marking as ready.


Fix sensu_license error handling

Pull Request Checklist

Description

Fix sensu_license error handling, upon error it looks for output which wasn't being defined.

@treydock Could you please rebase

I've rebased


I am writing a slide to use with the latest version of present (188abfa75333b8777a65738f357c6cb2e1e49365).
I use the play capability, but when I try to run any simple code from the browser, it fails with the message:
program exited: signal: killed
What did you expect to see?
The result of the program
What did you see instead?
program exited: signal: killed
Diagnostic.
I looked into MacOS log files, and it complains with:
Unable (errno: 2) to read file at <private> for process path: <private> library path: (null)
Terminating process due to Gatekeeper rejection: 5582, <private>

I made a debug session, and it looks like present is removing the binary prematurely; therefore, MacOS is killing it.
Removing this line,
https://github.com/golang/tools/blob/cf83efe03cf89b09f33be7e464f1c95f6c3393aa/playground/socket/socket.go#L362
fixes the error.
The file produced by the execution process are cleaned here https://github.com/golang/tools/blob/cf83efe03cf89b09f33be7e464f1c95f6c3393aa/playground/socket/socket.go#L207
I can submit the fix if this is ok.
EDIT, the link to the fix in socket.go was leading to the wrong line

Thanks for reporting.

I made a debug session, and it looks like present is removing the binary prematurely; therefore, MacOS is killing it.

Do you mind describing the fix you have in mind? What event do you think the playground should wait for before it's okay to remove the binary?

I am thinking of simply removing the https://github.com/golang/tools/blob/cf83efe03cf89b09f33be7e464f1c95f6c3393aa/playground/socket/socket.go#L362
The cleanup process is actually done in the func (p *process) end(err error) which occurs after the cmd.Wait.
Removing this line should not lead to any garbage left on the filesystem.

That seems reasonable. There's event a comment on a line below in that method:
p.path = path // to be removed by p.end

Thanks. I'll move this issue to NeedsFix state.

I could reproduce the issue on macOS and confirmed that CL 249777 fixes it.


Visitor throws Cannot read property 'kind' of undefined using<EMAIL_ADDRESS>

TypeScript Version:

🔴3.9.2
🔴3.9.1-rc
🔴3.9.0-beta
✅3.8.3 (it work with previous versions)

Search Terms:
Visitor TypeError kind undefined 85032
Code
Unknown (Error is thrown at node_modules/typescript/lib/typescript.js:85032:35)
But this part triggers it
export interface ColorProps {
  style?: CSSProperties
}

const Color = styled(({ style }: ColorProps) => (
  <div
    style={{
      ...style,
      background: `anything`,
    }}
  />
))``

Expected behavior:
It compiles
Actual behavior:
    TypeError: Cannot read property 'kind' of undefined

      at visitObjectLiteralExpression (node_modules/typescript/lib/typescript.js:85032:35)
      at visitJavaScript (node_modules/typescript/lib/typescript.js:83441:28)
      at visitor (node_modules/typescript/lib/typescript.js:83384:24)
      at visitNode (node_modules/typescript/lib/typescript.js:74768:23)
      at Object.visitEachChild (node_modules/typescript/lib/typescript.js:75209:108)
      at visitJavaScript (node_modules/typescript/lib/typescript.js:83491:31)
      at visitor (node_modules/typescript/lib/typescript.js:83384:24)
      at visitNodes (node_modules/typescript/lib/typescript.js:74819:48)
      at Object.visitEachChild (node_modules/typescript/lib/typescript.js:75034:53)
      at visitObjectLiteralExpression (node_modules/typescript/lib/typescript.js:85057:23)

Playground Link:

minimal reproducible repository - https://github.com/lukaskl/typescript-visitor-bug-report

Related Issues:

#38383, this report could be duplicate of #38383, however, the error message is really a generic one and this error is thrown at a completely different place - therefore, for me it seems like a different issue (sorry in advance if this will turn out as a duplicate 👀).

I managed to reduce the reproduction code down to:
const f = (props: any) => (...args: any) => '';

f({
    background: `${1} anything`,
    ...{ test: 1 },
})``

The issue is in the es2015 transformer so any target above es2015 will be fine. In fact, the issue is in the object literal visitor when the node contains "es2015 features (eg. template literals, arrow functions, ...)" that need to be transformed. So you can reproduce the same crash with this code using arrow functions:
const f = (props: any) => (...args: any) => '';

f({
    background: (() => 1)(),
    ...{ test: 1 },
})``

This code, for instance does not crash because the object literal doesn't have any template literal in it.
const f = (props: any) => (...args: any) => '';

f({
    background: 'anything',
    ...{ test: 1 },
})``

I'll try to fix this.

Until the bug is fixed, @lukaskl you can use a string instead of a template literal for the background variable or use an external variable to store the template literal outside of the object literal like that:
export interface ColorProps {
  style?: CSSProperties
}

const Color = styled(({ style }: ColorProps) => {
  const background = `${1 + 1}`;
  return (
    <div
      style={{
        ...style,
        background,
      }}
    />
  );
})``

Thank you @lissein for investigating this!
To add another workaround, it is also possible to split this into two definitions, e.g.:
const ColorUnstyled = ({ style }: ColorProps) => (
  <div
    style={{
      ...style,
      background: `anything`,
    }}
  />
)

const Color = styled(ColorUnstyled)``

After more investigations, I confirmed that the code crashing is in the es2015 transformer but the root cause is not in here. The bug is actually in the es2018 transformer.
Here is an example of code with a target es2017 (< es2018):
const f = (props: any) => (...args: any) => '';

f({
    background: (() => 1)(),
    ...{ test: 1 },
})``

const a = {
    ...{ test: 1 },
}

"use strict";
const f = (props) => (...args) => '';
f({
    background: (() => 1)(),
    ...{ test: 1 },
}) ``;
const a = Object.assign({ test: 1 });

As you can see, the second spread is transpiled correctly but the first one isn't.

(This is most likely very unrelated to #38383...)

tsc throws the same error for me with TypeScript version 3.9.7:
Chase@DESKTOP-P21MP39 MINGW64 ~/company/companyWeb/projects/company.Server.Web ((b99b96a0de...))
$ node_modules/typescript/bin/tsc
C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:82931
                throw e;
                ^

TypeError: Cannot read property 'kind' of undefined
    at visitObjectLiteralExpression (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:70631:35)
    at visitJavaScript (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:69611:28)
    at visitor (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:69554:24)
    at visitNode (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:63010:23)
    at Object.visitEachChild (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:63260:45)
    at visitParenthesizedExpression (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:70365:23)
    at visitJavaScript (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:69625:28)
    at visitor (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:69554:24)
    at Object.visitNode (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:63010:23)
    at transformFunctionBody (C:\Users\Chase\company\companyWeb\projects\company.Server.Web\node_modules\typescript\lib\tsc.js:70307:37)

My project is quite large. I don't know which code tsc fails on.

Why has this issue been closed, what is the resolution without having to make manual code changes? I'm facing the same issue on 3.9.10


Drop MacOS 11 support

Description
Indeed, GitHub runners are also dropping support for the macos-11 runners, which are deprecated and will be removed on June 28th, 2024: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
Questions/Ideas

Addressing this issue will consist in removing the macos-11 runner / target in all CI workflows.
This should be done rapidly, otherwise some of the CI workflows would stop being green.

Add relevant issue to khiops-doc.


K3S Cluster Restore Failing: iptables

Recently had a power outage that caused my server nodes to go down in a weird way. They had been running fine for months, and are all armv7 devices.
I am now getting
Jan 16 03:21:38 hogsmeade2 k3s[1163068]: E0116 03:21:38.748135 1163068 proxier.go:1521] "Failed to execute iptables-restore" err=<
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         exit status 4: Warning: Extension recent revision 0 not supported, missing kernel module?
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         iptables-restore v1.8.8 (nf_tables):
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-NGSMBSSFR>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-NGSMBSSFR>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SEP-AXIX24IP5>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SEP-YVRDWOSX6>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-S4EMHPZ44>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-S4EMHPZ44>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SEP-P5BU6RB7I>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SEP-EYR4KJ3M5>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-NQL64TY2T>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file or directory): rule in chain KUBE-SVC-NQL64TY2T>
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:         line 566: RULE_APPEND failed (No such file
Jan 16 03:21:38 hogsmeade2 k3s[1163068]:  >

When trying to start k3s.service. I am (and have been) using --prefer-bundled-bin. Toggling the value results in a different error:
Jan 16 03:18:08 hogsmeade2 k3s[1162501]: E0116 03:18:08.558628 1162501 proxier.go:1521] "Failed to execute iptables-restore" err=<
Jan 16 03:18:08 hogsmeade2 k3s[1162501]:         exit status 2: iptables-restore v1.8.7 (nf_tables): Couldn't load match `recent':No such f>
Jan 16 03:18:08 hogsmeade2 k3s[1162501]:
Jan 16 03:18:08 hogsmeade2 k3s[1162501]:         Error occurred at line: 239
Jan 16 03:18:08 hogsmeade2 k3s[1162501]:         Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Jan 16 03:18:08 hogsmeade2 k3s[1162501]:  >

Running k3s-uninstall, and newing up the cluster with the same flags results in a working install. However, running a restore against that, returns this issue.
I'm not really sure where to debug from here, but happy to provide any extra info I can.
Environmental Info:
K3s Version:

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

Steps To Reproduce:
Not sure, seems to be some combination of things.

Installed K3s:

k3s version v1.28.5+k3s1 (5b2d1271)
go version go1.20.12

Expected behavior:
Would like to be able to restore the state of my old cluster, and let the rules re-create themselves? I'm not certain I understand how all this is working together though.
Expected: The agent services start successfully, and are externally accessible.
Actual behavior:
k3s.service throws this error, and is not externally accessible. coredns is down.
Additional context / logs:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

Lol

Warning: Extension recent revision 0 not supported, missing kernel module?

You are missing kernel modules. You probably installed a kernel update package at some point, but hadn't rebooted. Make sure you have all the correct kernel module packages installed and loaded.

Do you have any clue as to:

What that module might be? (Or how to hunt down which one is missing)

Or

Why a fresh install doesn't trigger this issue?

Googling around, I only find one reference to someone in an arch forum that was solved with a reboot.
I've tried updating my system, and rebooted several times.

Do you have any clue as to:

What that module might be? (Or how to hunt down which one is missing)

Or

Why a fresh install doesn't trigger this issue?

Googling around, I only find one reference to someone in an arch forum that was solved with a reboot.
I've tried updating my system, and rebooted several times.
Is there a doc where the requirements are listed out so I can compare them?

Do you have any clue as to:

What that module might be? (Or how to hunt down which one is missing)

Or

Why a fresh install doesn't trigger this issue?

Googling around, I only find one reference to someone in an arch forum that was solved with a reboot.
I've tried updating my system, and rebooted several times.
Is there a doc where the requirements are listed out so I can compare them?

You were correct, it seems to have been a kernel problem. After a lot of head banging, and dealing with the vendor specific kernel build, I decided that it was just going to cause more headaches every kernel update. Especially since they had inconsistencies with which modules they were building version to version.
I opted to swap my x86_64 "agent" nodes to be dual purpose. Which should prevent weirdness like this in the future.
Thank you for your help.
Potential suggestion: update k3s check-config to  also check for the necessary host iptables modules. Would have saved me a lot of effort.
In case it helps anyone searching around, I was using a Khadas VIM4.


Lint on save not recognizing pylint and autopep8 on remote's path

On a remote machine (which I do not have sudo access to), I have autopep8 and pylint installed in for a single user only, in ~/.local/bin. I've added this to my .bash_profile:
PATH=$PATH:~/.local/bin

When I open a bash terminal, I can see these commands are available to me when I run which pylint && which autopep8:
/fslhome/newkid1/.local/bin/pylint
/fslhome/newkid1/.local/bin/autopep8

But the Python extension apparently cannot find these tools on the remote machine. Explicitly defining the path in the Remote-SSH settings solves this problem.
The most likely cause is that the Remote-SSH extension does not source .bash_profile. If this is the case, I can move this issue over to that extension, because this should be made clear in the docs.
Environment data

VS Code version: 1.34.0-insider
Extension version: 2019.4.12954
OS and version: Elementary OS 5.0 Juno (local), RHEL 7.0 (remote)
Python version: 3.6.5
Type of virtual environment used: N/A
Relevant/affected Python packages and their versions:

pylint 2.3.1
astroid 2.2.5
Python 3.6.5 (default, Jun  5 2018, 15:49:59)
[GCC 7.3.0]
autopep8 1.4.4 (pycodestyle: 2.5.0)

Expected behaviour
pylint and autopep8 are run upon saving a Python file.
Actual behaviour
pylint and autopep8 are not found by the Python Extension.
Steps to reproduce:

Connect to remote host using Remote-SSH extension.
Install Python Extension on remote.
Run pip3 install --user --upgrade autopep8 on remote.
Run pip3 install --user --upgrade pylint on remote.
Save a Python file to be linted.

Logs
Output from Python extension:
Formatting with autopep8 failed.
You could either install the 'autopep8' formatter, turn it off or use another formatter.
Error: Module 'autopep8' not installed.

Linter 'pylint' is not installed. Please install it or select another linter".
Error: Module 'pylint' not installed.

Output from Console under the Developer Tools panel:
7workbench.main.js:238 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/username/workspace
2workbench.main.js:238 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/username/workspace/script.py
workbench.main.js:2365 Formatter autopep8 is not installed.  Please install it or select another linter". Error: Module 'pylint' not installed.
	at p.execModule (/home/username/.vscode-remote/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:295088)
	at process._tickCallback (internal/process/next_tick.js:68:7)

The most likely cause is that the Remote-SSH extension does not source .bash_profile

Yes, this would be the cause. I cannot say for sure.
However the extension does not source the .bash_profile, hence by process of elimination I can say that the problem is not with the extension.
Please do report the issue up on VSC, or you could try adding PATH=$PATH:~/.local/bin into your .env file in your remote workspace.


"NTSD --" command not work in Win10

I encountered a GPU problem which need to debug the csrss.exe process. When I use the "NTSD -" command with Administrator privileges, the debug windows of the host machine displays " Access deny, Win32 error 0n5". The target machine is Win10 1804. Does the win10 system need additional settings？ Thanks.

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

ID: a7372174-488b-bda0-6ac5-b0ad2da8fbcc
Version Independent ID: 52ff3ce8-6cdf-1500-03eb-ba9e4eb0612c
Content: Debugging CSRSS
Content Source: windows-driver-docs-pr/debugger/debugging-csrss.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

Thanks for reaching out to the Windows Driver Developer Documentation team. Unfortunately, we don’t have the resources to offer individual technical advice to the broad array of customers who use the driver documentation.
You may have success posting your question in the following forums, where other driver developers and Microsoft engineers can be found. The community there is quite responsive.
•	MSDN Windows Hardware WDK and Driver Development forum
•	NTDEV forum at OSR Online
In addition, this stack overflow thread provides some ideas on troubleshooting Win32 error 0n5, Access is denied errors.
https://stackoverflow.com/questions/32770861/windbg-could-not-attach-to-process-access-was-denied
Again, thanks for reaching out. Best of luck with this issue.


Sample record inserted into db. Need to review schema

Sample from https://www.accessdata.fda.gov/spl/data/bb8ef313-35e5-db13-e053-2a95a90a4306/bb8ef313-35e5-db13-e053-2a95a90a4306.xml

Can mimic functionality by running
bash setup.sh```

A few notes:

I'm confused about the plan for the db in the docker container
I imagine there is a python script that downloads the xml file and inserts it into the db. I don't see that.
I think in Django, we create the schema by declaring one or more Model Classes (https://docs.djangoproject.com/en/4.0/intro/tutorial02/#creating-models). I don't see that.
It might be nice to have at least one test in Django to prove that Django can access the data (https://docs.djangoproject.com/en/4.0/intro/tutorial05/)
I don't like the idea of "side loading" the db from csv files. What's the process that creates the csv's? Is there a reason we want to have sample_record.csv checked into git? Where are the other files expected to live? How are they structured (histories, regions)? How much preprocessing is needed to convert the xml files to csv? We might want to do "other things" at that step too -- like join to the MedDRA data. Or is that going to be a separate process? Maybe it makes sense to have  both steps in the same process?
It looks like there is going to be a lot in the label field. We might need/want to break that up.
I haven't actually "come up with" the schema for the EU data yet. For Sprint 1, I worked on #2. I'll plan to start looking at the EU data in Sprint 2.
I suggest we discuss, perhaps Saturday afternoon will work, after our regular weekly meeting


i want show different text in select component option tag

hello .
i want show different text in select component option tag
for example :

<vs-select
      v-model="select"
      >
      <vs-select-item :key="index"  :vs-value="item.value" :vs-selectedText="item.selectedText" :vs-text="item.text" v-for="(item,index) in options" />
    </vs-select>

or

<vs-select
      v-model="select"
      >
      <vs-select-item :key="index"  :vs-value="item.value" :vs-text="item.text" v-for="(item,index) in options" >{{ item.selectedText }}</vs-select-item>
    </vs-select>

data() {
  return {
     select : null,
     options: [
           {value: 1, label: 'label 1', selectedText: 'show after select label 1'},
           {value: 2, label: 'label 2', selectedText: 'show after select label 2'},
           {value: 3, label: 'label 3', selectedText: 'show after select label 3'},
      ]
  }

}

thanks .

Now if I understand you well I will do the update and I will warn you to review it

The component has already been updated with the new functionality, it has a different approach but the result is as expected
https://lusaxweb.github.io/vuesax/components/selects.html#is-selected-item
thanks for the contribution

@luisDanielRoviraContreras , Thanks for added this Futures but my idea is :
before Select ( show list item ) :

after select item :

my idea is :
1 - remove ---- ( or other character ) in selected item ( example => :vs-selectedText="item.text.replace( /-/g, '' )"  ) only when show selected item ( closed lists modal )

example with code :
<vs-select-item :key="index"  :vs-value="item.value" :vs-selectedText="item.value.replace(/-/g, '' )" :vs-text="item.text" v-for="(item,index) in options" />
    </vs-select>

Now you can manipulate the selected one as you want with the boolean that returns is-selected.sync

thank you .
this method don't work on computed property ?

Now what you need can be done you just have to manipulate the property is-selected.sync


Post-hooks in SQL no longer run in v0.11

Issue
Issue description
Post-hooks in SQL files passed to the config Jinja2 macro no longer run.
{{
  config({
    "materialized": 'incremental',
    "sql_where": True,
    "unique_key": 'order_key',
    "post-hook": [
      'CREATE UNIQUE INDEX IF NOT EXISTS IX_{{this.name}}_pk ON {{ this }}(order_key)',
      'CREATE INDEX IF NOT EXISTS IX_{{this.name}}_placed_at ON {{ this }}(created_at)'
    ]
  })
}}

Results
Expect two indexes to be created on the table, but none exists after either an incremental or full refresh. All indices across all tables & post-hooks are created as expected in 0.10.x
System information
The output of dbt --version:
dbt --version
installed version: 0.11.0
   latest version: 0.11.0

Up to date!

The operating system you're running on:
uname -a
Darwin ****.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

The python version you're using (probably the output of python --version)
python --version
Python 3.6.4

Steps to reproduce
Create an index through through a post-hook passed to the config macro.

Thanks for the report @tomdean! This is a dupe of https://github.com/fishtown-analytics/dbt/issues/984 and was fixed in https://github.com/fishtown-analytics/dbt/pull/985.
It's currently in development and will be released in an 0.11.1 bugfix patch this coming week! Sorry for any inconvenience this may have caused.

Missed those while searching around - thanks for the quick reply!


The screen of mirroring is blurred when the device screen turned off at recent tasks page.

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows
scrcpy version: 2.1.1
installation method: Windows release, scrcpy-win64-v2.1.1.zip
device model: Redmi_Note_4X
Android version: 7.0

Describe the bug

Using a data cable to connect to a computer;
Double click the file scrcpy-noconsole.vbs;
Go to the recent tasks page by operating the phone;
Using Alt + O to turn off the phone screen;
Right click to back to desktop in the mirroring.
Then, blurred.

Could you post a screenshot?

@rom1v thanks for reply.
this is the result image.
Reopen the application can avoid this problem.
hmm, I don't think the severity of this problem is high~

This is only when you turn the screen off (with Alt+o or --turn-screen-off), right?
Probably similar to #836: when the screen is off, some apps may "optimize" to avoid rendering. Here, it seems your system does not render (and just encodes garbage).
I guess that also happens with another encoder?
This is device-specific, if you try with another device it should probably work…

Yes, only when turn the screen off at recent tasks. There's no problem with the screen constantly turning on or off.
The system version is locked for this device. I've try another phone([server] INFO: Device: [Xiaomi] Redmi 23013RK75C (Android 13)), and it's alright. So, it's broken due to the recent tasks(a part of this system) maybe.
For the problematic phone, other encoders also happens:
E:\scrcpy>scrcpy.exe --list-encoders
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)          5984dea20304            device  Redmi_Note_4X
E:\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 60.4 MB/s (56995 bytes in 0.001s)
[server] INFO: List of video encoders:
    --video-codec=h264 --video-encoder='OMX.qcom.video.encoder.avc'
    --video-codec=h264 --video-encoder='OMX.google.h264.encoder'
    --video-codec=h265 --video-encoder='OMX.qcom.video.encoder.hevc'
[server] INFO: List of audio encoders:
    --audio-codec=aac --audio-encoder='OMX.google.aac.encoder'


fixed duplicate ga scripts

Accidental duplication of this script, fixed by this commit.

🚀 Deployed on https://65d93586c560648d01ba2c9b--cozy-fox-0defec.netlify.app


investigate intermittent jenkins failures for SlipStreamServer

The SlipStreamServer builds on jenkins fail intermittently, but builds consistently elsewhere.  Determine the reason(s) for the failure and correct them.

The root problem seems to be a difference in behavior between the OpenJDK and Oracle JVMs.  The failures are not seen when using the Oracle JVM on Mac OS X or on CentOS 7. The errors do show up frequently when using OpenJDK on CentOS 7.
The errors look like:
expected:<Created (201) - The request has been fulfilled and resulted in a new resource being created> but was:<Bad Request (400) - the request doesn't contain a multipart/form-data or multipart/form-data stream, content type header is application/x-www-form-urlencoded>

in the test output.   The important part being that the request does not contain a form entity (even though it actually does).
A hack/workaround seems to be adding a toString() call to the entity before using it.  This should make no difference whatsoever, but it seems to avoid the failures on OpenJDK anyway.  The hack should be merged and then the Jenkins output should be monitored.

Note that there is a second intermittent failure that results in an error message like:
RunListResourceTest.testPagination:166 expected:<5> but was:<6>

This has not been investigated as this occurs as a much lower frequency and is harder to debug.


IN filtering result are not correct.

Hey I'm performing queries like
          SELECT
              job_id,
              DATETRUNC('day', ts) as dt,
              sum(c)
          FROM TABLE
          WHERE
			job_id in ( '2023_08_14_10_10_01', '2023_08_14_10_25_13')
          GROUP BY job_id, dt

Query plan:

I'm expecting this to have the same result as the union of the following queries:
         SELECT
             job_id,
             DATETRUNC('day', ts) as dt,
             sum(c)
         FROM TABLE
         WHERE
   		job_id = '2023_08_14_10_10_01'
         GROUP BY job_id, dt
---------------------------------------------------------------
         SELECT
             job_id,
             DATETRUNC('day', ts) as dt,
             sum(c)
         FROM TABLE
         WHERE
   		job_id = '2023_08_14_10_25_13'
         GROUP BY job_id, dt

But there's some occasions where this is not the case and some job_ids are left out.
Table is configured like this:
    "tableIndexConfig": {
      "rangeIndexVersion": 2,
      "autoGeneratedInvertedIndex": false,
      "createInvertedIndexDuringSegmentGeneration": false,
      "sortedColumn": [],
      "bloomFilterColumns": [],
      "noDictionaryColumns": [
        "d"
      ],
      "invertedIndexColumns": [],
      "onHeapDictionaryColumns": [
        "c"
      ],
      "varLengthDictionaryColumns": [
        "b",
        "a"
      ],
      "enableDefaultStarTree": false,
      "starTreeIndexConfigs": [
        {
          "dimensionsSplitOrder": [
            "ts",
            "job_id",
            [...]
          ],
          "skipStarNodeCreationForDimensions": [],
          "functionColumnPairs": [
            "SUM__c",
          ],
          "maxLeafRecords": 10000
        }
      ],
      "enableDynamicStarTreeCreation": true,
      "aggregateMetrics": false,
      "nullHandlingEnabled": false,
      "optimizeDictionary": true,
      "optimizeDictionaryForMetrics": true,
      "noDictionarySizeRatioThreshold": 0,
      "rangeIndexColumns": []
    },

Am I doing something wrong here or is this a bug?
Current configuration:
GKE
version 0.12.1
GCS for deep storage
3 ZK - 8 CPU and 18GB ram
6 Servers - 16CPU and 32 64GB ram 1.45TB SSD
2 Controllers - 16 CPU and 32GB ram
2 Brokers - 5 CPU 16.25GB ram
32 Minions - 2 CPU and 2GB of ram
1M Segments 4TB of data

By default, pinot only returns 10 groups (implicit LIMIT 10), and without order-by the result is indeterministic. Can you try running the query with a higher LIMIT, or add an order-by clause?

This happens even if the number of groups to return is less than 10. Can you explain how order by would change the behavior of this query?

To ensure I didn't misunderstand the problem, can you also post the responses for the above queries?

first query result:
job_id              | dt            | count
2023_08_14_10_10_01 |<PHONE_NUMBER>000 | 1166708

union of the result of the last two queries:
job_id              | dt            | count
2023_08_14_10_10_01 |<PHONE_NUMBER>000 | 1166708
union
2023_08_14_10_25_13 |<PHONE_NUMBER>000 | 20349

This doesn't seem like a wanted behavior to me. It doesn't always happen, only with some combinations of job_id. I've figured this out while validating the data based on job_id. It gets worse if the number of job_id in the in clause gets bigger (adjusting limit accordingly of course).

I see you are using star-tree index according to the plan. Can you try adding SET useStarTree = false; to your query and see if the results are expected?


add michelangelo feature that closes #2

if you make the PR when AppVeyor is down, don't expect something to work :smile:


ci(style): Add EditorConfig and relevant GH Action

Add EditorConfig and relevant GH Action to check compliance.
TODO:

[x] Fix existing non-compliance

@scarmuega only .editorconfig needs to be checked, if it is up to your liking, upon merging and deploy of the gh-pages I will re-visit the  mdBook Markdown files to see if I acciden tally broke anyting being unaware that Markdown uses two trailing_whitespace for newline; so I had trim_trailing_whitespace = true globally, that is now fixed for *.md files.
Lesson learned I guess =)


added profile page at route /progfile when user click on my profile t…

@anuragverma108
@huamanraj
please assign level 3
…hey will redirected here
Related Issue
Feat: Missing profile page #2023
close #2023
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #(issue no.)
Description
added new route /profile
make it repsonsive
as per theme matching
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@huamanraj
kindly check this and merge it


Remove location from vnet test

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5153
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.


dvc: introduce multithreaded import and RFC

This allows us to download files in a few threads.
Also includes RFC, as we can now get rid of import-bulk.py.
Fixes #85.
Signed-off-by: Ruslan Kuprieiev<EMAIL_ADDRESS>

Added POOL_SIZE=4 in v2, merging.


[Release Radar Request] Capri 4.0

Open Source Project name
Capri
What is your project?
Capri is a static site generator with partial hydration for React, Preact, SolidJS and Svelte.
Version
4.0
Date
June 25, 2022
Description of breaking changes
Capri now supports Svelte! You can create interactive islands just by naming your components *.island.svelte.
GitHub Repo
https://github.com/capri-js/capri
Website
https://capri.build/
Link to changelog
https://capri.build/docs/migration/
Social media
https://twitter.com/fgnass/status/1540666350900740096
Anything else to add?
Capri is still super young, the 1.0.0 release was only two weeks ago (https://twitter.com/fgnass/status/1536005613897011202). As we strictly stick to semver versioning, we already hit 4.0.0. We are now super happy with the public API and expect no further breaking changes for a while.

Congrats on being featured in the June Release Radar 🥳

Read the blog here
Feel free to retweet Mish's tweet featuring you
Check out our YouTube video for the June Release Radar promo 😄


Add serde support for Value

This PR adds serde support for google.protobuf.Value.
closes #5
Depends on #14

@tustvold This should be ready for a re-review.

:tada: Thanks again :smile:


Android background service not working.

I testong Oppo F5
OS: 8.1.0
If User manual swipe to clear app from recently it still working on both native side and react native headless task,
but if user click on clear all recently app. it sometime working and sometime does not. However that is working only in android native side, and handle headless task on react native did not working.

@mauron85 pls fix them. i same issue with android 9

Any update on this? :(


TransformableNode does not translate on vertical planes

When using vertical plane detection I am unable to translate a renderable using a TransformableNode, I am able to scale and rotate correctly.

Thanks for the feedback. The Transformation System in Sceneform 1.0 was really designed for horizontal planes.  For future releases we will look into this and there are probably many other things in the Transformation System that we will want to change for vertical planes.

Just updating this issue.  We have put this feature into an upcoming release.

Fixed in Sceneform 1.3


Add label-based indexing

Add label-based indexing to get rho_ij using index labels e.g.
print(laser_atom_system.rho_0(1, 1) prints the population of state labelled with "1"

Fixed and merged into main


add metadata for azconfig cli extension

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

@shenmuxiaosen could you unformat the file back to using 4 spaces? This makes it very hard to review PRs.

@shenmuxiaosen please rebase from master to get new changes

@shenmuxiaosen closing this PR per our discussion


Theme generator/editor

Several default themes have been generated and are already available through the settings. It is anticipated that theme customization can be done through a theme setting editor.


Chore: basic-features/data-fetching/get-static-props の差分追従

https://raw.githubusercontent.com/vercel/next.js/canary/docs/basic-features/data-fetching/get-static-props.md

LGTM!!