How to detect what texture is in the floor?

i'm developing a rally game and i'm liking the addon so far! I'm just having dificulty with some stuff:
In my game i need to detect the texture each wheel is colliding, and i am not finding anything related to this in the lacking documentation.
also about textures, what can i do to increase the resolution of the textures i generate in the layers or another solution, since i am going to a very stylized look to my game, i need the transitions between the textures and colors to be really flatter and not blurry or pixelated, what can i do about it?
I also saw a GDC talk about zelda tears of the kingdom that they said that they registered metadata in the terrain depending of the position, it may be a good idea.
anyway, thank you for the great addon!

an update:
with the help of the chat gpt i've been able to discover how to get the texture by the world position
i noticed that this addon uses arrays (images) to texture everything, each layer you paint is a layer in the terrain, you must understand the structure to use optimally.
So i am using the function get_pixel in the Mterrain node in the scene (be careful to not use the Mterrain class instead) passing the global x and z position of my node, and the id of the image i want, that you can obtain by calling the function get_image_id and pass the name of the layer you want as a parameter
But i also need to know every layer i have in my terrain, so i use the get_layers_info when i start up my game to get this information.
After that i compare the color in the scene with the colors of the layers, and i get the layer that is nearer to the pixel color and get the name of the layer, which i can use in my game logic.
if you are going to just paint flat colors to the terrain without change it to textures in the terrain, you can just use the get_pixel() to get the color and use straightly in your game, but in my case i needed to use this in my game because i am going to use stylized textures for the road instead of clear colors.
this method works for me but i am using the color channels methods to switch the textures in the brush, maybe if you are using the paint 256 or paint 16 you may need to change this logic (i don't tested it in this methods yet but i will)
extends Node3D
@onready var info: Color
@onready var layer_info: Array
func _ready() -> void:
$MTerrain.create = true
layer_info = $MTerrain.get_layers_info()
for rigid in get_tree().get_nodes_in_group("rigid"):
if rigid is RigidBody3D:
rigid.freeze = true
func _process(delta: float) -> void:
$Control/Label.text = str(Engine.get_frames_per_second()) # i was just just testing the performance of this addon in my scene because my notebook is a potato, ignore it (60fps btw, nice performance and optimization!)
info  = $MTerrain.get_pixel($Node3D.global_position.x, $Node3D.global_position.z, $MTerrain.get_image_id("splatmap"))
#Node3D is the object i wanted to just get the position in this test, in my game i'll pass the global position in the wheel script
var closest_layer = find_closest_color(info)
if closest_layer:
print("Nearest Layer (code your logic in this branch):", closest_layer["name"])
func find_closest_color(target_color: Color) -> Dictionary:
var min_distance = INF
var closest_layer = null
var layer_dict: Dictionary = layer_info[0] #if you have more than one splatmap or terrain painting layer, you may change this index by code using the function $MTerrain.get_image_id("name_of_layer") as i done in the get_pixel function
for layer in layer_dict.get("info"):
	var layer_color = layer["icon-color"]
	var distance = color_distance(target_color, layer_color)

	if distance < min_distance:
		min_distance = distance
		closest_layer = layer

return closest_layer

func color_distance(color1: Color, color2: Color) -> float:
var dr = color1.r - color2.r
var dg = color1.g - color2.g
var db = color1.b - color2.b
return sqrt(dr * dr + dg * dg + db * db)
This is my test scene, i am using only the godot primitive meshes for the grass and the trees, and i got a grass shader from godot shaders.

hint: if you are going for a cartoon or minimalistic art style like me, or you just don't want those gradient transitions between different textures or colors, use a quantize shader between the textures, like i am doing in the terrain shader of the print:
void fragment(){
vec4 splatmap = texture(mterrain_splatmap, region_uv);
vec3 albedo = vec3(0.0);
// Apply colors steadily based on threshold
if (splatmap.r > threshold) {
	albedo = grass_color.rgb;
} else if (splatmap.g > threshold) {
	albedo = stone_color.rgb;
} else if (splatmap.b > threshold) {
	albedo = ground_color.rgb;
}
ALBEDO = albedo;

}
by using this logic you may get a constant transition, just like the transition between the green and the brown road in this scene.


Getting Uncaught TypeError: self.parent.context.onReady is not a function(…) on page load

Getting following error zone.js:158 Uncaught TypeError: self.parent.context.onReady is not a function(…) when page loads.

Sorry, didn't declare onReady() method.


Why another lisp?

As described in the README[1] language was born for its an implementation of CLISP written in go, after a few days we saw an opportunity to create a language that is easily extensible and possible (Lua features with LISP syntax and functional) to be embarked on software Go.
[1] https://github.com/rumlang/rum#history

I think it is a FAQ. There should be a special place for FAQ and link should be added on top of the README.


Cannot connect to smart plug over local API

Having issues connecting to a smart plug over the tuya local API. I confirmed that I can connect to the plug over LAN on port 6668, so it should be supported.
root@odroid:~# nc -v -z -w 5 <IP_ADDRESS> 6668 Connection to <IP_ADDRESS> 6668 port [tcp/*] succeeded!
I ran tinytuya in debug mode. It seems the plug is not sending any data.
DEBUG:building command 10 payload=b'{"gwId":"eb1f39ea47707b153elyqd","devId":"eb1f39ea47707b153elyqd","uid":"eb1f39ea47707b153elyqd","t":"1715306590"}' DEBUG:sending payload DEBUG:payload encrypted=b'000055aa00xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' DEBUG:_recv_all(): no data? b'' DEBUG:_recv_all(): no data? b'' DEBUG:Error decoding received data - read retry 0/5
Here's the device info:
"active_time":<PHONE_NUMBER>,             "biz_type": 0,             "category": "cz",             "create_time":<PHONE_NUMBER>,             "icon": "smart/icon/ay15306906879543yc3O/7d74e964c18077532998cf24d441d9f5.png",             "id": "eb1f39ea47707b153elyqd",             "ip": "xxxxxxxxxxxx",             "lat": "",             "local_key": "xxxxxxxxxxxxxx",             "lon": "",             "model": "\u666e\u901a\u63d2\u5ea7",             "name": "Lamp",             "online": true,             "owner_id": "xxxxxxxxxxxxxxx",             "product_id": "ijo85n3r377lvbse",             "product_name": "Smart plug",             "status":
I'm using TinyTuya [1.13.2]

Hi @apach3guy , suggestions:

Verify local key including running wizard: python3 -m tinytuya wizard
Verify device version via scan: python3 -m tinytuya scan - and just in case, try different versions (see code below on how to specify)
Power cycle the device - this often fixes Tuya devices that end up in an unknown state but still work with cloud or respond to TCP
Make sure device doesn't need a firmware upgrade (via SmartLife App)

# Connect to Device
d = tinytuya.OutletDevice(
    dev_id='DEVICE_ID_HERE',
    address='IP_ADDRESS_HERE',      # Or set to 'Auto' to auto-discover IP address
    local_key='LOCAL_KEY_HERE',
    version=3.3)

d.status()

Thanks. It works with version 3.4 only. I tried version 3.3 and 3.5 which do not work.

Thanks! What was the fix? Just switching to 3.4?


To retrieve the JobToken and CredToken directly from the Actions Environment instead of the Input Payload

Context
With the use of the secret source, we provide job tokens/cred tokens to dynamic workflow via Twirp API call instead of passing those tokens as a input parameters to dynamic workflow for Dependabot on Actions. So, we have removed the tokens from the dynamic workflow's payload (behind a feature flag) in Dependabot-api but the same payload in the dynamic workflow is used by dependabot-actions service (via webhook) to retrieve the job and cred tokens.
In this PR, we are using the Actions CI environment to retrieve the job/cred token which was earlier passed via input job parameters to Dependabot-action service.
// Retrieve jobToken and credentialsToken from environment variables
const jobToken = process.env.GITHUB_DEPENDABOT_JOB_TOKEN
const credentialsToken = process.env.GITHUB_DEPENDABOT_CRED_TOKEN

Approach
After using the secret source token, we configure the Actions' environment variables through the secret context, embedding both job and credential tokens. This setup ensures that during the CI run of Actions, these tokens are accessible as environment variables for the Dependabot-actions service, allowing for their retrieval

Need to support the backward compatibility so need to support token from both jobParameters and Actions environment variables

Tested this branch to retrieve jobToken and CredToken directly from the Action environment and it works:

After merge conflict, I tested my changes successfully


STAR

It is becoming increasingly clear to me that we need a STAR pipeline that runs it with sensible parameters. The default settings are terrible. We should generate bam files that can be run through STAR-fusion later on and that include all the original reads including:
Chimeric/discordant read pairs
Unmapped reads
No hard clipping

@BrunoGrandePhD as you develop this I wanted you to be aware of a problem I've run into with STAR's built-in sorting function. Basically it has problems with some transcriptomes, especially if there's abnormal depth in a region (I think the likely culprit here is ribosomal and/or MT transcripts that didn't get cleaned up properly), and it might not be possible to designate enough memory to solve the problem. According to this STAR GitHub Issue the solution is to use samtools sort.
Therefore it might make sense to output unsorted BAM files from STAR by default, and sort them with samtools sort. If we wanted to use samtools to also mark duplicates this could be accomplished in a single rule.

Yeah, I ran into this too in my one test run with STAR. It did seem strange that my RNA-seq BAM needed 50 GB of RAM. Thanks for pointing out the GitHub issue! I will happily resort to using samtools or sambamba for BAM sorting.

Using Samtools sort will probably be faster too because it uses threading elegantly. Keep in mind that for any samtools sort step, you should explicitly provide the temp prefix (-T) as scratch space. This is more of a concern for files that can't be sorted in memory.

sambamba's main draw was its parallelization, but I don't know if it's much faster now that samtools has implementing threading. I also looked into biobambam2's bamsormadup, which sorts and mark duplicates in one step. However, while it might be more efficient and faster, the documentation isn't great and it isn't being updated regularly on conda. I might use sambamba for its parallelized mark duplicates over Picard.

Someone out there probably has benchmarked samtools sort vs sambamba with an equal number of threads. I haven't compared them head to head but samtools is very robust. I would also prefer to avoid Picard wherever there is another reasonable option.

Based on this blog post, sambamba makes better use of multithreading, but it's from 2016. samtools has probably improved in the interim. Since I'll be using sambamba over picard for marking duplicates, I'll use probably sambamba for sorting too.
https://www.basepairtech.com/blog/sorting-bam-files-samtools-vs-sambamba/


Suppress warnings on Windows too

Bug/issue #, if applicable:
Summary
When I build on Windows, I get multiple copies of this warning:
C:\Users\dave\src\hylo\.build\checkouts\swift-docc-plugin\Plugins\Swift-DocC Convert\Symbolic Links\SharedPackagePluginExtensions\PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[-] Added tests Nothing new to test
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

Seems this also resolves https://github.com/apple/swift-docc-plugin/issues/83


Enum Class: Example Code for iteration should be changed

see: Iterating enumeration members  at docs.microsoft.com
In Example Code for .Net Framework Enum Class: Section "Remarks", "Iterating enumeration members", second way to enumerate, the statement:
ArrivalStatus status = (ArrivalStatus) Enum.ToObject(typeof(ArrivalStatus), value);
is useless. The resulting object status is equal to the input object for this statement value.
Proposal for a changed example:
Console.WriteLine("Members of {0}:", typeof(ArrivalStatus).Name);
foreach (ArrivalStatus status in Enum.GetValues(typeof(ArrivalStatus)))
            {
            Console.WriteLine("   {0} ({0:D})", status);
            }

see my Example Code on Github for a complete example (Visual Studio Solution) to play around, verify, ...
In Program.cs NewVersion1 is with minimal changes to existing version, CheckEqual is to show the equality of status and value

@BillWagner: PR in dotnet/samples and source code is samples/snippets/csharp/VS_Snippets_CLR_System/system.enum.class/cs/classiterate.cs ?
Is that correct?

Yes, @b3bb that's correct. Can you tag me in a PR? I'll watch for it.

@BillWagner: Created a fork & a pull request from fork. Hope this was the correct workflow.
PR: Enum Class: Example Code for iteration #122

Fixed in dotnet/samples#122
Closing.


Watchdog in EVerest

Right now the manager exits EVerest whenever a child (module) dies. Then systemd usually restarts EVerest to recover. If a module hangs in a command handler, the framework will also timeout and exit the module process which results in a restart of EVerest. We recently added some dead-lock detecting mutexes to EvseManager as well to ensure restarts in case a module hangs somewhere.
There is however no generic watchdog functionality that can be used inside of a module to watch a long running thread (e.g. a mainloop thread, or an IO thread) to see if it is still running, so there are still some threads in some modules that may hang without leading to an exit of the module process.
We should ensure that such scenarios will restart EVerest.

Work has started in https://github.com/EVerest/everest-core/pull/514 and corresponding PRs in framework and utils. Each  module now has a WatchdogSupervisor that can be used within the module to register watchdogs for individual threads. The plan is to extend this further, so that the full chain down to the hardware watchdog is covered:
Module registers a watchdog with its supervisor. The supervisor checks in its own thread if the target thread is still alive. The supervisor thread itself sends MQTT pings to the manager. The manager ensures that the supervisor threads of all modules are running and MQTT communication still works. The manager sends (optionally) watchdog pings to systemd (needs to be setup in the service file), and systemd itself uses the hardware watchdog device to ensure it is still alive.


Resolve issue with multiple IP addresses not displaying and IPv6 showing as 'N/A'.

Resolve issue with multiple IP addresses not displaying and IPv6 showing as 'N/A'.

Mind using blade syntax instead of raw php opening and closing?
<?php = @php
?> = @endphp
Same for echoing variables:
<?php echo $ipv4_string; ?> = {{ $ipv4_string }}
As it contains  you might need to use {!! $ipv4_string !!}


Flight::lastModified date format

Hi.
Flight::lastModified function uses date(DATE_RFC1123, $time) to format date to be send in answer HTTP-headers.
Date will look like this: Fri, 26 Feb 2016 09:20:27 +0000
According to RFC, dates should use "GMT" instead of "+0000".
I guess something like gmdate('D, d M Y H:i:s \G\M\T', $time) should be used to format date.

Thanks for the PR.


I need help hosting the bot on replit pls talk to me in discord rubi#1111 ( my nitro ends tomorrow)

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

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

OS: [e.g. iOS, Window]
Browser [e.g. chrome, safari] ?
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I've sent you a request on discord( Ethan Primmer#1089

Ethan is not the owner nor a contributer to this repo, they are just a normal user. Just send a message to the support seever

send the support server pls

I've sent you a request on discord( Ethan Primmer#1089

Oh, i decline sorry, i send u again

send the support server pls

the link is on the main page

send the support server pls

the link is on the main page

I join, help


How to set serviceprincipal password

I noticed in the latest SDK ServicePrincipalPasswordArgs doesn't have the Value field anymore , examples and docs seem outdated. So my question is how can I specify value for password. I'm generating a random one in my program
Thanks,
Ram

looks like password is now assigned by AAD, is there still a mechanism to generate a random password and set using SDK?

Which version of the provider were you using previously that allowed you to set the password? It looks like the intended pattern of use is to let AD create the password for you which will then be returned as an output called value.

I'm not an expert on active diectory but these AD docs seem to indicate that passwords are actually called "application secrets" in AD and are not settable - but automatically generated and only retrievable at the point of creation.

Closing due to inactivity.


Add quarkus-apache-httpclient dependency to fix the native build

This extension sets up the necessary native config when using the Apache
HTTP Client, which this extension uses.
After this PR, the build passes for GraalVM 21.1 and the Ecosystem CI should be green again.

Hey @gsmet,
thanks for your PR :) I tried to fix it as well and added this substitution here: https://github.com/quarkiverse/quarkus-logging-cloudwatch/blob/main/runtime/src/main/java/io/quarkiverse/logging/cloudwatch/graal/NTLMEngineImplSubstitutions.java
Is this still needed after merging your PR?


[DOC-2851] Doc: Update content of services overview and deployment ov…

…erview. Updated docs for the Overview and Services dashboards in CG with new information about RBAC-based filtering of service instances. Tech reviewers: Sudarshan Purohit and Boopesh Shanmugam.
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

DOC-2851*: Doc: Update content of services overview and deployment overview

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Use ontologyType Work for source identifiers created in the Calm transformer

For https://github.com/wellcomecollection/platform/issues/4947

Closing in favour of #1229.

Closing in favour of #1229.


Facing problem with generate-domains-blacklist.py

Hi,
i am facing problem with generate-domains-blacklist.py, if i execute the script directly i.e. double click on generate-domains-blacklist.py it seems to be working fine but when i am running it from command prompt "python generate-domains-blacklist.py > blist.txt" it's creating a 0kb empty file. please assist!
Thanks & Regards

The problem seemed to some rouge path variable, its now Fixed! Sorry for the trouble.
And thanks once again :)


Update OpenZeppelin safe app

The OpenZeppelin app has been updated with this commit that adds an unmaintained notice and links to an alternative way for users to manage their Gnosis Safes for contract upgrades.
Revision checks

[x] Your Safe App include a manifest.json file at the root with the required data
[x] The app can be loaded as a custom Safe App in the Apps section of https://gnosis-safe.io/app
[x] The app auto-connects to the Safe
[ ] You are able to trigger and execute one transaction with a Safe (I didn't do this because only UI text was changed)
[x] RPC requests are optimized (not triggering many requests in a very short time period)

Name/Description
OpenZeppelin
Type

Update

Code for review
https://github.com/OpenZeppelin/upgrades-safe-app
IPFS hash/App URL
https://cloudflare-ipfs.com/ipfs/QmfPV8isc54LbVT7u8CG8QdpdUf2Gv7ckNuMdTDtXYQCea/
Desired date
Any time

@ericglau hey, I haven't been able to load the IPFS hash for few days. Which provider did you use for publishing?
Could you check if you need to upload again or if your provider is having issues with cloudflare?
Thank you!

@dasanra Can you try it again? It's using pinata now.


Fix GitHub action for macOS ARM (Apple Silicon)

          Nice! If I understand correctly, this will build for macOS x86 (Intel) and Windows.

I guess we will still need to manually build for macOS ARM (Apple Silicon)?
The beta for GitHub-hosted Apple Silicon does not yet appear to be open: https://github.com/github/roadmap/issues/528
Or we can try to use the self-hosted runner with the AWS EC2 M1 instances? This repo looks to have some code for that: https://github.com/machulav/ec2-github-runner.
MacStadium also an option for hosted Apple Silicon: https://blog.pantsbuild.org/m1-support-self-hosted/
Originally posted by @hammer in https://github.com/refstudio/refstudio/issues/508#issuecomment-1709260899

Github opened up the beta for Apple Silicon action runners: https://github.blog/changelog/2023-10-02-github-actions-apple-silicon-m1-macos-runners-are-now-available-in-public-beta/

If only they had opened it up a few weeks sooner!


ARTEMIS-4790: use JUnit 5 for the tests

Use JUnit 5 for the test suite; primarily the Jupiter API and junit-jupiter-engine, but junit-vintage-engine for a few select modules or test classes that rely on runners or deps that still need the earlier APIs.
Given the changes are test-only and the significant amount of time I have already spent rebasing them to this point, I'd like to merge this quickly and then address tweaking as followups.

After a skim I'm proceeding with a commit-then-review approach to avoid having to rebase this more than you've already had to.


Some git commands were not properly updated.

PS: I have no idea if I missed them in the initial PR, or if the merge forgot these, but who cares ?

I took everything from #699 when in conflict with #684, looks like they were missed in the PR.
But yes it doesn't matter and good catch 👍 and thanks


Courtlistener and commoncrawl as potential big open source repos for text

Re a comment by @davclark on email ("If folks have already-developed datasets that are amenable to a range of text processing, please let me know!"):

See https://www.courtlistener.com/, especially https://www.courtlistener.com/api/.  I know some of the folks behind the CourtListener (from my I School Days):  @mlissner and @brianwc of  http://freelawproject.org/

there's always web text -- look at https://commoncrawl.org/ (cc @Smerity)

Thanks for the shout out @rdhyee. Not sure the context here, but if folks have questions or need help with CourtListener data, I'm happy to help.

@mlissner you're showing up just at the right moment. First of all, we already have good, open text data with obvious analyses that would have broad appeal. See #11 and #13 for progress on congressional records.
Second, to clarify (and as you can see in the above issues), we have textual data that is open. What we need are textual data sources with curricula and documentation around them, that are already in a format that is amenable to loading into a data frame in R, etc.
So, @mlissner do you have that? Or @rdhyee?

Also, thanks @rdhyee for getting this issue out of an email on a google event! :+1:

Well, our data is available as JSON, XML, or a couple other more esoteric formats. Does that qualify?

Man, it's hard to explain what I mean. But thanks for sticking with me.
I need a documented workflow in which it is not much work for beginners to get into tidy format in R. Metadata should be clear, and it should be easy to generate term-document matrices using the tm package and so on.
For the congressional record: I have data in JSON and XML, including a flexible command line script, as well as python bindings, and my own API wrapper I wrote to hit the REST endpoint directly (also in python). We also have the wikipedia page which highlights interesting moments in the congressional record, as well as a nice two-party ideology split that will be observable in the data.
I want something that takes less work than working with what I already have!

I thought we settled on the sunlight data we got via the ipython notebook that Dillon and I wrote?

Well, I don't follow all that, but let me know if I can help (and if you didn't already decide to go with the sunlight data).

@rochelleterman I'm done talking about this on the issue for today. Are you committed to converting the file to the tabular format you'd need for tm? I probably don't have time until September or so.

Thanks @mlissner for jumping into this discussion.  About CommonCrawl data, I would guess there's not "curricula and documentation around them, that are already in a format that is amenable to loading into a data frame in R"

It's already converted. Check out "data.csv" in the repo. Sorry if I contributed to this confusion. Anyway, thanks @mlissner and @rdhyee for the heads up about CourtListener data. Looks like a fantastic resource that I will definitely keep in mind when constructing text-related curriculum, including for Data Carpentry.

We're moving this repo to a different github account soon, but you can see our Supreme Court JSON looking pretty @brianwc/bulk_scotus
On July 27, 2015 4:10:09 PM PDT, Rochelle Terman<EMAIL_ADDRESS>wrote:

It's already converted. Check out "data.csv" in the repo. Sorry if I
contributed to this confusion. Anyway, thanks @mlissner and @rdhyee for
the heads up about CourtListener data. Looks like a fantastic resource
that I will definitely keep in mind when constructing text-related
curriculum, including for Data Carpentry.

Reply to this email directly or view it on GitHub:
https://github.com/dlab-berkeley/social-data-carpentry-2015/issues/15#issuecomment-125375523

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


y-axis can't auto adjust on the line chart

Hi thanks for this amazing tool, I tried to induce it into my line chart though i found out i cant have my y-axis auto-adjusted. it will set the y axis to start from zero as i import the plugging
i don't know if it's because the following setting( stacked: true) somehow disables the auto-adjusting function. how could i have my y-axis back to auto-adjusted mode?
// Core options
scales: {
y: {
stacked: true
}
}

I'm sorry, but I don't really understand the problem.
Does your data go out of the chart, due to scale not adjusting?
The plugin adjusts scale range to include the annotations by default, you can disable that by settiong adjustScaleRange: false

HI thanks for your reply
it's like this, those fig's y-axis all starts from zero, but I want it to be auto-adjusted by the values in the charts.

So, this does not need to have the annotations in the chart, moving this issue over to core repo.


WindowsError: [Error 2] The system cannot find the file specified

$ mech start deb8.6
Traceback (most recent call last):
File "C:\Python27\Scripts\mech-script.py", line 11, in
load_entry_point('mech==0.4.1', 'console_scripts', 'mech')()
File "c:\python27\lib\site-packages\mech_main_.py", line 92, in main
operation(op='start', name=name, options={'gui':gui})
File "c:\python27\lib\site-packages\mech_main_.py", line 49, in operation
method()
File "c:\python27\lib\site-packages\mech\mech.py", line 43, in start
vm = Vmrun(self.vmx)
File "c:\python27\lib\site-packages\mech\vmrun.py", line 69, in init
rh = _winreg.OpenKey( reg, r'SOFTWARE\VMware, Inc.\VMware Workstation' )
WindowsError: [Error 2] The system cannot find the file specified

Hmm interesting...
Windows isn't as heavily used as OSX is (my laptops are all OSX) but I'll take a look into this.

I am having the same issue, I think the specific error here is caused by looking up the wrong registry entry for vmware workstation. I believe VMWare Workstation is a 32bit application for windows..Atleast mine is (12.5.7 build-5813279):
file vmware.exe
vmware.exe: PE32 executable (GUI) Intel 80386, for MS Windows
This means that my registry entry "SOFTWARE\VMware, Inc.\VMware Workstation" does not exist. I think the registry entry you may be looking for is "SOFTWARE\WOW6432Node\VMware, Inc.\VMware Workstation"
In that case I have a "InstallPath" and "InstallPath64" which point to "C:\Program Files (x86)\VMware\VMware Workstation" and "C:\Program Files (x86)\VMware\VMware Workstation\x64" respectively.
I haven't look at any of your code to know where else this may need to be changed as I am having other issues but see if you can change that and give it a test?

Just to follow up that small change  does fix it; the other issues I was having were totally unrelated and involved python/PATH issues.
I now get:
mech status:
Total running VMs: 1

Testing this on my computer, I can't reproduce but I'm looking into @irakhlin's fix now.

Thanks @irakhlin I think that fix works. Checked my registry keys (Windows 10) and it looks like that's the correct value.
Will probably need to add a fallback just in case.


GetDataFrameOfElements can't get the attribute column value with java.util.Date/java.sql.Timestamp to DF column

GetDataFrameOfElements can't get the attribute column value with java.util.Date/java.sql.Timestamp to DF column
This is my related configuration：
schema = ...edge("EDGE", new SchemaEdgeDefinition.Builder()
.source("Person")
.destination("Person")
.directed("true")
.property("date", "dateTypeName")
.property("je", "jeTypeName")
.aggregate(false)
.build())
.type("EDGE", new TypeDefinition.Builder()
.clazz(String.class)
.build())
.type("dateTypeName", new TypeDefinition.Builder()
.clazz(Timestamp.class) // java.util.Date.calss
.build())
.type("jeTypeName", new TypeDefinition.Builder()
.clazz(Float.class)
.build())
Load Data:
new Edge.Builder()
.group(EDGE)
.source(cxkh)
.dest(dscxkh)
.directed(true)
.property("date", date)
.property("je", je)
.build()
GetDataFrameOfElements dfOperation = new GetDataFrameOfElements.Builder()
.view(new View.Builder().edge("EDGE").build()).build();
Dataset dataFrame = graph.execute(dfOperation, user);
dataFrame.show();
result:
+------+---+---+--------+-------------+-------------+
| group|src|dst|directed|matchedVertex|  je|
+------+---+---+--------+-------------+-------------+
|EDGE|116|117|    true|         null|9000.0|
|EDGE|116|117|    true|         null|9000.0|
|EDGE|116|117|    true|         null|9000.0|
+------+---+---+--------+-------------+-------------+
Why not "date" column ？？

Thanks for raising the issue.
Some property types can be used within a Dataframe without conversion (e.g. String, Integer, Long, etc) (these ones are identified in the needsConversion method at the end of the class SchemaToStructTypeConverter https://github.com/gchq/Gaffer/blob/develop/library/spark/spark-library/src/main/java/uk/gov/gchq/gaffer/spark/operation/dataframe/converter/schema/SchemaToStructTypeConverter.java). Some other property types need converting before they can be added to a Dataframe - we do this automatically for some properties. If your property is not one of those standard ones then you can write a converter for it (i.e. an implementation of the Converter interface in the uk.gov.gchq.gaffer.spark.operation.dataframe.converter.property package).
java.util.Date and java.sql.Timestamp are standard enough that we should handle them automatically (either without converting them if a Dataframe can handle them or by providing a default converter if they need converting).
Are you able to fix this and create a pull request? If not, we can fix it but it will be a few weeks. In the mean time you can write your own converter for those types and pass it into the GetDataFrameOfElements operation.

Thank you! I have written my own converter and tested it through.

Great. I'll update the title of this issue to say we need to handle those 2 properties buy default.


Add harvester-network-controller sub chart

Description:
add harvester-network-controller sub chart to support VLAN network management of the harvester.
Related Issue:
https://github.com/rancher/harvester/issues/201

@gitlawr update, thanks.


In manifest, 'no-hostname' clobbers 'host' or 'hosts'

If I want to create an application that has both a route with no hostname and a route with a hostname, I would expect 'no-hostname' and 'host' to be additive. I would expect this manifest:
no-hostname: true
host: app
domain: example.com

to create these routes
space        host      domain                          apps
acceptance             example.com           my-app
acceptance   app   example.com           my-app

Instead, I only get the no-host route. If I want to create both routes, I need my manifest to look like this:
domain: example.com
hosts:
  - app
  - ''

@wendorf It looks like you have found a way to get this done using the
hosts:
  -  app
  - ''

Yeah, exactly. If feels strange that no-hostname and host are not additive. I when I discovered that the - '' line worked, it felt like a secret trick instead of the supported path to getting both routes added. At the very least, I'd like the documentation to tell me how I can accomplish having both routes with hostnames and without hostnames, but I'd prefer a different syntax that felt more natural and expected.

@wendorf Well, when you specify no-hostname, you shouldn't then expect to get an app with a hostname.  The unnatural thing is to expect that to work, I think.  no-hostname is taken literally.

I would have loved some change here too, specially this gets strange/impossible if I have two domains and wanna have the no-hostname rule only used one of them.
e.g. I'm not able to do something like this:
my_host.cfapps.io
example.com

using the pattern described above I would end up with this:
example.com
my_host.example.com
cfapps.io
my_host.cfapps.io

which leaves me with two additional (unwanted) access points

@dkoper could this issue be re assessed please? no-hostname and hosts aren't implicitly mutually exclusive. The desire for a "root" app to have both dingotiles.com and www.dingotiles.com isn't uncommon.

My proposal for tcp routes support for app manifest should cover this case. I sent it to cf dev 1-2 months ago. I put it on hold when routing team wanted to reconsider the workflow for multiple app ports support after feedback on this proposal. Can you take a look at it and see what you think of it?

For reference:

<EMAIL_ADDRESS>https://docs.google.com/document/d/17c1FwsuK_YCjQhH_7CebQkjrot4sfIsbAMQ0Cwcvv0M/edit

@dkoper so my example above would be mapped to your proposal as:
---
applications:
- name: myapp
  routes:
  - domain: dingotiles.com
    no-hostname: true
  - domain: dingotiles.com
    host: www


feat: Added ability to add extra loadbalancer blocks to ECS task

Description
This adds the ability to add extra loadbalancer blocks to the ECS task definition so that additional "sidecar" containers added via var.extra_container_definitions can be exposed as well on the same ALB
Motivation and Context
Expose Atlantis log streaming sidecar UI
Breaking Changes

How Has This Been Tested?

[x] I have tested and validated these changes using one or more of the provided examples/* projects

Thanks for the addition! 🎉
v3.4.0 has been just released.


Live Reloading

Is there a way to live reload assets on change? Brunch can do this out of the box, I think this is a rather important feature. :D

I know there was someone who posted a simple snippet using tiny-lr to accomplish this.
Basically the mentality was, if it can be done outside of Fly, let's not add it into core and so we never did.
What do you think?

Hmm, do you think you can create a plugin for this? Brunch uses a plugin too.
https://github.com/brunch/auto-reload-brunch

A plugin is fine! So, do you want me to create the plugin or you would like to take a shot at it?

Uh, it would be great if you can do it, let just say my JavaScript code tend to leave a lot to be desired...

You can just use regular ol' BrowserSync.
Perhaps you'd like to start with a starter kit, or at the very least, you can see how to incorporate live-reloading into any task. https://github.com/lukeed/fly-starter
As bucaran said, it's not something we plan to directly embed within the core of Fly.
Please let us know if you have any further issues. :)

@Immortalin did everything work out for you?


Mobile - Sort and Filter Functionalities for Spots

I will implement the functionality of sort and filter for our spots

https://github.com/bounswe/bounswe2023group8/pull/682 my work can be seen here, now users can use top button in bunch page to see most voted spots and new button to see newest created spots


Couldnt login to<EMAIL_ADDRESS>

Can someone share with me the password for the login?

You are probably asking for this one, right?
https://github.com/codevise/pageflow/blob/b84c795139ebd80315f6f676d49dc4436f1e39dd/lib/pageflow/seeds.rb#L20

Pageflow generates a random password for the admin user that is created when you run rake db:setup. It is printed to the console first time you run that task. You also can find it at the top of your db/seeds.rb file in the Rails application you installed Pageflow in.

Closing due to inactivity.


Added Xdebug 3 and improvements on how to use and configure

Hello, i have added support to Xdebug 3 and improvements on how to use and configure the files so that can help others developers.

Hi @fabriciopolito !
thank you for your contribution. I think xdebug with your great documentation would be very useful to the project so I really want to merge your changes.
In the 2 Dockerfiles your created the log directory with 777 permissions. Could you explain why you choose this option over a less permissive set of permissions ?

Hello @MrOffline77
Sorry, i was doing some tests and kept this permission by mistake. I'll remove manually set permission and keep system permission.
Thanks for feedback.

Hello,
I kept default system permissions.


Transferring XLM to a Stellar address fails with transaction not found

I have also tried this on keybase Android app, same failure. The application gives "stellar network error" whereas clicking on the transaction ID gives transaction not found.
Note I've also noticed a case where I got "stellar network error" in client but the transaction was successful.
Successful transaction (client says failed): https://stellar.expert/explorer/public/tx/b7775959f07d8160f0ec26f1db79f815a40512ed73a6fd6199d5bcf4fd07543c
One of the unsuccessful transactions (same error on client):
https://stellar.expert/explorer/public/tx/ba5bc52248fead64e761e24268eab6bf8d939c2c3e0583fac2881ed33713bfb7
This is somewhat urgent. I'm looking forward to hearing from you.
Keybase GUI Version: 5.8.1-20210930160723+fefa22edc1

Duplicate of #24678.
Workaround: Using StellarX as a middleman seems to work. I managed to successfully transfer the XLM out of my keybase wallet.


make error

/usr/bin/ld: CMakeFiles/SampleApp.dir/SampleApplication.cpp.o: in function std::__atomic_base<unsigned long long>::operator=(unsigned long long)': /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to __atomic_store_8'
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function alexaClientSDK::avsCommon::utils::sds::SharedDataStream<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits>::Writer::write(void const*, unsigned int, std::chrono::duration<long long, std::ratio<1ll, 1000ll> >)': /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to __atomic_load_8'
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function alexaClientSDK::avsCommon::utils::sds::SharedDataStream<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits>::Writer::Writer(alexaClientSDK::avsCommon::utils::sds::WriterPolicy, std::shared_ptr<alexaClientSDK::avsCommon::utils::sds::SharedDataStream<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits>::BufferLayout>)': /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to __atomic_load_8'
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function std::__atomic_base<unsigned long long>::operator unsigned long long() const': /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to __atomic_load_8'
/usr/bin/ld: ../../ACL/src/libACL.so: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[3]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/build.make:288: SampleApp/src/SampleApp] Error 1
make[2]: *** [CMakeFiles/Makefile2:10227: SampleApp/src/CMakeFiles/SampleApp.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:10239: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
make: *** [Makefile:2580: SampleApp] Error 2
My hardware is raspberry pi 3
and os is raspbian.
Please tell me how can I fix this issue

Hello @coderdude207,
This sounds just like the issue #1404.  Please try the fix suggested for that issue.
If that does not help, would you tell us what version of Raspian you are using by posting the contents of /etc/os-release.
Best regards,
-SWH

Hello @coderdude207,
I am closing this issue as a duplicate of #1404.  If you think it has been closed in error, please feel free to re-open it.
Best regards,
-SWH


method _add hava bug

in 347 lines of source code
function _add (combo, description, callback, action, allowIn, persistent) {
...
callback = function(event) {
var shouldExecute = true;
var target = event.target || event.srcElement; // srcElement is IE only
var nodeName = target.nodeName.toUpperCase();
...
}
note:
if target is 'undefined',then throw TypeError: Cannot read property 'nodeName' of                       undefined。so please add " if(target){.. } " include "var nodeName ..."
For example:
I want to use Mousetrap.trigger()

Sorry for the delay here, I'm trying to clean up old tickets. If you can create a plunker to demonstrate the issue, I'm happy to re-open and take a look.  The one you referenced does not exist.


[Improve] Improve streampark-console module base on [3.1 Naming Style]

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Improve streampark-console module base on 3.1 Naming Style
Usage Scenario
No response
Related issues
#2986
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Make it rain issues! This one's mine!🫡

Thanks @VampireAchao for the hard work!
closing.


Added an API fetch

It got late, so I reverted to mostly the old code. I just added the fetch and it isn't messing anything up.

Deleting this pull request because it contains our API key


PLT-506: Case-of-case

Based on https://github.com/input-output-hk/plutus/pull/5551, look at the last commit if you're interested.
This is a bit tricky. The key is to extract out enough of the code for picking apart datatype match terms that the pass itself is comprehensible. We also need this because then we can abstract over builtin "matchers" also, which lets us handle e.g. the combination of Bool_match and ifThenElse1, which is very common.
There's a question of whether to only do it when we know it's a win. I've linked that to the conservative optimisation flag, which feels right. To my surprise, it seems to be generally better to just let it run regardless!
Improvements are, again, modest.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[x] Changelog fragments have been written (if appropriate)
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Targeting master unless this is a cherry-pick backport
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

So I realised that

Roman is right, and case-of-case can create exponentially large programs in a single pass
Even if we only trigger it when the branch bodies are conapps, we can still get duplication (and hence exponential programs).

That means I don't think we can have a strictly conservative case-of-case at all (or we'd have to assert that the branch bodies were all distinct conapps, which seems annoying). I'm not totally sure what to do then: turn it off entirely when in conservative mode, and turn it on universally otherwise (just forgetting the conapps-only mode?).

processTerm is a single step, right? And transformOf in caseOfCase performs it to the fixpoint.

transformOf does not run it to fixpoint, but it does run it recursively bottom up, which is enough. That means you can generate duplicate code in the branches before then duplicating the branches, exponential goes brrr.

Can't you just interleave the step function of caseOfCase with the step function of COKC and run that to the fixpoint? Wasn't it what GHC was doing?

Hmmm maybe we could fuse the passes. I think the issue will be that case-of-case creates opportunities for COKC in a subterm of the term currently being processed, so naive fusion won't work.
We could directly call the COKC step from the case-of-case step if we think we've made an opportunity for it. That would avoid the problem partly, although if you look in the comment I added you'll see there's still a case where we can get duplication :(

@michaelpj

Can't you just interleave the step function of caseOfCase with the step function of COKC and run that to the fixpoint? Wasn't it what GHC was doing?

Hmmm maybe we could fuse the passes. I think the issue will be that case-of-case creates opportunities for COKC in a subterm of the term currently being processed, so naive fusion won't work.
We could directly call the COKC step from the case-of-case step if we think we've made an opportunity for it. That would avoid the problem partly, although if you look in the comment I added you'll see there's still a case where we can get duplication :(

Thanks for the explanation. Can you then just create a let binding for each of the branches that get duplicated and let the inliner deal with it down the line? And maybe inlining + COKC is easier to arrange than case-of-case + COKC? "This is safe to inline, because it immediately reduces by COKC to an acceptable expression".

Can you then just create a let binding for each of the branches that get duplicated and let the inliner deal with it down the line?

Yeah, I was also wondering about this. This is essentially what GHC does with join points. In our case it's not "free" like join points are, but it might still be worth it. And it does avoid the exponential code problem. So maybe it is indeed the right thing to do. In fact, I already have most of the code there to do this...

And maybe inlining + COKC is easier to arrange than case-of-case + COKC? "This is safe to inline, because it immediately reduces by COKC to an acceptable expression".

Right, and that's a generally useful inlining heuristic that will help us anyway. For most cases we don't even need a new heuristic, though: in the non-duplicative cases the binding will be single-occurrence, so the inliner will already inline it.
This seems promising, I think I should try this.

For most cases we don't even need a new heuristic, though: in the non-duplicative cases the binding will be single-occurrence, so the inliner will already inline it.

No, this is totally wrong: we get one binding which is used in every case branch, so it will almost never be single-use. So we are unlikely to inline it currently, which is a bit of a problem. Boo.

I guess we could make a binding in conservative mode? That avoids the program growth problem, and currently won't optimize well, but maybe that's okay.

This is good to go now, I think.

We always do CoC if all the branches are distinct conapps, this is guaranteed to be good
If we don't know this, then we do it unless we are being conservative, in which case we bind it to a variable

The conservative case is not a noticeable regression: it looked like it was but it was a weird interaction with the UPLC case-of-case. I checked without that and it's fine.

Refactored the code a bit following suggestions.


Launch DJS audience survey for Marketing & Audiences - 10 August

What is it and who's it for?
Surveying our users as part of the DJS audience segmentation project.
Runs from 10-24 August (take down morning of 24 Aug)
Text
Button:How do you spend your free time?
Button link: https://interviewer.djsresearch.com/scripts/Dubinterviewer.dll/Frames?Quest=61601&SurveySMP=1
Popup heading: Help us understand your needs
Popup text:We'd like to know how you feel about a range of issues, as well as how you spend your free time. Your responses to this survey may inform (among other things) how we adapt our offer in the context of the Covid-19 pandemic. The survey takes around 10-15 minutes.

My brain wants (among other things) to come between may and inform instead of after inform – it's more things like responses rather than more types of informer?

You're right - it reads better as may (among other things) inform


Azure client test case fix

Description
Fixes failing test cases for azure client reported from internal incidents.
We still need to address one more failing tests, which I have commented on this PR. This can be used as a starting point for someone else to pick up as it resolves one of the two failing or you can build on this to solve both

@seanimam This PR also includes the fluid-llm prototype package. Presumably that wasn't supposed to be a part of this PR.


MacOS: TB cluster memory allocator error

https://github.com/kassane/tigerbeetle-cpp/actions/runs/6212521694/job/16862738985#step:6:1

Upstream crash!!

Again: https://github.com/kassane/tigerbeetle-cpp/actions/runs/6342352462/job/17228294615

after #21 and https://github.com/tigerbeetle/tigerbeetle/pull/1209 on MacOS persist error
Starting replica 0

running client...
info(message_bus): connected to replica 0
/Users/runner/work/tigerbeetle-cpp/tigerbeetle-cpp/scripts/runner.sh: line 31:  3258 Segmentation fault: 11  $1
Error running with tigerbeetle
info(io): opening "0_0.tigerbeetle"...
info(main): 0: Allocated 5347MB in 16 regions during replica init (Grid Cache: 1024MB)
info(main): 0: cluster=0: listening on <IP_ADDRESS>:3001
info(message_bus): connection from client<PHONE_NUMBER>02046689183064190193078852059
info(message_bus): peer performed an orderly shutdown: message_bus.MessageBusType(.replica).Connection.Peer{ .client =<PHONE_NUMBER>02046689183064190193078852059 }
make[3]: *** [run_with_tb] Error 139
make[2]: *** [CMakeFiles/run_with_tb.dir/all] Error 2
make[1]: *** [CMakeFiles/run_with_tb.dir/rule] Error 2
make: *** [run_with_tb] Error 2

cc: @batiati

It does not seem to be related to https://github.com/kassane/tigerbeetle-cpp/issues/16#issuecomment-1728240772 since it's not in the format phase, neither https://github.com/kassane/tigerbeetle-cpp/issues/16#issuecomment-1755969499.
The log message info(message_bus): peer performed an orderly shutdown shows that the client was disconnected, so it's not likely a server-side error.
Also runner.sh: line 31 is where the sample is invoked by the CI, so I suggest you try to obtain some stack trace information running this specific piece of code, so we can inspect the exact location of the segfault.

It does not seem to be related to #16 (comment) since it's not in the format phase, neither #16 (comment).

Oh! It makes sense, really. This new bug isn't correlating although it runs on MacOS. I'll separate this issue.

The log message info(message_bus): peer performed an orderly shutdown shows that the client was disconnected, so it's not likely a server-side error.
Also runner.sh: line 31 is where the sample is invoked by the CI, so I suggest you try to obtain some stack trace information running this specific piece of code, so we can inspect the exact location of the segfault.

This line refers exactly to running the client in runner.sh.
https://github.com/kassane/tigerbeetle-cpp/blob/a3d34ce7975da4f725e7c53d416b25895553998f/scripts/runner.sh#L30-L32
But on my tests using C sample client, this error not persists:
https://github.com/kassane/tigerbeetle-cmake/actions/runs/6485996300


Could you share the checkpoint?

The training process takes a long time, can you share the trained checkpoint to help me evaluate the model?

https://github.com/ZikangZhou/QCNet?tab=readme-ov-file#quantitative-results


Hotkeys for buttons don't work

Open Buttons scenario and it Alt-S or Alt-Q. Nothing happens.
Expected:

Alt-S invokes the "_Swap Default..." button.
Alt-Q invokes the "_Quit" button.

Also, with the focus on the TextField press enter. Nothing happens.
Expected:

enter would invoke the default button.

I suspect these are related and I'm working on a massive PR that will probably fix these; I'd recommend not fixing them until after my PR. I wanted to capture this as an Issue so that it was tracked regardless.

This is partially fixed:

enter now works

But hotkeys on buttons are still not working.

This is one of the final bugs I think needs to be fixed for 0.90.
https://github.com/migueldeicaza/gui.cs/issues?q=is%3Aopen+is%3Aissue+milestone%3Av0.90

Fixed by the PR #793.


[Search] Don't include href in rearch result action if no url is provided

I want to use the 'action' item for results as an indicator that the user's query should be narrowed. I can do that by setting an action's text, but the action still has an href that leads to undefined.
Testcase
https://jsfiddle.net/dr4Lhwte/

I think that is cleaner and makes it clear that you don't need it to be a link. Thank you for the workaround! I have it set to window.location.hash for now, to make sure it doesn't redirect anywhere off the current page.

Fixed in https://github.com/fomantic/Fomantic-UI 2.5.0


looking app.asar content after make

npx asar extract app.asar ./content

I can see :
app.asar
content/ (app.asar extracted)
├─ .webpack/
│  ├─ main/
│  │  ├─ ....
│  ├─ renderer/
│  │  ├─ ....
├─ node_modules/ (empty)
├─ package.json

can we change the .webpack folder name ?
do you know if package.json is really used and can be removed ?
can we remove the empty node_modules folder ?
Regards <3

ok all of that can be done by editing two files
<EMAIL_ADDRESS><EMAIL_ADDRESS>
by example we can remove the node_modules empty folder by commenting line 184 of WebpackPlugin.js
//await _fsExtra.default.mkdirp(_path.default.resolve(buildPath, 'node_modules'));

then we can make a minimal package.json to copy inside

app.asar creation can be disabled by using asar: false in the configuration tools/forge/forge.config.js file
  // Packager Config
  packagerConfig: {
    // Create asar archive for main, renderer process files
    asar: false,
    // Set executable name
    executableName: 'ERWT Boilerplate',
    // Set application copyright
    appCopyright: 'Copyright (C) 2021 Codesbiome, Guasam',
  },

do you know if package.json is really used and can be removed ?

Removing package.json might cause execution related isssues for the packaged output ERWT Boilerplate.exe.

thank you for all this constructive discussion


Move workflowstore logic to correct abstraction #minor

TL;DR

Move logic to clear managed fields from the CRD from the resource version caching workflowstore to the passthrough workflowstore
Move logic to track terminated workflows from the resource version caching workflowstore to a new terminated tracking workflowstore

Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin
[x] Housekeeping

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description

The logic to clear managed fields from the CRD was moved to the passthrough workflowstore (the base workflowstore) since it seems like a core behavior that all workflowstores should have.
The logic to track terminated workflows was moved to a new terminated tracking workflowstore because it doesn't seem like a core behavior.
I changed the resource version caching workflowstore to wrap the new terminated tracking workflowstore so that there's no breaking changes (resource version caching workflowstore will continue to track terminated workflows).

I wonder if the workflowstore API structure could be improved. At the moment it is impossible to enable the resource version caching without also enabling the terminated tracking. Maybe the configuration can be changed to take in a list of policies, and the workflowstores would chain one another, e.g.
var workflowStore FlyteWorkflow
if cfg.InMemory {
    workflowStore = NewInMemoryWorkflowStore()
} else {
    workflowStore = NewPassthroughWorkflowStore(ctx, scope, workflows, lister)
}

var err error
for _, policy = cfg.Policy {
    switch policy {
	case PolicyTrackTerminated:
		workflowStore, err = NewTerminatedTrackingStore(ctx, scope, workflowStore)
	case PolicyResourceVersionCache:
		workflowStore = NewResourceVersionCachingStore(ctx, scope, workflowStore)
    }
}

Tracking Issue
fixes https://github.com/flyteorg/flyte/issues/2857
Follow-up issue
NA

@daniel-shuy thanks so much for your patience on this. I think moving the managed fields clearing to the passthrough and creating a new "tracking terminated" is the correct approach. Thanks for the initiative!
Two things to get this merged:
(1) Can you add DCO signoff to the commit? Since we are Linux Foundation project it is required - typically a quick google search shows a few ways to do this. Let me know if you want me to help with this!
(2) Looks like there is a small lint issue in the tests. Should be able to define some constants to fix it. The utility in this case is questionable, but generally the linter has good suggestions to keep the code relatively uniform, so we try our hardest to keep it happy.

@hamersaw Thanks for confirming! Any comment on the proposal to improve the workflowstore configuration structure?

Its annoying that the lint is failing even for an existing test (resource_version_caching_test.go). What's even more annoying is that its suggesting to use const, but because the consts will be package scoped, the tests will pollute each others scope (sometimes it frustrates me that Golang doesn't have file level scopes 🤦♂)

@hamersaw Thanks for confirming! Any comment on the proposal to improve the workflowstore configuration structure?

I agree that this idea of chaining policies would make this solution a little cleaner. My only concern is the backwards comparability of this solution. Currently everybody should be running the "ResourceVersionCaching" workflow store - it's the default and is really the only one that makes sense. Creating a new "TrackingTerminated" from a code standpoint is the correct abstraction. However, there really is no reason to only have the "TrackingTerminated" policy without the "ResrouceVersionCaching". And we want as many people as possible to benefit from these changes without having to update their existing configuration.
In a perfect world, we would:
(1) implement configuration for the policy chaining as you suggested
(2) create a default configuration in FlytePropeller with the terminated tracking and resource version caching so that anytime FlytePropeller is created is uses these unless the user specifically overrides the defaults.
(3) ensure that there is no specific setting of these policies in the default deployment helm charts. if the policy is defaulted to something, then these would always override and this would never be deployed. alternatively, we could use a new configuration value and deprecate the existing policy (maybe "policies" and make it a list)?
This is a bit of work and we would have to do a bit of testing to 100% be sure that the tracking terminated is available, because we can not have a regression here. I'll leave it up to you if you want to scope this work to cover this!

sometimes it frustrates me that Golang doesn't have file level scopes

a LOT of times it frustrates me that Golang doesn't use file level scopes!

there really is no reason to only have the "TrackingTerminated" policy without the "ResrouceVersionCaching"

@hamersaw I see,thanks for the explanation. So this abstraction is only meant for code maintainability, not configurability. In that case I guess there's no need to change it.

@daniel-shuy looks like the DCO is giving a bit of trouble - this may help. You can rebase with signoff with git rebase HEAD~2 --signoff to signoff the last two commits and then force push.

@hamersaw oops I forgot I had 2 commits and only rebased the last


don't block when calling KafkaSender.send()

Current implementation blocks for up to five seconds to be able to log
the outcome of the sending of the record to Kafka.
Since the code calling KafkaSender doesn't care and isn't made aware
of the results of sending to Kafka (and since any exceptions or timeouts
are swallowed in KafkaSender), the blocking isn't really necessary. In
the case where Kafka can't be reached, this causes the original
operation to wait an up to five seconds (per message sent) before
continuing on.
Changing the sending to Kafka to be truly fire-and-forget by performing
the logging of outcomes in a callback removes the blocking and the
impact of any timeouts from the calling-code.

@rohansingh @gimaker @davidxia

:+1: good catch

:+1:


Small typo in parameters

As I understand the second property in ItemGroup should be named XmlFiles to declare that it pointing to multiple XML files. So the second parameter to 'Build' target stay as it today @(XmlFiles) and 'MetadataFiles' parameter to 'BuildHelp' task should also receive @(XmlFiles) parameter.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/msbuild/how-to-build-incrementally.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DX12 Indirect Drawing Texture Binding

Hello,
I would like to know if there exists any possibility to change texture binding in command signature. Documentation states "The commands optionally containing state to set for vertex buffer views, index buffer views, root constants and root descriptors (raw or structured SRV/UAV/CBVs). ". Which means that I can only change root descriptors. In example ExecuteIndirect there is only cbv change, what if I need to set texture as well after performing culling. As far as I know textures cannot be placed directly in root descriptors but in tables.
Thanks

Textures (SRVs) and UAVs can also be placed in root descriptors.  We just didn't do that in the sample.


Fix parse error in misc.zsh

Thanks for contributing, this is fixed in #4002 and multiple other new PRs.

sorry :(


[ISSUE 433] using zlib to decompress

fix #433

Rebase to the latest master branch to pass the CI check pls.

Rebase to the latest master branch to pass the CI check pls.

ok, ptal

wonderful


Batch predict regression model on unseen data

Hi team,
I have followed this article to create a text regression model using Ktrain.
It is working fine on the created training and validation data. But when i try to predict on unseen data it is not working .
Things tried.
1.learner.predict(test_df['text].tolist())
2.preproc.preprocess_test(test_df['text'].tolist())
3. test_tfdataset = ktrain.TFDataset(test_df['joke_text'].tolist(), n=len(test_df))    but this requires a valid y value but i dont have y value for unseen data
4. test_tfdataset= features_to_tfdataset(test)  and then learner.predict(test_tfdataset)  this is giving  layer error
5. predictor = ktrain.get_predictor(learner.model, preproc)
y_pred = predictor.predict(test_df['text'].tolist())
Please help me how to batch predict on the whole unseen data frame

Hello @hunaidkhan2000
The tutorial you followed assumes you're creating a custom model that accepts both text and extra categorical/numerical variables.  However, from your examples, it looks like you're only using text data as input.  If this is the case, you can simply follow this notebook to make batch predictions on unseen data.  You can also change increase the batch size of the predictor, if desired.
If you are indeed using extra regressors with text input, there are several ways to make predictions.  For instance,  you can make predictions in the same way as you make predictions for validation data (supply a dummy y value, as it is just ignored):
test_data = MyCustomDataset([extra_test] + [test_data[0]], test_data[1], shuffle=False)

Do either of the following suggestions work for you?
If not, please respond with the error traceback and perhaps provide more information on  your input data, which will help us inspect and resolve this issue.
Thanks.

Hi the notebook provided above worked like charm but only error i am getting is while using huggingface models.
If i select distil bert   or bert.
i get this error "ValueError: you are using a Hugging Face transformer model but did not preprocess as such (or vice versa)"
How to resolve it ?  I am using the by default text.print_text_regression_models()
fasttext: a fastText-like model [http://arxiv.org/pdf/1607.01759.pdf]
linreg: linear text regression using a trainable Embedding layer
bigru: Bidirectional GRU with pretrained English word vectors [https://arxiv.org/abs/1712.09405]
standard_gru: simple 2-layer GRU with randomly initialized embeddings
bert: Bidirectional Encoder Representations from Transformers (BERT) - keras_bert implementation [https://arxiv.org/abs/1810.04805]
distilbert: distilled, smaller, and faster BERT from Hugging Face transformers [https://arxiv.org/abs/1910.01108]

I was able to run the HuggingFace model provided the above answer but while predicting i am getting error.
This is my prediction code
#MODEL_NAME = 'distilbert-base-uncased'
models_list = ['roberta-base','bert-base-uncased','distilbert-base-uncased','xlm-roberta-base']
t = text.Transformer(models_list[2], maxlen=200) ##max len can be changed
trn = t.preprocess_train(X_ts, y_tr)
val = t.preprocess_test(X_ts, y_ts)
model = t.get_regression_model()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=64,workers = 4)
learner.fit_onecycle(1e-4, 1)
predictor = ktrain.get_predictor(learner.model, preproc)
y_pred= predictor.predict(test_df['text'].tolist()) ##test_df is unseen data ,i even tried using unseen = t.preprocess_test(test_df['joke_text'].tolist()) but no luck

Error what i am getting is ""Attribute error: 'tuple' object has no attribute 'batch_size' "". let me know if i am making any mistake or is it a bug from Huggingface side?

No able to reproduce  - perhaps it's a bug/issue in your code/data.  The following works for me:
MODEL_NAME = 'distilbert-base-uncased'
t = text.Transformer(MODEL_NAME, maxlen=200)
trn = t.preprocess_train(x_train, y_train)
val = t.preprocess_test(x_test, y_test)
model = t.get_regression_model()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=64)
learner.fit_onecycle(1e-4, 1)
p = ktrain.get_predictor(learner.model, t)
p.predict(['This is first document.', 'This is second document.', 'This is third document.'])

For further assistance, you'll need to post a reproducible example in the form of a shared Google colab notebook.

Thanks I think I got the part where i was making the mistake. Thanks for the prompt response and your library is just awesome. Best one for NLP classification and regression with lesser amount of coding


weapon_overheat: Fix tf_weapon_rocketlauncher_fireball overheat

Known bugs:

PrimaryAttack doesn't apply overheat.
SecondaryAttack ignore m_flNextSecondaryAttack.

In detail:

CTFWeaponFlameBall use m_flItemChargeMeter instead of m_flNextPrimaryAttack and m_flNextSecondaryAttack.
CTFWeaponFlameBall::SecondaryAttack only check owner's validity and m_flItemChargeMeter.
But CTFWeaponFlameBall::PrimaryAttack still check m_flNextPrimaryAttack. So s_bPrimaryAttackAvailableInPre only needs m_flItemChargeMeter check.

Or..I can use a signature like minigun for this. I'll follow your opinion.

I don't really have any opinion on this change since it's not something I use myself, but I'll trust that it works.
Thank you for the contribution!


Feature discovery doesn't work as expected in card.

https://codepen.io/anon/pen/EQvvXx
When a feature discovery / tap target block is placed on a card, the position or location of the block when displayed is incorrect. eg:
https://i.gyazo.com/8f512feeb361083b4ac48827bae7aeda.png
Issue is also present, although subtle if the feature discovery block is placed within a container.
The workaround for this is to move the feature discovery block to the body of the page, and ensure that it is not within another styled div tag.

it seems like you fixed the issue? You are correct in that the safest way for it to work is to put it in the root level of the DOM

Yep, I was thinking it might be helpful to add this to the documentation.

Just noticed that this is also present on the materializecss website when viewing 1.0.0-beta but not when viewing 0.100.2
http://materializecss.com/feature-discovery.html

today the version 1.0.0 dont work well in card , any solution?

Can anyone please tell me does it also affect if my  has some margin and padding?


Remove duplicated task

Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Pass
0
00:17:13


Support @topic wildcard mentions

This Zulip feature (https://zulip.com/help/mention-a-user-or-group#mention-all-topic-participants).
API docs: https://zulip.com/api/update-message-flags#available-flags
Relevant discussions: https://chat.zulip.org/#narrow/stream/378-api-design/topic/highlight.20topic-wildcard.20mention/near/1621613

This has a couple of different parts, which we might split into several issues when we start working on it.

Understanding the new pair of flags for stream/channel vs. wildcard mentions.
Offering these in autocomplete, as part of #234.
Highlighting these in the message list: #646, #647.

OK, I've split this up into those more-specific issues, and edited the comment above to point to them. Closing this umbrella issue in favor of using those to track the work.


show ping?

ANSI has a DSR (Device Status Report) escape code that sends back current cursor position. The important thing for measuring ping is that it  sends back something. We could use it to figure out how long it takes for a message to get from server to client and back.
We could also use websocket pings, but that's websocket specific and terminal users shouldn't miss any functionality.

Tried in #249, seems not possible to get to work without knowing what terminal app the user has.


Add keywords on package.json

Description
Ref https://github.com/naver/egjs-infinitegrid/issues/136
{
	"keywords": [
		"360-photo",
		"360-video",
		"view360",
		"panorama",
		"spinner",
		"webgl",
		"device-orientation",
		"touch",
		"VR",
	],
}

Resolved by #197


odim 5693: Adding empty RemoteAccountService Collection and Accounts under Plugin Manager

Not required as of now. hence closing this


Issue #14765 - Preparatory Work

Describe your changes:
Related to #14765

refactored tablePartition field for table entities. to the below structure, where each partition column is a unique PartitioncolumnDetails object with its own PartitionIntervalTypes (e.g. TIME-UNIT, INTERGER-RANGE, INJECTED, etc.)

TablePartition(
    columns=[
        PartitionColumnDetails(
            columnName="<partitionColName>",
            interval="<interval>",
            intervalType="<one of PartitionIntervalTypes>"
        ),
        ...
    ]
)

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My PR title is Fixes <issue-number>: <short explanation>
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Breaking change

[x] I have added the tag Backward-Incompatible-Change.

@open-metadata/ui this PR will break the UI logic to mark a column as partition or non-partition -- see screenshot. I will need your help with this fix. 😊


'last year' vs 'last 5 years'

In brief:
>>> time_struct, parse_status = cal.parse("last fiscal year")
>>> datetime(*time_struct[:6])
datetime.datetime(2018, 4, 5, 13, 46, 25)
>>> time_struct, parse_status = cal.parse("last 5 years")  # same result for 'past 5 years'
>>> datetime(*time_struct[:6])
datetime.datetime(2023, 4, 5, 13, 46, 29)

Is this the default/correct behavior? At least logically it makes little sense to me to get a future date for a some a string that is clearly referencing the past. Maybe someone with a better understanding of the internals of the library can chime in?
Thanks in advance!

What output would you expect for that, it seems like it would have to be 5 dates for each of the last 5 years? Since that construct is not supported it is just identifying the "5 years" portion and ignoring "last". The nlp function is useful for determining how a string is parsed since it includes the substring that matched.

I see. Ideally, I'd get a daterange or timedelta. At first I thought that was supported but I didn't look well enough through the docs. Is it something that is aimed to be supported at all in the future?
Thanks for the pointer, I'll look through the code .


chore: security support >= 3.0.0

Summary by CodeRabbit

Documentation

Updated the "Supported Versions" section in the SECURITY.md file to reflect that security updates are now provided for versions 3.0.0 and above.
Minor formatting adjustments made in the "Disclosure Policy" section for consistency.

Chores

Simplified debugger configurations by removing explicit protocol and port settings from the .vscode/launch.json file.

@elrrrrrrr 这是搜索类型定义无法编译导出？

@elrrrrrrr 这是搜索类型定义无法编译导出？

应该是依赖升级了 😈


python-tensorflow checks updated

Some bci python versions 3.6 had errors checking the tensorflow version, for import issues.
http://openqa.suse.de/tests/8770107
Added a direct check of the import and removed stdout redirection in the version check command

@jlausuch , @dcermak please a kind check

As information,
full local run sle 15.3: http://pasta.qam.suse.de/74x0tEg5
full local run sle 15.4: http://pasta.qam.suse.de/FETNfeGE


ROX-20878: Fallback reconcile if gRPC ResourceExhausted

Description
Follow-up from #8430.
It fixes a possible issue if the cluster is too large and the number of unchangedIDs is too large to be transmitted on initial ResourcesSynced message.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change

[ ] CI (with compatibility tests)
[ ] Manual test

In order to test this locally, I've changed my sensor to inject 260k entries to check that central properly falls back to the old reconciliation.
--- a/sensor/common/deduper/deduper.go
+++ b/sensor/common/deduper/deduper.go
@@ -113,6 +114,10 @@ func (d *deduper) Send(msg *central.MsgFromSensor) error {
        resourcesSynced := event.GetSynced()
        if d.appendUnchangedIDs && resourcesSynced != nil {
                d.synced = true
+               for i := 0; i < 260_000; i++ {
+                       d.unchangedIDs.Add(fmt.Sprintf("Deployment:%s", uuid.NewV4()))
+               }
                log.Infof("Adding %d events as unchanged to sync event", len(d.unchangedIDs))
                resourcesSynced.UnchangedIds = d.unchangedIDs.AsSlice()
                metrics.IncrementTotalResourcesSyncSent(len(d.unchangedIDs))

Max size for unchanged IDs:
Based on the tests above, the upper limit for number of entries in the unchangedIDs slice is ~250k.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/test ?

/test gke-sensor-integration-tests

/test gke-version-compatibility-tests


Nested dynamic forms?

I have a form representing a group of products, each with its category, name and price. Currently, I have some partial fields made using cocoon to add new products; each nested field contains the product - selected from a dropdown - and then the price has to be filled manually. I would like to have first a select for the category which filters the product dropdown and then when a product is selected, it fills the price field; while I know how to do dynamic selects like this with javascript, I'm unsure how to get the right element in this case.

hi Ale...you're going to get faster replies on the stackoverflow.com troubleshooting the div name's you made in your project!  Be sure to give examples of your view partials & currently written jquery when you make your post...you can post a link to it back here.
This forum on github is actually for bugs & contributions, not trouble shooting - though it does happen...so you could also try searching previously closed tickets.

Hi @AleFons, yes please ask this question on stackoverflow.com as it is imho a pure rails/javascript question. If you link the question here I can always take a look. Also please include some view-code of what you tried already, because it is easier to get replies if you showed what you have already done (so people can extend on what you have tried).


New example that shows linearised ODE as transition model

This PR follows the (now closed #952) where I changed the example from a space domain case to a navigation like transition model (constant heading).
The example provides a snapshot on how to linearise a non-linear time variant transition model using the Van Loan method.
Some feedback on the document provided in the previous PR are incomporated already.
The example considered mimics the one presented in the following paper:
[1] Kountouriotis, Panagiotis-Aristidis, and Simon Maskell. "Maneuvering target tracking using an unbiased nearly constant heading model." 2012 15th International Conference on Information Fusion. IEEE, 2012.
(https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6290578.)

Added the comments @csherman-dstl made, rebased the branch and fixed the conflict with the new 1.5 stone soup version


Implement autoprefixer

Hey there!
I've implemented autoprefixer as a proof of concept. It was a breeze, actually!
Likely will help with: #6685
The only caveat worth mentioning is that if there were some browser-specific hacks like adding !important to :-ms-something only. See comments in the actual code for details.
Action:
I need to ask you for help regarding specific configuration on which browsers to target. For now, it's all on default settings and we don't configure anything.
I carefully compared the files using Mergely, and most of the differences make sense, but you will want to hardcode the configuration so that you'll be sure there are no changes without your knowledge.
This config would be in form of .browserslistrc file. Sample file could look like this:
# Browsers that we support

> 1%
Last 2 versions
IE 10

which means that we would like to support anything with more than 1%, market share, all last 2 versions of everything, no exceptions, and IE10.
Here's all the fun you can do: https://www.npmjs.com/package/browserslist
I checked Allow edits from maintainers and you can feel invited to use this option :)

/botio test

Thank you for implementing this! It cleans up the CSS files quite a bit.

Super glad I could help. ❤ to Mozilla!

Any chance we could address #9392 as well?


Execute run do not expand access sequences

Requested by @RobertRostohar:
The execute run string expands only $input()$ and $ouput()$ entries:
https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#executes
Expanding access sequences such as $BuildType$ may be handful to differentiate commands at context level - for example for correctly placing several CMake binary directories related to different instances in the same solution (advanced use case of https://github.com/Open-CMSIS-Pack/devtools/issues/1661).

https://github.com/Open-CMSIS-Pack/cmsis-toolbox/issues/168 is a similar issue.  I believe that enabling access sequences in run: node is helpful.

Open-CMSIS-Pack/cmsis-toolbox#168 is a similar issue. I believe that enabling access sequences in run: node is helpful.

This is a different matter.

Addressed in Expand non-path access sequences in execute run node
Please note: access sequences that lead to path expansion/replacement must be located under înput/ output nodes.

@brondani could you provide a list of the access sequences that are expanded.
Is it possible to use $SolutionDir()$ to specify the location of a tool?  This would allow this instead of $input(1)$:
      run: $SolutionDir()$/KeyGen.bat $input(0)$ -o $output$
      always:                                 # always generate the keyfile.c as it has a timestamp
      input:
        - $ProjectDir()$/keyfile.txt          # contains the key in text format
        - $SolutionDir()$/KeyGen.bat

See the examples on:
https://github.com/ReinhardKeil/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#executes

@brondani could you provide a list of the access sequences that are expanded

$Bname$
$Dname$
$Pname$
$BuildType$
$TargetType$
$Compiler$
$Solution$
$Project$

Is it possible to use $SolutionDir()$ to specify the location of a tool?

Currently the access sequences that lead to path replacement also relativize the expanded paths for keeping the generated cbuild.yml portable. This would need to be reworked if $SolutionDir()$ is required.
However I believe in most cases, certainly in this example, it would be highly recommend to add the script as an input and not directly in the run string, so any change in the script itself will retrigger the execute.

Having $Pack()$ available in the run: node might also be useful. For example, a tool/script might be distributed in a pack.


xwaylandvideobridge: 0.2 -> 0.3.0

Description of changes

0.2 -> 0.3.0

switch from https://invent.kde.org/system/xwaylandvideobridge to https://download.kde.org/stable/xwaylandvideobridge

add bsd3 cc0 licenses

diff --git a/pkgs/tools/wayland/xwaylandvideobridge/default.nix b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
index 83b2186c8ab1..9e29f781c0a1 100644
--- a/pkgs/tools/wayland/xwaylandvideobridge/default.nix
+++ b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
@@ -1,6 +1,6 @@
 { lib
 , stdenv
-, fetchFromGitLab
+, fetchurl
 , cmake
 , extra-cmake-modules
 , pkg-config
@@ -14,14 +14,11 @@

 stdenv.mkDerivation (finalAttrs: {
   pname = "xwaylandvideobridge";
-  version = "0.2";
+  version = "0.3.0";

-  src = fetchFromGitLab {
-    domain = "invent.kde.org";
-    owner = "system";
-    repo = "xwaylandvideobridge";
-    rev = "v${finalAttrs.version}";
-    hash = "sha256-79Z4BH7C85ZF+1Zivs3bTey7IdUnaDKhvZxzL6sDqUs=";
+  src = fetchurl {
+    url = "https://download.kde.org/stable/xwaylandvideobridge/xwaylandvideobridge-${finalAttrs.version}.tar.xz";
+    hash = "sha256-+Npuj+DsO9XqeXr4qtj+Haqzb8PHfi02u3RDgyzfz/o=";
   };

   nativeBuildInputs = [
@@ -42,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
   meta = {
     description = "Utility to allow streaming Wayland windows to X applications";
     homepage = "https://invent.kde.org/system/xwaylandvideobridge";
-    license = lib.licenses.gpl2Plus;
+    license = with lib.licenses; [ bsd3 cc0 gpl2Plus ];
     maintainers = with lib.maintainers; [ stepbrobd ];
     platforms = lib.platforms.linux;
     mainProgram = "xwaylandvideobridge";

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3091

Result of nixpkgs-review pr 273456 run on x86_64-linux 1

1 package built:

xwaylandvideobridge

There is a new package version v0.4.0

@linuxmobile updated in https://github.com/NixOS/nixpkgs/pull/276635


Also add incomplete to the list

Coverage remained the same at 27.263% when pulling b12ae3bf9b8a24d6dd413b1dba1f5b222a7cfc22 on sylvestre-patch-7 into 0a4447c7f43c0e74a5f559f19ff47afaa053efe5 on master.


Deploying an SF App to a Linux Cluster using an ARM template and SF App Parameters fails

Repro steps:

Start with a new Service Fabric cluster on Azure with linux VMs
Create an ARM template for deploying an SF app to the cluster (or better: Create an ARM template for an SF app with user-assigned managed identity to the cluster)
Ensure the application resource in the ARM template has 2 or more SF app parameters within a parameters object, which of course must correspond with application manifest parameters.
Deploy the ARM template
The Microsoft.ServiceFabric/clusters/applicationTypes/versions resource should successfully deploy (and the ApplicationType should appear in the cluster), but the application resource will time out (in my case after 12 hrs) and fail to deploy, with no ARM-visible errors or warnings. Within the SF logs, you may find this error:

2019-9-19 21:52:12.512,Error,7054,40883,CM.ImageBuilderProxy,"[9771ebf8938133cc6c780179fc18f312:132132971383314530] failed : Cannot have newline characters \r or \n in application parameters. Found newline in parameter 'CliXml'"
7. 2019-9-19 21:52:12.512,Info,7054,40883,CM.ImageBuilderProxy,"[9771ebf8938133cc6c780179fc18f312:132132971383314530] failed to add application parameters: FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR"

and the CliXml should be logged earlier, eg:
        ""CliXml"": ""<Objs Version=\""<IP_ADDRESS>\"" xmlns=\""http://schemas.microsoft.com/powershell/2004/04\"">\r\n  <Obj RefId=\""0\"">\r\n    <TN RefId=\""0\"">\r\n      <T>System.Management.Automation.PSCustomObject</T>\r\n      <T>System.Object</T>\r\n    </TN>\r\n    <ToString>@{ASPNETCORE_ENVIRONMENT=Stage; GatewayService_InstanceCount=-1; www_HostNames=*;stage.blah.com; default_AppInsightsKey=redacted}</ToString>\r\n    <Obj RefId=\""1\"">\r\n      <TNRef RefId=\""0\"" />\r\n      <MS>\r\n        <S N=\""ASPNETCORE_ENVIRONMENT\"">Stage</S>\r\n        <S N=\""GatewayService_InstanceCount\"">-1</S>\r\n        <S N=\""www_HostNames\"">*;stage.blah.com</S>\r\n        <S N=\""default_AppInsightsKey\"">redacted</S>\r\n      </MS>\r\n    </Obj>\r\n  </Obj>\r\n</Objs>""
      },

The workaround that I’ve come up with is hard-coding the parameters in the ApplicationManifest.xml file, and omitting all parameters in the ARM template, which means that a .sfpkg can only be deployed to a single environment. We can automate updating .sfpkg files for each environment, but it’s certainly wasteful, incorrect, and a major hassle that the same package can’t be run in multiple clusters.
It's pretty obvious that the error is in the ARM deploy code - it just shouldn't include Windows line endings (probably ever, or when deploying to Linux nodes). Should be an easy fix, but I don't know where...

Any update on this? This is a pretty severe bug, and should be an easy fix.

@johncrim Where do you find the SF logs that you posted? I'm getting the error FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: DOWNLOAD PATH SANITIZED when deploying Microsoft.ServiceFabric/clusters/applicationTypes/versions and cannot figure out why. I'm providing the blob storage path to the sfpkg file in the appPackageUrl property.

@levimatheri - that sounds unrelated to this issue, but the logs were in the blob storage account where SF logs are periodically written.


feat(vmseries): example

Description
New example for vmseries module
How Has This Been Tested?
terraform init && terraform plan && terraform apply + terraform destroy
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x ] I have updated the documentation accordingly.

Part of #165


Add support for escape char ESC via `e.

Partially address issue #2751.  I believe this change falls into compat bucket #3 - unlikely grey area.  This fact has been reviewed and accepted by the PowerShell as indicated in issue #2751.

Hi @rkeithhill, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Do not read all connected model files

Is your feature request related to a problem? Please describe.
At least ExtModel reads all connected input files. Some bc-files can be very large, which can take a lot of time or even cause a memory overload.
Describe the solution you'd like
There should be an option to just read the header or name/path of connected files without reading all the contents. Then only files that will be edited can be read entirely.
Describe alternatives you've considered
Remove some lines linking to heavy files from the mdu/ext to be able to work with the rest of the model input.

Closing issue as it is a duplicate of #355.

Duplicate of #355


Hero Sections - Maintain View Height

Site should not scale width AND height at the same time. Should maintain the view height of the browser for all hero sections

updated...


System Notification title text is not consistent when using one of the --title, --subtitle, or --message arguments

Describe the bug
Currently there's inconsistencies with the system notification title text shown when using ONE of the following arguments:
--title
--subtitle
--message
To Reproduce
Steps to reproduce the behavior:

Run dialog --notification --title <Test Title> - the title appears in the body, with "Dialog" as the title
Run dialog --notification --subtitle <Test Subtitle> - the subtitle appears in the body, with "An Important Message" as the title
Run dialog --notification --message <Test Message> - the message appears in the body, with "An Important Message" as the title

Expected behavior
When running dialog --notitication --title <Test Title> I would expect to see a notification with that as the title, with no body.
Same for using dialog --notification --subtitle <Test Subtitle>
Using --message isn't unexpected, the title appears to be pulling the default values, just like if you use dialog on it's own, you get the default window size with "An important message" as the title.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

macOS version 14.4.1
swiftDialog version 2.4.2 (also tested on 2.5 Betas)

Additional context
https://macadmins.slack.com/archives/C01U5MXNGG6/p1714742677498069
I see that Bart has said it's likely a bug but for now a notification is expecting both --title and --message - reporting this simply to record it. Happy to use the workaround for now!

A simple immediate fix would be to have the documentation say that --title and --message are both required, and that placeholder texts of An Important Message and Dialog will appear when the respective options are missed. For now, if you really want nothing to appear set them to " " (a single space).
That will then leave @bartreardon free to decide how best to approach making this better i.e. I guess preferable allowing if the option isn't include, don't show any text instead of a placeholder, but that may depend on what is required by Apple for a notification.


unique numbers

small script to check the total of non-duplicate phone values
Pull Request Naming Standard
Folder Name - File Name - Change Made
Example:  .github - PULL_REQUEST_TEMPLATE.md - Update Template Standards
Description
Please include a summary of the changes and issues fixed. Include any relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test X
[ ] Test Y

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

In order to be able to text it back, take a look at how it is handled for Advice and News in twillio_utils.py in this screenshot:

Then just copy your new function into twillio_utils.py file, and create a new elif block where you invoke your function. Feel free to run locally to test it.


Reload .eslintrc when it's changed

Minor nitpick.
When using webpack with watch: true, and editing .eslintrc, I'd have to restart webpack for the new .eslintrc changes to take effect.

I'd like to see that too.

PR are always welcome

Have also run into an issue where I need similar functionality to accommodate https://github.com/apollographql/eslint-plugin-graphql. In my case I need to force eslint-loader to reload .eslintrc on every build. I see #151 and am wondering which of the cases described in this issue are satisfied by it. If my case is not covered I'll gladly contribute to that PR or another

#151 still requires webpack to be restarted when changes are made to the rules so doesn't address this issue.
It also needs to be considered that there could be multiple .eslintrc files located anywhere in the project (see #123 and configFile option) and rules could also be applied directly to the eslint-loader options.

@MoOx I would like to work on this. Could you please help me figure out the approach?

I guess you should somehow watch for the file being used, and reload it in memory. Nothing is made to support this so you will need to handle this from scratch I guess.

With eslint, there may not be just one eslint config file right? Would also need to invalidate cache when the config is modified.

I guess so. Not an easy problem to solve and might open up to lots of bugs. Not sure if that's a good idea. If you work on your config, you should probably more play with eslint cli & files directly.

This is what I have so far.

Get the eslint config files using globby and the pattern ["**/.eslintrc.*", "package.json", "!node_modules/**/*"].
Hash these files using hash-files and use it as part of the cacheIdentifier. However, this module is a little broken as the glob file resolution does not work correctly(hence the need for globby). Maybe I could use hasha instead.

However, this isn't enough as the eslint.CLIEngine seems to cache the config as well. How do you suggest I handle this?

@MoOx Could you please help me out a little?

Worth considering is that ESLint can also be configured via package.json. See Using Configuration Files.

@sudo-suhas sorry I don't know where to start with this. The codebase is pretty small so you should try to understand it, check automated tests and see how you can tackle the problem. Feel free to ask questions if you need some detailed informations about a specific problem/ piece of code.

Use nodemon for this.
Ex: nodemon --watch .eslintrc.js --exec webpack

@ricardogobbosouza that's not ideal - you lose all the benefits you get from running Webpack in watch mode


Specifically, I think this would have helped in #540
Release note:
NONE

/ok-to-test

🙏 thanks for this!
/ok-to-test

/test e2e v1.8

/lgtm
/approve

/retest