Update retentionpolicy.md

Minor correction in the description of an example under "Soft-delete period of seven days and recoverability enabled".

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

I just want to mention that I did corrections based on the example given for the "Soft-delete period of seven days and recoverability enabled" section. Instead of modifying both Option 1 and Option 2 examples, I rather thought to modify the description itself.

Thanks @NISHANT-HORO for noticing that and contributing to make our docs better.
Approved by ADX docs team.
#sign-off

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


How can i Test React-native-paper-dropdown with jest

I cannot event find element with testid or label or anything. Please help me out here.

I haven't added testing support in this yet

@ankiii16 if you add inputProps={{ testID: "id" }} to the dropdown component you can access the input with jest


Unexpected behavior changes for View-based models in v1.7.25

When upgrading from v1.7.24 to v1.7.25, my team experienced a bunch of new violations flagged, specifically for our ActiveRecord models that are based on DB Views. This happened both for materialized and not-materialized Views.
Examples of newly flagged violations:
ThreeStateBooleanChecker fail SaleLineItem production boolean column should have NOT NULL constraint
PrimaryKeyTypeChecker fail Sale uid column has int/serial type but recommended to have bigint/bigserial/uuid
ThreeStateBooleanChecker fail Sale production boolean column should have NOT NULL constraint
MissingUniqueIndexChecker fail Sale uid model should have proper unique index in the database
ForeignKeyChecker fail SaleLineItem sale should have foreign key in the database
ForeignKeyChecker fail SaleLineItem order should have foreign key in the database
ForeignKeyChecker fail SaleLineItem supplier_organization should have foreign key in the database
ForeignKeyChecker fail SaleLineItem consumer_organization should have foreign key in the database
ForeignKeyChecker fail Sale order should have foreign key in the database
ForeignKeyChecker fail Sale supplier_organization should have foreign key in the database
ColumnPresenceChecker fail SaleLineItem sale association foreign key column should be required in the database
ColumnPresenceChecker fail SaleLineItem order association foreign key column should be required in the database
ColumnPresenceChecker fail SaleLineItem supplier_organization association foreign key column should be required in the database
ColumnPresenceChecker fail SaleLineItem consumer_organization association foreign key column should be required in the database
ColumnPresenceChecker fail Sale uid column should be required in the database
ColumnPresenceChecker fail Sale order association foreign key column should be required in the database
ColumnPresenceChecker fail Sale supplier_organization association foreign key column should be required in the database

To be clear, I don't think these violations are necessarily incorrect to flag, but given the upgrade was only a patch version, we were surprised to see a bunch of new violations. We can work around this by disabling checks on these models and then fixing the issue incrementally.
As an FYI, we are using the scenic gem to help us manage the DB views, but I don't think that's relevant to the behavior change here.
We are running our Rails application with:

Rails v<IP_ADDRESS>
PostgreSQL v14
scenic v1.8.0

Let me know if there's any other info I can provide to help debug + test!

We have changed the way we select models https://github.com/djezzzl/database_consistency/pull/232/files#diff-75ea970610cc52093dc977330caee9fe665e2a18c27de911808990d5d4ae4906R42
Could you please check the validity of the issues raised? If they are not valid, we probably should stop checking views and/or materialized views.

I tried my best, but the following seem not possible to implement for a view (at least for PostgreSQL):

ThreeStateBooleanChecker, since a DB View cannot structurally guarantee a value is not null
ColumnPresenceChecker, for the same reason
ForeignKeyChecker, since views are not tables, and therefore cannot have Foreign Key checks implemented on them

I would not be surprised if those also cannot be implemented for other SQL dialects.
Of the checks I listed above, MissingUniqueIndexChecker correctly flagged an issue (yay and thank you!)
Interestingly, PrimaryKeyTypeChecker was reporting a false positive, or at least an odd error message. We are using the result of an md5(...) computation for the sales.uid column, which has an output type of text and not any numeric type.

Thank you! So, we should disable some of the checks for views.
Would you like to contribute?

Hi @wenley,
This was fixed here: https://github.com/djezzzl/database_consistency/pull/242 and will be released in 2.0.1.


Broken image link

getting started> https://github.com/dekuNukem/USB4VC/releases/download/0.3.1/usb4vc_rpi_img_0.3.1.zip
broken image download link leads to "not found"

The link on the releases page also returns a 404


[BUG] Make header Accept-Encoding Optional

Some website block request if there are additional HTTP header including Accept-Encoding: gzip,deflate, this header appended automatically by
https://github.com/openbullet/openbullet/blob/d31c8768925057b3434804c7138a4ca7d8bf066e/RuriLib/Blocks/BlockRequest.cs#L349
I think it should be optional, maybe you can create another checkbox to turn this on/off.
Version

Version 1.1.2

https://github.com/openbullet/openbullet/commit/59a421876d86bd6812e07af00fea8858764a6d87


Buttons no longer take "None" as a color on Android < 5.0

From the forum: Buttons with background color "None" show default button look.
The commit 769fe75 changed the color filter used to apply the background color. This works on Material UI, but prevents being able to have a clear button background on older versions of Android. We should have a check for older Android versions to make sure they get the correct old behavior.

Another forum report shows that this also affects switching back to the default background from a color change.

@ColinTree I believe your recent fix to Thunkable Classic source code should also fix this as well. Can you submit a PR to the MIT App Inventor repo?

My testing showed this problem in Oreo. It looks like it's a bigger regression than just old versions of Android.

In my testing, the change from TextViewUtil.setBackGroundColor to view.getBackground().setColorFilter in commit 769fe75 didn't restore the ripple effect to buttons in newer Android versions. It did cause the problem with the None button color. Both operations appear to affect the drawable.
Restoring the ripple effect looks like it will take some design work. Research indicates that it could be done by setting the Tint of the button or by setting the background color, followed by a RippleDrawable object. Neither option comes in neatly packaged methods.

Additionally, current buttons in that theme with background color set to None have no visible indication of click at all.

Simple solution we use in makeroid:

@NmdOfficial I'll give this a try.
Is there anything noteworthy you're doing in setShape when the shape is not default?

On set shape I add there again margin for the button (other shapes as default have no margin)
and too I add there a rippledrawable.
We in makeroid use much more things as default app inventor.

Whoops, sorry. The above was my error.
When I use the code above, the no color background appears as it should. However, it switches back to default when I click it. I imagine there's more code to restore the Alpha after click?
Once the button is restored to default, the ripple effect works fine of course.
Note: I got the correct background behavior using getBackground().setColorFilter(backgroundColor, PorterDuff.Mode.CLEAR);
instead of
getBackground().setAlpha(0)
This works fine for background color, and it keeps its color after clicking. There's just no click effect.

We should also check to see that these changes work when the background color is manipulated from the blocks.

The problem in AI button code is on Touch event.
There is the alpha value set on every touch down and up

@NmdOfficial OK, fair. I will experiment.
Can you confirm that this approach preserves the ripple effect? Issue #1324, which I see you submitted, reports that changing the Alpha destroys the ripple effect. We are trying to reengineer this whole approach to deal with newer Android better.

This code:
TextViewUtil.setBackgroundColor(view, backgroundColor);
was removing the ripple effect from the buttons.
On newer android versions we have by default a touch down and up animation on buttons.
setAlpha in the touch event was surely created to make such a effect on older devices.
But as you can see it breakes some new things.. You wrote

When I use the code above, the no color background appears as it should. However, it switches back to default when I click it. I imagine there's more code to restore the Alpha after click?


Add Example for add_entry/"Tables with add-on-miss capability"

It would be nice to have an example for the "Tables with add-on-miss capability" section since I am bit confused when reading the section.
I am filing this issue to remind myself to submit a pull request for this which I will be doing before the next PNA meeting on Monday.

table foo {
    key = hdr.ipv6.src_addr;
   }
  add_on_miss = true;
}
}

In the midend.cpp file of the hardware p4c backend, add add_on_miss as a new property, e.g.,
https://github.com/p4lang/p4c/blob/main/backends/bmv2/simple_switch/midend.cpp#L114
If one needs an example of action for the table I can add one. I can whack the PNA spec to add the example.

First, both v1model.p4 and psa.p4 only support void methods with extern. So the question in pna.p4 if add_entry returns a value is new territory to me.
bit<8> a0 = 5;
bit<32> a1 = 3;
add_entry("moo", {a0, a1}, expire_time_prof_id);`

We should not force the user to used fixed size action parameterss,

This checked-in example program uses add_entry on a table with add_on_miss = true, and is intended to be a correct example: https://github.com/p4lang/pna/blob/main/examples/pna-example-tcp-connection-tracking.p4
@hesingh - Note that the example at the link above makes it very explicit that add_entry can only be called from a default_action of the table it is in the action for.  Your example in an earlier comment makes it unclear whether action permit6 can be an action of an entry added to the table, or not.

@hesingh wrote in an earlier comment: "First, both v1model.p4 and psa.p4 only support void methods with extern."
That is not true.
In psa.p4, there are several extern functions that return bool.
Method get_hash of extern object Hash returns a parameterized type, which would typically be bit<W> for some value W.  There are several other extern object methods that return a type other than void in PSA, besides that example: https://github.com/p4lang/p4c/blob/main/p4include/bmv2/psa.p4

This checked-in example program uses add_entry on a table with add_on_miss = true, and is intended to be a correct example: https://github.com/p4lang/pna/blob/main/examples/pna-example-tcp-connection-tracking.p4
@hesingh - Note that the example at the link above makes it very explicit that add_entry can only be called from a default_action of the table it is in the action for. Your example in an earlier comment makes it unclear whether action permit6 can be an action of an entry added to the table, or not.

It would be good to actually set/get the data structure ct_tcp_table_hit_params_t in your P4 program.

"It would be good to actually set/get the data structure ct_tcp_table_hit_params_t in your P4 program." I do not understand what you are hoping for here.  Can you give an example?  That type is a struct type, and it is used in the program in the call to add_entry().

Note: I DO think it would be a very good idea if the text of the PNA specification had a section describing the example I mentioned in more detail, or another example that achieved similar purposes of teaching the reader how these new features work.

See slide 17 of https://opennetworking.org/wp-content/uploads/2020/04/Plenary-4-Slide-Deck.pdf
The action parameters are the entry value as in (key, value) pair. The value is being edited by new data in packet header(s). So I don't even need an add_entry extern. I think PNA seems to have decided not to have editable action parameters and use an explicit extern.

Minor edits to PNA add-on-miss section.
https://github.com/p4lang/pna/commit/900817650a748fe6a9a372f3774fad8a0d534434

@hesingh wrote: "See slide 17 of https://opennetworking.org/wp-content/uploads/2020/04/Plenary-4-Slide-Deck.pdf
The action parameters are the entry value as in (key, value) pair. The value is being edited by new data in packet header(s). So I don't even need an add_entry extern. I think PNA seems to have decided not to have editable action parameters and use an explicit extern."
I agree that slide deck proposes a way to edit the action parameters, but unless I am missing something (I might be), it only allows you to edit the action parameters of existing table entries.
add-on-miss is one way to write P4 source code where new table entries can be created while a packet is being processed, in the data plane.  The control plane does not create the entries created by add_entry() calls -- the data plane does.
That said, it is also useful to be able to edit table entries like the slides describe.  This has been discussed a couple of times in public P4.org architecture work group meetings on PNA, and it is something that several people very much want included in PNA (myself one of them).  It isn't written up yet in any PNA documents, only slides presented at PNA meetings.

Just FYI. I noticed that add_entry can only be called from default_action. If I read this correctly, implicitly this mean no entry in the table can use this specific action as an action and that add_entry cannot use this action as the action for the new entry (this most likely should be rejected at compile time). I do feel like this should be very much explict just to make sure folks are not confused.

You are correct regarding existing vs. new entries. Writing to existing entry is the mutable entries discussion. There was another reason to point to the slide - to see how data is gleaned from packet header/metadata and used as a new value for existing key.
Regarding add-on-miss, every IETF draft/RFC has a Security section. What are security risks with adding new entry? Is a scan attack possible? TCP connection tracking app adding entries is safe because state is maintained but the section doesn't say, use only for TCP connection tracking.

This is not an IETF draft or an RFC.  You are welcome to attempt to write a security risks section about every P4 feature you want, but in general, my view is "P4 is a programming language, like C, C++, Java, Python, etc. are programming languages".  P4 is not a particular protocol.  It is a programming language in which you can implement protocols, or at least parts of some of them.  Its security risks are what the security risks of every programming languages are.  Yes, some programming languages have subtler security issues than others, but all useful programming languages share this one biggest security risk: they let you write so many kinds of useful programs, but at the same time let you write programs with bugs, some of which can be security risks.  There is no silver bullet for this, other than to think carefully about avoiding such bugs.

@apinski One can easily imagine a more general add_entry mechanism that would enable you to add new table entries in a table's hit actions, and/or to add table entries to any table from any other table.
Such things are certainly possible to implement.
In networking, there is this "simple, sweet spot" where only enabling one to add entries to a table immediately after you just looked up a key, and it missed, and the key is exact match, covers so many useful use cases, and it is significantly easier to implement than the general case, that it seems worth defining this special restricted case, as PNA has done.
Examples of use case I am aware of:

Netflow/sFlow flow monitoring
TCP connection tracking
More generally, any case where you have defined some notion of a "flow" based on one or more fields from the packet, and/or metadata, and want to auto-create new entries as new such "flows" appear, and track something about them.

@apinksi And if someone wants to take my previous comment and incorporate it into a pull request, perhaps with nicer language, etc. that is very welcome.  I am all for being very explicit about why a feature is very restricted, when it is very restricted.

I agree add_entry is a language artifact. However, add-on-miss is starting to develop a protocol and this is why the text makes sense to be tighter and if folks agree, examples should be added which @jafingerhut spoke of above, e.g., Netflow.

As defined so far, the add_entry() extern function and the add_on_miss table property go hand-in-hand with each other.  Using add_entry() for any table except one with add_on_miss=true is a compile-time error.  Using add_on_miss=true for a table where none of its actions call the add_entry() extern function will never cause a table entry to be added to it in the data plane, so there was no reason to say add_on_miss=true for it.
I am sure there are ways of defining similar PNA features that are not like this, but the above is what I have in mind as part of the current definition.  If the above makes it any clearer to anyone, then yes, let us add text like the above to the PNA spec, perhaps as part of a rationale appendix explaining the design of the add-on-miss feature.

My point is, add-on-miss is a security risk except when used with state.  I don't know enough about Netflow to see why it needs add-on-miss.

My point is: EVERY feature of a programming language is a security risk, if used incorrectly.   add-on-miss is no different there.  A plain old P4 table with no add-on-miss capability can cause a person A's packet to be sent to person B if it has the wrong entries installed into it, or if the P4 program is written incorrectly.

Many nodes such as UPF, BNG  do not use add-on-miss.  Packet going to a wrong layer-2 or layer-3 destination for such nodes is solved by inspecting layer-2 and layer-3 tables, clone detection, DHCP server, and provisioning systems.  Service provider nodes take 4-6 months to qualify by an operator - P4 programs are expected to be correct after the qualification.

Just FYI. I noticed that add_entry can only be called from default_action. If I read this correctly, implicitly this mean no entry in the table can use this specific action as an action and that add_entry cannot use this action as the action for the new entry (this most likely should be rejected at compile time). I do feel like this should be very much explict just to make sure folks are not confused.

See https://github.com/p4lang/p4c/pull/3614


TypeScript watcher treats present files as missing after hitting FSEvents watcher limit

Bug Report
Search Terms

EMFILE: too many open files, watch
fsevents
FSEventStreamStart

🕗 Version & Regression Information

TypeScript version: 4.5.4
macOS version: 11.6.2
node version: v17.4.0
💻 Code

This issue is macOS specific.
git clone git@github.com:gluxon/typescript-emfile-repro
npm install
npm run repro

The repository above contains 2050 project references. Each of these projects have only an empty index.ts file to keep the repro simple.
The solution style tsconfig at the root is set to use fsevents.
{
  "watchOptions": {
    "watchFile": "useFsEventsOnParentDirectory",
    "watchDirectory": "useFsEvents"
  },
  "references": [
    // ...
  ]
}

The 2050 project references may seem unreasonable, but in a large monorepo this becomes more realistic when factoring in node_modules and nested watchers. (See below.) The real world repository this issue appeared on has around 2 million lines of TypeScript and ~800 packages declaring project references on each other.
🙁 Actual behavior

When running the repro linked above, tsc eventually switches all existing watchers to a MissingFileSystemEntryWatcher.
[11:48:15 AM] Found 0 errors. Watching for file changes.

DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/typescript-emfile-repro 1 {"watchFile":5,"watchDirectory":0} Wild card directory
Elapsed:: 0.4360110005363822ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/typescript-emfile-repro 1 {"watchFile":5,"watchDirectory":0} Wild card directory
sysLog:: /Volumes/git/typescript-emfile-repro:: Changing watcher to MissingFileSystemEntryWatcher
sysLog:: /Volumes/git/typescript-emfile-repro/packages/0:: Changing watcher to MissingFileSystemEntryWatcher
sysLog:: /Volumes/git/typescript-emfile-repro/packages/0:: Changing watcher to MissingFileSystemEntryWatcher

This behavior comes from the watchPresentFileSystemEntry function here.
https://github.com/microsoft/TypeScript/blob/5e09e86612f775785137b74482ba77764e22246e/src/compiler/sys.ts#L1633-L1641
Updating the presentWatcher.on("error") listener to print the error shows:
presentWatcher.on("error", (err) => {
  console.error(err);
  invokeCallbackAndUpdateWatcher(watchMissingFileSystemEntry);
});

Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:168:28)
Emitted 'error' event on FSWatcher instance at:
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:174:12) {
  errno: -24,
  syscall: 'watch',
  code: 'EMFILE',
  filename: null
}

Once EMFILE errors start emitting here, TypeScript no longer responds to any .ts file edits in in the repository since watchMissingFileSystemEntry only responds to FileWatcherEventKind.Created, and these files already exist.
https://github.com/microsoft/TypeScript/blob/5e09e86612f775785137b74482ba77764e22246e/src/compiler/sys.ts#L1687
From testing on my MacBook Pro (15-inch, 2018) on macOS 11.6.2, the number of fs.watch() calls that triggers EMFILE seems to be around ~4099.
🙂 Expected behavior

I think it makes sense to update the error event listener to no longer assume all fs.FSWatcher errors are due to a missing file/directory, but I'm actually not sure what TypeScript should in response to a EMFILE after that. Ideally TypeScript falls back to using the polling watcher like it does for Linux.
https://github.com/microsoft/TypeScript/blob/5e09e86612f775785137b74482ba77764e22246e/src/compiler/sys.ts#L1644-L1651
However in my tests, once a Node.js program hits EMFILE on an fs.FSWatcher instance, all FSWatcher instances start throwing on EMFILE too. Because of the Node.js APIs here, I think TypeScript has to revert fully to polling mechanisms.
Hoping for ideas from the TypeScript team. Thanks in advance. 🙂

Additional Research
Notes from libuv
Adding some additional research into Node.js and libuv.
I was surprised that ulimit -n unlimited had no effect on the repro. It turns out the EMFILE error here is from libuv, not a syscall.
https://github.com/libuv/libuv/blob/47e0c5c575e92a25e0da10fc25b2732942c929f3/src/unix/fsevents.c#L380-L384
if (!pFSEventStreamStart(ref)) {
  pFSEventStreamInvalidate(ref);
  pFSEventStreamRelease(ref);
  return UV_EMFILE;
}

In Node.js land that error gets emitted here:
https://github.com/nodejs/node/blob/ec1364b6ae8f3be9054af5c56c7bf7c2d1b7c735/lib/internal/fs/watchers.js#L204-L210
const error = uvException({
  errno: status,
  syscall: 'watch',
  path: filename
});
error.filename = filename;
this.emit('error', error);

Looking at FSEventStreamStart documentation from Apple:

Return Value
True if it succeeds, otherwise False if it fails. It ought to always succeed, but in the event it does not then your code should fall back to performing recursive scans of the directories of interest as appropriate.

fs.watch Logging
Tangential to this issue, it may be possible for TypeScript to optimize its fs.watch calls. In the case below, the src is set to be recursively watched, but TypeScript ends up adding a few more watchers under it.
fs.watch("/Volumes/example/packages/foo", { persistent: true, recursive: false });
fs.watch("/Volumes/example/packages/foo/src", { persistent: true, recursive: true });
fs.watch("/Volumes/example/packages/foo/typings", { persistent: true, recursive: true });
fs.watch("/Volumes/example/packages/foo/src", { persistent: true, recursive: false });
fs.watch("/Volumes/example/packages/foo/src/__tests__", { persistent: true, recursive: false });
fs.watch("/Volumes/example/packages/foo/src/bar", { persistent: true, recursive: false });
fs.watch("/Volumes/example/packages/foo/src/bar/__tests__", { persistent: true, recursive: false });
fs.watch("/Volumes/example/packages/foo/typings", { persistent: true, recursive: false });

From debugging, it does appear to be the number of fs.watch calls made that triggers the EMFILE error, rather than the number of files in a directory or its storage size. For example, watching the root of a large monorepo package does not cause EMFILE in the repro:
fs.watch("/Volumes/git/typescript-emfile-repro", { persistent: true, recursive: true })

Tangential to this issue, it may be possible for TypeScript to optimize its fs.watch calls. In the case below, the src is set to be recursively watched, but TypeScript ends up adding a few more watchers under it.

Let me know if a separate issue would be appreciated for this suggestion.

It might be too specific to our use cases for TypeScript to implement this, but some form of "watchOnBaseDirectoryOfProjectReferences" config would drastically reduce fs.watch calls.

Tangential to this issue, it may be possible for TypeScript to optimize its fs.watch calls. In the case below, the src is set to be recursively watched, but TypeScript ends up adding a few more watchers under it.

Realizing how significant of a refactor this suggestion would be. At the moment the fs.watch calls with recursive: true are only set up to detect new and deleted files.
https://github.com/microsoft/TypeScript/blob/3cbc8d2231504b8c9ded8b1449e705813e07f34f/src/compiler/sys.ts#L830-L833

Filed an issue in Node.js: https://github.com/nodejs/node/issues/43267


Change Event

I apologize in advance for being a complete novice, but I love this slider and was wondering if there is a change event I use for when values are updated. The natural onchange event of the input control doesn't seem to fire.

I laughed myself loud, that you found this script somewhere.
It's still not finished (it's only 0.0.2 beta in fact), and I propably won't finished it. Rewrite maybe.
The slider doesn't include events inside itself. They were planned to be created just before final release.
I strongly advise You to switch to another script, but if You really want to use mm-jsr, then you can call the event here:
https://github.com/mm-jsr/jsr/blob/master/mm-jsr.js#L730
You just need to dispatch event You want somehow.


Ubuntu Performance counters for % Disk Used reporting precision

Original issue was posted in OMS agent repo. SCX team please make time to respond. @vimish @rubroboletus

Fixed in v1.6.9-2 https://github.com/microsoft/SCXcore/commit/59061ce0ba8613571dbc78be5a417393d68a1111.


Python3

Added support for a python 3.x client.

Thanks for the PR.  I will merge it after the current RC is certified.


Update clean:development:all

It looks like it was copied from figgy; there's no dataseeder in
pomegranate so this was failing. Just call solr delete_by_query and rake
db:reset

Coverage remained the same at 100.0% when pulling c941ea6fb83e9a73c64ab1efe82495afc99e8528 on remove-dev-clean into 6e00f03e2bd0e30b7dfa80eb349512922397afc4 on master.


How to get the return type of OutputArgument?

I tried to execute the following code:
OutputArgument out = new OutputArgument();
Function.Call(Hash.GET_SHOP_PED_QUERY_OUTFIT, 1, out);

Now I don't know what the type of the output is. I tried following out.GetResult<dynamic>(), but this crashs the game. I tried all typical types (int, string, ...), but the game crashs or I get the exception InvalidCastException. Than I tried create a struct (source from here) and tested it as type, but still the exception InvalidCastException.
How can I get the correct type for this method?

SHVDN don't support structures with natives.

You can use SHV's functions directly and pass your structs that way:
Here's an example for GET_PED_HEAD_BLEND_DATA.

First you need to define the native struct, much like win32 P/Invoke, but OutputArgument only allocate 24 bytes. You need to use unsafe code and pass the pointer directly if you have a struct larger than it, otherwise crash is expected.
for example:
[StructLayout(LayoutKind.Explicit, Size = 80)]
public struct HeadBlendData
{
	[FieldOffset(0)]
	public int ShapeFirst;

	[FieldOffset(8)]
	public int ShapeSecond;

	[FieldOffset(16)]
	public int ShapeThird;

	[FieldOffset(24)]
	public int SkinFirst;

	[FieldOffset(32)]
	public int SkinSecond;

	[FieldOffset(40)]
	public int SkinThird;

	[FieldOffset(48)]
	public float ShapeMix;

	[FieldOffset(56)]
	public float SkinMix;

	[FieldOffset(64)]
	public float ThirdMix;
}

public static HeadBlendData GetHeadBlendData(Ped ped)
{
	var hbd = new HeadBlendData() {ShapeFirst = -1};
	if(Function.Call<bool>(Hash.GET_PED_HEAD_BLEND_DATA, ped.Handle, (IntPtr)(&hbd)))
	{
		return hbd;
	}
	throw new Exception("GET_PED_HEAD_BLEND_DATA failed");
}

Closing this as #1260 makes it able to fetch data via native functions without having to call some of methods in Marshal class anymore, like AllocCoTaskMem and PtrToStructure (and probably SizeOf).
Example:
// you need to allocate at least 0x4C byte to make sure stack corruption won't happen
// as the last field will be written as a 4-byte value
[StructLayout(LayoutKind.Explicit, Size = 0x50)]
public struct HeadBlendData
{
    /// <summary>
    /// index of head of first parent (same as you would set with a component variation)
    /// </summary>
    [FieldOffset(0)]
    public int Head0;
    /// <summary>
    /// index of head of second parent
    /// </summary>
    [FieldOffset(0x8)]
    public int Head1;
    /// <summary>
    /// index of head used for minor genetic variation
    /// </summary>
    [FieldOffset(0x10)]
    public int Head2;

    [FieldOffset(0x18)]
    /// <summary>
    /// index of texture used for first parent (same as you would set with a component variation)
    /// </summary>
    public int Tex0;
    [FieldOffset(0x20)]
    /// <summary>
    /// index of texture used for second parent
    /// </summary>
    public int Tex1;
    /// <summary>
    /// index of texture used for genetic variation
    /// </summary>
    [FieldOffset(0x28)]
    public int Tex2;

    [FieldOffset(0x30)]
    /// <summary>
    /// the amount of blend between the two parent heads. 0.0 will be fully head0, 1.0 fully head1 and 0.5 will bea 50/50 mix between them
    /// </summary>
    public float HeadBlend;
    [FieldOffset(0x38)]
    /// <summary>
    /// same as headBlend only for the textures
    /// </summary>
    public float TexBlend;
    [FieldOffset(0x40)]
    /// <summary>
    /// the amount of genetic variation applied. 0.0 is no variation and 1.0 will completely replace the parents with the third head. very small values should be used for this.
    /// </summary>
    public float VarBlend;

    // surprisingly, the game reads the "is parent" value a 1-byte value somewhere like "movzx eax, byte ptr [r8+13Dh]"
    // and writes the result as a 4 byte value, like "mov [rbx+48h], eax"
    [FieldOffset(0x48)]
    [MarshalAs(UnmanagedType.I1)]
    public bool IsParent;
}

// returns false if the head blend data is not initalized
public static bool GetHeadBlendData(Ped ped, out HeadBlendData headBlendData)
{
    headBlendData = default;
    OutputArgument outArg = OutputArgument.AllocForStcuct<HeadBlendData>();

    if(Function.Call<bool>(Hash.GET_PED_HEAD_BLEND_DATA, ped.Handle, (outArg))
    {
        headBlendData = outArg.GetResultAsBittableStruct<HeadBlendData>();
        return true;
    }
    return false;
}

Sorry to bring up old closed issues but...
Since we have to Set before we can Get
This is then just becomes storage for something we applied values too.
Which seems pointless because I can create and store a local value easily.
The Get would be make sense if we can get the existing values... rather than just override them.
Is an actual Get not possible ?

Sorry to bring up old closed issues but...
Since we have to Set before we can Get This is just storage for a value we create, which seems pointless.
The Get would make sense if we can get the existing values... rather than just override them. Is an actual Get not possible ?

If only your script sets a ped head blend data to some ped, I would say yeah, pointless to call GET_PED_HEAD_BLEND_DATA. It requires the ped's fwExtensionList to have a CPedHeadBlendData referemce before it can return true and the registered blend data. You can also get a blend data registered via another script with that native, though.

Yeah that is true!


lyxal: Watch wp-a2z.org

lyxal requests the watch of the watch_keyword wp-a2z\.org. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

wp-a2z\.org has been seen in 1 true positive, 16 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Midnight trigger point can be missed

Because the data is updated every 30 minutes, but from a random starting point, a trigger point at midnight can be missed, using today rather than now as the calculation period.
Before midnight:
2020-03-29 23:24:41.107656 INFO octo_block_5hour: Best priced 5 hour period starts at: 2020-03-29T02:30:00 BST
After midnight
2020-03-30 00:24:40.779135 INFO octo_block_5hour: Best priced 5 hour period starts at: 2020-03-30T00:00:00 BST

Thinking about this more, I need to make the last run of the day, i.e. after 23:30 use tomorrow 00:00 rather than today 00:00. I don't want to run exactly on 00 and 30 minute boundaries ideally, as that may lead to races with the automation triggers

Fixed in commit 875a990c79e7f6bf9680c858579cd93803741c04


Config based routing not work with nested routes

Describe the bug
Full explanation: https://github.com/solidjs/solid-router/discussions/254
This works:
page.tsx
// ...
    <Router>
      <Routes>
        <Route path="/" component={Root} />
        <Route path="/page/*" component={Page}></Route>
      </Routes>
    </Router>

page.tsx
// ...
    </>
      link to content
      <Routes>
        <Route path="/content" component={Content} />
      </Routes>
    </>

Transform that code to config based routing and click the link to content change the url, but did not show the component Content.
Your Example Website or App
JSX-bases (ok): https://playcode.io/1335544
Config based (not work): https://playcode.io/1335586
Steps to Reproduce the Bug or Issue
View example.
Expected behavior
Same as tsx-based routing.
Screenshots or Videos
No response
Platform

@solidjs/router: 0.8.1
Linux Mint 21
Chrome Version 111.0.5563.110 (Offizieller Build) (64-Bit)

Additional context
No response

Here are the examples:
JSX-bases (ok): https://playcode.io/1335544
Config based (not work): https://playcode.io/1335586

I was also surprised it didn't work.
But if you do this, then everything starts working.
const defaultRoutes = [
{
path: "/",
component: Pages["DashboardPage"],
},
{
path: "/services",
component: Pages["ServicesPage"],
},
{
path: "/services/:id",
component: Pages["ServiceWrapper"],
children: [
{
path: "/",
component: Pages["ServicePage"],
},
{
path: "/models",
component: Pages["ModelsPage"],
},
{
path: "/methods",
component: Pages["MethodsPage"],
},
],
},
{
path: "/workers",
component: Pages["WorkersPage"],
},
{
path: "/workers/:id",
component: Pages["WorkerWrapper"],
children: [
{
path: "/",
component: Pages["WorkerPage"],
},
],
}
]

I found that it works when I don't use A tag, but using useNavigate
Example:
  const navigate = useNavigate();

  return (

      <Routes>
        <Route path="/" component={Home} />
        <Route path="/about" component={About} />
      </Routes>

 navigate('/')}>Home

 navigate('/')}>About

  );

As far as I can tell this is because the examples aren't equivalent. In your config based one, the first router gets only the root route, and your nested one gets the rest, but you put a Page component in a Page component which doesn't have an Outlet and it just doesn't work. When I separate the routes so they are equivalent to the JSX it just works:
import Content from './content';
import Page from './page';
import Root from './root';

export const routes1 = [
  {
    path: '/',
    component: Root,
  },
  {
    path: '/page/*',
    component: Page,
  },
];

export const routes2 = {
  path: '/content',
  component: Content,
};

Given this router and nested ` no longer exists I'm going to close this anyway, but I think the original issue wasn't one.


Ability to customize the default behavior ("macOS" or "macOS + screen")

Feature details
Hey,
Thanks for your work and the great workflow!
I've seen that there's a possibility to prevent screen from sleeping (by using Cmd+Enter).
However, I find myself always forgetting about it.
If possible, it would be really great to have the ability to choose the default behavior, something like:
By default, prevents from sleeping: [select]

macOS
macOS and screen

So, a user chooses what he prefers for the Enter action, and the second option goes to Cmd+Enter.
Thank you,
Dmitry

Thank you for the kind words.
I started looking into it but it’s going to require non-trivial changes and no one else is asking for it after a decade of the workflow being available, so it keeps getting bumped down the list of priorities.
The workflow seldom changes so I recommend you edit it locally instead. All you need to do is double click each of these connections and switch them around.

Make the top one use ⌘ (and make it whatever message you want) and the bottom one have no modifiers.

Got it, thank you! 👍


Use YACL instead of Forge Config API port

Describe your feature
YACL (Yet Another Config Lib) is a simple yet powerful config library for both Forge and Fabric, and it would allow for consistency across versions and loaders. It's used by a lot of mods and it is actively maintained. I believe it's worth considering it.

Thanks for the suggestion. For the time being, SSR will rely on the forge config system, as there would be no benefit in a change, other than additional work.

@Exopandora could you consider it in the future? It is an easy to use API and using another mod loader's config API in Fabric is a workaround to achieve a cross-compatible config system (which can be done with YACL).

I will consider it when necessary, thanks!


[ML-311] Integrate Live Audio Mixer

The excluded tests will be fixed as a part of another task (tests in general are going to be revisited/rewritten)


Table Covers

Leo I wanted to talk to you Monday about this.
On Aug 11, 2016 2:25 PM, "Leo Suarez"<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AMJnM7i7WOEz4X04tsqgUjbsOM4OuFxfks5qe2k0gaJpZM4JiaFg
.

OK great.
On Thu, Aug 11, 2016 at 2:57 PM, TaxLadyTracy<EMAIL_ADDRESS>wrote:

Leo I wanted to talk to you Monday about this.
On Aug 11, 2016 2:25 PM, "Leo Suarez"<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
AMJnM7i7WOEz4X04tsqgUjbsOM4OuFxfks5qe2k0gaJpZM4JiaFg>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205#issuecomment-239257042,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3Ie8lwDrEWiV-bi8a4m4juLmZPkhb6ks5qe3CGgaJpZM4JiaFg
.

Tracy, I went out and scouted for some table covers and saw the plastic ones you mentioned. I went in thinking the fabric or vinyl would be better but I'm now not entirely convinced we'd get much value out of spending that much more money. :)
I do however want to purchase these table clips in order to hold the covers down. I just see a laptop sliding across and moving things all over the place and these seem reasonable.
https://www.amazon.com/dp/B01HAU2BM2/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=8HY9LDS4SFS1&coliid=I31DDXZOULV2I
Any alternate ideas or objections?  Probably in citycamp green, or whatever is close to it.

Not sure how well those will do with the plastic covers.   Also will they
fit the tables we are renting?
On Aug 24, 2016 10:12 AM, "Leo Suarez"<EMAIL_ADDRESS>wrote:

Tracy, I went out and scouted for some table covers and saw the plastic
ones you mentioned. I went in thinking the fabric or vinyl would be better
but I'm now not entirely convinced we'd get much value out of spending that
much more money. :)
I do however want to purchase these table clips in order to hold the
covers down. I just see a laptop sliding across and moving things all over
the place and these seem reasonable.
https://www.amazon.com/dp/B01HAU2BM2/ref=wl_it_dp_o_pC_
nS_ttl?_encoding=UTF8&colid=8HY9LDS4SFS1&coliid=I31DDXZOULV2I
Any alternate ideas or objections?  Probably in citycamp
green, or whatever is close to it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205#issuecomment-242079314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMJnM8STL8JfuDGzQowzNw2tV_7C8YXFks5qjFFJgaJpZM4JiaFg
.

I think they'll be OK. At least we should try them. We will need to be somewhat careful in putting them on.

The round tables have a lot of clearance. The rectangle tables have a lip
that starts about 5 inches inside. I think we should be ok.
On Wed, Aug 24, 2016 at 12:13 PM, Chris Mathews<EMAIL_ADDRESS>wrote:

I think they'll be OK. At least we should try them. We will need to be
somewhat careful in putting them on.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205#issuecomment-242122578,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3IezaLMph_idjxtPvGPBkQ6Lij04eFks5qjG2MgaJpZM4JiaFg
.

Sounds good!  I have used tape in the past to keep them on tables and we
have plenty of duct tape lol :)
On Thu, Aug 25, 2016 at 9:14 AM, Leo Suarez<EMAIL_ADDRESS>wrote:

The round tables have a lot of clearance. The rectangle tables have a lip
that starts about 5 inches inside. I think we should be ok.
On Wed, Aug 24, 2016 at 12:13 PM, Chris Mathews<EMAIL_ADDRESS>wrote:

I think they'll be OK. At least we should try them. We will need to be
somewhat careful in putting them on.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/codeforraleigh/CityCampNC/issues/205#issuecomment-
242122578>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3IezaLMph_
idjxtPvGPBkQ6Lij04eFks5qjG2MgaJpZM4JiaFg>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/205#issuecomment-242381200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMJnM0FwqX4QsX2WcgBadKVGATtM_2Tgks5qjZUqgaJpZM4JiaFg
.

Ordered/bought these.


⚠ Empornium has degraded performance

In a3b6316, Empornium ($EMP) experienced degraded performance:

HTTP code: 500
Response time: 1289 ms

Resolved: Empornium performance has improved in 575675b after 9 minutes.


feat: port LinearAlgebra.Matrix.Circulant

Most of the errors are from the tactic "decide", i don't know how to manage this
In " Fin.circulant_isSymm_iff", the type is not accepted, i tryed to remove the "fun v => " from the proof and then lean tels that the terminasion of the term is not proven
It's not a mistake but in "circulant_mul_comm" there was a case disjunction that i deleted while solving an error (i am not shure if it's a good thing or not)

Thanks!
bors merge


support Polymer

Polymer has new syntax within

According to HTML5 spec, http://www.w3.org/TR/html-markup/syntax.html#syntax-attributes the character ? is (surprisingly) valid HTML5.
Quoting:

Attribute names must consist of one or more characters other than the space characters, U+0000 NULL, """, "'", ">", "/", "=", the control characters, and any characters that are not defined by Unicode.

Can we re-open this?

Also from HTML5 specific spec: http://www.w3.org/TR/html5/syntax.html#attributes-0

Attribute names must consist of one or more characters other than the space characters, U+0000 NULL, U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), ">" (U+003E), "/" (U+002F), and "=" (U+003D) characters, the control characters, and any characters that are not defined by Unicode. In the HTML syntax, attribute names, even those for foreign elements, may be written with any mix of lower- and uppercase letters that are an ASCII case-insensitive match for the attribute's name.

:+1: Since polymer is working on future HTML5 standards, in my humble opinion this issue is valid.
Also polymer does not use template syntax like this:
{{if}

{{else}}

{{end}}

It uses template syntax like this:
<template is="dom-if" if="{{condition}}">

true

</template>
<template is="dom-if" if="{{elseCondition}}">

false

</template>


What are the plans for file upload?

Its great that all the data aspect has been simplified by platformatic, but It'd be nice if the file uploads was handled by this also.

This is something on my mind, but not in the immediate future.
The best way to handle file uploads is to not upload them to the server, but rather directly to S3 using pre-signed URLs. Therefore, it would bypass completely platformatic.
I plan to provide some pre-cooked module to support for this, so it's clearly documented.
Your use case may be different than mine. Could you tell me more?

Isecond this, @mcollina . Please let us know how you're planning your app and your use-case for now: @adminy

My use case is attachments and media uploads for things like profile picture for users. I would like a local option where platformatic runs, as it will be necessary to do image post processing.

Where would you store the images?

in memory or disk

I think you can get there by using https://github.com/fastify/fastify-multipart, it's built for this specific purpose.
You can just install it and use it as a plugin.
In essence we should add a guide on how to use it in Platformatic, as all the functionality should be there already. Let me know what's missing.

@adminy, what stops you from using @mcollina's original solution of keeping files elsewhere. The DB can, then, only store references :)👍


integrate miairr.yaml with reference libraries

The miairr.yaml file provides a number of MiAIRR-specific attributes that we decided to put in a separate file instead of as custom attributes in airr-schema.yaml. The reference libraries should load up miairr.yaml and have the attributes linked to the appropriate data elements as well as be made available to tools.

We might also consider re-visiting the idea of having these attributes in a separate file. If we finalize the study metadata schema and format, we might want to put these back into airr-schema.yaml as custom attributes on the fields.

Discussed in #29. I'm cool with adding custom tags instead of having a separate yaml, but I'm also okay with two files.  The task of auto-generating the old TSV from the two yaml files is still open, but probably best to wait on that until we have a decision on how to format this information.

The consensus opinion from the conference call is to merge the two files.

Basic integration is done.


[1399]: fix the warning - Failure when attempting to lookup auth config

Fixes https://github.com/testcontainers/testcontainers-java/issues/1399

Thank you for this PR -- I can't approve (not a project member), but especially the additional detail on the Docker repo would help me understand the output, and being INFO rather than WARN makes more sense to me.

Build failure seems unrelated. Have raised #3378 to fix.

@rnorth Thanks for fixing the build :). Can you please help in getting this merged?


Change default TLS stack to rustls-tls

Motivation
Want to encourage the use of the more secure and robust TLS stack by default.
Based on feedback (see e.g. #1192) and personal experience have not seen or heard about any current issues.
The main blocker bug was resolved some months ago
This also allows us to not have a huge windows hack in our windows CI.
Solution

switch our explicit default to feature to kube/rustls-tls
switch our precedence when both features are enabled to rustls-tls
make windows run tests in the same way as other platforms

As a clean-up while in the area, have also prevented erroneous Client construction on a TLS requiring cluster, when TLS stacks are disabled. That caused an ugly freezen in #1275

Getting ready to push this in as it is getting close to release time.
Some quick testing on no-tls feature against tls clusters now gives:

WARN kube_client::client: Unsuccessful data error parse: Client sent an HTTP request to an HTTPS server
maybe that should be promoted, ill look later


add account_create_with_delegation op

@adcpm can you switch to use ChainTypes.js for your operation list?  We need the operation ID in that file in the transaction.

Hum. I rely on operations.json for steemjs.com and i dont see how i would get "roles" and "params" of the operations in ChainTypes.js or operations.js.

I'm closing this PR. The operation account_create_with_delegation has been added on another PR here: https://github.com/steemit/steem-js/pull/118


🗺 Add issue templates

These are some minimal GitHub issue templates similar to https://github.com/executablebooks/jupyterlab-myst/pull/131 that are intended to lower the barrier to contributing.
I've made a pr before, but there I messed up a merge conflict https://github.com/executablebooks/mystmd/pull/327

Amazing, thanks for merging! :)
This will lower the barrier to get in contact with the project by a lot!
Btw, it would be great to have a community place, where people can casually chat and exchange ideas about myst.
GitHub is not that place as it does not allow for live-chatting, Twitter is kind of that place, but a bit too focused on one project.
E.g. a MyST community discord server would be amazing to have!


Define 'thisIndex' for Groups

Original issue: https://charm.cs.illinois.edu/redmine/issues/1148

Chare arrays all have a member variable 'thisIndex', while Groups and NodeGroups have a semantically similar ID called 'onPE'. This is an unnecessary pain when porting code from, say, a Chare Array to a Group.
Suggested fix: add a static member variable to Groups called thisIndex, whose value is the same as onPE.

Original date: 2017-01-31 00:47:56

It would be good to have this soon, before the 6.8.0 release.

Original date: 2017-03-10 02:12:05

Why should thisIndex be defined as a static variable?
I have a current implementation which adds thisIndex as a regular protected member(int) of the IrrGroup class defined in charm++.h and ck.C
In the constructor thisIndex is set as follows:
thisIndex = ckGetChareID().onPE;

This seems to be working for both Groups and NodeGroups. I've tested with examples/charm++/hello/group and tests/charm++/pingpong

Original date: 2017-03-10 17:25:18

The idea behind making it static was that we could save on memory overhead by having one instance of it. We can discuss whether that is important or not in core meeting. Go ahead and submit the patch as is.

Original date: 2017-03-11 01:15:14

Patch on Gerrit: ~~https://charm.cs.illinois.edu/gerrit/#/c/2298/~~ https://github.com/UIUC-PPL/charm/commit/2fbd3b8249dc03738e453fb968d6392f5286b824


Url Name Customization Issue + Doc Type

It looks like if you install articulate to an existing site (i.e. a Homepage), you will have a subfolder in the homepage with this structure:
-Homepage
- Articulate
-->Archive
-->Authors
If you were to create a breadcrumb to an article it would appear as so: www.sitename.com/articulate/archive/"article-name"; however, if you want to customize the url to remove the "articles" directory or "archive", it's not possible with the way the doc type is set up.
Am I correct, or is there a way around this?

This sort of relates to this https://github.com/Shazwazza/Articulate/issues/213
but since you are in charge of creating your own breadcrumb then just skip the 'archive' (ArticulateArchive doc type)


Cannot turn off line info, creating major GC pressure

We are deserializing a fairly large JSON document - ~13MB - and ~11MB of LineInfoAnnotation is being allocated. Looking through the code (tagged 9.0.1, but master does not appear to be different in this matter), it appears there is no way to prevent this.
We need to be able to turn this off to decrease heap allocations, which in turn are causing GC pressure which can lead to hangs.

Either https://www.newtonsoft.com/json/help/html/P_Newtonsoft_Json_Linq_JsonLoadSettings_LineInfoHandling.htm
or
public class NoLineInfoJsonTextReader : JsonTextReader, IJsonLineInfo
{
    public NoReaderInfo(TextReader reader) : base(reader)
    {
    }

    bool IJsonLineInfo.HasLineInfo()
    {
        return false;
    }
}


Dutch translation

@rafaelgomesxyz 2 errors because it's the same in Dutch as in English. Should I remove "home" and "streamingServicesName" from the Dutch translations so it reverts to English or keep it and ignore these errors?

I've made some changes to the translation linter that make this easier, so I went ahead and applied those changes here.
I'm gonna wait to merge this PR though, because I'm working on other PRs that will add new messages, so they will have to be translated as well.

@rafaelgomesxyz Can you change something in master: It seems that "hasScrobbler & hasSync:" changed values for "goplay-be". Scrobbler has to be true and sync false.
 Scrobbler has to be true and sync false.

I'm gonna wait to merge this PR though, because I'm working on other PRs that will add new messages, so they will have to be translated as well.

Do you have more on the horizon? I think this should be merged soon.

Do you have more on the horizon? I think this should be merged soon.

I do. At least a couple PRs I'm working on will add new messages. I think it's best to wait for those.

Finally merging, sorry it took so long. Some new messages have been added, if you wish to translate them you can go to https://crowdin.com/project/universal-trakt-scrobbler because we're using Crowdin now to manage translations.

No problem! I'll do the extra translations at Crowdin!
Any news on a final release by the way?

Any news on a final release by the way?

Not yet, still have a few things I want to do before the release.


samples/bluetooth: central_hr sample app is not connecting with peripherl sample app on arduino_101.

Central_hr sample app is designed to connect automatically with nearby peripheral device that notify Heart rate measurements.
On zephyr released v1.9, central_hr is connecting with peripheral sample app. But with latest version it is not connecting(no message shown on console for connected and notification).
Tested zephyr version:
Latest version: cb9390c791f25a6787e07de085375eab96d29e5c
How to reproduce.

Take two zephyr ble targets( Test is done on two arduino_101) and placed near to each other.
On zephyr target 1: Install central_hr sample app($ZEPHYR_BASE/samples/bluetooth/central_hr).
On zephyr target 2: Install peripheral sample app($ZEPHYR_BASE/samples/bluetooth/peripheral), as peripherl sample app is also notify the Heart rate measurements.
Wait for few seconds to check on zephyr target 1, whether strings "connected" and "[NOTIFICATION] data" comes or not.

Expected result:

Zephyr target 1 and 2 are connected, and can be seen the connected strings on both consoles.
Zephyr target 2 will notify the Heart rate measurements, and result can be seen on zephyr target 1 by checking the string "[NOTIFICATION] data".

Actual result:

Zephyr target 1 is not showing the strings "connected" and "[NOTIFICATION] data".

With latest zephyr BLE FW(commit ID=f48dda0f0f4a44c9be86609331430b0bbc4d149a), test is passing, so closing the thread issue.


[FEATURE] Show compact numbers for indicator values

Forecast task to write time on
@Memory1997 https://app.forecast.it/T23093
Who requested this feature?
https://github.com/rodekruis/Anticipatory-Action/issues/644
User Story
As a IBF user
I want to see approx numbers for indicators
So that I understand that these numbers are estimates
What needs to be done

[x] Write function in frontend and backend to make number compact
[x] Update all numbers on the dashboard to show compact numbers
[x] Update all numbers on the emails to show compact numbers

Acceptance Criteria

[ ] Tested and reviewed
[ ] Handed over to requester

Additional context
Use NumberFormat
const number = 2342;

new Intl.NumberFormat(
    'en-GB',
    {
        maximumSignificantDigits: number < 100 ? 1 : 2,
        notation: 'compact',
        roundingMode: 'ceil'
    }
).format(number)

(Optional) Describe alternatives you've considered
Ranges: 1-10, 10-50, 50-100, 100-200, 200-500, 500-1000, 1000-5000, 5000-10000 (too many to consider)
Equalities: < 10, < 50, < 100, < 200, < 500, < 1000, < 5000 (or greater than, you get the idea)

Legend cannot use compact numbers as we need precise values for map visualization.


Make middleware issues more discoverable

https://github.com/aspnet/BasicMiddleware/issues/46
@Tratcher

🆙 📅

:shipit:


chore: use most recent gateway api conformance backend

What this PR does / why we need it:
Gateway API changed their conformance tests to use a different echo server a while ago: https://github.com/kubernetes-sigs/gateway-api/pull/2468. The new server is maintained by the Gateway API project (https://github.com/kubernetes-sigs/gateway-api/tree/main/conformance/echo-basic) and includes additional functionality like delayed response.
The enhanced feature set can be useful for testing scenarios like circuit breakers, connection limits, backend timeouts, etc.
Raising this PR to see if there are any e2e tests that fail due to change in server.

thanks @guydc, can we also fix use this image in quick start and other user guides :)

/retest

/retest

sorry for force-push, I started from scratch after breaking something in the docs gen.
Also added egctl tests and removed httpbin from the circuit breakers user guide.

/retest


S3 Support

Now that there is a PR in-flight for remote storage systems (#811 ), I wanted to ask what the plan was to implement s3 support. Is this something that will live within the datafusion project or maintained outside? Also, does anyone plan on working on this, or is this something that you are looking for a contributor for?
Also, I'm new to the project, so what is the best way to ask these kind of questions...github issues or on the email list? thanks!

My personal feeling is that we probably don't want to have every storage system inside the DataFusion crate by default but either:

Keep separate crates, like datafusion-s3 which has implementations for some interfaces, and maybe also exposes some helper functions
Have some optional features (e.g. s3) living inside the crate.

Wydt @alamb @houqp @andygrove @jorgecarleitao

My personal feeling is that we probably don't want to have every storage system inside the DataFusion crate by default but either:

Keep separate crates, like datafusion-s3 which has implementations for some interfaces, and maybe also exposes some helper functions

Have some optional features (e.g. s3) living inside the crate.

Wydt @alamb @houqp @andygrove @jorgecarleitao

A separate crate is a good idea.
How would you think of keeping the code as part of the workspace?

Another question I wanted to throw out too, on implementation details (probably putting the cart before the horse, but wanted to ask anyway), was should we use Rusoto (in maintenance mode) or the new AWS rust sdk (in Alpha, not on crates.io until GA). My current thinking is probably to use Rusoto for now, as it will probably be a while until the AWS SDK gets into GA, but want to hear everyone thoughts on this.

Keep separate crates, like datafusion-s3 which has implementations for some interfaces, and maybe also exposes some helper functions

Yes I think separate crates is a very good idea to avoid datafusion requiring a massive dependency stack and to keep compile time reasonable.

How would you think of keeping the code as part of the workspace?

I think this is a reasonable for "core" integrations, though going this path also subjects those crates to the apache arrow governance model (among other things slower release cycle) which may not be needed here
Maybe we could start it as its own repo / separate crate with whoever does it and then we can  figure out if we want to bring it back into apache arrow if any.

was should we use Rusoto (in maintenance mode) or the new AWS rust sdk (in Alpha, not on crates.io until GA). My current thinking is probably to use Rusoto for now, as it will probably be a while until the AWS SDK gets into GA, but want to hear everyone thoughts on this.

FWIW we took this approach in IOx (starting with Rusto) and it has been working well for us: https://github.com/influxdata/influxdb_iox/blob/main/object_store/Cargo.toml#L21-L23 (we have been using it in AWS for several months now and we have not hit any issues with it)

I also think separate crate is a good idea. The design that @yjshen came up with made it very easy to implement different remote storage backends as self-contained plugins.
Maybe it's finally the time to create that general Rust database Github Org that @andygrove mentioned at https://github.com/ballista-compute/sqlparser-rs/issues/308#issue-868292203? We could use it as the incubator for various experiments that need collaborations instead of using personal namespace.

How would you think of keeping the code as part of the workspace?

I think the upside of this is we won't need to deal with IP clearance if we ever need to donate it back to datafusion. The downside is what Andrew said earlier, slower release cycle due to apache governance overhead, which is not too bad for a stable project. For newer and fast evolving projects, it might slow things down unnecessarily.

Maybe it's finally the time to create that general Rust database Github Org that @andygrove mentioned at ballista-compute/sqlparser-rs#308 (comment)? We could use it as the incubator for various experiments that need collaborations instead of using a personal namespace.

Wow, that's great!

If someone may be interested, I will also work on HDFS support right after this.

Maybe it's finally the time to create that general Rust database Github Org that @andygrove mentioned at sqlparser-rs/sqlparser-rs#308 (comment)? We could use it as the incubator for various experiments that need collaborations instead of using personal namespace.

If we are developing crates that are extensions to DataFusion then I would be nervous about creating a separate org & community with its own governance for these crates. I think it would be fine for generic database-related crates that don't have "arrow" or "datafusion" in the name, such as the sqlparser-rs crate.
We already have the ability to create arrow-experimental-* repos where we do not need so much governance. Perhaps we should try that route first?

Wanted to reopen the discussion here...do we have a consensus on which approach we want to go with? Now that the first set of remote storage PRs are merged, this can now be implemented.

I think there is a consensus on the architecture within datafusion, now that https://github.com/apache/arrow-datafusion/pull/950 has been merged
I think we now would need to rework the various table providers  (CsvExec, ParquetExec, etc) to use that interface rather than File or Read directly,  and then we would be ready to create an S3 plugin for DataFusion

@alamb That makes sense, my thought though is that s3 support can be worked on in parallel (although not able to utilized until the table providers are updated) as the scaffolding is there with the Object Reader and Object Store traits. In order to do that, however, either a repo would need to be created (or one of the other approaches given previously adopted).

Taking @andygrove 's comment into account, unless anyone volunteers to help create the arrow-experimental-datafusion-s3 repo, it might be easier to follow @Jimexist 's suggestion to create and manage the s3 plugin crate inside datafusion's workspace. Downstream applications can pull in the plugin dependency by git hash if we are behind on official releases. Also I believe we can release alpha/beta versions to crates.io without requiring an official vote?

Starting to work on an experimental crate within arrow-datafusion seems like a good approach to me.
I haven't tracked / studied the requirements for releasing alpha/betas in fine detail, but I think as long as they are clearly marked as not official apache releases, it would be fine to put them on crates.io

#1010 (more exactly https://github.com/rdettai/arrow-datafusion/pull/1) is taking care of re-organizing the TableProviders and ExecutionPlans to integrate the ObjectStore abstraction

@alamb @houqp I'm really interested in getting s3 support added.
If no one else is working on this I should be able to pick it up soon (of course I'll likely have questions along the way). Based on the above it seems the approach would be to add it as crate in arrow-datafusion. Assuming this is still the case is there anything else I should know before starting?

@matthewmturner we created https://github.com/datafusion-contrib to host these community maintained extensions so it's easier for us to evolve the core datafusion code base.

I also recommend taking a look at the new official AWS rust SDK, it seems a lot more mature since we started this discussion.

I also recommend taking a look at the new official AWS rust SDK, it seems a lot more mature since we started this discussion.

Ok. Will check it out.

@houqp Separate but related to s3 I'm interested in adding the ability to register a AWS glue catalog / database.
Is that type of functionality something I could expect datafusion to have? If so, do you think it makes sense to bundle with s3? I would of course start with s3. But just for planning purposes (I.e looking at rusoto vs AWS sdk)

I think so, but i think the GLUE catalog integration should be implemented as a table provider plugin in a separate crate, not object store plugin.

@houqp for these cloud based services what do you think about a naming convention like the following:
datafusion-[cloud provider]-[service]
i.e.
datafusion-aws-s3
datafusion-aws-glue

My suggestion would be naming the repos by extension types, for example: datafusion-objectstore-s3, datafusion-table-glue, etc. But I don't have a strong opinion on this :)

makes sense.  do you think for glue it might be better to use catalog instead of table?

Yeah, i think that's a better name :+1:

FWIW one example of using the aws s3 object store interface is in IOx: https://github.com/influxdata/influxdb_iox/blob/main/object_store/src/aws.rs in case that is helpful

FWIW one example of using the aws s3 object store interface is in IOx: https://github.com/influxdata/influxdb_iox/blob/main/object_store/src/aws.rs in case that is helpful

thank you

@houqp @alamb im very interested in getting s3 / glue support added to datafusion cli.  do you know of a way to feature gate other libraries without adding their code to datafusion cli codebase? im just concerned that datafusion cli codebase could become messy if we end up adding the code and feature gate for each functionality like this (i.e. aws s3, aws glue, azure blob, custom sql, etc...).  or maybe thats okay? what do you think?
As an aside, and for your information, someone emailed me and wanted to add azure blob storage support to datafusion but said they could work on s3 first.  ive created a repo in the datafusion-contrib organization (https://github.com/datafusion-contrib/datafusion-objectstore-s3) and will point them to the Influxdb IOx implementation for inspiration.

FYI there is some great work from @yahoNanJing in this area on https://github.com/apache/arrow-datafusion/pull/1062

Hi guys,
I built this which works correctly and uses the offical Amazon SDK: https://gist.github.com/seddonm1/2fb5a6892989fe7bf246022a7bd586ee
If it is useful I'm happy to donate it.

@seddonm1 I invited you to the datafusion contrib org as well, could you work with @matthewmturner to figure out how you want to collaborate on this?

@houqp yup sounds good.
@seddonm1 that would be fantastic if you could donate it.  do you have a preference for how you would like to do that?  if you want to contribute directly i could work on setting up CI in the repo and testing what you've done on my side.
let me know how you would like to proceed and thanks so much for the donation!

@houqp thanks have joined that org.
@matthewmturner I have updated my example with the tests I ran against the Minio docker container (https://docs.min.io/docs/minio-docker-quickstart-guide) (so ignore the passwords as they are just the suggested values). I suggest something similar for testing in CI.
I can do a PR tomorrow AU time.

Thanks @seddonm1. minio provides s3 api compatibility for azure blob storage. I'll try running the tests today with azure blob storage.

@seddonm1 ok i will look into that. also once im comfortable with the usage i can work on the documentation.
from a code perspective, is there anything in particular that we should be aware of?  i.e. any issues with aws rust sdk?

for those waiting for this functionality a PR has been raised: https://github.com/datafusion-contrib/datafusion-objectstore-s3/pull/2
If you want to help test you can follow the instructions in the PR and it should work. The abstraction is good @rdettai and will be even better once the async fn chunk_reader can be used 👍

Folks, thank you for great work on this issue. I see that repo https://github.com/datafusion-contrib/datafusion-objectstore-s3 has the relevant code added. I am a little hazy on how do I get these two projects (datafusion & datafusion-objectstore-s3) compiled and work together. Are there any pointers towards this?

@alamb @houqp im thinking we can close this issue now.

you could also look at our tests to see all functionality

Thank you for this pointer @matthewmturner . This is precisely what I was looking for, everything working great in my local testing.


Floating link editor for AutoLinkNode and conversion to LinkNode once modified.

This PR fixes #4202 as well as satisfies @zurfyx request in #4203 to have the AutoLinkNode be converted to a LinkNode once modified in the floating link editor toolbar.
I saw multiple closed PR's for this and it looked like it was still an issue no one was currently working on.
Please let me know if there's anything I need to change, I know the conversion logic is kind of ugly.

Sorry about that @zurfyx, ran into some weird issues after having to rebase the branch due to the changes to main. Should work perfectly fine and as intended now.

LGTM, thanks Harry!


[image_picker] and [flutter_plugin_android_lifecycle] crash

Problem
It seems image_picker 0.6.3 causes startup crash in Android in release mode if used with flutter_plugin_android_lifecycle 1.0.3
Steps to reproduce

Create new app
Add this dependencies:

image_picker: 0.6.3
flutter_plugin_android_lifecycle: 1.0.3

Note: 1.0.3 is used explicitly to force exactly this version. While omitting this dependency will now make 1.0.4 used and work well, some users may have version: "1.0.3" in pubspec.lock and see strange crash

Make release build for Android
Install and launch app

Example app
Logs
01-15 21:32:59.971 19324 19324 E AndroidRuntime: FATAL EXCEPTION: main
01-15 21:32:59.971 19324 19324 E AndroidRuntime: Process: com.example.test_image_picker, PID: 19324
01-15 21:32:59.971 19324 19324 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test_image_picker/com.example.test_image_picker.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.lifecycle.f.a(androidx.lifecycle.g)' on a null object reference
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2914)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1809)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6692)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
01-15 21:32:59.971 19324 19324 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.lifecycle.f.a(androidx.lifecycle.g)' on a null object reference
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at io.flutter.plugins.imagepicker.ImagePickerPlugin.a(Unknown Source:69)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at io.flutter.plugins.imagepicker.ImagePickerPlugin.a(Unknown Source:27)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at io.flutter.embedding.engine.c.a(Unknown Source:106)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at b.a.b.a.e.a(Unknown Source:57)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at b.a.b.a.d.onCreate(Unknown Source:22)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:7136)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:7127)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2894)
01-15 21:32:59.971 19324 19324 E AndroidRuntime:        ... 11 more

Proposed solution
As the issue is fixed in flutter_plugin_android_lifecycle 1.0.4, make image_picker depend on
flutter_plugin_android_lifecycle: ^1.0.4

I've made PR that updates dependency to ^1.0.4: https://github.com/flutter/plugins/pull/2506


GH-154: Replaced the lists with sets for the xpath computations.

As a quick solution for a performance issue when resolving complex
long paths.
Closes: #154.

@svenefftinge, can you please look into the changes? Thanks!

@huyuwen were you able to test the change against your models?

I have replaced the HashSet with a LinkedHashSet.

Not yet, I will do it ASAP. Sorry for delay.
Akos Kitta<EMAIL_ADDRESS>于2018年11月20日周二 上午10:46写道：

I have replaced the HashSet with a LinkedHashSet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/theia-ide/yang-lsp/pull/155#issuecomment-440209608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxaKWJOMHdfsiq406neSW861VZLW-omks5uw8-BgaJpZM4Ynkep
.

I am merging this now.

I just test locally with our own data. The solution works fine.
I will test yang-lsp again when I used the latest generated package later.
Really thanks.


Add signProviderOptions for using non-default signing servers.

Added functionality to optionally configure the usage of a custom signing server without disturbing the default application flow.

Hi @zerodytrash, do you have any feedback on what changes are necessary for you to merge this if they are needed? Thank you!

Hey, sorry for the delay. The change makes sense. Thanks for that!


CloudSQL Import - Replace the need to share the dump file publicly

Hello,
First, thanks for those samples, it helps me a lot everyday ! 😄
In the Import CloudSQL sample, one of the prerequisites is to publicly share the SQL Dump. I think that this could be a bad practice and leads to security flaws ( https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/cloudsql_import#prerequsites ).
Maybe, we can change the orchestration of the DM script this way :

Create the Cloud SQL Instance
Create the GCS bucket & add the dump in it (from SourceRepo for example)
Add the CloudSQL service account with role Storage Object Viewer permission to the GCS bucket
Make the actual import

I can do the actual PR if you want so 😃

PR done ;) thanks for the feedback. #468

Hi @oussamahammami
Thanks for the PR ! :D


DLSS is blurry on RE4 here

It works really well in RE4 Demo or RE Village, but it's really blurry on RE4. It looks like it's rendering in a very low resolution or something like that. I've tried every option on TemporalScaling, only DLAA works as it should, but I'm looking for better performance. Have no idea what's happening here. I've sent the exactly same files that i'm using to some friends and for them DLSS it's working fine!

Works fine on my end. What is your output resolution set to?
Be sure to disable "Allow Engine TAA" in the upscaler settings, as it makes things really blurry.
Also be sure disable FSR 1 & 2 in the game settings, as well as Interlaced rendering.
Also disabling motion blur gets rid of some issues.

This can happen if you have the built-in FSR or FSR2 enabled. Double check that those are disabled in the game options.

 Yes, FSR was enable and I didn't know since I hate this. I though that I have disable it. Thanks. DLSS is working fine now!


build: update requirements.txt

to get flash_build.py to run

this actually runs fine with python 3 with the requirements already in the script . Feel free to close this without merging.

Is this patch required for Python 2.x? If yes, then I will merge it.

Python2 is EOL, I don't think it should be supported.

It is required for Python 2. Still, an alternative would be to use https://github.com/pine64/bl_iot_sdk/pull/54 . That simply documents that python3 should be used, making it shell-executable.


fix: [M3-7004] - Allow IPv6 ranges transfers

Description 📝
This PR aims to fix a regression where users weren't able to transfer IPv6 ranges in the Linode Network tab.
I am frankly unsure how that was a regression considering we weren't pulling the ranges in the modal whatsoever, but perhaps someone has better context about this. Long story short, I hope my fix is the right one considering my lack of context. One thing I know is that adding those back to the modal works fine, and the transfer goes through.
This component is gross.  While I wanted to only address the problem at heart, I couldn't help but attempt to improve the UI and make things at least look better for our users in the modal and add IP drawer.
Changes  🔄

Add (back?) IPvs ranges to the modal
Improve layout and styling in modal and drawer
Invalidate an extra query to improve the experience
Refactor default export

Preview 📷

Before
After

Before
After

Before
After

How to test 🧪
Prerequisites

Have two linodes in the same region without any extra IP address added (linode1, linode2)

Reproduction steps

Navigate to /linodes/{linode1.id}/networking
Add an IPv6 range (either /64 or /56)
Click on the "IP Transfer" Button
Notice your IPv6 range is not present

Verification steps

Stay on  /linodes/{linode1.id}/networking
Pull code locally
Click on the "IP Transfer" Button
Notice your IPv6 range is present and can be transferred to linode2
Verify it gets removed from the IPs table without a refresh

Overall regression testing

Verify styling at all breakpoints
Verify IPv4 can be transferred just the same

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@jdamore-linode thoughts on covering this one?

@jdamore-linode thoughts on covering this one?

@abailly-akamai We definitely should! I think we should have Cypress coverage for pretty much every flow involving the Linode Details page (if not e2e, at least with mock data) and I don't believe we have any for IP management right now.
I wouldn't worry about handling that as part of this PR (unless you're feeling ambitious) -- I can write up some tickets for this and a few other things later this afternoon.

@dwiley-akamai This is indeed intentional (and not consistent with the rest of the app), mostly because we had gotten feedback users go back and forth between the table and modals to see additional details.
@hana-linode intentional as well. This modal has a unique layout and the mobile version needed a bit of TLC. Again, not really consistent but neither is this feature. Gonna leave it in there cause it adds clarity between rows.
@jdamore-linode tickets would be great, thank you!


chore(NA): adds --show_result into the iBazel proxied flags list

I've just found --show_result as an useful flag to be proxied into bazel and that should be added into that list

@achew22 do you think this is okay to go with?

So sorry about this you got lost in the thousand tab purge that happened yesterday.
I'll also do a release with this included

Thank you very much @achew22 ❤


Congratulations and Request for Additional Information on Your Research

I want to extend my heartfelt thanks for sharing your outstanding research with us.
Congratulations on your acceptance to CVPR 2024; that’s an impressive achievement!
Inspired by your excellent work, we are eager to contribute to occupancy prediction research and are planning some experiments in this area.
To assist with our project, I have posted an issue on your repository.
Could you possibly share the performance details of each model configuration you’ve posted?
Additionally, would it be possible for you to share the checkpoints as well?
Thank you for your time and assistance.
Best regards,
Jungho Kim

Further question.
_dim_ is quite large than numC_Trans
numC_Trans = 32
\_dim\_ = 256

_dim_ has a considerably higher number of channels compared to numC_Trans, which results in a significant increase in memory usage for voxels. However, BEVdetocc has shown that it is capable of performing tasks with just a 32-channel dimension. Does using up to a 256-channel dimension significantly affect performance? Are there any results from experiments conducted with reducing the _dim_ size to 32?

Further question.
dim is quite large than numC_Trans
numC_Trans = 32
\_dim\_ = 256

dim has a considerably higher number of channels compared to numC_Trans, which results in a significant increase in memory usage for voxels. However, BEVdetocc has shown that it is capable of performing tasks with just a 32-channel dimension. Does using up to a 256-channel dimension significantly affect performance? Are there any results from experiments conducted with reducing the dim size to 32?

32-channel is used for high-resolution OCC features (20020016), while the 256-channel is suitable for compact OCC features (505016). We have not experimented with lower channel dimension, but I believe that for compact OCC features, there could be a lower yet effective channel dimension.


Clicking on Quantity in positions filters in wrong side of order ticket

So If I have a Long position (ie say 30 of outcome Yes) If I click on the quantity...the roder ticket should go to sell shares and filter in 30 into quantity (Limit price and Total order value remain empty to be filled in by user)
If I am short 30 shares and click on quantity, the Buy Shares order ticket should filter in with 30 in the quantity

fixed - closing


Do not define function in for loop

Also added a pretest task so linting will always get run

The tileLoadFunction is not executed in the scope of the source, so this won't work. Is there a way to tell sonarqube that the function creation inside the for-loop was intentional?

I'm going to close this one, instead I will mark the issue as won't fix in the sonar interface


Causes to generate TypeAdapter

First of all, thank you for the #19—it greatly simplified things. Just wanted to ask—is it possible to eliminate the need of static method returning TypeAdapter? For example, the processor can go over the class signature and detect if any methods have @SerializedName annotation and, if it does, generate TypeAdapter automagically. It is not an ideal solution of course because @SerializedName is not mandatory at this point. Wanted to ask about this because after #19 implementation it feels a little cumbersome to keep a static method in every model.

There was some discussion in #17 about how to identify classes for inclusion, and settled on the public static member since it would be required anyway.  The issue is that the generated classes are package private, so there needs to be a public member in the annotated class since not all value classes will necessarily be in the same package, and the TypeAdapterFactory needs to access them.

I'm closing this issue as the deliberate decision behind the current functionality has been explained.  If you think I've missed something and this should be reconsidered, you can reopen the issue and continue the discussion.


Unable to inherit enum type

EdgeDB Version: EdgeDB CLI 1.1.0+8bc2c20
Server version: 1.1
OS Version: Mac OS Catalina 10.15.7

Steps to Reproduce:

Just create a new instance with following schema

    scalar type Status extending enum<pending, in_progress, finished>;
    scalar type ImportStatus extending Status;
    scalar type ImportAnalyticsStatus extending Status;

Running edgedb migration create and get error message

> edgedb migration create
did you create scalar type 'default::Status'? [y,n,l,c,b,s,q,?]
> y
did you create scalar type 'default::ImportAnalyticsStatus'? [y,n,l,c,b,s,q,?]
> y
did you create scalar type 'default::ImportStatus'? [y,n,l,c,b,s,q,?]
> y
edgedb error: EdgeDB could not resolve migration with the provided answers. Please retry with different answers.

Yeah it looks like this is just not really implemented. I'm going to put up a PR to produce a real error message, for now.

Alright, I actually ended up taking a second look and realized that actually implementing it would be pretty easy.
And then, after I had finished all the parts that I felt were the core of the implementation, I stumbled across some very fiddly interactions with our mechanism for deleting an element from an enum, which wound up requiring some nontrivial changes to that mechanism.


Missing jinja dependency?

> pip install --upgrade pycapnp
Collecting pycapnp
Installing collected packages: pycapnp
Successfully installed pycapnp-0.5.7

> capnpc -ocython schema.capnp
Traceback (most recent call last):
  File "/Users/abuchanan/projects/shylo/capnproto-annotation/venv/bin/capnpc-cython", line 7, in <module>
    from capnp._gen import main
  File "/Users/abuchanan/projects/shylo/capnproto-annotation/venv/lib/python2.7/site-packages/capnp/_gen.py", line 6, in <module>
    from jinja2 import Environment, PackageLoader
ImportError: No module named jinja2
cython: plugin failed: exit code 1

> pip install jinja2
...
Installing collected packages: MarkupSafe, jinja2
Successfully installed MarkupSafe-0.23 jinja2-2.8

> capnpc -ocython gff.capnp
You now need to build the cython module by running `python setup_capnp.py build_ext --inplace`.

I have to manually install jinja2 before things will work. Is that on purpose?

I also had to install cython. Maybe you're trying to separate dependencies between reading and code generation?

I'm sorry, but the capnpc-cython script that you're trying to use is unsupported. It's more just a proof of concept of what a cython code generator would look like. pycapnp under normal usage doesn't require cython or jinja in any way.

Ah, I had no idea! Haha. I stuggled with it for hours. Maybe I can update the docs to make it clearer how to get started?
On Tue, Oct 27, 2015 at 1:19 AM, Jason Paryani<EMAIL_ADDRESS>wrote:

Closed #85.
Reply to this email directly or view it on GitHub:
https://github.com/jparyani/pycapnp/issues/85#event-445887182

Nevermind, I guess I just should have RTFM. My bad.


Running out of memory when processing SVG files with large view box

I am not sure what the problem is, but when I try to process the attached SVG file to PNG, imgproxy memory consumption explodes and it crashes. I am running v2.16.0 on Heroku:
Started /insecure/width:128/height:128/plain/path-to-svg/2494618@png
(imgproxy:4): GLib-GObject-WARNING **: 16:26:53.764: value "0.000720" of type 'gdouble' is invalid or out of range for property 'scale' of type 'gdouble'
Process running mem=1279M(250.0%)
Error R15 (Memory quota vastly exceeded)

It works fine if I try to set the size at 512x512 or above, but anything lower seems to crash it.
The source SVG file is peculiar because:

view box is crazy large viewBox="0 0<PHONE_NUMBER>72"
there is an element with id="图层_x0020_1"
contains elements with large sizes height="51185" width="33977"

I have tried enabling IMGPROXY_DEVELOPMENT_ERRORS_MODE, but I don't get any additional errors.
test.svg.zip
(I had to zip the SVG file, as GitHub does not allow SVG uploads.)

Hey Emil!
For some reason, libvips limits the minimal value of scale for vips_svgload. I managed to bypass this in the latest build.

Thank you for looking into this, Sergey!
I will test and report back when the next release is out.

v2.16.1 includes the fix

I can confirm the fix is working correctly. Thank you so much for the fast reaction! ❤


Support and truncate text fields

Rapidash discovered an issue where TEXT and other blob columns where not being sent over to SQS, which makes a lot of the work that we are doing towards Subscribed Events kind of hard since a lot of our fields within our app are TEXT fields and tracking their changes seems relevant.
MySQL stores Text fields as blobs, which Changestream was configured to ignore. The changes is this PR adds support to transform the BLOB to a String.
As a team, Rapidash + Maverines, have decided on an arbitrary limit of 16KB for the supported length of this text fields. If the value were to be longer than the defined limit, we'll truncate at 16KB and add a [TRUNCATED] text at the end of it.
These changes will allow Changestream to send the contents of text fields up to SNS, which will be consumed by Subscribed Events

The changes in this PR were inspired by the work and discussions from https://github.com/mavenlink/changestream/pull/81

Can we remove the codecoverage thing? it's doing nonsense 😢


Bubble Charts differ when generated from a DTM

lexos.visualization.bubbleviz.create_bubble_chart_from_dtm produces a different (and less useful) result from lexos.visualization.bubbleviz.create_bubble_chart, where the input from the latter is created directly from term counts produced by the Python Counter class. The reason appears to be that Counter preserves the order of the tokens, so that the counts are fed to the plotting algorithm in a non-sequential order. This in turn appears to influence how the algorithm handles collisions between bubbles.
A consequence of this is that generating bubble charts from a DTM will probably never produce the same results as from a Python Counter, at least with the current algorithm. It would be nice to find a better algorithm that would work more consistently.

If I understand this issue correctly (more than a year on), the create_bubble_chart() method was designed to take an arbitrary list of terms as input, but the assumption was that this list would be generated by getting term counts using Counter, which automatically sorts the results. On the other hand, create_bubble_chart_from_dtm got the terms list from the stats table without sorting them. This led to a difference in how terms were fed to the plotting algorithm.
As of September 2023, the code has been re-written to plot bubbles using circlify as a dependency. In the new version, both term lists and lists extracted from a dtm are automatically sorted. So this issue should be resolved in the next release.


Create Rosbags for Integrated or Semiintegrated environments of the project to be used for testing nodes in a isolated state

I will try to create two rosbag:

to collect the audio information from the robot playing with the single mallet, here I need help from @Flova or @berkgungor on how to use the robot, I need to know the interface, if you have it done please let me know.
to collect some human speech under common situations (i.e. with some noise and/or robots speaking) to test/calibrate the robustness of the speech recognition.

Can you give an update?
@yunlong-wang-cn


Chore enlarge sync filter size rpc timeout limit (#…

…37103)
Proposed changes
pick from #37103

run buildall


feat(napi/parser): remove experimental flexbuffer api

#2957  👈
main

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

Join @Boshen and the rest of your teammates on  Graphite


urlencode navigation URLs rather than HTML escape

closes #7826

expose raw url value inside {{navigation}} helper
modify {{url}} helper to urlencode values and mark as HTML-safe to avoid Handlebars additional HTML-escaping

I've looked over the uses of {{url}}, I think it would be better to do the encoding step in that helper rather than inside the {{navigation}} helper's data step. Updated PR incoming 😄

Will review as first thing in the morning 👍

We need this fix in master as well - will take care.

We need this fix in master as well - will take care.

Did


Drop non-styles from exposed style names

ansi-styles adds some extra keys to styles:
https://github.com/chalk/chalk/blob/92c55db46f2396c18764e55e6a52dcb49884a42b/source/vendor/ansi-styles/index.js#L98-L103
We should filter them out.
Or we could process those style names in ansi-sytle, see https://github.com/chalk/ansi-styles/pull/82. I marked that PR as a draft to discuss how we can improve on this.
My thoughts are:
Option 1:
Filter style names in Chalk
Option 2:
Apply https://github.com/chalk/ansi-styles/pull/82, then export style names from ansi-styles in Chalk
Option 3:
Apply https://github.com/chalk/ansi-styles/pull/82 change but in favor of modify the vendor/ansi-styles directly, then export styles names
What do you think?
For the exposed style names, we'd better add some tests to ensure its outputs are correct.

I would go with option 2.
Option 3 is not entirely clear to me.

Option 3 is not entirely clear to me.

I mean change the code directly in https://github.com/chalk/chalk/blob/main/source/vendor/ansi-styles/index.js. But I don't think it's a good solution.

I mean change the code directly in https://github.com/chalk/chalk/blob/main/source/vendor/ansi-styles/index.js. But I don't think it's a good solution.

No, we shouldn't do that. The vendor stuff is meant to be kept in sync with the source.

Of course. I marked the https://github.com/chalk/ansi-styles/pull/82 as ready, please review.
I will sync those changes to this project.

Can you change the exports to use the Name suffix like ansi-styles? We already shipped the current names, so we need to preserve those using an alias with a @deprecated doc comment.

@sindresorhus Done. This failing CI doesn't seem to be related to the code.

https://github.com/chalk/chalk/blob/main/.github/workflows/main.yml#L25
Not sure the goal here with this check but seems like codecov is completely broken regardless of version, it's just that it's only enabled on 16.

Passing now.

Curious, what was the issue? The error message led me to believe it was a transient issue...