Argument deserialization

I'm playing with graphql-net and I really like it.
One thing that I can't figure out is how args are deserialized.
It seems that camelCase/pascalCase conversion is not working for args.
Also, is it possible to get a plain JSON object (patch)?
patchUser(id: 1, patch: { displayName: "X" }) {
  id,
  displayName
}

A patch would be very useful as it includes information which fields should be updated. That's not available with strongly typed models.

Currently, args do not undergo any name transformation like properties do. There's not a particular reason for this, and I'm open to changing it.
We do support input objects (https://facebook.github.io/graphql/#sec-Input-Values), but we may not handle optional fields very well. Deserializing an input object with arbitrary fields (say to a Dictionary<string, object>) is not currently supported, but also would not be terribly hard to do.

Do you have any plans for working on a feature like this?
I'm not very familiar with the codebase yet, but I'll look into it and try to hack something on my own. Would you accept a PR if it works out?

I think adding deserialization to a Dictionary is a sensible thing to do. We've considered how to handle optional fields when deserializing to an object and it's a bit tricky, since I think we would need to introduce our own attributes and reflect over them (e.g. how to handle non-nullable reference types).
Also, I'm happy to accept any PRs that add features within the scope of the project.


Gtk?

Before I reinvent the wheel, somebody already made a gtk theme, right? It would seem natural to me that it has been done by now, but I cannot seem to find one. Just checking before I get to work, thanks. I have also just completed an openbox port, if you would like me to make a PR.

I've been looking for one for a while now, I've not found anything related.

This GTK theme works with the newest GNOME stuff and also has a Dracula flair. I love it! :)

I use Ant-Dracula

Is there a reason why EliverLara/Ant-Dracula isn't linked to on the website? What work would be required to add the theme to the website?

Is there a reason why EliverLara/Ant-Dracula isn't linked to on the website? What work would be required to add the theme to the website?

https://github.com/EliverLara/Ant-Dracula/issues/40

Is there a reason why EliverLara/Ant-Dracula isn't linked to on the website? What work would be required to add the theme to the website?

https://github.com/EliverLara/Ant-Dracula/issues/40

Wow, what a coincidence. This is really good news.

Yeah, it would be great if we can have @EliverLara's theme as our official one.

https://github.com/EliverLara/Ant-Dracula/issues/40#issuecomment-626375071

We officially have a GTK theme now. Thanks @EliverLara for doing such a great job on this!
https://draculatheme.com/gtk


ModuleNotFoundError: No module named 'bibtexparser'

When trying to run the code in README.

tqdm is also required.

tqdm is also required.

Hi @fepegar , we have this line pip install bibtexparser in the Readme. Did u try to install it before running the code? Thanks for the reminder on the tqdm! We will have a more comprehensive requirements.txt soon. Thanks!

Hi @fepegar , we have this line pip install bibtexparser in the Readme. Did u try to install it before running the code? Thanks for the reminder on the tqdm! We will have a more comprehensive requirements.txt soon. Thanks!

Oops, you're right. I went too fast!

Oops, you're right. I went too fast!


Migrate to the new GpuBufferTexture API

https://github.com/flutter/engine/pull/26562#issuecomment-1114156009
The new API was not included in the Flutter 3.0 release but will land in the next stable engine release. We will have to prepare for migration until then.
cc @xiaowei-guan

The Flutter next version (3.3) will be released soon.

xt version (3.3) will be released soo

Ok, I got it.


Add CORS config to webpack_dev_server

Currently, http://localhost:8080 won't hot-reload when a ReactQL project is bound to a non-localhost IP due to cross-origin restrictions. This makes it difficult to test over a LAN.
This needs adding to the Webpack dev config:
// Allow any origins, for use with Docker or alternate hosts, etc
headers: {
  'Access-Control-Allow-Origin': '*',
},

I do get an access to the site like before, but I'm still getting blank images and no hot-reloading unfortunately.
I span up a fresh install from the latest kit where I can see the above lines as well, and changed the localhost to <IP_ADDRESS> on every dev environment related file.

You shouldn't need to change any files. Running this ought to work:
HOST=<IP_ADDRESS> BROWSER_HOST=<IP_ADDRESS> npm start

Make sure you're running the latest kit:

$ reactql version
4.9.2

If that's still not working, try the Docker version:
docker-compose -f docker-compose.dev.yml up

That should bind to localhost on whichever machine you're running it from. If you have Docker set-up to work across the network, you should also be able to access your Docker IP on port 8080


Metamorph: remove duplicates from array

Is there already a way to remove duplicates from metamorph arrays?
Preferably, a "unique" attribute or option would exist within the "entity" tag.
Otherwise, the implementation of an ArrayDuplicateRemover would be the way to go, I guess. This solution should be more expensive in terms of calculation duration.
Corresponding issue: https://github.com/hbz/lobid-organisations/issues/18
Morph code used so far: https://github.com/hbz/lobid-organisations/blob/c72429235ddd3fe713449e39b8456df921f32b6b/src/main/resources/morph-enriched.xml#L304
Morph output: http://beta.lobid.org/organisations/DE-9
The occurrence of this duplicate is caused by input data. Nevertheless, it is desirable to have a removal option.

With the <occurrence only="1" /> directive (see https://github.com/hbz/lobid-organisations/commit/c40a5e70a972f6eae1bbf85dfebeaf30c5619126) it's possible to restrict the outcome exactly one entry.

Closing.


mysql stream should support query options

I don't have time to work on the other dialects at the moment, but it looks like maria and postgres _stream functions are also dropping options.

Swapped Array.includes for lodash.includes to support node < 6

Looks good, thanks!


[Feature]: Fail Slow Test if Slow Test Threshold Exceeded

🚀 Feature Proposal
Jest has the ability to define what is considered a "slow test" via the slowTestThreshold option. As far as I can tell, there is no way to fail a test if it exceeds the slow test threshold.
I think it would be great to include a config option called failSlowTest or strictSlowTest, which defaults to false, that fails the test if a run takes longer than the slow test threshold.
Motivation
CI/CD providers, like GitHub Actions, charge customers based on compute time. Running tests on each Pull Request is a common practice. For larger teams or larger projects with lots of dependencies using Dependabot, the billable time used can add up pretty fast.
Enforcing a max test run time could help teams reduce their CI/CD bills by preventing long-running tests from being added to the codebase.
Example
// jest.config.js
module.exports = {
  slowTestThreshold: 5,
  failSlowTest: true
}

Or maybe the value needs to be adjusted for lower-resource environments:
// jest.config.js
module.exports = {
  slowTestThreshold: !!process.env.CI ? 10 : 5,
  failSlowTest: true
}

Then if a test exceeds the value of slowTestThreshold, fail the test.
 FAIL  src/components/MyComponent.spec.tsx (23.902 s)

Pitch
Since Jest already keeps track of test time and has the slowTestThreshold config option, it seems like it might be a relatively easy lift to add a check for failSlowTest when printing the "slow test warning."

For this use case, wouldn’t it be better if CI provider would have an option to stop a job if it takes too long?

Perhaps. There is a way to do that with GitHub Actions too. I was thinking failSlowTest might be helpful in determining which test(s) are taking a long time to complete.

If it does not seem worth adding a feature like this to the core library, do you think it would be possible to accomplish this using hooks?
// jest.setup.js
afterEach(() => {
// if long-running, fail
})

I'd be okay with doing this on my own, just not sure how to get access to the "total test run time" value that is printed to the console.

Why do you focus on a single test case, if the total run time on CI is the problem?


Hook to add URLs to whitelist

Ability for devs to add/remove URLs to/from whitelist would be very handy, especially if their code has some custom HTTP error handling handling logic (e.g: using the onBeforeHTTPError404() and onBeforeHTTPError() hooks).

Fixed in 345c20700236b7ab6d81511ae570d6c384593388


Fix exchange.BuildPresentationSubmission to have a slightly different interface

Have the presentation claim's token format support signedVCBytes for the BuildPresentationSubmission function
currently:
testOutput, err := signing.ParseVerifiableCredentialFromJWT(string(signedVCBytes))
testOutputBytes, _ := json.Marshal(testOutput)

presentationClaim := exchange.PresentationClaim{
	Token:                         util.StringPtr(string(testOutputBytes)),
	JWTFormat:                     exchange.JWTVC.Ptr(),
	SignatureAlgorithmOrProofType: string(crypto.EdDSA),
}

presentationSubmissionBytes, err := exchange.BuildPresentationSubmission(holderSigner, *presentationDefinition, []exchange.PresentationClaim{presentationClaim}, exchange.JWTVPTarget)

we need the nested BuildPresentationSubmission function to handle raw signedVCBytes

fixed in https://github.com/TBD54566975/ssi-sdk/pull/351


Feat/share data step5 tooltip

Purpose
Add tooltip info related to transaction fee.
Demo and overview
https://www.loom.com/share/0c7cd426c66a4444ba8ce7d67012068d?sid=a241766d-8f45-44ed-8989-d6604c27f5dc

Is it normal that the design is not exactly the same as the Figma ?
The tooltip container shouldn't hide the title and the pointing arrow should be on top and not on the middle ?

@Yoj16 good catch, thanks for your feedback! align and alignOffset props has been added to move the content at the right position. Also arrowWidth and arrowHeight props has been added to the tooltip component to fit with the design.


fix validatePostUserData

what is the intended behavior?
do you want username, email and id to be unique? or just username and email.
why do check for account.Id != "" is it related to the migration from db to store
this PR corrects just username and email checks.

current behavior:
1- users/Create<EMAIL_ADDRESS>joe, 123456} => OK
2- users/Create<EMAIL_ADDRESS>joe, 123456} => OK, previous record get updated (email and created part)
3- users/Create<EMAIL_ADDRESS>joe, 123456} => OK, previous record get updated (created part)
4- users/Create<EMAIL_ADDRESS>debo, 123456} => OK, previous record get updated (username and created part)
5- users/Create<EMAIL_ADDRESS>debo, 123456} => OK, previous record get updated (email and created part)
6- users/Create<EMAIL_ADDRESS>debo, 1234} => ERROR, username already exist
the preferred way i think is to check for uniqueness and existence of username, email and Id all together.

I don't really remember the logic around this, so my best guess, related to migration

let me handle Id too and test it locally before review

Summary:
validatePostUserData:

trims leading and trailing spaces
converts values to lower case
checks if values are empty string

users/Create:

checks for uniqueness of Username, Email and Id before creating new user account

users/Update now handles three cases:

when Id and Username were provided
when Id and Email were provided
when Id, Username and Email were provided

One final note regarding users/Update, the docs says Update updates username or email and didn't mention profile yet the profile attribute is included.
With this PR you can update profile too in the three cases mentioned above but not in the case where only Id and profile were provided.
We can handle that case here too or we can remove the profile attribute and create a new endpoint for that.
What do you think?


My code works fine on the console of my browser. But when I run the test, it doesn,t show any output.

Challenge Counting Cards has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var count = 0;

function cc(card) {
  // Only change code below this line
  while(card !== ""){
  switch(card){
    case 2:
    case 3:
    case 4:
    case 5:
    case 6:
      return ++count;
    case 7:
    case 8:
    case 9:
      return count;
    case 10:
    case 'J':
    case 'Q':
    case 'K':
    case 'A':
      return --count;
   }
  return count;
  // Only change code above this line
}
}

// Add/remove calls to test your function.
// Note: Only the last will display
cc(2); cc(3); cc(4); cc(9); cc(6);

if(count > 0){
    console.log('"' +count + ' Bet"');
  } else {

    console.log('"' +count + ' Hold"');
  }

My code runs on the browser console. But still on running test there is no output

Your function needs to return a string with the count and whether to "Bet" or "Hold".

Github issues are not for challenge help. Please visit the Help Chat for assistance.


Added MIT Licensing Page

Description
Hey @sk66641 @aditya-bhaumik

issue closes #568

I have added the page

Created MIT Licensing page matched to website design
Added dynamic date functionality to the date change by yearly
Integrated the trial effect
Added Preloader
Made the page Responsive
Integrated Scroll to top button

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings

@aditya-bhaumik  Please take a look at this PR and adjust the level accordingly

@RadhikaMalpani1702 will merge by the end of the day

@RadhikaMalpani1702 resolve conflicts

@RadhikaMalpani1702 ??

@aditya-bhaumik  Update is done


Combining programmatic and interactive control?

With the recent change to distinguish the “target” view from the “current” displayed view, how would you implement external controls for zooming, such as plus and minus buttons? How do you inspect the current displayed view of a given element (aside from element.__zoom, obviously)?

Folding into #3.


test framework: deploy gateways for remote clusters

Recent changed disabled ingress/egress – this brings them back and deploys eastwest in parallel.
Needed for multicluster testing of ingress, security, telemetry

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster-tests_istio

/test release-notes_istio

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl the current test failure is due to the gateway is enabled in remote in the beginning. We should add a function to deploy the gateways later-- the same place with the eastwest gateway will work.

We don't really need it to be like that... The secrets should precede the deployment of the remotes.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

We don't really need it to be like that... The secrets should precede the deployment of the remotes. multicluster tests are passing fine.

We don't really need it to be like that... The secrets should precede the deployment of the remotes. multicluster tests are passing fine.

you are right.. ignore my input here

/retest

We don't really need it to be like that... The secrets should precede the deployment of the remotes. multicluster tests are passing fine.

We don't really need it to be like that... The secrets should precede the deployment of the remotes. multicluster tests are passing fine.

The PR https://github.com/istio/istio/pull/28181 changed the order to install remote first and then create secret.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
912ba3569e37dfbe4dc4a6007650061350d43f2a
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


various changes to make files and code edits

Deletes hypothesis testing as well

Great. Thanks for the updates.


Confusing error message with incorrect timecode input

Specifying timecodes as 1:00 on the CLI seems to break things.  It should at least print a graceful error message, but perhaps we should allow this to be used as a timecode indicating 1 minute

Maybe something as simple as parsing the number of : characters and inferring that it is MM:SS if there is just a single :?


cross stdenv: Make depsBuildBuild overrideable by config too.

Motivation for this change
It's useful to override more things.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

To test:
nix eval '(import ./. { crossSystem.config = "aarch64-unknown-linux-gnu"; config.packageOverrides = super: { asdfasdf = "asdf"; }; }).buildPackages.buildPackages.buildPackages.asdfasdf'


Update Posts “query-hierarchal-data-using-tsql”

Automatically generated by Netlify CMS

👷 Deploy Preview for monetaboot processing.

Name
Link

🔨 Latest commit
c29ed99881fdf29802718bba35c280d6b17a171f

🔍 Latest deploy log
https://app.netlify.com/sites/monetaboot/deploys/6300044c096c8b0008ca2d38


make sure we always log why a job's healthcheck fails

For exec healthchecks, nothing was logged at all if a DockerException or
InterruptedException was caught.
HTTP healthchecks don't log anything if they get a
MalformedUrlException, and TCP healthchecks don't log any failure at all
either.
Also make the logs more consistent by always mentioning the type of
healthcheck and the containerId.

@rohansingh @davidxia @gimaker

👍

Current coverage is 51.73% (diff: 26.66%)

Merging #1072 into master will increase coverage by 0.01%

@@             master      #1072   diff @@
==========================================
  Files           275        275
  Lines         13105      13113     +8
  Methods           0          0
  Messages          0          0
  Branches       1695       1695
==========================================
+ Hits           6778       6784     +6
- Misses         5824       5828     +4
+ Partials        503        501     -2

Powered by Codecov. Last update 63217d4...cd99162


further improvement to loading time

As a Python user, one second loading time for a small project is painful.
I'm testing a very small example as follows:
module mylib
using TyPython
using TyPython.CPython

@export_py function sum_along_indices(array::Vector{Cdouble}, indices::Vector{Int32})::Cdouble
    s = zero(Cdouble)
    for i in indices
        s += array[i + 1]
    end
    return s
end

@export_py function add(a::Int, b::Int)::Int
    a + b
end

function init()
    @export_pymodule _mylib begin
        sum_along_indices = Pyfunc(sum_along_indices)
        add = Pyfunc(add)
    end
end

precompile(init, ())
end

This seems to be the theoretically fastest loading time:
julia> @time begin import Pkg, TyPython; TyPython.CPython.init()
       Pkg.activate("mylib"); import mylib; TyPython.CPython.init();mylib.init()
       end
  Activating project at `C:\Users\TR\Desktop\demo\mylib\mylib`
  0.973526 seconds (1.72 M allocations: 100.042 MiB, 2.27% gc time, 70.02% compilation time)
Py(namespace(sum_along_indices=<built-in function sum_along_indices>, add=<built-in function add>))

So far the extra overhead comes from the following parts, which can be optimized in the future:

calling interpreted julia to get configuration:
https://github.com/Suzhou-Tongyuan/jnumpy/blob/669e046ca6448e8c06e39d0f98cf9d124a541c11/jnumpy/init.py#L112-L117

calling interpreted julia to get the module name:
https://github.com/Suzhou-Tongyuan/jnumpy/blob/669e046ca6448e8c06e39d0f98cf9d124a541c11/jnumpy/apis.py#L92

Using python's toml to parse a Project.toml would be better here:
https://github.com/Suzhou-Tongyuan/jnumpy/blob/58d3a292d266223e5cdc137d42db2b7e8f5189c0/jnumpy/apis.py#L80
It cost 0.1s to get project name while init_project() cost 0.9s on my computer.

Fine, we could use toml at this stage.


Amplitude tracker

looks good! :)
except for the question about the connectTimeout (and the failing build on travis, hopefully its something easy to fix) ready for merge

failing build on travis - CI team working to fix a problem with some versions...
connectTimeout - what's the question about it? can't find it ....


Benb/cronjob

First pass at getting this working... maybe it gets tossed with the new Kubernetes support for sidecars!

Forgot to request review on this!

Some context on helm:
I went through this book to get up to speed on Kubernetes, which I think was the major understanding blocker for me.  After getting a firmer grasp on manifest syntax I didn't have much trouble understanding what was going on with the templates (I've seen pretty similar stuff before though, chef cookbooks and ansible playbooks, so the concepts are familiar).
In terms of getting up and running, I had a couple of issues:

not understanding exactly what helm install was doing and taking a few passes before figuring out --dry-run.
The with and toYaml . being a bit confusing.
Having to pass $ as the "context" into the helper functions (I think the error message here was cryptic but parseable).
yaml indentation issues with the cronBeforeHook and cronAfterHook.

But in general I think the flow here was super reasonable.  I do think that having some unit tests/lints as documentation to the developer would be really helpful though!

But in general I think the flow here was super reasonable. I do think that having some unit tests/lints as documentation to the developer would be really helpful though!

Nice, glad to hear it's feeling reasonable. On the linting, helm has a built-in helm lint utility, which I've found is so-so, but usually catches huge issues.
I've had some mild preliminary success over in gnomad-helm with the chart-testing tool and its associated github action. Via kubernetes-in-docker (https://kind.sigs.k8s.io/), it's feasible to end up in a place where you have a github action that can attempt a test installation of the chart in a small kubernetes cluster in GH actions. This should theoretically catch things like mistyped variable names, and manifest spec errors. Only drawback, is that you can't really test manifest types/APIs that are specific to google or some kubernetes operator (like ExternalSecrets, ManagedCertificates, etc).
There's also https://github.com/yannh/kubeconform, which output from helm template can be piped to, to ensure that manifests meet the k8s API specs. However, it suffers from the same problem as chart-testing, in that it can't validate custom resource types from GKE/operators, etc. Though, now that I look at the readme, it looks like testing CRDs may be a thing kubeconform is better at now. Let's chat more about this!


Test: Add ordering for collection before comparing

Resolves #12882
cc: @roji

Looks great, I wasn't aware of the use of a sorter to impose order without modifying the actual query, good to learn more about the test infrastructure...

@maumar - ping.


"Alloy / OpenTelemetry" dashboard has unexpected blank panels

What's wrong?
Multiple panels on the "Alloy / OpenTelemetry" dashboard are blank; potentially related to #711.
Steps to reproduce

Run Alloy with a main commit build, sending OpenTelemetry data to Prometheus or Mimir.
Install the Alloy Jsonnet mixin.
Observe the "Alloy / OpenTelemetry" dashboard has multiple blank panels.

System information
Linux
Software version
v1.2.0-devel+270e3dbbb
Configuration
otelcol.auth.headers "otlp_gateway" {
	header {
        key   = "X-Scope-OrgID"
        value = "REDACTED"
    }
}

otelcol.receiver.jaeger "default" {
	debug_metrics {
		disable_high_cardinality_metrics = true
	}

  protocols {
    grpc {}
    thrift_http {}
    thrift_binary {}
    thrift_compact {}
  }

  output {
		traces  = [otelcol.processor.k8sattributes.default.input]
  }
}

otelcol.receiver.otlp "default" {
	debug_metrics {
		disable_high_cardinality_metrics = true
	}

	grpc { }

	http { }

	output {
		metrics = [otelcol.processor.k8sattributes.default.input]
		logs    = [otelcol.processor.k8sattributes.default.input]
		traces  = [otelcol.processor.k8sattributes.default.input]
	}
}

otelcol.processor.k8sattributes "default" {
	extract {
		metadata = ["k8s.pod.name", "k8s.namespace.name", "k8s.node.name", "k8s.container.name"]
	}

	output {
		metrics = [otelcol.processor.batch.default.input]
		logs    = [otelcol.processor.batch.default.input]
		traces  = [otelcol.processor.discovery.default.input, otelcol.connector.host_info.default.input]
	}
}

discovery.kubernetes "pods" {
	role = "pod"
}

//TODO: Figure out how discovery.kubernetes is able to discover the pod container.
// otelcol.processor.k8sattributes is not able to discover it, because all containers on
// same pod share the same IP address.
//
//TODO: It feels wasteful to run both otelcol.processor.k8sattributes and otelcol.processor.discovery.
// Can we run only one of them? Either k8sattributes needs to be able to find the container names by itself,
// or otelcol.processor.discovery should start to follow OTel semantic conventions.
discovery.relabel "pods" {
	rule {
		action        = "replace"
		source_labels = ["__meta_kubernetes_pod_container_name"]
		target_label  = "container"
	}

	rule {
		action        = "drop"
		regex         = ""
		source_labels = ["__meta_kubernetes_pod_container_port_number"]
	}

	rule {
		action        = "replace"
		source_labels = ["__meta_kubernetes_pod_ip"]
		target_label  = "__address__"
	}
	targets = discovery.kubernetes.pods.targets
}

// otelcol.connector.host_info extracts host information from traces and exports it as metrics.
// This is used for billing in app o11y's host based pricing model.
otelcol.connector.host_info "default" {
	metrics_flush_interval = "60s"
	host_identifiers = ["k8s.node.name"]
	output {
		metrics = [otelcol.processor.batch.default.input]
	}
}

// otelcol.processor.discovery goes after otelcol.processor.k8sattributes,
// because k8sattributes is what we want to keep in the long term.
// otelcol.processor.discovery should not add any attributes which were already added
// by otelcol.processor.k8sattributes.
otelcol.processor.discovery "default" {
	operation_type = "insert"
	output {
		traces = [otelcol.processor.transform.default.input]
	}
	targets = discovery.relabel.pods.output
}

otelcol.processor.transform "default" {
	 error_mode = "ignore"

	trace_statements {
		context = "span"
		statements = [
			"set(attributes[\"otel.library.name\"], instrumentation_scope.attributes[\"otel.library.name\"])",
			"set(attributes[\"otel.scope.name\"], instrumentation_scope.attributes[\"otel.scope.name\"])",

			"set(resource.attributes[\"k8s.cluster.name\"], \"" + env("CLUSTER_NAME") + "\")",
		]
	}

	output {
		traces = [otelcol.processor.batch.default.input]
	}
}

otelcol.processor.batch "default" {
	output {
		metrics = [otelcol.exporter.otlphttp.otlp_gateway.input]
		logs    = [otelcol.exporter.otlphttp.otlp_gateway.input]
		traces  = [otelcol.exporter.otlphttp.otlp_gateway.input]
	}
}

otelcol.exporter.otlphttp "otlp_gateway" {
	client {
		auth     = otelcol.auth.headers.otlp_gateway.handler
		endpoint = "REDACTED/otlp"
	}
}

local.file "sampling" {
	filename = "/var/sampling-strategies/jaeger-sampling.json"
}

otelcol.extension.jaeger_remote_sampling "default" {
	http {}
	source {
		content = local.file.sampling.content
	}
}

Logs
N/A

cc @ptodev Can you help me look into this once you're back from PTO?

Apologies for this - I'd seen this breaking change in the OTel changelog and wasn't too sure if it's going to have an impact for us. I meant to test it later, but didn't get around to it - I should have left a comment on the PR.
I opened a PR to fix this now.


Run make bundle

Trying to generate a new build of the FBC images, need to run make bundle first with our current snapshotted image of the operator to generate a new bundle image

/override ci/prow/tas-operator-e2e

/override Validate SecureSign/Test kind deployment (pull_request)


new headshot for Andrew

new headshot
First pull request? Read our guide to contributing
Checklist:

[ ] Test your work and double check you didn't break anything
[ ] Update the README, if neccessary

Description:
Please explain the changes you made here:

A description of the problem you're trying to solve
An overview of the suggested solution
If the feature changes current behavior, reasons why your solution is better

Yes!
On Thu, Apr 26, 2018 at 6:28 AM Andrew Hyde<EMAIL_ADDRESS>wrote:

new headshot
First pull request? Read our guide to contributing
https://docs.originprotocol.com/#contributing
Checklist:

Test your work and double check you didn't break anything
Update the README, if neccessary

Description:
Please explain the changes you made here:

A description of the problem you're trying to solve
An overview of the suggested solution
If the feature changes current behavior, reasons why your solution
is better

You can view, comment on, or merge this pull request online at:
https://github.com/OriginProtocol/company-website/pull/170
Commit Summary

new headshot for Andrew

File Changes

M static/img/headshot-andrew.jpg
https://github.com/OriginProtocol/company-website/pull/170/files#diff-0
(0)

Patch Links:

https://github.com/OriginProtocol/company-website/pull/170.patch
https://github.com/OriginProtocol/company-website/pull/170.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/company-website/pull/170, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEuxN7CeMzIPzj7YGsxBrbilKCGLBYE1ks5tsPiEgaJpZM4TkQHl
.

--
Cofounder of Origin http://www.originprotocol.com
Join our Telegram http://t.me/originprotocol.com

With this commit, we can now say that 100% of our fulltime employees have contributed to our codebase.

Josh are you deploying? Your merge trigger finger is faster than mine. :)

Deployed!


Flush missing figure and implement more stringent docs testing

What changes does this PR introduce?
Remove the missing figure in the GMRedi chapter, and include a new build command in the Travis build that makes warnings become errors. This will prevent the test suite from passing if the docs build throws any warnings.
What is the current behaviour?
A figure file has been missing since before the conversion to .rst, and throws a warning every time the docs get built.
Does this PR introduce a breaking change?
No.
Other information:

Glad to see the missing figure gone!
Why do you first run sphinx-build and then still make ${BUILD}?
Could we do this also for the latexpdf build?  We'd have to build the pdf in a separate command, but that seems fine.

Why do you first run sphinx-build and then still make ${BUILD}?

To make sure it works. But, you're right, it's pointless repetition. I should remove it.

Could we do this also for the latexpdf build? We'd have to build the pdf in a separate command, but that seems fine.

We could, but I assumed that the sphinx-build command would catch the same errors/warnings. I agree, using two commands isn't as clean as make latexpdf, but that's ok. And, actually if we didn't compile the .tex files into a pdf we could do away with installing LaTeX in Travis, which would substantially speed up the test suite.

Well, I do like that we build the pdf.  Some LaTeX errors only show up at that stage (and not at all in the html build) and it would be good to catch these.  But I think they make Travis fail as it is, so maybe catching sphinx warnings also for the latex build is not necessary.

That's right, Travis already fails if the pdf fails to build properly.
How about I drop the make clean html commands and keep the make clean latexpdf commands? This means the docs test will fail on sphinx errors and warnings in the html build, and fail if there are any pdf specific issues.

Seems the cleanest solution right now.  We can keep an eye out for warnings that only appear in the latex builder.

LGTM +1

Tweaked the latex build command so it doesn't hang waiting for user input when a LaTeX error occurs.  As discussed offline with @edoddridge.

LGTM


The syntax highlighting for CSS is not working properly inside multiline strings

This issue occurs when all the extensions are disabled.
Version info

VS Code Version: 1.65.2
OS Version: Windows 11 Pro Education 21H2

Steps to Reproduce

Create a CSS file;
Open it in VS Code;
Use line-breaking syntax to separate a string into multiple lines (see example below);

Image illustrating the issue
See that after using that syntax for breaking the line, the syntax highlighting becomes messed up.

Note that this does not happen in other languages. Here is an example in C:

For CSS, we use the grammar from  https://github.com/atom/language-css.
The issue has already been reported there:  https://github.com/atom/language-css/issues/181
Closing as duplicate.


compile problem is found with gcc 7.3.0， memcached 1.4.33

Describe the bug
now compile problem is found with gcc 7.3.0， memcached 1.4.33 ,
uti1.c: In function歆[Oimuriencode_init缺
util.c:21:37: error:敛[o1msnprintf歆output may be truncated before the last format character [-werror=-format-truncation=-]
snprintf(str, 4，"%%%02x"，×);
util.c:21:13: note:[o1msnprintf歌output between 4 and 5 bytes into a destination of size 4
snpritf(str, 4, "%%%02x",' x);
To Reproduce
Any information useful for reproducing the bug or crash. Workload, changes in workload, versions affected. If seeing a new issue after an upgrade, please include both before and after versions.
System Information

OS/Distro:  linux
Version of OS/distro:
Version of memcached: 1.4.33
Hardware detail: libevent 2.0.22

Detail (please include!)
when  i compile the memcached  using 'make' cmd, then it show me the error info .  maybe show me that  the function  "snprintf"
2rd parameter is not suitable 。so  who can help me  ?

Does this happen with the latest version?
We don't provide fixes or support for older releases.

user never responded..


Set proper name in iOS config documentation

Correct property name in example is wrong

Thanks for the PR @asc0de! I merged it in and followed up with a change to all the other languages.


Fix wrong annotation used on omni ConfigMap

The  code to add the annotation to get the omni ConfigMap synced across clusters is wrong. It should be sync-contexts instead of just sync. As, the line above actually also mentions.
Man did this get me confused into why a Secret of mine was not synced to another cluster. I therefore hope you'll accept this small brush up.

 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.

Thanks @larssb !

 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.


Patch for other years

Hey @sohnryang, You can check out the updated version at https://github.com/Muhammad-Ahsan-Rasheed/NewYear_Updated2022

Hey @sohnryang, You can check out the updated version at https://github.com/Muhammad-Ahsan-Rasheed/NewYear_Updated2022


how to sort table programtically?

Hi Igno,
I want to show the table for the first time sorted based on certain column either ASC or DESC.
Is this possible in code or in xml?

Hi @EgyptianM,
Use the methode sort(final int columnIndex, final boolean sortAscending) after setting your TableDataAdapter and the Comparator for the specific column.
Best regards,
Ingo

Thank you very much


Generate data interface generated by magento2:generate:crud_model in Api/Data

M2 documentation states that we should

Define data interfaces in the Api/Data subdirectory for a module.

At the moment it's generated under Model/ThingInterface.php
I could fix send a pull request by tomorrow if it's actually an issue.

@adamonsoon Where's that stated?

http://devdocs.magento.com/guides/v2.1//extension-dev-guide/service-contracts/design-patterns.html#data-interfaces

Thanks @adamonsoon!  I did a spot check and that seems legit.  A pull request would be welcome.


Don't add flags already in CFLAGS

I am cross-compiling for an ARM target that supports the armv7 virtualizations instructions - as a result, the actual -march value is -march=armv7ve, which I have specified in CFLAGS. When I compile projects using the cc crate, it is blindly adding additional flags based on the TARGET value. One of those flags is -march=armv7-a, which conflicts with my settings.
In general I think a sane set of defaults is great - but it would be ideal if cc did not add flags that were already specified in the CFLAGS variable.

I'm also running into this problem and would like to prepare a PR to solve it. There are a couple of options for solving this, but the most straightforward would be by using a couple of regexes. Would a dependency on regex be acceptable?

I would personally prefer to avoid adding regex as a dependency, and skipping all flags is somewhat along the lines of https://github.com/alexcrichton/cc-rs/issues/371 as well. Ideally though this would happen by default in theory


Add 'Use Cases' section

Add some examples of problems, use-cases, etc related to Konveyor
This section should

Communicate "why" is Konveyor useful to the adopters

[ ] Add several use-cases to provide an idea of issues that Konveyor can help with and provide a closer look into what Konveyor can do

/assign @jwmatthews @savitharaghunathan

Desire is to update this info with use-cases/specific scenarios to Konveyor.io


[TFLite] Add int8 and int16x8 support for the REDUCE_PROD operator

Hello,
This PR adds int8 and int16x8 support for the REDUCE_PROD operator.
Ideally the kernel should do the product of all the quantized elements in the reduced axes and then do a final rescale:

This would give the best accuracy but unfortunately it would quickly overflow the accumulator. To overcome the issue the product is rescaled at each step in a way similar to

with a slight modification that the rescaling is done after each in_i*in_i+1 multiplication plus a final rescaling to avoid losing too much precision by rescaling each in_i individually.
Note that it can degenerate to a precision of 0 if an intermediate results is too close to 0 and becomes a quantized 0. Example 1.5 * 0.5 * 0.1 * 0.01 * 5.3 * 8.3 * 2.3 * 9.6 * 10.2 = 7.43043888 but the intermediate 1.5 * 0.5 * 0.1 * 0.01 = 0.00075 could become a quantized 0 and the whole quantized result will be 0 instead of something close to 7.4. It's unfortunately difficult to avoid it without a dynamic rescaling (and thus dynamic rescaling factor) that would rescale the accumulator once it is too close to its minimum/maximum value.
It could also happen if the 0.01 input in the example end-up to be quantized as a 0 (which would happen with the [0;10.2] range of the example using 8-bit as the quantized step would be 10.2 / 255 = 0.04).
These cases should hopefully be infrequent.
Thibaut

Removing myself as reviewer since this is a PR changing tflite and I'm focused of TFLM.

@abattery  Can you please review this PR ? Thanks!

Thank you for the review, I addressed the comments and updated the PR.

@jianlijianli I updated the PR to adapt it to some changes from the master branch. The PR will need a re-approval, thanks!

Closing as it seems it has been merged.


go.mod etc.

Hey, would you take contributions? As in go.mod and maybe GitHub Actions setup?

Great code on vat! Balancing the responsibilities of owning a business with personal commitments can be challenging, but incorporating technology solutions like registration for online dac7 marketplace can make it more manageable. Business owners who use LOVAT, a comprehensive tax management solution, can simplify their tax procedures, from tracking expenses and deductions to preparing and filing tax returns. By automating routine tasks, this software can help reduce errors and save time, freeing up business owners to focus on other important aspects of their operations.


[GOBBLIN-336] Set unused Helix task result info field to an empty string

This field is not used.
This change removes the need for the child task process to send the
workunit count back to the control process.

+1 LGTM


Why do we need checked auth before each page load?

I find in main.js,
// Ensure we checked auth before each page load.
router.beforeEach(
  (to, from, next) => {
    return Promise
      .all([store.dispatch(CHECK_AUTH)])
      .then(next)
  }
)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

Instead of that why don't we just create an Action to check just only one time when enter site?
store.dispatch('CHECK_AUTH')
  .then(() => {
    /* eslint-disable no-new */
    new Vue({
      el: '#app',
      store,
      router,
      components: { App },
      template: '<App/>'
    })
  })

It reduce request from each time change from another page? (may be faster?)

@igeligel so we received token and add it to cookie instead localstorage?

Hmm the official guide recommends to use localstorage:
Sign in/Sign up pages (URL: /#/login, /#/register )
Use JWT (store the token in localStorage)

Source
I know for sure localstorage is not right. Maybe we can create an issue in the master repository about it.

@tranlehaiquan:
I have a few hesitations on a single auth check.
What happens when a user is authenticated -> then logout -> and leaves the browser tab open?
Wouldn't the app will continue to behave as if it were authenticated and the routes that require auth will still be accessible?
The route guard is intended to protect certain routes such as /settings or /editor, and a single auth check wouldn't be sufficient.
In any case thanks for your suggestion. It's an a good reminder that the guard still needs to be implemented! I opened issue #39 for this.

@vilsbole
You mean leave another browser tab open, and it still has token, right?

Got it, I try to fix it soon.

Should not the JWT token always pass to the backend (excluding of course login/register), and the backend either returns the response or a 401 not authorized or 403 forbidden (in the case of accessing resources that do not belong to the authenticated user)? It seems every API call should set the auth header and leave it to the backend to return the appropriate HTTP response code. We should not have an auth check API call before every 'real' call to the API...

Close this issue : ), because not working on it anymore.


Diffy doesnt capture 'POST requests sent through proxy ports

I have an endpoint in my  service which accepts POST requests My curl request looks something like this
curl localhost:31900/messages -H "Content-type: application/json" -X POST -d {"message":"Yello"} ' But i do not see traffic on my server side when using diffy
If i do normal curl request i.e without using diffy as a proxy  it works just fine.
Looks like the POST request doesn't get through the proxy

Does diffy support POST requests ?

Yes you can replay post requests. See https://github.com/twitter/diffy/issues/9
We should update the documentation because this keeps coming up. Care to do the honors?

Cheers! Sure

@puneetkhanduri Have raised the pull request for the same

https://github.com/twitter/diffy/pull/15


Delay using released versions as compile version for three hours

@mpolden please review.

This sounds like .... in your pants to keep warm

@baldersheim, the rationale is that users of other mirrors may see artefacts later than we do, and we can't possibly check all mirrors. I'd be open to other suggestions. I don't like this either, but I don't think there's a real cost with delaying our "detecting a version was released" artificially by a few hours.

Hmm ... So I suppose we could check the available maven metadata in the compile-version plugin, find the most up-to-date version there, and request a version not newer than that from the controller ...

Maybe the plugin could include its version from the metadata in the compile version request? That way the controller remains the decision maker, but respects the versions available to the plugin.

That's a simple solution, but we would no longer nudge users into compiling against the latest and greatest Vespa, like we want to. If they were to pin the parent version, it will currently fail after some time, but with this change, it wouldn't.
There may some means of getting the newest available version, in their current mirror, of the parent artefact. If we could do that, that version would be perfect to use.
We could also just accept that users may be building against old Vespa artefacts, as it's both not that likely to happen a lot, and we'd also be able to see it in our console, but I'm afraid it'd add an extra failure mode, that costs us extra support in the long run. Maybe not.


Compensating the width of the line number column

When you have line numbers on, especially if its width is significant, the buffer feels off-center because writeroom-mode seems to take into account of the line number column when centering the buffer.
See this example:

So is there a way to slightly offset the buffer visual position to compensate the line number's width?

So is there a way to slightly offset the buffer visual position to compensate the line number's width?

Currently, no. writeroom-mode simply uses window-total-width to calculate the width. There doesn't seem to be a function to get the width of a window that takes the line numbers into account and there doesn't seem to be a way to get the current width of the line numbers.
I'll ask on emacs-devel if there's a way to achieve this. Otherwise I'll have to come up with a work-around using line-number-at-pos

Just to make it clearer, here's an illustration of what I mean:

The green box is the text area and the red box is the line number column.
The above drawing is the how the buffer is currently centered. What I wanted is the bottom one.
Also, information on the line number width seems to be available in display-line-numbers-width

I just pushed an update to visual-fill-column-mode, which should fix this issue. (writeroom-mode uses visual-fill-column-mode to set the window margins.) It seems I actually already took line numbers into account, but I did it incorrectly, so it never showed any effect.
Please let me know if you still run into problems.

I updated visual-fill-column and I'm still experiencing the issue.
My display-line-numbers-width is set to 4, writeroom-width to 110 and I'm writing in a text-mode buffer.
Can you replicate this issue?

My apologies, I think I didn't understand your question correctly. You did explain it clearly, but due to my misconception about what the problem was about, I failed to understand. :disappointed:
With display-line-numbers-width set, the old code behaved just like the new code, so it's expected that you don't see any difference. The only difference you would otherwise have seen is that the margins are slightly narrower, but not the offset that you would like.
I'll try and come up with a real solution. Stay tuned. :slightly_smiling_face:

I have pushed updates to visual-fill-column and writeroom-mode that should offset the text area slightly to the left if display-line-numbers-mode is enabled. The exact offset is customisable, see the README for details.

Thanks a lot!
It works, but I had to subtract the line width by one or else the centering will be slightly off. Like this:
(setq writeroom-left-shift '((lambda () (1- display-line-numbers-width))))

I'm not really sure why that is the case.

Thanks a lot!
It works, but I had to subtract the line width by one or else the centering will be slightly off. Like this:
(setq writeroom-left-shift '((lambda () (1- display-line-numbers-width))))

I'm not really sure why that is the case.

Thanks a lot!
It works, but I had to subtract the line width by one or else the centering will be slightly off.

Yes, I'm noticing the same thing.

(setq writeroom-left-shift '((lambda () (1- display-line-numbers-width))))

Yes, that works, but I'm considering another approach. The space for line numbers is taken from the text area, so when you set writeroom-width to, say, 80 and then activate display-line-numbers-mode, you get a text area that's smaller than 80 characters. So perhaps it would make more sense to widen the text area in such a way that the right margin stays put.

I'm not really sure why that is the case.

It's because in the function visual-fill-column--window-max-text-width, the line number width is subtracted from the maximum possible text width, which throws off further calculations. I'll take it out now that line numbers are taken into account in a different way.

I removed the option writeroom-left-shift again and replaced it with writeroom-added-width-left. Instead of shifting the text area, this adds columns to the left side of the text area, so that the line numbers do not reduce the area available for text, as was the case until now.
The default value of writeroom-added-width-left is a function that adds columns for line numbers if they're being displayed. It shouldn't be necessary any more to customise it as you did before, I fixed visual-fill-column--window-max-text-width and now the result looks good, at least on my machine.
If you do run into problems, please let me know.


How can I find the log file location in the integration pod?

I have asked a question on StackOverflow(https://stackoverflow.com/questions/70042082/where-is-the-logs-in-camel-k-integration-pod) about camel k logging and paste it here for getting help:
I have an integration pod running with kamel:
kamel run MyRoute.java

I have log in the route
from("...")
.log("my log message")

I am able to check the log lines with command:
kubectl logs my-route-85d7f65c96-rmb4z --tail=10

Then I am able to access to the pod using:
kubectl exec -it -c integration my-route-85d7f65c96-rmb4z /bin/sh

I tried to check folder /var/log, unfortunately there's no related log files.
I have 2 questions on this:

Where is the log file location in the integration pod?
How can I specify log file location If I want to log certain lines into a separated log file?

Thanks

I've just answered to the the post in SO, I see also @nicolaferraro provided the same information.

Where is the log file location in the integration pod?

Generally, containers write to stdout or stderr. That is the case for integration Pods, that rely on the Quarkus console log handler by default.
Then it depends on the container runtime that's setup for your cluster. With CRI-O, the log files are written in the /var/log/pods directory of the host node by default. It's /var/lib/docker/containers for the Docker container runtime. You can access this directory by accessing the node where the Pod is schedule, but it's also possible to mount the directory into a Pod.

How can I specify log file location If I want to log certain lines into a separated log file?

You can configure the Quarkus file log handler, e.g.:
$ kamel run -p quarkus.log.file.enable=true -p quarkus.log.file.path=/tmp/trace.log

Some examples of Quarkus logging configuration are available at https://quarkus.io/guides/logging#examples.


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Learnt CSS with HTML file.


New version: prefix-dev.pixi version 0.23.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\pixi\bin\pixi.exe returned exit code: 2

(Automated response - build 881.)


Error when running in Station mode

This error appeared when running in station mode. but the AP mode works fine with no issue. This error occurs in STA mode only. What can i do?

What version of esp-idf are you using?

What version of esp-idf are you using?

What version of esp-idf are you using?

V 4.2

What version of esp-idf are you using?

Yeah, in its current state, the codebase is designed for v3.3.1 (It should be mentioned in the README: https://github.com/StevenMHernandez/ESP32-CSI-Tool#installation)
Can you use that version?
(Note to self: I need to update this project to use more recent esp-idf versions.)

V3.3.5 worked fine. Thank you very much. And i tried connecting to my smartphone's hot spot and also my home router. it says it connected but did not output any CSI info. Does this mean that my phone and router does not send csi information? (Welll i didnt have a second ESP32 to test it with two ESP32s)

Try uncommenting this: https://github.com/StevenMHernandez/ESP32-CSI-Tool/blob/master/active_sta/main/main.c#L146

Try uncommenting this: https://github.com/StevenMHernandez/ESP32-CSI-Tool/blob/master/active_sta/main/main.c#L146

yes. that was the problem. thank you very much


 Thanks!

❤


Healthcheck endpoint

This exposes a third port on the instance (9000), which can be used for
health checks. This will accept regular HTTP requests and forward them
to a /healthcheck endpoint in the underlying app.
If the app responds (regardless of the status), the health check is
considered successful and we return a 200 (which an ELB will interpret
as a pass), and otherwise we return a 502 (which it will interpret as
failure).
All request and response components are discarded (the server never sees
the client's intput, and the client never sees the server response) so
that we don't send anything over the wire unencrypted.
Unfortunately, doing either of those things (returning a blanket 200 and
removing response content) can't be done with "regular" Nginx, so we're
pulling in the OpenResty Lua module to help with that.
--
In the longer term, we might want to start letting customers declare health checks that check connectivity beyond the basic "does this respond over HTTP?" check, but this is a fist step towards bringing the health checks we do on ELBs and Sweetness in line!
(as a reminder: ELBs can't poll our Nginx proxies because we're using the PROXY protocol, which makes the health checks a lot less useful than they'd otherwise be)
cc @fancyremarker @blakepettersson

Added FORCE_HEALTHCHECK_SUCCESS for cases where we only have one host.

👍 to this component as well.

And, added health checking on the traffic port for ALB purposes.


#527: Correct docs for rule no-extraneous-dependencies

Updated docs with glob example to prefix with **/
https://github.com/benmosher/eslint-plugin-import/pull/527#issuecomment-247046156

Coverage remained the same at 97.794% when pulling 271df1071074cdea1f9327e2a083c56451fcfe57 on tristanbbq:docs-no-extraneous-dependencies into 01f1852b121a8fd37c220390575485326bd06805 on benmosher:master.

Coverage remained the same at 97.794% when pulling 271df1071074cdea1f9327e2a083c56451fcfe57 on tristanbbq:docs-no-extraneous-dependencies into 01f1852b121a8fd37c220390575485326bd06805 on benmosher:master.

Coverage remained the same at 97.794% when pulling 271df1071074cdea1f9327e2a083c56451fcfe57 on tristanbbq:docs-no-extraneous-dependencies into 01f1852b121a8fd37c220390575485326bd06805 on benmosher:master.

@benmosher easy merge? 😛

thanks for this!

🎉


Add Edina High School

Add Edina High School. Website

@chococaker I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host isd273.k12.mn.us not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Ability to view (Aliased) Applications

I was comparing things and I noticed few missing Applications only to see that it's there (in binary) and it wasn't what I was expecting. I was wondering if that was expected behavior. I was expecting to see "minecraft" and "Minecraft (minecraft)"
If you have an (aliased) application that execs the same binary. (As the binary itself would...). Both of them will not be in the list ; only the binary will be.
For an exercise....  If you toggled "filter_binaries": true, you're expected to see (aliased) applications. What happened here is that we're seeing a mixed result -- Both (aliased) applications and certain binaries. I think it might be the unintended behavior of omitting / merging two things in your code to display less/repetative results.

Also, + (plus) - Manually add an entry to the cache... How can I add a directory? I'm trying to do something like "+xdg-open ~/.local/share/Trash # Trash" -- It's not working for me. Perhaps we need a Trash plugin -- or a way to open manually added directories? (/media, /tmp, etc) P.S. I thought you stopped working on dmenu-extended.... I must be using an old version.

Hi Lasers.
I'll explain the intended behaviour first and we'll see if indeed it is misbehaving rather than this being an issue of ambiguous preferences.

If an alias exists for an application where that application's binary has the same name as the application - just add the binary. I see no benefit in adding "Minecraft (minecraft)" to the cache where 'minecraft' is equally descriptive.
Each item in the cache must have a unique name.

These two work together to do...
minecraft & Minecraft (minecraft) -> minecraft & minecraft -> minecraft
'filter_binaries' is very confusing. In the beginning its purpose was to remove binaries from the cache (e.g. 'cd' and 'ls' etc.) if they were pointless outside of the shell. It aimed to only add a binary if it is associated with an application. Then more thorough application scanning was added along with the 'include_binaries' and 'include_applications'
Does the following configuration produce the cache you're looking for:
'include_applications': true,
'include_binaries': false,
'alias_applications': true

Just pushed a fix for your Trash issue. Try it now.
You should be able to do it with just +~/.local/share/Trash#Trash

Hi Mark,
With the following configuration you provided, I get a minecraft (binary) in the cache where 'minecraft' is equally descriptive. The problem is that I know if I have Applications and Binaries both toggled on and if you merge them, I'm not going to see the whole thing. I do have # Vi Improved (gvim -f) that was apparently added via *.desktop and I want that. I want to see that.
With binaries turned off, I see i3, htop;, xnoise, xfburn, synergy, chromium, mousepad, minecraft, quicksynergy. Those applications had *.desktop and shows up in XFCE Menu.
What's more... I'm confused because I'm seeing lot of Applications that shouldn't be there because they had simple binaries name. I'll list few as I can.
GTK+ Demo (gtk3-demo)
Document Viewer (evince)
About Xfce (xfce4-about)
Thunar FIle Manager (thunar)
Firewall Configuration (gufw)
Log Out (xfce4-session-logout)
File Manager (thunar)
Calculator (gnome-calculator)
Audio Mixer (xfce4-mixer)
Transmission (transmission-gtk)
Xfce Terminal (xfce4-terminal)
Screenshot (xfce4-screenshooter)
Ristretto Imager Viewer (ristretto)
.... and more.
The above is not listed in order at all. Random picked.
When I do "thunar", I get this. .
thunar                      (It's not there, but with binaries on, I would see it there).
Thunar File Manager (thunar)
File Manager (thunar)
Open Folder with Thunar (thunar)
Bulk Rename (/usr/lib/Thunar/ThunarBulkRename)
Removeable Drives and Media (thunar-volman-settings).
Similar to...
minecraft
Minecraft (minecraft).
The thing is that I sometimes want to view Applications that shows up in the menu (in other DE). If those applications got converted to binaries, I get the impress that Minecraft, Chromium, Xnoise, Xburn, Mousepad, QuickSynergy does not show up in the menu (when I start typing # in dmenu-extended).

The Trash issue worked right away. Thank you very much. :)

I think I got confused.
'include_applications': true, 'include_binaries': false, 'alias_applications': true
does not produce minecraft + Minecraft (minecraft) for me.

Great, no problem.
I think I'm going to need a bit of help understanding what you're after in terms of output.
Are you wanting to be able to have everything listed in applications prefixed with the '#' character? If you could provide some examples of your ideal output that might help.
In terms of "simple binaries", it will only shorten to plain binary form if the binary title is exactly (case insensitive) the same as the application name. So the fact that you see the results you see is not surprising.
I haven't been able to find a good way of controlling the addition of aliases and binaries into the cache using a minimal set of configuration parameters having obvious names. Hence why it's a bit of a mess.
I hadn't imagined anyone searching by '#' so that's interesting to see the indicator being made use of. If you can think of a more elegant way to control the addition of these elements I'm open to suggestions.
Just saw your last comment. Has this fixed your issue?

I noticed that I'm unable to remove manually added items. Can you confirm that too? I'm using XFCE panel (w/ menu) because I want to move away from XFCE but I don't like "everything-in-one" binaries (and/or) Applications only dmenu. I hadn't found a lightweight dmenu-like launcher that does lot of things and cover almost everything (including power managment). Basically, a dmenu-like kupfer or GnomeDo.
Adeskmenu came to mind -- but now they rebranded it to a deskbar and it appears broken on i3wm (dual monitors). Pressing # lists Applications and lot of them are missing due to the "simple binaries". I want to unmerge "simple binaries" so I can have everything in the dmenu. This is my issue. I think it would be best not to merge anything and to allow the users to decide how to invoke the dmenu (to find what they're looking for).
I don't know. I think you need more people working on this neat project. Too many launchers came and went by... (GnomeDo for one!). I also found "rebuild cache" when I launch dmenu-extended. I'm not sure if that was intentional. It was just weird to find it there when we have Settings -> Rebuild cache.


Add minimum plugin for Nehrim

This is an incomplete plugin designed to allow the Oblivion
plugin to download Nehrim mods.

I don't really understand the purpose of this? Can you have Nehrim download with only the changes to the Oblivion plugin?

Nope.  The way the whole "additional downloads" thing works is that it uses the game plugin name to load the game plugin to get the Nexus name for downloads and what not.  Without a valid game plugin, no downloads.

This is uglier than everything else in MO2... And that's saying a lot. I'm not really fan of this, but I'm not sure it's easily fixed in MO2 core. Why don't we have a proper Nehrim plugin actually? I thought the major issue was to allow switching between Oblivion/Nehrim, but if we forget about that part, creating a Nehrim plugin should be fairly simple no?


Resource forks

I loved these games, so glad to see they've been open sourced! Unfortunately git completely ignores resource forks, so the .rsrc files, assets, and maybe project files are all empty. I don't know if there's a good way to handle resource fork files on git, running them through MacBinary might be the only solution.

On Jan 28, 2016, at 9:46 PM, Brendan Shanks<EMAIL_ADDRESS>wrote:
I don't know if there's a good way to handle resource fork files on git, running them through MacBinary might be the only solution

Thanks, I’ll see what I can do….
John Calhoun—

I ran macbinary (good suggestion) and replaced the files that GitHub was unhappy with.

Now an enterprising whippersnapper just needs to make a sdl backend and linux build :)

There's actually a modern port:
https://github.com/kainjow/Glypha


custom godot importing for scenes and gdscripts

this project has already gone the extra mile with implementing the OMI_physics extensions.
there is probably going to be some gdscript involved to handle scripts and scenes on import on the godot side
In the quake formats, this is usally called "entity definitions". These definitions dictate objects like buttons and doors. This is done with some middle-man file called .fgd, forge game data

done + nodes


Update About

PaRe (Package Reviewer) is the successor of the DependencyReviewer package.
This is not very informative. Explain what it does instead

Are you referring to the ReadMe?
As this is the entire section:

PaRe (Package Reviewer) is the successor of the DependencyReviewer package. PaRe reviews other packages during code review and has the following features:
What dependencies are used, and what functions are used of that dependency.
The quality of the code style using lintr.
Code complexity, using the cyclomatic complexity scores.
How internally defined functions interact with one another, and visualizing this in a diagram.
Fetching locations of defined functions in R-files.
Checking dependencies against user a defined white list.
Count lines of code for different languages by default: R, C++, SQL, and Java.
Make a standardized HTML-report exploring the before mentioned features.


+Feature+Option (TOR access and proxy settings)

I recently wrote a similar code. I "stole" osmedeus ideas (Congrats!), so I'll try to collaborate : D
1 - Allowing use of a proxy is essential for anyone who uses whitelists in their security technologies.
2 - Check if it is possible to access the page through the TOR network.
Something like...
"
def get_tor_session():
session = req.session()

session.proxies = {'http':  'socks5://<IP_ADDRESS>:9050',
                   'https': 'socks5://<IP_ADDRESS>:9050'}
return session

def test_tor(url):
tor = "unknown"
ts = get_tor_session()
uagent = "configs here"

tr= ts.get(url, headers=uagent, verify=False, timeout=10)

if tr is not None:
    tor_status = tr.status_code
    tor_content = tr.text
    tor_header = dict(tr.headers)
    tor_conn = tr.headers['connection']

if tor_status == 200 or tor_conn != "close":
    tor = "Pass (Block please!)"
elif "captcha" in tor_content:
    tor = "Captcha (How about Block? :p)"
elif "Access Denied" in tor_content:
    tor = "B l o c k e d !  s2"
else:
    tor = "Unknown"

print (tor)
ts.close()
"
OK! Sorry!  I'm not a developer!  :p

Yeah using proxy or tor is absolutely possible so it's already on the TODO list for a while but I'm just focused on another feature instead of that.
Anyway, this feature will coming soon :D.

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


Failed to apply catalog: Cannot alias File[/etc/elasticsearch/] to ["/etc/elasticsearch"]

Some more redeclaring:
err: Failed to apply catalog: Cannot alias File[/etc/elasticsearch/] to ["/etc/elasticsearch"] at /etc/puppet/environments/production/modules/elasticsearch/manifests/instance.pp:232; resource ["File", "/etc/elasticsearch"] already declared at /etc/puppet/environments/production/modules/elasticsearch/manifests/config.pp:49

Hi,
How did you define the main class and instance class?

Like that:
  $elasticsearch_instance = 'es-qucosa-default',
  $elasticsearch_release = '1.3'

  class { '::elasticsearch':
    autoupgrade  => true,
    java_install => true,
    manage_repo  => true,
    repo_version => $elasticsearch_release
  }

  elasticsearch::instance { $instance: }

I commented out some file declarations in config.pp. But errors like this keep coming up.
Looks like there is a design issue...

I think its caused by $instance being empty, you should use $elasticsearch_instance

Yup, seems to be the problem. Thanks for the swift response!

No problem, glad its solved :-)


Future<AndroidBatteryInfo?>' can't be assigned to the parameter type 'Future?'

Hi
I installed the package and created an example same as the package, I got this error.
Running Gradle task 'assembleDebug'...
lib/main.dart:26:47: Error: The argument type 'Future<AndroidBatteryInfo?>' can't be assigned to the parameter type 'Future?' because 'AndroidBatteryInfo?' is nullable and 'AndroidBatteryInfo' isn't.

'Future' is from 'dart:async'.

pubsec.yaml
name: battery_health
description: A new Flutter project.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
battery_info:
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
flutter:
uses-material-design: true

The example for StreamBuilder hasn't been updated yet


Choppiness on iOS

There seems to be choppiness on the swiping functionality on the iphone 12 pro and the iphone x. On other phones it works fine, but there seems ti be choppiness / sometimes the swiping doesn't work. Seems like a compatibility issue. Has anyone else experienced this as well? Thanks

@jmuller3140 , I also confirm this behaviour on iPhone 13 Pro Max and iPhone 12 Pro. However, my tests only confirm this choppiness on Chrome and not in Safari.
Also, I've tested an iPhone XR and the choppiness is not present on either Chrome or Safari - everything is smooth.

any fix for this? issue still exist on ios device

I can confirm that issue still exists in Chrome (not Safari) on iPhone 11.

I experience the same problem

iPhone 13
Chrome (latest stable version 110.0.5481.114 for iPhone)