First Pass at a 'Start New Week' feature

Feature originally requested by Powaqqatsi#2172 on the Discord.
Creates a button next to the "Reset" button that resets the inputs except for the previous week pattern which it then sets.
Button will only appear if a pattern has a displayed probability of 100% (internal of .9995 or greater) and will hide itself otherwise.
If a user manages to "click" the hidden button it will behave just like a normal reset and set the previous pattern to "Unknown"
Currently only EN translation available.
Related Feature Request: #324
Gif of changes in action:

fixed merge conflict through rebase and forced push onto my branch.


ROX-17766, ROX-17780: upgrade test and psps

Description
Upgrader fails when PSPs are not enabled because they are still in the bundle.
Checklist

[ ] Investigated and inspected CI test results
[ ] 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
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/test gke-upgrade-tests

/test gke-upgrade-tests


Add ISR - International School Rheintal

Website for school: ISR - Proof that it exists

@coder3112 First stage of verification passed, official domain is isr.ch as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@coder3112 Pull request merged. Thank you.


[Bug] When uploading normative routing files, the memory overhead is too large

When standard routing is used, gf will read the entire body content first, and then do parameter binding. Therefore, when there is a file parameter in the canonical route, gf will first read the content of the file into memory. When there are multiple file upload requests at the same time, it is easy to blow up the system memory.
1. What version of Go and system type/arch are you using?
go version go1.20 linux/amd64
2. What version of GoFrame are you using?
v2.5.2
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
package main

import (
	"context"

	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/net/ghttp"
)

type UploadReq struct {
	g.Meta `path:"/upload" method:"POST" tags:"Upload" mime:"multipart/form-data" summary:"上传文件"`
	File   *ghttp.UploadFile `p:"file" type:"file" dc:"选择上传文件"`
}
type UploadRes struct{}

type cUpload struct{}

func (u cUpload) Upload(ctx context.Context, req *UploadReq) (*UploadRes, error) {
	return nil, nil
}

func main() {
	s := g.Server()
	s.Group("/", func(group *ghttp.RouterGroup) {
		group.Bind(cUpload{})
	})
        s.SetClientMaxBodySize(100 * 1024 * 1024)
	s.Run()
}

5. What did you expect to see?
When there are multiple upload requests at the same time, the memory overhead will not be too large.
6. What did you see instead?
Read the file data and write the data to the disk at the same time, instead of reading all the data and then writing it to the disk.

@wlynxg Hi, thanks for notice. Yes, there is a risk as you described. The risk lays in the function parseBody of Request. There should be some improvement for parameters parsing fro request body. For example, checking the request content type or the posted form type, it can ignore the body parsing if the content type containing multipart/ or form.


Not a issue but.. Looking for documentation and camaleon website is down

Hi, I was looking for documentation to work on my project but it looks like camaleon site is down after the last commit about 2 hours ago.

Fixed!
Problem reloading server, thank you!


Fix issue with text import yielding internal server error

Fix for
Internal Server Error: /v1/projects/2/docs/upload
Traceback (most recent call last):
  File "/doccano/app/server/utils.py", line 347, in parse
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/doccano/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/doccano/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/doccano/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/doccano/venv/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/doccano/venv/lib/python3.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/doccano/venv/lib/python3.7/site-packages/rest_framework/views.py", line 483, in dispatch
    response = self.handle_exception(exc)
  File "/doccano/venv/lib/python3.7/site-packages/rest_framework/views.py", line 443, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/doccano/venv/lib/python3.7/site-packages/rest_framework/views.py", line 480, in dispatch
    response = handler(request, *args, **kwargs)
  File "/doccano/app/server/api.py", line 179, in post
    storage.save(self.request.user)
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/doccano/app/server/utils.py", line 118, in save
    for data in self.data:
RuntimeError: generator raised StopIteration

when importing text data

It seems this is a Python 3.7 problem.

@BrambleXu that's true, but then if not for this fix, need to update README.md's Python 3.6+ requirement

Thanks!
We need to consider to test codes by various versions.


Setup env/configuration to allow project to run testnet and mainnet

Currently the wallet only runs mainnet. We need the project to able to switch between testnet and mainnet.
dotenv is recommended. Heads up there are some gotchas using dotenv with electron.

This issue is not in scope anymore. We will allow users to select the network they want to connect to in the app itself.

This issue is not in scope anymore. We will allow users to select the network they want to connect to in the app itself.


twister: coverage: Using --coverage flag for on-target test make tests last until time limit

Describe the bug
Calling twister with coverage flag and device testing with:
./scripts/twister --coverage --device-testing --device-serial /dev/ttyACM0 -T tests/kernel/ -p nrf52840dk_nrf52840 -v -v
makes all tests lasting ~60s instead ~5s. On the console one can see that even though DEVICE: PROJECT EXECUTION SUCCESSFUL is printed way earlier, the test is only ended after ~65s which is suspiciously close to the timeout limit. Nevertheless, tests are marked as passed. I assume there is some logic error with the workflow for --coverage but I haven't looked in the code yet.
To Reproduce
Steps to reproduce the behavior:

have e.g. nrf52840dk connected
run ./scripts/twister --coverage --device-testing --device-serial /dev/ttyACM0 -T tests/kernel/ -p nrf52840dk_nrf52840 -v -v
observe very long execution times and twister waiting even though a test printed its end.

Expected behavior
The execution time is not as log.
Impact
Annoyence. Can be a show stoper for larger tests suites
Logs and console output
e.g.
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
INFO    -  1/96 nrf52840dk_nrf52840       tests/kernel/mp/kernel.multiprocessing             SKIPPED (filter)
INFO    -  2/96 nrf52840dk_nrf52840       tests/kernel/fifo/fifo_usage/kernel.fifo.usage     PASSED (device 65.413s)
INFO    -  3/96 nrf52840dk_nrf52840       tests/kernel/context/kernel.common                 PASSED (device 64.545s)
INFO    -  4/96 nrf52840dk_nrf52840       tests/kernel/fifo/fifo_api/kernel.fifo             PASSED (device 64.575s)

All lasted ~65s
Environment (please complete the following information):

OS: Linux 18.04
Toolchain Ubuntu 18.04
Commit SHA or Version used: 67a265b0df

@PerMac - would it alleviate the problem if there were a --timeout flag for twister that overrides YAML / the default?

@cfriedt The tests pass, it is not an issue with a too short timeout. The issue is that all of them take suspiciously long (equal to timeout value) to finish. I think there is some simple logic issue in the code (missing exit condition?), and twister doesn't end the test on time but waits for the maximal allowed time (timeout). But I haven't got time to check the code ye.

The issue here is that we are waiting for coverage data that is not coming, because the platform does not support coverage, ie.. it does not enable HAS_COVERAGE_SUPPORT.

Do we need an extra filtration then when --coverage is used?

Do we need an extra filtration then when --coverage is used, or a warning?

Hmm if you know of any easy way to do that, please go ahead. I do not see this as a bug  however.


Update/drop support for python 2

Just dropping Python 2 support for this and adding 3.10 support before refactoring the repo to follow our cookie-cutter pattern. Setting up Nox and integrating things is going to be a lot easier once I've made this update!
Tox report for this PR is passing:

I think you might need to give me write access to the repo for this approval to mean anything
I've invited you as an admin - it says it's waiting for you to accept 😆


balena-yocto-scripts: Update to v1.14.9

Update balena-yocto-scripts from 1.14.8 to 1.14.9
Changelog-entry: Update balena-yocto-scripts from v1.14.8 to v1.14.9
Signed-off-by: Alex Gonzalez<EMAIL_ADDRESS>

@balena-ci I self-certify!


all switch items show up as lamps?

all switch items show up as lamps in homekit. is there any way to tell homekit bridge what type of device an item is?

not yet. please see this issue and comment: https://github.com/htreu/OpenHAB-HomeKit-Bridge/issues/21#issuecomment-149919940
this will be one of the next features.

ok. thanks

There's no clear way (that I know) to determine from openHAB whether a switch is a light switch or another kind of switch.
With other devices, the openHAB element type alone may be enough to determine the appropriate HomeKit accessory, and if there's still ambiguity, the underlying item can usually give us enough information. Rollershutters (which are normally exposed as openHAB Switch elements) can be determined using the item type, but for lights and outlet switches, there's often no real distinction in openHAB.
One option would be to look at the sitemap element's "icon" attribute. Luckily, the REST API exposes the icon with each sitemap element, whether it's actually defined at the item level or the sitemap level.
Unfortunately, I believe the icons are UI-specific (and can be custom), so I don't think there's any "standard" set or anything. That being said, if the bridge is functionally similar to a UI (even if just for the sake of bridging two different systems), it might make sense to pick a sensible mapping of "icons" to accessory types for switches.
The classic openHAB UI's default "switch" icon (which becomes "switch-on.png" or "switch-off.png" because it looks for <icon>-<state>.png before <icon>.png) is styled as a lightbulb, so perhaps OpenHAB-HomeKit-Bridge could use the Lightbulb HomeKit accessory in that case, and a generic Switch accessory for any other icon. I suppose other icons could take on special meaning as more accessories are implemented.
Anyway, that's just one possibility, and it's obviously not the most elegant solution in the world. As htreu mentioned, some kind of special naming convention could work as well.
I'm afraid it may have to be a little bit kludgy either way.


Design v6 data schema

Design and implement a new v6 data schema that aligns with the Seed specification. This data schema will be used to represent input and output to jobs and recipes.

This has been replaced by issue #1164


fixed imports, minor tidy-ups in recent code

used isort to sort, order and clean up imports
cleaned up whitespace, unnecessary bits in recent code.

oops, code base in a weird spot. I'll close and re look later.


Huge literal in SurfaceArea.net40.fs causes mono to crash

Mono gets a stack overflow when trying to run FSharp.Compiler.Service with that enormous file (https://github.com/Microsoft/visualfsharp/blob/44c7e10ca432d8f245a6d8f8e0ec19ca8c72edaf/tests/FSharp.Core.UnitTests/SurfaceArea.net40.fs).  Can I throw that literal in a text file and change the test to read it into memory instead?
Because of this issue I can't open FSharp.sln with Rider (I have other issues getting the solution to work with Rider also, but this is the big showstopper right now).
Repro steps
I initially reported it here: https://github.com/JetBrains/fsharp-support/issues/23
@auduchinok did more investigation here: https://github.com/mono/mono/issues/11933
Expected behavior
Shouldn't crash.
Actual behavior
Crashes.
Known workarounds
Splitting the file into two literals allows Rider to open the solution, or reading it into memory from a text file.

I personally wouldn't mind it but we do have a precedent of just having string literals in code for tests; this would also imply an update to the test guide so people know to update the file

Cool.
Why is an extra note required to the test guide?  I don't see anything specific about updating the string literals.  Won't the test just fail if it's not updated, same as if the literal was not updated?

In this case it's a little more difficult to deal with an additional file.

But it's a bit concerning that mono can't handle a string literal like this, is the bug filed on them yet?

Yeah. The part that's especially concerning here is that I see similar behavior on netcore FSAC for largish (~3k lines) files: https://github.com/mono/mono/issues/11933#issuecomment-474984594

It does feel like tailcalls aren't being taken where we expect them to be, ugh.
The relevant file is https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/lex.fsl.
The difference in IDE tooling is that skip is false, meaning whitespace and end-of-line are reported, including line by line in very long strings, and a continuation is used to restart it.
One way to fix this specific issue by using less stack is to skip over the string in larger chunks, e.g. replace all of https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/lex.fsl#L835-L864 by
 | eof
    { let (_buf,_fin,m,args) = sargs
      EOF (LexCont.VerbatimString(!args.ifdefStack,m)) }
 | surrogateChar surrogateChar // surrogate code points always come in pairs
 | (('\Lu' | '\Ll' | '\Lt' | '\Lm' | '\Lo' | '\Nl' | '\Nd' | anywhite) | _) +
    { let (buf,_fin,m,args) = sargs
      addUnicodeString buf (lexeme lexbuf)
      if not skip then (STRING_TEXT (LexCont.VerbatimString(!args.ifdefStack,m))) else verbatimString sargs skip lexbuf }

The crucial line is this:
 | (('\Lu' | '\Ll' | '\Lt' | '\Lm' | '\Lo' | '\Nl' | '\Nd' | anywhite) | _) +

which I believe says "consume all letters, digits or whitespace as a single chunk". If tailcalls aren't being taken the above will still grow the stack one frame per line in a verbatim string (it is currently growing one frame per identifier or line).  That should scale much better
But the fundamental problem of  some tailcalls not being taken - and also x64 using more stack - is concerning.

I've looked at this again.   The problem isn't quite what I thought it was.
First, clearly direct mutually recursive tailcalls are not being taken in some situations by .NET Core and Mono.  This is a concern and I'm surprised we haven't hit this problem before.
However, we shouldn't be exposed to this problem here.  The generated lexer has this kind of code:
       let rec ident arg lexbuf = _fslex_ident arg 10 lexbuf

       and verbatimString arg lexbuf = _fslex_verbatimString arg 15 lexbuf

       and _fslex_ident arg state lexbuf =
           match ... state .. with...
               ... recursive calls to ident ....

       and _fslex_verbatimString arg state lexbuf =
           match ... state .. with...
               ... recursive calls to verbatimString ....

The problem here is that the recursive calls aren't direct tailcalls and thus we expose ourselves to problems with the .NET CLR tailcall implementation more than I thought when lexing. Fortunately we can easily change the generated code to eliminate the _fslex_... funtions which are only there to record the initial state at each entry point, e.g.
       let rec ident arg lexbuf =  ... recursive calls to ident ....
           match ... 10 .. with...
               ... recursive calls to ident ....

       and verbatimString arg lexbuf =
           match ... 15 .. with...
               ... recursive calls to verbatimString ....

This code is actually clearer and cleaner and faster. I'm fixing this in https://github.com/fsprojects/FsLexYacc/pull/89  We now have to update this repo to use the updated FsLexYacc.

@dsyme for reference how did you inspect the generated lexer? Looking at build output to see where the outputs of the fslex generation was?

@dsyme for reference how did you inspect the generated lexer? Looking at build output to see where the outputs of the fslex generation was?

Yes, just looked at fslexlex.fs

Addressed by #6355


Python wrapper: Segmentation Fault when collecting slack variable and transition variable

I would like to collect the slack variable value and the transition variable values for a CVRPTW model.
However,  accessing the value of these variables results in a segmentation fault. Here is some code to reproduce the problem, please note that the function that causes a problem is collect_cumulative_dimension_at_node
#!/usr/bin/python
# -*- coding: utf-8 -*-

import random
import math
from collections import namedtuple
from ortools.constraint_solver import pywrapcp

AVERAGE_SPEED=10
CUSTOMER_COUNT = 10
VEHICLE_COUNT = 2
VEHICLE_CAPACITY = 20
MAX_TIME=24*3600
MAX_X = 100
MAX_Y = 100

customers = []

#Customer helper class, every customer will have a 2hr window for delivery
Customer = namedtuple("Customer", ['index', 'demand', 'x', 'y', 'time_start', 'time_stop'])

def length(customer1, customer2):
    return round(math.sqrt((customers[customer1][2] - customers[customer2][2])**2 + (customers[customer1][3]- customers[customer2][3])**2))

def time_plus_service_time(customer1,customer2):
    return round( length(customer1,customer2) / AVERAGE_SPEED) + 10

#THIS IS THE FUNCTION THAT CAUSES PROBLEMS
def collect_cumulative_dimension_at_node(routing_model, assignment_solution, routes, dimension="Time"):

    result = list()
    for index,route in enumerate(routes):
        row = list()
        for index,el in enumerate(route[1:-1]):

            #when only the transition times all seems ok
            cum_time=assignment_solution.Value( routing_model.CumulVar(el,dimension))

            transit_time=0
            idle_time=0

            #Comment out next two lines and this works
            #BOOM !!!  Collecting idle times will cause segmentation fault
            idle_time = assignment_solution.Value(routing_model.SlackVar(el,dimension))
            row.append((el,cum_time,transit_time,idle_time))
        result.append(row)

    return result

def solve_it():

    print "customer_count", CUSTOMER_COUNT
    print "vehicle_count", VEHICLE_COUNT
    print "vehicle_capacity", VEHICLE_CAPACITY

    random.seed(42)

    #Generate randomly distributed customers
    for i in range(1, CUSTOMER_COUNT+1):
        ts = int((MAX_TIME - 3600*2) *random.random())
        customer = Customer(i-1, 1, int(MAX_X*random.random()),
                                    int(MAX_Y*random.random()),ts,ts+2*3600)
        print "customer={}, time_start={}, time_stop={}".format(i ,customer.time_start, customer.time_stop)

        customers.append(customer)

    print ' ----------------------------------------------- Parameters ------------------------------------------------'
    routing = pywrapcp.RoutingModel(CUSTOMER_COUNT, VEHICLE_COUNT)

    parameters = pywrapcp.RoutingSearchParameters()
    parameters.first_solution = 'PathCheapestArc'
    parameters.guided_local_search=True

    print ' ----------------------------------------------- Transport Cost ------------------------------------------------'
    routing.SetCost(length)
    routing.SetDepot(0)

    print ' ----------------------------------------------- ServiceTimes -------------------------------------'
    routing.AddDimension(time_plus_service_time,MAX_TIME,MAX_TIME,True,"Time")
    time_dimension  = routing.GetDimensionOrDie("Time")

    for i in range(1, routing.nodes()):
        customer = customers[i]
        time_dimension.CumulVar(i).SetRange(customer.time_start,customer.time_stop)

    print ' ----------------------------------------------- Solve ------------------------------------------------'
    assignment = routing.Solve()

    # Inspect solution.
    print "routing.vehicles:",routing.vehicles()
    routes=[]
    for i in range(0,routing.vehicles()):
        route_number = i
        routes.append([])
        node = routing.Start(route_number)
        route=[]
        route.append(0)
        if routing.IsVehicleUsed(assignment,i):
            while True:
                node = assignment.Value(routing.NextVar(node))
                if not routing.IsEnd(node):
                    route.append(int(node))
                else :
                    break
        route.append(0)
        routes[route_number].append(route)
    routes=routes[0]

    print collect_cumulative_dimension_at_node(routing, assignment, routes, dimension="Time")

if __name__ == '__main__':
    solve_it()

Hello @lfiaschi ,
I came across the same problem, and solved it so this is just an absence of any documentation issue I believe.  I found the answer in this thread.   The slack variables are not recorded with the solution by default. If you want to see their contents, you'll have to tell the routing model you want to record them, by calling routing.addToAssignment(slackVar) for all slack variables you want to have in the solution. Also, note that you have to do this before solving the model.
If you modify your code as below, your example works.
    print(' ----------------------------------------------- ServiceTimes -------------------------------------')
    routing.AddDimension(time_plus_service_time,MAX_TIME,MAX_TIME,True,"Time")
    time_dimension  = routing.GetDimensionOrDie("Time")

    for i in range(1, routing.nodes()):
        customer = customers[i]
        time_dimension.CumulVar(i).SetRange(customer.time_start,customer.time_stop)
        routing.AddToAssignment(time_dimension.TransitVar(i))
        routing.AddToAssignment(time_dimension.SlackVar(i))
    print(' ----------------------------------------------- Solve ------------------------------------------------')
    assignment = routing.Solve()

I guess I can close the issue now.

It certainly works for me.

Hello @lfiaschi ,
I came across the same problem, and I think; solved it. So this is just an 'absence of any documentation' issue. I found the answer in this thread. The slack variables are not recorded with the solution by default. If you want to see their contents, you'll have to tell the routing model you want to record them, by calling routing.addToAssignment(slackVar) for all slack variables you want to have in the solution. Also, note that you have to do this before solving the model.
If you modify your code as below, your example works.
    print(' ----------------------------------------------- ServiceTimes -------------------------------------')
    routing.AddDimension(time_plus_service_time,MAX_TIME,MAX_TIME,True,"Time")
    time_dimension  = routing.GetDimensionOrDie("Time")

    for i in range(1, routing.nodes()):
        customer = customers[i]
        time_dimension.CumulVar(i).SetRange(customer.time_start,customer.time_stop)
        routing.AddToAssignment(time_dimension.TransitVar(i))
        routing.AddToAssignment(time_dimension.SlackVar(i))
    print(' ----------------------------------------------- Solve ------------------------------------------------')
    assignment = routing.Solve()

Can someone elaborate on why this works?
It uses external node-indexes instead of internal ones.


Update to<EMAIL_ADDRESS>to fix ReDoS vulnerability

Update to<EMAIL_ADDRESS>to address this issue: https://github.com/tuchk4/storybook-readme/issues/204
This fixes the Regular Expression Denial of Service vulnerability that was in the existing marked version.

@tuchk4 Thank you for the very quick merge! 😄


Moder register not being reset after with-input method called

When using the with-input method on an output pin, the next outputs will be "eaten" and no longer physically happen. I tested with the stm32h723zg nucleo board.  It happened for every pin I tried as well.
I created a minimal-ish test case for it here for anyone that wants to test it out.

I investigated some more and found that the MODER register is being left in the input state rather than switching back to the output state. What I used to investigate the issue is on the branch debug of the earlier posted repo.
I'm not sure exactly how the registers are being set with the with_<mode> methods, so I do not yet have an idea for a PR. If anyone has any ideas it would be greatly appreciated!


Integrate previous edit functionality

A while ago, @elsassph mentioned desire to integrate the PreviousEdit's functionality?
http://flashdevelop.org/community/viewtopic.php?f=4&t=9892
How about? I think there should jump to previous/next edit customizable keyboard shortcuts.

This would still be nice to have built-in


upgrade to librdkafka 0.8.6

R. Tyler's patches are included in librdkafka 0.8.6, so no longer needed in Hermann.

HOORAY


Sight Limit only appearing in Scene and Token Configurations and Toggle Delimiters not appearing

Only active modules are Perfect Vision and its dependencies and Tidy UI. Foundry version 0.89, system: DnD5e 1.5.6

PV 3 is v9 only. You need to update v9 to get the new features.


Update to 1.20 (alternative option)

This PR makes minimal changes in order to be as easy as possible to merge.  However, the main reason I've created this PR is PR #26 will only work with vanilla logs.  In that sense, this is a more correct implementation (as much as is possible since Material was removed).  Instead of hard-coding some vanilla log types, this PR uses the minecraft:logs block tag, which must work for any mod using vanilla's LeavesBlock without significant modification, because that is the tag used in vanilla decay.
It is possible some mods with a custom leaves implementation may not work (may not add their logs to minecraft:logs), but I did not find any such mods in a brief survey of major Fabric biome mods.  I don't think we need to worry about this, but if you want an implementation that should work in roughly any case the Material-based implementation did, the following is fairly equivalent.  (I've noticed some mods seem to take a lot of liberties in their mapping of block sound group to wood type, so this doesn't assume bamboo isn't used for real logs or nether can't be a tree with leaves.)
    private void afterBreak(World world, BlockPos pos, BlockState state, PlayerEntity player, CallbackInfo info) {
        if (!world.isClient && (state.getBlock() instanceof PillarBlock)) {
            BlockSoundGroup soundGroup = state.getSoundGroup();
            if (state.isIn(BlockTags.LOGS) ||
                    BlockSoundGroup.WOOD.equals(soundGroup) ||
                    BlockSoundGroup.NETHER_WOOD.equals(soundGroup) ||
                    BlockSoundGroup.CHERRY_WOOD.equals(soundGroup) ||
                    BlockSoundGroup.BAMBOO_WOOD.equals(soundGroup)) {
// ...

The second set of changes is a little more intrusive, but necessary for Terraform API leaves blocks to work.  It also makes breaking waterlogged leaves work properly.


Can I specify a vim instance name where file would be opened?

Hi
Is it possible to update the script to take the vim instance name as an argument where the file would be opened.
If that can be supported that would be super awesome.
Thanks in advance

Thanks for opening this issue and describing the feature you wanted.
This has been resolved now in commit 486e2b71910c137f24abda027e8c63d6ad784a9b and available in version 0.2.0.
A new option, -s or --server, has been added to open a new GVim or MacVim instance with a specified server name or open files in an existing instance with a specified server name.

thanks a lot


Bug: View filter not processed by metamodel builder

🐛 Bug Report
In a database definition, if you define a view, its filter is not  processed.
Step to Reproduce

Paste in below grammar
The filter in the view will not be processed and disappear

###Relational
Database meta::relational::tests::dbIncWithStoreFilter
(
   Table personTable (ID INT PRIMARY KEY, FIRSTNAME VARCHAR(200), LASTNAME VARCHAR(200), AGE INT, ADDRESSID INT, FIRMID INT, MANAGERID INT)

   View PersonView
   (
      ~filter PersonFilter
      ID: personTable.ID PRIMARY KEY,
      FIRSTNAME: personTable.FIRSTNAME,
      LASTNAME: personTable.LASTNAME,
      AGE: personTable.AGE
   )
   Filter PersonFilter(personTable.AGE > 110)
   Filter personMappingFilter(PersonView.AGE<200)
)

closed by https://github.com/finos/legend-studio/pull/383


Upstream patches

Get all the relevant fixes for cherami-server and push it upstream.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 5 committers have signed the CLA.:white_check_mark: aravindvs:white_check_mark: thuningxu:x: GuillaumeBailey:x: KiranRG:x: datoug

Coverage increased (+0.5%) to 54.468% when pulling eba5c0dd992333f5d4ede989f33e7dc62cbc89e7 on upstream_patches into e60e28d562377f6ef8fd0042b0718878c42ac8af on master.


Cherry pick the text themes

Use case
When we run a web build, we can notice a 17 blocks of this type :
B.GG=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView displayLarge",null,null,null,null)
B.HY=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView displayMedium",null,null,null,null)
B.HD=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView displaySmall",null,null,null,null)
B.Fb=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView headlineLarge",null,null,null,null)
B.Hw=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView headlineMedium",null,null,null,null)
B.GA=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView headlineSmall",null,null,null,null)
B.I2=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView titleLarge",null,null,null,null)
B.FL=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView titleMedium",null,null,null,null)
B.Gf=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView titleSmall",null,null,null,null)
B.Hp=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView bodyLarge",null,null,null,null)
B.F2=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView bodyMedium",null,null,null,null)
B.HF=new A.i(!0,B.v,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView bodySmall",null,null,null,null)
B.Ht=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView labelLarge",null,null,null,null)
B.Hl=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView labelMedium",null,null,null,null)
B.GX=new A.i(!0,B.i,null,"Roboto",null,null,null,null,null,null,null,null,null,null,null,null,null,B.e,null,null,null,"whiteMountainView labelSmall",null,null,null,null)

Each of these blocks is about 2.5kB. They are defined here : https://github.com/flutter/flutter/blob/859eb2eda9818e408df046f5ff790cc9d5c28754/packages/flutter/lib/src/material/typography.dart#L375
Their goals is to define text themes for different languages in 3 categories : english like ; dense (chinese, japanese...) ; tall (arabic, hindi...)
There are 12 themes for english like,  2 for dense and 2 for tall.
If we decompose the english like themes, there are 2 for each platform target : Android, iOS, Linux, Windows, MacOs + (2 english likes I haven't figured out yet)
Proposal
It would be great if we could select the text themes we need. I only build apps that target people speaking french or english. I don't need to provide them support for languages they do not know. If I can remove the dense and tall text themes, the final main.dart.js would be 10kB smaller. I believe it might reduce a little bit the final size of a mobile app too,
As well, an app targeting Hindi speakers may not need a text theme with Roboto.
In the case of a web build, I think we could reduce the size of the previous block with this kind of code :
  TextStyle generateTextStyleHelsinky(Sting label, Colors color) {
    return TextStyle(debugLabel: 'blackHelsinki $label', fontFamily: 'Roboto', fontFamilyFallback: _helsinkiFontFallbacks, color: color, decoration: TextDecoration.none)
  }

  static const TextTheme blackHelsinki = TextTheme(
    displayLarge: generateTextStyleHelsinky(label: 'displayLarge', color: Colors.black54,),
    displayMedium: generateTextStyleHelsinky(label: 'displayMedium', color: Colors.black54,),
    displaySmall: generateTextStyleHelsinky(label: 'displaySmall', color: Colors.black54,),
    headlineLarge: generateTextStyleHelsinky(label: 'headlineLarge', color: Colors.black54,),
    headlineMedium: generateTextStyleHelsinky(label: 'headlineMedium', color: Colors.black54,),
    headlineSmall: generateTextStyleHelsinky(label: 'headlineSmall', color: Colors.black87,),
    titleLarge: generateTextStyleHelsinky(label: 'titleLarge', color: Colors.black87,),
    titleMedium: generateTextStyleHelsinky(label: 'titleMedium', color: Colors.black87,),
    titleSmall: generateTextStyleHelsinky(label: 'titleSmall', color: Colors.black,),
    bodyLarge: generateTextStyleHelsinky(label: 'bodyLarge', color: Colors.black87,),
    bodyMedium: generateTextStyleHelsinky(label: 'bodyMedium', color: Colors.black87,),
    bodySmall: generateTextStyleHelsinky(label: 'bodySmall', color: Colors.black54,),
    labelLarge: generateTextStyleHelsinky(label: 'labelLarge', color: Colors.black87,),
    labelMedium: generateTextStyleHelsinky(label: 'labelMedium', color: Colors.black,),
    labelSmall: generateTextStyleHelsinky(label: 'labelSmall', color: Colors.black,),
  );

Hi @ClementBeal
Just to make this more clear, do you mean the built web still packs all TextTheme(s) declared in typography.dart, even though you have already specified your preferred textTheme in ThemeData like this?
MaterialApp(
  theme: ThemeData(
    textTheme: Typography.blackHelsinki,
  ),
)

Yes, the web build still packs all the TextThemes even if you speficy a textTheme.
If you build the push the button template with the Typography.blackHelsinki, your final main.dart.js still contains all the TextThemes

The lookup performed by Theme.of might create a ThemeData.fallback() (here).
This means that the fallback theme (which is really a family of themes parameterized by the platform) is always a part of every program.
I don't think it is possible to automatically remove the fallback theme.
The widget tree structure is too opaque for a compiler to figure out if there is always a ThemeData when a theme: is provided to the MaterialApp constructor.
Given that the structure of the Flutter framework makes the blocks of data unavoidable, we should see if dart2js can make them smaller. The closest existing dart2js issue is https://github.com/dart-lang/sdk/issues/25230.

CC @Renzo-Olivares

A.A("Noto Sans Adlam","notosansadlam/v22/neIczCCpqp0s5pPusPamd81eMfjPonvqdbYxxpgufnv0TGnBZLwhuvk.ttf",!0),
A.A("Noto Sans Anatolian Hieroglyphs","notosansanatolianhieroglyphs/v16/ijw9s4roRME5LLRxjsRb8A0gKPSWq4BbDmHHu6j2pEtUJzZWXybIymc5QYo.ttf",!0)

We also have these fallback fonts that are present in the final main.dart.js. The line containing all the fallback fonts is about 15kB.

@ClementBeal the fallback fonts used to be much larger, see https://github.com/flutter/engine/pull/44526
It is an interesting question whether there should be some kind of build option to exclude the fallback fonts. If you are absolutely sure that your app does not need to, say, display the name of a user called "𒑥😂𒁚", then you could use that option. The problem is that you might only find out about the problem by testing on the web. The data to dynamically load fallback fonts are much smaller than adding fonts to the app "to be safe".
In the browser it is not possible to query the operating system to see if there is an installed font that covers the code points. On native it is possible to find a fallback font from the OS, so native Flutter does not need to include data like this in every app.


Add support for JWT-formatted tokens

See issue #10 for details.

Note this should not be merged into master before #12 is done.

Can be merged now.


Reduce thickness of progress ring on Android

How we can reduce the thickness of progress ring on Android

Hi @himanshudwd765 !
You can reduce the thickness changing it in the drawables XMLs used to draw the circle, with the thicknessratio property


Add analytics tracking to the app

Add basic analytics so we know how many users are using the app and how often

Is it can be done with Sentry #147?

Also, we need to add analytics to landing page #146, to know the relation between users exposed to our app and users that chose to download it.


Client grpc calls that can fail should have separate success and error responses

customer: @paulcadman
performer:
deadline:
estimated:
started:
actual:
completed:
confirmed:
dependencies:

[ ]
supersedes:

Client calls that can fail should have separate success and error responses so that users can distinguish between success and errors.
Example with separate success / error response:
NockService.Prove:
https://github.com/anoma/anoma/blob/6b1e3cae5db718abe0eddc03c0a934b1b29346ba/apps/anoma_protobuf/priv/protobuf/nock/prove.proto#L21-L26
Example with the same response for error / success:
IntentsService.Add:
https://github.com/anoma/anoma/blob/6b1e3cae5db718abe0eddc03c0a934b1b29346ba/apps/anoma_protobuf/priv/protobuf/intents/add_intent.proto#L13

This has been a miscommunication by my side, I am sorry.
add_intent is a cast, which means that it never returns anything, even if there are appropriate errors that can be raised.
so instead the issue here is that the call to add intents should return nothing
this will be improved in devnet 0.2 where we'll have topics which will make it possible to the client to subscribe to the intent pool and specifically for messages regarding their intentpool, specifying whether the intent has or has not passed initial verification

Currently you can also turn on loging to see if the intent you submitted failed


Clean up hacky routes

Context

Provider code as URL

Changes proposed in this pull request

Add friendly_id to use the provider_code as the slug inside of the id

@timabell I dont know where those commits came from but ive cleaned it up

@dankmitchell long live pr?

Closing as I know @misaka isn’t keen


discord-ptb: Update to version 1.0.1015-19, Fix autoupdate

related: #598

Using PortApps as file source (same as extras/discord) because the files extracted from official installer (https://dl-ptb.discordapp.net/distro/app/ptb/win/x86/1.0.1017/DiscordPTBSetup.exe) does not work without setting up the service.

/verify

/verify


feature/time_interval

Description
The purpose of this PR is to resolve https://github.com/bioio-devs/bioio/issues/35 and add a way to access time interval. The methodology I took was creating a new type TimeInterval and accessing similarly to PhysicalPixelSize. There is some consideration to add TimeInterval into the PhysicalPixelSize type.

I would argue that we should expand the physical pixel sizes object as such:
class PhysicalPixelSizes:
   # same as before

class DimensionSizes:
    t: float
    physical_pixel_sizes: PhysicalPixelSizes

that we don't break the existing API but we keep everything together in a single object.
I also am curious: are we sure that time intervals are constant? Can there not be time intervals that are say exponential? [t=0, t=1, t=2, t=4, t=8] etc.?

I would argue that we should expand the physical pixel sizes object as such:
class PhysicalPixelSizes:
   # same as before

class DimensionSizes:
    t: float
    physical_pixel_sizes: PhysicalPixelSizes

that we don't break the existing API but we keep everything together in a single object.
I also am curious: are we sure that time intervals are constant? Can there not be time intervals that are say exponential? [t=0, t=1, t=2, t=4, t=8] etc.?

I can confirm that time intervals will not always be constant as I have stitched together images with different time intervals. I think in general though to have intervals like this you would need a unit and right now these are just ambiguous "time units" which are not necessarily the same length of time.


On Login Screen Refresh

When you hit refresh on the login screen, it shows the menu bar, need to figure out a way to stop that!

Fixed by moving the login page to its on "App", it go to /login rather than #/login.. not using the state or router.


Godot 4 VR editor (EARLY WIP)

Godot VR Editor
note This is still very early days and we're still weeks away from a minimally functional implementation but the basics are starting to work.
This PR introduces the VR editor capability for Godot. This functionality is implemented as a module that is only compiled into the editor build of Godot and can be excluded. This PR focusses on introducing the minimally functional implementation to run the VR editor on desktop. Below I've tried to provide a list of features in various catagories we're planning to implement in this PR including marking those currently done.
Future PRs will extent this capability.
While we're introducing editor settings to enable the VR functionality automatically, right now the VR editor is enabled through a command line switch.
Simply run godot as follows:
godot -e --xr-mode on

For the first version of the editor, and the scope of this PR, the non-3D part of the editor will run in a virtual window the user can interact with. The 3D part of the editor will change into the player being present within the scene currently being edited and being able to perform the actions normally done in the 3D pane of the editor, within VR (i.e. actions such as selecting objects, moving them, rotating them, etc).
After this base is build we'll start a journey on adding pure VR alternatives to some of the editor features currently constraint within the 2D UI.
General setup
Most of the general setup to start Godot in VR mode is done.

[x] Enable XR mode on startup of the editor and project manager
[x] Initialise a VR version of the editor or project manager
[ ] Enabled XR mode through project settings.

VR Avatar
The VR Avatar class handles the user presence within the 3D scene.
It features a hud function that allows us to anchor UI elements in place. To combat motion sickness this UI follows the player around instead of being snapped in place. Rotation of these UI elements around the user will be controllable by the user themselves.
The users hands are currently tracked as well with both a "poke" feature (touching UI elements with ones index finger) and raycast interaction, both mimicking mouse functionality on "VR Windows" they interact with.
Only left or right hand raycast is active at a given time, this is switched automatically when the user pulls the trigger on the desired hand.
"Grab" logic will also be added that allows the user to grab certain elements, this will be one of the options the user will  have to re-arrange objects within the scene being edited.
A virtual keyboard is also embedded for the avatar (see VR keyboard)

[x] Setup basic avatar with hands
[x] Implement a hud system to anchor 2D UI elements to
[ ] Implement system to reposition hud system (as an alternative to auto rotation which didn't work nice, auto positioning will be kept)
[x] Implement poke logic so player can interact with UIs by touch
[x] Implement raycast logic so player can interact with distant elements
[ ] Implement grab functionality
[ ] Implement something nicer to visualise hands
[ ] Implement method for moving around
[ ] Implement scene interaction logic

VR Window
The VR window class allows us to show 2D UIs as virtual windows in our headset. At some point we need to look into integrating this with the normal Window class in Godot so we can open up popups properly.
By default our interaction with raycast is setup as:

Trigger acts as the left mouse button
A button acts as right mouse button

Touch only triggers left mouse button.

[x] Implement basic window support in VR
[x] Implement mouse emulation based on poke/raycast from avatar
[x] Add alternative select functionality (right click through A button)
[ ] Add logic to allow throttling of the 2D interface to limit overhead of rendering it.
[ ] Add movable/resizable borders

VR Keyboard
As in VR the user is likely standing or even when seated unlikely has visibility of their keyboard, being able to enter text requires a virtual keyboard.
The current implementation is a rudimentary keyboard implementation that emits Godot key events like a physical keyboard. I may redo the keyboard to a UI that is more suited to a VR environment but for now it suffices

[x] Implement basic keyboard
[ ] Allow modifiers of keyboard (ALT/CTRL)
[ ] Fix bug that key events aren't working properly
[ ] Internationalize keyboard

VR Project manager
The project manager has been exposed in its entirety through a single VRWindow. It is a bit of a gimmick on desktop to have this in VR but for the stand alone version this will be important to have working. It is also an easy test bed for a lot of the functionality we are building.

The screenshot does not do it justice, it's much sharper inside of the headset.
For now the environment is just a square for the floor, this is better then having the user float in space.

[x] Implement a VR version of the project manager
[ ] Make project manager work now that it defaults to OpenGL3, either by not doing so if VR is enabled or by giving @dsnopek a hand to get VR support on OpenGL3 over the line :)
[ ] Make the UI work with the keyboard
[ ] Create a nicer environment to keep the user grounded
[ ] Alternatively, turn on pass through mode if supported and disable environment.

VR Editor
This is where the fun starts, it's still early days at the moment. The design of the VR editor is relatively straight forward. The user is embedded within the current scene we're editing, parts of the desktop UI are reused in floating windows to give access to scene data and commonly needed actions such as navigating the scene tree, adding nodes, etc.. A version of the gizmo system will be implemented for VR that allows the user to manipulate objects in the scene.

[x] Implement basic setup for the VR editor
[ ] Add the 2D editor UI as a window (WIP)
[ ] Implement using raycast on controllers to select elements in the scene
[ ] Implement gizmo system to interact with selected object
[ ] To Be Determined.

Known issues:

Currently keyboard is not functional, it emits key events but they are not being received by the field with focus
If a VR game is being edited, the XRCamera3D node of the game is being updated with tracking data.
The VR Avatar setup is currently rendering in the desktop 3D viewer, fun to watch but not good.
Exiting out of Godot doesn't properly cleanup and can crash.

Ok, capturing this in a comment as well as the OP description will change in time to reflect just the end result.
Starting to get the basics of the UI up and running in VR we found out pretty quickly that re-using GUI components of the editor UI was a no-go. A lot of parts of the editor were designed under the assumption there would only be one copy. Things like the scene dock (showing our scene tree), property inspector (showing the properties of the selected node), etc. are all singletons to make it easy to react to the users actions.
Reproducing the same UIs in the VR editor while it runs side by side with the desktop editor means we need two instances of these UI elements which breaks the singleton model. This means we either:

need to do extensive rework on the existing editor to make multiple instances of these elements work
need to build copies of these components from scratch introducing an immense amount of work and increase the workload of maintaining multiple copies of the same logic.

After discussing with @m4gr3d on the XR chat we came to the conclusion this was a foolish direction to take, especially seeing we already want to run the VR editor stand alone on mobile hardware like the Quest.
Building the VR editor purely as a stand alone feature, even on desktop, greatly simplifies the task at hand and will allow us to reuse many components of the VR editor.
There are a few challenges as we'll need to have our current editor and the VR editor share a common base class that virtualises the editor and then change a number of places that access the editors singleton, to go through the virtual base class, but that can be overcome.
CC: @reduz @akien-mga

A note on this branch currently being based on an earlier commit of master, a recent change has made the project manager default to OpenGL3, currently we don't support VR in OpenGL3 yet, this is coming shortly. We will either for the time being force Vulkan for the VR project manager or I won't rebase this until VR support is ready.
CC: @dsnopek @clayjohn

Hey - got a few questions about the Standalone VR Editor.

Will this work with the recently added support for doubles?
Will we be able to use this VR Editor on standalone android powered VR devices like the Meta Quest 2, Pico 4, etc.?
Will we be able to pose and animate characters, props, etc in this VR Editor Mode?

currently we don't support VR in OpenGL3 yet, this is coming shortly

@BastiaanOlij Here's the start of my PR adding OpenGL support to OpenXR: #67775

Hey - got a few questions about the Standalone VR Editor.
1. Will this work with the recently added support for `doubles`?

Can't see why not, though with the footnote seeing question number 2, as I understand it mobile GPUs may be less happy with doubles but I'm not sure if that applies to this particular issue.

2. Will we be able to use this VR Editor on standalone android powered VR devices like the Meta Quest 2, Pico 4, etc.?

That is the long term plan but at the moment the performance isn't there yet.

3. Will we be able to pose and animate characters, props, etc in this VR Editor Mode?

Probably not in the near future but in the long run we hope to get the entire editor experience to work in VR. Time will tell if we can make it.

Small update for the latest changes I pushed. I've had to focus on a few other bits last week so most progress was made this week. After talking to @reduz we decided to change the approach somewhat so I've been doing a lot of refactoring this week.
Things changed so far are:

VR editor now fully works stand alone, when --xr-mode on is added to the startup switch the main viewport becomes the XR viewport and the 2D interfaces are all placed in XR windows
XR windows can now be curved as this gives a more pleasant viewing experience to the user
Completely reworked the pointer logic into something more flexible (keyboard input is still broken, next on the list to fix)
The normal editor interface is now contained in a single viewport/XRWindow. We'll be focusing on interacting in the 3D environment first. As we implement specific VR features of the editor we'll end up disabling/hiding stuff in the desktop one.
Auto centering has been removed as this resulted in the editor always blocking our view. Working on a different UI for this.

@dsnopek I tried turning off the workaround I added to force Vulkan if we're running the project manager. I can see it render upside down on the screen but don't get anything in the headset. Is there a step I'm forgetting on OpenGL?

Had a few other priorities drop on my lap so haven't made a whole lot of progress, but fixed various bugs and added right click support (A button).
Worked on trying to solve the keyboard issue but while I made a bunch of improvements so the keyboard itself now works, still in the dark why the keyboard events don't end up where they should go (i.e. trying to rename a project, the text edit field ignores keyboard input, but it also ignores keyboard input from a real keyboard).

Hey there, I'm looking for some troubleshooting steps. As soon as I start the VR editor, the scene loads in VR and I can see the editor and keyboard, but I can't use my hands, and my console is spammed with this message:
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]

This isn't a super descriptive error message, do you know what I can try to adjust to make this work?

Hey there, I'm looking for some troubleshooting steps. As soon as I start the VR editor, the scene loads in VR and I can see the editor and keyboard, but I can't use my hands, and my console is spammed with this message:
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]
OpenXR: failed to sync active action sets! [ XR_ERROR_RUNTIME_FAILURE ]

This isn't a super descriptive error message, do you know what I can try to adjust to make this work?

@intrepidOlivia This issue should have been resolved by the latest push.

This has been superseded by @m4gr3d brilliant work. Closing this PR.


Fix Confirm Modal closeButton not functional without onCancel handler

Resolved an issue where the closeButton in the ConfirmModal was non-functional without an explicit onCancel handler

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-80.6%) to 0.0%

Totals

Change from base Build 151bcafc23838d5b1ac2748e2d0323e77063cc26:
-80.6%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Wrong nginx rules

This rule https://github.com/Stevie-Ray/htaccess-referral-spam-blacklist-block/blob/master/referer-spam.conf#L4 actually prevents access from **any site except them spammers" one

Personally in don't use NGINX, but I have checked the file using: http://wiki.nginx.org/Referrer_Spam_Blocking and everything seems alright.

I stumbled on that page too, but according to documentation (http://wiki.nginx.org/NginxHttpRefererModule#valid_referers) the attributes for valid_reservers are the referers which should be considered valid.
I was able to use this rule to restrict referers::
    if ($http_referer ~ "(100dollars-seo\.com|4webmasters\.org|...)") {
        set $prohibited "1";
    }
    if ($prohibited) {
        return 403;
    }


User authentication timeout - ApplicationCookie.ExpireTimeSpan ignored

As for #766, I've the same problem. Users are logged out after ~30 minutes (didn't check exact time).
I'm running RTM and this is the portion of my configuration where i set asp's services.
        services.AddMemoryCache();
        services.AddIdentity<User, Role>(opts =>
        {
            //cookie
            opts.Cookies.ApplicationCookie.ExpireTimeSpan = TimeSpan.FromDays(30);
            opts.Cookies.ApplicationCookie.LoginPath = new PathString("/App");
            opts.Cookies.ApplicationCookie.LogoutPath = new PathString("/App/Logout");
            opts.Cookies.ApplicationCookie.SlidingExpiration = true;
            //email
            opts.User.RequireUniqueEmail = true;
            //password
            opts.Password.RequireDigit = false;
            opts.Password.RequiredLength = 6;
            opts.Password.RequireLowercase = false;
            opts.Password.RequireNonAlphanumeric = false;
            opts.Password.RequireUppercase = false;
        }).AddDefaultTokenProviders();
        services.AddLocalization(opts => opts.ResourcesPath = "Resources");
        services.AddMvc()
            .AddDataAnnotationsLocalization()
            .AddViewLocalization();
        services.AddSession(opts => opts.IdleTimeout = TimeSpan.FromMinutes(60));

Do you have a security stamp set for your user's?

Yes I have, and it doesn't change

What does the cookie look like in F12, can you include what headers it has here?

A cookie header sample:
Cookie: .AspNetCore.Antiforgery.w5W7x28NAIs=CfDJ8P9CdzvZvT1AlVB9wjmoTzmTapz9JT3mQRnUDv-DQ4uedGqcDY87YsqoUnVzGbmsScltsXVEbpDDCYo1pNrPqY1fBT9zem1Tdy-YL2aNOMkY63nrA3Y2X8HFRvFTyNiiqmnQAzFE5aUwSyEZbmJCQgg; .AspNetCore.Session=CfDJ8P9CdzvZvT1AlVB9wjmoTzkng%2FAXY2y5QD%2B6GzlTmLYCbe9q6ln73S%2BnuTOXl8O27wL%2BrY4dQe9rSb5b%2FM59EScgKJlArPjUsroYTvRVHy1mJx5y3FEgvMVJYyE7uPp8P77NykT2lPK8KSbpo1Gp15OUL%2F1mAFHMAKzh8qQtuFyx; ARRAffinity=5ab45bb448faaa6c281c76d2c75f7d67c31d8a3024d62d44737acd94c45aa6f0; .AspNetCore.Identity.Application=CfDJ8P9CdzvZvT1AlVB9wjmoTznE-a-g6Co11Dl48i4H03nayi_-mTcH6DKST7LEXXysxDKw1d6knWHO71int2-SbjcAk_5_cMFKWy113udPwKUdYYedsrAMmVGC1HMQhaPc3t_CpSpZtLe5lLYTNrehDSjIIEWvh0VPLIkl5HxgptWbLMxnnVrDE3RnwlWWZVW3jF4A1SUxn2lu9WN5sgQITAv-m-Ij-VNIdv4FUOE2PVB1NI1Xe_80cFQFIIdEpn7T9EubRx1akitoW_3EGcOCWPSUphXMNGWfgGGfXFrXYSAaNv8AOmOIcwVbAOdNlXGb2EHQyGsbOT9nmiCNSQi3reUjFgHx489tojFtGpzTzUctbBzqXwWftQ8EIqy4rjbehOxg4xVk5r6vFEbjFX0VRFlEsF4QfFluOc_Mv2XXhUZBJvcbv1_cwZTgfgtEV2lbImAjBLjf0hf200EazLR5DrJPK4pZ8pMnh6XON93rHmdCeunuAJuLmoaqt1Vkxo-y9-CvhTczXleAP1T_j9cRl0cZhzArHOLQr9ssqexXGm9OHBsmrlbp8GTCxdhwlFncPcQozp8TcEbm36Jc_XMBIV8

Do you see any extra info like Expires as well?

No, only a 302 message with a redirect to the login page.
I've experimented that ExpireTimeSpan works if I set a small timespan of some minutes, and it stop to works with longer.

This test fails:
    [Fact]
    public async Task CanCreateMeLoginAndCookieStopsWorkingAfterExpiration_LongTime()
    {
        var clock = new TestClock();
        var server = CreateServer(services => services.Configure<IdentityOptions>(options =>
        {
            options.Cookies.ApplicationCookie.SystemClock = clock;
            options.Cookies.ApplicationCookie.ExpireTimeSpan = TimeSpan.FromDays(10);
            options.Cookies.ApplicationCookie.SlidingExpiration = false;
        }));

        var transaction1 = await SendAsync(server, "http://example.com/createMe");
        Assert.Equal(HttpStatusCode.OK, transaction1.Response.StatusCode);
        Assert.Null(transaction1.SetCookie);

        var transaction2 = await SendAsync(server, "http://example.com/pwdLogin/false");
        Assert.Equal(HttpStatusCode.OK, transaction2.Response.StatusCode);
        Assert.NotNull(transaction2.SetCookie);
        Assert.DoesNotContain("; expires=", transaction2.SetCookie);

        var transaction3 = await SendAsync(server, "http://example.com/me", transaction2.CookieNameValue);
        Assert.Equal("hao", FindClaimValue(transaction3, ClaimTypes.Name));
        Assert.Null(transaction3.SetCookie);

        clock.Add(TimeSpan.FromDays(7));

        var transaction4 = await SendAsync(server, "http://example.com/me", transaction2.CookieNameValue);
        Assert.Equal("hao", FindClaimValue(transaction4, ClaimTypes.Name));
        Assert.Null(transaction4.SetCookie);

        clock.Add(TimeSpan.FromDays(7));

        var transaction5 = await SendAsync(server, "http://example.com/me", transaction2.CookieNameValue);
        Assert.Null(FindClaimValue(transaction5, ClaimTypes.Name));
        Assert.Null(transaction5.SetCookie);
    }

I've token the original from prev tests and replaced FromMinutes with FromDays.

Your test is failing because of something unrelated, the security stamp interval controls regenerating the cookie, if you set that to also 10 days, it won't regenerate the identity...
                options.SecurityStampValidationInterval = TimeSpan.FromDays(10);

By default the cookie is refreshed after 30 minutes on the next request to ensure the claims are up to date assuming the security stamp hasn't changed, if that has changed, it will sign out and clear the cookie instead.

I will investigate more... Have you tried to reproduce the issue?

We have tests that exercise cookie expiration that are passing, if the timespan that is causing cookie signout issues is exactly 30 minutes, that is the security stamp validator that usually is causing the logout.
Try setting that to something longer to see if that is what you are running into.

My project uses a timespan of 30 days.
Now I'm trying to attach Identity's project to mine, for try a direct debug.

 My code was blocking reading of security stamp from for a wrong security configuration. Now I've fixed and it works. Thank you!


rpl-node uses testcase.ini instead of sample.yaml format

Also, as a related issue.
I could not get rpl-node to build with qemu_x86.
Does anyone know how to get it to build?

rpl-node is not intended for qemu purpose. Main purpose of this sample is to run it on h/w and joins in real RPL mesh network. So simple 'make' should compile sources at-least.

Does not build with a simple make unfortunately. I suspect it has bit rotted.


Disable Access Logs?

Hi is there a way to disable access logs from writing to a bucket? I noticed that there are a lot of logs generated over time and I was wondering if there was a way to make it optional.
Also, what kind of data is being stored in here?
Thank you in advance!

Also, I noticed, after deleting the cfn stack the access log bucket is still there and has new logs. Is that the expected behavior?

Hi is there a way to disable access logs from writing to a bucket? I noticed that there are a lot of logs generated over time and I was wondering if there was a way to make it optional.

You can use this property to disable access logging.

Also, what kind of data is being stored in here?

Data related to who/what is accessing the s3 bucket that contains the virus scan definitions

Also, I noticed, after deleting the cfn stack the access log bucket is still there and has new logs. Is that the expected behavior?

Hmm, this may be because the access log bucket is logging to itself causing an infinite logging loop. This  isn't the intended behavior and I don't really see a reason to have the logging bucket lg to itself

The logs are there for those who need them for auditing purposes. It doesn't make sense to remove it by default.
In this case you can empty and delete the bucket after the fact

I see thank you! Hmm but does there happen to be a way around the infinite loop?

I think it would be reasonable to have a PR to make it so that the default access log bucket doesn't log to itself or any other bucket

If nobody has objections, I am going to open a PR to disable these access logs, on the logs bucket

Ready for review! 🎉


After updating home assistant to version 2023.8.1 asterisk_call_status stopped working.

asterisk_call_status stopped working.
The logs are empty.

Fixed this on the latest release


events: not outputting contract ids

What version are you using?
v21.3.0
What did you do?
$ stellar events

What did you expect to see?
A contract ID included for each event.
What did you see instead?
An empty string for the contract ID for all events.
$ stellar events --start-ledger 1000515 --count 1
Event<PHONE_NUMBER>204177920-0000000000 [DIAGNOSTIC]:
  Ledger:   1000515 (closed at 2024-08-11T18:20:19Z)
  Contract:
  Topics:
            Symbol(ScSymbol(StringM(fn_call)))
            Bytes(ScBytes(BytesM(5592a35e78c59a27a7c61550f436137149341d5d57c8e9338d64e0f2e47ff1be)))
            Symbol(ScSymbol(StringM(set_price)))
  Value: Vec(Some(ScVec(VecM([Vec(Some(ScVec(VecM([I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>684976144 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>34177058 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>01017 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>1740 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>5329625 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>2494 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>9896 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>818254 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>60489 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>5476 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>379844 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>0802 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>87986 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>4185 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>56352 }), I128(Int128Parts { hi: 0, lo:<PHONE_NUMBER>53483 })])))), U64(1723400400000)]))))

$ stellar events --start-ledger 1000515 --count 1 --output json
{
  "type": "diagnostic",
  "ledger": 1000515,
  "ledgerClosedAt": "2024-08-11T18:20:19Z",
  "id": "0004297179204177920-0000000000",
  "pagingToken": "0004297179204177920-0000000000",
  "contractId": "",
  "topic": [
    "AAAADwAAAAdmbl9jYWxsAA==",
    "AAAADQAAACBVkqNeeMWaJ6fGFVD0NhNxSTQdXVfI6TONZODy5H/xvg==",
    "AAAADwAAAAlzZXRfcHJpY2UAAAA="
  ],
  "value": "AAAAEAAAAAEAAAACAAAAEAAAAAEAAAAQAAAACgAAAAAAAAAAU7CiG+HJShAAAAAKAAAAAAAAAAADqvucLHjDIgAAAAoAAAAAAAAAAAAAWvzqKM15AAAACgAAAAAAAAAAAAAz7BHJ4iwAAAAKAAAAAAAAAAAANOdwTbnMWQAAAAoAAAAAAAAAAAAAWvKqC0vOAAAACgAAAAAAAAAAAAAfDiD/rEgAAAAKAAAAAAAAAAAAB4yGUE68jgAAAAoAAAAAAAAAAAABpOHhhG/JAAAACgAAAAAAAAAAAAAmGsNlXeQAAAAKAAAAAAAAAAAAA7ZGtuJERAAAAAoAAAAAAAAAAAAAWvHB1yXiAAAACgAAAAAAAAAAAAHKF+UGqFIAAAAKAAAAAAAAAAAAAAkcwiD1iQAAAAoAAAAAAAAAAAACLe/o7dfAAAAACgAAAAAAAAAAAABj8qDTiisAAAAFAAABkUKrLIA="
}

Actually, these events are diagnostic events, so maybe can't reliable connect some of these events to contracts. That connecting is done in the RPC in any case and isn't a CLI issue.
🤔 But there's a usability problem here, it's difficult as a user to lookup diagnostic events that relate to specific contract invocations.

 "contractId": "", is this an optional field.


ensure ip addresses appear on separate lines

Instead, we can add display: 'flex' to the root of the IPAddress component.


Introduction to FOLDER_TREE_LENGTH config parameter

Resolves #1.
Signed-off-by: Hemant Sachdeva<EMAIL_ADDRESS>

Hope we are good to go now.
It was a nice experience for me :)

Oh man this black 😂🫡

Codecov Report
Base: 69.56% // Head: 68.42% // Decreases project coverage by -1.14% :warning:

Coverage data is based on head (453e294) compared to base (216198a).
Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   69.56%   68.42%   -1.15%
==========================================
  Files           6        6
  Lines          92       95       +3
==========================================
+ Hits           64       65       +1
- Misses         28       30       +2

Flag
Coverage Δ

unittests
68.42% <60.00%> (-1.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/scrapy_folder_tree/config.py
100.00% <ø> (ø)

src/scrapy_folder_tree/pipelines.py
50.84% <0.00%> (-1.79%)
:arrow_down:

src/scrapy_folder_tree/trees/hash.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[terra-form-native-select] Added aria-label  to announce selected option

Summary

What was changed:
1.Added Margin for buttons to provide space between buttons.
2.Updated aria-label to announce selected state when traversed through options for all the terra form native select examples.
Why it was changed:
1.Added Margin for buttons as the border is truncated for clear and set Mercedes buttons.
2.Updated aria-label as it is not announcing the selection state when we navigate through options and clicked Enter.
Testing

This change was tested using:

[x] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details
Added Margin for buttons.
Updated aria-label to announce selected option.
This PR resolves:
UXPLATFORM-9316

Thank you for contributing to Terra.
@cerner/terra

The black focus border should appear only for keyboard navigation and not while using mouse.

+1 for screenreader and keyboard accessibility.


Property 'float' does not exist on type 'CSSStyleDeclaration'

Property float should be part of the CSSStyleDeclaration.
var left = document.createElement('div');
left.style.float = "left";

Returns error: Property 'float' does not exist on type 'CSSStyleDeclaration'

To access the CSS float property you have to use cssFloat.

Thanks @rielz, you seem to be correct.
From https://developer.mozilla.org/en-US/docs/Web/CSS/float

Note: If you're referring to this property from JavaScript as a member of the element.style object, you must spell it as cssFloat. Also note that Internet Explorer versions 8 and older spelled this styleFloat. This is an exception to the rule that the name of the DOM member is the camel-case name of the dash-separated CSS name (and is due to the fact that "float" is a reserved word in JavaScript, as with the need to escape "class" as "className" and escape <label>'s "for" as "htmlFor").

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

It is currently working, with TypeScript v4.6.2
https://www.typescriptlang.org/play?#code/DYUwLgBCwQvBATA9gYwK4FsQDswDoBzcAUVC1wCEBPASQQAoAiAJySTEYEoBuAKAEsAZhHrROEAN68IMqMDwBnMFVB5BwJAENI8RgAtoGxnwC+QA
I think we can close this issue.

Thanks!


chore: tweak demo

#587  👈
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite


Add bmrks extension

Description
This is a companion bookmarking utility for (Basic) Bookmarks. There is currently only one command:
Bookmark
Captures the current URL, title, and favicon from the browser currently in focus and active, and saves to a selected remote group on bmrks.com.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

We already talked about this on Slack, but let's try to make the extension more aligned/consistent with web app! 🚀

@raunofreiberg feedack in slack


Default values for bond settings (at least for bond) got corrupted and become wrong after ver 2.26 version installed

Steps to Reproduce

Go to Micromolecules mode
Go to Setting - Bond section

Actual behavior
Values for bond settings (at least for bond) are frong

Expected behavior
Values are correct

Versions

Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Toolkit Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.90 (Official Build) (64-bit)
Win10

Tested. Bug fixed.

Desktop:

OS: Windows 11
Browser Chrome
Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.5]
Indigo version
[Version 1.25.0-rc.3]


Git push tries to upload large files that are already cached

Whenever we added large files to our repo and then others pull it (git lfs pull), lfs doesnt recognize those large files (git lfs ls-files) and tries to push them every time but whenever we make a new clone AFTER large files were added to repo it works correctly.
Issue only occurs when local copy wasn't with lfs and then it became with lfs after pull.

Hi @bagratkirakosian, thanks for opening this. Is LFS installed on the machines you're using to pull with? The important step is to run git lfs setup to make sure.

Hi @ttaylorr thanks for a quick reply! Yes git lfs install git lfs pull has been done but it didn't solve the problem because git lfs ls-files gives empty list of tracked files but in .gitattributes they are specified.

@bagratkirakosian OK, good to rule that out. Is your repository public? I'd love to try and pull it myself to see if I can reproduce this and perhaps rule out some more possible problems.

@ttaylorr nope we are using private version of github and the repo is private too. But even if it was public you won't be able to reproduce because clean clone works. Issue appears when old clones pull new changes where large files appeared. Let me know if I can provide any other helpful information.

@bagratkirakosian It's unclear to me what the issue is here. Is the issue that pulls between LFS changes pushes those changes back to the server? If you could provide some numbered steps to reproduce, I should be able to help you out more.

Ok here are steps that will help you:

We had a normal repository (Not LFS).
Everyone else in the organization had clone of that repo and some other branches from master.
Then people who have write access to master pushed some large files with LFS.
Everyone was told to commit old changes because we are migrating to LFS.
Everyone else installed LFS using brew mostly and pulled new changes including large files.
We had 3 large files and in different computers different files from those 3 were marked as modified. We did git reset --hard and git checkout . but those files kept getting marked modified always but sometimes we were able to discard them and push failed because git tried to upload those files. This was the most strange step.
Result: People can't push anymore because git doesn't recognize LFS files and tries to push them but as far as it is a normal push git server rejects all files that are larger than 100 mb.
Some people who didn't have commits made a fresh new clone of repo and it works fine but others who have lot's of commits want to push changes but they can't do it.

Does this help now? :) Thanks for quick replies all the time.

@bagratkirakosian Thanks for the info. I think there are two problems going on here:

We did git reset --hard and git checkout . but those files kept getting marked modified

I believe this is the same issue as https://github.com/github/git-lfs/issues/1339. I'd have to know more about your directory structure to be certain, but my hunch is after running BFG (see below) and making sure your .gitattributes are set-up correctly as described in that issue, this should be resolved.

People can't push anymore because git doesn't recognize LFS files

Your old objects are not being tracked by LFS. Even though there are patterns that cover those files in your .gitattributes, the order in which those two steps happen is important. You'll need to convert the repo to LFS by using a tool. I recommend: https://rtyley.github.io/bfg-repo-cleaner/.

Going to close this one out for now, since things are pretty quiet in this issue. If the issue comes back up again, please don't hesitate to re-open this!


perf(ui/rate): add call function

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #379 (7e97c83) into dev (cfd23a3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev     #379   +/-   ##
=======================================
  Coverage   96.39%   96.40%
=======================================
  Files         209      209
  Lines        4911     4920    +9
  Branches     1034     1029    -5
=======================================
+ Hits         4734     4743    +9
  Misses        177      177

Impacted Files
Coverage Δ

packages/varlet-ui/src/rate/Rate.vue
100.00% <100.00%> (ø)

packages/varlet-ui/src/cell/Cell.vue
100.00% <0.00%> (ø)

packages/varlet-ui/src/icon/Icon.vue
100.00% <0.00%> (ø)

packages/varlet-ui/src/image/Image.vue
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[Storage] Re-enabled 3 identity sas tests in stg74 base branch

Hi @seanmcc-msft, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


Modules and tooling chapter

It would be helpful to include a separate chapter that covers topics such as JavaScript modules (specifically ES6), bundlers (such as Webpack and Rollup), package managers (including npm and Yarn), and build tools

Hello, suggest contributing by adding a separate chapter that will cover Javascript modules and explaining the bundlers by exploring the various bundlers available and the features they provide.

Hello, suggest contributing to this by adding a separate chapter that will cover Javascript modules, explain the bundlers (why it is needed), explore various bundlers available and the features they provide.

Hi @bboinnovate20 , thanks for your interest in writing this chapter. I've assigned you this chapter. Let me know if anything is needed.

Alright thank you!!, I will start working on it as soon as possible and keep you updated👍🏻

Hello people, so what do I get to help out with? Excited to be a part of this.

Hello people, so what do I get to help out with? Excited to be a part of this.

Hi @Jessy-py , can you help us to introduce  modules (specifically ES6), bundlers (such as Webpack and Rollup), package managers (including npm and Yarn), and build tools as a separate chapter?

Hello people, so what do I get to help out with? Excited to be a part of this.

Hi @Jessy-py , can you help us to introduce modules (specifically ES6), bundlers (such as Webpack and Rollup), package managers (including npm and Yarn), and build tools as a separate chapter?

Noted.

Hi,how can I be of help here

can i try for this @sumn2u ?

can i try for this @sumn2u ?

Sure.

can i join in this hacktoberfest @sumn2u

Sure @Shakthi44044

Hello @sumn2u has this issue been fixed? if not i will like to work on it, could you pls assign it to me , also can i join in this hacktoberfest?

Hello @sumn2u has this issue been fixed? if not i will like to work on it, could you pls assign it to me , also can i join in this hacktoberfest?

Thank you for your interest on writing this. We already have a content for this but if you can add things that are missing.

Hello @sumn2u  what do I have to do?

We are looking for someone who can help us to introduce modules (specifically ES6), bundlers (such as Webpack and Rollup), package managers (including npm and Yarn), and build tools as a new chapter.

Hi @TheTechGoddess, we are looking for  someone who can help us to introduce modules (specifically ES6), bundlers (such as Webpack and Rollup), package managers (including npm and Yarn), and build tools as a new chapter. Do you think you can help us here?


Point GitHub workflow Node version to .nvmrc

Current dependencies on/for this PR:

main

PR #188   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: VrNItpEww3b61jHDq3Sh


Do you think that this captcha is breakable?

Hi! Great library, thanks for sharing it!
I'm dealing with this captcha:

Do you think that is possible to train a model based on this captcha?
Thanks a lot !

Some of the digits are difficult even for a human, but there are a couple of flaws in the system that you can use to your advantage.

Always exactly 6 digits
Only 10 different characters (use character_set: "0123456789")
No horizontal translation (maybe try fixed_blob_locations like this or maybe exact_characters: 6, exact_characters_width: 7 like this)

Thanks a lot for your reply! 🍺🍺


Reporting and documentation

Provide comprehensive documentation (Report) of the analysis and findings.

Provide comprehensive documentation (Report) of the analysis and findings.


chore(Python): add circular linked list

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[x] My submission has a proper and user-friendly description of the algorithm
[x] My submission has the time complexity of the algorithm
[ ] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Other information:

After fixing those mypy erros, as previously told, you would also need to update the corresponding README.md file ( algorithms/Python/README.md in your case ) with a link to your creating in it.

Successfully resolved mypy errors and updated the README.md

Thank you for your help. I'll do it right now.


[2860] Add uuid field to courses table

Context

https://trello.com/c/nLawaZeT/2860-s-add-uuid-field-for-courses

Changes proposed in this pull request

We're going to save the course uuid from the teacher training API and use that as a unique reference instead of the course_code which sometimes changes
This PR is to add the same field on our courses table to save that new field

Guidance to review

 [S] Add UUID field for courses


Droid: Rotate Transformation Scaling Issue

Code used for multiple rotations...
                if (_currentDegreees == 360)
                    _currentDegreees = 0;

                var source = ProfileImage.Source;
                ProfileImage.Transformations.Add(new RotateTransformation(_currentDegreees + 90d,false,true));
                ProfileImage.Source = null;
                ProfileImage.Source = source;

Android result at 0 degrees...

Android result after 360 degree rotation (notice cropping and scaling)

iOS seems to be ok as long as resize = true, if resize = false you will notice the same behavior on iOS.

@highplains Hi, i tried to reproduce it but it's working fine for me. Look at: https://gist.github.com/daniel-luberda/4d75d96968a7ab86c7cf

I played with it too and could not reproduce it either.
Could you write your image loading request? ie:
var cachedImage = new CachedImage() {
	HorizontalOptions = LayoutOptions.Center,
	VerticalOptions = LayoutOptions.Center,
	WidthRequest = 900,
	HeightRequest = 600,
	CacheDuration = TimeSpan.FromDays(30),
	Aspect = Aspect.AspectFit,
	DownsampleToViewSize = true,
	RetryCount = 0,
	RetryDelay = 250,
	TransparencyEnabled = false,
	Source = "http://loremflickr.com/900/600/nature?filename=simple.jpg",
};

Here is a repo showing iOS behaving fine and android doing the bug.

https://github.com/highplains/ImageRotation

Ok it's clear for me now: since you reuse the already rotated bitmap and rerotate it that's why it happens.
I don't think it's a bug of the lib, it cannot handle such cases.
My suggestion would be to use the original bitmap and each time change the rotation. This way you won't have this issue. So making a new image loading request but with a different rotation degree: 90, 180, ...

Indeed. :) Thanks for the tip. I got it working correctly on both platforms using this.
private void RotatePhoto_Clicked(object sender, EventArgs e)
        {
            try
            {
                //increment rotation for next pass
                _currentDegreees += 90;
                if (_currentDegreees == 360)
                    _currentDegreees = 0;

                // wipe out existing transformations
                ProfileImage.Transformations.Clear();
                // add new transformation
                ProfileImage.Transformations.Add(new RotateTransformation(_currentDegreees));
                // reset to original source
                ProfileImage.Source = _viewModel.Profile.ImageUrl;

            }
            catch (Exception ex)
            {
                #if DEBUG
                throw ex;
                #else
                Xamarin.Insights.Report(ex);
                #endif
            }
        }

Thank you!

Awesome! I'm glad it worked :+1:


Feature:Auto pull,build,restart application like Travis CI.

When I push the new source code to Github.
APM should auto pull the github source code ,
if build done , auto restart the new application.

That's a very nice feature. We do have a couple of tasks that are more high priority right now, but I will put this one up in the queue so I can do it later. If you have any suggestions or if you have a PR in mind, feel free to submit it and I will take a look.
My suggestion for this one is:

[ ] Refactor ProcPreparable and move the building phase into a new module
[ ] Create pull module
[ ] Add auto-pull flag to APM

As we will start building projects outside the master, I think it's a wise move to make the building process a separate module. We will also need another module which will keep track of a process by constantly checking if there's a new version of it available. Then we let the build module handle it, and once it's done we signal to the master that we need to restart this process.
Things to be careful with:

How are we gonna handle private repositories? If credentials are needed, are we gonna pass them over to the pull module?
How do we handle the situation when the user doesn't want to have the auto pull option enabled anymore? We need to inform the auto-pull module to cease its operations in that particular process. We have to find a smart way to do this to avoid interaction with other processes.


focus wrong window after close an swallow-window

Hyprland Version
Hyprland, built from branch HEAD at commit d74607e414dcd16911089a6d4b6aeb661c880923  (props: bump ver to 0.33.1). Tag: v0.33.1  flags: (if any)
Bug or Regression?
Bug
Description
Hyprland focus wrong window after I close an application like mpv, zathura that was being swallowed, unless the term that done swallow was at the bottom of stack.
How to reproduce

turn on the swallow feature
open some windows
use terminal to open an application to get swallowed, then close the app

Crash reports, logs, images, videos
No response

@tienbuigia Hi, I tried set
input {
    focus_on_close = true

}

And it works


Idea!

Can you guys make the old game "Jelly Car" in P5.js? Thanks! ;)

suggest at rainbow-topics!
https://github.com/CodingTrain/Rainbow-Topics/issues/


Implement alerting logic in the monitoring scripts.

User Story

#35

please , i am implementing the logic in monitoring scripts
i wanted to know if it is on bash or python


[VL][Doc][Build]Ubuntu 24.04 support - Test + Fix + Doc

Background:
In the Getting-Started document, it's mentioned that Ubuntu 20.04/22.04 are supported.  While Ubuntu 24.04 LTS was released on April 2024 and it's a long term supported version.
This ticket is for tracking the test on Ubuntu 24.04 and it will list the issues met and it will enhance the document once the test done.
Build Test:
prerequisite:
cmake, openjdk-8, ninja, mvn
sudo apt update & sudo apt install -y build-essential openjdk-8-jdk cmake ninja-build
gcc v13.2 will be installed and this is the major difference with Ubuntu 22.04(gcc v11.4)
maven download link :  https://maven.apache.org/download.cgi
for example maven v3.8.8 :  https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz
After download,  tar xvzf apache-maven-3.8.8-bin.tar.gz unzip to a folder for example, /opt/apache-maven-3.8.8
After install completion, edit /etc/profile to add JAVA_HOME and M2_HOME.
vi /etc/profile, to add,
export M2_HOME=/opt/apache-maven-3.8.8
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$M2_HOME/bin:$JAVA_HOME/bin:$PATH

source /etc/profile to load the profile for current user.
Build:
As the getting-started doc mentioned,  ./dev/buildbundle-veloxbe.sh is used to build in one script.
Two ENV variables are recommended, for example,
TREAT_WARNINGS_AS_ERRORS=0 NUM_THREADS=4 ./dev/buildbundle-veloxbe.sh
By default, all warnings are treated as errors.  TREAT_WARNINGS_AS_ERRORS=0 is to disable it and to avoid build error because of warnings.
NUM_THREADS=X is to specify the CPU core in compile. This is to avoid the OOM issue in compile.
build issue 1:
/opt/gitspace/incubator-gluten/ep/build-velox/build/velox_ep/velox/functions/prestosql/InPredicate.cpp: In lambda function:
/opt/gitspace/incubator-gluten/ep/build-velox/build/velox_ep/velox/functions/prestosql/InPredicate.cpp:94:50: error: call of overloaded ‘contains(<brace-enclosed initializer list>)’ is ambiguous
   94 |         const bool found = uniqueValues_.contains({arg.get(), row});

It does not happen with gcc v11.4.
With gcc 13.2, the implicit type caused the overload error.
A code fix is opened in PR:  https://github.com/facebookincubator/velox/pull/11573
The fix is to specify the type explicitly.
build issue 2:
In file included from /opt/gitspace/incubator-gluten/ep/build-velox/build/velox_ep/velox/exec/Trace.cpp:17:
/opt/gitspace/incubator-gluten/ep/build-velox/build/velox_ep/./velox/exec/Trace.h:48:3: error: ‘uint64_t’ does not name a type
   48 |   uint64_t inputRows{0};
      |   ^~~~~~~~
/opt/gitspace/incubator-gluten/ep/build-velox/build/velox_ep/./velox/exec/Trace.h:20:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   19 | #include <string>
  +++ |+#include <cstdint>

It does not happen with gcc v11.4.
Code fix in PR:  https://github.com/facebookincubator/velox/pull/11594

Hello Team,  anyone please help assign the ticket to me?  I will keep adding the test result and any fix required. Thanks.

@yabinma, just assigned this issue to you.

Thank you for your contribution!


Method iter_subtrees_topdown added

I am not a big hacker, but looks working

Hi, looks like a good start!
For a method that is part of the core tree class, it's a good idea to add a unit-test. For example, in tests/test_trees.py
Also, I believe the if at the start of the method is unnecessary?

it's a good idea to add a unit-test

yes, I think same, but not found tests for iter_subtrees and did not do, I make it later, maybe tomorrow.

I believe the if at the start of the method is unnecessary?

yes, agree, I will remove it

@erezsh why you use unittest module? As for me it so unpythonic, maybe I can make new test with pytest? It can run unittests tests.

Is there really such a difference? I prefer not to add a new dependency unless there's a good reason (right now Lark has no dependencies at all, except for optional support for Nearley).

I can not say that is so important, I just like write beautiful code without no needed boilerplate text.
I push some simple test.

Maybe I will try squash three commits to one?

Looks good. Thanks!

Thanks for your project!


Better docs site

The site up at labs.zikani.me/ika is okay but it's just a demo. Would be good to have a better documentation site with more information about the library, it's motivations, examples and some few notes about the faker library integration.

Have a site now running off a hugo theme :)


Fix test cases for gp-style partition in single-node mode

The commit 782d9b799 fixes inheritance issue on gp-style partition table. The test cases for single-node are not fixed yet.
What does this PR do?

Type of Change

[ ] Bug fix (non-breaking change)
[ ] New feature (non-breaking change)
[ ] Breaking change (fix or feature with breaking changes)
[ ] Documentation update

Breaking Changes

Test Plan

[ ] Unit tests added/updated
[ ] Integration tests added/updated
[ ] Passed make installcheck
[ ] Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

[ ] Followed contribution guide
[ ] Added/updated documentation
[ ] Reviewed code for security implications
[ ] Requested review from cloudberry committers

Additional Context

⚠ To skip CI: Add [skip ci] to your PR title. Only use when necessary! ⚠

@gfphoenix78 - I will share the changes necessary to enable the singlenode tests with this PR.

@gfphoenix78: I have a commit based on your PR branch that will enable the singlenode tests.
Branch: https://github.com/edespino/cloudberry/tree/refs/heads/pr-736-singlenode
Commit: https://github.com/edespino/cloudberry/commit/273c0a0d0d3b149c1ab2a05a6bf6892c82bccf69
Workflow shows the standalone test schedules have passed: https://github.com/edespino/cloudberry/actions/runs/12063579565

@gfphoenix78 Hey buddy ... the green singlenode tests are beautiful! 众人拾柴火焰高

This PR should keep the two commits, please don't squash them. These two commits are independent, but both of them contribute to the pipeline. The second commit is to enable test pipeline for single-node mode, which will fail without the first commit.
In short, the first commit fixes test failures, and the second commit enables to run these tests and proves it.


Port request: LCUI

LCUI is a freely available software library for building user interfaces. It is written in C, support the use XML and CSS to describe the graphical interface, you can use it to build simple desktop apps.
I could not see it in the list. It would be nice to have it in the current package ecosystem.

@lc-soft

We can’t reopen this issue until a PR is opened, unfortunately, consider making a pull request!


Fix bug with morph target data in glTF loader

See https://forum.babylonjs.com/t/broken-morphtarget-in-vrm-glb-model/3284

ref. https://github.com/virtual-cast/babylon-vrm-loader/issues/1