[Question] how are minions.

Hi,
I have successfully manages to setup Alcali and are able to login with the ldap backend. However, when I click on minions for example I do not see any data. How is this data is collected? Is this scheduled?
Regards,
Paul.

its hooked up to a mysql database; so you need to also configure salt to use the mysql backend so that runs and other data are stored there (in the docs i believe)

you will also need to setup the database schema you find at https://alcali.dev/installation/


LayerExtension: VS injection and geometry interaction

Description
I'm trying to make layer extension, which allows to color polygon layers related on their position at screen, I'm using injection hook  "vs:DECKGL_FILTER_COLOR" to get accsess to vertex color and change it depend on geometry.position.x and geometry.position.y, it works untill I zoom out to ~12, with zoom >=12 it stops working.
Repro Steps

inject into vertex shader via vs:DECKGL_FILTER_COLOR
change vertex color depend on geometry position
zoom out to >=12

codepen example: https://codepen.io/bowlx/pen/RwPGaGb
Environment (please complete the following information):

Framework Version: deck.gl 8.0.14
Browser Version: Chrome 79
OS: Windows 10

This is expected. deck.gl switches to an "offset" mode in z >= 12 to compensate for the precision loss in GLSL and float32 attributes. geometry.position is a relative coordinate whose origin moves around with the camera. geometry.worldPosition is much more reliable for your use case.

Thank you for the answer, i made calculation based on worldPosition and now it works properly.
Here is code if someone looking for extension which makes polygon's color gradient'ish and camera related:
class ColorFilter extends LayerExtension {
getShaders() {
return {
  inject: {
  "vs:#decl":
 "uniform float latMin; uniform float latMax; uniform float lonMin; uniform float lonMax;",
"vs:DECKGL_FILTER_COLOR":  `
float x = (geometry.worldPosition.x - lonMin)/(lonMax-lonMin);
float y = (geometry.worldPosition.y - latMin)/(latMax-latMin);
color = vec4(1.0-y,x,1.0-x,0.65);
`,
  },
};
}
updateState(params) {
const { bbox } = params.props; //bbox - array of map bounds [latMin,lonMin,latMax,lonMax]
for (const model of this.getModels()) {
  model.setUniforms({
    latMin: bbox[0],
    lonMin: bbox[1],
    latMax: bbox[2],
    lonMax: bbox[3],
  });
}
}
}


Add getting started info.

This is probably several tasks:

Add links to getting started with OHM to the left-nav & welcome email & wherever else they should go.
Creating introductory OHM workflow / how to instructions, maybe on the wiki.

Closing this for lack of activity


Wrong SQL version displayed for FULL-TEXT files

For full-text files - the description states "Full-text catalogs earlier than SQL Server 2017...", but AFAIK full-text files (type 4)
have been deprecated since SQL 2012. Therefore the information is misleading - saying that I could use full-text file types in e.g. SQL 2016.
IMO the problem lies in "ssCurrent" variable used in document's source code.

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

ID: ae823efc-d65f-9f4a-9a62-faad1d047a76
Version Independent ID: 16cbcb94-577b-6998-0c65-c4107c509826
Content: sys.database_files (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-catalog-views/sys-database-files-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

@vladsMDCS -- thank you for your feedback.
@stevestein -- please look into this issue 3415.

@vladsMDCS Thanks for this feedback, and you are absolutely right that ssCurrent is causing this to read misleadingly. I'm going to work on getting that corrected and get back to you. Sorry for the delayed response!  #reassign:rothja

@vladsMDCS Thanks, again. We have decided to remove the parenthetical comment for now, because we are unsure what the right answer should be. We looked back at older content and the 2008 content had the same problem. We are asking internally, but until we know, it is just a confusing comment. We are also changing the ssCurrent value to be just "SQL Server" instead of "SQL Server 2019" because this is causing a lot of confusion in the docs. Thanks for pointing it out. I am going to close the issue for now, but please let me know if you have any questions. #please-close


Nuxt 2.5.1: promise is undefined

I am using Nuxt in Firebase hosting, so I do something like
function handleRequest(req, res) {
  res.set('Cache-Control', 'public, max-age=1, s-maxage=1');
  return new Promise((resolve, reject) => {
    nuxt.render(req, res, (promise) => {
      // promise is undefined
      promise.then(resolve).catch(reject);
    });
  });
};
app.get('*', handleRequest);
app.use(handleRequest);
exports.ssr = functions.https.onRequest(app);

And I get something like

And I debuged so I found promise is undefined after I upgraded to this version.
I am missing something?
Thanks.

This question is available on Nuxt community (#c8922)

If you are using programmatic API, did you added nuxt.ready() to the constructor?

Any example? @pi0

@pi0, Hi again. Thanks so much. So I do something like this.
Can you review this is a right way to do?
function handleRequest(req, res) {
  res.set('Cache-Control', 'public, max-age=300, s-maxage=600');
  return new Promise((resolve, reject) => {
    nuxt.render(req, res, (promise) => {
      nuxt.ready(() => {
        promise.then(resolve).catch(reject);
      })
    });
  });
};

This may not directly answer your question. This may be probably because nuxt callbacks are depricated. Anyway, this could work:
function handleRequest(req, res) {
  res.set('Cache-Control', 'public, max-age=1, s-maxage=1');
  return nuxt.render(req, res)
}

app.get('*', handleRequest);
app.use(handleRequest);
exports.ssr = functions.https.onRequest(app);

Another version:
async function handleRequest(req, res) {
  res.set('Cache-Control', 'public, max-age=1, s-maxage=1');
  await nuxt.render(req, res)
}

nuxt.render returns a Promise which could be returned.

Yeah thanks, But In my case I have to add nuxt.ready() after new Nuxt()
Like..
const nuxt = new Nuxt(config);
nuxt.ready().catch(console.error);

// function handleRequest(req, res) { .... }

Hi @l2aelba
I have encountered the same problem after updating some npm packages.
I have tried the following:
const nuxt = new Nuxt(config)

nuxt.ready();

async function handleNuxtRequest(req, res) {
  res.set('Cache-Control', 'public, max-age=1, s-maxage=1');
  await nuxt.render(req, res);
}

app.use(handleNuxtRequest)

exports.httpOnRequest = functions.runWith({
    timeoutSeconds: 300,
    memory: '1GB'
}).https.onRequest(app)

However i get an error of
"ERROR SSR renderer is not initialized! Please check ..\functions\nuxt\dist\server existence." even though the folder exists.
I have updated nuxt to "^2.5.1" in the functions folder however i have not jet updated the package in the Nuxt src folder as i get an error when trying to build the nuxt app: "You may need an appropriate loader to handle this file type"
So for this reason the nuxt app itself is version "^2.3.4" for now
How is your project structured? How do your build an serve the nuxt app though Firebase hosting?

@TobiasEmil Sorry for this issue. We have pushed some changes to make it even more stable for v2.6.0. You can try nuxt-edge to see if it works.

@pi0 And one more question
I'm using Firebase hosting / functions
Sometimes when there is no visitor a while, I get Cannot GET / but when reloaded again so it's back.
Seems like Firebase does it warm when no visitor.
Do you have any trick to prevent this?

The trick to avoiding Cannot GET / during cold start, would be something like this trick that I've used for now serverless. Can be something like this:
const nuxt = new Nuxt(config);

let isReady = false
const readyPromise = nuxt.ready().then(() => {
  isReady = true
}).catch(() => {
  process.exit(1)
})

async function handleRequest(req, res) {
  if (!isReady) {
    await readyPromise
  }
  res.set('Cache-Control', 'public, max-age=1, s-maxage=1');
  await nuxt.render(req, res);
}


Plate-Minder runs as user id 1000

Cannot start the container, problem occurs with node here is the output related with user id

Hey there,
Please see the following: https://github.com/sclaflin/Plate-Minder#common-problems


How to convert pre-trained HairFast model into ONNX format.

Thank you very much for creating such a wonderful repository like this!
Following the instructions in the README.md, I was able to smoothly run the repo, but is there a way to use the HairFast model in ONNX format?
Once again, I would like to thank you for your great work. I hope to receive a prompt response from the authors.

Hello,
currently, our pipeline involves applying several different neural networks, which are connected by Python code. Converting this pipeline to ONNX format might be challenging. As of now, the only option seems to be manually converting all the networks to ONNX.
In our future work, we will explore the possibility of fusing all the networks to improve efficiency and enable compatibility with ONNX.


NOISSUE - Seperate Into Different Packages

Signed-off-by: b1ackd0t<EMAIL_ADDRESS>

awesome work !!
I'll test the changes later this week then merge

any updates?

Closing this one @muokicaleb


fix: settings adjustments based on spec and Etherscan verification

What I did

Adjust settings schema to match standard JSON style (https://docs.soliditylang.org/en/v0.4.24/using-the-compiler.html#input-description)
Make import remappings filter by contract source. Now, settings only includes import remappings used by that compiler.
Support getting versions with commit hashes included in them. This is required for Etherscan verification.

How I did it
How to verify it
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[x] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Going to break into multiple PRs to isolate potentially breaking changes

PT 1 : https://github.com/ApeWorX/ape-solidity/pull/72/files


Maximum Edge Orientation improvements

#34 added initial support for the Maximum Edge Orientation pathway reconstruction algorithm.  After adding support for partially directed input and output graphs (#28), this algorithm will need to be updated.  We also need to document the assumptions that this wrapper makes and the required arguments (#26).
It is also possible to load the MEO paths to rank edges.  The SDREM software does this as an extension of the MEO code, but it is not directly supported by MEO yet.
As the MEO maintainer, I should also update its readme to advertise that it is now available (and easy to use) via SPRAS.

Quick note here - I merged main into the precision-recall branch before I continue working on it, and the Test Docker Wrappers failed during reconstruct with MEO.  I suspect this may be due to some input file formatting issues since it's running on a netpath pathway.  I haven't looked closely at it yet. See Pull Request #36 for the full output.

I'm noting that MEO may have problems with pairs of directed edges (u,v) and (v,u).  That will need to be explored further once SPRAS supports partially directed input networks.


PowerShell Installer doesn't Work: iwr request was aborted

Hello! Thanks for an interesting project.
When I try to install Deno as the main website tells me, I get an error:
PS C:\Users\zitro> iwr https://deno.land/x/install/install.ps1 | iex
iwr : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:1
+ iwr https://deno.land/x/install/install.ps1 | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Latest Windows 10 / Subsystem for Linux off.

This helped me to fix the error:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12


add keyboard access to cards

Proposed changes

Previously the cards is opened only via mouse click. I add keyboard access so that when navigating the website with keyboards, user can use the ENTER key to open and close the card component. Keyboard access is an important feature in web accessibility. jQuery has built-in accessibility feature.
Screenshots (if appropriate) or codepen:

I only change two lines of codes as follows
$(document).on('keypress click', '.card', function (e) {
      if (e.which === 13 || e.type === 'click') { ...... }
})

instead of
$(document).on('click.card', '.card', function (e) { ...... })

Types of changes

[ ] 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 change).

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Isn't click.card an event by Materialize so we need it instead of click?

Shall we change it to the following instead? Then we keep the .card namespace for the both the click and keypress events, and it's not breaking the original codes.
$(document).on('keypress.card click.card', '.card', function (e) {
    if (e.which === 13 || e.type === 'click') { ...... }
})


Critical Error

Hello everything is fine? I have this problem, could you help me?
Windows: Vista Professional Home
VLC: 3.0.20 x32
JAVA: 8u152 (I believe it is x32, I don't know how to check)
ERROR:

Hello, sorry for the late response. How long have you had SpotifyXP on your computer?

@werwolf2303 This Issue has been open, but with no response, for a while. Do you want to close this?

This one is a network issue. UnknownHpstException means it can't find the spotify servers


v5.3.1 Nested async error validation not working

Hey,
Not sure if this is a regression or bug but I'm having a hard time doing async validation with dynamic fields. #400 and #429 say that it was fixed back in v4 but I am experiencing the same issue where asyncError ends up in the array level instead of the field level of nesting.
Here's my asyncValidate function, note that the error object matches form.
const asyncValidate = (values) =>
  new Promise((resolve, reject) => {
    if (!values.stocks[0].ticker) {
      reject({
        stocks: {
          0: {
            ticker: 'err'
          }
        }
      });
    } else {
      resolve();
    }
  });

However in the reducer theasyncError key ends up at the level of 0 instead of at ticker
Like this

Maybe I am misunderstanding how this is supposed to work, any help would be much appreciated!

Having the same issue

Ok - just upgraded everything to v6 and I can see the errors in the store but I think the format is wrong. @erikras could you give a hint to how to format the errors data to get them to propagate correctly?

I'm up against this as well with an older 5.3.2 form.
Validation errors on nested children (an array of objects) don't display.
A rejected promise of form...
{ errors: { phone_numbers: [{description: 'broken0'}, { description: 'broken1' }]}}
Results in a state tree looking like...
form
-> My Form
--> {other_form_fields)
--> phone_numbers
---> 0
----> (other_phone_number_fields)
----> description
-----> touched: true
-----> _is_field_value: true
----> submitError
-----> description: "broken0"
---> 1
----> (other_phone_number_fields)
----> description
-----> touched: true
-----> _is_field_value: true
----> submitError
-----> description: "broken1"

FWIW I've made some progress working out what's going wrong and I'll note my findings in case anyone wants to take it up.
The issue is in the ADD_ARRAY_VALUE function of the reducer.
When the value argument is undefined (which it is when an object without default values is added to the array) nothing gets populated in the child object EXCEPT a _isFieldValue: true attribute. Later, when errors are set or fields are focused/blurred in the form more attributes get added to the object, each of which is an object in its own right with a _isFieldValue attribute as well.
However, when the setErrors method iterates over the errors object and mashes them into the array of child objects, because there is already a _isFieldValue attribute alongside the child attributes so the submitError/AsyncError field gets written at that level rather than continuing down the tree into the foo attribute for example.
`const state = {
last_name: {
_isFieldValue: true
},
children: [
{
_isFieldValue: true,
description: {
_isFieldValue: true
}
}
],
}
console.log(state)
const errors = {
last_name: "last name error",
children: [
{description: "description error"}
]
}
const newstate = {
...setErrors(state, errors, 'submitError')
};
console.log(newstate)
`
If this clarifies, with the  _isFieldValue: true attribute at the top level of the first child object in the arrray, the errors map incorrectly.  Remove that attribute and it correctly maps down into the final leaf of the description field.
The problem doesn't occur if something is provided in the forms initial state, even if its just a
children:{ foo: ""} The downside of this, is that a pristine form will open with a nested child already populated, which may or may not be what you want.
Cause I was in a hurry and I'll be upgrading the library to 6 shortly, I chose to hack the reducer.js in the ADD_ARRAY_VALUE function. This might be useful to someone.
   let newValue = makeFieldValue({value})     if (value !== null && typeof value === 'object') {       newValue = initializeState(value, fields || Object.keys(value))     } else if (value === undefined && Array.isArray(fields)) {       newValue = initializeState({}, fields)

Closing with bulk close of v5 issues. If this issue still requires action and/or also affects v6/7, please request a reopen with details or raise a new issue. v5 PR's are still welcomed.


grids: automate judge pc/mac or ios/ipadOS

Ref
https://webnetamemo.com/coding/jquery/201606253129

when any key pressed, then changed to ‘mouse’ mode.


Update aspnet-mvc-4-custom-action-filters.md

Fix parameter type mismatch.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@infinnie  nice catch.


amf-headers: 1.4.32 -> 1.4.33

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/GPUOpen-LibrariesAndSDKs/AMF/releases.
meta.description for amf-headers is: Headers for The Advanced Media Framework (AMF)
meta.homepage for amf-headers is: https://github.com/GPUOpen-LibrariesAndSDKs/AMF
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.33 in filename of file in /nix/store/925ifbjbkxsl846ncm1p3l71rnv2c9sa-amf-headers-1.4.33

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
amf-headers
sunshine

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/925ifbjbkxsl846ncm1p3l71rnv2c9sa-amf-headers-1.4.33 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A amf-headers https://github.com/r-ryantm/nixpkgs/archive/9ed863d225c9bbe549029afbafce8ccb343c5aa2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9ed863d225c9bbe549029afbafce8ccb343c5aa2#amf-headers

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/925ifbjbkxsl846ncm1p3l71rnv2c9sa-amf-headers-1.4.33
ls -la /nix/store/925ifbjbkxsl846ncm1p3l71rnv2c9sa-amf-headers-1.4.33/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

amf-headers
sunshine

Maintainer pings
cc @devusb for testing.

Result of nixpkgs-review pr 283477 run on x86_64-darwin 1

1 package built:

amf-headers


Can't open scene missing tres external resource

Godot version
4.2 fa1fb2a
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
I have a scene that has a dependency on a tres resource (doesn't matter type). You can't open it, there is parse error. In this case:
Cannot open file 'res://new_gradient_texture_2d.tres'.
Failed loading resource: res://new_gradient_texture_2d.tres. Make sure resources have been imported by opening the project in the editor at least once.
C:\godot_source\scene/resources/resource_format_text.cpp:284 - res://s.tscn:6 - Parse Error:
Failed loading resource: res://s.tscn. Make sure resources have been imported by opening the project in the editor at least once.
C:\godot_source\editor/editor_data.cpp:626 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).

A missing dependencies prompt shows normally, but pressing "Open Anyway" will just print the same errors and fail again. If an importable resource is missing (e.g. icon.svg), the scene will open normally.
Steps to reproduce

Create scene
Add any text-based resource to it (GradientTexture for example)
Close the scene
Delete resource
Try to open the scene

Minimal reproduction project
s.tscn.txt

I am debugging this and the reason why non-text resources work is that they return OK when the file is not found, while text resources will return ERR_CANT_OPEN, which aborts loading 😬


feat(all): add CLI flags for gRPC buffer management

What this PR does
Which issue(s) this PR resolves
Resolves #
Anything else
Include any links or documentation that might be helpful for reviewers.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#787  👈
#783
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ijsong and the rest of your teammates on  Graphite


[CI] Replace additional self-hosted runners from crossbow

Describe the enhancement requested
We missed https://github.com/apache/arrow/blob/4fe364efa4be98b35964509e0e3d57a421a48039/dev/tasks/tasks.yml#L1001 in #40077 and the 10.13 runner can also be replaced with gha macos-11 (12 once that is removed) as cran no longer uses 10.13 builders.
Component(s)
Continuous Integration

Issue resolved by pull request 40537
https://github.com/apache/arrow/pull/40537


Remove augeas defaults and allow modules to specify

Tag @igalic

Don't merge this yet. I'm still working on it....

Okay @igalic. Ready for review.

Actually, hold. It looks like PUPPET_VERSION isn't being honored.

We're good now.


Convert to using public JDK API

This is an attempt to use the JDK public API instead of the private one.
The advantage is that for JDK 17+ there should be (mostly) no need for --add-exports which should make it easier for tools that use this plugin e.g. Metals.
I can't test this completely locally as I'm using Windows and some tests won't run.
I'm also not entirely sure what the outputs should be.  In some cases they look better e.g. enums and for some parameterised types.
For the library tests there are a lot of differences but the correct packages seem to now be displayed in test results instead of _root_.
I have no idea how this affects performance.  Types, Trees and Elements now sometimes have to be queried to lookup data instead of being able to query the internal classes directly so maybe slower 🤷
I've changed the -targetroot:javac-classes-directory option to use reflection so --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED only has to be supplied if that option is specified.
Test plan
Rerun all the tests I guess

@olafurpg I've reverted the overrides search to use the internal API.  I've also switched to regex split for package names.
I've also managed to run the tests under WSL.
I guess I could fix the enums <init> reference by creating an <init> definition on enum itself - as is done with classes that don't have constructors.
This should be good enough to merge though.
I've highlighted internal API usage with warning comments.  Is it possible to test the performance of the overrides code?  I've left the public API version in the file but commented it out, so switching between public and private implementations should be easy for whoever is able to benchmark it.  There is another option for implementing using the public API if this one sucks.

Thank you @Arthurm1 ! The repo has JMH benchmarks that we can use to confirm performance claims. I will review the changes tomorrow and share instructions on how to run the benchmarks.

To fix the override suite, you need to manually update the string literal in the assertion. There's no automatic way to update that snapshot

@olafurpg
Using the public API is about 3% slower if I'm reading these results right? I'm no expert on benchmarking
Private API
[info] Result "benchmarks.CompileBench.compileSemanticdb":
[info]   N = 10
[info]   mean =  16387.775 ±(99.9%) 281.073 ms/op
[info]   Histogram, ms/op:
[info]     [16100.000, 16150.000) = 0
[info]     [16150.000, 16200.000) = 2
[info]     [16200.000, 16250.000) = 1
[info]     [16250.000, 16300.000) = 0
[info]     [16300.000, 16350.000) = 1
[info]     [16350.000, 16400.000) = 2
[info]     [16400.000, 16450.000) = 0
[info]     [16450.000, 16500.000) = 2
[info]     [16500.000, 16550.000) = 0
[info]     [16550.000, 16600.000) = 0
[info]     [16600.000, 16650.000) = 1
[info]     [16650.000, 16700.000) = 0
[info]     [16700.000, 16750.000) = 1
[info]   Percentiles, ms/op:
[info]       p(0.0000) =  16151.304 ms/op
[info]      p(50.0000) =  16379.456 ms/op
[info]      p(90.0000) =  16724.546 ms/op
[info]      p(95.0000) =  16737.928 ms/op
[info]      p(99.0000) =  16737.928 ms/op
[info]      p(99.9000) =  16737.928 ms/op
[info]      p(99.9900) =  16737.928 ms/op
[info]      p(99.9990) =  16737.928 ms/op
[info]      p(99.9999) =  16737.928 ms/op
[info]     p(100.0000) =  16737.928 ms/op
[info] # Run complete. Total time: 00:09:34
[info] REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
[info] why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
[info] experiments, perform baseline and negative tests that provide experimental control, make sure
[info] the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
[info] Do not assume the numbers tell you what you want them to tell.
[info] Benchmark                       (lib)  Mode  Cnt      Score     Error  Units
[info] CompileBench.compile            guava    ss   10  10235.191 ± 239.764  ms/op
[info] CompileBench.compileSemanticdb  guava    ss   10  16387.775 ± 281.073  ms/op
[success] Total time: 585 s (09:45), completed Jul 26, 2023, 10:52:52 AM

Public API
[info] Result "benchmarks.CompileBench.compileSemanticdb":
[info]   N = 10
[info]   mean =  16835.790 ±(99.9%) 166.706 ms/op
[info]   Histogram, ms/op:
[info]     [16600.000, 16650.000) = 0
[info]     [16650.000, 16700.000) = 2
[info]     [16700.000, 16750.000) = 0
[info]     [16750.000, 16800.000) = 1
[info]     [16800.000, 16850.000) = 1
[info]     [16850.000, 16900.000) = 4
[info]     [16900.000, 16950.000) = 1
[info]     [16950.000, 17000.000) = 0
[info]     [17000.000, 17050.000) = 1
[info]   Percentiles, ms/op:
[info]       p(0.0000) =  16653.959 ms/op
[info]      p(50.0000) =  16853.743 ms/op
[info]      p(90.0000) =  17013.641 ms/op
[info]      p(95.0000) =  17026.258 ms/op
[info]      p(99.0000) =  17026.258 ms/op
[info]      p(99.9000) =  17026.258 ms/op
[info]      p(99.9900) =  17026.258 ms/op
[info]      p(99.9990) =  17026.258 ms/op
[info]      p(99.9999) =  17026.258 ms/op
[info]     p(100.0000) =  17026.258 ms/op
[info] # Run complete. Total time: 00:09:38
[info] REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
[info] why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
[info] experiments, perform baseline and negative tests that provide experimental control, make sure
[info] the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
[info] Do not assume the numbers tell you what you want them to tell.
[info] Benchmark                       (lib)  Mode  Cnt      Score     Error  Units
[info] CompileBench.compile            guava    ss   10   9931.021 ± 134.260  ms/op
[info] CompileBench.compileSemanticdb  guava    ss   10  16835.790 ± 166.706  ms/op
[success] Total time: 585 s (09:45), completed Jul 26, 2023, 11:51:50 AM

You should be able to merge this PR now as tests pass

Reworked to cache all Trees in a Map until full scan is complete.  Then tree references can be looked up directly in the Map (which caused a lot of the performance drop off).
Now performance is on par with current release...
Private API (current release)
[info] Benchmark                       (lib)  Mode  Cnt      Score     Error  Units
[info] CompileBench.compile            guava    ss   10   9915.177 ± 189.343  ms/op
[info] CompileBench.compileSemanticdb  guava    ss   10  12442.871 ± 295.333  ms/opn

Public API (this PR)
[info] Benchmark                       (lib)  Mode  Cnt      Score     Error  Units
[info] CompileBench.compile            guava    ss   10  10338.916 ± 246.845  ms/op
[info] CompileBench.compileSemanticdb  guava    ss   10  12200.354 ± 716.330  ms/op

Hey @Arthurm1 sorry for radio silence on this PR - I will take a look and re-run benchmarks just to reproduce what you are seeing.
Exciting times!

@keynmol  No worries.  I've got a final commit that I want to push through - changing a HashMap to a LinkedHashMap to preserve ordering so the tests don't keep showing different local XX numbers depending on what machine they're run on.
Should make the differences easier to review.
Give me 10 mins.

@keynmol Sorry - accidentally included some notes so pushed twice
All done I think - you should be able to test performance.

@Arthurm1 This morning I ran the benchmarks on my linux machine, glanced at them, put them in a file and... left the house without pasting the results 🤦
From my quick glance I could confirm the performance was on part over 10 warmup iterations and 10 iterations. I'll review the PR with that in mind, and will paste the results later today to make sure there's no regression.

I finally got back to that machine - benchmarks look good!
main:

[info] CompileBench.compile              bytebuddy    ss   10  2293.563 ± 147.362  ms/op
[info] CompileBench.compile                  guava    ss   10  3065.379 ± 107.811  ms/op
[info] CompileBench.compileSemanticdb    bytebuddy    ss   10  2871.277 ± 109.309  ms/op
[info] CompileBench.compileSemanticdb        guava    ss   10  3856.719 ±  61.454  ms/op
[info] ScipSemanticdbBench.json                N/A    ss   10  3154.109 ±  41.637  ms/op
[info] ScipSemanticdbBench.jsonParallel        N/A    ss   10  2208.542 ±  53.408  ms/op

This PR

[info] CompileBench.compile              bytebuddy    ss   10  2294.170 ± 97.459  ms/op
[info] CompileBench.compile                  guava    ss   10  2921.679 ± 37.208  ms/op
[info] CompileBench.compileSemanticdb    bytebuddy    ss   10  3016.769 ± 35.410  ms/op
[info] CompileBench.compileSemanticdb        guava    ss   10  3789.773 ± 76.272  ms/op
[info] ScipSemanticdbBench.json                N/A    ss   10  3144.038 ± 33.890  ms/op
[info] ScipSemanticdbBench.jsonParallel        N/A    ss   10  2226.563 ± 60.759  ms/op

I'll take one more look tomorrow morning and we'll merge and release this


AL - Add bug report issue template

This PR adds an issue template for bug reports. The issue template contains the following five sections, each with a comment describing what it is supposed to include.

Description
Steps to Reproduce
Expected Behavior
Observed Behavior
Screenshots and Logs (if any)

Additionally, the "bug" label is applied by default to all bug reports.
See this issue for a sample.
This PR was initially introduced in proj-ucsb-courses-search.

Corresponding change was already approved in proj-ucsb-courses-search, so I'll merge with only one approval.


MSIs missing from blob-feed generated assets.

After building repos that create installers like msis, the blob feed is missing these outputs. It's probable that the VMR orchestration logic is just looking for zip files.

@NikolaMilosavljevic can you please help with that? I think you recently touched related code paths when you created the repo manifest file.

I think this got fixed with https://github.com/dotnet/runtime/commit/c14756053274198203dd472c7bc99be1f3fe532d


Add libSyntax support for #gradient, #valueAndGradient, #adjoint.

Define GradientExpr and AdjointExpr syntax nodes.

Share code with @differentiable attribute node (DifferentiationParameterList).

Simplify parseTypeIdentifier function (reduce custom logic).
Add round-trip parse tests.

@nkcsgexi Could you please review this PR? That would be appreciated!

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

I haven't looked into the implementation, but unifying the param list syntax of @differentiable and #gradient sounds a bit dangerous. @differentiable supports a self argument whereas #gradient doesn't.

@rxwei It seems #gradient currently does support a self argument, at least during parsing. Should self not be supported?

It shouldn’t be supported.

@rxwei I see - I'll disable self differentiation parameter for #gradient, then proceed with this PR.

self differentiation parameter has been disabled for #gradient.
libSyntax has been updated so that #gradient no longer shares param list syntax with @differentiable.

@swift-ci Please test tensorflow


print actual template errors on $stderr

Previously the EvaluatingParser would implicitly call its own
#assert_and_report() method, which in turn hands it over to the
IssueReporter#assert_and_report() that tries to utilize puppet's
internal logging but in our rake task this is not properly setup and
thus the logged errors get lost.
The result just leaves the validation summary output, e.g.:
Language validation logged 2 errors. Giving up (file: templates/configs/jenkins_casc.sh.epp)

Which obviously isn't very helpful to the user.
This commit reworks the epp parsing and validation rake task, so that it
instead prints out a nice summary on $stderr that contains all
necessary information, e.g.:
ERRORS:
templates/configs/jenkins_casc.sh.epp:1:17: Illegal parameter name. The given name 'CASC_JENKINS_CONFIG' does not conform to the naming rule /^[a-z_]\w*$/
templates/configs/jenkins_casc.sh.epp:4:33: Illegal variable name, The given name 'CASC_JENKINS_CONFIG' does not conform to the naming rule /^((::)?[a-z]\w*)*((::)?[a-z_]\w*)$/

great point, added STDOUT.puts() for the warnings as well.
also parser exceptions are not properly rescued and added to the errors[] array, which make rake spec pass again.

Good work on this! I think there is one more case to consider wrt. exceptions - I think there may be a LexError as well if the template does not even lex ok - for example a malformed number, string that isn't closed etc.

There is a generic "catchall" rescue here: https://github.com/voxpupuli/puppet-syntax/pull/125/files#diff-a8986ba30354c68e43b0dc3441e884a2R61 which should take care of that.


Issue when using this plugin in conjunction with a remote ADO Repo

Does this occur consistently? Yes
Repro steps:

I have a separate VS Code profile set up, not sure if that matters. But I only have an ARM template open in the one profile.
Connect to a remote Azure DevOps Repo (using the Azure Repos plugin)
Open a .json file that is configured with the Azure Resource Manager Template language.

Action: Language Server Error
Error type: Error
Error Message: The connection to the ARM Template Language Server got closed.
Version: 0.15.11
OS: darwin
OS Release: 23.0.0
Product: Visual Studio Code
Product Version: 1.82.0
Language: en

Call Stack
extension.bundle.js:29:204152
callWithTelemetryAndErrorHandlingSync extension.bundle.js:16:248270
WrappedErrorHandler.closed extension.bundle.js:29:204035
LanguageClient.handleConnectionClosed extension.bundle.js:16:170156
LanguageClient.handleConnectionClosed extension.bundle.js:29:71022
closeHandler extension.bundle.js:16:168118
CallbackList.invoke vscode-languageserver-protocol/vscode-jsonrpc/events.js:55:39
Emitter.fire vscode-languageserver-protocol/vscode-jsonrpc/events.js:117:36
closeHandler vscode-languageserver-protocol/vscode-jsonrpc/connection.js:256:26
CallbackList.invoke extension.bundle.js:16:310204
Emitter.fire extension.bundle.js:16:310988
StreamMessageReader.fireClose extension.bundle.js:29:143245
Socket.<anonymous> extension.bundle.js:29:144905

Additional info from Output
Unhandled exception. System.UriFormatException: Invalid URI: The hostname could not be parsed.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri..ctor(String uriString, UriKind uriKind)
   at OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters.AbsoluteUriConverter.ReadJson(JsonReader reader, Type objectType, Uri existingValue, Boolean hasExistingValue, JsonSerializer serializer)
   at Newtonsoft.Json.JsonConverter`1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.FindDescriptor(String method, JToken params)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.FindDescriptor(IMethodWithParams instance)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.GetDescriptor(Request request)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.OmniSharp.Extensions.JsonRpc.IRequestRouter<OmniSharp.Extensions.JsonRpc.IHandlerDescriptor>.GetDescriptor(Request request)
   at OmniSharp.Extensions.JsonRpc.InputHandler.HandleRequest(String request)
   at OmniSharp.Extensions.JsonRpc.InputHandler.ProcessInputStream()
   at System.Threading.Thread.StartCallback()
Error: The connection to the ARM Template Language Server got closed.
[Info  - 3:51:22 PM] Connection to server got closed. Server will restart.

@jasontenpenny I'm having trouble reproducing this.  For instance, I opened the following repo: https://github.com/stephenweatherford/template-examples
and opened a template file in it: apiprofile3.json
It opens fine.  I did have to manually change the language to Azure Resource Manager Template instead of json.
If I right-click on the file tab and select "Copy remote file URL", I get this: https://github.com/StephenWeatherford/template-examples/blob/55755e9cae7462210f20c75368c8315082b3f90e/apiprofile3.json
Under "additional output" above, the error given was:
Unhandled exception. System.UriFormatException: Invalid URI: The hostname could not be parsed.

so I was thinking it was probably to do with the remote URL, but worked fine for me.
What's the remote URI of the file you're having trouble with?

@StephenWeatherford I haven't had the issue when editing GitHub files. I've only seen it when trying to edit files in Azure DevOps repositories. I believe this ability relies on the "Azure Repos" extension, so I'm guessing there's some kind of interop issue between them or something.

@StephenWeatherford  I can reproduce the exact same behavior. The problem only occurs in connection with the "Azure Repos" extension. A fix or a workaround would be much apprecheated.

What's the format of the URI you get if you right-click on the file tab and select "Copy remote file URL"?

I don't see that menu option, even if I try it from a local clone. Maybe I'm missing something?

Something else interesting, is that the "Azure Resource Manager Template" language mode is no longer presented as an option when I'm viewing a file from a remote repository. That's something that has changed since I opened this issue, so not sure if an extension update is responsible for that or what. As a result, I can't reproduce the error messages, but I also still cannot view an ARM template from a remote repository with the proper markup.

Everything still appears to be working as expected when I'm using a local clone.

You have to right-click on the tab, not the editor.

I haven't made any changes for that in the extension, but I can't investigate right now.

Ah ok, I figured it out. That option is enabled by the GitLens plugin, which I didn't have.
So when browsing a remote ADO repository using the "Azure Repos" plugin, the remote URL is in the following pattern:
github.com/[Organization]/[Project]/blob/[Branch]/[Repo]/path/to/file.json.
I would expect it to be one of the following (which is what happens when doing a local clone):
[Organization].visualstudio.com/[Project]/_git/[Repo]?path=/path/to/file.json?version=GB[Branch]
dev.azure.com/[Organization]/[Project]/_git/[Repo]?path=/path/to/file.json?version=GB[Branch]

Probably same isssue as https://github.com/Azure/bicep/issues/11467#issuecomment-1745503349

It's looking like we're going to have to disable the Bicep extension for this scenario.


Mouse, Click events not detected?

Hello,
I was playing with Blessed today, but it seems that the mouse and click events are not detected for some reason. I'm using OSX terminal, and lunching the app using node app.js if it matters.
Note: I even copied the snippets from the readme and no success.
Thanks in advance!

@MohammedFadin, I played around with Terminal.app today. It does not support mouse events. iTerm2 is probably better, and does support mouse events (however, it does not display ACS correctly). Honestly, I would say your best bet for a terminal on OSX is to run a headless X11 server and open an xterm+tmux or urxvt+xterm.

@MohammedFadin FYI you can get mouse support in Terminal.app using SIMBL+MouseTerm, though iTerm2 is decidedly better.


Refactor twitter feed

The GGP Twitter feed does not show up nicely in responsive layout.
Originally posted by @alexjball in https://github.com/codeforboston/advocacy-maps/pull/239#r813288128

@jkoren we've removed the Twitter feed from the about page, so I think we can close this one.


[Bug] Availability List : out of range

Scheduling crashes when Di > Ti with the current version.

Might have to do with preemptivity


lan8740 and lan8742 error fix v4.1 (IDFGH-5345)

Have implemented a working prototype with esp32-wroom-32e and phy lan8740 with this fix

Hi @kostaond can you get this fix to other relases as well for example (4.3) and coordinate wtih PR #7269 ?

Thanks @kostaond. And let me me know if you backport it.

@AtleHUndrum I internally consulted and we usually backport bugfixes, not new features. This update is considered as feature addition since it extends currently supported chips. Therefore I tend to not backport. I hope you understand our position.

Thanks for your contribution, changes have been merged with https://github.com/espressif/esp-idf/commit/404905d5f117ce58badb5ebb56b01ff6384ec744.


Feat: adding a customized Scroll Bar

Describe the feature
It would be great if the website has it's customized scroll bar. I would like to work upon this. Can you please assign me this issue under Gssoc'24?
Add ScreenShots
Right now, this is the default scroll bar. I would add a designed scroll bar that aligns with the color theme of the website

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@anagha-chaudhari can you share some demo or any screenshot which type of change you want to contribute us.

Sure @mdazfar2

https://github.com/mdazfar2/HelpOps-Hub/assets/143149376/d1dab650-0589-452c-ab96-c8aa6427ea0c

@anagha-chaudhari you are assigned


Kubernetes: syntax error near unexpected token `done'

Issue description
Experimenting with kubernetes with master and node on localhost: kubernetes roles are well defined, still nixos-rebuild switch --upgrade fails:
warning: the following units failed: kube-control-plane-online.service

● kube-control-plane-online.service - Kubernetes control plane is online
   Loaded: loaded (/nix/store/ab32b9pq98p733chdlmgrxg6lx2mldp5-unit-kube-control-plane-online.service/kube-control-plane-online.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-06-20 01:04:58 CEST; 1s ago
  Process: 4147 ExecStartPre=/nix/store/wdnlnknjn74rlydq4h0268084pyvm8bz-unit-script-kube-control-plane-online-pre-start (code=exited, status=2)

Jun 20 01:04:58 nixos systemd[1]: Starting Kubernetes control plane is online...
Jun 20 01:04:58 nixos wdnlnknjn74rlydq4h0268084pyvm8bz-unit-script-kube-control-plane-online-pre-start[4147]: /nix/store/wdnlnknjn74rlydq4h0268084pyvm8bz-unit-script-kube-control-plane-online-pre-start: line 5: syntax error near unexpected token `done'
Jun 20 01:04:58 nixos systemd[1]: kube-control-plane-online.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Jun 20 01:04:58 nixos systemd[1]: kube-control-plane-online.service: Failed with result 'exit-code'.
Jun 20 01:04:58 nixos systemd[1]: Failed to start Kubernetes control plane is online.
warning: error(s) occurred while switching to the new configuration

Steps to reproduce
  services.kubernetes = {
   roles = ["master" "node"];
   addons.dashboard.enable = true;
   masterAddress = "localhost";
  };

Technical details
sudo nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.52, NixOS, 19.09pre183392.83ba5afcc96 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.09pre183392.83ba5afcc96"`
 - channels(ebonetti): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Thanks for this great OS, keep up the great work :)
Enrico Bonetti Vieno

Probably a duplicate of #60687

Closing as duplicate indeed

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixosstag.fcio.net/t/stuck-on-bug-while-trying-to-install-kubernetes/3252/1


Calculation of SMP mix(Step 5, part 3) Cypress Test

Write Cypress test for Step 6 of the Parent tree and SMP test plan. Check details here - https://github.com/bcgov/nr-spar/issues/1440

RO into 36


Which converters could use an efficiency slider?

Households

households_solar_pv_solar_radiation
households_water_heater_heatpump_air_water_electricity
households_water_heater_heatpump_ground_water_electricity
households_space_heater_heatpump_add_on_electricity
households_space_heater_heatpump_air_water_electricity
households_space_heater_heatpump_ground_water_electricity
households_cooling_heatpump_air_water_electricity
households_cooling_heatpump_ground_water_electricity
households_water_heater_micro_chp_network_gas
households_space_heater_micro_chp_network_gas
households_water_heater_fuel_cell_chp_network_gas

Buildings

buildings_solar_pv_solar_radiation
buildings_cooling_heatpump_air_water_network_gas
buildings_space_heater_heatpump_air_water_network_gas
buildings_cooling_airconditioning_electricity
buildings_cooling_collective_heatpump_water_water_ts_electricity
buildings_cooling_collective_cooling_network_electricity

Agriculture

agriculture_heatpump_water_water_ts_electricity

Energy

energy_power_solar_csp_solar_radiation
energy_power_solar_pv_solar_radiation

Transport

transport_car_using_electricity
transport_truck_using_electricity

Comments
I don't know about the potential for improvement for

airconditioners

Assigning to @AlexanderWirtz for review

@ChaelKruip good list. My thoughts:

I would rather start with all electricity (power) production options (not the CHP ones, although some may depend on the electricity efficiency sliders for power plants). Conventional plants excluded of course, since they will not improve anymore.
The car and truck already have such sliders
Heating options are secondary I would say

What do you think? How much time would it take to at least create the update statements to be able to adjust electricity output efficiencies for all electricity producing technologies, except the conventional ones? This way we can at least change these using the API

I would rather start with all electricity (power) production options (not the CHP ones, although some may depend on the electricity efficiency sliders for power plants). Conventional plants excluded of course, since they will not improve anymore.

@AlexanderWirtz I think it would be easiest if you add the ones you have in mind to the list above since you seem to have clear ideas about which are relevant.

The car and truck already have such sliders

I have removed them

How much time would it take to at least create the update statements to be able to adjust electricity output efficiencies for all electricity producing technologies, except the conventional ones?

One day I would think. The main issues I foresee are:

research for the slider caps
possible complexities with co-firing plants (how are the efficiencies for multiple input carriers related?)

@AlexanderWirtz where would you think these sliders should be placed? Next to the number_of_units sliders for relevant technologies? Or should we make a new sidebar item (section) for efficiencies?

HAS this issue beenanswered, @ChaelKruip

I think so, further discussion will follow but this can be closed.


.nvmrc breaks nvm install when there is a new line

Operating system and version:
Cent OS 6
nvm debug output:

nvm --version: v0.33.8
$SHELL: /bin/bash
$HOME: /home/db3
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)'
uname -a: 'Linux 2.6.32-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux'
OS version: CentOS release 6.6 (Final)
curl: /usr/bin/curl, curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/<IP_ADDRESS> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
wget: /usr/bin/wget, GNU Wget 1.12 built on linux-gnu.
git: not found
grep: /bin/grep, GNU grep 2.6.3
awk: /bin/awk, GNU Awk 3.1.7
sed: /bin/sed, GNU sed version 4.2.1
cut: /bin/cut, cut (GNU coreutils) 8.4
basename: /bin/basename, basename (GNU coreutils) 8.4
rm: /bin/rm, rm (GNU coreutils) 8.4
mkdir: /bin/mkdir, mkdir (GNU coreutils) 8.4
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.4.2
nvm current: v7.2.0
which node: $NVM_DIR/versions/node/v7.2.0/bin/node
which iojs: which: no iojs in ($NVM_DIR/versions/node/v7.2.0/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/bin)
which npm: $NVM_DIR/versions/node/v7.2.0/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v7.2.0
npm root -g: $NVM_DIR/versions/node/v7.2.0/lib/node_modules

nvm ls output:

->       v7.2.0
default -> 7.2.0 (-> v7.2.0)
node -> stable (-> v7.2.0) (default)
stable -> 7.2 (-> v7.2.0) (default)
iojs -> N/A (default)
lts/* -> lts/carbon (-> N/A)
lts/argon -> v4.8.7 (-> N/A)
lts/boron -> v6.12.3 (-> N/A)
lts/carbon -> v8.9.4 (-> N/A)

How did you install nvm? (e.g. install script in readme, homebrew):
install script in readme

What steps did you perform?
nvm install

What happened?

>ound '/home/db3/delta-bot-three/.nvmrc' with version <7.2.0
' not found - try `nvm ls-remote` to browse available versions.

What did you expect to happen?
it correctly pick up the version 7.2.0

Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?
no

Here is how my .nvmrc file looks like
7.2.0

The new lines is CR LF

@MystK wanna try if #1740 fixed your problem :smile: ?

tested and it worked!


Create a reusable Search Bar Component

Goal
Create a reusable Search Bar Component.
Note: This should be a generic Search Bar which can be customized via props.

Hi @wdevon99, I'd like to work on this. What kinds of props are you looking for?

@sanskar-p Sure!

The search bar basic input props such as "onChange"
Also should be able to override styles with props (eg: "containerStyle" prop)

These are just some, you can be creative and make it very generic and highly customizable.

hi @wdevon99 , I would like to work on this, but on cloning the project and after installing the dependencies, i get a error can you help me resolve this error so i can start working on this issue

hi @wdevon99 , I would like to work on this, but on cloning the project and after installing the dependencies, i get a error can you help me resolve this error so i can start working on this issue

Hi @kartikmandhan try mannualy adding the missing plugin :)

is this issue open? Is there any specific design for the search bar UI?

can i work on this

Is this issue still open ?

@wdevon99 can you review my PR?

Already completed in #176


No such host error when running ansible scripts

This is the error code.
fatal: [node-1-2 -> None]: FAILED! => {"changed": true, "cmd": "/usr/bin/etcdctl --no-sync --peers=http://node-1-2:2379 set /cluster.local/network/config < /tmp/flannel-conf.json", "delta": "0:00:00.014388", "end": "2016-03-29 16:04:55.553188", "failed": true, "rc": 4, "start": "2016-03-29 16:04:55.538800", "stderr": "Error:  client: etcd cluster is unavailable or misconfigured\nerror #0: dial tcp: lookup node-1-2: no such host", "stdout": "", "stdout_lines": [], "warnings": []}

node-1-2 is a node name which I created in the inventory.
But in the cmd, the OS can not detect what it is.
Ansible won't add it to the hosts automatically?

Most likely the node-1-2 can not be resolved. Does the node name has entry in /etc/hosts?


Question about API token

Hi, I'm using your uploader.py in an automated server script that runs as nobody user for security reasons.
On Linux, the nobody user doesn't have a home directory, so it is not possible to store the token in ~/.heavy/token.
To work around this issue I hacked your uploader.py so that the token can be passed as a command line argument (I can provide a patch, if you are interested).
Reading the source code of uploader.py I noticed that under some conditions, the token may be updated:
# update the api token, if present
if "token" in reply_json.get("meta",{}) and not args.x:
    if not os.path.exists(os.path.dirname(token_path)):
        os.makedirs(os.path.dirname(token_path)) # ensure that the .heavy directory exists
    with open(token_path, "w") as f:
        f.write(reply_json["meta"]["token"])
    os.chmod(token_path, stat.S_IRUSR | stat.S_IWUSR) # force rw------- permissions on the file

I wanted to ask you if and under what conditions this could happen. If it is likely to happen, I may need to make further changes to my code.
My apologies if this is not the right place to ask for support.

The token very rarely changes. There is the opportunity for us to do so, such as in the case of account abuse. At this time, it would be ok even to hardcode it.
I'd love to see your changes as well. Email might be the best option for now (or a .patch file, whatever's easier for you). Thank you!


Embed video

Embed video
Trello card
Context
Changes proposed in this pull request
Guidance to review

Hi @philspray – I've embedded the video but can't create an h3 above it. Not sure why but when you have a chance it would be great if you could take a look.


Add test to CI that executes all notebooks

to make sure all notebooks run through upon push into main.

fixed with #1232 : add slow tests that executes all notebooks in tutorials/


Create list/gallery of datasets available in fetch

Description of the desired feature:

Automatically extract function from fetch to create either a list of datasets, or a gallery of thumbnails of the datasets.
Are you willing to help implement and maintain this feature?

Yes

My wish-list for this feature would include making some basic metadata accessible as well. For example, dataset version and source/citation.


Update supported languages in topics-language-support.md

Closes https://github.com/MicrosoftDocs/Viva/issues/400.

@ruthholls PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Add Command Formatting Issues

Typing "add formattingProblem123 n/John Doe p/98765432<EMAIL_ADDRESS>a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney" should generate an "Invalid command format!" message, since we are not adhering to the correct format of the command.
However, this does not trigger the error message, and the person is successfully added instead (does not generate any problems though)

Thanks, I've reproduced this. Seems to be a side effect of 17aceb2eb3fb492aa8541c6224d530a2836b3777
PRs welcome :-)

Marking this as first timers. I think the only fix we need to do is to ensure that argMultimap.getPreamble() is empty in AddCommand, as well as adding a test for this.


Creating alternate field names (similar to alias) but use those only to parse input

Hello!
I basically have an API that sends responses with different field names than the ones I'd like to use and save. For example:
API Response:  {'abcd': 'Test Name', 'efgh': 'Test City'}
I'd like to create a pydantic model that is able to create an instance from such an object, but save it as follows: {'first_name': 'Test Name', 'city': 'Test City'}
Marshmallow has such a feature called data_key, where you could specify this 'alias-like' argument:
# Actual marshmallow code
city = fields.Str(data_key="8pial")

I don't believe this is what alias is for, as it seems to save '8pial' in the database (on model serialization). My requirement is using this 'data-key' only on model interpretation.
Thanks!

Hi
I don't understand why you say alias doesn't work for you
from pydantic import BaseModel, Field

class User(BaseModel):
    first_name: str = Field(alias='abcd')
    city: str = Field(alias='efgh')

payload = {'abcd': 'Test Name', 'efgh': 'Test City'}
user = User(**payload)
print(repr(user))
# User(first_name='Test Name', city='Test City')
print(user.dict())
# {'first_name': 'Test Name', 'city': 'Test City'}

Did I not understand your question properly?

Hi
I don't understand why you say alias doesn't work for you
from pydantic import BaseModel, Field

class User(BaseModel):
    first_name: str = Field(alias='abcd')
    city: str = Field(alias='efgh')

payload = {'abcd': 'Test Name', 'efgh': 'Test City'}
user = User(**payload)
print(repr(user))
# User(first_name='Test Name', city='Test City')
print(user.dict())
# {'first_name': 'Test Name', 'city': 'Test City'}

Did I not understand your question properly?

Hmm no you did actually. It seems like I have a bug on my team's end! This makes so much more sense now thanks @PrettyWood !

Hmm no you did actually. It seems like I have a bug on my team's end! This makes so much more sense now thanks @PrettyWood !


(embassy-rp): Add I2C master implementation

This PR adds both blocking and DMA based async implementations of I2C master.
Both E-H 0.2 & E-H 1.0 abstractions are implemented as well.
Questions & concerns:

Do we need an I2C interrupt handler (for transfer done, abort & error handling?) (async only)
Do we need to add some automatic attempt at unblocking an I2C bus in case of failures (see ref: https://github.com/fivdi/pico-i2c-dma/blob/7ebfd553f3ce5b5b210d53102b0ecca158172633/src/i2c_dma.c#L116-L142)
Should I add vectored_{read, write} implementations?

Given that i have no hardware to test async I2C with, I am inclined to split the blocking and async parts into two PR's here, so we can merge the blocking part & continue working on the async part?

Moved the async part into #978.
This PR with just the blocking implementation should be good to go now :+1:

bah

rebased
bors r+


store RelayState sent by country in order to send back with eiDAS SAML Response

A small PR to store the RelayState sent by the country as part of its Authn request.
The RelayState is stored in the http session, and logged.

Closing; will merge into integration PR


Add support for TC4400 modem

You could use something this Technicolor modem scraper in the meantime - it's built around MQTT, but if you prefer JSON, it's trivial to modify.

Good advice, thanks!


I get an error from AnimeSearchCommands.cs every time I start NadekoBot.

Every time I start NadekoBot, I am greeted with this error in the Command Prompt.

How do I fix this? I have tried looking at the code at that specific line, but the fact is that I do not know anything about C# so can someone please help me.
By the way this is the code

Thank you for your time.

Don't mess with the code, just update to latest.


mycmd: Custom spec from example doesn't work for me

Current Behavior
I just tried the example from Spec, however it doesn't work for me.
Expected Behavior
It should work as the asciinema casts
Steps To Reproduce

$ cat ~/.config/carapace/specs/mycmd.yaml

# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name: mycmd
description: my command
flags:
  --optarg?: optarg flag
  -r, --repeatable*: repeatable flag
  -v=: flag with value
persistentflags:
  --help: bool flag
completion:
  flag:
    optarg: ["one", "two\twith description", "three\twith style\tblue"]
    v: ["$files"]
commands:
- name: sub
  description: subcommand
  completion:
    positional:
      - ["$list(,)", "1", "2", "3"]
      - ["$directories"]

Run source <(carapace _carapace) in bash
Input mycmd in commandline and press Tab, however, nothing appears

Version
1.0.0
OS

[ ] Linux
[X] OSX
[ ] Windows

Shell

[X] Bash
[ ] Elvish
[ ] Fish
[X] Nushell
[ ] Oil
[ ] Powershell
[ ] Xonsh
[ ] Zsh

Anything else?
$ cat ~/.config/carapace/specs/git.yaml
# yaml-language-server: $schema=https://carapace.sh/schemas/command.json
name:  git
description: the stupid content tracker
parsing: disabled
completion:
  positionalany: ["$carapace.bridge.Fish([git])"]

The git completion works for me in bash

Can you check from where the specs are loaded?
carapace -h
# Specs are loaded from ...

Unless XDG_CONFIG_HOME is set the default path in osx is ~/Library/Application Support/carapace/specs.

Shell parameter is optional and if left out carapace will try to detect it by parent process name.
Some completions are cached at [/Users/hustcer/Library/Caches/carapace].
Config is written to [/Users/hustcer/Library/Application Support/carapace].
Specs are loaded from [/Users/hustcer/Library/Application Support/carapace/specs].
I have just copied mycmd.yaml to /Users/hustcer/Library/Application Support/carapace/specs and ran source <(carapace _carapace), still has no luck

Is it limited to bash? The default version in osx is quite ancient.
You can update it with homebrew:
brew install bash


How to upload Bitmap image to Aws Server ?

Hi ,I am using this demo for uploading images to s3 uploader.As in this demo Images which are uploading that are in Uri Format,but i want to upload the bitmap images to S3 uploader.
I am not getting any solution for this .So i need it fastly if there is any solution then share with me.
Thanks

@wdade so where is the answer to this question I don't seem to find how to upload bitmap and not Uri to S3 too.

The S3 Transfer Manager allows uploading via files.  If you have the bitmap as a file, then you can just upload it using the bucket name/key.  See http://docs.aws.amazon.com/AWSAndroidSDK/latest/javadoc/  (Mobile connectors --> TransferManager --> TrasnferManager --> upload methods)


might be able to simplify a bit

interesting library!
in looking at models/Account.rs, I noticed this pattern repeated a lot
        if let Some(val) = self.value.get("_description") {
            return Some(Element {
                value: Cow::Borrowed(val),
            });
        }
        return None;

is it possible you think to make a Prism for that?
it'a a way to define a getter/setter pair for an object, or none, if it doesn't exist.
I literally don't know rust yet but it might be something like this:
let description_prism: ResourcePrism = ResourcePrism::from_str("_description")
let maybe_description: Option<Element> = view(description_prism, account)

not sure if there's a great rust crate for functional programming optics but even if you rolled it yourself it would allow you to delete a lot of code!
plus you could immutably update the resources with the same strategy
let account_with_new_description: Account = over(description_prism, always("my new description!"), account)

heck, you could make an abstract resource, and it's got any resource json in it, and it can just look up the validator for the resource type written in the json. then you could write 1 struct instead of 145, and a bunch of prisms, and the whole thing might fit in one file

Love these ideas. I don't do much Rust. Let me add my generation script to the repo so that people can propose changes to it.


Added an example for classification using iris dataset

Hi,
I have created an example that does simple classification on the famous Iris dataset using the Toy nn lib by loading and parsing a csv file.
Please let me know if it is helpful :)
Thanks.

This is great! At the moment, this is a "client-side" library only. I am not at all opposed to turning it into a node package or creating node examples, but what do you think about making a version of this that is client-side and uses p5's loadTable()?

@shiffman Sure it shouldn't be much of a problem to put it into an index.html file. But also I think we can make the nn lib capable of running on both nodejs and web browser, simultaneously. Well that is how most of the npm packages work. We would only export it if module !== undefined . Nevertheless I will update once I make it into a html file


Refactor ColumnMetaData class, remove "notNull", "autoIncrement" fields.

Fixes #3701 .
Changes proposed in this pull request:

Refactor ColumnMetaData, EncryptColumnMetaData, ShardingGeneratedKeyColumnMetaData classes, remove "notNull", "autoIncrement" fields.
Refactor TableMetaDataLoader and EncryptRuntimeContext classes, remove load "notNull", "autoIncrement" info.
Refactor QueryHeader, get notNull and autoIncrement info by ResultSetMetaData.
Fix unit test.

Pull Request Test Coverage Report for Build 1119

5 of 10 (50.0%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.02%) to 68.123%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/sharding-core-common/src/main/java/org/apache/shardingsphere/core/metadata/column/EncryptColumnMetaData.java
0
1
0.0%

sharding-core/sharding-core-common/src/main/java/org/apache/shardingsphere/core/metadata/column/ShardingGeneratedKeyColumnMetaData.java
0
1
0.0%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/metadata/TableMetaDataLoader.java
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-core/sharding-core-common/src/main/java/org/apache/shardingsphere/core/metadata/column/ShardingGeneratedKeyColumnMetaData.java
1
0.0%

sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/query/QueryHeader.java
1
78.95%

Totals

Change from base Build 601:
0.02%

Covered Lines:
11382

Relevant Lines:
16708

💛  - Coveralls


Had to add a 'PSPC' instrument (without a B or C) to the ROSATPointed mission

This is because there are entries in the ROSMASTER catalogue which just say PSPC in the instrument column, rather than PSPC-B or PSPC-C. I'll email them about it, but for now if the user has selected either PSPC instruments then the 'generic' PSPC observations will be acquired as well.
If HEASArc sorts this, or if I construct a different way to get around this, then that will be removed.

Chatted to someone at HEASArc, and apparently these are all the finishing-up RASS pointings, which were for some reason just labelled as PSPC rather than PSPCB. As such I replace those entries in the table I download with PSPCB. If ever they 'fix' the table, then the behaviour won't do anything, but nor will it be harmful


PLT-8075: Re-renders RHS comments if profile picture has changed.

When filling in a section please remove the help text and the above text.
Summary
Updates RHS comment component if a user's profile picture has been updated.
Ticket Link
PLT-8075
Checklist

[x] Ran make check-style to check for style errors

@hmhealey Absolutely. In this case, however, PureComponent would not have picked up the props change because the property is not shallow. But yes I totally agree it'll make things cleaner and simpler nonetheless for shallow props.


Repackage Windows Security Events

Change(s):
See guidance below
Reason for Change(s):
Data Connector description changed.
Version Updated:
2.0.2
This is a 1P solution.

Hello @v-atulyadav Looking into this again

Hello @v-atulyadav Please repackage the solution as two of the analytic rules are not working


Something about feature version

we have some cron job by feast importspec. I found that feature value is overwrite by redis.
So when the import job of today is processing, the feature in the redis both have two version(feature of yesterday and feature of today).
Especially in some scenarios, for example, we have an offline model, the features that the model needs to use come from two entities. How do you ensure that the features acquired online are from the same version?

@zhangjunqiang The data model in 0.1 only supports latest values in serving, but the values are being coalesced during ingestion. For 0.3, we are changing this model when converting features into groups called feature sets: http://bit.ly/feast-03-rfc
Here the sets always retain consistency within a row.

@zhangjunqiang The data model in 0.1 only supports latest values in serving, but the values are being coalesced during ingestion. For 0.3, we are changing this model when converting features into groups called feature sets: http://bit.ly/feast-03-rfc
Here the sets always retain consistency within a row.
thanks for your reply, but i cannot open the link you provide.

thanks for yout reply~
but i cannot open the link you provide.

@zhangjunqiang The data model in 0.1 only supports latest values in serving, but the values are being coalesced during ingestion. For 0.3, we are changing this model when converting features into groups called feature sets: http://bit.ly/feast-03-rfc
Here the sets always retain consistency within a row.

Thanks for your reply~
but i cannot open the link you provide.

@zhangjunqiang The data model in 0.1 only supports latest values in serving, but the values are being coalesced during ingestion. For 0.3, we are changing this model when converting features into groups called feature sets: http://bit.ly/feast-03-rfc
Here the sets always retain consistency within a row.

Thanks for your reply~
but i cannot open the link you provide.

What does it say?

This issue is now stale.


Unable to create room from absent room page

Hosting a room fails when you click
"Room: testroom isn't hosted yet. Checking again in 7.5 seconds. Create your own room"

I can take a look into this one.

There is a bug without an issue I found, but I am fairly certain it is related to the same problem that is causing this issue.  Here are the steps to find it,

Open up 2n.fm
Creata Stream
Exit the Stream
Try to start streaming again
It will start streaming without prompting the user for what app/screen they wish to stream.

Fixed in #122 & #130


batch_x dtype changed to float32

In the file keras/preprocessing/image.py, batch_x is unnecessarily type of float64, while x(individual images) are float32. So I changed the type of batch_x to float32.

Please use K.floatx() instead.

Abandoned PR; will fix in a separate commit.


Format document is not working since todays relaese

VSCode Version: Code - Insiders 1.11.0-insider (32942fd950cf2ffe19c44f944170014704b4fd2c, 2017-03-22T07:11:40.989Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

githistory
donjayamanne
0.2.0

tslint
eg2
0.8.1

auto-close-tag
formulahendry
0.3.10

beautify
HookyQR
1.0.2

vscode-tfs
ivangabriele
0.6.0

PowerShell
ms-vscode
0.10.1

typescript-javascript-grammar
ms-vscode
0.0.18

debugger-for-chrome
msjsdiag
2.7.0

vscode-icons
robertohuertasm
7.4.0

autoimport
steoates
1.2.2

Steps to Reproduce:

From command option - Format document
or
From shortcut - Ctrl Shif- F
Nothings happens :(

In no insider version of vscode (below instalation details) same file (tested in typescript and html) everythings works fine.
(Version 1.10.2
Commit 8076a19fdcab7e1fc1707952d652f0bb6c6db331
Date 2017-03-08T14:02:52.799Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0)

@MaZZly As I said - for me it works on "standard" version of vscode (1.10.2) on .ts, .html and .json but no of those seems to be recognize by insiders version :/

Since this just started showing up recently in the insiders builds, I suspect this is related to #22996. Please check the developer console to confirm this
As workaround until the next insiders build is release, upgrade your workspace to TS 2.2.2 insiders or switch to using code's bundled version of TS for js and ts language features

@mjbvz  Console log:(so it looks like the same error, thx for workaround:) )
shell.ts:476Error processing request. Mismatched request id, expected undefined, actual 2
Error: Mismatched request id, expected undefined, actual 2
at Object.resetRequest (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\cancellationToken.js:57:27)
at IOSession.Session.resetCurrentRequest (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\tsserver.js:73291:40)
at IOSession.Session.executeWithRequestId (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\tsserver.js:73299:26)
at IOSession.Session.executeCommand (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\tsserver.js:73305:33)
at IOSession.Session.onMessage (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\tsserver.js:73325:35)
at Interface. (c:\source\DEV\MAIN\Web\WUMan\node_modules\typescript\lib\tsserver.js:74477:27)
at emitOne (events.js:96:13)
at Interface.emit (events.js:188:7)
at Interface._onLine (readline.js:232:10)
at Interface. (readline.js:365:12)


Switching cwd breaks usage of custom target specifications

Per https://github.com/japaric/xargo/issues/186#issuecomment-354503358, the following no longer works:
$ cargo new --lib foo

$ cd foo

$ echo '#![no_std]' > src/lib.rs

$ cargo add heapless

$ rustc -Z unstable-options --target x86_64-unknown-linux-gnu --print target-spec-json > foo.json

$ cargo build --target foo
   Compiling untagged-option v0.1.1
error: Error loading target specification: Could not find specification for target "foo"

The following conversation was taken from #4865:
@SergioBenitez

Shouldn't cargo be setting cwd to the workspace root (here just the crate root, foo) which is exactly where the target file foo.json is? If so, shouldn't rustc find the file and build properly? Or has something changed in rustc so that it no longer looks for target files in the cwd?

@alexcrichton

oh I believe the issue there is that you're compiling crates from crates.io and Cargo is now switching the cwd even for those crates (as their own workspace root is themselves in Cargo's $HOME/.cargo cache

Ah yeah so to clarify I believe everything is working correctly in cargo/rustc and this is an intentional change on Cargo's behalf. (breaking in the technical/pedantic sense)

Workaround
In order to fix the cargo build error, you need to manually set RUST_TARGET_PATH.
export RUST_TARGET_PATH=`pwd`

Remaining Discussion
I think the following question remains:
Why are users of custom target specifications required to set RUST_TARGET_PATH every time cargo build is invoked?
The error message does not make it clear why the build is failing.  Also, it is unintuitive to set an environment variable pointing to the current directory for the build to succeed.
If the current behavior will remain in the long-term, there should probably be documentation somewhere that addresses the breaking change.  Also, I think the Cargo error message should hint that RUST_TARGET_PATH is pointing to the wrong directory.

One option for Cargo is to automatically pass an absolute path for anything it detects as JSON (aka ends with json and a file exists in the cwd), and then we could fix rustc's logic to work with absolute paths.

@alexcrichton Why not do something similar, but limit it to a file named $target.json? I believe this would give us the previous functionality.

@SergioBenitez yep that'd also work!

@alexcrichton Thanks for the quick reply and showing a path forward!

Seems like the target triple is stored in the metadata of libcore rlib (created by xargo). If the targets don't match a "couldn't find crate core with expected target triple" error occurs.
This means that we already have to compile the sysroot for the absolute target and can't just convert the triple to an absolute path in cargo. So I try to adjust xargo now.

The PR triple is ready: rust-lang/rust#49019, rust-lang/cargo#5228, and japaric/xargo#205. The idea is to add special treatment for target arguments ending in .json. These weren't really supported before (e.g. xargo explicitely disallowed them, rustc didn't search RUST_TARGET_PATH for such targets), so this shouldn't cause breakage.
The three PRs introduce support for absolute target paths, which makes setting RUST_TARGET_PATH unnecessary. They also perform path canonalization for paths ending in *.json so that relative paths are automatically converted to absolute ones, with the same benefits.
In summary, these PRs allow xargo build --target foo.json without RUST_TARGET_PATH again, the only difference is the additional .json ending.

With rust-lang/rust#49019 and rust-lang/cargo#5228 merged, the example from the issue description "works" now if --target foo.json is passed instead of --target foo. "Works" in the sense that it throws a “can't find crate for core” error as before. So I think this issue is solved from the Rust/Cargo side, unless we also want to fix target arguments with no .json extension.
It still doesn't work with xargo, because https://github.com/japaric/xargo/pull/205 got no review. As a maintained alternative with --target *.json support I created cargo-xbuild. It is a fork of xargo with a minimized feature set, maybe it is useful to some people in this thread.

A natural extension of this (maybe belongs in a different bug), is to support distributing targets in cargo packages. This would enable re-usability, as well as bundling a target with a platform-specific library.


fix: Set correct default for runtime_platform to ensure idempotence

Description
Changed the default value for the runtime_platform to avoid recreation of the aws_ecs_task_definition on every apply when not specifying any runtime_platform values. Since the dynamic block for the runtime_platform checks if the variable is null before trying to set a value and the current default value is set to an empty map, it will always try to add an empty map to the task definition. This causes terraform to consider it a change, which forces replacement of both the aws_ecs_task_definition and the aws_ecs_service.
Motivation and Context
The issue was introduced in https://github.com/terraform-aws-modules/terraform-aws-atlantis/pull/279, which added this support for runtime_platform.
Breaking Changes
No breaking changes.
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 3.17.1 :tada:


Wrong format in RESTAPI

Hello everybody,
I've autogenerated the API Classes with OpenApi for C#.
The serialization of the json have some problems, for example in the "/product" (getProductList) response json.
The Swagger Scheme tells that the "included" part of the json will look like this (/api/v1/_info/swagger.html#/Product/getProductList):
"included": [
    {
      "type": "string",
      "id": "string",
      "attributes": {
        "additionalProp1": {}
      },
      "relationships": {},
      "links": {},
      "meta": {
        "additionalProp1": {}
      }
    }
  ]

but my response from the api looks like this:
"included": [
        {
            "id": "5dedcc1252d94b1f8f3135949334798a",
            "type": "extension",
            "attributes": { "canonicalUrl": null },
            "links": [],
            "relationships": {
                "seoUrls": {
                    "data": [],
                    "links": { "related": "http:\/\/testshop\/api\/v1\/product\/(someguid)\/extensions\/seoUrls" }
                }
            },
            "meta": null
        }
]

The problem is the "links" attribute of the included. my program expects an dictionary ({}), but i get a list ([]). To make it even worse, if there is a link inside, it is a dictionary:
"included": [
        {
            "id": "dd52ad97a3db430481267cfabbc4c993",
            "type": "tax",
            "attributes": {
                "taxRate": 19.0,
                "name": "19%",
                "customFields": null,
                "createdAt": "2019-10-01T06:15:46+00:00",
                "updatedAt": null
            },
            "links": { "self": "http:\/\/testshop\/api\/v1\/tax\/(someguid)" },
            "relationships": {
                "products": {
                    "data": [],
                    "links": { "related": "http:\/\/testshop\/api\/v1\/tax\/(someguid)\/products" }
                }
            },
            "meta": null
        }
]

Hello Max,
you are right about this issue, the links attribute has to be an object (empty or dict), not just according to our open api schema but also according to the JsonApi Spec: https://jsonapi.org/format/#document-links.
We are working on a fix for this.

Thanks @mschradi for raising this issue, it should be fixed now.


Additional attribute "user"

Hi again
First of all: Thanks for your support! Much appreciated!
I have a feature request: It would be great to have another attribute "user" where one can save the username who did the change.
Regards
Jonas

Hi, Jonas
I added an attribute "saveUserId" in managerOptions than saved current login user.
By default value of attribute is true.
If you want disable this features, you can use this:
'history' => [
'class' => \nhkey\arh\ActiveRecordHistoryBehavior::className(),
'managerOptions' => [
'saveUserId' => false
]
],
P. S. for update you need do migrations, see update in documentation.

When running the migration I get this error:
Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: m151013_131405_add_user_field::string()'

Your version Yii2 must be not less 2.0.6.
Extension used new syntax for migration. See it, Enh #3335.
If you want use old version of framework, you may change migration column type to old style, for example
$this->string()->notNull()

to
Schema::TYPE_STRING .' NOT NULL'

Thanks for the explanation. Just updated to 2.0.6.


BoM historical data - amend metadata

Due to confusion around values over the oceans (which are not measurements of actual temperatures) add to data description the following:
“the gridded data shown over ocean areas are statistical artefacts of the analysis scheme and not actual temperature/rainfall values”.

Have added that comment to each of "Monthly/Annual rainfall 1910-2017", "Annual/Monthly minimum/maximum temperature 1910-2017" (6 datasets in total).


Fix DST bug in goog.date.Date.

Although this is fixed in the current Google Chrome, it's still
reproducible in the newst Firefox (version 37.0.2).
See issue #34 for more details.

Fixed see https://github.com/google/closure-library/issues/34


Remove noisy debug line in poet block publisher

If a validator is not yet registered block initialization will
repeatedly return false prompting a debug message that it's not
ready yet. That message hides the useful debug/info/warn messages
that indicate what the validator is waiting on for registration.
Signed-off-by: Dan Middleton<EMAIL_ADDRESS>

@vaporos here's a simpler alternative to https://github.com/hyperledger/sawtooth-core/pull/1250. Just get rid of the noisy line then it should be easier to see the root causes which already have meaningful info like block numbers.


[HOLD for payment 2024-06-05] [$250] mweb - Split - Split amount input is partially input and scrollable horizontally

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.71-0
Reproducible in staging?: y
Reproducible in production?: no, new feature
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Split expense.
Enter amount > Next.
Select a few users > Next.

Expected Result:
Describe what you think should've happened
Actual Result:
Split amount input will be displayed properly.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/e3d59f32-e009-48b6-af9f-16c26a8c45c4

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b38edb075b82c5d5
Upwork Job ID:<PHONE_NUMBER>943428096
Last Price Increase: 2024-05-14
Automatic offers:

hoangzinh | Reviewer | 0
QichenZhu | Contributor | 0

Issue OwnerCurrent Issue Owner: @laurenreidexpensify

@amyevans FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Reproduced on Android. It's not worth blocking deploy over, so I'll remove the label. @youssef-lr I see you have a follow up PR open for uneven splits (https://github.com/Expensify/App/pull/41717), is this issue something you want to address there? Or do you prefer we make this external?

Going off https://github.com/Expensify/App/issues/41763#issuecomment-2099048264 I'm opening this up for external contributors 😄

Something strange must be going on on mWeb Android, I can't reproduce this in iOS

@hoangzinh fresh one for review ^^

@hoangzinh bump for review pls

@hoangzinh I suggest adding it to App/src/components/TextInput/BaseTextInput/index.tsx like below. Since different box sizing in mobile Chrome is causing the problem, it makes sense to resolve it in the same place. Let me know if you have any better ideas!
!isMultiline && Browser.isMobileChrome() && {boxSizing: 'content-box', height: undefined, overflow: 'auto'},

Thanks for the offer. Aiming to submit the PR by Monday.

Payment Summary:
C+ $250 - @hoangzinh paid in upwork
Contibutor $250 - @QichenZhu paid in upwork

@hoangzinh please complete the checklist so we can close thank you


TCC Encountered errors while reading opcodes file

Unsure if this is related to Tera Starscape I know that after installing this mod I now get this error and it seems the UI is only partially working if at all.
https://puu.sh/K3Oe6/90de2cd049.jpg

As the message says, it's caused by an issue in the Toolbox version you're using or in some opcode files you manually installed, which contain duplicated values.

didn't mean to close


Develop

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


C4 diagrams

We should make c 1 through 4 diagrams as orientation points for the project.

Level 3 and 4 diagrams still missing


feat: implement highlights feed page

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description
This PR:

creates highlight feeds page
adds highlights to the nav links for logged-in users
fix the max-width issue from #900 across pages
implements highlights filter by repo

Notes:
After the highlights was added to the nav links, a break occurred as seen below on mobile screens

IMHO, I think we need to consider using hamburgers with radix menu to display the links on mobile screens
@bdougie @brandonroberts  your thoughts?

Related Tickets & Documents
Fixes #900
Fixes #829

Mobile & Desktop Screenshots/Recordings

With filters

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

@OgDev-01 I'm seeing a blank page in the deploy preview when I go to /feeds.

Side note: The path should be /feed instead of /feeds also

@OgDev-01 I'm seeing a blank page in the deploy preview when I go to /feeds
You don't need to be logged in to see this page

Side note: The path should be /feed instead of /feeds also

I restricted  un-authenticated users, and as a result you see an empty screen since we have no 404 yet

Is the feeds meant to be available to un-authenticated user?

@OgDev-01 yes, the Home tab is available for everyone. The other tab will be added later for the authenticated user

@OgDev-01 yes, the Home tab is available for everyone. The other tab will be added later for the authenticated user

echoing what what brandon is stating. TBH, insight hub and explore can also show without being authenticated. There is no reason to gate that.
I'd also strongly suggest we remove the home/following nav until "following" is added as a feature.

This should be removed for now.
Browser metadata
Path:      /feeds?repo=open-sauced/insights
Browser:   Chrome <IP_ADDRESS> on Mac OS 10.15.7
Viewport:  1440 x 796 @2x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

Loading elements down the list is causing a weird scrolling issue. We might need to do a load more button or anticipate that with Next.js somehow.
Browser metadata
Path:      /feeds?repo=open-sauced/insights
Browser:   Chrome <IP_ADDRESS> on Mac OS 10.15.7
Viewport:  1440 x 796 @2x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

TBH, insight hub and explore can also show without being authenticated. There is no reason to gate that.

If the insight hub is a place to list users insights, then I don't see a reason for it to be available to users that are not logged in. explore on the other hand is the default redirect for un-authenticated users, which also makes it irrelevant to be displayed since all a user not logged in can do is navigate around the dashboard which is still scoped around the explore

If the insight hub is a place to list users insights, then I don't see a reason for it to be available to users that are not logged in. explore on the other hand is the default redirect for un-authenticated users, which also makes it irrelevant to be displayed since all a user not logged in can do is navigate around the dashboard which is still scoped around the explore

This is on me for not sharing the broader vision, but Highlights is the first step to showing open-source is possible. No one shares Pull Requests in this way and we are encouraging that through Social Cards (soon). Just like twitter or instagram is viewable without a log in, we shouldn't gate keep.
Reactions (soon) and sharing will be the catalyst for log in and user sign ups.

@OgDev-01 looks great! A few items

You can't de-select a repo from the filter, you can only select a different one (not blocking)
The feed list is not refreshed after posting. The input form needs a callback prop that is called after posting, then we can refresh(mutate) the list in the parent component.

@OgDev-01 resolve the merge conflicts and we can move forward with this. We can fix the refresh issue in a followup


Linear regression module added

Linear regression module has added, it has fit and predict as sklearn module has and uses pandas and numpy for data manipulation and calculation.

Hey @Abhinaba006. Sorry but I have worked on this issue from day 1 and pulled a request 7 days ago without conflicts #9. You can work on any other issue. I hope you will understand. Thank you!

Hey @Abhinaba006. Sorry but I have worked on this issue from day 1 and pulled a request 7 days ago without conflicts #9. You can work on any other issue. I hope you will understand. Thank you!

So what can I do?

You can work on any other issue

@psyduck1203 I am sorry for the confusion,but were you properly assigned to the base setup by any of the mentors or project admin?

@geekquad What should we do in this case?

@ashwani-rathee I am active from day 1 in this Repo you can check the date and time of the pr made by me also you can check the closed issues where I asked the maintainers to assign me the issue but no one replied. Then I tried to contact @geekquad and @plazzy99 on discord as only both of them were named as the maintainers in the readme and till the time they reply all this happened.

@ashwani-rathee sir, did any more changes needed? I have fixed the problems that you told me.

@Abhinaba006 relax buddy,I am supposed to be more careful with base implementation,that's why it's taking a little more time :)

Okk

This looks good to me.@geekquad what do you think?