Create API types for Parameters and Metadata

In master, as of this writing, we have a number of fields in the API that use interface{} as a placeholder for parameters and metadata in the OSB spec.  These placeholders were introduced  In #215, we temporarily changed these to runtime.RawExtension and runtime.Object, which is the correct way to handle things if we serialized raw JSON into these types.  This is a stopgap until we get real API types in for these objects.  This issue is to introduce the right API types so that:

Users can more conveniently work with the API than specifying raw JSON
We can validate the data in these fields

Related to #218

I'm closing this for now; we have split out metadata into fields in #329 and decided that Parameters will be a runtime.RawExtension in #366.


Claimed Reward But There's No Transaction into balance

I have claim reward but no transaction to my balance

version 10.0rc6
Windows 7 64-bit
I think the http 400 bad request is significant here?

Slack user @gapracoolz

Moved to https://github.com/lbryio/lbry-app/issues/102


[WIP] Apply MinimizeAutoJoins top down

Mostly opening this so Travis will run its. Build should be green now (at least for Mongo/Mimir), but there are a few unit tests that need reviewing/updating.

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


LoadBalancer causes 401 Unauthorized error

Expected Behavior / New Feature
When adding the Roundrobin Loadbalancer option to the ocelot.config.
The gateway should reroute to the downstream microservice without an authorization error
Actual Behavior / Motivation for New Feature
When adding the Roundrobin Loadbalancer option to the ocelot.config.
I get an 401 authorization error when being routed to the downstream microservice
Steps to Reproduce the Problem

I have 2 instances of the same downstream Microservice. The Microservice has Windows Authentication enabled.
In my Gateway I have the Ocelot.config DownstreamHostAndPorts section point to both the MicroServices.
If I start the gateway and try to connect to the UpstreamPathTemplate path, I successfully get routed to the downstream microservice.
Now, if i add LoadBalancerOptions": { "Type": "RoundRobin" }, to the Ocelot.config and try to connect to the UpstreamPathTemplate, I get a 401 Unauthorized error.

I've looked into this further and it seems that the load balancer (Round Robin) gets called muliple times for one GET request.  This is causing the URL Re-Route to keep changing. Any idea why this happens?

@candreouTrade you might be interested in the same issue as I am (also dealing with Windows Authentication): https://github.com/ThreeMammals/Ocelot/issues/657

@candreouTrade

I have 2 instances of the same downstream Microservice. The Microservice has Windows Authentication enabled.

As @jpj90 said, it could be Win Auth issue on 99%. So, this issue will be fixed as a part of #657 by PR #1521

Duplicate of #657


Anyone using this library use this command

netstat -a | grep icmp | wc -l

This library we have implemented two different ways and have always found it keeping ICMP requests and not closing them somehow for some reason.
We rewrote our own pinger and it has no leaks.  I suggest the author run all their tests using a long-running process like a web server calling fastping and ensuring that there are no ICMP requests growing with this command.  Using a unit test which exits out quickly will not show how these ICMP requests possibly are still open.
There is definitely a possibility it could have been our code causing the leak, but we gave it a second chance and used channels and 100% knew it was not our library keeping these open, yet it still leaked ICMP counts which overtime will completely hose a server if there are too many being held open.
Hopefully, this command is helpful for anyone using this library (or the authors) to be wary of using this library and keeping watch on your ICMP counts bloating and taking down webservers.
I am not going to provide any code samples because we are not using this library anymore and I just wanted to leave that command with people just in case they read this and want to see if there are any leaked pings that can grow overtime and cause IRQ issues taking down a server and causing high load.

I think you're right and there are leaks in original implementation + too high mutex usage which slowdown multi-thread pinging... I'm using modified version on high volume of pings without any problems

ill check out your fork @kanocz

@davidrenne I'm breaking API compatibility a lot, so pull request is not the best idea :-(

@kanocz ya probably, but I would take instability and a broken API vs. someone coming across and using this library without knowing this and taking down production machines because of this leak.
I would rather @tatsushid at least know about these issues and more people complaining about the leaks with concurrent usages and put them into the readme maybe explaining what you can and cannot do with it with known issues maybe.
Maybe if you know in detail what are the leaks and how to reproduce, maybe just a README update explaining there are known issues with concurrency and this library keeping ICMP's open and that they can use your library if they desire to use fastping in a concurrent manner.  Its a pretty good step forward to either fix those issues in the main author's branch or explain them so this library doesnt tank a server.  I dont think it is the authors intent to cause computer problems of those implementing callers, but someone should explain it as a known issue so its clear when using it to watch out for ICMP leaks.
I guess I am ranting because both this library and our own Lock issues caused two separate major issues and was a huge headache to gut out and fix both of them so I am ranting about the frustrations of using this library and just trying to get the voice out that something should be disclaimed about this issue so another person's day wasnt like mine.  That shell script showed the leak until we got to maybe 1700 pings or so leaking, then the server took a dive on CPU.
Regardless I appreciate all the hardwork from you and the author of this, but as you guys know how frustrating things can be when a server is taking a shit and finding the problems can be time-consuming, so the only reason I am adding more keywords is for google matches when the next person using this libary is seeing high load, they will thank me for voicing these issues that are not in the README as limitations.
Back to "happy coding" for me.

Unfortunately we didn't use another library  just called os exec and if one of the pings out of the count passed pingCount contains bytes from was good enough for us.
cmd := "/sbin/ping"
if runtime.GOOS == "linux" {
cmd = "/bin/ping"
}

out, err := exec.Command(cmd, "-c "+extensions.IntToString(pingCount), "-i 1", ipAddress).Output()
if err != nil {
d.Lock()
d.canPing = false
d.Unlock()
return
}

if strings.Contains(string(out), "bytes from") {

d.Lock()
d.canPing = true
d.Unlock()
return
} else {
d.Lock()
d.canPing = false
d.Unlock()
return
}


Explicitly state this is a one way conversion.

Performing git svn clone with the --no-metadata flag is a one-way operation that severs the link between svn and the new git repository.
Would it be possible to state the reasoning for such a choice? Or maybe show how a repo could be cloned then kept up to date with an svn repo?

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

ID: edd6cbc8-5e3b-c3a1-4672-d42510cc058b
Version Independent ID: 8fe81fb5-7c2d-2562-5659-55fccbb3126c
Content: Migrate from Subversion (SVN) to Git
Content Source: docs/repos/git/perform-migration-from-svn-to-git.md
Product: devops
Technology: devops-whitepapers
GitHub Login: @hkamel
Microsoft Alias: hkamel

Especially when this article mentions a step "(Optional) Synchronize the local Git repository with any changes from SVN repository while developers continue using SVN" without specifying how this is to be done. Is it even possible when the --no-metadata flag is used? I just migrated an old repository and it took ~6 hours to complete, so I'm not keen to redo it. Hope I find some way to get the latest SVN commits migrated to the Git repository.

Unfortunately, you do need to run again without that flag. If it's any consolation my repo was from 2006 and took another 5 days.
Also, if you want to use the Atlassian conversion tool you will need to run with an empty prefix like so --prefix='' for the tool to work.


Move coercers into classes

Currently, the coercers are namespaced functions. It would be better to convert them into classes and inject them through a CoercerProvider. This way the developer could easily override them.

Fixed in #134.


PDF Sheet

I find this resource the ultimate markdown cheatsheet. Can we have it as PDF, please? Good work
[![Appreciated](https://miro.medium.com/max/700/1VcHVCyRSAOF3V6Ldi0iXOQ.jpeg Markdown)](https://miro.medium.com/max/700/1VcHVCyRSAOF3V6Ldi0iXOQ.jpeg Thanks)

Hi @folarinmartins. I appreciate the suggestion! This is something I've considered in the past. I'm not sure a PDF is something I want to prioritize at this point, but I'll keep it in mind and possibly revisit it in the future. Thanks!


pycromanager acquisition does not work in 0.20.0

Pycromanager acquisition with the demo config running on nightly build 2022_11_07 and a call to
from pycromanager import Core, Acquisition, multi_d_acquisition_events

events = multi_d_acquisition_events(num_time_points = 10)
with Acquisition(directory=r'Q:\Ivan\debug', name='PM_test') as acq:
    acq.acquire(events)

throws the following error:
Exception: java.lang.NullPointerException
org.micromanager.ndviewer.main.NDViewer.<init>(NDViewer.java:102)
org.micromanager.ndviewer.main.NDViewer.<init>(NDViewer.java:92)
org.micromanager.remote.RemoteViewerStorageAdapter.createDisplay(RemoteViewerStorageAdapter.java:122)
org.micromanager.remote.RemoteViewerStorageAdapter.initialize(RemoteViewerStorageAdapter.java:104)
org.micromanager.acqj.main.Acquisition.initialize(Acquisition.java:272)
org.micromanager.acqj.main.Acquisition.<init>(Acquisition.java:89)
org.micromanager.acqj.main.Acquisition.<init>(Acquisition.java:77)
org.micromanager.remote.RemoteAcquisition.<init>(RemoteAcquisition.java:24)
org.micromanager.remote.RemoteAcquisitionFactory.createAcquisition(RemoteAcquisitionFactory.java:53)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.micromanager.internal.zmq.ZMQServer.runMethod(ZMQServer.java:388)
org.micromanager.internal.zmq.ZMQServer.parseAndExecuteCommand(ZMQServer.java:466)
org.micromanager.internal.zmq.ZMQServer.lambda$initialize$2(ZMQServer.java:117)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

There was a bug introduced to NDViewer, which is now fixed. However, there's something weird going on with my IDE so I haven't been able to successfully test (a reference is null even though this is impossible given the code).
It may be fixed by dropping in the new NDViewer? Still working through the other stuff

Tried the new viewer - the acquisition doesn't error out in the same way, but instead hangs without acquiring data. Something is still not quite right.

Tried the new viewer - the acquisition doesn't error out in the same way, but instead it hangs without acquiring any data. Something is still not quite right.

Ok I found the actual culprit. Should be fixed in new version
Will look at the acq bug tomorrow. There were some big changes related to getting the micro-manager GUI MDA to run on AcqEngJ so I assume its related to that


gettext check may be its own plugin?

Description
Currently gettext is included in modulajs plugin, but for opensource community they may not use gettext at all. So we can possibly consider moving it out to a separate plugin?

Sounds good. Let's put it in this package for now, and separate it when we are clear about the open source procedure for FreeWheel


Codes used for paper (JCP 156<PHONE_NUMBER>)

Just for the check

master is [3e273fa] (https://github.com/jkha-unist/unixmd/commit/3e273fa9d911bc9301b5bdc82159010c3d7d05d4)

master is [3e273fa] (3e273fa)

https://github.com/skmin-lab/unixmd/compare/3e273fa...7e6e62b


Feature/spend deduct crypto

Reason for this PR:

Implement Spend-Deduct protocol
Closes #21

Changes in this PR:

Add spend-deduct
Add PRF-to-Zn from craco for pseudorandom ZnElements
Make BG and security parameter function parameters for the Setup
Some refactoring alongside

Checklist:
Select whatever applies:

[x] Test written
[x] Code Properly Formatted
[x] Documented
[ ] Changelog updated

Just as a small remark: I personally like Patrick's code comments like
// modify precommitment 0 using homorphism trick and randomly chosen exponent.
It gives much more meaning to what's happening in the code. You have sectioned your code using comments too, which is good, but your comments could be more cryptographically relevant (the current ones seem to be mostly "compute this. Now compute this").
But to be honest, this is just a matter of personal preference.

Just as a small remark: I personally like Patrick's code comments like
// modify precommitment 0 using homorphism trick and randomly chosen exponent.
It gives much more meaning to what's happening in the code. You have sectioned your code using comments too, which is good, but your comments could be more cryptographically relevant (the current ones seem to be mostly "compute this. Now compute this").
But to be honest, this is just a matter of personal preference. Don't rewrite everything brecause of this. It's been easily readable (for me) as is.

I fixed all of your comments (and learned a lot about math and craco :smiley:). I will go through the code and sprinkle more knowledge using comments next week.
Feel free to review my changes before that :)

Looks good to me, altough I do not understand why some of the classes are marked as completely changed though I am 100% sure to have already seen them in my last review.

You always see the changes of this PR, not changes made since the last review. For that, see the resolved converstations.


Bug report: Unexpected token * in JSON at position when using spo page control list and spo page control get

Think we might have to remove the * from the JSON parsing. As this now gives errors in the spo controls list and spo controls get.
Originally posted by @estruyf in https://github.com/pnp/cli-microsoft365/issues/2179#issuecomment-782722023

This will require a lot of refactoring like @waldekmastykarz and I have discussed in a call. Closing this issue, and will create another one to enhance the spo page get to get the JSON response from CanvasContent1 as well.


Recent causes issue with program launch in some multi-device scenarios

Checkout branch snijjar/ccl-persistent-fabric-python-ttnn,
in file tests/ttnn/unit_tests/gtests/ccl/test_fabric_erisc_data_mover_loopback_with_workers.cpp, re-enable test ReduceScatterSmall_PersistentFabric (i.e. remove "DISABLED_" prefix).
With commit https://github.com/tenstorrent/tt-metal/commit/434bd8e565517fce0e23026e6eadf32df072e3d2 on branch, the test reliably hangs. The behaviour seen is that the program does not launch properly on all chips. One time when running a debug build, I saw this assert fire: TT_ASSERT(kernel_bin.num_spans() == 1);
Reverting the commit resulted in the test completing reliably.
This test requires a T3K machine to reproduce

looking.  In implementing that change I discovered some preexisting bugs that happened to almost cancel eachother out and accidentally 'work'.  This might be a case ...

Sorry @nathan-TT - going to have to bump this to P0 :(

Doesn't https://github.com/tenstorrent/tt-metal/pull/16136 resolve this?

yes we can close now.


Hamilton should probably handle a circular dependency better -- and allow overrides to work for computation.

Current behavior
Stack overflow on circular DAG -- we should error more gracefully/handle things better.
Library & System Information
Latest, mac osx.
Steps to replicate behavior
# circular.py
def a(b: int, c: int) -> int:
    return b + c

def b(a: int, c: int) -> int:
    return a - c

def c(a: int, b:int )-> int:
    return a - c

# run.py
from hamilton import driver
import circular
dr = driver.Driver({}, circular)
print(dr.has_cycles(['b']))
result = dr.execute(['b'], overrides={'a': 1, 'c': 2})
result = dr.execute(['b'], inputs={'a': 1, 'c': 2})

Stack Traces

  File "hamilton/hamilton/driver.py", line 174, in has_cycles
    nodes, user_nodes = self.graph.get_required_functions(final_vars)
  File "hamilton/hamilton/graph.py", line 286, in get_required_functions
    return self.directional_dfs_traverse(lambda n: n.dependencies, starting_nodes=final_vars)
  File "hamilton/hamilton/graph.py", line 305, in directional_dfs_traverse
    dfs_traverse(self.nodes[var])
  File "hamilton/hamilton/graph.py", line 295, in dfs_traverse
    dfs_traverse(n)
  File "hamilton/hamilton/graph.py", line 295, in dfs_traverse
    dfs_traverse(n)
  File "hamilton/hamilton/graph.py", line 295, in dfs_traverse
    dfs_traverse(n)
  [Previous line repeated 991 more times]
  File "hamilton/hamilton/graph.py", line 293, in dfs_traverse
    for n in next_nodes_fn(node):
  File "hamilton/hamilton/graph.py", line 286, in <lambda>
    return self.directional_dfs_traverse(lambda n: n.dependencies, starting_nodes=final_vars)
RecursionError: maximum recursion depth exceeded

Expected behavior

We error gracefully.
If the DAG being walked doesn't result in a cycle, then we should handle it.
E.g.

print(dr.has_cycles(['b'])) # True
result = dr.execute(['b'], overrides={'a': 1, 'c': 2}) # -1
result = dr.execute(['b'], inputs={'a': 1, 'c': 2}) # -1

Additional context
https://www.reddit.com/r/programming/comments/tfarht/comment/i0vdud3/?utm_source=share&utm_medium=web2x&context=3

Yeah, its interesting -- we could probably tune the algorithm to handle this well enough (E.G. short-circuit the DAG), but this gets dicey -- you have to know exactly what to override when you want to run it, or it won't work...

print(dr.has_cycles(['b'])) # True

with 1.5.0 this ✅

result = dr.execute(['b'], overrides={'a': 1, 'c': 2}) # -1

with 1.5.0 this ✅  -- but we aren't officially supporting it. But it can be done.

result = dr.execute(['b'], inputs={'a': 1, 'c': 2}) # -1

This will not work -- and we don't plan to support it to work.


Fix for class error

Class BeatSwitch\Lock\Integrations\Laravel\Facades\Manager does not exist error fix

Can you import the class with a use statement please? :)

Lock class on the same folder was changed like this on commit 479df1efeee50619e8b45aea0ed6dc7f8a7f64cd . Anyway I will create a pull request with a use statement


(BOLT-768) Fix acceptance tests without Beaker puppet install

beaker-puppet's install helpers also setup puppet to be found when
running the command. We're not using that so we can test apply. However
that means any use of puppet needs to use the full path, which is easy
to do because we're only using it on non-Windows tests.
Also remove test that's adequately covered by winrm transport tests and
relied on Puppet's ruby.

Passed my acceptance runs.


Transactions page: filters overlap mobile menu

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to /user/transactions
Switch to mobile view
click on dropdown icon
See error

Expected behavior
The dropdown should not be behind the tabbed navigation.
Screenshots

Smartphone (please complete the following information):

Device: All

Additional context
I will work on this issue.

Thanks for documenting this issue @snitin315

Hi @snitin315,  are you working on this already?

You can work on this ig you want to.

Hello @Betree can I work on this?

Yes you can

@MlkMahmud you're assigned! Let me know if you need more info.


jQueryUI.datepicker is shown behind modal in case of using input group

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
jQueryUI.datepicker is shown behind modal in case of using an input group.
Created CodePen and tested in current Chrome, current Firefox, current Opera and current Edge (on Windows 10 Pro).
The outcome is the same - if using input group - the jQueryUI date picker is below Bootstrap modal,
I attempted to override z-index with CSS, but it did not work.

Reduced test cases
CodePen demostrating the problem
https://codepen.io/Rikijs/pen/NWBWKJd
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
v5.2

IDK if this is the right solution but you can try
.ui-datepicker {
  z-index: 99999 !important;
}

with .ui-datepicker as selector instead of .datepicker

Closing as not a bug in Bootstrap :).

Yes, .ui-datepicker works all right.
Sorry for embarrassing mis-judgement on my part.


Testing code with at_exit conflicts with raise_error

Hey guys! I currently have a class like this:
module Gem
  def custom_method
    at_exit do
      # code_logic
      raise StandardError
    end
  end
end

The reason I am wrapping my code inside at_exit is because I want to run the execution of the code AFTER my base class has finished defining the methods. For example:
class Foo
  extend Gem
  custom_method
  def method_one; end
end

I want to access method_one from inside my gem, I have two ways to do it:

Put my custom_method all the way at the bottom of the file
Wrap my custom_method around an END block or an at_exit block, both of which will ensure that my custom_method runs after the file that extended the file.

I've decided to go with the second option because I do not want to put the method call at the end of the file.
It all works fine when I test it manually, however, the issue is as follow when I try to test it with rspec.
I want to test my method like so:
expect do
  Foo = Class.new do
    extend Gem
    custom_method
    def method_one; end
  end
end.to raise_error StandardError

But this won't work, rspec will think that there's no error, I presume this is because my at_exit runs after the rspec raise_error, which means the error is raised after the expectation.
How can I make my test green? Appreciate any pointers!

For a more concrete example, I just published the gem in question, so you can dig into the source code too.
https://github.com/edisonywh/behaves

:wave: This is a tough one, your test is working correctly, because at_exit hooks are installed at... well.. exit, by which time your test suite has already failed. The way to test this is, probably, to assert that at_exit is received with a stub and then check the block raises StandardError when invoked.
As far as I know there is no way to intercept the blocks and check them, and in any case would cause RSpec to exit uncleanly.

Cool, thanks for confirming what I suspected!
With that, I think I'm going to break the rules of no testing private method, as I don't think it should be a hard rule but rather a guideline, and one that's reasonable to break in my case.
My fix is over at https://github.com/edisonywh/behaves/pull/16 along with my rationale, if someone is interested.
Thanks for taking the time to answer my question, Jon!

You could also test it by shelling out and running your code that way, which is how we test some parts of RSpec.

I don't understand what you mean by shelling out, could you explain what's that? Thanks!

Running your code as a seperate process on the command line and testing the resulting output.

You could also experiment with fork a quick check says at_exit is run, but not rescuable but again you might be able to assert on the output


Fix small typos

📝 It's JavaScript, not javascript 😄
Thanks for such a great service, guys!

<3

That was really fast! ⚡

Deployed

Awesome!


Fix Request: CVE-2021-3538

Dependency go:github.com/satori/go.uuid:v1.2.0 is vulnerable
CVE-2021-3538 9.8 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerability
Results powered by Checkmarx(c)

It seems it was already fixed in https://github.com/satori/go.uuid/commit/d91630c8510268e75203009fe7daf2b8e1d60c45.
@satori can we have a new release with this fix?

Hey guys, this package is totally dead. You're better of migrating.

As far as I can tell, the vulnerable code was never released as 1.2.0 was committed before the change that introduced the vulnerability was made
Version 1.2.0, released January 3, 2018: https://github.com/satori/go.uuid/commit/f58768cc1a7a7e77a3bd49e98cdd21419399b6a3
Vulnerable code, also January 3, 2018, but after, and unreleased: https://github.com/satori/go.uuid/commit/0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c

I've been investigating this issue.
1.2.0 never included the vulnerable code. The vulnerability was introduced in a commit made after 1.2.0 was released (https://github.com/satori/go.uuid/commit/0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c), and no version was ever released after 1.2.0.
You should still migrate to an upgraded package, but as far as I can tell, 1.2.0 never had any problems (or, at least not the ones listed in the CVE).

@nickdnk some additional context is that at the time the package manager ecosystem was in flux and there were a couple of tools that allowed users to easily use or "lock" to master. It should be said that's inadvisable, but there's a possibility of vulnerable versions in use in the wild.
I wonder if the posts clarifying the vulnerability are ultimately constructive. It bewilders me why people still use this package despite that huge amount of warning of it being abandonware and there being several superior replacements.

I did. They essentially just said that 1.2.0 is not vulnerable and no action is required -- which is true, however, it still comes up as a vulnerability when we scan our infrastructure. I have told them this as well and suggested they upgrade to https://github.com/gofrs/uuid to get rid of the problem entirely.
The point is just that 1.2.0 simply is not vulnerable and various scanners shouldn't list it as a a vulnerability, regardless if it's abandonware or not.

Abandonware is a supply chain risk unto itself and it's disappointing they're taking the pedantic stance. NIST has a moderation issue for the NVD currently, so it'll be hit or miss whether you get movement on it. Sorry you're in this situation. I still hope people see issues like this and stop using the package.

Agreed, and what I meant was that 1.2.0 is not vulnerable to CVE-2021-3538 specifically.
Maybe some of them are reading this thread right now and considering an upgrade after I brought it up. Who knows.
I'm not sure what "a moderation issue for the NVD" means. I emailed them about it, they're looking into it they say.

Anecdotally, Github says this on their CVE page (if you click the link in my previous comment): "Unfortunately, the latest tagged release is vulnerable to this issue"
How is that true, when the latest tagged release is 1.2.0? And they reference 1.2.1 and some github commit as vulnerable versions. Was a tag deleted? This is so confusing.


Can you use the output of a nested GraphQL API stack as a parameter to a custom resource?

Which Category is your question related to?
Api (GraphQL)
Amplify CLI Version
4.50.2
What AWS Services are you utilizing?
DynamoDB, AppSync, CloudFormation
Provide additional details e.g. code snippets
I created a custom resource in an Amplify project following the Advanced workflows - Add a custom AWS resource guide.
I want to reference the name of a DynamoDB table created through the Amplify GraphQL API backend in my custom resource.
I tracked down the name of the CloudFormation output for the DynamoDB table name in ./amplify/backend/api/myapi/build/stacks/My.json.
"Outputs": {
  "GetAttMyTableName": {
    "Description": "Your DynamoDB table name.",
    "Value": {
      "Ref": "MyTable"
    },
    "Export": {
      "Name": {
        "Fn::Join": [
          ":",
          [
            {
              "Ref": "AppSyncApiId"
            },
            "GetAtt",
            "UserSettingsTable",
            "Name"
          ]
        ]
      }
    }
  }
}

Using the instructions for referencing existing parameters, I modified backend-config.json so that the custom resource depends on the GraphQL API.
  "custom-resources": {
    "my-custom-resource": {
      "service": "my-backend-resource",
      "providerPlugin": "awscloudformation",
      "dependsOn": [
        {
          "category": "api",
          "resourceName": "myapi",
          "attributes": [
            "GetAttMyTableName"
          ]
        }
      ]
    }
  },

I know I'm missing the "Ref": "AppSyncApiId" prefix to the GetAttMyTableName, but I do not know how to add the prefix. I think this is problem number 1 of 2, so I will continue with my attempt below.
I added an input parameter for the table name in my custom resource template
  // The format out here is `<category><resource-name><attribute-name>`
  // we have defined all of these in the `backend-config.json` file above
  "Parameters": {
    "apimyapiGetAttUserMyTableName": {
      "Type": "String"
    }
  },

and modified the parameters.json to include the parameter.
{
  "apimyapiGetAttMyTableName": {
    "Fn::GetAtt": [
      "apimyapi",
      "Outputs.GetAttMyTableName"
    ]
  }
}

But I get the following error when I try to amplify push.
CREATE_FAILED  <resource>  AWS::CloudFormation::Stack Thu May 13 2021 20:20:15 GMT-0400 (Eastern Daylight Time) Output 'GetAttMyTableName' not found in stack 'arn:aws:cloudformation:<region>:<account>:stack/amplify-<project>-dev-<id>-apimyapi-<id>/<id>'

I think the problem is that the DynamoDB table name is output by a nested stack under the API stack. I do not know how to configure the custom resource to reference an output from a nested stack.
(stack)    amplify-<project>-dev-<id>-apimyapi-<id>
(nested)      |-amplify-<project>-dev-<id>-apimyapi-<id>-My-<id>

Is it possible to reference an output from a nested GraphQL API stack in Amplify?

Hi @kylevoyto
you are almost on right path. Instead of adding  GetAttMyTableName , You can replace backend Config to get AppsyncApiId . Then you can use ImportValue to access the table in the CFN.
You can add this section where you want to import this exported value from My.json
    {
      "Fn::ImportValue": {
        "Fn::Sub": "${AppSyncApiId}:GetAtt:TodoTable:Name"
      }
    }

Also Add a parameter in the stack AppsyncApiId where you are importing this table Name
Let me know if this works for you?

@akshbhu thank you for the help.
I hit the following error when I tried to import the value with a substitution including the API Id:
Template error: the attribute in Fn::ImportValue must not depend on any resources, imported values, or Fn::GetAZs

I can provide extra information if you think the error may be a mistake in my configuration. I am curious about the solution.
However, I think I can achieve my goals with access to the GraphQL API instead of connecting directly to the DynamoDB table. (I can successfully to import the location of the API.)

Hi @kylevoyto
Glad to know it worked. For importing tableName , Can you share the snippet of how are you importing tableName in custom resource?

@akshbhu I did not successfully import the tableName. I am using the GraphQL API endpoint instead, so I could directly follow the Advanced workflows docs.
backend-config.json
  "custom-resources": {
    "my-custom-resource": {
      "service": "my-backend-resource",
      "providerPlugin": "awscloudformation",
      "dependsOn": [
        {
          "category": "api",
          "resourceName": "myapi",
          "attributes": [
            "GraphQLAPIEndpointOutput"
          ]
        }
      ]
    }
  },

parameters.json
{
  "apimyapiGetAttMyTableName": {
    "Fn::GetAtt": [
      "apimyapi",
      "Outputs.GraphQLAPIEndpointOutput"
    ]
  }
}

template.json
  "Parameters": {
    "apimyapiGraphQLAPIEndpointOutput": {
      "Type": "String"
    }
  },


Issues page not aligned

Hi, The  issue page not looking good because of alignment left
I thnk this can be aligned to center ,
Here is a 2 screenshots to compare
Aligned

Not Aligned

Hi,
Thank you for your feedback. I agree that content would look better if was aligned with the headers but I don't agree it would be better centered, a text is generally more readable if left-aligned. There are also some numeric columns which are aligned to the right.
See example:

Unfortunately, Redmine doesn't provide the same classes for the headers, so I cannot align them with table body 😞

Yes i agree ... by the way , This is a best theme for Redmine i ever saw . THANK YOU VERT MUCH !!!


Request: Fancy zones layouts configurable per virtual desktop

Description of the new feature / enhancement
Hello! Fancy zones is great. I'm very happy to see that you can configure per monitor now, and would like to request a further extension of this capability.
I've discovered and am loving the use of virtual desktops in windows as a way to organize all my screens around specific tasks/workspaces rather than all jumbled on top of each other with the use of the task bar/alt tab, etc. Its been a great productivity and quality of life change that I intend to make great use of. However, Fancy zones has no concept of this meaning you can only have one layout persisting across all of them (when the ability to customize each would be perfect). If I made multiple layout profiles and switched between them it would jumble up the things on other monitors and be a pain to use, but one layout to rule them all doesn't quite work or take advantage of what Fancy zones does either.
Within a created layout, it would be great to be able to have tabs to specify Fancy Zones' preferences per virtual desktop so that you can optomize its use around what you are doing on that specific desktop. This would truly be a power tool with this addition - I implore you to consider!
Thanks for reading. :)
Scenario when this would be used?
Use of virtual desktops in any form. For example, I am a 3D artist and each virtual desktop I use is built around a different process I'm performing in conjunction, and one for a game engine where I'm bringing that all in. Each of these things may excel with different layouts and have different wants/and needs.
Supporting information
https://www.cnet.com/tech/services-and-software/virtual-desktops-how-to-use-multiple-desktops-in-windows-10/#:~:text=To add a virtual desktop,to add a virtual desktop.

that is already possible: switch to a different VD, open the FZ Editor and apply the desired layout.

Wow, that's a pleasant surprise! I thought a given selected layout would persist on all of them but failed to try actually doing it. Thank you for the heads up!


Why LRN in software

Any particular reason for the choice of implementing LRN on CPU and not FPGA (and gain the acceleration benefits of the FPGA)?

Hi, LRN is on FPGA. please carefully read the code.


Generate Metrics for Monitoring

Describe the solution you'd like
Support both:

Prometheus metric endpoint
opentelemetry-metrics

Additional context
OpenTelemetry library support Prometheus-Exporter

@wrenix This should be handled by the solution in #207 I'd imagine.
What specifically would you like to be exported to prometheus beyond what is provided by OTEL already?


Sight system worker & CSP?

Combing over some of my console logs I am noticing that I am seeing errors like:

[Report Only] Refused to create a worker from 'https:///modules/perfect-vision/scripts/core/sight-system-worker.js' because it violates the following Content Security Policy directive: "worker-src 'none'".

Here's the strange thing: I don't set a CSP on my server, so I don't know where that message came from.
This error occurs even if I do explicitly set worker-src 'self' on my proxy, so I have no idea where it's coming from or if it's breaking anything.
Grepping the network traffic from Foundry also doesn't show anywhere where that might be set.

A little bit of research leads me to believe that this could be caused by a browser plugin. Try it in private mode without browser plugins (and maybe in a different browser).

I think you're right.  I did try in two different browsers originally, but they were both running a similar plug-in.  Disabling it made it go away.  I apologise for the trouble.  Thanks!


Build nightly-build on avocano-cart: FAILURE

Cloud Build encountered an error:

Project: avocano-cart
Trigger: nightly-build
Commit: 3c9f2ea on branch main

View Logs
I'm an automation.  Googlers: go/avocano-admin-notifiers

Timeout. #173


Update to v2.5.0

I'm wondering if we could release a fix for https://github.com/camunda/camunda-bpmn-js/issues/279. Currently, we allow for two non-compatible versions of properties panel css :/


KEP-3857: promote RecursiveReadOnlyMounts feature to beta

Description

The gate has reached beta in v1.31.
refs:

kubernetes/enhancements#3857
kubernetes/kubernetes#125475

Issue

Closes: #48614

dup of https://github.com/kubernetes/website/pull/47852

#47852

47852 seems stalled, any chance to just merge this PR?

/approve


Fix editor examples adding source option

Description
We have added an option to select the source type between Dataset and SQL. In this PR the examples have been updated so now they have configured which source type are using.
Result

Awesome @Jesus89, thanks ✨


Use application activities to judge a call

The feature
Whether it is possible to support the use of specific application activity on foreground to judge whether a call is being rejected or received, because an app is usually not only used for making or receiving calls.

I don't understand, especially for this:

because an app is usually not only used for making or receiving calls.

Can you show me a use case?

I still don't understand. Let's say you are using WhatsApp, when it's in the foreground, you want all calls to be allowed? Why is that?

I guess you not using the latest version, now there is the Meeting Mode, which does exactly what you need, calls will be rejected during online video conferences.

It's checking if the app is running a foreground service, which it's more accurate than checking activity, this approach should work for any apps.

No , it's won't reject calls when the app is opened. It won't regret calls even when you are typing messages. It will only reject calls during a video meeting.

I guess you don't really understand what a foreground service is, please try this feature, It should work as expected.

Let me explain a bit, the "foreground service" is not just "the app is running in the foreground".
It's an Android service, when an app starts a video meeting, It will start a service to keep the app alive, usually there will be a notification that can't be deleted, if you delete it, It will appear again later. This service is what I meant by the foreground service.
When you just opened the app, or typing messages, It won't start such device, because it's a necessary and such service would consume more battery. However, when the video meeting is started, it's will appear in the notification, which means the foreground service is started.

Which app will reject all calls where it's just started?

I remember that checking foreground activity is restricted by Android, not very sure. I'll find a way to solve this.

Activity is the last option, it's unreliable, it can be overlapped or minimized, and it's more difficult to implement. FG service on the other hand, is better in all aspects.
FG services also have names, the app now allows you to enter some services names to exclude.
Done in the action build: https://github.com/aj3423/SpamBlocker/actions/runs/12233459161

I'll add the "click to add the name" in the next release.


Add Exception handler to remote debugger

In initial state the exception handler is enable. Use the exception command with the 0 to disable the feature and 1 to enable it. Modified the help command test too.
JerryScript-DCO-1.0-Signed-off-by: Levente Orban<EMAIL_ADDRESS>

@LaszloLango @zherczeg Updated the PR.


Deadlock with ELPP_AS_DLL and ELPP_THREAD_SAFE defined on Windows 7 (and lower)

How to reproduce (v 9.80):

Create DLL with next files:

// log.h
#ifndef LOG_H_
#define LOG_H_
#define ELPP_AS_DLL
#if defined(EL_EXPORTS)
#  define ELPP_EXPORT_SYMBOLS
#endif
#define ELPP_THREAD_SAFE
#include "easyloggingpp/easylogging++.h"
#endif

// log.cpp
#include "log.h"
INITIALIZE_EASYLOGGINGPP

Create an application and link it to this dll

// main.cpp
#include <iostream>
#include "../el/log.h"
int main()
{
	std::cout << "TEST\n";
	LOG(ERROR) << "TEST";
}

(solution for Microsoft Visual Studio 2013)
Compile an run it on Windows 7. Application will stuck and you will not see any console output.

To compile it you need to fix linker error firstly. I add comment on #150

Looks like the problem is with using std::mutex (possibly call to ::CreateMutex()) as global variable.
Here are few links, that has such problem with using std::mutex inside ::DllMain():

C++11 std::mutex in Visual Studio 2012 deadlock when locked from DllMain()
Deadlock when locking std::mutex during DllMain static initialization

The simplest solution is to use CRITICAL_SECTION instead std::mutex.
So, in case of Windows, I fix the problem by using class Mutex:
#if ELPP_OS_WINDOWS && defined(ELPP_AS_DLL) && ELPP_THREADING_ENABLED
#  if defined(ELPP_USE_STD_THREADING)
#    undef ELPP_USE_STD_THREADING
#  endif
#endif

I do not see such problem on Windows 8 (8.1). And found it on Windows 7 that is running on VM,
Thanks

We can safely undefine ELPP_USE_STD_THREADING to use CRITICAL_SECTION as you suggested. Leaving this open for other suggestions using std::mutex (or to later have a look at links in detail)


Enhancement: Toggle CSS class on xcomponent container.

I like the ability of being able to resize the surronding xcomponent container on the parent site. It would be even better if we could give the child component the ability to apply a class to its container instead of just having the resize option.

Hey sorry I missed this issue when you first posted it -- was out on vacation and missed the notification.
I'd rather not add special library support for this since it can be done fairly easily through a prop with a default value:
let MyComponent = xcomponent.create({

    addClass: {
        type: 'function',
        value: function(selector, className) {
            document.querySelector(selector).classList.add(className);
        }
    }
});

That should do the trick! thanks!


update headline

📝 Changed routes:

/

(view full size)

Commit 593aec1424c6d9dfd39489bfc8b7518455ac6ead (https://thirdweb-gyvxo9jew-thirdweb.vercel.app).


Enable Local Storage

In android we can easily set the webview to allow localStorage, but I don't see anything for React Native's webviews. I feel like I'm missing something simple since I don't see any issues regarding it. Any idea?

Same boat!

Does this link help? It isn't authoritative, but intuitively makes sense

@emitchel @thomasdavis
I just added PR https://github.com/alinz/react-native-webview-bridge/pull/195
Meanwhile, you can use my fork (or fork it :) )

Thanks @rasom , that was the same approach I was using locally for the time being.


Add lock toggle for virtual cursors freeing movement of the real cursor

I implemented your suggestion of adding a command to toggle locking of the virtual cursors while allowing the real cursor to move freely. Like you said, this is better than my original PR. Feel free to use it or ignore it and close the PR. It is basically what I needed.
Thank you.

I've created a new branch with some changes, @dawsers can you tell me if it's OK for you?
The changes are:

Renamed the command to just MultipleCursorsLock
Locking will disable all commands, both movement and editing
Changed the example shortcut to <Leader>l (<Ctrl-l> already has a function so I don't want to use it as an example)


Use platform-agnostic path combination for usage on unix/mono.

thank you

thank you!

Thanks for merging! I have another branch that might be of interest, i'll create a pull request of that but it introduces a functional change instead of merely adding some portability (basically, using git-describe to create the version info).


Why the chart animations run every time when switch back from other tabs？

Why the chart animations run every time when switch back from other tabs？
为什么每次从其他选项卡切换回时图表动画都会运行？
Can I turn this feature off?
可以关闭这个特性么？

Have you used keep-alive to cache pages?

It turns out that the charts router config option meta.noCache is true.
Thanks!


Question about the convertion from xacro files to urdf files

Hello, i have a problem regarding the xacro files. I try to convert the xacro files in clover_description to urdf files,  but the convertion of files: clover4_physics.xacro and clover4_base.xacro always fail:  "Undefined substitution argument use_clover_physics". Could u tell why?
I know it maybe a very basic question but i am new to ros so this is very strange for me. Thanks in advance

Hi! The purpose of using xacro is to parametrize URDF files. So we can use the drone with or without the camera, with or without the gps, etc. These xacro parameters are arguments, which you didn't provide for the converter.
Also you should not use clover4_*.xacro, these files are included to the main entry file, clover4.xacro. When the Clover sim runs, it uses the main file, and passes the parameters to it.
See: https://github.com/CopterExpress/clover/blob/master/clover_description/launch/spawn_drone.launch#L14.


Aggregate Water Data landing page

In WaDE 1.0 catalog front end dashboard, we used to show a pie chart for the water budget across categories of use of a selected "area" if the state has many variables reported. I think we also showed a pie chart of water use across beneficial uses. This is a very useful insight.

Let's add a pie chart plot (for the many categories of use of the same year) on the landing page probably below the time series plot (USGS landing pages allow multiple plots on their landing page). We probably could make the plot "variable" to be "category of use", "water source type", and "VariableCV"
https://waterdata.usgs.gov/monitoring-location/10142000/#parameterCode=00065&period=P7D

Let's add a polygon map similar to the water right POD landing page. This is a feature of the Geoconnex landing pages which we have a deliverable for https://geoconnex.internetofwater.dev/demo/

Added a pie chart analytics tab to the plot information.  Split up between Beneficial Use, Water Source Type, & Variable Type.
Moved Polygon Map to below filers & text and above plot information.
Lots of info on page now.  Added Scroll Function & Scroll Bar (not animated) to landing page to emphasize the amount of available information shown on a single aggregated data landing page.


Revert 98 onnxruntime upstream

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


Question: How to reload plugin configuration?

Hi,
I’m writing a custom go plugin to validate scopes in JWT.
The plugin takes the “allowed scopes” for a given path as plugin configuration.
Although the plugin configuration is loaded correctly the first time, subsequent updates to the config are not picked up. Is there a way to rollout config changes or somehow send a signal to the plugin to reload its config?
Besides deleting the KongPlugin configuration CR has no effect either, so it does seem that the plugin configuration is cached for the duration of the plugin server at least.
In fact looking at instance.go, there is a comment suggesting here that a new instance should be started in case of plugin config changes and the old one stopped. Are there any examples/guides on how to do that? How can I retrieve the current instance status to stop the old instance and how to generate a new instance status to start a new one?
I posted this question in the discuss.konghq.com too, but realise this might be more sensible to have it here instead.
I'm using kong docker image 3.6.0-ubuntu and go-pdk v0.11.0
Here is what the custom plugin configuration looks like.
apiVersion: [configuration.konghq.com/v1](http://configuration.konghq.com/v1)
config:
jwksUri: https://some-url/certs
protectedPaths:
- allowedScopes:
- tenant-two-scope
path: /ip
kind: KongPlugin
metadata:
name: hello-oauth2
namespace: kong-tenant-two
plugin: mygoplugin

Many thanks

For reference, the fix for this issue is https://github.com/Kong/kong/pull/12729


Configure for use without ActiveRecord?

In experimenting with this gem, I seem to run into trouble trying to use this with a NoSQL-style database instead of ActiveRecord. When trying to create new records with POST, I encounter the error:
uninitialized constant JSONAPI::ActiveRecordOperationsProcessor::ActiveRecord

Can the gem be configured to use alternative data storage strategies?
Thanks.

Even with the workaround, you get this error when validations fail.
JSONAPI::Resource has ActiveRecord-based rescues in it:
    def _save
      @model.save!
      @save_needed = false
    rescue ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved => e
      raise JSONAPI::Exceptions::ValidationErrors.new(e.record.errors.messages)
    end

https://github.com/cerebris/jsonapi-resources/blob/master/lib/jsonapi/resource.rb#L118

@bvandenbos This is true! See issue #127.

Ah - didn't see that issue covered it already.  Thanks!

Was this handled by #192 ?

The projects I've worked on in the last year have all used ActiveRecord. I hesitate to confirm the fix.
But: I will close this issue. If there are still challenges using alternatives to ActiveRecord, please feel free to comment.


change gender

ElkArte 1.1
index.php?action=profile;area=forumprofile
you have a sex change in the profile (maybe only my problem)

Sorry, but I'm not sure what you mean... :confused:
What I see is:

The problem is:

doesn't work?
you don't want all the genders?
...?

If the second is the concern, you can edit it like any other custom profile field.

doesn't work

Now I checked. powered by ElkArte 1.1 beta 3
in database in table "{db_prefix}custom_fields_data" changes appear.
but at http://.../index.php?action=profile;area=forumprofile;updated the changes are not visible.

Do you have a cache enable? Which one?

No caching.

Can you try on elkarte.net?

working

Load.php
Find:
if (!empty($new_loaded_ids) && $set !== 'minimal' && (in_array('cp', $context['admin_features'])))
Replace:
if (!empty($new_loaded_ids) && $set !== 'minimal')

No. Maybe Additional profile fields during the installation should be included

Actually, the real problem is that custom fields are shown in the profile even if custom fields are disabled (all of them, including AOL, ICQ, Twitter, etc.), so the fix is find the reason why are loaded when they should not.

@Spuds I don't remember: if the gender supposed to be shown even if advanced fields are disabled?

Digging a bit, the issue is that at install the profile fields are inserted "active", while they should be disabled as in f1521b6f22fc253b9f86f9403b8afecbb4c8da16


Fix seek bar behavior with MP4 stream

As a user I want proper seek behavior with MP4 streams (no hiccups). A regression was introduced with #42.
Acceptance criteria

Open the MP4 video example, grab the slider and throw it left and right. The slider must not jump erratically.

Tasks

[ ] Write UT with MP4 example reproducing the issue.
[ ] Fix the issue.

Idea:

Restore seek notifications for DequeuePlayer and associated UTs.
Remove seek target.
Update UTs to have seek start notification emitted once for the first seek request and the end notification once all requests have been processed. Fix the implementation accordingly.
Consolidate notifications into a pipeline publishing to an internal seeking boolean flag.
Make progress a simple Float. PlaybackProgress is likely not needed anymore.
Combine seeking publisher and progress publisher to inhibit time observer-based progress updates while seeking is still in progress.

Writing a UT for this specific case is difficult.


Flutter Geocoding iOS locationFromAddress not working in iOS.

🐛 Bug Report

locationFromAddress is not working in iOS. it is always returning an empty list. while the same code is working in android with the same address.
Expected behavior
locationFromAddress should return a list of locations when you pass the address to the method.
Reproduction steps
Configuration
Version: latest
Platform:

[ ] :iphone: iOS

The example app seems to work fine, can you maybe elaborate/give us some more information about what data you are trying?


w2grid 2.0 have freezing column have row align not correct

w2grid 2.0 have freezing column have row align not correct. The cell of freezing column have height less then normal cell (1 pixel). Please check!

Looks correct for me in FF and Chrome:
https://w2ui.com/web/demos/#/grid/27

Can you please provide a MCVE?

Thanks for your comment! I have look back my app and found that will course the problem.

The data is fetch from url and more them grid limit (>100) (The error occur when you scroll down)
Have a column editable:{type:'checkbox'}


Monero syncer minor

I am reviewing the monero syncer code base and ended up with these little changes

Codecov Report

Merging #226 (210ef32) into main (0a75d83) will not change coverage.
The diff coverage is 0.0%.

@@          Coverage Diff          @@
##            main    #226   +/-   ##
=====================================
  Coverage   15.2%   15.2%
=====================================
  Files         27      27
  Lines       6185    6185
=====================================
  Hits         942     942
  Misses      5243    5243

Impacted Files
Coverage Δ

src/error.rs
1.8% <0.0%> (-<0.1%)
:arrow_down:

src/syncerd/monero_syncer.rs
0.0% <0.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0a75d83...210ef32. Read the comment docs.

@zkao can you remove the last commit? I found it improves the sweeping performance and makes it more reliable. Seems like state is more reliably cleared in the monero-wallet-rpc if you open a wallet twice.

i had some commits from last night that i forgot to push :(


Ayushi_Johari, score:18, #of parameters=24, error=2.18 mHa

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

Name:Ayushi Johari
Score:18
Error: 2.18 mHa
of parameters=24

Sorry for the delay. Thank you very much for your submission!


 and ?

Hello:
I'm trying to follow the HTML5 boilerplate and I can't figure out how to properly include the  and  tags via JSX. Here's my layout code:
// layout.jsx
MainLayout = React.createClass({
  render() {
    return <div>
      <header>
        <meta charset="utf-8" />
        <meta http-equiv="x-ua-compatible" content="ie=edge" />
        <meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="apple-touch-icon" href="apple-touch-icon.png" />
        <link rel="stylesheet" href="css/normalize.css" />
        <link rel="stylesheet" href="css/main.css" />
        <title></title>
      </header>
      <main>
        {this.props.navbar}
        {this.props.content}
        {this.props.footer}
      </main>
      <footer>
      </footer>
    </div>
  }
});

//router.jsx
FlowRouter.route('/', {
action: function (params) {
ReactLayout.render(MainLayout, {
navbar: ,
content: ,
footer:
});
}
});
I added the /> closing tags to <meta> and <link> which removes the errors in my terminal, but I don't see them when viewing the source in the browser.
Any ideas?

Just wait. We are working on a project called DocHead to have these.
Releasing on next wednesday :)
Hope you can wait .
On Fri, Jul 24, 2015 at 7:39 PM nicholasalanbrown<EMAIL_ADDRESS>wrote:

Hello:
I'm trying to follow the HTML5 boilerplate and I can't figure out how to
properly include the and tags via JSX. Here's my layout code:
// layout.jsx
MainLayout = React.createClass({
render() {
return

{this.props.navbar}
{this.props.content}
{this.props.footer}

}
});
//router.jsx
FlowRouter.route('/', {
action: function (params) {
ReactLayout.render(MainLayout, {
navbar: ,
content: ,
footer:
});
}
});
I added the /> closing tags to  and  which removes the errors
in my terminal, but I don't see them when viewing the source in the browser.
Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/kadirahq/meteor-react-layout/issues/5.

I can wait, not a problem.
How would I include a package normally invoked via a {{> }} such as sacha:spin (i.e. {{> spin}}}?

Check the DocHead project.


Add tagstream-conduit

tagstream-conduit is a conduit library for parse html tags which tolerate bad tags as best as it can.

Thanks!


Param -a is ignored

When using -a parameter, it seems that it's completely ignored.
./keyhunt -a a.bin -m bsgs -f btc.txt -b 120 -R -k 128
[+] Version 0.1.20210412 secp256k1
./keyhunt: invalid option -- 'a'
[E] Unknow opcion ?
[+] Setting mode BSGS
[+] Min range:<PHONE_NUMBER>00000000000000000000
[+] Max range:<PHONE_NUMBER>000000000000000000000
[+] Setting random mode.
[+] Setting k factor to 128
[+] Opening file btc.txt
[E] There is no valid data in the file

Is is possible to create a bloom filer by keyhunt? To create it just once and then use multiple times?

The aM Points vary from one range to another, so, i will disable that option, also in the next update whe only need 512 aMP for any range, so those values can be calculated fast, so there is not need to store it in a file.
Regards!


Implement select/return representation for DELETE queries (fix #518)

Something i missed when implementing &select for mutate requests.
Would be good to include in the upcoming release

Beautiful. Glad you double-checked about this functionality.


Syntax error while loading workload

As noted in a few other issues (679, 397, 337) I'm able to successfully compile YCSB but run into the following issue while running the following command: bin/ycsb load elasticsearch -s -P workloads/workloada:
Traceback (most recent call last):
  File "bin/ycsb", line 261, in <module>
    sys.exit(main())
  File "bin/ycsb", line 234, in main
    maven_says = get_classpath_from_maven(project)
  File "bin/ycsb", line 180, in get_classpath_from_maven
    + err.output)
TypeError: cannot concatenate 'str' and 'NoneType' objects

Here are my system versions.
OS: Ubuntu 14.04
Java version:   1.8.0_77
Maven version:  3.0.5
Python version: 2.7.6

Unfortunately, despite having python's version as a 2.7.x, I'm still running into issues. Any recommendations?

can you attach a log with all of the output?
Are you attempting to run from the source checkout? Or are you building a binary tarball and then running from that?

@busbey I'm running from the source checkout. I'll attach the output shortly.

@busbey here's how I got YCSB in case it provides any clues:
git clone git://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

followed by whichever command(s). I noticed that I'm on version 0.9.0 snapshot since I'm building everything from the master branch.

what happens when you run the "give me the classpath" command manually?
it's this bit from the log:
mvn -pl com.yahoo.ycsb:core -am package -DskipTests dependency:build-classpath \
    -DincludeScope=compile -Dmdep.outputFilterFile=true

@busbey looks like a build failure:
root@XYZ:~/YCSB# mvn -pl com.yahoo.ycsb:core -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.yahoo.ycsb:hbase094-binding:jar:0.9.0-SNAPSHOT
[WARNING] 'dependencies.dependency.exclusions.exclusion.groupId' for com.yahoo.ycsb:hbase098-binding:jar with value '*' does not match a valid id pattern. @ line 51, column 20
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for com.yahoo.ycsb:hbase098-binding:jar with value '*' does not match a valid id pattern. @ line 52, column 23
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] YCSB Root
[INFO] Core YCSB
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building YCSB Root 0.9.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.15:check (validate) @ root ---
[INFO]
[INFO] --- maven-dependency-plugin:2.1:build-classpath (default-cli) @ root ---
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] YCSB Root ......................................... FAILURE [2.220s]
[INFO] Core YCSB ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.897s
[INFO] Finished at: Mon Apr 11 00:57:32 PDT 2016
[INFO] Final Memory: 19M/324M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:build-classpath (default-cli) on project root: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:2.1:build-classpath failed: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar. Return code is: 503 , ReasonPhrase:Service Unavailable. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

@fizwhiz I've had no issues using Maven 3.0.5 from a Ubuntu Docker image for testing. The 503 error was probably intermittent and the resolution had nothing to do with upgrading Maven.
Here are the commands I've used:
docker run --rm -it ubuntu bash

then inside the Docker container
apt-get update && apt-get install -y --no-install-recommends maven git openjdk-7-jdk python
git clone https://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package -DskipTests #skipTests to save some time
...
[INFO] Reactor Summary:
[INFO]
[INFO] YCSB Root ......................................... SUCCESS [2.270s]
[INFO] Core YCSB ......................................... SUCCESS [6.940s]
[INFO] Per Datastore Binding descriptor .................. SUCCESS [0.311s]
[INFO] YCSB Datastore Binding Parent ..................... SUCCESS [0.619s]
[INFO] Accumulo DB Binding ............................... SUCCESS [6.609s]
[INFO] Aerospike DB Binding .............................. SUCCESS [0.791s]
[INFO] Cassandra DB Binding .............................. SUCCESS [2.566s]
[INFO] Cassandra 2.1+ DB Binding ......................... SUCCESS [1.796s]
[INFO] Couchbase Binding ................................. SUCCESS [0.931s]
[INFO] Couchbase Java SDK 2.x Binding .................... SUCCESS [1.049s]
[INFO] DynamoDB DB Binding ............................... SUCCESS [4.414s]
[INFO] Elasticsearch Binding ............................. SUCCESS [2.631s]
[INFO] Geode DB Binding .................................. SUCCESS [6.830s]
[INFO] Google Cloud Datastore Binding .................... SUCCESS [1.177s]
[INFO] Google Cloud Bigtable Binding ..................... SUCCESS [3.042s]
[INFO] HBase 0.98.x DB Binding ........................... SUCCESS [3.120s]
[INFO] HBase 0.94.x DB Binding ........................... SUCCESS [3.960s]
[INFO] HBase 1.0 DB Binding .............................. SUCCESS [5.208s]
[INFO] Hypertable DB Binding ............................. SUCCESS [1.217s]
[INFO] Infinispan DB Binding ............................. SUCCESS [8.939s]
[INFO] JDBC DB Binding ................................... SUCCESS [4.721s]
[INFO] Kudu DB Binding ................................... SUCCESS [9.382s]
[INFO] memcached binding ................................. SUCCESS [2.391s]
[INFO] MongoDB Binding ................................... SUCCESS [7.070s]
[INFO] Oracle NoSQL Database Binding ..................... SUCCESS [2.259s]
[INFO] OrientDB Binding .................................. SUCCESS [12.383s]
[INFO] Redis DB Binding .................................. SUCCESS [1.106s]
[INFO] S3 Storage Binding ................................ SUCCESS [2.477s]
[INFO] Solr Binding ...................................... SUCCESS [31.477s]
[INFO] Tarantool DB Binding .............................. SUCCESS [1.182s]
[INFO] YCSB Release Distribution Builder ................. SUCCESS [19.096s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:38.523s
[INFO] Finished at: Tue Apr 12 21:25:31 UTC 2016
[INFO] Final Memory: 128M/305M
[INFO] ------------------------------------------------------------------------

./bin/ycsb load basic -P workloads/workloada
...

[OVERALL], RunTime(ms), 329.0
[OVERALL], Throughput(ops/sec), 3039.51367781155
[CLEANUP], Operations, 1.0
[CLEANUP], AverageLatency(us), 3.0
[CLEANUP], MinLatency(us), 3.0
[CLEANUP], MaxLatency(us), 3.0
[CLEANUP], 95thPercentileLatency(us), 3.0
[CLEANUP], 99thPercentileLatency(us), 3.0
[READ], Operations, 513.0
[READ], AverageLatency(us),<PHONE_NUMBER>1442495
[READ], MinLatency(us), 55.0
[READ], MaxLatency(us), 1856.0
[READ], 95thPercentileLatency(us), 438.0
[READ], 99thPercentileLatency(us), 704.0
[READ], Return=OK, 513
[UPDATE], Operations, 487.0
[UPDATE], AverageLatency(us),<PHONE_NUMBER>882957
[UPDATE], MinLatency(us), 117.0
[UPDATE], MaxLatency(us), 8311.0
[UPDATE], 95thPercentileLatency(us), 780.0
[UPDATE], 99thPercentileLatency(us), 1161.0
[UPDATE], Return=OK, 487

Here is the relevant information about OS, Maven, Java, Python, etc:
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

# mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_95, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "4.1.19-boot2docker", arch: "amd64", family: "unix"

# python --version
Python 2.7.6

The underlying error from Python should be fixed even though the error that caused this seems to be Maven central being flakey.
Traceback (most recent call last):
  File "bin/ycsb", line 261, in <module>
    sys.exit(main())
  File "bin/ycsb", line 234, in main
    maven_says = get_classpath_from_maven(project)
  File "bin/ycsb", line 180, in get_classpath_from_maven
    + err.output)
TypeError: cannot concatenate 'str' and 'NoneType' objects

You're right, I tried this on a different public cloud but retained the old maven version and things worked just fine. Didn't suspect that that a flakey central repo could manifest this way in the traceback. Thanks much @busbey for recommending that I run the mvn -pl ... command to reveal further insights into the issue, and thanks @risdenk for helping clarify the root cause!

awesome glad we could help. I'm going to open an issue for the Python error to try to track that down. Thanks for reporting. Open a new issue if you have any other problems.

I met this problem too, are u fixed this problem? can u share it ?


fixed nullptr bug

RoutingContextImplBase has a bug:
context.currentRoute() throws with NullPointerException when called from
bodyEndHandler for StaticHandlerImpl.sendFile()

LGTM


fix: Make code renderer scale text responsively

:tada: This PR is included in version 2.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore: Support multi-arch containers build

I have tried to start several controllers of aws-controllers-k8s on an ARM EC2 on AWS, but I get the following error.
exec ./bin/controller: exec format error

To determine the binary format in the Dockerfile, we decided to use TARGETARCH instead of go_arch to facilitate multi-platform build.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

If I do them would you please incorporate the PR?

@kahirokunn I'm not a maintainer of ACK, I'm just a contributor.

@acornett21 I have responded to all the suggestions you have given me. Are they as intended?

@a-hilaly Hi!
I am an AWS and ARM64 lover.
Could you please review this one as well?

@a-hilaly Hi!
I am an AWS and ARM64 lover.
Could you please review this one as well?

Happy to help bringing more utilities that will help you build ARM images, let's just make sure that it's done in a way that it's not breaking other system

I have built it with the arm64 platform added and actually run it in an EKS environment and it works very well.
https://quay.io/repository/kahirokunn/s3-controller/manifest/sha256:7cd95f143a79be3640ee0a87f0ef9c857b27bbf279e186e68e128ce39a6159b3

@acornett21 If you create a PR for eks-distro-build-tooling, we will also support the additional platform you specify at that time. Thx 🙏
└─> docker manifest inspect public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2023-08-24-1692903666.2023
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 506,
         "digest": "sha256:4ea92dc0efd4cc177ee9e2b2a38ccf6f95deb470725db2160e6103bb6dacebf0",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 506,
         "digest": "sha256:ae3b415d4e334c88e12cb6f4d5416f68d04b993ec0e55ddce474a793a479be4d",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }
   ]
}

@a-hilaly Do you know why the error occurs? 😢
ERROR: image: "aws-controllers-k8s:s3-v1.0.5-1-g5a93f26-dirty" not present locally
make: *** [Makefile:26: kind-test] Error 1
wrapper.sh] [TEST] Test Command exit code: 2
wrapper.sh] [CLEANUP] Cleaning up after Docker in Docker ...

@a-hilaly Do you know why the error occurs? 😢
ERROR: image: "aws-controllers-k8s:s3-v1.0.5-1-g5a93f26-dirty" not present locally
make: *** [Makefile:26: kind-test] Error 1
wrapper.sh] [TEST] Test Command exit code: 2
wrapper.sh] [CLEANUP] Cleaning up after Docker in Docker ...

@kahirokunn not very sure but i suspect docker buildx is adding a suffix to the image tag, and our systems are not configured predict those prefixes.
IMO we should also want to change this script so that it's building and pushing the images right https://github.com/aws-controllers-k8s/test-infra/blob/main/cd/scripts/release-controller.sh#L139

Now I know why.
It seems that docker does not support Multi Platform images.
Therefore, you have to separate docker build from push.
docker buildx build --platform linux/arm64,linux/amd64 -t "kahirokunn/grpc-ping-go" . --load
[+] Building 0.0s (0/0) docker-container:strange_pascal
ERROR: docker exporter does not currently support exporting manifest lists

@a-hilaly https://github.com/aws-controllers-k8s/test-infra/pull/383
You were pushing with test-infra, I created a PR.
I think this is all that is needed to complete the MULTI ARCH support.

/test all

/retest

@a-hilaly Hello! What do I need to do to advance this PR?

/retest

/lgtm cancel

/lgtm

/retest


Turn on receiver with IT-blaster when changing output to optical?

Trying to make the universal remote function work a bit better. I have the IR extension so that I can turn on my receiver in the cabinet. I press the 3 dots menu and can turn it on and off there.
But it would be awesome to make a button that turns the receiver on and changes to optical output. Would be nice to get the tv to turn of the receiver as well. But I guess I have to use a smart outlet for that.

Hi, i guess what you should try is to use the remoteSequenceButtons, that allows you to create a switch with which you can then do a sequence of button presses, so you should be able to replicate the same as you do with the remote.

Hi, i guess what you should try is to use the remoteSequenceButtons, that allows you to create a switch with which you can then do a sequence of button presses, so you should be able to replicate the same as you do with the remote.

Just cant seem to find that 3 dot menu "more actions" in the list of remote buttons. Do you know whats its called?

I unfortunately also do not know, you should try a couple of those and see if it is the correct one. I listed all the remote control action which i could find, it might be that i did not found the name of the one which you look or it does not exists. Sometimes they have descriptive names, so it might also be worth to do try and error...


Products and Plans

Additions:

Enables mocking ofStripe::Product objects and handling of Stripe::Product requests (resolves https://github.com/rebelidealist/stripe-ruby-mock/issues/552 ).

Revisions:

Updates attributes and validations for Stripe::Product and Stripe::Plan objects.
Empowers contributors and encourages contributions:

Adds a Contributor's Guide with instructions for how to develop and test the gem.
Allows contributors to run a development console (bin/console).
Allows contributors to conditionally enable server logging (via LOG_STRIPE_MOCK_SERVER env var).

Requires Stripe ruby gem version 3.26.1, and bumps the version of this gem (although not sure how you want to handle versioning).

Reference:

Monitoring port usage via lsof -i -P | grep -i "listen" | grep "ruby"
Stripe Products - API Reference
Required Stripe Product Attributes are: name and type
Stripe Subscriptions - API Reference

I see CI builds are failing, but when I run tests locally I don't see any failures. Hmm...

@s2t2 great work on this. hopefully someone can run with it.


Make it possible to use glob patterns

Thanks for Poku! I was looking for a lightweight test runner for some time.
Just wondering, if glob pattern was overlooked or there are some limitation? I have in mind glob patterns which are expanded by a shell.
For instance, I am used to add prefix to group tests files, so that a command like mocha tests/api-* would run tests/api-x.test.js, tests/api-y.test.js, tests/api-z.test.js. This works because shells expands * and the actual command looks like this: mocha tests/api-x.test.js tests/api-y.test.js tests/api-z.test.js.
Currently poku tests/api-* runs only the tests/api-z.test.js file.

Thanks, @mrazauskas 🙋🏻♂
I can study a lib to allow glob as well.
I agree that allowing glob patterns would be a great feature.
It's currently possible to use the --filter and --exclude flags, but they're regex-based:
npx poku --filter='api-'
# or
npx poku --filter='api-' test

Just wondering, if glob pattern was overlooked or there are some limitation?

The main point for direct dependencies is to keep the same compatibilities (Node.js 8+, Bun, and Deno) — preferably without sub-dependencies to keep it light 🙋🏻♂

Just to clarify, try running poku tests/api-* (or similar) in Node.js and if you look at process.argv.slice(2) you will see something like:
["tests/api-x.test.js", "tests/api-y.test.js", "tests/api-z.test.js"]

There is no need for dependencies. Many shells are expanding globs. The only limitation is that Poku currently only considers the last path.

Poku uses a simple approach with readdir:
https://github.com/wellwelwel/poku/blob/71df0acbd096eac8286f39a8afd8cc87a49423d6/src/modules/helpers/list-files.ts#L42

The only limitation is that Poku currently only considers the last path.

To use the import in any order, you can use the --include, for example:
{
  "test": "poku --include=test"
}

npm run test -- --filter=api-

At the moment I'm creating a basic feature to allow configuration files (json and jsonc), then I'll look into it more carefully.

Note to self
Unix
find test -type f -path "test/**/*.test.*"

Windows
Get-ChildItem -Path test -Recurse -File | Where-Object { $_.FullName -match '\.test\.' } | Select-Object -ExpandProperty FullName

#562 does all what I wanted. Just tried out the latest release, this is exactly what I wanted. Thanks!
Not sure I understand the rest of your plans. Looks complicated and the implementation likely will be platform specific. For instance, users might want to reuse some CLI command with matrix in CI. In this context, platform specific behaviour adds unnecessary complexity. Just saying, you know what you are doing and this is your project (;

Thanks again, @mrazauskas 🤝
I like to save a lot of ideas and I use “note to self” for this, but my priorities at the moment are different.
Since the project is getting some interaction, I feel it's worth mentioning my plans 🙋🏻♂

After thinking about it for a while, especially after the discussion generated in #608, I believe that glob isn't a suitable feature for Poku at the moment.
Together with the #608 fix, I'll include alternatives to the docs like the ones you suggested (and provided).

Sure. My only concern was globs which are expanded by the shell. This is already working as expected.


⚠ Bofrost.lu has degraded performance

In 59aab9a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2927 ms

Resolved: Bofrost.lu performance has improved in a3abf10 after 33 minutes.


Support Blob download format

No support to download via blob uri
pdf represented by blob link fails:

I.E.

https://stackoverflow.com/questions/52283258/download-pdf-file-from-blob-url-inside-androids-webview
https://developers.google.com/web/updates/2011/08/Downloading-resources-in-HTML5-a-download

It supported. However,some site cannot download blob format due to same-origin policy (60254da42c2cadf34f45a95f194dc323a78b265e).

Thank you


feat: add edit post feature

This PR implements the feature "edit page" by referring to the implementation of Hugo PaperMod
close: #191

Thanks for your PRs @barnett617
I'll look into them later since they have to be reviewed carefully.

I think it will make more sense to display "Suggest Changes" inside post detail page.
What do you think? @barnett617
For that, we can do something like this since Datetime in post detail page will always be lg.
{size === "lg" && <EditPost editPost={editPost} postId={postId} />}

I think it will make more sense to display "Suggest Changes" inside post detail page. What do you think? @barnett617 For that, we can do something like this since Datetime in post detail page will always be lg.
{size === "lg" && <EditPost editPost={editPost} postId={postId} />}

It's up to you because it's relative to this blog theme layout style, i just implement this refers to Hugo PaperMod.
So it's okay to adjust it's display layout driven by your design.

I just updated what I mentioned, and updated the docs post.
Thanks for the PR.


merge more config file settings into config

When I tried setting editor_cmd in my .projectable.toml file.. expecting it to override both the default vi and $EDITOR env.
It doesn't get used by the application.
This PR adds a few "missing" fields to the merge part of the configuration.
If these are omitted by design.. please feel free to discard this PR.
NOTE: this change gives (local) config precedence over env which might not be what is desired. Maybe the order of evaluation should be 1): env -> local config -> global config -> default
With this PR it appears to become 2): local config -> global config -> env -> default
Without this PR it is 3): env -> default

Ah you're right ! I totally forgot this was a thing when i added editor_cmd

Great catch! The current merging implementation is definitely not ideal...
Anyway, thanks for the PR and I'll merge this in shortly!


Error rendering overlay 'Text Columns' loop

When loading resources (trigger easily be changing a resource pack), Presence Footsteps can loop forever on this error:
Cannot invoke "eu.ha3.presencefootsteps.PFDebugHud.render(net.minecraft.world.phys.HitResult, net.minecraft.world.phys.HitResult, java.util.List)" because the return value of "eu.ha3.presencefootsteps.PresenceFootsteps.getDebugHud()" is null
Full log (very long as it loops until crashing from running out of memory):
https://gist.github.com/MattB70/071842981ff0f582355bfface6b5d4d0
It looks like getDebugHud() is missing, hidden, or unfinished. Adding a null checker will be an easy patch.

Thanks for your report. I've fixed this in 1.18.2-1.5.0-beta2 by removing the mixin referencing the debug hud entirely rather than adding overhead with a null check.
https://www.curseforge.com/minecraft/mc-mods/presence-footsteps-forge


list instead of table

would it be possible to have a list instead of a table to be used with a fetch? as alternative, it'd be good to give the fetch as input of another template to the "foreach" behavior.

Hi @luca0071,
This has been implemented in v3.8.0.
An example of how to use it can be found here:
https://github.com/XRM-OSS/Xrm-Templating-Language/blob/master/README.md#map
I hope it helps.
Kind Regards,
Florian


TestHashRing being flaky

=== Failed
=== FAIL: backend/controller/cronjobs TestHashRing (2.39s)
    /home/runner/work/ftl/ftl/backend/controller/cronjobs/cronjobs_test.go:109: expected verb crn-initial-verb37-2mzzde1fbjp5wfpt to be attempted by 2 controllers
        -1
        +2

Closing as the latest change seems to have made it more reliable... but we should open this again if it continues to be flaky


[TASK] Implement Jobs Parameters Modal (Step 3)

Description
Create an input form for job parameters, including the permitted caller's account ID and fallback options ('destroy' or 'regenerate'). This step requires proper error handling to capture all potential input errors.
Requirements

Allow users to input the EOA or smart contract address for the signing rules (permitted caller), with proper error handling.

note: we should link the smart contract text to doc site, outlining what interfaces smart contracts would need to use if a smart contract address was provided, as well as instructions for how to deploy the smart contract. This docs page would provide important context for developers on the specifications and standards that smart contracts would need to adhere to in order to be used as the signing rules address.

Include a dropdown for selecting 'destroy' or 'regenerate' as fallback options.
Set the Expiration Block field with a default to the current TTL (potential advanced adjustments for future updates)

Screenshot

Figma Link

Putting this task on-hold due to improvements needed for displaying services as mentioned in slack.


Folders with folder notes will not expand or collapse.

After the last update to Folder Note I can no longer expand or collapse (if expanding is forced by using "Reveal File in Navigation" if there is a link to the note) any folder that has a folder note.
EDIT: Another who is having this issue says if you switch back to the default theme it starts working properly again. Apparently this is an issue with ITS themes.

I too was having this issue until I realized it was because I was using a snippet that hid the arrows next to folders. I disabled the snippet and was once again able to open folders, but it's a bit of a pain to have to aim specifically at the tiny arrows expand folders. I hope this is fixed in future updates.

I too was having this issue until I realized it was because I was using a snippet that hid the arrows next to folders. I disabled the snippet and was once again able to open folders, but it's a bit of a pain to have to aim specifically at the tiny arrows expand folders. I hope this is fixed in future updates.

I hope so also. I did not have that option turned on so there were no arrows to select. Someone else mentioned this and now at least I can expand and collapse folders by selecting that tiny arrow.


Vout on Display Not Accurate

When the display times out (I have mine set to 5 minutes) and then comes back, the Vout shows as 0.3V vice the reported output of 3.3V from the terminal interface.
Version Information
Bus Pirate 6 REV1
Firmware main branch (2024-07-27T14:08:40Z)
RP2350 with 512KB RAM, 128Mbit FLASH
S/N: 32A6968E95BBEBDC
https://BusPirate.com/
Storage:   0.10GB (FAT16 File System)

Configuration file: Not Detected
Available modes: HiZ 1-WIRE UART HDPLXUART I2C SPI 2WIRE DIO LED
Active mode: DIO
Display format: Auto
Data format: 8 bits, MSB bitorder
Pull-up resistors: OFF
Power supply: ON (3.3V/3.29V)
Current limit: OK (0.4mA/100.0mA)
Frequency generators:
IO0: 10.000kHz, 50.00% duty cycle

I'm testing this now.

I tried a few fixes, but nothing was really reliable. i need to dig deeper to see why it isn't updating.

Fixed this and several screensaver related errors:

Screensaver enabled (if configured) before any user input (fix)
Screensaver reset alarm on all keys (y/n during VT100 setup, keys + enter during main loop) (fix)
Screensaver fully recovers all values on display in either mode (default and scope) (fix)

Thank you so much for this bug report


zombie sessions?

I'm running xrdp 0.9.2 on Ubuntu 14.04 with MaxSessions=50 and persistent sessions.
After a while clients can't connect any longer because: [20170720-14:50:35] [ERROR] X server -- no display in range is available . ps only shows around 20 Xorg sessions, but I can see some of them have display IDs above 50, which means xrdp for some reason didn't reuse lower numbers when clients disconnected and eventually reached the number that matches MaxSessions + X11DisplayOffset=10. I think this may be related to https://github.com/neutrinolabs/xrdp/issues/812
Below is a log from freshly restarted xrdp. 2 things to note:

Xorg :11 and Xorg :12 were followed by Xorg :15 while :13 and :14 displays were free
it repeats that it closed more and more sockets, which may suggest those weren't real sockets or weren't actually closed

This requires to restart and drop sessions once in a while, which did not happen with xrdp-0.8. I'm happy to try any suggestions. Thank you!
[20170720-14:51:49] [DEBUG] libscp initialized
[20170720-14:51:49] [INFO ] starting xrdp-sesman with pid 8829
[20170720-14:51:49] [INFO ] listening to port 3350 on <IP_ADDRESS>
[20170720-14:53:29] [INFO ] A connection received from <IP_ADDRESS> port 58417
[20170720-14:53:30] [INFO ] ++ created session (access granted): username USER1, ip 123.456.789.10:53635 - socket: 12
[20170720-14:53:30] [INFO ] starting Xorg session...
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5910)
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6010)
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6210)
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5911)
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6011)
[20170720-14:53:30] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6211)
[20170720-14:53:31] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:53:31] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:53:31] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:53:31] [INFO ] Xorg :11 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20170720-14:53:31] [CORE ] waiting for window manager (pid 9820) to exit
[20170720-14:54:14] [INFO ] A connection received from <IP_ADDRESS> port 58423
[20170720-14:54:15] [INFO ] ++ created session (access granted): username USER2, ip 123.456.789.10:12635 - socket: 12
[20170720-14:54:15] [INFO ] starting Xorg session...
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5910)
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6010)
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6210)
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5912)
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6012)
[20170720-14:54:15] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6212)
[20170720-14:54:15] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:54:15] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:54:15] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-14:54:15] [INFO ] Xorg :12 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20170720-14:54:15] [CORE ] waiting for window manager (pid 10169) to exit
[20170720-15:16:48] [INFO ] A connection received from <IP_ADDRESS> port 58513
[20170720-15:16:49] [INFO ] ++ created session (access granted): username USER3, ip 123.456.789.10:18603 - socket: 12
[20170720-15:16:49] [INFO ] starting Xorg session...
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5910)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6010)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6210)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5913)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6013)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6213)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5914)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6014)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6214)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:5915)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6015)
[20170720-15:16:49] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:6215)
[20170720-15:16:49] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170720-15:16:49] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-15:16:49] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20170720-15:16:49] [INFO ] Xorg :15 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20170720-15:16:50] [CORE ] waiting for window manager (pid 18270) to exit

I'm facing the exact same issue on a Debian stretch system with the latest 0.9.3 branch of Xrdp. I wrote a small script (executed as a cronjob once a minute) to clean up the socket files. Since then, no complaints by the users any longer. However, that is only a workaround. My feeling is that it is a bug in sesman and should be corrected.

I'm working on the issue at #812. Workaround is as @tfischer77 says, run clean up script like this by cron.
https://gist.github.com/metalefty/2672c26ae0cb36f7a4bc100650c83a15

Merging this issue to #831.

@tfischer77
Can you share your script?

@DS455 see my gist link.

@metalefty
sh xrdp_clean_sockets.sh
xrdp_clean_sockets.sh: 19: xrdp_clean_sockets.sh: Syntax error: Missing '))'

then your code works https://www.tutorialspoint.com/execute_bash_online.php (bash v4.4)
On my PC the Bash v4.3 and there is an error: Syntax error: Missing '))'
I altered the script like this:
#!/bin/bash

SOCKDIR=/tmp/.xrdp
SESSIONS=`ls -l "${SOCKDIR}"/xrdp_* | sed -e 's|[^0-9]||g' | sort -u`
for i in ${SESSIONS}
do
        if [ ! -S ${SOCKDIR}/xrdp_display_${i} ]
        then
                cd ${SOCKDIR}
                rm -f xrdp_chansrv_audio_in_socket_${i} \
                        xrdp_chansrv_audio_out_socket_${i} \
                        xrdp_chansrv_socket_${i} \
                        xrdpapi_${i}
        fi
done

But the directory /tmp/.xrdp is not cleaned:
ls /tmp/.xrdp
xrdpapi_10  xrdpapi_21                        xrdp_display_15
xrdpapi_14  xrdp_chansrv_audio_in_socket_10   xrdp_display_16
xrdpapi_15  xrdp_chansrv_audio_in_socket_19   xrdp_display_17
xrdpapi_16  xrdp_chansrv_audio_out_socket_10  xrdp_display_19
xrdpapi_17  xrdp_chansrv_audio_out_socket_19  xrdp_display_20
xrdpapi_19  xrdp_display_10                   xrdp_display_21
xrdpapi_20  xrdp_display_14

The directory is already cleaned. No sockets should be deleted anymore.
Remember the original bug. xrdp_display_* will be deleted automatically when session exits but other sockets are not deleted automatically. The script only deletes orphan sockets. All remained sockets are not orphaned because corresponding xrdp_display_* still exists.

For example, if the socket directory is like this,
ls -1 /tmp/.xrdp
xrdpapi_10
xrdpapi_11
xrdp_chansrv_audio_in_socket_10
xrdp_chansrv_audio_in_socket_11
xrdp_chansrv_audio_out_socket_10
xrdp_chansrv_audio_out_socket_11
xrdp_display_11

the socket files to be deleted by the script are

xrdpapi_10
xrdp_chansrv_audio_in_socket_10
xrdp_chansrv_audio_out_socket_10

because xrdp_display_10 doesn't exists and *_10 are orphaned. 11 sockets will not be deleted because of existence of xrdp_display_11.

@metalefty
I understand, thank you.

Again having problems connecting, only works after restarting the service XRDP.
xrdp --version
xrdp 0.9.19
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-fuse
      --enable-mp3lame
      --enable-pixman

  Compiled with OpenSSL 1.1.1f  31 Mar 2020

[20220607-08:30:44] [INFO ] Found X server running at /tmp/.X11-unix/X55
[20220607-08:30:45] [INFO ] Found X server running at /tmp/.X11-unix/X56
[20220607-08:30:45] [INFO ] Found X server running at /tmp/.X11-unix/X57
[20220607-08:30:45] [INFO ] Found X server running at /tmp/.X11-unix/X59
[20220607-08:30:45] [ERROR] X server -- no display in range (10 to 60) is available
[20220607-08:30:45] [ERROR] sesman_data_in: scp_process_msg failed
[20220607-08:30:45] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans


No need Exchange hybrid delpoyment for searching

It says that you can use Teams chat application if you have Exchange hybrid deployment in this Docs.
But as a fact, the written requirements and limitaions doesn't say you need to have Exchange hybrid deployment, and I say that you do not need such an environment, you just only need a dir sync environment for the search.
The picture in "How it works" and the writing may leed that you need a hybrid deployment, so would you fix the picture and add the description that YOU DON'T NEED a hybrid deployment?
Thanks.

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

ID: ab0bb4d7-d9fa-ae92-d3ca-246147d1434a
Version Independent ID: 7ba20db3-55e2-3d29-2d6c-6f68a6b577a8
Content: Searching cloud-based mailboxes for on-premises users in Office 365 - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/search-cloud-based-mailboxes-for-on-premises-users.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@mikumeda Thanks for feedback. We'll see if we can update topic about DirSync. One of the points this article is trying to make is that you can use cloud-based eDiscovery tools to search for Teams-related content even though a user might not have a cloud-based mailbox (in which Teams contents is associated with and can be returned in search results when searching mailboxes). An Exchange hybrid deployment is a typical scenario where on-premises users may not have cloud-based mailboxes. In your environment, what is DirSync synching?

@mikumeda Based on our offline conversation, I will investigate updating this topic to address non-hybrid deployments, and then update the topic accordingly. I will follow up on this GitHub issue if/when topic is updated.


Protobuf Hash mismatch

-- verifying file...
       file='/home/ibayer/.hunter/_Base/Download/Protobuf/3.0.0-p1/e3d5ab6/v3.0.0-hunter-3.tar.gz'
-- SHA1 hash of
    /home/ibayer/.hunter/_Base/Download/Protobuf/3.0.0-p1/e3d5ab6/v3.0.0-hunter-3.tar.gz
  does not match expected value
    expected: 'e3d5ab642e0295d16b86a4a55e06c3ee026ff249'
      actual: '242443553ca20ab279427330e175a3c33ecbf265'
-- Hash mismatch, removing...

Seems to be related to #1034 but I don't understand from the discussion what the recommended fix is.

If it hasn't already been fixed in the latest hunter release, you could submit a PR with the updated SHA1.

@headupinclouds Will do, can you point me to a PR that fixes other SHA1s? I have used hunter but are clueless about it's internals.

Never mind, I found it (I was greping for the wrong hash).

I updated hunter and it looks like the SHA1 has already been updated :+1: .
Sadly updating hunter caused new trouble #1068.


How to bypass double or triple click at same IP address and environment ?

How to bypass double or triple click at same IP address and environment ?
If i click same short URL many time, can just count one ?

At the moment it is not allowed, as the metrics are anonymouos and the ip get not saved nor cached (just to be sure to be compliant as this is a hobby project.
any suggestion on how this should happens?