0.3.4: Unit tests: Configure github CI

Can't find a way to install ncurses, closing this for now.


Type of LIDAR views data

Hi, thank you for your work!! I would like to know why yout lidar views data are uint8 and not float 32, which type of conversion has been performed?

Great work !! And the same question for me. And can I say that the range of the lidar images are withing [0, 100]? How can I normalize lidar pngs in DELIVER dataset?

Hi, thank you for your work!! I would like to know why yout lidar views data are uint8 and not float 32, which type of conversion has been performed?


Rendering problems with GTX970

It looks like that the last vertex is missing.
I've tested it on MacOSX 10.11.6, here are the details of the GPU
VIDIA GeForce GTX 970:

  Chipset Model:	NVIDIA GeForce GTX 970
  Type:	GPU
  Bus:	PCIe
  PCIe Lane Width:	x16
  VRAM (Total):	4095 MB
  Vendor:	NVIDIA (0x10de)
  Device ID:	0x13c2
  Revision ID:	0x00a1
  ROM Revision:	VBIOS <IP_ADDRESS>.5e
  Displays:
PHL 234E5:
  Resolution:	1920 x 1080 @ 60Hz (1080p)
  Pixel Depth:	32-Bit Color (ARGB8888)
  Display Serial Number:	UHB1424006540
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Rotation:	Supported
  Television:	Yes

that's weird, gfx_quads wors fine on master on my mac (radeon gpu), any ideas what this might be?

Yep, wrong parameters passed during the creation of the vertices arrays... Copy&Paste mistake that works on the other GPUs

Tested master with the new changes and the rendering now works.
Stride's value was wrong, in our case it has to be 0
Also the size of a Vertex has to be 2 since we have only 2 components


missing required property "version"

<template>
  <MglMap :accessToken="accessToken" version="12" :mapStyle="mapStyle" />
</template>

<script>
import "mapbox-gl/dist/mapbox-gl.css";
import Mapbox from "mapbox-gl";
import { MglMap } from "v-mapbox";

export default {
  components: {
    MglMap,
  },
  data() {
    return {
      accessToken:
        "xxx", // your access token. Needed if you using Mapbox maps
      mapStyle: {}, // your map style
    };
  },

  created() {
    // We need to set mapbox-gl library here in order to use it in template
    this.mapbox = Mapbox;
  },
};
</script>

You're passing an empty object. to the mapStyle property - this should be a String or an object that conforms to the Mapbox Style Specification. The errors you are getting aren't errors for the map version, they're validation errors of the style object you've passed, the object should be in the format:
{
    "version": 8,
    "name": "Mapbox Streets",
    "sprite": "mapbox://sprites/mapbox/streets-v8",
    "glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
    "sources": {...},
    "layers": [...]
}

Documentation
I suspect that you probably want to use the string format

thanks,


[BUG]: PgSchema - Table constraints not detected when using array syntax

Report hasn't been filed before.

[X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?
0.38.2
What version of drizzle-kit are you using?
0.30.1
Other packages
No response
Describe the Bug
Description
When attempting to create constraints (unique, check, foreign key) and indexes using the new array syntax in table configuration, Drizzle fails to pick up and generate them. However, the same configurations work correctly with the deprecated object syntax.
This issue affects all types of constraints as documented in https://orm.drizzle.team/docs/indexes-constraints#unique
Reproduction Steps
Not Working (New Array Syntax):
export const schema = pgSchema('schema_name');

export const table_name = schema.table("table_name", {
  field: text()
}, (table) => [{
  index_name: index("index_name").on(table.field)
}])

Working (Deprecated Object Syntax):
export const schema = pgSchema('schema_name');

export const table_name = schema.table("table_name", {
  field: text()
}, (table) => ({
  index_name: index("index_name").on(table.field)
}))

Indexes are not being picked up or generated when using the array syntax, but work correctly with the deprecated object syntax.

Your example is still having an array of objects.
The new API is:
export const schema = pgSchema('schema_name');

export const table_name = schema.table("table_name", {
  field: text()
}, (table) => [ index("index_name").on(table.field) ])

Your example is still having an array of objects.
The new API is:
export const schema = pgSchema('schema_name');

export const table_name = schema.table("table_name", {
  field: text()
}, (table) => [ index("index_name").on(table.field) ])

I will give it a try, but the documentation should reflect this too as it currently suggesting the use of array of objects.
export const userNulls = pgTable('user_nulls_example', {
  id: integer('id').unique("custom_name", { nulls: 'not distinct' }),
}, (t) => [{
  unq: unique().on(t.id).nullsNotDistinct()
}]);

https://orm.drizzle.team/docs/indexes-constraints#unique

We'll get to updating the docs to reflect the new syntax. We already have an issue open to track this so I'll be closing this one.


React beautiful dnd in Swipeable drawer doesn't work as expected on touch

I am trying to implement a Backdrop using a swipeable drawer that contains a react-beautiful-dnd list. The dragging of the elements works as expected when dragging with the mouse cursor. But on dragging the elements with touch, the drawer also gets dragged. Is there a way to prevent that from happening? Can touch be disabled in certain areas of the drawer? I tried quite a few different things but wasn't making any progress. Any help is appreciated! I have created a codesandbox example.
https://codesandbox.io/embed/react-beautiful-dnd-swipeable-drawer-y0dqw

This issue sounds like a follow up on #16219. Any idea on how we could solve the problem?

Related to https://github.com/atlassian/react-beautiful-dnd/issues/1468

The problem seems identical to #16565. I'm eager to hear @alexreardon thoughts on the problem. How can we orchestrate the event handlers correctly? It's an issue between two MUI components as much as between MUI and react-beautiful-dnd.

We can reproduce the problem without the swipeable drawer: https://codesandbox.io/s/react-beautiful-dnd-swipeable-drawer-x5688. I'm closing.


Ephemeral messages - Self destructing events feature?

Is your suggestion related to a problem? Please describe.
Ephemeral messages or self destructing chat/salon is a requested feature by people for whom privacy is a matter of life
Describe the solution you'd like
As this synapse feature is coming, https://github.com/matrix-org/synapse/pull/6409, would it be possible to have such feature available on Riot-android?

sorry, duplicate of https://github.com/vector-im/riot-android/issues/1246


Algorithm Test: angular power spectrum of tiled cubes

To test the algorithm, we should perform a test (and consider making it a unit-test) where we produce a 3D cube with a given power spectrum (using eg. powerbox), tile it onto a healpix map, take the angular power spectrum and compare with the original.
I'll have to dig back to remember how the 3D power spectrum converts to an angular power spectrum.

@steven-murray thanks for keeping track of this. @simonsmatin and I have been working on this, so I would be happy to formalize it and make it an integration test (and add the math/documentation to the repo).

Wonderful, thanks!


Please provide the documentation for running management queries from Spark Databricks Notebook. We need run the adx mangement queries like renaming and droping the adx tables from spark code.

[Enter feedback here]

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

ID: 66353133-1b29-fa99-c9bd-e74c4a2f14dc
Version Independent ID: 5cf9bdf3-207a-ab00-4cb9-4b5e4668f894
Content: Connect to Azure Data Explorer from Azure Databricks
Content Source: data-explorer/connect-from-databricks.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

@lohithrvce Thank you for reaching out, our team will review your request and get back to you at the earliest

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

@lohithrvce thanks for your feedback.
@ohadbitt or @ManojRaheja can you please assist.

The spark connector is for querying and ingesting data. In order to use management queries (called control commands) one need to use the java or python sdk depend on the environment he is using

@ohadbitt thanks for the clarification. @lohithrvce - I hope this answers your question. I am now closing this issue. If you have follow-up questions, feel free to comment here.


chore(jsii): improved diagnostics for package.json

Produces source-linked diagnostic messages when inspecting the
package.json file for configuration values in the same way that
messages are generated for .ts files. This provides a nicer experience
as it allows to link multiple context entries (i.e: this devDependency
entry is redundant because of that dependency entry). It will also
integrate nicer with IDE problem markers.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 1d64dc5a0934e2a5fc3c4552af0571fd9552c0d4
Result: FAILED
Build Logs (available for 30 days)

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

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 6be753c625c1b1a7d0d0bb40e471ea4ea5fb0474
Result: FAILED
Build Logs (available for 30 days)

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


hook update script

for go program may need to offer a script to run git pull and go build

supported


Incorrect Handling of Extended Header Attributes in the Parser

The parser incorrectly treats extended header attributes as main attributes. For example, in the header x-keepsent: XXXX:XXXX-XXXX:XXXX; type=4; name=$KeepSent, the name attribute is mistakenly assigned as a main attribute in the method \Webklex\PHPIMAP\Header::extractHeaderExtensions.
This behavior is problematic because it causes the name attribute to be recognized as a main attribute rather than an extension. Consequently, the method \Webklex\PHPIMAP\Part::isAttachment mistakenly identifies the content as an attachment.

The task was added to the wrong project, closing it.


Bump compat for DynamicPPL to 0.24

Ok, this was the compat entry that was downgrading Turing for me here. Not sure why CompatHelper isn't catching this?

DynamicPPL is only a weak dependency, and the version of CompatHelper that updates those isn't released yet.


Getting a JSONItemPrototype from an ItemProtoset.

Apologies for the inconvenience, but I was running some code to dynamically create an ItemProtoset and found that when receiving a JSONItemPrototype, the received data is incorrect.
Here is some of my code that I used for it:
var item_set = ItemProtoset.new() #Create ItemProtoset

var item_dict = {"id":"TEST"} #Create Item with an id using a dictionary.
item_set.add_prototype(JSON.stringify(item_dict)) #Add JSONItemPrototype to ItemProtoset by converting the dictionary to JSON format.
print(JSON.stringify(item_dict)) #Print Item as JSON.
print(item_set.has_prototype(JSON.stringify(item_dict))) #Print 'true' if item exists.
print(item_set.get_prototype(JSON.stringify(item_dict))) #Print Item received from ItemProtoset.

The output is:
{"id":"TEST"}
true
{ "id": "{\"id\":\"TEST\"}" }

I'm not sure if this is an error of the plugin or an error of my code, but I've tried multiple different methods to get the data and this is the only way that I could find that didn't return an error.

I just now found out that it was because it was still considered a string, and when converted to a dictionary, fixes itself. Closing issue.


Correct ErrorEventHandler param name.

The parameter name is lineno rather than fileno. Sending a PR since the parameter name is confusing.
https://html.spec.whatwg.org/multipage/webappapis.html#onerroreventhandler

Fixes #

These files shouldn't be edited by hand. See here for lib.d.ts contributions. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.


Maintenance mode ?

Is this repo no longer maintained ?
It's not been updated in over 5 years.
Also, lottie-web is constantly being updated: 5 days ago as of opening this issue.
Are there any better alternatives someone has tried ?

https://github.com/LottieFiles/lottie-player
https://github.com/Gamote/lottie-react

I've tried https://github.com/Gamote/lottie-react - seems to work fine when I replaced it, but beware it doesn't support loading files from URL, only imports. They said it's coming in v3 since 11/2020 but still not released as of today (link).
I might need to revert, to this or something else.


Adding PV and PVC creation utils.

This PR adds helper class and methods to create  persistent volume and persistent volume claims used by the WebLogic domain.

Closing this since you have a new PR.


[Experimental Feature PSTempDrive ] Temp: not accessible.

Steps to reproduce

1. Enable-ExperimentalFeature PSTempDrive
2. restart Powershell
3. Get-PSDrive, verify Temp   .... Filesystem    C:\Users\<username>\AppData\Local\Temp is listed
4. enter Temp:\ to acces PSTempDrive

Expected behavior
changing to ~/Temp,
Actual behavior
Temp:\ : The term 'Temp:\' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Temp:\
+ ~~~~~~
+ CategoryInfo          : ObjectNotFound: (Temp:\:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Environment data
Windows 10. 0.17763 64-bit.

PSVersion                      6.2.0-rc.1
PSEdition                      Core
GitCommitId                    6.2.0-rc.1
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This is a bit of a fun one, actually. If I recall carrectly, C: and similar are actual defined functions, not something PS knows how to figure out on its own.
I guess @SteveL-msft forgot to add one for Temp:

Good point, @vexx32, though note that this nod to cmd.exe is only applied to "native" filesystem drives, not to PS drives such as Temp:, so I don't think anything needs to be done here.

This has always been the case -- you can't HKLM: or whatever, and you can't C:\. The command C: is there for Command Prompt users.
BTW, C: is not Set-Location -LiteralPath C:\, it's Set-Location -LiteralPath C:, which preserves the current directory of drive C. This is a legacy of the transition from DOS to Windows.


Clean up createindex.js

This is clearly a hack!

This issue was moved to consortium/hybrid-publishing-research#6


⚠ Fetchers has degraded performance

In 3e10437, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 255 ms

Resolved: Fetchers performance has improved in 80bd234.


Deploy to stage 🚀

Description

Deploy to stage 🚀
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@ErinFinnegan still need this PR?

@ErinFinnegan still need this PR?


Feature request: Scrollable table body with fixed header

Hey,
Recently I've been putting together a page that has a lot of data. I'd like to consolidate this more by adding a scrollable feature to my table, however, overflowing the table in y with a max height causes the header to scroll. I've tried several CSS tricks and looked all over the internet for a solution. Most people suggest turning tbody into a block element, however this messes up all of the column formatting.
Having the ability to do something similar to <table class="table table-bordered table-scroll table-fixed-header" ....  would be awesome.

Come on man do it, in another issues doesn't fix the problem.


Getting wrong bitmap from cache if changes the image size

I want the images with higher resolution so I am giving the screen's height and width as required resolution. But when I am doing this it gives me wrong bitmap from cache on swiping pages. Below mentioned is the code snippet. Kindly tell me how do I fix it?. Thanks in advance.
final DisplayMetrics displayMetrics = new DisplayMetrics();
((AppCompatActivity) mContext).getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
final int height = displayMetrics.heightPixels;
final int width = displayMetrics.widthPixels;
//final int shortest = (height < width ? height : width) / 2;
    ImageCache.ImageCacheParams cacheParams =
            new ImageCache.ImageCacheParams(mContext, IMAGE_CACHE_DIR);
    cacheParams.setMemCacheSizePercent(0.25f); // Set memory cache to 25% of app memory

    // The ImageFetcher takes care of loading images into our ImageView children asynchronously
    mImageFetcher = new ImageFetcher(mContext,width, height );

I believe that should work. This isn't really a great forum for Q&A, I would recommend stackoverflow.com instead. Also, this sample is for educational purposes (for this training class), if you are building a real app then I would recommend using an image loading library such as Glide or Picasso as these libraries handle a lot more than just demonstrating the basics of image loading on Android.


Reliable/Ordered lane: client flooded with unexpectedly resent packets

Hey, thanks for the great package! It's the perfect factoring of different layers for a project that I have been working on.
For my first pass at using it, I mix-and-matched a bit from the echo and box examples to get a WebTransport-backed client and server, and I used the reliable + ordered lane just to make sure everything was working.
It seemed to work at first, but the client would stop receiving messages around ~1 second after connecting. Reconnecting without restarting the server seemed to reset things (but I would still stop receiving messages after ~1 second). This made me think that maybe I had a bug in the client.
I dug in a bit deeper and eventually discovered that the client was getting flooded with anywhere from 40-180 packets per frame starting in the same frame when it seemed like I was no longer receiving packets. In the trace output, I was seeing messages like this on the client (NOTE: I manually changed the log level from trace to warn while debugging):
2024-11-18T18:33:42.448243Z TRACE poll{entity=16v1}:recv{packet=20250}: aeronet_transport::recv: Received packet len=1015
2024-11-18T18:33:42.448255Z  WARN poll{entity=16v1}: aeronet_transport::recv: 16v1 received invalid packet: failed to reassemble fragment: already received fragment 86
2024-11-18T18:33:42.448264Z TRACE poll{entity=16v1}:recv{packet=20251}: aeronet_transport::recv: Received packet len=1015
2024-11-18T18:33:42.448276Z  WARN poll{entity=16v1}: aeronet_transport::recv: 16v1 received invalid packet: failed to reassemble fragment: already received fragment 85

etc, repeated for number of packets received in the frame

This clue lead me to suspect that the reliable + ordered lane had something to do with the problem. I switched to using unreliable + sequenced and sure enough, everything worked!
So, my immediate question is: does a client need to explicitly acknowledge for the server that it received a packet that was sent using a reliable + ordered lane?

We debugged this issue on Discord and #17 should fix this. Here is what I think happened:

occasionally, one of the endpoints would resend a fragment
the peer would receive both the original fragment and resent fragment
when the peer receives the resent fragment, it would fail with failed to reassemble fragment: already received fragment N
usually this is fine, since it's an expected failure - however, this would also fail processing the entire packet, not just this one fragment
therefore, all subsequent fragments in that packet will also not be processed
also, the packet will not be marked as acknowledged on the peer, so it would never send back an ack to the endpoint, so the endpoint would keep resending that fragment (which causes the above error every time the peer receives it), compounding the issue

The solution is to split packet receiveing error handling:

if we fail to parse the packet header, fail parsing the entire packet, since the packet is fundamentally malformed
while iterating over each fragment...

if we fail to parse a fragment, then we'll ignore that single fragment and trace output the error
but we keep processing fragments

regardless of if any fragments failed to be parsed, we still ack this packet

This will be fixed in 0.10.0.

This link will probably rot, but here is the Discord conversation for context.
Thanks again for all your help here!


Add basic modem wake and sleep methods

Useful to conserve power while still listening on an active tcp stream

We might want to be more clever about handling other commands while the modem is in sleep mode. Righ now if you were to e.g. put the modem in sleep mode, then attempt to start a new TCP connection, it is likely it would just get stuck.
I'm thinking that for now though, this might be good enough.


Add custom server routing

Can you please check the new explanation in the latest paragraph?
https://5c7d37c8c06c9d0007941267--elastic-austin-cf9d40.netlify.com/docs/advanced/server/add-http-endpoint.html#Add-a-global-server-middleware


Displayed color for long triple quoted strings oscillates with each new character

Description
Display oscillates for long triple quoted strings.
Reproduce

1: Create new notebook.
2: Paste the following into the first input cell:
"""
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaa
"""

3: Keep adding as to the last line
4: An entire block of rows will switch between displaying as orange and as white for each a that's being added.
Expected behavior
Normal string input display
Context

Operating System and version: Ubuntu 22
Browser and version: Chrome 127
JupyterLab version: 4.1.2
Jupyter notebook version: 7.1.1

Troubleshoot Output

Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Browser Output

Paste the output from your browser Javascript console here, if applicable.

Oops, wrong queue


support glob in --ignore or some way to specify relative directories for SEARCH_IN_DIRS

hi! thanks for such amazing cli, it is really fast and i am using it everyday!
as part of my normal usage, i usually work in node.js based projects, and execute file searches in these projects. i would like to speed the search even more by ignoring certain folders like node_modules, or .git.
i was trying to use hunt --hidden --ignore node_modules foo.js <path-to-my-project> but this does not work, I've  realized that the expected format for other --ignore option is to pass a list of full paths. (FYI i use --hidden because i usually search for configuration files that start with dot

i think supporting relative paths for --ignore would be a nice addition, and i would be still easy to use. the way i think it should work like this:
hunt --hidden --ignore node_modules foo.js <path-to-my-project>

this will skip the search for paths like <path-to-my-project>/node_modules, or <path-to-my-project>/src/directory/node_modules, so basically any path inside <path-to-my-project> that contains the directory node_modules will be skipped. it would be amazing that this also works for all directories passed to SEARCH_IN_DIRS

The expected format is to pass a list of full paths

After reading the code that handles the ignores, relative paths should be supported, but only relative to the current location.
The logic is also a bit strange at the moment, it'll need a checkup, as it probably can cause a few bugs.

Skip any path that contains the directory...

If it's only a directory/file, then it can be added without too much changes.
But full glob support will not be added, as it requires changing too much, making searches noticeably slower.
Thank you for opening the issue! I'll try to look into solving it in the near future.

Should be good now!
Could you try it and check if it's really fixed?

thanks, that was fast! is this available from cargo? i tried to install from them but it still fetchs 2.4.0

it is working! this will dramatically improve my day to day usage, thank you!
a last question, is there any way to know the paths the hunt traverses? my use case is that i want to understand which files/directories are being traversed so i can create a good ignore list. i was thinking the verbose option does this but it just shows when errors are found.

If you run hunt without any arguments (flags are allowed) it'll show all paths it finds.

awesome, thanks for the tip! and thanks again for quick implementation of the --ignore, have a good day!


Poetry shell

You need poetry shell to activate the current project in environment.
Change Summary
[Briefly summarise the changes that you made. Just high-level stuff]
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

[ ] The pull request title has an issue number
[ ] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation

Other Information
[Is there anything in particular in the review that I should be aware of?]

As of https://github.com/codersforcauses/coexist/commit/98633b862824240f5aeec4d00806c620e4b6abdb this is no longer required for windows.


hue to presto jdbc error

Hue in cdh5.16 reports an error through the JDBC link presto,The following is the configuration and error reporting，I don't know how to solve it

This is a super old version, now we recommend the SqlAlchemy interface for Presto: https://docs.gethue.com/administrator/configuration/connectors/#presto

This is a super old version, now we recommend the SqlAlchemy interface for Presto: https://docs.gethue.com/administrator/configuration/connectors/#presto

This is configured according to the official website, but there will be problems，

version hue 3.9.0+cdh5.16.2+8463，Should the interface be JDBC？


Allow Vendor Profile to pull data from database

Please do work for this task in a branch named issue-44.

Closed with commit cef54e013055475dd9a282b228949bb72def5c43


Fix the 500 error that occurs when admin creates store with email that already exists in db

This PR fixes the 500 error that was occuring when the admin user tries to create a store with an email that already exists in the store_email table.  This fixes part of #23.  The other part of #23 will be fixed in another PR.
The main fix is in commit 56cdd16.
The following commits are just reformatting.
This PR depends on PR #39.  So make sure that one is merged in before this one.

@cdepillabout
This PR seems to produce compile time error.
/home/me/local/src/blueimpact/kucipong/src/Kucipong/Monad/Db/Instance.hs:38:17: error:
    parse error on input ‘::’

It might be from bugs of hindent.

Thanks for pointing this out.  I fixed it in commit 7ca0b42.
The subsequent commits add a .travis.yml file.  This will hopefully stop this problem from occurring again.


Test Project feature

Is your feature request related to a problem? Please describe.
I believe addition of test project for both frontend and backend would complete the solution

Hello @shashikantpawar21 great idea. I'll try to add test project and put some test cases. You too can contribute to the solution as well if possible 😊


How can i run the model on RTX 2080 Ti gpu

can you help about it?
i stuck...
i am getting this error
NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:
query       : shape=(1, 1226, 16, 112) (torch.bfloat16)
key         : shape=(1, 1226, 16, 112) (torch.bfloat16)
value       : shape=(1, 1226, 16, 112) (torch.bfloat16)
attn_bias   : <class 'NoneType'>
p           : 0.0
decoderF is not supported because:
attn_bias type is <class 'NoneType'>
bf16 is only supported on A100+ GPUs
<EMAIL_ADDRESS>is not supported because:
requires device with capability > (8, 0) but your GPU has capability (7, 5) (too old)
bf16 is only supported on A100+ GPUs
operator wasn't built - see python -m xformers.info for more info
tritonflashattF is not supported because:
requires device with capability > (8, 0) but your GPU has capability (7, 5) (too old)
bf16 is only supported on A100+ GPUs
operator wasn't built - see python -m xformers.info for more info
triton is not available
requires GPU with sm80 minimum compute capacity, e.g., A100/H100/L4
cutlassF is not supported because:
bf16 is only supported on A100+ GPUs
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
dtype=torch.bfloat16 (supported: {torch.float32})
has custom scale
bf16 is only supported on A100+ GPUs
unsupported embed per head: 112

Which file did you edit?

I encountered this problem yesterday. It seems like an issue cased by the version of xformer. May be you can try to downgrade the version of xformer, like:
pip install xformers==0.0.16

@Murplugg i didnt change files. i tried to implement this:https://huggingface.co/THUDM/cogvlm-chat-hf/discussions/2#655ca4de93ac084b7d802358
and got this error.
xformers       0.0.23+cu118
torch             2.1.1+cu118
torchaudio    0.11.0
torchinfo       1.8.0
torchvision    0.12.0+cu113

can i run the model on cpu?

Yes you can. but it will be very slow and it will cost near 80G of memory in loading, almost 40G of memory in running

Maybe huggingface version does not need that much, 35G is enough.
tokenizer = LlamaTokenizer.from_pretrained('vicuna-7b-v1.5')
    model = AutoModelForCausalLM.from_pretrained(
        'THUDM/cogvlm-chat-hf',
        load_in_4bit=True,
        low_cpu_mem_usage=True,
        trust_remote_code=True,
    ).eval()
query = 'Describe this image in details.'
image = Image.open('image-path').convert('RGB')
inputs = model.build_conversation_input_ids(tokenizer, query=query, history=[], images=[image])  # chat mode
inputs = {
    'input_ids': inputs['input_ids'].unsqueeze(0).to('cuda'),
    'token_type_ids': inputs['token_type_ids'].unsqueeze(0).to('cuda'),
    'attention_mask': inputs['attention_mask'].unsqueeze(0).to('cuda'),
    'images': [[inputs['images'][0].to('cuda').to(torch.float16)]],
}
gen_kwargs = {"max_length": 2048, "do_sample": False}

with torch.no_grad():
    outputs = model.generate(**inputs, **gen_kwargs)
    outputs = outputs[:, inputs['input_ids'].shape[1]:]
    print(tokenizer.decode(outputs[0]))

Actually when I tried to deploy CogVLM on 4 GTX2080Ti, I encountered the similar problem. However, when i deploy CogVLM(4-bit quantization), everything is fine. i am wondering if it is because torch.bfloat16 is not supported?
NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:
query       : shape=(1, 1226, 16, 112) (torch.bfloat16)
key         : shape=(1, 1226, 16, 112) (torch.bfloat16)
value       : shape=(1, 1226, 16, 112) (torch.bfloat16)
attn_bias   : <class 'NoneType'>
p           : 0.0
cutlassF is not supported because:
bf16 is only supported on A100+ GPUs
flshattF is not supported because:
bf16 is only supported on A100+ GPUs
tritonflashattF is not supported because:
bf16 is only supported on A100+ GPUs
requires A100 GPU
smallkF is not supported because:
dtype=torch.bfloat16 (supported: {torch.float32})
max(query.shape[-1] != value.shape[-1]) > 32
has custom scale
bf16 is only supported on A100+ GPUs
unsupported embed per head: 112

Actually when I tried to deploy CogVLM on 4 GTX2080Ti, I encountered the similar problem. However, when i deploy CogVLM(4-bit quantization), everything is fine. i am wondering if it is because torch.bfloat16 is not supported?
NotImplementedError: No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 1226, 16, 112) (torch.bfloat16) key : shape=(1, 1226, 16, 112) (torch.bfloat16) value : shape=(1, 1226, 16, 112) (torch.bfloat16) attn_bias : <class 'NoneType'> p : 0.0 cutlassF is not supported because: bf16 is only supported on A100+ GPUs flshattF is not supported because: bf16 is only supported on A100+ GPUs tritonflashattF is not supported because: bf16 is only supported on A100+ GPUs requires A100 GPU smallkF is not supported because: dtype=torch.bfloat16 (supported: {torch.float32}) max(query.shape[-1] != value.shape[-1]) > 32 has custom scale bf16 is only supported on A100+ GPUs unsupported embed per head: 112

+1

Try float16 instead of bfloat16

successful


Arabic text extractor

Description of the new feature / enhancement
Arabic text extractor
Scenario when this would be used?
Arabic text extractor
Supporting information
No response

You can read our documentation on how to add a new language. If arabic isn't an available OCR language I would recommend you're using the /feedbackhub.


Data Science with Python : Multicollinearity using Ridge regression #3754

Description 📜
Made a video presentation on the topic of multicollinearity using ridge regression.
Fixes #3754

Type of change 📝

[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)

Domain of Contribution 📊

[x] Datascience with Python

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prathimacode-hub , Can you please evaluate mam.


max time allowed

It would be cool if you could define a maximum wait time for a person to do their turn. The next player in line would then be assigned the turn. The player who missed their turn could be removed from the game or moved to the end of the turn queue.

I've added a 'leave' command -- I think maybe the following makes sense:

Send a warning DM daily to the current player
After some period (2 days?) drop them from the game
Add a link on the play UI to skip your turn (easier then using the bot commands)


Update refs regular expression

The plugin didn't modify some of the manifests to account for prefix.
I modified the regular expression used to replace the asset paths to process values in JSON files and to add other keys used to store asset paths.
I modified the tests accordingly.

Pull Request Test Coverage Report for Build 254

2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.556%

Totals

Change from base Build 251:
0.0%

Covered Lines:
81

Relevant Lines:
81

💛  - Coveralls


Don's show "Until date" for All Day events

Summary
Please add the option to hide "Until date" for All Day events.
Motivation
Im my opinion we know when day X ends and day Y starts. So it is not needed for One day All day events.
It can be usefull for multiday all day events.
Describe alternatives you've considered
I Haven't seen the option in the current list of options.
Additional context

This is interesting, please could you share your configuration?
I have tested and on my instance it is showing correctly

- type: 'custom:atomic-calendar-revive'     name: Agenda dave     entities: calendar.werk     enableModeChange: true     firstDayOfWeek: 1     maxDaysToShow: 7     showDate: true     showLocation: false     showRelativeTime: false     hideFinishedEvents: true     showMonth: true     showWeekDay: true     showFullDayProgress: false     disableEventLink: true     showCurrentEventLine: false     disableCalLocationLink: true     disableCalEventLink: true     showLastCalendarWeek: false     calShowDescription: false     fullDayEventText: Hele dag     noEventsForNextDaysText: Geen agendapunten om weer te geven.     showDescription: true     showNoEventsForToday: true

Ah yes iCal does cause some issues as it logs all day events differently, this does cause some issues with things like this as the card wasn't originally designed for iCal use.
I should be able to do some testing and see if i can resolve this.

Is this fixed? because i have the same issue with the newest version.

my configuration:

type: custom:atomic-calendar-revive
name: "Kalender"
language: de
dateSize: 120
eventTitleSize: 110
untilText: bis
fullDayEventText: "ganzer Tag"
showProgressBar: false
showCurrentEventLine: false
maxDaysToShow: 14
dayWrapperLineColor: grey
titleSize: 110
showMonth: false
showWeekDay: true
showRelativeTime: false
sortByStartTime: true
entities:
- entity: calendar.restmuell
color: black
- entity: calendar.papiermuell
color: blue
- entity: calendar.plastemuell
color: yellow
- entity: calendar.lilamuell
color: pink

Is this fixed? because i have the same issue with the newest version.

my configuration:

type: custom:atomic-calendar-revive
name: "Kalender"
language: de
dateSize: 120
eventTitleSize: 110
untilText: bis
fullDayEventText: "ganzer Tag"
showProgressBar: false
showCurrentEventLine: false
maxDaysToShow: 14
dayWrapperLineColor: grey
titleSize: 110
showMonth: false
showWeekDay: true
showRelativeTime: false
sortByStartTime: true
entities:
- entity: calendar.restmuell
color: black
- entity: calendar.papiermuell
color: blue
- entity: calendar.plastemuell
color: yellow
- entity: calendar.lilamuell
color: pink

Hey @frettijule
Interesting! this was indeed resolved, I will take another look and see what is happening.

Hey @frettijule
Interesting! this was indeed resolved, I will take another look and see what is happening.


Default behavior of usageStatistics causes exception on localhost

Version
1.0.5
Test Environment
ubuntu 16.04, chrome. 64 bits. chrome browser v.65.0.3325.181
Current Behavior
If I don't configure usageStatistics: false, exception is raised.
By the way, tui-editor.out-of-the-box.min.js, appeared on the log below, literally contains all dependencies in desired sequence.
I use it as tui.editor doesn't provide so-called all-in-one way to use it.
jquery.js:3818 jQuery.Deferred exception: Cannot read property 'toLowerCase' of undefined TypeError: Cannot read property 'toLowerCase' of undefined
    at Object.setRequestHeader (http://localhost:9000/static/bower_components/jquery.js:8988:40)
    at HTMLDocument.<anonymous> (http://localhost:9000/templates/admin/announcement.html:49:17)
    at HTMLDocument.dispatch (http://localhost:9000/static/bower_components/jquery.js:5183:27)
    at HTMLDocument.elemData.handle (http://localhost:9000/static/bower_components/jquery.js:4991:28)
    at Object.trigger (http://localhost:9000/static/bower_components/jquery.js:8249:12)
    at Function.ajax (http://localhost:9000/static/bower_components/jquery.js:9189:24)
    at Function.jQuery.(anonymous function) [as post] (http://localhost:9000/static/bower_components/jquery.js:9355:17)
    at i (http://localhost:9000/static/js/plugin/tui-editor.out-of-the-box.min.js:14436:264863)
    at new e (http://localhost:9000/static/js/plugin/tui-editor.out-of-the-box.min.js:14436:89879)
    at HTMLDocument.<anonymous> (http://localhost:9000/templates/admin/announcement.html:267:24) undefined
jQuery.Deferred.exceptionHook @ jquery.js:3818
process @ jquery.js:3606
setTimeout (async)
(anonymous) @ jquery.js:3640
fire @ jquery.js:3268
fireWith @ jquery.js:3398
fire @ jquery.js:3406
fire @ jquery.js:3268
fireWith @ jquery.js:3398
ready @ jquery.js:3878
completed @ jquery.js:3888
jquery.js:8988 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
    at Object.setRequestHeader (jquery.js:8988)
    at HTMLDocument.<anonymous> (announcement.html:49)
    at HTMLDocument.dispatch (jquery.js:5183)
    at HTMLDocument.elemData.handle (jquery.js:4991)
    at Object.trigger (jquery.js:8249)
    at Function.ajax (jquery.js:9189)
    at Function.jQuery.(anonymous function) [as post] (http://localhost:9000/static/bower_components/jquery.js:9355:17)
    at i (tui-editor.out-of-the-box.min.js:14436)
    at new e (tui-editor.out-of-the-box.min.js:14436)
    at HTMLDocument.<anonymous> (announcement.html:267)

Tracking
I found that _jquery2.default.post causes the exception, which is on the line 24174 of tui-editor-Editor.js
function sendHostName() {
  var trackingID = 'UA-115377265-2';
  var hitType = 'event';
  var _location = location,
      hostname = _location.hostname;

  _jquery2.default.post('https://www.google-analytics.com/collect', {
    v: 1,
    t: hitType,
    tid: trackingID,
    cid: hostname,
    dp: hostname,
    dh: hostname
  });
}

Possibility
I tested this on the server a popular grunt plugin grunt-contrib-watch provides with livereload connection. Maybe it affects in some way, such as strict outbound rules that may block a request to https://www.google-analytics.com/collect, but I haven't researched on it. If that's really due to mis-configuration with grunt, then the caution on the document would be cool. Otherwise, it should be debugged.

https://github.com/nhnent/tui.editor/releases/tag/v1.1.0-a


i fixed back-break height bug

hi
i fixed page-break have height is problem
i used code :
        html2pdf().from(element).set({
        margin: 0,
        filename: 'test.pdf',
        html2canvas: {width: 1200},
        jsPDF: {orientation: 'portrait', unit: 'mm', format: 'a4', compressPDF: true}
        }).save();

this code is very simple and i want to use page-break
but height is high then page
i fixed code in html2bundle.js
  Worker.prototype.toContainer = function toContainer() {
    ...
    var pxPageHeight = this.prop.pageSize.inner.px.height;
    var pxPageWidth = this.prop.pageSize.inner.px.width;

  if (rules.before) {
    var _ratio = clientRect.width / pxPageWidth;
    var _height = pxPageHeight - ( ( clientRect.bottom / _ratio ) % pxPageHeight);
    _height *= _ratio;

    var pad = createElement('div', { style: {
        display: 'block',
        height: _height + 'px'
      } });
    el.parentNode.insertBefore(pad, el);
  }
  if (rules.after) {
    var _ratio = clientRect.width / pxPageWidth;
    var _height = pxPageHeight - ( ( clientRect.bottom / _ratio ) % pxPageHeight);
    _height *= _ratio;

    var pad = createElement('div', { style: {
        display: 'block',
        height: _height + 'px'
      } });
    el.parentNode.insertBefore(pad, el.nextSibling);
  }

it's done
i was very helpful
i can't speak english well
but i hope it helps
thanks
PageTest.pdf

Hello @mooksama. Are you still getting this kind of result, with the text being cut between pages?

I am having the same issue when I print more than 8 pages. any fix for that.
when I split the div into multiple and call print for each  div with addPage() solves the text cutdown, but it takes more time to print.


chore: Add documentation on running benchmarks with Microk8s

Which issue does this PR close?

Part of https://github.com/apache/datafusion-comet/issues/602
Rationale for this change

What changes are included in this PR?

How are these changes tested?

@andygrove are you planning to merge it, I'd also like to add the Helm chart section to run in the Kubernetes cluster


Remove version: Termius.Termius version 8.9.9

Vanity URL used, hash invalid due to new version
Microsoft Reviewers: Open in CodeFlow

Hi @BiosPlus,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 870.)


Add Domian

school url: https://spgoszcz.twardogora.pl/

@SnieznyDaniel2115 Please provide us with:

the school official website URL
the school street address, including city and country
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@SnieznyDaniel2115 You might miss my previous comment. Please react.

@SnieznyDaniel2115 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


perf: useFsHandleStorage has poor perf when using device's local file

Run with window.showDirectoryPicker() on Windows 11
When call jRead, the writable will be closed if present, which will cause a long time.

No notable performance issue on MacOS... But still slower than useOpfsStorage


[RR Request]: Firezone WireGuard VPN Server v0.2.0

Open Source Project name
Firezone
What is your project?
Firezone is an open-source VPN server and egress firewall for Linux that makes it simple to manage secure remote access to your company’s private networks. Built on modern technologies, including the new blazing fast WireGuard tunneling protocol, Firezone is lightweight and easy to set up while being up to 3-4x faster than alternative solutions like OpenVPN and IPsec.
Version
0.2.0
Date
December 27, 2021
Description of changes
Our current goal is adding features on top of WireGuard to let you easily manage your team’s remote access. Eventually, we’d like the product to be ready for companies both small and large to manage their entire workforce’s access to private networks and internal services. In this update we did that by:

Multiple Users: Users are now first-class entities in Firezone. Devices now belong to users, and administrators can create users that authenticate to the Firezone web UI with email/password auth.
Require Web Authentication for VPN: Administrators can optionally require VPN users to sign in periodically to the Firezone web UI to keep their VPN session active.
Device Defaults: Device defaults like AllowedIPs, DNS, and VPN endpoint are now configurable. Devices can be configured to override these on a per-device basis as needed.
More Ways to Share Device Configs: New shareable link and download config buttons allow an Administrator to more easily share device configs to VPN users.
Connectivity Checks: New Diagnostics panel shows periodic connectivity checks to the Internet to ensure your Firezone instance is reachable by VPN users.

GitHub Repo
https://github.com/firezone/firezone
Website
https://www.firez.one/
Link to changelog
https://github.com/firezone/firezone/releases/tag/0.2.0
Social media
https://twitter.com/firezonevpn
Anything else to add?
thanks for considering us!

Adding some screenshots to the new features in the update:
General usage:

Multiple Users: Users are now first-class entities in Firezone. Devices now belong to users, and administrators can create users that authenticate to the Firezone web UI with email/password auth.

Require Web Authentication for VPN: Administrators can optionally require VPN users to sign in periodically to the Firezone web UI to keep their VPN session active.

Device Defaults: Device defaults like AllowedIPs, DNS, and VPN endpoint are now configurable. Devices can be configured to override these on a per-device basis as needed.

More Ways to Share Device Configs: New shareable link and download config buttons allow an Administrator to more easily share device configs to VPN users.

Connectivity Checks: New Diagnostics panel shows periodic connectivity checks to the Internet to ensure your Firezone instance is reachable by VPN users.

Thanks for submitting. We loved your project, but we had so many submissions for the December 2021 release radar that we priortised Version X.0 releases. Please submit again when you have the next major version and we'd love to consider your project for feature again 😄


which checkpoint is used in the mDPR baseline

Hi, thank you for sharing this wonderful resource!
Could you clarify which HF checkpoint is used for mDPR baseline? There are several candidate available, I tried several and my latest suspicion is that it's : castorini/mdpr-tied-pft-msmarco ? Is it correct? Is it stated somewhere?

Thank you for clarifying: is it possible to state explicitly somewhere? There are multiple reasons to use other indexes beyond provided ones, plus, the model can be potentially finetuned.


suggest to use bracket for defining of added constants(lengh, size, ...)

IMH, it would be better to use a bracket for preventing code error(unwanted behavior).
ex) #define iso2_MimeType_CHARACTER_SIZE EXI_STRING_MAX_LEN + ASCII_EXTRA_CHAR  // 64 + 1, without bracket
printf("iso2_MimeType_CHARACTER_SIZE * 2 = %d\r\n", iso2_MimeType_CHARACTER_SIZE * 2);

iso2_MimeType_CHARACTER_SIZE * 2 = 66  // not 130 ((64+1) * 2), but 66 (64 + (1 * 2))

I know that there's no reason to coding like above actually(but possible?), it's just my suggestion.

Interesting use case there. ;-)
In principle, you are absolutely correct. We know of all internal uses, and they are safe (so far), and we followed the style of OpenV2G. But we should probably change this, for the sake of cleanness.


Fix missed storing thisRef of fragment

Fix storing thisRef of the fragment for a case of cleaning the viewBinding object

Add missed save of thisRef
Fix check on Fragment reference
Case: add a fragment to backstack and get it back. The fragment will create a new view but viewBinding is not updated

Hi. I've understood the problem. But the fix will be different. I close the PR and add the fix to 1.2.0


还在上班的留个爪

I get this, so what does this mean again??

@bot101 China's Spring Festival's coming in 4 days, all programmers work in China will go home for a holiday.

工作使我快乐（好想上表情包）

@bot101 there has a small-long vocation for every Chinese,because of the Spring Festival


Added Chronic-Kidney-Disease-Prediction-using-ANN-with-Normalization

This work aims to accurately predict Chronic Kidney Disease (CKD) using a robust Artificial Neural Network model and compares its performance to various machine learning algorithms, ultimately achieving an impressive accuracy of 98%, making it a promising tool for CKD diagnosis.
Closes #237

@pavitraag merged!!


Add ghwatch.py script

Add a script ghwatch.py  to watch your github notifications in the terminal. This includes, if available, metadata such as label and open/close status.

See README.md change for documentation on how to use it.
(I wasn't 100% sure whether to add this to bitcoin maintainer tools or make it a separate general tool, but as at least the label thing is entirely geared toward bitcoin maintenance right now, it seemed to make more sense to do)

Awesome! Nice work.

Switched off the GitHub email notifications firehose to use this instead. Let's see how it goes!

I wonder if the bitcoin-gh-meta local repo can be automatically git pulled to stay updated.

I was also thinking of adding this! Would be simple. Though I don't need it myself—I already had a crontab set up that pulls the recent metadata for other things like list-pulls.

Thanks for testing @jonatack @jonasschnelli and for the review @MarcoFalke

Fixed dependency to PyGithub
Invoke browser through webbrowser by default (it's still possible to override it in case the user wants to direct the event to say, a specific firefox session)
Some documentation fixes

I will leave additional functionality such as auto-updating the metadata repo, or adding other mouse actions, to a future PR. It would also make sense to add mypy annotations.


UI deployment from marketplace template fails with InvalidResourceLocation on Log Analytics Workspace creation

Description
Deploying using the marketplace UI template fails with this error:
{
    "status": "Failed",
    "error": {
        "code": "InvalidResourceLocation",
        "message": "The specified location '[parameters('sharedServicesLocation')]' is invalid. A location must consist of characters, whitespace, digit, or following symbols '(,)'."
    }
}

Steps to Reproduce
Try to deploy from the Marketplace UI at src/bicep/ui/ like so:

Steps to reproduce the behavior:

Click the Deploy to Azure button
Receive an error about shared services location

Expected behavior
Deployment succeeds without modifying any input
Actual behavior
Deployment fails on InvalidResourceLocation
Screenshots

Additional context
n/a

Add a checkbox to the PR template that asks if the UI template has been updated when a parameter is added or changed.


PythonTest.Evaluate function memory leak for ZeroFraction

var sparsity = nn_impl.zero_fraction(
array_ops.zeros(new Shape((int)Math.Pow(2, 27 * 1.01)), dtypes.int8));
new PythonTest().evaluate(sparsity);

What’s the issue?

The memory consumption is 8GB - 9GB and then sometime crashes with
OutOfMemoryException
https://docs.microsoft.com/en-us/dotnet/api/system.outofmemoryexception
On Wed, Jul 10, 2019 at 12:30 PM Haiping<EMAIL_ADDRESS>wrote:

What’s the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciSharp/TensorFlow.NET/issues/283?email_source=notifications&email_token=ABQJAKJY57IXNE5XP6OCBQDP6VGGXA5CNFSM4H7KYBVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSENUA#issuecomment-509888208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQJAKOQ4SPAMK56VEOZU3DP6VGGXANCNFSM4H7KYBVA
.

--
Regards,
Deepak

Have you fixed it? I saw you pushed a commit.

The push was for some other bug. This seems more general with Evaluate
function while using  control_flow_ops.
On Wed, Jul 10, 2019 at 1:54 PM Haiping<EMAIL_ADDRESS>wrote:

Have you fixed it? I saw you pushed a commit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciSharp/TensorFlow.NET/issues/283?email_source=notifications&email_token=ABQJAKJS5HZJAPIAIU5U7X3P6VP6JA5CNFSM4H7KYBVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSHYRY#issuecomment-509901895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQJAKMRNPGFKCQ566K3WBDP6VP6JANCNFSM4H7KYBVA
.

--
Regards,
Deepak


Add Pop From List to Collections

Seemingly missing from Collections is the pop() functionality for lists.
This would pair with the existing "Pop From Dictionary".

I didn't notice it initially either, but there actually is Remove From List that implements this functionality.

True.
If a user truly wants the pop() python functionality they can do an inline expression or Evaluate.
${{$list.pop()}}
pop() has the advantage of defaulting to the last item in a collection.

We could enhance Remove From List to remove from the end by default, but using -1 does that as well so I'm not sure how big benefit it would have.


Refactor iac scan commands

This replaces #619 to bypass a pending review.
Currently, the iac scan diff command handles three options to simplify git hooks: --pre-commit, --pre-push and --pre-receive. The objective of the main-iac-cli-hooks integration branch is to replace them with new iac scan subcommands.
This PR will refactor elements of the code in order to:

make the implementation of the subcommands (not in the scope of this PR) easier
factorize code

The duplicate code in precommit.py, prepush.py and prereceive.py can be ignored for now.

Codecov Report

Merging #635 (dae8cb9) into main (68a0030) will decrease coverage by 0.22%.
The diff coverage is 75.34%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #635      +/-   ##
==========================================
- Coverage   94.03%   93.82%   -0.22%
==========================================
  Files         103      105       +2
  Lines        4813     4841      +28
==========================================
+ Hits         4526     4542      +16
- Misses        287      299      +12

Flag
Coverage Δ

unittests
93.82% <75.34%> (-0.22%)
:arrow_down:

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

Impacted Files
Coverage Δ

ggshield/core/clickutils/default_command_group.py
95.65% <ø> (ø)

ggshield/cmd/iac/scan/precommit.py
66.66% <66.66%> (ø)

ggshield/cmd/iac/scan/prepush.py
66.66% <66.66%> (ø)

ggshield/cmd/iac/scan/prereceive.py
66.66% <66.66%> (ø)

ggshield/cmd/iac/scan/__init__.py
100.00% <100.00%> (ø)

ggshield/cmd/iac/scan/all.py
100.00% <100.00%> (ø)

ggshield/cmd/iac/scan/diff.py
79.36% <100.00%> (+5.04%)
:arrow_up:

ggshield/cmd/iac/scan/iac_scan_common_options.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Bring all these projects up to the the same ruby version.

$ for PROJ in openvault3 openvault3_deploy mla-playbooks aws-wrapper; do echo $PROJ '-->' ; curl https://raw.githubusercontent.com/WGBH/${PROJ}/master/.ruby-version ; echo ; done
openvault3 -->
2.0.0-p353
openvault3_deploy -->
Not Found
mla-playbooks -->
Not Found
aws-wrapper -->
2.2.3

So I'll try bringing this up to 2.2.3

@mccalluc this will be good for development, but won't have any effect on AWS instances, because they currently aren't using RVM. There is a ticket to try RVM with the mla-playbooks.
Also, I don't think there is any technical requirement that these projects all run the same version, as long as one project is not invoking code from another.

Yeah, I'm only proposing this because of the slight annoyance when a developer is checking out projects the first time. No larger motivation, really.

(For future reference, using RVM in deployment turned out not to work well: Seemed to be no faster, and there is a chicken-and-egg problem with the passenger gem. Closing.)


Neptune: logs created with use of logging go to Neptune stderr

If you use Neptune, logs created with use of logging go to Neptune stderr, not to stdout.
I also checked that if you change logger.setLevel from logging.INFO (equal 20) to:

19: nothing changes,
21: logs from logging are not displayed anywhere.

I think this is a neptune related bug so I contacted neptune team on their community forum here:
https://community.neptune.ml/t/outputs-from-logging-end-up-in-the-stderr-channel/218
I will fix it as soon as I get the information from them.

It turns out that logging by default logs to stderr and you need to redirected to stdout if you want to.
It is done now, and waiting for the PR to merge.

@jakubczakon @buus2
Merged


Allow sabre/uri major version 3

sabre/xml 3 already requires PHP 7.4 or later. So anyone who gets "given" sabre/xml 3 by composer has at least PHP 7.4.
        "sabre/uri" : ">=1.0,<4.0.0"

Is there any good reason to keep the mention of sabre/uri 1.0? It feels a bit odd to keep allowing people to use such an old version of sabre/uri with sabre/xml

What version bump should we do in sabre/xml when we release this change - I guess someone might notice the Windows file path behavior change in sabre/uri if they auto-magically get the new major version. But they can also easily mention sabre/uri major version 2 in their own composer.json if they themselves depend on sabre/uri - so is the next sabre/xml just a patch, a minor or a major release?

agree.
doing a new major version, because of the BC problems in sabre/uri seems like a good idea.
dropping sabre/uri 1.x  in the same steps sounds great as well.
better save then sorry.


flow analysis

examples:

https://github.com/Fare9/PBA_Analysis_Tools/blob/master/src/disassembler.cpp#L244

done


layers: LX448, Prevent descriptorSetCount overflow in core_validation

Tracking descriptor and descriptorSet counts was incorrect, sometimes causing
integer overflow and application crashes for large createInfo values.
Change-Id: I92196659d6a7476582aa069e42c9a0d7228ba087

Just a couple ticky-tack comments. Otherwise LGTM

Fixed up and pushed to Master.


bumping read-pkg-up from 6.0.0 to 7.0.0 and fixing breaking change

Signed-off-by: Brian Fitzpatrick<EMAIL_ADDRESS>

Dependabot created https://github.com/camel-tooling/vscode-yeoman/pull/56 and it required a couple of code changes to fix the problem introduced by the breaking change

Rename .package to .packageJson 8140c73
I'm really sorry about the churn. It was brought to my attention that package is a reserved keyword, and it meant that the result could previously not be easily destructured.


pull request for e2e test at 12/09/2016 05:15:02

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Deleting a spine with existing mapping throws uninformative error

The error message below gets displayed which is fairly useless.  Instead, it should display a message stating "Cannot remove a spine with existing mappings. Please remove all mappings before removing the spine."

@jbaird123 I changed the error message and also fixed a couple of deletion related bugs I found.


Convert // comments to /* */ comments

Fix: #249
Signed-off-by: Wenxing Hou<EMAIL_ADDRESS>

Looks good


add op_cat use case series to

https://github.com/sCrypt-Inc/awesome-op-cat?tab=readme-ov-file#technical
1-5 so far.
https://scryptplatform.medium.com/bitcoin-op-cat-use-cases-series-5-drivechain-e962ee227da5

done.
https://github.com/sCrypt-Inc/awesome-op-cat/pull/2


ADC read locked forever with CONFIG_DEBUG_OPTIMISATION=y on STM32U5

Describe the bug
ADC read locked forever with CONFIG_DEBUG_OPTIMISATION=y on STM32U5
I used gdb to analyse this. I saw that the code gets locked in :
drivers/adc/adc_context.h: k_sem_take(&ctx->sync, K_FOREVER);
I checked and adc_stm32_isr is never called.
When using CONFIG_NO_OPTIMISATION=y, everything is fine.
Temporary fix
I found a temporary fix but I would like to understand if it is a real bug from the driver. My solution is to add a very little waiting period between those two calls: LL_ADC_EnableIT_EOC(adc); and adc_context_start_read(&data->ctx, sequence);
Other
I didn't use overlay as it is described in sample/drivers/adc/boards/stm32l562e_dk.overlay, would that be a prolem ?

Probably a stack overflow, increase the stack sizes and try again

Hello,
I tried to increase stack size and still doesn't work. Hardware interrupt is never received. I would have think of a timing between writing to registers which is not the same between optimizations. Did anyone see this kind of behaviour ?


travis: make import of math/rand fail build

Please take a look.

LGTM, though we may have some comments that contain that string (still not bad to prevent that though)

We could do something with go list if it becomes necessary. I'm just looking at whether there is a good format that makes this easy.

This command outputs a list of packages that import "math/rand":
go list -f '{{$p := .}}{{range .Imports}}{{if eq . "math/rand"}}{{$p.ImportPath}}{{end}}{{end}}' ./...

We could use this instead, but the existing code gives the file name.


question re fresque.ini

Below is an extract from my fresque.ini file. Based on that I believe that adding a job to the queue job-onboard-mailer will cause it to be done at a 360 second interval, the next time that queue is polled. But that doesn't seem to be the case according to my log file, an extract of which is pasted below. It seems to be doing the job instantly. Could you please advise if my settings are wrong or if I have misunderstood something?
Also, is there any documentation for the scheduler feature?
Thanks.
[Default]
; Default name of the queue the worker will be working one
; A worker can work on more than one queue, just separate
; the name with a commas, e.g "defaultone,defaultwo"
queue = job-worker
; Polling frequency
; Number of seconds to sleep between each polling
interval = 5
; Number of workers to fork
; e.g putting 2 will start to workers with exactly
; the same settings
workers = 1
[Queues]
job-dispatcher[workers] = 1
job-mailer[workers] = 1
job-worker[workers] = 6
job-deleter[workers] = 1
job-welcome-mailer[workers] = 1
job-onboard-mailer[workers] = 1
job-create-mp3[workers] = 1
job-onboard-mailer[interval] = 360
job-welcome-mailer[interval] = 180
[2015-08-11T11:56:30+01:00] Processing ID:bc7285fbe7053d1048f94dd5018584a9 in job-onboard-mailer
[2015-08-11T11:56:30+01:00] done ID:bc7285fbe7053d1048f94dd5018584a9
[2015-08-11T11:56:30+01:00] got {"queue":"job-onboard-mailer","id":"ddbefb12b4bfa17acc505e4a64abb42d","class":"Byta\JobBundle\Job\JobSendOnboardEmail","args":[{"messageID":33,"created":"2015-08-11 11:53:45","type":"meta"}]}
[2015-08-11T11:56:30+01:00] Processing ID:ddbefb12b4bfa17acc505e4a64abb42d in job-onboard-mailer
[2015-08-11T11:56:30+01:00] done ID:ddbefb12b4bfa17acc505e4a64abb42d
[2015-08-11T11:56:30+01:00] got {"queue":"job-onboard-mailer","id":"c87943072007a0bf3d9a925cc225b1f1","class":"Byta\JobBundle\Job\JobSendOnboardEmail","args":[{"messageID":33,"created":"2015-08-11 11:53:45","type":"meta"}]}
[2015-08-11T11:56:30+01:00] Processing ID:c87943072007a0bf3d9a925cc225b1f1 in job-onboard-mailer
[2015-08-11T11:56:30+01:00] done ID:c87943072007a0bf3d9a925cc225b1f1
[2015-08-11T11:56:30+01:00] got {"queue":"job-onboard-mailer","id":"e265c5ee44fa385fe945f4276cce2c15","class":"Byta\JobBundle\Job\JobSendOnboardEmail","args":[{"messageID":33,"created":"2015-08-11 11:53:45","type":"meta"}]}

Can you try again without all the other queues, to reduce noise in the log ?
When there is no jobs in the queue, do you see the worker polling in the log every 360 seconds ? Are you sure that no other workers are polling that queue ?

I believe it is my misunderstanding. Looking into the php-resque-ex code I see that the interval only applies if there is no job in the queue. My code adds a job to that queue but delays execution (sending of an e-mail) till a specific time has elapsed. If that time hasn't elapsed, it will re-queue the job. So there will always be a job in that queue.
I need to re-work my code to only add a job to the queue when it is ready to be processed. So I think we can close this issue, though I would still like to know about the scheduler functionality, in case that is of help to me here.
Thank you for your reply.

see https://github.com/kamisama/php-resque-ex-scheduler


Message List Truncated

I am using a Linux Version of the software.
My message list is longer than that when I opened in on my phone. This issue is after the app automatically updated itself (without consent).

this issue is fixed on the version 2.4.3 please visit the site http://igdm.me to download the latest version


Use the validated method of FormRequest for store and update

My suggestion would be to use the validated method of the FormRequest class, this method makes it possible to modify the data after validation and before persisting the data in the database, in addition to giving us the possibility to use the prepareForValidation method that is executed before validation, in case need to unmask data before validating.
Sorry for my English from google translator. ^^

A new inspection was created.

A new inspection was created.

The inspection completed: No new issues

The inspection completed: No new issues

A new inspection was created.

The inspection completed: 2 updated code elements

Hello @rodrigofs !
Sorry for taking so much time to get back to this. I think I've opened this issue like 2 or 3 times already, but I cannot figure out why we should do this. What was your concrete implementation that misses this functionality?

Google translate does a pretty good job, I could understand what you wrote, but I could not figure out the scenario where I would be needing it. So feel free to include some code also if you feel that would help me to understand it.
Anyway I don't think we can make changes like this in 4.1 so I am postponing it to 4.2 (it's just right about the corner).
Let's get to the endpoint here and if we can do something better to help our users we will for sure pay close attention to it.
Thanks,
Pedro

I just thought of a syntax/name for this. What if instead of saveAllInputsExcept plus this method... we let the dev define the code itself, using a closure?
// instead of defining the stripping in config/backpack/crud.php like this:

            // Before saving the entry, how would you like the request to be stripped?
            // - false - ONLY save inputs that have fields (safest)
            // - [x, y, z] - save ALL inputs, EXCEPT the ones given in this array
            'saveAllInputsExcept' => false,
            // 'saveAllInputsExcept' => ['_token', '_method', '_http_referrer', '_current_tab', '_save_action'],

// we have a default way of saving (the same as now), so we save:
$request->only(CRUD::getAllFieldNames());

// but we allow the dev to overwrite that using a closure,
// in his setupCreateOperation() or setupUpdateOperation()

// example 1: only save the validated inputs in the FormRequest
CRUD::set('saved_input', function($request) {
    return $request->validated();
});

// example 2: strip out all inputs that begin with underscore (equivalent to the comment out line above)
CRUD::set('saved_input', function($request) {
    return $request->filter(function ($value, $key) {
        return ! Str::of($key)->beginsWith('_');
    });
});

This would not add another option on how the request is to be processed before saving... it would allow the dev complete customization of that process. Sure they can choose to use the validated request. But they can choose to do something else too, like add another input... or remove a different input... or change one input from something to something else (make it uppercase, turn it into a kebab... whatever).
I think I'm onto something here, and I'd love to code it... Basically the only thing that will change is getStrippedSaveRequest(), to something like:
public function getStrippedSaveRequest($request)
{
    $requestProcessingClosure = $this->getOperationSetting('saved_input');
    if ($requestProcessingClosure && is_callable($requestProcessingClosure)) {
        return $requestProcessingClosure($request);
    }

    return $request->only($this->getAllFieldNames());
}

My only question is... what's a good name for that? 😅
CRUD::set('saved_input', function($request) {
    return $request->validated();
});

CRUD::set('saved_request', function($request) {
    return $request->validated();
});

CRUD::set('stripped_request', function($request) {
    return $request->validated();
});

CRUD::set('final_request', function($request) {
    return $request->validated();
});

CRUD::set('final_input', function($request) {
    return $request->validated();
});

CRUD::set('before_saving', function($request) {
    return $request->validated();
});

@tabacitu I also think you have nailed it here in regards of what inputs to save. I don't have much to say about implementation here, so I will just try to suggest some names: guarded_request, safe_request, to_save, save_fields and I also like your suggestion stripped_request.
Best,
Pedro

Great to hear that @pxpm 🙏
@rodrigofs , I've just finished the PR that does the above, so after we merge that and https://github.com/Laravel-Backpack/CRUD/pull/3789 and launch 4.2 you'll be able to do this to achieve the same thing:

    /**
     * Before saving the entry, how would you like the request to be stripped?
     * - false - fall back to Backpack's default (ONLY save inputs that have fields)
     * - closure - process your own request (example removes all inputs that begin with underscode)
     *
     * @param  \Illuminate\Http\Request  $request
     * @return  array
     */
    'strippedRequest' => (function ($request) {
        return $request->validated();
    }),

Or inside your CrudController::setupCreateOperation() and CrudController::setupUpdateOperation() using
CRUD::set('strippedRequest', (function ($request) {
    return $request->validated();
}));

🎉🎉🎉
Thanks for the feedback, the PR and for the patience.
Cheers!
PS. I'll close this PR because https://github.com/Laravel-Backpack/CRUD/pull/3987 fixes the same thing in a different way.


Incidents formatting and buttons

What version of Node.js are you using?
16.13.1
What version of npm are you using?
8.3.0
What operating system are you using?
Linux (ubuntu 20.04)
Describe the Bug
There are a few formatting issues with the incident reporting. Firstly, the additional officers if more than one is selected there is no space between them when displayed. Secondly, when viewing a description for a case I noticed that there is a save button but this isn't an editable model and there should probably just be a close option.
Expected Behavior
A space should be present for additional officers, not sure how well it will format with large numbers of officers either?
Only a close option should be present on the description pop out as there is no editable content to save.
To Reproduce

not sure how well it will format with large numbers of officers either?

for now I'll keep it as-is. If this becomes a problem in the future we can definitely change this!


focus-if should wait for all css animations to complete before firing

I use focus-delay to prevent horrible effects, breaking, calamity, etc when focussing-if inputs on ng-show/statechange/etc. focus-if should know to wait for all animations to finish before firing so that I don't have to manually add in the focus delay.
Great directives thanks for putting them out there.

I initially created some code to attempt this, but the problem is that typically the "animated" element is not the input in question that will receive focus. As such, it's not trivial to figure out where / to which parent the directive would need to attach animationend event bindings.
Instead, I suggest you use a strategy like the one I've implemented here. Creating new directive(s) that will execute an arbitrary expression when animationend events fire will allow you to set a $scope value to trigger focus-if, without either directive being aware of the other.

Feel free to copy that code. If you think this might be useful to other folks, I'd be happy to publish it.


mac_user: fixing gid and system properties, and adding hidden property

Goals:

mac_user provider will now use the numeric GID when creating a user, instead of passing what was literally in the resource (e.g. it will use 80 instead of "admin")
brings back support for system true from the old dscl provider.
adds support for new property hidden which will set the IsHidden value in the user plist.

Description
The GID will fix issues where the system does not recognize the user (for chown operations, or id, etc)
The system: true works, but there are still macOS quirks. For instance, if you run chef manually in terminal, you'll be prompted to give Terminal.app privacy protection rights to be able to set the UID.  When run via launchd, which is how most orgs would use chef, macOS just ignores the UID you pass and pulls its own (usually starting at 502 and going up to the next available one). This seems to be a limitation in the sysadminctl tool itself, in conjunction with the added privacy protections around updating a UID for a user. The fix for this behavior would involve signing chef (or chef's ruby) and whitelisting it for SystemPolicySysAdminFiles via MDM.
Since what most of us are interested in is not specifically assigning a UID under 500 (which Apple doesn't even support), I'm also adding in support to this resource for the IsHidden dscl attribute. Setting this to 1 (which, apple terms, means "true"), the account will not show up in System Prefs or at the Login Window.
Related Issue
#9171
Types of changes

[x ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x ] All commits have been signed-off for the Developer Certificate of Origin.

@chilcote As of Chef Infra Client 15.8 we will be signing all the binaries in Chef to comply with all the new notarization requirements. So next week we'll be signed

@tas50 That's very interesting news! Is there info posted on what needs to be added to the kernel extension whitelist payloads?


Expire Matt Bostock's access on April 9th

Remove my SSH access on April 9th, the day after my last day in the
office. I am leaving GDS.
Thanks for everything, it's been a huge privilege to work with you all.
👋 🍆

:+1: merge when ready


added ability to invoke the package with -m option

It works perfectly:
py -2 yolk -V django

Django 1.9.6
Django 1.9.5
Django 1.9.4
Django 1.9.3
Django 1.9.2
Django 1.9.1
Django 1.9
Django 1.9rc2
Django 1.9rc1
...

The actually maintained repo is https://github.com/myint/yolk

Thx for the info. I willmerge with that one. Cheers
On 8/05/2016 08:35, "Jürgen Hermann"<EMAIL_ADDRESS>wrote:

The actually maintained repo is https://github.com/myint/yolk
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/cakebread/yolk/pull/34#issuecomment-217667195


[experiment] Don't smuggle deprecated out of parser, use jsdoc

This is potentially part of #52921; this eager evaluation of @deprecated is the only reason that JSDoc parsing couldn't be lazy, but it's possible that this may be slow.

@typescript-bot perf test this

Ouch.


The read will always request 8 bytes of data even if there are only 2 bytes in the canbus messages

The read will always request 8 bytes of data even if there are only 2 bytes in the canbus messages.
This completely messes up the read comunication after a 2 byte data data package
it is like this
if(dtaLen <= 32)
    {
        CANI2C.beginTransmission(0x41);
        CANI2C.write(canNum ? 0x17 : 0x07);
        CANI2C.endTransmission();

        CANI2C.requestFrom(0x41, 8);

        for(int i=0; i<8; i++)
        {
            str[i]= CANI2C.read();
        }
    }

and it needs to be
if(dtaLen <= 32)
    {
        CANI2C.beginTransmission(0x41);
        CANI2C.write(canNum ? 0x17 : 0x07);
        CANI2C.endTransmission();

        CANI2C.requestFrom(0x41, dtaLen);

        for(int i=0; i<dtaLen; i++)
        {
            str[i]= CANI2C.read();
        }
    }

After this change I could use the CANBED dual in my sprinter to sniff the internal CANBUS's. before this changes it was even starting to think that there were extended CAN message on the CANBUS. Please fix this in your code, I am not the only one having this problem.

@amigob thank you for the hanging RX fix.

@amigob Could you please reach out to me at hpfiend at gmail dot com I would love to speak with you about your fix!


Feature request: cgmath::BaseFloat provides access to float methods from f32 and f64

My specific use case is implementing an arcball-style camera for cgmath to use in a project I'm working on. (https://github.com/mhintz/arcball-cgmath). I initially tried to make the struct generic over <T: cgmath::BaseFloat> so that it could use f32 and f64, but with only that trait bound I can't use float methods like .acos, .min, and .max. The rustc error is "error: source trait is private".
I'm not really sure what to make of this, to be honest. Looking at the cgmath source I can't put my finger on what the issue is. I wish I knew more and could propose a fix

You need to import Float from rust_num to use these methods. It's my fault for not having any examples for this. I would like to remove the dependency on rust_num to be honest - having to import BaseFloat and Float is pretty ugly.

Ok, awesome! I got it working, thanks for your help.
(For anyone looking for how to make structs that use cgmath generic over floating point types, see https://github.com/mhintz/arcball-cgmath).
The only pain point is using floating point primitive literals aside from zero and one, which are provided by trait functions. Is there a better way to make literals generic than this?
num::NumCast::from(5.0).unwrap()
cheers!

 This is why I'm thinking we should cut our ties with rust_num. Lots of rust_num is a dumping ground for our past failures with regards to making a numeric hierachy for Rust, and there hasn't been much work on improving its ergonomics.


The PDB files in the Body Tracking SDK are missing

Describe the bug

The PDB-files of the native libraries in Body Tracking SDK are missing. This makes it difficult to guess the source of an error, unless we decide to start diving into the Assembler code.
For instance, this happens on some machines, causing a crash, when invoking k4abt_tracker_create():
"
0x00007FF86B873E39 (KERNELBASE) RaiseException
0x00007FF8121CAFEB (k4abt) k4abt_tracker_destroy
0x00007FF8121C83A6 (k4abt) k4abt_tracker_destroy
0x00007FF8121B8AE5 (k4abt) k4abt_tracker_destroy
0x00007FF8121B0D28 (k4abt) k4abt_tracker_destroy
0x00007FF81202C265 (k4abt) k4abt_tracker_destroy
0x00007FF812037F19 (k4abt) k4abt_tracker_destroy
0x00007FF811FFC0F2 (k4abt) k4abt_tracker_destroy
"
To Reproduce

It will be difficult to reproduce each and every error at your end.
Expected behavior

Please add the PDB-files for 'k4abt.dll' (and eventually for 'onnxruntime.dll') to the future releases of 'Azure Kinect Body Tracking SDK'. This may help debug and localize the errors.
Logs

Screenshots

Desktop (please complete the following information):

OS with Version: Windows 1909
SDK Version:  Azure Kinect SDK 1.3.0, Body Tracking SDK 1.0.0

Additional context

@rfilkov Thanks for the feedback! As for your particular crash, could you share your crash dump with us so that we can take a look at the issue you hit?
You can save a crash dump by following instruction here: https://docs.microsoft.com/en-us/visualstudio/debugger/using-dump-files?view=vs-2019.

@yijiew This particular crash is the same as #1061 If you need a crash dump, we could ask Mike to create one for you. But as I see, you are pretty sure that it is due to a dll version mix-up of onnxruntime.dll. As a matter of fact, I've few crash reports from other customers before that too, but unfortunately don't keep their logs. My experience so far shows two main sources of crash - either at the time of initialization of depthengine_2_0.dll, or at the time of creation of the body tracker.
Anyways, this issue shows once again why PDB files (as some kind of debugging info) is needed. The call stack at the time of the crash (see above) doesn't provide any hint that it is somehow related to the loading of the onnx-runtime library, not to mention the exact reason of the crash. The log-file is empty. This makes it quite difficult to provide first line support to the customers.

Hi @rfilkov , thanks for raising this issue. We are discussing among our team about sharing the PDB files for the next release. Please stay tuned.
But for this particular issue that caused your crash in this version, it would be very helpful if you could ask Mike to share the crash dump with us so that we could further investigate.

Hi @yijiew , FYI: I have another bug report regarding a crash in the body tracking SDK. This time it happens incidentally while running, according to the user. Here is the call stack:
"
0x00007FFBF0DD6D99 (k4abt) k4abt_tracker_destroy
0x00007FFBF0DC4075 (k4abt) k4abt_tracker_destroy
0x00007FFBF0DC3824 (k4abt) k4abt_tracker_destroy
0x00007FFBF0C6EE6B (k4abt) k4abt_tracker_destroy
0x00007FFBF0C5DDE5 (k4abt) k4abt_tracker_destroy
0x00007FFBF0C5E2B5 (k4abt) k4abt_tracker_destroy
0x00007FFBF0C5EADA (k4abt) k4abt_tracker_destroy
0x00007FFBF0C3D966 (k4abt) k4abt_tracker_destroy
0x00007FFBF0D841E0 (k4abt) k4abt_tracker_destroy
0x00007FFC2FBE7BD4 (KERNEL32) BaseThreadInitThunk
0x00007FFC2FD6CED1 (ntdll) RtlUserThreadStart
"

Could  you send me a dump? You can save a crash dump by following instruction here: https://docs.microsoft.com/en-us/visualstudio/debugger/using-dump-files?view=vs-2019.

OK, I asked the customer to create a crash dump, if possible. #1091 is his bug report here.

Closed. Investigation covered in #1091

@qm13 Does closing this issue mean you're not going to provide PDB files for the BT SDK libraries, and all crash reports should be directed to you?

https://feedback.azure.com/forums/920053-azure-kinect-dk/suggestions/40188511-please-replace-the-body-tracking-sdk-team


What exactly face factor do? Will it keep the ratio of size of faces to the image size constant?

@ApurvaDani Yes, it roughly keeps the ratio of the size of faces to the image size constant.


TypeError when retrieving device state

Describe The Bug:

After several months of working fine, I've suddenly started getting an error, and the plugin has stopped working.
[7/22/2024, 3:51:07 AM] [Dreo Platform] wss://wsb-us.dreo-cloud.com/websocket?accessToken=---&timestamp=1721620267176
[7/22/2024, 3:51:07 AM] [Dreo Platform] error retrieving device state: TypeError: Cannot read properties of undefined (reading 'mixed')
    at /var/lib/homebridge/node_modules/homebridge-dreo/src/DreoAPI.ts:94:36
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at DreoAPI.getState (/var/lib/homebridge/node_modules/homebridge-dreo/src/DreoAPI.ts:80:5)
    at DreoPlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-dreo/src/platform.ts:115:21)
[7/22/2024, 3:51:07 AM] [Dreo Platform] error: Failed to retrieve device state
[7/22/2024, 3:51:07 AM] [Dreo Platform] WebSocket Opened

To Reproduce:

Error occurs immediately after starting plugin.
Expected behavior:
Plugin should retrieve device status from Dreo API.
Logs:
[7/22/2024, 3:51:06 AM] [Dreo Platform] Executed didFinishLaunching callback
[7/22/2024, 3:51:06 AM] Homebridge v1.8.4 (HAP v0.12.2) (Dreo Platform) is running on port 51195.
[7/22/2024, 3:51:06 AM]

[7/22/2024, 3:51:07 AM] [Dreo Platform]

REMOTE:
 {
  access_token: ---,
  refresh_token: ---',
  createdAt:<PHONE_NUMBER>000,
  countryCode: 'US',
  scope: 'all',
  token_type: 'bearer',
  region: 'NA',
  expires_in: 303795999,
  userid: ---
}
[7/22/2024, 3:51:07 AM] [Dreo Platform] Country: US
[7/22/2024, 3:51:07 AM] [Dreo Platform] Region: NA
[7/22/2024, 3:51:07 AM] [Dreo Platform]

DEVICES:
 [
  {
    deviceId:  ---,
    sn: ---,
    brand: 'Dreo',
    model: 'DR-HTF005S',
    productId: '1514165925956890625',
    productName: 'Tower Fan',
    deviceName: 'Tower Fan',
    shared: false,
    series: null,
    seriesName: 'Pilot Pro S',
    color: 's',
    controlsConf: {
      template: 'DR-HTF005S',
      lottie: [Object],
      schedule: [Object],
      cards: [Array],
      feature: [Object],
      preference: [Array],
      extraConfigs: [Array],
      control: [Array],
      category: 'Tower Fan',
      setting: [Array]
    },
    mainConf: {
      isSmart: true,
      isWifi: true,
      isBluetooth: true,
      isVoiceControl: true
    },
    resourcesConf: {
      imageSmallSrc: 'https://resources.dreo-cloud.com/app/preSigned202405/2302bbcd1232ac4326ae312abaa1cc6d70.png',
      imageFullSrc: 'https://resources.dreo-cloud.com/app/202309/863baa919beea413783c2c6400029eb39.zip',
      imageSmallDarkSrc: '',
      imageFullDarkSrc: ''
    },
    servicesConf: [ [Object] ],
    userManuals: [ [Object] ]
  },
  {
    deviceId: ---,
    sn: ---,
    brand: 'Dreo',
    model: 'DR-HTF005S',
    productId: '1514165925956890625',
    productName: 'Tower Fan',
    deviceName: ---,
    shared: false,
    series: null,
    seriesName: 'Pilot Pro S',
    color: 's',
    controlsConf: {
      template: 'DR-HTF005S',
      lottie: [Object],
      schedule: [Object],
      cards: [Array],
      feature: [Object],
      preference: [Array],
      extraConfigs: [Array],
      control: [Array],
      category: 'Tower Fan',
      setting: [Array]
    },
    mainConf: {
      isSmart: true,
      isWifi: true,
      isBluetooth: true,
      isVoiceControl: true
    },
    resourcesConf: {
      imageSmallSrc: 'https://resources.dreo-cloud.com/app/preSigned202405/2302bbcd1232ac4326ae312abaa1cc6d70.png',
      imageFullSrc: 'https://resources.dreo-cloud.com/app/202309/863baa919beea413783c2c6400029eb39.zip',
      imageSmallDarkSrc: '',
      imageFullDarkSrc: ''
    },
    servicesConf: [ [Object] ],
    userManuals: [ [Object] ]
  },
  {
    deviceId: ---,
    sn: ---,
    brand: 'Dreo',
    model: 'DR-HTF005S',
    productId: '1514165925956890625',
    productName: 'Tower Fan',
    deviceName: ---,
    shared: false,
    series: null,
    seriesName: 'Pilot Pro S',
    color: 's',
    controlsConf: {
      template: 'DR-HTF005S',
      lottie: [Object],
      schedule: [Object],
      cards: [Array],
      feature: [Object],
      preference: [Array],
      extraConfigs: [Array],
      control: [Array],
      category: 'Tower Fan',
      setting: [Array]
    },
    mainConf: {
      isSmart: true,
      isWifi: true,
      isBluetooth: true,
      isVoiceControl: true
    },
    resourcesConf: {
      imageSmallSrc: 'https://resources.dreo-cloud.com/app/preSigned202405/2302bbcd1232ac4326ae312abaa1cc6d70.png',
      imageFullSrc: 'https://resources.dreo-cloud.com/app/202309/863baa919beea413783c2c6400029eb39.zip',
      imageSmallDarkSrc: '',
      imageFullDarkSrc: ''
    },
    servicesConf: [ [Object] ],
    userManuals: [ [Object] ]
  }
]
[7/22/2024, 3:51:07 AM] [Dreo Platform] wss://wsb-us.dreo-cloud.com/websocket?accessToken=---&timestamp=1721620267176
[7/22/2024, 3:51:07 AM] [Dreo Platform] error retrieving device state: TypeError: Cannot read properties of undefined (reading 'mixed')
    at /var/lib/homebridge/node_modules/homebridge-dreo/src/DreoAPI.ts:94:36
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at DreoAPI.getState (/var/lib/homebridge/node_modules/homebridge-dreo/src/DreoAPI.ts:80:5)
    at DreoPlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-dreo/src/platform.ts:115:21)
[7/22/2024, 3:51:07 AM] [Dreo Platform] error: Failed to retrieve device state
[7/22/2024, 3:51:07 AM] [Dreo Platform] WebSocket Opened

Environment:

Plugin Version: v3.3.1-beta.1
Homebridge Version: v1.8.4
Node.js Version: v20.12.2
NPM Version: 10.5.0
Operating System: Debian

Does this happen on the latest stable version or just the beta?

It happens on the latest stable version as well. I only updated to the beta to see if this had been fixed in there. This issue started happening about 4 days ago.

How many devices do you have on your Dreo account?

3

There must have been an api change on Dreo's end. Everything has started working again (same with my homeassistant dreo integration, which was throwing a similar error).

Thanks for the update, was having trouble reproducing this. Please comment on this thread if you run into the issue again.


Tunnel client socket stuck in ESTABLISHED state

I am using  gRPC C++ client (my network element) with gNMIC tunnel server

Subscription works,  but I am unable to close TCP socket when deleting/removing a target at my network element.

Whereas Ctrl-C at GNMIC works fine and cleanup all resources.

Is there any specific sequence which one need to follow while deleting/removing target from tunnel client?

GNMIC traces show that client has been closed, but the client socket remains in ESTABLISHED state
} ] } 2023/06/12 10:54:25.790673 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.54.0/grpclog/logger.go:53: [gnmic] [transport] transport: closing: connection error: desc = "error reading from server: EOF" 2023/06/12 10:54:25.790737 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.54.0/grpclog/logger.go:53: [gnmic] [core] [Channel #8 SubChannel #9] Subchannel Connectivity change to IDLE 2023/06/12 10:54:25.790807 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.54.0/grpclog/logger.go:53: [gnmic] [core] pickfirstBalancer: UpdateSubConnState: 0xc000c20300, {IDLE <nil>} 2023/06/12 10:54:25.790851 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.54.0/grpclog/logger.go:53: [gnmic] [core] [Channel #8] Channel Connectivity change to IDLE 2023/06/12 10:54:25.790847 /home/runner/work/gnmic/gnmic/app/collector.go:111: [gnmic] target "OME-000102031000": subscription default-1686576182 rcv error: rpc error: code = Unavailable desc = error reading from server: EOF 2023/06/12 10:54:25.790881 /home/runner/work/gnmic/gnmic/app/collector.go:111: [gnmic] target "OME-000102031000": subscription default-1686576182 rcv error: retrying in 10s 2023/06/12 10:54:25.790861 /home/runner/go/pkg/mod/google.golang.org/grpc@v1.54.0/grpclog/logger.go:53: [gnmic] [transport] transport: loopyWriter exiting with error: transport closed by client 2023/06/12 10:54:30.846313 /home/runner/work/gnmic/gnmic/app/tunnel.go:169: [gnmic] tunnel server target {ID:OME-000102031000 Type:GNMI_GNOI} deregister request client <IP_ADDRESS>:53564 is not in subsc1aq1qription list

Tunnel client netstat, socket remains in ESTABLISHED state only
TCP   0      0      ::ffff:<IP_ADDRESS>.56027     ::ffff:<IP_ADDRESS>.50051   ESTABLISHED
TCP   0      0      ::ffff:<IP_ADDRESS>.53564     ::ffff:<IP_ADDRESS>.50051   ESTABLISHED

Also, is there any minimum gRPC stack and gnmi.proto version which is needed for tunnel.proto to work ? Here are the version details
1)gRPC stack : 1.0.0
2)gnmi.proto : 0.7.0
3)tunnel.proto : 0.1

GNMIC : 0.31.0

I will try to reproduce this and get back to you.

I was finally able to run some tests, sorry for the delay.
It works as expected from my tests, the gRPC tunnel connection remains established when a target deregisters. It is closed when a tunnel client closes the connection.
Deregistering a target should not result in closing the tunnel client connection, it just removes the network element from the list of known targets and stops any ongoing gNMI subscriptions.
The gRPC tunnel connection remains established, allowing the target to register again.

Hi,
I am also facing a very similar issue.
Is there any way to force the gnmic to close the connection after deregistration of target
Which will ultimately destroy the gRPC channel from Tunnel Client side.

That's not how the gRPC tunnel service works, a single tunnel can be used to register/deregister multiple targets.
It's the tunnel client job to close the connection if it deregisters the last target and does not plan on registering a new one again.


abnormal quit

Unable to create or access the Interim Note-Changes file. Is another copy of Notational Velocity currently running?
Open Console in /Applications/Utilities/ for more information.

Version: 2.2b (111)
I'm getting the same error (http://cl.ly/3X2E0R3a2t3L) everytime I run nvALT. Looking in Activity Monitor only one copy of Notational Velocity is running.


🐛 [Bug] Encountered bug when using Torch-TensorRT

Bug Description
Broken link in the documentation: https://nvidia.github.io/Torch-TensorRT/tutorials/runtime.html#runtime
An example of how to use libtorchtrt_runtime.so can be found here: https://github.com/NVIDIA/Torch-TensorRT/tree/master/examples/torchtrt_example
To Reproduce
https://github.com/NVIDIA/Torch-TensorRT/tree/master/examples/torchtrt_example
The link does not exist anymore

Expected behavior
Should probably be replaced by:
https://github.com/NVIDIA/Torch-TensorRT/tree/master/examples/torchtrt_runtime_example

@tanayvarshney Could you take a look at this?


Build and test on Python 3.7 and 3.8

Added python 3.7 and 3.8 build targets to .travis.yml and added these Python versions to setup.py classifiers.
This is to ensure JAMS can be used in these environments.

LGTM, thanks!

Thanks, Brian.