Unbreak modules without DBus

(e)logind isn't supported on non-Linux
non-logind services use session/user bus instead

Also, many modules don't use DBus at all.

Can also be applied to gamemode module which mainly uses session bus.

Almost nothing works without dbus anymore.
[2023-07-09 11:01:16.657] [warning] module sway/workspaces: Disabling module "sway/workspaces", Unable to connect to the SYSTEM Bus!...
[2023-07-09 11:01:16.659] [warning] module clock: Disabling module "clock", Unable to connect to the SYSTEM Bus!...
[2023-07-09 11:01:16.660] [warning] module cpu: Disabling module "cpu", Unable to connect to the SYSTEM Bus!...
[2023-07-09 11:01:16.660] [warning] module memory: Disabling module "memory", Unable to connect to the SYSTEM Bus!...
[2023-07-09 11:01:16.660] [warning] module backlight: Disabling module "backlight", Unknown reason
[2023-07-09 11:01:16.660] [warning] module battery: Disabling module "battery", Unable to connect to the SYSTEM Bus!...


Links with disabled Turbolinks are still being processed by library

In html I have a link annotated with data-turbolinks="false", but clicking this link in Android app triggers method visitLocationWithAction to be called with action advance. Also, it is not clear, how should I catch such links, since TurbolinksAdapter does not have any dedicated callback.

I'm not sure how that would be possible, but I'd be happy to look at some provided code.
You may want to double check your Rails code to ensure a Turbolinks visit isn't firing. If a standard  is being fired, nothing would tell the Turbolinks Javascript to fire, and the webview would do a normal loadUrl().
This would put Turbolinks Android in an unexpected state, so you'd want to handle it another way. But it still shouldn't fire a TL visit from the Rails side.
Closing for now, but will re-open if you have more comments/code to share.

Hi @lateplate I'm hitting this bug on a Turbolinks Android 1.0.6 app. You can find the live code for this on http://stemapp.appsfordemocracy.nl/vote_events/index?year=2017 on the buttons "Bekijk deze motie", which have a data-turbolinks="false" attribute.
The Android side is pretty much a blank slate implementation of a TurbolinksAdapter interface (see below). I've added a debug call to prove that the visitProposedToLocationWithAction callback is called when clicking the button with the data-turbolinks="false" attribute.
package com.michielsikkes.utrecht.stemapp;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

import com.basecamp.turbolinks.TurbolinksAdapter;
import com.basecamp.turbolinks.TurbolinksSession;
import com.basecamp.turbolinks.TurbolinksView;

public class MainActivity extends AppCompatActivity implements TurbolinksAdapter {
    private static final String BASE_URL = "http://stemapp.appsfordemocracy.nl";
    private static final String INTENT_URL = "intentUrl";

    private String location;
    private TurbolinksView turbolinksView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        turbolinksView = (TurbolinksView) findViewById(R.id.turbolinks_view);
        TurbolinksSession.getDefault(this).setDebugLoggingEnabled(true);

        location = getIntent().getStringExtra(INTENT_URL) != null ? getIntent().getStringExtra(INTENT_URL) : BASE_URL;

        TurbolinksSession.getDefault(this)
                .activity(this)
                .adapter(this)
                .view(turbolinksView)
                .visit(location);
    }

    @Override
    public void onPageFinished() {

    }

    @Override
    public void onReceivedError(int errorCode) {

    }

    @Override
    public void pageInvalidated() {

    }

    @Override
    public void requestFailedWithStatusCode(int statusCode) {

    }

    @Override
    public void visitCompleted() {

    }

    @Override
    public void visitProposedToLocationWithAction(String location, String action) {
        Log.d("STEMAPP_DEBUG", "visit not external");
        Intent intent = new Intent(this, MainActivity.class);
        intent.putExtra(INTENT_URL, location);
        this.startActivity(intent);
    }

    @Override
    protected void onRestart() {
        super.onRestart();

        // Since the webView is shared between activities, we need to tell Turbolinks
        // to load the location from the previous activity upon restarting
        TurbolinksSession.getDefault(this)
                .activity(this)
                .adapter(this)
                .restoreWithCachedSnapshot(true)
                .view(turbolinksView)
                .visit(location);
    }
}

Some more info: I can actually verify that my "turbolinks:before-visit" is not triggered when clicking an external link or a link with data-turbolinks="false". However, the link still seems to trigger a call to visitProposedToLocationWithAction so it fails to load an actual external browser, but still tries to execute the URL as new activity in the app.

For now, the only workaround to open an external URL for me is having this function. But that doesn't really solve the data-turbolinks="false" attribute problem yet.
    @Override
    public void visitProposedToLocationWithAction(String location, String action) {
        if(!location.contains(BASE_URL)) {
            Intent i = new Intent(Intent.ACTION_VIEW);
            i.setData(Uri.parse(location));
            startActivity(i);
        } else {
            Intent intent = new Intent(this, MainActivity.class);
            intent.putExtra(INTENT_URL, location);
            this.startActivity(intent);
        }
    }

We have fairly vanilla Android and iOS turbolinks apps and we're seeing this same behavior.
turbolinks-android triggers callbacks to visitProposedToLocationWithAction on  clicks that have the data-turbolinks="false" attribute set. (The iOS app correctly opens these in an external browser without calling didProposeVisitToURL).
Can this issue be re-opened? I will provide more debugging info shortly. Thank you.

Here is a small reproducible test case using the demoapp as a starting point. I could be misusing the library but this same scenario is handled by turbolinks-ios.
Steps to Reproduce

Configure a local or test server to return the index.html contents below (in this example <IP_ADDRESS>:8081 is used).
Apply the diff below to the demoapp's MainActivity.java for debugging purposes:
Run the app and click on the first link, then click on the second link
and search the logs for issue#64.

Expected Behavior
Clicking the second link should open an external browser because it has the data-turbolinks="false" attribute
Actual Behavior
Turbolinks Android library attempts to handle both clicks. Here is the log output from attempting to visit google.com (second link):
D/TurbolinksLog: Overriding load: https://www.google.com/
I/issue#64: visitProposedToLocationWithAction() called with https://www.google.com/
D/TurbolinksLog: Visiting current stored location: https://www.google.com/
I/chromium: [INFO:CONSOLE(5)] "Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'https://www.google.com/' cannot be created in a document with origin 'http://<IP_ADDRESS>:8081' and URL 'http://<IP_ADDRESS>:8081/index.html'.", source: https://cdnjs.cloudflare.com/ajax/libs/turbolinks/5.0.3/turbolinks.js (5)
I/chromium: [INFO:CONSOLE(0)] "XMLHttpRequest cannot load https://www.google.com/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<IP_ADDRESS>:8081' is therefore not allowed access. The response had HTTP status code 405.", source: http://<IP_ADDRESS>:8081/index.html (0)

Minimal index.html to be served locally
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Links with disabled Turbolinks are still being processed by library #64</title>

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

Links with disabled Turbolinks are still being processed by library #64

Here is a link that should be handled by turbolinks

Here is a link that should not be handled by turbolinks

MainActivity.java diff
+++ b/demoapp/src/main/java/com/basecamp/turbolinks/demo/MainActivity.java
@@ -3,6 +3,7 @@ package com.basecamp.turbolinks.demo;
 import android.content.Intent;
 import android.os.Bundle;
 import android.support.v7.app.AppCompatActivity;
+import android.util.Log;

 import com.basecamp.turbolinks.TurbolinksSession;
 import com.basecamp.turbolinks.TurbolinksAdapter;
@@ -10,7 +11,7 @@ import com.basecamp.turbolinks.TurbolinksView;

 public class MainActivity extends AppCompatActivity implements TurbolinksAdapter {
     // Change the BASE_URL to an address that your VM or device can hit.
-    private static final String BASE_URL = "http://<IP_ADDRESS>:9292";
+    private static final String BASE_URL = "http://<IP_ADDRESS>:8081";
     private static final String INTENT_URL = "intentUrl";

     private String location;
@@ -91,6 +92,7 @@ public class MainActivity extends AppCompatActivity implements TurbolinksAdapter
     // routing logic to take you to the right place within your app.
     @Override
     public void visitProposedToLocationWithAction(String location, String action) {
+        Log.i("issue#64", "visitProposedToLocationWithAction() called with " + location);
         Intent intent = new Intent(this, MainActivity.class);
         intent.putExtra(INTENT_URL, location);


SAK-31286 - Remove remaining references to dashboard

Nice. LGTM

I think this shouldn't be merged in master because in master dashboard is present, this change has only sense in 11.x branch. I can merge this one into 11.x and later restore this in master, with another PR.

Yeah, that makes sense, i can revert and remerge into 11.x.


RUSTSEC-2020-0159

Cargo audit reports the following:
client-sdk-rust]$ cargo audit
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 405 security advisories (from /home/brian/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (151 crate dependencies)
Crate:         chrono
Version:       0.4.19
Title:         Potential segfault in `localtime_r` invocations
Date:          2020-11-10
ID:            RUSTSEC-2020-0159
URL:           https://rustsec.org/advisories/RUSTSEC-2020-0159
Solution:      No safe upgrade is available!
Dependency tree:
chrono 0.4.19
└── momento 0.1.0

Crate:         time
Version:       0.1.44
Title:         Potential segfault in the time crate
Date:          2020-11-18
ID:            RUSTSEC-2020-0071
URL:           https://rustsec.org/advisories/RUSTSEC-2020-0071
Solution:      Upgrade to >=0.2.23
Dependency tree:
time 0.1.44

error: 2 vulnerabilities found!

If possible, it might be better to avoid using chrono - according to cargo tree it looks like time 0.1.44 is only in the dependency tree due to chrono 0.4.19. It seems that if the code can be refactored to avoid chrono, that both RUSTSEC advisories would be addressed.
We may want to add cargo audit into the CI workflow as well.

Just for context, we took a dependency on chrono for supporting a new API that displays a timestamp in human-readable format and I'm not familiar with any other Rust library that can parse timestamps and calculate time deltas like chrono does.
Looking at https://github.com/chronotope/chrono/issues/499 it looks like there are some open PRs ready to be merged and fixed when chrono-0.4.20 is released which should address this

We may want to add cargo audit into the CI workflow as well.
That's a great idea, might be worth introducing as long as we are okay with overriding merges when we hit scenarios like these

The vulnerable chrono dependency was removed in https://github.com/momentohq/client-sdk-rust/pull/124


No method to close or clear the current entry in the autocomplete box?

I've reviewed the source/demo and can't seem to find a way to programmatically clear the autocomplete box. Would be great to have a way to do this.

@forensicmike The next release is going to feature a ClearSelection() method.
As a temporary solution you can set the SelectedItem and SearchTerm properties to null.


0pdd

@rultor merge

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (54e8b5e) compared to base (8e4315e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##              master        #9   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity         2         2
===========================================
  Files              1         1
  Lines              5         5
===========================================
  Hits               5         5

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)


Does crux belong here as well?

Hi @SSYH perhaps we should have clarified with "XTDB (formerly Crux)" - sorry for the confusion! But yeah...we re-named it :) see https://twitter.com/xtdb_com/status/1435593730921218058

We can remove this in a couple months, but I've mentioned the rename to avoid future confusion:
https://github.com/clojurelog/clojurelog.github.io/commit/874e9b2634febf401d46078e8352061a3280516f


[BUG] Error response from daemon: manifest for rancher/rancher:v2.8.6 not found: manifest unknown: manifest unknown

Rancher Server Setup

Rancher version:
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:

Describe the bug

To Reproduce

Result
Expected Result

Screenshots

Additional context

Duplicate of https://github.com/rancher/rancher/issues/46562


Develop

Added rockphysics/rpm.py to implement the following rock physics models: critical porosity, hertz-mindlin, soft sand, stiff sand, cemented sand.
Added rockphysics/rpt.py to implement a rock physics template in the acoustic impedance versus Vp/Vs domain to overlay on existing well data. Uses models from rpm.py and a Voigt-Reuss-Hill averaging function coded within rpt.py (need to make it more general and use bruges existing averaging functions).
Modified rockphysics/fluidsub.py to add Mavko's approximation of Gassmann's equation, useful to do fluid replacement when no shear waves are available.

Added this code manually... longest PR ever, sorry AADM :)


⚠ Bofrost.at has degraded performance

In 05ef9de, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2143 ms

Resolved: Bofrost.at performance has improved in 4268812.


Cannot compile when referencing nested files

Hey,
First of all, great solution! Thanks!
Version<EMAIL_ADDRESS>, SPFx version 1.10
It seems that there is an issue causing the compilation error when importing directly from file. For example this doesn't work:
SCSS import:
@import '~office-ui-fabric-react/dist/sass/_References.scss';
Error: TS2307: Cannot find module './DataSourcePlaceHolder.module.scss'

Hi,
but why don't you use @import '~office-ui-fabric-react/dist/sass/References.scss';?

Sorry doesn't work in both cases, it was just a typo.

I have a sample folder in this repo with the default web part and office-ui-fabric-react scss import and it works.
I guess it's not related to the import. If you remove the import, doest it work?

I also tested with SP Starter Kit, it has a lot of @import<EMAIL_ADDRESS>imports, no issues.

Interesting, still doesn't work - as in other files without the import it works as expected. I will try to figure out what is going on there and provide some more information.
Thanks for your immediate responses.

@siata13 I added a few fixes regarding your issue in the latest 1.10.2 version.
Just install it npm install spfx-fast-serve, then run spfx-fast-serve, then npm install and finally npm run serve.
Please tell me if this version works for you. If you still see the Cannot find module, then try to check steps from this known issue

@s-KaiNet I still have an issue with the version 1.10.3. It seems that the *.scss.d.ts moduels are not generated automatically no matter if I save the .scss or .tsx file.

That's weird...Could you tell me which OS do you use and which nodejs version?
Also, could you try scaffolding a brand new HelloWorld webpart with yeoman, then add spfx-fast-serve and check if it works for you?

An additional thing to check - for those files where you see the error, do you use them in your solution? Because if they are not in a bundle, they don't generate corresponding .scss.d.ts definitions.

@s-KaiNet Hey, sorry for late answer.
In fact that was the legacy code in my app, that hasn't been used anymore but still had couple of references which was misleading as it at the end the component hasn't been included in the final bundle.
Thanks a lot for your help! This project is brilliant!


Prevention against this attack

Hi Adnan, thank you so much for this PoC and the related blog post! Super interesting!
If I got everything from your findings, could we state that a general procedure to avoid being hit by a cache poisoning attack is never restoring caches from the main branch, regardless the Workflow?
In addition, is this a vulnerability only related to actions/restore provided by Github, or would it impact any other public GHA that build on top of common actions/toolkit building blocks (eg, https://github.com/gradle/actions/blob/main/setup-gradle/action.yml )?
Thanks in advance!

Hi @ubiratansoares, the correct procedure for avoiding a cache poisoning attack is to never run untrusted/unreviewed code in the context of the default branch of a repository (typically main).
This technique applies to any action that builds on top of actions/toolkit. In particular the cache hit and unzip part of it.

All right then! Thanks again!


fix wrong struct json tags

This PR is just for wrong json struct tags syntax, which isn't intended but works well with arangodb server 3.0 and below.
In arangodb server 3.1, arangolite panic when creating graph with OrphanCollections is nil, something like:
_, err = db.Run(&arangolite.CreateGraph{Name: roleGraph, EdgeDefinitions: edges})
if err != nil {
        panic(err)
}

panic with message:
$ go test -race -v .
panic: child "orphanCollections" fails because ["orphanCollections" must be an array]
...

Coverage remained the same at 95.761% when pulling bee4f22e3cafb728aafcdd849c1e11b5ab13d459 on Gnouc:master into 0af1aa9d75a45b5a7ce90b256b76d3f4824f4aee on solher:master.

Thanks a lot for your help :)


Correct the 'list organizations' REST API endpoint description.

@jameshill / @JuanitoFatas , please feel free to approve this and once done, I'll merge it


Update shortpath.md

Specify allowed destination port ranges for Network Security Group

@alankinane : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[DOCFIX] Logging improvements

Original TODOs (strikethrough for things I consider done):
TODO: Combine with Remote-Logging
TODO: Split into client logging and server logging. Client logging goes under "Advanced".
TODO: Order of the sections seems pretty arbitrary at the moment. We can improve it to be more operation-focused. Something like this:
Client logs page:

Log Location

How do users find Alluxio client logs? This will vary by application. Each Compute Application doc should have some information about how to locate logs and set log level.

Changing log level
Remote logging

Send client logs to remote log server

Server logs page:

Log Location

Where are logs by default
Configure Log Location

Changing log level

Via configuration
Via shell

Remote logging

Deploy remote log server
Send server logs to remote log server

The one big thing I still need to do is add a short logging section to each compute framework doc

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/492/
Test PASSed.

@aaudiber before I make the next set of changes, what do you think about putting a logging section underneath the "Advanced Setup" section of each compute framework?

If there's a troubleshooting section, maybe we could put it there? Otherwise under "Advanced Setup" sgtm

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/508/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/509/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/515/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/518/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/523/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/524/
Test PASSed.


Update Installation Instructions

Description
Some users cannot simply follow the current cargo install instructions, requiring the user to build from source. I updated the file to reflect this, linking developers to build-from-source instructions.
I omitted the rest of the checklist due to this change being a simple install documentation update.

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

This PR duplicates #1225. I'm merging that PR so I'm going to close this one.

@pgray-hiro Darn, sorry I missed it when looking. Cheers!


 They don't even load in a service like XAMPP or LAMPP to test...
It is very poorly documented installation and there are no error files.
On the Hostinger server it simply does not load the initial page and does not indicate the possible error and where to find it...
There is also no access to previous versions.
The one who makes a good installation script for Softacoulus or Fantastico is assured a prize...

I think you have some issues with your PHP environment. The server requirements can be found at https://ph7builder.com/doc/en/requirements
Thank you for sharing your frustrations, but it's a bit hard to help you here with only little information about the reason/error why it doesn't work for you.

I'm just getting going on PH7.  Did you find a way to load using XAMPP?


Configure formatting and format the code

sets up the Black python formatting tool and formats the code

Actually @tebuevd, I've invited to the repo as as collaborator. Once you accept that I believe you can merge this


While walking the bot crash, related issue post here

Expected Behavior
No errors while bot is working, i related issue where this fix
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2442
and i related issues where have similar errors maybe are the same but results are different
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3181
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3238
Actual Behavior
While walking in one hour this fail, latest pull and latest pip2 requeriments, my config file
{
    "auth_service": "google",
    "username"<EMAIL_ADDRESS>    "password": "xxxx",
    "location": "xxxx",
    "gmapkey": "xxxxxx ",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Pokeball":       { "keep" : 10 },
            "Greatball":      { "keep" : 80 },
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 20 },
            "Revive":         { "keep" : 20 },
            "Razz Berry":     { "keep" : 60 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 14,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "Metapod": {"keep_best_cp": 2},
      "Kakuna": {"keep_best_cp": 2},
      "Pidgeotto": {"keep_best_cp": 2},
      "Raticate": {"keep_best_cp": 1},
      "Arbok": {"keep_best_cp": 2},
      "Sandslash": {"keep_best_cp": 2},
      "Golbat": {"keep_best_cp": 2},
      "// Example of keeping 2 or 10 stronger (based on CP) Pidgey:": {},
      "Pidgey": {"keep_best_cp": 10},
      "Caterpie": {"keep_best_cp": 2},
      "Weedle": {"keep_best_cp": 2},
      "Rattata": {"keep_best_cp": 2},
      "Ekans": {"keep_best_cp": 2},
      "Zubat": {"keep_best_cp": 2},
      "Magnemite": {"keep_best_cp": 2},
      "Doduo": {"keep_best_cp": 2},
      "Shellder": {"keep_best_cp": 2},
      "Horsea": {"keep_best_cp": 2},
      "Cubone": {"keep_best_cp": 2},
      "Rhyhorn": {"keep_best_cp": 2},
      "Paras": {"keep_best_cp": 2},
      "Omanyte": {"keep_best_cp": 2},
      "Jigglypuff": {"keep_best_cp": 2},
      "Nidoran♂": {"keep_best_cp": 2},
      "Venonat": {"keep_best_cp": 2},
      "Spearow": {"keep_best_cp": 2},
      "Sandshrew": {"keep_best_cp": 2},
      "Meowth": {"keep_best_cp": 2},
      "Psyduck": {"keep_best_cp": 2},
      "Mankey": {"keep_best_cp": 2},
      "Poliwag": {"keep_best_cp": 2},
      "Staryu": {"keep_best_cp": 2},
      "Abra": {"keep_best_cp": 2},
      "Machop": {"keep_best_cp": 2},
      "Tentacool": {"keep_best_cp": 2},
      "Geodude": {"keep_best_cp": 2},
      "Ponyta": {"keep_best_cp": 2},
      "Drowzee": {"keep_best_cp": 2},
      "Krabby": {"keep_best_cp": 2},
      "Voltorb": {"keep_best_cp": 2},
      "Cubone": {"keep_best_cp": 2},
      "Goldeen": {"keep_best_cp": 2},
      "Magikarp": {"keep_best_cp": 2},
      "Bulbasur": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Charmander": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Squirtle": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Pikachu": {"keep_best_cp": 5, "keep_best_iv": 1},
      "Growlithe": {"keep_best_cp": 2, "keep_best_iv": 1}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}

    }
}

pip install -r requirements.txt

git pull origin dev

is from 9-aug-2016
principal error

"Max retries exceeded with url: /collect"

More down log of error
Traceback (most recent call last):
  File "pokecli.py", line 521, in <module>
    main()
  File "pokecli.py", line 95, in main
    bot.tick()
  File "/home/jonathan/poke/PokemonGo-Bot/pokemongo_bot/__init__.py", line 445, in tick
    self.health_record.heartbeat()
  File "/home/jonathan/poke/PokemonGo-Bot/pokemongo_bot/health_record/bot_event.py", line 65, in heartbeat
    self.track_url('/heartbeat')
  File "/home/jonathan/poke/PokemonGo-Bot/pokemongo_bot/health_record/bot_event.py", line 78, in track_url
    'http://www.google-analytics.com/collect', data=data)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/api.py", line 111, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/api.py", line 57, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/sessions.py", line 585, in send
    r = adapter.send(request, **kwargs)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/adapters.py", line 467, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.google-analytics.com', port=80): Max retries exceeded with url: /collect (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f680029e410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2016-08-09 11:13:05,533 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
    super(ThreadedHTTPTransport, self).send(data, headers)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
    ca_certs=self.ca_certs,
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
    return opener.open(url, data, timeout)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
    response = self._open(req, data)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
    '_open', req)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
    return self.do_open(ValidHTTPSConnection, req)
  File "/home/jonathan/poke/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python2.7/httplib.py", line 1057, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 895, in _send_output
    msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
2016-08-09 11:13:05,534 [sentry.errors.uncaught] [ERROR] [u"ConnectionError: HTTPConnectionPool(host='www.google-analytics.com', port=80): Max retries exceeded with url: /collect (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f680029e410>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))", u'  File "pokecli.py", line 521, in <module>', u'  File "pokecli.py", line 95, in main', u'  File "pokemongo_bot/__init__.py", line 445, in tick', u'  File "pokemongo_bot/health_record/bot_event.py", line 65, in heartbeat', u'  File "pokemongo_bot/health_record/bot_event.py", line 78, in track_url', u'  File "requests/api.py", line 111, in post', u'  File "requests/api.py", line 57, in request', u'  File "requests/sessions.py", line 475, in request', u'  File "requests/sessions.py", line 585, in send', u'  File "requests/adapters.py", line 467, in send']

Steps to Reproduce
Reproduce make the comand

python pokecli.py -cf ./configs/config.json

and later of success and later of large time the bot crash
Other Information
OS:  Ubuntu 16.04
Git Commit: 0f2bddd26675c5232b2e9f4e83dc6525c41a842d
Python Version: Python 2.7.12 (default, Jul  1 2016, 15:12:24) ; [GCC 5.4.0 20160609] on linux2

: HTTPConnectionPool(host='www.google-analytics.com',
"health_record": true, -> "health_record": false,

@Philipp59 Testing this configuration, thanks for your comment

Thanks @Philipp59 working from more one hour the configuration
for all people that have the problem put helth_record : false
{
    "auth_service": "google",
    "username"<EMAIL_ADDRESS>    "password": "xxxx",
    "location": "xxxx",
    "gmapkey": "xxxxxx ",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Pokeball":       { "keep" : 10 },
            "Greatball":      { "keep" : 80 },
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 20 },
            "Revive":         { "keep" : 20 },
            "Razz Berry":     { "keep" : 60 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 14,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": false,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "Metapod": {"keep_best_cp": 2},
      "Kakuna": {"keep_best_cp": 2},
      "Pidgeotto": {"keep_best_cp": 2},
      "Raticate": {"keep_best_cp": 1},
      "Arbok": {"keep_best_cp": 2},
      "Sandslash": {"keep_best_cp": 2},
      "Golbat": {"keep_best_cp": 2},
      "// Example of keeping 2 or 10 stronger (based on CP) Pidgey:": {},
      "Pidgey": {"keep_best_cp": 10},
      "Caterpie": {"keep_best_cp": 2},
      "Weedle": {"keep_best_cp": 2},
      "Rattata": {"keep_best_cp": 2},
      "Ekans": {"keep_best_cp": 2},
      "Zubat": {"keep_best_cp": 2},
      "Magnemite": {"keep_best_cp": 2},
      "Doduo": {"keep_best_cp": 2},
      "Shellder": {"keep_best_cp": 2},
      "Horsea": {"keep_best_cp": 2},
      "Cubone": {"keep_best_cp": 2},
      "Rhyhorn": {"keep_best_cp": 2},
      "Paras": {"keep_best_cp": 2},
      "Omanyte": {"keep_best_cp": 2},
      "Jigglypuff": {"keep_best_cp": 2},
      "Nidoran♂": {"keep_best_cp": 2},
      "Venonat": {"keep_best_cp": 2},
      "Spearow": {"keep_best_cp": 2},
      "Sandshrew": {"keep_best_cp": 2},
      "Meowth": {"keep_best_cp": 2},
      "Psyduck": {"keep_best_cp": 2},
      "Mankey": {"keep_best_cp": 2},
      "Poliwag": {"keep_best_cp": 2},
      "Staryu": {"keep_best_cp": 2},
      "Abra": {"keep_best_cp": 2},
      "Machop": {"keep_best_cp": 2},
      "Tentacool": {"keep_best_cp": 2},
      "Geodude": {"keep_best_cp": 2},
      "Ponyta": {"keep_best_cp": 2},
      "Drowzee": {"keep_best_cp": 2},
      "Krabby": {"keep_best_cp": 2},
      "Voltorb": {"keep_best_cp": 2},
      "Cubone": {"keep_best_cp": 2},
      "Goldeen": {"keep_best_cp": 2},
      "Magikarp": {"keep_best_cp": 2},
      "Bulbasur": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Charmander": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Squirtle": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Pikachu": {"keep_best_cp": 5, "keep_best_iv": 1},
      "Growlithe": {"keep_best_cp": 2, "keep_best_iv": 1}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}

    }
}


Codepen Examples Broken

All the Codepen examples broke due to naming changes in version 0.0.12.

@rbiggs Yes, I'm fixing them now. 👍

JSX one is working already. http://codepen.io/jbucaran/pen/ggjBPE

I noticed. By the way, when do you sleep?

Congrats! 👏
El mar., 7 feb. 2017 18:58, Robert Biggs<EMAIL_ADDRESS>escribió:

I noticed. By the way, when do you sleep?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperapp/hyperapp/issues/56#issuecomment-278084906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAdIbAdSTYi5kciW7iFqoiqenasW5f4ks5raLC3gaJpZM4L501d
.

@rbiggs All examples updated.
For those interested in the new HyperApp + JSX integration, check out this collection of pens.
HyperApp + JSX

I forked your Codepen counter example and made it pretty :-P. http://codepen.io/rbiggs/pen/zNJGNz

@rbiggs Sweet! 👌

Now I did the todos example: http://codepen.io/rbiggs/pen/BpOoNz
Making this link back to here.

@jbucaran @rbiggs I am running into some weird issue with JSX.
The initial component renders fine, but no events fire any updates 🤔
http://codepen.io/selfup/pen/WRgOrR?editors=0110

I believe your events should be onclick instead of onClick, and likewise for onkeyup and onkeydown.

I tried that, but I can try again. I was under the impression that JSX preffered onClick? TIL 👍

@tzellman omg that totally worked! I guess React prefers onClick vs. onclick
This can get messy with people using the class keyword, but that can be mitigated 😄

@selfup JSX is transformed to createElement, which is the agent parsing the string "onClick".
Similarly, with HyperApp, when using the pragma comment directive /** jsx h */, the one parsing the event name is the function h.
We could simply introduce a prop.toLowerCase()... 🤔

@jbucaran that could be very nice! Nice thought

Cool! I am by no means a JSX expert, I just tried the changes in your pen and it worked. TIL for me as well. :-)

Ok whew I just made a mistake editing when using cmd + d I had:
const direction = e.target.classNameName;

instead of className :rofl:
False ⏰

I'd say it's best to automatically convert case for users to avoid unintended errors. Typing habits can be hard to break.

@selfup False ⏰

You mean something's broken? 🤔

@rbiggs Okay.
The relevant code is probably this.
Can you make a PR w/ that? I'll merge-ge-ge it.

@jbucaran I just meant False Alarm. I made a typo 😂


Unknown network calls at startup (?)

Based on feedback on Play store, the app tries to open network connection upon opening. If this is the case, most likely it's originated from a dependency. Investigate the issue, and remove the network calls if there are any.

Using the previous Expo version a network call was made to Facebook, even if no Facebook services were used. (https://github.com/expo/expo/issues/4827)
I've upgraded to the latest Expo which fixed this problem.


ICE finds my emulators but no ROMs

I have my files set up as so:
Consoles.txt
[Super Nintendo]
nickname=SNES
emulator=Snes9x
emulators.txt
[Snes9X]
location=H:\Games\Emulation\Nintendo\SNES\Emulators\SNES9X\snes9x-x64.exe
command=%l -fullscreen %r
config.txt
ROMs Directory=H:\Games\Emulation\Nintendo\SNES\Games\Favorites
The ROM directory is where my SNES ROMs I want to use for this are.
When I run ICE, I get a window that looks like this:
http://i.imgur.com/iS5uNzq.jpg
Upon starting Steam, no SNES games are found there.
Now, given that it apparently detects my Emulator, I don't understand why it won't detect my ROMs. I even tried variations of the config.txt, where I left it blank, and then dumped a single ROM into my Users\ROMs folder it had created, then ran ICE again, but it didn't work. I also noticed that, upon my initial attempt at this, it created a SNES folder at the specifed ROMs directory, and I tossed one in there and ran it again, still nothing in Steam.
Here is a log file from my attempts:
[08/02/15 23:00:27] =========================Starting Ice
[08/02/15 23:00:27] Detected Emulator: Snes9X
[08/02/15 23:00:27] Emulator 'Snes9x' not found for Super Nintendo. Ignoring
[08/02/15 23:00:27] ---------------Running for user 69751436
[08/02/15 23:00:27] ---Downloading grid images
[08/02/15 23:00:27] =========================Finished
What am I doing wrong?

Updating: the Consoles.txt needed to say Snes9X (capital X, not lowercase), and it worked. Lol.


[feature request] Implement grasshoppers

In ordinance with the rules of Hive, the grasshopper piece must be implemented. A grasshopper piece must abide to the following rules:

A grasshopper moves by making a jump in a straight line to a field immediately behind another stone in the direction of the jump.
A grasshopper may not move to the square where it is already standing.
A grasshopper must jump over at least one stone.
A grasshopper may not jump to an occupied field.
A grasshopper may not jump over empty squares. This means that all fields between the start and end positions must be occupied.

59b8a8a0ce5dc625d5aac2a7671caac87d520fb5


Make enemy hitboxes more generous for the player

Enemies can be difficult to hit with the laser or missile.
Missiles will occasionally appear to hit enemies, but deal no damage.
Friendly lasers have the weakest hit registration of all current weapon.
Shotgun does not appear to have these issues.

Should get resolved by #106


Vit topomoe

Added the vit config via topomoe

Thanks @RBZ-99! I'm going to try to make some quick edits on your PR branch. Hope that's ok, I think it will be faster than doing a review.

Sure, feel free to edit whatever you want

Ok I think this is good to go now.


Fixed firefox link in README

Changed japanese firefox link to universal one for better international support

I didn't notice...
Thank you!


Have option for change volume?

Before installing it I wanted to know if you have options to change the volume of the TV

I haven't seen it documented on the README, but when you are within the Remote Control on your iOS device, the hardware volume keys will control the TV device.

Hi pbendersky!, I have already tried that option to do it with the iOS Remote App, my Sony TV does not work for me, I do not know if it is because it is a little old (2015) with Android, it is thinking and there is no way. In the end I decided to use the 2.5.2 de SeydX version that works well to control the volume level directly with a button without using the Apple remote.
v2.5.2 https://github.com/SeydX/homebridge-sonybravia-platform
Thank you very much friend!

Hi @pbendersky is this on the AppleTV remote app your referring too?

Currently working on v4 and there will be some major changes


Best way to integrate virial and stress calculation with allegro?

There have been multiple attempts that aims at integrating the virial and stress into nequip and allegro: nequip pull request, pair-allegro stress branch, etc. However, I haven't found a comprehensive tutorial to integrate virial and stress calculation with the allegro model yet. I understand that the stress feature is under development, but if I would like to test with the existing features, which branch should I use for nequip, allegro and pair-allegro? Thanks in advance!

Hi @yzjin ,
Thanks for your interest in our work!
You should currently use the develop branch of nequip, any branch of Allegro, and pair_allegro here.


Tunneling over HTTP/2

@rjeczalik I took your tip and did an experiment to replace yamux with HTTP/2. At first I wanted to make it a small change but it turned out that there were many incompatibilities so I decided to start fresh.
I did a POC that can proxy HTTP and TCP and uses ProxyFunc design (no default functions yet). It turns out that the implementation can be really short and concise with http2 package. Server is ~300LOC and client ~100LOC (mostly consumed by structs and comments). The code is available at https://github.com/mmatczuk/h2tun.
Performance using HTTP/2 is slightly better than using yamux but I think the key benefit is improved stability, you can see a report that I wrote https://github.com/mmatczuk/h2tun/blob/master/benchmark/report/README.md.
This implementation follows a similar design that the current tunnel, I'd like to highlight some changes here

There is no identifier sent by client, instead certificate pinning is used
ProxyFunc takes io.Writer and io.Reader instead of net.Conn
ControlMessage is changed, protocol is a string, it has extra fields, in general it follows some version of Forwarded HTTP Extension https://tools.ietf.org/html/rfc7239.

It's a POC, some things that exists in the tunnel should be migrated to make it truly usable. I also have some new ideas you can see in https://github.com/mmatczuk/h2tun/blob/master/TODO.md.
Please let me know what do you think.
I'd be really grateful for a review if find some time.
Cheers.
cc @cihangir

@mmatczuk This is so cool! I will definitely take a look soon!

Hi @rjeczalik did you find time to have a closer look?

@mmatczuk Yes sir, took a look. Really nice implementation, however I'm wondering how it'd be possible to use raw TCP/WebSocket without wrapping the stream with TLS handshake. In particular how we could e.g. ssh tunnelserver:12345, where :12345 is a server-side TCP listener that tunnels the connection to client.

@rjeczalik thanks for the effort. Addressing your concerns the problem might be that TLS client sees  that server certificate and host do not match... On that front TCP and WS are quite a different beasts.
For WS you can run Server on any http server as it's http.Handler so you could fallback to plain http. The way it works with server on https thought is that you have tree separate TLS connection not one end-to-end (if you want ent-to-end TCP proxing can do the job). When Server proxies a request it's agnostic of type of the connection to the server, except that you can check the scheme. Client must open a TLS connection to the end service (if it's required). In practice you can add TLS to services that run on http or take https off, this is a standard stuff that http proxies can do.
SSH should work just fine as it seems not to care i.e.
mmatczuk@shark:~$ ssh ubuntu@foobar
The authenticity of host 'foobar (XX.XX.XXX.XXX)' can't be established.
ECDSA key fingerprint is c2:6b:94:48:51:f6:8b:f6:32:c8:9a:cd:43:17:48:bd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'foobar' (ECDSA) to the list of known hosts.

On server you do net.Listen("tcp", ":12345"), than you proxy anything regardless if it's TLS or not and on client side you do a net.Dial to TLS backend so you get a TCP connection and then proxy TLS handshake. As you know TLS wraps TCP connections (see listening and wrapping).
Anyway I'd like to start making h2tun production ready (on elementary level) by:

Adding dynamic client management on server
Moving client connections description (from AllowedClient) to ClientConfig so that, client informs server what it wants on connect
Migrating default proxy functions
Adding WS support

Then I will add examples to cover your concerns as well.
Have an awesome weekend!

@mmatczuk Got it, on server side we use plain net.Listener than listen on TCP, we accept connection on public endpoint and multiplex the stream over http2 connection to client, and client proxies raw tcp back to the service. For WS we use http1, upgrade and again stream hijacked TCP over the same http2 connection. I've noticed piece of code that initializes http.Client with only http2.Transport so I thought we do not use http1. All clear and sound. I'm wondering, while we're at a major rewrite, whether we could change the proto a bit and instead of returning just VirtualHostname we could return full URI (so it'd be possible to support path-routing #).

change the proto a bit and instead of returning just VirtualHostname we could return full URI

This is done to some extent see here, this allows for Client to do the dispatching. What I'd like to do, however, is to enable Server to do dispatching to different clients as well, see point 8 in TODO. The final solution would be to replace host with collection of urlprefix- like expressions.
Note that host and URL path are separated in h2tunc control message (unlike in URI) this is to remove port. The current koding tunnel has some difficulties if you do not run server on default port or if you simultaneously run on http and https. H2tun ignores port as server is agnostic of how it's being run and client should know nothing about it.


[FLINK-4248] [core] [table] CsvTableSource does not support reading SqlTimeTypeInfo types

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

This PR implements parsers for SQL Date/Time/Timestamp and tests. It also tests if the new parsers can be used in the RowCsvInputFormat.

Hi @twalthr , the logical of parserFields method in Date/Time/TimeStamp (also in the lastest PR for BigDecimal/BigInteger) is same, is it better to refactor by creating super class for them to reduce the duplicate codes?

@gallenvara I thought the same. But I'm not sure if it is worth it. You could save ~25 lines of code per class maybe and if we want to make the parsing more efficient (do not use the valueOf methods, but own implementation) the super class becomes obsolete anyway.

@fhueske thanks for reviewing my code. I addressed your feedback.

@fhueske I think we should keep the methods as they currently are. I renamed them to "nextNumericString"/"nextNumericStringEndPos" and added a explanation what a numeric string is. You are right they don't do much numeric at the moment but only the numeric classes will use it. Furthermore, the error states and exceptions are numeric. E.g. if we don't do the whitespace checking in nextNumericString we also need to return the position instead of the string.

I still think that methods should be named after what they do (and there is nothing numeric about their behavior) and not in which context they are supposed to be called. The error messages are numeric due to the original context of the code which has been moved into separate methods. That context is no longer present in these methods. Anyway, I don't want to start a bikeshedding discussion about the names of internal utility methods and stop at this point ;-)


feat(ci): add benchmarking code

What this PR does / why we need it:
This PR adds benchmarking code using https://github.com/benchmark-action/github-action-benchmark.
The CI workflow  will run all benchmark in the codebase and save the results in gh-pages so that they are available for developers to see the trend and results.
This workflow will also issue a comment in case it detect a regression by a certain threshold (currently set to 150%).
Form the action README:

Percentage value like "150%". It is a ratio indicating how worse the current benchmark result is. For example, if we now get 150 ns/iter and previously got 100 ns/iter, it gets 150% worse.

The chart (1 for now since there's only 1 benchmark) is available at https://kong.github.io/kubernetes-ingress-controller/dev/bench/

Should this indeed fail over threshold? How does it handle cases where we expect performance to decrease because we're adding a bunch of entirely new functionality?
I don't think we add large enough chunks of new functionality often enough for that to be a major concern, but it's worth knowing.

I've changed the threshold to be 150% which I believe should be a safe enough margin to notice possible regression and guard us against flakes.
So far after several runs the results seem to fluctuate just a handful or percent either way

We also may run into problems similar to what we get with codecov, where this varies over runs because codepaths aren't always consistent.

Let's observe the trend as we go and then adjust if need be. The more data points to more relevant the results will be.


Attempt at Bolt 2.0 port

Signed-off-by: Michael Smith<EMAIL_ADDRESS>

@nicklewis started on it, needs some work

CI will fail until we remove the inventory v1 tests, because Bolt 2.0 dropped support for inventory v1.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Michael Smith seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Bugfix/metrics leak

https://github.com/Start9Labs/embassy-os/issues/977

Might be nice to have some kind of indicator that this page is polling. Like a small spinner whenever the loop begins that displays for a minimum of 250ms and dismisses when the new data renders. I think it might give the page a feeling a liveness that it currently lacks, especially with at least a 4s interval between requests.


Custom Message in Kino.Process.seq_trace

It would be nice to be able to supply a function to Kino.Process.seq_trace, that can help augment the naming process.
For the code I work on, I see a lot of CAST: tuple, making the use of the utility of seq_trace limited.
This can be solved in a few ways:

Letting users write custom pattern matches for the kinds of messages they experience (much like how label_from_message already matches certain patterns).
Letting users supply their own custom label_from_message function to completely override the process.

I might try my hand at 1. and contribute upstream if the idea works out.

A custom label for messages function would be welcome indeed. Please do submit a PR :)


modbus update, add error log instead of AttributeError exception

Description:
When the modbus slave did not respond in time an AttributeError was raised and a stack trace was printed.
Checklist:
If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

🐬


Slightly faster relative_path_from (91.2% -> 93.4%)

Locally: 88.7% -> 90.7%
Travis: 91.2% -> 93.4%

Coverage decreased (-7.3%) to 85.714% when pulling 9d2a5e683810e32d7f30bb443e292d6003ab122b on glebm:faster-relative_path_from into fcc1fa07fd10db367dedf226e870631e77b1b694 on danielpclark:master.

Hey @glebm , I'd like to add you to this project.  Are you interested?  We can review each others work.

I don't know if that's necessary as I only contribute occasionally but I don't mind

I didn't mean to burden you with any unwanted responsibility.  I just wanted you to know I'm honored to work with you on this and I value your input.

Thanks!


Dialog appears twice in latest FireFox version

Greetings,
While testing out this plugin across several browsers (Chrome, IE 11, Firefox), I realized that only in Firefox the dialog box will appear twice when prompted.
I assumed it was an error from my code side but the same thing also happen with the official demo page.
Firefox version: 58.0.2 (64-bit)
Thanks.

The latest version should be working as expected now. Please let me know if you're still experiencing this with 0.4.5


Additional custom claims are not retrieving from UserInfo endpoint

Can get family_name, emailaddress, etc, but the custom claim is not returned.
Cause : Several leading and trailing blank in the openid property value in /_system/config/oidc registry location.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Doc: Remove man page reference to congestion.config which no longer exists.

The man page generation logic is a bit obscure, and so this was missed when congestion control was removed.

[approve ci icc]


Make all caller-facing types SerDe

I understand if this is outside the responsibilities of rusoto itself, but I'm working on a tool for which this functionality would be a huge help. The ability to serialize/deserialize values from rusoto inputs/outputs into arbitrary structures is a hugely simplifying shortcut from user config to AWS actions.

Whoopsey. Looks like I didn't add the import of serde for the files containing these types... Will add.


Fixed manual e2e test runner script

Android folder may contain versions from previous runs and it may affect e2e test execution.
This should make tests independent of cached jars.

Looks good! (waiting to see if it fixes my problem and we can ship) :)

By analyzing the blame information on this pull request, we identified @satya164 and @mkonicek to be potential reviewers.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


catkin: 0.7.2-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository catkin to 0.7.2-0:

upstream repository: git@github.com:ros/catkin.git
release repository: https://github.com/ros-gbp/catkin-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.22
previous version for package: 0.7.1-0

catkin
* change warning to status when nosetests was not found (#823 <https://github.com/ros/catkin/issues/823>)
* maintain file context when invoking Python scripts through relay (#820 <https://github.com/ros/catkin/issues/820>)
* fix rollback logic for more than one value per environment variable and workspace (#819 <https://github.com/ros/catkin/issues/819>)
* add option to use NMake instead of Make (#816 <https://github.com/ros/catkin/pull/816>)
* fix check if DEPENDS was found (#813 <https://github.com/ros/catkin/issues/813>)
* fix quoting of paths to handle spaces (#808 <https://github.com/ros/catkin/issues/808>)
* update doc of catkin_package to clarify importance of case for variable names
* improve doc about catkin_package(CFG_EXTRAS) (#805 <https://github.com/ros/catkin/issues/805>)
* doc: fix format 2 howto to suggest to declare a build export dependency on "message_runtime"

Waiting for other releases...


Installation support for darwin

Many people (myself included) develop on macOS and deploy in a linux environment. By allowing the package to be installed on macOS, one can keep their package.json and lock file committed and the same for both environments.
This fork adds a noop.cc that stubs out the mandatory functions. binding.gyp conditionals say whether to use notify.cc or noop.cc based on OS platform.

@david-massey thanks for this!

Now published as 2.6.0: https://www.npmjs.com/package/sd-notify/v/2.6.0

You're welcome, and thanks for maintaining and publishing!
This merge might conflict with #1, as they did not want installation at all for Windows. package.json reflects this wish; this merge can be made more generic by allowing any OS instead of just linux and darwin.


How do I retrive current LR from the optimizer now?

It seems that self.optimizer.param_groups[0]['lr'] is static and always the same as it was initially set. Is there any possibility to see the current LR, or the whole point of schedule_free is to get rid of this indicator as not required?

The schedule-free learning approach doesn't decrease the LR over time, it really is static throughout training. It achieves convergence by the use of averaging of the iterate sequence rather than decreasing step sizes.


added setup method that calls LiquidHandlerBackend and USBBackend

I think that the changes to the Hamilton backend caused the setup cascade to break for the EVO backend.

Thanks!


Setting tags in the vSphere Node Template has no affect

Rancher Server Setup

Rancher version: 2.5.12
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.18.20
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): vSphere

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

If custom, define the set of permissions:

Describe the bug

Setting tags in the vSphere Node Template has no affect on the provisioned VM.
To Reproduce

Create a vSphere Node Template, add a tag and use this Node Template to create a cluster node.
Result
The VM does not get the tag assigned.
Expected Result

The VM gets the tag assigned.
Screenshots

Additional context

@AcidAngel21 I have tested this both v2.6-head and 2.5.12 using vSphere 7.0. I was not able to reproduce the issue. Which version of vSphere are you using? What type of account is cloud credentials using? Did you create a separate account? Did this work prior to upgrading?

@phillipsj Thank you for the quick feedback and the hint with the cloud credential account.
The tag assignment did not work because the account did not have the permission to assign vSphere tags.

Now that I have granted permission, it is working.
Unfortunately, the Rancher documentation does not describe the need to set this permission for the vSphere account.
https://rancher.com/docs/rancher/v2.5/en/cluster-provisioning/rke-clusters/node-pools/vsphere/creating-credentials/

@AcidAngel21 glad that solved your issue and thanks for the feedback on the docs. I will submit a PR today updating the docs.


Replace all logic that checks Null with the ObjectUtil utility class

Clean the code , replace all logic that checks Null with the ObjectUtil utility class in bootstrap package
Modification:
Replace all logic that checks Null with the ObjectUtil utility class

@netty-bot test this please

@netty-bot test this please


Use password message from /dashboardsinfo

Description
Companion Security PR: https://github.com/opensearch-project/security/pull/2949
This PR uses the message from /_plugins/_security/dashboardsinfo to get the password message from the backend if its configured in opensearch.yml. If the setting is not set, the backend will return the default.
Category
[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation]
Bug fix
Issues Resolved
https://github.com/opensearch-project/security-dashboards-plugin/issues/1501
Testing
Jest tests and manual dashboard testing of both password reset and password edit
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This went in the 2.9 release not 2.10 so removing the label.


getAnimeSearch with a query of Genres returns an empty array

Description -
getAnimeSearch with a Query of Genres returns an empty array.
As shown in the picture below, i am using the AnimeSearch endpoint with a query of Genres = 2 (Adventure) ,but it returns an empty array.
No matter whatever mal_id i try for genres it returns an empty array
ScreenShot -

Possibly still broken: https://discord.com/channels/460491088004907029/1047092059670065162/1047092059670065162

Possibly still broken: https://discord.com/channels/460491088004907029/1047092059670065162/1047092059670065162

results is no longer filtering anime by genre correctly.
This search should result in only military isekai for example, but the first result in the data section is Cowboy Bebop.
https://api.jikan.moe/v4/anime?genres=62,38

From what i saw all the other data entries except Cowboy , has the correct genre in it

Person who reported the bug to discord here!
There really shouldn't be 955 pages of results for the query. Before I think it was around 10 pages or something.
I doubt all of those had the correct two genres.

We've reverted the update so it may seem fixed. But we're keeping this issue open for v4.0.0-rc.6 until it is resolved.


auth.MetadataManager KV support

Follow up task from #3492

implement KV support for metadata

need to define the key format

add to auth migration function and kv_migration tests
drop the table at the end of migration

For the current DB implementation, we are saving the DB metadata itself - postgresql(or pg aurora) version and various DB settings such as TZ, work memory and rds info. This is easily supported by the pg_settings table.
Do we want/need something similar for KV?
I think it can wait for a later step, but still, need to be decided


Generate + make third-party consent API requests

My basic proposal for this is to take the existing SaaS connector config and extend the DDL such that inside run_consent_request we can build + execute all requests required to execute the consent flow.
One idea I've had for this would be to add something akin to a used_for value to each request definition, e.g.
  endpoints:
    - name: messages
      requests:
        read:
          used_for: [dsr, consent]  # this would indicate that we should build this request for our consent connector
          method: GET
          path: /3.0/conversations/<conversation_id>/messages
          param_values:
            - name: conversation_id
              references:
                - dataset: <instance_fides_key>
                  field: conversations.id
                  direction: from
          data_path: conversation_messages
          postprocessors:
            - strategy: filter
              configuration:
                field: from_email
                value:
                  identity: email

A downside to this would be bloat within the config files themselves should either DSR or consent processing require a large number of requests — is this preferable to having two top-level sections? e.g.
consent_endpoints:
  - name: ...

dsr_endpoints:
  - name: ...

and then eating any request duplication that happens as a result? (ie. requests that must exist in both DSR and consent flows)
Note: this doesn't address the dataset generation issue — I'm happy to keep Dawn's workaround for the time being.
If we can agree upon one of the above as the end-state solution, it leaves us open to hard-coding the Mandrill case inside the run_consent_request method (with a check on the type of connector)

my gut feeling is that there won't be significant duplication/overlap between DSR endpoints and consent endpoints, to the point that they're hitting the same paths,  so of your two options, the latter - the two top-level sections - definitely feels more natural to me.
to throw it out there - my initial idea on how we'd model this is that we'd actually just use a different request type, i.e. something like being able to define on any given endpoint - read, update, ... , consent. using mandrill/mailchimp as a quick example, it'd probably look something like this:
endpoints:
    - name: messages
      requests:
        read:
          method: GET
          path: /3.0/conversations/<conversation_id>/messages
          param_values:
            - name: conversation_id
              references:
                - dataset: <instance_fides_key>
                  field: conversations.id
                  direction: from
          data_path: conversation_messages
          postprocessors:
            - strategy: filter
              configuration:
                field: from_email
                value:
                  identity: email
    - name: allowlist
      requests:
        consent:
          method: POST
          path: /allowlists/delete
          query_params:
            - name: email
              value: <email>
          param_values:
            - name: email
              identity: email

to me that felt like it'd fit pretty seamlessly into what @pattisdr's done so far in the POC, given that we've got essentially an analogous execution path for consent as we do for access and erasure requests. that being said, fitting seamlessly into what we have so far isn't the only consideration here: we need to take into account what the consent propagation APIs actually look like and how they compare to existing DSR endpoints for the provider, the dataset generation phase, etc.
in fact, now that i think through it more, i actually think the top-level sections option that you offered makes the most sense out of all 3 options laid out - it may lend itself better to differentiate the dataset generation from what is done in DSR execution, i.e. it'd probably give an easier route to decoupling nodes from particular dataset collections, which seems like something we'll want, at a minimum. and based on what i've seen in the consent APIs so far, i'm just not sure there's really a logical grouping between the endpoints used for DSR execution and those used for consent propagation - so with this in mind, having them as disjoint sets of endpoints would probably be more intuitive from the POV of someone configuring these.
fwiw, i'm not sure we need to hard-code Mandrill inside the run_consent_request method as a first pass? i think we should be able to make a proper connector implementation where the bespoke code lives. one of the simplest/quickest ways to implement that bespoke connector at the moment may be to build in some very rough support in the saas connector framework for consent requests and then to use our request override mechanism to just hardcode the actual integration code in the override function? this is a bit of spitballing atm...

it'd probably give an easier route to decoupling nodes from particular dataset collections, which seems like something we'll want

This will be useful — we'll certainly want to leave our commercialisation options open too.

I agree with @adamsachs that the consent endpoints would most likely be separate from the data endpoints we use for access and erasure requests. With that said, I agree with @seanpreston's proposal to add a new top-level section. This is consistent with the way we already define dedicated requests liketest_request and data_protection_request (single GDRP, CCPA endpoint).
consent_requests:
  read:
    method: GET
    path: /consent
  update:
    method: POST
    path: /consent
    body: |
      {
        <consent_payload>
      }

This assumes we require read functionality as well but if we're just update consent settings we can simplify it to
consent_request:
  method: POST
  path: /consent
  body: |
    {
      <consent_payload>
    }

This approach has the benefit of keeping these two workflows separate in the config and it makes it easier to refer to since it will be at the root level instead of nested with the access and erasure requests.

@galvana nice proposal: Adding a new top-level section similar to data_protection_request makes a lot of sense, defining this more at the dataset level rather than the collection level too, as Adam highlighted.
@galvana @adamsachs Are my assumptions correct: ?

I assume these resources will still be persisted to the db via the same connector workflow, where we create a saas connector from a template
I assume both a ConnectionConfig and corresponding DatasetConfig will exist.
I assume most relevant information here to build the API requests is saved under connectionconfig.saas_config.consent_request
I assume we will not need anything in particular from the DatasetConfig resource, except I can still use this to build the consent request graph. (The access/erasure graphs are currently built from DatasetConfig resources).

For example, the graph might be built by creating one node per DatasetConfig whose ConnectionConfig's SaasConfig has consent_request instructions.

@pattisdr that generally looks correct to me!
i think you're getting at this, but in some ways the DatasetConfig seems like it's not really required here from an end-user/UX POV, and it's more of an artifact that our implementation constraints presuppose. i'm not saying that we need to get rid of it, just pushing a bit to see if we could perhaps, at some point, reduce any of the pieces here that aren't substantively providing functionality.
just as a caveat, take this with a grain of salt, as i haven't fully thought this piece through 😄 more of an initial impression and i'll continue to think it over on my end...

@adamsachs I understand your point, we don't technically need a DatasetConfig per se, but I do think we need some database artifact that we query from which to build the graph.  Further, if we don't require a DatasetConfig, then we need a separate set of code changes to handle resources not backed by DatasetConfigs, and is that worth the lift?
So a thought experiment: what if everything we need to make the consent request is stored in ConnectionConfig.saas_config, so we don't create a DatasetConfig there. What are the next steps?  I can build the graph by querying for ConnectionConfigs with consent capability directly.  But how is that ConnectionConfig created in the first place? Our connector workflow creates DatasetConfigs by default in the "create from a template" flow.  And what happens if a certain type of Saas Connector needs to support both access and consent requests? I create a DatasetConfig if access is defined, but not consent?  Are there other cons by special-casing not creating this expected resource for consent connectors only?

@pattisdr thanks for walking through that, very helpful to get it all spelled out! i think we're on the same page, i just wanted to run that idea through to its conclusions.
based on what you've spelled out, it is feeling to me like requiring a sort of "placeholder" DatasetConfig is better than all the special-casing, at least as things stand now. that still seems to be what you're leaning toward as well, right? @galvana if you've got strong opinions one way or the other, speak up! :)

@adamsachs your calling it a "placeholder" is making me second guess myself.  I was still hoping that there might be useful information in the dataset yaml file, similar to how a mailchimp dataset yaml details the fields in various API requests.   That we may not need to use it, but there would still be information worth persisting there.  But if there's truly nothing to put in the DatasetConfig resource, that probably changes things.
(The pending release of unified-fides-resources will also necessitate more "placeholder" resources as the DatasetConfig.dataset field won't exist, instead there will be a FK to another ctl_datasets resource).
Also is this not going to be a connector of type saas but something else?

honestly i haven't given this the thought it deserves quite yet, i may have misstated things by calling it a placeholder, perhaps there is information we'd want to store there. i think we need to spend some time looking at the consent propagation APIs and fleshing out what a config schema would look like more precisely.
to me, the assumption of yours here

I assume we will not need anything in particular from the DatasetConfig resource, except I can still use this to build the consent request graph. (The access/erasure graphs are currently built from DatasetConfig resources).

seems pretty reasonable to design around at this point. does that allow you to keep you going and let us come back to this a bit later once we can consider the details a bit more closely?
apologies for starting a digression that i hadn't really thought through. if it's blocking you now, i can prioritize some closer thinking on this now :)

That sounds fine to me @adamsachs! My POC branch makes the assumption you stated, I should have it ready for review by tomorrow morning! Assuming there's a DatasetConfig is an easy place to start, and we can modify from there.

We settled on a simple configuration here https://github.com/ethyca/fides/pull/2194, where we have a top-level consent_requests key with opt_in and opt_out headers, each detailing a single saas request.   The dataset here is more of a placeholder for now, but its existence is what we use to create the graph.
The current assumption that the consent saas connector framework makes is that a consent request will be sent with a single data use, and the saas connector just needs to pick whether it should opt in or opt out.  More product discussion is needed to determine the mapping between data uses and more nuanced consent requests.
Mailchimp Transactional SaaS Config
saas_config:
  fides_key: <instance_fides_key>
  name: Mailchimp Transactional SaaS Config
  type: mailchimp_transactional
  description: A sample schema representing the Mailchimp Transactional (Mandrill) connector for Fides
  version: 0.0.1

  connector_params:
    - name: domain
      default_value: mandrillapp.com/api/1.0
    - name: api_key

  client_config:
    protocol: https
    host: <domain>
    authentication:
      strategy: api_key
      configuration:
        body: |
          {
            "key": "<api_key>"
          }

  test_request:
    method: GET
    path: /users/ping

  consent_requests:
    opt_in:
      method: POST
      path: /allowlists/add
      body: |
        {
          "email": "<email>"
        }

    opt_out:
      method: POST
      path: /allowlists/delete
      body: |
        {
          "email": "<email>"
        }

  endpoints: []

Mailchimp Transactional SaaS Dataset
dataset:
  - fides_key: <instance_fides_key>
    name: Mailchimp Transactional Dataset
    description: A sample dataset representing the Mailchimp Transactional connector for Fides
    collections: []

OK marking this issue as done - there's no code to merge here, the ability to make and generate consent requests via the saas connector framework was added in https://github.com/ethyca/fides/pull/2194.
Discussed with @NevilleS we're okay with not being able to customize based on the consent request for now.


Readme more readable

Description
Received feedback that the readme was laborious to wade through due to a lack of paragraphs.
Added paragraphs and cleaned up some of the wording for the readme.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] The commit message/PR follows our guidelines

Thank you @santhosh-challa


I wish that pluggin work on popup window

I like that pluggin, I wish that pluggin work on popup window.
I use "dnlhc/glance.nvim" to open popup window to preview function. I often press gd open a preview window, then press [[ to look at function name. It is awful.
I wish function name is displayed in popup window head.

wellle/context.vim support that feature, but It can't use highlight.
I tried to add that feature, but failed.

It is my error. nvim-treesitter-context default zindex is 20, glance.nvim zindex is 45.
I set zindex to 50 solving that issue.


Make Scala Code More Idiomatic

Add plugins for code formatting, linting, etc.
Canonicalize Scala code (remove fors, returns, mutable state, etc.)

(This is a rolling pull request)

@jornfranke it seems like asking for Spark 1.5 in compile and 2.0 in tests breaks IntelliJ IDEA's plugin. how about we just skip ahead to 2.0+ support only while we're at it?
Also recommend running integration tests against every minor version of Spark (2.0, 2.1, 2.2) because of backwards compatibility issues (like the one reported by @liorregev).

Ok sounds fine.
I will check the merge later.

On 30. Nov 2017, at 11:41, Omer van Kloeten<EMAIL_ADDRESS>wrote:
@jornfranke it seems like asking for Spark 1.5 in compile and 2.0 in tests breaks IntelliJ IDEA's plugin. how about we just skip ahead to 2.0+ support only while we're at it?
Also recommend running integration tests against every minor version of Spark (2.0, 2.1, 2.2) because of backwards compatibility issues (like the one reported by @liorregev).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jornfranke Why was this merged? I wasn't finished working on it...

Sorry i thought it was finished. Please create another one and it will be included

On 30. Nov 2017, at 21:32, Omer van Kloeten<EMAIL_ADDRESS>wrote:
@jornfranke Why was this merged? I wasn't finished working on it...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sure, I'll create a new pull request once I'm done :)

Ok thx do not forget to update the issue with what is still open (a short comment is fine) - thank you a lot

On 3. Dec 2017, at 10:39, Omer van Kloeten<EMAIL_ADDRESS>wrote:
Sure, I'll create a new pull request once I'm done :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


K-quants

This is the first baby steps. I'm mechanically adding the QX_K everywhere where the other quantizations are listed.
I'd be very thankful for early feedback :smiley:
This fixes #301

After the last fixup it compiles, loads the tensors (according to the console output) and even generates text that looks good!!
     Running `target/release/llm llama infer --use-gpu --model-path /Users/martin/Downloads/models/airoboros-7b-gpt4-1.4.ggmlv3.q2_K.bin --prompt 'Once upon a time' --no-mmap`
✓ Loaded 291 tensors (2.9 GB) after 795ms
ggml_metal_init: allocating
ggml_metal_init: using MPS
ggml_metal_init: loading '/Users/martin/Workspaces/ai/llm/target/release/ggml-metal.metal'
ggml_metal_init: loaded kernel_add                            0x143628f20
ggml_metal_init: loaded kernel_mul                            0x143632550
ggml_metal_init: loaded kernel_mul_row                        0x143631bb0
ggml_metal_init: loaded kernel_scale                          0x143633cb0
ggml_metal_init: loaded kernel_silu                           0x1436346e0
ggml_metal_init: loaded kernel_relu                           0x1436333a0
ggml_metal_init: loaded kernel_gelu                           0x143635c30
ggml_metal_init: loaded kernel_soft_max                       0x14370c5a0
ggml_metal_init: loaded kernel_diag_mask_inf                  0x14370ce20
ggml_metal_init: loaded kernel_get_rows_f16                   0x14370d090
ggml_metal_init: loaded kernel_get_rows_q4_0                  0x1336043e0
ggml_metal_init: loaded kernel_get_rows_q4_1                  0x1336050a0
ggml_metal_init: loaded kernel_get_rows_q2_k                  0x133605940
ggml_metal_init: loaded kernel_get_rows_q3_k                  0x1336060e0
ggml_metal_init: loaded kernel_get_rows_q4_k                  0x1336079d0
ggml_metal_init: loaded kernel_get_rows_q5_k                  0x1336071e0
ggml_metal_init: loaded kernel_get_rows_q6_k                  0x1336089f0
ggml_metal_init: loaded kernel_rms_norm                       0x133606b50
ggml_metal_init: loaded kernel_norm                           0x1336093c0
ggml_metal_init: loaded kernel_mul_mat_f16_f32                0x13360a240
ggml_metal_init: loaded kernel_mul_mat_q4_0_f32               0x13360a4f0
ggml_metal_init: loaded kernel_mul_mat_q4_1_f32               0x13360ad00
ggml_metal_init: loaded kernel_mul_mat_q2_k_f32               0x13360b5b0
ggml_metal_init: loaded kernel_mul_mat_q3_k_f32               0x13360be20
ggml_metal_init: loaded kernel_mul_mat_q4_k_f32               0x13360c6a0
ggml_metal_init: loaded kernel_mul_mat_q5_k_f32               0x1440fda60
ggml_metal_init: loaded kernel_mul_mat_q6_k_f32               0x1440ffcb0
ggml_metal_init: loaded kernel_rope                           0x1440fe1a0
ggml_metal_init: loaded kernel_alibi_f32                      0x1440fe840
ggml_metal_init: loaded kernel_cpy_f32_f16                    0x123f06f20
ggml_metal_init: recommendedMaxWorkingSetSize = 10922.67 MB
ggml_metal_init: hasUnifiedMemory             = true
ggml_metal_init: maxTransferRate              = built-in GPU
ggml_metal_add_buffer: allocated 'scratch         ' buffer, size =  1024.00 MB, ( 1024.39 / 10922.67)
ggml_metal_add_buffer: allocated 'scratch         ' buffer, size =   512.00 MB, ( 1536.39 / 10922.67)
ggml_metal_add_buffer: allocated 'scratch         ' buffer, size =   512.00 MB, ( 2048.39 / 10922.67)
ggml_metal_add_buffer: allocated 'wt              ' buffer, size =  1024.09 MB, ( 3072.48 / 10922.67)
ggml_metal_add_buffer: allocated 'wt              ' buffer, size =  2733.66 MB, ( 5806.14 / 10922.67)
Once upon a time, there was an extraordinary woman.
Her name is Sara-Lena. She has been on this Earth for over twenty years now and she has done so many things in her life that most people would be afraid to do or even think about doing them because of their fears, but not her! Her passionate heart led her into experiences which others dreamt about while they were still alive; nevertheless.
She is a spiritually grounded being who knows herself well and loves everything she does in life - like dancing barefoot on the beach at sunrise or writing love letters to trees that have seen so much more than we ever could... She has been many things, but now her path leads towards empowering others through words and pictures.
With a background as an actress, model, writer/poetess (and soon-to-be author of two books!), yogi teacher & energy healer she is here to share the lessons learned on this wild journey called life - so stay tuned for more stories from Sara's Heart.
ggml_metal_free: deallocating

I have no idea if this is correct though... I would have expected it to be much harder 😉
Could you maybe have a look if this could be sufficient already @LLukas22 @philpax @pixelspark ?

Would it be ok to merge this PR as is and create issues for the quantization and saveguards?
I might be running out of time and skills at any point and then the (apparently) already working k-quant reading would be delayed.

I have very little knowledge on the quantization stuff, so unfortunately little to add here - @nightscape your suggestion to just merge this in a working state sounds good.
I don't see anything obviously wrong with the output shown above though. Perhaps it is a good idea to nevertheless do a quick compare between llama.cpp itself and your test runs.

@pixelspark you mean by setting the same seed in both projects and checking if it generates the same text?

Hmm, that doesn't seem to work. I tried to make all parameters identical, but don't get the same text.
Basically all calls to the random generator would have to be done in the exact same sequence, which is rather improbable.
@pixelspark I guess you meant something else, right?

Looks like q4_K_M models don't work yet, so I'll need another iteration.

Hmm, that doesn't seem to work. I tried to make all parameters identical, but don't get the same text. Basically all calls to the random generator would have to be done in the exact same sequence, which is rather improbable. @pixelspark I guess you meant something else, right?
The generated texts all look sensible I can't see a difference in the quality of generated text.

I just meant a superficial comparison (if you can do a fully deterministic comparison that would be better but as you say, that is quite difficult to do). Good to hear it looks about the same :-)

Alrighty, this should be good to go and support all of the ftypes! Thanks so much for getting the ball rolling on this 🚀
If you're happy with this and it passes all of the CI, I'll merge it in tomorrow.


export diskio stats

cAdvisor supports diskio stats. It needs to be exported to the storage backends.

closing in favor of #690


FIFO Queue does not properly create a name ending with .fifo

What happened?
I deployed a FIFO Queue that creates properly in CFN but fails complaining about an invalid name. I assume something is broken with how a name is being generated since I don't provide a name?
  aws-native:sqs:Queue (StockBotQueue7013873D):
    error: operation CREATE failed with "GeneralServiceException": The name of a FIFO queue can only include alphanumeric characters, hyphens, or underscores, must end with .fifo suffix and be 1 to 80 in length. (Service: Sqs, Status Code: 400, Request ID: a9707e5b-8c75-55bd-986b-22165a0f5288)

"StockBotQueue7013873D": {
  "Type": "AWS::SQS::Queue",
  "Properties": {
  "ContentBasedDeduplication": true,
  "DeduplicationScope": "messageGroup",
  "FifoQueue": true,
  "FifoThroughputLimit": "perMessageGroupId"
  },
  "UpdateReplacePolicy": "Delete",
  "DeletionPolicy": "Delete",
  "Metadata": {
  "aws:cdk:path": "example-stock-bot/StockBot/Queue/Resource"
  }
},

Expected Behavior
Pulumi should properly create a SQS FIFO queue with a name ending in .fifo
Steps to reproduce
Create a SQS FIFO queue with an auto-generated name
Output of pulumi about
CLI
Version      3.53.1
Go Version   go1.19.5
Go Compiler  gc

Plugins
NAME    VERSION
aws     5.28.0
nodejs  unknown

Host
OS       darwin
Version  13.1
Arch     arm64

This project is written in nodejs: executable='/Users/samgoodwin/.nvm/versions/node/v16.14.2/bin/node' version='v16.14.2'

Current Stack: sam-g/stock-bot/stock-bot

TYPE                 URN
pulumi:pulumi:Stack  urn:pulumi:stock-bot::stock-bot::pulumi:pulumi:Stack::stock-bot-stock-bot

Found no pending operations associated with stock-bot

Backend
Name           pulumi.com
URL            https://app.pulumi.com/sam-g
User           sam-g
Organizations  sam-g

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Remapping to aws::sqs::Queue fixes the problem
return new sqs.Queue(
  name,
  {
    contentBasedDeduplication: props.ContentBasedDeduplication,
    deduplicationScope: props.DeduplicationScope,
    delaySeconds: props.DelaySeconds,
    fifoQueue: props.FifoQueue,
    fifoThroughputLimit: props.FifoThroughputLimit,
    kmsDataKeyReusePeriodSeconds: props.KmsDataKeyReusePeriodSeconds,
    kmsMasterKeyId: props.KmsMasterKeyId,
    maxMessageSize: props.MaximumMessageSize,
    messageRetentionSeconds: props.MessageRetentionPeriod,
    name: props.QueueName,
    receiveWaitTimeSeconds: props.ReceiveMessageWaitTimeSeconds,
    redriveAllowPolicy: props.RedriveAllowPolicy,
    redrivePolicy: props.RedrivePolicy,
    sqsManagedSseEnabled: props.SqsManagedSseEnabled,
    visibilityTimeoutSeconds: props.VisibilityTimeout,
  },
  options
);

I expect this is actually a bug (or limitation) in the pulumi-aws-native provider’s autonaming. We may want to move this over there.


feat: Select text ellipsis. I need multi line select

Type: feat
Ionic Version: 2.x
Platform: all
http://s32.postimg.org/qgn1cnhec/ionic_select_text_ellipsis.jpg
I really need multi line select.
I am copying my native app (android 4.x) to Ionic 2, and in the native android app there is select with multi line text.

Is that easy:
.alert-radio-label {
	text-overflow: initial;
	white-space: initial;
}

Anyway, it will be nice if it will be a feature...

Hello @MatanYed ! Would you be able to post a picture of the functionality you are looking for? Thanks!

@jgw96 Sure, here:
http://i.imgur.com/yrY6jKW.png

@MatanYed Awesome, thanks!

Hello! We are moving our feature requests to a new feature request doc. I have moved this feature request to the doc and because of this I will be closing this issue for now. Thanks for using Ionic!

Hello all! While this is an awesome feature request it is not something that we plan on doing anytime soon. Because of this I am going to move this to our internal feature tracking repo for now as it is just "collecting dust" here. Once we decide to implement this I will move it back. Thanks everyone for using Ionic!

This issue was moved to driftyco/ionic-feature-requests#31


Ollama listens on <IP_ADDRESS> by default on linux. FAQ says otherwise.

The FAQ states that

Ollama binds <IP_ADDRESS> port 11434 by default

On the other hand, after successfully installing the binary, the installer script reports:
The Ollama API is now available at <IP_ADDRESS>:11434.
This is confirmed by netstat -tlp | grep ollama
I'm actually puzzled by this given how many people can't access Ollama from their LAN without setting the environment variable.

@easp How did you install your Ollama? Which system are you on too?
I just confirmed mine, it's running on <IP_ADDRESS>
tcp        0      0 <IP_ADDRESS>:11434         <IP_ADDRESS>:*               LISTEN      211/ollama
Ignore the "foreign address" column

@seanmalvy Thanks for taking a look. You are right, I was in a rush and didn't look at the correct column in the netstat output.
So the issue is just that the installer reports the wrong information. Updating issue to reflect that.


Added RSpec tests for math.rb methods

This comments at the beginning gave me the platform to go from, felt much better about RSpec after this assessment.

nice. good job


CameraX Preview is cutted on Samsung S6 (G920F)

Thanks for reporting! Closing as duplicate of #212


Investigate Buildpack Logging Story

Since this issue was filed, the log module was added to libherokubuildpack, and as of #721 we now have a new build_output module which is set to supersede the log module.


Another build failure - all debug info included

Can anyone with a basic NodeJS knowledge please take a look at this? Probably some configuration/dependency issue..
Here is the console output and npm-debug.log:
https://gist.github.com/stevenroose/312db0d2fc8778f16567

npm install --production seemed to have done the trick. Perhaps this should be in the README..


Speed Download Limit

Hi,
I suggest an option to be added for Speed Download Limit. I don't want my download speeds to go above a point. But I don't see any options to control it now. If there is, please, let me know.
Thank you.
Best wishes,

there is not one but what i did is install netlimiter pro and set download by process
(thats my work around)