Github API rate limit exceeded

Rancher versions:
rancher/server: 1.6.7
rancher/agent: rancher/agent:v1.2.5
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable): Current: v1.6.6-rancher1-4
Docker version: (docker version,docker info preferred)
Server Version: 1.12.6
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
contaierOS / 4.12.10-coreos
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Environment template: Cattle, infrastructure stack: Kubernetes
Steps to Reproduce:

Setup Github autentication
Let a process make many calls to Kubernetes through the rancher API, OR use the rancher API many times, for example when a host is trying to join a cluster, but something is misconfigured and it retries every few seconds.

Results:
I (the admin) can no longer login, because GitHub has rate-limited the amount of authentication requests allowed to make against Github. This is fair, but it's the second time we got bit by this issue. The first time was probably due to a lot of API requests our service made. The second time it was due to a host trying to join too many times.
You get loads of lines like:
time="2017-09-13T03:25:07Z" level=error msg="Github getTeamByID: GET url https://api.github.com/teams/2467068 received error from github, err: Request failed, got status code: 403. Response: {\n  \"message\": \"API rate limit exceeded for dhrp.\",\n  \"documentation_url\": \"https://developer.github.com/v3/#rate-limiting\"\n}\n"

Proposed solution
Perhaps Rancher should apply rate-limiting (under Github's limits), and for Github only, and a clear warning should be given to the user, api consumer.
That it happens is also weird. Can't we do something like caching credentials for 10 minutes? That may be a better solution.

Github was the first (and for a long time, only) auth provider added and is the 2nd most used (after local)... but this is the first I've ever heard of hitting rate limits, they're mostly 5000/hr so that's averaging at least 1.4 requests/sec.
Host registrations (and related operations) are authenticated by the registration token or the host-specific API key.  They aren't tied to any auth provider-specific identity, so there shouldn't be any Github requests at all involved.
Using the kubernetes API to make a lot of requests sounds more plausible, (though the information should already be getting cached).  @cjellick probably need someone to look at the interaction between auth-service and k8s RBAC.

It looks like this was indeed caused by an error on our side (something of a complicated feedback loop). I'll close this issue as we'll need to fix it on our side. It has shown though that each call to kubernetes must result in a call to GitHub.


Calling window.setup twice causes crash on exit

It creates 2 windows, and crashes the program after you close it. It should ideally just change the current window's title and size.

I don't think calling the setup function again should change the properties of the window. What if you want to change only the title?
I will fix the bug and make separate functions for window properties.

It might be worth it adding the ability to manage multiple windows, but that would require some overhauls.

I don't think calling the setup function again should change the properties of the window. What if you want to change only the title?
I will fix the bug and make separate functions for window properties.

You can just put in current values

#97


Add ColorArea, ColorField, ColorSlider, and ColorWheel to RAC

Fixes #5484
This adds React Aria Components for our existing color picker hooks, including ColorArea, ColorField, ColorSlider, and ColorWheel. It also fixes some bugs and simplifies the API, especially for ColorArea. See inline comments.
Because the color components often return inline styles, e.g. the background gradients, and users might need to override/combine these with their own, I've also added support for defaultClassName, defaultStyle, and defaultChildren as render props across all components. This allows you to access the defaults in a render prop function, and modify/merge them with your own values. For example, in ColorSlider, one might want to have a checkerboard pattern in the background behind the gradient when partially transparent. This can be done by concatenating defaultStyle.background with your own. You could also add extra wrappers around the default children of an element, or combine our default class name with a custom one instead of overriding.
One problem with inline styles is that you need to use !important if you want to override them in regular CSS, for example, to override the background with a gray color when disabled. An alternative to the current approach would be to expose the background as a custom property (e.g. --color-slider-background). Then the user would have to set background themselves using that var, and could merge with the checkerboard or override. However, then it would be required to use that var and there would be no background by default, which might be unexpected/harder to use. Another point is that there are several other inline styles currently, and not sure we'd want to have a lot of custom properties for each of these.  Opening this point for debate. I think exposing defaultStyle/defaultChildren/defaultClassName is useful independent of this though.

Should React-Spectrum ColorArea have a border like the ColorSlider and ColorWheel with forced-colors: active?

We may also want to update the custom swatches in the Storybook stories for ColorArea and the controlled examples of ColorField and ColorWheel to use forced-color-adjust: none.

I've replaced the custom swatches with real ones using useColorSwatch in #6272, which includes forced-color-adjust: none by default.


delete duplicate field Payment> DeliveryFee

delete duplicate field Payment> DeliveryFee

@wattanakorn495 @somkid-dev please note this change.


updated useCallback dependencies

What kind of PR is this?:

/kind refactor
What this PR does / why we need it:

Updated useCallback dependencies. All variables which is used inside useCallback should be added on the dependencies. It might be the rootcause of issue #728
Removed indent as it causes conflicts with editors, tslint and eslint. Will check on another PR
Remove unnecessary warn for cypress. Waiting is necessary especially for block wait

Which issue(s) does this PR fixes?:

Fixes https://github.com/DeFiCh/wallet/issues/689
Additional comments?:

@fuxingloh  I need to check what will be the changes in case we do it. I remember adding it before some reason. Need to revisit. I'll create a ticket for it for now


Sunset BlockEQ 😔

Priority
Normal
Description

Adds an alert to inform users BlockEQ is deprecated
Updates to fix iOS 13 bugs

Screenshot

I did not put your friends at StellarX.
I do not see you deleting inflation feature, did you?

I did not put your friends at StellarX.
I do not see you deleting inflation feature, did you?

Hid capabilities to set inflation, the friends at StellarX comes from the provided description in the ticket

did you enable tracking campaign?


Disallow else after a return

I'd like to propose --no-else-after-return option
// bad
func bar() (a int, b int) {
    if cond() {
        a = 11
        b = 22
        return a, b
    } else {  // lint: disallow else after return
        return 11, 22
    }
}

convert to this:
// good
func bar() (a int, b int) {
    if cond() {
        a = 11
        b = 22
        return a, b
    }

    return 11, 22
}

IIRC earlier it was covered by golint until it was deprecated. Isn't it covered by existing linters nowadays, maybe staticcheck? If not, I think it may be a good addition, though personally I currently don't have time to implement it, so patches are welcome.

I haven't found another linter that does this


Added correction to generated resource providers

_language is not passed on by the resource providers. This fix corrects this. Preferrably this could go in as a fix to 7.0.0

The name theResourceLanguage is deliberately taken as  theLanguage is a search parameter on Patient.

It also relates to https://github.com/hapifhir/hapi-fhir/pull/5300

Heya Jens, do you mind adding a changelog to the 7_2_0 folder for this? It acn follow the template of all the existing changelogs. If not, I can do it myself post-hoc, this will just save me some time.

Hey @jkiddo
Thanks for the contribution, looks like this broke a couple of tests. I'm going to close this pr and resolve this issues in another mr.

Heya Jens, do you mind adding a changelog to the 7_2_0 folder for this? It acn follow the template of all the existing changelogs. If not, I can do it myself post-hoc, this will just save me some time.

I can make the text yeah... ill just throw in the comments here as the PR is closed, ok?

👍🏻

---
type: fix
issue: 5743
title: Fixed behaviour of the _language query parameter. Now it is picked up as search parameter in the resource provider and filters accordingly. Thanks to Jens Villadsen (@jkiddo) for the contribution!

Fix will be merged in this mr https://github.com/hapifhir/hapi-fhir/pull/5743


Upgrading to v0.8.3

Merged tag v0.8.3 to homeassistant and kept only parts that are essential for using this project as library.
I have done some basic testing against s19 miner.

Before everything else:  Have a great vacation. These things can wait a little.
Yes, @Schnitzel has modified your project and released it as package in pypi. I have only updated the latest changes to his branch and maybe at some point it will be packaged and released to pypi. OR you guys come up with some other method.
For what it is worth I would suggest migrating to poetry. The whole release process is IMO simpler when using poetry. And it solves the problem you are trying to solve by adding all dependencies to requirements.txt-file a lot cleaner way.
If you guys need help, let me know.

Thanks for the suggestion.  I will have to look into poetry.
First order of business is to split off the .tools module as he has done into a separate project, allowing the release to be much smaller and more focused.
Thanks regarding the vacation, but coding doesn't feel much like a job so I don't mind, this is my pet project and I'm happy to work on it when I have access to a computer.

I'm working on this right now, got my laptop up and running, so I'm going to try to quickly get this out and running properly.
@Schnitzel I plan to release to PyPi under "miner_interface", this will avoid having to deal with whatever happens if I try to overwrite the package your released (I prefer this naming convention for it anyway)
I will update this thread once I get it up and running as expected so it can be tested as needed.

@Schnitzel It shows "miner_interface" as too similar to an existing project.  Could you remove yours from PyPi when you have a chance and I will get this uploaded.

Closing this for 2 reasons:

upstream is implementing this already
seems like I messed up with merge, so this branch is carbage anyways


New terms for RNA Polymerase Promoters used in vectors  [sf#76]

Reported by bowesj on 2008-01-17 21:53 UTC
Hi,
I'm with Xenbase and we would like to request several terms for representing RNA polymerase promoters in vectors used for creating cDNA librairies.
There has been some discussion of this already in the Chado Schema listserv which has also been forwarded to the SONG-devel listserv.
There are already some terms related to polymerase promoters (e.g.SO:0000169 , RNApol_I_promoter) in SO.  However, none of these apply to the specific types of RNA Polymerases that we need to represent.  So, the terms we are suggesting includes a supertype for RNA polymerase promoters and more specific terms for the type of RNA polymerases we need-  the Phage RNA Polymerases: SP6, T7 and T3.
Therefore, we are requesting the following terms:
term: RNA_Polymerase_Promoter
definition: A DNA sequence to which RNA polymerase binds, to begin transcription.
term: Phage_RNA_Polymerase_Promoter
definition: A DNA sequence to which Bacteriophage RNA polymerase  binds, to begin transcription.
term: SP6_RNA_Polymerase_Promoter
definition: A DNA sequence to which the SP6 RNA polymerase binds, to begin transcription.
term: T3_RNA_Polymerase_Promoter
definition: A DNA sequence to which the T3 RNA polymerase  binds, to begin transcription.
term: T7_RNA_Polymerase_Promoter
definition: A DNA sequence to which the T7 RNA polymerase  binds, to begin transcription.
These would be organized in the following is_a hierarchy
+ RNA_Polymerase_Promoter
++ Phage_RNA_Polymerase_Promoter
+++ SP6_RNA_Polymerase_Promoter
+++ T3_RNA_Polymerase_Promoter
+++ T7_RNA_Polymerase_Promoter
Other existing polymerase promoters would likely fall into this as well as children of RNA_Polymerase_Promoter
Thanks,
Jeff Bowes

Commented by eilbeck on 2008-01-18 02:35 UTC
Logged In: YES
user_id=742851
Originator: NO
Hi Jeff,
It is done.
--Karen

Updated by eilbeck on 2008-01-18 02:35 UTC

status: open --> closed-accepted


Project Draft

Project Draft
Project vision:
This search engine is NOT a general search engine like Google, but a in-depth domain search engine.
Features
TODO:

[ ] PDF searching
[ ] BaiduPan share links searching

Inventory
Inventory:

[ ] EC2 ==> Main host
[ ] EBS ==> As elastic cloud storage
[ ] MongoDB (container on EC2) ==> As document storage
[ ] Redis (container on EC2) ==> As Message Queue & request rate limiter
[ ] Postgres (container on EC2) ==> For Indexing

Architecture | Tech Stach
Stach:

[ ] Front End ==> Bootstrap + AJAX
[ ] Backend API ==> Python + FastAPI
[ ] Backend Scraper ==> Python + requests
[ ] Searching Algorithm ==> C
[ ] Parsing & Indexing ==> C

Antiscrape Strategy
It'll be much effort to implement Proxy strategy for scraping, so in this project we are to use Single IP for scraping.
Need to have a domain-aware scraping schedular, to avoid too many requests into the same domain.

Study: NLP Algorithms on Search Engine
Word Embedding
REF: https://en.wikipedia.org/wiki/Word_embedding?oldformat=true

Word2Vec
REF: https://en.wikipedia.org/wiki/Word2vec?oldformat=true

Hypernyms
REF: https://en.wikipedia.org/wiki/Hyponymy_and_hypernymy?oldformat=true


Fixing karma errors

This addresses #711 with..

Ignoring template requests requests in $httpBackend.
Mocking user in articles tests.

All karma tests pass with these additions.
Decided to use $httpBackend to intercept requests for *.html files and respond with 200.

@cdriscol There wasn't any output on the individual tests. Below is the only output I received after running gulp karma. Is this the desired output?
It could be an issue on my end. I haven't had much experience with karma.
[01:50:06] Using gulpfile ~\Documents\GitHub\mean\gulpfile.js  [01:50:06] Starting 'karma'... [01:50:07] Starting Karma server... INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/ INFO [launcher]: Starting browser PhantomJS INFO [PhantomJS 1.9.8 (Windows 7 0.0.0)]: Connected on socket _uGLZGx1a1JJahGcjhU2 with id 93436787 WARN [web-server]: 404: /modules/core/views/404.client.view.html PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 12 of 12 SUCCESS (0.011 secs / 0.146 secs) [01:50:12] Finished 'karma' after 5.38 s

when running grunt tests all is ok?

@cdriscol have you tried with karma-ng-html2js-preprocessor?

@lirantal, grunt was having the same problem.
@ilanbiala, I did look into the karma-ng-html2j-preprocessor way of handling this issue.. I chose this method because it seemed really simple to just ignore those requests with $httpBackend.  do you have a preference for the karma-ng-html2js-preprocessor?

Yes, I think once we add in directives it will be more useful to use the preprocessor because we will actually have the directive templates.

@ilanbiala, I created a new PR with karma-ng-html2js-preprocessor here #714.
I actually favor the preprocessor at this point so I closed this PR.


Client Allocation Request for: a.ipeymh

Client Allocation Questions
Core Information

Name: a.ipeymh
Website / Social Media: emyde.com, (!@ehopf, o.d)
Region: Asia excl. GCN
DataCap Requested: 1.13 TiB
Addresses to be Notarized: f1495978707
Notary Requested: Cabrina Huang

This user’s identity has been verified through filplus.storage


dropdown-button with fixed position

Hi,
I have a fixed dropdown-button that "replace" the navbar on my site. The problem is that the position on the related dopdown-content is set as absolute. So if the page have a vertical overflow and you are not on the top of the document, you'll not see the dropdown-content.
Is there any way to easily set the position of the dropdown-content to fixed ? Because the only way i found to prevent this issue is to set a timeout function with 1ms (uncomment the line on codepen and it'll work as expected).
CodePen
Thanks :)
sorry for my bad english, it's not my native language

See the following line: https://github.com/Dogfalo/materialize/blob/2746daeed242088a298fd4b0b06f6ce2c2242f6a/js/dropdown.js#L169
We need a fix for fixed parent elements as position() gets the wrong value, we probably need offset().
https://stackoverflow.com/questions/26844757/offset-top-is-not-working-as-expected-in-if-parent-element-is-fixed

Just tested by changing the line with top: origin.offset().top + verticalOffset + scrollYOffset,.
With this method the dropdown-content is well positioned when you click the dropdown-button, but if the user scroll when the dropdown is opened, the button won't follow the scroll but the content will do it (because the content don't have a fixed position).

I think the best fix should be to add a "dropdown-static" class or a data attribute that change the position of the dropdown-button and the dropdown-content to static.

@bukibarak there are more lines probably. I'll prepare a modified version of the component and create a simple codepen and a PR for it.

Just don't make the button itself position fixed. If you wrap it in a fixed container everything should work fine.


Strict mode + TypeError

Uncaught TypeError: Cannot set property 'modal' of undefined     at scripts.js:123

Hi, cookie-consent-js has no file scripts.js.

Yes, you are right. I just loaded your script as a module in my own scripts.js. Because I use strict mode, the error was displayed. I can deal with this by myself. I just wanted to let you know.

Okay, nice, but if what exactly is the error? :)

Problem is that this is undefined in hideDialog() and showDialog(). As a simple fix you could use window.modal instead.

Fixed (better late than never). Thanks for reporting!


Let applicants upload documents from their library to File Upload questions

In #1443 we propose creating a library of all documents/files an applicant has ever uploaded to CiviForm.
We could also have all File Upload questions offer a section to "upload a file from your library", which opens a dropdown with the files you've uploaded to CiviForm before. You can just tap one to upload them.

Assigned for ux design part.


We need to get alerted when Loki or Mimir cannot access object storage

On my latest oncall shift, I got paged by a MimirCompactorFailedCompaction alert but after investigations, I found out that the root issue was that the compactor as well as other mimir components were unable to access the object storage. After further checks, I discovered that it was the same case for loki.
TL,DR the IRSA was broken and both loki and mimir couldn't access the object storage but we didn't get paged for this. Hence, we should create an alert that would page whenever any of these apps is in such a situation.
For more details, you can check the related incident.

Not sure which metrics we can rely on.
Logs are tempting, but if object storage access is broken, we won't have logs.
Mimir metrics: cortex_bucket_store_sent_chunk_size_bytes_count?
Loki equivalent: loki_rate_store_stream_rate_bytes_count?

Alert deployed and working.


Fix CustomStringConvertible/CustomDebugStringConvertible conformances

For CustomStringConvertible, description should print elements using String(reflecting:) rather than String(describing:), to avoid element output from interfering with syntactically relevant punctuation within structured list displays.
To make this work without making displays overly verbose, make debugDescription mostly the same as description, except for escaping raw string displays when and if needed.
Avoid printing type names in debugDescription — it is generally not helpful, as the type is already easily accessible elsewhere. Including it makes for overly verbose displays when the type serves as an Element of a collection.
Avoid having debugDescription return the empty string — it can be confusing when such a description appears in list displays.

Resolves #301.
Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[X] I've added tests covering all new code paths my change adds to the project (if appropriate).
[X] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[X] I've updated the documentation if necessary.

@swift-ci test

macOS PR testing is still down. Merging based on Linux results.


areActivitiesEnabled should be callable from iOS lower than 16.1

The first check from the swift plugin handle function is:
https://github.com/istornz/flutter_live_activities/blob/01dfa660fae40c10d533ef2b6c025e6a77a9aa09/ios/Classes/SwiftLiveActivitiesPlugin.swift#L55
This makes impracticable to use areActivitiesEnabled function to check if the user is running on iOS lower than 16.1
I'm currently out of time to open a PR, but the change is very easy. Just creating this issue to address the problem and I'll create a PR in the following days if possible.

Release 1.7.4 now released & fix this !


Add overrides

This PR adds some overrides for some methods as they can be easier calculated from type.
Needs some tests first, but I wanted to see code coverage on github first. Also this branch is based on #11 so it should not be merged before that. (Maybe would be nice, if contributors could create github labels, so I could create a WIP label)
Furthermore, I added FillArrays.jl as a dependency.

a few conflicts here, they are non-trivial so I'll let you check

Should we keep this PR open, so I can put overrides for the other graph types or should I create a new PR for that?

let's merge this one and do the rest in other PRs?

Alright


Disable all snapshot builds before release

May occur such warnings
[WARNING] Could not transfer metadata io.cucumber:messages/maven-metadata.xml from/to zebrunner_snapshots (https://nexus.zebrunner.dev/repository/ce-snapshots/): Transfer failed for https://nexus.zebrunner.dev/repository/ce-snapshots/io/cucumber/messages/maven-metadata.xml

done. during the testing double check that there is no warnings anymore


Upgrade to address High CVEs

Why are these changes needed?
There are currently 3 High CVEs detected by Snyk:
https://www.cve.org/CVERecord?id=CVE-2023-44487
https://www.cve.org/CVERecord?id=CVE-2022-21698
https://www.cve.org/CVERecord?id=CVE-2023-45142
This PR addresses each of them. I've opened a PR against my local fork (which is in sync with this repo and is scanned by Snyk), to verify this resolution. Moreover, the provided links detail how the CVEs were introduced.
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Manual tests
[ ] This PR is not tested :(

/hold

/unhold Good to merge!


Missing Steps

@FatJohn commented on Thu May 14 2020
In Creating the Cell Prototype section there're two missing steps that would cause this tour fail

after step 2 that creating EmployeeItem ViewController, should rename EmployeeItem.xib to EmployeeItemController.xib manually
before step 10 should set EmployeeCell in XCode identifier filed of whole EmployeeItem

文件詳細資料
⚠ 請勿編輯此區段。 這是 docs.microsoft.com ➟ GitHub 問題連結的必要項。

ID: 052632d9-3d35-c2be-d22f-a70f01e2391e
Version Independent ID: c7c2f101-ffcf-6599-272c-7e03142a4343
Content: Xamarin 中的集合視圖 - Xamarin
Content Source: docs/mac/user-interface/collection-view.md
Product: xamarin
Technology: xamarin-mac
GitHub Login: @davidortinau
Microsoft Alias: daortin

@srvbpigh commented on Thu May 14 2020
Hello, @FatJohn
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


Am I doing this right?

I'm beginning to experiment with this, mainly for form inputs, and have implemented the following:
module UiHelper
  def ui
    @ui ||= Ui.new(self)
  end

  class Ui
    delegate_missing_to :@view_context

    def initialize(view_context)
      @view_context = view_context
    end

    def text_input
      tag.attributes class: "block w-full bg-grey-200 border-transparent focus:bg-white"
    end
  end
end

<%= form_with … |form| %>
  <%= form.label :query, "Search" %>
  <%= form.search_field :query, ui.text_input.with_attributes(value: params[:query], class: "py-1 pr-1 pl-8") %>
<% end %>

Am I along the right lines with this approach? Thanks!

I think so!
I'm in the process of exploring a built-in way of declaring clusters of attributes and classes without having to declare the builder (the Ui class in your example code). It's coming out to something like:
  AttributesAndTokenLists.define :atl do
    define :button, tag_name: :button, class: "text-white p-4 focus:outline-none focus:ring" do
      define :primary, class: "bg-green-500"
      define :secondary, class: "bg-blue-500"
      define :tertiary, class: "bg-black"
    end
  end

require "test_helper"

class AttributesBuilderTest < ActionDispatch::IntegrationTest
  test "reads configuration from app/views/initializers" do
    post examples_path, params: {template: <<~ERB}
      <%= atl.tag.button "Unstyled" %>
      <%= atl.button.tag "Base" %>
      <%= atl.button.primary.tag "Primary" %>
      <%= atl.button.secondary.tag "Secondary" %>
      <%= atl.button.tertiary.tag "Tertiary" %>
      <%= atl.button.primary.tag.a "Primary", href: "#" %>
      <%= atl.button.primary.link_to "Primary", "#" %>
    ERB

    assert_button "Unstyled", class: []
    assert_button "Base", class: %w[text-white p-4 focus:outline-none focus:ring]
    assert_button "Primary", class: %w[text-white p-4 focus:outline-none focus:ring bg-green-500]
    assert_button "Secondary", class: %w[text-white p-4 focus:outline-none focus:ring bg-blue-500]
    assert_button "Tertiary", class: %w[text-white p-4 focus:outline-none focus:ring bg-black]
    assert_link "Primary", href: "#", class: %w[text-white p-4 focus:outline-none focus:ring bg-green-500], count: 2
  end
end

Nice! I'm finding that my buttons and inputs just need size and color customisation, so I was considering something like ui.text_input(size: :sm).with_attributes(…), with ui.text_input returning the defaults.

I'm curious about this approach with link_to view helpers:
<%= atl.button.primary.link_to "Primary", "#" %>

Can I apply this pattern with a Rails form builder? If so what would it look like? (My initial brief experiments haven't quite worked.)

I'm in the process of exploring a built-in way of declaring clusters of attributes and classes without having to declare the builder

This looks like a reasonable approach: https://stitches.dev/docs/variants In Ruby, this'd be 🔥

@domchristie your suggestion has rattled around in my head for 4 or 5 months, and finally came to fruition: https://github.com/seanpdoyle/styled_helpers

@seanpdoyle amazing! I'll check it out…

I've also just come across: https://github.com/avo-hq/class_variants

I've also just come across: https://github.com/avo-hq/class_variants

Although styled_helpers looks preferable as it can handle multiple attribute types (rather than just classes)


Add cache metadata

Add "state" field that reports on the current process.
This will allow multiple process to run sync while keeping only one running.
Possible values:

ready
refreshing
enriching
?

--force should ignore the current state and always refresh

Add "last_pulled" (or equivalent), so we don't rely on filesystem's info.
Should be a DateTime at which the last sync was done

I went back and forth on this a couple of time already. I'm going to close this until there's a strong need for it.


Release Google.Cloud.ApiHub.V1 version 1.0.0

Changes in this release:
No API surface changes; just dependency updates and promotion to GA.

Created release for Google.Cloud.ApiHub.V1-1.0.0


Layers and Blocks

5.1 Layers and Blocks

Please make the following Changes

Combine the code blocks #1,2,3
As per the book, the 1st block must be initialized and demonstrated using a random uniform tensor
Initial Paragraph Before the 1st code block is missing
Image missing
Ordered Bullets for the part before “A Custom Block” starting from it needs to ingest data….
forward, backward and net(X) to be enclosed by `` for highlights. e.g. forward
Please enclose all technical terms / function names / module names with   in markdown(refer to d2l-en notebook)
The paragraph just before ‘A Sequential Block’ is missing
Mathematical notations under ‘Blocks with Code’ should be using LaTeX (refer to original notebook)
Paragraph missing under ‘Blocks of Code’ before the 8th code block
Comments  should be organized and clean in the 8th code block
The list under ‘Summary ’ must be bulleted
Refer to Actual Notebook and copy Markdown texts
Please rename the notebook as Layers_and_Blocks


[ISSUE #4]Add blog Java Logging System - Relationships between common logging components

Fix #4

Add blog Java Logging System - Relationships between common logging components

[ISSUE #4]Add blog Java Logging System - Relationships between common logging components


Not able to click a link with href=#

Hi everyone,
I'm not able to click a link in a <a> tag. I don't see any errors but I can't see any change in the html source code.
After clicking the link with xpath "//li[@class="webradio "]/a" the class "active" should be enabled but nothing happens.
The href points to # and there is an event listener that changes the source code.
`
import scrapy
from scrapy.crawler import CrawlerProcess
from scrapy.selector import Selector
class TestSpider(scrapy.Spider):
name = 'login'
def start_requests(self):
    yield scrapy.Request(
        "https://www.radioitalia.it",
        meta={
            "playwright": True,
            "playwright_include_page": True,
        }
    )

async def parse(self, response):
    page = response.meta["playwright_page"]
    #accept cookies
    await page.locator('xpath=//button[@mode="primary"]').click()
    #switch to webradio
    await page.locator('xpath=//li[@class="webradio "]/a').click()
    html_content = await page.inner_html("body")

    body = Selector(text=html_content)

    await page.close()

    yield {
        #the button webradio should obtain the "active" class but nothing happens
        "body": body.xpath('//ul[@class="radio-buttons"]').getall()
    }

process = CrawlerProcess(settings={
#'LOG_ENABLED': False,
'DOWNLOAD_HANDLERS': {
'http': 'scrapy_playwright.handler.ScrapyPlaywrightDownloadHandler',
'https': 'scrapy_playwright.handler.ScrapyPlaywrightDownloadHandler',
},
'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor',
})
process.crawl(TestSpider)
process.start()
`
Could you please point me to the right direction?
Thanks in advance,
supermario18b

You are doing all of your page manipulation using Playwright directly, it doesn't seem to be a problem with this Scrapy integration. I'd suggest trying with standalone Playwright and/or adding some Page.wait_for_timeout/Page.wait_for_selector call.

Thanks for your advice,  it came out that the problem was using the standard browser of playwright (chromium). I tried with firefox and it worked.


Add Quotes (somewhere) and remove old pages

a) Extract quotes from these pages:
_layouts/developers.html
_layouts/creators.html
_layouts/contributors.html
and move to a file under _includes/partial and import it where we will use it.
b) create a single slideshow on some page (home?) using this quote widget.
c) then delete the old pages.
d) look to delete anonymous quotes (e.g., from Twiiter)
e) look to add new quotes from "Supporters" and partners at Apache. (perhaps solicit on "Dev" list or directly).
For convenience (and so I can delete these pages)... here are the quotes:
developers:

      “Apache OpenWhisk relieved us from all of our pain points. It allowed
      us to focus on coding instead of operational aspects, guaranteed
      optimal utilization and scaling, [and] provided us with a flexible
      programming model.”

      – Barry Nijenhuis, SiteSpirit

      “Apache OpenWhisk’s modular and effective ecosystem twisted our minds
      and now we’re able to deploy and connect different parts of our apps
      and infrastructure easily.”

      – André Poleza, Co-Founder of Nepente

creators:

      “What excites me most [about Apache OpenWhisk] is its open source
      nature, which creates a foundation for a broad ecosystem of
      contributing parties.”

      – Andrei Yurkevich, CTO of Altorors

      “Apache OpenWhisk’s modular and effective ecosystem twisted our minds
      and now we’re able to deploy and connect different parts of our apps
      and infrastructure easily.”

      – André Poleza, Co-Founder of Nepente

contributors:

      “Apparently @openwhisk is the only fully open source #serverless
      technology, can run in-house too.”

      #OpenWhisk

      “So far I find #OpenWhisk the real highlight of this #serverlessconf
      London, I’m totally amazed by the work done so far by the dev team!
      kudos”

      #OpenWhisk

Perhaps add to the "Community" page?

Quotes are problematic since we have no means to keep them current and the ones we have are over 2+ years old and 1/3 are anonymous.  That is really not imparting much of a testimonial.

@mrutkows Could we contact those non-anonymous quotees and ask them for a more recent version?


Make a swoop destroy

That will delete local .kestrel folder, push with a destroy flag and remove the remote project folder in in repositories on the kestrel folder.

A flag to this could be --all which would clean out the remote repositories folder.


Create a new pull request by comparing changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.177%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1760

Relevant Lines:
1760

💛  - Coveralls


adding another white paper

Done.  Was on vacation (and still am today).  Will try to keep up with activities as possible.


Updating PackageManagement Module in PowerShell Core - Assembly Name Conflicts

I have a little script that I'm working on that attempts to update the PackageManagement and PowerShellGet Modules in PowerShell Core if they're not the latest. It seems like I'm getting a race condition in PowerShell Core beta.6 and 7 when I attempt to update the PackageManagement Module.
Here's a Git Gist with both the script (~100 lines) and the resulting errors I get on PowerShell Core beta.6 and 7 (any OS):
https://gist.github.com/pldmgg/b8db54742d511bd7d8d5742d539ebbe1
The results of my testing have shown that:

It works fine on Windows PowerShell 5.1

It throws errors as seen in the above Gist in PowerShell Core beta.6 and 7 on any OS.

After the errors are thrown, using 'Get-Module' shows that the latest version of the PackageManagement Module is loaded, but there aren't any ExportedCommands

If I start a new PowerShell Core Session after experiencing the above errors and try the script again, everything works fine

So, the errors are pretty clear that there's a conflict with assembly names that are currently loaded / trying to be loaded, and I understand that the reason that starting a new PowerShell Core Session works is because that's the only way to unload previously loaded assemblies, but maybe there's a way to have PackageManagement.psm1 check to see if certain needed assemblies are already loaded before trying to load them again in PowerShell Core?

@pldmgg Yes, it is required to start a new PowerShell Session to load the newly installed versions of PackageManagement and PowerShellGet modules. Please take a look at 'Get the latest version from PowerShell Gallery' section in doc.

To be clear, according to the output of 'Get-Module' for a brand new session in both Windows PowerShell and PowerShell Core, neither PackageManagement nor PowerShellGet Modules are loaded, which means none of their respective assemblies are loaded.
My script (around line 32) uses the "Find-Module" cmdlet (part of PowerShellGet), which automatically loads the latest locally available versions of PowerShellGet and its dependency PackageManagement. The versions of these Modules that are loaded at the time Find-Module is called are NOT the latest versions according to the output of Find-Module.
From there, the latest version(s) are installed.  The difference in behavior between Windows PowerShell and PowerShell Core comes with lines 80-105, where the old version(s) of PowerShellGet and PackageManagement are removed via the Remove-Module cmdlet, and then the newly installed latest version(s) are imported using the Import-Module cmdlet.
Windows PowerShell has no problem importing the latest version(s) of the modules within the same session (after having removed the older versions).
PowerShell Core, on the other hand, throws the aforementioned (in the Gist) errors when trying to import the latest versions after having removed the older ones within the same session.
So, at the end of the day, Windows PowerShell can update within the same session, and PowerShell Core cannot.  Maybe the behavior of Import-Module / Remove-Module is different between Windows PowerShell and PowerShell Core, in that Windows PowerShell's Remove-Module actually removes referenced assemblies?

My workaround for this was to, before loading any modules, update package management "manually" by pulling it from the PSGallery URI and unzipping it in-place before importing it, this way the "new" DLL is the first thing that loads, because if you try to use Find-Module or update-module as mentioned, it will load the DLL which will be too late.


disclaimer updated with EOS publication doi

@doutriaux1 updates disclaimer with EOS paper reference and doi

@doutriaux1 merge with master ready!


[BUG] - Creating new file strange behavior

Describe the bug
I tried to create a new file and start writing but I noticed the following problems:

When the theme is light, the text just written is not read
When you go to a new line or delete one, sometimes you notice a problem in the number of lines between their spaces

To Reproduce
Steps to reproduce the behavior:

Click on create new file
Start typing
Go to carriage
Delete a line, character by character

Screenshots
https://user-images.githubusercontent.com/20476002/160239631-09d4d30e-1e98-4da8-b348-b81ca9c9842e.mov
Desktop (please complete the following information):

OS: macOS 12.3
Xcode: 13.3

@austincondiff :
https://user-images.githubusercontent.com/20476002/160255545-40184c1e-1594-497b-b951-8c19c15bd9f9.mov


[BUG]: Storage actuator crash

Bug Description
When opening the storage actuator, the game freezes and eventually crashes
Logs and Crash Reports
https://paste.gemwire.uk/view/raw/db6ec117
Screenshots and/or Videos
No response
Bug Reproduction

Open Storage Actuator
Game Crashes

Expected Behavior
The game not to crash when I open the storage actuator
Minecraft Version
1.19.2
Mod Version
1.67.0
Modpack
ATM

Can you please paste the crash log? This seems to be the server log, or a log without crash information.
If the client crashes there should be a separate folder in your minecraft/modpack installation directory that contains crash files
The most likely reason, though, is that you have an item in the storage actuator that has too much NBT in there

I couldn't find a proper crash log, possibly because the game just freezes when I open the storage, and i then have to force close it through the task manager
Is there anything I can do to remove this item?

Generally to remove it you'd have to edit the inventory in the world save file with an nbt editor - that works exactly like editing a shulker box. I don't know how that works in the sense of which steps/tools are needed from a user perspective though
That said, the issue i am referring to so far usually produced a crash log (at least the cases reported to me). What happens if you leave the window open for a few minutes, does it ever close on its own?
Without the info of what exactly is going on that we get from a crashlog it is very hard to assist

Oh, on another note, if you have any idea which item it could be that you added, it is possible that it can be fixed on the side of the mod that added that item.
Items with a lot of nbt can be set up by the modder to not send that NBT over network (or rather, only those parts of the nbt data that are necessary to display the item correctly, such as damage to the item). So if we a) know that the issue is due to the nbt and b) can find the mod I can help them set up their items in a safer way

I tried leaving it open for a while but it just stayed frozen.
As far as editing the save file with an nbt editor, do you have any idea what the storage actuator's storage might be listed as within the files?

I haven't used an nbt editor before so I am not sure. But if you can find a tutorial on how to edit a shulker box (or probably even a normal chest) it should be basically the same

I am closing this for now as it seems not possible to procure information to fix it.
If new info pops up that helps to reproduce this please ping me to reopen, or create a new issue


DOCUMENTATION

We need a documentation!

Started documentation document under /docs/documentation

Currently blocked by #18


Replace glob_match with globset

What problem are you trying to solve?
The glob_match crate has a bug with a pattern like **/*test*.py , where a file like abc/test/def/test.py does not match.
Or even t/test.py does not match.
See https://github.com/devongovett/glob-match/issues/9 for issue.
What is your solution?
The globset crate does not have that bug and is pretty fast too.
Alternatives considered
What the reviewer should know
globset has a separate compilation step, so I do it during configuration parsing.

Approved and agreed on a follow up to make the function as part of a type.


AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute ansible_eth0

This error happened when using raft as storage backend.
TASK [ansible-community.ansible-vault : Vault main configuration] **********************
fatal: [server-1.company.internal]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_eth0'"}

local machine details:
ansible-playbook 2.10.4
  config file = None
  configured module search path = ['/Users/nugrohof/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.10.5/libexec/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.9.1 (default, Jan  8 2021, 17:17:43) [Clang 12.0.0 (clang-1<IP_ADDRESS>)]

Mac OS Big Sur 11.1

remote machine details:
Ubuntu 18.04.4 LTS

It's due to a concatenation, look at the ethernet interface name on your machine and define something like:
vault_iface: eth1

Hi,
i get the same error as fajarnugroho no matter if i omit or set the vault_iface parameter
Error Message
TASK [ansible-vault : Vault main configuration] ***************************************************************************** fatal: [vault1.sec.austrocontrol.at]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_ens160'"}
Server Interfaces:
[root@vault1 vault.d]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000     link/ether 00:50:56:ae:77:81 brd ff:ff:ff:ff:ff:ff
Playbok:
hosts: vault
gather_facts: True
become: yes
pre_tasks:
- include: "tasks/vault.yaml"
vars_files:
- "vars/vault-certificate.yaml"
vars:
vault_version: 1.6.2
vault_data_path: /var/vault
vault_raft_data_path: /var/vault
vault_raft_group_name: vault
vault_group: vault
vault_manage_group: true
vault_cluster_name: vault
vault_iface: ens160
vault_backend: raft
vault_raft_node_id: "{{ ansible_facts.nodename }}"
vault_api_addr: "{{ vault_protocol }}://{{ ansible_facts.nodename }}:{{ vault_port }}"
vault_address: "{{ ansible_facts.nodename }}"
vault_cluster_addr: "{{ vault_protocol }}://{{ ansible_facts.nodename }}"
vault_port: 8200
vault_tls_disable: 0
vault_tls_copy_keys: true
vault_tls_files_remote_src: true
vault_tls_src_files: /etc/ssl
vault_tls_ca_file: ca.crt
vault_tls_cert_file: server.crt
vault_tls_key_file: server.key
roles:
- { role: ansible-vault }

Hi,
I think I've found the error:
This is out of your docu
Default value: "{{ hostvars[inventory_hostname]['ansible_'+vault_iface]['ipv4']['address'] }}"
but in the file /.ansible/roles/ansible-vault/templates/vault_backend_raft.j2 you use this:
"{{ hostvars[server]['vault_api_addr'] | default(vault_protocol + '://' + hostvars[server]['ansible_' + vault_iface]['ipv4']['address'] + ':' + (vault_port|string)) }}"
If you replace server with inventory_hostname  everything works fine.
BR
Rene

It's due to a concatenation, look at the ethernet interface name on your machine and define something like:
vault_iface: eth1

Hi @bbaassssiiee, thanks for your response. I have set the vault_iface value and the interface is exist.

Hi @rkacg,
Thanks for your help.
I've found out that hostvars[server] doesn't contain ansible_eth0 key. So, I change the key to ansible_host.
This is the line that I changed in templates/vault_backend_raft.j2 file:
leader_api_addr = "{{ hostvars[server]['vault_api_addr'] | default(vault_protocol + '://' + hostvars[server]['ansible_host'] + ':' + (vault_port|string))  }}"

I think the purpose of the variable is to customize which IP address/interface that will be used for exposing Vault port. So, I will close this issue.

I guess @rkacg might be right about a bug in the template.
Please try with inventory_hostname instead of ansible_host.
The output of this command should have the interface name in your situation:
ansible vault_servers -m setup

I tried to debug by inserting a task before the Vault main configuration task to see the content of hostvars. In that case, the ansible_eth0 key was presented. But, when I tried to debug by modifying the Vault main configuration task by dumping hostvars variable to /etc/vault.d/vault_main.hcl there is no ansible_eth0 key presented.

Hi,
I think I've found the error:
This is out of your docu
Default value: "{{ hostvars[inventory_hostname]['ansible_'+vault_iface]['ipv4']['address'] }}"
but in the file /.ansible/roles/ansible-vault/templates/vault_backend_raft.j2 you use this:
"{{ hostvars[server]['vault_api_addr'] | default(vault_protocol + '://' + hostvars[server]['ansible_' + vault_iface]['ipv4']['address'] + ':' + (vault_port|string)) }}"
If you replace server with inventory_hostname everything works fine.
BR
Rene

Can you provide a pull-request?

I've had the same issue, and made a PR here: https://github.com/ansible-community/ansible-vault/pull/230

@rkacg Could you show contain tasks/vault.yaml and vars/vault-certificate.yaml ? Thanks!

So Im guessing that if you have a machine listed in your inventory that you are not using anymore it can cause issues with magic variables.

So Im guessing that if you have a machine listed in your inventory that you are not using anymore it can cause issues with magic variables.

But what about the case where you wish to use Ansible host targeting exclusions? Does that count as a 'host that you are not using anymore', from Ansible's perspective?

So Im guessing that if you have a machine listed in your inventory that you are not using anymore it can cause issues with magic variables.

So, does this appear to be an Ansible problem, or a problem steming from this role? It now feels like it is an Ansible problem. I wonder if there's a bug in the Ansible tracker....

Hi i faced this issue today, seems that the default vars need to be updated too, the vault_raft_cluster_members variable is using hostvars[server] instead of hostvars[inventory_hostname]


Add MIT license header with copyright to each script

Thus making it clearer that all the code is under the MIT license.
Also cropped the lines in the license file at ~80 characters.
Part of #1.

Note that the main development will be done at @KOBUGE-Games as planned, but I just want to make sure everything is clear license wise in your upstream repo before we start diverging in the fork.

sure

Thanks. :)


Allow adding custom classes to the suggest list and suggest item

Description
Fixes #197. Reuses the work done by @edudavid in https://github.com/ubilabs/react-geosuggest/pull/198
Checklist

[x] All tests passing
[x] Extended the README / documentation, if necessary
[x] Commits and PR follow conventions

Would you mind to update the naming? Can merge this then.  😃

@ro-ka Sorry about the delay. I deleted the fork coz I was trying something out. I'll create a new PR on a new fork with the new name changes. I might need a bit more time for adding tests as I have a few other engagements that need attention.
Happy new year! 🎆

No problem! Update as soon as you’re ready.   😃  🎆

Closing in favor of #262.


Added a cursor trail effect to TESTIMONIAL page

Is your feature request related to a problem? Please describe.
Added a cursor trail effect to TESTIMONIAL page, creating a subtle, interactive visual trail that follows the user's cursor as they navigate the page.
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Hi, Thank you for raising the issue.
But for now it is not required and don't want any improvements on this page.
So I am closing this issue.
Please understand.
And one more thing this project is already inactive including me also due to some of my works.
Please do contribute to other projects.
I hope you understand.

And one more thing this project is already inactive including me also due to some of my works.
Please do contribute to other projects.
I hope you understand

And one more thing this project is already inactive including me also due to some of my works.
Please do contribute to other projects.
I hope you understand

Oh okay, No issues. It was not known to me that the project is inactive.


feat: add validator monitor metric for missed attestation reason

Motivation
Beacon nodes sometimes miss attestations, either due to network conditions or internal problems. This PR extends the validator monitor with heuristics to try to guess why a registered validator did not obtain the maximum attester reward possible.

https://github.com/ChainSafe/lodestar/issues/5376

Description
Assumptions:

Must handle short re-orgs of 1-5 slot depth
Assumes somewhat healthy network conditions: no slashings, no deep re-orgs of > 32 slots

First, what's a missed attestation?

Half way through the last slot of the epoch, the validator monitor is called with the current head state
Iterates previous epoch participation and if some flag is set to false
Uses tracked data from API submission and gossip inputs to guess the reason of penalty

The main function to review is this one :point_down:
https://github.com/ChainSafe/lodestar/blob/9a5828d37c58d71f0a952d73ee2ff1f55bcbf7f1/packages/beacon-node/src/metrics/validatorMonitor.ts#L683-L695
Closes https://github.com/ChainSafe/lodestar/issues/5376

Dashboard example

:tada: This PR is included in v1.9.0 :tada:


v7 Link is no longer available

https://azcopy.azureedge.net/azcopy-7-3-1/MicrosoftAzureStorageAzCopy.msi
This link is no longer available.
I need it for Table Storage Copy.
Is there any alternative link ?

We also need this version available for compatibility with other applications.
https://azcopy.azureedge.net/azcopy-7-3-0/azcopy_7.3.0-netcore_linux_x64.tar.gz

I believe this should be resolved now. Please re-open if it is not.

Hi @adreed-msft,
https://aka.ms/downloadazcopynet
The link is no longer available again.
Could you pls help us?


openDialog Error

with Silverstripe 4.13 the
openDialog: function() {......
spits an error:
TypeError: el.getAttribute is not a function. (In 'el.getAttribute("id")', 'el.getAttribute' is undefined)
r (vendor.js:1:2232584)

Noticed this as well but I have no idea what's causing this...
Something in core, apparently 🤷♂
Maybe it has something to do with the way this module tries to workaround react stuff, I'll leave this ticket open for now.


Change velero container's base image

Switch to something like debian:stretch-slim.

Do we want to update the MAINTAINER lines in the Dockerfiles, too?

As a point of reference, Contour is using the golang image, which is based on stretch.


Make the source CSVs serve as SSoT throughout gaia

Make sure these source csv files are used as the single source of truth wherever the data model is referenced in code. This may require doing inventory of what functionality references the data model:

[x] https://github.com/OHDSI/GIS/issues/201
[x] #205
[x] #208
[x] https://github.com/OHDSI/GIS/issues/204
[x] #265

Fixed in 0f8933b9a288adaa0d3fc7c2720875c6ed7fa537


HELM-87: implement fallback-attribute in grafana perf-ds

Pretty straightforward, this PR implements support for fallback-attribute in the performance datasource.  I confirmed it by typo-ing the attribute and then providing a valid value (ifInOctets) for the fallback-attribute and I still get graphs, so it seems to be working as expected.  :)

👍


Allow hosting tower interface over Tor without access to the Tor control port

On embassyOS, we don't allow services to access the Tor control port. The OS automatically creates a hidden service and attaches it to the interface indicated in the manifest, is there any way to simply give the tower its system-generated Tor address without allowing it to create a hidden service itself?

The OS automatically creates a hidden service and attaches it to the interface indicated in the manifest

Can you elaborate how this goes or share a link. How is the hidden service attached to the interface (and what interface?)?.
What I understand now is that an .onion address is generated and passed to the tower to operate on? But is the tower authorized to do so?
I guess you can always create a hidden service on the OS and then have it listening to some local port (the port that the tower is listening to) without triggering the tower's own --torsupport flag.

Yes, you are correct, I can just turn off Tor support and everything will work fine:
# API
api_bind = "<IP_ADDRESS>"
api_port = 9814
#tor_control_port = 9051
#onion_hidden_service_port = 9814
tor_support = false

Disregard.

Should we add a small section to https://github.com/talaia-labs/rust-teos#running-teosd-with-tor about how to do this? Others may find it useful.

Yes, please :)

Yes, please :)
I'd originally gone through a whole process to grab the tor privkey from the system-generated config and convert it from unpadded base32 to a byte array and place it into the expected privkey location.
For the record, this actually does work.
But, deactivating tor support is much easier xD

It'll be nice to nice the steps to reproduce (from hidden service creation to address binding) so we can add it

Basically the OS just allocates a hidden service pointing at the port the service is bound to on the container.  @dr-bonez can elaborate

Yeah, the os manages the tor control port itself. The application manifest specifies what services it wants on what ports. It's basically no different than if you added a hidden service to your torrc manually.


⚠ Bofrost.es has degraded performance

In f2fb8ec, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: Bofrost.es performance has improved in f797a14 after 9 minutes.


Clojure kumite try to use "Codewars" test framework

Clojure kumite sometimes have Codewars framework selected instead of Clojure Test.
It happens in kumite when Clojure is the initially selected language (the last used language or created from https://www.codewars.com/kumite/new?language=clojure). It doesn't happen if a different language is initially selected and then switched to Clojure.
When it happens, Clojure Test is in the dropdown, but nothing happens when it's selected.
Kumite example: https://www.codewars.com/kumite/5cacb923d7f22c00229765f7 (publishing is unavailable).

at the same time:

https://www.codewars.com/assets/bundles/code_snippets-2de09186e9bff4df90a63b3612efd3e3226e3c17a4f7f2fc4ddabcf045d68f05.js
Somewhere in setTestFramework:
let t=$(`dd[data-framework=${e}]`);

If quotes are added around ${e}, everything works.

Thanks! The test framework identifier for Clojure contains a period (clojure.test) so finding an element fails and falls back to the first test framework found.

Fixed


openload userscript can be deleted

The OpenLoad domain has been seized by seized by alliance4creativity, so I think the openload userscript can be deleted from the listing as well.

+1

Taking a closer look, some other listed userscripts are problematic as well:

anti-anti-copy: only works for one domain (studytonight.com, as included)
Google Drive Direct Links: the link points to the feedback/discussions, which can be confusing
Google Image "View Image" button: dead link, userscript removed
Remove fake TPB torrents: dead link, reddit post deleted

Some also seems to be couple years old, probably needs to be investigated if they are still works, like the google ones.

I took care of OpenLoad and the four points you mentioned. Will check other scripts later.


[HttpServer] Display request/response headers

Update UI to render Request/Response headers in line with current Execution tab:

[x] Update execution tab to show headers
[x] Get feedback/review of final UI design
[ ] Add unit tests**

** Note we currently don't have unit tests for the UI. This point will need to reviewed depending on the state of the client unit tests.
Design:
It is expected that the Request Headers will be displayed at the top of the Execution Tab and Response Headers at the bottom. The section should have both a summary view and details view (as we need to be careful how much vertical space we take up). The keys of the headers should be highlighted/bolded, and the values parsed/trimmed/formatted as it makes sense.

Given that we are now not putting this into the Execution tab, we need to think about the design we want for the Request tab. @nikmd23 thoughts?

We need to think about the design we want for the Request tab

This has been covered and can now be seen in #30

Completed with #30 with the exception of unit tests which aren't in scope atm.


Run in existing environment

The current example (in conf/example.yaml) seems to assume that I will set up everything using stacker. Do you have any examples of a stack for an existing environment? For example, if I already have a VPC configured, and want to add a subnet using stacker, how would I specify the VPC ID?
Do let me know if there's a better place to ask these kinds of questions (irc/slack/mailinglist).

In general I think most people do use stacker that way - they let it manage the whole stack.  That said, it should be pretty easy to get it to work with existing resources. You won't be able to use the stack::resource reference in Parameters, but you can still provide the values yourself.  So f something is asking for the VPCId, you'd just provide it manually for that value.  for example:
https://github.com/remind101/stacker/blob/master/conf/example.yaml#L24
  VpcId: vpc::VpcId

Would become:
  VpcId: vpc-abcdef12 # or whatever the VPC Id is

I'm not sure that all the existing blueprints will work right out of the gate that way - some of the older ones (vpc, asg, etc) were pretty integrated.
Easy thing first: Issues are just fine for these sorts of things, though we do have a slack group you can join.  If you'd like an invite, go ahead and email me at<EMAIL_ADDRESS>


setResult() doesn't allow to distinguish results

It should have a result key of some sort.

Done.


[#32] Update dependencies

Description
Updates Morley and related dependencies.

Related issue(s)

Resolves #32
:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Tests

[ ] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.

Documentation

[ ] I checked whether I should update the docs and did so if necessary:

README
Haddock

Stylistic guide (mandatory)

[ ] My commits comply with the policy used in Serokell.
[ ] My code complies with the style guide.

@sras if you're struggling with haskell.nix, just copy hackage.nix, stackage.nix and haskell.nix revisions from the stablecoin repo, those seem to work.

@lierdakil Thanks for the pointer. I almost gave up on this, but now it seems like working.

:thinking: apparently ghc built fine, but the build script failed at getting some git dependency. And apparently this happens unrelated with other projects: https://buildkite.com/serokell/basedao/builds/2976#01834b2e-8852-4ccc-bca9-dd2400210562
So yeah, maybe put this on ice for a bit.

@lierdakil Yes, in the meantime, I believe I have addressed your comments.

suggest adding a changelog..

@lierdakil  It seems there is no changelog for this repo yet, I suppose you meant to add a new file with this entry regarding isNotAdmin.  Please let me know if that is not what you intended.

Sure, yeah.


Problem with opening certain HDRP shader source files

So this is really probably not related to Unity Builder, but since this doesn't happen on my nor teammates' computers, I figured I'd anyway open an issue here in case it was related to Unity Builder or if in future someone else has the same problem, then they can maybe find a solution here.
When building, I get a bunch of compiler errors like so:
Shader error in 'RaytracingShadow.compute': failed to open source file: 'Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRayTracingManager.cs.hlsl' at kernel OutputShadowTexture at Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/ShaderVariablesRaytracing.hlsl(1) (on d3d11)
Not really sure what causes that, since I can build fine on my own computer. Maybe outdated packages? Some package not being installed in a similar way on the Ubuntu image as on Windows?

I reset the packages to default (as RaytracingShadow.compute comes from the High Definition Rendering Pipeline package) and installed the High Definition Rendering Pipeline again. The problem is still there.
So at least in my case in this repo on my Unity version (2<IP_ADDRESS>f) the problem can be removed and reproduced by removing and reinstalling the HD Rendering Pipeline package.

This looks like a faulty dependency that has probably been updated to work again by now. Assuming this is no longer an issue.


Inform Beta 8 Won't Start

I used Inform just yesterday but now it simply will not start. It shows up in the processes list but never displays. I have reinstalled and I have restarted my computer. Still will not display.

Windows? Recently updated OS?

Windows? Recently updated OS?

Yes, I have recently updated to build 1903 of Windows 10. However, the Inform Designer worked perfectly up until today. I managed to get it working for a bit after using the clean.bat tool in the qb64 folder and reinstalling 3 times but it has stopped working again.

It must have been a computer issue rather than an Inform issue. I've been able to reopen Inform several times now over different lengths of time successfully.


cannot dynamically render the pdf generated using html2pdf function

I don't know whether it's an issue or feature which is required. But basically, I am looking for a function which returns the pdf created by htmltopdf function and render it dynamically rather than downloading it.

Iam lookin for this too..

@lulul62
Thing is, you need to do bit modification in html2pdf.js.
Add the following lines.

Consider Line number 391 to 404 (refer to image attachment)
Let me know if that help.


[Bug] Carpe repeatably attempts to submit proofs when VM returns OutOfGas

🐛 Bug
Miner attempted to submit a proof repeatably (every 30 seconds) for several hours whilst VM status returned out of gas each time, resulting in 800+ failed txs and ~250 coins spent on doing so (maximum gas was configured at 3000).
Suggestion would be if VM returns out of gas to halt backlog and inform user to check their gas settings rather than attempting further txs.
Error ID: 100 Message: listen(backlog-error): misc error, message: "Unknown error Transaction committed on chain, but failed execution: OutOfGas"

Mining is sunsetted.


Bazel with incompatible_string_join_requires_strings

The flag --incompatible_string_join_requires_strings will be flipped in Bazel. We've noticed it will break Kythe. I expect this change will be released in Bazel 0.27, to be released in a month.
Logs: https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/115#84672f70-dbb7-4ec7-8d7d-842cfd48423e
Fix: I suspect you just need to update your dependency on rules_go.

We need to do that for the cc_common.configure_features(ctx, ...) change as well.

rules_go has been updated, I can tackle this next

@laurentlb was this brought to your attention because of the Bazel CI?
@shahms is it okay that you're going to get issues like this filed against you?

Absolutely for me; it beats finding out about them when we get a new version of Bazel pushed to our workstations.  I can't speak for the rest of the developers though :-)

It looks like the rules_go update was the only thing required for Kythe


CQ Actions are available in install folder of generated package

For most cases this is probably not a problem to have particular version of CQ Actions being installed with APM, but in our project, we have got our own CQ Actions installed, and we cannot update version currently.
Proposed solution is to make APM generate two packages: one as it is currently, and another with CQ Action bundles embedded inside APM bundle, and CQ Actions removed from install folder of APM package.

Starting from version 4.0.0 there is no longer CQ Actions package in APM package. CQ Actions must be installed separately now.


Black screen instead of camera feed when scanning

What
This bug is intermittent:

very often, when accessing the scan screen, the camera preview part stays black for a few seconds before showing something
sometimes it stays black undefinitely, until I go to another screen (e.g. setting) and come back

Screenshot/Mockup/Before-After

Smartphone model

Device: Galaxy S5

Hi @stephanegigandet,
I've also experienced this issue. I feel this is due to continuous scanning, I suggest we can add a button to start the scanning of the barcodes and add a timeout to it, so the scanning stops after a particular time.

@bhattabhi013 Do you have a way to reproduce the issue?
So, I can work on a fix because as of now, I haven't found an accurate way.

That would make sense, because flutter/dart is more or less single-threaded: heavy process (like barcode scan: copying the whole image then actually scanning it) may have side-effects like this one, or battery draining.
That's why we introduced a small pause between scans. And perhaps we should change the UX to limit the whole scan time up to when the scan is successful (with a "scan again" button), similar to what @bhattabhi013 suggested.
@bhattabhi013 As you're experiencing this bug, you have to run some experiments like: what if the pause was longer? how much memory/processor percentage is used during scan? At least to double-check that the continuous scan is the root problem. Then we can talk about how to fix things.

Hi @g123k,
I face this issue while I'm debugging the application on my mobile device. Whenever you restart the debug session, it gets stuck at the scan screen for a few seconds as suggested by @stephanegigandet.
Let me know if any further help is required.

Sure @monsieurtanuki,
I'll run the following tests:

Increase the pause time in between scans and its effects.
Memory usage while scanning.
Processor usage while scanning.

I manage to reproduce with the production APK, with an untethered phone. It happened while switching from product page to scan, possibly with a mixture of suspend/resume (can't remember to be honest)

Hi
I tried increasing the pause time between the scans by changing the _SKIPPED_FRAMES on MLKitScannerPage and I noticed no change in performance.

@bhattabhi013 What if you just comment the actual scan? Do you still have sometimes a black screen?
It's probably more a problem of camera pause/resume than actually scan problem.
Could you add a Text on the scan page Stack and display there some kind of camera status (like "pause", "resume", maybe "scanning", etc)? Plus some other logs.

I would guess it has something todo with https://github.com/openfoodfacts/smooth-app/issues/1641

A little bird told me @g123k has managed to reproduce. I have @stephanegigandet as an eye-witness.


Fix panic when window is missing in GlowWinitApp::window

Removing expect check from GlowWinitApp::window resolved the panic issue.
Closes #3460

This may have been fixed by https://github.com/emilk/egui/pull/3172 - please test!


Create Initial Xamarin.Forms Project

Requirements:

Latest version of Xamarin.Forms, Essentials
Using Shell

Basic Tab setup for the various sections (Issues, Saved, Events, Settings)
Tab Images
Search bar

This issue is complete.


AttributeError: module 'tensorflow._api.v2.image' has no attribute 'resize_bilinear'

After setting up anaconda with conda env create --name dfc2019 --file=dev-gpu.yml
and running
conda activate dfc2019
cd track3
python ./mvs/test-mvs.py

I receive the following error message
Traceback (most recent call last):
  File "./mvs/test-mvs.py", line 693, in <module>
    predictor.build_seg_model(seg_weights_file)
  File "./mvs/test-mvs.py", line 103, in build_seg_model
    self.seg_model = build_icnet(self.height, self.width, self.bands, self.num_categories + 1,
  File "/mnt/Data-512GB/libraries_ml_geo/dfc2019/dfc2019/track3/mvs/model_icnet.py", line 52, in build_icnet
    y = Lambda(lambda x: tf.image.resize_bilinear(x, size=(int(x.shape[1])//2, int(x.shape[2])//2)), name='data_sub2')(inp)
  File "/home/sebastian/miniconda3/envs/dfc2019/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 922, in __call__
    outputs = call_fn(cast_inputs, *args, **kwargs)
  File "/home/sebastian/miniconda3/envs/dfc2019/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 888, in call
    result = self.function(inputs, **kwargs)
  File "/mnt/Data-512GB/libraries_ml_geo/dfc2019/dfc2019/track3/mvs/model_icnet.py", line 52, in <lambda>
    y = Lambda(lambda x: tf.image.resize_bilinear(x, size=(int(x.shape[1])//2, int(x.shape[2])//2)), name='data_sub2')(inp)
AttributeError: module 'tensorflow._api.v2.image' has no attribute 'resize_bilinear'

Apparently, the code accompanying the data set uses Tensorflow 1.
With Tensorflow 2 one should replace
import tensorflow as tf

with
import tensorflow.compat.v1 as tf


Theoretical part

Finished measuring and graphing the our code.
Also moved everything to a different directory.

found a mistake in the analysis


Explanation of sync option available in cluster

Hi,
Today morning I updated cloudbreak deployer to master branch changes. After that I noticed that there is an option called sync as shown below

Can somebody explain the functionality of the option?

Hi,
This function helps to synchronize the cluster state which was modified not with cloudbreak for example if you doing something by your hand on aws console for example stopping an instance and click on this button then the cluster will be in stopped state(This will be a future improvement).
Currently If an error occured under the stop phase or in the start then this function can modify your cluster state based on some healthcheck.


Discord PTB option

Discord PTB does not get detected.

Discord ptb works fine, there just is not a button for it in the UI, we will add this next update. In the mean time you can add it manually by clicking
"Choose Cache Directory"
Then on windows set it to %appdata%/discordptb/Cache

Here is a screenshot of the settings page and the app page once I scanned after adding cache.


Allow HTTP blackhole to respond with additional payloads.

As of this writing blackhole has only a few response payloads:

blank
AWS Kinesis

It would be useful if the following responses were also available:

[ ] Elasticsearch
[ ] S3
[ ] Static byte sequence

Currently the body variants are here: https://github.com/blt/lading/blob/5acb3c419958536d43282ebfaa5c05042bd49b40/src/blackhole/http.rs#L32-L39

We may consider wiring this up to the new payload module if the implementation is reasonable. That will allow any payload to be used as a blackhole response. That would give us access to the generic payloads and offer a framework to build out specialized response payloads.


Difficulties with publishing a rft with a python raster function from Pro to ArcGIS server 10.9.1

Hey!
We're unable to add our rft.xml file with a python raster function. We are referencing this path in the rft file:
[Install]\Server\framework\runtime\ArcGIS\Resources\Raster\Functions\Custom\subfolder\OurRasterFunction.py
Everything seems to work fine in pro where we can update the parameters we want to update and add the rft in our mosaic processing template.
But when we try and publish an image service with the rft file it throws an error telling us the template is invalid.
From the server logs:
Method failed.HRESULT = 0x80043010 : This is a FACILITY_ITF error that is specific to the interface that returned this error. See the documentation of the interface that returned this error for information about this HRESULT.
We were able to publish from arcmap 10.8.1, but then we dont get the capability of changing the parameter in the image service. Its stuck to the default value and we need to be able to deliver this to a customer that uses Pro.
It seems this is a compatibility issue between arcgis server 10.9.1 and the latest pro version when it comes to the template xml structure.
Do we have to upgrade to arcgis server 11 to make this work? Or is it any workaround that dont require to use Arcmap?
I can't share too much information as this is some sensitive data im working with. But i can answer any questions about the setup.

@oysteins10 There is no change in the xml template and I wasn't able to reproduce this on latest Pro and Server.
Can you make sure that OurRasterFunction.py is also in the install folder on your Pro machine?


Apple raster not supported by cups-filter ppd generator

When creating a printer with "lpadmin -p test -v <URI> -E -m driverless:i<URI>" I understood that the cups-filters ppd generator is used.
This fails for me when my (simulated with https://github.com/istopwg/ippsample) ipp printer only offers "image/urf" (appleraster) as its document format type. The error message I get is the following:
lpadmin: Unable to open PPD "/tmp/06acc62a483a5": Missing PPD-Adobe-4.x header on line 0.

Furthermore the driverless command results in the following error message:
driverless <URI> > /rw/out.ppd
ERROR: Unable to create PPD file: Printer does not support required IPP attributes or document formats.

On the other hand using "lpadmin -p test -v <URI> -E -m everywhere" works fine. I could also print to that printer, which then seems to result in a appleraster file.
Here is my used configuration for the simulated printer:
driverless.conf.txt
Used cups-filters version: 1.28.10
Am I doing something wrong here? I would like to use the cups-filters ppd generator as it seems to be more resilient than the CUPS ppd generator.

You write: lpadmin -p test -v <URI> -E -m driverless:i<URI>
Have you actually put an i between -m driverless: and the URI? Correct is
lpadmin -p test -v <URI> -E -m driverless:<URI>

Could you post the ippsample command line here which you used for the emulation of an IPP printer? Is it running on a machine in the same local network?
While your emulated IPP printer is running, could you run the following commands:
avahi-browse -t -r _ipp._tcp 2>&1 > avahi-browse-ipp-out.txt
avahi-browse -t -r _ipps._tcp 2>&1 > avahi-browse-ipps-out.txt
ipptool -tv <URI> get-printer-attributes.test > attrs.txt

Please attach the resulting files, one by one, do not package them together and do not compress them.
By the way, I have made use of my moderator powers to edit your initial post to make it more readable, to not make code characters be eaten by the markdown support. Please have a look into your edited post by clicking the 3 dots at the upper right, then "Edit" (do not actually edit, only have a look at your post's "source code"). Important is to put code pieces between backticks. A line with only 3 backticks marks start or end of multi-line code blocks.

Thank you for your quick answer!

You write: lpadmin -p test -v <URI> -E -m driverless:i<URI>
Have you actually put an i between -m driverless: and the URI? Correct is
lpadmin -p test -v <URI> -E -m driverless:<URI>

Yeah my fault when I was replacing the URI string, I already used it correctly.

Could you post the ippsample command line here which you used for the emulation of an IPP printer? Is it running on a machine in the same local network?

server/ippserver -C /rw -k -d ./data -vv
I tried both. Running it locally and in a network. But the network case is the actually wanted one, which I also used to generate the information you wanted below.

While your emulated IPP printer is running, could you run the following commands:
avahi-browse -t -r _ipp._tcp 2>&1 > avahi-browse-ipp-out.txt
avahi-browse -t -r _ipps._tcp 2>&1 > avahi-browse-ipps-out.txt
ipptool -tv <URI> get-printer-attributes.test > attrs.txt

Please attach the resulting files, one by one, do not package them together and do not compress them.

Here they are:
attrs.txt
avahi-browse-ipp-out.txt
avahi-browse-ipps-out.txt

By the way, I have made use of my moderator powers to edit your initial post to make it more readable, to not make code characters be eaten by the markdown support. Please have a look into your edited post by clicking the 3 dots at the upper right, then "Edit" (do not actually edit, only have a look at your post's "source code"). Important is to put code pieces between backticks. A line with only 3 backticks marks start or end of multi-line code blocks.

Okay sorry, yes this looks way better.

The problem is not cups-filters, it is a bug in ippsample. For Apple Raster (URF) to work, the printer attributes must contain an urf-supported attribute, like for example this:
urf-supported (1setOf keyword) = CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB10,W8,DEVW8,DEVRGB24,ADOBERGB24,DM3,FN3,IS1-2,V1.4

In addition to some printer properties this tells especially with which resolutions, color spaces, and color depths Apple Raster data is accepted by the printer. It is required for Apple Raster printing to work and if it is missing on a printer which accepts nothing else than Apple Raster, the printer gets unusable.
As it is required, cups-filter relies on it. The PPD generator fails because it starts with selecting Apple Raster as the output format (no alternatives) and then later on is not able to complete building the PPD because of the urf-supported attribute missing.
If you had a PPD for your printer the filters would choke on not knowing resolution and color space for rasterizing the job.
So please report this bug to the ippsample project. Tell your ippserver command line and attach your attrs.txt file. And be patient, Michael Sweet has a lot to do these days.


remove dependency on logging component

Copy executor should not dependent on logging.
@malin1993ml Please help review this PR. Thanks!

Coverage decreased (-0.2%) to 67.062% when pulling 038fa6681d96efc065df64b6c66f581da59da25a on yingjunwu:copy_executor into a05b5c134802a522ff00e135350cb44838546dff on cmu-db:master.

Looks good, thanks! This is a small PR and should be isolated to what everybody else is doing. So I'll just merge this one.


Configurable daemonsets updateStrategy

This allows more deamonset pods to be rotated in the same time. This speeds up the updates.

Made an attempt at implementing the discussed changes.

Hero, waiting on some really boring deploys with maxUnavailable: 1 right now. Thanks for making the future look brighter


Epic | Keyboard smash

Description
This epic was created to describe the product logic about the keyboard smash
User story
Keyboard smash features

Who
When
Then

A tech support
need to understand the keyboard smash at the data
create a value to insure the keyboard smash

A tech support
need to understand the keyboard smash at the data
provide a yaml to detail the columns should be analysed

Tasks

#16
#15

Keyboard smash model

Who
When
Then

A tech support
need to understand the  keyboard smash at the data
create a keyboard smash indicator with random forest

A tech support
need to understand the keyboard smash at the data
provide a yaml to detail threshold at the insurement value created

Tasks

#18
#17

Pre processing

the pre-processed addresses database + keyboard smashing features for STREET_ADDRESS_1 and STREET_ADDRESS_2 concatenated
Remove null values

Features extracted:

street_address_sequence_vowels_concat
street_address_sequence_consonants_concat
street_address_sequence_special_characters_concat
ksmash_number_address_concat
char_counter_street_address_concat
Word Embedding

Model

Random forest


Optimize monitor loops to lower lock overhead

The first implementation locks for the entire time - we can use an upgradable read lock to figure out the keys to remove, before upgrading to a write lock to actually do the removal.
This should lower the overhead a little.

https://github.com/whitfin/retainer/commit/5303c1245b8730f098dacf0f3b92637883fd818d


CUDA out of memory

Traceback (most recent call last):   File "main.py", line 45, in <module>     results = importlib.import_module(opt['metaLearner']).run(opt,data)   File "/home/user/myproject/FewShotLearning/model/lstm/train-lstm.py", line 123, in run     opt['batchSize'][opt['nTrainShot']])   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/user/myproject/FewShotLearning/model/lstm/metaLearner.py", line 149, in forward     output, loss = learner(testInput, testTarget)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/user/myproject/FewShotLearning/model/lstm/learner.py", line 51, in forward     output = self.modelF.net(inputs)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/user/myproject/FewShotLearning/model/lstm-classifier.py", line 79, in forward     x = self.layer2(x)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/container.py", line 92, in forward     input = module(input)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/batchnorm.py", line 76, in forward     exponential_average_factor, self.eps)   File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/functional.py", line 1623, in batch_norm     training, momentum, eps, torch.backends.cudnn.enabled RuntimeError: CUDA out of memory. Tried to allocate 16.25 MiB (GPU 0; 11.91 GiB total capacity; 8.65 GiB already allocated; 17.06 MiB free; 950.50 MiB cached)
` nvidia-smi
Wed Apr  3 20:53:46 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.26                 Driver Version: 396.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  TITAN X (Pascal)    Off  | 00000000:02:00.0 Off |                  N/A |
| 23%   35C    P8    16W / 250W |   1035MiB / 12196MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  TITAN X (Pascal)    Off  | 00000000:03:00.0 Off |                  N/A |
| 23%   36C    P8    18W / 250W |     10MiB / 12196MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  TITAN X (Pascal)    Off  | 00000000:82:00.0 Off |                  N/A |
| 23%   30C    P8    17W / 250W |     10MiB / 12196MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  TITAN X (Pascal)    Off  | 00000000:83:00.0 Off |                  N/A |
| 23%   33C    P8    17W / 250W |     10MiB / 12196MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     10217      C   ...qun/anaconda2/envs/pt04_py27/bin/python  1021MiB |
+-----------------------------------------------------------------------------+
`

I also encountered this problem. Have you solved it?

我也遇到了这个问题。解决了吗

I forgot it was too early. Also you should reduce the batch_size.

Thank you. Let me try it.


Hotfix SQLX_OFFLINE breaking CI

Description

Rss

https://github.com/launchbadge/sqlx/issues/1737
https://github.com/launchbadge/sqlx/pull/2363

Turns out it was IP all along.


Mysqli adapter overwrites previous statement iterators with each new query

Creating a new query wipes out all previously defined statement handles, making it impossible to fetch further rows from them. For example, this works fine:
$db = Zend_Db::factory('Mysqli', array(...));
$stmt1 = $db->query('select * from foo');
while ($row1 = $stmt1->fetch()) { ... }

However, this gives no results because the first fetch() fails:
$stmt1 = $db->query('select * from foo');
$stmt2 = $db->query('select * from bar');
while ($row1 = $stmt1->fetch()) { ... }

It appears that each previous driver statement gets wiped every time a new query is made:
$stmt1 = $db->query('select * from foo');
var_dump($stmt1->getDriverStatement());
$stmt2 = $db->query('select * from bar');
var_dump($stmt1->getDriverStatement());

Outputs:
class mysqli_stmt#6 (10) { ... }
NULL

I.e., calling query() again wipes out the statement iterator for all previous queries. If I try to do nested queries, I'll only get one iteration of the outside loop because the iterator will get destroyed during the first iteration:
$stmt1 = $db->query('select * from foo');
while ($row1 = $stmt1->fetch()) {
    $stmt2 = $db->query('select * from bar');
    while ($row2 = $stmt2->fetch()) { .... }
}

Simply changing the driver from Mysqli to Pdo_Mysql resolves this issue:
$db = Zend_Db::factory('Pdo_Mysql', array(...));
$stmt1 = $db->query('select * from foo');
var_dump($stmt1->getDriverStatement());
$stmt2 = $db->query('select * from bar');
var_dump($stmt1->getDriverStatement());

Outputs:
class PDOStatement#6 (1) { ... }
class PDOStatement#6 (1) { ... }

I'm closing this because no unit test and possible fix provided since 2014.


[FLINK-22099][table-planner-blink] Fix bug for semi/anti window join.

What is the purpose of the change
Currently, when run a semi/anti window join query, an exception would be thrown out in the optimization phase. The pull request aims to fix the bug.
Brief change log

Fix bug in WindowJoinUtil
Fix bug in StreamPhysicalWindowJoin

Verifying this change

Added tests in WindowJoinTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot  run azure

@flinkbot run azure


Add TangoSwap and SmartSwap

Hi, can you add TangoSwap and SmartSwap has exchanges too?
Links:
https://tangoswap.cash/
https://smartswap.fi/
Icons:
TangoSwap: https://drive.google.com/file/d/16DlJJj4VMxj2LNDTKLorVr5CGfpHiDm5/view?usp=drivesdk
SmartSwap: https://drive.google.com/file/d/1EiKprXhjMEfKwPgxgJcrOg1AQkQSqjTk/view?usp=drivesdk
Thanks

Just send over a PR, I will happily add them. That way you can make sure your logo looks excellent. =)


Fix #953

Summary
Fixes #953
Details and comments
This PR is equivalent to https://github.com/Qiskit/qiskit-terra/pull/5417

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0007%) to 85.892%

Totals

Change from base Build<PHONE_NUMBER>:
0.0007%

Covered Lines:
17363

Relevant Lines:
20215

💛  - Coveralls