compatibility/gradle plugin 1.3.1

So why plugin version at least 1.5.0 is needed? and how it can be integrated with 1.3.1 version

The idea behind the 1.5 support was the transformer api, but this api isn´t needed right now. What is the problem for you not to update from 1.3.1 to 2.12?

currently I'm working on that but there is a lot of stuff to handle) for now, is there any way to integrate with 1.3.1? thanks.

Im uploading version 0.0.2-alpha24 right now. This version doesn´t check for the gradle version.

Thanks a lot :) I hope this will reduce inflation latency dramatically)

@FabianTerhorst should I wait for release tag 0.0.2-alpha24?

you can already use classpath 'io.fabianterhorst:fastlayout-gradle-plugin:0.0.1-alpha24'

ok, thanks.

@FabianTerhorst  So, I have declared my layouts like this
 @Layouts(layouts = {"layout_bla",
		"layout_bla_bla"
})
public class AppLayouts {

	//@Layout("layout_bla");
	ILayout layoutBla;
} ```
I can't find LayoutCache or something...
so how I get the layout?

The fields are not needed anymore since it supports the R.java file.
@Layouts(ids = {R.layout.actiivty_main}
)
public class AppLayouts {
}

I tried, in that case getting Attribute value must be constant syntax error

When you got some errors in your layout file open a issue with the generated file and your layout xml. Some attributes aren´t supported right now.

the layout is simple as this,

<android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/vertical_recycler_explore"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v7.widget.RecyclerView>
and getting AppLayouts.java:10: error: element value must be a constant expression

The annotation processor is generating a file. This is stored inside your build folder build/generated/source/apt/dev/debug/.../..Layout.java. This file contains the whole error.

@FabianTerhorst  the reason was the library project, as one can't threat lib's R as constant value, anyway, I declared the layout, so how I'm getting the instance of that layout? :)

The file with the @Layouts annotation needs to be in the same module like the layout files. Im generating  a object for every layout. For example activity_main is generating a object ActivityMainLayout. This can be used with new AcitivityMainLayout(context);

Will something like this hack work? If yes what will generated class name?
@Layouts(ids = {AppLayout.activity_main})
public class AppLayout {
	public static final int activity_main = R.layout.activity_main;

}

When this is building without any error. There should be a object named ActivityMainLayout.

but its doing the same like @Layouts(ids = {R.layout.activty_main}
)
public class AppLayouts {
}

that is invalid in library project, as R class declarations in library project are  public static int, and your annotation processor needs final's

also this warning is generated
warning: Unclosed files for the types '[dummy1465314602000]'; these types will not undergo annotation processing

the R.java values are always public final, because there are constrants. The warning is normal.

it's compile time error :) you can check it in library module example)

Im using this in many apps. What android studio version are you using?

I think you don't get me right, try declaring AppLayout in library module, and annotating layout resource from layout folder of that same library module, then you will get compile error like this
AppLayout.java:8: error: element value must be a constant expression
@Layouts(ids = {R.layout.activity_main_2})
                        ^
1 error

from main app module it works fine.
my studio version 2.1.1

http://tools.android.com/tips/non-constant-fields

On library projects @Layouts(layouts = {"activity_main"}) should work.

its generating the ActivityMainLayout class

the ids can´t work on library projects.

I was going to ask if string attributes will work ))) ok will try it

I can see it generated in build dir, but can't import it, any ideas why? strange)

you have to look at the package name on top of the file

its in the same location like your AppLayouts file.

exactly, but is invisible for usage

have you tried to just add it into the code and press build. Even when its marked as an error.

you can also try to clean and rebuild the project.

yeah, tried, compile error with cannot find symbol  (on generated class name)

I have also tried it now in a Library project. And its working.

Yeah it should, as classes are generated properly, will have a close look on this, thanks for support!

ok, it worked, in sample app the issue was with clean project task, app's clean wasn't cleaning library project's build directory.

@FabianTerhorst is somehow resource directory hardcoded? as it keeps trying to lookup for layout in directory /src/main/res/layout/, but for example source set is modified with gradle config eg /res/layout/ ,so getting Error:/src/main/res/layout/main_activity.xml (No such file or directory)

I think it can be inited with static call via client, for custom res directory, and by simple check if not set, use the default :)

i don´t think this is needed until the stable release, but im open for prs.


Problems loading some fonts (e.g. Google fonts)

Loading some fonts, in this case tested with the Google fonts Roboto and Noto Sans, is not possible with the package. This is due to problems in the fontnameinfo.tcl file, which is unable to parse the required information from the font files.
Additional complications arise with these fonts as they are split into multiple separate files. Loading the fonts with extrafont::core::load works just fine, but only one weight can be loaded at the same time. This can be avoided by merging the different files into a single file using fonttools.
If fonttools is already added as a dependency to make the package work with many different fonts, a rewrite of the Tcl files into Python seems appropriate to make the package more maintainable.

Hi!

a rewrite of the Tcl files into Python seems appropriate to make the package more maintainable.

In tukaan I use the extrafont package, and there I rewrote the Tcl files into Python, which actually wasn't a big deal, and made the package indeed much more maintainable.
I experimented a bit with Google fonts and found the problem with their name info. Actually this problem is Unix-specific, tho I haven't tried if Google fonts work on Windows with it.
Normal font files contain name records both in a human-readable encoding, and in UTF 16 BigEndian, for Windows. The problem is that these Google fonts store records in the name table only in utf16be encoding, but extrafont reads utf16be records only on Windows platform.
https://github.com/TkinterEP/python-tkextrafont/blob/bbbfb0a246fb16de0d7c224f1c592af6cbfc072d/tkextrafont/fontnameinfo.tcl#L209-L213
So if you remove the triplet and platform checking stuff from fontnameinfo.tcl, it works just fine with Google fonts too.

Hey!
That is super cool, thank you for letting me know you looked into this! If you are okay with it, I might at some point back-port your changes to this repository, for the sake of the tkextrafont package.
For now I am regularly looking at your progress on tukaan, which is a much more radical approach to what I tried to accomplish with TkinterEP, but it looks really promising. Unfortunately I have very little time for hobby-programming at the moment, but I am eager to see what you create.


input_select state briefly 'unknown' on startup when state restored

Home Assistant release with the issue:

0.74.1
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu 18.04
Component/platform:

https://www.home-assistant.io/components/input_select/
https://www.home-assistant.io/components/recorder/#restore-state
Description of problem:
The state of various input_select entities returns unknown to templates on startup. I'd expect them to load immediately.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
input_select:
  washing_machine_status:
    name: Washing Machine Status
    options:
        - Idle
        - Running
        - Finishing
        - Clean

sensor:
  - platform: template
    sensors:
        washing_machine_status:
          value_template: '{{ states.input_select.washing_machine_status.state }}'
          friendly_name: 'Status'

Additional information:
History for input_select:
2018-08-02 @ 20:50:07 -- Clean | {"options": ["Idle", "Running", "Finishing", "Clean"], "friendly_name": "Washing Machine Status"}
2018-08-02 @ 21:05:45 -- Clean | {"options": ["Idle", "Running", "Finishing", "Clean"], "friendly_name": "Washing Machine Status"}
2018-08-02 @ 21:13:53 -- Clean | {"options": ["Idle", "Running", "Finishing", "Clean"], "friendly_name": "Washing Machine Status"}

History for template sensor:
2018-08-02 @ 20:50:07 -- Clean | {"friendly_name": "Status", "icon": "mdi:washing-machine"}
2018-08-02 @ 21:05:41 -- unknown | {"friendly_name": "Status", "icon": "mdi:washing-machine"}
2018-08-02 @ 21:05:56 -- Clean | {"friendly_name": "Status", "icon": "mdi:washing-machine"}
2018-08-02 @ 21:13:47 -- unknown | {"friendly_name": "Status", "icon": "mdi:washing-machine"}
2018-08-02 @ 21:14:03 -- Clean | {"friendly_name": "Status", "icon": "mdi:washing-machine"}

It is by design.
There was a thorough discussion how and when to restore state. See https://github.com/home-assistant/home-assistant/pull/4614#issuecomment-277940056 if you have interest.
Closed this issue as won't fix.


remove m_vReportedSize set for xwayland

Describe your PR, what does it fix/add?
Fixes https://github.com/hyprwm/Hyprland/issues/2661#issuecomment-1872569582
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
nope
Is it ready for merging, or does it need work?
ready

Steam pop-ups open themselves at size 0,0 for some reason before they request unmanagedSetGeometry, so setting m_vReportedSize like that would cause the surface to prematurely render at size 0,0 if the timing is off.
so setting m_vPendingReportedSize directly lets us actually wait for the pong before rendering the surface.

okay but that's before and we apply .goalv() which should have the value requested in the event struct?

yes, with the minsize 1 1 window rule it requests size (5, 5) first, and then the correct size afterwards (something like (100, 150))

why would this fix it then?

The surface would have no size until the pong is received


Error 400 on a simple project

I'm newly learning Serverpod version 0.9.21 as my backend, first I changed the Client address from http://localhost:8080/ to http://<IP_ADDRESS>:8080/ so the SocketException error had gone on the emulator and now the sample app (say hello) works correctly. The Problem is my code faces Error 400 with no errorMessage, Also I've added the tables and checked the database, and everything looks fine.
After creating the project, I added Province Protocol inside the test_server package:
class: Province
table: province
fields:
  name: String
  isEnabled: bool

Then added the province_endpoint:
import 'package:serverpod/serverpod.dart';
import '../generated/protocol.dart';

class ProvinceEndpoint extends Endpoint {
  Future<bool> addProvince(Session session, Province province) async {
    await Province.insert(session, province);
    return true;
  }
}

Then run serverpod generate and start the docker and the server as tutorials are mentioning.
And finally the test_flutter main.dart:
import 'package:back_client/back_client.dart';
import 'package:flutter/material.dart';
import 'package:serverpod_flutter/serverpod_flutter.dart';

var client = Client('http://<IP_ADDRESS>:8080/')
  ..connectivityMonitor = FlutterConnectivityMonitor();

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  final _nameController = TextEditingController(text: "name1");
  String result = "here";

  addProvince() async {
    final province = Province(name: _nameController.text, isEnabled: true);
    client.province.addProvince(province).then((value) {
      if (value) {
        setState(() {
          result = "Done adding ${_nameController.text} province";
        });
      } else {
        result = "Nashod!";
      }
    }).catchError((onError) {
      final error = (onError is ServerpodClientException)
          ? "${onError.message} ${onError.statusCode}"
          : "Error ";
      setState(() {
        result = error;
      });
    }).whenComplete(() {
      print("done");
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Column(
        children: [
          TextField(
            controller: _nameController,
          ),
          Text(
            result,
            style: Theme.of(context).textTheme.headline3,
          )
        ],
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: addProvinces,
        child: const Icon(Icons.add),
      ),
    );
  }
}

As I've mentioned before, I get error 400 on calling client.province.addProvince, what is my dummy mistake?

@alizera Can you please provide your yourapp_server/config/development.yaml? Incase you change the client, then it must be changed in the server config too.

@yahu1031 I didn't change anything else:
# Configuration for the main API server.
apiServer:
  port: 8080
  publicHost: localhost
  publicPort: 8080
  publicScheme: http

# Configuration for the Insights server.
insightsServer:
  port: 8081
  publicHost: localhost
  publicPort: 8081
  publicScheme: http

# Configuration for the web server.
webServer:
  port: 8082
  publicHost: localhost
  publicPort: 8082
  publicScheme: http

# This is the database setup for your server.
database:
  host: localhost
  port: 8090
  name: hlafit
  user: postgres

# This is the setup for Redis.
redis:
  enabled: false
  host: localhost
  port: 8091

import 'package:serverpod/serverpod.dart';
import '../generated/protocol.dart';

class ProvinceEndpoint extends Endpoint {
  Future<bool> addProvince(Session session, Province province) async {
    try {
      session.log('Inserting data');
      await Province.insert(session, province);
      return true;
    } catch (e, s) {
      session.log('Error while adding province', exception: e, stackTrace: s);
      return false;
    }
  }
}

Try this once @alizera

@yahu1031 Wowwww!!!!!
It worked properly now!
What is changed in your code? Only added try/catch and some logs (that are useless). Why does adding try/catch makes it work properly?

@alizera Actually it didn't make anything.  If it does, then check out why. Anyhow, Glad it worked.

it gave me this error. Restart the serverpod server worked for me

@alizera @hortigado So this happens due to the server doesn't get the latest changes even though you have the code. For this, we need to restart the server. So that the latest changes will get affected in the server and need either hot-restart/restart to the Flutter app too. This will actually fix the 400 status code issue.


🇩🇪 Improve German localisation

I’ve used German to test localisation features. Having used an online translation tool, likelihood is the translations are with bobbins, or at the very least could be improved.

Hi, I would like to work on this :)

Hi, thanks. The locale files can be found here:
* https://github.com/getindiekit/indiekit/blob/main/packages/endpoint-media/locales/de.js

https://github.com/getindiekit/indiekit/blob/main/packages/endpoint-micropub/locales/de.js
https://github.com/getindiekit/indiekit/blob/main/packages/endpoint-share/locales/de.js
https://github.com/getindiekit/indiekit/blob/main/packages/indiekit/locales/de.js

If you replace de.js with en.js in the above files, you will see the English translations, if that helps.

Hi @paulrobertlloyd , I already opened a pull request with my changes, they should be gramatically correct.

🤦🏼♂


Use a constant URI scheme

I think the catalog-based approach that you're using is great, but I think using the artifact ID directly as the URI scheme is risky. It creates an unbounded number of different schemes, so it's impossible to tell from the URI what it is.
I think it would be better to have a fixed URI scheme (for example "mavenid") and encode the Maven information in the rest of the URI. For example,
  mavenid://artifactid/path/to/thing.xsl

I think you could even extend this to support groups and versions:
  mavenid://groupid:artifactid:version/path/to/thing.xsl

I don't remember the exact rules for the "authority" part of the URI, so a quick look at RFC 3986 is probably in order.
You could even pursue getting the 'mavenid' scheme (or whatever you call it) registered as an official scheme.

Thanks for your proposal.
RFC says :
authority   = [ userinfo "@" ] host [ ":" port ]

host is defined as
IP-literal / IPv4address / reg-name

groupIdshould be based on domain-name, as a java package name, so it should be mapped to reg-name.
port is defined as
port        = *DIGIT

Definitively, port can not be used to store artifactId.
So, we need to encode all artifact information (groupId, artifactId, version) in host part.
Do you know which RFC defines reg-name ? RFC1034 & 1035 ?

Having both groupId and the artefact ID in the uri is definitively a good idea, if this is widely used there should not be any ambiguity.
Using a constant uri schema is also quite a better alternativ than the original one, for sure.
Asking for my opinion always expose you to a lot of disgression from me ;)
I always need to check everything, something just ideas or thought. So this is a bit long and sometimes out of topic maybe, but please take the best and forget the rest!
About the uri scheme:

One could use the shorter "mvn" instead of maven (like the command line) ? mvnid://

Or something to do with "dependency" ?  mvndependency:// ?

mavenid:// sounds also good actualy, it is a "maven identification" uri

But I actualy like better the first proposal artefact://, just a feeling actually ... maybe more generic ?
Should this kind of uri be also used with other dependency tools like gradle ?

What about sticking with the well known http:// ? This has not to be resolved directly:

http:// is already used with xml namespace (it has nothing to do with http but it's an identifier uri too)
and with publicID of a DTD for example.

But well, if we use http://  we should then probably use something else in the host to distinguish "real" http uris: starting with http://artefact ? So maybe not a good idea.
The good thing is that one may be able to publish artefact on the web just like @fgeorges does (but it's no more maven way of doing? both is possible ?) or just documentation. This would gave the alternative for people that do not use maven to use published artefact as well... That's a big deal but I think this is not the point of this project.

About the groupId
Sticking with the original groupId is definitively the best thing to do.
On the other hand, maven .m2 directory is actually the path of the groupID : eu/els/sie/xsl
But that would make not much sens here I think.
About the delimiter
Just a questionn of taste: my preferences goes to "+" or "$"
One could also use / and another delimiter after // the artefactId:
eu.els.sie/xsl// ?
About the version
Let me understand ...
I guess Maven is able to deal with to version of the same groupId/artefactId, doesn't it?
But then a java programm is not able to load to different classes, as far as I understand ?
If Maven is ok with that, XML programms would also deal it with the help of the catalog.
That mean a pure xml project could use maven and multiple version dependency, as long as it's not mixed with java code (thinking about mixed artefact dependencies to classical java lib and new maven xml lib) ? Or multiple dependency would be reserved to xml project?
From a xml point of vue, I can quite easily imagine using 2 differents versions of a xml dependency in a big programm. That would actually be really usefull: one would then be able to switch independently each xslt (or xsd, etc.) to a special version. That's more safe.
We face this problem today at ELS: switching to a new version of a xsl lib oblige us to look at every piece of code. Which is quite a constraint, especialy when we use a maven parent pom to hold the dependency for every maven submodule.
One more argument is that deep dependencies (dependency of dependency of dependency) make sometimes difficult to only have a single version for a common lib. Maven can deal with that making choice for us, but it might lead to strange behaviours (like saxon says with multiple import of the same xsl;))?
It's a question of granularity: if we can add the version to the URI, every developper of a common project may use the appropriate version of the lib without disturbing other's work.
So I'm definitely in favour of giving the possibility to add the version within the uri.
Finaly
After all this (long) considerations, if I am to make a choice I would use:
<xsl:import href="artefactId://eu.els.sie.lib.xsl.common+xslLib$3.1.5/eflCommon.xsl"/>

Have a look at RFC 3986, uri is defined as this :
      URI         = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

      hier-part   = "//" authority path-abempty
                     / path-absolute
                     / path-rootless
                     / path-empty

So / can not be used as a delimiter. + & $ sounds good.
Now, letting user defining its own URI pattern is not good. I propose to have only three URI forms :

full : dependency://groupId+artifactId$version/path/to/resource
standard : dependency://groupId+artifactId/path/to/resource
compact : dependency://artifactId/path/to/resource

The default URI form being standard.
By default, plugin will only generate standard URI form catalog entries, but it could alse generate the two other forms, at once :
    <configuration>
      <uriPatterns>
        <uriPattern>full</uriPattern>
        <uriPattern>standard</uriPattern>
        <uriPattern>compact</uriPattern>
      </uriPatterns>
    </configuration>

Finally, a catalog has a lot of rewrite systems, so we could specify which generate :
    <configuration>
      <generates>
        <generate>public</generate>
        <generate>system</generate>
        <generate>rewriteSystem</generate>
        <generate>delegatePublic</generate>
        <generate>delegateSystem</generate>
        <generate>uri</generate>
        <generate>rewriteURI</generate>
        <generate>delegateURI</generate>
      </generates>
    </configuration>

If generates is not specified, it uses rewriteSystem and rewriteURI.
Thoughts ?

Well, since @mricaud proposed it, I'm going to second the idea. You could just use http(s):
 https://[yourhostnamehere]/groupId/artifactId/path/to/resource?version=version

I'm a little unclear on why there's ever any advantage in having the artifactId without its corresponding groupId. (And I don't feel strongly about making version a parameter, it's just an idea.)
An advantage of an https URI is that it can resolve and return useful information if someone clicks on it or types it into a browser.
I'd happily setup mvn.xmlresolver.org if you'd like.

We can't use http(s) for this, as there is no dedicated server to locate a dependency. From a client to another, you may have different settings, and those settings are used by maven to locate the dependency artifact.
So, I preferer use dependency://, which denotes exactly a dependency reference, but delegates dependency resolution to implementation ; I do use Maven, but one could use anything else.
Release 2.0.0-RC1 released.
Type mvn top.marchand.xml.maven.catalogBuilder-maven-plugin:help to see all configuration parameters. I'm gonna to update wiki ASAP.

Wiki has been updated.

There is nothing about the http(s) scheme that requires a server or runtime access. Nevertheless, it is often remarkably convenient that such access is possible by humans with browsers.
The name of this repo is maven-... so I think my assumption that was about Maven was justified :-), but if you want a more generic hostname, that's fine too. packages.xmlresolver.org?
Looking at the wiki, how confident are you that "+" and "$" can never appear in GroupId or ArtifactId values?
What's the motivation for the shortcut form that uses only artifactId? Given that these are generated, isn't it simpler and safer to always generate the long form? It seems to me that the short form is just a problem waiting to happen. Consider the first time someone wants to use 'someThing' artifact from two different groups?

@ndw :
I'm not confident that "+" and "$" will never appear. But, groupId must conform to a java package name, so I'm confident on groupId part.
On artifact part, when I search The Central Repository for artifact that contains a "+" or a "$", nothing's found.
So... I'm quite confident...
Could you be more precise with your idea on packages.xmlresolver.org ?

I think you are right, and I'm gonna remove the compact form in RC2

My idea for packages.xmlresolver.org is that you can use URIs of this form:
https://packages.xmlresolver.org/[what the spec says]

Those will work perfectly fine with the catalog resolver, no network access necessary.
But if someone wonders, "what is this thing?" and points a web browser at it, we can arrange for the site to return useful documentation about what it is, relevant pointers, etc.
I guess I'm volunteering to do that part. :-)

Solved in release > 2.00.00


Document what command "oc app create odo1" does

Document what command "oc app create odo1" does within the doc and enhance existing command to describe concretely what will happen
Output of the command issued explains that an application has been created. This concept is very abstract as we don't know what is physically created (openshift project, deploymentconfig, ...)
odo app create odo1
Creating application: odo1
Switched to application: odo1

# No openshift resources have been added
oc get all
No resources found.

# odo file has been created
cat ~/.kube/odo
activeApplications:
- active: true
  activeComponent: ""
  name: odo1
  project: odo

Feedback from @kadel
When you create an application using the command "odo app create odo1", it just saves the application name to the local config file nothing more under ~/.kube/odo. Application doesn't have any representations in the cluster. Once you create component in the application, the value from the odo config file is used to label the component with the application name so we know which component belongs to which application.
We use standard openshift app label to apply them to the deploymentConfig created including also the related resources such as service, route, ....  and also Kubernetes label app.kubernetes.io so potentially other tools can make use of it (https://docs.google.com/document/d/1EVy0wRJRm5nogkHl38fNKbFrhERmSL_CLNE4cxcsc_M/edit#heading=h.d4sq468sb5i)

Closing this since we don't have odo app create command


Fixes #245: Mention the option name when throwing on "no value"

Added a new exception type: option_has_no_value_exception; throwing it when an option has no value we can cast with as(), instead of an std::domain_error.
The OptionValue type now holds a pointer to the long option name (in its corresponding key within ParseResults's m_results field.
Adjusted tests accordingly.

This change is

This seems reasonable. I'll take a look at it more closely a bit later.


DagRun pod for pipeline (QUESTION)

Instead of launching a pod per node....could i launch a pod for the entire dagrun with the localexecutor? If so, I was curious if anyone had tried this?
I have tasks that are too quick to spin up pods, i was hoping to have a pod per dag/ dag run.

Hi @teaglebuilt. Thanks for the question, it's a good one!
We've noticed spawning pod for every node is an overkill, but what we've considered is using kedro node tags to allow grouping node executions within a single pod.
I'm keeping this ticket open until we provide a follow up issue with implementation guidelines.

@em-pe yep, and spawning per node is also a great solution that we can use as well. Although some nodes might be a process finishing faster than it would take to spin up a pod...but still want the visibility of that node, so you do not want to group it into another execution process.
For that reason, I have looked at either telling the Kubernetes Pod Operator to do the same logic as the reattach on restart for directing a task back to the same pod for execution.
Or, also the possibility of mixing the logic of the Sub Dag Operator with the Kubernetes Pod Operator, which I anticipate will create bottle necks with the scheduler. Although, the scheduler can scale now, so it migiht not be a problem...


Change iterative deepening research loop to a while loop

At the same time, simplify away the "research" variable.
Passed STC:
ELO   | 4.47 +- 4.70 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | 2.98 (-2.94, 2.94) [-3.00, 1.00]
GAMES | N: 11896 W: 3452 L: 3299 D: 5145

http://chess.grantnet.us/test/32279/
Passed LTC:
ELO   | 1.00 +- 2.64 (95%)
SPRT  | 40.0+0.40s Threads=1 Hash=64MB
LLR   | 2.96 (-2.94, 2.94) [-3.00, 1.00]
GAMES | N: 34208 W: 8884 L: 8786 D: 16538

http://chess.grantnet.us/test/32281/
-6 bytes
Bench: 5878761

I've converted this to draft to test the effects of latest minifications


panic when set replica count and async replica

c.ReplicaCount = 3
c.ReplicationMode = config.AsyncReplicationMode

And start three instance, restart one of them, all panic
panic: runtime error: index out of range [-1]
spiracle-2 spiracle
spiracle-2 spiracle goroutine 2176 [running]:
spiracle-2 spiracle github.com/buraksezer/olric/internal/cluster/balancer.(*Balancer).backupCopies(0xc0004f2b90)
spiracle-2 spiracle     C:/Users/hulucc/go/pkg/mod/github.com/buraksezer/olric@v0.4.0-beta.2.0.20210502130407-be0cf149f919/internal/cluster/balancer/balancer.go:152 +0x69d
spiracle-2 spiracle github.com/buraksezer/olric/internal/cluster/balancer.(*Balancer).Balance(0xc0004f2b90)
spiracle-2 spiracle     C:/Users/hulucc/go/pkg/mod/github.com/buraksezer/olric@v0.4.0-beta.2.0.20210502130407-be0cf149f919/internal/cluster/balancer/balancer.go:193 +0xbb
spiracle-2 spiracle github.com/buraksezer/olric/internal/cluster/routingtable.(*RoutingTable).runCallbacks(0xc0006a0e00)
spiracle-2 spiracle     C:/Users/hulucc/go/pkg/mod/github.com/buraksezer/olric@v0.4.0-beta.2.0.20210502130407-be0cf149f919/internal/cluster/routingtable/callback.go:36 +0xb4
spiracle-2 spiracle created by github.com/buraksezer/olric/internal/cluster/routingtable.(*RoutingTable).updateRoutingOperation
spiracle-2 spiracle     C:/Users/hulucc/go/pkg/mod/github.com/buraksezer/olric@v0.4.0-beta.2.0.20210502130407-be0cf149f919/internal/cluster/routingtable/operations.go:122 +0x6b6

v0.3.7 has some problem on windows and v0.4.0 works fine.Also, I perfer the new version.

v0.3.7 has some problem on windows and v0.4.0 works fine.Also, I perfer the new version.

I understand your consideration but the new version won't be ready for the next a couple of months. Could you please open an issue for the problem in v0.3.7? It may be easy to fix.

@hulucc I have just released a new version of v0.4.x. The problem should be disappeared by this update. I'm going to release a new version to fix #92.
If you have any other problems, please don't hesitate to open an issue.


use cert-manager for certification management

Summary
fix: #596
This change integrate cert-manager for certificate management of Ray gRPC communication.
Details and comments
The use of cert-manager is disabled by default.   It can be enable by setting  gateway.useCertManager to true in the values.yaml file.
The cert-manage can be installed by
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml

For the gateway/api/ray.py:200 warning, you can add this comment to the line to get the linter to ignore: # pylint: disable=broad-exception-caught
For the gateway/api/ray.py:223:4 warning, I think you can either rename to something using snake_case OR tell pylint to ignore it via a variable in the .pylintrc (I did it for a single letter variable in a different PR, but not having luck finding it right now)
Will do a proper review on Monday

found it... the .pylintrc key is good-names


Shortcut expansion leaves the first letter in place when done with an apostrophe

Upon writing a shorthand code, and then pressing an apostrophe, it seems to leave the first letter behind.
So if I type "first" using first, and then completing with an apostrophe, it ends up looking like ffirst'
Edit: actually, it seems to work well enough in github. I'm using obsidianmd, so perhaps it's an obsidian thing

Thank you for reporting this! Indeed, I think it's because obsidian is doing some replacement on the apostrophe in a way that disrupts the replacement done by Obsidian. You could experiment with using an Output Delay (on the Output tab) to see if that resolves it.
For example, Word replaces apostrophe's with curly versions, but in a way that does not disrupt ZipChord.
I'm going to mark this as an external issue, but will keep an eye on a potential workaround or fix.


Loader for Webpack 3

From the Readme, seems like this is not available for webpack 3. Is there no alternative than to upgrade to webpack 4?

you can use version 1.1.1. it's compatible with Webpack 3


It should let the domain class constructor free.

Currently, the abstract class that every aggregate root seems to extend avoids the usage of the constructor.
That's clearly a consequence of a technical, internal cause.

This is a deliberate choice I have made to enforce the use of explicit, factory methods like 'register' for a user, or 'start' for a project.
Can you think of any drawback if I keep it as is?

I close those for now, feel free to discuss this in another issue if you want to argue this is a problem.


Allow specification of HTTP status code in predict() return.

Is your feature request related to a problem? Please describe.
If a prediction call fails, you cannot indicate to a caller how or why it failed. The status code is always either HTTP200 OK, or HTTP500 (if any exception is raised, even if you raise a custom Starlette HTTPError exception).
Describe the solution you'd like
The truss async def predict(self, request: Dict) function should allow the user to return a custom HTTP return code. This can be done (I think?) simply by adding the following code:
if isinstance(response, Response):
    # user-provided predict function returned already packaged response, directly return it.
    return response

To line 156 of the common truss server here: https://github.com/basetenlabs/truss/blob/main/truss/templates/server/common/truss_server.py#L156
This way, a user-specified function can return a prepackaged Starlette Response object, with custom HTTP return code and header configuration. In addition to allowing the user to now return better error or accept status_codes (e.g. an HTTP 202 ACCEPTED response) , it also allows more advanced users to specify a custom way to packaging their response and its associated headers.
Describe alternatives you've considered

Tried to return internal status code inside the regular response dict of predict() function: this is too hacky and requires clients to check an internal status_code field of an HTTP200 OK response to double check if it is a satisfactory response.
Tried to raise a Starlette HTTPError or Response objects in the object caller, or to return them instead of raise them. These all result in an HTTP500 internal server error being thrown, not correctly returning the HTTPError or Response object raised/returned.

Additional context
The goal here is to allow more advanced users to specify an HTTP status code in the response, and possibly insert custom headers or craft a non-trivial Starlette response for their custom use case.

Hi @RF5  -- sorry the late response here.
We're working on a more comprehensive solution here along the lines of what you're proposing. In the meantime, you should be able to raise a fastapi.HTTPException:
    import fastapi

    class Model:
        def predict(self, request):
            raise fastapi.HTTPException(status_code=500, detail="My custom message.")

See our integration test to cover this case: https://github.com/basetenlabs/truss/blob/827f47bf78df7e634846ae168aa8fde4145a7104/truss/tests/test_model_inference.py#L751

This is the the more canonical way of doing this now: https://docs.baseten.co/deploy/guides/responses


work factor?

I just wanted to clarify something.
The article you mentioned in docs ie. https://codahale.com/how-to-safely-store-a-password/ also discusses a work factor but I don't see it mentioned in docs.
Is 8 (below) the work factor or length of salt?
var hash = bcrypt.hashSync('bacon', 8);

work factor


How do add Reference to the Script files that are required by Nuget Package ?

I have created Razor Class Library that is using third party Nuget package.
https://github.com/sabitertan/BlazorBarcodeScanner
I now want to consume this library in my MAUIBlazor project.
BlazorBarcodeScanner library requires that I  add the reference to the following script in index.html
 <script src="_content/BlazorBarcodeScanner.ZXing.JS/zxingjs.index.min.js"></script>
 <script src="_content/BlazorBarcodeScanner.ZXing.JS/BlazorBarcodeScanner.js"></script>

So in my MAU Blazor project(which is consuming Razor class Library), after adding project reference to the Razor Class Library I tried adding the script reference as shown below but it fails with error "BlazorBarcodeScanner not found"

What would be correct way to properly reference libraries of Nuget Package that is being used in Razor Class Library
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d2b709f5-e04e-fee3-7eea-1364893ab997
Version Independent ID: a92c88d3-6ee8-1e69-f4c3-49eb82909746
Content: Consume ASP.NET Core Razor components from a Razor class library (RCL)
Content Source: aspnetcore/blazor/components/class-libraries.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @nssidhu ... Did you try adding the _content/BlazorBarcodeScanner.ZXing.JS/... BlazorBarcodeScanner library script references directly to the MAUI-Blazor project's index.html file?

Yes, that works. Can you update the document that when referencing the Libraries from Nuget package the way to reference is same as we would do when referencing it locally in the project and that article only applies to custom scripts and css in Razor Class Library ?

Yes ... I'm going to cross-link this to my PR over there and leave the email ping on this in my Inbox. I'll also check the Blazor class library topic to make sure that we have coverage in both topics for this scenario. I'll take care of it first thing Monday morning.


Show only the published courses to all users.

Allow admin to mark a course as published or not, on publishing the courses will be available to all users.
Unpublished courses should not be visible to non admin users.

Making published courses scope as default might solve this issue quickly.


Instructions give the same position for cogs

You can check it out by loading the username Kinaaba.
It only happens if loaded with the username, if you go to https://kinaaba.idleonefficiency.com/raw-data and copy the actual json it works as expected.
The owner of the profile is a guildmate, I don't know how long until he updates it, but I kept a copy of the current json.

I too have this issue. It was fine when I still had flags on the board, but now that I've got all my cog board opened and filled, the majority of the solution's moves are saying to switch with the same position, yet references a different cog.

I may have noticed a condition under which this bug occurs.
The bug occurs when the cog located at the top-leftmost coordinate (1,1) is included in the exchange.
So until this bug is fixed, in the case of an exchange of the same co-ordinates we should just exchange the cog at the co-ordinates (1,1) with that co-ordinate.

@Monoblos
Thank you for confirm my pull request.
However, the branch used for the github-page release seems a little wrong.
(Lines 72, 73, 74 and 76 are unnecessary)
Please check.
https://github.com/Monoblos/cogtimizer/blob/4029edb4e61b87814b224146450adb94f332ab59/CogInventory.js#L69-L76


suggested improvement to 'ignored' message

per #244, suggesting a slight change to "ignored". It took me some time to figure out why my tests weren't running, a slightly more informative message than "ignored" may save some time.

imo this can get too repetitive and deviates too much from standard test output.  I'd recommend finding an existing issue or opening a new issue for us to brainstorm on how to improve this.

It happened exactly the same to me. Is there any discussion issue or should I create one?

#105 is the only ignored-related issue.  If that is relevant, feel free to comment on there, otherwise feel free to create a new one

I had this same issue. Didn't get it to work until seeing this thread


Linux Support

Are there any plans to support linux?

Hi @reahari  thanks for your question. I wrote my current thoughts here: https://github.com/still-scene/t3/wiki/faq#so-where-are-the-maclinux-versions

Hello everyone, please send any developers that know their way around Vulcan this way.
I dont like using wine for audio using apps. and we all want this to run with vulcan.

Thanks for looking into this. Linux support would indeed be great!

I'm recently trying to migrate over to linux, so my interest in this is piqued. fortunately, DXVK exists now and is always improving thanks to the greater Wine and Proton communities. So I'd be interested in taking a stab at getting it working - it seems like it's a simple .dll replacement. If I can manage to wrangle the linking such that it's only used on non-Windows builds, it could be a simple solution backed by a huge community.
The other consideration is, of course, UI. There's lots of options with various pros, cons, and licenses. I see there being three potential choices:

Uno - Apache 2.0 license
Avalonia - MIT license - probably the best, sans the hot-reloading UI Uno has
Eto - BSD 3 license (similar to MIT) - uses WinForms for Windows builds, code structure is also very similar. But might be a little buggier than the others with less support.

I looked into plain ol GTK C# wrappers and they're pretty unmaintained, so I don't see that as a great option.

Y close the ticket when there is no linux support ?
Just leave it open ?

Ups. Closed this by mistake. Mixed up some doubles.

@domportera +1 for Avalonia

Came across this project today, looks fantastic. Great work!
Another potential solution for Linux and mac support is using Godot which is an open source game engine which supports C# (as well as C++ and their own native language).
While a game engine might seem like a weird solution, Godot already supports the following out of the box.

Windows, Linux, mac, android and ios
Volkan
Shaders
2D and 3D rendering
2D and 3D animation
UX components with the ability for complete customization of the theme
Audio
Video (although default video is limited, an extension that uses ffmpeg is available)
As well as a host of other features

While it would mean a rewrite of sections of the code, I think it's worth investigating as a potential solution since both Godot and Tooll3 are powerful engines/tools which could complement each other.

@d-franklin I don't think that's a good solution as it would require an entire rewrite

@d-franklin I don't think that's a good solution as it would require an entire rewrite

Any solution adding support for Linux/Mac will require a substantial rewrite.

it's funny you mention that @d-frankli - @pixtur and I have talked about exactly this before.
Currently I think the plan is to just continue chopping away at pieces of Tooll to allow for multiplatform support / embedded Tooll in the future. This will take some time but in the future I would imagine cross-platform support be more native a la Avalonia/Vulkan/WebGPU, but personally I'm also trying to work towards allowing tooll to be embedded within game engines like Godot and pixtur is excited for that possibility as well!
the general idea is to abstract out the graphics implementation to not be reliant on SharpDX as it is currently. Progress on this has started but it is a long road ahead 😩

Was able to get it running in wine pretty easily (just had to install some .net runtime stuff linked in the error messages it was giving), it seems like basic functions are working except video export (it just says it was unsuccessful). If Tooll could officially support running under wine it might be a lot easier than implementing full native linux support!

Was able to get it running in wine pretty easily (just had to install some .net runtime stuff linked in the error messages it was giving), it seems like basic functions are working except video export (it just says it was unsuccessful). If Tooll could officially support running under wine it might be a lot easier than implementing full native linux support!

Yer this should probably be closed this since wine is a working solution for Linux.

Hmm, using wine is a pretty poor "solution" for this. Native support would most certainly be a lot better.
Of course it would require quite some work, but flat-out closing the issue like this is a bit sad.
Someone else could see the issue and be motivated to do the work. Now this visibility is just gone.

Yeah, I also don't think it should be closed, especially given that Wine isn't a working solution for Linux yet - video export doesn't work, which is a pretty important feature!

idk why this was closed, but as the dude kinda fronting the tooll refactor initiative atm, I can assure you that Linux is not off the todo list - native linux. that being said it's looking like it's gonna be a long time bc of the challenge and lack of libraries available for Vulkan in C# at the moment
as for the video export - it sounds like a MediaFoundation issue. Doing some Wine research around that might yield some results or info? I'd be curious to know if y'all find anything


Creates ResampleMethod Wrapper Struct

ResampleMethod Refactor
The existing usage of an enum for ResampleMethods is cumbersome, and the boolean logic which is used with it is hard for me to follow. The enum usage is also not compiling with the newest version of clang.
Rather than using int constants to mimic gcc's interpretation of the enum we use in a way that clang accepts, I refactored it to be a wrapper for bools. I think it's much harder to use this set up incorrectly, and it's much easier to clarify that it's doing what we want it to do. I added tests for the new struct too to verify its behaviour with each configuration possible.
This could even go a step further, adding this struct as a C++20 literal template parameter, moving all of the invalid-configuration logic to compile time and knowing that we for sure are using a valid configuration, while reducing the overhead. I'll leave that for now though :yum:
Pre-PR Checklist:
Have you

[x] Added/Updated tests for your changes, including regression tests for bug fixes
[x] Added/modified documentation directives in relevant code

Reviewers, Note
you can run the tests if you  like I suppose :shrug:
./b configure -- -DBUILD_TESTS=ON && ./b build && ./b tests run Shared

This seems quite excessive. What was clangs complaint?

I disagree that it's excessive. I think it makes all of it much easier to understand and harder to misuse, both of which are important properties. The clang error is solveable, but it seems absurd to use an enum when we are trying to use combinations of the settings, which aren't represented as members of the enum. The Boolean logic is also unnecessarily unreadable.


fix #609 https://github.com/ThreeMammals/Ocelot/issues/609

Fixes
#609
Proposed Changes

@rocgao thanks for this!


[Feature Request] More than One "Find and Replace in Selection"

Hello @derwish-pro !!!!
First of all, thank you very much for this plug-in. I found out your plug-in recently and you solve a huge problem in my workflow.
My feature request is related to my workflows in Obsidian.
My workflow
One of my main uses for Obsidian is to write. I import parts of books, highlights, articles to Obsidian and create many notes based on these sources.
This way, I have to do much transfer between notes and I always use internal links to keep the reference. It's very important to know the orign because I mix chunks of different sources inside one single note.
To help with this I use the Quickadd Plug-in to stack a bunch of Obsidian Hotkeys (commands) into one hotkey to increase my productivity.
In fact, I use Find and Replace in Selection hotkey with QuickAdd

For this specific usage, I use find and replace to add a aliases to the backlink. This is amazing!!!!!
Feature Request
My feature request is to be able to create more than one Find and Replace templates I have others workflows that needs different Find and Replace settings.

Create more than one Find and Replace
Be able to apply an Hotkey to each new find and replace.

As a source of information about this, Hotkeys for Specific Files has a feature that make possible to define different hotkeys for each file.

It is the same principle applied to 'Find and Replace'

I hope you my suggestion. Would be a game-changer for me.
Let me know if you need more information.
Thanks for reading this and have a great day!

I have the same function request, do you  have other options?

İs there Someone here ??


Add dockercfg chart

what

Add dockercfg chart

why

Chart will create a Secret with Docker credentials to pull images from private repos
Use in imagePullSecrets

I'm so sorry! I started one without telling you. https://github.com/cloudposse/charts/pull/139


feat(pdb): add optional podDisruptionBudget to deployment

Change description

Add optional podDisruptionBudget to deployment
Project tracking

n/a
Do any added TODOs have an issue in the backlog?

n/a
Did you add unit tests? Why not?
n/a - Helm chart change
Does this code need functional testing?

No, tested locally
Is a code review walkthrough needed? why or why not?
No, small change
Should additional test coverage be executed in addition to pre-merge?

No
Does this code need a note in the changelog?

Helm chart release
Does this code require documentation changes?

No - Helm chart change
Additional Information

@gnarl Wanted to put this change on your radar

@gnarl I have now filed the CCLA

Hi @starlightromero,
Unfortunately I'm no longer working on Trident. Thanks for letting us know that you've filed the CCLA and I've let @uppuluri123 know about it.


Breadcrumb is lost after refreshing exercise view

See screenshot, the guide is lost:

This happens after you hit F5.

Is this still happening @fedescarpa @aguspina ?

Happened to me yesterday.

@faloi yes, but @fedescarpa and @aguspina  solved during yesterday's evening  a similar issue.
I am not being able to reproduce it now. Can you?

Nope, seems fixed.


typescript missing import  should trigger when only prefix match suggestion item

When I press dot ., VSCode auto complete:

test when all extension disable?
yes.
Version:
Version: 1.64.0-insider (Universal)
Commit: 23aa7ad51c95d90d48b1d352a316d7f0c2c4310d
Date: 2022-01-18T09:44:03.147Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.2.0

@mattbierner
my settings: https://gist.github.com/tjx666/5256af269f9a3bb5784c5fa7789a58a8

This is by-design. If you don't want trigger characters like . to accept completions, set:
"editor.suggestOnTriggerCharacters": false

"editor.suggestOnTriggerCharacters": false

That setting disable properties suggest totally, but I just want not auto accept sueestion when only prefix match.

Sorry, should be "editor.acceptSuggestionOnCommitCharacter": false


Handle JSON-based subtrees in implicit tiling

Resolves #10084.
This PR adds the ability to load subtrees through JSONs in addition to binary subtree files. I updated the specs for the affected classes, but they are relatively simple because we don't have sample data that uses JSON subtrees. Let me know if I should add any more.

Thanks for the pull request @j9liu!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@ptrgags - thank you for the review! I just pushed some changes, let me know if there's anything else that I need to correct.


missing publication date in some works

I can't really understand the pattern here but MW1KG10111 doesn't have a published event while it has a publicationDate in xml. The same goes for W2CZ7969, W00KG09215, etc.

well, the publishedEvents are actually there... not sure what the problem was...


Q: what is RandomForestOptPro exactly?

Hi, I'm a ML rookie, and I wonder what is RandomForestOptPro (and others like GradientBoostedRegressionTreeOptPro) and how it works?
I know basic parameter-tuning techs like the Bayesian opt, but I never heard "RandomForest Opt" before. Is there any paper can explain it or should I check somewhere in your documentation (I tried but failed :3 )
and a might-be stupid question: how to extract the best estimator from the experiment? So far I guess the only way is to check the leaderboad then get the best estimator's key then check the json file? Could it be more straightforward?
BTW thanks for developing such a GREAT tool!

OK I see there is a "hyperparameter_key" column in the leaderboard file, so can I use the key to directly get the hyperparameter combo?

@chwang1991,
Thanks for opening this issue! Let me start by saying that your questions are definitely not “stupid”! These are fantastic questions, and I’m sure many others have them as well. So thank you for bringing them to my attention, because it means that I probably need to improve the documentation.
Regarding RandomForestOptPro and GradientBoostedRegressionTreeOptPro, you may already be clear on this, but it helps me to remember that they’re just normal ML algorithms. Hyperparameter optimization is just ML on top of ML. These two algorithms (I call them “OptPros” or “Optimization Protocols” because they’re designed for hyperparameter optimization) are built on top of SKLearn’s RandomForestRegressor and GradientBoostingRegressor, respectively. Since you’re familiar with Bayesian optimization, it could help to remember that our BayesianOptPro is similarly built on top of SKLearn’s GaussianProcessRegressor.
Each of the Optimization Protocols is just a wrapper around some existing ML algorithm to enable us to use it for hyperparameter optimization. So in order to understand the two OptPros you mentioned, I would recommend reading the documentation for the above-mentioned SKLearn classes that they use internally: RandomForestRegressor and GradientBoostingRegressor. Of course, these classes are the base_estimators for each OptPro, and we also make use of things like acquisition functions in order to estimate the utility of each proposed set of hyperparameters, but this is also the case in standard Bayesian optimization.
In the end, the most significant difference between the BayesianOptPro with which you’re familiar and RandomForestOptPro, for example, is that BayesianOptPro uses GaussianProcessRegressor as its base_estimator, whereas RandomForestOptPro uses RandomForestRegressor.
I know my response hasn’t really touched on the technical differences between the different OptPros, but like I said, to get a better idea of the specific differences in behaviors, you can see the documentation of the base_estimator classes. For HH, it makes sense to offer a wider range of OptPros because it’s so easy to switch between them due to the fact that HH automatically records and reuses Experiments during Optimization. Sometimes you may find that BayesianOptPro simply isn’t working as well as you want. With HH, you can simply stop your current OptPro and pick up learning with a different OptPro to see how things go—without losing everything your previous OptPro learned. In my problems, I find it often helps to get the different perspective of another OptPro. In fact, I’ll often switch between all of them, giving each 10 iterations, then moving on to the next OptPro. I don’t know of any other library that enables this sort of diverse exploration of the problem space while still retaining all of the data collected by previous optimization rounds.
Turning to your question about finding the best Experiment, you are correct that the key is using the leaderboard file. This could definitely be better documented, so I apologize. What you’ll want to do is check the Leaderboard for the experiment_id corresponding to the score you want. Then go to the “Experiments/Descriptions” directory. Each of the JSON files here are named after an experiment_id in the Leaderboard. So open up the JSON file for the Experiment you want, and you’ll find all of the important information about the Experiment, including scores, execution times, algorithm used, and of course, hyperparameters and feature engineering steps used. Under the “hyperparameters” key you can find all the hyperparameters used for the Experiment—even the ones you didn’t explicitly declare—so you can thoroughly recreate the Experiment.
Both of these topics could definitely be documented better, so thank you very much for asking these fantastic questions! Please let me know if you have any further questions or feedback, and thank you for your support! I really appreciate it!

I was surprised that today there are still open-sourcers willing to explain so in detail like you....
You not only solved my question but also help extend my knowledge -- you are right, hyper-tuning techs are just ML on top of ML! Thank you so much!


fix monit restart director_nginx did not work

When I ran  monit restart director_nginx, it failed and monit summary showed that Process director_nginx does not exist.
The reason is that the PID file does not match the PID of the running director_nginx process.
The fix in this PR directly borrows how the stop function is written for the blobstore_nginx job.

@xiujiao im not sure that this change fixes situation you are describing. at the worst prev code will call kill  (with an empty string) which will error but because script is not running with set -e it will continue on executing.

@cppforlife Hi to be honest, the fix does not make 100% sense to me either. I used it because it fixed the problem in my deployment  and it is used in blobstore_nginx script in the repo.
I suspect  the PID management has some problem. My original fix actually is very different , please see my new commit https://github.com/cloudfoundry/bosh/pull/1536/commits/318ef0baca0adb04ca2c87752364dc310976603f

+1 I just ran into this with 260.6

merge story #152973456


User/Server Statistics

Add a sqldb or some method of storage similar that contains the following info.

Messages sent for the User
Total messages sent to the server
Active time for the user (time logged in)
Active time for the server (total time server has been running, not to be confused with uptime)
Server uptime (Time since it started last, Like a stopwatch, it might just be easier to log the time the server starts then handle a timer/stopwatch)
List of all users who have logged in.
Offline and Online statuses for all users who have logged in.
Number of times users have logged in.

Add an API to access this info in a JSON format. You can add an option in config.toml to enable the API and an option to open it to all users who authenticate to the API with their session and username
Some API endpoint ideas.

/api/v1/user/username/status  #Returns boolean
/api/v1/user/username/messagecount  #Returns total messages sent by the user
/api/v1/user/username/totaltime  #Returns total amount of time the user has been logged in
/api/v1/user/username/activetime  #Returns total amount of time the user has been logged in
/api/v1/user/username/logincount  #Returns total logins of user
/api/v1/sever/messagecount  #Returns total messages sent by all users
/api/v1/sever/users  #Returns list of all users with statuses
/api/v1/server/activetime  #Returns the total amount of time the server has ever been online
/api/v1/server/uptime  #Returns the time since the server started and the time the server started

YES so many routes 😭
Anyway I'm cooking

https://github.com/tkbstudios/netchat-server-rust/tree/web-ui

PR: https://github.com/tkbstudios/netchat-server-rust/pull/3


iframes and other injected html can be used in resource titles

For example using '' as the resource title actually renders the iframe in the "Recently Visited" on the home page.
000.zip

related to #3684 and #3685


get "KeyError: 'caller_port'" when using sapp

Bug
Bug description
When using:
sapp --tool=mariana-trench analyze .

I got error:
/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1998: SAWarning: Setting backref / back_populates on relationship Run.issue_instances to refer to viewonly relationship IssueInstance.run should include sync_backref=False set on the Run.issue_instances relationship.  (this warning may be suppressed after 10 occurrences)
(rel_b, rel_a, rel_b),
/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sqlalchemy/orm/relationships.py:1998: SAWarning: Setting backref / back_populates on relationship IssueInstance.run to refer to viewonly relationship Run.issue_instances should include sync_backref=False set on the IssueInstance.run relationship.  (this warning may be suppressed after 10 occurrences)
(rel_b, rel_a, rel_b),
2022-05-23 09:04:16,316 [INFO] Parsing analysis output...
Traceback (most recent call last):
File "/home/test/ftool/mariana-trench/build/venv/bin/sapp", line 8, in
sys.exit(cli())
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/cli_lib.py", line 208, in analyze
pipeline.run(analysis_output, summary_blob)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/init.py", line 363, in run
next_input, summary = step.run(next_input, summary)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/base_parser.py", line 239, in run
summary.get("old_linemap_file"),
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/base_parser.py", line 188, in analysis_output_to_dict_entries
for typ, key, e in self._analysis_output_to_parsed_tuples(inputfile):
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/base_parser.py", line 135, in _analysis_output_to_parsed_tuples
for e in entries:
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/mariana_trench_parser.py", line 351, in parse
yield from self.parse_handle(handle)
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/mariana_trench_parser.py", line 365, in parse_handle
for precondition in self._parse_precondition(model):
File "/home/test/ftool/mariana-trench/build/venv/lib/python3.7/site-packages/sapp/pipeline/mariana_trench_parser.py", line 500, in _parse_precondition
port=Port.from_json(sink["caller_port"], "sink"),
KeyError: 'caller_port'
Looking forward to hearing from you.
Thanks!

Hi @xiaoxiongwang, I encountered the same problem as you. I think the only way to fix it is either wait for a newer release on pip or run the SAPP directly from source and modify the cli.py to target the v2 parser in the pipeline. The new parser generate a different structure sapp.db file, so you might also need the latest version to run the server.
It seemed that the MT might have generated a different format of json. https://github.com/facebook/sapp/commit/465e09f9a9a5b2a0af3ba58f1f18a333e226e22e

got same issue @jalee0606 . It don't work for me by setting the value to true in Constants.h of mariana-trench  then rebuild.

got same issue @jalee0606 . It don't work for me by setting the value to true in Constants.h of mariana-trench then rebuild.

I tested it, I set it to true, build and run it. I managed to analyze it with the sapp from pip.

got same issue @jalee0606 . It don't work for me by setting the value to true in Constants.h of mariana-trench then rebuild.

I tested it, I set it to true, build and run it. I managed to analyze it with the sapp from pip.

@jalee0606 Did you rebuild all staffs including redex or just mariana? Do I need clean all compiler-generated objects first?

Nope. I only build just mariana.
make -j4
make install

Mariana Trench 1.0.3 is out, which should resolve this issue by default! Sorry about the long delay here.


[blazor-wasm] Not launching correct OS specific browser

Issue Description
When specifying browser to launch using "blazorwasm" debug type, it is only respected when using the root "browser" option. It is not respected when using stanza under OS such as "windows".
Steps to Reproduce
On windows, make sure Chrome is installed and set as default browser. Also make sure Edge is installed.
Edit launch.json in project using "blazorwasm" debug type, add
"browser": "edge"
Launch and confirm Edge was launched.
Stop debugging, edit launch.json:
"windows": {
"browser": "edge"
}
Launch and Chrome (default browser) is launched.
Expected Behavior
Edge is launched.
Actual Behavior
Chrome is launched.
Environment information
VSCode version: 1.50.0
C# Extension: 1.23.3
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.100-rc.2.20480.7
 Commit:    53e0c8c7f9
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19041
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\5.0.100-rc.2.20480.7\
Host (useful for support):
Version: 5.0.0-rc.2.20475.5
Commit:  c5a3f49c88
.NET SDKs installed:
3.1.402 [C:\Program Files\dotnet\sdk]
5.0.100-rc.2.20480.7 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.0-rc.2.20475.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.0-rc.2.20475.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.0-rc.2.20475.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.3

dotnet-test-explorer
formulahendry
0.7.4

git-graph
mhutchie
1.26.0

gitlens
eamodio
10.2.2

html-css-class-completion
Zignd
1.19.0

msbuild-project-tools
tintoy
0.3.8

razor-plus
austincummings
0.1.4

remote-ssh
ms-vscode-remote
0.55.0

remote-ssh-edit
ms-vscode-remote
0.55.0

vscode-sqlite
alexcvzz
0.9.0

CC @captainsafia

Thanks for reporting this, @ar0311.
The blazorwasm type doesn't support OS-specific configuration types for the browser to launch.
@gregg-miskelly Is this something the JS debugger supports? I don't believe so but I might be incorrect here.

I know that the C# extension supports it for launching a browser without debugging when using the somewhat-deprecated launchBrowser launch.json syntax, but I am not sure about scenarios when launching the browser under a debugger. @connor4312 do you know?

js-debug supports this if you toggle the runtimeExecutable, but it doesn't have a browser field (chrome and edge are distinct launch types).

Took a look at this.
The OS-specific options are supported by the O# configuration and allow a user to override what command is used to launch the browser, for example how to use open Google Chrome.app in macOS.
Given that the blazorwasm debug configuration type uses the vscode-js-debug under the hood, I don't think it's applicable for us to expose this option.

I have a default Blazor-wasm application and, on Windows, when I try to run I get an error dialog:

My default system browser is set to Brave, but I do have Chrome installed:

The error dialog says to add an item to the launch.json specifying the "runtimeExecutable", but that setting is not recognized in the launch.json for a blazorwasm type.
If I set the "browser" field to "edge", it will correctly find and launch MS Edge browser.

Where is chrome.exe located on your systems?

"C:\Program Files (x86)\Google\Chrome Dev\Application\chrome.exe"

If I change the name of the folder from "Chrome Dev" to "Chrome", the error message does not appear, and my Chrome does launch.

Thanks, fixed in the linked commit. It'll ship in the next nightly js debugger.

Has this been released? I believe I'm on the latest nightly:

Yes, it's been published -- works for me by setting the runtimeExecutable: dev

Are you still running into issues?

Yes, still having the same error.
However, this is my launch.json, created from the ".Net Generate Assets for Build and Debug" command:

We should be able to detect that if the PROGRAMFILES(X86) environment variable is set to C:\Program Files (x86) in your extension host. You can check process.env in the console when running the Toggle Developer Tools command.
If it's not set you might be hitting https://github.com/microsoft/vscode/issues/106537

Looks like it is set correctly:

I'm also seeing this in the console, not sure if it's relevant :

That means the built-in extension is still installed (and probably stealing launches, which explains the issue). Make sure to do steps 1 and 2 here! https://github.com/microsoft/vscode-js-debug#nightly-extension

Ok getting this now:

and when I try to add that item, I get:

Ok, that makes more sense.
@captainsafia is there a way to pass the runtimeExecutable through the blazor launch to js-debug?

@connor4312 Nope, we can add this if enough people express interest in it.
@jtsom As an alternative, you can try falling back to a two-step launch configuration by launching the application server via the .NET debugger and the front-end client by using the JS debugger.

@jtsom here's another alternative that will arrive in the next js-debug nightly https://github.com/microsoft/vscode-js-debug/issues/836

I will give it a try when it drops. Though will it work with the standard launch.json, created by default with the .Net Generate Assets command, given your comment:

This can now be done via the debug.javascript.defaultRuntimeExecutable setting. Note that this happens at config resolution time, so for the moment only works with pwa- prefixed configs (e.g. if you have a launch type named node, then rename it to pwa-node)

It will since blazor launches pwa-chrome internally


refactor: content search

refactored content search to be better prepared for bleve search

@enricoschuetz, ping. Can you spare a few minutes to bring this PR forward?


shiny demo

In lieu of actually explaining the code, a shiny app that demos it with a simple tree and a table of Y/N for data so people can see what effect the algorithm would have.

@richfitz where do we start on this? sounds kinda fun coding project now that we sorta understand shiny

First part is getting a good list of examples, rather that start with the shiny case, I think.

how many taxa?  10?

Yeah, that's probably a good number - basically the size of the diagrams we were sketching when we started work on this.

from the land of schluter?


Threaded run not working

This is an issue related to the /dev branch. When trying to run an animation using the "threaded = True" method: the thread simply does not run. The issue is related to the line 156 of animation.py, in which you get the locals() dictionary. Within the following lines you attempt to remove some members from the locals() dictionary which seems to be an invalid operation as even the local "self" reference is removed.
The best workaround I've seen for this is replacing the line 156 with the following:
args = locals().copy() # gets a copy of the locals() instead of the actual locals
Regards,
Jaime

could you send me the basic code you are using and on with what system
details? I'm not seeing it fail on my end... although, I think I see what
you mean and am putting in a fix. I'm guessing that on some version of
python or systems, locals() gets the actual dictionary in use and then
modifies it... which is obviously bad.
On Mon, Aug 10, 2015 at 7:08 PM, Jaime Zapata S<EMAIL_ADDRESS>wrote:

This is an issue related to the /dev branch. When trying to run an
animation using the "threaded = True" method: the thread simply does not
run. The issue is related to the line 156 of animation.py, in which you get
the locals() dictionary. Within the following lines you attempt to remove
some members from the locals() dictionary which seems to be an invalid
operation as even the local "self" reference is removed.
The best workaround I've seen for this is replacing the line 156 with the
following:
args = locals().copy() # gets a copy of the locals() instead of the actual
locals
Regards,
Jaime
—
Reply to this email directly or view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/22.

Yes. The code is the same as you have on you /dev branch. Actually managed to run your https://github.com/adammhaile/PixelWeb code with just a few adjustments (e.g. set anims directory). I'm working on Raspberry Pi model B with python 2.7

Hmmm... OK. I haven't really tested this on the Pi yet. Probably why.
I've commited a fix for it that should hopefully work for you.
Could be getting back to PixelWeb work now :)
On Mon, Aug 10, 2015 at 7:14 PM, Jaime Zapata S<EMAIL_ADDRESS>wrote:

Yes. The code is the same as you have on you /dev branch. Actually managed
to run your https://github.com/adammhaile/PixelWeb code with just a few
adjustments (e.g. set anims directory). I'm working on Raspberry Pi model B
with python 2.7
—
Reply to this email directly or view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/22#issuecomment-129643966
.

Great. Thanks.
Actually, I just realized that the "self" reference is removed in "my own code" because I'm forcing to do so. The real issue is that the pop() method is not working at all on my raspberry, and the code crashes when trying to invoke the run() method on the animation without removing "callback, self, threaded, ... etc" from the dictionary. Hopefully the workaround effectively fixes the issue and allows the ode to remove the unwanted dictionary members.

That was my guess... so instead of popping, I build a new dictionary by
appending. Hopefully that will fix it. I'll look into why pop doesn't
work...
On Mon, Aug 10, 2015 at 7:22 PM, Jaime Zapata S<EMAIL_ADDRESS>wrote:

Great. Thanks.
Actually, I just realized that the "self" reference is removed in "my own
code" because I'm forcing to do so. The real issue is that the pop() method
is not working at all on my raspberry, and the code crashes when trying to
invoke the run() method on the animation without removing "callback, self,
threaded, ... etc" from the dictionary. Hopefully the workaround
effectively fixes the issue and allows the ode to remove the unwanted
dictionary members.
—
Reply to this email directly or view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/22#issuecomment-129645315
.

Your choice. Creating the locals.copy() instance just works very well and seems to be logical. I'm a python newbie, but I suppose the raspbian python just does not allow you to screw things up by modifying the locals(). I had to call the method on a second occasion (through my IDE) do so.

Side note: pop() does not work with the locals(), but does work well with the locals.copy()

Good to know. thanks :)
On Mon, Aug 10, 2015 at 7:46 PM, Jaime Zapata S<EMAIL_ADDRESS>wrote:

Side note: pop() does not work with the locals(), but does work well with
the locals.copy()
—
Reply to this email directly or view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/22#issuecomment-129648303
.

hi, adammhaile i would ask you if is possible to add UCS1903 drivers, i'm trying to use your project with a raspberry pi.
Thanks

@lucalamo This isn't really the place for feature requests and it's not related to this bug, which should be closed anyways. Would you mind posting your request here? http://forum.maniacallabs.com/forumdisplay.php?fid=8


Media selection stops working

I had two mupiboxes running for some time without an issue. Both were updated some weeks(?) ago to 3.1.2 and worked without any issues.
Now some days ago, one of the two boxes, i am unable to select any music. The screen shows all media and the touchscreen itself is fully functional, i.e. i can scroll, change category, enter new wlan credententials. But pointing at any media, just nothing happens. Also pointing at the title, no TTS does happen. Strangely, the same applies to the browser application from my pc. I can scroll, but clicking on any media, just nothing happens. The second box works with now flaws.

i can confirm this issue too. a reboot solves that.

Unfortunately, a reboot does not fix the issue for me, the issue is persistent.

Over SSH on the Pi and make this comment.
sudo wget https://mupibox.de/version/latest/config/templates/monitor.json -O ~/.mupibox/Sonos-Kids-Controller-master/server/config/monitor.json
And after this you make a update to the dev version in the webinterface.

That did it. The monitor.json was empty. (The other box i have had Off as value.) Filling the content brings the box back to live. Thanks.


introduce BETA/sandbox/playground server

so that prod should always have ONLY stable versions and to be used by our communities / users
and Beta should be used for
beta users
our internal users
for testing colllaborative actions
for testing mobile version
etc

Closed with 03e41e8

We need to do the same with backend (and database?)


Unexpected failure with trailing !e in AQF implied array / object mode

I've been playing around with this library and encountered a weird cornercase. The following parses fail:
JsonURL.parse("e,!e", { AQF: true, impliedArray: [] })
JsonURL.parse("e:!e", { AQF: true, impliedObject: {} })

Using an explicit array/object or making sure the !e is not at the end seems to make it work.
This looks like a bug to me, am I wrong?

Hi, @cdleonard. Confirmed, this is a bug. Thanks for the report and test cases.


Update eslint to version 4.19.0

And fixed previously uncaught code style error. Closes #448.

Broken links
(Output of test script tests/http-status.js.)
There were 0 internal and 5 external links failing.

http://www.adblighting.com/?page=getsupportfile&file=165
https://www.claypaky.it/en/home/
https://www.claypaky.it/media/documents/HR_Sharpy_Manual_05.2016_EN.pdf
https://www.martin.com/Martin.Download.aspx?file=/files/files/productdocuments/11_MANUALS/999/35000094G UM_Atomic3000DMX_EN_G.pdf
https://www.martin.com/Martin.Download.aspx?file=/files/files/productdocuments/11_MANUALS/999/UM_RoboScan812_EN_C.PDF

Export files validity
(Output of test script tests/github/exports-valid.js.)
Test the exported files of selected fixtures against the plugins' export tests.
You can run a plugin's export tests by executing:
$ node cli/run-export-test.js -p <plugin name> <fixtures>
Fixture martin/atomic-3000 changed in this PR

d-light

attributes-correctness

:white_check_mark: martin/atomic-3000-1ch.xml
:white_check_mark: martin/atomic-3000-3ch.xml
:white_check_mark: martin/atomic-3000-4ch.xml

ecue
ofl
qlcplus

xsd-schema-conformity

:white_check_mark: Martin-Atomic-3000.qxf

Fixture martin/roboscan-812 changed in this PR

d-light

attributes-correctness

:white_check_mark: martin/roboscan-812-tracking.xml
:white_check_mark: martin/roboscan-812-vector.xml

ecue
ofl
qlcplus

xsd-schema-conformity

:x: Martin-RoboScan-812.qxf
Show errors

Element '{http://www.qlcplus.org/FixtureDefinition}Technical', attribute 'DmxConnector': [facet 'enumeration'] The value '3-pin (swapped +/-)' is not an element of the set {'3-pin', '5-pin', '3-pin and 5-pin', '3.5 mm stereo jack', 'Other'}.
Element '{http://www.qlcplus.org/FixtureDefinition}Technical', attribute 'DmxConnector': '3-pin (swapped +/-)' is not a valid value of the atomic type '{http://www.qlcplus.org/FixtureDefinition}connectorType'.
Element '{http://www.qlcplus.org/FixtureDefinition}Technical', attribute 'DmxConnector': [facet 'enumeration'] The value '3-pin (swapped +/-)' is not an element of the set {'3-pin', '5-pin', '3-pin and 5-pin', '3.5 mm stereo jack', 'Other'}.
Element '{http://www.qlcplus.org/FixtureDefinition}Technical', attribute 'DmxConnector': '3-pin (swapped +/-)' is not a valid value of the atomic type '{http://www.qlcplus.org/FixtureDefinition}connectorType'.

Plugin export diff
(Output of test script tests/github/export-diff.js.)
You can run view your uncommited changes in plugin exports manually by executing:
$ node cli/diff-plugin-outputs.js -p <plugin name> <fixtures>
Fixture martin/atomic-3000 modified in this PR
Fixture output to all plugins is checked.
:information_source: Plugin d-light
Outputted files not changed.
:information_source: Plugin ecue
Outputted files not changed.
:information_source: Plugin qlcplus
Outputted files not changed.
Fixture martin/roboscan-812 modified in this PR
Fixture output to all plugins is checked.
:information_source: Plugin d-light
Outputted files not changed.
:information_source: Plugin ecue
Outputted files not changed.
:information_source: Plugin qlcplus
Outputted files not changed.

Broken links
(Output of test script tests/http-status.js.)
There were 0 internal and 3 external links failing.

http://www.adblighting.com/?page=getsupportfile&file=165
https://www.claypaky.it/en/home/
https://www.claypaky.it/media/documents/HR_Sharpy_Manual_05.2016_EN.pdf

Why remove the newline?


Fix 'file in use' issue when renewing token in devicetoken flow

I had a couple of instances where token renewal failed to replace to persisted token. There error message was "file is in use". It checked with procexp to see what was holding the file open and it turns out to be the same process. I tracked it down to here.
Also made the tests work on Windows...

LGTM. Looks awful a lot like #39, because we choose to use json.Decoder. It is considered harmful.

Thanks Paul!


Fix import of closure-action

Fixes #25

Now that the 2.7-beta has been cut, this is a more pressing issue

@martndemus Do you have any spare cycles to work on this? If not I can take over

@poteto Yes, will fix today

@rwjblue is this what you imagined?

LGTM

@homu r+

:pushpin: Commit 10f846c has been approved by poteto

:zap: Test exempted - status


Tabs for plugin configuration

Please describe the feature you would like to see implemented.
Add an option to add tabs for your plugin configuration.
Example

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


GraphQL Breaks on missing Description in FrontMatter

When a blog post is missing a description, the entire site will fail to compile.
Steps to reproduce

Create a new blog post folder and index.html
Include FrontMatter without description

---
title: Park Restaurant
date: "2019-07-13"
---

Attempt to build/develop

Turns out, one post missing description doesn't cause an issue, but if ALL blog posts don't have a description, it throws a fit. Weird.

Where does Gatsby’s GraphQL schema come from?
Looks like this may not be fixable, just need to be aware of it. The GraphQL schema is defined at compile time by the data sources given to it, meaning if no data sources have a field (like description), the schema won't include it.


Add package finalseg

Next time: specify the tags (see the tags I added for an example)

never aware of it before you add it, seems there's no a page like this https://pypi.org/classifiers/
I'll find proper word taged it next time.


[Add]

URL
https://hackernoon.com/
Description of the above provided site
This is a platform where developers and technologists from all walks of life write blog posts about their experiences in tech.
Category
Frontend
Sub Category
"Resources",
"Blogs"

I would like to work on this as I am trying to cover all Open Issues with request to add new resource/links in 1 PR, so It would be great if you "assign" this to me.


Test PR

Ubuntu builds have randomly started failing, checking this
E: Unable to locate package dotnet-sdk-5.0
E: Couldn't find any package by glob 'dotnet-sdk-5.0'
E: Couldn't find any package by regex 'dotnet-sdk-5.0'

https://donsyme.visualstudio.com/TorchSharp/_build/results?buildId=452&view=logs&jobId=80b813b5-9a08-5859-11a8-dc0e5b556e52&j=80b813b5-9a08-5859-11a8-dc0e5b556e52&t=99848337-6ccc-53eb-9c14-1b676ae001b9

We seem to have hit this, trying the fix listed there https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#unable-to-locate--some-packages-could-not-be-installed

Nah it's some Microsoft packages thing down I think. Will try again tomorrow
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-06-16 21:46:57 ERROR 404: Not Found.

The Microsoft Ubuntu package delivery is all busted, see https://github.com/dotnet/core/issues/6381

Should we retire 16.04 support? That's a five-year old release, after all.

Should we retire 16.04 support? That's a five-year old release, after all. Move to 18.04?

The strange thing is that Google CoLab notebooks were running in 16.04 containers last I looked.  For DiffSharp Google CoLab is useful as it gives GPU test machines from notebooks.  It was kind of hellish to debug this problem, so I'd say we keep 16.04 as a binary-compat base for TorchSharp while it's still practical to do so.
What that means in practice is we build the Linux native binaries on 16.04 containers.

How about that? It finally finished the checks!


File.ReadAllText( ... ) crashes UE4

As title says. It happens actually in a library I'm using (conveniently I made that too). UE 4.22.2 crashes without a managed exception. I know it might have something to do with System.IO.File.ReadAllText because that's when UE4 crashed when I was stepping in debug mode.
It has this stacktrace:

or as text:
LoginId:1bfd630647f744751faf1c96c1fd4a63
EpicAccountId:f84e0288fd544283ab12d3e57ba3be21

Unhandled exception

KERNELBASE
clr
clr
clr
clr
clr
clr
clr
UE4Editor_Engine!AActor::DispatchBeginPlay() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:3343]
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() [d:\build\++ue4\sync\engine\source\runtime\engine\private\worldsettings.cpp:253]
UE4Editor_Engine!AGameStateBase::HandleBeginPlay() [d:\build\++ue4\sync\engine\source\runtime\engine\private\gamestatebase.cpp:177]
UE4Editor_Engine!UWorld::BeginPlay() [d:\build\++ue4\sync\engine\source\runtime\engine\private\world.cpp:3948]
UE4Editor_Engine!UGameInstance::StartPlayInEditorGameInstance() [d:\build\++ue4\sync\engine\source\runtime\engine\private\gameinstance.cpp:413]
UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:3341]
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:2466]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:1280]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1532]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3967]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

I will also test this in an isolated project.

the plot thickens, doing just this works perfectly:

    [UClass, BlueprintType]
    public class AMyActor : AActor
    {
        [UProperty, VisibleAnywhere, BlueprintReadOnly]
        public string TestText { get; set; }

        protected override void BeginPlay()
        {
            base.BeginPlay();
            TestText = File.ReadAllText(@"D:\local\UnrealityCore\project.hjson");
        }
    }

non existing file. this is embarrassing, my bad


Container Linux Updates

Tectonic Version
1.6.4-tectonic.1
Environment
AWS
Expected Behavior
Container Linux should auto-update when subscribed to a channel when an update is added to the channel.
Also Tectonic Web console should also not tell me everything is up to date when there a handful of updates that have not been applied.  My cluster was stood up on May 30th and there have been three updates on the stable channel yet all but 2 of my masters are still on 1353.8.0.
Actual Behavior
The Tectonic Console is claiming all my nodes are updated, yet most of the are still on 1353.8.0 and I'm subscribed to stable channel.
3 masters(1 on 1353.8.0 and 2 on 1409.2.0).
6 workers(6 on 1353.8.0)
Here's a screen for one of the workers. Looks like it's checking for updates yet coming back with nothing.

Other Information
I was able to ssh onto nodes and run update_engine_client -check_for_update and force them to check for updates and update themselves.  However this is not the way one should update Container Linux as you well know.
When I ssh into these notes I see the message Update Strategy: No Reboots. Not sure if that means anything or not. The 2 masters that updated both have this too, so I guess I'm kind of confused.  1 of the masters also showed this
Update Strategy: No Reboots
Failed Units: 1
bootkube.service
Maybe that relates to this https://github.com/coreos/tectonic-installer/issues/797
#Feature Request
I'd also like to see a web interface to run on update_engine_client -check_for_update on select nodes or on all nodes in addition to the auto update abilities that I was hoping for.

Some possible useful. My teammate also has a cluster up and his auto upgraded all nodes, both master and workers to the latest.  One difference which may have something to do with this(or not) is my cluster was upgraded from Tectonic 1.6.2-tectonic.1 to 1.6.4-tectonic.1, where his was stood up on 1.6.4-tectonic.1 from the start.

Since no one has responded, I'll provide an explanation of what you are seeing. The Container Linux team throttles OS updates so that in the event there is a bug, it doesn't take out everyone at once. Your machines are hitting the throttle (just like every other machine around the globe), but Tectonic isn't smart enough yet to explain what is going on. update_engine_client -update "fixes" the issue because we've configured manual updates to bypass the throttle. Additionally, the "No Reboots" message can be safely ignored. That mechanism is watching for Locksmith which doesn't run in Tectonic clusters (it's been replaced by the Container Linux update operator).

There are a few different issues at play here, and I'll explain each one. You are correct that this experience is not ideal and we need to enhance it.
MOTD generation
This is a straight up bug. Tracking that issue here: https://github.com/coreos/container-linux-update-operator/issues/88
Container Linux Update Operator architecture
The CLUO orchestrates updates around the cluster via the Kubernetes API, more specifically annotations and labels on the nodes. The centralized CLUO makes decisions about which nodes should update from the pool of nodes that are ready to update. This info comes from each node itself and the update-agent on it, which communicates this up to the Kubernetes API.
Global Update Service
Updates are rolled out with rate limits and other quality assurance measures to keep them safe and consistent. This means that when nodes ask for the latest version, a subset are told about an update and a subset aren't told until a later check.
Tectonic Console
When the Console says a node is up to date, that info is sourced from the node's view of the world, since there are a variety of reasons it can not want to update locally. Local issues like network connectivity can impact communicating with the update server.
We are going to explore updating the Console to check both against the node's local view of "am I up to date?" and the global view of the latest releases.

That helps explain a lot and makes sense. To avoid any throttling can folks run their own Container Linux update server?  I'm guessing there may be security issues that once found orgs will want to have full control on how soon or late the upgrade is applied.

@bobhenkel I believe that is possible today (though I'm fuzzy on the details). The longer term plan is to actually run an instance of Core Update in the cluster itself, so there is no throttling. That will also fix the issue of knowing which machines are out of date.

Consequence of this: the upgrade operator then get stuck on update failed status. And no documentation can be found to clear the status and retry after manual node os update.


Styling of submit button

Description
Sir i want to style the submit button like the other buttons on the page.Please assign this to me under hacktober fest.
Screenshots

Sir please assign this issue to me under hacktoberfest

@guptakshitij2308

The button looks good on the main website !
Which link are you using ?

I would make an impressive button by adding up styles to it. Please assign this to me.


Bug in Sub Navbar

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.0

Platform and Target: ANDROID AND IOS ( USING IOS THEMES )

What you did
If you have one Page with sub Navbar and when you go to next page ( in portait mode ) and next you rotate the phone to  landscape mode ) the buttons navbar preview page stay there.
Expected Behavior
sub navbar be totatly hidded to when I go to next page.
temporary fix I did it:
myApp.onPageBeforeRemove('main-screen', function (page) {
$$(".subnavbarfix").hide();
});
I send hide to subnavbar, so I can rotate my phone and it works fine.
myApp.onPageBack('timeline-calendar', function (page) {
$$(".subnavbarfix").show();
});
Turn back visible the subnavbar when turn back to page.
You can see the problem here:
Main Page OK.

Next Page OK.

Rotate screen to landscape Problem :(

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


feat/adapt code to encrypt/decrypt entries for private MDs

Thanks for the pull request, and welcome! The MaidSafe team is excited to review your changes, and you should hear from @krishnaIndia (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTOR.md for more information.


Return of the multiple save drafts

It turns out there are still circumstances where multiple drafts are saved. I'm providing as much information as possible in the hopes that any of it may be the key:
I was investigating the behavior of the calender widget.
All other fields were empty.
It was between 00:00 and 01:00, which is a time when my date does not match the server date.

Can't reproduce it anymore. Closing.


Update chromedriver version to fix chrome settings tab issue

@NarrativeScience/qa @msmathers
This updates the default version of chromedriver that gets installed for local grunt environments. This is to fix an issue where the chrome setting tab was getting opened while running selenium tests locally.
I verified that this behavior is not happening in jenkins, so I think it makes sense to leave the chromedriver version unchanged there, but let me know if that doesn't seem reasonable.

I think it might be good for the sake on consistency to update the one for jenkins too. So later on, there isn't someone going "why is this version not updated? did it breaking something?"

Decided to stop using this fork, so closing the pr.