Allow components to define their routes in their definition file instead of having them all in one place

Since components are already taking care of not polluting other places, I believe it would be really nice to have components declare their own routes (subroutes actually) in their own space.
This would really help for huge apps and it would favor components reusability.
I was thinking of a 'routes' object in the component's definition object but this could be in a vue file
as well.

Very arguable feature.
I personally do no like this approach. It kind of Symfony and some .Net MVC workarounds...
I like to open a single file with routes and see how app works.

Well of course, just like any features they are arguable.
I guess it's not about your personal taste though but potential flexibility at zero cost.
Components are exactly that.
I'd like to open only one file to see how a component work.
Adding dev tools to dump all the routes of an app should also be quite easy...

It can be useful if you have big app with totally isolated parent components. For example if you have a Public component (not authenticated users) and a Private component (authenticated users), then maybe you can split the routes in two. But in general it's better to have a file where you can see all the possible routes.

I can see how this would be useful for larger apps. Coming from the Python world, the popular Django framework does something similar. There is a root route map, and you can include route maps to individual root routes.
So here is a rough Django inspired proposal:
route.map({
  '/foo' : {
    component: Foo
  }
})

And the Foo component can provide the nested routes with in a map property of the already implemented route property:
var Foo = Vue.extend({
  // ...
  route: {
    map: {
      'bar/:id' { component: Bar }
    }
 }
})

The route /foo/bar/:id would route to the Bar component.
I thought this up quickly, so I'm not sure what consequences might come out of this method of defining routes.

I do like the idea of being able to separate them like this, but the v-link would have to be the full path and not the partial path, in case I needed to link to something outside of it. This would, in my mind, make a sub-component possibly depend on another component.
Other than that issue, I do like the idea, because it lets me get a high level overview of the routes without having to dive in to any particular one. When you have a ton of components and you're dealing with routes and subroutes, it gets a bit tedious.

While it is arguable to keep all routes and sub-routes together to improve readability, is there anyway to get around having to import all the components used in that routes file? For example:
import Archive from './Archive.vue'
import ArchiveIndex from './components/archive/Index.vue'
import ArchiveShow from './components/archive/Show.vue'

...

router.map({
    '/archive': {
        component: Archive,
        subRoutes: {
            '/': { component: ArchiveIndex },
            '/:slug': { component: ArchiveShow }
        }
    }
})

Somehow it feels like the components of the sub-routes should be imported in the parent component.

is there anyway to get around having to import all the components used in that routes file?

If you use webpack you can import components into router.map() like this
`
'/register': {
    name: "register",
    component: resolve => require(['./Register.vue'], resolve)

},

'/login': {
    name: "login",
    component: resolve => require(['./Login.vue'], resolve)
},`

@chmln does Browserify support this? I can't seem to find it in the documentation.

@perkola yes, browserify support it, i'm using it with gulp, here's an example of how i'm doing it:
router.map({
    '/manage': {
        component: require('./manage/manage.vue')
    }
});

modules providing their own routes is how Django works too.
Promotes modularising complete functionality.

It's helpful when we need to add subRoutes at runtime, when our webapp supports widgets that are developed by 3rd parties and dynamically loaded.

I really like the idea... See this in a component would be awasome
route: {
  name: 'newPosts',
  path: 'posts/news'
}

+1

There is a lot of component-specific logic for routes that goes in the activate or beforeActivate of the route. So if you have one routes file, you'll end up having a lot of component specific logic there. This makes me cringe. Am I right in reading it this way?

We should be just able to modify the routes at runtime and everyone will handle the routing as he pleases.

I'm new to Vue and Vue Router, but my first thought when starting to play around with nested routes was, "Wow, this is really unmodular and won't scale very well." The fact that my component doesn't contain its own effective "template" and I instead have to look into and/or modified some global configuration to get what I want seems really odd to me.
+1 for adding nested routes directly into components.

@rickhall I was thinking this way too. But after getting mileage with router I changed my mind. Routes being disconnected from the "controllers" (the route-handling components) is what makes the setup modular.

It reflects the fact that the address bar is a unique resource..
It makes your controllers not rely on presence of each other.
It makes your controllers reusable in different contexts (with different host and content).
It still allows you to reuse "route subtrees" at will.

I think there are potentially two different ways to view sub-routes: 1) treat them as internal implementation details of the component or 2) treat them as API of the component.
I was coming at it from (1), but I can certainly see that (2) makes sense too. But only having option (2) as an approach effectively forces me into exposing stuff as API, even when that might not be my intent.
The mere fact that I can bind data and/or register for events in nested router-view elements indicates that the component is expecting something specific to happen and the contents of the router-view elements cannot be freely substituted without impacting the component behavior.

yeah, I need too.
just open createMatcher method, right? or you can create new method  which called refreshRoute in VueRouter
:8ball:

It will be really nice if components could define their own routes/subroutes. It will make the routing much more flexible and consistent because only registered components will "add" routes to the router.

While there may be some odd work-arounds, but I really would love to be able to do something like this:
main.ts
new Vue({   el: '#app-main',   router: new VueRouter({     routes: [       { path: '/', component: HomeComponent },       { path: '/products', component: ProductsComponent },       { path: '/categories', component: CategoriesComponent },     ]   }),   components: {     'navbar': NavbarComponent   } });
categories.ts
@Component({   template:
Categories

`,
  router: new VueRouter({
    routes: [
      { path: '', component: ProductsComponent },
      { path: 'somethingElse', component: NavbarComponent },
    ]
  }),
  components: {
    'products': ProductsComponent
  }
})
export class CategoriesComponent extends Vue {
`
This is an incomplete, non-working example, obviously, but just to illustrate.

I would like to advocate for this feature.  I am new to Vue and Vue-Router and so far I've enjoyed my experience with both.  However, after re-structuring my growing app and trying to break up the quickly growing router file, I found this limitation frustrating.
For myself, an App's structure is reflected in it's folder and file layout.  I expect this from any project I must maintain.  For example, to find the Account Preferences page and components, I do not look in the router file to find it's path and behavior, I look in the Pages/AccountPreferences folder and open AccountPreferences.Vue.
That being said, I can appreciate a single file approach for smaller apps.  I would just like to see Vue-Router offering an alternative option for people like me that would like components to take ownership of their route definitions.

@aaroncmoore I was looking for this...So I found in the documentation router.addRoutes().
So I 'inject' router in main.js to the const app = new Vue({}). And then in my components i use this.$router.addRoutes(). I works for me

Ooh...I just now found out that it doesnt replace routes existing routes with the same path names. It's something I need. Turns out I have to wait for this one #1129 :)

For Meteor, @Akryum made this great simple addition, router factory, which allows one to register routes lazily, and then at the end all routes are defined at once.
You can define then route inside a component like:
<template>

My component.

</template>

You just define a set of callbacks which are called then all together.

Adding a  tag in Vue components also will be very handy for a component to define its own routes(subroutes)

I think this issue is fixed by https://github.com/vuejs/vue-router/commit/759df369733414306099099f63518cdb02a0e117 ?

any chance of this being implemented? I have a large Vue project and having to manually add all the routes to a single file is getting hard to manage; it's also not the obvious place to look for new team members. I would LOVE to see this feature implemented.

@mrjones2014 I dont know if tit would help, but what I do for mid or large projects is that I have a singleton class with a route and child methods, which writes the routes into an object and then just pass that object to VueRouter, works great and that way each component can have its own route :)

@javisperez do you still have to maintain a routes list globally somewhere, or can it somehow be called from components themselves on register? I'd definitely like to take a look at that gist. Ideally, I'm looking for a solution that allows me to somehow specify a component as a "top-level" component (i.e. one that represents a complete UI screen on the frontend), and if specified as such, require that it also specify a route property (which ideally could be either a string or an array of strings).

@mrjones2014 we (@javisperez and I) have released the package vue-tidyroutes with our approach to solving this issue.
Please take a look on it: https://github.com/edgarnadal/vue-tidyroutes
Feedback is highly appreciated.

@mrjones2014 yes, check this basic example: https://github.com/edgarnadal/vue-tidyroutes/blob/master/example/component1.js that can be used on a .vue file, like this;

component1.vue

<template>

Component1

</template>

@javisperez  heh, duh. The routes don't seem to be working if I import the components through an index.js file; do I have to import the components each individually, directly in my main.js file?

@mrjones2014 🤔 it should be working just fine on an index.js, we are actually using it on some large projects with no problem. Please feel free to open an issue (https://github.com/edgarnadal/vue-tidyroutes/issues) with some reproduction steps or links, so we can have a look; doing it here would be off topic :)

@javisperez LOL nevermind; I forgot to set mode: 'history' and was using real URLs

@rjwittams comment seems to have gone unnoticed - unless I'm mistaken, from the looks of it 759df36 solves the nested router problem at the component level and this issue can be closed now?

The original feature request should help a lot for component encapsulation in large project. Without it, need to know how the sub-component internal (the route info) and put it in the top level, which is harder to reuse a component. Would like to see such feature in new Vue version, or integrate the TidyRoutes implementation into Vue.

I'm a bit insecure posting this, since I'm just starting out with Vue, and I'm not terribly bright to begin with. It seems too obvious, making me feel like I'm missing something (either in the discussion or in my implementation) but my current solution is this:
// components/component.vue
import SomeChildComponent from './';

export default {
  routes: [
    { path: "/somechildpath", component: SomeChildComponent },
  ]
};

And in my main routes file
// router.js
import Vue from "vue";
import Router from "vue-router";
import Component from "components/component.vue";

Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    {
      path: "somepath",
      component: Component,
      children: Component.routes
    }
  ]
});

It appears this can be nested as deep as you want/need. So basically my toplevel component exposes child routes that are being set in that component. I'm a big fan of how angular does this esp. combined with lazy loading.

I actually have already done this before. I have a project which includes the route info inside the component. However it is not using .Vue files. Here is a good example: https://github.com/kferrone/kferrone.github.io/tree/master/collections/_views/contact-me

Given the current state of this issue, there hasn't been any interest in implementing it in core but it seems some people like it while others don't. Therefore, it would be a nice addition as a plugin
If anybody still thinks this is worth including in core, open a discussion or an RFC in the vuejs/rfcs repository to continue the discussion!


Add FormatFactory

Adds FormatFactory <IP_ADDRESS>
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

Hi,
Can you please confirm the root cause?

I've checked the SHA256 signature, it matches
The download link is publicly available
The installer contains adware detected by some antiviruses, please check this report from VirusTotal. Does it qualify as malware?

/AzurePipelines run

Hm, the installer has been moved. I will provide an updated manifest tomorrow.

I have validated the updated manifest on my machine. The URL can be downloaded successfully, the hash corresponds and the installation completes successfully.

/AzurePipelines run


⚠ Bofrost.at has degraded performance

In 2760a73, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1807 ms

Resolved: Bofrost.at performance has improved in b3185e8 after 9 minutes.


Fix conflicting name type Crypto vs class Crypto

This is an omnipresent issue throughout the repo, which causes us to import qualified Cardano.Ledger.Class as CC. This is not that big of a deal, but if there is an agreement throughout the team we could rename one to avoid this collision. It does lead to more typing and confusion for the newcomers, so I think it would be an improvement. In consensus, in fact, a type synonym EraCrypto is created for it for it, which makes me think we could adopt the same name:
https://github.com/input-output-hk/ouroboros-network/blob/470ee82d9dfb1e07f55e6600d50de6aa60cf8a5c/ouroboros-consensus-shelley/src/Ouroboros/Consensus/Shelley/Eras.hs#L108-L112

I'm all for EraCrypto if it bring more consistency and removes a name clash!


fix: remove use-screenshot

feat: displat file type

looks good. while testing, i noticed that animation text does not get screenshot (probably due to ease in)
happens before and after your changes, can be addressed later
user screenshot:

export screenshot


Error: No QueryClient set, use QueryClientProvider to set one

Attempting to access a document or object that has the icon type in the schema fails with this error.
Error: No QueryClient set, use QueryClientProvider to set one
    at useQueryClient (webpack-internal:///(app-pages-browser)/./node_modules/@tanstack/react-query/build/lib/QueryClientProvider.mjs:42:11)
    at useBaseQuery (webpack-internal:///(app-pages-browser)/./node_modules/@tanstack/react-query/build/lib/useBaseQuery.mjs:24:95)
    at useQuery (webpack-internal:///(app-pages-browser)/./node_modules/@tanstack/react-query/build/lib/useQuery.mjs:14:73)
    at useIconSetInfo (webpack-internal:///(app-pages-browser)/./node_modules/sanity-plugin-iconify/dist/index.esm.js:122:73)
    at usePrettyIconName (webpack-internal:///(app-pages-browser)/./node_modules/sanity-plugin-iconify/dist/index.esm.js:322:23)
    at IconifyInput (webpack-internal:///(app-pages-browser)/./node_modules/sanity-plugin-iconify/dist/index.esm.js:343:22)

Looking through the code, things seem to be configured and set up correctly. I haven't had a chance to clone down and try things on my end yet.

I found a useQueryClient call that was able to slip out of the provider. A new version has been released. Let me know if it works for you now. Thanks for pointing this out!

Great work, it's working now, thanks!


Install on Windows 11 fails

Installing v<IP_ADDRESS> on windows 11 virtual desktop fails with following error :
Service 'SQL Server VSS Writer' (SQLWriter) could not be installed. Verify that you have sufficient privileges to install system services."
The SQL Server VSS Writer windows service gets created but fails to start.

I fixed this by downloading 2015-2022 C++ Redistributables


disabling test with bootstrap node killed

after calling skip(), the test was still
executed and failed. Better to disable the
whole test.

Ignoring code coverage reduction because it's obvious removing a test will reduce code coverage 😂


updated ontology to include interventions

fyi @ajaynagesh @ZhengTang1120

the '' I just took care of, thanks
The ones that seem "incorrect" come from the spreadsheet, e.g.:

(not that you can read that)
so... i am unsure what we should do, as this theoretically comes from the experts?
why is "hiv/aids" (line 185) incorrect? it's under the antiretroviral node
i merged the i.e. and e.g. lines up... but am not sure we should merge the e.g. ones... they're examples right?

@bsharpataz: Should I review this again?
code should live under src/main/PROGRAMMING_LANGUAGE/...

Ok

On Sep 3, 2018, at 5:21 PM, bsharpataz<EMAIL_ADDRESS>wrote:
@MihaiSurdeanu -- idk... i didn't change the ones you said were "too general" or "incorrect" -- perhaps we should chat about it briefly tomorrow at the meeting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

What are these things: - ''?  It seems like the rest of the file was made so that the names of the non-leaf nodes contain no spaces, but these do.  The directory tree is on a per project basis.  I'm starting to think that there needs to be a separate project for the preparation of materials.  I need to add a program to normalize vectors, another to remove duplicates from ontologies, maybe another to pre-serialize vectors and ontologies,...

didn't all the '' get removed?
On Mon, Sep 3, 2018 at 8:40 PM Keith Alcock<EMAIL_ADDRESS>wrote:

What are these things: - ''? It seems like the rest of the file was made
so that the names of the non-leaf nodes contain no spaces, but these do.
The directory tree is on a per project basis. I'm starting to think that
there needs to be a separate project for the preparation of materials. I
need to add a program to normalize vectors, another to remove duplicates
from ontologies, maybe another to pre-serialize vectors and ontologies,...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/420#issuecomment-418232135, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniRXMYsoVot7SEpHnJJK1wxPqy8O8ks5uXfYNgaJpZM4WXCyq
.

@MihaiSurdeanu I made the changes we talked about, namely to move keywords to their own field and to add the synonym info from the other sheet.  I opted to do less processing of text here (i.e. stop words) and allow grounding to have at it.  Please review, at least to some degree and let me know if this will pass muster :)

@kwalcock are we waiting on something before we merge this one?

Sorry, I hadn't notice the next set of changes.  Are keywords used by the program?  I assume this unknown field is ignored.  Should "e.g." or "i.e." or "and" be part of them, does it matter when they end with a comma or are missing spaces: "counselling,pep,"?  If you say it's OK,  I'll just click the button.


Classes and methods are not at the same title level

Today, when generating markdown files, classes and methods from theses classes appears at the same title level which is kind of annoying.
I put classes at a higher level than methods to fix this.

Thanks

This commit has been added to the following release
https://github.com/codejamninja/sphinx-markdown-builder/releases/tag/0.5.3


working with meteor?

I'm trying to use this with Meteor and am not getting any video showing up.
in a video template--

then ive tried both using this:
Template.video.onRendered( function() { 		this.$('#video').vide('woot/warthundervid'); 	});
which is whats recommended in the meteor package, and then doing it the "normal" way with just the jquery by itself
`$( document ).ready(function() {
	$('#video').vide('woot/warthundervid');

});`

havent got either to work yet. Any problems with that code? Do you have any working examples using Meteor?

This should work
<template name="video">

Template.video.onRendered(function() {
  this.$('#video').vide('woot/wartundervid', {
    loop: false,
    muted: false,
    position: '0% 0%'
  });
});

@VodkaBears, I'll send a PR with updated docs to make this clearer and add a note that people can mention (@zimme) me with issues related to Meteor

@zimme I am all for it, thank you.

@zimme that doesnt seem to work ='(
Heres the code:

in the "videos folder i have a .mp4, .webm, and .ogv with the same name, as well as a separate .jpg with the same name.

What is in the console?

@VodkaBears

@Orbyt: have you put the videos in the <project_root>/public/video/ folder?
<project_root>/public is / for clients in meteor

@zimme Ok yea i put them in public. So I i tried using a different .mp4, with only a .mp4 file (no webm, ovg, or jpg alternative) and the video and music plays but I still get this in the console:

but, when i try to use the original video "warthundervid", the music plays but the screen is black, and theres a similar error as above^ (just instead of localhost:3000/videoviewdemo.extension its localhost:3000/warthundervid.extension)
I dont think the file is corrupt or anything as the video plays normally with windows media player etc..

You get those "error" messages because the plugin tries all kinds of extensions for images, those you can ignore.
Well, maybe it's some video format the browser doesn't support?

@zimme ah ok cool. No the format was .mp4 as well, downloaded and cut from Youtube to test. I just grabbed another vid and it seems to be working, so perhaps it was an issue with the converter i was using? Weird though as the video still had sound and worked completely in Windows media player

@Orbyt perhaps, http://diveintohtml5.info/video.html#miro


Document I/O limitations

Which Cloudflare product does this pertain to?
Workers
Existing documentation URL(s)

https://developers.cloudflare.com/workers/platform/limits/

Section that requires update
A section should be added
What needs to change?
Commonly, customers try and do things in the global scope which isn't allowed, and receive an error from the API like this:
Some functionality, such as asynchronous I/O, timeouts, and generating random values, can only be performed while handling a request

As far as I can tell, this limitation isn't documented on the Limits page for Workers, or anywhere else on the Workers docs
How should it change?
This error message should be explained, and the top-level I/O limits should be explained (especially in cases where it's non obvious, like constructing a Response object)
Additional information
No response

This is a pretty stale issue and I can't tell what's changed! If updates need to be made, can a PR opened in the docs on this page? https://developers.cloudflare.com/workers/platform/limits/


Make test compile in Eclipse

Eclipse cannot compile any(Action.class) unless the
class has a specific generic type.

Fixed by #564


Move all questions to first page

Workflow: to discuss!

remove "Set Epsilon" page
move questions to initial page

adjust setup_questions_formatter.py
depends on #671

done


fix(version): update fabric8-planner to 0.22.29

@fabric8cd snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-750-fabric8-ui.int.rdu2c.fabric8.io


Poetry

Issue

DPE-1133
Add poetry dependency management based off of the mongo-k8s charm

Solution

Add poetry dependency management based off of the mongo-k8s charm

Context

Updated charm libs and switched to data-interfaces
Updated pypi dependencies

Testing
Release Notes

If we copy over the renovate bot config as well, we should be able to get PRs for updated dependencies. Not strictly necessary for switching dependency management though.


Does the test API keys support international currencies

My  razorpay account has international payments enabled through PayPal.
I'm testing the subscription API using test API keys, which leads to the following anomalies.
Creating a plan
For any amount < 50.
{
  "period": "monthly",
  "interval": 1,
  "item": {
    "name": "Ideator",
    "amount": 49,
    "currency": "USD",
    "description": "Monthly subscription"
  }
}

{
    "error": {
        "code": "BAD_REQUEST_ERROR",
        "description": "The amount must be at least $0.5",
        "field": "amount"
    }
}

For any amount >= 50
{
  "period": "monthly",
  "interval": 1,
  "item": {
    "name": "Ideator",
    "amount": 50,
    "currency": "USD",
    "description": "Monthly subscription"
  }
}

{
    "error": {
        "code": "BAD_REQUEST_ERROR",
        "description": "Currency provided is not supported",
        "field": "currency"
    }
}

Expected behavior : Plan should be created for a supported currency.

@abishekmuthian i have tried to create plan with same params you mention in description and its working . may be you dont have this feature enabled.


Remove CORS from SecureHeaderFilter and use Cors.HttpFilter instead

Cors.HttpFilter is available in finagle framework

Current coverage is 97.21% (diff: 100%)

Merging #202 into master will decrease coverage by 0.02%

@@             master       #202   diff @@
==========================================
  Files            39         39
  Lines          1051       1042     -9
  Methods        1031       1022     -9
  Messages          0          0
  Branches         20         20
==========================================
- Hits           1022       1013     -9
  Misses           29         29
  Partials          0          0

Powered by Codecov. Last update 80f12c2...cb86dc0

+2


Fix duplicate sentence in Designing-For-User-Experience-In-PowerShell.md

Remove duplicate sentence
PR Summary

Remove duplicate sentence from post body
PR Checklist

Do you want this post to be published on a specific date?: Y/N [Specify date]:
[X] I have read the contributors guide and followed the style and process guidelines
[X] PR has a meaningful title
[ ] Includes content related an open issue

see Closing issues using keywords.

[X] This PR is ready to merge and is not Work in Progress

@IISResetMe Thanks. I fixed this in WordPress. Unfortunately, adding this commit just creates a duplicate post. So problems like this have to be fixed in WP after the fact.


Add canvas prop to the context

📦 Published PR as canary version: 0.1.10--canary.99.8b81c0b.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in v0.1.10-next.0 :rocket:

:rocket: PR was released in v0.1.10 :rocket:


Improve Go snippets

Description

Add const
Add if
Add ife
~Set snippet key for all Go snippets~
Fix some snippet placeholders
Remove ifunc

@hlissner
Sorry I've been having an wrong idea for Yasnippet keys.
I've updated the PR. Please review 🙇

No problem! Thanks for the quick response and for all your help, here and for Doom!


Language Server: implement textDocument/hover

The Hover request should return some information that can be useful in the context
Ideas:

Variables: type if available (maybe requires symbol table, but could probably be more simply derived; register/wire/parameter/localparam; if possible to determine without going too much in elaboration-weeds: width. Input, output ?)
Blocks: when hovering over the end block - if this is a labelled block, name of the label
generalized to endmodule, endfunction... name of the corresponding thing.

Some simple things can probably be relatively easily be derived, others might need symbol table.

Is there any plan for adding hover info for literals, say to show what a binary literal is in hex or decimal? Or utility functions (e.g. $clog2)/other keywords (always_ff), to show parameters + basic info? If not I'd be willing to take a stab at it.

There are many ideas that could be implemented, alas there is not enough time.
So yes, please take a stab!

Hi,
I just wanted to ask which hover functionalities currently exist if any.
The language server README says: verible-verilog-ls by default loads and analyses only currently edited files in the editor. To be able to utilize such features as going to definition, going to references, printing hover info project-wide, add a verible.filelist file to the project.
This indicates that hover info already exists, but it doesn't work for me, while go-to-definition does after setting up verible.filelist, hence my question.

There is actually some partial hover implementation, but it is disabled right now.
You have to set the hoverProvider value to true and recompile: https://github.com/chipsalliance/verible/blob/master/verilog/tools/ls/verilog-language-server.cc#L90
Reason why it is currently disabled is, that it creates a full symbol table of all files first, while it would be probably better to look in the local file first before doing an expensive symbol table creation.
But, this is a start and can be expanded from there.


[Feature] Have graph actually reflect exercises

Please ensure the following for feature requests

[x] I checked to ensure there aren't other open Pull Requests for the same update/change.

Is your feature request related to a problem? Please describe.
The graph right now is randomly generated. Depends on #55
Describe the solution you'd like
The graph should connect to the backend to get the history of exercises, then display this.
Include a user story to describe why you want this feature
As a user, I want to be able to view my actual exercise progress in a graph, so that I can easily track my workout progress

Are the endpoints setup for this or not yet?

I think so? I believe its just fetching the workouts history, then passing that into the graph. Might need to calculate the score for each workout in between though

Remove muscle group filter and just track the scores from workouts table.


Fix a deadlock triggered by OOM

fix a deadlock when child processes get killed by OOM mechanism

Codecov Report

Merging #6 (eaadfdb) into main (e09207f) will increase coverage by 2.31%.
The diff coverage is 57.14%.

:exclamation: Current head eaadfdb differs from pull request most recent head 5c2ef88. Consider uploading reports for the commit 5c2ef88 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   88.49%   90.80%   +2.31%
==========================================
  Files           1        3       +2
  Lines         113      272     +159
  Branches       16       50      +34
==========================================
+ Hits          100      247     +147
- Misses          6       16      +10
- Partials        7        9       +2

Flag
Coverage Δ

pytest
90.80% <57.14%> (+2.31%)
:arrow_up:

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

Impacted Files
Coverage Δ

mplite/__init__.py
84.16% <57.14%> (-4.33%)
:arrow_down:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


TE 3.3 prevent the traffic ratio from being rounded up

The current tests for two of the defined nhg use 2 and 3 as the weights, sum of which is not 2^n.  This will cause rounding up traffic ratio that leads unmatched ratio between traffic flows and expected ratio.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1181

Relevant Lines:
2064

💛  - Coveralls

/gcbrun


Make standalone_absl imported target global.

@pifon2a there's one more thing (TM): CMake has odd visibility rules for imported library targets. They are only visible in the directory they have been add_library()-ed in. This means that if we find_package(Abseil) from multiple places in a single project, the previously added standalone_absl target won't be seen, so we will enter the if in FindAbseil.cmake multiple times. However, ExternalProject_Add will crap out because it already added a project called abseil (which is globally visible).
Solution: add GLOBAL to add_library(standalone_absl IMPORTED).
While I was at it, I added find_package(Abseil) to cartographer-config.cmake.in, so libcartographer users don't have to do it, and did a small cleanup of quiet/required stuff. For FindAbseil.cmake to be visible from cartographer-config.cmake, I had to add the installed Cartographer cmake modules to CMAKE_MODULE_PATH.

@ojura thank you again


Download Spotify Metadata + Youtube mp3?

What is the purpose of your issue?

[ ] Bug
[ ] Feature Request
[x] Question
[ ] Other

Description

How can I specify manually which youtube mp3 to download from, and specify to use the metadata from spotify on it?
Log

New Text Document.txt

Duplicate of #658.


Implementation Discussion

@Dandigit I was planning to use MongoDB and Node.js, but I just found out that MongoDB cannot be installed currently (I use Raspbian 4), but I am not entirely sure. Can you help me with that?
Note: Is PHPMyAdmin a good option in case I will be unable to install MongoDB?

@BonfireScratch Which Raspberry Pi model are you using?

@Dandigit Raspberry Pi 3

@BonfireScratch Looks like you'll need to install Ubuntu on your Pi.
Burn this image to your SD card and set it up with your Pi. Then you'll be able to use the official MongoDB Ubuntu/ARM64 release.

@BonfireScratch Some links to help with this:

https://wiki.ubuntu.com/ARM/RaspberryPi
https://andyfelong.com/2019/03/mongodb-4-0-6-64-bit-on-raspberry-pi-3/

@Dandigit I might consider doing so

@Dandigit I think I will do that, but it will take some time as I am working on other stuff as well

@Dandigit I am commenting from Ubuntu Mate on a Raspberry Pi 3B+!

@Dandigit the Raspberry Pi seems to have zoomed the screen in so much that I can do almost nothing with it... :angry:

@Dandigit @SimpleBinary do you know how can I use port-forwarding?

@BonfireScratch Could you explain what you mean by "do you know how can I use"? It is quite hard to  work out what you are asking here.

@SimpleBinary how can I port forward my REST API application so that the GitHub server can use it?

@Dandigit can you point mi n the right direction about a very strange issue I have?

@BonfireScratch What is the issue?

@SimpleBinary the issue can only be reproduced locally, as I have not made the configurations on the Apache server to handle HTTPS. (I will add images soon) I have added a feature on the front end that, given a URL (eg padscape.github.io#3), the app connects to the server and retrieves the content for a 3rd entry given to the database, that contains sample code. While I was writing example code snippets, I noticed that, when reloading the page, some parts were missing. Doing some testing, I believe the issue is in the server side. I have figured out that it occurs due to the presence of single and double quotes, but I cannot figure out why... I first thought it would be because of escape characters, but new screenshots can show that it is not because of that, at least, only.

@SimpleBinary no need to, actually. I fixed it myself.


Feature request: translatable siteConfig.tagline

Is this a bug report?
Yes and no
Have you read the Contributing Guidelines?
Yes
Expected Behavior
siteConfig's key tagline should be translatable
Actual Behavior
It's not (I think).

@chenglou Hi. Agree, most any string should be translatable.

Hi 😁,
I think tagline is being translated as of now.
Related code:
https://github.com/facebook/Docusaurus/blob/f33d977d1aa3bfc12296bf6522b1676e02adc1ca/lib/write-translations.js#L39-L43
Googled reasonml.github.io in which the title is title ● tagline. We can see that it's translated

I am closing this. Feel free to re-open or Let me know if you need assistance 😀


chore: fix go-waku interop tests

Problem
js-waku tests fail against latest go-waku
Solution
Improve code to catch problematic places earlier.
Tests started to fail at this commit 1ca39fce428e6b7e2e6c5790bec7e498d20fa41b but I couldn't find particular commit in go-waku.
In terms of versions failures happen in v0.9.0.
Major reasons for failures are RPC endpoints that have different behavior than before:

get_waku_v2_relay_v1_messages
get_waku_v2_relay_v1_auto_messages
get_waku_v2_admin_v1_peers

Apart from that:

seems that ability to subscribe to more than 30 topics in Filter also changed in v0.9.0;
metadata is not populated for messages;

not needed due to https://github.com/waku-org/js-waku/pull/1821


RBAC: ServiceAccount, Role, ClusterRole templates

https://kubernetes.io/docs/reference/access-authn-authz/rbac/
It would be nice if chart would allow setting this via variables

Hi @GRomR1
You have this opportunity.
If you need to extend your app by extra templates you can use extraDeploy option.
Here is an example how to add networkPolicy: link
So, you can add the templates you need similarly.
For example:
extraDeploy:
  app-sa: |-
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: {{ include "helpers.app.fullname" (dict "name" .Values.serviceAccountName "context" $) }}
      namespace: {{ .Release.Namespace | quote }}
      labels:
        {{- include "helpers.app.labels" $ | nindent 4 }}
        {{- with .labels }}{{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}{{- end }}
      annotations:
        {{- with $.Values.generic.annotations }}{{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}{{- end }}
        {{- with .annotations }}{{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}{{- end }}


operational status

Hi,
First of all, thank you very much for your project!
But I have one wish if possible:
Is it possible to read out the entire register 2000.
SWITCHING PROGRAM ENABLED B0
COMPRESSOR B1
HEATING B2
COOLING B3
DHW B4
ELECTRIC REHEATING B5
SERVICE B6
POWER-OFF B7
FILTER B8
VENTILATION B9
HEATING CIRCUIT PUMP B10
EVAPORATOR DEFROST B11
FILTER EXTRACT AIR B12
FILTER VENTILATION AIR B13
HEAT-UP PROGRAM B14
I hope you can help me.
Thanks Stefan

This should be implemented in 2023.6. Please test the new version.

Thanks for adding these sensors. I can confirm that they show up with 2023.6. But i noticed that the summer mode is unavailable (even was before 2023.6). I have a integral ventilation unit and I think in this case the summer mode needs to be fetched from a different register:

The Summer Mode should be fixed in 2023.8

Thanks @pail23. Can confirm this is working with 2023.8


.Net: WIP: Add new getting started samples

Motivation and Context

Description

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Will replace with a PR that just adds the getting started samples


first attempt

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh

Specs : MBP M2, 12 Cores, 32GB RAM
Execution time: 0m27.7s
Execution time of reference implementation: 3m3s

There's a difference off the output to the baseline script. Please run ./calculate_average_baseline.sh and make sure your output matches it.

I've updated the code to adapt to the new structure. I have double checked the output and run the test script.
Here's my run result on a the same mbp M2/12 core/32GB
❯ hyperfine ./calculate_average_maximz101.sh
Benchmark 1: ./calculate_average_maximz101.sh
  Time (mean ± σ):      7.920 s ±  0.209 s    [User: 82.796 s, System: 1.713 s]
  Range (min … max):    7.666 s …  8.387 s    10 runs

Thanks!!

00:18.902, thx for participating!


Failed to compile in windows (MSVC) due to #include <unistd.h>

I'm getting a compilation error in windows (using Visual Studio) in the file merlin/src/platform/fs_case.c because it includes #include <unistd.h> which is unix only.
I think this can be easily fixed by including that file for OSX and Linux only.

If you confirm the fix works, I will close the issue and release a new minor version.

Hi! I tested the change and compiles successfully on windows.
Thanks.


RedHat releasever

If using RedHat 6.5, using $releasever in the yum repository fails with the following message
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list gitlab-ce' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: gitlab_official. Please verify its path and try again

Using the $::os[release][major] fact fixes this issue, the stringify_facts option must be set to false for this to work.

Can you please add a note somewhere that stringify_facts must be set to false for this to work? It's still failing in my environment because of that...

@jantman done in https://github.com/vshn/puppet-gitlab/commit/482f17e2ab0f8ef77dac5580009b58789e24d5e4


Need to make sure that namespace temination will not be blocked by the DevWorkspace finalizers

This scenario is particularly important for the Developer Sandbox / workspaces.openshift.com user deactivation flow. When a user is deactivated their namespace is removed. We need to make sure that DevWorkspace presence will not block the namespace removal and it will not be in the Terminating state forever due to finalizers:

Tested deleting a few namespaces with various numbers of Workspaces both stopped and running and found no issues. Closing for now as there's not much more to be done.

Still happening :/
`status:
conditions:

lastTransitionTime: "2023-10-24T02:23:06Z"
message: All resources successfully discovered
reason: ResourcesDiscovered
status: "False"
type: NamespaceDeletionDiscoveryFailure
lastTransitionTime: "2023-10-24T02:23:06Z"
message: All legacy kube types successfully parsed
reason: ParsedGroupVersions
status: "False"
type: NamespaceDeletionGroupVersionParsingFailure
lastTransitionTime: "2023-10-24T02:23:06Z"
message: All content successfully deleted, may be waiting on finalization
reason: ContentDeleted
status: "False"
type: NamespaceDeletionContentFailure
lastTransitionTime: "2023-10-24T02:23:06Z"
message: 'Some resources are remaining: devworkspaceroutings.controller.devfile.io
has 3 resource instances'
reason: SomeResourcesRemain
status: "True"
type: NamespaceContentRemaining
lastTransitionTime: "2023-10-24T02:23:06Z"
message: 'Some content in the namespace has finalizers remaining: devworkspacerouting.controller.devfile.io
in 3 resource instances'
reason: SomeFinalizersRemain
status: "True"
type: NamespaceFinalizersRemaining
phase: Terminating
`

I believe that finalizer is being set by the Che Operator to ensure routing configurations for the workspace are properly cleaned up in the gateway container. I'll reopen the issue so that we can look into it.
To double check, @Dave-c-Ross is the finalizer stuck for a long period (e.g. 5+ minutes)? Is the Che Operator healthy on that cluster? We might expect some delay in clearing that finalizer but it shouldn't indefinitely block namespace removal.


Error in the web part

Upgrading to webpack 5 fixed this.

It looks like the newest wasm-pack generates code that's not compatible with the older Webpack here - thanks for bringing it to my attention, I'll try to upgrade the toolchain and dependencies tomorrow, this should bring the repository back to being plug-and-play 🙂

Okie, I've upgraded the project to newest Rust & Webpack 🙂


5.5.0

V5.5.0  -- HOT FIX RELEASE
This version release was expedited by Discord deciding to break their image proxy.
The highlight PR is #1414, the other 2 are just here for the ride

Codecov Report
Patch coverage: 13.04% and project coverage change: -12.89 :warning:

Comparison is base (79e9b97) 60.23% compared to head (9d4369e) 47.34%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           stable    #1415       +/-   ##
===========================================
- Coverage   60.23%   47.34%   -12.89%
===========================================
  Files         139      139
  Lines       14638    14658       +20
===========================================
- Hits         8817     6940     -1877
- Misses       5821     7718     +1897

Impacted Files
Coverage Δ

interactions/client/client.py
30.45% <0.00%> (-15.26%)
:arrow_down:

interactions/models/internal/context.py
38.37% <10.00%> (-0.55%)
:arrow_down:

interactions/client/const.py
84.00% <33.33%> (-5.37%)
:arrow_down:

... and 64 files with indirect coverage changes

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


Provide simplified access to custom log levels

I'm not sure what the most convenient syntax for this might be, but a common requirement is to change the standard log levels.  Since log2d is intended as a simple but powerful wrapper around the complexities of logging, it would be a nice enhancement to offer this too.

Just been looking to ADD  "SUCCESS" and "TRACE" as new levels but it looks like you need to do this via the underlying logging module before instantiating a log2d.Log object.  It would be great to be able to do this simply from within a log2d.Log instance, without explicitly touching logging.
I've been using loguru but log2d is much simpler/better for me and I'm replacing it.  However, loguru does seem to have non-standard levels but it's not yet clear how without digging a bit more.

Well, that went better than I expected :)
Although clearly not directly within log2d.Log, you can achieve this as follows.  In the module where you want to use log2d:

Import logging, then log2d
Before using log2d, set up the new levels in logging
Now they are available in log2d

Code as follows seems to work:
import logging
from log2d import Log
...
# Add SUCCESS logging level
SUCCESS = 25    # INFO = 20, WARNING = 30
logging.addLevelName(SUCCESS, 'SUCCESS')

def success(self, message, *args, **kws):
    """ Test method for SUCCESS levels"""
    self.log(SUCCESS, message, *args, **kws)

logging.Logger.success = success

# Add TRACE logging level
TRACE = 15    # INFO = 20, DEBUG = 10
logging.addLevelName(TRACE, 'TRACE')

def trace(self, message, *args, **kws):
    """ Test method for TRACE levels"""
    self.log(TRACE, message, *args, **kws)
...
Mylog = LOG("SUMMARY", to_file=True).logger
...
Mylog.trace("This message level is TRACE")

This seems to work as expected, though, as yet,  I'm unsure of any impact this approach will have on logging.  I need to read some more

Thanks for the encouraging words and suggested code Mike... This has spurred me on and I'd like to suggest the following alternative based on your approach:
from log2d import Log, logging

mylog = Log("mylog")
Log.mylog.debug("Debugging message...")
logging.SUCCESS = 25  # between WARNING and INFO
logging.addLevelName(logging.SUCCESS, 'SUCCESS')
setattr(mylog.logger, 'success', lambda message, *args: mylog.logger._log(logging.SUCCESS, message, args))
Log.mylog.success("Success message...")

I don't propose to cover every possible edge case but this seems to work nicely and I'll aim to add this into the next release so you can just call .add_level()

Hi again Mike... I've now incorporated this in a new branch ("add_level") and published it on test.pypi:
pip install -i https://test.pypi.org/simple/ log2d==0.0.17
Would you be kind enough to have a play and let me know if you find any problems please?
Here's the relevant section of the updated README:

from log2d import Log, logging

mylog = Log("mylog")

mylog.add_level("NewError", below="ERROR")
mylog.add_level("NewInfo", above="INFO")

Log.mylog.newerror(f"New log level {logging.NEWERROR} below ERROR")
Log.mylog.newinfo(f"New log level {logging.NEWINFO} above INFO ")

Output:
"New log level 'newerror' added with value: 39"
"New log level 'newinfo' added with value: 21"
mylog|NEWERROR|2022-11-09T06:17:00+0000|New log level 39 below ERROR
mylog|NEWINFO |2022-11-09T06:17:17+0000|New log level 21 above INFO

This method returns a confirmation message rather than logging its own output and potentially messing up your pristine logging schema.  You can suppress it by assigning a dummy variable e.g.
_ = mylog.add_level("NewError", below="ERROR")

.add_level() will also overwrite previous log levels at a given value if they already exist, and create the new log level immediately above or below the reference log level i.e. without leaving any gaps.  For explicit control over the postion of log levels, you can also specify the log level value numerically:
mylog.add_level("TRACE", 15)
Log.mylog.trace("Trace message...")

Brilliant!  It will take me a few days to check this out and I'll get back to you.
FYI, I'm using this as part of a centralised UDP broadcast logging/alerting system for all my home machines. The broadcast messages are simple json strings, so I can log from python, bash etc.

Hi Peter,
Would you like to initially discuss here or put it all directly into github?
Best regards
Mike
On Wed, 9 Nov 2022, 06:43 Peter F, @.***> wrote:

Hi again Mike... I've now incorporated this in a new branch ("add_level")
and published it on test.pypi:
pip install -i https://test.pypi.org/simple/ log2d==0.0.17
Would you be kind enough to have a play and let me know if you find any
problems please?
Here's the relevant section of the updated README:
from log2d import Log, logging
mylog = Log("mylog")
mylog.add_level("NewError", below="ERROR")
mylog.add_level("NewInfo", above="INFO")
Log.mylog.newerror(f"New log level {logging.NEWERROR} below ERROR")
Log.mylog.newinfo(f"New log level {logging.NEWINFO} above INFO ")
Output:
"New log level 'newerror' added with value: 39"
"New log level 'newinfo' added with value: 21"
mylog|NEWERROR|2022-11-09T06:17:00+0000|New log level 39 below ERROR
mylog|NEWINFO |2022-11-09T06:17:17+0000|New log level 21 above INFO
This method returns a confirmation message rather than logging its own
output and potentially messing up your pristine logging schema. You can
suppress it by assigning a dummy variable e.g.
_ = mylog.add_level("NewError", below="ERROR")
.add_level() will also overwrite previous log levels at a given value if
they already exist, and create the new log level immediately above or
below the reference log level i.e. without leaving any gaps. For explicit
control over the postion of log levels, you can also specify the log level
value numerically:
mylog.add_level("TRACE", 15)
Log.mylog.trace("Trace message...")
—
Reply to this email directly, view it on GitHub
https://github.com/PFython/log2d/issues/1#issuecomment-1308284537, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALF2JSB3QBVI2P2U5BMGFDWHNBZ3ANCNFSM6AAAAAAQVECSMM
.
You are receiving this because you commented.Message ID:
@.***>

That's great feedback thanks Mike!  Please keep 'em coming :)

Actually Mike what would be super helpful is if you could give me a 2-3 line TEST for point #3 which is currently failing please?  I can then add that to the tests for future, and also be 100% sure we're talking about the same thing.

OK, here's a simple bit that should do it.  Just uncomment the setLevel line to see the effect.
def testEvent1(Msg: str) -> bool:
    '''Test as designed.  Add two new EVENTS'''

    LG = Log(_Log, path=_HPath)  # _Log = "testlog", _HPath = os.path.join(os.environ['HOME'], '.logs')

    print(LG.add_level("Success", above="INFO"))
    print(LG.add_level("Fail", above="SUCCESS"))

    #LG.logger.setLevel('CRITICAL')

    LG.logger.success(f"{Msg}: Success!")
    LG.logger.info(f"{Msg}: 'Info'")
    LG.logger.fail(f"{Msg}: Fail!")`

Same result if we use LG.testlog.success(Msg) or getattr(LG, _Log).success(Msg)

Hi Peter,
I think I've found it.  Logging.addlevel examples I've found have a test of the message level in the function - "isEnabledFor(LVL)".  So, you may need something like:
setattr(self.logger, lower_name, lambda message, *args: self.logger._log(level_value, message, args) if self.logger.isEnabledFor(level_value))
Still looking for other issues but tragically short of time I'm afraid.  Nothing else so far :)

Hi Peter,
Oops! Slight issue with the above, but this one seems to work OK.
_Fn = lambda message, *args: self.logger._log(level_value, message, args) if self.logger.isEnabledFor(level_value) else None
setattr(self.logger, lower_name, _Fn)

Without the else None , you get a syntax error - lambdas must always return something.

Much appreciated Mike - I'll have a look over the next few days hopefully!

Thanks for your patience Mike.  I added a slightly modified test and in the end merely had to add if self.logger.isEnabledFor(level_value) to my add_level() method.
Really appreciate your help.  I'll update on PyPI presently so you can enjoy the fruits of your labour!

Hi Peter, that's great.  Sorry I was not quick enough with these comments.  I very nearly sent them yesterday but ran out of time :(
OK, I've spent a little more time with this and I've also created a "find" log search function (see final comment below).  I've found nothing significant that doesn't stem from logging itself. :)
A couple of comments and points.  Note: it's clear some of these issues exist in logging itself so you may feel it's best not to address them.  However, if log2d is logging for the "less involved", maybe they are worth a look.

add_level should just return a tuple or list of e.g ("SUCCESS", "success", 21), that is, the level as it appears in the log, the attribute name and the level value.  This may be of greater importance for non-English speakers - more below.
Is it worth changing the call convenience method to accept an optional level (default is existing Effectivelevel).  This would simplify all log message submissions.
There are localisation issues with add_level - primarily caused by using upper() and lower(). This is easiest to show with an example:

>>> A="groß"  # lower case eszett
>>> print(A, A.upper(), A.lower(), A.casefold())      #  groß GROSS groß gross

>>> A="GROẞ"  #  uppercase eszett
>>> print(A, A.upper(), A.lower(), A.casefold())      #  GROẞ GROẞ groß gross

Localisation and UTF-8 character sets are always a can of worms, so not sure what you can/should do about this but it does make it more important that the user knows exactly what level has been added,  particularly if the attribute get mangled, hence item 1 above.
4.  FYI: If you add "NEWLEVEL" with a value of 20 (i.e. existing INFO), when you try to add an INFO message, you get a NEWLEVEL message. This looks like a feature of logging so I suspect there's nothing you can do.
Finally, I've written a log search function which I'm just tidying and then Ill add it to the search issue.

Excellent comments thanks Mike, and the new find method looks great too!  I'm happy to incorporate these myself over the next week or so, or if you prefer you can Fork the repo, make your changes, and submit a Pull request... that way you'll appear forever as a "Contributor" on Github and get some well deserved credit :)

Hi Peter,
Thanks for your encouragement, I've not done this before but  I'll give
fork and pull a in try.  I've always felt I should give something back and
this is a good opportunity. Please bear with me.
On Tue, 29 Nov 2022, 17:59 Peter F, @.***> wrote:

Excellent comments thanks Mike, and the new find method looks great too!
I'm happy to incorporate these myself over the next week or so, or if you
prefer you can Fork the repo, make your changes, and submit a Pull
request... that way you'll appear forever as a "Contributor" on Github and
get some well deserved credit :)
—
Reply to this email directly, view it on GitHub
https://github.com/PFython/log2d/issues/1#issuecomment-1331076532, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALF2JQY6VWMHVDYFWIEAFTWKY77VANCNFSM6AAAAAAQVECSMM
.
You are receiving this because you commented.Message ID:
@.***>


Modify openstack provider configuration for CCEE

To expose the APIServer over the public internet, We have to modify Exposure Class in the shoot spec
FloatingIP Network for CCEE is FloatingIP-external-cp-kyma

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/test all

This is done (based on @anishj0shi's PR) in https://github.com/kyma-project/control-plane/pull/915


yarn generate:types fails after upgrading to 1.0.2

Regular yarn dev doesn't get this error.
Running yarn generate:types I get:
file:///home/blain/js/payloadcms-backend/node_modules/payload-oauth2/dist/auth-strategy.js?tsx-namespace=1727890648433:2
import jwt, { TokenExpiredError } from "jsonwebtoken";
              ^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'jsonwebtoken' does not provide an export named 'TokenExpiredError'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:171:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:475:24)
    at bin (/home/blain/js/payloadcms-backend/node_modules/payload/dist/bin/index.js:45:27)
    at async start (file:///home/blain/js/payloadcms-backend/node_modules/payload/bin.js:30:7)

I also get the same error for: yarn generate:importmap. I'm on payload 3.0.0-beta.110.  When I downgrade to 1.0.1 the error goes away.
I thought the problem might be my tsconfig, but I have options like this set:
    "esModuleInterop": true,

If I change the code in the plugin to this:
const { TokenExpiredError } = jwt;
It makes the error go away (and I can go through the flow successfully). Also it handles expiry gracefully (I get back to the login screen for OAuth users). Please let me know if the above change is needed or if there's something I need to set in my tsconfig.

Fixed in v1.0.3


Swapchain lost when going full screen

Related to #2400
Observed in vkQuake3 and is a blocker for running it full-crreen
One thing to try out - CA_LOG_IMAGE_QUEUE_FRAMES environment.

@kvark What kind of full screen are we talking about here? The one setup by SDL/Winit, or sizeable windowed that is maximized after launch? The former works fine for me, but the latter might be related to https://github.com/gfx-rs/wgpu/issues/78

Interesting! This issue is about SDL fullscreen on Metal with vkQuake3 running through gfx-portability.

On Apr 4, 2019, at 04:43, Seivan Heidari<EMAIL_ADDRESS>wrote:
@kvark What kind of full screen are we talking about here? The one setup by SDL/Winit, or sizeable windowed that is maximized after launch? The former works fine for me, but the latter might be related to gfx-rs/wgpu#78
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@kvark So define "fullscreen" here? Is it with
video_subsystem.window(...)
        .fullscreen()
        .build()

or maximising the window after launch?

Pretty sure it just launches in full-screen (based on the text config).


Introduce tests

In this recent PR https://github.com/fingerprintjs/fingerprintjs-pro-use-cases/pull/40 we've introduced unit tests setup using vitest. It would be good to introduce some basic unit tests for the core logic of this project, especially in files stored in /server directory.
Furthermore, we could also introduce some basic E2E tests that test at least all the "happy paths" of our examples.

We now have Playwright tests covering all use cases, closing


Bringing unstaged changes from master into current branch

I switched from master to a branch with gl switch other-branch, but forgot to pass the -mo flag. Now I am in other-branch with a clean directory.
Can I bring in the unstaged changes from master into other-branch?
Do I have to switch back and forth and pass the -mo flag, or is there an simpler command?
It seems that mixing gl and git might not be the best idea when branching (for those used to git).

You need to switch back to master and then switch to other-branch with the -mo flag. I'd rather avoid adding a flag (or simpler command) for applying uncommitted changes from a branch onto the current one. It seems unnecessary since switching back and forth is not too bad.


Adding SUSE and openSUSE

What about adding SUSE and openSUSE EOL dates to endoflife.date?
I'm not quite familiar with our underlying ecosystem. I guess we're parsing official APIs and Websites to collect all the data. Unfortunately, I didn't find an official page for openSUSE, but I did for SUSE: https://www.suse.com/lifecycle/
At https://en.opensuse.org/Lifetime#Discontinued_distributions, there is a list of distributions those lifetime has already ended.
I did not find anything for current versions of openSUSE, though.

At https://en.opensuse.org/Lifetime#openSUSE_Leap, there are also current versions and their lifetime listed in plain text.
https://en.opensuse.org/Lifetime does not seem to be invariable, though. Whatever we implement, there should be an exception and warning technique if the website changes.

Thanks for the suggestion 👍🏽. There's not much automation (I have a few pages I watch for changes, but it's not public).
There's usually a PR filed after a new release: https://github.com/endoflife-date/endoflife.date/issues?q=label%3Arelease-updates+is%3Aclosed or if upstream changes their policy.
If you'd like to take this up, you can create a new page by following the guide here: https://github.com/endoflife-date/endoflife.date/blob/b2a4e9181caccfd3a46d0ee2a3aa43307d4cea86/CONTRIBUTING.md

I am currently creating the page

Question: What should I write into eol and support when the date only consists of month and year? There is no day specified for the EOL date for current openSUSE Leap.

Both PR created and merged. Thank you for your effort!
We <3 Open Source!


Field formatting is not working on [Mixed Time-Series] chart type

Field formatting is not working on [Mixed Time-Series] chart type.
How to reproduce the bug

Create a [Mixed Time-Series] chart;
Add any metric;
Try to format this metric.

Expected results ✅

Table Chart

Time Series Bar Chart

Actual results ❌

Mixed Time-Series

Environment

browser type and version: Chrome (Version 104.0.5112.101)
superset version: superset version 2.0.0
any feature flags active:

ENABLE_TEMPLATE_PROCESSING

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Helm Chart;

similar issue with #23161

Working as expected please recheck it and close the issue

It does sound like this is working as expected (the control is for the axis, not the data points). If there's still a current bug in supported versions (3.x) please open a fresh issue with updated context and a reproducible example. Otherwise, if you're looking to support more/better ways to format data points, we're open to reviewing a PR! Thanks!


Process backface lighting properly

When light source looks on back face of Face model, shadows are processed improperly because there's no difference between back and front pixels distance from the light source.

Hack gl_FragDepth
gl_FragDepth hacking depending on gl_FrontFacing doesn't work, because depth test looks at gl_FragDepth and places it to appropriate layer (the highest to the viewport).

Use new texture
Separate texture can be used to store each pixel gl_FrontFacing state during shadow map creation procedure and read during final scene rendering.

Solution: as long as shadow map camera position is the light vector, which is multiplied by fragment normal vector, if it sees back side of a fragment, this means that cosine of angle between normal and light vector is negative so dot product is.
When the dot product of normal and light vector of a vertex is negative, the vertex is shaded as long as only one light source exists.


Update to 0.18.3 for core v1.0.0-rc.1

Coverage remained the same at 93.21% when pulling dbc61cee2a698a194a800dbc74928c89748e1a77 on qvantor:update into 61cb5312b9af7eb3f4f3a9c58c194d02532aec75 on exonum:master.


Linux build

What issue(s) does this PR address? Describe and add issue numbers, if applicable.
Link issue(s) here:
#314, #315
What tests have been done? Upload any model input files created for testing in a zip file, if possible.
What tests/review still need to be done? Who can do it, and by when is it needed (ideally)?
Check which is true. This PR requires:

[x] no further changes to r4ss
[x] no further changes to the manual
[x] no further changes to SSI (the SS3 GUI)
[x] no further changes to the stock synthesis change log (new features, bug reports)

Describe any changes in r4ss/SS3 manual/SSI/change log that are needed (if not checked):
Additional information (optional):

Oops, meant to submit this pull request to the branch 314-linux-build-script...
Will close and resubmit.


Add color example in Readme

addresses #45

Thank you for the corrections, I am also not a native speaker obviously :)


Build failure: retroarchFull

Steps To Reproduce
Steps to reproduce the behavior:

build retroarchFull

Build log
building '/nix/store/ar1wjy3y3436zd55mcq2n7vk42j17pfs-source.drv'...

trying https://github.com/libretro/RetroArch/archive/v1.15.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 46.9M    0 46.9M    0     0   849k      0 --:--:--  0:00:56 --:--:-- 1434k
unpacking source archive /tmp/nix-build-source.drv-0/v1.15.0.tar.gz
hash mismatch in fixed-output derivation '/nix/store/hjg6fnsy6ai9gba3ibl8c5m54fl41gbm-source':
  wanted: sha256:1dsrc39dxsvvargjxda0zswyx3fgwhrq0sxfy66a2anzkpg934wh
  got:    sha256:1ii31mc7wfd386rzyxqk8nmx5a13f9iqz47991z4zx0d8gqcchzg
cannot build derivation '/nix/store/6787g6bggy6hjr97zhkaj0a4d6v1hf92-retroarch-bare-1.15.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k592lwk13r4m6c3k2d4l2b967bk3im7s-retroarch-bare-1.15.0.drv': 1 dependencies couldn't be built
building '/nix/store/arbhcmkx3jw8ar0xvw74p1zc1w748mrs-source.drv'...
cannot build derivation '/nix/store/7kcvg8ipnn98brm60pyypbhh1dhsrm7c-retroarch-with-cores-1.15.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7kcvg8ipnn98brm60pyypbhh1dhsrm7c-retroarch-with-cores-1.15.0.drv' failed

Additional context
The hash at https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/applications/emulators/retroarch/default.nix#L60 does not match what is downloaded. Does anyone have the previous download of v1.15.0 available, so we can see what was changed?
Notify maintainers
@matthewbauer @aanderse @edwtjo @MP2E @thiagokokada @kolbycrouch
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/jlx0nh7j7lfsi1sfjlvsp7f0bfjgnnaf-nix-info
copying path '/nix/store/jlx0nh7j7lfsi1sfjlvsp7f0bfjgnnaf-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.0-23-amd64, Debian GNU/Linux, 11 (bullseye), nobuild`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixpkgs-23.05.4065.3b79cc4bcd9c, nixos-23.05-23.05.4065.3b79cc4bcd9c"`
 - nixpkgs: `/nix/store/7nxyk1qxrsgc84pqxyb6xmlrillay4nh-nixpkgs-23.05.4065.3b79cc4bcd9c/nixpkgs`

can't reproduce

https://github.com/NixOS/nixpkgs/issues/259488


Adjust quickstart to data validators

Describe changes
I fixed the quickstart by correctly using the new data validator stack components.
Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] If I have added an integration, I have updated the integrations table and the corresponding website section.
[ ] I have added tests to cover my changes.

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

not ready for review yet, just pre-tagging ;)


Preroll fails on Android stock browser

I am unable to play IMA ads on Android stock browser and Chrome < v53. Eg Samsung Galaxy S6 fails to play ads and also the play button fails to play the video when tapped. Chrome v58 on Samsung Galaxy S6 plays the video and ads without issue.
If I do not initialise IMA the video plays fine.This issue can be seen in the demo:
https://googleads.github.io/videojs-ima/examples/autoplay/
Anyone know how to get these browsers to play the ads and video?

Do you have any browser logs that you can share with us? Thanks!

Thanks for checking @shawnbuso!
Here's the log from a Samsung S6 Edge / Android 6.0.1 / SM-G925F with useragent Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G925F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.4 Chrome/51.0.2704.106 Mobile Safari/537.36
The error displayed occurs on startup. When tapping the play button, nothing occurs and no errors are logged.
Could you please post the useragent of your test device?

Hmm are you trying to autoplay the ad and content? If so you'll need to make sure it's muted or the browser will stop it form playing. If it's click to play, make sure your call to play() is a direct result of a user action, like a click or tap.
My test device UA is Mozilla/5.0 (Linux; Android 4.4.2; en-us; SAMSUNG SPH-L720 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.5 Chrome/28.0.1500.94 Mobile Safari/537.36

So yes, the demo is autoplay and muted and it's using the big play button to play.
While autoplay is preferred, we just cannot get Samsung devices with the SamsungBrowser to play ads even when autoplay is disabled. We've also found other devices such as the LG G4 and HTC One M9 exhibit the same behaviour. The HTC has UA of Mozilla/5.0 (Linux; Android 6.0; HTC One M9 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.94 Mobile Safari/537.36
We had found that Chromium browsers < v53 failed and v53 and up worked, but with yours being v28 and working our assumptions there cannot be correct.
Can you think of anything else that we've missed?

Now I'm a bit confused - is it autoplay, or is it click-to-play on the big play button? Can you share your test page with me, or are you using one of ours?

It is autoplay - it just doesn’t autoplay for these devices with that error above. After that error tap to play doesn’t work.
It can be seen in the demo link above.

Aha ok, I was only testing click to play. In that case the issue is just that mobile autoplay is not supported on the browsers on which you're testing - Chrome didn't support it until v53, which you noticed, and I don't think the native browsers ever officially had support for it. We're still working on making fallback to click-to-play work. In the meantime we suggest as a workaround that you use the UA to check the browser version, and only autoplay if it's v53+.


WIP: client state machine interface

From @m1sterc001guy in dev call: We currently just fail on db failure. SQLite will fail on parallelism. It's difficult to use client in parallel setting. We can re-apply histories of state machines ...

New attempt at #1621


Remove Default + Clone from States implemententations

Refactor struct implementations to remove the requirement of implementing Default and Clone traits for generics that implement either State or StateReader

Codecov Report

Merging #526 (4774aaf) into main (4032026) will decrease coverage by 0.13%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##             main     #526      +/-   ##
==========================================
- Coverage   86.96%   86.84%   -0.13%
==========================================
  Files          53       53
  Lines        9976     9889      -87
==========================================
- Hits         8676     8588      -88
- Misses       1300     1301       +1

Impacted Files
Coverage Δ

...rc/core/syscalls/business_logic_syscall_handler.rs
9.16% <ø> (ø)

...calls/deprecated_business_logic_syscall_handler.rs
91.63% <ø> (ø)

src/core/syscalls/deprecated_syscall_handler.rs
98.96% <ø> (ø)

src/core/syscalls/syscall_handler.rs
42.42% <ø> (ø)

...usiness_logic/transaction/objects/v2/declare_v2.rs
48.93% <25.00%> (+0.61%)
:arrow_up:

.../business_logic/execution/execution_entry_point.rs
95.84% <100.00%> (ø)

...usiness_logic/fact_state/in_memory_state_reader.rs
93.24% <100.00%> (ø)

src/business_logic/fact_state/state.rs
100.00% <100.00%> (ø)

src/business_logic/state/cached_state.rs
94.00% <100.00%> (-0.11%)
:arrow_down:

src/business_logic/state/state_cache.rs
95.56% <100.00%> (-3.10%)
:arrow_down:

... and 7 more


Spawning bugs

Sometimes in different rooms not all 4 fastFillers get spawned. It could happen that a few thousand ticks one fastFiller is missing, but it recovers by itself and spawning it again.
After some days in different rooms the haulerNeed "explode" and overspawn them. After a memory reset it is fine again, but the problem happens again.
Sometimes it spawns 2 remoteHarvesters with maximum size. At other sources the bot works correct and spawn only 1 harvester.

Please make each one a task:
- [ ] task name

Or make a separate issue for each


Use last vrf output hex digest to compare blocks

fix block selection implementation (https://github.com/Granola-Team/mina-indexer/issues/466)

Needs rebase. On it.


Use correct rule and make it an error

This PR fixes prettier rule declaration and makes it an error :)

LGTM


email field is required

updated email field to be required.

Thanks @myilm, other files from .vs folder got committed, as you can see in this pull request. Please remove them :)

Done. Let me know if it's good :)

Perfect @myilm, thanks a lot!
Shipping it! 🚀


Explicitly list individual NuGet dependencies

This replaces the "NETStandard.Library" reference with individual references to the libraries that are actually used from the standard library. This gives people who are consuming the package the freedom to be more granular about their dependencies.

That looks much more sensible than what I had thanks!
While I have your attention, could you please do me a favour and have a look at this issue #408 if you have a moment. Got a bit of a fundamental API design issue I need to fix.


Added the feature to auto comment on pull request being raised

Pull Request for WebMasterLog 💡
Issue Title: Auto commenting feature for new PR raised

Name of the project : Feature to auto comment on pull request being raised
Category: Documentation
Name: Suhani Singh Paliwal
GitHub ID: suhanipaliwal
Idenitfy yourself: GSSOC Contributor

Closes: #180
Describe the add-ons or changes you've made 📃
I have added auto-comment-pr-raise.yml in the .github/workflows directory which will add the feature to auto comment on pull request being raised
Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Screenshots 📷

Note to reviewers 📄

@suhanipaliwal PR Approved 🎉


Is it working with window.open ?

Hi !
Your lib seems to be really cool but I want to know if it work with a window.open created window or if it just work with iframes ?
Thanks :)

I think it's designed to work with only iFrames, but with a little bit of work, it can easily support opening windows as well. Would you care to take a stab at it and send a PR?

Yes with pleasure

@LeaklessGfy thanks! This ticket is being closed b/c of inactivity. Perhaps it will be covered here.


Support postsubmit_properties in .ci.yaml targets

The postsubmit_properties entry is supported in the ci.yaml, and also mentioned in the CI_YAM.md doc. However, real supporting backend logic is missing. This has caused confusion.
The logic should be supported in both Cocoon scheduling and the infra ci yaml roller logic.
Context: https://github.com/flutter/engine/pull/40260

If postsubmit_properties still requires some implementation work, what would actually be more helpful to maybe do at the same time is to support a presubmit_properties. (That's what the LTO case actually needs.)

For context, enabling LTO for release desktop builds is sort-of blocked on this. Sort-of only because this change along with removing hardcoding of no-lto from the starlark would be the easiest way to test the changes by a wide margin.

cc @cbracken


Cannot load stash tabs for 2 days - debug error

[03-04-2016 11:33] Error downloading stash for Standard, exception details: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)
at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName)
at POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)
at POEApi.Model.POEModel.GetStash(Int32 index, String league, String accountName, Boolean forceRefresh)
at POEApi.Model.POEModel.getAllTabs(String league, String accountName, Stash stash)
at POEApi.Model.POEModel.GetStash(String league, String accountName)
[03-04-2016 11:33] System.Exception: Downloading stash for Standard, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues and include your DebugInfo.log
at POEApi.Model.POEModel.GetStash(String league, String accountName)
at Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)
at Procurement.ViewModel.LoginWindowViewModel.d__25.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass24_0.<Login>b__0()    at System.Threading.Tasks.Task.Execute() [03-04-2016 17:15] POEApi.Infrastructure.LogonFailedException: Incorrect session id    at POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password, Boolean useSessionID)    at POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, Boolean useSessionID)    at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass24_0.<Login>b__0()    at System.Threading.Tasks.Task.Execute() [03-04-2016 17:18] Error downloading stash for Standard, exception details: System.Net.WebException: The operation has timed out    at System.Net.HttpWebRequest.GetResponse()    at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)    at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName)    at POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)    at POEApi.Model.POEModel.GetStash(Int32 index, String league, String accountName, Boolean forceRefresh)    at POEApi.Model.POEModel.getAllTabs(String league, String accountName, Stash stash)    at POEApi.Model.POEModel.GetStash(String league, String accountName) [03-04-2016 17:18] System.Exception: Downloading stash for Standard, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues and include your DebugInfo.log    at POEApi.Model.POEModel.GetStash(String league, String accountName)    at Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)    at Procurement.ViewModel.LoginWindowViewModel.<LoadItems>d__25.MoveNext()    at System.Collections.Generic.List1..ctor(IEnumerable1 collection)    at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass24_0.b__0()
at System.Threading.Tasks.Task.Execute()
[03-04-2016 18:07] Error downloading stash for Perandus, exception details: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)
at POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, String accountName)
at POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, String accountName, Boolean refresh)
at POEApi.Model.POEModel.GetStash(Int32 index, String league, String accountName, Boolean forceRefresh)
at POEApi.Model.POEModel.getAllTabs(String league, String accountName, Stash stash)
at POEApi.Model.POEModel.GetStash(String league, String accountName)
[03-04-2016 18:07] System.Exception: Downloading stash for Perandus, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues and include your DebugInfo.log
at POEApi.Model.POEModel.GetStash(String league, String accountName)
at Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)
at Procurement.ViewModel.LoginWindowViewModel.d__25.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass24_0.b__0()
at System.Threading.Tasks.Task.Execute()

Procurement 1.9.9 has been released, please retest and reopen your issue if your error persists:
https://github.com/Stickymaddness/Procurement/releases/tag/1.9.9


SC 0.8.0 cannot find ghdl

I cannot run build.py in the microwatt example because SiliconCompiler 0.8.0 cannot find ghdl module.
| INFO    | job0  | import  | 0  | Copying /home/jarvis/siliconcompiler/third_party/designs/microwatt/fpga/top-generic.vhdl to 'inputs' directory
| INFO    | job0  | import  | 0  | Copying /home/jarvis/siliconcompiler/third_party/designs/microwatt/dmi_dtm_dummy.vhdl to 'inputs' directory
| ERROR   | job0  | import  | 0  | Executable ghdl not found
| ERROR   | job0  | import  | 0  | Halting step 'import' index '0' due to errors.
Traceback (most recent call last):
File "build.py", line 81, in
main()
File "build.py", line 78, in main
chip.run()
File "/home/jarvis/siliconcompiler/siliconcompiler/core.py", line 4215, in run
raise SiliconCompilerError('Run() failed, see previous errors.')
siliconcompiler.core.SiliconCompilerError: Run() failed, see previous errors.
SC version
:~/siliconcompiler$ sc -version
0.8.0

SC isn't having trouble finding the ghdl.py module, that error indicates that you don't have the ghdl executable installed (or it's not on your PATH).
This script may be helpful for building ghdl from source if you're running Ubuntu: https://github.com/siliconcompiler/siliconcompiler/blob/main/setup/install-ghdl.sh. Otherwise, take a look at their docs for instructions: https://github.com/ghdl/ghdl#getting-ghdl.

Thank you @nmoroze for your help.  I apologize for not noticing that the SiliconCompiler build includes setup scripts for all of the third-party tools.


compiling v1.1.4 fails (Linux)

compiling v1.1.4 fails on my Linux :
$ make -j1
dotnet publish Sapling/Sapling.csproj -c Release --runtime linux-x64 --self-contained \
        -p:PublishSingleFile=true -p:DeterministicBuild=true -o ./
  Determining projects to restore...
  Restored /home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj (in 598 ms).
  Restored /home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj (in 598 ms).
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(15,23): warning CS8618: Non-nullable field 'Name' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(16,23): warning CS8618: Non-nullable field 'Type' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(17,23): warning CS8618: Non-nullable field 'DefaultValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(18,23): warning CS8618: Non-nullable field 'MinValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(19,23): warning CS8618: Non-nullable field 'MaxValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Tuning/SpsaOptions.cs(20,26): warning CS8618: Non-nullable field 'FieldHandle' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Evaluation/NnueWeights.cs(45,20): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/RepetitionDetector.cs(92,26): warning CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '0' is not covered. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/Sapling.Engine.csproj]
  Sapling.Engine -> /home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/bin/Release/net8.0/Sapling.Engine.dll
  Successfully created package '/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/bin/Release/SaplingEngine.1.1.0.nupkg'.
  Successfully created package '/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling.Engine/bin/Release/SaplingEngine.1.1.0.symbols.nupkg'.
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/UciEngine.cs(29,23): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Program.cs(20,34): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
  Sapling -> /home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/bin/Release/net8.0/linux-x64/Sapling.dll
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018: The "GenerateBundle" task failed unexpectedly. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018: System.UnauthorizedAccessException: Access to the path '/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling' is denied. [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:  ---> System.IO.IOException: Permission denied [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    --- End of inner exception stack trace --- [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.NET.HostModel.Bundle.Bundler.GenerateBundle(IReadOnlyList`1 fileSpecs) [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateBundle.ExecuteCore() [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
/home/roelof/dotnet8/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1038,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/roelof/Compiled/Sapling-main-v1.1.4/Sapling/Sapling.csproj]
make: *** [Makefile:42: publish] Error 1

i often have trouble compiling dotnet / C# programs .. previous v1.1.3 went well (except a few warnings) but now i can't solve it ..

Thanks for notifying me! I was working on the SPSA tuning and it required some changes to the make file, I've not tested them on linux yet so will try tomorrow and see if I can fix it.
For now the old make file should still work.
https://github.com/Timmoth/Sapling/blob/e5d642ea59d65de565dd4823ed1e7ac13d721137/Makefile

I've added a new set of build scripts, would you be able to pull down the source and run ./scripts/build_linux_avx256.sh and let me know if it works for you?

..run ./scripts/build_linux_avx256.sh and let me know if it works for you?

first, the folder is named 'Scripts', with a capital 'S', which is important on Linux, so i changed that .. second, it seems you aim 'avx256' but i only can do avx2, so i hope this doesn't spoil anything .. anyhow, after setting executable rights to the .sh file, i executed your command, but :
$ ./Scripts/build_linux_avx256.sh
MSBUILD : error MSB1009: Project file does not exist.
Switch: ../src/Sapling/Sapling.csproj

I tried to solve this quickly, but i didn't succeed yet .. also, be aware Linux uses '/' in paths, not '\' like Windows does .. is it important in this case ?

It does work for me on ubuntu. I think the problem is that you're trying to execute the script from the root dir, try:
cd ./Scripts
./build_linux_avx256.sh

..the problem is that you're trying to execute the script from the root dir..

indeed, now compiling succeeded :
(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/Sapling-v1.1.8/Scripts$ ./build_linux_avx256.sh
  Determining projects to restore...
  Restored /home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Sapling.csproj (in 501 ms).
  Restored /home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj (in 501 ms).
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(7,23): warning CS8618: Non-nullable field 'Name' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(8,23): warning CS8618: Non-nullable field 'Type' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(9,23): warning CS8618: Non-nullable field 'DefaultValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(10,23): warning CS8618: Non-nullable field 'MinValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(11,23): warning CS8618: Non-nullable field 'MaxValue' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Tuning/SpsaOptions.cs(12,26): warning CS8618: Non-nullable field 'FieldHandle' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Evaluation/NnueWeights.cs(56,20): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/RepetitionDetector.cs(63,26): warning CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '0' is not covered. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/Sapling.Engine.csproj]
  Sapling.Engine -> /home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/bin/Release/net8.0/Sapling.Engine.dll
  Successfully created package '/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/bin/Release/SaplingEngine.1.1.0.nupkg'.
  Successfully created package '/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling.Engine/bin/Release/SaplingEngine.1.1.0.symbols.nupkg'.
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/UciEngine.cs(31,23): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Sapling.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Program.cs(34,34): warning CS8602: Dereference of a possibly null reference. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Sapling.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Program.cs(23,31): warning CS8618: Non-nullable field '_fileStream' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Sapling.csproj]
/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Program.cs(24,33): warning CS8618: Non-nullable field '_logWriter' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/Sapling.csproj]
  Sapling -> /home/roelof/Compiled/Sapling-v1.1.8/src/Sapling/bin/Release/net8.0/linux-x64/Sapling.dll
  Sapling -> /home/roelof/Compiled/Sapling-v1.1.8/Scripts/
  Attempting to rename executable file from /home/roelof/Compiled/Sapling-v1.1.8/Scripts//Sapling to /home/roelof/Compiled/Sapling-v1.1.8/Scripts//Sapling_linux_avx256

(base) roelof@roelof-HP-Elite-x2-1012-G2:~/Compiled/Sapling-v1.1.8/Scripts$ ./Sapling_linux_avx256
uci
id name Sapling 1-1-8
id author Tim Jones
option name Threads type spin default 1 min 1 max 1024
option name Ponder type check default false
option name Hash type spin default 319 min 32 max 2046
uciok

NOTE: i got warnings, but no errors

All of those warnings are benign, though I will go through and sort them!