Unstable representation of self variable

Project with three source files:
// Global.scala
class Global {
  class Foo extends Namers
}

// Namers.scala
class Namers {
  class Namer { thisNamer => }
}

// Client.scala
class Client(global: Global)

steps

compile
add a whitespace to Global.scala and watch Client.scala being recompiled

problem
Whitespace change causes recompilation of dependent files.
notes
The problem is unstable representation of classes that have a self variable (check Namer). This instability comes from not forcing info of the symbol that represent self type/self variable. This is a regression caused by 1ce11230546639fd4a06ab96d19784979a7a358c.

I discovered this issue while testing incremental compilation on scala/scala repo. We've debugged it together with @adriaanm and the fix is on its way.

See https://github.com/adriaanm/scala/commit/d6f58d820778a12cc3eda13872640626fd5c53a0

Is this a blocker for 0.13.12?

@dwijnand Fixed in 0.13.12, but not sure if it's forward ported.

Ok cool. Forward ported in sbt/zinc#90, so we're done here.


wac-graph: defined types need dependency edges to other defined types

Currently define_type allows for exporting a named type from the composition.
However, the node it creates in the graph has no dependency edges on other defined types that might be referenced from the type definition.
The result is that the toposort performed when the graph is encoded does not properly order the types such that they encode in an invalid ordering (although a stable one).
The fix is to add a "depends on" edge from the node to any defined type referenced from the type being defined.

I have a fix for this with the upcoming wac-parser resolution rewrite.


Warn if RUBYGEMS_GEMDEPS env. variable is set

Closes #3656.

👍🏻

I'd like the message to use Bundler.ui.warn to say something like "The RUBYGEMS_GEMDEPS environment variable is set. This enables RubyGems' experimental Gemfile mode, which may conflict with Bundler and cause unexpected errors. To remove this warning, unset RUBYGEMS_GEMDEPS."

@indirect Much better indeed! Updated.

@homu r+

:pushpin: Commit 7df03e6 has been approved by indirect

:hourglass: Testing commit 7df03e6 with merge 5a690bb...

:sunny: Test successful - status


Document certificate key file handling

Currently users will need to copy their pfx file into the /app/components/secrets directory in their dockerfile. We need to explain this in the readme - or a separate documentation file.

Yes, I have updated my cloudBlock-test repo -- docker-compose and Dockerfile to accommodate this requirement.

https://docs.dapr.io/reference/components-reference/supported-secret-stores/azure-keyvault/#setup-key-vault-and-service-principal

Added instructions to cloud block reference page.


ReadMe Updated for Configmaps

As discussed with Andrea Tarocchi @valdar

This is the controversial  PR as the Kafka Consumer example is more complex to run

Created a cleaner pull request


[Debugger] Teach the testing transform about assignments to members

This teaches the debugger testing transform how to instrument
assignments to class members.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Invalid TLS credentials: x509: unhandled critical extension

Trying to run match box and I'm met with Invalid TLS credentials: x509: unhandled critical extension because our CA is using Name Constraints and this extension must be critical according to the documentation.

Please provide more thorough details and describe change you hope to see.
Example TLS generation scripts and openssl.conf are provided in https://github.com/coreos/matchbox/tree/master/scripts/tls

If support for this extension is part of the Go tls package then this issue can be closed if not maybe it's something to consider supporting?

It looks like that extension isn't supported in Go crypto/x509 yet so it will fail to parse. https://github.com/golang/go/issues/15196


Function to escape "like" strings?

It would be nice to have something like this:
...orWhere('name', 'like', '%' + knex.escapeLike(incomingArgument))...

I tried to find something similar in the code but haven't found one.

A simple replace would be easy, however the like generation has to be also modified to add the ESCAPE character because of DB differences.
MySQL:

To test for literal instances of a wildcard character, precede it by the escape character. If you do not specify the ESCAPE character, “\” is assumed.

Oracle:
LIKE ... ESCAPE esc_char

If esc_char is not specified, then there is no default escape character.

PostgresSQL:

To match a literal underscore or percent sign without matching other characters, the respective character in pattern must be preceded by the escape character. The default escape character is the backslash but a different one can be selected by using the ESCAPE clause.

I think that for all of the escape method we should actually query the db for escaping configuration.
I do not know about Postgres but in MySql there are different modes possible.
I have done that in a similar library for .Net and it works wonderfully.
נשלח מה-iPhone שלי
ב-28 בינו׳ 2015, בשעה 12:05, Vincent Schoettke<EMAIL_ADDRESS>כתב/ה:

A simple replace would be easy, however the like generation has to be also modified to add the ESCAPE character because of DB differences.
MySQL:
To test for literal instances of a wildcard character, precede it by the escape character. If you do not specify the ESCAPE character, “\” is assumed.
Oracle:
LIKE ... ESCAPE esc_char
If esc_char is not specified, then there is no default escape character.
PostgresSQL:
To match a literal underscore or percent sign without matching other characters, the respective character in pattern must be preceded by the escape character. The default escape character is the backslash but a different one can be selected by using the ESCAPE clause.
—
Reply to this email directly or view it on GitHub.

FYI, I'm currently using this in Postgres: whereRaw("name ILIKE '%' || ? || '%'", [param]);

Well then you are not taking care of special characters.
בתאריך יום שבת, 14 במרץ 2015, Pascal Hertleif<EMAIL_ADDRESS>כתב:

FYI, I'm currently using this in Postgres: whereRaw("name ILIKE '%' || ?
|| '%'", [param]);
—
Reply to this email directly or view it on GitHub
https://github.com/tgriesser/knex/issues/648#issuecomment-80692869.

You are right. For some reason I thought this worked earlier today… I'll look into making this work with Postgres.

I basically want to all for a case in/sensitive string match, but there doesn't seem to be a way to do this
knex.whereRaw( 'FIELD LIKE BINARY %?%', ['term'] ). always fails. It doesn't It always escapes the term.
YOU also can't Use the bianry, or collate clause in the where function.
is there anyway to do that is semi portable?

Can be added to knex.fn if someone likes to implement it for different databases and sends PR. Closing since there hasn't been much interest for this one.

Still not implemented? How can there be a lack of interest for such a common use case?

Maybe it is not so common use case. Also this issue doesn't describe what that escaping should exactly do.  Remove % chars or something else? It is pretty opinionated functionality. If you like to implement or specify how it should work exactly, please open new feature request.


Question on Revoke-Obfuscation

Couldn't find Revoke-Obfuscation... Will it be public after blackhat talk?

Yes, I will publicly release Revoke-Obfuscation during the Black Hat USA presentation.


Make initial commands configurable

Right now, the JOIN commands are hard coded in client.rs. It would be good to make that configurable.

Dropping this for now, since it's in another repo and isn't super relevant any more.

Dropping this for now, since it's in another repo and isn't super relevant any more.


Consider renaming MenuItem.when to MenuItem.visible

app-model version: 0.3.0
Python version: 3.11
Operating System: macOS

Description
While working on napari/napari#5483, @DragaDoncila, @lucyleeow and I got a bit confused about the usage of MenuItem.when vs CommandRule.enablement. I think that's because "when" really needs a "when what": it could just as easily mean "when is it enabled", or "when is it highlighted". In fact it means when is it visible. So we are thinking it may be nice to rename it to visible, visibility, when_visible, ... or similar.
Any thoughts @tlambert03? Obviously the deprecation would be annoying but even medium term I think it would make app-model usage more intuitive.

I don't know, pretty much everything about menu rules is about visibility, so to me it feels a bit repetitive.  There is nothing in menus that has to do with enablement of the command that the menu item represents... since that is a command related feature. That is, menus determine where to show a command (just like toolbars do), but whether it's ok to invoke the command (enablement) is always a property of the command (and not a property of where you've chosen to place that command).
I see that you were confused, so that's worth something for sure... but once you think of everything about menus as "where and when to put a view of a command" and everything about commands to be "what and whether it's enabled" (but not where they are placed), do you still think it's worth the deprecation process?
You guys look at it more than I do, so if it's a thought you or other devs have had more than once, I'm happy to change it for you

Thanks, good writeup. We can stew on this a bit longer, it is potentially just a case of me getting to know my own codebase. 😅 I still see value in making it more verbose (other people will also be newbies in our codebase, for all time), but let's play with it more before taking the leap.
Also @DragaDoncila and @lucyleeow want me to clarify that I besmirched their good name because only I was confused about what "when" did, they were just confused about when it is appropriate to use which of the two, from a UX standpoint. 😂


Regroup data

Personal Data Changes:

Generated full 5K records of personal data using Faker library.
Changed column names for consistency.

Split Data Set Modifications:

Modified split data into loan specific attributes, applicant financial attributes, and applicant profile/personal data.

FYI. The Faker library generates fake address data. The state and zipcodes are valid but rest of the address is not a valid US address.

It looks like personal_data.csv and personal_data_id.csv are no longer needed.
is this true? If so, we could probably delete them to keep things tidy.
If not, they look like a mix of the original 1000 rows + new 5000 rows. I'm not sure if that even matters.
Otherwise, looks good to me and I can merge. Just let me know if you want to merge as is, or if you think those 2 files should be deleted.

I would replace the 'data/original/personal_data.csv' file with the 'personal_data_id.csv' file, so we have the in original for tracking, then remove the file from the 'data/' folder.
I ended up generating the entire 5K set using Faker, instead of adding 4K to the existing 1K. The reason was that I read in the original credit data set to see wether the applicant was Female or Male and then generated names based on gender.


Retain instrumentation after adding event to batch

Addresses https://github.com/Azure/azure-sdk-for-net/issues/34763

API change check
API changes are not detected in this pull request.

It just feels a bit wrong to me that we're modifying data that you give us for a TryAdd - even when we explicitly reject it.

Yeah I would agree here - it probably makes more sense to remove the identifier if it gets rejected.

I feel like since SendAsync doesn't remove the instrumentation on failure, the best parallel for batches is to also not remove instrumentation on failure? Even though the failures have different natures, it could potentially be useful to have tracing information for all failures.
The alternative could be to instrument the whole batch when it is passed to send, rather than when events are added to the batch. But I'm not sure about the performance implications/implementation challenges of that.

I agree that adding context for rejected events is not helpful. I wonder if it's possible to instrument the message only after it's successfully added to the batch?
We instrument individual events so they

capture the context in which they were added to batch
we can add link from send span to all messages being published. So we already have span per publish and span per each message.

If message is added to batch, but never published, users would see it (there will be no publish span).
If message was never added, there is no immediate need to trace this fact.

If message is added to batch, but never published, users would see it (there will be no publish span).
If message was never added, there is no immediate need to trace this fact.

The way things are currently implemented, we create the Message/Event scope regardless of whether the message/event  is successfully added to the batch. I'm not actually sure if we can avoid doing this if we want to instrument the message/event up front so that the calculation is correct (we could maybe just add overhead for the diagnostic-id without instrumenting up front). Assuming that we stick with the current implementation of creating the message/event scope up-front, wouldn't it be more confusing for users if this scope is not reflected anywhere in the message/event properties?

The way things are currently implemented, we create the Message/Event scope regardless of whether the message/event is successfully added to the batch. I'm not actually sure if we can avoid doing this if we want to instrument the message/event up front so that the calculation is correct (we could maybe just add overhead for the diagnostic-id without instrumenting up front). Assuming that we stick with the current implementation of creating the message/event scope up-front, wouldn't it be more confusing for users if this scope is not reflected anywhere in the message/event properties, but they still see that a span was created in the telemetry?

If we do that, I think we end up with a non-trivial performance impact as we would have to serialize twice - once to measure and once with the actual instrumentation.
What we do today is:

Instrument the message
Serialize to AMQP format and measure
If we accept the message in the batch, we keep the serialized bytes

If we were to instrument with a dummy to measure, we would have to:

Instrument the message with the dummy value
Serialize to AMQP format and measure
If we accept the message in the batch, then instrument it for real, serialize it to AMQP format again, keep the serialized bytes

What happens if we create the scope, instrument the event, we reject it, then send the batch... then we add that event to a new batch and send that.  What would someone see in telemetry?   Does that make it look like the event was in two batches when it was really only in one of them?

Chatted with @JoshLove-msft offline and decided that injecting context regardless is a good feature.
Rationale:
The context we capture on the event should continue the one when the message was created (for correlation and causation). E.g. when I get incoming requests from the upstream service, I create an event and add it to a batch. The event's context should be a child of the incoming request.
If the event does not fit into a batch and is published later on in background thread or in scope of some other operation, it should not change the context.
So:

I created a message and tried to add it to a batch at 1:58 pm
It did not fit and I  added it to a different one at 2:00 pm
it was published at 2:00:01 pm

It's cool to see that message was sitting and waiting to be added to batch for 2 minutes. Otherwise I'd see

something appeared out of blue at 2:00 pm, it has no parent (e.g. stayed in the background queue)
it was published at 2:00:01 pm

To provide enough observability into this we can add an attribute explaining event was not added right away:
if (hasTraceContext() {
  using var scope = createMessageScope(msg)
  if (!tryAdd(msg)) {
     scope.SetAttribute("message.added", false); // need to think about naming a bit
 }
} else { tryAdd(msg) }

This way I can also write a query to check if any messages were dropped because adding was not successful.

Chatted with @JoshLove-msft offline and decided that injecting context regardless is a good feature.
Rationale: The context we capture on the event should continue the one when the message was created (for correlation and causation). E.g. when I get incoming requests from the upstream service, I create an event and add it to a batch. The event's context should be a child of the incoming request. If the event does not fit into a batch and is published later on in background thread or in scope of some other operation, it should not change the context.
So:

I created a message and tried to add it to a batch at 1:58 pm
It did not fit and I  added it to a different one at 2:00 pm
it was published at 2:00:01 pm

It's cool to see that message was sitting and waiting to be added to batch for 2 minutes. Otherwise I'd see

something appeared out of blue at 2:00 pm, it has no parent (e.g. stayed in the background queue)
it was published at 2:00:01 pm

To provide enough observability into this we can add an attribute explaining event was not added right away:
if (!hasTraceContext(msg)) {
  using var scope = createMessageScope(msg)
  if (!tryAdd(msg)) {
     scope.SetAttribute("message.added", false); // need to think about naming a bit
 }
} else { tryAdd(msg) }

This way I can also write a query to check if any messages were dropped because adding was not successful and the application didn't check.

This also aligns with @m-redding's reasoning!

Should we proceed with the PR as-is and come back later to include "message.added" (maybe it needs to be talked over with Otel folks?), or do we think it is important to have this attribute up front since we are changing the behavior in Event Hubs?

Should we proceed with the PR as-is and come back later to include "message.added" (maybe it needs to be talked over with Otel folks?), or do we think it is important to have this attribute up front since we are changing the behavior in Event Hubs?

I'm fine with proceeding as is and adding attribute later.


TypeScript doesn't build

Looks like it's due to: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12942

Oh another issue with the build is that the tasks use an array of AsyncFunctions, which now require 2 generics:
tasks/includes.ts(15,33): error TS2314: Generic type 'AsyncFunction<T, E>' requires 2 type argument(s).
tasks/java.ts(50,22): error TS2314: Generic type 'AsyncFunction<T, E>' requires 2 type argument(s).
tasks/unit_test.ts(9,20): error TS2314: Generic type 'AsyncFunction<T, E>' requires 2 type argument(s).

Looks like a quick fix for both of these issues is to change the typings version for `async: https://github.com/jvilk/BrowserFS/issues/165#issuecomment-263137208

Found one more issue why it doesn't build: #491

@PaulBGD is this fixed with your PR? Seems like it is, since the builds are green.

Yep! Thanks for pulling.


Grammar checks....

And why are you publishing your .DS_Store?

I rushed this out and missed a couple things. My bad bro. I fixed the grammar issues and I removed the DS_Store. Cheers bro.


Scheduler Integration

If IntelliSat's Mode Switch systems start working and there is decent documentation on how IntelliSat modes should be programmed,

Integrate the Scheduler, making sure it's deactivated by default
Have documentation on how to wrap any code into an IntelliSat mode, register it with the scheduler, and have it be
Have a hard-coded switch that makes sure the Scheduler switch to a different mode (non-user mode) after a certain duration
Provide a method to disable the switch, and document how to do that

The switch is to give trainees and idea of what the scheduler is responsible for, and how would function in case of actual mode switches on the satellite


Agent doesn't correctly apply config default values when a non existent path is specified for the config file

The agent seems to ignore configuration defaults when a missing config file is specified via the env var CONFIG_FILE.
When adjusting default paths for rpm and DEB packages this occurred as the service unit still contained "/etc/stackable-agent/agent.conf".

I cannot reproduce this issue. If I call CONFIG_FILE=/does_not_exist cargo run --bin stackable-agent then AgentConfig contains the following default values (enriched with hostname and server_ip_address):
AgentConfig {
    hostname: "sigi-desktop",
    parcel_directory: "/opt/stackable/packages",
    config_directory: "/etc/stackable/serviceconfig",
    log_directory: "/var/log/stackable/servicelogs",
    bootstrap_file: "/etc/stackable/stackable-agent/bootstrap-kubelet.conf",
    data_directory: "/var/lib/stackable/agent",
    server_ip_address: <IP_ADDRESS>,
    server_port: 3000,
    server_cert_file: Some("/etc/stackable/stackable-agent/secret/agent.crt"),
    server_key_file: Some("/etc/stackable/stackable-agent/secret/agent.key"),
    tags: {},
    session: false,
    pod_cidr: ""
}

Ok, I may very well be mistaken when I noticed this back in the day. Perfectly fine to close this!


Dont send stacktrace as breadcrumb metadata

This is dropped by the UI and never shown as we can't render arrays in the breadcrumbs from what I can see.

it looks like browserstack stopped supporting simulators/emulators on their js testing product – so the karma test suite is failing now. I'll update the browser matrix and merge that into this branch to get the tests passing.


Figure out a solution to default translations

We probably need an .en.l20n file to handle if someone switches from another language to english. However we don't currently have one because our "default" translation is English and is baked into the template. We could copy our translations into an .en.l20n file but then we have to maintain the two files independently.
So we'll need to figure out a solution to this. One possible solution is to just ditch the idea of working without javascript and remove the translations from the HTML, however this will also mean we ditch working with browsers that L02n.js doesn't support. Another possible solution is to use html5lib or something to attempt to parse the template files to look for translations and see if we can extract the translations from within the templates and convert the variables from Jinja2 to L20n.js.

This was supposed to be closed with #1335.


Script for watching directory

Write a script to listen on a directory and solve anything that is placed in there.

Feature has been added.


Node schedulable only

Filtering by unschedulable=false is one thing that would adress issure when you cordon/drain nodes.
Nodes can also have condition status Ready=false that could be also a factor in not accurate numbers. That being said Kubernetes should kick on pod eviction if it remains for too long and move pods to healthy nodes (node-status)
I think for now I will let it slide with the ready status unless there are reports of this being an issue.


Update cleanHostValue so it never returns invalid hostname characters

This should fix the remaining case for #54.
URL.parse strangely allows + in hostnames, but as far as I can tell, they're not acceptable for regular hostnames (as used in DNS and the web at large), and they are special in regex, so I've excluded them. cleanHostValue will now only return strings that contain entirely valid hostname characters, or the empty string. This fixes the above case, passes all the tests, and seems sane; it still uses url.parse for parsing, so there is a possible edge case where a hostname including '+' will get successfully parsed by url.parse but will be returned as invalid/empty from cleanHostValue.

Quite subtle, thanks :-)


edited dev setup docs

Overview
Closes this Google Season of Docs Task:
On the development setup, Indicate that users should install ‘pre-commit’ before they use the ‘pre-commit install’ command
What problem does this address?
This helps users know the command to run if their pre-commit install command doesn't work
Testing
How did you make sure this worked? How can a reviewer verify this?
I ran the command sphinx-build -b html docs docs/_build/html and checked if my changes reflected correctly locally
@aesharpe @zaneselvans

Here's what I tried to replicate this problem:
I verified I did not have pre-commit installed locally. I ran pre-commit uninstall on the pudl-dev environment, removed my pudl-dev environment, re-ran make install-pudl. As expected, I was able to access the pre-commit package directly after environment installation.
It's possible that this is an OS-specific issue, or that there's some unclear documentation here. But either way, we'd want to fix those problems, rather than instructing users to install the package manually. So, I'm closing this PR. @Nancy9ice if you're able to reproduce the issue locally or have more information for me, let me know and we can re-open the PR as needed.


Improve null and object printing to avoid confusion with arrays

Use different syntax for object printing to avoid confusion with arrays.
Add a leading and trailing space within directory printing to avoid confusion with arrays on some fonts.

Split into another PR: https://github.com/godotengine/godot/pull/64577

Print null as <null> to avoid confusion with a string "null".
Display <empty> in editor resource pickers to avoid confusion with array-based properties.

The editor parts of this PR may be redoable in a different PR for 3.6. I'm not sure if the rest can be changed without potentially breaking compatibility though.
This closes https://github.com/godotengine/godot-proposals/issues/4944.
Testing project: test_reference_print.zip
Preview

Before
After

Before
null
null

[Curve:-9223372012544589442]
[Curve:-9223372012527812225]

Node2D:[Node2D:24226300274]
Node:[Node:24243077655]

[]
[0, 1, 2, 3]
{}
{"hello":"world", "one":"two"}

After
<null>
null

<Curve#-9223372012393594492>
<Curve#-9223372012376817278>

Node2D:<Node2D#24377295223>
Node:<Node#24394072451>

[]
[0, 1, 2, 3]
{  }
{ "hello": "world", "one": "two" }

TODO

[ ] Update unit tests before merging.

Overall most of these changes are good, except for the extra spaces that are added at the beginning and end of dictionaries.
This example:
{  }
{ "hello": "world", "one": "two" }

Would be better as this:
{ }
{"hello": "world", "one": "two"}

I'm ready for the bikeshedding 😆 (which space do we remove)

I actually meant to remove both spaces, so like this instead:
{}
{"hello": "world", "one": "two"}

Discussed in PR review meeting. We agreed that this PR should only cover the things requested and discussed in the proposal i.e. using angle brackets to distinguish objects from arrays.

Done. I split the Dictionary changes to another PR and proposal.

Needs rebase. And GDScript unit tests need to be fixed: https://github.com/godotengine/godot/runs/7901811603?check_suite_focus=true


Add a reactive version of ObjectStorageOperations

It should be similar to the existing one, but wrapped in Publisher and leveraging cloud SDK reactive implementations where possible

With regard to object-storage-aws, AWS/S3 supports this with the current async client and AsyncResponseTransformer.toPublisher(), so would be a matter of utilizing the S3AsyncClient, as opposed to the S3Client.

In lieu of this issue being implemented, do you all have a recommended approach for using this API in a fully reactive application?


Allow requiring for only specific drivers

Allow users to specify which drivers to manage by only requiring specific directories, e.g.
require 'webdrivers/chrome'
require 'webdrivers' will still load all of them.
This should be a pretty straightforward thing to address by moving common requires in webdrivers.rb into 'webdrivers/common'
and then splitting the conditionals in Selenium file. Can probably put them in the specific driver files directly after the requires.

Implemented via PR #96


waterBaseProp_pT contains undefined outputs

Reported by sjoelund.se on 20 Feb 2013 12:05 UTC
Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT contains undefined outputs:
aux.dpT is never defined
For region 1, 2, 5: pt, pd, x (for 5)
For region 3: rho, vt, vp, cp
They should at the very least all be initialized to 0 to prevent usage of uninitialized variables.

Migrated-From: https://trac.modelica.org/Modelica/ticket/995

Comment by sjoelund.se on 20 Feb 2013 18:38 UTC
Found one more warning for Media:
ModelicaTest.Media.TestAllProperties.LinearColdWater.err:
[Modelica 3.2.1/Media/package.mo:4815] Warning: state was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.

If I read that warning correctly... state.T was used but is actually undefined since the statement is the one that initializes state? I could be confused by the inheritance though, so I asked omc and I agree with it that the code looks odd (state.T on rhs before state was defined):
function ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.Medium.setState_dTX
  ...
  output ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.Medium.ThermodynamicState state;
algorithm
  state := ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.Medium.ThermodynamicState(-2384310951.349984 + d / 0.0000004502096643198283 +<PHONE_NUMBER>76449 * state.T, T);
end ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.Medium.setState_dTX;

Comment by hubertus on 6 Mar 2013 14:18 UTC
Fixed in 835883d86a592cb54a594710a8e176ba8b8053a5.


Geofence description

Can you add the geofence description as a column when assigning geofences to users? Its not available in the column drop down.
Thanks

It's not that easy because we use same code for all linking windows.

Looking at this again Anton,
When I am assigning a geo fence to a user I can view the name and calendar column's but I can't see the description.
When assigning a device to a user I can see the Name, Identifier, Phone, Model etc


Documentation about FilePreference is too light

The documentation of the preference type FilePreference is a bit light.
Event after searched info in the documentation website: https://django-dynamic-preferences.readthedocs.io
There is some missing informations. Like:

Are the file stored as static file or media file
How to use the file from a tamplate
How to configure where the file is uploaded

And the example is a bit short. Is it an example of preference definition, or also an example of usage ?
It's a bit confusing.
Maybe a section dedicated to this type of preference could help understand it.
I would love to help about it, but as I didn't understand how to use FilePreference, I can do nothing.

After some testes: The files are uploaded as media file. So, it's managed by django as any media file.
But, if I use the preference in a template like this:
<img class="forum_logo d-inline-block align-text-top" alt="logo" src="{{ global_preferences.general__forum_logo }}"/>

The URL did not include the value of MEDIA_ROOT setting.
So, instead of having the URL:
http://<IP_ADDRESS>:8000/media/dynamic_preferences/general__forum_logo/logo.png
I got:
http://<IP_ADDRESS>:8000/dynamic_preferences/general__forum_logo/logo.png

@CyberFox001 I came into same problem about URL. How to solve it?

Hi, to answer your question, the files are stored as media files. If you want to get the relative URL, you should use {{ global_preferences.general__forum_logo.url }} in a template. If it doesn't include the full URL, you can use either the get_media_prefix template tag or the media URL context processor as described in https://stackoverflow.com/a/42563023 to build a full URL.


Add new variables to ERA5 ds and script to generate it

[x] added a .md5 checksum file generated with make_check_sums.py

I want to use this ERA5 daily surface dataset as a fill in that contains EVERYTHING needed for xclim's testing. Here I added a few variables: ps, rh, wsgsmax, sund and swe. I removed snd.
The goal is to also make a test utility in xclim that will add all other variables on the fly before testingh (thinking of snd, snw and huss). A few of those are only used by the clix-meta submodule, but the aim is to have a dataset that contains (or provides base variables for) every variable used in xclim atmos indicators.
Add the script to construct it here as we might edit it more than once.

@Zeitsperre  Same as always, I'll merge this when Ouranos/xclim#683 is complete.


Proactive garbage collection discussion.

... as mentioned in #783 Also, as @GaryJSA made a note that #610 may be addressing something similar...
I have implemented a garbage collector that aims at substantially speeding up LittleFS. I'm starting this thread in order to figure out what would be the best way to share my code with the community. I'm currently considering creating a PR, but if the maintainers and/or the community don't want any of that, please let me know and I will simply share my code outside of this repo with whoever is interested.
General Description
The slowest part of using LittleFS is waiting for blocks to be erased, so this is what I'm trying to optimize. I create a cache that holds the state of all blocks.
A block can be:

used
unused

erased
dirty

Having this information allows the erase() callback to return with success immediately if it was called to erase a block that it already know is clean thus saving substantial amounts of time. Unused-and-dirty blocks can be located and erased in the background and as long as the application saves data slower than the garbage collector cleans up unused blocks, the erase() can always return immediately.
Implementation Details
Please keep in mind that I am very new to this codebase and so my solution is completely parallel to LittleFS's code and does not involve any changes to the code that I'm so new to. That also means that my solution can probably be optimized, but more on that later.
I have created 2 bitmaps, each of which is of size   (lfs->cfg->block_count + 7) / 8. This allows me to keep state information for every block in the file system. The first bitmap holds the "used" blocks. The second bitmap holds the "clean" blocks. A clean block is a block that is not currently used by LittleFS and the garbage collector has verified that the block is completely erased.
If a block is neither "used" nor "clean", it is considered "unused and dirty".
Upon successful mounting of the file system, my code does the following:

Initializes the "used" bitmap by traversing the filesystem and recording which block is used.
Initializes the "clean" bitmap by marking all blocks as "dirty"
Goes over all blocks of the file system. If a block is already flagged in the "used" bitmap, nothing is done. If the block is not flagged in the "used" bitmap, the block is read and verified. If the entire block reads 0xFF, that block number is flagged as clean in the "clean" bitmap.
Next, the looks at lfs->free.off to find out which block will be the next one that LittleFS will attempt to use. The garbage collector is instructed to start from there.
I run the garbage collection code X times to ensure that there are at least a few verified clean blocks standing at the ready for LittleFS to use them.
At this point I consider the file system fully initialized and allow the rest of my system to start up.

The garbage collection code itself is pretty straight forward. It has a counter that represents the block to be examined. When called, the code checks if the current block is used. If so, nothing else is done and the counter is incremented and wrapped around if it exceeds the number of blocks. If the current block is not flagged in the "used" bitmap, the block is read and verified. If the block holds any non-0xFF data it is erased. Finally, the block is marked as clean in the "clean" bitmap.
That garbage collection function is called from a very low priority task a few times a second until it has gone through all blocks. After the initial traversal on mount(), keeping track of newly used blocks is easily handled in the write() callback: Whatever block LittleFS writes to is added to the used bitmap.
Every once in a while the code also traverses the file system to un-mark blocks that are no longer used. This is something I'd like to improve upon someday, especially if someone familiar with the codebase can help me in figuring out when LittleFS stops using a block. Having a callback for this will nullify the need for run-time traversal of the filesystem for the purpose of finding blocks that are no longer used.
The performance improvement of this modification is substantial. I'm using a W25Q128JV QSPI NOR flash. I used to get ~75kB/s of write speed. After implementing this code, the write speed goes up about 2.5 times and I don't remember the exact numbers but was very close to the actual max write speed of the chip. Of course if one keeps writing and outruns the garbage collector, eventually, the erase() function runs out of verified clean blocks and has to wait for blocks to be erased causing the write speed to slow back down to ~75kB/s.
Questions

First of all, are the maintainers interested at all in this? If so....
Where should I add the code? Should I add a separate file like maybe lfs_contrib.c or should I add my code to lfs.c? A side-note to that is that none of my code needs to be in lfs.c so I can keep it clean if this is desired. The benefit of adding my code to lfs.c is that this way, I can integrate the allocation and free-ing of the bitmaps in the usual init/deinit functions.

I think relevant is lfs_fs_gc should be able to compact metadata soon: https://github.com/littlefs-project/littlefs/pull/913
After this the only missing garbage-collection is persistent block allocation, but that will require a new on-disk data structure.


nCr implementation

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
I would be implementing one of the very interesting problems based on the concept of nCr. I will be including the proper documentation , problem statement , Input Output and then I would be writing the code in C++ with explanation.
Please /assign this issue to me under GSSOC'21 @admin

\assign

/assign


MB-15999: Convert last usage of MakeMTOAgent to factory and remove it

Jira ticket
Summary
We have been working on converting to factory methods from the old Make functions and we missed a final cleanup for MTOAgent.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test
make server_test e2e_test

Messages

:book:
:link: MB-15999

  Generated by :no_entry_sign: dangerJS against e2396e5e8e12e666d5aeaa674f3f7b56f2dbe6b4


[analyzer] not show error when List generics type implicit promotion

code:
class A {}
class A1 extends A {}
class A2 extends A {}

void main() {
  List<A> list = <A>[];
  list = <A1>[];  //   list type is changed to List<A1>
  list.add(A2());
}

when run

> dart --version
Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:11 2022 +0200) on "macos_x64"

Dart's generics are covariant - so this is working as intended.
Language team has previously discussed introducing variance annotations which would allow developers to control this. See

Use-site variance
Declaration-site variance

I think it could be useful to mention one more thing:
class A {}
class A1 extends A {}
class A2 extends A {}

void main() {
  List<A> list = <A>[];
  list = <A1>[];  // `list.runtimeType == List<A1>`, static type still `List<A>`.
  list.add(A2()); // Accepted at compile time due to covariance, throws at run time.
}

The reason why list is not promoted at list = <A1>[] is that List<A1> is not a 'type of interest' for list at that point (or ever, in fact), and an assignment will only promote to a type of interest.
You can make a type a type of interest by checking for it:
void main() {
  List<A> list = <A>[];
  if (list is! List<A1>) list = <A1>[];  // Promote `list` to `List<A1>`.
  list.add(A2()); // Compile-time error.
}


Question:  Session & Token Persistence/Sharing Between SPAs

We're working on modernizing suite of our legacy web applications into SPAs with back-end APIs.  The result will be a set of SPAs that we're developing to look at feel like they are a single application.  There are obvious hurdles with navigating between SPAs, and I'm looking for a sanity check on how to handle the authenticated user & client tokens in these scenarios.
We've already determined there is no need or requirement for the individual SPAs to have unique client IDs.  Now we're trying to avoid the full OIDC authentication exchange when the user browses between SPAs.  Although we do have SSO, it seems inefficient to have the user redirected through the SSO flow.
My research leads me to believe that the oidc-client-js userManager can support cookie storage and retrieval.
Firstly, is my understanding correct? Is is possible to use cookie storage with the oidc-client-js userManager?
Secondly, I'm wondering what some of the issues and security concerns would be with persisting the id token, access token and refresh token in a cookie so any of the individual SPAs can access them?
I've found a few references that state OIDC/OAuth tokens should not be stored in cookies, session storage or local storage for security reasons, yet all four of the OIDC client libraries we evaluated (before deciding on oidc-client-js) put the tokens in session storage.
Any guidance on whether we should or shouldn't use this approach, and, assuming we can, how to configure oidc-client-js for the scenario would be greatly appreciated.
Thank you in advance!

I'd not use cookies to store tokens. Just design each SPA as a separate client and your user will get the benefit of SSO. No need to share tokens across SPAs.

Any idea how to end session from all logged in SPAs?
We have similiar solution but I guess ending session is designed in wrong way. After logging out from "main" application which is something like container for the other SPAs and logging in after on the different user the previous session is restored for the inside apps.

@brockallen , having similar scenario like @sKoinkinz , I'd also like to know your concerns for storing the tokens in cookie. CSRF?

I don't think a cookie makes sense, as it's sent to the server on every request. If you have same-site apps, then you can just use a cookie for authentication to your APIs: https://brockallen.com/2019/01/03/the-state-of-the-implicit-flow-in-oauth2/


Currently walletconnect uses  web3-provider-engine that has mixed imports

need to find a solution for building mixed es6 and commonjs files due to  web3-provider-engine.
See:

talks about issues with vite/webpack5/snowpack:  https://github.com/WalletConnect/walletconnect-monorepo/issues/341
https://github.com/portis-project/web-sdk/issues/75
https://github.com/aragon/use-wallet/issues/73
https://github.com/WalletConnect/walletconnect-monorepo/issues/310

Notes:
Shravan, [04.10.21 16:42]
looks like the web3-provider-engine is a problem in many places
Shravan, [04.10.21 16:42]
https://github.com/portis-project/web-sdk/issues/75
Shravan, [04.10.21 16:42]
https://github.com/WalletConnect/walletconnect-monorepo/issues/310
Shravan, [04.10.21 16:42]
https://github.com/aragon/use-wallet/issues/73
Shravan, [04.10.21 16:43]
i think it impacts webpack 5 as well.  mostly because walletconnect depends on web3-provider-engine and its not maintained
Shravan, [04.10.21 16:46]
i think the solution is to use esm imports for any external providers like wallet connect, portis etc

see #2


Fields under sections didn't gets imported correctly (1password)

Hi,
In the 1password export file (1pif), each entry has the structure that includes something like:
{
  secureContents: {
    fields: [*1],
    sections: [{
      fields: [*2],
      title: "<section title>"
    }, ...]
  }
}

In which *1 fields have structures like:
{
  name: "username/password/etc",
  value: "xxx"
}

and *2 fields have structures like:
{
  "k":"concealed/string",
  "n": "<some hex code>",
  "v": "<the value>",
  "t": "<the title of the field>"
}

Type *2 fields can actually contain 2FA secrets and other important information/password.
While currently the 1password_import.rb script doesn't import type *2 fields. *1 fields are handled correctly as custom fields though. I wonder why isn't all type *1 and *2 fields both processed as custom fields.
If the current behavior isn't intended, I'd be glad to add support for the type *2 fields. Please let me know :-)

I don't think it was intended.  My concern about importing extra fields was that sometimes 1Password had all of the original signup form fields included there, which often included passwords which then show up in clear text in the Bitwarden app.


Clarify AStarGrid2D.is_in_bounds functionality

Fixes: #82723

Clarify AStarGrid2D.is_in_bounds functionality

Currently this PR updates the docs for AStarGrid2D.is_in_boundsv but there's also a separate AStarGrid2D.is_in_bounds method, its docs should be updated too.

Will do, thought it'd be excessive to add to both, as they are connected, but better be thorough

Will do, thought it'd be excessive to add to both, as they are connected, but better be thorough

For a short description duplication should be fine. If description would be longer then it would indeed make sense to make one of them e.g. something like "Equivalent of ... but taking ... as argument(s).".

Thanks!

Cherry-picking for 4.1.4 would affect translations, so since this is a clarification and not a fix for some mistake, I'd keep the descriptions as is.


Create Templating Basics Documentation

An issue to track the work on the Templating Basics documentation.

Working on this one.


Fix Winograd constant folding for F16 weights

When doing constant folding for weights in fp16,
we do the folding in f32 and then cast to fp16
at the very end.

@hanhanW please merge when you get a chance as I don't have merge privileges. Thanks!


fix: copy acm-psp from correct directory

the .output/manifests directory is leftover from the legacy manifest make targets. the new manifest make targets do not create this directory, so we should copy directly from the committed manifest.

/assign @nan-yu

/lgtm
/approve


Update to (beta of) latest broccoli-typescript-compiler

This resolves quite a few of the quirks I've seen personally; it also resolves #38.

Cc. also @krisselden

To be explicit about the problem: it's failing to resolve the TypeScript modules. 🤦♂

The main difference I see just looking at this is that you're using a different version of the broccoli-typescript-compiler.  Other than that, I'm not seeing anything obvious.

Let's coordinate a release and announcement tomorrow, pending hearing from @krisselden that a full release is imminent.

Two bugs I noted today in testing:

It does not properly resolve a number of paths. I have a bunch of things in a directory, types, at the root of my app. These resolve correctly in the base tsconfig; they do not resolve correctly in this add-on (presumably because of some configuration issue between this and broccoli-typescript-compiler).
The build process unavoidably spews everything to the screen. Given the above, and the poor state of affairs of Ember typings, that means that every rebuild is currently spewing hundreds (or possibly thousands) of errors to the screen.

I'd quite like to resolve both of those before officially releasing this, as it is not a good look. 😢

@chriskrycho I'm going to need more info than that, is there a project i can clone to try it out?

There's a reproduction here. Clone, yarn, and build should be all you need to see it. Locally, this is my output (after stripping out the ...Building bits):
$ ember build
'instrument' is imported from external module 'ember-data/-debug' but never used
Warning: ignoring input sourcemap for vendor/ember/ember.debug.js because ENOENT: no such file or directory, open '/Users/chris/dev/oss/some-ts-bits/tmp/source_map_concat-input_base_path-Vyc1Zg2c.tmp/vendor/ember/ember.debug.map'
error TS5055: Cannot write file '/users/chris/dev/oss/some-ts-bits/config/environment.js' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
error TS5055: Cannot write file '/users/chris/dev/oss/some-ts-bits/tests/helpers/destroy-app.js' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
error TS5055: Cannot write file '/users/chris/dev/oss/some-ts-bits/tests/helpers/module-for-acceptance.js' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
error TS5055: Cannot write file '/users/chris/dev/oss/some-ts-bits/tests/helpers/start-app.js' because it would overwrite input file.
  Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
some-ts-bits/tests/acceptance/some-ts-stuff-test.ts(1,22): error TS2307: Cannot find module 'qunit'.
some-ts-bits/tests/acceptance/some-ts-stuff-test.ts(7,3): error TS2304: Cannot find name 'server'.
some-ts-bits/tests/acceptance/some-ts-stuff-test.ts(10,11): error TS2345: Argument of type '<T>() => void' is not assignable to parameter of type '<T>(...args: any[]) => T'.
  Type 'void' is not assignable to type 'T'.
Warning: ignoring input sourcemap for vendor/ember/ember-testing.js because ENOENT: no such file or directory, open '/Users/chris/dev/oss/some-ts-bits/tmp/source_map_concat-input_base_path-ZjAZKQN7.tmp/vendor/ember/ember-testing.map'
cleaning up...
Built project successfully. Stored in "dist/".

Aaaaaand, now the tests pass but when I install it in an add-on, it's not generating an TS. (╯°□°）╯︵ ┻━┻

Steps to reproduce this all-of-a-sudden-not-working:
ember new ts-pls
cd ts-pls
yarn add https://github.com/emberwatch/ember-cli-typescript.git#latest-b-c-ts
ember init ember-cli-typescript
ember generate component some-component
mv app/components/some-component.js app/components/some-component.ts
# add some content to some-component.ts and some-component.hbs
ember serve

Then proceed to beat head against wall as you can see that TS files are being compiled but are not being included in final output.
@krisselden am I just an idiot? (Entirely possible.)

Note that the changes I just pushed do not fix this, but they do seem sensible.


jsonpb: Cannot unmarshal string into float or double

With the following protocol buffer file
syntax = "proto3";
package example
option go_package = "example"

message Foo {
  float bar = 1;
}

I would expect this test to pass.
package twitter

import (
	"strings"
	"testing"

	"github.com/golang/protobuf/jsonpb"
	"github.com/kyleconroy/example"
)

const foo = `
{"bar": "1.0"}
`

func TestLoadFloat(t *testing.T) {
	m := jsonpb.Unmarshaler{}
	f := example.Foo{}
	if err := m.Unmarshal(strings.NewReader(foo), &f); err != nil {
		t.Fatal(err)
	}
}

It does not
--- FAIL: TestLoadFlaot (0.00s)
	foo_test.go:26: json: cannot unmarshal string into Go value of type float32

The language guide suggests that floats and doubles should be supported as strings.

JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity". Either numbers or strings are accepted. Exponent notation is also accepted.

@kyleconroy, are you sure you have the latest version of the repo checked out? I am pretty sure this issue was recently addressed: https://github.com/golang/protobuf/pull/630

That was the problem, as I was using v1.10. When can we expect another release?


Support for AWS display method specification changes

When obtaining AccountID, the corresponding element did not exist and was Undefined, so the system now waits until the AccountID element is displayed.
Any other better implementation would be appreciated.
Also changed to manifestnoV3.

@j13158mk Thank you for your effort! I reproduced the issue and this PR works.
Please wait a moment.


Using rustls-tls feature still depends on 'openssl-sys'

Describe the bug
Lettre still depends on 'openssl-sys' despite the 'rustls-tls' feature being enabled.
To Reproduce
Using the following line in Cargo.toml:
lettre = { version = "0.10.4", features = ["rustls-tls"] }

With these imports:
use lettre::{
    message::header::ContentType, transport::smtp::SmtpTransportBuilder, Message, SmtpTransport,
    Transport,
}

causes the following stack-trace:
  run pkg_config fail: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"` did not exit successfully: exit status: 1
  error: could not find system library 'openssl' required by the 'openssl-sys' crate

  --- stderr
  Package openssl was not found in the pkg-config search path.
  Perhaps you should add the directory containing `openssl.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'openssl', required by 'virtual:world', not found
...

Expected behavior
I expected cargo build to not look for OpenSSL on my system and instead rely on rustls-tls as other packages (actix-web, reqwest) are doing in my project.
Environment

Lettre version: 0.10.4
OS: RHEL 9.1 (Plow)

Additional context
If any additional information/context is needed, please feel free to let me know and I will provide it. Thank you.

Have you tried disabling default features?

Thanks for the swift reply @paolobarbolini. I tried with --no-default-features command-line flag as well as the following Cargo.toml line:
lettre = {version = "0.10.4", features = ["rustls-tls"], disable-features = true }

Unfortunately I'm still getting the same error. Do you suggest trying anything else?


Listen and scrape each exercise attempt

On the tutorial page, we want to listen for:

After a user presses the Check my answer! button (each time)
Listen for the div with the id exercisefeedback to change
If it contains a table with the class feedback then write a new Exercise_Attempt

As part of this issue, we need a Exercise_Attempt table with:

unique id (auto increment, primary key)
user id
time and date
exercise id (e.g. 688 from this exercise)
score (percentage scraped, as floating point, representing the number of passing tests out of the number of tests)

One more field to store in Exercise_Attempt:

tutorial id

Scraping is impractical given modern browser protections from scraping iframes hosted on different servers.
Closing and archiving this issue.

Scraping is impractical given modern browser protections from scraping iframes hosted on different servers.
Closing and archiving this issue.


Dell XPS 13-9320: initial config

Description of changes
Things done

[ ] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

Will integrate https://github.com/NixOS/nixos-hardware/issues/493

webcam is not functioning yet. Device exists, however
$ dmesg | grep vsc
[   22.820495] intel vsc not ready
[   22.864168] intel vsc not ready
[   22.908654] intel vsc not ready
[   22.939531] intel vsc not ready
[   22.977289] intel vsc not ready
[   23.006503] intel vsc not ready
[   23.035352] intel vsc not ready
[   23.083736] intel vsc not ready
[   23.180047] intel vsc not ready
[   23.229893] intel vsc not ready
[   23.301121] intel vsc not ready
[   23.335356] intel vsc not ready
[   23.382618] intel vsc not ready
[   23.422891] intel vsc not ready
[   23.464175] intel vsc not ready
[   23.511399] intel vsc not ready
[   23.545464] intel vsc not ready
[   23.572535] intel vsc not ready
[   31.731382] vsc_ace spi-INTC1094:00-5db76cf6-0a68-4ed6-9b78-0361635e2447: recv firmware id

This has a merge conflict now.

Please re-open if this is ready to be merged. Thanks!

Hey, I'd love to see you @FRidh finish this. I love my 9320 and would love to see it supported.

Camera is still an issue. Unfortunately the linked gist does not record matching revisions. Just using latest did not work for me.

https://discourse.nixos.org/t/missing-ivsc-firmware-on-dell-xps-13-plus-9320/36724/2
this did it for me


🐛: None value for parameter

Seems to be bug when you use None as value for parameter.

This is coming from dict_to_strings returning 'key' when given 'key:None' pair from dictionary. This functionality was well intentioned but doesn't match up with what's expected in the rest of the package.


Is there any detail description about how to get the output?

I checked in the main.cpp, it seems output will be written to file only when argc>3. However, there is no description of how to give these arguments.

This was resolved by referring to the previous issue.


Release v0.9.0

(PR #103, 2020-02-24) cte: Add custom validators and deserializers to
parser
(PR #97, 2020-02-25) cte: Allow four digit Form 29 codes
(PR #104, 2020-02-27) cte.f29.parser: Rename custom validator and
deserializer parameters

Codecov Report

Merging #105 into master will increase coverage by 0.18%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
+ Coverage   80.00%   80.18%   +0.18%
==========================================
  Files          25       25
  Lines        1635     1645      +10
  Branches      251      253       +2
==========================================
+ Hits         1308     1319      +11
+ Misses        223      221       -2
- Partials      104      105       +1

Impacted Files
Coverage Δ

cl_sii/cte/f29/data_models.py
91.91% <ø> (ø)

cl_sii/cte/f29/parse_datos_obj.py
82.81% <94.11%> (+5.03%)
:arrow_up:

Continue to review full report at Codecov.

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


feat: output contract address

#48  👈
main

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

Join @jakim929 and the rest of your teammates on  Graphite


com.google.android.gms.ads.identifier.service.START missing

In playing around with play-services-core-debug.apk some more, there are some apps complaining that play services are not installed. The Meetup app is one and it has an okay button after the message. If pressed, the app crashes. Looks like there are two things here. One a missing api for something that looks like an ad service (maybe should be added to play-services-core) and something that might be a Meetup app issue or an unexpected null pointer from play-services-core:
W/ActivityManager( 1256): Unable to start service Intent { act=com.google.android.gms.ads.identifier.service.START pkg=com.google.android.gms } U=0: not found
E/AndroidRuntime( 3351): FATAL EXCEPTION: main
E/AndroidRuntime( 3351): Process: com.meetup, PID: 3351
E/AndroidRuntime( 3351): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
E/AndroidRuntime( 3351): 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1494)
E/AndroidRuntime( 3351): 	at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 3351): 	at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 3351): 	at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 3351): 	at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 3351): 	at com.google.android.gms.dynamic.zza$5.onClick(Unknown Source)
E/AndroidRuntime( 3351): 	at android.view.View.performClick(View.java:4780)
E/AndroidRuntime( 3351): 	at android.view.View$PerformClick.run(View.java:19866)
E/AndroidRuntime( 3351): 	at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 3351): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 3351): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 3351): 	at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 3351): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3351): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3351): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 3351): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
W/ActivityManager( 1256):   Force finishing activity 1 com.meetup/.activity.Bootstrap

Can you please provide more details about how you use the Meetup app? I ran it without problems using version 2.7.7 and login with my e-mail address (not using Google sign in)

I too use my non-google email to log in, and the app generally functions. But on first start I get a message saying my phone does not support Play Services along with a "okay" button. If that button is pressed the app crashes.
With respect to function, I am able to browse new meetup events, RSVP for them (having them added to my calendar), send and receive messages and to upload photos. So all the functionality I need is there, just this annoying little message that if acknowledged crashes the app.
I have also noticed in my logcat:
W/GooglePlayServicesUtil(24113): Google Play Store signature invalid.
E/GooglePlayServicesUtil(24113): Google Play services is invalid. Cannot recover.

Which leads me to think I have installed something wrong. I have installed BlankStore and it appears to be running fine in that I can browse apps, install apps, update apps, etc.

Which version of BlankStore are you using? Are you using the system patch or the Xposed module?

"Android Market" (com.android.vending) is showing as 0.7.2 in my App Info.
I do not have Xposed installed. I have read of a "system patch" but have not seen what it is or how to do it.

https://github.com/microg/android_packages_apps_GmsCore/blob/master/android_frameworks_base%2BFAKE_PACKAGE_SIGNATURE.patch
This is the system patch. Either this or an Xposed module is required to properly run GmsCore. This is due to the signature check inside play services that needs to be bypassed and unfortunately there is no way to come around this.
If you're able and willing to run OmniROM 4.4, it already contains the system patch. There are some other custom ROMs that include the patch, but none of the big players.

Hmmm. Can I just compile and insert a new PackageParser or do I need to build the whole ROM?
I am running the ZMoD Android 5.1.1 as found at http://forum.xda-developers.com/galaxy-nexus/development/rom-cyanogenmod-12-beta-builds-t3060319
Quite frankly my limited experience with Xposed was not pleasant. If I do go that way again, which specific Xposed module would I need?

You need this Xposed module: https://github.com/thermatk/FakeGApps/releases

Hmmm. Xposed seems not to be compatible with 5.1 (yet). I've put a comment on the XDA thread for the ROM I am using asking for the patch to be installed.
For my edification, is there an explanation of what the signature issue is? And with that explanation, I guess this issue can be closed as with an unpatched 5.1 ROM I am not running a system that can be supported at the moment.

Try this http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979 for android 5.1 (its working fine)

Thank you bonanza123 for that. I will mull this over. . . I haven't been able to find a recovery for my Galaxy Nexus (maguro) that supports both f2fs and encryption properly (running a special build of TWRP). Net result is I am a bit leery of doing things that look like they rely on putting flashable ZIPs into /data and then expecting recovery to find them. It looks like I can sideload them for initial install but after that?

what do you mean with initial install? you flash the zip once and the modules are then installed from android itself (I also have a maguro and troubles finding proper kernels and recoveries ;-) ).

Okay, bit the bullet and installed the Xposed frame work and module posted. Reinstalled play-services-core-debug.apk and thing appear to be working now. I fired up three apps that had complained from time to time about missing Play Services and they are not complaining now (Meetup, Skype and one for a hotel chain). I also installed the current version of YouTube using Blankstore and it runs too.
Only issue now is that the phone boots slower and acts a bit weird (flashing several screens quickly) when getting to the point where it wants the encryption PIN. I hope I can get the ROM developer to add the patch so I can drop Xposed.

For Xposed it usually advised to stay to AOSP as close as possible or using some major ROMs like cyanogen. This is because each ROM may have undertaken some special system changes such as framework specific modifications that may lead to unexpected behaviour with Xposed. (Btw, as you seem to be new to Xposed, have a look at this here: http://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783 maybe you will like it)

When I used CM11 I tried Xposed specifically to try Xprivacy. I was perhaps over zealous on restricting permissions and I got into a condition were I couldn't even make calls. The ROM I am using is released by the official maintainer of CM for Maguro and is probably closer to AOSP that CM is. Until I installed Xposed it was remarkably snappy. Now it is feeling about like CM11 was.


fails for some files (e.g. png) on Windows

PNG files, for example, will have "data" truncated to "89:50:4e:47:0a", causing them to be misdetected as an (invalid) ICO file.
Changing
with open(file_path) as input:

to
with open(file_path, 'rb') as input:

solves this on this OS that does not treat binary and text files differently.

Thanks, fixed.


dav1d: 1.0.0 -> 1.1.0

Description of changes
Update dav1d to current latest version: https://github.com/videolan/dav1d/releases/tag/1.1.0. Also, start using the read-only mirror for dav1d source https://github.com/videolan/dav1d instead of the origin https://code.videolan.org/videolan/dav1d/. The reason is that the origin https://code.videolan.org/videolan/dav1d/ connection appears unstable.
This change was motivated by OSV item https://osv.dev/vulnerability/OSV-2022-674 identified by manual test run with vulnxscan.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Labels "8.has: clean-up" and "8.has: package (new)" got added by ofborg after my incorrect rebase against master that I fixed with 4040da1900d3c7c6e3a273a2b6fa94fdeb2dfe55.
Those two labels should be removed, but I'm unable to manually change them.


Add option of WITH (NOLOCK)

Hello. SqlKata already has FromRaw method to allow write queries WITH (NOLOCK) operation but it's something needed to be fluent and doesn't need to write manually all the methods.
Maybe one suggestion could be add this option in the compiler similar to :
compiler = Compilers.Get<SqlServerCompiler>(EngineCodes.SqlServer);
compiler.UseLegacyPagination = true;
But using a new property:
compiler = Compilers.Get<SqlServerCompiler>(EngineCodes.SqlServer);
compiler.UseLegacyPagination = true;
compiler.UseNoLock = true;
This functionality will be very helpful, in my current case in doing queries only for reporting so we don't want to block any record and also this data changes frequently.
Thanks for your great work!

I accept @Shurpop and (Nolock) is very important for Sql server. Nowly i use it with FromRaw but its not good way. If change database to pg it will raise an error. So this compiler option have to be compiler based (sql server pg etc...)

See my comment here.

@ahmad-moussawi Any possibility of adding this feature in sqlkata? Would be really useful.


create jumpscale executor to talk to core0

In order to use AYS with g8os, we need to have an executor that can talk to core0.

see : https://github.com/Jumpscale/jumpscale_core8/commit/fd68b364747c6d7a1a51c6f66d9f3d3871e4e03b


[FEATURE] LibffmConverter input type

Description
When I use libffmconverter to do the conversion on movielens dataframe, userID and itemID are not converted correctly after using movielens.load_pandas_df . These two columns are loaded as int. I changed these two columns into string to make the converter work properly. We may need to mention that types of columns need to be "string" if they are categorical variables, in the readme file or description of libffmconverter part.

@yexing99 it is mentioned in the docstring of the utility function here - the input columns should be either string or numerical indicating the variable are categorical or numerical, respectively.

Another thing I've noticed is that with converting movielens data to libffm, the genres is mapped to a large number (e.g. 2626) , which supposedly less than 20.

@yexing99 talked and explained offline - please reopen the issue if there is anything.


token.lemma_ with the token "didn't" does not exist

The token "didn't" is correctly separated into ["did", "n't"], but in this case the lemma for "did" does not correctly register as "do", instead it is an empty string.
tokens = nlp("didn't")
print(tokens[0].lemma_)
>>> empty string
However it works when the token is just "did"
tokens = nlp("did")
print(tokens[0].lemma_)
>>> do
And "isn't" works perfectly, correctly being split as ["is", "n't"] with the lemma "be" for token[0]
tokens = nlp("isn't")
print(tokens[0].lemma_)
>>> be

Thanks, fixed.
I've corrected the data file for that entry, to load its lemma, and fixed the error that caused the lemma to be empty when the data was missing.
The corrected data will be uploaded in the next release, which should be within the next 48 hours.


Create Blog “difference”

Automatically generated by Netlify CMS

👷 Deploy Preview for nostalgic-blackwell-179c00 processing.
🔨 Explore the source changes: 0bead0382c1eec1fa051265af34be32cd345f25c
🔍 Inspect the deploy log: https://app.netlify.com/sites/nostalgic-blackwell-179c00/deploys/61e5076ed96c35000855a2b8


docs: update uses of 'SDS' to 'EDS'

Docs Changes: Update SDS->EDS where appropriate: not uses of SDS that refer to S(ecret)DS, and not uses of SDS that are explicitly talking about what it used to be called in API v1. The changes are in docs and comments only.

Oops - I missed the docs failure before LGTMing.  I think this needs one more pass for that. :-)

Heh, yep :blush:
I think it's fixed now.

Oops, but now you're falling afoul of DCO.
If you haven't done the aliasing in the DCO docs* it's worth looking at.  I screwed up DCO about 1 times in 4 until I added a githook to automate sign-off.
*https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#dco-sign-your-work

Haha, looks like I still have some growing pains going on, sorry. I must have done that aliasing on my workstation but not laptop (where I just made that most recent commit from). I will fix that later today.

Alright, I've tried a couple of things to fix the DCO problem, and now it's telling me that there's a DCO problem in someone else's perfectly fine, already submitted change (#4805), and I can no longer even make new commits! I recreated in #4860.


Is it possible to have multiple Supabase instances?

I have...

1 Nuxt Website
2 Supabase Projects

I want to...

Build a CRUD View and do changes in both Supabase projects

Is something like that possible?
const project1 = useSupabaseClient({
    supabase_url: process.env.supabase_project_url_1,
    supabase_key: process.env.supabase_project_key_1
});
const project2 = useSupabaseClient({
    supabase_url: process.env.supabase_project_url_2,
    supabase_key: process.env.supabase_project_key_2
});

... or how could I accomplish that?
Thanks in advance

Hey, not sure how relevant that is, but from my understanding you'd want to use the underlaying library, https://github.com/supabase/supabase-js/, for this. Using the nuxt module creates one instance that's heavily connected/integrated to your Nuxt configuration, and tinkering with this will (in my understanding) only lead to problems


Powershell Core exiting with unexpected error on ctrl+c

Install powershell terminal and debug\run any script or run azure function.
click ctrl+c to exit from console, you receive below error
The terminal failed to launch properly because your system has legacy console mode enabled, uncheck "Use legacy console" cmd.exe's properties to fix this.
Even this is already unchecked.

$PSVersionTable
Name                           Value

PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Please provide a screenshot illustrating the problem. See this wiki page for more info on how to report actionable terminal issues.

Also what version of vscode?

VScode was not allowing me to report directly via tool. It redirected me to this page.
VScode:
Version: 1.40.2 (user setup)
Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
Date: 2019-11-25T14:54:45.096Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362
Windows:
Microsoft Windows [Version 10.0.18362.476]
Extensions list:
christian-kohler.path-intellisense
DotJoshJohnson.xml
jasonnutter.search-node-modules
McCarter.start-git-bash
ms-azuretools.vscode-azurefunctions
ms-vscode.azure-account
ms-vscode.azurecli
ms-vscode.js-debug-nightly
ms-vscode.powershell
rebornix.ruby
Tyriar.shell-launcher
wingrunr21.vscode-ruby
xabikos.JavaScriptSnippets
settings.zip

Terminal crashes when pressing Ctrl + C
Terminal is set to pwsh (PowerShell Core installed as a dotnet global tool)

This message shows when the exit code is<PHONE_NUMBER>:
https://github.com/microsoft/vscode/blob/master/src/vs/workbench/contrib/terminal/common/terminal.ts#L68
https://github.com/microsoft/vscode/blob/d8d87f5c456e8d69e23dbac97fdb8c7aad8120c6/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L1045
Looks like https://github.com/microsoft/terminal/issues/1894 is the underlying issue, good find @rohith

It's fixed (at least for me) after upgrading to PowerShell v7 which comes with a fix to unexpected Ctrl+C behavior powershell/powershell#11959

after upgrading it to latest version, issue has been resolved.


Failure in portray command for docs

https://github.com/cruft/cruft/runs/6100661586?check_suite_focus=true
Run poetry run portray on_github_pages -f

⠋ Copying source documentation to temporary compilation directory
Done Copying source documentation to temporary compilation directory

⠋ Auto generating reference documentation using pdocs
⠙ Auto generating reference documentation using pdocs
⠹ Auto generating reference documentation using pdocs
Done Auto generating reference documentation using pdocs

⠋ Rendering complete website from Markdown using MkDocs
Traceback (most recent call last):
  File "/home/runner/work/cruft/cruft/.venv/bin/portray", line 8, in <module>
    sys.exit(__hug__.cli())
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/hug/api.py", line 441, in __call__
    result = self.commands.get(command)()
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/hug/interface.py", line 650, in __call__
    raise exception
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/hug/interface.py", line 646, in __call__
    result = self.output(self.interface(**pass_to_function), context)
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/hug/interface.py", line 129, in __call__
    return __hug_internal_self._function(*args, **kwargs)
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/portray/api.py", line 184, in on_github_pages
    with render.documentation_in_temp_folder(project_config) as (_, site_dir):
  File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/portray/render.py", line 155, in documentation_in_temp_folder
    mkdocs(config["mkdocs"])
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/portray/render.py", line 69, in mkdocs
    config_instance = _mkdocs_config(config)
  File "/home/runner/work/cruft/cruft/.venv/lib/python3.7/site-packages/portray/render.py", line 172, in _mkdocs_config
    config_instance = mkdocs_config.Config(schema=mkdocs_config.DEFAULT_SCHEMA)
AttributeError: module 'mkdocs.config' has no attribute 'DEFAULT_SCHEMA'

https://github.com/timothycrosley/portray/issues/83 related issue. Just a version bump to 1.7 should work.


Fixed typos

Hey there, just a tiny one. I hope it makes sense :)

Thank you very much @mwfire. It makes total sense 😛


Fix Add and Remove Vega Token Buttons

When user inputs the number of Vega Tokens to be added or removed from a validator then the CTA button turns White which clashes with white text box for number of Vega Tokens.

This has been fixed now.


issue #6 Scrollbar-homepage changes

What is the change?
changed the scrollbar and also made changes to the height of the homepage
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] I have followed the Code of Conduct.
[x] I have  checked there aren't other open Pull Requests for the same update/change.
[x] I have you tested the code before submission.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest'21 contributor.

Screenshots (if any)
https://user-images.githubusercontent.com/74983536/135582895-f64daf4d-9b67-4524-b776-8e573b694a26.mp4

https://user-images.githubusercontent.com/74983536/135614404-5e88ab47-a80c-4efa-8d7c-c56b8457da33.mp4
I've fixed

navbar-made it sticky
changed the background colour of the scroll thumb

@SayantaniDeb  Can you update the branch and resolve the merge conficts . We are facing issue with merging

okay sure.


Need to be able to specify JDK for Gradle builds

Using the native Gradle@2 plugin, there is an option to specify the jdk version for the build ('JavaHomeVersion', 'jdkVersionOption', 'jdkArchitectureOption'). No such options seem to exist in the JFrog Gradle plugin.
Right now, it seems to be picking up Java 11, which breaks some of our builds which are still dependent on Java 8. We can build using the native Gradle plugin, but not with the JFrog one.

Hi @vmiko,
JFrog Azure Devops 2.7.0 is released and should fix the above issue.
Looking forward to your feedback on it.

Hi @drobert-bfm ,
JFrog Azure Devops 2.7.0 is released and should fix the above issue.
Looking forward to your feedback on it.


Added CS Vincent Van Gogh

Hi,
Could we please at CS Vincent van Gogh, a school located in The Netherlands?

@Sidesplitter Could you please provide us with a link to your official website, and a long-term (> 1 year) IT-related course described on the website? Thank you!

@Sidesplitter Just in case if you need free licenses for short-term courses please email to<EMAIL_ADDRESS>to get another type of free licenses or use trial versions. You can ask<EMAIL_ADDRESS>for extended trials if your courses last longer than 30 days.


Adding most of my accessibility functionality

I left out onMenu because it would generate a lot of text and caused more issues than it solved. You can just use the hotkey on each MenuItem if you want.

Nice thanks!
I pushed another commit that fixed a few issues like it would only narrate if chat messages and game messages were enabled. Also i realized that game messages also only spoke when chat messages were enabled, the message processing is kind of a mess lol, im probably gonna redo it if i make more updates. Then i set the default keybinds to not set as if people have those keybinds already set for something it might be confusing why its speaking it.

Ya it took a little bit to figure out how to hook into the message processing for my stuff, and thanks for the updates!


'Show fields API names' not shown first time component open

To Reproduce
Steps to reproduce the behavior:

Go to any record
Click on the '<' button to show the Inspector window
Pay attention that the 'Show fields API names' is not there
Close the Inspector window and open it once again
Pay attention that now the button is shown

Expected behavior
The button shows up from the first time
Desktop (please complete the following information):

OS: Windows 10 Pro 22H2
Browser Chrome 120.0.6099.225
Version 1.21

Hi @oleg-mastriukov,
Could you share more details (screenshot / screen recording) about your page detail (page layout? flexipage ? dynamic form ?)

@oleg-mastriukov I'm closing the issue for the moment, feel free to add details so that I can investigate it.

@tprouvot sorry for the late response.
Please find a video attached. The first object is Opportunity where dynamic forms are enabled, the second is Account where dynamic forms are disabled. For both objects, it reproduces when I first open the record. If then I open another record of the same object, the 'Show fields API names' button is shown. If I refresh a page and open a record again, then again the button is not shown until I open the extension again.
https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/46223141/347784c3-7cf5-4c6e-997e-38d7942a3daa

Hi @oleg-mastriukov thanks for the video !
I'm not able to reproduce the issue.. Is it happening on one particular org or on all of them ?
@MD931 FYI

@tprouvot I checked several orgs, this behavior was in all of them. If I can share any useful details, then let me know how to do that

@oleg-mastriukov Have you any colleagues experiencing the same issue ?
Are you using any VPN or proxy ? If yes could you test with a direct connexion ?

@tprouvot I think I found the reason: the issue reproduces only if I have the Grammarly extension running

@oleg-mastriukov good catch !
Is it ok if I close the issue ?

Yep, I think there are not many people who face the same issue, so there's no sense in fixing the issue


Webpack server won’t start with npm run dev

I tried to create a fresh new project, but the server fails to start… any ideas? Worked fine a few days ago…
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle test@~predev: test@
6 silly lifecycle test@~predev: no script for predev, continuing
7 info lifecycle test@~dev: test@
8 verbose lifecycle test@~dev: unsafe-perm in lifecycle true
9 verbose lifecycle test@~dev: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/florians/Sites/vue-test/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle test@~dev: CWD: /Users/florians/Sites/vue-test
11 silly lifecycle test@~dev: Args: [ '-c', 'webpack-dev-server --inline --hot' ]
12 silly lifecycle test@~dev: Returned: code: 1  signal: null
13 info lifecycle test@~dev: Failed to exec dev script
14 verbose stack Error: test@ dev: webpack-dev-server --inline --hot
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:242:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:852:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid test@
16 verbose cwd /Users/florians/Sites/vue-test
17 error Darwin 15.2.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
19 error node v6.4.0
20 error npm  v3.10.3
21 error code ELIFECYCLE
22 error test@ dev: webpack-dev-server --inline --hot
22 error Exit status 1
23 error Failed at the test@ dev script 'webpack-dev-server --inline --hot'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the test package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     webpack-dev-server --inline --hot
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs test
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls test
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Personal issue. killall node fixed this

Just dropping a note for posterity. I was having an issue with "npm run dev" command as well, and the killall node fixed it for me as well.


Arc review comments

@avpatel @hschauhan @SiFiveHolland @clementleger @pathakraul @jones-drew : I will send the patches on the mailing list for wider review before merging. It is just easier to discuss via GH PR/issues for ARC review comments.


Bugfix 3.4: Allow libcurl time to retry DNS request

Seeing "cannot create connection to server" errors during tests with significant network load (>100Mbs).  Isolated this to DNS messages being lost on the network.
libcurl flushes its local DNS cache every 60 seconds without regard to DNS TTL information from DNS servers.  libcurl's retry interval is 5 seconds for lost DNS queries, but arangod's connection timeout was set to 1 second (with recent change to 5 seconds).  This timeout was too short to allow a retry.
New code forces connection timeout settings to be a minimum of 7 seconds.  This allows for one DNS retry.  Also added WARN level logging of any DNS lookup that is greater than or equal to 5 seconds to help diagnose this issue at customer sites.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/1814/

Blue balls ... ready for merge


Add CamelCase transform

There is Title Case, Snake Case, Lowercase, Uppercase, but no Camel Case. It would be nice to transform:
nice_feature -> NiceFeature

It would be a great feature.
You could use that extension: https://marketplace.visualstudio.com/items?itemName=SophodorosLLC.codevalet-vscode  until then.
I think also they should work on the title case to exclude articles.
Prince of Persia instead of Prince Of Persia which is not accaptable in many academic organizations.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Up for a PR anyone?


Support creating a new workspace client from an account client

Changes
This PR introduces func (a *AccountClient) GetWorkspaceClient(w provisioning.Workspace) (*WorkspaceClient, error) to make it easy to get a workspace client for a given workspace. The workspace client uses a copy of the config from the account client, reusing the underlying authenticator as well. This allows all workspace clients to use the same underlying token when authenticating with OAuth, decreasing the number of unnecessary token refreshes. Additionally, it allows workspace clients to work with U2M OAuth using the account-level token for customers with Unified Login.
Use-case: https://github.com/databricks/terraform-provider-databricks/pull/3188
Tests
New example passes.

[ ] make test passing
[ ] make fmt applied
[ ] relevant integration tests applied

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (1d9a465) 18.45% compared to head (7bd1f47) 18.59%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

config/config.go
90.32%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #792      +/-   ##
==========================================
+ Coverage   18.45%   18.59%   +0.13%
==========================================
  Files         115      116       +1
  Lines       21321    21357      +36
==========================================
+ Hits         3935     3971      +36
  Misses      17144    17144
  Partials      242      242

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Bug]: MYSQL giving unreliable results when columns have a default value as a built_in method.

What happened?
Let's say we have a table containing some default values as methods.
CREATE TABLE default_with_function_table
(
    id INT AUTO_INCREMENT PRIMARY KEY,
    user_value INT,
    `current_date` TIMESTAMP DEFAULT (CURRENT_DATE) NOT NULL,
    `current_timestamp` TIMESTAMP DEFAULT (NOW()) NOT NULL,
    random_number INT DEFAULT (FLOOR(RAND() * 1000)) NOT NULL
);

And below is the generated query for insert:
INSERT INTO `default_with_function_table` (`user_value`) VALUES (@param0);
SET @ROWCOUNT=ROW_COUNT();
SELECT
  last_insert_id() as `id`,
  @param0 as `user_value`,
  curdate() as `current_date`,
  now() as `current_timestamp`,
  floor((rand() * 1000)) as `random_number`
WHERE @ROWCOUNT > 0;

this query will insert a row but returned values of the inserted row will be different.
For example, in the above case we have a column which stores random_number or current_timestamp.  The insert and update command will give incorrect result.
The above query will insert a different value and return a different value because the select query is not picking the inserted value from DB, instead it's giving the value from the methods set as default for those columns.
The selection sql query generated in the mysql insert/update query use the below code.

This will require update, we would have to select the columns using column names like we are doing for MsSql and PgSql.
Version
main
What database are you using?
MySQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST, GraphQL
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This one is also along the same lines: https://github.com/Azure/data-api-builder/issues/1696


overflowAriaLabel prop in ProductiveCard not working

Package
Carbon for IBM Products
Description
I have been working on an issue migrating our project to carbon 11, and I can't seem to use the overflowAriaLabel to replace the default value of "Options".
Component(s) impacted
ProductiveCard
Browser
Chrome, Firefox
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
v2.38.0
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Product/offering
IBM Event Endpoint Management
CodeSandbox or Stackblitz example
https://carbon-for-ibm-products.netlify.app/?path=/story/ibm-products-components-cards-productivecard--with-overflow
Steps to reproduce the issue (if applicable)
add the prop / change the control overflowAriaLabel="Something else on storybook
https://carbon-for-ibm-products.netlify.app/?path=/story/ibm-products-components-cards-productivecard--with-overflow
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

### Tasks
- [ ] Check productive card
- [ ] Check expressive card

Hey @adamlsmith981,
i could see the overflowAriaLabel prop being passed by the value we set, as intended, as shown in the screenshot, could you check it?

Ah perhaps this isn't working as I hope it would do then, which was that it was supposed to update the value of the tool tip on the the overflow menu button, which seems to have a default value of Options. But yes, I am agreeable that that prop is updating the aria-label in the component in the dom.
So my issue would update to: how can I override the tooltip text Options that would appear over the overflow menu button? This doesn't look to be exposed as a updatable prop from what I can see? Thanks for your help in advance! :)

Just want to bump this issue, I am unable to find a way to override the Options text on the overflow menu tooltip. Is there any chance that this could be implemented if it does not exist already?

@adamlsmith981 @devadula-nandan Looks like the default is actually coming from the Carbon component and we’d need to add iconDescription to our CardHeader for us to be able to update this.


Remove extra newline characters at the end of description property value.

Remove newline characters at the end of the description property value. These extra characters are resulting in extra "." dot character in the python_sdk.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[X] The title of the PR is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[X] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[X] If applicable, the PR references the bug/issue that it fixes.
[X] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[X] I have read the contribution guidelines.
[X] My spec meets the review criteria:

[X] The spec conforms to the Swagger 2.0 specification.
[X] The spec follows the guidelines described in the Swagger checklist document.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go
Encountered a Subprocess error: (azure-sdk-for-go)
Command: ['/usr/local/bin/autorest', '/tmp/tmpeskbko63/rest/specification/servicefabric/data-plane/readme.md', '--go', '--go-sdk-folder=/tmp/tmpeskbko63/src/github.com/Azure/azure-sdk-for-go', '--multiapi', '--use=<EMAIL_ADDRESS>'--use-onever', '--verbose']
Finished with return code 1
and output:
AutoRest code generation utility [version: 2.0.4280; node: v8.11.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest

There is a new version of AutoRest available (2.0.4283).
 > You can install the newer version with with npm install -g autorest@latest

   Loading AutoRest core      '/root/.autorest/@microsoft.azure_autorest-core<EMAIL_ADDRESS>(2.0.4280)
   Loading AutoRest extension<EMAIL_ADDRESS>(~2.1.110->2.1.110)
   Loading AutoRest extension<EMAIL_ADDRESS>(2.3.38->2.3.38)
Processing batch task - {"tag":"6.2"} .
Processing batch task - {"tag":"6.3"} .
ERROR: Referenced file 'file:///tmp/tmpeskbko63/rest/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/resource/CreateOrUpdateVolumeResource.json' not found
    - file:///tmp/tmpeskbko63/rest/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json:8135:12 ($.paths["/Resources/Volumes/{volumeResourceName}"].put["x-ms-examples"].CreateOrUpdateVolumeResource["$ref"])
FATAL: swagger-document/loader - FAILED
FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
Failure during batch task - {"tag":"6.3"} -- false.


use headline font

it turns out we can't reliably use titlepiece, so we're using headline instead:

I'll give you a 👍

but I do want to know what kind of flock?

I'll give you a 👍

but I do want to know what kind of flock?