[Action] Add pdf file browsing support to the website

TAG ENV has created some presentations in the past that are worth showing on the website (2022 survey results, 2023 KCCN TAG ENV talk, Getting started with TAG ENV talk).
I found the extension https://github.com/anvithks/hugo-embed-pdf-shortcode that we can use. I'm sure there are other options as well. @cjyabraham what are your thoughts on this?

I don't like it that much. My preference as a user would be to just pop the PDF open in a new tab (or download it) rather than have a small window in the current page that I view it in. For example, see their demo here. Isn't it nicer to just view the PDF in its own browser tab?

Right, yes, viewing the pdf regularly in the browser, downloading it etc is best. My thought was that a link can go unnoticed quickly and a preview would highlight the PDF better. But we can highlight it with other Markdown blocks 👍

Sure. Or grab an image of the cover of the PDF and use that on the page as a link to the full PDF. We do something similar when we list PDFs on the CNCF site.

That's a great example. I can see we adopt this style too, thanks! :)


@buildozer//:buildozer should have public visibility

I'm using Bazel 7.0.0 and bazel_dep(name = "buildozer", version = "6.4.0").
I'm getting the error
target '@@buildozer~6.4.0//:buildozer' is not visible from target '//tools/common/bazel:make_buildozer_wrapper'.

I would expect @buildozer a.k.a. @buildozer//:buildozer to have public visibility, so that I can make a wrapper that depends on it. It is supposed to be part of the public API of the module, isn't it?

It's not currently built in a way that would properly support this use case, which is why the target hasn't been marked public yet.
What would you like to do with the target? I can look into adding support for your use case.

I'm doing
load("@aspect_bazel_lib//lib:expand_template.bzl", "expand_template")
expand_template(
    name = "make_buildozer_wrapper",
    out = "buildozer_wrapper.py",
    data = ["@buildozer"],
    substitutions = {
        "$(location @buildozer//:buildozer)": (
            "$(location @buildozer//:buildozer)"
        ),
    },
    template = "buildozer_wrapper.tpl.py",
)

The wrapper does some set up, calls buildozer with subprocess.run() and the path from the location substitution, and then tidies up.
The wrapper use case is generic, in that different people may want to do different things. My specific use case is to first rename all the BUILD.bazel files to BUILD as buildozer doesn't (didn't?) support BUILD.bazel files, and then rename them back again after buildozer ran, as well as mapping return codes 0 and 3 from buildozer (success with changes, and success without changes) to return code 0 from the wrapper. (The wrapper is called by a shell script that does the desired changes, and the shell considers exit code 3 a failure.)

Could you try replacing @buildozer//:buildozer with the contents of load("@buildozer//:buildozer.bzl", "BUILDOZER_LABEL")? That directly gives you the binary, not the wrapper target, which avoids the setup issues and is publicly visible. If that works, I can update https://github.com/fmeum/buildozer?tab=readme-ov-file#using-buildozer-in-repository-rules-and-module-extensions to mention this case.

Yes, that works. Thank you!
(Full disclosure: I had to change $(location [...]) to $(rlocationpath [...]) and use bazel_tools.tools.python.runfiles in my wrapper to find the file, but that may be because I'm upgrading to Bazel 7 and is probably unrelated to Buildozer itself.)

I would recommend using @rules_python//python/runfiles instead as it's compatible with Bzlmod and maintained.


Add TACAS'23 info

~[ ] Tests added for any new code~
~[ ] Ran make fmt-fix (or had formatting run automatically on all files edited)~
~[ ] Documentation added for any new functionality~
~[ ] Entries added to ./unreleased/ for any new functionality~

This PR updates ADR 11 and the README with info regarding the recent TACAS'23 paper.

I'm not sure how to update the website, so this is not included in the PR.
Also, I noticed that its Contribute link is broken; unstable needs to be changed to main I assume.

Codecov Report

Merging #2549 (00dac4c) into main (cfb6174) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2549   +/-   ##
=======================================
  Coverage   78.51%   78.52%
=======================================
  Files         441      441
  Lines       15546    15546
  Branches     2544     2544
=======================================
+ Hits        12206    12207    +1
+ Misses       3340     3339    -1

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


Can not load models and run ollama when ollama server is on (LINUX)

Hi, thanks for the amazong tool. I try to use the example workflow on Linux, but It looks like even I run up the ollama server and the ip as same as  "IFprompt to prompt" node in Comfui. And my platform is Linux and not Windows. How do I fix the problem?

Hi, do you have models on ollama? Because I am developing on Linux and was using all day without any issues.  I will try with the new ollama version maybe something changed.

Besides cmd ollama run and run it, do I miss out some steps? Maybe I should download the weights and manually cooy to some place?? Btw,my linux machine is google VM.
Thanks in advance.

I am working on enabling virtual machines when is not on the same machine, Is your ComfyUI in the same VM machine?

It's google VM instances. And I run the ollama server and the comfyui server in the same google VM machine.

It's google VM instances. And I run the ollama server and the comfyui server in the same google VM machine.
I think they should work now. could you please try again you might need to enter the ip of the server on the base_ip,

if not you should try set ollama host on the VM
sudo systemctl edit ollama.service
add this to the file and save it
[Service]
Environment="OLLAMA_HOST=<IP_ADDRESS>"

sudo systemctl daemon-reload
sudo systemctl restart ollama

Try recreate node

@rogeriodeoliveira  Thank you , He posted this before the fix I think it should work now does it work for you? I am trying to close the issue, I teste it on my WSL and it works but will try it later on a GCP instance. Thanks


Support UTF-8 "passthrough" for Fido texts

When the user has selected UTF-8 charset it would be nice if Fido text using UTF-8 could be sent directly to the user, instead of converting them to ISO-8859-1 and back again. Currently the conversion destroys all non-Latin1 characters in such Fido texts.

Tumme upp!


Reached MAX_CREATION_LIMIT forbids user from creating a repo within an org

Gitea version (or commit ref): 1.9.5
Operating system: Debian 9
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
A user which has reached MAX_CREATION_LIMIT cannot create a repository in an organization where (s)he is an owner.
However when user's MAX_CREATION_LIMIT isn't reached, (s)he can create any number of repositories in an organization. These repositories aren't counted toward the user's MAX_CREATION_LIMIT, which I consider correct. I believe there should be no restriction based on user's MAX_CREATION_LIMIT state for organization owned repos.
...
Screenshots

It seems the problem is only with web UI. Repos belonging to organizations can be reated using API even when user's MAX_CREATION_LIMIT is reached.

It seems the problem is only with web UI. Repos belonging to organizations can be reated using API even when user's MAX_CREATION_LIMIT is reached.

Using the master branch from a few days ago, I hit the same issue through the api (user has reached the maximum limit of repositories), so it's not just a web client issue.

The issue is still present, please keep it open (even better, fix it:) ).


Feature: Open in VS/VSCode button should open the root of the repo

What feature or improvement do you think would benefit Files?
When browsing subfolders of a Git repo, the Open in VS(Code) button in the status bar should open the root of the repo instead of the current subfolders. Additionally, the button should show VS or VSCode depending on whether there is a .sln file in the root of the repo.
Requirements

This proposal will make the open in IDE button for Git repos take into account the root of the repo instead of the current subfolder

Files Version
<IP_ADDRESS>
Windows Version
10.0.25393.1
Comments
No response

Thanks for the report, I've added this to the project board.

The eventual goal is to make this feature work in any folder, not just Git repos.

@heftymouse what about showing a split button? We can make the primary option "Open in VS Code", and the secondary flyout can have an option to "Open repo in VS Code". If the folder isn't a Git repo, we can hide the secondary button.


Paragraphgenerator

🛠 Fixes Issue #345

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
📷 Screenshots

@DragonUncaged can you elaborate more on this extension, like what is it useful for, and how can a user use it?

@DragonUncaged can you elaborate more on this extension, like what is it useful for, and how can a user use it?

It Generates Random Paragraph. It is useful While creating website when we need some paragraph for the website and you want to check how your paragraph will be displayed/

Don't you think lorem ispum is widely used and is convenient to use?

@DragonUncaged can you elaborate more on this extension, like what is it useful for, and how can a user use it?

It Generates Random Paragraph. It is useful While creating website when we need some paragraph for the website and you want to check how your paragraph will be displayed/

Don't you think lorem ispum is widely used and is convenient to use?

i tried different one !!..


Move project/workflow classifications counter updates to ratelimited

@parrish should we do track_rejected on this?

LGTM - we can get this out and look at changes in another PR.


TaxonName#name is allowing spaces and [sic], at least the latter is a big problem

Something must have softened the validation too much, arg.

[ ] Add specs to ensure that [sic] is never allowed
[ ] Review reasons spaces are allowed

[sic] is not alowed as a part of the name. It is notly added as a cached value. Excluding it from chached would be huge problem for the taxon_name search. There will be no any means to distinguish misspellings and misapplications from available protonyms.

[sic] is not alowed as a part of the name. It is notly added as a cached value. Excluding it from chached would be huge problem for the taxon_name search. There will be no any means to distinguish misspellings and misapplications from available protonyms.

This is in name, not cached, see title.

This is in name, not cached, see title.

@proceps for what reasons would space ever be allowed in name?  Given current bad data there is a single record, see below.  I would prefer to require that to be 2maculatus and enforce a stricter ruleset.  At present the lack of the rule is doing much more harm than good as you can see from the data.
 500949 | 2 maculatus
 263126 | sp. a
 513447 | var. b
 500510 | tredecim articulatum
 508543 | gallae quercus
 491021 | bimaculati pennis
 493394 | |near| andalusicus
 495537 | n. 27
 495522 | rosae aurata
 495524 | salicis strobili
 500950 | aeneus ramicornis
 500964 | fuscus ramicornis
 645765 | incertae sedis
 659625 | incertae sedis
 648579 | incertae sedis
 660157 | Z_Non-Teneb or Bupe genera
 649103 | incertae sedis

I've added this restriction.  If it becomes a problem we can revisit.

Some original spellings of the mane may have space. Something like "santae rosae" or "st. rosae".
I believe the most of the problem come from the button "Non Latin" which basically allowed to push anything into the system. I would prefer unrestricted use of the field for the original, misspelling, non Latin name, not binomial names. If you put restrictions, you loose resolution of the project.

Besides- if you truly need the exception, you can check the data in verbatim_name (which 3i seems to be using incorrectly btw).


First round of graduating nodes from node-nursery

Candidates:

createVectorDatabase -- stays put
addToVectorDatabase -- stays put
queryVectorDatabase -- stays put
embedDocs -- stays put
[x] embedString -- graduates as embedText to LLM Starter Kit
cache -- stays put
textAsset -- stays put
textAssetsFromPath -- stays put
[x] vars -- remove
[x] localMemory -- remove
[x] validateJson -- graduates to JSON Kit (see google/breadboard-ai#122)
[x] schemish -- graduates to JSON Kit (see google/breadboard-ai#122)
templateParser -- stays put
[x] map -- graduates to Core Kit (see google/breadboard-ai#105)
[x] batcher -- graduates to Core Kit as batch (see google/breadboard-ai#105)
[ ] chunker -- graduates to LLM Starter Kit.

Declaring victory 🚢


added checkstyle

fixes #28

LGTM

Coverage remained the same at 0.0% when pulling 0a4df8550e69ad237f97c5d27bf544d0210cf3d2 on add-checkstyle into 4b73a7657e12cc5602c0402d7f358e6159fc7feb on master.

Coverage remained the same at 0.0% when pulling 0a4df8550e69ad237f97c5d27bf544d0210cf3d2 on add-checkstyle into 4b73a7657e12cc5602c0402d7f358e6159fc7feb on master.


add infinite scroll for search results

For some online searchers, they do support paginations & max_results, it would be an enhancement for these searchers. For those which doesn't support this, we just make a one-time search for it.

I think the better way here is to make sure we do download the whole track info into the list at once, so close this first.


[W6.4d][T11-B] Chung-Yen Tsai

@philos22 Accepting this PR with minimal review and I found no important issue. Please update the PR title.


HIP language support in cmake lacking compile_commands.json support

Not sure if it's a cmake or hip-lang issue. Files compiled with HIP language enabled (.hip extensions) are not referrenced in the generated compile_commands.json when CMAKE_EXPORT_COMPILE_COMMANDS  is activated. I can provide additionnal details if needed.
As an unrelated note, the HIP porting guide advise using .hip.cpp file extensions but the default extension used by the cmake HIP language is .hip. I think we can change the properties of a source file to adjust its language but doing it the other way around (changing CMAKE_HIP_SOURCE_FILE_EXTENSIONS) does not seem possible as cmake identifies the file as a C++ source file.
$ cat <...>/bin/.hipVersion
# Auto-generated by cmake
HIP_PACKAGING_VERSION_PATCH=0
CPACK_DEBIAN_PACKAGE_RELEASE=local
CPACK_RPM_PACKAGE_RELEASE=local%{?dist}
HIP_VERSION_MAJOR=4
HIP_VERSION_MINOR=3
HIP_VERSION_PATCH=0

$ cmake --version
cmake version 3.21.2

This is an issue with cmake. We dont generate any compile_commands.json files, its all done by cmake.

Fixed by this commit


About ProphetNet_Code's README

I saw a couple of "ProphetNet-Zh" in ProphetNet_Code's README.
It should be ProphetNet-Code , right?

Fixed it. Thank you!


ONLY works with GPT-4 access??

Where are you declaring the Model? I don't see it anywhere, and I am still waiting for access to the GPT-4 API.
From what I understand of late the 3.5 turbo API is pretty much just as good anyways no? At any rate, I'd really like to try this out. How can I change the model to 3.5-turbo?

ok I've got it working, the issue was I had to manually paste the main_prompt file into the newly created project folder. but its unable to recognize and correct itself when it makes an error. it tried to run main.py when it hadn't yet created a main.py file, and then aborted rather than recognizing that it needed to create the file.

I tried to test using 3.5 turbo but did not work. Have you figured out working with 3.5?

Specifying model it can work, I guess.
!gpt-engineer projects/example --model 'gpt-3.5-turbo-0613'

I tried to test using 3.5 turbo but did not work. Have you figured out working with 3.5?

what do you mean it did not work? as in did not run at all? or kept making mistakes?
i did get it to run, but it keeps making mistakes for me. i'll try specifying the model and see it that helps

I have changed the gpt4 to gpt-3.5-turbo-0613  but I keep getting openai.error.RateLimitError . Any ideas where this might be coming from. Trying to run the example snake

it doesn't seem to be working properly but i've given it a complex use
case, I'm trying to have it build a social media management tool. it has
created a generic 'social-, media-api' file, and says I'm supposed to input
my 'social media api' before running it again. maybe i need to be more
specific in my instructions. it also keeps trying to run a 'main.py' file
that does not exist, and then it stops running. initially i thought it was
maybe adding to its work every time it started again but i guess not
because each time i run it again it creates a new virtual environment
folder to work in. which means it keeps starting over.
i wonder if it will work better once i have a gpt-4 api
i wish Anton Osika would provide more documentation for how to run it
properly too
On Sun, Jun 18, 2023, 9:39 PM ma-raza @.***> wrote:

I tried to test using 3.5 turbo but did not work. Have you figured out
working with 3.5?
—
Reply to this email directly, view it on GitHub
https://github.com/AntonOsika/gpt-engineer/issues/177#issuecomment-1596482195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHRLYSZLSZKDFWH7OZPA6MLXL7JYJANCNFSM6AAAAAAZLGNMZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Assert: changed object equivalence test to make it faster

It's certainly a minor change, but it helped my computer run the tests provided with qunit 0.3 seconds faster on average.
This "trick" is widely used to prove that two sets are equal, that is, if one set A is contained in B and both have the same size, then they must be equal. It's quite intuitive I guess. The advantage of using this approach instead of the old one is that we are able to change an O(n * log n) operation with a O(1) operation, which would be kind of a big deal if QUnit.equiv was used to compare large objects.

Ok, the tests doesn't seem to be working while they were in my computer. I'll look into what is happening here

Ok, I saw why the tests were failing and fixed the bug properly. However, the fix no longer is O(1) but O(n), and it's not that much faster.

Okay, thanks for the update. Was worth a try!


react: Add JSON test data

Existing implementations:

https://github.com/exercism/xfsharp/blob/master/exercises/react/ReactTest.fs
https://github.com/exercism/xgo/blob/master/exercises/react/react_test.go
https://github.com/exercism/xnim/blob/master/react/react_test.nim

And an upcoming implementation (that uses these tests):

https://github.com/exercism/xrust/pull/191

The tests were a union of the existing tests plus a few extras to
provide more gradual steps in the early stages (when still setting up
the input and compute cells).
Closes https://github.com/exercism/todo/issues/135

I don't have much in the way of verification here, though I did make sure I didn't mess up the schemas:
require 'json'

js = JSON.parse(File.read('react.json'))

def verify(h)
  h.each { |k, v|
    raise "Nope, #{k} has multiple schemas: #{v}" if v.size > 1
    keys, times = v.first
    puts '%22s: %2d times, keys %s' % [k, times, keys]
  }

end

puts 'Cells:'
verify(js['cases'].each_with_object(Hash.new { |h, k| h[k] = Hash.new(0) }) { |c, h|
  c['cells'].each { |cell|
    ks = cell.keys
    raise "#{cell} has no name" unless ks.delete('name')
    raise "#{cell} has no type" unless ks.delete('type')
    h[cell['type']][ks] += 1
  }
})

puts 'Operations:'
verify(js['cases'].each_with_object(Hash.new { |h, k| h[k] = Hash.new(0) }) { |c, h|
  c['operations'].each { |op|
    ks = op.keys
    raise "#{op} has no type" unless ks.delete('type')
    h[op['type']][ks] += 1
  }
})

Cells:
                 input: 13 times, keys ["initial_value"]
               compute: 17 times, keys ["inputs", "compute_function"]
Operations:
     expect_cell_value:  8 times, keys ["cell", "value"]
             set_value: 14 times, keys ["cell", "value"]
          add_callback:  9 times, keys ["cell", "name"]
expect_callback_values: 10 times, keys ["callback", "values"]
       remove_callback:  4 times, keys ["cell", "name"]

Now verifying callbacks and cell names, fixed all bad names caught by this:
require 'json'

cases = JSON.parse(File.read('react.json'))['cases']

def verify(h)
  h.each { |k, v|
    raise "Nope, #{k} has multiple schemas: #{v}" if v.size > 1
    keys, times = v.first
    puts '%22s: %2d times, keys %s' % [k, times, keys]
  }

end

puts 'Cells:'
verify(cases.each_with_object(Hash.new { |h, k| h[k] = Hash.new(0) }) { |c, h|
  c['cells'].each { |cell|
    ks = cell.keys
    raise "#{cell} has no name" unless ks.delete('name')
    raise "#{cell} has no type" unless ks.delete('type')
    h[cell['type']][ks] += 1
  }
})

puts 'Operations:'
verify(cases.each_with_object(Hash.new { |h, k| h[k] = Hash.new(0) }) { |c, h|
  c['operations'].each { |op|
    ks = op.keys
    raise "#{op} has no type" unless ks.delete('type')
    h[op['type']][ks] += 1
  }
})

cases.each { |c|
  cells = []
  c['cells'].each { |cell|
    cells << cell['name']
    raise "#{cell} has illegal input: #{cell['inputs']} vs #{cells}" unless (cell['inputs'] || []).all? { |i| cells.include?(i) }
  }
  c['operations'].each { |op|
    callbacks = []
    if %w(expect_cell_value set_value add_callback remove_callback).include?(op['type'])
      raise "#{op} has illegal cell: #{op['cell']} vs #{cells}" unless cells.include?(op['cell'])
    end
    callbacks << op['name'] if op['type'] == 'add_callback'
    callbacks.delete(op['name']) if op['type'] == 'remove_callback'
  }
}

I think the only thing left unverified by this are the actual values - if I actually went and verified that I'd have to simulate a reactor from this JSON so I probably won't.

Additional note: Go was the first language with this exercise.
Go limited compute cells to one-input and two-input compute cells, with separate createCompute1 and createCompute2 functions. The advantage of this in a statically type checked language is that you can let the compiler ensure that you don't pass a two-input function to a one-input compute cell, or other similar errors.
All subsequent implementing languages have simply had a single create_compute that takes a list of input cells, and the compute function takes a single input (a list of input values). The benefit is obviously far more flexibility in arity, the downside is that there is no way to check whether the arities match up.
I'm not sure whether to call out these two options in the JSON file.

Based on what I've seen in the Rust implementation, this approach seems ok.


gRPC: Platform authentication with secured transport

Basic principle is that NS API is not intended for using in user clients, because it's a security hole and they are facing NosenStory using bot anyway. Let's imagine that there is first official NS API running, receiving data from also official third-party bots and taking certain actions, thus affecting an outcome.
We'll need to authenticate official bots by comparing some sort of token put in database in ns_platform table, or using other meta data.
It's way more secure to start with encrypting transport using SSL/TLS by using which tokens and other sensitive data are exchanged. Please review following example for creating SSL/TLS-encrypted gRPC channel in Python: https://grpc.io/docs/guides/auth/#python
Speaking of tokens, generating JWT won't be sufficient, IMO - not because regenerating token is consuming, but because of redundancy it brings. We could still use plain tokens to compare with, to determine which bot is issuing requests. Just for information, JWT can be compromised with little effort by reviewing source code of bot, for example, but static token provided by admin of NS API will be discouraged to be revealed in any way by third party - this rule is quite simple.

cc @SunMaungOo
It doesn't seem like a good-first issue, because of the specifics brought with gRPC.
And even so, it would be good to find some assistance on this issue, because I'm kind of worn off with security code myself, but I'll make sure to thoroughly review it once somebody makes it. 😏


New feature: New Cloud Provider OCI

Hi, Can you validate the idea to add a Oracle Cloud Infrastructure to InfraWallet?
It would be more robust to be able to see all the costs in a single plugin.
It's and idea... thank you for consider it.... I'm interesting on your roadmap.

Hi @jonathan-arenas-edo, thanks for the suggestion. Cross-cloud cost aggregation is one of the key ideas in InfraWallet :)
After a quick check, I see that OCI provides APIs to query cloud costs: https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api So I would say it is possible to implement an OCIClient (see more in https://github.com/electrolux-oss/infrawallet#how-to-support-a-new-cloud-vendor).
Probably we cannot do it soon. We will prioritize some tasks listed in the roadmap here: https://github.com/electrolux-oss/infrawallet#roadmap Hopefully later on we or other contributions can make InfraWallet support OCI and help you further!

Hi @gluckzhang Cool! It was just an idea! I will be aware of your updates

Hi @gluckzhang, I would be interested to work on OCI client. I have been working on OCI-based plugin personally and I will be glad to put this here. Let me know what you think!

Hi @gluckzhang, I would be interested to work on OCI client. I have been working on OCI-based plugin personally and I will be glad to put this here. Let me know what you think!

Hi @adityasinghal26, that would be excellent :) Please go ahead and feel free to contact me if you have any questions! 🚀


Fixed MaskBook connetcion in Opera browsers

Hello, in previous version when we try to connect MaskBook wallet in Opera browsers also in Opera GX and Crypto, we get an error like describe in thread belowe:
https://github.com/WalletConnect/web3modal/issues/548

Removing provider setting for Opera in providers folder solved it and don't have any impact to app.

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


Trigger path filter specific file type/extension

Is it possible to have a path filter for specific filetypes?
e.g. **/*.md
I can't seem to get this working.
I have a setup with 2 builds a CD and Documentation build and I do not want to trigger a CD build when only documentation changes (exclude filter) and only want to trigger a documentation build/release if any of the docs changed (include filter). My documentation files are located next to the source code so I can't filter on a specific folder.

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

ID: 7458d5b2-1bb7-7d87-7ce6-2b0c430b0155
Version Independent ID: edf5bbd3-a3f0-5426-e985-31290f8afd05
Content: YAML schema - Azure Pipelines
Content Source: docs/pipelines/yaml-schema.md
Product: devops
Technology: devops-cicd
GitHub Login: @vtbassmatt
Microsoft Alias: macoope

@michaelw85 Please accept our apologies for the delay in getting to this issue. It looks like you were working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a few options where you might consider asking similar questions in the future:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

Thanks for the reply @thomps23 but this is not just a question about implementation. The reason for asking this question is because clear documentation is lacking.
Since I created this issue I've found 4 related GitHub issues making me believe this is either a bug or missing feature. If it's the latter it should be documented that this use case is not supported.

@michaelw85 Thanks for the additional context. I'm tagging as a doc-bug for investigation.
@andyjlewis could up put this in the current batch of issues being actively triaged

I've created an issue here (has links to related items): https://github.com/microsoft/azure-pipelines-yaml/issues/190


Add [Abmgestion] #memo-required GBV7Z7…5PGWL5

Address: GBV7Z77Q4YNME7CM7GJZQX4WZBD4V2OXCBR6GTK4JY2QUXRFID5PGWL5
Tags: memo-required
Title: Abmgestion
Requested by @abmgestion

@Abmgestion Can you please clarify you reason you believe this is a Abmgestion exchange address?
Can you help with transactions numbers and if possible correspondence with the company.

@Abmgestion Please feel free to give updates and reopen this issue if you have more information.


Drag&drop to channel not working

Windows 10 64bits
Rocket chat client : 2.0.2 (latest)
Rocket chat server : 0.48.2 (latest)
Just try to drag & drop a bmp, gif, png, jpg, psd or whatever to a channel, it just displays a forbidden icon. It should just appear as a copy/paste and upload to channel, as it was doing on 1.3.1.

@msklywenn Can you test the latest beta? https://github.com/RocketChat/Rocket.Chat.Electron/releases/tag/2.1.0-beta.2

Same thing :/

@msklywenn Is the upload working if you click on upload button and select that file?

Oh that was already working. Although a bit randomly and gif upload was insanely slow. That was going to be the next issue I wanted to open... (one thing at a time :D)
Just tested, gif upload works fine & nice now ! Through the upload button.
Only the original issue remains to be fixed :)

@msklywenn And the drag and drop works via web browser?

Yes. It also works with rocket chat 1.3.1

The issue has been fixed in the latest version.


postgresql: add new feature options

This makes almost everything that PostgreSQL supports to be built with available as xSupport flags. Bonjour only works on darwin, selinux only on Linux - all others seem to work fine on both, except for a failed output check on darwin with ldap enabled. I don't consider that critical for now, though.
The idea here is to provide those options - and then have separate discussions and much more tests if we decide to turn any of them on by default.
Supersedes #218934 and makes #345289 a tiny bit nicer to implement.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

most of my PRs are waiting for OfBorg multiple days

I've been told that it's probably not possible anymore for the workers to keep up with the stream of incoming PRs (+ that it's probably not getting cheaper to perform those evaluations).
There are people trying to use GHA more (and also movements to keep ofborg running with more hardware sponsored from several parties), let's hope that one of those things works out.

We already do have GHA‐based evaluation; that’s what the “Outpaths” jobs on this PR are.

We already do have GHA‐based evaluation; that’s what the “Outpaths” jobs on this PR are.

Yep, seen those.
To me the proposal sounded like a full-blown ofborg replacement though, i.e. tooling to also tell me the rebuild count sooner or later, hence the wording.

You can download the outpaths from the action result to get the data, but yes, no fancy labelling as of yet AFAIK.

I think it has the outpaths only, but not the diff (and thus rebuild count) from what I see in the zipball.
Anyways, from what I see, I'm positively surprised then, nice.


Healing and resource use prediction

Is it possible to do? (Resource use= predicts how much mana/energy/rage u will have after your current cast, mostly only concerns mana users)

Would also be nice to have a feature like retail wow for Shields and Healing prediction.
The only limitation I find might be to find the exact amount of shielding, incoming heal etc might need to scan each party/raid member spellcasting...
I haven't looked in details to the API to see if there's something that could help out...


Modify hygiene pre-commit checks for users with git autocrlf set

For Windows users with core.autocrlf set, the hygiene precommit hook fails right now with messages that files are missing copyright statements and are not formatted. When autocrlf is set, the check that all line endings are '\n' is skipped, but the checks for copyright statement being present and the typescript-formatter both still look for LF line endings.
This commit changes the behavior of both of these checks to pivot on autocrlf being set so that Windows users do not have to change their git settings before cloning the repo.

I'm too afraid to touch these scripts since they tend to break easily and I do this the right way to fix this for good is to just use git attributes. I'll close this, given the precondition that VS Code devs should use core.autocrlf = false, for now. Sorry!

Sure, we could fix this with text eol=lf in a gitattributes file. Even if we do that, I think it would still be good to change this file, since right now there's incomplete support for having autocrlf set. If we don't want to support users having autocrlf set, then we shouldn't conditionally skip checking line endings based on its value as we do on line 244. Either correctly honor it, or make it clear that we don't honor it.

We would actually remove all this hygiene code if we used gitattributes.


Fix the same score amount being given each time

previously:
If rating is shit add 350
If rating is bad add 350
If rating is good add 350
If rating is sick add 350
now:
If rating is shit add 50
If rating is bad add 100
If rating is good add 200
If rating is sick add 350

this actually affects the gameay in such a way that getting high accuracy values is complicated thanks to the "Good" rating now being a perfect way to screw your SFC up
what anout  a Accuracy Type option instead? so these values could still be used as Hard Mode for Accuracy and Score Values

this actually affects the gameplay in such a way that getting high accuracy values is complicated thanks to the "Good" rating now being a perfect way to screw your SFC up and at the same time give you 95% Accuracy or less
what about a Accuracy Type option instead? so these values could still be used as Hard Mode for Accuracy and Score Values, could be something like this Gui-iago@dc8c96e (ignore CoolUtil.hx, I'm just dumb)

@Gui-iago It doesn't affect your accuracy because it's not calculated depending on your score
It's calculated by dividing totalNotesHit by totalNotesPlayed. totalNotesHit is modified depending on your note rating ('Shit' adds 0, 'Bad' adds 0.5, 'Good' adds 0.75, 'Sick' adds 1). totalNotesPlayed is all notes that appeared on Boyfriend's lane (including missed ones)

so thats why my friend played on my chart ported from KE and got so many points with such low accuracy, i didnt notice that xd

github is weird and added like 10 people here because I pulled from remote
Anyway, I pushed a commit that uses the Perfect!! rating instead of ? before a note is played, and adds 0.25 to totalNotesHit if your rating is Shit instead of 0


fix(docs): Add information about functional tests variables

This PR depends on https://github.com/fabric8io/fabric8-test/pull/375 and https://github.com/fabric8-services/fabric8-wit/pull/1817

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2396-10 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2396-fabric8-planner.badger.fabric8.io

@jarifibrahim fabric8/fabric8-ui:SNAPSHOT-PR-2396-11 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2396-fabric8-planner.badger.fabric8.io


Add the different NHIF options

Currently we are only checking for NHIF from the old, single section. We should instead allow checking the NHIF Outpatient, Inpatient and Civil Servant options that are provided through the HealthTools API.

Fixed.


Clean up the newly added no pacman script version

This alternate version of the installation script was thrown together quickly one morning before work, as I was inundated with questions about pacman repositories not working. Due to this quick nature, there is some code tidying up that needs to happen, specifically a redundant GitHub cloning that is unnecessary. The code will be updated within the next week or so to remove this redundant GitHub repository cloning.

No pacman version has been cleaned up. Also, it seems that Valve has fixed the pacman repositories for now. I will leave this optional installation script method in case there are future pacman repository issues.


Unknown levels of similar submenus

Is your feature request related to a problem? Please describe.
There are some cases we need to ask user for similar data several times (Ie. user wants to choose from a list of categories and subcategories of selected category and goes down as much as they want. In these cases we cannot make several hard coded menus since number if submenus are unknown.
Describe the solution you'd like
I think it would be easier being able to use same menu (with dynamic function for its unique string) as its own submenu (maybe with an argument for setting its unique string or using context.match data for that reason)
Describe alternatives you've considered
I didn't check this solution yet, but I think it's possible to use a generate a submenu and return it as an argument for chooseToSubmenu method.
Additional context
the case I described is something like this tree:
Products Menu
|
Show all products > products list
|
Category1
|
Category2
.               |
.              Show products of this category > products list
.               |
SubCat1
|
SubCat2
.             |
.            Show products of this category > products list
.             |
SubSubCat1
|
SubSubCat2
.                   |
.                   .
.                   .
.

Sorry i've got 404 error and sent same issue twice


inline missing for coroutine::yield

See https://github.com/tonbit/coroutine/blob/master/coroutine.h#L366 - the method should be inline, just like all the other methods. Without that compiling with multiple sources that all use the header obviously will fail.

Thanks for your suggestion, the code has been updated.


How to end the cmd.exe after close() - check Windows setup used to run

Hi @kensoh
I'm running with cmd batch file.
C:\Users\ongkokl\AppData\Local\Continuum\anaconda3\python.exe C:\Users\ongkokl\Desktop\RPA\STORING.py
After all the processes end; final line is r.close()
Is there API to end all the runnning cmd.exe ?

Hi @ongkokl that sounds like the setup which you run the batch file. If the batch file is run by double-clicking on it, it should close after running. If you are running with cmd.exe command, make sure you are using cmd.exe /c switch to end process after execution -
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd
You can write a simple Python script without using RPA for Python, and test / modify your setup until it works. Then run that way for RPA for Python to see if that setup continues to work.

@kensoh
i managed use taskkill to kill the batch file cmd.exe in the python script.
taskkill /f /im notepad.exe
but the remaning 2 cmd windows still active...?

I don't think it is normal behaviour for the windows not to close after finishing.
Try the following -

Run a simple python script.pyb from command line on a simple automation. Try on another computer.

Try your setup using batch file or scheduler on another computer. It could be some setup issue on your computer, or the way your batch file is configured to not close after running.

I don't have a Windows computer to replicate what you are experiencing. Best is try above 2 ideas on another computer to see if it is something to do with your computer or batch file config.

I don't think it is normal behaviour for the windows not to close after finishing.
Try the following -

Run a simple python script.py from command line on a simple automation. Try on another computer.
Try your setup using batch file or scheduler on another computer. It could be some setup issue on your computer, or the way your batch file is configured to not close after running.

I don't have a Windows computer to replicate what you are experiencing. Best is try above 2 ideas on another computer to see if it is something to do with your computer or batch file config.
You can also run running a simple batch file with just the line dir and see if the window close after running. If not close, confirm is issue with batch file setup to run and not close after running.

Hi @kensoh
this is the batch file:

Closing issue for now until further inputs on suggestions 1 to 3 above - https://github.com/tebelorg/RPA-Python/issues/142#issuecomment-629587072


Missing Update for Essences / 8.2 Content / EP

Crashes with Error Message:
Errror running simc:
Error: Unknown option 'azerite_essences' with value '27:1/300573'.
Following a 2nd Error:
Failed to generate profile. Please check your input and try again.

Same thing here. Any solutions out there?

still no solutions?

Old bug, though related to https://github.com/phroph/magicsim/issues/15 . Essences/old content obviously wont be supported since we are in prepatch. But due to corruption/essences and a lack of personal time, I put updates on backburner to revisit some things in Shadowlands.
Currently working on a large rewrite to fix a huge number of blocking issues and structural things that need to be smoothed out to make fixing these issues easier going forward.
Keep your eyes peeled.


Make tls automatically generate self-signed cert if desired

There should be a way for Caddy to generate and use in-memory, self-signed certificates (and keys) for local development/testing, if requested by the user.
Maybe something like:
tls testing

to make sure the user is clear about it only for use in testing environments. (Some users may not know what "self-signed" certificates are.)
This'll be really convenient when you want to test your site over HTTPS but don't want to go through the trouble of generating a certificate and key and putting them on the file system.
Anyone is welcome to get on board and help with this, or provide feedback -- it may not land in 0.8 but probably in the next version anyway.

+1

+1

Does the std lib or any third party library provide certificate generation?

Yep, or there's also this code from lego as a good, simplified example: https://github.com/xenolf/lego/blob/6a6af837dd43b76a5fe1c3014cae25dad4b1884e/acme/crypto.go#L253-L260

"in-memory [...]" certs, does that mean that they are recreated every time?

Yeah, just something that you would use locally in a pinch.

it that it's for local testing is obvious but when I wanna test locally I dont really want to accept a new cert on every reboot...

It's not ideal, but at least in my own dev workflows I'm not restarting my server all the time.
What about a Caddy flag or subcommand that plops the cert & key on your file system? e.g. caddy -testcert localhost would plop two files in the current directory, localhost.crt and localhost.key.

well I am usually dev'ing on my own PC (usually using XAMPP right now) and well that one usually gets shut down at the end of the work.

+1 for a Caddy subcommand

+1 On a subcommand to generate self-signed certificates. This would not just be handy for development but also when you use a CDN like CloudFlare, where you can use self-signed certificates between your server and the CloudFlare servers.

I think it would be better using the caddyfile since you dont have to invoke a certain special command, also helpful when using multiple testcert-domains.

@My1 True. Sounds like a Caddyfile setting with an optional command line option to me.

How about something like:
tls cert key generate

when cert and key mean paths then nah, not really. I would spay the behavor of cert creation similar to the automatic LE certs, just store them on a convenient (to the server) place.

Another benefit of this is to enable http/2 on localhost with ease.
I can probably get around to this before the next release.

What I'm gonna do is make the syntax https testing (I probably will rename the tls directive to https) and it will just generate the cert in memory and use that, discarding it when the server quits or is restarted. I don't think a subcommand is necessary since openssl does a better job of it.
Chrome has a flag you can set to disable warnings for self-signed certificates loaded over localhost, so it won't interrupt your testing workflow.

Any update on this/any way for us to help? I would love to be able to test alpine-caddy on travis as a reverse proxy using tls.

I plan on rolling this out with 0.9, which I've already begun.

nice

:+1:

This is now implemented on my local branch.
It's pretty cool.
You'll see this pushed with the 0.9 changes later this month.

Awesome! Really looking forward to that!

Great work! This is really going to help a lot!

You can see this in the 0.9-wip-readonly branch (the branch is temporary and will be deleted before 0.9 is more mature) - right now, Caddy's in a very minimally-functioning state in that branch. But you can create a Caddyfile with a hostname on port 443 and tls self_signed and see it working. Here's the function that generates a self-signed certificate.

Hey @mholt where did you get to with this issue and status? I've just got the dreaded LE error of registration error: acme: Error 429 - urn:acme:error:rateLimited - Error creating new registration :: too many registrations for this IP: see https://letsencrypt.org/docs/rate-limits/ due to an incorrect configuration.

It's implemented now as tls self_signed: https://caddyserver.com/docs/tls


Allow authorize_redirect to save user defined state data

Is your feature request related to a problem? Please describe.
I am using Flask OAuth Client (https://docs.authlib.org/en/latest/client/flask.html#routes-for-authorization)
However there seem to be no proper way save user defined data to the state with authorize_redirect (and to extract in the authorize route  before calling authorize_access_token).
This is crutial for such use cases when client needs to redirect user to the original resourse after successfull authentication (e.g. see this)
It can be worked aroud as described below but it is a bit hackish.
Describe the solution you'd like
It would be nice if authorize_redirect could accept user defined data to save in the state and some method that could get this custom data from the state later while handling the /authorize request.
Describe alternatives you've considered
Workaround (Flask)
@app.route("/login")
def login():
    redirect_uri = url_for(".authorize", _external=True)
    # return oauth.provider.authorize_redirect(redirect_uri)

    # I want to save referer URL to the state data
    # https://github.com/lepture/authlib/blob/4bdc72415a69e2f7c8993dd8375258be4036af1e/authlib/integrations/flask_client/apps.py#L36-L45
    rv = oauth.provider.create_authorization_url(redirect_uri)
    rv.update(referer_url=request.headers.get("Referer"))
    oauth.provider.save_authorize_data(redirect_uri=redirect_uri, **rv)
    return redirect(rv["url"])

@app.route("/authorize")
def authorize():
    # here I retrieve state data from session to get the referer URL
    state_data = oauth.provider.framework.get_state_data(session, request.args.get("state"))
    # state is cleared by calling authorize_access_token
    token = oauth.provider.authorize_access_token()
    # ...
    return redirect(state_data.get("referer_url", url_for(".index")))

Additional context

I submitted a PR with my take on the issue. I can add corresponding fixes to other integrations (django, starlette) once I have a green light.

@n0061q I think your workaround is ok, except that you can change the code to:
    oauth.provider.save_authorize_data(referer_url=request.headers.get("Referer"))
    return oauth.provider.authorize_redirect(redirect_uri)

And what we need is a get_authorize_data method on the client.

@n0061q I think you may not understand what you want, from your description, the referrer url is not a part of the oauth flow, it is your application's logic requirements. In this case, you can just save the referrer url in your session:
    next_url = request.headers.get("Referer")
    if next_url:
        session['next_url'] = next_url
    return oauth.provider.authorize_redirect(redirect_uri)

Then:
next_url = session.get('next_url', url_for(".index"))
return redirect(next_url)


PublishLocalStoreRemoteError and node payouts completely stops

Issue description
PublishLocalStoreRemoteError error occured in June 4th, 2023 and despite attempting to migrate the node several times to different servers, the problem persisted as long as I used the same node credentials (libp2p key, op and management wallet). The error stopped happening randomly after many attempts at restoring the node.
Fastforward 1 month, and ever since that error, my node has not been able to do any payouts, despite being able to win new pubs and rewin old pubs. The node seems to be running fine despite being unable to do any payouts.
Expected behavior
Node runs fine and payouts are done automatically
Actual behavior
Node runs fine but no payouts made since June 4th, 2023
Steps to reproduce the problem

Run the node
Wait for PublishLocalStoreRemoteError
Attempt to restore the node until the error stops
Win pubs
No payouts are done

Specifications

Node version: 6.0.11
Platform: Ubuntu 20.04.6 LTS
Node wallet: 0x9744f0547EA9f7cb9ace50cD0C346C6FA9024Dec (BRX) and 0xE980d0252b0966991352E704913607F73B7cd657 (BRX86)
Node libp2p identity: QmX4HRTqVpPVui5sLHVaxBdu4TXq92xc9jiJftmSd9FcjC and QmV9WL9J8FEUEZznaCTK1mZuKkjP3CkRt3979fVZHbXVvm respectively

Contact details

Email<EMAIL_ADDRESS>
Error logs
Jun 04 03:40:57 BRX node[54372]: [2023-06-04 03:40:57] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Jun 04 03:43:27 BRX node[54372]: [2023-06-04 03:43:27] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Jun 04 03:49:27 BRX node[54372]: [2023-06-04 03:49:27] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Jun 04 03:51:05 BRX node[54372]: [2023-06-04 03:51:05] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Jun 04 03:55:03 BRX node[54372]: [2023-06-04 03:55:03] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Jun 04 03:57:51 BRX node[54372]: [2023-06-04 03:57:51] ERROR: Command error (PublishLocalStoreRemoteError): Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.
Disclaimer
Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to<EMAIL_ADDRESS>

This issue is duplicate of #2458, so we are closing this and will keep track of the issue on the other one


Unclear when report is output

gulp-tslint version: 4.05
tslint version: 4.0.5
Operating system: Windows 10
Example gulp configuration (if applicable):
 var files = gulp.src("src/**/*.ts", { base: "src" });

    gutil.log("Begin TSLint Report");

    files.pipe(tslint({
        formatter: "verbose",
    }))
        .pipe(tslint.report({
            emitError: false,
        }));

    gutil.log("End TSLint Report");

Error console output:
[13:28:35] Begin TSLint Report
[13:28:35] End TSLint Report
(no-empty-interface) common/lobby/IServerToClient.ts[1, 11]: An empty interface is equivalent to `{}`.

I would expect the output to be written during the pipe(tslint.report())

Your console logging is synchronous, that's why they're logged before the .report call.


Reverse bootstrappers when reverting to central

Some of my bootstrappers are depending on previous bootstrappers but when reverting it needs to run in reverse order.
Submitting to v4 since this might be a breaking change (currently I am overriding this file).

Ideally the bootstrappers wouldn't depend on each other, but I can see the value of this, thanks for the PR!


fix error links:https://github.com/kubernetes/community/tree/master/c…

…ontributors/guide/contributor-cheatsheet

@ttonline6 please sign the CNCF CLA. See PR comment https://github.com/kubernetes-sigs/descheduler/pull/247#issuecomment-592906751 for detailed instructions.

/close
The broken link was fixed in #260 which has already been merged.


suggestion table disappear imidiatly

hi.tnx for your nice component
the suggestion table disappear imidiatly after was shown.
i want to get geocoding from google map and show the addresses as suggestion.but...
can u help me? i need it today :D

same problem.
SearchTextField is running just after textFieldDidChange but if you are getting data from web, suggestion table disappears when you did filterStrings.
I did such as:
self.mySearchTextField.filterStrings(self._resultArray)
self.mySearchTextField.layoutSubviews()

It worked but I don't know if it is the best solution.
After getting the array data


Improve .editorconfig and add .jshintrc

Let's use this:
https://github.com/raix/Meteor-jshintrc/blob/master/.editorconfig
As well as this:
https://github.com/raix/Meteor-jshintrc/blob/master/.jshintrc

I am getting the use strict error, when I start using this jshnit config file.. could you check that out?

Try that.


multi class segmentation

Hi,
This is probably the best CNTK image segmentation example I have seen so far. Thank you!
A few comments:

shouldn't the conv9 be:  "Convolution((3,3), 32, init=glorot_uniform(), activation=relu, pad=True)(up9)"?Instead of "Convolution((3,3), 64, init=glorot_uniform(), activation=relu, pad=True)(up9)"

I am trying to modify this to do multi-class segmentation. I modified conv10 as:
conv10 = Convolution((1,1), num_class, init=glorot_uniform(), activation=sigmoid, pad=True)(conv9)
and made the target mask also multi class. Using your example, one class is circles another is square.
However, I am unable to get segmentation output for both classes. It's usually one class that is segmented and the other is all blank.

I was wondering if you had a multi class segmentation implementation.
Thanks

Seems you're right.
That should work. Could you share your code so that I can reproduce?

def create_model(input, nLabels):
conv1 = Convolution((3,3), 32, init=glorot_uniform(), activation=relu,
pad=True)(input)
conv1 = Convolution((3,3), 32, init=glorot_uniform(), activation=relu,
pad=True)(conv1)
pool1 = MaxPooling((2,2), strides=(2,2))(conv1)
conv2 = Convolution((3,3), 64, init=glorot_uniform(), activation=relu,

pad=True)(pool1)
conv2 = Convolution((3,3), 64, init=glorot_uniform(), activation=relu,
pad=True)(conv2)
pool2 = MaxPooling((2,2), strides=(2,2))(conv2)
conv3 = Convolution((3,3), 128, init=glorot_uniform(), activation=relu,

pad=True)(pool2)
conv3 = Convolution((3,3), 128, init=glorot_uniform(), activation=relu,
pad=True)(conv3)
pool3 = MaxPooling((2,2), strides=(2,2))(conv3)
conv4 = Convolution((3,3), 256, init=glorot_uniform(), activation=relu,

pad=True)(pool3)
conv4 = Convolution((3,3), 256, init=glorot_uniform(), activation=relu,
pad=True)(conv4)
pool4 = MaxPooling((2,2), strides=(2,2))(conv4)
conv5 = Convolution((3,3), 512, init=glorot_uniform(), activation=relu,

pad=True)(pool4)
conv5 = Convolution((3,3), 512, init=glorot_uniform(), activation=relu,
pad=True)(conv5)
up6 = C.splice(UpSampling2D(conv5), conv4, axis=0)
conv6 = Convolution((3,3), 256, init=glorot_uniform(), activation=relu,

pad=True)(up6)
conv6 = Convolution((3,3), 256, init=glorot_uniform(), activation=relu,
pad=True)(conv6)
up7 = C.splice(UpSampling2D(conv6), conv3, axis=0)
conv7 = Convolution((3,3), 128, init=glorot_uniform(), activation=relu,

pad=True)(up7)
conv7 = Convolution((3,3), 128, init=glorot_uniform(), activation=relu,
pad=True)(conv7)
up8 = C.splice(UpSampling2D(conv7), conv2, axis=0)
conv8 = Convolution((3,3), 64, init=glorot_uniform(), activation=relu,

pad=True)(up8)
conv8 = Convolution((3,3), 64, init=glorot_uniform(), activation=relu,
pad=True)(conv8)
up9 = C.splice(UpSampling2D(conv8), conv1, axis=0)
conv9 = Convolution((3,3), 32, init=glorot_uniform(), activation=relu,

pad=True)(up9)
conv9 = Convolution((3,3), 32, init=glorot_uniform(), activation=relu,
pad=True)(conv9)
num_class = nLabels
conv10 = Convolution((1,1), num_class, init=glorot_uniform(),

activation=sigmoid, pad=True)(conv9)
return conv10

def generate_random_data_labels(shape, count, nLabel):
x, y = zip(*[generate_img_and_mask_labels((shape[1], shape[2]), nLabel)
for i in range(0, count)])
X = np.reshape(np.array(x), (count, 1, shape[1], shape[2]))
Y = np.reshape(np.array(y), (count, nLabel, shape[1], shape[2]))

return X.astype(np.float32), Y.astype(np.float32)

def generate_img_and_mask_labels(shape, nLabel):
triangle_location = get_random_location(shape)
circle_location1 = get_random_location(shape, zoom=0.7)
circle_location2 = get_random_location(shape, zoom=0.7)
mesh_location = get_random_location(shape)
square_location = get_random_location(shape)
plus_location = get_random_location(shape)
# Create input image
arr = np.zeros(shape, dtype=bool)
arr = add_triangle(arr, *triangle_location)
arr = add_circle(arr, *circle_location1)
arr = add_circle(arr, *circle_location2, fill=True)
arr = add_mesh_square(arr, *mesh_location)
arr = add_filled_square(arr, *square_location)
arr = add_plus(arr, *plus_location)

# Create target mask
mask = np.zeros(shape, dtype=bool)
maskCirc = add_circle(mask,  *circle_location1)

maskSq = add_filled_square(mask, *square_location)
mask = np.vstack([maskSq[np.newaxis, ...], maskCirc[np.newaxis, ...]])

return arr, mask

These are the commands for training and testing:
nLabels=2
input_images, target_masks =
simulation.generate_random_data_labels(shape=(1, 128, 128), count=2048,
nLabel=2)
#input_images = imvalues[0]
shape_input = input_images[0].shape
shape_target = target_masks[0].shape
data_size = input_images.shape[0]
Split data
test_portion = int(data_size * 0.1)
indices = np.random.permutation(data_size)
test_indices = indices[:test_portion]
training_indices = indices[test_portion:]
test_data = (input_images[test_indices], target_masks[test_indices])
training_data = (input_images[training_indices],
target_masks[training_indices])
Create model
x = C.input_variable(shape_input)
y = C.input_variable(shape_target)
z = cntk_unet.create_model(x, nLabels)
#dice_coef = cntk_unet.dice_coefficient(z, y)
dice_coef = cntk_unet.dice_coefficient_labels(z, y)
#pred = C.softmax(z)
#train_loss = cntk_unet.cost_func(z, y)
#pe         = C.classification_error(z, y)
Load the saved model if specified
checkpoint_file = "cntk-unet.dnn"
z.load(checkpoint_file)
Prepare model and trainer
lr = learning_rate_schedule(1e-5, UnitType.sample)
momentum = C.learners.momentum_as_time_constant_schedule(10000)
trainer = C.Trainer(z, (-dice_coef, -dice_coef),
C.learners.adam(z.parameters, lr=lr, momentum=momentum))
#trainer = C.Trainer(z, (-train_loss, -dice_coef),
C.learners.adam(z.parameters, lr=lr, momentum=momentum))
Get minibatches of training data and perform model training
minibatch_size = 30
num_epochs =100
training_errors = []
test_errors = []
for e in range(0, num_epochs):
for i in range(0, int(len(training_data[0]) / minibatch_size)):
data_x, data_y = slice_minibatch(training_data[0],
training_data[1], i, minibatch_size)
    trainer.train_minibatch({x: data_x, y: data_y})

# Measure training error
training_error = measure_error(training_data[0], training_data[1], x,

y, trainer, minibatch_size)
training_errors.append(training_error)
# Measure test error
test_error = measure_error(test_data[0], test_data[1], x, y, trainer,

minibatch_size)
test_errors.append(test_error)
print("epoch #{}: training_error={}, test_error={}".format(e,

training_errors[-1], test_errors[-1]))
On Thu, Aug 3, 2017 at 12:43 AM, Naoto Usuyama<EMAIL_ADDRESS>wrote:

Seems you're right.
That should work. Could you share your code so that I can reproduce?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/usuyama/cntk_unet/issues/1#issuecomment-319866317,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUJxwHaJRQWBVnwGnWNiuKvpRSTnb_kkks5sUU_ggaJpZM4Oll0X
.

Thanks for the code. I think the problem was the dice coefficient, which can be dominated by a class with larger region. I changed the loss function to per-class dice coefficient then it's working now. Please check the latest commit.

@masaladose FYI - I just posted fully-conv-nets for semantic segmentation, too. Might work better than U-net depending on problems.
https://github.com/usuyama/cntk-fully-convolutional-networks

Thanks! I will check it out. I have to admit that it's your post that
convinced me to switch to CNTK from Caffe and TensorFlow. Things seem much
easier and faster here.
-Ajay
On Sun, Aug 20, 2017 at 12:36 AM, Naoto Usuyama<EMAIL_ADDRESS>wrote:

@masaladose https://github.com/masaladose FYI - I just posted
fully-conv-nets for semantic segmentation, too. Might work better than
U-net depending on problems.
https://github.com/usuyama/cntk-fully-convolutional-networks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/usuyama/cntk_unet/issues/1#issuecomment-323563122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUJxwJfnZcBwqlxwCU1nV_4uGa6ASBcEks5sZ7frgaJpZM4Oll0X
.

I'm so happy to hear that! Let me know if you have ideas for improvements!


Fit Pannel

Hello, my name is Alexander and I am an undergrad student doing my thesis here.
I am mainly going to be working with electron data and I would like to know how to fit data in a similar fashion as linked below. It originates from a recent TIGRESS experiment, and the plot is believed to have been done by @jsmallcombe .
https://elog.triumf.ca/Tigress/TIGRESS/19810

https://github.com/jsmallcombe/jRootAnalysisTools


Increase decimal range to make toBeCloseTo less brittle

Compared values are timestamps that were divided by 100 so toBeCloseTo can be used to make them less brittle since we only care if they are way off. Default for toBeCloseTo is to use two decimal places, so the timestamps actually need to be divided by 10000 to create four decimal places that'll drop the last two digits. (Alternately, the signature of toBeCloseTo could be passed 0 as the second parameter, but this allows us to keep the default behavior.)
Changes

Increase decimal range to make toBeCloseTo less brittle

Testing

gulp test:unit --specs=js/modules/util/email-popup-helpers-spec.js

We could always subtract them as well and then check the diff.

True, I'll update to that if this starts failing. Could be clearer too.


[Feature Request]

Hey could you add permissions to your spigot page? :)
Thanks in advance

Tobi

Alright

Alright

Added

Added


Null value in column "workspace_id" of relation "job" violates not-null constraint

Bug description 🐞
If you define a tree structure as follow:
├── modules
│   └── bucket
│       ├── main.tf
├── staging
│   ├── backend.tf
│   ├── main.tf
│   ├── providers.tf

And you refer to the module in modules from the main.tf in staging/main.tf terrakube plan will crash as follow:
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
/projects/04_my_project/staging/ relative to the target repository.

OpenTofu will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /Users/myuser/Repositories/my-repo/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /Users/myuser/Repositories/myrepo

There was an error connecting to the remote backend. Please do not exit
OpenTofu to prevent data loss! Trying to restore the connection...

Still trying to restore the connection... (3s elapsed)

Steps to reproduce

Create the above file structure
Create a VCS workspace which working directory points to the staging folder
In production folder make sure to refer the module stored in ../modules/my-module
Run terraform plan

Expected behavior
It should at least display an error rather than making the API pod crash.
Example repository
No response
Anything else?
No response

Hello @BenjaminDecreusefond can you share how you put the working directory in the UI?

Hello @alfespa17 !
Like this ! /projects/04_my_project/staging/

Hello @alfespa17 ! Like this ! /projects/04_my_project/staging/

I think it should be "/staging" the working dir is relattive to your git repository structure

I tried both ! But it doesn't work !

@alfespa17  Did you try to use your submodules from the module ? From module, you use the source
source= ../submodule/module1 It's how I got it crashing

It is also working for me @BenjaminDecreusefond using the following
https://github.com/AzBuilder/terrakube-docker-compose/blob/test/module/main.tf

λ terraform plan -destroy
Running plan in HCP Terraform. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://8080-azbuilder-terrakube-gtre69uxgz6.ws-us116.gitpod.io/app/simple/terrakube-docker-compose/runs/run-5

Waiting for 1 run(s) to finish before being queued...

***************************************
Initializing Terrakube Job 5 Step 85ffb3ff-1a6a-4f76-a788-44cad682b9ca
Running Terraform 1.9.8

***************************************
Running Terraform Init:
Initializing the backend...

Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules...
- time_module in ../submodule/module1
Initializing provider plugins...
- Finding latest version of hashicorp/random...
- Installing hashicorp/random v3.6.3...
- Installed hashicorp/random v3.6.3 (signed by HashiCorp)
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!
***************************************
Running Terraform PLAN
***************************************
random_integer.time: Refreshing state... [id=4]
module.time_module.random_integer.time: Refreshing state... [id=4]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # random_integer.time will be destroyed
  - resource "random_integer" "time" {
      - id     = "4" -> null
      - max    = 5 -> null
      - min    = 1 -> null
      - result = 4 -> null
    }

  # module.time_module.random_integer.time will be destroyed
  - resource "random_integer" "time" {
      - id     = "4" -> null
      - max    = 5 -> null
      - min    = 1 -> null
      - result = 4 -> null
    }

Plan: 0 to add, 0 to change, 2 to destroy.

Changes to Outputs:
  - output_time = 4 -> null

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now.

Using the UI

By the way if you can create a really simple public repository that I can use to make it crash I will be happy to help

Yep ! I'll try to send you an example tomorrow ! :)

Can you show me the main.tf you used in your module/ please ? @alfespa17

You can check all the source code here
https://github.com/AzBuilder/terrakube-docker-compose/blob/test/module/main.tf

What you can do is the following:
Put the module inside a subdirectory for instance TEST dir (As a reminder I had a depths of two when it crashed). You can do the same for the submodule. So you would end up with both module and submodules inside the directory TEST. Then you can set the workspace directory to point to the root of the TEST directory. Try to run a plan it should crash, at least i had this behavior. And you can also try after to set the correct directory for the workspace I also had the crash. I had this file structure when it crashed
projects/
├──myprojects
├── modules
│   └── bucket
│       ├── main.tf
├── staging
│   ├── backend.tf
│   ├── main.tf
│   ├── providers.tf

I tried and it is working for me with the following

Not sure how you made the API crash.

Hey @alfespa17 !
In my case the submodule directory was also nested ! I think in your example you can put in in the nested1 folder ! :)

Hey @alfespa17 !
In my case the submodule directory was also nested ! I think in your example you can put it in the nested1 folder ! :)

I dont think that is the issue It will work

Well that's the set up I had. What is the workspace path ?

Well that's the set up I had. What is the workspace path ?

When it crashed i had the following set up:
Same structure as you with folder nested in 2 folder. The module was nested with one depth. And wether I set the working directory of the workspace to module/nest1 or module/nest1/nest2 I had the API crashing

I am closing this issue not sure there is a way to reproduce your error.
I also tested with this and it worked

That's really strange and annoying! hopefully we wont run into it again !
Thank you anyway !

Hey @alfespa17 !
We got the issue again ! And I think I found why ! Actually is it not linked to the path of the module but to the API resource ! When launching the plan we have the following error
16:20:20[10.415s][1][migrate_projects]$ tofu plan
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
/projects/my_projectrelative to the target repository.

OpenTofu will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /xxx/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /xxx

There was an error connecting to the remote backend. Please do not exit
OpenTofu to prevent data loss! Trying to restore the connection...

Still trying to restore the connection... (3s elapsed)
Still trying to restore the connection... (5s elapsed)
Still trying to restore the connection... (8s elapsed)
Still trying to restore the connection... (12s elapsed)
Still trying to restore the connection... (18s elapsed)
^C
Interrupt received.
Please wait for OpenTofu to exit or data loss may occur.
Gracefully shutting down...

And right before the API pod crashes, we see the following log
2024-11-21T15:27:32.437Z  INFO 1 --- [ryBean_Worker-6] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-11-21T15:27:32.887Z  INFO 1 --- [ryBean_Worker-6] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-11-21T15:27:33.320Z  INFO 1 --- [ryBean_Worker-6] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-11-21T15:27:33.807Z  INFO 1 --- [ryBean_Worker-6] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-11-21T15:27:34.235Z  INFO 1 --- [ryBean_Worker-6] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-11-21T15:27:34.629Z  INFO 1 --- [nio-8080-exec-1] o.t.a.plugin.state.RemoteTfeController   : Uploading Id a0b41bdf-a3d3-4962-bd60-b6318ac44e29 file
2024-11-21T15:27:34.629Z  INFO 1 --- [nio-8080-exec-1] o.t.a.p.s.aws.AwsStorageTypeServiceImpl  : context file: content/a0b41bdf-a3d3-4962-bd60-b6318ac44e29/terraformContent.tar.gz
Terminating due to java.lang.OutOfMemoryError: Java heap space

So it should be easy to fix by increasing the limit but just letting you know this happens (I think for pretty big plans ?)

You can use the following env variable JAVA_TOOL_OPTIONS to customize the JVM params
It will be something like this:
api:
  env:
  - name: JAVA_TOOL_OPTIONS
    value: "-Xms6144m -Xmx6144m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m"

I dont remember the exact parameters but you can google it.

Yep sure that's what I've done ! Do you think there's a way to prevent this in the Terrakube app code ? It was not easy to trouble shot


Leaving Custom Chat requires to press Enter.

You can't close Custom Chat without opening Main Menu when pressing ESC, only if you pressing Enter and sending something that you didn't want to send, that's not kinda good, if it's possible to do this, it will be nice, because it's more familiar way to close something by pressing ESC, not Enter.

That was intentional. I think someone asked for that to be the case, but since I can't find the comment I'll just go ahead and reverse it.


Some SSL sites bypass intercept proxy

Hi everyone,
When using GoProxy in transparent intercept mode, I find that Google-related sites bypass the proxy after the initial load.
Example: https://golang.org/doc/
When I query this site the first time, it shows up in the log. Then when doing a hard refresh, or even navigating to new pages that I have never loaded before from the same domain, they bypass the proxy.
Any ideas as to what may be going on?

Did you try MITM all sites?
On Thu, Jul 20, 2017, 12:34 AM SmashGuy2<EMAIL_ADDRESS>wrote:

Hi everyone,
When using GoProxy in transparent intercept mode, I find that
Google-related sites bypass the proxy after the initial load.
Example: https://golang.org/doc/
When I query this site the first time, it shows up in the log. Then when
doing a hard refresh, or even navigating to new pages that I have never
loaded before from the same domain, they bypass the proxy.
Any ideas as to what may be going on?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/232, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4ooI0s5TH-4kkHuc3BDzpbKfWqQrbks5sPnZUgaJpZM4OdVAg
.

What makes you think that it isn't being proxied?
On Wed, Jul 19, 2017 at 8:47 PM Elazar Leibovich<EMAIL_ADDRESS>wrote:

Did you try MITM all sites?
On Thu, Jul 20, 2017, 12:34 AM SmashGuy2<EMAIL_ADDRESS>wrote:

Hi everyone,
When using GoProxy in transparent intercept mode, I find that
Google-related sites bypass the proxy after the initial load.
Example: https://golang.org/doc/
When I query this site the first time, it shows up in the log. Then when
doing a hard refresh, or even navigating to new pages that I have never
loaded before from the same domain, they bypass the proxy.
Any ideas as to what may be going on?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/232, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAP4ooI0s5TH-4kkHuc3BDzpbKfWqQrbks5sPnZUgaJpZM4OdVAg
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/232#issuecomment-316564005,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTSU_UHJSzy46Bp4YdX-5eDJ5pd59TEks5sPqOGgaJpZM4OdVAg
.

Did you try MITM all sites?

Incoming requests made from Chrome to Google.com are not even being seen by the proxy. They appear to bypass it. All other https requests are in fact being proxied correctly.
Interestingly, requests to Google.com from Microsoft Edge are being proxied correctly.
Could they be using some other kind of protocol?

What makes you think that it isn't being proxied?

I'm watching the log and have put in debugging printfs to indicate incoming TLS requests.

I don't know if this will help, but here's the output from the Network tab when I query Google.com:

Request URL:https://www.google.com/
Request Method:GET
Status Code:200
Remote Address:<IP_ADDRESS>:443
Referrer Policy:no-referrer-when-downgrade
Response Headers
alt-svc:quic=":443"; ma=2592000; v="39,38,37,36,35"
cache-control:private, max-age=0
content-encoding:gzip
content-type:text/html; charset=UTF-8
date:Thu, 20 Jul 2017 17:08:38 GMT
expires:-1
server:gws
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.www.google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=www.google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=www.google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.www.google.com
status:200
strict-transport-security:max-age=86400
x-frame-options:SAMEORIGIN
x-xss-protection:1; mode=block
Request Headers
:authority:www.google.com
:method:GET
:path:/
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
accept-encoding:gzip, deflate, br
accept-language:en-US,en;q=0.8
cache-control:max-age=0
cookie:OTZ=3952649_76_80_104160_76_446820; HSID=A3sAVoYOI1NNIMc49; SSID=Ayw5AUmhQMxPu9gcd; APISID=Uc-Ekk5CNnAypcwr/AqxldKvivOi9z5AUz; SAPISID=c_6nd_PxebrccpwL/AtCYtStUWYz3ce0vT; SID=7gSyVXzBz4T3bpHm6x_IA7iX5uubehDqyIZlMx8d8DdKSL8Lh5r89Qg6qco8VehQPbXu6w.; S=quotestreamer=jl1d9K770O1zS6T6R0lRHgaJ3YVq0E9d; NID=108=PNkAkSwC1t5S3XiLroiBW2dPp2nZrhNaaq5mks8ArBX3lFYOWxeyQ5DjNNnpq_TU7aHeZ1JF8MtN3HGLHGnNQzIrVT7PrGInchzSw4e8PhmfBS2dZNDT48yUAVjcqwopn9WZFLUsCtwJXImAYc40w3LDfl0WKfBIhDIEtqzQkz2540YibkkVMGIiBxAWez7bn1aN0ODb4OnqLnRr1CseAc7ukWu2tf_Oaip8tJbPKZgRM2QvXCs67DJH82rzevtFQQEJop4zU0A3lw; DV=s59SNxs2SF5McBdH4fogMB8ly4wP1pVMxolFnT2lDQEAACBqIcFJ--6B2wAAANwIt5sdk6JbVQAAAA
dnt:1
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
x-chrome-uma-enabled:1
x-client-data:CI+2yQEIo7bJAQjEtskBCP6ZygEI+5zKAQipncoB

Isn't it HSTS
On Thu, Jul 20, 2017, 8:09 PM SmashGuy2<EMAIL_ADDRESS>wrote:

I don't know if this will help, but here's the output from the Network tab
when I query Google.com:
Request URL:https://www.google.com/
Request Method:GET
Status Code:200
Remote Address:<IP_ADDRESS>:443
Referrer Policy:no-referrer-when-downgrade
Response Headers
alt-svc:quic=":443"; ma=2592000; v="39,38,37,36,35"
cache-control:private, max-age=0
content-encoding:gzip
content-type:text/html; charset=UTF-8
date:Thu, 20 Jul 2017 17:08:38 GMT
expires:-1
server:gws
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.
google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.
www.google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=
www.google.com
set-cookie:OTZ=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=
google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=
google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=
www.google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.
google.com
set-cookie:DV=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.
www.google.com
status:200
strict-transport-security:max-age=86400
x-frame-options:SAMEORIGIN
x-xss-protection:1; mode=block
Request Headers
:authority:www.google.com
:method:GET
:path:/
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,
/;q=0.8
accept-encoding:gzip, deflate, br
accept-language:en-US,en;q=0.8
cache-control:max-age=0
cookie:OTZ=3952649_76_80_104160_76_446820; HSID=A3sAVoYOI1NNIMc49;
SSID=Ayw5AUmhQMxPu9gcd; APISID=Uc-Ekk5CNnAypcwr/AqxldKvivOi9z5AUz;
SAPISID=c_6nd_PxebrccpwL/AtCYtStUWYz3ce0vT;
SID=7gSyVXzBz4T3bpHm6x_IA7iX5uubehDqyIZlMx8d8DdKSL8Lh5r89Qg6qco8VehQPbXu6w.;
S=quotestreamer=jl1d9K770O1zS6T6R0lRHgaJ3YVq0E9d;
NID=108=PNkAkSwC1t5S3XiLroiBW2dPp2nZrhNaaq5mks8ArBX3lFYOWxeyQ5DjNNnpq_TU7aHeZ1JF8MtN3HGLHGnNQzIrVT7PrGInchzSw4e8PhmfBS2dZNDT48yUAVjcqwopn9WZFLUsCtwJXImAYc40w3LDfl0WKfBIhDIEtqzQkz2540YibkkVMGIiBxAWez7bn1aN0ODb4OnqLnRr1CseAc7ukWu2tf_Oaip8tJbPKZgRM2QvXCs67DJH82rzevtFQQEJop4zU0A3lw;
DV=s59SNxs2SF5McBdH4fogMB8ly4wP1pVMxolFnT2lDQEAACBqIcFJ--6B2wAAANwIt5sdk6JbVQAAAA
dnt:1
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
x-chrome-uma-enabled:1
x-client-data:CI+2yQEIo7bJAQjEtskBCP6ZygEI+5zKAQipncoB
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/232#issuecomment-316769679,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4opdGVdevPxdMHy5cp-BSKk0u8lQeks5sP4nTgaJpZM4OdVAg
.

I believe so, but that shouldn't matter, should it? Microsoft Edge retrieves the same content (with the response HSTS header) and it goes through the proxy.
Here's the same info from Edge:

Request URL: https://www.google.com/
Request Method: GET
Status Code: 200 / OK

- Request Headers
Accept: text/html, application/xhtml+xml, image/jxr, /
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US, en; q=0.5
Cache-Control: no-cache
Connection: Keep-Alive
Cookie: DV=g5fGsdAKDtNEcBdH4fogMB9Veg8Q1tWNcLvZMSm6FQAAACCTcWJRZ09pEwAAAIhaSHDSvnvgEgAAAA; SID=tgRHzl6Hnk7Uc8CIqfYkMurmCckVLu_C5og0uBdUvaIBuI5FlB1CH2_7Rx2E0YucZtwY9A.;  Chrome is implementing the QUIC protocol and bypassing proxies by utilizing UDP as a transport protocol. Don't have a solution yet though.
https://groups.google.com/a/chromium.org/forum/#!topic/proto-quic/ksokVdwXfQ0

Ok, so blocking UDP per the above link works in disabling Google's QUIC algorithm. No big loss as Google seems to be the only one using it and it makes no noticeable impact on page load time.
However, Google falls back to HTTP/2 protocol, which is also getting around the proxy. So this needs to be blocked somehow.

Ok, the problem was with my code. Blocking UDP to ports 80 and 443 disables QUIC and forces Google sites to go through the proxy.


Add k8s loadBalancer instead of route when not on openshift

Type of change

Bugfix
Enhancement / new feature

Description
When not on openshift, a kubernetes loadbalancer should be used. This is a first draft to add this in iot compenents.
@lulf there are still a few types errors here and there but I wanted your feedback on the general approach. WDYT ?
Aslo, according to 1 we need an Ingress controller. Any opinion on which one we should use ?
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

Before testing function of these change this branch should be rebased on newer master with changed deployment of infinispan on kubernetes.

Can this be rebased and reviewed?

@lulf @obabec it looks like @ctron already added it https://github.com/EnMasseProject/enmasse/blob/0da533e3b0e0d83bfaf8dcb5793b83da44c59bff/pkg/controller/iotconfig/device_registry.go#L175

IIRC it was @dejanb
However, I think the misses the update of the status section


Right-To-Left Text Rendering Support

We need to support rendering bitmap fonts for languages such as Arabic, Hebrew which  the rendering of a text starts from right to left.
For that I can contribute but I need some help from the graceful stuff of this framework.

I'm working on a game in LibGdx and I have added support for RTL text.

Would be nice if you could create a PR or a diff or upload your code somewhere, so it doesn't get lost :)

I'll upload it as a gist.I have a few TODOs remaining, but overall it is usable.

Here is the gist:https://gist.github.com/EtK2000/9be88488d70e9bf399b18cff444a9036

RTL languages like Arabic not just direction from RIGHT to LEFT, but how connect their letters with each other and some letters as a block with 2 or more letters.
So, I do it with fully supporting RTL language.
https://github.com/CrowniAPIs/libGDX-RTL-Language

@CrowniAPIs that's fantastic work!
I really hope this will be added in.. it would also help for ajapanese and chinese since those languages also have glyphs transforming as you type.

@CrowniAPIs that is very interesting! Can you explain how it works?

@NathanSweet
There is four types of Arabic letters:
1X. No connection with any glyphs. (one letter has 1 connection shape).
2X. Connection with previous glyph only. (one letter has 2 connection shapes).
3X. Connection with previous and next glyph with change it into new glyph as block of two or more letters. (one letter has 2 connection shapes).
4X. Connection with previous and next glyph.  (one letter has 4 connection shapes).
So,
I created ArCharCode which contains all char integer code and own case for each one.
In ArFont which is logic, I checked every char input what is its case. Then according to its case I added correct glyph into array. Finally glyphs array converts to string after reverse it.
.... Sorry for my bad English ....

@CrowniAPIs does this have support for other languages that combine letters, or only Arabic?

@EtK2000 In fact I don't know about other RTL languages like Japanese and Chinese cases. So, If I know these languages cases, I think its easy to support them.

@CrowniAPIs Thanks. BitmapFont has a getGlyphs method, which is used by GlyphLayout. This allows the font to specify the glyphs for a string. Maybe you can extend BitmapFont and put the logic there?
CJK languages can be displayed as LTR and are already supported.

@NathanSweet Good to hear that. I will add new branch as a default branch instead of master and put new code with my logic to do that with inheritance of BitmapFont directly. I think your hint is better than my thinking in exist code. Thanks.
I hope that will be added into libGDX as a default support.

@NathanSweet THANK YOU VERY MUCH. I will do it soon. THANK YOU AGAIN.

@CrowniAPIs hi, are you still working on it? I need this too... thx

@CrowniAPIs I see your repository from December 2017. Are you still working on this / planning to merge it in?


bruteforcetoken.py giving "errors"

so after i give the token and id, it's starting to test some tokens, after 10 seconds it's starting give errors (it doesn't stop the app just spams the terminal and i want it to stop...)
error:
https://pastebin.com/EEywuzqZ

@AstraaDev


Update pip source code

Thanks a of for the great work on this project.  I might have stumbled into a bug for my case usage but after some time I spent with it it seems that it has been fixed but the pip package has not been updated.
Code snippet for reproducing bug
import cerberus
import yaml

schema = {
    'exec' : {  'type' : 'string' },
    'shell' : { 'type' : 'string' },
    'commands' : {
        'type' : 'list',
        'schema' : {
            'type' : 'dict',
            'propertyschema': {
                'type' : 'string',
                'allowed': ['exec', 'shell']
            }
        }
    }
}

validator = cerberus.Validator(schema)

yml = '''
commands:
    - exec: 'echo 1'
    - exec: 'echo 2'
'''
assert validator.validate(yaml.load(yml)) == True

yml = '''
commands:
    - exec: 'echo 1'
    - blah: 'echo 2'
'''
assert validator.validate(yaml.load(yml)) == False

print(validator.errors)

Running after a pip install cerberus gives an exception as seen in the output.
Traceback (most recent call last):
  File "test.py", line 34, in <module>
    assert validator.validate(yaml.load(yml)) == False
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 236, in validate
    return self._validate(document, schema, update=update, context=context)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 282, in _validate
    self._validate_definition(definition, field, value)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 341, in _validate_definition
    definition.get('allow_unknown'))
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 595, in _validate_schema
    validator.validate({i: value[i]}, context=self.document)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 236, in validate
    return self._validate(document, schema, update=update, context=context)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 282, in _validate
    self._validate_definition(definition, field, value)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 349, in _validate_definition
    validator(definition[rule], field, value)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 627, in _validate_propertyschema
    self._error(field, error)
  File "/home/manos/anaconda/lib/python2.7/site-packages/cerberus/cerberus.py", line 360, in _error
    field_errors.extend(_error)
TypeError: 'int' object is not iterable

Running against the codebase on github seems to work fine though as seen below.
$ python2.7 -B test.py
{'commands': {1: {'blah': 'unallowed value blah'}}}

It's just such a big pleasure going through the docs!

thanks! (i guess also on behalf of @nicolaiarocci.) it's a tough task to keep a documentation up-to-date, comprehensible and well-arranged. you're welcome to submit any amandment that improves it.
when you wrote your schema, did you consult the stable or the latest documentation?
i don't know without research which change would have fixed this. if you need it fixed in a 0.9.3 release, i suggest you figure it out.
i also found your initial post interesting, as there are some requests concerning schema recursion and serialization. i once wrote an ad-hoc proposal and your initial request was somehow similar.
i think this approach is attractive due to two reasons:

it allows serialization of 'recursive' / 'reusable' schemas
it's more explicit than a detection, thus propably much easier to implement and safe to sideeffects

@nicolaiarocci should i write a summary about all this to discuss and decide how this should be designed? (it may take some time, i currently have some projects that need attention.)

i also found your initial post interesting
link?

In general, I feel like v1.0 release is our top priority right now, so everybody can take advantage of "new Cerberus" (I've been having people email me about next release for a good while, too). After that, since we won't be beta anymore and we are going to adopt SemVer, we aren't going to break backward compatibility since 2.0 is out, and that is very unlikely to happen for a very long time.

Probably there is no link. Regarding my initial post, it was mostly about on what I was trying to achieve and how that was possible with Cerberus. Namely I was trying to achieve some sort of recursive schema like below.
schema = {
    'exec' : {  'type' : 'string' },
    'shell' : { 'type' : 'string' },
    'commands' : {
        'type' : 'list',
        'any_in_schema' : ['exec', 'shell']
    }
}

So the juicy part is that I want to my commands to make use of what I defined in my schema about exec and shell.
I solved my issue for the moment with the schema below
schema = {
    'exec' : {  'type' : 'string' },
    'shell' : { 'type' : 'string' },
    'commands' : {
        'type' : 'list',
        'schema' : {
            'type' : 'dict',
            'propertyschema': {
                'type' : 'string',
                'allowed': ['exec', 'shell']
            }
        }
    }
}

It seems to work but I assume that is because it happens that exec and shell take string as values. I assume that this would break if I ever had to change the definitions of exec and shell to something else than string.

the first two field definitions in the 1st-level-schema don't matter for your initial example.
but otherwise it seems like a proper solution to your problem.


Suggestions towards move of package to Scikit-HEP

Hi @benkrikler, following the discussions on the PyHEP Gitter channel I had a look. Very nice.
I have a few suggestions in this PR. Let's continue the discussion here if it becomes Scikit-HEP oriented? We can certainly ping the other Scikit-HEP admins, to converge quickly ...

Thanks for fixing my sloppy package renaming!  I think this is fine to merge already, unless you want me to keep this open for you for a while?

I'm happy :-). If you're happy too, I will email the admin list as it makes sense to let everyone know about the package that you would like to bring in - a trivial formality here, I reckon. Then you can go ahead. OK?


Search published objects and folders

Description

Design the interface for a search page and implement it, where users will be able to search through published folders and objects. the search will be text based over objects title, ids or description
DoD (Definition of Done)

Search page is designed and implemented.
Testing

Peer review and unit tests

Could be overlapped with issue https://github.com/CSCfi/metadata-submitter-frontend/issues/423


Node.js 12 actions are deprecated

Node.js 12 actions are deprecated.
For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Please update the following actions to use Node.js 16: actions/checkout@v2
Using version v3, latest or master: https://github.com/actions/checkout/pull/689

See: https://github.com/thomasmerz/lang-box/commit/9abc58c9942e894736703120954532b07707e49e

Please update the following actions to use Node.js 16: actions/setup-node@v2, actions/cache@v2
Using version v2.285.0, latest or master: https://github.com/actions/setup-node/pull/414 and https://github.com/actions/cache/pull/729

See: https://github.com/thomasmerz/lang-box/commit/e4d957ec4902db97b29da6d923161943a6f7ea0b

@inokawa , do you want a PR for this?


Documentation reset

Now with the detailed API

The only modifications are in the doc folder except an additional wrapper in skwdro/solvers/result.py


FQDN: Add metrics for Garbage collector cleanup.

This commit add the option to get the number of names that has been
cleaned on a GC job.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

This change is

test-me-please

test-me-please

Coverage increased (+0.001%) to 42.979% when pulling 0480eb2370dec25055251147045284c9bdab6dd3 on eloycoto:FQDNGCMetrics into de4cec1a614f3b4db851a3ca9588c6713e2e4313 on cilium:master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Boot VMs stage timed out in last build: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/9856/execution/node/58/log/
Unrelated to these changes, triggering again.

test-me-please

test-me-please

@eloycoto needs rebase.

test-me-please

CI tests actually passed, Coveralls failed due to issues unrelated to this PR:
Bad response status from coveralls: 422
{"message":"Couldn't find a repository matching this job.","error":true}
travis_time:end:0a504200:start=1550488802945838263,finish=1550489219221850859,duration=416276012596
The command "./.travis/build.sh" exited with 1.