Incorrect positioning when scrolling

Here you can see it http://cake.perepelvk.kz/
When you click on "Блог" it scrolls to section "Блог" but top side of the section is positioning inccorect. It goes slightly up.
Try to resize browser window and it will get normal.

Try looking at the differences between your site and the demo and examples. This might help you find the root cause of your problem.


Perf improvement for V2 package downloads from China by pointing to V3

Right now, the package URLs supplied by V2 endpoint are actually redirects to global CDN:

making users from China suffer slow downloads if V2 is used.
It seems, that the reason for using global CDN is that api.nuget.org link is not available right away as package becomes available in V2. But it will be soon after publishing it will becomes available in China CDN as well, and we can improve performance by providing a different redirect URL (or different URL in V2 response in the first place) some time after package is available. Now, the definition of some may vary: it can be pre-configured period of time (much larger than any reasonable V3 publishing time, say 3 days or a week) if we want really simple fix, or if more time can be spared then it can be a job or background thread in Gallery checking for the longest publish delay and adjusting that timeout accordingly.

Does our CDN not have nodes in China? The redirect itself may be slow, but I would think that the actual package downloads would be fine.


[UCR 0.6.1 ] Delta to Axis, input not converting to xbox Right stick or left stick ?

Trying to emulate mouse axis to xbox axis but Im failing to do so, it shows in the preview properly but output isnt there. Couldnd find tutorials on this, help
Edit: Just found out the plugins pack doesnt work with v6.1, it works with v6.0 though....
Edit: I would also like you guys to add a feature to invert output in Delta to Axis, please

I guess by 0.6.1 he means the test build that is pinned in the Discord channel, which is called "UCR_v0.6.1-feature.long-to-short+266.zip"


Unsupported authentication method in Snowflake

The 'externalbrowser' authentication is not supported, as this is a CLI and this method requires a manual interference.

I would be happy to pick this up @Maayan-s

Hi @ronmorgen1, Thank you!!
Actually, @IDoneShaveIt started working on it this morning, I didn't update the issue yet.
@IDoneShaveIt - How far along are you?
And @ronmorgen1 - Were you interested specifically in working on this or could I suggest another issue that would be a good place to start?

@Maayan-s I would appreciate any suggestions you may have

Cool @ronmorgen1 !
I think this is a cool issue for the dbt package - https://github.com/elementary-data/elementary/issues/215
And this one for the CLI - https://github.com/elementary-data/elementary/issues/133
WDYT?


I think this should be a variant schema... though there's no functional…

… impact because it's immediately overridden
@ShifaSZ Tagged you on this because it's small and should be non-functional!  Just wanting to make sure I'm understanding this!

I don't think this is right after reading more of this... closing!


bug: I don't know if I enabled fenlmagic correctly.

Description
When I enable fenlmagic in a jupyter notebook, I get no feedback, so I don't know if it worked correctly.
%load_ext fenlmagic

Ideally when this is run, I would get a response like fenlmagic extension loaded.

found when helping Cordell Hayes from Datastax support team with our getting started tutorial via zoom

If you believe this to be a bug, please update the description to match the Bug Issue Template.
This is more a feature request than a bug, but I am open to a discussion/feature request to add additional feedback that the extension is loaded successfully.
In your example, your Jupyter Notebook cell is running: %load_ext fenlmagic. This reads: "Call the single line magic load_ext and load the extension called fenlmagic". In the Jupyter Notebook, if this cell successfully ran to completion (the execution count went up), then the magic extension is loaded. If there was a failure to load the magic extension, then an error or exception would have been raised. Since no error or exception was raised and the loadext line magic completed successfully, the fenlmagic extension is loaded.

I know how this works, but I watched a user get very confused that there was no output on a successful load of the extension. I suspect there are other users that will feel the same.
Is it possible to return output on successful load of the extension?


Check signatures during reindexing when consensus rules change or participation is low

What's the "correct" way to determine the participation? I can determine global participation rate by taking head_block_num() / witness_schedule_object->slots_since_genesis but this probably isn't a good metric. We'd rather have participation in the last round. I could calculate this by looking at the block header from 1 round ago and doing round_size / ((head_block_time() - old_header.timestamp) / block_interval). Does anyone know of a better way / one that doesn't break if the interval changes? Do we want to look at just the last round or the last N rounds?


#91 Implement endpoints for a user to edit a dossier.

It looks good generally, can you just write tests for the repository, service, and controller methods you've written?

It looks good generally, can you just write tests for the repository, service, and controller methods you've written?

Yea, will do


Carthage

It's will be great to add Carthage support
You can follow this tutorial: Making Carthage-compatible Frameworks with Swift

Added in 0.1.0.


removed console.log

output was rendering in my project and I had no idea where it was coming from, realized it was from the plugin itself!

Thanks to your PR!


python configuration prototype

Here's the start of the python prototype. Specifically here, I wanted to test out the ergonomics of using the dictionary object parsed from the config file. I've updated a couple of things in the schema/config file as a result which I'm not opposed to changing back but here's the list of changes:

changed propagators to an array of strings instead of objects. propagators are currently identified by a string in the spec. This means in theory users would be limited in what they can configure in a propagator, but that's the state of the world today.
renamed *_provider to the signal name instead. i think this makes understand the configuration a bit more ergonomic since for example we're configuring exporters for the signal, and then applying them to a specific processor. the user may not need to know this is configuring the provider specifically.
changed processors to the same format as the exporter with type/identifier naming

The code as is supports configuring a console exporter, and turning on/off the SDK. I will continue adding more interpretation of the configuration in the future. The only interface users would interact with is shown in prototype.py as the following:
    otel.configure(otel.parse_and_validate_from_config_file(sys.argv[1], sys.argv[2]))

Question about the processor names - what is the reason that the name includes the exporter name after the slash? I can see it as a more descriptive name, but the type of the processor will have to be parsed from the name.

Question about the processor names - what is the reason that the name includes the exporter name after the slash? I can see it as a more descriptive name, but the type of the processor will have to be parsed from the name.

It's probably not necessary, since the name is really identifying the type of processor this is and not used as a unique identifier anywhere else. I suppose it could make returning an error when configuring a specific processor a bit more easy to identify, but it's probably not needed at this time

Closing in favour of https://github.com/open-telemetry/opentelemetry-configuration/pull/54


MSC2790: Modal widgets (acquiring user input from a widget)

Rendered

I'm relatively confident in this and the individuals who have had the pleasure of reading this haven't tried to suffocate me with negative feedback, so I think this is ready for FCP.
Under our new guidelines we'd normally request explicit review from a relevant spec core team member on MSCs first, but seeing as the current expert is me and no one else is volunteering, I'm essentially electing the entire core team as the secondary expert for this area.
@mscbot fcp merge

I sketched this up into a Sequence diagram for simplification.

@uhoreg as the only other person who has ticked for FCP, it's only fair that I mention I've increased the scope of this slightly to support disabling buttons as well.

Widgets are likely to change before this is worth putting in the spec. Pulling out of FCP.
@mscbot fcp cancel


macOS - drag a feed from iCloud list to a folder in iCloud list in another NNW window fails

Context: Syncing with iCloud, macOS NNW Version 6.1 (6106), macOS 12.3.1 (21E258), 13" M1 MBP.

Open two NNW windows
drag a feed item from the top level of the iCloud group to a folder in the iCloud group in the second window.
-> Drag seems like it will work but the feed item just springs back.

( Note: I ran into this because the same challenge the author of https://github.com/Ranchero-Software/NetNewsWire/issues/1737 ran into.  I have a large monitor so my solution was to open a second window so I could scroll it to the folders at the bottom and drag feeds from the first window into folders in the second window.
I also just ran into this related oddity https://github.com/Ranchero-Software/NetNewsWire/issues/3582 trying another approach to solve the same user challenge in organizing a list of feeds that's too long )

Does the same move work when you’re dragging within the same window?

Yes.  I've downloaded the source and am taking a look now.  Will submit a PR if I can replicate in Xcode and see an obvious fix.

Issue seems to be here:
https://github.com/Ranchero-Software/NetNewsWire/blob/b52292d4590ab07616981dffd5956aec6deea15f/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift#L373-L376
code assumes draggedNodes is set but it's set in the source outline view, not in the destination outline view and so when the outline view in a different window is accepting the drop it returns false here because draggedNodes is unset.

(digging further…)

(naming! maybe localDragFeedPasteboardOperation instead?)

Next step (for feeds) would be to address draggedNodes assumption in: acceptLocalFeedsDrop(…).
I'm find pursuing this path if you think it sounds reasonable.  Just didn't want to do a lot of work down a path that isn't how you'd like this fixed.
(It would be handy if PasteboardWebFeed could be used to initialize a WebFeed; just ran into the second time that would have allowed for less duplication of code.)
Thanks.

Back to this after a long break.
Got the most basic version working: local feed single and multiple item copy & move between windows within same account.  Some of the code is a bit more complicated than I'd like, but PasteboardWebFeeds have pretty limited information.
Still to do:

copy between accounts
fix folder drags between accounts works across windows
Step back and see if I can simplify the approach based on what I've learned about how things work (switch from nodes to feeds earlier?).

@brentsimmons draft PR with the fix is up.  As noted in the PR, I'd like to remove draggedNodes entirely and reduce the complexity and code thereby considerably but wanted to check with you first.  Let me know.

Ugh. subtle bug to investigate.  sorry.


intero cannot be used for company completion

…or at least I was not able to set it up.
Is this:
a) A known problem that needs to be resolved
b) Something that should work and that's probably misconfigured on my side?
c) Not something that intero aims to do?

It's #31 to address this. Things in Prelude should complete e.g. put to putStrLn etc.


Brackets new instance don't show Linux native menu bar.

Description
When you open a new Brackets window using the Development menu, it does not show the Linux native menu bar.
Steps to Reproduce

Open Brackets.
Go to Development -> Brackets new window.

Expected behavior: The secondary instances of Brackets show the Linux native menu bar.
Actual behavior: The secondary instances of Brackets don't show the Linux native menu bar.

Versions
Debian GNU/Linux 9
Brackets 1.10

Hey @pelatx this issue is fixed in https://github.com/adobe/brackets-shell/pull/619

Thanks @saurabh95. Waiting for merge and release.

We will do a pre-release once the PR is merged. Will update this thread once we merge.

Perfect. Thank you again.


fixes #112

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   51.58%   51.58%
=======================================
  Files           5        5
  Lines        1642     1642
=======================================
  Hits          847      847
  Misses        795      795

Impacted Files
Coverage Δ

promotion/promotion.py
98.61% <100%> (ø)
: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 1bc790e...b635431. Read the comment docs.

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   51.58%   51.58%
=======================================
  Files           5        5
  Lines        1642     1642
=======================================
  Hits          847      847
  Misses        795      795

Impacted Files
Coverage Δ

promotion/promotion.py
98.61% <100%> (ø)
: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 1bc790e...b635431. Read the comment docs.


setting Popup's "Opened" property causes tool to fail

I'm trying to run code when a popup is opened, as follows:
<Popup Opened="PopupOpened">
    <TextBlock>FooBarBaz</TextBlock>
</Popup>

The above causes the generator to fail, exiting with code -2.
The full error follows:

System.Windows.Markup.XamlParseException: 'Failed to create a 'Opened' from the text 'PopupOpened'.' Line number '18' and line position '461'. ---> System.Argum
entException: Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.
   at System.Delegate.CreateDelegate(Type type, Object target, String method, Boolean ignoreCase, Boolean throwOnBindFailure)
   at System.Delegate.CreateDelegate(Type type, Object target, String method)
   at System.Xaml.Schema.SafeReflectionInvoker.CreateDelegateCritical(Type delegateType, Object target, String methodName)
   at System.Xaml.Schema.SafeReflectionInvoker.CreateDelegate(Type delegateType, Object target, String methodName)
   at System.Xaml.EventConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember propert
y)
   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String
targetName, IAddLineInfo lineInfo)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject
, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)
   at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)
   at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode)
   at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)
   at EmptyKeys.UserInterface.Generator.UserInterfaceGenerator.GenerateCode(String inputFileName, String inputFileContent, RenderMode renderMode, String desired
Namespace) in e:\!Prog\TFS\LogicMarbles\UIGenerator\UIGenerator\UserInterfaceGenerator.cs:line 55
System.Windows.Markup.XamlParseException: 'Failed to create a 'Opened' from the text 'PopupOpened'.' Line number '18' and line position '461'. ---> System.Argum
entException: Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.
   at System.Delegate.CreateDelegate(Type type, Object target, String method, Boolean ignoreCase, Boolean throwOnBindFailure)
   at System.Delegate.CreateDelegate(Type type, Object target, String method)
   at System.Xaml.Schema.SafeReflectionInvoker.CreateDelegateCritical(Type delegateType, Object target, String methodName)
   at System.Xaml.Schema.SafeReflectionInvoker.CreateDelegate(Type delegateType, Object target, String methodName)
   at System.Xaml.EventConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember propert
y)
   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String
targetName, IAddLineInfo lineInfo)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject
, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)
   at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)
   at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode)
   at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)
   at EmptyKeys.UserInterface.Generator.UserInterfaceGenerator.GenerateCode(String inputFileName, String inputFileContent, RenderMode renderMode, String desired
Namespace) in e:\!Prog\TFS\LogicMarbles\UIGenerator\UIGenerator\UserInterfaceGenerator.cs:line 61
   at ekUiGen.Program.Generate(String xamlFile, String outputFile, RenderMode renderMode, String desiredNamespace) in e:\!Prog\TFS\LogicMarbles\UIGenerator\ekUi
Gen\Program.cs:line 170
   at ekUiGen.Program.Main(String[] args) in e:\!Prog\TFS\LogicMarbles\UIGenerator\ekUiGen\Program.cs:line 126

You can't use text in event as exception says. Try event trigger with Command or CommandPath (attached properties) - http://emptykeys.com/EmptyKeysUI/?topic=html/b4ca9479-08a7-08f4-f202-c91dd28ff574.htm

I was just going based on WPF examples.  In normal WPF, it appears you can set events the way I was trying to, and then it just looks for a method with that name with the right signature in your class.  I tried this with the default xaml=>cs compiler, and this is what it did.
It would be nice to handle that, or to make a decision that you will not.  That just means an error message.  Right now, when the tool exits like that, it is pretty much indistinguishable from a crash.
I only got that stack trace because I ran the tool on the command line instead of the default built event.  The normal error inside VS is just "error -2".  One thing you could do about this is generate an #error if your tool throws most exceptions, instead of failing.  This would make seeing the error a lot easier.
Obviously the best route would be to insert an #error like "We don't support using event names directly; please use event triggers with command or commandpath".  This is a pretty big task in general, but it might be easier to do one case at a time.  People trigger and report common problems first.
(I hope I'm not coming off abrasively; I'm just trying to figure things out and report problems I find.  Thanks for your help.)

I do not support code behind classes like WPF, but you can always create partial class of the same name and access controls directly. I would not recommend it tho.
Yeah, would be cool to be able detect that you used event etc. Unfortunately I'm using XamlReader Load method and if that crashes on some exception, I have no way knowing why (unless if I would somehow parse that exception, which is bad idea). I can generate #error line with exception tho.

Done, If there is crash on XAML load, exception message is generated in class output file. Avail in next version.


RKE1 Amazon EC2 clusters hang in provisioning with default node template ssh user

Setup

Rancher version: 2.6.3, 2.7.2
Browser type & version: Safari

Describe the bug

An RKE1 Amazon EC2 cluster with a node template with the default SSH user (which is ubuntu) hangs in provisioning trying to reach the nodes.
Default is ubuntu

On 2.6.3, the Rancher AMI docs https://github.com/rancher/os/blob/master/README.md/#user-content-amazon specify the default should be rancher.
If you don't change the SSH user in the node template, provisioning hangs at SSH connection

I tried changing nothing else in the node template and using the SSH user rancher instead and it works

To Reproduce

Create an rke1 node template with default SSH user ubuntu
Create rke1 cluster
Watch Machine Pools tab

Result
RKE1 cluster hangs trying to connect to the nodes via SSH
Expected Result

RKE1 cluster should provision successfully.
Notes
I know this is manually configurable but it's not obvious why the rke1 cluster is hanging and it'll be easier for users if the default SSH user is set to rancher. Why is the default ubuntu in the first place? Was this done for another platform? Open to discussion. If this is updated, the fix will need to go into both 2.6.x and 2.7.x because I saw the issue on both versions of the ui.

Transferred.
@annablender I'm not sure if this is your team or not; if not, then @Jono-SUSE-Rancher which team needs to look at this?

I haven't done a super deep dive, but it looks like it would be team 2, yes.

Ahh ok, yes I'll transfer this issue and assign it to myself. Thank you!

Why are we even referencing Rancher OS anymore? We should not be referencing Rancher OS, it is dead.
If a user wants to go out of their way to specify Rancher OS, then they should also see that they need to change the SSH user from ubuntu to rancher as in that documentation.

If you are finding current references in the Rancher documentation to Rancher OS, we should remove that.

Thanks for the feedback @Oats87
After looking into this a bit further, I believe it is not a regression. Rancher is set to use the ubuntu user by default and provision with no user configuration of the node template past security group and VPC. The defaultSshUser for amazonec2 config is set in rancher machine https://github.com/rancher/machine/blob/3961ee2c04211846a9c81b8e4b272ec4b86e73cb/drivers/amazonec2/amazonec2.go#L44. The RancherOS AMI list I pulled an AMI from in 2.6.3 is specifically for RancherOS and will only work with the sshUser rancher.
I tested this again on 2.6.3 and if you don't configure any AMI then Rancher will use a default ubuntu AMI that works with the default SSH user.
We could update the RancherOS AMI docs to discourage users from using it. Otherwise, this issue can be closed.


Add sample data and basic usage tests to CI

Closed by https://github.com/visidata/vdsql/pull/15 =)


modernize ts options

The node moduleResolution option has been deprecated for a while
A good default set of tsconfig options are explained here: https://www.totaltypescript.com/tsconfig-cheat-sheet

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


Add button to restart a pipeline rule

Hi Brain-Life Team,
It will be really useful to have a restart button near edit/trash when we want to rerun a pipeline rule. Currently, I need to trick the pipeline rule by changing the output tag.
Thanks!

@skoudoro Sorry for not getting back to this sooner, but pipeline can not be rerun like you could with an imperative workflow system. If you still need a similar feature, please let me know and we can discuss it further.


Update json reference for secretRef

Fixing happy accidents one character at a time
Signed-off-by: Ashwin Venkatesh<EMAIL_ADDRESS>

Codecov Report

Merging #393 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   68.88%   68.90%   +0.02%
==========================================
  Files          82       82
  Lines        3439     3438       -1
==========================================
  Hits         2369     2369
+ Misses        794      793       -1
  Partials      276      276

Impacted Files
Coverage Δ

pkg/apis/experimental/v1alpha1/store_types.go
0.00% <0.00%> (ø)

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 a7b5560...e4b1a19. Read the comment docs.

Should we update https://github.com/pivotal/kpack/blob/a7b5560e757354d2e45b505608ed4fc86a4a5753/cmd/webhook/main.go#L76?

Should we update
https://github.com/pivotal/kpack/blob/a7b5560e757354d2e45b505608ed4fc86a4a5753/cmd/webhook/main.go#L76
?

DONE!


I have a question about importing multiple JS files

How can i import multiple JS files or i can only wirte all the js code in one file？

The author gave me this solution,  it's useful to me.
[JPEngine startEngine];
    NSString *sourcePath = [[NSBundle mainBundle] pathForResource:@"demo" ofType:@"js"];
    NSString *script = [NSString stringWithContentsOfFile:sourcePath encoding:NSUTF8StringEncoding error:nil];
    [JPEngine evaluateScript:script];
    NSString *sourcePath = [[NSBundle mainBundle] pathForResource:@"demo2" ofType:@"js"];
    NSString *script = [NSString stringWithContentsOfFile:sourcePath encoding:NSUTF8StringEncoding error:nil];
    [JPEngine evaluateScript:script];

This issuse can be closed.


Add ability to pipe already available scripts as the response.

The problem
There are some tools which already have installer scripts, for example Docker has https://get.docker.com. There is no point we keeping these scripts on our repo as we have to keep them uptodate everytime the original one updated.
The proposed solution
It is better if we can fetch the script directly from the original one and server as the responce.

You mean fetching script and put it in installer.sh file right?


[e2e]: container push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4350341132
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Tue Mar  7 03:30:41 UTC 2023

Fixed by #1762


Improved support for doctype

When generating XML from JSON the optional field doctype receives an string value.
Ex: {..., doctype: 'TEST.DTD'}

This change would be overwritten by the first run of cake build since it is to JS which is automatically generated from the CoffeeScript source.

Coverage decreased (-0.3%) to 96.519% when pulling 02beac18dd971a97efc8d2eddd89928f882f958e on mzuniga84:master into 81f10a54fa4f03feff8a33a354d629000e719384 on Leonidas-from-XIV:master.

Coverage decreased (-0.3%) to 96.519% when pulling 02beac18dd971a97efc8d2eddd89928f882f958e on mzuniga84:master into 81f10a54fa4f03feff8a33a354d629000e719384 on Leonidas-from-XIV:master.


Need the blue tag for Beta.

Need the blue tag for this. Like we use to have for Sats Back or other such things.

verified this issue on staging app v2.0(349)


Switch to cross-compilation for linux_aarch64 and linux_ppc64le

This PR switches to cross-compilation for linux_aarch64 and linux_ppc64le.
See https://github.com/conda-forge/cuda-feedstock/issues/25

@conda-forge-admin , please re-render

Alex mentioned offline he is having Internet trouble today
Will go ahead and merge to get this in
That said, happy to follow up on anything after as needed


drop only successfully sent packets post sendmmsg

sendmmsg returns with number of packets sent which can
be less than number of packets requested to be sent. Do
not flush entire write queue and use the returned info
to partially clear the write queue.

Landed in https://github.com/libuv/libuv/commit/6530ea2ff243161b4208aed9549fe2e4c6acc563. Thanks!


Fix duplicated 'Powered by Blockstack' icons

Fixes #629

Merging this - it's a small change and I've confirmed the fix on a variety of environments.


CSRF as middleware?

Yes.

This middleware works well to generate the CSRF, but we need to have a Session Middleware, there will be an official one or one must be used for now use.
https://github.com/odan/session
https://github.com/odan/csrf

Any official suggestions,
Thks,

https://github.com/yiisoft/yii-web/issues/87

Session is done including a middleware.

I managed to implement the CSRF token with a middleware, the bad thing about all the packages is that there must be an open session to pass the id, while I try it in this way but it would seem that I do a hacking, as we could implement it by saving it in the session, with the meta tags, or in a cokkie, will be extending the session middleware, which you think would be the best way.
    CsrfMiddleware::class => function (ContainerInterface $container) {
        $session = $container->get(SessionInterface::class);

        // The CSRF middleware requires a valid session id
        if (!$session->isActive()) {
            $session->open();
        }

        $csrf = new CsrfMiddleware(new Psr17Factory(), $session->getId());
        $session->set('_csrf', $csrf->getToken());

        return $csrf;
    },

Session is automatically opened if you are trying to read/write from it so there's no need for explicit check.
Can't we require Session and PSR-17 factory as dependencies of CsrfMiddleware? Then there will be no need for complicated initialization.

Logic should be ported from Yii2 ?

Partially. Overall that would be kind of different because there were no middleware in 2.0.

Sent PR #103

Session is automatically opened if you are trying to read/write from it so there's no need for explicit check.
Can't we require Session and PSR-17 factory as dependencies of CsrfMiddleware? Then there will be no need for complicated initialization then.

And in which part of the code can I access the session already open?

You don't have to take care if it is open or not. Just read from it or write into it. It will open automatically.
You can access session anywhere via type-hinting. It is stored in DI container and will be injected.

And in which part of the code can I access the session already open?

in constructor


Is SavedModel in tf 1.15 same as SavedModel in tf 2.x from the API prospective?

Hi Team,
As it is noted in https://www.tensorflow.org/hub/tf2_saved_model:
Users of TensorFlow 1 can update to TF 1.15 and then use the same APIs. Older versions of TF1 do not work.
Does that means there's no difference between SavedModel format of tf 1.15(not tf.1.14 or other versions behind it) and tf 2.x?
Regards,
Zan

@pmixer
There is no significant difference, please let us know if you are facing any issues, else please open this issue in stackover flow and move this to closed status as its not a bug or feature request.

@Saduf2019
Thank you Saduf! That's cool, I'm just trying to verify my assumption before diving into the details for working on the related project. Thx for your support!


Feature/products

Engineers Checklist
What this PR does?

List of updates for features, enhancements, or bugfixes

How can it be tested?

Please provide step-by-step guide on how to test
If web or mobile, screenshots will be very helpful in addition

Where is it documented?

List JIRA tickets

Backend Updates

[ ] Updated Postman Documentation

[ ] Requests
[ ] Examples
[ ] Tests

[ ] Updated Tasks on JIRA
[ ] Tested API updates in dev environment
[ ] CI Checks Passed

there is a slight difference in your UI for the products. the name Umuhinzi Web App is on top of the photo instead of being on top of the words like the second product (USSD).


Patch 1

added italic 'year' and bold 'licensed'

[image: Inline image 1]
Rick Kelson
Utah AGRC
801.538.3237
gis.utah.gov
On Thu, Mar 31, 2016 at 1:42 PM, steveoh<EMAIL_ADDRESS>wrote:

Merged #79 https://github.com/agrc/agrc.github.io/pull/79.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/agrc/agrc.github.io/pull/79#event-610324681


Change "Starlight" to "SQL on-demand"

@filippopovic : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@filippopovic: I'm sorry - only the author of this article, @azaricstefan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Added to Home, but no readings/control

Hi,
Thanks for putting this together!
I've been able to get the switches in my Home app, but that's about it.
I can see all three switches in the app, as well as the temperature icon, but I cannot control the switches or read them from Home.
When I press the switch on a button, the Homebridge shows this:
0
OK
1
OK
0
OK
1
OK
(As if it is recognising that I am pressing these buttons, but not actually changing it. When I restart Homebridge it seems to pick up the status of the switches correctly (ie, if my Study Heater is on it will be able to see this, but not change it)
I am receiving the following error when it appears to be trying to get the temperature value.
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40)
at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
Values
{ power: true,
consumption: 0,
totalConsumption: NaN,
temperature: 0 }
Please also find my config.json
{
"bridge": {
"name": "Homebridge",
"username": "xx:xx:xx:xx:xx:xx",
"port": xxxxx,
"pin": "xxx-xx-xxx"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
    {
            "accessory": "w215",
            "name": "Study Heater",
            "host": "xxx.xxx.x.xx",
            "username": "admin",
            "password": "xxxxxx"

},
{
"accessory": "w215",
"name": "Bedroom Heater",
"host": "xxx.xxx.x.xx",
"username": "admin",
"password": "xxxxxx"
},
{
"accessory": "w215",
"name": "Bedroom Steamer",
"host": "xxx.xxx.x.xx",
"username": "admin",
"password": "xxxxxx"
}
]
}

Please let me know if I can provide any further information to assist.

I just realised that this is already a recognised issue, and that in fact all three buttons are controlling the same switch. I’ll refer to that thread. Thanks!


Support for CLI Extensions by OCM Plugins

What this PR does / why we need it:
The OCM Plugin framework now supports two new features:

definition of configuration types (consumed by the plugin)
definition of CLI commands (for the OCM CLI)

Additionally it is possible to consume logging configuration from the OCM CLI for all
plugin feature commands.
Examples see coding in cmds/cliplugin
Config Types
Config types are just registered at the Plugin Object;
	p := ppi.NewPlugin("cliplugin", version.Get().String())
        ...
	p.RegisterConfigType(configType)

The argument is just the config type as registered at the ocm library, for example:
const ConfigType = "rhabarber.config.acme.org"

type Config struct {
	runtime.ObjectVersionedType `json:",inline"`
	...
}

func (a *Config) ApplyTo(ctx cfgcpi.Context, target interface{}) error {
        ...
}

func init() {
	configType = cfgcpi.NewConfigType[*Config](ConfigType, usage)
	cfgcpi.RegisterConfigType(configType)
}

CLI Commands
CLI commands are simple configured cobra.Command objects.
They are registered at the plugin object with
        cmd, err := clicmd.NewCLICommand(NewCommand(), clicmd.WithCLIConfig(), clicmd.WithVerb("check"))
	if err != nil {
		os.Exit(1)
	}
	p.RegisterCommand(NewCommand())

with coding similar to

type command struct {
	date string
}

func NewCommand() *cobra.Command {
	cmd := &command{}
	c := &cobra.Command{
		Use:   Name + " <options>",
		Short: "determine whether we are in rhubarb season",
		Long:  "The rhubarb season is between march and april.",
		RunE:  cmd.Run,
	}

	c.Flags().StringVarP(&cmd.date, "date", "d", "", "the date to ask for (MM/DD)")
	return c
}

func (c *command) Run(cmd *cobra.Command, args []string) error {
   ...
}

The plugin programming interface supports the generation of an extension command directly from a
cobra command object using the method NewCLICommand from the ppi.clicmd package.
Otherwise the ppi.Command interface  can be implemented without requiring a cobra command..
If the code wants to use the config framework, for example to

use the OCM library again
access credentials
get configured with declared config types

the appropriate command feature must be set.
For the cobra support this is implemented by the option WithCLIConfig.
If set to true, the OCM CLI configuration is available for the config context used in the
CLI code.
The command can be a top-level command or attached to a dedicated verb (and optionally a realm like ocmor oci).
For the cobra support this can be requested by the option WithVerb(...).
If the config framework is used just add the following anonymoud import
for an automated configuration:
import (
        // enable mandelsoft plugin logging configuration.
	_ "github.com/open-component-model/ocm/pkg/contexts/ocm/plugin/ppi/config"
)

The plugin code is then configured with the configuration of the OCM CLI and the config  framework
can be used.
If the configuration should be handled by explicit plugin code a handler can be registered with
func init() {
	command.RegisterCommandConfigHandler(yourHandler)
}

It gets a config yaml according to the config objects used by the OCM library.
Logging
To get the logging configuration from the OCM CLI the plugin has be configured with
	p.ForwardLogging()

If the standard mandelsoft logging from the OCM library is used the configuration can
be implemented directly with an anonymous import of
import (
        // enable mandelsoft plugin logging configuration.
	_ "github.com/open-component-model/ocm/pkg/contexts/ocm/plugin/ppi/logging"
)

The plugin code is then configured with the logging configuration of the OCM CLI and the mandelsoft logging frame work
can be used.
If the logging configuration should be handled by explicit plugin code a handler can be registered with
func init() {
	cmds.RegisterLoggingConfigHandler(yourHandler)
}

It gets a logging configuration yaml according to the logging config used by the OCM library (github.com/mandelsoft/logging/config).
Using Plugin command extensions from the OCM library.
The plugin command extensions can also be called without the OCM CLI directly from the OCM library.
Therefore the plugin objects provided by the library can be used.
Logging information and config information must explicitly be configured to be passed to the
plugin.
Therefore the context attribute clicfgattr.Get(ctx) is used. It can be set via clicfgattr.Set(...).
The logging configuration is extracted from the configured configuration object with target type *logging.LoggingConfiguration.
If the code uses an OCM context configured with a (ocm)utils.ConfigureXXX function, the cli config attribute is set accordingly.
Which issue(s) this PR fixes:

Just rebased and fixed the linter issues


Fix the TestAstar cli test when run on wasm

This issue might be fixed one #4679 is fixed. If not, we have to investigate and fix the the TestAstar benchmark for wasm. It currently compiles and runs, but it generates incorrect results.
The test case can be re-enabled my removing the block here: https://github.com/roc-lang/roc/blob/506deb0054ba12f51074e7d3592cb417d405f3f8/crates/cli/tests/cli_run.rs#L702
It is run with: cargo test --features="wasm32-cli-run" -p roc_cli test_benchmarks::astar

This command now works, presumably due to #4683


Allow passing secrets to build args with build_args_from_env

Implemented in docker-plugin side originally in https://github.com/drone-plugins/drone-docker/pull/140. Same implementation imported here to be used with kaniko-plugin as well.
Idea is to be able to map environment variables to build-args so it's possible to pass secrets as build-arguments.
steps:
  - name: build
    image: plugins/kaniko
    environment:
      TOKEN:
        from_secret: secret-token
    settings:
      repo: octocat/hello-world
      tags:
        - latest
      build_args_from_env:
        - TOKEN

With closer review it is possible to achieve same effect with build_args. If build-arg is given without a value, the value from the environment will be propagated into the container being built.

Just to confirm: this should work (spent some time finding this out, confounded by a mis-positioned ARG in my docker file)
environment:
      TOKEN:
        from_secret: secret-token
    settings:
      repo: octocat/hello-world
      tags:
        - latest
      build_args:
        - TOKEN


Publish 4.2.0 prerelease version or even proper version?

Hi, really excited about the new transform functionality in 4.2 and was wondering if it would be possible to publish a prerelease/beta version of it? We can't install from Github in our production environment. Is there anything that can be done to help things along even?

+1 .. please push it to NPM.

4.2.0 will be out tomorrow, on Aug 2nd.

@jakubpawlowicz thanks man that's great news 👍

4.2.0 is out :tada:


Uncomment tox in the postcommit script.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

It was mistakenly commented out in the initial version.

R: @dhalperi


At result level: accredited and / or performed by external laboratory: can we have extensions for both?

E.g.: testAccredited: yes/no - testPerformedByOtherLab: yes/no

Is this only on the BeObservationLaboratory level, or also on the BeLaboratoryReport (DiagnosticReport)?

This would be on the Observation level.

We add this unstructured in a Observation.note


Upgrade azure-client-authentication package to 1.7.2

Closes #8440

Hey,
Thanks for creating this PR! Version numbers are incremented using this process. The ./eng/versioning/external_dependencies.txt file has to be updated and the update_version script run. This is so all the libraries here use the same version of that dependency.
https://github.com/Azure/azure-sdk-for-java/blob/master/CONTRIBUTING.md#what-does-the-process-look-like

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

Can one of the admins verify this patch?

@conniey shouldn't this PR be closed since https://github.com/Azure/azure-sdk-for-java/pull/8497/ effectively updates all of the dependencies and removes this particular issue?


In the Frank!Console I can no longer press ctrl+enter to submit a form

Describe the issue
In the Frank!Console I can no longer press ctrl+enter to submit a form.
I've only tested this in the 8.1 and 8.2
Reporter
Niels

Solution:
Directive that adds a keydown listener

Pressing "Enter" in forms now submits them because of default behavior. But this messes with using enter to select in a dropdown.
It should be fixed again.
Also, a lot of the text areas that has a directive are replaces by Monaco Editor and don't have this behavior anymore.


"Useful links for socks" shows up even when not clicked when the users for "Blocking and tagging socks" are being generated

The useful links for socks table is shown with no entries while the blocking and tagging socks table is being generated. Ideally the useful links for socks table should be hidden first.

Example:


luci-app-vpnbypass: luci tree Makefile + i18n support.

Sorry, forgot to update Makefile when I moved luci-app-vpnbypass into luci tree + initial i18n support.
Signed-off-by: Stan Grishin<EMAIL_ADDRESS>

Hannu,
I'd also prefer to leave the PKG_VERSION/PKG_RELEASE in the makefile to be in sync with the main app -- would that be acceptable?
Thank you for your comment -- I'll rebuild the pot-file.

I'd also prefer to leave the PKG_VERSION/PKG_RELEASE in the makefile to be in sync with the main app -- would that be acceptable?

Sure. Most apps do not carry that info and just let the automatic Luci versioning do its magic, but some do provide a native version. See e.g. ddns and aria2 apps.

Thank you Hannu, I've rebuilt the pot-file and edited Makefile.

One hint for next time: when you rebase / squash commits, edit also the combined commit message... No need to have several signed-off-by lines in the message  ;-)


take and drop have their arguments in reverse order from traditional

Perhaps intended, but I found it surprising, given that the rest of the API seems to adhere to racket/base conventions for homonymic functions

Yeah, this was semi-intentional at the time, but it was probably the wrong call. I don’t think it can be fixed now because the Racket package system provides no mechanism to safely break backwards compatibility.
In general, I prefer the Haskell-style argument order of usually taking the data structure last, but that is far more meaningful in a language where functions are curried. I think the argument order for take reads nicer with the index first, since you can read it as “take n elements from this list”, but that’s not a good enough reason to break convention. As a curiosity, the lazy language has the same argument order as this package, but it also predates take and drop from racket/list.
Anyway, I think we’re stuck with this now, unless you can think of a way to change it.

Yes: accept the arguments in either order. Unlike take in racket/base, yours insists on one exact-nonnegative-integer? and one sequence?, so there is no possible ambiguity

You’re technically right, but I find that to be a very odd API. I strongly prefer there be one correct way to do things, unless there is a meaningful difference between the different ways. Being able to specify the arguments in either order goes strongly against that philosophy.
It’s also worth pointing out that the differences in take and drop are not the only differences between their racket/base and racket/list equivalents, so fixing this one thing would not make data/collection a drop-in replacement. For example, foldl has slightly different ordering behavior as well, which would be far harder to fix. I think that, when I was writing the library, I did not want to be constrained by Racket’s design choices, since initial prototypes were wildly different from the Racket list API. The eventual result ended up being pretty close in most ways, so in retrospect, it would have been better to remain consistent.
If it were possible to change data/collection to be uniformly consistent with the standard library without backwards compatibility, I’d seriously consider it. Given that some of the differences seem impossible to correct now, though, I’m a little reluctant to make the API more ambiguous just to get some of the way there.

Another approach, also backward-compatible: publish the consistent API under a different collection name.

That‘s not a bad idea, nor is it out of the question. Something like data/collection/compat or data/collection/interop? I think I would accept a PR for such a feature.


New version: MullvadVPN.MullvadVPN version 2023.6.0

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

Automatic Validation ended with:


Factory proposal

We need to provide an easy way to define Factories
factories/user.swift
public class User: KakapoFactory {
   var name = Kakapo.name.firstName
   var profileImg = Kakapo.image.avatar
   var friends = Kakapo.random(['paco', 'pepe'])
}

factories/comment.swift
public class Comment: KakapoFactory {
   var author = Kakapo.Factories.User //TODO: is worth to support relationships in the first version?
   var message = Kakapo.lorem(50)
}

Scenarios
Again, not sure if is worth it to implement scenarios now, but I think it can be useful...
let server = Kakapo.Server()
let defaultScenario = {
 users: server.create('user', 20),
 comments: server.create('comment', 50)
}
let performanceCheckScenario = {
 users: server.create('user', 1000)
}

//server.use(defaultScenario)
server.use(performanceCheckScenario)

Other solution... just use create method and don't support scenarios:
let server = Kakapo.Server()
server.create('user', 20),
server.create('comment', 50)

Once we have defined and seeded the DB Kakapo should just use the Factories and create as many instances as needed for the scenario...

struct User: KakapoFactory {
   let name = Kakapo.name.firstName
   let profileImg = Kakapo.image.avatar
   let friends = Kakapo.random(['paco', 'pepe'])
}

let server = KakapoServer()
server.create(User, 20),

After the first implementation, we should follow this discussion on #12


need for data imputation

We currently only have observations for when EVs are being driven or are charging. This means there is a lot of 'missing' data when it comes to calculating 'population' average kW charging demand etc. We need to impute missing 1 minute observations (given them 0 kW charging) and re-calculate sample means. Obviously we can't impute state_of_charge - although we cold assume some decay curve between the last and next real observation?

@raffertyparker comments: "To accurately analyse time-averaged data:
Many opportunities for further research involve using mean values over time. What we currently have is mean values of the instances during which data was being collected, but it appears most of the times that the vehicles were not either driving or charging, no data was collected. This makes the time-averaged plots both messy and practically useless. As an example, in the plots of daily charging demand (deleted from main report) no weighting is given to the fact that charging is occurring more frequently at certain times than others.
The data is quite sporadic (data from different vehicles have different start dates and times, and data not sent at consistent time intervals). As far as I understand, in order to get true mean values over time we need to consider the zero values where no charging or driving was occurring. For this, I presume we need to create an "empty" dataframe for each individual vehicle that consists of a datetime column, and then columns of zeros for each variable we want to find the mean of, running the duration of each vehicle's data collection period at predetermined intervals (15 mins should be sufficient). To this we would "add" the original data that falls within each within each time interval, allowing true mean values to be found from the new dataframe. This would assume no missing non-zero data during the dates between which each vehicle has data collected."


Possible Improvements

I recalled this mod from a while back and a few months ago I decided I would make a Modpack that I personally will enjoy having your mod in...  Well since the modpack is nearing version 1 finish I am running around getting permissions and then I recalled a few things about your mod I couldn't seem to understand but maybe you would possible change?

Angels have a Max HP spawn but they never seem to go about like 10 hearts but I would like to see them with 100 hearts as I put their hp to 200.  I am guessing its a Probability chance of various hps but I can't seem to tell any difference killing many angels or you set a cap I didn't notice yet.
1b) Could you add so theirs a Min HP?

I am making my own tools for my own mod.  I am guessing higher types above diamond count.
2b) Could it be added an override to min level of pick?  As an example the first level of tools in my mod will be above Diamond and it would be fun if it were able to be say
The min pickaxe required to hurt angels by default is diamond but by changing default to a number defines their hardness
Min. Pickaxe required to Hurt Angels=default
to
Min. Pickaxe required to Hurt Angels=5
Meaning 2 levels above diamond
I look at it as a Run for your life till you can hurt them kind of scenario adding a much more terrifying feel to them above their already scary contexts XD.

Lastly is Player Death.  Could it be added that when a player dies for any reason a Angel will spawn as a configurable option 'off' by default.  I would love to make it so it is like a death chest or a gravestone mod like thing but more annoying?  Maybe its stupid but maybe onspawn the Angel checks if it is holding any items defining if it should despawn as normal or stay till killed.

These are just a few thoughts I had not saying I may use them as the 2nd I probably wouldn't use with 3rd as it could be cruel perhaps but I thought I would ask if you may consider them.  If not still enjoy the mod but I would love to hear what you think

What version of MC is your pack running? I am currently working in Minecraft 1.8 and that is where most of these features will be implemented
There is a config value called ''. This is what dictates the initial health when angels spawn. There is no range, it is always this variable.
I can add config variables on a per difficulty setting where you can specific a minimum pickaxe harvest level per difficulty.
I can indeed add that as an option, but it will be disabled by default.

Features to add:

Be more detailed in the initial spawn health description
Harvest Level per difficulty setting (default: 0->-1(any weapon of any level), 1->Iron, 3->Diamond
Spawn angels on player death (default: false)

I just fixed the description of the health. It now reads something like:
"The spawn health of an Angel. Also is the maximum health of an angel when a player is infected."
"Angel Health" = 20

I hope to start testing the pack with my friends to find balances as it will be Hardcore Questing Mode type.  Its for MC 1.7.10(as of now).  I am working on my own Mod to put in the pack and it may be possible others in the group may make their own mods for the pack.  There is one other from the community that works on his own mod that I have already added.  Would you be willing to port it back to 1.7.10?  Not sure when I may upgrade as I am no brilliant coder as of yet, and have some very technical 'Visions' to work on.  I am planning it for the FTB Launcher however, if it gets approved.  It's a process after all XD
Cool on your change too.  It did feel misleading the Max HP.  Maybe it just felt they were weaker than they should be.

That change was just config changes, but the other two will only be in 1.8. I only go back to my 1.7.10 if there is a major crash to fix. All new features, once i start porting, go into the next version.

Sweet just the same.  I'll look forward to those adds for the 1.8 edition.  Appreciate the adds,  I can feel the fun already XD.

Remaining Features:

Harvest Level per difficulty setting (default: 0->-1(any weapon of any level), 1->Iron, 3->Diamond
Spawn angels on player death (default: false)


egui-wgpu: reduce input latency by defaulting to double-buffering

This makes a huge difference in perceived latency on my 60 Hz monitor on macOS on a native build.
There is no difference on web though afaict.
For me this is a much better default. Tearing is mildly annoying in some circumstances, but input latency makes an application feel sluggish all the time.

Sadly this will burn a lot of cpu, since we will repaint as fast as we can (e.g. at 500Hz), ignoring the monitor refresh rate.

Blocked by https://github.com/gfx-rs/wgpu/pull/4899

With the PR mentioned above now merged, is this unblocked?

Yes! I'll make a new PR though since this the API for this changed


NamedTuple Subclass Thinking It Returns a Tuple

Environment data

Language Server version: v2024.6.1
OS and version: Windows 11
Python version (& distribution if applicable, e.g. Anaconda): 3.11

Code Snippet

from typing import NamedTuple

class Vector(NamedTuple("Vector", [("y", int), ("x", int)])):
    def __add__(self, vector: tuple[int, int]):
        cls = type(self)
        vector = super().__new__(cls, *vector)
        return type(self)(self.y + vector.y, self.x + vector.x)

print(Vector(1, 2) + (3, 1))

Expected behavior
When hovering over vector, it is the type Vector
Actual behavior
When hovering over vector, it is the type tuple[int, int]
Logs

2024-06-25 19:40:40.068 [info] Send text to terminal:
2024-06-25 19:40:40.277 [info] Send text to terminal: cls
2024-06-25 19:40:40.277 [info] Send text to terminal:  c:; cd 'c:\Users\jacob\OneDrive\Documents\Programming\Python\Pyframe'; & 'c:\Users\jacob\AppData\Local\Programs\Python\Python311\python.exe' 'c:\Users\jacob\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '55472' '--' 'C:\Users\jacob\OneDrive\Documents\Programming\Python\Pyframe\rep.py'

@Py-mon, sorry for the long delay on this.

When hovering over vector, it is the type tuple[int, int]

This is by design, since you've annotated the vector parameter as tuple[int, int]. If I'm misunderstanding the issue here, please let me know.
def __add__(self, vector: tuple[int, int]):

@debonte The type of vector changes.
vector = super().__new__(cls, *vector)

I see. I agree that's weird. I'm not super familiar with NamedTuple, but it seems like Vector is a subtype of tuple[int, int] given that Pyright considers the assignment legal. So I'm not sure why the type of vector isn't narrowed there.
Transferring to Pyright.


[TOPIC-BLE-LLCP]: Bluetooth: remove Dag from code-owners

Dagi Bjarvin is working on another project, removed him from
codeowners so that he is not automatically added to LLCP
code reviews
Signed-off-by: Andries Kruithof<EMAIL_ADDRESS>

Dag got removed when rebasing on master, so this PR is obsolete


fix eslint warnings.

What kind of change does this PR introduce?
Fix eslint warnings.

Does this PR introduce a breaking change?
This is not a breaking change.

What needs to be documented once your changes are merged?

Thank you!


Analytics#174

🚧 work in progress 🚧
@drewda do I need to use/modify this line: https://github.com/mapzen/mobility-explorer/compare/analytics%23174?expand=1#diff-9537a9e5df770e02c080cbcf3f9f6b74R11
closes #174

@meghanhade yes, I think you'll want to keep that line in. I assume that's what will add in the /mobility/explorer part of the path in the staging and production environments.


Use optimistic synchronization in JsonWebToken.Audiences

I didn't see anything in Payload.TryGetValue that would require synchronization with a concurrent call to Payload.TryGetValue. And without that, and since concurrent access is not something to optimize for here, we can instead employ optimistic synchronization and just swap in the result with an interlocked. If there's a race condition and two threads do end up accessing Audiences on the same instance concurrently, they may both end up creating the array, but only one will be published for all to consume.
In addition to making Audiences cheaper to access, the primary benefit here is it saves an allocation per JsonWebToken, which no longer needs to construct the audiences lock object.

Included in preview4 release


"tmux-yank dependencies not installed!" (Ubuntu bash for windows)

Ubuntu bash for windows.
tmux 2.0

Added set -g @plugin 'tmux-plugins/tmux-yank' into .tmux.conf
Press Ctrl+B+I and plugin is installed.
Enter copy mode Ctlr+B+[, select text, and press Shift+y and got the error in status bar Error: tmux-yank dependencies not installed!

Nothing in system clipboard.
What I'm doing wrong?

The solution:

install tmux-yank plugin
install xcopy until: apt-get install xcopy
add export DISPLAY=:0 to ~/.bashrc
install Xming X Server for Windows

After this copying using y key in copy mode of tmux should work.

Hello, stumbled upon the same error, but on centos?

Or you can install xsel: sudo apt install xsel


[JST-16] Scope out different approaches to namespacing

cc @carson @awmuncy sounds like this is the next step. I put this in cycle 3.
From SyncLinear.com | JST-16

👍

@carsonfarmer @joewagner and I talked about this a bit yesterday. The two main points were:

No reason to be ENS focused; anything that can plug in a list K/V pairs will do.

We might simply say "Use an ORM". Apparently Aaron has been using a very slick ORM that "just works" with tableland, and can handle aliasing tables pretty well (I'm hearing it second hand, correct me if I'm wrong @asutula)
I think we could safely incubate the namespacing beyond ENS idea for a while, then maybe in a few cycles come back to it for consideration, after the ENS in CLI has been release in the docs for a bit.

quick question: the ENS in the CLI is still behind the experimental flag right? and in the docs? Just making sure that it's going to be painless to deprecate if we need to later.

Yes, it's behind a very explicit flag: --enableEnsExperiment. The ENS stuff will be at the bottom of their respective CLI command's page in the docs, and will have a big callout before the command clarifying that is extra experimental, no promises about future usability.

The ORM stuff I'm using still requires some custom glue to make it work with Tableland. The ORM schema definitions let you provide a vanilla table name ("users" for example), and I was able to write some custom code (via an ORM callback) that assures that when a query is constructed using the ORM, the correct actual table name is resolved as a function of what chain you are on. I'm not sure I would call that "namespaces", but it's a nice way to not have to worry about table ids.

@awmuncy let's cancel / complete this issue for now. i'll make sure the topic is covered in litepaper scoping.


cannot declare and use a class or define

>> define foo($attr1 = 'one'){}
 =>
>> foo{'hello': attr1 => 'test'}
 => Evaluation Error: Error while evaluating a Resource Statement, Invalid resource type foo at line 1:1
>>

Another example
>> class foo($var1 ='value1'){ file{'/tmp/test':}}
 =>
>> krt
{
 :definitions => [],
 :hostclasses => [
  [0] "",
  [1] "settings"
 ],
 :nodes       => []
}
>> include foo
 => Evaluation Error: Error while evaluating a Function Call, Could not find class ::foo for foo.example.com at line 1:1

However, if the class is in my module path, I can include the class and krt which show the classes.
>> include apache
 =>
>> krt
{
 :definitions => [
  [0] "concat",
  [1] "concat::fragment",
  [2] "apache::mod",
  [3] "apache::mpm",
  [4] "apache::vhost"
 ],
 :hostclasses => [
  [ 0] "",
  [ 1] "settings",
  [ 2] "apache",
  [ 3] "apache::params",
  [ 4] "apache::version",
  [ 5] "apache::service",
  [ 6] "apache::default_mods",
  [ 7] "apache::mod::actions",
  [ 8] "apache::mod::authn_core",
  [ 9] "apache::mod::cache",
  [10] "apache::mod::ext_filter",
  [11] "apache::mod::mime",
  [12] "apache::mod::mime_magic",
  [13] "apache::mod::rewrite",
  [14] "apache::mod::speling",
  [15] "apache::mod::suexec",
  [16] "apache::mod::version",
  [17] "apache::mod::vhost_alias",
  [18] "apache::mod::cgi",
  [19] "apache::mod::alias",
  [20] "apache::mod::authn_file",
  [21] "apache::mod::autoindex",
  [22] "apache::mod::dav",
  [23] "apache::mod::dav_fs",
  [24] "apache::mod::deflate",
  [25] "apache::mod::dir",
  [26] "apache::mod::negotiation",
  [27] "apache::mod::setenvif",
  [28] "apache::mod::filter",
  [29] "apache::mod::authz_user",
  [30] "apache::default_confd_files",
  [31] "apache::mod::prefork"
 ],
 :nodes       => []
}

That problem is probably from the fact that evaluation of is a no-op for all definition. What is needed is to process all the definitions (i.e. define, class, function, etc).
The Compiler is using the E4ParserAdapter to parse. You can see that it uses Puppet::Parser::AST::PopsBridge to adapt to the 3.x Compiler. An instance of a PopsBridge::Program is created, and the compiler will call its instantiate method. That will process all definitions.
You should be able to do the same as E4ParserAdapter.

@hlindberg
So basically I would have to detect when its a "definition" and then execute the following:
AST::Hostclass.new('', :code => ast_code).
Do I need to add it to the scope or something in order for the next eval to run with the new definations?
Below is the code from Puppet::E4ParserAdapter#parse function
def parse(string = nil)
    self.string= string if string
    parser = Pops::Parser::EvaluatingParser.singleton
    parse_result =
    if @use == :string
      # Parse with a source_file to set in created AST objects (it was either given, or it may be unknown
      # if caller did not set a file and the present a string.
      #
      parser.parse_string(@string, @file || "unknown-source-location")
    else
      parser.parse_file(@file)
    end

    # the parse_result may be
    # * empty / nil (no input)
    # * a Model::Program
    # * a Model::Expression
    #
    model = parse_result.nil? ? nil : parse_result.current
    args = {}
    Pops::Model::AstTransformer.new(@file).merge_location(args, model)

    ast_code =
    if model.is_a? Pops::Model::Program
      AST::PopsBridge::Program.new(model, args)
    else
      args[:value] = model
      AST::PopsBridge::Expression.new(args)
    end

    # Create the "main" class for the content - this content will get merged with all other "main" content
    AST::Hostclass.new('', :code => ast_code)
  end

The key is AST::PopsBridge::Program.new(model, args) - that is what the compiler wraps in a hostclass called '' (empty string - aka "main"). If you just want to trigger what the compiler will trigger, you can call ast_code.instantiate("modulename"). See the AST::PopsBridge for what it does when "instantiate" is called (it processes all the definitions in the program).
Does that help?

I did manage to get this working for classes and definitions using known_resource_types.import_ast.
However it fails on functions because loaders.find_loader fails to find a loader and raises an error.  Any idea why puppet can't find the loader?

Furthermore even firing up a new irb session and running Puppet.lookup(:loaders) causes the same error.

I messaged you on slack


Fix cookies

Motivation
Fix cookies to have settings sameSite:'none' and secure:true. Also changed flow of the projectId. Now when obtaining projectId from environment variables it is not stored in cookies.
Checklist

[ ] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?

Thank you for your comments. I mostly agree with you. However, I need to diversify paths between when projectId is not specified in the environment and when projectId is malformed. I don't want to redirect the user to the configuration path when there is a malformed projectId in the environment, as it suggests to him that he can add a new projectId on a given page, but he needs to change his environment file. Therefore I have made two functions to check projectId from the environment a from the cookies. What do you say?

Great, since it is now quite easy to distinguish an invalid project id in the environment variable, why don't we show a message on the page instead of letting the app run with an invalid project id? I don't know when/how the app fails in such a case but would prefer an explicit error page instead of searching through the logs to find the error message that gets logged.


Fix up some typos.

Noticed a typo when I ran the command without 'sudo', and felt inspired to fix it up and contribute back. Hope this finds you in good health.

Thanks


control-service: set registry name correctly.

Why
The format of the dockerconfigjson is wrong.
Previously the auth key would look like  registry/repo e.g registry.gitlab.com/project.taurus/data-jobs-stg.
With all the repositories I tried to authenticate against it should only be the registry name e.g registry.gitlab.com/project.taurus.
I reached out the @mivanov1988  privately in slack to check with him that this new way would also work with AWS ECR.
What
This fixes it
How has this been tested
Printed out the template and looks good.
Signed-off-by: murphp15<EMAIL_ADDRESS>

@mivanov1988 Can you please look at this PR.
For me this change allows it to pull from the private jfrog repos.
However is there some repos you were working with that I might need to test this against to make sure I'm not breaking anything.
I explain the details on the difference in this comment: https://github.com/vmware/versatile-data-kit/pull/694/files#r1023916365

Have you tested it against AWS ECR?

Have you tested it against AWS ECR?

I think this is fixing a bug - the macro was not working because erroneously it was picking non existing key (repository) from values.yaml (probably we've renamed it in values.yaml and forgot to update the macro).
@murphp15 Please describe slightly more detailed the problem you are solving in each change/PR. It's not good to make reviewers guess . See https://github.com/vmware/versatile-data-kit/wiki/How-to-prepare-a-new-PR#write-a-good-commit-message

@tozka @mivanov1988  how do I test against aws ECR?
@tozka  I have added details to the description.

@tozka @mivanov1988 how do I test against aws ECR?

If I understand correctly difference between two is
the new way the login is against '012285273210.dkr.ecr.us-west-2.amazonaws.com' (the registry)
before it was against '012285273210.dkr.ecr.us-west-2.amazonaws.com/repo-vdk-name' (the repository)
and both work
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin<PHONE_NUMBER>10.dkr.ecr.us-west-2.amazonaws.com

To test it you need AWS account and ECR registry created. I have those - and I executed above command and it works.

LGTM

Given the test Antoni has done do you think it is safe to merge and assume it works with ECR otherwise I need an aws account created.

I don't think we need special tests for AWS really. The way you login and pull or push images from any registry is the same.
There are some differences in how repository is created across different registries but this PR doesn't really do anything related to repository creation.
But I did tested it just in case using ECR (I've been wrong before). And that's enough. Let's merge it.


youtube-dl claims: "Unable to extract uploader id"

$ youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
$ youtube-dl --verbose https://youtube.com/live/3tAUmLTWB_s
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtube.com/live/3tAUmLTWB_s']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.14 (CPython) - Linux-5.15.18-desktop-2.mga8-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.5, ffprobe 4.3.5
[debug] Proxy map: {}
[youtube:tab] live: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading m3u8 information
[youtube] 3tAUmLTWB_s: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same issue.


fix this.createBuilder

Pull Request Test Coverage Report for Build 659

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.027%

Totals

Change from base Build 657:
0.0%

Covered Lines:
6275

Relevant Lines:
8374

💛  - Coveralls


Interface level attributes ignored

Interface level attributes seem to be ignored.
public interface IDocumentStructure
    {
        [String(Index = FieldIndexOption.NotAnalyzed)]
        string SomeField { get; set; }
    }

public class Foo: IDocumentStructure
    {
        string SomeField { get; set; }
    }

But when I put the mapping it only puts:
"someField ": {
    "type": "string",
},

Is there a way to use the interface level attributes?

Hey @RobinRieger, What version of NEST are you using? Also can you show how you are mapping Foo with the client please?

Currently using the latest, so 2.0.0 aplha-2
This is the code I am using to insert/create the mapping:
var createMapping = ElasticClient.Map<Foo>
                    (m => m.Index(Indices.Index("testindex"))
                           .DateDetection(false)
                           .Dynamic(false)
                           .AutoMap());

You need to re-declare the attributes applied to the interface type to any type that implements that interface - this is a CLR rule and has come up frequently in ASP.NET MVC where attributes are frequently used for validation.
If you only want to use the interface attributes for mapping, the following would work
// use the interface type for the generic type parameter passed to Map<T>()
// but infer the type name from typeof(Foo)
var createMapping = client.Map<IDocumentStructure>(m => m
	.Type(typeof(Foo))
	.Index("testindex")
	.DateDetection(false)
	.Dynamic(false)
	.AutoMap());

Yeah, you're totally right. My bad. Was confusing the base class and interfaces. As soon as I saw the link with the required attribute example I realized the problem with this thinking.
Given that I used the same interface but for all classes I store in ES, and not wanting to repeat the same attributes everywhere, I am will just change the mapping call to:
var createMapping = ElasticClient.Map<Foo>
                    (m => m.Index(Indices.Index("testindex"))
                           .DateDetection(false)
                           .Dynamic(false)
                           .AutoMap()
                           .Properties
                              (ps => ps.String
                                         (s => s.Name(c => c.SomeField )
                                                .Index(FieldIndexOption.NotAnalyzed))));

which allows me to map the rest of the properties in 'Foo' with attributes, but allow me to set the interface properties in one single place (without having to waste time changing the interface to base class etc etc)
Thanks for your help.

No worries :+1:

Sorry to be a pain but I have an issue with the date format of one of the properties.
If I have the following model ( Note: think of this as a generic class or 'object' -- mapped as an 'object')
public class GenericDateModel
    {
        [Date(Format = "yyyy-MM-dd'T'HH:mm:ss")]
        public DateTime PointInTime {get; set;}
    }

and interface
public interface ITest {
    GenericDateModel InsertedTime { get; set; }
}

and then use these in my 'main' model
public class Foo : ITest
{
    public GenericDateModel InsertedTime { get; set; }

    public GenericDateModel AnotherPropertySpecificToThisClass { get; set; }
}

When I call the 'index' method for nest to index the Foo class, the DateTime for the AnotherPropertySpecificToThisClass proeprty gets passed by nest in the correct format to ES, however, the InsertedTime (the interface property) is in the wrong format (it sends the milliseconds which ES then rejects saying the value provided is wrong as it does not match the mapping -- the mapping being as in GenericDateModel above. ).
Whilst I can easily re-apply the attributes to a e.g. string as you suggested above, how am I meant to reapply the attribute to an 'object' which has its own properties?
Note
I found this whilst trying to work around the problem. -- It does not mention it but I think this was using the old 1.x version  :confused: .....
If I change the GenericDateModel to
private string _originalValue;

public DateTime PointInTime
        {
            get
            {
                return DateTime.ParseExact(_originalValue, "yyyy-MM-dd'T'HH:mm:ss", CultureInfo.InvariantCulture);
            }
            set
            {
                _originalValue = value.ToString("yyyy-MM-dd'T'HH:mm:ss");
            }
        }

then it sends both values correctly to ES in the correct format.
I guess I am trying to figure out if this is a mistake on my part regarding re applying attributes to interface objects or whether there is something odd in the serialize process with Nest.


Some keywords are not getting highlighted

Some keywords like foreach, in are not getting highlighted.

Fixed in ballerina-lang/ballerina#5056


odoo: 15.0.20211029 -> 15.0.20220126

Motivation for this change
Fix and upgrade
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)
[x] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Previously it was, later I saw that it was removed

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/i-want-the-python-multi-version-packaging-system-to-be-formally-standardized-by-an-rfc/17537/1

@OPNA2608 I'm going to merge this as-is, as the werkzeug1 package has already been removed previously and there's no clear decision for this. So at least the package works now.

The only proper way to do is is packageOverrides: https://nixos.org/manual/nixpkgs/unstable/#faq
Otherwise you'll end up with multiple versions of Werkzeug in one environment.
Fixed in https://github.com/NixOS/nixpkgs/pull/173090


Bolt error

Hey,
I just tried the basic setup for the Default Template (Kirby 3.9.4 / PHP 8.1.13) and get this error:
Bnomei\Bolt::page(): Argument #1 ($id) must be of type string, null given, called in /site/plugins/kirby3-boost/classes/Bolt.php on line 233
Any ideas what I am doing wrong? Thanks!

you did nothing wrong. my helper that scans for all folders had a bug.


Install scarplet with conda; add to conda-forge

This issue is in regards to my JOSS review at openjournals/joss-reviews/issues/1066.
First off, great work! 🎉
I'll begin with a checklist of things that, in my opinion, will make installation of scarplet significantly easier and, as such, more accessible. More explanation follows below.

[x] Add installation instructions using conda
[ ] Add scarplet to conda-forge
[x] Remove osr from install_requires in setup.py

Problems with scarplet installation
I've encountered some issues with installing scarplet on both Mac and Linux. I haven't tried Windows but I suspect there will be problems there as well (but maybe you aren't interested in supporting Windows, anyway, which is fine). I think the main issue, as you mention in your installation instructions, is with gdal and fftw.
Your instructions for installing these dependencies on Linux use apt-get. In my opinion, this is asking too much of the user. In most cases users will not even have root access - as is the case with me.
There is a similar issue on Mac. Installing homebrew is asking quite a lot. I find it to be quite invasive and am unwilling to install it on my Mac. That said, this might be a fine solution for someone who already uses homebrew - I assume, anyway - I haven't actually gone through the process of installing scarplet with homebrew.
Add conda-install instructions
I propose you add to your installation instructions (replace, maybe?) how to install scarplet with conda. It's way simpler on both Linux and Mac (and maybe Windows) as all of you dependencies are already available as conda packages. This is how I installed scarplet both on Linux and Mac. It was a snap.
The procedure is basically,
conda install --file=requirements.txt -c conda-forge
python setup.py develop

The first line installs all of your dependences from the conda-forge channel (including gdal, fftw, etc.) and the second line installs scarplet (from source).
Add scarplet to conda-forge
I also suggest adding your package to conda-forge. Because of you particular dependencies, I think this makes sense as they are already all available there. I would be happy, with your permission, to even get this started. It's pretty simple. Once available on conda-forge, your installation instructions would simply be,
conda install scarplet -c conda-forge

regardless of the platform.
I find Anaconda to be a much better way to go as it can easily be installed in a users home directory, is not invasive, and is easily uninstalled. Users can either install the full Anaconda distribution or a minimal version. I normally use the minimal one.
Remove osr dependency
A final small thing. In setup.py you have osr listed in install_requires. I'm not sure this is the package you actually want. I believe what you want is the osr that comes with gdal. Since it comes along with gdal, you shouldn't need to list it. The way it is now, I believe what's installed is a different osr (OpenSourceRadio?).

In case you want to put this on conda-forge, this a meta.yaml file you could use,
{% set version = "0.1.0" %}

package:
  name: scarplet
  version: {{ version }}

source:
  url: https://github.com/rmsare/scarplet/archive/v{{ version }}.tar.gz
  sha256: f7d4c2f5ab9d7b9738e68c31c572c7ae4ecce41582329a85850187f3a7118dc0

build:
  noarch: python
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"

requirements:
  host:
    - python
    - pip
    - setuptools
  run:
    - python
    - numexpr
    - numpy
    - matplotlib
    - gdal
    - pyfftw
    - rasterio
    - scipy

test:
  imports:
    - scarplet

about:
  home: http://github.com/rmsare/scarplet
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Topographic edge detection of fault scarps and other landforms in digital elevation data
  description: |
    A Python package for applying template matching techniques to
    digital elevation data, in particular for detecting and measuring
    the maturity of fault scarps and other landforms.
  doc_url: https://scarplet.readthedocs.io
  dev_url: http://github.com/rmsare/scarplet

extra:
  recipe-maintainers:
    - mcflugen
    - rmsare

@rmsare Please note that the above recipe will build scarplet so that it can be installed with any Python version (including 2.7). Although you indicate that it's been written for Python 3.4+, it looked to me that scarplet works fine with Python 2.7 but, if it doesn't, you should indicate that in the host and run sections. So instead of
    - python

write
    - python >=3.6

That way users won't be able to install it into a Python 2.7 environment.

Thanks! I agree that a conda feedstock is the way to go.
A conda recipe has been submitted over at https://github.com/conda-forge/staged-recipes/pull/7026.

I've tested the conda build locally and it works (Ubuntu 14.04 LTS).
One issue this brought up is WIndows compatibility. Currently PyFFTW is not available for win32 or win64 via conda-forge, but could be installed using pip and some DLL editing (:(). There are a few workarounds for Windows install documented on the pyfftw issue tracker but it's a bit involved.
I've disabled Windows builds in the conda recipe for the time being.

@rmsare I would keep the noarch build and not disable Windows. That way, if a Windows user tries to conda-install scarplet, conda will report an error saying that PyFFTW isn't available for Windows. However, once someone creates a PyFFTW build for Windows, scarplet will install just fine.
You can read more about this in the conda-forge docs about building norarch packages.

@mcflugen - Good point, better to fail informatively for now. I've restored noarch in the recipe.

The package is now up on conda-forge, and the latest version incorporates the examples and other review changes. Thanks for your help with the packaging!


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4089

Questions ?
Please refer to the Backport tool documentation


The triangle_* tests fail on  my system

cargo test triangle
[...]skipping some bloat lines[...]

Running target/debug/indices-939bdd9e70e3f0a4

running 6 tests
test triangle_fan_noindices ... FAILED
test triangle_strip ... FAILED
test triangle_strip_noindices ... FAILED
test triangle_fan ... FAILED
test triangles_list_noindices ... FAILED
test triangles_list ...  I'm using the i965 driver. My OpenGL system info:
glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.6.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.6.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

That's probably because of #310


Date of 12:00a story says "yesterday", but should be "today"

Date of 12:00a story says "yesterday", even though it should be today.

I believe this was fixed.

It is actually not fixed. Today's xkcd has the same problem (at least on iOS app)


Fixed raycastFirst documentation

Original documentation suggested that only entities with rigidBody components would be hit. collision components that are acting as triggers are also rigidBodies in ammo.js under the hood so they also get hit by the raycast.
Reference thread: https://forum.playcanvas.com/t/raycast-is-hitting-a-trigger-volume/6293
Contributor License Agreement has been signed.

Thanks! 👍


What is minimum required version of wkhtmltopdf?

By default version 0.9.9 of wkhtmltopdf is installed on Debian 7.8 (Wheezy). Compiling the sample project fails:
$ documark compile
Compiling..
/home/auke/Downloads/documark-example/node_modules/documark/lib/Documark.js:214
					throw new Error('Error generating PDF (code: ' +
					      ^
Error: Error generating PDF (code: Error: Unknown long argument --cache-dir

Name:
  wkhtmltopdf 0.9.9

Synopsis:, signal: undefined)!
    at /home/auke/Downloads/documark-example/node_modules/documark/lib/Documark.js:214:12
    at handleError (/home/auke/Downloads/documark-example/node_modules/documark/node_modules/wkhtmltopdf/index.js:70:7)
    at Socket.<anonymous> (/home/auke/Downloads/documark-example/node_modules/documark/node_modules/wkhtmltopdf/index.js:79:5)
    at Socket.g (events.js:199:16)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)

Installing wkhtmltopdf <IP_ADDRESS> solved this issue for me. But iI think it should be stated somewhere which minimum version of wkhtmltopdf is required.

 I have added version info to the README. Also I'm working on a wkhtmltopdf binary downloader, that downloads the right version for you automagically. :)


SR-11411: Update GettingStarted.md

Update the document to reflect current cmake usage.
@compnerd @millenomi This is based on the commands I use, do you have anything to add/alter?

Thanks for adding the blurb on running individual tests, thats extremely valuable.  LGTM (might be nice to wait a day or so to see if @millenomi chimes in)

@swift-ci test and merge

macOS builds are known to be broken due to the dysmutil issue.  Im going to merge this as is.  If you know how to convert the build from dwarf-with-dsym to dwarf, would you mind putting up a PR to switch modes?

The macOS build is actually pointless in this repo as according to build-scrip-impl:
if [[ ${host} == "macosx"* ]]; then
    echo "Skipping Foundation on OS X -- use the Xcode project instead"
    continue
fi


Help

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Hello, spyder5 3.0 how to run two programs at the same time?
Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

You need to open two IPython consoles by going to the menu Consoles > New console and running each file in one of them.

You need to open two IPython consoles by going to the menu Consoles > New console and running each file in one of them.

Thanks a lot, but Spyder runs very slowly when you open both consoles. The two consoles seem to interfere with each other, causing Spyder to slow down. So, how to speed up the running of the program when opening two consoles?

So, how to speed up the running of the program when opening two consoles?

That can only be a problem if you have very little RAM in your system (i.e. less than 4 GB). If that's the case for you, the only possible solution is to expand your RAM.