SQL Support : Need Aggregation Plan working

I'm interested in running SQL queries that requires Selection and Aggregation plans (basic avg, sum and count aggregates). I tried to implement the Aggregation plans and I'm not sure what's your plans and ideas on it. Also the Selection plan seems affordable but I wonder what are the specs. Can we add the selection plan with minimum viable expressions to get it working? I'd be eager to start working on it if you have any open issues and some ideas to share.

No plan yet. Maybe help to write up your design first. Doesn't need to be perfect. Let's iterate on this.
I think the tricky part is how to manage the schema.

For selection, the strategy would be to push down all predicates when converting to physical Table Scan. I would ignore the index Scan and consider naively it always pushes down to a physical Table Scan. Actually it seems it is already implemented in the convert2PhysicalScan function of the Selection plan.
If I test it with a simple predicate :
golang
sqlText := `
	select line, word as w, line as l2, word is null as x
	from words
	where line = 6
`
f := flow.New("testSelection")

ds := f.Slices([][]interface{}{
	{"this", 1},
	{"is", 2},
	{"a", 3},
	{"table", 4},
	{"that", 5},
	{"are", 6},
	{"many", 7},
	{"pencils", 6},
}).RoundRobin("rr", 2)

sql.RegisterTable(ds, "words", []executor.TableColumn{
	{"word", mysql.TypeVarchar},
	{"line", mysql.TypeLong},
})

out, p, err := sql.Query(sqlText)
if err != nil {
	fmt.Printf("error: %s\n", err)
	return
}

out.Fprintf(os.Stdout, "%v \n")

golang
If I debug I'm seeing the initial logical plan as expected:
DataScan(words)->Selection->Projection
Then it is converted to physical plan :
*plan.PhysicalTableScan->*plan.PhysicalUnionScan->Projection
And the bottom PhysicalTableScan has the predicate "line eq 6" as expected.
I'm not sure where i should fix it to make this selection work.

Current SQL implementation is half baked and not good. Need to redo it.
On Mon, May 21, 2018 at 7:26 AM Gregory Desvaux<EMAIL_ADDRESS>wrote:

For selection, the strategy would be to push down all predicates when
converting to physical Table Scan. I would ignore the index Scan and
consider naively it always pushes down to a physical Table Scan. Actually
it seems it is already implemented in the convert2PhysicalScan function of
the Selection plan.
If I test it with a simple predicate :
golang
sqlText := 	select line, word as w, line as l2, word is null as x 	from words 	where line = 6
f := flow.New("testSelection")
ds := f.Slices([][]interface{}{
{"this", 1},
{"is", 2},
{"a", 3},
{"table", 4},
{"that", 5},
{"are", 6},
{"many", 7},
{"pencils", 6},
}).RoundRobin("rr", 2)
sql.RegisterTable(ds, "words", []executor.TableColumn{
{"word", mysql.TypeVarchar},
{"line", mysql.TypeLong},
})
out, p, err := sql.Query(sqlText)
if err != nil {
fmt.Printf("error: %s\n", err)
return
}
out.Fprintf(os.Stdout, "%v \n")
golang
If I debug I'm seeing the initial logical plan as expected:
DataScan(words)->Selection->Projection
Then it is converted to physical plan :
*plan.PhysicalTableScan->*plan.PhysicalUnionScan->Projection
And the bottom PhysicalTableScan has the predicate "line eq 6" as expected.
I'm not sure where i should fix it to make this selection work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/gleam/issues/127#issuecomment-390669997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL7ycTBkaQ73TNVuHaojObEIvbnFqOks5t0s5_gaJpZM4TuipT
.


Add Japanese translation for base navigation and home page

Related Issue

N/A
Summary of Changes
I have translated the base navigation text and home page text into Japanese, using #150 as a reference.

So exciting to see another language being added to the site! Thank you @shuuji3 for all your effort in translating and @AXT-AyaKoto for reviewing 🫶
I notice there's some merge conflicts now, I assume due to the language picker being added recently.  Are we able to keep moving this PR forward? Looks so close!

@AXT-AyaKoto 確認が大変遅くなってしまってすみません。レビューありがとうございました。より自然な翻訳にできたと思います。

@jessbudd OK, I've resolved the conflict and added a few new translations, including a small typo fix for the navigation text in English.

Awesome!
@AXT-AyaKoto did you have any further comments on the translations before @sbesh91 can merge this in?


Hyper plugin conflicts

In my plugins on the .hyper.js file I have
plugins: [
    'hyper-papercolor',
    'hyper-tab-icons',
    'hyperterm-mactabs',
    'hyper-statusline'
  ]

When I first load hyper, I can not see the red, yellow, and green macintosh window circles, but commenting out hyperterm-mactabs and reloading brings them back. If I then uncomment this plugin and reload then the window circles remain in the position. What might be causing this issue and is there a way to resolve?

I'm not sure why this is a PR with 150k lines changed. Is this supposed to be a bug report?


Fix github actions

build (3.7)
The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

https://github.com/whysage/hash_chunker/actions/runs/3451007890

Fixed.


Bkit 120 verify fake signature

Interesting. So you’re ganerating a self-signed request on the way in, and handling that as a exception case later?

It’s a shared secret request as opposed to a public private rsa key
request. And it works w the client which does the same.
I think this will enable some better E2E tests
On Mon, Dec 4, 2017 at 6:35 PM Mike Thomas<EMAIL_ADDRESS>wrote:

Interesting. So you’re ganerating a self-signed request on the way in, and
handling that as a exception case later?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/buildit/bookit-api/pull/19#issuecomment-349155210,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANl-R5kWuOFrHEfb8lmDhXlyOavFMkoks5s9I--gaJpZM4Q1gBN
.


Flush stale response from previous command

If the device responds after request timeout it's response will be sitting in the receive buffer when the next command is sent, which will process the earlier response as response to it's request.
Reset the semaphore when making a new request to synchronise request/response flow to the new request.

@hno-addiva Can you please submit your patch to upstream project, https://github.com/zephyrproject-rtos/zephyr, thanks.


Android Basics: Fragments Navigation component

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-fragments-navigation-component?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-fragments-navigation-component#0
In which task and step of the codelab can this issue be found?
Before you begin
Describe the problem
Mistyped word "fragmen"
The whole sentence: In the example below, both the navigation UI on the left and the content on the right can each be contained in a separate fragmen.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Thanks for filing! This should now be fixed


Call compiled function from go return empty

Hello!
When call compiled function from go return empty.
package main

import (
	"context"
	"fmt"

	"github.com/d5/tengo"
)

func main() {
	// create a new Script instance
	script := tengo.NewScript([]byte(`
res := wait_go_hello_message(func(message) {
	return "Go Hello Message:" + message
})
`))
	script.Add("wait_go_hello_message", func(args ...tengo.Object) (ret tengo.Object, err error) {
		return args[0].(*tengo.CompiledFunction).Call(&tengo.String{Value: "hello!"})
	})
	// run the script
	compiled, err := script.RunContext(context.Background())
	if err != nil {
		panic(err)
	}

	res := compiled.Get("res")

	// EXPECTED: Go Hello Message: hello!
	fmt.Printf("%T: %q", res, res) // OUTPUT: *tengo.Variable: ""
}

@moisespsena ,
Your usecase mixes builtin and compiled functions in a way that Tengo does not support. You can't Call into a compiled function directly.
Call is not usable on a compiled function, but unfortunately does not return an "unimplemented" error.
There are two solutions right now, one for this revision:

I think that in order to make this more apparent,CompiledFunction.Call(args...) should return an error.

In the future, it may be useful to have CompiledFunction.Call() actually call through the VM, but that would require passing a VM context into the CompiledFunction.Call(). For now though, that seems rather out of scope.

@DawDavis ,
I have implemented a branch "vm_context" based on tengox with the definition of objects based on maps and reflection. I did it to be able to use it in my personal projects.
See to call tengo function com go.
What do you think?


Test signals with offset variation

During tests it was noticed that the offset in the input phase signal matters in the interferometric phase passive retrieval (atan and sliding modes). Why so? How to test it?

Consider a slow offset variation of the signal, does it impact our phase recovery?
Do we need to perform the quadrature fitting more often or once at the beginning is fine?

The arctangent phase unwrap method can correct for offset phases from $-\pi$ to $\pi$.

The sliding modes observer corrects the control phase to odd multiples of $\pi/2$, so the offset phase depends on what equilibrium point it converges.


Removed SOKOL_CALLOC, SOKOL_FREE.

This caused the latest sokol_gfx.h to break

Hey. Thanks for the effort. Unfortunately two things:

the solution should be to use the new _sapp_malloc and _sapp_free functions, which I would rebase directly into the commits I introduced the SOKOL_CALLOC/SOKOL_FREE calls, and
I would probably take care of the issue with Fedora crashing due to an unavailable wayland protocol extension version right away.

So no hard feelings, when I close this PR? :smile:

LOL Didn't even notice, I'm sorry :sweat_smile:


Tiny PR to rename slipage variable to Slippage

What is the purpose of the change

rename slipage variable to Slippage in swaprouter and crosschain-swaps contracts

Brief Changelog

renaming all instances of variable slipage to slippage

Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? (not applicable)

@nicolaslara requesting review !


File permissions for file based caches

Currently the file based caching adapter of Codeigniter has a rather nasty line
of code, this one to be specific: https://github.com/EllisLab/CodeIgniter/blob/develop/system/libraries/Cache/drivers/Cache_file.php#L102.
There are numerous issues with this line of code, the biggest being the fact
that it's using a permission that is far too open and really shouldn't be used
ever. First of all cache files don't have to be executed but merely written
and, second this would allow for people to potentially inject their own code in
these files and have them executed when PHP decodes the files.
Lets take a look at the following example: https://gist.github.com/1837183. If
user A is "root" (EUID being zero) and user B "bob" then normally "bob" would
not be able to access the file since the ownership and group are set to "root".
However, because Codeigniter forces a file permission of 0777 it means "bob"
actually can access the cache file and thus put anything he likes in it.
[yorickpeterse@yorickpeterse in exploit]$ ls -al
total 8
drwxr-xr-x  2 yorickpeterse sudo  80 Feb 15 17:45 .
drwxrwxrwt 20 root          root 580 Feb 15 17:44 ..
-rw-r--r--  1 yorickpeterse sudo 130 Feb 15 17:39 exploit.php
-rw-r--r--  1 yorickpeterse sudo 266 Feb 15 17:38 script.php
[yorickpeterse@yorickpeterse in exploit]$ sudo su root
Password:
[root@yorickpeterse exploit]# php script.php
[root@yorickpeterse exploit]# ls -al
total 12
drwxr-xr-x  2 yorickpeterse sudo 100 Feb 15 17:45 .
drwxrwxrwt 20 root          root 580 Feb 15 17:44 ..
-rwxrwxrwx  1 root          root  38 Feb 15 17:45 cache
-rw-r--r--  1 yorickpeterse sudo 130 Feb 15 17:39 exploit.php
-rw-r--r--  1 yorickpeterse sudo 266 Feb 15 17:38 script.php
[root@yorickpeterse exploit]# exit
exit
[yorickpeterse@yorickpeterse in exploit]$ whoami
yorickpeterse
[yorickpeterse@yorickpeterse in exploit]$ echo $EUID
1000
[yorickpeterse@yorickpeterse in exploit]$ php exploit.php
[yorickpeterse@yorickpeterse in exploit]$ echo `cat cache`
a:1:{s:4:"data";s:21:"Exploited your cache!";}
[yorickpeterse@yorickpeterse in exploit]$

The easiest way of fixing this issue would be to simply lower the permissions.
Codeigniter only needs read and write permissions so 660 (-rw-rw----) should be
more than enough, perhaps 755 if you really want to make sure the file can be
used properly.
I also understand that this issue can be made harder to exploit by ensuring the
permissions of parent directories are more strict but it doesn't fix the root
issue: incorrect file permissions.

Forgot to add this to the ticket, I'll add a small patch for this in a bit (unless somebody beats me at it).
@timw4mail I'm not entirely sure, Windows has no notion of chmod and thus the function probably doesn't do anything.


Fixing an issue when building brooklyn-ui for downstream projects

The issue was fixed in version 1.9.0 of the plugin, see: https://github.com/eirslett/frontend-maven-plugin/issues/820#issuecomment-570634363

LGTM


"ModuleNotFoundError: No module named 'django.utils.six'" with Django 3.0

I'm in the process of updating my project to Django 3.0 but using sortedm2m I get:
  File "/Users/phil/Projects/personal/django-ditto/.tox/py38-django30/lib/python3.8/site-packages/sortedm2m/forms.py", line 10, in <module>
    from django.utils.six import string_types
ModuleNotFoundError: No module named 'django.utils.six'

Django 3.0 drops support for python 2 compatibility APIs, so I guess sortedm2m either needs to drop support for python 2, or explicitly include a non-Django instance of six?

if use whitenoise, try to upgrade whitenoise:
pip install whitenoise --upgrade

This was resolved by #152.


Add resource detectors to cart service

Changes
Resource detection for cart service, right now it is only the container.id because it looks like no other resource detectors exist for .NET (yet)

Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[x] CHANGELOG.md updated to document new feature additions
[x] Appropriate documentation updates in the docs folder

Is it any specific version of docker required to this to work?
Ran docker system prune -a, re-built all the images, but still no success :/

Doesn't work for me when using docker desktop on mac.

This is probably due to a Limitation because of cgroup v2, there is a solution in the making for dotnet:
https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/839
Java & NodeJS have that fixed already.

Thanks @svrnm. Lgtm and the dependency PR seems to be making progress.
Merging.


relax input conditions of fixed::checked_from_integer

fixes https://github.com/paritytech/substrate/issues/10572

bot merge


[ Allow @Body() to ignore some object parameters ]

Is your feature request related to a problem? Please describe.
Actually when my @body object is sent, i got 400 bad request 'cause sending too much parameters on a Symfony API which form validate doesn't allow to send non significant parameters...
Describe the solution you'd like
an annotation so that when passing some object representing the @Body of a request, we'd be able to ignore some of the parameters and do not send them when @POSTing...
Describe alternatives you've considered
the only alternative i see is to manually delete those parameters from the generated .g.dart file...
and that's ugly :s

Alternatively you create a special object that only contains the relevant information to send to symfony

Well that sounds as dirty as deleting from .g.dart file...
1 - it's a non sense from conception point of view.
2 - when 1st object will change you'll have to keep in mind to change the second one... so, this is ugly...
Wouldn't it be possible to write a method "toFormattedWSBody()" for example that wouls return the expeccted body ??
But which type should it return ?
Would a String be possible for retrofit ?


Fuzzy Type

We updated the version of Calcite Bootstrap, which caused the typography to look fuzzy.
few screenshots:

mentioning: @nnblack1980

Thanks for logging this @julio8a. We're currently hoping to use calcite-bootstrap for our January release of Workforce. Is this something you guys can look at before then? Or should we start investigating?


feature: add support for scrapping thermal subsystem

Thanks for creating this addon, it's a nice and much lighter alternative to hassio-addons/addon-glances.
Please consider adding support for crapping of thermal Linux subsystem devices which on many platforms contains information about CPU temperature.

Thanks for this, i can get the cpu temp and the hdd temp from the sensors input and smart devices input, does this provide a better way to get the sensors?
I'm glad you like the addon :)

Maybe I could have described it better. As a matter of fact it's a workaround for Raspberry Pi Linux kernel not reporting CPU temperature in hwmon interface, but still reporting it thermal subsystem. It's described in detail here: https://github.com/raspberrypi/linux/issues/2182.
In my specific case, when Hassio is running on RPI4, lm-sensors fail to see any sensors but CPU temperature can be read from /sys/class/thermal/themal_zone0/temperature.

Ahh ok that makes sense, I like this idea then and should hopefully fix #16, I will look and see if there is a way to only allow certain things on certain arch's


Docker image for node interop tests failed to build

What looks like the relevant parts of the log:
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/root/.nvm/versions/node/v8.6.0/bin/gulp -> /root/.nvm/versions/node/v8.6.0/lib/node_modules/gulp/bin/gulp.js
/root/.nvm/versions/node/v8.6.0/bin/node-gyp -> /root/.nvm/versions/node/v8.6.0/lib/node_modules/node-gyp/bin/node-gyp.js
+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 288 packages in 6.577s
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 416 packages in 16.46s
[02:02:50] Using gulpfile /var/local/git/grpc-node/gulpfile.js
[02:02:50] Starting 'setup'...
[02:02:50] Starting 'js.core.install'...
[02:02:50] Starting 'native.core.install'...
[02:02:50] Starting 'health-check.install'...
[02:02:50] Starting 'internal.test.install'...
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm ERR! code EINTEGRITY
npm ERR! sha1-IFF4T2vWE0aB+ixLXnXcgsbCP/o= integrity checksum failed when using sha1: wanted sha1-IFF4T2vWE0aB+ixLXnXcgsbCP/o= but got sha1-F2fvi78cvzecgJ+bS2ek7fW6C6g=. (6241789 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npm-cache/_logs/2017-10-18T02_02_52_837Z-debug.log
[02:02:52] 'health-check.install' errored after 2.55 s
[02:02:52] Error: Command failed: npm install --unsafe-perm
    at Promise.all.then.arr (/var/local/git/grpc-node/node_modules/execa/index.js:236:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
[02:02:52] 'setup' errored after 2.56 s
[02:02:52] Error in plugin 'run-sequence(health-check.install)'
Message:
    Command failed: npm install --unsafe-perm
Details:
    code: 1
    killed: false
    stdout: null
    stderr: null
    failed: true
    signal: null
    cmd: npm install --unsafe-perm
    timedOut: false
Stack:
Error: Command failed: npm install --unsafe-perm
    at Promise.all.then.arr (/var/local/git/grpc-node/node_modules/execa/index.js:236:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

><EMAIL_ADDRESS>install /var/local/git/grpc-node/packages/grpc-native-core
> node-pre-gyp install --fallback-to-build --library=static_library

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/var/local/git/grpc-node/packages/grpc-native-core/build'
  CC(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
  CC(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o

....
  CXX(target) Release/obj.target/grpc_node/ext/call.o
  CXX(target) Release/obj.target/grpc_node/ext/call_credentials.o
  CXX(target) Release/obj.target/grpc_node/ext/channel.o
  CXX(target) Release/obj.target/grpc_node/ext/channel_credentials.o
  CXX(target) Release/obj.target/grpc_node/ext/completion_queue.o
  CXX(target) Release/obj.target/grpc_node/ext/node_grpc.o
  CXX(target) Release/obj.target/grpc_node/ext/server.o
  CXX(target) Release/obj.target/grpc_node/ext/server_credentials.o
  CXX(target) Release/obj.target/grpc_node/ext/slice.o
  CXX(target) Release/obj.target/grpc_node/ext/timeval.o
  SOLINK_MODULE(target) Release/obj.target/grpc_node.node
  COPY Release/grpc_node.node
  COPY /var/local/git/grpc-node/packages/grpc-native-core/src/node/extension_binary/node-v57-linux-x64/grpc_node.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/var/local/git/grpc-node/packages/grpc-native-core/build'
npm notice created a lockfile as package-lock.json. You should commit this file.
added 205 packages in 55.824s
[02:03:46] Finished 'native.core.install' after 56 s
npm notice created a lockfile as package-lock.json. You should commit this file.
added 148 packages in 72.67s
[02:04:03] Finished 'internal.test.install' after 1.22 min
+ EXITCODE=1
+ docker rm -f build_grpc_interop_node_89138609-5391-402d-8411-e9d20324273d
build_grpc_interop_node_89138609-5391-402d-8411-e9d20324273d
+ exit 1

https://sponge.corp.google.com/target?id=8e953673-5e18-4ebf-ba9c-56e1a9beb07b&target=grpc%2Fubuntu%2Fpull_request%2Fgrpc_interop_tocloud&searchFor=

haven't seen this recently


Interface de test rqt pour accelerer les test avec sara.

related to #52

We will need to do something with sara_desktop for these two issue.. I dont know if sara_desktop still have its use case. It was if someone got a weak pc or does not want the simulation stuff and only want de visualization stuff. If we decide to delete sara_desktop, just put the rviz config in it, in sara_simulation.

Doublon de #52


Updating OpenSSL to 1.1.1i and supporting M1 Mac native arm generation

Adds support for M1 Mac native arm compilation for OpenSSL. This required updating to upstream openSSL 1.1.1i, which included https://github.com/openssl/openssl/pull/12369 to support this patch, and adds a translation in the CMake for platform declaration to infer arm64 from the VCPKG_TARGET_ARCHITECTURE variable, if provided.

Fixes #15560

Which triplets are supported/not supported? Adds support for M1 Macs to openssl using community triplet arm64-osx

Does your PR follow the maintainer guide? yes

Duplicate of #15298.

Duplicate of #15298.

erp, thanks @Hoikas  - closing this in favor of the earlier PR (#15298)

erp, thanks @Hoikas  - closing this in favor of the earlier PR (#15298)


[REVIEW ONLY] PP 1759 jenkinsfile

WHAT
Jenkinsfile test

There were no errors, go have a cup of coffee...

There were no errors, go have a cup of coffee...

There were no errors, go have a cup of coffee...


Is it possible in multiple choice, a readonly ?

Ionic version:  (check one with "x")
[ ] 2.x
[x] 3.x
[ ] 4.x
Ion2-calendar mode:  (check one with "x")
[x] components mode
[ ] modal mode
I'm submitting a ...  (check one with "x")
[ ] bug report
[ ] feature request
[x] help me
Hi,
I use ion2-calendar and i'd like when a user tap the date, a modal with 2 input boxes comes with some informations which he have to enter. After, the user can't unselect the day, but when he click on the day, it show what he entered before.
Other information:
cli packages: (...\npm\node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.1.2
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.11.3
    npm               : 5.6.0
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:\Android\android-sdk

Misc:

    backend : pro

Thanks a lot if someone can help me :)
Kind regards.

Hi !
In fact, For me, if i try to put readonly=true, i can't select an other one..
Let's continue to search haha

I modified the month.component.js file (compiled) in the function that is below and add an if and the emit for when the day is clicked, with this the selected day would be obtained and already in your ts in the select = "selectDay" you can do whatever you want.
The file compiled is : node_modules/ion2-calendar/ivy_ngcc/dist/components/month.component.js
  MonthComponent.prototype.onSelected = function (item) {         debugger;         if (this.readonly) {             item.selected = true;             this.select.emit(item);         } else {             item.selected = true;             this.select.emit(item);             if (this.pickMode === config_1.pickModes.SINGLE) .....

Hi there, I'm using this package to show calendar events for an app, I am using the modal view, the best I could do to get events emitted was to use onChange in the componentProps, which does return the events when selected or deselected, as an array of dates. The readonly attribute in my code below is not being utilised, I can still select & unselect all dates. I'm hoping to be able to click on a date & just show its information - to then utilise it to show information about that date, rather than deselect a selected date.
Would any bright spark out there have the solution? :) Thanks. If I figure it out I'll post it here too to hopefully help others.
async openCalendar() {
    var dates = [];
    this.open$.subscribe(async (data) => {

      dates = data.map( (d: any) => {
          let day_var = new Date( d.bookedFor );
          return {
            date: day_var.getDate(),
            dateObj: 1,
            months: day_var.getMonth(),
            string: (typeof d.bookedFor === 'string' || d.bookedFor instanceof String) ? d.bookedFor.split('T')[0] : day_var.toLocaleTimeString("en-US"),
            time: Math.round(day_var.getTime()),
            unix: Math.round(day_var.getTime()/1000),
            years: day_var.getFullYear()
          };
      } );

      const options: CalendarModalOptions = {
        pickMode: 'multi',
        title: 'Active Orders',
        defaultDates: dates,
        closeLabel: 'Close',
        cssClass: 'order-calendar'
      };
        const myCalendar = await this.modalCtrl.create({
            component: CalendarModal,
            componentProps: {
                options,
                readonly: true,
                onChange: function(sel) { console.log('onChange', sel) }
            }
        });
        myCalendar.present();
        });
    });
  }


allow multiple instances of localizer

this would be useful to connect to multiple clusters, currently the tool bails out with:
ERRO[0000] failed to run: localizer instance already running
would it be just a matter of a custom socket path parameter? or would the host-file-cleanup conflict too? In the latter case (or actually in general) it might make sense to separate the localizer hosts with a comment section like other tools do, e.g.:
# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
<IP_ADDRESS>        kubernetes.docker.internal
# End of section

for multiple instances e.g. the pid of the localizer could be included in the comment section and used as an identifier.
motivation: to me it happens frequently that i connect to a test cluster to test something, but this involves verifying something in the prod database. currently i have to disconnect/reconnect to both the cluster and the services to achieve that.

Ahhh, right. Multiple sockets will need to be figured out for multiple instances. The code is written that multiple should be able to be run (w/ different CIDRs and cluster domains, but the socket path is an issue.). I think we can get around this with yet another CLI arg 😄


[move-compiler] Add rayon parallel iterator API to UniqueMap

Description

Added ParallelIterator APIs to UniqueMap

Test plan

Used in a later API

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

LGTM, though I am surprised we would ever need anything so fine-grained.

Lol, me too. It just felt weird not to flesh out the APIs fully. We will likely just use the by-value form


helm test --logs errors out when tests include non-Pod resources

Output of helm version: 3.0.0
The helm test --logs implementation assumes that tests are always defined as Pods, which is no longer the case in Helm 3. We should support getting logs for Jobs, and not return an error when we encounter a resource that is neither a Pod nor a Job.
Relevant PR: https://github.com/helm/helm/pull/6693

Hi @jlegrone, can I try solve this issue? 😃


Failed to load webpage with error: Frame load interrupted

It seems that is ember starts routing before the splashscreen is hidden then the app will not load.
You are given this error "Failed to load webpage with error: Frame load interrupted"
I have found this to be happening because Ember Simple Auth routes an authenticated user when the app launches.
If the user has no token then the index page is loaded, however with a token the library tries to route the user to an authenticated route.

I didn't post this as an actual bug report for Corber, but hopefully other Corber users who are using Ember may find this useful.
My plan at the moment is to have an index page which waits until ember and cordova are loaded and which then redirects to the homepage / routes of the site which contain the auth & routing logic.
Hopefully by having a route that I can control, and which will not route to other pages, I can stop this issue before it happens.

If you are using ember-simple-auth you will need to have the deferReadiness run after ember-simple-auth as otherwise it will sometime fail to init the session.
 after: 'ember-simple-auth',
/* App - Initializers - Cordova */
export function initialize( application ) {

    /* Device Ready */
    function onDeviceReady() {

        /* Resume Loading */
        application.advanceReadiness();

    }

    /* Cordova */
    if ( window.cordova !== undefined ) {

        /* Device Ready */
        document.addEventListener( 'deviceready' , onDeviceReady , false );

        /* Pause Loading */
        application.deferReadiness();

    }

}

/* Export */
export default {
    after: 'ember-simple-auth',
    initialize
};

I'm going to close this as it seems to be less a corber bug, but hopefully other users can find this solution.
So we can check deeper, were you experiencing this issue with the splashScreen plugin?
Thanks.

https://swifttom.com/2021/09/18/failed-to-initialize-client-context-with-error-a-error-when-trying-to-run-a-widget-in-the-xcode-simulator-m1-macs/
Follow the steps.


Next JS being called out as built for client-side rendering of your entire website and include server-side rendering mainly to address performance concerns might be confusing for new developers

I would like to suggest a change in the Core Concepts > Why Astro > Server First paragraph of the astro docs as it calls out Next JS as a Framework built for client-side rendering of your entire website and include server-side rendering mainly to address performance concerns, I would imagine this to be confusing for a new developers in the future given the current direction vercel is taking Next and all the marketing and popularity behind it.
Please correct me if my interpretation is incorrect.

We are satisfied with our current description, thanks!


Add fallback URL for beacon state download

Resolves: SNO-905

Not necessary anymore, using a beacon store instead of a fallback URL since the other consensus clients seem to have similar problems to Lodestar anyway.


Fix leftovers of rename

Thank you for considering the inclusion of this merge request :P

Damn, netf strikes back!

It doesn't exist in ASF any more... probably should remove it as well

Thank you for your contribution!
🏆


Check TLS 64bytes support by environment variable

As discussed in https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/450

I pushed the patches and the necessary post-fixes to the LE and CE team.
I received a feedback from CoreELEC (by @Portisch) that my pull request would be merged after the next ISH release, that handles the LIBC_WIDEVINE_PATCHLEVEL environment variable.
I haven't received any feedback from LibreELEC yet, but I hope they do the same.
For my part, I am already looking forward to ISH version 0.5.7.
Thank you all for your efforts. ;-)

Can we somehow speed up the merging of this PR and the preparation for the release of v0.5.7?

I'd have preferred to test it a little, but since it's not a big change, I'll merge it now.


Handle Empty Input Fields Gracefully When Generating QR Codes

Description:
This pull request addresses issue #9, where the project did not handle empty input fields gracefully when generating QR codes. It ensures that the project provides proper feedback and prevents the generation of QR codes with empty values.
Changes Made:

Added input validation to check for empty QR text and dimension fields.
Display an error message if either or both input fields are empty.
Prevent the generation of QR codes and download links when empty input fields are detected.
Improved user experience by providing clear feedback.

Testing:
I have tested the changes as follows:

Opened the project in a web browser.
Left the QR text input field empty.
Left the dimension input field empty.
Clicked the button meant to generate the QR code.

Expected Results:**

An error message is displayed indicating that both QR text and dimension fields are required.
Screenshots:

The project prevents the generation of a QR code and download link until valid input values are provided.

Additional Notes:
I believe it resolves the issue effectively.

Thank your for your contribution @ayushichoudhary-19 .


Remove t3c unused plugin symbols

t3c wasn't sending the list of installed plugins to t3c-check-reload
like it's designed to take, but that was actually unnecessary,
because installed plugins always require a restart, but syncds
never installs plugins, and badass always restarts. So the entire
check served no purpose.
No new tests, existing tests cover the behavior, and this doesn't change behavior, just removes unused code.
No docs, no interface change.
No changelog, no interface change.
Which Traffic Control components are affected by this PR?

Traffic Control Cache Config (T3C, formerly ORT)

What is the best way to verify this PR?
Run t3c, verify behavior is unchanged.
If this is a bugfix, which Traffic Control versions contained the bug?
Not a bug fix
PR submission checklist

[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

#6414 has a merge conflict


[Suggestion] Store Loot Tracker Data Locally

Is it possible to make the Loot tracker store the data from past sessions without being signed in?

This plugin from the pluginhub appears to offer these features

I believe as of <IP_ADDRESS> this is how it works now.

Indeed, see https://runelite.net/blog/show/2022-03-09-1.8.13-Release


Case: execute in current context

  this('dirname/filename < ./input');

Invokes filename in a local context. Written records are visible on the top level - not in 'dirname`.

Specify as node test #12


Open Source : 6.22 Explain everything related to Flutter

Description 📜
Open Source : 6.22 Explain everything related to Flutter
NOTE 👇
Please put your doc 6.Popular_Projects with the name 6.22_Flutter.md

Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Use the same case for dependency verification metadata and keyring

Expected Behavior
It would be nice if the key ids generated by Gradle in gradle/verification-metadata.xml (via --write-verification-metadata) perfectly matched the key ids generated by Gradle in gradle/verification-keyring.keys (via --export-keys) to allow more easily searching for those keys via grep (without having to run grep -i).
It could also be nice if these ids could also match the output generated by gpg, which seems to be capital:
$ gpg --decrypt guava-r06.jar.asc 2>&1 | head -n 3
gpg: assuming signed data in 'guava-r06.jar'
gpg: Signature made Thu 08 Jul 2010 05:42:30 PM EDT
gpg:                using DSA key F800DD0933ECF7F7

Current Behavior
Currently the key ids in gradle/verification-metadata.xml don't match the key ids in gradle/verification-keyring.keys due to casing.
For example:
$ grep -i F800DD0933ECF7F7 *
verification-keyring.keys:pub    F800DD0933ECF7F7
verification-metadata.xml:         <trusted-key id="00089ee8c3afa95a854d0f1df800dd0933ecf7f7" group="com.google.guava" name="guava" version="r06"/>
verification-metadata.xml:         <trusted-key id="f800dd0933ecf7f7" group="com.google.guava"/>

Context
Previously I wasn't aware that these key ids were the same other than case between verification-metadata.xml and verification-keyring.keys, which made it more difficult to inspect these two files and debug other problems

Thanks!


[Issue] Debug trace mode has no param values or outputs from bicep modules

I'm doing a lot of debugging of the modules in /infra and it would really help to be able to see *all input params and outputs from each module.  I understand things like outputs are tricky because they may only be known at the end of the deployment, and that's ok, I'd be happy to see output as soon as it's ready in the workflow.
Output from azd version
azd version 0.5.0-beta.3 (commit 1c23678aade587d5b9685a256a3c1d2d7f4b42e0)
To Reproduce
load aka.ms/dapralbums in a codespace
azd up
try to understand what the params were set to, and outputs, at the time it runs.  Are params empty?  are they set to wrong string?
Expected behavior
I would love to see all param values for each module that runs / resource created
I would love to see all module outputs

I learned something cool:
In the portal, select your RG -> Deployments.
Each module is listed as a deployment, and this has inputs and outputs that I'm looking for.  Ideally AZD tooling could leverage the same data.

Is there any data that we can optionally save to disk on the user request to help them debug?  Like for example, parameters used, the resultant bicep file or any other data to help them debug the deployment?


ping not installed

would it be possible to install iptutils (ping) into the docker image?  the home-assistant WOL feature uses "ping"

Could you try with the new version 0.40.0 I just pushed (docker pull lroguet/rpi-home-assistant:0.40.0)?

Yes this was on 0.40.0 earlier today, unless you pushed a new one recently.
On Mar 13, 2017 13:54, "Ludovic Roguet"<EMAIL_ADDRESS>wrote:

Could you try with the new version 0.40.0 I just pushed (docker pull
lroguet/rpi-home-assistant:0.40.0)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lroguet/rpi-home-assistant/issues/8#issuecomment-286240484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHrecaRD42bwz6TAMT5kPtM4QW7Yd1iKks5rla0CgaJpZM4MbeZR
.

@kenthua - The current 0.40.0 has 'ping' installed. I pushed a new one.

@lroguet thanks! all good now.


Implement Circular Linked List in c

Add file with the proper extension ie,CircuarLinked.c
https://github.com/osDFS/C-Algorithms/tree/master/DataStructures
Work in this folder.

Can I work on this?

Can I work on this issue?


Multi-tenance with GitOps deployment

The GitOps deployment example comes with two environments tst and dev, to illustrate the idea of multi-tenancy. The names suggests two environments instead of two tenants.
To deliver the idea, I'll use the two fictional organizations instead:

Maple Hill Radiology (MHR)
Beaverdale Health Services (BHS)

done

done


[cairomm] add version 1.15.3

Resolves #473

@Mixaill,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@codicodi thank you, fixed.

@codicodi fixed, thanks.

I had an issue with the first patch applying (the one that creates 5 files). It was failing with:
git apply: bad git-diff - expected /dev/null on line 22
I instead checked-in the 5 files and modified the portfile to copy them over.
Thanks for the PR!


STYLE: Fix max line length in autopep8 hook

This makes the maximum line length consistent across the flake8 config files and the autopep8 pre-commit hook.
Additionally, I've fixed some issues flagged by flake8 and autopep8.

Maybe those mypy errors can be solved in a different PR.

@fepegar, I think the mypy failures all of the same kind (missing type annotations on the newly introduced functions), and should be fixed here in this PR because this PR introduced them.

Thanks for reviewing. I'm inefficiently waiting for the CI to show me the mypy errors, because I can't run mypy all the way locally:
$ make call_mypy
cd hi-ml-azure && make call_mypy
make[1]: Entering directory '/home/fernando/git/hi-ml/hi-ml-azure'
mypy --install-types --non-interactive setup.py
Success: no issues found in 1 source file
mypy --install-types --non-interactive -p health_azure
Success: no issues found in 11 source files
mypy --install-types --non-interactive -p testazure
Success: no issues found in 17 source files
make[1]: Leaving directory '/home/fernando/git/hi-ml/hi-ml-azure'
cd hi-ml && make call_mypy
make[1]: Entering directory '/home/fernando/git/hi-ml/hi-ml'
mypy --install-types --non-interactive setup.py
Success: no issues found in 1 source file
mypy --install-types --non-interactive -p health_ml
/home/fernando/miniconda3/envs/himl/lib/python3.7/site-packages/rich/__init__.py: error: Source file found twice under different module names: "rich" and "rich.__init__"
Found 1 error in 1 file (errors prevented further checking)
make[1]: *** [Makefile:57: call_mypy] Error 2
make[1]: Leaving directory '/home/fernando/git/hi-ml/hi-ml'
make: *** [Makefile:72: call_mypy] Error 2

The pre-commit CI is complaining about a file that is in main but not in this branch, which is not good.


how to show the outputs result on a web-service? or how can i get the result of inferrence for other application?

Prerequisites
Before submitting your question, please ensure the following:

[x] I am running the latest version of PowerInfer. Development is rapid, and as of now, there are no tagged versions.
[x] I have carefully read and followed the instructions in the README.md.
[ ] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).

Question Details
Please provide a clear and concise description of your question. If applicable, include steps to reproduce the issue or behaviors you've observed.
Additional Context
Please provide any additional information that may be relevant to your question, such as specific system configurations, environment details, or any other context that could be helpful in addressing your inquiry.

Hi @xujiangyu ! If you are referring to the examples/server application, you can access it by entering the server address (e.g., <IP_ADDRESS>:8080) in your browser. This allows you to interact with the model via a simple UI and see the outputs. For more details, please refer to the server documentation. Additionally, all inference outputs from the server are also printed to stdout.
For other applications, most of them print the inference results in the command line. You can find usage instructions in the examples/[application] directory, where each application's README and source code are available.

Hi @xujiangyu ! If you are referring to the examples/server application, you can access it by entering the server address (e.g., <IP_ADDRESS>:8080) in your browser. This allows you to interact with the model via a simple UI and see the outputs. For more details, please refer to the server documentation. Additionally, all inference outputs from the server are also printed to stdout.
For other applications, most of them print the inference results in the command line. You can find usage instructions in the examples/[application] directory, where each application's README and source code are available.

Thank you for your reply. I wonder how to add background knowledge in the parameters ,such as for RAG flow. I check the parameters of the main func and didn't recognise such a specific parameter.

Adding background knowledge is quite an application layer concept and is no more than injecting information in prompts. This project focuses on the LLM inference and doesn't provide convenient support for that.
I suggest using some wrappers like the llama-cpp-python library (you can use our forked version here), or the server endpoint. And then you can use any mainstream orchestration frameworks like LangChain to easily achieve the RAG workflow.


Make commands for modules customizable

Can you expand on this, what do you want to be added?

Can you expand on this, what do you want to be added?

So adding the ability to change the default commands. Where !roulette would be for the roulette module, some people may want it as !gamble etc etc - basically the same thing as the settitle and setgame commands

Yeah this was fixed by one of my PRs, I'll just close it.


update docs

Coverage remained the same at 50.704% when pulling de3aa23795a741fb94edb15138e0ad33bf0a9205 on hainingzhang:master into e37389a75a5bb70869e055f014a9b86bcf58d9f8 on vmware:master.


Remove combot dependency

Merging contributions across branches

I need to focus on teaching now. Can someone else test the  request?

At the directory examples, when I run python jsonld.py, it throws an error
  File "jsonld.py", line 19, in <module>
    jsonld_context = brain.get_jsonld_context(save_path=jsonld_filepath)
  File "/home/tk/repos/cltl-knowledgerepresentation/src/cltl/brain/basic_brain.py", line 192, in get_jsonld_context
    with open(save_path, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tk/repos/cltl-knowledgerepresentation/cltl/brain/ontologies/integration_context.jsonld'

The other python scripts run okay, but time to time it gives me a warning Failed to query Wikidata.


[5.4] Made parsedown and css-to-inline-styles optional

Will have to think about this. Just regular ->line()->action()->line() notifications use a Markdown template under the hood now.


Parallelize ParittionConfig in weather_dl

I am noticing that some large-scale Weather-DL Beam pipelines are taking multiple days to complete the PartitionConfig stage (before downloading any data), which only runs on a single worker.
There appear to be two bottlenecks:

"Prepare partitions" (1/3 of the time) produces a gigantic Cartesian product, and it seems to be somewhat slow just to create this many config objects. To speed this up, Beam needs some way of being able to parallelize this task, which it cannot do when there is only one input (the sole config file). A more scalable approach would be to use beam.Create() to directly create inputs corresponding to some of the partitioning (or even just a statisc number of partitions).
"Skip existing downloads" (2/3 of the time) checks for existing files, which is limited by the speed of IO, and means that even sole worker is not CPU limited. This could be sped-up by using a thread-pool to batch IO operations. This might be important because if workers are not CPU limited, Beam runners may not decide to add more workers.

For reference, we do analogs of each of these steps in xarray-beam:

Sharded data generation: https://github.com/google/xarray-beam/blob/84ed9eb6d9dcf99a0c5edddc2d7ce96ca4bcd50b/xarray_beam/_src/core.py#L401
Using a thread pool for IO: https://github.com/google/xarray-beam/blob/84ed9eb6d9dcf99a0c5edddc2d7ce96ca4bcd50b/xarray_beam/_src/threadmap.py


fix copySparse for empty qcow2 disk

Hi!
We are trying to migrate a vm for our users from qemu to vz virtualization. In our configuration we use an additional disk.
When the disk is empty and vmType is vz limactl hangs at Waiting for the essential requirement 1 of 2: "ssh".
This happens because neither write nor ftruncate is called for the file. In result after conversion, the file size is 0 bytes and the operating system cannot boot.
Steps to reproduce:
$ limactl disk create --size 1GB --format qcow2 test-disk
$ limactl start --name=test <config_file>

lima config:
vmType: "vz"
mountType: "virtiofs"
additionalDisks:
  - name: test-disk
    format: true
    fsType: "ext4"
images:
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20240308/ubuntu-22.04-server-cloudimg-amd64.img"
  arch: "x86_64"
  digest: "sha256:42dcf9757e75c3275486b397a752fb535c7cd8e5232ee5ee349554b7a55f1702"
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20240308/ubuntu-22.04-server-cloudimg-arm64.img"
  arch: "aarch64"
  digest: "sha256:0f5f68b9b74686b8a847024364031e2b95e4d3855e5177a99b33d7c55e45907f"

Fixes https://github.com/lima-vm/lima/issues/1964

I would like to write a test for converting disks, but I haven't found a simple way to create a qcow disk from tests. Alternatively, I can embed a small disk and use it in tests. If you agree, I'll write a test

Thanks, you can just exec qemu-img and call it a day

I added test and install qemu-utils for unit tests, but i don't now how install qemu-img for windows

@AkihiroSuda can you rerun failed tests?


WIP - Replace font load error handling with exceptions

Description
This is a counter proposal to error handling as demonstrated with #2231 by leveraging exceptions instead of optionals.
For general error handling discussions, please use #2139
For specific error handling discussions with exceptions, comments are highly appreciated! 🙂
Longer comment will soon follow on #2139, but some of the advantages I see over optionals:

Allows for carrying an error message into the user code
Tried and true concept, you'll find a lot of developers instantly getting exceptions, where optionals may need some more googling
Keeps the API simple, no need for -> accessors or other casts
Handle errors at the layer where you want
(IDE support for stack traces and pointing to where the error occurred)

Additionally, this also addresses the discussion point about non-default constructability.
How to test this PR?
Note: The simple case presented here doesn't demonstrate the full power of exception handle
#include <SFML/Graphics.hpp>
#include <iostream>

int main()
{
    auto window = sf::RenderWindow(sf::VideoMode{{1280u, 720u}}, "Minimal, complete and verifiable example");
    window.setFramerateLimit(144);

    try
    {
        const auto font = sf::Font::loadFromFile("MyFont.ttf");
        auto text = sf::Text{"Hello World", font, 100};

        while (window.isOpen())
        {
            for (auto event = sf::Event{}; window.pollEvent(event);)
            {
                if (event.type == sf::Event::Closed)
                {
                    window.close();
                }
            }

            window.clear();
            window.draw(text);
            window.display();
        }
    }
    catch (sf::LoadException& e)
    {
        std::cout << e.what();
        return -1;
    }
}

Not sure if I have the energy for a full-on "ADTs versus exceptions" discussion, but I will quote myself from a while ago, on Reddit:

If a function can fail, and (as the caller) I am expected to react to such failure, I want to know when and how the function can fail. Therefore, I want the outcome of the function to be visible as part of the type system, rather than be completely hidden from its declaration. For such functions, I would use algebraic data types such as std::optional, std::variant, std::expected, etc.
I strongly believe that most functions fit the situation mentioned above. Exceptions might have a role for errors that cannot be reasonably immediately handled such as std::bad_alloc, but honestly I've never caught and resolved such an exception in any real-world code.
My conclusion is: exceptions most of the time obfuscate the control flow of your code and make failure cases less obvious to the reader. Prefer not using exceptions, unless it's a rare case that can only be reasonably handled a few levels upstream.

Just by looking at your example, we can think about the consequences of introducing exception-based error handling in SFML:

Prior to this PR, SFML promised to never throw any exception. Now, users of SFML have to know that literally every line of SFML code they write might throw. However, most things in SFML will likely never throw an exception, yet we cannot make that promise on a library-wide basis anymore.

Due to the implicit nature of exceptions, it is not clear what code inside a try block can throw. In your example, sf::Font::loadFromFile("MyFont.ttf") is the only expression that can throw a sf::LoadException, yet you wrapped the whole program in a try { ... } catch, reducing clarity on where the error can actually happen.

Other examples where std::optional or something like std::expected shine below. Explicit vs implicit error handling:
// WITH EXCEPTIONS
const auto font = sf::Font::loadFromFile("MyFont.ttf"); // implicit error handling

// WITH ADTs
const auto font = sf::Font::loadFromFile("MyFont.ttf").value(); // explicit error handling

Falling back to a default font:
// WITH EXCEPTIONS
const auto font = [&]
{
    try
    {
        return sf::Font::loadFromFile("MyFont.ttf");
    }
    catch (const sf::LoadException& e)
    {
        return defaultFont;
    }
}();

// WITH ADTs
const auto font = sf::Font::loadFromFile("MyFont.ttf").value_or(defaultFont); // ;)

One problem I see here is that the try block has a far too wide scope. Only one line can fail, yet almost the entire function is covered in try, for technical reasons only -- the variable must remain in scope.
Unfortunately, this is a general problem with exception handling.
With optionals you could do this:
const std::optional<sf::Font> maybeFont = sf::Font::loadFromFile("MyFont.ttf");
if (!maybeFont)
    return EXIT_FAILURE;
const sf::Font font = *maybeFont;
// Now use `font` normally

And possibly even better once we figure out our "unwrap" idiom.
But how would you do early exit with exceptions?
// declare something here...
try
{
    const auto font = sf::Font::loadFromFile("MyFont.ttf");
}
catch (sf::LoadException& e)
{
    return EXIT_FAILURE;
}

// ...so that font can be used normally here.

You can't declare an sf::Font outside try-catch if it doesn't have a default constructor. So you'd still need to resort to something like optionals.
Of course you could structure your code differently, but I see both

not being able to early-exit
enveloping a huge block of non-fallible code in try

as disadvantages that you don't have with std::optional.

Btw, why the try-catch pattern works well in languages like C#, Java or Kotlin is because
a) references can be initialized to null (aka optional by accident), or
b) static analysis allows to declare variables and initialize them later in all possible code paths, or
c) because they're expression-oriented (e.g. Kotlin), and try-catch blocks have a value that can be assigned to a variable
In C++, you have none of the three. Instead, you need to work with old-school procedural control structures and extremely limited initialization rules.

See some of my counter arguments here (where your general error handling comments should've been put as well 😉).
I basically expected to have people cling to the sub-optimal example (thus the note) and will provide a better example sometime later.

Rebased on master. Only made one minor change to fix a test.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.


feat: supports min coverage of very_good_coverage

Description
Supports min_coverage property of very_good_coverage

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

@omartinma why are we making this change? Ideally projects at VGV should all have a min_coverage of 100 and we can use coverage_excludes to exclude things like generated code.

hahaahh.. was about to look for a feature request template to file for this feature ..I love the community ❤🙌

It would be cool if it came out in the next version, I would like to use it in my project, I am working on the coverage but I still haven't reached 100, that's why this configuration is necessary

It would be cool if it came out in the next version, I would like to use it in my project, I am working on the coverage but I still haven't reached 100, that's why this configuration is necessary

Exactly. It kinder hinder rapid development ..though it should be 100% by default until you shoot your foot by specifying the min_covergae 😂


[Bug]: package.json: conflict between puppeteer and @storybook/addon-storyshots-puppeteer

Would you like to work on a fix?

[ ] Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior
Hi!
When running npm install on 164e7657d58bc247d567d3601fa6bf01f0141d81 there is error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/puppeteer
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS><= 18" from<EMAIL_ADDRESS>npm ERR!   node_modules/@axe-core/puppeteer
npm ERR!     node_modules/@storybook/addon-storyshots-puppeteer
npm ERR!       dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! node_modules/@storybook/addon-storyshots-puppeteer
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/puppeteer
npm ERR!   peerOptional<EMAIL_ADDRESS>|| ^3.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@storybook/addon-storyshots-puppeteer
npm ERR!     dev<EMAIL_ADDRESS>from the root project

Problem
It's seems that puppeteer version in package.json is ^14.0.0, but in<EMAIL_ADDRESS>it is ^2.0.0 || ^3.0.0, which results in conflict.
Reproduction
run npm install (Windows 10, powershell, NodeJS v16.15.0, npm 8.5.5)
Chartist version
v1.2.1
Possible solution

Talk with @storybook/addon-storyshots-puppeteer on bumping to newer version of puppeteer
Downgrade to<EMAIL_ADDRESS>Get rid of @storybook/addon-storyshots-puppeteer dep 😄

@mayorovad Hi. Please use pnpm if you want start dev environment.


editor tab tests: functionality of cancel button

Test that cancel button does the right thing.  See loadedProfile.test.js TODO comment.
Requires #53

are we having a Cancel button?

No longer necessary, since applies to original BFE.


maven artifact is scala sdk

The jar file at these coordinates appears to be the scala SDK, not the java SDK. It does not match the downloadable jar file.
repositories{
maven { url "https://maven.zohodl.com" }
}
dependencies{
implementation 'com.zoho.crm:zohocrmsdk-6-0:1.0.0'
}

@mattluce Please get in touch with<EMAIL_ADDRESS>for further updates. We will follow up on this request, over there.
Thanks!


How to do park and go?

Hello! I try to start park and go scenario, but I don't know conditions of its launch and can't find any documentation about this scenario. I will grateful if someone tell about this scenario or show code to start it.

I found this which might be helpful to you https://daobook.github.io/apollo/docs/technical_documents/parking_scenario.html?highlight=park go#park-and-go-scenario


can't add 'botservice'

Describe the bug
Unable to add botservice extension
To Reproduce
Steps to reproduce the behavior.

Environment summary
Latest DSVM
Azure CLI 2.0.45
Additional context
Add any other context about the problem here.

upgrading from 2.0.45 CLI to 2.0.47 seems to have addressed the issue. The documentation says 2.0.45 is OK, may want to update

In the upcoming release, the BotService extension is suppressed as the command module has been greatly enhanced. Please check it out.


wrong arm64 binary format

What happened:
The binaries for arm64 linux (https://github.com/liqotech/liqo/releases/download/v0.10.1/liqoctl-linux-arm64) are not actually arm64 binaries but amd64.
What you expected to happen:
arm64 binaries
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Liqo version: v0.10.1
Liqoctl version:
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Node image:
Network plugin and version:
Install tools:
Others:

Hi @schnidrig! Thanks for your issue! This PR will fix it. At the moment, you can build it locally by running make ctl in the repo root folder.

The releases binaries have been fixed


AZS vs Azure Object Name

In the section, Install PowerShell in a connected scenario (with Internet connectivity) the command to verify the modules are installed may be incorrect:   Get-Module -ListAvailable | where-Object {$_.Name -like "Azs*"}
The object name should be "Azure", at least that is the only way to get a return back when I run it.

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

ID: 8b0612cf-1819-96eb-6462-229e2e8d8662
Version Independent ID: 0446f4d4-1684-abd1-4d3c-f9c7713e97de
Content: Install PowerShell for Azure Stack
Content Source: articles/azure-stack/azure-stack-powershell-install.md
Service: azure-stack
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@kristopherjturner Thanks for your feedback! We will investigate and update as appropriate.

@kristopherjturner They are out now :) Cheers, Matt #please-close


Uncaught Error: ENOENT, open 'undefined//Users/darrenrogan/development/ruby/thelocker/website/thelocker/project.json'

[Enter steps to reproduce below:]

I'm just working on my rails / ember project.
Keeps popping up this error
I don't have a project.json file, not sure whats trying to load it

Atom Version: 0.166.0
System: Mac OS X 10.10.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT, open 'undefined//Users/darrenrogan/development/ruby/thelocker/website/thelocker/project.json'
At fs.js:75

Error: ENOENT, open 'undefined//Users/darrenrogan/development/ruby/thelocker/website/thelocker/project.json'
  at Error (native)

Commands
     -0:02.1 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui.find-visible)
     -0:00.0 core:confirm (atom-text-editor.editor.mini)

Config
{
  "core": {},
  "editor": {
    "showInvisibles": true,
    "showIndentGuide": true,
    "invisibles": {}
  }
}

Installed Packages
# User
atom-beautify, v0.17.0
circle-ci, v0.3.0
ember-cli-helper, v0.4.0
ember-snippets, v1.0.0
language-docker, v1.1.1
language-ember-script, v0.1.0
language-emberscript, v0.1.0
language-emblem, v0.1.0
minimap, v3.3.12
recent-files, v0.3.0
ruby-slim, v0.2.0
save-session, v0.11.0
tabs-to-spaces, v0.8.0

# Dev
No dev packages

This should be fixed in the latest version of save-session. Please upgrade the save-session package.
See https://github.com/mpeterson2/save-session/issues/43 for reference.


Required installation date is not changing

The required installation date is not changing with new version of the nudge Nudge_Suite-<IP_ADDRESS>796

<key>optionalFeatures</key>
    <dict>
      <key>acceptableCameraUsage</key>
      <true/>
      <key>acceptableScreenSharingUsage</key>
      <true/>
      <key>aggressiveUserFullScreenExperience</key>
      <true/>
      <key>asynchronousSoftwareUpdate</key>
      <true/>
      <key>attemptToFetchMajorUpgrade</key>
      <false/>
      <key>disableNudgeForStandardInstalls</key>
      <false/>
      <key>disableSoftwareUpdateWorkflow</key>
      <false/>
      <key>enforceMinorUpdates</key>
      <true/>
      <key>honorFocusModes</key>
      <true/>
      <key>refreshSOFAFeedTime</key>
      <integer>86400</integer>
    </dict>
    <key>osVersionRequirements</key>
    <array>
      <dict>
        <key>aboutUpdateURL</key>
        <string>https://s.rvice-now.com/myservices?id=kb_article&sys_id=ba63ebcb8716191</string>
        <key>activelyExploitedCVEsMinorUpdateSLA</key>
        <integer>3</integer>
        <key>nonActivelyExploitedCVEsMinorUpdateSLA</key>
        <integer>5</integer>
        <key>requiredMinimumOSVersion</key>
        <string>latest-supported</string>
        <key>targetedOSVersionsRule</key>
        <string>default</string>
        <key>standardMinorupdateSLA</key>
        <integer>7</integer>
      </dict>
    </array>
    <key>userExperience</key>
    <dict>
      <key>allowGracePeriods</key>
      <true/>
      <key>allowedDeferrals</key>
      <integer>15</integer>
      <key>gracePeriodInstallDelay</key>
      <integer>3</integer>
      <key>gracePeriodLaunchDelay</key>
      <integer>3</integer>
      <key>gracePeriodPath</key>
      <string>/private/var/db/.AppleSetupDone</string>
      <key>imminentRefreshCycle</key>
      <integer>100</integer>
      <key>initialRefreshCycle</key>
      <integer>300</integer>
      <key>nudgeMinorUpdateEventLaunchDelay</key>
      <integer>5</integer>
      <key>nudgeRefreshCycle</key>
      <integer>30</integer>
      <key>randomDelay</key>
      <false/>
    </dict>
    <key>userInterface</key>
    <dict>
      <key>fallbackLanguage</key>
      <string>en</string>
      <key>forceFallbackLanguage</key>
      <true/>
      <key>iconDarkPath</key>
      <string>/Users/Shared/ABB.png</string>
      <key>iconLightPath</key>
      <string>/Users/Shared/ABB.png</string>
      <key>requiredInstallationDisplayFormat</key>
      <string>dd/MMM/yyyy</string>
      <key>showActivelyExploitedCVEs</key>
      <false/>
      <key>showDeferralCount</key>
      <true/>
      <key>showDaysRemainingToUpdate</key>
      <true/>
      <key>showRequiredDate</key>
      <true/>
      <key>simpleMode</key>
      <false/>
      <key>updateElements</key>

find the log here :
2024-08-17 12:58:09.669918+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] Assessing macOS version range for active exploits: ["14.5", "14.6", "14.6.1"]
2024-08-17 12:58:09.670862+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] SOFA Actively Exploited CVEs: false
2024-08-17 12:58:09.672181+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] Setting requiredInstallationDate via SOFA to 2024-09-04 00:00:00 +0000
2024-08-17 12:58:09.672251+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] SOFA Matched OS Version: 14.6.1
2024-08-17 12:58:09.672452+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] SOFA Assets: ["J132AP", "J137AP", "J140AAP", "J140KAP", "J152FAP", "J160AP", "J174AP", "J180dAP", "J185AP", "J185FAP", "J213AP", "J214KAP", "J215AP", "J223AP", "J230KAP", "J274AP", "J293AP", "J313AP", "J314cAP", "J314sAP", "J316cAP", "J316sAP", "J375cAP", "J375dAP", "J413AP", "J414cAP", "J414sAP", "J415AP", "J416cAP", "J416sAP", "J433AP", "J434AP", "J456AP", "J457AP", "J473AP", "J474sAP", "J475cAP", "J475dAP", "J493AP", "J504AP", "J514cAP", "J514mAP", "J514sAP", "J516cAP", "J516mAP", "J516sAP", "J613AP", "J615AP", "J680AP", "J780AP", "Mac-1E7E29AD0135F9BC", "Mac-63001698E7A34814", "Mac-937A206F2EE63C01", "Mac-AA95B1DDAB278B95", "VMA2MACOSAP", "VMM-x86_64"]
2024-08-17 12:58:09.672522+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] SOFA CVEs: [:]
2024-08-17 12:58:09.672589+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] Assessed Model IDs: ["Unknown", "", "J514sAP", "J514sAP"]
2024-08-17 12:58:09.672657+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:sofa] Assessed Model ID found in SOFA Entry: true
2024-08-17 12:58:09.676015+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
2024-08-17 12:58:10.056649+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 12:58:10.076399+0530  localhost Nudge[18509]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 13:30:02.375663+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:softwareupdate-device] Error assessing DeviceID: remotectl: Unable to find device "localbridge".
2024-08-17 13:30:02.380768+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] Assessing macOS version range for active exploits: ["14.5", "14.6", "14.6.1"]
2024-08-17 13:30:02.381563+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] SOFA Actively Exploited CVEs: false
2024-08-17 13:30:02.382887+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] Setting requiredInstallationDate via SOFA to 2024-09-04 00:00:00 +0000
2024-08-17 13:30:02.382962+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] SOFA Matched OS Version: 14.6.1
2024-08-17 13:30:02.383171+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] SOFA Assets: ["J132AP", "J137AP", "J140AAP", "J140KAP", "J152FAP", "J160AP", "J174AP", "J180dAP", "J185AP", "J185FAP", "J213AP", "J214KAP", "J215AP", "J223AP", "J230KAP", "J274AP", "J293AP", "J313AP", "J314cAP", "J314sAP", "J316cAP", "J316sAP", "J375cAP", "J375dAP", "J413AP", "J414cAP", "J414sAP", "J415AP", "J416cAP", "J416sAP", "J433AP", "J434AP", "J456AP", "J457AP", "J473AP", "J474sAP", "J475cAP", "J475dAP", "J493AP", "J504AP", "J514cAP", "J514mAP", "J514sAP", "J516cAP", "J516mAP", "J516sAP", "J613AP", "J615AP", "J680AP", "J780AP", "Mac-1E7E29AD0135F9BC", "Mac-63001698E7A34814", "Mac-937A206F2EE63C01", "Mac-AA95B1DDAB278B95", "VMA2MACOSAP", "VMM-x86_64"]
2024-08-17 13:30:02.383227+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] SOFA CVEs: [:]
2024-08-17 13:30:02.383292+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] Assessed Model IDs: ["Unknown", "", "J514sAP", "J514sAP"]
2024-08-17 13:30:02.383355+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:sofa] Assessed Model ID found in SOFA Entry: true
2024-08-17 13:30:02.396425+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
2024-08-17 13:30:02.972532+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 13:30:02.995773+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 13:30:32.796098+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:31:02.796054+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:31:32.795935+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:49:48.166663+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 13:49:48.177831+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] honorFocusModes is configured - checking focus status. Warning: This feature may be unstable.
2024-08-17 13:50:17.896199+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:50:20.427071+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] Defaulting actionButtonPath to /System/Library/CoreServices/Software Update.app.
2024-08-17 13:50:20.427186+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked updateDevice
2024-08-17 13:50:28.145335+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] Defaulting actionButtonPath to /System/Library/CoreServices/Software Update.app.
2024-08-17 13:50:28.145443+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked updateDevice
2024-08-17 13:50:47.895339+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:50:58.253558+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] Defaulting actionButtonPath to /System/Library/CoreServices/Software Update.app.
2024-08-17 13:50:58.253628+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked updateDevice
2024-08-17 13:51:05.654113+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked deviceInfo
2024-08-17 13:51:17.687577+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] Defaulting actionButtonPath to /System/Library/CoreServices/Software Update.app.
2024-08-17 13:51:17.687661+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked updateDevice
2024-08-17 13:51:17.879196+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:51:27.400715+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked deviceInfo
2024-08-17 13:51:30.096623+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:utilities] Defaulting actionButtonPath to /System/Library/CoreServices/Software Update.app.
2024-08-17 13:51:30.096672+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked updateDevice
2024-08-17 13:51:47.894648+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] Nudge is currently the frontmostApplication
2024-08-17 13:52:09.494255+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User initiated a deferral: 2024-08-17 09:22:09 +0000
2024-08-17 13:52:09.499466+0530  localhost Nudge[18993]: [com.github.macadmins.Nudge:user-interface] User clicked primaryQuitButton

The logs are pretty clear. What are you expecting to see?

What is the option to change the date ? I have set the date is not accepted
it’s taken auto
Thanks & Regards,
Manikandan R
Contact: +91-9902103878
E-mail: @.***
On Sat, 17 Aug 2024 at 4:23 PM, Erik Gomez @.***> wrote:

The logs are pretty clear. What are you expecting to see?
—
Reply to this email directly, view it on GitHub
https://github.com/macadmins/nudge/issues/644#issuecomment-2294825073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUGJU4ENAQVEFXPTTAM5QTZR4TS7AVCNFSM6AAAAABMVHHZ2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHAZDKMBXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

You are using an older JAMF json file which was setting "standardMinorupdateSLA" instead of the correct key of "standardMinorUpdateSLA"


Storing snippets from a podcast

Some podcasts are not just entertaining but also contain valuable insights. There are a few apps like snipd or Momento that offer the user to save snippets from the podcast as text.
However they are closed source, buggy and do not work well with other OSS solutions like LogSeq.
Given that there is a speech_to_text Module for flutter I was wondering if it would be feasible to integrate such a feature into the Anytime player?

Hi @jersonal-com,
I have had in the back of my mind for a while, an option to save notes from episodes via the transcripts (for those podcasts with transcripts). I hadn't considered using speech to text - it's an interesting idea. There are a few things in the queue at the moment, but I'll try to find some time to take a look at this library.
My only concern with using speech to text is the real-time nature of generating the note, i.e. you have to play the audio clip in real time to generate the text before you can save it as a note. Using an existing transcript, the user would have the option of either directly selecting a block of text, or selecting a snippet of audio and saving that part of the transcript as a note.

Hi @amugofjava,
Thanks for the quick reply. The Momento app also seems to rely on speech to text (when it was working - it seem broken since some time) and at least for my usage pattern realtime is not important. My typical usage would be like so:

I am listening to a podcast while in the car or while running or exercising
I hear something relevant that I don't want to forget and hit the "save snippet" button
In some of the apps one can re-configure the "previous track" signal from the headset to trigger the save instead
Given the situation (car, jogging, etc.) I would not want to select text or edit the note in that moment
After listening to the podcast episode at a later point in time I will copy all the snippets to LogSeq and while doing so also clean up the recordings and add notes, tags, etc.

I don't know if my usage is typical but given the implementation in other apps it seems to be a common pattern that recording and editing are time-wise separated tasks.

Hi @jersonal-com,
Thanks for the further details - that workflow makes complete sense and is, I believe, how Snipd implements its note taking.
I like this idea and can see it being very useful, but there are several other items in the queue so it may be some time before I have an opportunity to look at this - unless someone in the community would like to pick this up.


[WIP] Insert URL Modal

What does this PR?
fixes #2208 .

added modal for inserting url while writing post in editor
takes label and url from input and formats it.
insert raw url if no label is provided

Where should the reviewer start?

Go to editor screen
tap on link button in editor footer.
modal opens with rspective fields.

Issue number
#2208
Screenshots/Video
https://user-images.githubusercontent.com/48380998/157290599-1790d053-5e45-4022-8fb8-41a613510f0f.mp4

@noumantahir check the latest update here.

added support for plain, video and image type urls
added support for preview of video and images
added select text/url to prefill the label/url and insert the other.
minor bugs fixed as well.

https://user-images.githubusercontent.com/48380998/159011370-225dadf0-d1d7-4738-bae3-8cc2b084d79b.mp4

@aliseyalvi take it easy, always test each feature you implement aggressive with an intention to break you own code....

@noumantahir PR updated.

fixed preview not changing issue
fixed label not updating issue
fixed url not showing complete issue
removed url label from plain url
added line breaks before and after image and video
added side effect for each change e-g label/url/urltype and update the preview

@noumantahir PR updated.

added clipboard listener. When insert model opens it checks for clipboard and if there is a valid urls it prefills the url input.
fixed preview View height with scrollview support to contain large and portrait images/videos
added image label when image url is inserted.


Can no longer use switch-buffer-functions-el

I get a recursive load fatal error that crashes emacs. Deleting the package and reinstalling crashes emacs upon reinstalling. Adding :ensure t to use-package so that it handles the download crashes emacs upon installation.

Sorry for inconvenience, I saw it reproduced.

Things work when I updated it
The error occurred when I deleted the package once, and reinstalled it

For now I've reverted the change and will look into it, really thanks!

No, thank you, this package is great, really appreciate it.

This package works as I expect, thank you.


Variable test coverage in backends.Sender

There's some more variable test coverage in backends.Sender.

This looks like fun ;) I will start working on that :)!

Awesome! It doesn't seem to show in the link in the issue, but I believe the problem is here, where sometimes stream is nil, sometimes it's not nil.  If the coverage check saw it get ran in one build, and then in the next build it gets skipped, it shows as a failure.
The hardest part of this is typically figuring out how to reliably trigger the code path in a test.

I have slight problems with this issue, so if anyone will find the solution do not hesitate ;)
Firstly I was thinking about mocking somehow this buffer but it's not so easy for me ;)

My approach would be to work backwards from the desired state.

stream must not be nil when Run exits
The for loop from 45-85 has no break, so Run only exits at lines 61 and 81.  Line 61 is more about the error path, so we'll ignore that for now and look at line 81.  We want to innerRun to return with both a cancelled context error, and a valid *Stream.
innerRun only checks context.Done() when stream is nil, which means that it's impossible for innerRun to return both a cancelled context and a stream, so we backtrack to line 61
The for loop is entered if Sender.ConnFanctory() returns an error, which we can force easily.
The first time through, stream will be nil, so it enters reads a Stream from Sink, then re-enters the loop
The second time through, stream will not be nil, so it reads streamCancel from stream.Ctx, and waits for:
6.1. the main context to be cancelled (this is our target)
6.2 a new Stream from Sink (this will never fire, because Sink is nil)
6.3. the stream context to be cancelled (this is bad, it cleans up the stream)
6.4. the 1 second timer to fire

So this gives us an approach:

Create a ConnFactory that always fails, with a context that we give it
Send a Stream to the Sink, which indicates "success" when the Cb is called
Cancel the context we provided
Wait for Cb to be called (or a general timeout, because if it doesn't call us, we don't want to wait until the test times out).

When we look at the test file though, we find almost this exact process already exists in TestSendCallsCallbacksOnMainCtxDone.  Clearly something isn't working quite as expected.
I can explain the rest, but if you'd like to take this as a hint and try working through it further, I'll give you that opportunity (with a couple of extra hints (hopefully) hidden below).

Hint 1
"Channels" section in Effective Go.

Hint 2
... If the channel is unbuffered, the sender blocks until the receiver has received the value. If the channel has a buffer, the sender blocks only until the value has been copied to the buffer ...

@pkruk - I've put in a PR with the fix, and an explanation of what triggered it.  You may find Kavya Joshis talk on channels to be interesting, as it goes in to the schedulers behavior when channels are buffered/full/unbuffered.  I recommend all her content.

nice thanks! will watch it definitely!


Network forwarding doesn't work.

For replay this bug you need:
Test case
Step preparation: should install SS win installer.

Run SS through tray -> change wifi network -> relaunch the SS launcher.

Result: you get an Error

error_03.06.2016.txt
info_03.06.2016.txt

Fixed


Create modern NTVS extension

We should split NTVS out into two components:

auto-updating vsix for fast-moving components
modern vsix for slower-moving components

I think this was handled with the dev15 work. We now generate VSIXs that are used as our primary install mechanism


Create Frisbee!.js

I wanted to try out making a mod for infinite chef so i decided to add frisbees, can you please review it?

you should add more; file name is also nonstandard (could be frisbee.js)

alright, im gonna make a new mod since now I kinda understand how to add more things to a mod


Config issue with deployHdAurora.py

There seems to be a config issue with when running the deploy script for hdAurora. It expects the source of USD to be in src/USD but it is actually the name of the zip file which is downloaded with the installDependencies script. And therefore the path is src/USD-22.08-Aurora-v22.11
Python traceback:
Traceback (most recent call last):   File "Scripts\deployHdAurora.py", line 77, in <module>     if(subprocess.run(["python","build_scripts/build_usd.py","--python",args.usd_root],cwd=usd_repo_root).returncode!=0):   File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 493, in run     with Popen(*popenargs, **kwargs) as process:   File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 858, in __init__     self._execute_child(args, executable, preexec_fn, close_fds,   File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1311, in _execute_child     hp, ht, pid, tid = _winapi.CreateProcess(executable, args, NotADirectoryError: [WinError 267] The directory name is invalid
Modifying the deploy script to the correct path fixes this issue.

The issue should be fixed in v22.12. There are structural changes of the externals so please have a clean run of installExternals.py (i.e. remove the old one and re-run the script).


vite-imagetools

It would be nice to have some sort of config, that will allow to seamlessly integrate with vite-imagetools.
For example to fill srcset property instead of src.
Or to pass vite-imagetools meta to some svelte component as props.

For example to fill srcset property instead of src.

The preprocessor already parses srcset for any link to images. Would that be enough for imagetools integration?

Or to pass vite-imagetools meta to some svelte component as props.

I've also thought about some sort of config that works on component props. Should be doable with a bit of tweaking. But I wonder if we would need that if we have a svelte-imagetools (which I haven't had time to work on).
Otherwise if you have an idea of the ideal usage syntax, it would help to figure out what needs to be done to support it.

Closing this as I think it's better to have a separate svelte-imagetools package to tackle this, to also reduce the scope of the package right now. Perhaps if the API can be converged at some point, we can consider having support for it too.


Add middleware features

Need to do more research on the benefit of this.
create middleware Check, Convert, and Call features

Added middleware features: call, check, and convert.  Added a way to disable middleware pipeline from updateStore function.


Extra nulls in path string with 28.1 Linux package

With the emacs 28.1 package, I get this error when I start emacs
Warning (initialization): An error occurred while loading ‘/home/aaronmeurer/.emacs’:

Wrong type argument: filenamep, /home/aaronmeurer/anaconda3/share/info\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0/

This is coming from one of the packages in my init file, but the extra nulls indicate that this is likely an issue with the conda build. Somewhere, the extra null padding that is done for the binary path replacement messed up and created a string that emacs itself is interpreting as including nulls.
I didn't see this issue on macOS, only on Linux.

I've been having the same issue. Has anyone found a solution?

Let me see if I can bisect my init file.

Hmm, now when I try to start emacs in a fresh environment, I just get
emacs: symbol lookup error: emacs: undefined symbol: malloc_set_state, version GLIBC_2.2.5

Ouch. We need to add tests that run the GUI. I've just recently learned how to do that:

add xorg-x11-server-Xvfb to yum_requirements.txt as in https://github.com/conda-forge/rstudio-feedstock/blob/main/recipe/yum_requirements.txt
use xvfb-run to test the GUI as in  https://github.com/conda-forge/rstudio-feedstock/blob/47a828f47a12f14713429a28a7d022fa9d6b7fd9/recipe/meta.yaml#L151

Although in this case the error occurs with emacs -nw too, so that's not the problem.

Hmm, now when I try to start emacs in a fresh environment, I just get
emacs: symbol lookup error: emacs: undefined symbol: malloc_set_state, version GLIBC_2.2.5

This happens because malloc_set_state has been removed from glibc:

The deprecated functions malloc_get_state and malloc_set_state have been
moved from the core C library into libc_malloc_debug.so.  Legacy applications
that still use these functions will now need to preload libc_malloc_debug.so
in their environment using the LD_PRELOAD environment variable.

So actually this is not because of a change in conda-forge packaging but because of a change in the host operating system. You can work-around with
export LD_PRELOAD=/usr/lib/libc_malloc_debug.so

(assuming you have /usr/lib/libc_malloc_debug.so on the host OS, adjust as needed). Can you do that and then continue trying to pin down the embedded nulls issue?
I think this is probably unrelated to the extra nulls issue here, so let's open a new issue for the the glibc problem.

The extra nulls first appear in configure-info-directory as far as I can tell. If you look at it with describe-variable you can see the nulls.

The extra nulls first appear in configure-info-directory as far as I can tell. If you look at it with describe-variable you can see the nulls even in emacs -Q.
The error actually gets triggered in info.el (part of Emacs) which is probably loaded by many configs at some point or other.

Thanks, I'll look into this when I get back from vacation next week.

A temporary fix is
(setq Info-default-directory-list '("~/miniconda3/share/info/" "/usr/share/info/"))
in early-init.el

There are currently two PRs being worked on to address this:

https://github.com/conda-forge/emacs-feedstock/pull/64 uses site-start.el to fix Info-default-directory-list after the fact
https://github.com/conda-forge/emacs-feedstock/pull/65 patches emacs to prevent the problem in the first place.

A third option suggested by https://www.gnu.org/software/emacs/manual/html_node/info/Emacs-Info-Variables.html is to set the INFOPATH environment variable, which should prevent Info-default-directory-list from being used at all.

This still occurs on Emacs 29.2; any progress in finishing the PRs?