Migrate WriterTest to use parquet-cli

Replace the deprecated parquet-tools command used in the WriterTest with parquet-cli. Validate the output of the "meta" and "pages" subcommands, which gives most of the same coverage as parquet-tools.
Ideally this could have included the "cat" command to validate each row. However, the command has some problems with parquet schemas that don't map cleanly onto Avro definitions, including many uses of repeated fields, so this doesn't reliably work.
The PARQUET_GO_TEST_CLI environment variable provides an alternative way to configure the parquet-cli command for use in the test, and supports both an alternaive executable name and prefix CLI arguments. This is necessary to support the method for running the CLI described in the parquet-cli README:
java -cp 'target/parquet-cli-1.12.3.jar:target/dependency/*' org.apache.parquet.cli.Main
See: https://github.com/apache/parquet-mr/blob/master/parquet-cli/README.md

@achille-roussel I have a branch with an additional update that should let these updated tests run in CI. Should I pull that into this PR or wait for this to merge and then open a separate PR for that?

Feel free to add changes from the other branch to this PR 👍


dts: arm: st: f1: remove AFIOEN bit from IO clocks

Don't set AFIOEN when enabling IO port clock.
The bit is set upon requirement within pinctrl
or pinmux
Signed-off-by: Georgij Cernysiov<EMAIL_ADDRESS>

Set as DNM as not fully working yet

Set as DNM as not fully working yet

It is not dependent on #43605 and shall work even with the current way of SWJ initialization and remap.

My bad, I mixed the 2 issues.


Added a version tag handler.

We now support fetching the versions by tags as well as releases.
Also added the test pipeline as a PR workflow.

Hey Andy @andersonpem check this out for me please.

The regression test and the CI pipeline are a nice touch. I have tested the cases I tested for the previous 2.x versions. The backwards compatibility is okay.
Looks good to me :)


Fixes nested lists

Nested lists are pretty critical for documentation, and the current list implementation has a couple issues with them:

They don't get indented properly.
Adding a ul within an ol messes up the numbering on the original ol.

I tweaked the existing implementation (counters) rather than reverting to standard ol numbering, because I like how your numbering doesn't include periods.
I wasn't able to detect any regressions in content nor in TOCs, but let me know if you spot anything and I'll see what I can do. Here's some test Markdown:
1. Click **Button**.
1. **Create**.
1. Specify a name and schedule.
1. Select one or more indices, or specify `*` for all indices.
1. Define in one of two ways: visually or using a query.

   - Visual definition works well for some things...

   - Query definition works well for others...

     1. More stuff.

     1. More.

     1. Last one.

1. To define visually, select **Define using graph**. Then choose `something` or `something else`.

   To use a query, select **Define using query**, add your query (using some language or another), and test it using the **Run** button.

   Everything runs on a set schedule.

1. Click **Create**.

   1. More stuff.

   1. More.

   1. Last one.

1. We're almost done.
1. Yes, we're done.

A brand new list!

- Click **Button**.
- **Create**.
- Specify a name and schedule.

  1. Visual definition works well for some things...

  1. Query definition works well for others...

- To define visually, select **Define using graph**. Then choose `something` or `something else`.

  To use a query, select **Define using query**, add your query (using some language or another), and test it using the **Run** button.

  Everything runs on a set schedule.

- Click **Create**.

Thanks for reporting. I have found a simpler solution to solve this problem in #86.


Add support for uploading additional files

Add support for uploading additional files that could be used in jobs.sh. Prime example being a existing Dockerfile. The --additional-file flag can be given multiple file to provide multiple files.
Closes #11

Hi @Moulick I can take a look at the PR if you use a real email as per Derek's note.
Thanks for the interest.
Alex

@alexellis I have my personal emails added to this Github account but set Github to hide it to avoid spam and privacy. Github has given me an email<EMAIL_ADDRESS>which I use to sign my commits. Emails to this get routed to my personal email. How can we proceed with this?


Update configure-email-forwarding.md

Made changes to the Mail forwarding wordings as it was confusing a little bit.

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/4667

@msbemba

@kwekuako Please merge this PR. Thanks.

@kwekuako Gentle reminder.


Runtime segfault occurs when using Iters

I was trying to implement an algorithm in Pony when I encountered a segfault in my program while trying to use Iters. The reason for the segfault is invalid address (fault address: 0xffffffff), according to lldb.
Here is the code in a Gist. (note: hashgraph.pony and event.pony are located in a directory hashgraph/, but Gist does not support directories)
The segfault begins in the Hashgraph.famous function (called in main.pony, line 11), when nth is called on the Iter (hashgraph.pony, line 138), and the last of my code that is run before the segfault appears to be line 55 of hashgraph.pony (a fold call on the Iter). The last call before the segfault appears to be in iter.pony, in the filter_stateful function, line 121.
I have no idea how to recreate this issue in simpler code, nothing in my code seems particularly dangerous. I am using ponyc 0.23.3 [release], but have not been able to try this with the master branch (though iter.pony has not been commited to since 2017).

Can you provide a full lldb backtrace? This way it is easier to spot the problem.

Just compiled this with the master branch, segfault still occurs.

Thanks for reporting!
This looks like a nasty one...

I've created a generalized version that also segfaults:
use "itertools"

class SegFaulter[A]
  fun ref segfault() =>
    Iter[U8]([as U8: 1; 2; 3].values())
      .map[None]({(a) =>
        Iter[SegFaulter[A]]([SegFaulter[A]].values())
          .map[None]({(b) => None }).run()
      })
      .run()

actor Main
  new create(env: Env) =>
    SegFaulter[None].segfault()

It won't work without the generic, so I think it's safe to say they're involved.
However, this occasionally compiles to a version with no segfault even though no changes to the code were made.
I have attached 2 Linux 64-bit binaries that were compiled the exact same way (ponyc --debug) with the same code. One of them segfaults and the other does not.
segfault.zip

Interestingly enough, I think I've found a type system bug that was hiding a capability safety issue in filter_stateful. I'll try to figure out if it is related.

The type system bug that @jemc mentioned was fixed several years ago but this is still segfaulting and as such, still needs investigation.


feat(menu): add missing parts

Closes #1682

Closing this out to avoid stale PRs
Kindly reopen when you have a working PR ready for review.


get collection, it seems to be the last data

   Meteor.ddp.on('added',() => {
                this.setState({posts: Meteor.collection('posts').find()})
            })

why i sever have two posts,client just get one,
when i add one more,
server to 3,client to 2

@tofrookie How you solve this problem ? Or it is not problem ?


Error: ENOENT: no such file or directory when building in vercel dev

My handlers build and work properly when using vercel deploy. However using the local vercel dev results in the following error. The target\release\deps directory exists, however the rmetaXXXXX file does not, other files exist with a similair but different name.
[Error: ENOENT: no such file or directory, scandir 'C:\Users\user-name\Documents\project-name\target\release\deps\rmeta8XbjCX'] {   errno: -4058,   code: 'ENOENT',   syscall: 'scandir',   path: 'C:\\Users\\user-name\\Documents\\project-name\\target\\release\\deps\\rmeta8XbjCX' }
My vercel.json file looks like
{     "functions": {         "api/*/*.rs": {             "runtime"<EMAIL_ADDRESS>       }     } }

Hey there 👋🏻 . Seems like this is a Windows-specific error. Were you using one of the examples or do you have a reproduction repo so I can look into fixing this issue?

I think I managed to resolve the issue. The binary name resolving didn't include .exe which is added on Windows. In case this issue is not resolved by using<EMAIL_ADDRESS>feel free to reopen.

Thanks. I am running windows 10 for reference.
I switched to the beta.2 version. and it resulted in the same error.
A bit more info for you. The rmeta dir its looking for does not exist, but there are other rmeta dirs with different names
My repo can be found here

Will have a look at it tomorrow

The project was missing a vercel.json file (note that the glob in your initial post missed an *). Also make sure to add target to .vercelignore to prevent uploading it.
{
    "functions": {
        "api/**/*.rs": {
            "runtime"<EMAIL_ADDRESS>        }
    }
}

After applying the above I could not reproduce the error.

$ rustup show
Default host: aarch64-pc-windows-msvc
rustup home:  C:\Users\ecklf\.rustup

stable-aarch64-pc-windows-msvc (default)
rustc 1.68.0 (2c8cc3432 2023-03-06)


Use separate module names for the client-go and api pkgs from the operator implementation

What would you like to be added:
Allow developers to import the LWS api and client-go pkgs without the operator implementation.
Why is this needed:
In some cases, the dependencies that the operator brings with it are not compatible or not desirable with applications that would like to import lws api and client-go library only
See https://go.dev/doc/modules/managing-source

We did like this https://github.com/InftyAI/llmaz/blob/5f2f90224d9f4e4d6f5946923acbe6c74f02a340/pkg/controller/inference/service_controller.go#L129-L144, what do you want finally, simplified code structure?

One customer reported that they have an old dependency on controller-runtime, and when they try to import lws, it causes conflicts. My assumption is that if we put sigs.k8s.io/lws/api/leaderworkerset/v1 and sigs.k8s.io/lws/client-go/applyconfiguration/leaderworkerset/v1 in a separate module, then that would resolve the conflict, wdyt?


After JS reload, native ios modules crash the app when they try to send events

Description
Native ios modules inherit from RCTEventEmitter and use the sendEventWithName method to send events to the JS world.
This method starts out as followed:
- (void)sendEventWithName:(NSString *)eventName body:(id)body
{
	  RCTAssert(
	        _callableJSModules != nil,
	        @"Error when sending event: %@ with body<EMAIL_ADDRESS>"
	         "RCTCallableJSModules is not set. This is probably because you've "
	         "explicitly synthesized the RCTCallableJSModules in %@, even though it's inherited "
	         "from RCTEventEmitter.",
	        eventName,
	        body,
	        [self class]);

This means if _callableJSModules is nil, sendEventWithName will crash the app.
It's fine when you start the app the first time, but after a JS reload, I put a timer to output _callableJSModules != nil every second, and it looks like this.

I still don't understand the root cause of this issue, but it seems to happen to some native ios modules I've tried this on. I've also tried logging from the parent RCTEventEmitter and can see that some modules do get away with this issue, but I haven't found a way to get the name of those modules.
PS: Even Reanimated has this issue

Version
0.68.2
Output of npx react-native info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 127.50 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.17 - ~/WebstormProjects/diana/node_modules/.bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7784292
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.13 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.68.2 => 0.68.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
Put this in RCTEventEmitter.m. Watch the output before and after a JS reload

@implementation RCTEventEmitter {
  NSInteger _listenerCount;
  BOOL _observationDisabled;

    @private NSString *__ID;
}

......

- (void)startObserving
{
    dispatch_async(dispatch_get_main_queue(), ^{
		self->__ID = [[NSProcessInfo processInfo] globallyUniqueString];
        [NSTimer scheduledTimerWithTimeInterval:1
                                         target:self
                                       selector:@selector(printCallableJSModules:)
                                       userInfo:nil
                                        repeats:YES];
    });
}

- (void) printCallableJSModules:(NSTimer*)timer
{
    NSLog(@"INIT callableJSModules %@ -- %i", __ID, [self callableJSModules] != nil);
}

Snack, code example, screenshot, or link to a repository
Error you'll get when calling sendEventWithName

I think I have a minimal repro at least for the issue where _callableJSModules is outputting different values every second. I also added a bare minimum custom event emitter, but I'm not able to get it to crash, even after reload, which tracks with what @thomasttvo mentioned where it doesn't seem like this happens in every case :/
I've been experiencing the crashing issue consistently with https://github.com/launchdarkly/react-native-client-sdk, however I don't have a good way to create a runnable repro using that since it depends client account keys. I did open an issue directly there with more info: https://github.com/launchdarkly/react-native-client-sdk/issues/222

I believe this issue is still active, I can confirm I can repro.

Definitely still an issue. What's happening is there are NativeModules that are being subscribed to, but not unsubscribed. For example, here's what something for react-native-sensors would look like:
import { gravity } from "react-native-sensors"

...

useEffect(() => {
  // Subscribe to gravity
  const subscription = gravity.subscribe(
    result => {
      console.log("Gravity: ", result)
    },
    err => {
      console.warn("gravity sensor error", err)
    },
  )

  // Unsubscribe on unmount
  return () => {
    subscription.unsubscribe()
  }
}, [])

During a reload, the subscription.unsubscribe() isn't reached, and there are stale RCTEventEmitters on the native side that are attempting to send events that aren't even being listened to anymore. Each time you reload, there's another emitter that becomes "stale". Here's the output of my NSLog checking if _callableJSModules != nil (and also wrapping sendEventWithName in a check to ensure it's not called when  _callableJSModules is nil)
Initially:
1
1
1

After 1st reload:
1
0
1
0
1
0

After 2nd reload:
1
0
0
1
0
0
1
0
0

Larger post about my findings here: https://github.com/facebook/react-native/issues/41188


Fix swipe recompositions

Hi.
Sorry for missing state preservation in swipe back navigation. Thanks for fixing it.
There is an infinite recompositions bug in your fix.
P.S. Also there is an issue when swiped entry flashing after it was dismissed ( you can see it on last clip). Reproduces before this fix too.
Before:
https://github.com/Tlaster/PreCompose/assets/63979218/ac5048ae-5629-4951-b74f-b5e033cf3bab
After:
https://github.com/Tlaster/PreCompose/assets/63979218/d1654d0b-a6b3-4102-80e2-89e53f1b51a0

I somehow workarounded flashing entry here. But it works with old broken swipe system

Any progress for flashing entry now?

Any progress for flashing entry now?

Not yet, I'm still working on it.

Not yet, I'm still working on it.

The flashing may caused by the AnimatedContent here. For example, if we are now at screen S2, when swipe starts, visibleItems is {S2, S1}; when swipe finishes, it turns to {S1}. This causes the count of AnimatedContent from 2 to 1, and the first AnimatedContent will be reused, the second will be removed. The first will use EnterTransaction.None togetherWith ExitTransaction.None to animate S2 to S1. The point is that this "None" animation takes some delays so that the flash occurs.

Not yet, I'm still working on it.

The flashing may caused by the AnimatedContent here. For example, if we are now at screen S2, when swipe starts, visibleItems is {S2, S1}; when swipe finishes, it turns to {S1}. This causes the count of AnimatedContent from 2 to 1, and the first AnimatedContent will be reused, the second will be removed. The first will use EnterTransaction.None togetherWith ExitTransaction.None to animate S2 to S1. The point is that this "None" animation takes some delays so that the flash occurs.

Yes, I still try to find a way to workaround this.


[ic-data-table/ic-pagination-bar]: Add server side pagination example as ic-data-table code snippet

What component is this related to?
Data tables
Why do we need it?
Add an example of server side pagination being used with the Pagination Bar API
Related open issues
N/A

This code snippet can also be copied or moved across to ic-pagination-bar guidance pages once https://github.com/mi6/ic-design-system/issues/947 is complete

see slotted pagination bar example in react storybook: https://mi6.github.io/ic-ui-kit/branches/develop/canary-react/?path=/story/react-components-data-table--slotted-pagination-bar


Armada Demo Documentation Needs Improvement and Fixes

Describe the bug
Many places in the Armada Demo Documentation do not contain specific information for a demo to work. For example:

alias command won't work on the window's terminal, and it needs to be specifically mentioned to use git bash or a Linux-type terminal.
The armadactl create command needs a unique queue name which needs to be mentioned, and that name should then be asked to change in job-queue for submission to the hosted version of armada on EKS.
etc.

Files Or Markdown that can reproduce the issue
Armada Demo Documentation
Expected behavior
The documentation needs to be clear for any beginner to understand easily.

Actual behavior
Difficult to understand the flow

Additional context

┆Issue is synchronized with this Jira Task by Unito

@Sharpz7 Can you please assign me this issue? I would like to work upon this.


Flickering extension view when scrolling

When scrolling to the top of a UITableView with a reasonable amount of force, the extension view would sometimes flicker. I have attached a video of what I'm seeing via Dropbox:
https://dl.dropboxusercontent.com/u/1319151/Screencast.mov
Any ideas?

I have the same problem.

@Silvercast I am guessing your navigation bar background is opaque, and doesn't show the extension view when it's tucked behind the navbar. That's not always the case, unfortunately, so the extension view has to be set to hidden when it exceeds a certain threshold.

Not really sure what you mean @Mazyod , I've tried @Silvercast 's suggestion and it does remove the flickering and I've got a translucent navigation bar and extension view. Can't see any unwanted side-effects in my setup atm. Maybe that bit of code was needed before but isn't anymore?

@skela The telly app gif in the readme is a "translucent" navbar, but it has a solid background since we set the background as an opaque image. But what if the developer has a truly translucent navbar, like the one in the demo?
I think the value 0 for a float might not be appropriate. If you can please test FLT_EPSILON or 0.1f. If that works, it will help a lot if you could also submit a PR.

I've tried it both with FLT_EPSILON and 0.1f and it removed the flickering in both cases. I'll make a pull request with that change :D

Great. Looking forward to test the new version @skela @Mazyod

Should be done now, thanks to the guys contributions


How to communicate with CP2102 USB to UART Bridge?

Hi,
I am trying to connect a  Silabs CP2102 USB to UART Bridge but I do not know how to use this library to connect and send/recieve data. Any minimal example or hints would be appreciated.
Thanks!

+1  I've found it difficult to make it work on my CP2104 USB to UART Bridge.  It detects, but not able to read or write any further and lacking documentation to figure it out.  Any example would be appreciated as well.


Matching API

Add settings for API URL matching.  Add a testing endpoint to simulate results.  Add a matching endpoint to call the API.  When a file is ingested and unfiled, apply the matching queries to file it.
For both unfiled files and available to process files, offer to look up values from the API and refile the file.  If a database API is configured, there is a new button "Lookup" which opens a dialog showing the label image (if any) and having text entry boxes for the lookup fields.  Clicking "Lookup" will print matches.  Selecting "Apply" next to a match will refile the image using that match.

To use this, after starting the system, go to the Admin Console -> Plugins -> WSI DeID settings.  Add the appropriate url for the matching api and your key.
When an image would otherwise be unfiled, it will perform a lookup based on the OCR.  If it gets exactly one match, it will file it under a folder based on the token id and can inject the first tumor record into the metadata.  Otherwise, images in the Unfiled or Available To Process directories have a "lookup" button -- but only if the api has been configured.

We'll add documentation in a future PR.


[HOLD] Allow build level pinning of OS version

This fixes module re-use across top level modules by setting a build
level OS version for each platform.
Note: I'm evaluating re-working the transition and making the
default CLI arg take precedent
Relates to #225.

Taking a different approach for this


Option to disable serving static files

I am trying to integrate json-server using the middleware and router option inside my webpack configuration with something like this:
export default {
  // ...
  devServer: {
    // ...
    setup(app) {
      const router = jsonServer.router('fake_db.json');
      const middlewares = jsonServer.defaults();

      app.use(middlewares);
      app.use('/api', router);
    }
  }
}

But my index.html template is being overrided by the json-server static middleware and the json-server's index.html is being served instead. I would like to know if there is any way to disable the default static file serving or if this option could be added in the future.

I just realized that I could have removed the default middlewares provided by json-server, after removing it everything works as expected with my webpack dev server 😁


[Feature Request] Support for more customisation on overlay widgets

Hi all.
I am trying to make an app like this one.
I tried to use this  widget.
But the widget is not customisable and only supports a few options.
I want to add animated widgets.
Is there any alternative or is there any work going on for this?
I am not good enough yet to contribute to it. But I would like to see something like this made.
Thank you.

Hello @preetshah21699. Flutter follows the Material specification. Within it, there is no requirement for such a widget or functionality. Unfortunately, you'd need to implement this by yourself. This does not seem like a suitable feature request.
You can probably start by diving into the source code of the package you are currently using and reverse engineer it. But since this is an invalid feature request, I am closing this issue.

Hi Nabeel.
Thank you for the reply. I understand. Do you have any other suggestions apart from this that could help me?
Reverse engineering the package might be an option. But I am not sure if it is viable.
Thank you.

@preetshah21699 I think reverse engineering the package or forking it is your best bet here.


Navigation is no longer working

Using the GPIO Trigger, whenever i ask how long will it take to get to a destination, I receive the following
"Sorry, I can't do navigation yet"
It used to give the correct response, e.g. " destination is 30 minutes away in light traffic"

It's a bit unusual that there was a regression. How did it know where you were in the first place?

Not sure how it knows where I am. Maybe through my location history.
It tells me the weather for my location

It's using your IP to get your location iirc.

We'll look into it.

Can you try with the updated version of the library?
google-assistant-library 0.1.0

Can you try with the updated version of the library?
google-assistant-library 0.1.0

I haven't updated as I'm not sure how but it seems to be working regardless

I'm glad to hear.


when chat is set to 'Public' its posting on squad chat bf5

When you join community server and you spawned its posting only in squad chat and not on public

thnx for spotting that typo

its fixed now in the newest version

Thank you very much :)


Change the logo because it hurts Non-Christian programmers

Hello, please remove the logo or change it if it harms other religions than Christianity, the logo resembles a Christian fish, change the logo within tolerance for other followers
Regards

This is just insane, first this guy: Christian Schiffer with removal of santa hat and now you.

 You are part of a generation of already offended people.
And Microsoft, this is happening when you accept compromise. You accepted the compromise with @Christian-Schiffer and now all morons are requiring things from you.

If you see a fish in that logo, you should stay away from drugs, mate! ;)

@nielslange the logo actually does look like the Christian fish, stylized a bit:

On a more serious note, MS have made their position clear (and that's fine its their project to govern) but I wonder if its a company wide attitude.
Does anyone know what the Microsoft company canteens at Redmond and Zurich (where VSCode is developed) serve? VSCode PM said "if one person is offended that's one person too much" which is an interesting take, but I ponder the implications.  What if a muslim is offended by the serving of pork? What if a hindu is offended by the serving of beef? What if a vegetarian is offended by the serving of chicken? What if a vegan is offended by milk and dairy products? Can you get anything other than water or organic non-lactose skinny lattes at Redmond or Zurich without offending "one person"?

This is nice issue, everyone we did it! Remove too how santa cap who delete because only one guy triggered about this!
this issue is bait guys, don’t takie this seriously.

Realistically, Any logo could be offensive to anyone.  A lot of non-Christians celebrate Christmas and go to see Santa.  If you are personally offended by a red cap with a white fuzzy saddle, then use Atom or Eclipse or download an older version. This is open source, make fork and remove the offending item.

@nielslange the logo actually does look like the Christian fish, stylized a bit:

Everything looks like a Christmas fish if you just stare at it long enough. Opening an issue like this is nuts in my opinion. My thoughts are similar to @bertramdryan. Don't like the logo, don't use the software. Simple as that.


[Feat request] expose a way to hide PDCurses menu

I'd like to hide the menu with "Font" and "Paste" entries.
Maybe by exposing https://github.com/Bill-Gray/PDCurses/blob/18404de78edbc62220899a60902d3f3b44759d86/win32a/pdcscrn.c#L1740

Beware:
#ifdef _MSC_VER
#define INLINE static
#else
#define INLINE static inline
#endif

It would probably be better either to expose PDC_hWnd and add some helper methods for additional functionality or implement this directly in PDCurses.

This is a bit of a pain until https://github.com/Bill-Gray/PDCurses/issues/44 is resolved. It would be best to patch in a way to do this into PDCurses instead of adding workarounds to pancurses.
Allowing you to enable/disable the menu before calling initscr() should be pretty easy though, but toggling it afterwards will not be so easy. Is that enough for your usecase?

Yes, my app do not need this menu :)

v0.13 of pancurses now disables the menu by default (it remains available by right-clicking the titlebar). You can revert to the old behaviour with the "show_menu" cargo feature.


chore: unskip mssql tests

Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!WARNING]
Tests have not run on the HEAD bb7c9e9b505f1372e3cd47c591cff0fac8c87f7c yet
Tue, 15 Oct 2024 09:56:48 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

/ci-test-limit


Adding babel plugin to next-head-starter-kit fails

When installing<EMAIL_ADDRESS>on the next-head-starter-kit  it fails with a reference error
ReferenceError: unknown node of type undefined with constructor "Object"

Example
https://github.com/typed-development/gluestack-memory/tree/babel-plugin
Running command
GLUESTACK_STYLE_TARGET=web  yarn build

@jono-allen Thanks for reporting this. We'll look into this.

Hi @jono-allen, we are going to pick this up in the next few sprints. There are pending tasks that are prioritised higher in our tracker. Hope you understand 🙂

@jono-allen This issue is resolved in the latest version of  @gluestack-style/babel-plugin-styled-resolver and @gluestack-style/react.
Thanks for your patience.


Detector for incompatible packages

Add a detector to let customers know that they are importing incompatible packages with their apps

This was closed a while ago: https://dev.azure.com/Azure-Functions-Supportability/IPD Reduction/_workitems/edit/644


Dev Wallet only working if deployed manually via Flow CLI (not via Docker)

Describe the bug
Bug is identical to https://github.com/onflow/freshmint/issues/16, which makes me think it's a dependency versioning issue, or something to do with ARM chips.
To Reproduce
Steps to reproduce the behavior:

Install fresh copy of Kitty Items using installation guide
follow local development guidelines
open web app (should load correctly with no errors)
but any action related to wallet discovery on :8701 (e.g. login) fails with a 500 error.

Screenshots/Logs/Output
Web app: _app-cc3bf5ab4d4c9109.js:1 GET http://localhost:8701/api/accounts 500 (Internal Server Error)
Dev Wallet docker output:
><EMAIL_ADDRESS>start

> next start

ready - started server on <IP_ADDRESS>:8701, url: http://localhost:8701

><EMAIL_ADDRESS>start

TX:ERROR execution error code 1101: [Error Code: 1101] cadence runtime error Execution failed:

error: [Error Code: 1054] location (undefined) is not a valid location: expecting an AddressLocation, but other location types are passed

--> undefined

error: [Error Code: 1054] location (undefined) is not a valid location: expecting an AddressLocation, but other location types are passed

--> undefined

Workaround/Fix

manually stop kitty-items_dev-wallet_1 and kitty-items_emulator_1 from docker (see image below)
spin up a local emulator and wallet using flow project start-emulator ./flow.json --dev-wallet
redeploy contracts: flow project deploy --network emulator

Environment (Optional - Version, OS, Browser, etc.)

Chrome 97.0.4692.71
macOS 12.0.1 (ARM chip, M1 Pro)
Node 16.13.1
npm 8.3

Additional context (Optional - Anything else about the bug)
Docker desktop shows a warning label amd64 on the dev wallet and emulator images (as you can see from the image above)

@muttoni thanks for reporting this, it should be fixed in #191

Thank you for this workaround/fix! I was able to continue onto the next steps of logging in and initializing. However, I cannot mint - it gives me this 500 error

Thank you for this workaround/fix! I was able to continue onto the next steps of logging in and initializing. However, I cannot mint - it gives me this 500 error

I got same error.

Thanks, as above the workaround worked for me to initialize the service account but minting produces an error. Fwiw, I am on Windows 10 and do not get the [amd64] badges beside the Docker components.

I can't reproduce the error on intel mac, are you seeing anything in the api or emulator image logs? It's also worth resetting your docker images

I can confirm that after completely rebuilding docker from scratch, I no longer get the 500 error. So far, everything seems to be working correctly on dev/emulator. Thanks guys!

Confirmed fixed!


Expense - No RBR is received when submitting expense offline while receiver submits online

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.29-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4918587
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:
Precondition:

User A and User B have never chatted before.

Go to staging.new.expensify.com
[User A] Go offline
[User A] Submit an expense to User B
[User B] While online. submit an expense to User A
[User A] Go online

Expected Result:

The report created by User A while offline in Step 3 should receive RBR with error message after returning online
The expense submitted in Step 3 will also receive an error

Actual Result:

The report created by User A while offline in Step 3 disappears and user is redirected to chat with User B
The expense submitted in Step 3 does not receive error

Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/300bd485-253b-4e84-ad87-07470cc6279b
View all open jobs on GitHub

@adelekennedy  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I can't reproduce this one, once I went back online as user A our chat and expenses updated


Bug: pcli view balance not properly consolidating denoms

As shown here:
❯ pcli -n https://grpc.testnet-preview.penumbra.zone view balance
Scanning blocks from last sync height 976 to latest height 976
[0s] ██████████████████████████████████████████████████       0/0       0/s ETA: 0s
 Account  Amount
 0        20000gm
 0        501000test_usd
 0        100cube
 0        10000pizza
 0        1002700penumbra
 0        20000gn
 0        8000test_usd
 0        6300penumbra

Obviously this is suboptimal, could be a query issue. To be fixed.

@conorsch are you still seeing this issue? I was not able to replicate this locally. Could it be IBC transfer/withdrawal related, following testing around that? Could be easy to dis/confirm if you've done any transfers.

Yes, I'm seeing it right now, although on a different denom:
❯ pcli view balance | rg 'gm\s*$'
Scanning blocks from last sync height 17577 to latest height 17577
 0        20010gm
 0        10gm

There I've grepped out the unrelated assets, but here's the full output of pcli view balance in case that's useful.

full balance output

❯ pcli view balance
Scanning blocks from last sync height 17572 to latest height 17572
[0s] ██████████████████████████████████████████████████       0/0       0/s ETA: 0s
 Account  Amount
 0        1lpnft_opened_plpid17gfhcft7a2kx7y75warjnt3fysrxh628zqm8gm0y64k7y3wpaatq7xcnkh
 0        1lpnft_opened_plpid14lkqlmkf0tf9kakya5h6p0kr0kap2yarunjqwnn44lh4yn4hc9aqpkvh55
 0        1lpnft_opened_plpid10m3yckl338cu2lsn945fgqq6sr8dxzyhd3h8aag34tuu088t392sh9shzj
 0        1lpnft_opened_plpid1ugh5nx64wrsat85sgzdqqww0f7vq85m852q7ja3c3fy0gqjcq4ss66gm6e
 0        1lpnft_opened_plpid1my84z33z9djgasq2lpdpj6hw7qw6l37gzanpef9ycnqq0w2fczsqclw4pl
 0        1lpnft_opened_plpid17zpkdw4nl6g662qp9c6hhyyu3hyust06202ejg4r869jua6m52uqdhwp8y
 0        200000delegation_penumbravalid19jp2gwykhmeekn64snzfl6kvq9dwnqel2vdjcqmtpl5wgfdn6c8q47kn66
 0        1lpnft_opened_plpid137ruhzq3jpk7hftcgcgldxyp02na6fay05nfa58jvnaxaakgaq7syda9z7
 0        1lpnft_opened_plpid15kuljj3zenksn3wtsup2dzhqm08ey3ge0ayc3tj5jcw2666mg52sztf68p
 0        1lpnft_opened_plpid15vlmvsx89j8cfu9n46yv6ug0zmss984pnz0h7wn2xk30ftaz3j7slzwpvq
 0        1lpnft_opened_plpid1fey2v4laj2d0eg539vy6aynjapw8tt43m5wy0f04we2tpecr53nsse8gu5
 0        1lpnft_opened_plpid1nq6gp3e2ua40qagvff5772gmcskr4eja7t2ekk2pryjxmrc8em7scj3klw
 0        1lpnft_opened_plpid1cavtqtmnct5ptmdumrjmk35qyk6m2uh8jsc0f7w0te5ujfze4v4s8ndj3k
 0        1lpnft_opened_plpid1jztk0vx2am9l87hw4puzmsyx58q9y58xky9sg67swzpzyxa53mws3w6t9z
 0        1lpnft_opened_plpid18tf6p5shzgkg4x3x3npkvzzxhqn3yvhq02cc4mtjdt82gc3hf7zq7lf4l8
 0        1lpnft_opened_plpid165fnf0dlaqsnw3ycstx3anvd2xeue4ckd6xwgu4ds69u3umsd4rsdgk7nz
 0        20010gm
 0<PHONE_NUMBER>958896754688test_usd
 0        1lpnft_opened_plpid1xfjgfd2w5z46lw3q64w8v3ck0rg537rqz0klfwja3whysg4880qq6c6srg
 0        1lpnft_opened_plpid10k0gx4r67u6sd4kg6mq087e0ayz5c3kxt03htdfgsfpn4nw28nssldg7gc
 0        1lpnft_opened_plpid1j288r5p9c96ss7t4v856tyn69dzqe5c2gdhq7lmds282j748enxqzva3mr
 0        1lpnft_opened_plpid1sxypeflfsesrk3k7ckw2n2krm27rrgux83mxxragttmwgwncrqssees73u
 0        1lpnft_opened_plpid1gdsmg2kekjxull07zeggnu6fkul87vrqz4wzgeav5jgu6v0zq3lssmk66n
 0        100cube
 0        1lpnft_opened_plpid18ypfzp23cauzktv59jjh2rz0q5xyj7c68av3t649u94tq6dk026sa69j6s
 0        200000delegation_penumbravalid1rr2fqjg4swmfumrvpehsa9z3lksyy4m2yt96xvr9nwarscmfh5qsffakjh
 0        1lpnft_opened_plpid179awwq38uwz0ug8tk8fzs52kh79p6akc0jwutfrpav3e0s70cx5sfcptv7
 0        10000pizza
 0        1lpnft_opened_plpid1rveu8e2sll9r62w3923dl7dnl75vgugn4h99hz5w4cvrp2f2rhwqfydrfe
 0        1lpnft_opened_plpid19mpt5ve8u2ry30wzh5q9yzudl4l8dw2t0pvulxj3v20sttlshdxsnxu367
 0        1lpnft_opened_plpid13qpkq798eyxf2xhlq6p323xwddy665g9wdqt3mf5hcukewms00nq5xwxsv
 0        1lpnft_opened_plpid1wlynj0adczs9qa3lyjlfvswkvgsksnaglvj4zqqdavxzwtgtn78s7dntp8
 0        1lpnft_opened_plpid1u7tf7atz2p9gts2vgs80enfzec2sv593slg7k8nwa34rsp5j5w8skxpwzt
 0<PHONE_NUMBER>31penumbra
 0        1lpnft_opened_plpid1vjng5qw9rgqu7s8w260jqwpfxj88jjrzgujr6ya6enqajs33z2gqer7xsf
 0        1lpnft_opened_plpid1rmau35yyrd645pptpefhjpvl5rcdfk43ltu0ycv6qft9pak0q5ls0hxa3e
 0        1lpnft_opened_plpid1xy3j9qfqk25azlkxfjlcc8nzzuf5dv6cpag9eykzkxndztg0nh4s5ry7c0
 0        17000delegation_penumbravalid15z52wsnqnqpm57g78lwqm0wpzeajnpxl4zuejtrpw2hyje5spq8sm98gg7
 0        20010gn
 7        1.177573penumbra
 0        10gm
 0        9000test_usd
 0        3190penumbra
 0        10gn

I'm also using the testnet, not preview, in today's example.

Could it be IBC transfer/withdrawal related, following testing around that? Could be easy to dis/confirm if you've done any transfers.

I've not performed any IBC transfers on Testnet 63 yet, so I think we can safely conclude it's not that. I have, however, delegated to validators and opened LPs.

Awesome, thank you, that helps narrow it down, though it remains a little mysterious. Have you received any direct transfers of gm from anyone else? Self-sends don't seem to cause this issue at least

Have you received any direct transfers of gm from anyone else?

Definitely not. FWIW, still happening on v0.63.1, with the penumbra denom:
❯ /opt/penumbra/v0.63.1/pcli view balance  | rg 'penumbra\s*$'
Scanning blocks from last sync height 140589 to latest height 140589
 0        100penumbra
 7        16.282905penumbra
 0<PHONE_NUMBER>31penumbra

N.B. I expect that the index 7 balance should be displayed separately! It's the two different 0 indices that surprise me.

I've narrowed this down just now to an issue with the handling of ephemeral addresses in the pcli balance code. Commenting out the chain call at line 70 in pcli/src/command/view/balance.rs like so:
        //.chain(ephemeral_rows.iter()) {
        {
            table.add_row(format_row(row, &asset_cache));
        }```

Results in one of those zero-indexed rows not being added for me, so I think the ephemeral address code is correctly (?) including those amounts, but not correctly grouping them - or, no longer correctly grouping them, as the command flag functionality seems to have changed in the meantime as well. Still investigating, just wanted to make a note of this.

It sounds like the problem is that the pcli code is grouping notes by address, rather than by account.


[refactor] bitcoinprices.go

factored redundant fetch() implementations and common code in decode() implementations.
All ExchangeRateProviders are now initialized as such but each one has a different implementation of the ExchangeRateDecoder interface.
Each one of ExchangeRateDecoder is formalized as an empty struct that then implements the minimum code necessary to extract the data parsed by the JsonDecoder now invoked only once on fetch()

Not sure what fails, not minimum coverage?
FAIL
coverage: 25.9% of statements
2017/03/11 06:16:53 server at <IP_ADDRESS>:9191 terminating...
FAIL	github.com/OpenBazaar/openbazaar-go/api	22.445s
The command "cd $TRAVIS_BUILD_DIR && ./test_compile.sh" exited with 1.
0.01s$ goveralls -coverprofile=coverage.out -service travis-ci
Error parsing coverage: open coverage.out: no such file or directory
The command "goveralls -coverprofile=coverage.out -service travis-ci" exited with 1.

@gubatron Thanks for doing this. I think the issue is the check to make sure things are formatted correctly. gofmt -w . will format things.
It's pretty close just a few changes: https://github.com/tyler-smith/openbazaar-go/commit/96d286c40c7072c6033e81c02a81d91233ed7155

thanks @tyler-smith reformatted with gofmt -w ., rebased squashed.

oh, now it looks like there's a test I need to update :)

got it to build, now I gotta work on the logic that was behind the old tests see if I can replicate/fix/add new tests in there. gotta sleep. thanks

Look good @gubatron. A big help.
Also don't forget to run gofmt in the test file when you fix that test.

Coverage decreased (-0.04%) to 29.304% when pulling ad321f6c7a3d8a5b58699aeaed7d091ee5ac2207 on gubatron:bitcoinprices-refactor into 18c1f1564191658da9ab9e8acfed2758aa88af05 on OpenBazaar:master.

Coverage decreased (-0.04%) to 29.304% when pulling 5f5f77020d8a4a99d7c5361357b22a0c2abf8d83 on gubatron:bitcoinprices-refactor into 18c1f1564191658da9ab9e8acfed2758aa88af05 on OpenBazaar:master.

LGTM now ;)


Hasura 3 permissions setup

What is it?
In Hasura 2, we had setup anonymous access, webhook authentication, and API limits.
I don't think they've implemented rate limits yet, but we should get the other 2 things setup with some automation

Adding scripts here
https://github.com/opensource-observer/oso/pull/1860

Updating permissions here
https://github.com/opensource-observer/oso/pull/1865


Problem with adapter

I want to create a card stack ui with a varying number and am getting a NullExceptionPointer because the getCount method is called before the constructor. This is my code:
public class QuestionStackAdapter extends CardStackAdapter {

private final LayoutInflater mInflater;
private final Context mContext;
private ArrayList<String> root_words;

private static int[] bgColorIds = {
        R.color.card1_bg,
        R.color.card2_bg,
        R.color.card3_bg,
        R.color.card4_bg,
        R.color.card5_bg,
        R.color.card6_bg,
        R.color.card7_bg
};

public QuestionStackAdapter(Questions activity,ArrayList<String> root_words) {
    super(activity);
    mContext = activity;
    mInflater = LayoutInflater.from(activity);
    this.root_words = root_words;
}

@Override
public View createView(int position, ViewGroup container) {
    CardView root = (CardView) mInflater.inflate(R.layout.questions_card, container, false);
    root.setCardBackgroundColor(ContextCompat.getColor(mContext, bgColorIds[position]));
    TextView cardTitle = (TextView) root.findViewById(R.id.card_title);
    cardTitle.setText(root_words.get(position));
    return root;
}

@Override
public int getCount() {
   // error occurs here but works when i use length of bgColorIds which isn't going
   // to help me because the number of cards i need to generate will vary every time
    return root_words.size();
}

}

Please use the 0.3 version to fix the above issue. And thanks for bringing it to our notice!

You welcome but am getting failed to resolve: com.mutualmobile.android:cardstack:0.3

Fixed it. Please use version 0.4.4


better-bibtex/schomd fails with invalid citation keys

When calling the URL http://<IP_ADDRESS>:23119/better-bibtex/schomd with the POST method and the following data: {"method":"bibtex","params":[["mises_liberalismus_1927","mises_human_199","weber_wirtschaft_192"],{"translator":"biblatex"}]}. and at least two of the citation keys, say the last two of them, are invalid, i.e. do not exist in Zotero, an error is returned:
HTTP/1.0 500 Internal Server Error
X-Zotero-Version: <IP_ADDRESS>
X-Zotero-Connector-API-Version: 2
Content-Type: application/json
{"jsonrpc":"2.0","error":{"code":5000,"message":"[Exception...  The bug is reproducible and I think I have a fix, can you try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.84-br605-3302.xpi ?

The fix works.

A release of .86 has been scheduled and should be out within the hour.

Except the Mozilla signing API is hung and it's always anybody's guess how long it will take for them to fix this. Mozilla won't allow me to release a new version without passing that API, sorry.

The new release is out.


Feat/add 1.25 compatibility

Hi all, below is a summary of the changes made on the module:

updated docs (readme, comp matrix, release notes)
updated drone file with new deprecation checker
updated Trivy cronjob with new apiversion

I've pushed some changes to use vSphere instead of AWS for the e2e tests. But the tests themselves need some work.
For example, the tests are using examples/full-harbor-with-trivy/kustomization.yaml that has been deleted.

CI tested with tag v3.0.2-rc4

Hi @nutellinoit, We have reviewed the documentation and everything appears to be up to date.


bad indent with cython

cdef void foo(
        i
)

but not
cdef void foo(
    i
)

/cc @anntzer (via https://github.com/hynek/vim-python-pep8-indent/pull/48)

This is not different from regular python indents, which this plugin also sets to
def foo(
        i
): ...

(i.e., 8 spaces) in order to avoid having the same indent as the block below.
Now it is correct that Cython has both the form with a final colon (as in Python) and without (i.e., a function declaration, similar to typehint stub files), but when the indent is made we don't know yet what the user is going to do, so defaulting to 8 spaces seems good enough.


Do not include empty values in API calls

Introduces a new function encodeAsUriNoEmptyValues and replaces the encodeAsURI used previously.
Now we do not pass empty values to the back-end API.
Also, fixes #2889

Thanks for this fix!
The exact behavior here is kind of confusing:
export const removeEmptyValues = (obj: Object): Object => {
  Object.keys(obj).forEach(key => obj[key] == null && delete obj[key]);
  return obj;
};

I think this removes values that are either null or undefined, but no others. Is that your analysis as well?
Neither of those is necessarily what I'd think of from seeing "empty", and on the other hand {} and [] and '' are definitely "empty" in many contexts. So I'd want a comment explaining this function, if not a better name or other refactor.
Then where it's newly used in this branch, it seems like what you really want is to eliminate undefined, not null. We might actually pass a null through here sometimes, and if so then taking it out is probably a bug -- null is a perfectly good JSON-serializable value, which Python deserializes back as None. It definitely appears in the API at least in some return values, and there may be routes that give None a particular meaning for some parameter but will give an error if the parameter is simply not there.
I think, from a quick experiment with better Flow types, that we never pass null values here. (As far as Flow can tell, we never pass undefined either, but that's because JSON.stringify is annotated with a white lie that it returns string. In fact JSON.stringify(undefined) is undefined, which is how an undefined sneaks in here, but JSON.stringify(null) is "null".) So I'll merge this; but it's pretty brittle, so I'll clean it up in some further commits.

Done -- see 94234c324 and ancestors for those followups. Thanks again!


Stop scrolling on last index

Hello,
I am using your carousel plugin and would like to request some guidance on handling scroll behavior. Specifically, I want to achieve the following:
When I reach the last slide of the carousel, instead of allowing the carousel section to scroll, I would like the page (window) to continue scrolling.
Here’s a brief overview of my implementation:
I am using the wheel gestures in a section of my page.
When the user scrolls down and reaches the last index of the carousel, I want to disable scrolling within that carousel section and allow the main window to scroll instead.
Could you please provide me with guidance on how to implement this behavior? Any examples or code snippets would be greatly appreciated.
Thank you for your help!
Best regards,
arashagp

I don't know how, but try to find a way to override the overscroll-behavior. Pretty sure some digging in Dev Tools should point you in the right direction.

I didn’t try anymore and stopped the project. However, if you have other solutions, please let me know.


haskell-generic-builder: Add extra framework dirs

Motivation for this change
Back-port of #40442
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

CC @ElvishJerricco

E.h., if we need to backport stuff as has happened in the past, it can be one big haskell infra cherry-pick.


Pell - actionBar status

document.queryCommandState()
state: () => document.queryCommandState('the name of the menu button')
Not much documents on this function.
Would like to add the same functionality to ☕ 🍪

https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandState


Add option to breakdown AOT app size

When publishing an app for NativeAOT, it is very beneficial to get a breakdown of where the app size is coming from.
Here's an example of npgsql doing this in its CI:
https://github.com/npgsql/npgsql/actions/workflows/native-aot.yml (open a successful run and expand the "binary size" details sections.

For NativeAOT apps, the way this information is retrieved is to:

Set <IlcGenerateMstatFile>true</IlcGenerateMstatFile> MSBuild property
Publish the app for NativeAOT
In obj<Configuration><Target_Framework><RID>\native\ there will be an .mstat file. This file contains information about what methods, types, etc. were left in the app. And gives a rough size of the methods in the app.
Use some custom C# code to read and gather the information in the format we want to show the dev. Here are some tools that can read this info:

https://gist.github.com/MichalStrehovsky/2c7cb3d623c7f8901541914dab04238d
https://github.com/npgsql/npgsql/blob/218a160e396636f2c56ca7215d264ce644b1464f/test/MStatDumper/Program.cs#L8

We should add an option to crank that will do these steps and send the breakdown of the app size to the developer.
cc @mitchdenny @sebastienros @cincuranet

Fixed


Final set of download configs for modeling objects updated to meet spec.

Sam, Jason merged in your changes in his last commit.


no longer works

i cannot impregnate discord (windows 11)

cope harder

i agree with the statement above

i agree with the statement above my own

remember to shave your neckbeards

remember to kiss your mom with that mouth


Can create caches in the persistent storage?

AFAIK, caches can be evicted under storage pressure so they are temporary storage. I'm not sure the UA should evict the content in the offline caches without the user explicit consent. Could we add an extension to the spec to require some offline caches to be considered as persistent storage?
Use case: I want my favourite game always available. If there is storage pressure, I want to decide which content I want to remove and which not.

SW cache is a persistent storage. Unless explicitly deleted by the API, the resources will persist. Detecting and handling a storage pressure is supposed to be handled by beforeevicted and evicted events defined in Quota Management API: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#storage-considerations.

According to http://www.w3.org/TR/quota-api/#widl-ServiceWorkerGlobalScope-onbeforeevicted

If the service worker that received this event did not give back enough space the UA may evict its content entirely.

So it does not seems to match with the requirement ot be persistent storage. Or am I missing something?

The idea is to use the storage spec to request persistence:
https://storage.spec.whatwg.org/
We don't implement this in gecko yet, but I thought I saw some blink intent emails for this API.
There is still debate about whether to do something like the beforeevicted event or provide a storage API for controlling eviction.  In gecko we strongly prefer something through the storage API and not an event like beforeevicted.

So we may defer to what the Storage API provides and the decision between that and beforeevicted.

I don't think there's any action for us here, it's all in-progress in the storage spec.


Option to use the JSON property names as the member names

A lot of people are requesting this, with a variety of different slightly weird reasons.

@schani Is there still no way to disable the automatic renaming of properties at all?  Or am I missing something?
I've spent many hours looking into this, and there's heaps of other issues asking for it... is there at least some dodgy hack I can do to disable the renaming of properties?
Right now I'm:

Using quicktype-core in my Node app
passing in sample JSON files
outputting Rust structs

Here's my code so far:
const jsonInput = jsonInputForTargetLanguage('rust');
await jsonInput.addSource({
    name: 'MainStructName',
    samples: json_samples,
});

const inputData = new InputData();
inputData.addInput(jsonInput);

const result = await quicktype({
    inputData,
    lang: 'rust',
    inferDateTimes: false,
    alphabetizeProperties: true,
    inferEnums: false,
    rendererOptions: {},
});

Although I'm keen to figure this out for any output language, not just Rust.
Looking through some of the source code, I can see stuff such as:
protected namerForObjectProperty(): Namer | null;

...the | null implies it can be disabled?  And the fact that it's a property implies that these are pluggable and maybe I can supply my own naming function?
But I can't figure out how to actually do it.
Is it possible at all?

Most other similar apps have a toggle for PascalCasing. Being able to disable the renaming completely or toggle it would be awesome.


Run button not visible in the Query editor

As you can see the run button in the query editor is not visible by default.

After editing the editor height and adding a margin to the run button seems to work.

Let me know if this issue needs a PR.

Yes, can you work on it if you want.
I assign this issue to you :).
Thank you

Resolved in #15


Issue/19

Add formatting option to always display value labels. (by default labels are only shown on hover)

@eric-kimbrel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fix and improve probes

Fix probes when Qdrant is served over TLS
This also improves the integration test runtime and reliability by not installing a fresh cluster for every test but upgrading it with the new config.
Fixes https://github.com/qdrant/qdrant-helm/issues/77
Fixes https://github.com/qdrant/qdrant-helm/issues/80

Deactivate liveness and startup probes by default
Since these probes restart the pod on failure, they can disrupt the health of the Qdrant cluster unnecessarily and cause more problems then actually help. Having a readinessProbe is usually enough.
Fixes https://github.com/qdrant/qdrant-helm/issues/81

I moved from the python client to curl, so that I can properly configure CA certificates, timeouts and retries.


chore: now using aws-sdk-wrap

Pull Request Test Coverage Report for Build 52

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

Totals

Change from base Build 50:
0.0%

Covered Lines:
48

Relevant Lines:
48

💛  - Coveralls

Pull Request Test Coverage Report for Build 52

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

Totals

Change from base Build 50:
0.0%

Covered Lines:
48

Relevant Lines:
48

💛  - Coveralls


feat(cli): add "gas tag" command to list tags

Pull Request Test Coverage Report for Build 874145751

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.745%

Totals

Change from base Build 871216648:
0.0%

Covered Lines:
4248

Relevant Lines:
5261

💛  - Coveralls


Failed Set Href and Src

I I found that the template inside href and src is not rendered as it should be. So i test it in another attibute like class and id the result is works like a charm.
I'm using Hugo so i have t wrap the mustache tempate with another curly braces,  here is my example code

The question is how to make the template woking inside href and src?

mustache.js treats everything as text, in other words it doesn't have a recollection of different HTML attributes and how to treat them differently from others.
Would you mind providing an example of what gets rendered and what you expect? Maybe we can help you with some thoughts of what seems to be happening..

I expect the mustache template render the value as it should be, from the example above mustache failed to render the value inside href and src, but and as you say after some trial I found that there is no recollection on HTML attributes.
I finaly realize in Hugo (href and src)  I have to wrap the mustache in weird way than usualy. In case
someone have the same experience (using Hugo and Mustache) here's the workaround
{{ safeHTML "" }}

@phillipj  thank you for answering my question.


bump tree-widget to core rc

bump tree-widget to core rc, try to publish new pre-release under itwin scope

@calebmshafer lets talk 3.0 vcr pipelines/publishing tomorrow

@calebmshafer lets talk 3.0 vcr pipelines/publishing tomorrow

@aruniverse sounds good. I've been debating if we want to somehow try and have both the 2.x and 3.x versions live side-by-side. That way we don't need to create a release branch in order to release the older versions. What do you think about doing that? The hardest part will probably be to get dependencies to behave correctly.


resize_image_with_pad is not available as described in documentation

System information

TensorFlow version: 2.0.0-alpha
Doc Link: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/image/resize_image_with_pad

Describe the documentation issue
This is not available in 2.0.0 it is renamed as tf.image.resize_with_pad

i am not getting what the real issue is?

Just to clarify. This is an issue as the documentation is not updated in accordance to the renaming in TF2.0
>>> import tensorflow as tf
>>> tf.__version__
'2.0.0-alpha0'
>>> tf.image.resize_image_with_pad
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'tensorflow._api.v2.image' has no attribute 'resize_image_with_pad'
>>> tf.image.resize_with_pad
<function resize_image_with_pad_v2 at 0x7f9cb26b86a8>

@drpngx does we rename the op in purpose?
https://github.com/tensorflow/tensorflow/blob/b244682665372a4e5aaf16b13a54d1dba2613c57/tensorflow/python/ops/image_ops_impl.py#L1370-L1371

I think @meyerjo is right, the symbol is exported as tf.image.resize_with_pad in 2.0 and not resize_image_with_pad, which is v1, so the published doc is incorrect.
It is just a matter of re-running the docs generation and uploading the new version.
You can check what docs would be generated with:
bazel-bin/third_party/tensorflow/tools/docs/generate2 --output_dir=/tmp/tf2_docs_preview

I ran that locally and it produces the right docs. I'm leaving that issue open until we update the site.

It looks like this has been fixed.


Sub task resource updated as per comments from OCP profile validation

Internal review process to be followed and closing this


Package dep misspelling?

aplha vs alpha
https://github.com/facebook/jest/blob/master/packages/jest-cli/package.json#L10
It's spelled the same way in a few other files, not sure if intentional.

npm info istanbul-api. They have the typo in their version, lol.

Uuuf! Ah well, all's good then 😬


[BUG] ECONNRESET during retrieving campaign not handled

Describe the bug
ECONNRESET during retrieving campaign not handled:
11:58:26 info: Retrieving: campaign
(node:27896) UnhandledPromiseRejectionWarning: Error: Error: read ECONNRESET
at C:\Users\joern.berkefeld\AppData\Roaming\npm\node_modules\mcdev\lib\metadataTypes\Campaign.js:25:27
at Campaign. (C:\Users\joern.berkefeld\AppData\Roaming\npm\node_modules\mcdev\node_modules\sfmc-fuelsdk-node\lib\objects\Campaign.js:53:4)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
To Reproduce
Steps to reproduce the behavior:

start retrieving campaigns
cut your network connection in between
See error

Expected behavior
It should keep retrying
Screenshots

Versions:

mcdev (mcdev --version): 3.1.0
npm (npm --version): 7.8.0
node (node --version): 14.16.0
Operating system (Windows/Mac): win10

done by replacing logic with new SDK code


Singularity: ECS bindings (layer with ECS sound playback system)

Depends on https://github.com/tweakoz/orkid/issues/102


Add security features to a global INI config

Can you elaborate more on this?

We should be able to disable pointer encryption and such for debugging purposes.

IMO this should be a compile option, not an ini setting. Users shouldn't be able to disable the security measures in an official release of mkw-sp.


feat: add migration_table name option

Add migration_table option to enable sharing a database among multiple apps/clients. It is the responsibility of the user to ensure database permissions for the database role performing the migration is not able affect other co-hosted apps/clients done in separate migration "partitions".

fixes #1835, fixes #1698, fixes #1356, fixes #946

Tested locally with sqlite by cargo install the cli with --git flag for this branch.

Does this seem like a reasonable approach to quickly satisfy the needs outlined in the use cases before I do more things like add tests?
If more migration options, or some more refactoring is needed later, it may be warranted to look at refactoring the relationship between the migration and the database connection. They seem too tightly bound when the database connection is required to know about the migration table, _sqlx_migrations, when it may be more reasonable to just have a function to ask if a table exists, select from it, etc. -- currently the migration table name is hard-coded in every database connection implementation, e.g., postgres:
https://github.com/launchbadge/sqlx/blob/d0fbe7feff4b3a200cf0453417d5e53bd011643a/sqlx-postgres/src/migrate.rs#L90-L111

Hey @kriswuollett any updates on this? I would like to see this merged too.

@abonander, are you willing to work with an externally contributed PR to implement a migration table name option? I assume I'd need to add in schema/table name validation for the new option. Is there some other approach that would be preferred to the rather direct way I implemented the PR?

+1 @abonander is there any interest on getting @kriswuollett's change reviewed and merged, or potentially helping define what you'd prefer to see? Or is this a non-priority at the moment for launchbadge (which is fine too)?

@kriswuollett I'm so sorry. Once a PR gets pushed onto the second page I tend to forget about it.
I'm inclined to say that this should be a property that's specified at the crate level since that seems to be the most common use-case. --migration-table/.set_migration_table() seems like it'd be too easy to forget.
I'm thinking maybe we have a configuration file that lives in the migrations directory itself which both sqlx-cli and migrate!() can read automatically.
I'm thinking one of a few options (both dotfiles so they're sorted separately from migrations):

migrations/.table_name

Simple text file containing just the table name
Fast to read in migrate!() (important since proc macros compile in debug mode by default)

migrations/.config.toml

Extensible
More complex to parse

sqlx.toml (at the crate root)

A single, global configuration file per crate
Already planning on adding this to configure the query macros

I think I'm kinda leaning towards sqlx.toml but migrations/.table_name would be really quick to add.
What would work best for you?

I'd be in favour of sqlx.toml

Closing to clear out the PR queue. If you have time to come back to this, please address my previous comment.


Error: contextual type for closure argument list accepts 3 arguments,but 2 were specified

Hi,
I have constantly been having this issue inspite of several attempts.
Thanks,

Having the same problem after updating from 0.18.1. The function signature in 0.19.0 + has changed


Automatic AutoComplete.

Hello , i am active user of chrome dev editor , so far its really great help , love to work in it. but 1 thing that i am missing is automatic autocomplete. hope it will come soon as it is the besic requirement now a days for any dev ide or even editor. i am seeing great future for CDE. thank you.

Hey @ussuri , What's the status of auto completion? For me, ctrl + space is not working too.


Use a subset of machines for ios tests.

There is a subset of machines that are failing ios tasks less frequently
than all the others. We are updating configurations to run iOS tasks
only on those machines.
Bug:
https://github.com/flutter/flutter/issues/61267

I don't really know what's up with the older mac minis and how it could be causing app crashes on the simulator... I don't think we really have a good handle on the underlying cause of the test failures.
However, whatever the infra team wants to do here is fine with me.
LGTM once @christopherfujino is happy with the code.

If this change reduces the number of flakes then we'll know for sure is something related to the machines in 1808 and we can focus on finding which provisioning difference is affecting the ios tasks.


Speech throwing DistributionNotFound error

OS
MacOS Sierra
Python
Python 2.7.11
pip freeze
appdirs==1.4.2
dill==0.2.6
enum34==1.1.6
future==0.16.0
futures==3.0.5
gapic-google-cloud-speech-v1beta1==0.15.2
google-auth==0.8.0
google-auth-httplib2==0.0.2
google-cloud-core==0.23.1
google-cloud-speech==0.23.0
google-gax==0.15.7
googleapis-common-protos==1.5.2
grpcio==1.1.3
httplib2==0.10.3
oauth2client==3.0.0
packaging==16.8
ply==3.8
proto-google-cloud-speech-v1beta1==0.15.1
protobuf==3.2.0
pyasn1==0.2.3
pyasn1-modules==0.0.8
pyparsing==2.1.10
rsa==3.4.2
six==1.10.0

Stacktrace
$ python quickstart.py
Traceback (most recent call last):
  File "quickstart.py", line 53, in <module>
    run_quickstart()
  File "quickstart.py", line 45, in run_quickstart
    alternatives = speech_client.speech_api.sync_recognize(audio_sample)
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/google/cloud/speech/client.py", line 108, in speech_api
    self._speech_api = GAPICSpeechAPI(self)
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/google/cloud/speech/_gax.py", line 52, in __init__
    lib_version=__version__,
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/google/cloud/gapic/speech/v1beta1/speech_client.py", line 156, in __init__
    app_version=app_version)
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/google/gapic/longrunning/operations_client.py", line 155, in __init__
    'gapic-google-longrunning-v1', ).version
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 552, in get_distribution
    dist = get_provider(dist)
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 426, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/private/tmp/speech/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gapic-google-longrunning-v1' distribution was not found and is required by the application

Steps to reproduce
# Setup new environment
mkdir /tmp/speech && cd /tmp/speech
virtualenv venv && source venv/bin/activate

# Install cloud speech
pip install google-cloud-speech==0.23.0

# Get example script and audio resource from GoogleCloudPlatform/python-docs-samples
curl https://raw.githubusercontent.com/GoogleCloudPlatform/python-docs-samples/master/speech/cloud-client/quickstart.py > quickstart.py
mkdir resources && curl https://github.com/GoogleCloudPlatform/python-docs-samples/raw/master/speech/cloud-client/resources/audio.raw > resources/audio.raw

# Run the script
python quickstart.py

It definitely doesn't exist: https://pypi.python.org/pypi/gapic-google-longrunning-v1
This package does: https://pypi.python.org/pypi/gapic-google-longrunning
Now this error is in google-gax?
/cc @lukesneeringer

https://github.com/googleapis/gax-python/issues/170

Fixing. That is an autogen problem.

Will be fixed as soon as https://github.com/googleapis/gax-python/issues/171 is approved and passes CI (if either of you want to give it a once-over, I would appreciate it).

I also added googleapis/gax-python#172 so that we fix our automated testing to catch this sort of thing.

@lukesneeringer is there a workaround while the PRs are in flight?

@frankyn I actually already pushed a google-gax==0.15.8 to PyPI (since I acknowledge that it is Saturday and the review process will be slow, and it broke an entire library).

Thanks @lukesneeringer !
I have a student stuck on this issue. Should the student be okay with running the following?
pip install --upgrade google-cloud-speech

I cannot remember for sure if --upgrade google-cloud-speech will implicitly update every dependency, and the gax version is still pinned at >= 0.15.6 right now.
You can try it. If it does not work, do the command I gave above.

Ah, I didn't see that. Thanks @lukesneeringer!

@jacobtomlinson Can you confirm that you are unblocked? If so, I will close this.

@lukesneeringer Yep! That's great thanks.


Added gdb tests in CI

[ ] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[x] If this PR is a work in progress, are you filing the PR as a draft?

Description: Added gdb tests inside CI and marked failing tests as xfail. Issue:1189

You have all gdb tests skipped ============================= 40 skipped in 0.84s ==============================.
It is likely because oneapi gdb environment variables are not transferred between steps. Try running setenv in the same step as running gdb tests

LGTM! Thank you!


Error when running Docker container

Hi, thanks for your amazing work, I am running into a bug and I would appreciate it if you could help me.
I recently bough an Intel Arc A770 16GB and I'm triying to run this container. I'm using Ubuntu 24.04 as my OS, I tried to install the dependencies and drivers but it seems that above the linux kernel version 6.5 intel-i915-dkms is already avaidable so I couldn't install it because it was throwing me with errors.
I have problems when triying to run the container, this is what i run in the terminal:
docker run --device /dev/dri -v /media/$USER/DOSTerabytes/software/LLMs/fastchat:/root/.cache/huggingface -v /media/$USER/DOSTerabytes/software/LLMs/fastchat/logs:/logs \
  -p 7860:7860 -p 8000:8000 ipex-llm-fastchat-docker:latest \
  --model-path /media/$USER/DOSTerabytes/software/LLMs/Models/Mistral-7B-Instruct-v0.2

And this is the output I'm getting:
/bin/start_fastchat.sh: line 1: $'\r': command not found
/bin/start_fastchat.sh: line 3: $'\r': command not found
: No such file or directorye 4: /opt/intel/oneapi/setvars.sh
/bin/start_fastchat.sh: line 5: $'\r': command not found
/bin/start_fastchat.sh: line 9: $'\r': command not found
/bin/start_fastchat.sh: line 12: $'\r': command not found
Model path: /media/kenny/DOSTerabytes/software/LLMs/Models/Mistral-7B-Instruct-v0.2
Model name: media/kenny/DOSTerabytes/software/LLMs/Models/Mistral-7B-Instruct-v0.2
Worker args: --model-path /media/kenny/DOSTerabytes/software/LLMs/Models/Mistral-7B-Instruct-v0.2
Enable web: true
Enable OpenAI API: true
/bin/start_fastchat.sh: line 19: $'\r': command not found
/bin/start_fastchat.sh: line 21: $'\r': command not found
/bin/start_fastchat.sh: line 22: $'\r': command not found
/bin/start_fastchat.sh: illegal option --
Invalid Option: -

Usage: source ipex-llm-init [-o] [--option]

ipex-llm-init is a tool to automatically configure and run the subcommand under
environment variables for accelerating IPEX-LLM.

Optional options:
    -h, --help                Display this help message and exit.
    -o, --gomp                Disable intel-openmp and use default openmp (i.e. gomp)
    -j, --jemalloc            Use jemalloc as allocator
    -t, --tcmalloc            Use tcmalloc as allocator
    -c, --disable-allocator   Use the system default allocator
    -g, --gpu                 Enable OneAPI and other settings for GPU support
    -d, --debug               Print all internal and exported variables (for debug)
/bin/start_fastchat.sh: line 24: $'\r': command not found
/bin/start_fastchat.sh: line 27: $'\r': command not found
/bin/start_fastchat.sh: line 30: $'\r': command not found
/bin/start_fastchat.sh: line 33: $'\r': command not found
/bin/start_fastchat.sh: line 59: syntax error: unexpected end of file

Docker images show the correct image builded:
REPOSITORY                 TAG       IMAGE ID       CREATED             SIZE
ipex-llm-fastchat-docker   latest    11c76ec65eb4   About an hour ago   20.5GB

I've already tried with "mistralai/Mistral-7B-Instruct-v0.2", "TheBloke/mistral-7b-instruct-v0.2.Q6_K" and "llama3/Meta-Llama-3-8B-Instruct" but neither of those are working for me, is always the same error.
Should I try Ubuntu 22.04? If you could help me I would appreciate it

That's really weird - it's as though startup.sh has been converted to Windows-style line endings. Could you do me a favour and post the output of file startup.sh?
Then run dos2unix startup.sh and file startup.sh again (you might need to sudo apt install dos2unix first, if you don't already have it).

Output of startup.sh is startup.sh: ASCII text, with CRLF line terminators.
As I have a dual boot for Windows and Ubuntu I download your repository with Windows and maybe that was the cause of the problem.
I re-cloned the repository again from a fresh Ubuntu 22.04 and the output is startup.sh: ASCII text. Now it seems fine so I rebuiled the Docker Image and I thought this time was going to work but maybe I do have some problems with the paths? Or maybe I don't understand how fastchat paths work because when I run the following command I get the same output always:
docker run --device /dev/dri -v /media/$USER/DOSTerabytes/software/LLMs/Models:/root/.cache/huggingface -v /media/$USER/DOSTerabytes/software/LLMs/fastchat/ipex-llm-fastchat-docker/logs:/logs \
  -p 7860:7860 -p 8000:8000 ipex-llm-fastchat-docker:latest \
  --model-path mistralai/Mistral-7B-Instruct-v0.2

I get the following output and the last lines are always the same ones:
:: WARNING: setvars.sh has already been run. Skipping re-execution.
   To force a re-execution of setvars.sh, use the '--force' option.
   Using '--force' can result in excessive use of your environment variables.

usage: source setvars.sh [--force] [--config=file] [--help] [...]
  --force        Force setvars.sh to re-run, doing so may overload environment.
  --config=file  Customize env vars using a setvars.sh configuration file.
  --help         Display this help message and exit.
  ...            Additional args are passed to individual env/vars.sh scripts
                 and should follow this script's arguments.

  Some POSIX shells do not accept command-line options. In that case, you can pass
  command-line options via the SETVARS_ARGS environment variable. For example:

  $ SETVARS_ARGS="ia32 --config=config.txt" ; export SETVARS_ARGS
  $ . path/to/setvars.sh

  The SETVARS_ARGS environment variable is cleared on exiting setvars.sh.

Model path: mistralai/Mistral-7B-Instruct-v0.2
Model name: Mistral-7B-Instruct-v0.2
Worker args: --model-path mistralai/Mistral-7B-Instruct-v0.2
Enable web: true
Enable OpenAI API: true
2024-04-30 01:29:56 | INFO | controller | args: Namespace(host='<IP_ADDRESS>', port=21001, dispatch_method='shortest_queue', ssl=False)
2024-04-30 01:29:56 | ERROR | stderr | INFO:     Started server process [30]
2024-04-30 01:29:56 | ERROR | stderr | INFO:     Waiting for application startup.
2024-04-30 01:29:56 | ERROR | stderr | INFO:     Application startup complete.
2024-04-30 01:29:56 | ERROR | stderr | INFO:     Uvicorn running on http://<IP_ADDRESS>:21001 (Press CTRL+C to quit)
/usr/local/lib/python3.11/dist-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
2024-04-30 01:29:59,827 - INFO - intel_extension_for_pytorch auto imported
found intel-openmp in /usr/local/lib/libiomp5.so
found jemalloc in /usr/local/lib/python3.11/dist-packages/ipex_llm/libs/libjemalloc.so
found oneapi in /opt/intel/oneapi/setvars.sh

:: WARNING: setvars.sh has already been run. Skipping re-execution.
   To force a re-execution of setvars.sh, use the '--force' option.
   Using '--force' can result in excessive use of your environment variables.

usage: source setvars.sh [--force] [--config=file] [--help] [...]
  --force        Force setvars.sh to re-run, doing so may overload environment.
  --config=file  Customize env vars using a setvars.sh configuration file.
  --help         Display this help message and exit.
  ...            Additional args are passed to individual env/vars.sh scripts
                 and should follow this script's arguments.

  Some POSIX shells do not accept command-line options. In that case, you can pass
  command-line options via the SETVARS_ARGS environment variable. For example:

  $ SETVARS_ARGS="ia32 --config=config.txt" ; export SETVARS_ARGS
  $ . path/to/setvars.sh

  The SETVARS_ARGS environment variable is cleared on exiting setvars.sh.

+++++ Env Variables +++++
LD_PRELOAD            = /usr/local/lib/libiomp5.so /usr/local/lib/python3.11/dist-packages/ipex_llm/libs/libjemalloc.so
OMP_NUM_THREADS       = 6
MALLOC_CONF           = oversize_threshold:1,background_thread:false,metadata_thp:always,dirty_decay_ms:-1,muzzy_decay_ms:-1
USE_XETLA             = OFF
ENABLE_SDP_FUSION     = 1
SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS = 1
+++++++++++++++++++++++++
Complete.
2024-04-30 01:30:01 | INFO | stdout | INFO:     <IP_ADDRESS>:59650 - "POST /refresh_all_workers HTTP/1.1" 200 OK
2024-04-30 01:30:01 | INFO | stdout | INFO:     <IP_ADDRESS>:59660 - "POST /list_models HTTP/1.1" 200 OK
2024-04-30 01:30:01 | INFO | stdout | INFO:     <IP_ADDRESS>:59670 - "POST /get_worker_address HTTP/1.1" 200 OK
/usr/local/lib/python3.11/dist-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
Waiting for model...
2024-04-30 01:30:03,800 - INFO - intel_extension_for_pytorch auto imported
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.11/dist-packages/ipex_llm/serving/fastchat/vllm_worker.py", line 33, in <module>
    from ipex_llm.vllm.engine import IPEXLLMAsyncLLMEngine as AsyncLLMEngine
  File "/usr/local/lib/python3.11/dist-packages/ipex_llm/vllm/engine/__init__.py", line 16, in <module>
    from .engine import IPEXLLMAsyncLLMEngine, IPEXLLMLLMEngine, IPEXLLMClass
  File "/usr/local/lib/python3.11/dist-packages/ipex_llm/vllm/engine/engine.py", line 18, in <module>
    from vllm.engine.llm_engine import LLMEngine
ModuleNotFoundError: No module named 'vllm'
2024-04-30 01:30:06 | INFO | stdout | INFO:     <IP_ADDRESS>:40914 - "POST /refresh_all_workers HTTP/1.1" 200 OK
2024-04-30 01:30:06 | INFO | stdout | INFO:     <IP_ADDRESS>:40928 - "POST /list_models HTTP/1.1" 200 OK
2024-04-30 01:30:06 | INFO | stdout | INFO:     <IP_ADDRESS>:40938 - "POST /get_worker_address HTTP/1.1" 200 OK
Waiting for model...
2024-04-30 01:30:11 | INFO | stdout | INFO:     <IP_ADDRESS>:40954 - "POST /refresh_all_workers HTTP/1.1" 200 OK
2024-04-30 01:30:11 | INFO | stdout | INFO:     <IP_ADDRESS>:40960 - "POST /list_models HTTP/1.1" 200 OK
2024-04-30 01:30:11 | INFO | stdout | INFO:     <IP_ADDRESS>:40964 - "POST /get_worker_address HTTP/1.1" 200 OK
Waiting for model...

Last lines are always Waiting for model. I used git and git-lfs to download the model. The contents of my folders are the followings:
kenny@pc-ubuntu:/media/kenny/DOSTerabytes/software/LLMs/Models$ ls
hub  meta-llama  mistralai  TheBloke
kenny@pc-ubuntu-ubuntu:/media/kenny/DOSTerabytes/software/LLMs/Models$ ls mistralai/Mistral-7B-Instruct-v0.2/
config.json             model-00001-of-00003.safetensors  model-00003-of-00003.safetensors  pytorch_model-00001-of-00003.bin  pytorch_model-00003-of-00003.bin  README.md                tokenizer_config.json  tokenizer.model
generation_config.json  model-00002-of-00003.safetensors  model.safetensors.index.json      pytorch_model-00002-of-00003.bin  pytorch_model.bin.index.json      special_tokens_map.json  tokenizer.json

Should it be different? Or can you tell me how do you download the models and in which paths do you store them?

@Hylosium - I'm seeing the exact same problem, it looks like Intel have broken something with their snapshot image updates. I'll investigate and get back to you.

@digitalscream Oh okey, I'll wait. Thank you so much :)

Hi, @Hylosium - it seems it's not just something broken, they've actually completely changed the structure. You might be better off having a look at the Docker images they provide (eg here: https://github.com/intel-analytics/ipex-llm/tree/main/docker/llm/serving/xpu/docker) to see if you can make it work.
I won't be updating this one, I'm afraid - Intel's break-everything approach to software development means I spend too much time fixing stuff and not enough actually using it. Also, they've ruined the performance with a recent update and broken the fan curves with recent firmware updates which make the cards unusable in Linux, so I don't really have a choice but to get rid of my Arc cards.

Oh, what a shame from Intel. Thanks for the information, I'll try to have a look up on it. Do you know any other projects or an easy way to put an Intel Arc to work on LLMs? I bought the Arc especially for this 😂
Thank you for your time, and after your reply I think we can close the issue.

Yeah, I bought two of them for this.
The easiest way, I think, is to run Ollama. If you look at the ipex_ollama branch in this repo, you'll find a Docker image that I was experimenting with. It gets about 30 tokens/s with Llama 3, which isn't great (although it's still usable). It's certainly a lot less fiddly than using vLLM, and you can easily add open-webui as a second container to talk to it and provide access via a browser. Happy to keep this issue open if you need any help getting that up and running.


Make language tags use case-insensitive comparison and hashing

Hi!
While toying with the library, I noticed that the comparison of language tags was case-sensitive. According to the RDF Concepts and Abstract Syntax, language tags are defined in BCP47, which states:

All comparisons MUST be performed in a case-insensitive manner.

This can be found in the W3C RDF/XML syntax examples: example08.rdf has en-US  while example08.nt has en-us where both are supposed to be equal.
This PR fixes PartialEq, but also Hash, to make comparison and hashing of LiteralKind case-insensitive. (*About the to_lowercase call: this one allocates, while it could be possible to loop over all characters of the tag1 and hash their lowercase variant without allocating, but since language tags are extremely small strings I am not sure this would really be an improvement over allocating and hashing the buffered bytes directly).

Well spotted, thanks.
The funny thing is: I have been specifically working, in another context, on language-tagged literals and BCP47 in the last few days... but this bug in Sophia didn't even occur to me then! :-)
Thanks again.


[DOCS] Fix documentation for Python's recentProgress & lastProgress

What changes were proposed in this pull request?
This small PR fixes incorrect documentation in Structured Streaming Guide where Python's  recentProgress & lastProgress where shown as functions although they are properties, so if they are called as functions it generates error:
>>> query.lastProgress()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'dict' object is not callable

Why are the changes needed?
The documentation was erroneous, and needs to be fixed to avoid confusion by readers
Does this PR introduce any user-facing change?
yes, it's a fix of the documentation
How was this patch tested?
Not necessary

Can one of the admins verify this patch?

ok to test

Merged to master, branch-3.2, branch-3.1 and branch-3.0.
cc @HeartSaVioR FYI


Remove checked-in Git info: get during build

Fixes https://github.com/dotnet/source-build/issues/385.
The generated files go into bin/git-info/{repo}.props, and that git-info dir gets copied into the tarball at the root. The props files are used in the main build and tarball build to keep them as similar as possible, rather than only generating them for the tarball build.

https://ci.dot.net/job/dotnet_source-build/job/dev_release_2.1/job/RHEL7.2_Unshared_Release_prtest/162/
Timed out after 4 hours. 😨 Retrying in case it's flaky...
@dotnet-bot test RHEL7.2 Unshared Release
https://ci.dot.net/job/dotnet_source-build/job/dev_release_2.1/job/Ubuntu16.04_Release_prtest/192/
Failed due to a chmod attempt during CLI, running a repro job to see if I can catch something. If the repro job has no failure, I won't block on this leg.

Unshared tarball build only took ~2 hours this time, and the repro job didn't hit any issues. Merging.


Add test engine to manage snapshot verification testing

Test engine manages the test and metadata repositories, snapshot
checker, metadata storage persistence, and file writer. It is
the high level helper that will be invoked in the snapshot
verification testing suite.

modify data directory file structure
issue snapshot/restore/delete to the data directory
accumulate metadata over the course of the test suite
flush accumulated metadata to the metadata repository
load historical metadata from the repository on initialization
perform automatic data integrity verification on snap restore

Note: this PR will the last of a series that will eventually converge to https://github.com/kopia/kopia/compare/master...kastenhq:test-engine . See that comparison for the full context of how and where this change will be used.
Complementary PRs:

#40 - Comparer interface [fswalker] for data integrity verification
#41 - Snapshotter interface [kopia] for issuing snapshots to repository
#43 - Storer and DataPersister [kopia] interfaces for managing and persisting snapshot integrity metadata
#44 - Checker that manages the interaction of the above interfaces for taking/restoring snapshots
#45 - (This PR) Engine that manages metadata persistence, file writing [fio], repository connection/creation, and is the high-level tool that will be invoked to manage and run robustness testing.

Still TODO:

Fix this issue for CI (needs S3_BUCKET_NAME env or skip test, or else will always fail).
File writer interface
File writer diversity (adding directory writing, better helpers etc)
Integrating engine tests into CI
Writing robustness test suite

As noted above, this PR is expected to fail in the current CI environment. Will fix it on Monday.

Overall, LGTM.
It'd be good to have a high-level walkthrough, it can be offline.


[Unity] - Save locally if internet connection is not available

Hey,
Is there a way to save locally in Unity on Android/iOS if internet connection is poor/missing?
I see there's 'SaveEventually' API on some other SDKs.
Regards,

If you're talking about having a local datastore for pending changes that could be interesting...Have a way to delay save ops and submit them later upon reconnect. For now closing this out as there hasn't been any interest in this. If this is still something you're interested in let us know and we can open this up with a little discussion.


New ripper request: rektcelebs

It'd be nice to rip a whole celeb directory eg: https://rektcelebs.com/jennifer-lawrence-nude

Please wait for you request, since you already commented in https://github.com/RipMeApp/ripme/issues/38#issuecomment-531990788 .@cyian-1756 Please close this


Cant Update Scripts or Factory Reset

Hello,
I have found an issue where I've accidentally removed the Mesh WiFi Band from the hub node when I attempted to change the name of the SSID for the 5ghz band only to differentiate it from the 2.4 GHz band I am attempting to factory reset the hub node to correct this issue. However, when I attempt to reset the hub node, I get this issue:
Do " /root/script/updatefirmware.sh " on each node
c-24-13-168-1.h:
foreachnodeparellel: still jobs
ssh: Could not resolve hostname c-24-13-168-1.h: Name does not resolve
foreachnodeparellel: done!
This same error "Name does not resolve" occurs for attempting to update the scripts from Github and update the firmware from Dropbox. Could you provide any assistance? Thanks so much.

Huh, it must be something about the hostname you chose, c-24-13-168-1.h
You can also factory reset the nice manually by holding the reset button on it for 5+ seconds, while the node is on.

Thank you so much! Very glad the ability to factory reset using the device was there. I just purchased a second Belkin RT3200 from you to use as a mesh router extension point.

There are actually one 2.4 ghz and two 5 ghz bands on a triband device. You can change the names of each on this page
http://<IP_ADDRESS>/cgi-bin/luci/admin/network/wireless#
or Network / Wireless in the top menu. Just click Edit on any of the interfaces that are mode:Master, not the Mesh Point interface. In the pop up dialog, edit the ESSID name and then save and then apply.

Strange, that is what I did earlier and it caused the entire 5ghz radio to deactivate. Could it be a bug? Then when I renamed the 5ghz band the Mesh band completely disappeared. I'll have to retry at a later point to see if it was user error on my end. Thanks Dr. Haas.


fix publish of COM manifest files and don't publish CopyLocal=false files

PR #3732 introduced some code to filter native assemblies of the collection of managed input assemblies to the ResolveManifestFiles task. There are cases where registration-free COM manifests are included in the input here and those got accidentally filtered out, so we need to ensure that we only filter actual dlls.
Furthermore we identified some edge cases where there were files included in the ClickOnce manifest that had CopyLocal set to false, so we have to ensure to filter those out before we resolve the references.

@dotnet-bot test this please


Eliminate undefined behavior where we call next on a past-the-end iterator

Speculative fix for rdar://90735823.

@swift-ci please smoke test


[CCCheck] Add an ability to specify db name and parallel connection to the cache

This is a superset of the #80.

Updated the solution.

I thoght a bit more about proposed (and applied) change and I don't think they're good. Original implementation was robust in terms of unobserved exceptions and new one is not. I know that default behavior has been changed and application will not crash by default, but unobserved exceptions should be avoided even if the code would be slightly more complicated.
I will simplify my original cide and push another update.

Original implementation was robust in terms of unobserved exceptions and new one is not.

The new implementation is just as robust as the original in terms of unobserved exceptions. Unless we're planning on actually doing something in the event of an exception (previously we weren't), I think we should stick with the code which is much more succinct.

New implementation is not robust:)
Let suppose following situation: this method starts 3 asynchronous operations. First of them will finished first and finished successfully.
In my original implementation all continuations for all other tasks still would be called and exceptions would be observed.
In the new implementation, in this case method CreateCacheAccessorAsync will return the result as soon as the first task completes. But due to Task.WhenAny implementation details other running task's exceptions would not be observed!. I.e. if second or third task will fail when the first one will succeeds Task.UnobservedException would be raised.
And, as I mentioned for couple of times, the behavior for unobserved tasks has been changed in .NET 4.5 but generally speaking it should be avoided if possible.

I.e. if second or third task will fail when the first one will succeeds Task.UnobservedException would be raised.

Actually, regardless of which one fails you'll get a Task.UnobservedException. This is due to the fact that my code checked the task status instead of the Exception property.
But, this is also the desired behavior because our code is not handling these exceptions. In theory we could log them somewhere, but if we just let them be reported through UnobservedException we get more consistent overall behavior (e.g. attach a listener to that event if you want to log the exceptions).

@sharwell I don't think that this is a desired behavior.
And I don't think we should add anything into CreataAndCheckAsync. Just because it will violate SRP. Factory method is unaware about high level exception policy, but CreateCacheAccessorAsync is aware that we would like to start something in parallel and ignore the rest of the world if we connect to first cache.
The question is: do we really want to switch from one solution that avoids unobserved exceptions to another one that allows them? I intentionally used more complex solution to avoid this issue because for me it is important not to introduce such kind of issues to the codebase.

Following further discussion in Gitter, the summary of my view is the following:
I'm not opposed to avoiding the UnobservedException, but I don't think we should make CreateCacheAccessorAsync more complex for that purpose. To avoid the UnobservedException with no other behavior change (because the current behavior is actually correct, it just has the possibility of an undesired unobserved exception), an approach like the ObserveExceptions method from Rackspace.Threading could be used in the CreateAndCheckAsync method to ensure the task returned by CreateAndCheckAsync never results in an unobserved exception.

Updated the PR. Added exception observation.
But, as I mentioned in chat: CreateAndCheckAsync should not observe potential exceptions from the task it provides. This is a responsibility of the client of this method. So I've added ObservePotentialException method to the CreateCacheAccessorAsync that does not complicates the main logic.

:+1: