[WIP] LINK-1436 Remove send to publishing button from panel

Description :sparkles:
There is no status for sending event for publishing so should hide the button from external users and only show draft.
Issues :bug:
Closes :no_good_woman:
LINK-1436:
Related :handshake:
Testing :alembic:
Automated tests :gear:
Manual testing :construction_worker_man:
Screenshots :camera_flash:

Additional notes :spiral_notepad:

Codecov Report

Merging #208 (f18fa56) into develop (396d45a) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #208      +/-   ##
===========================================
- Coverage    99.86%   99.86%   -0.01%
===========================================
  Files          507      507
  Lines         9465     9456       -9
  Branches      2080     2072       -8
===========================================
- Hits          9452     9443       -9
  Misses          13       13

Files Changed
Coverage Δ

src/domain/event/eventForm/EventForm.tsx
100.00% <ø> (ø)

src/domain/event/utils.ts
100.00% <ø> (ø)

...main/event/createButtonPanel/CreateButtonPanel.tsx
100.00% <100.00%> (ø)

...c/domain/event/editButtonPanel/EditButtonPanel.tsx
93.93% <100.00%> (-0.51%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Broken with the latest spotify version (home screen)

Spotify for Windows
<IP_ADDRESS>6.gbe7ea9a7
spicetify v2.9.7
seems to only be somewhat broken on the home screen

Sadly, I can't really continue development on this theme, since Spotify moved to a React backend and removed the Chrome Dev Tools.
There is a workaround, but it only works on Windows, but I'm definetely never gonna touch that OS again.

Oh, wait, they actually fixed DevTools


an example code how to make it a game human vs comp or human vs human

on python module chess https://github.com/niklasf/python-chess, the owner include the link for example how to create their creation useful with a game human vs comp or human vs human
https://jupyter.brynmawr.edu/services/public/dblank/CS371 Cognitive Science/2016-Fall/Programming a Chess Player.ipynb
perhaps sente have another example how to achieve it
tried before base on python chess notebook link above but my problem is when the human player turn input, it's hard to map it into sente move
e.g. using move = input("Move : "), when type 4,4 the machine think it's as string
when separate it
x = int(input("X : ") )
y = int(input("Y : ") )
move = x, y
then it still raise an error

Go has a standardized way of interacting with go programs called the Go Text Protocol (GTP for short). The Sente GTP module includes utilities for interacting with GTP. GTP provides a command-line interface that works in the requested way.

    A  B  C  D  E  F  G  H  J  K  L  M  N  O  P  Q  R  S  T

GTP can also be used to connect Sente to programs like Sabaki or KGS. Instructions can be found on the GTP docs to connect sente to Sabaki

Looking at your code, I've also discovered you are running Sente < 0.3 and I should note that GTP support was added in sense 0.4, so you need to upgrade to gain access to the sense GTP features.


eebus communication

The current integration based on the myvaillant app is not well suited to using PV (solar) surplus and running the heat pump during the day during the heating season (without cycling).
Is there a plan to provide a second integration based on the eebus, which on the one hand works via the local network and on the other hand makes it possible to communicate the electrical power consumption at which the heat pump can/should run?
Or alternatively specify a period in which the heat pump should not cycle (during the day).
In principle, something like this could be regulated via the desired target temperature (increasing the desired target temperature) if you know at what electrical power consumption it stops working, so that you prevent the heat pump from cycling.
Perhaps the use of the eebus would also offer completely new possibilities for how energy management can be sensibly integrated. e.g. by communicating the current PV surplus. This could then be easily implemented via a service.

ebus is one possible solution. There are a few bus adapter available. And with ebusd there is also a software to get the bus messages into HA (via MQTT).
The only thing needed is a valid ebus documentation from Vaillant for all possible devices.
I have an ebus adapter and ebusd running. But what messages are available or send is a lot of trial and error.
Did you know someone who has access to Vaillant ebus documentation?

I think one possible solution is to use the evcc Add-On. maybe you could do what you want using that add-on (or evcc standalone).


Use influxDB instead of MySql for timeseries [V2 Feature Request]

InfluxDB is a well performing Open Source DB which suits the timeseries functionality better than MySql. It might be an idea supporting this DB.

I use SQLite for my database which both stores and reads tick data, it's faster than Arctic which was designed for tick data.
Optimize after measuring, not before.

I rather prefer the previous plans of using "PyStore" for data storage (or SQLite+SQLAlchemy, if it MUST be SQL, with SQLAlchemy is easier to use another database). I just do "daily" trading so for me it is an additional pain to keep database servers "spinning" 24/7.

Didn't even know about pystore. Nice. I tested with parquet myself but
found it inferior (if you can believe it) to storing and retrieving
compressed data frames from SQLite
On Sun., Jun. 7, 2020, 4:29 a.m. FrithiofJensen<EMAIL_ADDRESS>wrote:

I rather prefer the previous plans of using "PyStore" for data storage (or
SQLite+SQLAlchemy, if it MUST be SQL, with SQLAlchemy is easier to use
another database). I just do "daily" trading so for me it is an additional
pain to keep database servers "spinning" 24/7.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ranaroussi/qtpylib/issues/154#issuecomment-640177174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJDE4VA2LUO22PHXJ7TZEE3RVNFVXANCNFSM4NNL4DTA
.


Efficient compute / computeIfAbsent / computeIfPresent in maps

Currently agrona maps use the default java.util.Map implementation of computeXXX methods which may involve doing several lookup in the map. Implementations specialized for int/long values have a custom computeIfAbsent that basically avoid Integer/Long allocations, but still does up to 2 lookups.
Would you accept a PR that creates dedicated implementations of computeXXX methods (and modifies existing primitive specializations of computeIfAbsent) so that retreiving the index of the entry to get/modify/remove is done only once ?

Yes we would consider a PR on this.

I will provide a PR soon.
However I found a little consistency issue with Int2NullableObjectHashMap and the current primitive computeIfAbsent : if a key is mapped to null, calling the default JDK computeIfAbsent(Integer, Function<Integer, ? extends V>) will compute a new mapping, however calling agrona computeIfAbsent(int, IntFunction<? extends V>)  will not compute a new mapping, and it returns null.
Should I change this behavior so that both methods match the JDK semantics in my PR ?

Fixed by #259


Error with Exported Variable and Type Inference

Descripttion
I encountered an issue  that involves TypeScript type inference and named exports. The problem arises when attempting to export a  variable created via zodToOpenAPI, which leads to an error related to the ExtendedSchemaObject
Steps to Reproduce:
import { createZodDto, zodToOpenAPI } from 'nestjs-zod';
import { z } from 'nestjs-zod/z';

export const EnvConfigSchema = z.object({
  PORT: z.coerce.number().int().positive().describe('Port number'),
});

export const EnvConfigApi = zodToOpenAPI(EnvConfigSchema);

Expected Behavior:
Typescript intellisense should not scream.
Actual Behavior:
Exported variable EnvConfigApi has or is using name ExtendedSchemaObject from external module "node_modules/.pnpm/nestjs-zod@2.3.3_@nestjs+common@10.0.0_@nestjs+core@10.0.0_@nestjs+swagger<EMAIL_ADDRESS>but cannot be named.
Proposed Solution:
The interface ExtendedSchemaObject should be included in the module's exports.
This resolves the issue.

import { SchemaObject } from<EMAIL_ADDRESS>import { createZodDto, zodToOpenAPI } from 'nestjs-zod';
import { z } from 'nestjs-zod/z';

export const EnvConfigSchema = z.object({
  PORT: z.coerce.number().int().positive().describe('Port number'),
});

export const EnvConfigApi: SchemaObject = zodToOpenAPI(EnvConfigSchema);

This resolves the error. However i didn't figure out yet how to use zodToOpenAPI


Anomaly detector

Sometimes you don´t know what to check! If one user is infected, number of emails sent goes craizy, or if an error not seen before, your server log may write a bunch of lines, much more than usual... This method can help detecting statistically outliers.
You can use it in the same way to check time series, if your free space change suddenly, why wait to 80% of your disk is full?

This is great, Is it possible to filter ?
Taking your example, if your monitored the free space in disk for 2 diferent disks, is it possible to make a rule only for one of them?

You can use "filter:" in the normal way to redefine your query. Even you can use "query_key" to check each one in isolation.

I'm trying to use this on cpu percentage. Here are the events

However I don't have any match with this settings
index: metricbeat-*
name: Example anomaly rule
type: anomaly
anomaly_type: up
value_field: system.cpu.user.pct
alert_on_new_data: false
K: 2
number_windows: 10
ignore_empty_window: true
timeframe:
  minutes: 10
alert:
- "debug"

I think you can improve performance with a filter, something like:
 filter:
 - term:
     metricset.name: "cpu"

Anyway, there was not support for dots in fields names, try a git pull now, and give it a shot.
thanks for testing!

This PR looks very interesting!  Gotta try.

Yeah, anybody had success with this? Would definitely want to get this merged if possible... Exactly what I need for use cases at work. Collecting metrics with metricbeat, and this is a great way to trigger alerts based on existing data.

@Qmando , what do you think about this PR, do you plan to merge it in one of future versions?

There are some bugs we're working on right now. I'll push the patch no later the end of the week.

Sorry fot the delay!

Wow that's a massive update, awesome job @ruria ! Thank you!

Good!

Hello everybody,
do you have any news about this PR? @ruria @Qmando

Can I help @Qmando ?

Can you resolve conflicts please :)

Can you resolve conflicts please :)

@ruria
Are you planning to make a pull request to elastalert2?
https://github.com/jertel/elastalert2


Implement sort=False for set_index

I mostly agree with your opinion, but want to suggest another alternative that we should at least think about:
We could be smart about actually sorting the Index or about calculating the divisions during optimization time. We can look at the expression tree to figure out whether or not sorting the Index would actually help. This has it's own set of complications, but would reduce the difference between dask/dask and us. That said I am generally more careful about breaking and changing stuff than others.

We can look at the expression tree to figure out whether or not sorting the Index would actually help

I would be very open to this, but agree it could get complicated.

That said I am generally more careful about breaking and changing stuff than others.

I am also pretty careful about avoiding "breaking changes" in general. However, I also think we should take advantage of dask-expr's lack of API inertia while we can :)


When restarting dk there is a padding/gaps at the top

I'm running Debian 12, with dk v2.3 I just updated dk and when I restart the window manager a gap appears at the top of the screen, and every time I restart the gap increases, this didn't happen previous to updating. I'm running polybar from the Debian repositories. It's my first time posting an issue, so please tell me what can I do to provide you with more information to test this.

Also, I made the update following the steps on the doc

Hi, I did some testing. I think is an issue with starting polybar within dkrc. I just commented out the line that launched polybar on my dkrc and put it on .xinitrc and that solved the problem. Hope it helps to do some testing

This is not a dk bug, this is standard behavior of polybar. To avoid this, run polybar using a script as specified in archwiki     https://wiki.archlinux.org/title/Polybar#Running_with_a_window_manager   or simply killall polybar && polybar example & in dkrc

Hi, thank you. You were right! Sorry for opening this without doing proper research


Admin Generator (Future): Add initialValuesProp setting to form-field

Requirement
Generate a form able to pre-fill fields with runtime values, e.g. firstname/lastname filled in some previous step/form.
Solution
Add form-field setting to add prop in generated form to provide a default-value used in create-mode.
export const ProductForm: FormConfig<GQLProduct> = {
    type: "form",
    ...
    fields: [
        {
            ...
            initialValueProp: true,
        },
    ]
}

Open issues

[x] handling nesting introduced with #2352 if merged earlier
[ ] missing support for nested fields with required siblings

Additional Info

dependent on generateFormField.ts able to define props (currently also used in 2 other pull-requests, #2465 and #2404)
dependent on adding var to useMemo-dependency (currently also used in another pull-request)

Have you considered adding this on record-level (i.e., initialValues?: Partial<FormState>) instead on field-level?

I'm not sure if I understand you correctly. Do you mean handling via initialValues-prop in generated grid? I think this probably wouldn't be the way I would do it handmade...
currently my main concern is how to support initialValuesProp in fields defined in optionalNestedFields if any of the other nested fields is required (I already stumbled upon this in mergehaufen). It wasn't possible because the nested-initial-values-object also had those other field as required, requiring a value even if there was no defaultValue defined for this other required field. I hope you understand what I mean...
Using defaultValue- or initialValue-prop on final-form-field level could easily fix this, because I don't need to initialize the whole structure, but only the fields. I started a discussion here: https://vividplanet.slack.com/archives/C052UQJ5DLN/p1725288089749849

I'm not sure if I understand you correctly. Do you mean handling via initialValues-prop in generated grid? I think this probably wouldn't be the way I would do it handmade...

Yes, that's what I meant. And your concern is valid, I probably wouldn't add an initialValues prop either.

currently my main concern is how to support initialValuesProp in fields defined in optionalNestedFields if any of the other nested fields is required (I already stumbled upon this in mergehaufen). It wasn't possible because the nested-initial-values-object also had those other field as required, requiring a value even if there was no defaultValue defined for this other required field. I hope you understand what I mean...

This is probably because initialValues in Final Form doesn't use a DeepPartial type, but only Partial. I don't think we can easily fix this. The only way would be to differentiate between FormValues and SubmitValues

@johnnyomair @nsams I'm using PartialDeep instead of generating a special InitialFormValues type.


Filter out Contemporary keywords[labels] ?

As Per Partner's request -  mobile phones didn't exist in the '60s unless someone time traveled.
If needed eventually.

@hallibay We've decided to stick with what the COCO dataset offers.

@hallibay We've decided to stick with what the COCO dataset offers.

Alright


initial websocket bindings

First pass at websocket bindings. Sorta works, but seems to spawn a new device every time.
Feedback obviously welcome.
I dont see any unit tests for bindings?

I also missed this os check, https://github.com/sandeepmistry/bleno/blob/master/lib/bleno.js#L132

Its not exactly unit tests, but I found the debug=bindings helpful in trying to determine if ws is properly passing through and executing the same bindings calls. All examples appear identical, heres the battery characteristic logs https://gist.github.com/jacobrosenthal/3aa67244397d2ffdb01a

Interesting.. stop isnt working from the websocket bindings at the moment even thought the bindings logging look perfect. @sandeepmistry notice the super fast return time on the not working copy (15ms vs 155) Thoughts on that?
https://gist.github.com/jacobrosenthal/9728ad4ddb1d3c0bdc04

@jacobrosenthal looks ok on my Mac:
var eddystoneBeacon = require('./../../index');

eddystoneBeacon.advertiseUid('00010203040506070809', 'aabbccddeeff');

setTimeout(function() {
  console.log('stop');
  eddystoneBeacon.stop();
}, 5000);

Using LightBlue on iOS, could not discover my Mac. What are you using for the central?

I havent been able to reproduce it anymore yet. Maybe just a weird blued state that day..

Eddystone does a platform check as well which doesnt square with websocket:
https://github.com/don/node-eddystone-beacon/issues/23
I have a platform check branch bringing os.platform call into bleno api so it can be used behind websocket that after some more testing and discussion Im going to merge here:
https://github.com/jacobrosenthal/bleno/tree/websocket-platformcheck

I have a platform check branch bringing os.platform call into bleno api so it can be used behind websocket that after some more testing and discussion Im going to merge here:
https://github.com/jacobrosenthal/bleno/tree/websocket-platformcheck

Like we've been discussing in https://github.com/don/node-eddystone-beacon/pull/25#issuecomment-143607106 - I think we both agree the platform check can be a property instead of a async function

Added a platform check

May I suggest to forward your changes to:
https://github.com/abandonware/bleno/
Meanwhile, feedback welcome on latest release:
<EMAIL_ADDRESS>

Please confirm this issue is resolved with @abandonware version
Relate-to: https://github.com/abandonware/bleno/issues/17


chore: fix hatch linting

What was the problem/requirement? (What/Why)
The linting failed in the GitHub Actoin.
What was the solution? (How)
Fixed it by checking if sys.stdout is None before calling flush().
What is the impact of this change?
Fix the Github action for dependency bot.
How was this change tested?
hatch run linting
deadline-cloud-for-after-effects % hatch run lint
cmd [1] | ruff check .
All checks passed!
cmd [2] | black --check --diff .
All done! ✨ 🍰 ✨
12 files would be left unchanged.
cmd [3] | mypy src
Success: no issues found in 9 source files

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.
Required: paste the contents of job_bundle_output_tests/test-job-bundle-results.txt here

hatch run test but it only has 1 unrelated test
Was this change documented?
n/a
Is this a breaking change?
n/a

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The PR description doesn't quite match the code the code change, but I'd guess they are equivalent.

Thanks for pointing it out. I thought I had updated it. Will fix it.


fix(server,secrets): Specify profile field for LinkedIn provider.

Addresses #16559, new PR against the correct target (backup/master).

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[x] Addressed currently open issue .

Closes #16559
Description
See #16559 and https://github.com/auth0/passport-linkedin-oauth2/issues/24

@Bouncey @BerkeleyTrue I haven't been able to get my setup working lately for the production branch.
The config above seems fine to me from cross-referencing the code and the docs over at the passport repo, linked in OP and original issue.
I'll merge as soon as I can test locally. But feel free to beat me, if you have a minute to pull this.

Tested with my updated PR #16740 and LGTM.

@raisedadead looks like we are good to merge?

@ojongerius Yes, we are.. just waiting for my linked PR to get through first. Thanks for working on this.

@raisedadead you're welcome, good to know it's not blocked on me.

@raisedadead can this be merge now or does it need further QA?

Thanks @ojongerius

🎈


Allow multiple choice field children

@andrewroth this is to fix the issue in cap with multiple conditional follow up questions not showing up correctly. I've tested the change with cap and it works (will PR for cap once this is done and I update the gem).

:+1:


Shaper mod not calculated

When you have a Shaper item as offhand with "gain x% of physical damage as extra damage of a random element", it's DPS is not calculated.
But it calculates the other mods such as the "gain x% as extra cold/fire/chaos/lightning damage".

Unfortunately, correctly simulating the addition of a random element is quite difficult to do, and beyond the program's current capabilities; it may be a while before I'm able to add support for it.
As for +% increased Intelligence, as far as I can tell it is working normally. I'd be very surprised if it wasn't, as it is such a basic stat.

I ran into this same 'random element' limitation for a gear upgrade and took a look to see if I could make a change myself.
@Openarl would it be possible to do a simple calculation by calculating gain x% of physical damage as extra [fire, cold, lightning] damage and averaging them? I'm not sure how accurate this would be, but it's roughly what I do when checking items manually.

I think the implementation suggested by SeventHelix makes the most sense. Please consider it!

yes, that would be a (rough) estimate, which i think is better than nothing.


Ansible fails to provision Win VMs

Operating System Version: MacOS 12.2.1 VMware Fusion
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): ESXi 7.0.0
Vagrant Version (if applicable): 2.2.19

When running ansible-playbook -v detectionlab.yml. ansible provisions the lgger VM but not the windows VM's.
PLAY [dc] ***********************************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************
task path: /Users/devlab/code/DetectionLab/ESXi/ansible/detectionlab.yml:7
redirecting (type: modules) ansible.builtin.setup to ansible.windows.setup
Using module file /usr/local/Cellar/ansible/5.2.0/libexec/lib/python3.10/site-packages/ansible_collections/ansible/windows/plugins/modules/setup.ps1
Pipelining is enabled.
<<IP_ADDRESS>> ESTABLISH WINRM CONNECTION FOR USER: vagrant on PORT 5985 TO <IP_ADDRESS>
objc[3614]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[3614]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
ERROR! A worker was found in a dead state
After that the error popup states "Python quit unexpectedly"
Thanks

Try this

Hi thanks I have tried that already but will give it another run. Just trying to build again on MacOS 10.15 to see if its an issue with macOS 12.2.1.

Used the fork() fix on macos 10.15 and all works fine. Will test again on 12.2.1. Thanks


Merge main into develop

After the release of 1.5.0

Merging without waiting for approval, as there no new changes to review, it's just part of the release process.


Highlighting in Quick Open doesn't work properly in case insensitive mode

How to reproduce

Open the oni repo
Cmd+P and search for backers.md (lowercase)

What happens

The BACKERS.md file is the first suggested, as expected, but it is not highlighted properly (see screenshot)

Ah yes - the problem here is our highlighting logic is independent of the matching logic (unfortunately).
If we move to bringing over a scoring algorithm, like in #1828, that will provide the match positions - so we could use that to have accurate highlighting, instead of the heuristic we have today which isn't accurate.


Upgrade to newer Bitbucket API and remove deprecated classes

I would postpone implementing this as long as line 4.x did not reach end of life. There is no point in dropping 4.x line support if possible, especially since this line is probably still widely deployed in enterprises, where it's not that easy to upgrade.

Is this the reason that #52 is an issue?
Feels like a 4.0.0 release dropping the 4.x support now that 6.x is out makes sense then ...

Yes, the plugin needs significant rework to use the new plugin API in Bitbucket 6. Is the project still alive? Last commit was almost a year ago.


fix // problem when serving from e.g. S3

somehow the urls generated are like https://domain//pwa/fb3c65966433393af9889753675af9c9.json
this will fail when serving those from an S3. so we make sure we normalize them before request
Changes

Checklist

[ ] the list of features is updated (if it's a feature and it's relevant)
[x] I followed contributing guidelines

@patzick all done. thanks for the hint


Binary / hex editor uses hardcoded colors

System information:

Xubuntu 18.04.3 LTS, amd64
DBeaver CE 5.2.5 installed from snap edge

Describe the problem you're observing:
The binary / hex editor uses hard-coded colors (such as SWT.COLOR_BLUE aka. #0000ff) which are difficult to see in a dark theme.
Example with Adwaita-dark GTK theme and DBeaver theming turned off:

Example with DBeaver's own dark theme:

Proposed solution:
The hex editor should borrow its color palette, as well as the font selection, from either the SQL Editor or the Query Result Grid, which are already highly configurable in the Preferences.
The relevant code seems to be in HexEditControl.java, for example at lines 438 and 941.

verified


Doc: provide more details and examples to each auth provider

What would you like to be added?
Ratify supports 5 auth providers which are listed in the doc. And each provider has its own configuration to be set. But the doc doesn't provide detailed parameters for each provider and miss samples for some providers. We need to improve the doc to bridge the knowledge gap.
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?

[ ] Yes, I am willing to implement it.

Missing doc for "Azure Managed Identity" based on discussion on 8/29/2023.


Move TCTI_MAGIC and TCTI_VERSION values to a common include.

These two values must be specified by clients consuming our TCTI
interface. Currently they reside in the tss2_sapi_util.h file that we
include in the tpm2sapi headers. This is a non-standard file that will
be removed soon and so this value must be moved to keep from breaking
client code. Since these two values are used by both the dev and socket
TCTIs I've put them into a common 'magic.h' file.
This resolves #109
Signed-off-by: Philip Tricca<EMAIL_ADDRESS>

Assigned this to @wcarthur1 for review.

Won't build resource manager under Windows.  Error messages:
z:\tpm2.0-tss-philip\tpm2.0-tss\include\tpm2tcti\tpmsockets.h(35): fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No such file or directory
2>  commonchecks.c
2>z:\tpm2.0-tss-philip\tpm2.0-tss\tcti\commontcti\commonchecks.c(31): fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No such file or directory
2>  syscontext.c
3>  TpmHmac.c
2>  platformcommand.c
3>  TpmHash.c
2>z:\tpm2.0-tss-philip\tpm2.0-tss\include\tpm2tcti\tpmsockets.h(35): fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No such file or directory
2>  getcommands.c
Under Linux, tpmclient and tpmtest don't build.  I fixed those errors, but I can't seem to check in the changes to your repository.  After fixing, tpmclient ran fine, which is what I was trying to verify.

Thx for the testing. I didn't have a windows system handy over the weekend, completely forgot about that. I tested the Linux build w/o and issue so I'll try to repro. I'm sure I missed something. Will try to have another iteration out ASAP.
Philip
On January 26, 2016 8:40:45 AM PST, wcarthur1<EMAIL_ADDRESS>wrote:

Won't build resource manager under Windows.  Error messages:
z:\tpm2.0-tss-philip\tpm2.0-tss\include\tpm2tcti\tpmsockets.h(35):
fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No
such file or directory
2>  commonchecks.c
2>z:\tpm2.0-tss-philip\tpm2.0-tss\tcti\commontcti\commonchecks.c(31):
fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No
such file or directory
2>  syscontext.c
3>  TpmHmac.c
2>  platformcommand.c
3>  TpmHash.c
2>z:\tpm2.0-tss-philip\tpm2.0-tss\include\tpm2tcti\tpmsockets.h(35):
fatal error C1083: Cannot open include file: 'tpm2tcti/magic.h': No
such file or directory
2>  getcommands.c
Under Linux, tpmclient and tpmtest don't build.  I fixed those errors,
but I can't seem to check in the changes to your repository.  After
fixing, tpmclient ran fine, which is what I was trying to verify.

Reply to this email directly or view it on GitHub:
https://github.com/01org/TPM2.0-TSS/pull/110#issuecomment-175106706

This PR should be fixed up: functional builds for both Linux and Windows. @wcarthur1 have a look when you've got a chance.


Please add a license

Thank you for making this code available! Based on your arXiv paper's abstract, this repository is meant to be open-source. However, it is not open-source until a license is added. Please add a(n open-source) license.
GitHub provides information on choosing a license here: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository#choosing-the-right-license

Added!


python312Packages.tencentcloud-sdk-python: 3.0.1257 -> 3.0.1259

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1257...3.0.1259
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1259/CHANGELOG.md

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353622

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


Added emplty line between package string and header comment

Currently, the comment // Code generated by go-queryset. DO NOT EDIT. is inserted right before the package ... line. This causes the comment to be considered package documentation. Adding an empty line between the two makes it so, that this string is no longer package documentation.
I would argue that this is preferable, as the comment is only relevant for the one file and not the whole package and, as such, should not be package documentation.

Coverage remained the same at 92.683% when pulling 494abf96fafd86d298f42eeab45438ce8a0f4baf on LogicalOverflow:master into 36aee76bfd779da9e7f00b7591c255a20137f1a2 on jirfag:master.


Lighthouse: Links are not crawlable with <YouTube>

Introduced by https://github.com/delucis/astro-embed/pull/102
The play button is now an <a> elements  that has its href attribute removed thereby creating the following issues with Lighthouse scores:
Links are not crawlable
Search engines may use href attributes on links to crawl websites. Ensure that the href attribute of anchor elements links to an appropriate destination, so more pages of the site can be discovered. Learn how to make links crawlable

Thanks for the issue! I noticed this as an accessibility problem too: links without href are not focusable, so the play button can’t be reached with the keyboard.
I think this will need fixing in https://github.com/paulirish/lite-youtube-embed which we depend on — maybe by replacing the link with a button when present.

Update: have a fix on a local branch. Will open an upstream PR tomorrow.

Opened a PR here: https://github.com/paulirish/lite-youtube-embed/pull/177
Let’s see if we get a response and if not we can look to revert the progressive enhancement pattern in astro-embed or use my fork of lite-youtube-embed.

Potentially off-topic, but it'd be great if the youtube component survived RSS webpage content feed reader sanitization.

v.s.

@jasikpark I think that’s unrelated — see #59
Depends a bit how you’re rendering the RSS feed I suspect.

hey, any progress here?
pagespeed

hey, any progress here?
pagespeed

@jasikpark I think that’s unrelated — see #59
Depends a bit how you’re rendering the RSS feed I suspect.

For me, this is the https://feedbin.com service ingesting the regular html of the webpage, since I don't render my RSS with content included, since I use Markdoc and need to sort out how to use the Container API with that still

hey, any progress here? pagespeed

x2 here! waiting for the fix

Fixed in the latest release of @astro-community/astro-embed-youtube — v0.5.3.


[Question]: Hide using Template needs help

What happened?
I would like to hide a entity wehn another is not home but it doesnt seem to work
Card Version
1.2.16
HomeAssistant Version
2024.10.1
Relevant card config
type: custom:minimalistic-area-card
title: Keova's Zimmer
area: keovas_zi
icon: hue:room-bedroom
show_icon: true
hide_unavailable: false
shadow: false
state_color: true
tap_action:
  action: navigate
  navigation_path: /dashboard-cast/keovas-zi
entities:
  - binary_sensor.fenster_keova_s_zimmer_alarm
  - sensor.keova_s_zimmer_temperatur
  - sensor.keova_s_zimmer_luftfeuchtigkeit
  - climate.hk_keova_s_zimmer
  - entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
        hide: false
      - value: "off"
        icon: mdi:projector-off
        hide: false
    hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}
    tap_action:
      action: perform-action
      perform_action: remote.toggle
      target:
        entity_id: remote.gundam_projector
  - light.keova_s_zimmer
  - light.ecke_links
  - light.bett_links
  - light.bett_leiste
  - light.bett_rechts
  - light.ecke_rechts
layout_options:
  grid_columns: 4
  grid_rows: 2

Relevant log output
No response

state overrides take precedence in this case. You need to put it into both settings, I think it should be:
- entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
        hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}
      - value: "off"
        icon: mdi:projector-off
        hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}

It's not optimal, the current default value should be from entity settings.

GH automatically closed the issue :-/ Since v1.2.17 you should be able to use:
- entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
      - value: "off"
        icon: mdi:projector-off
    hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}

works thx

quick question how would i invert the state check like if device is home show else hide?

${hass.states['device_tracker.samsungprojector'].state != 'not_home'} or use == 'home' (depends on the state value - this can be found in state explorer)

basically hide it if state egeals not "home" hide it in any state except home so that if its not available it will also be hidden

try:
${!(hass.states['device_tracker.samsungprojector'].state == 'home')}

works thx


Add extraEnvVars option to values.yaml file for better customization

This PR adds extraEnvVars customization option in values.yaml file for Scalyr agent. However, there is still room for improvements in customizing agent. For example, there is no way to use user created configmap.

Thanks for the contribution.

However, there is still room for improvements in customizing agent. For example, there is no way to use user created configmap.

I believe the same end result could be achieved using a custom agent config option - https://github.com/scalyr/helm-scalyr#setting-custom-scalyr-agent-config-options
Or is there some use case / similar that doesn't cover?

Thanks for the contribution.

However, there is still room for improvements in customizing agent. For example, there is no way to use user created configmap.

I believe the same end result could be achieved using a custom agent config option - https://github.com/scalyr/helm-scalyr#setting-custom-scalyr-agent-config-options
Or is there some use case / similar that doesn't cover?

Hi @Kami, I wasn't able to customize kubernetes monitor configuration here - https://github.com/scalyr/helm-scalyr/blob/scalyr-agent-0.2.25/charts/scalyr-agent/templates/configmap.yaml#L22-L25
I resolved my issue by providing env vars. But providing custom configmap will help to customize all available options, including those that are not environment-aware.

@xdvpser Thanks for the additional information.
Which Kubernetes Monitor specifically you had in mind? (to see if there is anything else we can do - perhaps make it env aware if it's not or similar).

Which Kubernetes Monitor specifically you had in mind?

@Kami Nothing particular. As I said, I resolved my problem adding env vars. But having possibility to completely replace configmap by user defined one might be very useful in future if we need more customization.


CitadelDAO - Logging

Code Location:
https://github.com/CivMC/Citadel/blob/23a41a90335ad6d96fd2712df8cea26a1c0ed5a1/paper/src/main/java/vg/civcraft/mc/citadel/model/CitadelDAO.java#L32

Issue:
Logging calls can be expensive and should be collapsed into a single call instead of repeatedly calling Logger.info(). Also string concatenation is run before calling the logger and might introduce unnecessary call overhead.

Solution:
Use the logging format solutions provided by the logging framework.

I'm closing this out as something that we won't fix. It could be revisited in the future, but it's not within our capacity to work on right now.


[T2A4][T11-A3]Pengcheng-an

Add feature case insensitive and function SORT

Duplicate of #14. Accepting this without review because it has already been reviewed in another PR.


Add delete CloudFormation stack feature.

Summary
Add new sub command to delete CloudFormation stack.
$ mangum delete
Delete your stack! This may take some time...
Deletion successful

Good idea 👍


fix(slider): add onChange event

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it: react


File error during execution

Hello Pieter,
Well done on the great work!
I get the following error when I run "python maskAL.py --config maskAL.yaml"
:  main - ERROR - Could not find inputs.yaml file, what exactly is this inputs.yaml file.
Also, there was nothing mentioned about the meta.json in the video. The supervisely format of that json export was generated by a tool or was manually created? Can you guide on this aspect too?
Kind regards,
Krishna

Did some debugging with @VKrishna09.
This error was caused by an incorrectly specified network_config and pretrained_weights in maskAL.yaml.
Please refer to: TROUBLESHOOTING


[Azure Search] Add infrastructure to functionally test latest search changes with PROD data

Something like a daily outerloop test run using PROD data. Latest changes (possibly from dev branch) would be deployed, a new index would be built using PROD data, and then functional tests (including the search result quality tests and search analyzers/tokenizers tests) would be run. Once the tests aren't flaky, we could put an alert on test failures.
See https://github.com/nuget/nugetgallery/issues/6980

Review this with @skofman1 and consider alternatives


"{}" is not a valid mode configuration

I tried to replace the old gulp-svg-sprites with you gulp-svg-sprite package, and I'm running into the following error:
events.js:72
        throw er; // Unhandled 'error' event
              ^
ArgumentError: SVGSpriter.compile: "{}" is not a valid mode configuration

And my gulp task:
gulp.task('icons', [], function(){
    var env = util.env();

    return gulp.src(config.icons.src.files)
        .pipe($.plumber({ errorHandler: util.error }))
        // Create SVG Sprite
        .pipe( $.svgSprite({ mode: { symbols: true } }) )
        .pipe( $.gulpif( env.name === env.types.DIST,
            $.gzip({ append: false }),
            $.gutil.noop())
        )
        .pipe( gulp.dest(config.icons[env.name].path) );
});

The configuration is clearly there. Any idea what could be causing this?

Hi @nilssolanki,
please be aware, that gulp-svg-sprite is not a drop-in replacement for gulp-svg-sprites (although many features are similar). Please stick to the docs and see how to build a valid configuration for the spriter.
Cheers,
Joschi

Yes, but I only used the basic mode configuration of svg-sprite:
{ mode: { symbols: true } }. Yet somehow he doesn't seem to find any config at all:
ArgumentError: SVGSpriter.compile: "{}" is not a valid mode configuration

As I said, please stick to the docs. symbol**s** is not a valid mode, it has to be symbol.

Whoops, thanks. I didn't realize the extra s.

You're welcome. If all problems were that easy, right?! ;)


sig-testing release notes for v1.8

we have no release artifacts for kubernetes/kubernetes v1.8,
so no release notes either; ongoing improvements are taking
place over in kubernetes/test-infra

/cc @radhikapc
fyi @fejta @jdumars


How to create a release apk that can be installed on device

Description
I'm trying to use this project as a sort of bootstrap for a new android project,  when a signed release apk is created by android studio and installed it crashes instantly due to being unable to find the dynamic module fragments.
Basic Information

OS version: Linux
App version: android studio 3.5.3

Details
Using android studios Build -> generate signed apk -> normal apk
If you install that generated apk it will crash with a classpath issue with Coil, if you fix that (I added it to core's dependencies) then you get
Process: com.vmadalin.android, PID: 18602
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vmadalin.android/com.vmadalin.android.SampleMainActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class fragment
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3430)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:86)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
        at android.os.Handler.dispatchMessage(Handler.java:112)
        at android.os.Looper.loop(Looper.java:216)
        at android.app.ActivityThread.main(ActivityThread.java:7625)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
     Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class fragment
     Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
     Caused by: androidx.fragment.app.Fragment$e: Unable to instantiate fragment com.vmadalin.dynamicfeatures.home.ui.HomeFragment: make sure class name exists

I assumed as all dynamic modules are set to install time delivery a monolith apk should work.  I also tried creating an aab, using bundletool to create a universal apk and installing that but I ended up with the same error.
What is the correct way to do a release APK?

when minify is enabled, production release app will crash. any idea about how to fix this problem?
I think this issue for obfuscation of fragments and navigation architecture components.
even I used new navigation system for dynamic feature module. it works fine in debug. but in release I faced this error:
Caused by: android.view.InflateException: Binary XML file line 9 in layout/activity_main: Binary XML file line 9 in layout/activity_main: Error inflating class androidx.fragment.app.FragmentContainerView
Caused by: android.view.InflateException: Binary XML file line 9 in layout/activity_main: Error inflating class androidx.fragment.app.FragmentContainerView
Caused by: androidx.fragment.app.Fragment$d: Unable to instantiate fragment androidx.navigation.dynamicfeatures.fragment.DynamicNavHostFragment: make sure class name exists

Sorry for the delay regarding this issue, but I haven't the time to dedicate to this project. First of all, thank you @bobthekingofegypt for your bug reporting and also @tidoemanuele for the research. Following the google recommendations about how to test dynamic delivery:

Important:
The easiest way to test applications using dynamic delivery is to use internal app sharing. This allows you to distribute a link directly to the beta tester of your apk or app bundle, independently on the version number. This works even for debug build!
You can find more information in the documentation

Basically you cannot test them generating an old format .apk, for this reason, you should generate a .aab and upload it to google play console. I tested this but it still don't work because the following conflict between Dynamic Features, Data Binding and MinifyEnabled (https://github.com/android/plaid/issues/764), but you can easily fix the below line on the proguard-rules.pro:
-keep class **.DataBinderMapperImpl { *; }

I hope i can help you with, if not please reopen the ticket. Thank you


Document File Dropzone Behavior

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the Modus style guidelines

Proposal
Document File Dropzone Behavior for accept-file-types to include the link to the mozilla documentation https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept#unique_file_type_specifiers
Motivation and context
So that another issue doesn't get opened or a chat / e-mail chain doesn't get started in order to understand the behavior.
What is the issue regarding ?
Modus Web Components Website (Storybook)
Priority
Low
What product/project are you using Modus Components for ?
Trimble Unity
What is your team/division name ?
O&PS
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

As described in the issue, we internally map the accept-file-types to HTML file input accept attribute so we should link it in the documentation


metadata in Manifest not showing separate languages/scripts

See: https://hydra-dev.princeton.edu/concern/scanned_resources/79407x291/manifest
{
   "label": "Creator",
   "value": [
      "Ibn Quṭlūbughā, al-Qāsim ibn ʻAbd Allāh, 1399 or 1400-1474 or 1475",
      "ابن قطلوبغا، القاسم بن عبد الله"
   ]
},

"value" should be a list of hashes with @lang, @value, etc.

There was a bug in AT that turned off being able to cast to literals - that's fixed in AT now, but I'd have to get AF caught up to the new Relation changes in order to get it in. So in the meantime I'm pushing this issue back to work on other things.

Some more info here: get_values(:author, literal: true) works, but manifests are built from the solr record, and the record's metadata only indexes strings - not the literals (with language tags), because that would require multiple fields for one "value".


No gradient for log_softmax

It appears that the log_softmax doesn't have a gradient:
>>> import tensorflow as tf
>>> var = tf.Variable([[1.0, 2.0]])
>>> softmax = tf.nn.softmax(var)
>>> log_softmax = tf.nn.log_softmax(var)
>>> entropy = tf.reduce_sum(softmax * log_softmax)
>>> trainer = tf.train.GradientDescentOptimizer(0.1).minimize(-entropy)
LookupError: gradient registry has no entry for: LogSoftmax

This has been fixed internally and will be available by the next update.


Specify the maximum number of incoming connections

Hello, the startup parameter --in-peer value I set to 5, but there are still more than 15 P2P links. What's the reason?

2019-05-08 19:40:34.591 INFO [runtime|xrml_xsystem] height:9643, blockproducer: 6488ceea630000b48fed318d13248ea7c566c0f4d2b8b90d12a136ad6eb02323 (5ELXHYwf...)|name:genesis2
2019-05-08 19:40:34.593 INFO Imported #9643 (0xbc9f…b43a)
2019-05-08 19:40:34.593 INFO [redis] get_blocknumber in [put] is None
2019-05-08 19:40:35.527 INFO Idle (15 peers), best: #9643 (0xbc9f…b43a), finalized #9632 (0xa51f…e546), ⬇ 6.3kiB/s ⬆ 9.7kiB/s

--in-peers specifies the maximum number of incoming connections. There's also --out-peers that specifies the maximum number of outgoing connections (25 by default).
The maximum number of connections is in_peers + out_peers.

I see. That's right. Thank you.


Missing SPM support

We need to support https://swift.org/package-manager/ out of the box

@biboran/z please, pay attention to this issue


Investigate compiler failing to link on large RAM sections

Use .srodata instead of .data
(solved)


Are the forums dead?

It seems that signing up on the forums does not work. I have some questions about chipmunk (running into multiple issues with basic collisions) and can't find a community to talk to about the engine.
If there's an alternate group using chipmunk where I can discuss these problems, please let me know.

Ask here.

I'm seeing my player (a dynamic body) sort of "sink" into a static body, then slowly being pushed out (when falling from some distance).
I've tried both in pixel coordinates, and in "meters" where 32 pixels = 1 unit.
I'm also observing my player somehow sliding between two rectangles that are touching, if I move about them a bit.
https://user-images.githubusercontent.com/34498340/139558509-05fc3141-4dad-428c-87f9-4e3241d5cd3c.mp4
I'm verified that the collision shapes are correct. I believe I'm likely doing something "against the rules" to cause this to happen, but I'm not sure what that would be. I'm simply updating the velocity of the body manually with user input.

Hmm, I thought we finally fixed the issues with the forum a couple months ago. Though it's been dead for kinda a long time... :(
Anyway, your issue in both cases is related. Chipmunk does not do swept collisions, so it only discovers collisions after they happen. When your character is moving quickly it might move 1/4 of their height in a single frame, and that's the "sinking" that you are seeing. When the player rises back up, that's how it resolves overlapping objects over time.
As for falling through the crack: collisions are resolved by using the direction of least overlap, and collisions are resolved one at a time. If the character lands deep into the corner of a block, the shortest direction can be towards the side. Now it's stuck between two immovable blocks, and both collisions are resolved by pushing the character to the side. :-\
So that's why it happens, and here's some ways to fix it:

ALWAYS use a fixed time step. It's predictable and means the character doesn't move further on some frames than others. If something happens that causes you to drop frames, the character won't move a long distance between frames.
Use a small timestep. Chipmunk is quite fast, and it's not really an issue to run collision detection at a 120 hz or more. (Especially considering that high refresh rates are quickly coming more common)
Limit the terminal velocity of the character. This further prevents how far the character can move in a single tick, and makes the game more playable too.

Here's an old forum post with more relevant info: https://chipmunk-physics.net/forum/viewtopic.php?f=1&t=2434&p=10703&hilit=yourstory#p10703
And here is how I fixed the "sinking" effect in the game mentioned in that thread: https://github.com/maximile/Your-Story/blob/master/Classes/Player/Character.m#L157

Another game dev I know using chipmunk informed me that changing some of the space settings helps.
Iterations to 16,
slop to 0.001,
and collisionBias to pow(0.5, 60.0)
seem to be working very well for my game
(where one unit is 32 pixels).


⚠ Fortnite has degraded performance

In ef0ecc7, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1700 ms

Resolved: Fortnite performance has improved in a9a9329.


the dropout layer

Hi, I find that the dropout layer is still enabled during inference, is this correct?

Yes, it is normal.


Introduce dark mode

Now a days everyone like the dark mode so i would like to add dark mode option on the app.

Closing, #40 merged

Closing, #40 merged


add logging mechanism for missing translations?

hi
i stumbled today over this nice repository and am willing to use this package.
after setting up successfully the first translations, a feature wish came up :)
it would be awesome to provide a mechanism that logs missing translations.
the psr-3 standard may help or directly use the awesome monolog package https://github.com/Seldaek/monolog
if you want me to do this task, tell me more. otherwise it would be great to have this feature in a future release :)
thx

hehe ok i've done it already and created a pull request. there is no breaking change and it can be merged instantly.

That's a great idea! Thanks!


IGNITE-5960 Ignite Continuous Query might not send update request

During continuous query setup, there are potential updates in flight that would potentially have a situation like this:
T1 updates E1, lsnrs!=null, obtain update counter 1
T2 updates E2, lsnrs==null, obtain update counter 2
T3 updates E3, lsnrs!=null, obtain update counter 3
Notice that as E1 E2 and E3 are different there are no locks between them and they can proceed in parallel. As a result, the sequence of updates being sent to CQManager will be 1,3 with 2 missing and it will wait for update 2 forever which will never come.
To fix this I propose to use a ReadWrite lock to ensure that the Map Entry update will complete before setting up new continuous query.

The ticket is resolved. Closing PR


Wrong time showing for message sent

Today I was testing something, so I send a message at 3:12 PM (in my local time). It didn't get sent. At 3:17 PM, I retried sending it by clicking the retry button. It got sent and the time was being shown 3:12 PM. However, this should have been 3:17 PM. So, when I reloaded the page, it showed 3:17 PM. This creates a problem for the sender.
I think we should have updated the time of the message when one clicks the retry button to update the time with the actual time of sent.
CZO link for discussion here.

@zulipbot add "bug"
@zulipbot claim

See the chat.zulip.org thread, but I think we already handle this correctly from reading the code.  I'd be very interested in seeing a reproducer for this if you can find one, since it would represent a subtle/tricky bug well worth fixing.

Yes, it was really tricky to find the actual bug why was this happening. Have explained in the PR. Do check it out


Add 'hints' key to plan metadata

All built-in plans will get a new metadata key like:
def my_scan(detectors, motor, ...):
    # Just for a dumb example, this plan specifies that the first
    # two detectors should be plotted against the motor.
    # We are generating something in the spirit of the Vega Lite spec.
    # It can't be literal Vega Lite because it needs additional info
    # from the Event Descriptors to be complete it, so it's sort of a
    # Vega Lite template.
    md = {...,
          'hints': {'vis': [{'version': 0,
                            'data': 'primary',   # the name of the stream the data will come from
                            'mark': 'point',
                            'x': motor.name,
                            'y': [d.name for d in detectors[:2]]}]}
         }

This tells us which devices might be useful in a plot. The devices themselves add a hints() method -- see https://github.com/NSLS-II/ophyd/issues/413 -- that put into the Event Descriptors which fields a.k.a "data keys" from those devices should be used, such as whether we should plot against the motor readback or the motor setpoint.
These are all just hints designed to provide nice defaults for plotting tools, hence the name 'hints', designed so that we don't have to do complex guessing on the other end.

We also need to add something to monitor_during_wrapper and baseline_wrapper to modify the 'open_run' to add/mutate the hints key.

We could also add metadata useful for Nexus, as discussed in person with @prjemian. A 'nexus' key could go into the 'hints' dict next to 'vis'.


Card actions display - functional but has to be inside card div

I started working on the card actions section (currently trying to make it go beneath the card, and be hidden when no actions are available. I have this code:
    <div class="card-actions">
        <button class="btn btn-sm btn-default" ng-repeat="action in actions"
                ng-if="!doingAction && action.id === card.id"
                ng-click="startAction({action: action})"
                class="btn btn-xs btn-default">
            {{action.action}}
        </button>
    </div>
</div> <!-- this div ends the card -->

As you can see, there is an alignment problem because the card actions div is stuck inside the card model (I assume due to the original intention of showing the actions on the card, which we could also do but might not be practical if card has more than 1-2 actions). I tried moving that section beneath it in the code, but then neither the card nor the actions would display at all. I suspect it's because it is tied to the card.id but I could be wrong.
This is an important element of the card so we need to do it well. Should we move card actions to a separate HTML template perhaps, an control its injection using AngularJS? Either way, we need to also have a way to show/hide different buttons depending on which actions are possible. To my knowledge, the only 3 game actions a card can have right now are:

Play
Attack
Scrap
(Damage, if you count the card test page)

Pretty certain I fixed this a good while back and forgot to close it.


Re installation is paused

Re installating is pausing at copying admin api script to base installation directory

@TanushreeSG @chetandg123  checkout to cqube-v4.1-beta branch and pull the latest code and install ui again.
i tested in dev server its not pausing.

@ayesha-siddiq123   by switching cQube-v4.1-beta branch also getting same issue

Retest

Re-tested working as expected


quickemu: 4.0 -> 4.1

Description of changes
I thought OVMFFull is needed for secureboot and TPM. But it seems swtpm doesn't work for me. It doesn't work with virt-manager either. So I failed to install win 11 but win 10 works.

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Yes. On my system I have passed-though OVMF Full in an override, and have been unable to get Windows11 to boot.
Can you provide more info on the other changes? I see no references to socat in the Quickemu docs, and is using sed more effective then wrapprogram in any way?

socat is not documented but used in the script. I opened an upstream issue. The patch failed to apply so I use sed instead and hope it's more robust. Maybe we should upstream the patch.

I see. Yeah, upsteaming the patch may not be a bad plan. The Quickemu code base is a touch buggy (for good reaon, it's a compilcated thing). Thank you for doing this!

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

1 package built:

quickemu

Update to 4.3, also fix the icon path.

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

1 package built:

quickemu

Thank you!


[1.0-rc1] Alter retention policy does not accept "default" with "shard duration"

ALTER RETENTION POLICY throws a parsing error if shard duration and default co-exist in the statement.
As a result of the combination of this and issue 7150 which describes that the ALTER statement resets shard duration when not explicitly defined, the impact is :

two ALTER statements are needed to set a new default RP with custom shard duration (workaround: set all parameters during CREATE RETENTION POLICY)

in order to switch the default RP while maintaining a custom shard duration, the ALTER ... default  statement needs to go first, followed by ALTER ... shard duration.
If the statements are given in the opposite order, the custom shard duration will be overwritten.

the ALTER statement as documented in 1.0 docs does not work.

InfluxDB shell version: 1.0.0~rc1

> create database mytest

> show retention policies on mytest
name	duration	shardGroupDuration	replicaN	default
autogen	0		168h0m0s		1		true

> use mytest
Using database mytest

> alter retention policy autogen on mytest duration 720h replication 1 shard duration 168h default
ERR: error parsing query: found DEFAULT, expected ; at line 1, char 90

> alter retention policy autogen on mytest duration 720h replication 1 shard duration 168h

> show retention policies on mytest
name	duration	shardGroupDuration	replicaN	default
autogen	720h0m0s	168h0m0s		1		true

> alter retention policy autogen on mytest duration 720h replication 1 default

> show retention policies on mytest
name	duration	shardGroupDuration	replicaN	default
autogen	720h0m0s	24h0m0s			1		true

@jsternberg Can you take a look?

@rkuchan possible docs change, let's watch this issue

This definitely just looks like a parsing error. I'm investigating now.

Fixed via #7219.


Is there a plan to have a simliar article for SPO?

See subject line

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

ID: 11f583c6-5b66-377b-3fa1-07594621b82a
Version Independent ID: 4f9bab3d-17df-7200-1a59-82ebd33ecc0f
Content: Best practices for using fine-grained permissions in SharePoint Server
Content Source: SharePoint/SharePointServer/sites/best-practices-for-using-fine-grained-permissions-in-sharepoint-server.md
Product: sharepoint-server-itpro
GitHub Login: @Techwriter40
Microsoft Alias: kirks

In many cases, this comes down to performance as to why you wouldn't want to say, have 50k scopes. Because performance is not something you can control in SPO (or server-side settings), while the article technically applies, there isn't much to take away from it. An equivalent article for SPO would be targeted at an Information Worker/Site designer rather than an administrator.

@tseward Most of the best practices described in this article are things that developers and site collection admins should do, which is why I thought it can be adapted for SPO.

@officedocsbot assign @scanum

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.
@officedocsbot close

@officedocsbot close


Test running endless, no timeouts, no errors

Hello, I am using the official Cucumber.io extension and Playwright together with this extension to execute my feature files as tests.
If I run the feature file via cucumber-js script the file executes as intended. But any time I want to run it via the extension the test runner just cycles indefinitely without terminating. No errors, no timeouts, nothing. Test Coverage at 0.00%.
Is there any way to to debug this?
...
    "cucumber.features": [
        "features/*.feature",
    ],
    "cucumber.glue": [
        "features/step_definitions/*.ts",
    ],
    "totalTypeScript.hiddenTips": [
        "variable-type-annotation",
        "typing-function-parameters",
        "basic-types"
    ],
    "javascript.updateImportsOnFileMove.enabled": "always",
    "cucumber.parameterTypes": [
    ],
    "cucumber_runner.cli_options":[
        "--profile",
        "parallel",
        "--tags",
        "@test"
      ],
    "cucumber_runner.env_variables": {
        "BROWSER": "chromium",
        "DEVICE": "desktop"
      },
    "cucumber_runner.features": [
        "features/*.feature"
    ]
...

Test Result:

Scenario: "Login user"
Executing command:
BROWSER=...... DEVICE=...... node ./node_modules/.bin/cucumber-js features/*.feature --name "^Login user$" --profile parallel --tags @\test

The test case did not report any output.

 Plugins
Visual Studio Code

Version: 1.86.1 (user setup)
Commit: 31c37ee8f63491495ac49e43b8544550fbae4533
Date: 2024-02-07T09:08:20.941Z (5 days ago)
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

Name: Playwright Test for VSCode
Id: ms-playwright.playwright
Description: Run Playwright Test tests in Visual Studio Code.
Version: 1.0.22
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright

Name: Cucumber JS Test Runner
Id: nick-mandziak.vscode-cucumber-js-runner
Description: Cucumber JS Test Runner for VS Code
Version: 1.83.1
Publisher: Nick Mandziak
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=nick-mandziak.vscode-cucumber-js-runner

Name: Cucumber
Id: CucumberOpen.cucumber-official
Description: Cucumber for Visual Studio Code
Version: 1.8.1
Publisher: Cucumber
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=CucumberOpen.cucumber-official

Should be fixed after v1.89

@mandziak-nv I have the same issue still, running with v1.89.2. Is there any way to inspect logging?


Minor fixes

@Kopraa conflicts, tried to update but it'd commit to your main branch, so didn't submit it.

@Kopraa conflicts, tried to update but it'd commit to your main branch, so didn't submit it.

I've missed this somehow, will be resolved now.

Already included.


.github: use actions-rs/audit-check

Codecov Report

Merging #11 into develop will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           develop   #11   +/-   ##
=====================================
  Coverage        0%    0%
=====================================
  Files            3     3
  Lines           66    66
=====================================
  Misses          66    66

Continue to review full report at Codecov.

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


Document CS4009: "an entry point cannot be marked with the async modifier"

This should be a high-priority compiler message to document.

And don't forget to remove the F1 keyword from here when you add this one: https://raw.githubusercontent.com/dotnet/docs/4023c5ec72055fee78863a43b60989e1eb34fb22/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md

Thanks, @mairaw. I didn't realize the file existed.

This has been published at Compiler Error CS4009.


Frontend linter

At Krista's suggestion: Finding a frontend linter.

What exactly does this refer to? I've suggested we each use a linter in our own IDEs. Aaron and I both did this so our changes are automatically linted when we commit. Is this bug to add one to the repo?

I think this is a dupe of https://github.com/SatcherInstitute/health-equity-tracker/issues/245. Ideally we set up the linter on the project so that the PR checks will enforce it even if devs don't have it set up in their own IDE


conda problems

@dougalsutherland could you maybe take a look at this one (conda part):
https://stackoverflow.com/questions/45578184/how-do-i-install-shoguns-python-interface

I have the same issue after installing shogun with conda on Ubuntu.

(Sorry for slow reply, I was traveling.) I think it's just that you want to import from modshogun, not shogun, in the 6.0 release (which is what the conda package has). The docs on the website refer to shogun instead because they're for 6.1, where the interface has been renamed.

@evertes i'm closing this one, as @dougalsutherland should fix your problem. de ha van valami gond nyugodtan nyisd ki a ticketet :)

@dougalsutherland thnx for clarifying. i hope you enjoyed down under :)


kconfig: drivers: crypto: Remove EXPERIMENTAL

The crypto driver API is 6 years old, has 5 different implementations,
and is widely used.
Remove the EXPERIMENTAL marking from the API. Each implementation may
still choose to mark itself as EXPERIMENTAL.
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

"Zephyr is a project under constant development and thus there are features that are still in early stages of their development cycle. Such features will be marked [EXPERIMENTAL] in their Kconfig title."

The crypto API is also marked as stable here: https://docs.zephyrproject.org/latest/reference/api/overview.html


Add option for stable sorting

I have added a --stable option to the sort subcommand. Can you review and/or merge?
The README and unit tests were also updated to reflect the changes.

Looks good! Thanks.


Property 'module' does not exist on type '{}' after upgrading to typescript v2.5.1

I'm using your latest version  v2.2.3
After upgrading npm packages of:

angular from v4.3.2 to v4.3.6
awesome-typescript-loader from v3.2.2 to v3.2.3
tslint from v5.5.0 to v5.6.0
typescript from v2.4.2 to v2.5.1

I'm receiving this "at-loader" error (awesome-typescript-loader):

[at-loader] Checking finished with 1 errors
[at-loader] ./node_modules/angular-translator/src/Translator.ts:30:83
TS2339: Property 'module' does not exist on type '{}'.

Do you noticed something similar?
Now I'm trying to downgrade the npm packages (one by one) to see whether the error disappear or not.

Ok, I downgraded all npm packages following the alphabetical order and only after the downgrade of typescript  to v2.4.2 I no more received the error...
Now I'm trying to update angular, awesome-typescript-loader, tslint e angular-translator leaving typescript to the old version...

I confirm the error occurs only after upgrading typescript to v2.5.1...
I think an investigation is needed to understand the root cause (maybe a breaking change not declared by typescript?)

the only thing I can see is that you are working with modules. thanks for this one! I hoped someone will find it useful :smile:
I don't understand why typescript thinks that translatorConfig is from type {}. It's real type is TranslatorConfig. Can you change this line:
let translatorConfig = injector.get(TranslatorConfig);

To this line:
let translatorConfig = injector.get(TranslatorConfig) as TranslatorConfig;

And see if it is working then...

version 2.2.4 released, thanks for your contribution


Refactor for static lib.

Extract main() into its own file such that jattach can be compiled into a static lib. for use in other projects. Makefile is updated such that a static lib is created and the shared lib (dll) target remains available also.

Now, main method will be included only when JATTACH_VERSION macro is defined.
Just do not set this macro when building .a or .so.
I haven't added make target for a static library - it can be a part of the project that uses jattach.


Provide better guidance regarding unbounded execution

The documentation makes it sound like "unbounded" execution is a feature in the premium plan. Technically there is no restriction on this, but it is not good practice to set the execution time to unbounded. For example, lets say user code accidentally causes a deadlock in the execution of an eventhub triggered function. With an unbounded execution time, processing of that particular EH partition might be blocked for days.
My suggestion is to update this section to instead say "increased run duration", describe that the default is 30 minutes (as it does already) and then say it can be increased further if required.
I also submitted a PR for the host.json reference to clarify that unbounded execution is not recommended: https://github.com/MicrosoftDocs/azure-docs/pull/43259

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

ID: 3847e16b-92ae-0202-c7e1-ca9a8474e65f
Version Independent ID: a25b6b5b-05ab-b3b2-616c-5d06eadb928d
Content: Azure Functions Premium plan
Content Source: articles/azure-functions/functions-premium-plan.md
Service: azure-functions
GitHub Login: @jeffhollan
Microsoft Alias: jehollan

cc @alexkarcher-msft

Eeesh, I totally missed that paragraph. You can only run for 60 minutes in the Premium. That whole section needs to be changed to "longer run duration" or something, and the limits document should also be updated to correctly show 60 minutes https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits

Thats not quite true, its a little more nuanced. We specifically did work to remove source of interruption that might apply within the 1hr time range, but you're not physically limited to 1hr. So I think changing the documented limits will just create more confusion.

How long ago did you make that change? I ran some tests about a week ago in powershell and all of my executions were killed exactly at the 60 minute mark

#assign-to @alexkarcher-msft
I don’t remember the syntax to reassign

@ggailey777 😅

#reassign:alexkarcher-msft

The doc has been updated to say the executions are unbounded, but guaranteed to run for 60 minutes #please-close


Unable to get form data from a POST on Cloudflare Pages

What version of Hono are you using?
4.4.9
What runtime/platform is your app running on?
Cloudflare Pages
What steps can reproduce the bug?
Create a new Hono app for Cloudflare Pages, and replace index.tsx with:
import {Hono} from 'hono'
import {renderer} from './renderer'

const app = new Hono()

app.get('*', renderer)

app.get('/', (c) => {
    return c.render(
        <form action='/post' method='POST'>

                Email address:

            <input
                id='email'
                type='email'
                placeholder='email'
                data-testid='email-input'
            />

                <input type='submit' />

        </form>
    )
})

app.post('/post', async (c) => {
    const contentType = c.req.header('content-type')
    console.log(`contentType is`, contentType)
    console.log(`... as string, contentType is ${JSON.stringify(contentType)}`)
    const body = await c.req.parseBody()
    console.log(`body is`, body)
    console.log(`... as string, body is ${JSON.stringify(body)}`)
    return c.json(
        {
            message: 'Created!',
            body,
        },
        201
    )
})

export default app

Type something in for the email field and press the Submit button.
What is the expected behavior?
Seeing the value of the email input inside the body printed out.
What do you see instead?
contentType is application/x-www-form-urlencoded
... as string, contentType is "application/x-www-form-urlencoded"
body is [Object: null prototype] {}
... as string, body is {}

Additional information
Thanks for any help!

Thought I should try a simpler example, starting from a base Hono application. So the example above has been edited to be as simple an example that still shows the bug. Thanks!

My apologies - I had no name attribute in my email input, so it was not sent to the server. Closing.


Implement grip threshold profile setting

XRTK - Mixed Reality Toolkit Pull Request
Overview
This PR addresses https://github.com/XRTK/XRTK-Core/issues/665 and introduces a hand profile setting to adjust the hand grip threshold, if needed. Some users were running into issues that their grip would release too soon due to tracking imprecision. This new setting allows to lower the required grip / curl threshold of the hand for it to be considered gripping.

Changes

Fix: https://github.com/XRTK/XRTK-Core/issues/665
Fix some inconsitencies with bold labels in profile inspectors
Lowers default threshold

Breaking Changes
This is a breaking change and bumps Core up to 0.2.2.
Submodule Changes

SDK
Lumin
Oculus
WMR
Examples

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

Ok this one is now passing checks and ready for review.

Ok this one is now passing checks and ready for review.

/azp run

/azp run


sails no-frontend creates EJS warning

From @crh3675 on December 29, 2015 21:53
I was running a Sails application using --no-frontend. Upon startup, this message occurs:
Could not find module: ejs in path: /opt/wx-api/node_modules

I updated the config/views.js as follows to supress:
engine: { ext : 'null', fn : function(){} },

Everything works fine just questioning if there is another way.
Also, when running Mocha using sails.lift() from within tests, the application complains that it can't find Grunt.  I installed as a devDependency but would like to remove if I can.

var Sails = require('sails');

process.chdir(APPLICATION_PATH);

before(function(done){

   this.timeout(5000);

   Sails.lift({
       port : 12345,
       log: {
           level: 'error'
       }

   }, function(err, app) {

       sails = app;

       if (err) return done(err);

       done(err, sails);
   });
});

Copied from original issue: balderdashy/sails#3455

@crh3675 re: grunt-- spot on.  You can also stick that in your .sailsrc file or configure it via env variables (e.g. sails_hooks__grunt=false sails lift).
re: views, what version of NPM and Sails are you using?  We were relying on the nested node_modules structure prior to NPM 3 (i.e. to symlink the ejs dep in sails so you don't have to npm install when running sails new).  The latest 0.12 rc just sticks copies the dependency down, but I'm curious if there's a bug there that's only showing itself when the no-frontend option is enabled.
Thanks!

From @crh3675 on December 29, 2015 22:2
Update: I just added
hooks : { grunt : false }

to Sails.lift(options) and was able to remove


Submission.crosspost got unexpected keywords argument 'nsfw' and 'spoiler'

Issue Description
In Submission.crosspost(), nsfw and spoiler aren't working.
#source code
import praw

reddit = praw.Reddit(client_id='',
                     client_secret='',
                     password='',
                     user_agent='',
                     username='')

subreddit_read=reddit.subreddit('AskReddit')
subreddit_post=reddit.subreddit('apiTesting')

posts=subreddit_read.hot(limit=3)

for p in posts:
    print(p.title)
    try:
        p.crosspost(subreddit_post, send_replies=False, nsfw=False)
    except Exception as e:
        print(e)

    try:
        p.crosspost(subreddit_post, send_replies=False, spoiler=False)
    except Exception as e:
        print(e)
    break

Output:
If You Could Completely Remove One Company From The World Which One Would It Be?
crosspost() got an unexpected keyword argument 'nsfw'
crosspost() got an unexpected keyword argument 'spoiler'

Trace: (if not using try except)
Traceback (most recent call last):
  File "c:/Users/myUserName/Documents/GitHub/NSFWAskRedditBot/crosspost_nsfw.py", line 16, in <module>
    p.crosspost(subreddit_post, send_replies=False, nsfw=False, spoiler=False)
TypeError: crosspost() got an unexpected keyword argument 'nsfw'

System Information

PRAW Version: 6.3.1
Python Version: 3.7.4 32-bit
Operating System: Windows 10 Home 1809

Hi,
These features haven't been released yet, as seen in the change log. I've been meaning to release a new version, and that should happen soon.


when call Constraint.deactive() Constraint.layoutConstraints element will be released

New Issue Checklist

[x] I have looked at the Documentation
[x] I have read the F.A.Q.

Issue Info

Info
Value

Platform
ios

Platform Version
10.0

SnapKit Version
feature/0.40.0

Integration Method
cocoapods

Issue Description
At legacy version Constraint has install() and uninstall() method,but at feature/0.40.0 above methods was deleted.
I try to use active() and deactive() to replace them,but when i use deactive() method layoutConstraint elements will be released. active() method not work for me.
self.layoutConstraints = NSHashTable<LayoutConstraint>.weakObjects()

↓
self.layoutConstraints = NSHashTable<LayoutConstraint>()

work for me. but it memory leak. Constraint deinit method not called.

@kimsungwhee great catch! Can you update to head of feature/0.40.0 and give it a go? I think I've managed to fix this up.

@robertjpayne it works for me. Thank you very much.


feature: add query as object constructor and tests

Attempt to resolve #366

About fragments: I think we should open its own issue and solve it in its own PR.

About fragments: I think we should open its own issue and solve it in its own PR.

fine by me :)

thank you!

You're welcome, looking forward to this being released! 👍


Make a call with a seamless 1k test tone

Hi!
Is there a function that makes it possible to send a +18 dBfs 1k sine loop. You can sometimes find this function in hardware codecs and its very convenient when doing quick tests and troubleshooting.

have a look at librem's autone API:
int autone_sine(struct mbuf *mb, uint32_t srate,
		uint32_t f1, int l1, uint32_t f2, int l2);

https://github.com/creytiv/rem/blob/master/include/rem_autone.h
you can create a new module (for example called autone.so) that
implements the AUSRC api and provides a continuous sine wave tone.

Super! Thanks:)
I´ll look into this!


Release 0.12.1

Merge cherrypicks for 0.12.1 to that release per #5322

Thanks.  FWIW, e2e tests mostly passed with the exception of guestbook.sh, which is 26% flaky via jenkins.

.. and guestbook failed due to leftover target pools and forwarding rules.  Cleaned those up, re-ran, and it passed, so 0.12.1 has at least one passing run of each test.
I'll kick off a few more overnight, so perhaps we can promote it to a full release tomorrow.


Bad Request when opening transports

I got "Error 400:Bad Request"  message when I try to open the list of transports.
The connection to the system seems okay, at least I can open files and also open sapgui by pressing 'F5'.
Is it a bug or something is missing from the config file?

Probably a bug.
Transport management comes in 2 or 3 flavours, works ok in 7.50 ... 7.52, doesn't with 7.30 or cloud platform...
What version of basis/abap are you running?

It's on NW 7.81.

Afraid I won't have access to that in a long time!
If you feel like you can log http and/or method calls in mongoose and send me a dump (watch out for sensitive data)
...
"trace": {
        "mongoUrl": "mongodb://<IP_ADDRESS>:27017",
        "http_calls": true,
        "api_methods": true
      }
...

or you can do the same in eclipse and send me the relevant request from the abap communication log. Don't promise anything though. Cloud platform also have a completely different transport API btw, perhaps that will work if/ when I will implement t

btw, just seen the same in my 7.50 system, I suspect it's from the git view

Looks like it's a bug in the ADT plugin.
For some reason the rest router looks up /abapgit/repos rather than /repos

@marcellourbani Thanks for the investigation.
Can you report the bug somehow to the ADT plugin developers?

Still me :) ...and other 2 really

Ohh, that's cool :)


Additional primitive type wrappers

(not sure how to properly call it)
I'm looking for additional std::num types like:

NonZeroF32 (without memory layout optimization)
NonZeroF64 (without memory layout optimization)
PositiveNumber
NegativeNumber
NormalizedF32, NormalizedF64 (aka 0.0...1.0)
Range (not an iterator)

Is there are plans on making something like this?

There are no plans, and note that we don't even do anything for the existing NonZero* integers. They don't really act like integers -- apart from formatting and comparison, they don't even implement any operators.
So I think this is out of scope for num, but I encourage you to explore the idea in your own crate!

I see, thanks.


Step3没启动whisper 但是显存没问题

argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
def backtrace(trace: np.ndarray):
Warning: no short audios found, this IS expected if you have only uploaded long audios, videos or video links.
this IS NOT expected if you have uploaded a zip file of short audios. Please check your file structure or make sure your audio language is supported.

生成了process文件,但short_character_anno.txt未空

我也遇到了，是因为异常被捕捉了，尝试打印异常，会发现可能是ffmpeg没装。。。

argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def backtrace(trace: np.ndarray): Warning: no short audios found, this IS expected if you have only uploaded long audios, videos or video links. this IS NOT expected if you have uploaded a zip file of short audios. Please check your file structure or make sure your audio language is supported.   生成了process文件,但short_character_anno.txt未空

apt update && apt install ffmpeg  安装ffmpeg就行了


reactions-menu button's icon not at center, iphone safari

Works fine here. Maybe try updating yours?

Works fine here. Maybe try updating yours?

Hmmm......Maybe its because my IOS or safari version.


Add Pulse APIs

What does this Pull Request accomplish?
Adds Pulse support
Why should this Pull Request be merged?
Adding this as a part of WI: Generate  gRPC device code for RFmx Pulse
What testing has been done?
PR + built output in grpc-device

reckenro and maxxboehme are out so you do not need to wait on them. Please get review from @ThangamV-NI if possible.


Add support to UWP

how to use moor package in flutter Win UWP build

There is documentation on how to use moor on Windows here. I don't know the specifics about UWP, but I would expect that you can still ship sqlite3.dll and open it with moor/ffi.


add useful dtrace scripts to debug allocations

Motivation:
dtrace is extrmely useful when debugging allocation related issues. This
adds two scripts that have helped me many times.
Modifications:

dev/malloc-aggregation.d which prints an aggregation of all
stacks that have allocated
dev/boxed-existentials.d which live prints all allocations of boxed
existentials

Result:
sharing debugging tools is great

@swift-nio-bot test this please

@swift-nio-bot test this please

@swift-nio-bot test this please

@swift-nio-bot test this please

@swift-nio-bot test this please

@swift-nio-bot test this please


Remove of for Seq

Per https://github.com/facebook/immutable-js/issues/1308#issuecomment-331061620
Hope we see this in the next release candidate!

Thanks!

Thank you!!!


JsonLdError in canonicalise when AP event contains LD schema not built-in

Repetitive error in my logs:
('Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.',)
Type: jsonld.InvalidUrl
Code: loading remote context failed
Details: {'url': 'https://app.wafrn.net/contexts/litepub-0.1.jsonld', 'cause': JsonLdError("No schema built-in for '*/contexts/litepub-0.1.jsonld'")}

("No schema built-in for '*/contexts/litepub-0.1.jsonld'",)
Type: jsonld.LoadDocumentError
Code: loading document failed
Cause: KeyError  File "/takahe/core/ld.py", line 587, in builtin_document_loader
    return schemas[key]
           ~~~~~~~^^^^^

Changing the built-in schema wildcard for litepub doesn't seem like the right choice for one server placing its schemas in an untypical path. Mastodon loads remote schemas, and if we did too, that'd solve this, as the URL does resolve. However, we don't load remote schemas, and if we did, we probably should have a cache for them.

Yeah, this was one of the tradeoffs when I made it not do remote queries for schemas; it'll need fixing eventually. I do wonder if we could just strip out unknown schemas for now though, since I doubt we use anything referred to by them.

okay, I'll just test not raising the error, see what happens.

Was this fixed by #644?

it was


SMSContact equals

SMSContact uses both its fields in the equals override, but its primary key is only the address, this is a contraddiction, because we can have contacts with the same address and different names, but we will never be able to store them both in the database.
This might seem like it's not a problem, because the Contact can just be updated when a new name is found, but some tests should be written to ensure the database (or at least the manager) works as intended.
Besides, this also implies you can add different addresses for a same contact name. If this is intended, it should be clearly stated in the specs.

Besides, this also implies you can add different addresses for the same contact name. If this is intended, it should be clearly stated in the specs.

Well homonymy is possible

but some tests should be written to ensure the database (or at least the manager) works as intended.

The primary key you set for SMSContact is the phone address, we should be pretty much fine, should be able to write some tests tomorrow
@PrimaryKey
    @ColumnInfo(name = ADDRESS_COLUMN_NAME)
    private String address; //address: phone number


Give every CI config a name

Looking at the CI results, it is not easy to see what each job is. This should make it more clear.

Failure looks unrelated to this change.


can't read repositories.yaml when add a repo

C:\Users\Administrator>helm repo add jenkins-x https://storage.googleapis.com/chartmuseum.jenkins-x.io
Error: read C:\Users\Administrator.helm\repository\repositories.yaml: The process cannot access the file because another process has locked a portion of the file.
My OS is win10. I do it after helm init and before that I didn't do any thing.
So what's go wrong?

Can you please share your version of Helm?

Mine is
Client: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
I also have this issue. I saw that you fixed the flock bug with the dangling file lock. Not sure if it's in there yet.

Weird... This was fixed in #6692 and #6694, but the patch for #6694 is not present in either 2.15.0 or 2.15.1.
https://github.com/helm/helm/blob/v2.15.0/cmd/helm/repo_add.go#L139
https://github.com/helm/helm/blob/v2.15.1/cmd/helm/repo_add.go#L139
It is present in the dev-v2 branch, however.
https://github.com/helm/helm/blob/0a9bf4f966726f0bb0faa6a82db29909abe16126/cmd/helm/repo_add.go#L143
This fix will be released in 2.15.2. Sorry about that!

closing as a duplicate of #6682.


Fix broken code block inside note block

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues

Thanks.


v1.1.0

[x] rm node_modules
[x] using semvers version range syntax.
[x] add tests
[x] ci [win, ubuntu, mac]

Any ideas to get all available versions of deno without github api? it caused macos ci red.
@axetroy

Any ideas to get all available versions of deno without github api? it caused macos ci red.

here is the API for github
https://api.github.com/repos/denoland/deno/releases/latest

@axetroy https://github.com/zhmushan/setup-deno/runs/321272230

@zhmushan
This is the interface limitation of the Github API.
We can add personal token in Github Secret and use it in pipeline.
But I don’t approve of it.
Now I am referring to how setup-deno is implemented

Here is the setup-node does
https://github.com/actions/setup-node/blob/9a99bb3e353525a0754b4b99d40dfd7fc812cae9/src/installer.ts#L101-L106
It provides a version map file.
This is what we should do

We can temporarily store this file in the repository directory
After merging the code, move it to gh-pages
This will be accessible via https://setup-deno.denolib.io/release.json

@zhmushan
maybe put that file(release.json) into /docs will be better
No need to switch to gh-pages branch.

@axetroy ready for review

last step. create a test repository make sure it work.
then merge

Am i missing something?
ci throw an 404 error when I try
https://github.com/axetroy/test_setup_deno/runs/322682828

Am i missing something?
ci throw an 404 error when I try
https://github.com/axetroy/test_setup_deno/runs/322682828
maybe we should improve error message

https://github.com/axetroy/test_setup_deno/blob/master/.github/workflows/ci.yml#L15
zhmushan/setup-deno@refactor


feat(API): Change error responders to raise instances of HTTPError

When an invalid HTTP method is requested, or a path is requested for which there is no route configured, raise instances of HTTPError instead of directly manipulating the Response object. This makes it easier for applications to customize behavior in these cases.

This is a rebased version of #655


[trainer] Call prepare_data once per node in DDP/DDP2 training

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Slurm and elastic training create the training processes per node outside of the lightning context. This means that when the fit function calls prepare_data, the assumption that it's only being called on proc 0 is broken and it gets called for each process.. This fixes PyTorchLightning#1878 by calling prepare_data once per node, depending on the local rank.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @ananthsub! Thanks for opening this PR.

In the file pytorch_lightning/trainer/trainer.py:

Line 782:13: W503 line break before binary operator
Line 784:13: W503 line break before binary operator
Line 786:17: W503 line break before binary operator
Line 787:17: W503 line break before binary operator
Line 792:1: W293 blank line contains whitespace

Do see the Hitchhiker's guide to code style

Mind add test for this use case?

@Borda do you have examples of tests for prepare_data that I can look at as a template?

Not in a template, but you can mock the class (inherit template) and overview prepare data to do extra call count so in test for multi GPU you can test how many times it was used... Similar as did for some loggers

See #2166 finishing this PR there


New Construct - aws-route53-cloudfront

*Issue #, 130
*Description of changes: Pull request with the initial README.md and architecture diagram for discussion.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
Commit ID: e6fbb2027e573f6ca64c04a466350dca6f6e7e92
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Thanks! We will discuss this at our next Sprint meeting and respond.

Thanks - we've actually got approval to drop the year from our copyright messages entirely, so around the first of the year we will be changing all our copyright notices.

This has been essentially dormant for 2 years and in the meantime we have defined the interface for publishing Route53 constructs and published route53-alb and route53-apigateway. If we create this in the future we will follow that interface definition. Closing this PR.