Can't use AUTH_TYPE.AMAZON_COGNITO_USER_POOLS in config - window is not defined

I know there was this issue awhile back.. but I can't use the following in my config..
import { Auth } from 'aws-amplify'
import { AUTH_TYPE } from 'aws-appsync/lib/link/auth-link'

export default {
  url: 'https://xxxxxxxxxxxxxxxxxxxxxxxxx-api.us-east-1.amazonaws.com/graphql',
  region: 'us-east-1',
  auth: {
    // Amazon Cognito user pools using AWS Amplify
    type: AUTH_TYPE.AMAZON_COGNITO_USER_POOLS,
    jwtToken: async () =>
      (await Auth.currentSession()).getIdToken().getJwtToken(),
  },
}

It gives the following error: UnhandledPromiseRejectionWarning: ReferenceError: window is not defined

Look's like the error has been addressed here: https://github.com/aws/aws-amplify/issues/882 Is there nothing we can do until this bug is fixed?

Did a little research and it look's like some updates to aws-amplify haven't been pushed yet to a new version.
Did  yarn upgrade<EMAIL_ADDRESS>and it seemed to fix the window error.

@lolcoolkat ver interesting, thanks for pointing this out. I'll check into this and see what we can do :)

Btw @dabit3 doing the following doesn't work on the server with SSR...
Auth.currentSession()).getIdToken().getJwtToken()

So instead of using that function.. I figured i'll just get the accessToken I need manually and pass that directly to  the AWSAppSyncClient..
First thing that needs to change is in the AWS Amplify config adding the cookieStorage settings like so:
cookieStorage: {
   domain: 'localhost', //or whatever domain
   path: '/',
   expires: 365,
    secure: false,
 }

We need to extract the accessToken from the cookies..and pass that to the AppSync client. I'm using the following function to extract it out..
export function getValueFromKey(req, string) {
  const cookies = parseCookies(req)
  const key = Object.keys(cookies).filter(k => k.includes(string))
  return key.length ? cookies[key] : ''
}

and calling it like so:
 const apollo = initApollo(
        {},
        {
          ...config,
          getToken: () => getValueFromKey(req, 'accessToken'),
        },
      )

This solution seems to be working... but hopefully a solution by aws amplify for supporting SSR would be nice in the future.
I made an issue thread here awhile back before I explored this solution: https://github.com/aws/aws-amplify/issues/951

Ok @lolcoolkat I just checked on this and it seems to be an issue with the current implementation of AWS Amplify. This issue is already being tracked as a future enhancement and will be fixed in Amplify in the near future.
I'll leave this open to others looking to use this and possibly use your workaround, and will update as soon as it's fixed in the main AWS Amplify SDK.
Thanks for pointing this out!

Did this get fixed?

wondering if this is fixed as well.

@dabit3 Is there a place where we can see tracking on this in Amplify?

These are some related issues in amplify-js
https://github.com/aws-amplify/amplify-js/issues/3201
https://github.com/aws-amplify/amplify-js/issues/2054
https://github.com/aws-amplify/amplify-js/issues/3015
I consider the lack of support for SSR in Amplify to be a terrible oversight. Particularly because SSR works for most of the components, so it lures you into a false sense of security -- but if Auth doesn't work properly, then the entire framework is useless. The worst part is that the error is silent, so I don't even know where to begin debugging the issue or offering a patch. If this is an issue for you, please be vocal on the amplify github issues section because they are responsive to feedback.


Invalid token

Hello, after successfully setting up the authentication and API keys, I get the following error:
/Users/username/Library/Application Support/Übersicht/widgets/calendar.widget/calendar.coffee: Error: Line 11: Unexpected token ILLEGAL while parsing file: /Users/username/Library/Application Support/Übersicht/widgets/calendar.widget/calendar.coffee

Hi James,
Do you have your calendar names on line 11?
On 24 Aug 2017 06:38, "James"<EMAIL_ADDRESS>wrote:

Hello, after successfully setting up the authentication and API keys, I
get the following error:
/Users/username/Library/Application Support/Übersicht/widgets/
calendar.widget/calendar.coffee: Error: Line 11: Unexpected token ILLEGAL
while parsing file: /Users/username/Library/Application
Support/Übersicht/widgets/calendar.widget/calendar.coffee
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/louixs/ubersicht_google_calendar/issues/7, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF25hBrFRoRSfhuAAT5YgEh4qYgDoklzks5sbJvugaJpZM4PAnt6
.

No, line 11 is GOOGLE_APP:"calendar"


Update to fastg-parser to v0.6.0

Coverage decreased (-1.7%) to 70.611% when pulling c8d508edc4783d147309e77212a11f9c0ad7b157 on hotfix/bump-fastg-to-0.6.0 into 128ebf5bb99940ab57ce637e98924ddcf0f55a6b on master.


Enum as storage need a default attribute otherwise front end not able to read for default value

Enum as storage need a default attribute otherwise front end not able to read for default value
Types of change

[x] Feature
[X] Bug
[x] Enhancement

Originally posted by @ngjupeng in https://github.com/Scaffold-Stark/scaffold-stark-2/pull/342

The content is unclear to me


Issue in testing file thorugh Hugging face platform

I am finding some issues with testing of attaching files - Split: "test", Eval mode: "sole-planning".
I have checked them with format_check.py before putting on Leaderboard and none of the files showed any errors/recommendations, as evident from following printed logs
Flights API loaded.
Accommodations loaded.
Restaurants loaded.
GoogleDistanceMatrix loaded.
Attractions loaded.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1000/1000 [13:54<00:00,  1.20it/s]
Can you please let me know, what are the errors in testing these files from the leaderboard's backend.
I tested files between 4:00-4:30 PM EDT on Oct-5.
I can resend the files as well through email.

Hi Nikhil
I have addressed this issue via email. Feel free to contact us if you have further questions:)


Cant give armor to specified slot

Im trying to give armor by its slot number (such as boots to slot 37), however it says that "The inventory didn't have enough space, the rest of the items have been placed on the floor"
http://old.mcmonkey.org/paste/47837
(im using the latest denizen developmental version)

As a counterpoint, "ex give diamond_sword quantity:1 slot:37" works fine for me on build 300.

I am specifically talking about armor, as seen by the debug the give command clearly works, it just for some reason detecting that the armor slot is full when its not

"ex give diamond_boots quantity:1 slot:37"

Ok, well something clearly changed between build 300 and build 315, but as of build 315 that does not work

If it is broken suddenly in a way it wasn't before, that needs fixing.
But also, equip command exists y'know https://one.denizenscript.com/denizen/cmds/equip

Does this still occur on the latest build?

Yes, issue occurs on latest:
[18:41:42 INFO]:  Starting InstantQueue 'EXCOMMAND_PondGordonNodes'...
[18:41:42 INFO]:  Queue 'EXCOMMAND_PondGordonNodes' Executing: GIVE "gold_boots" "q:1" "slot:37"
[18:41:42 INFO]: +- Executing dCommand: GIVE/p@Mergu ---------+
[18:41:42 INFO]: +> Executing 'GIVE': Type='ITEM'  inventory='in@player[holder=p@4f1e61de-6f0c-46aa-8c26-52354c4bd9cc]'  Quantity='1.0'
                   engrave='false'  unlimit_stack_size='false'  Items='[i@gold_boots]'  slot='37'
[18:41:42 INFO]:  The inventory didn't have enough space, the rest of the items have been placed on the floor.
[18:41:42 INFO]:  Completing queue 'EXCOMMAND_PondGordonNodes' in 20ms.

Equipment slots are not considered part of the inventory anymore.
Use the equip command.


sink(ticdc): add meta separator index path in storage sink

What problem does this PR solve?

Issue Number: ref #8890
What is changed and how it works?

move index file from <schema>/<table>/CDC{num}.index to <schema>/<table>/meta/CDC{num}.index.

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/test all

/test verify

/merge

/test all

/test verify

/test dm-integration-test


Add Google Analytics and Hotjar tags into curiousreader.org and DEV curiousreader

Ben: Generate GA and Hotjar tags.
Remove Google Tag Manager (? This might have been baked into the theme but I believe it is GDL's GTM).

@dz4va Slack'ing you the Hotjar and GA tags for prod.


update target of clear_tenant

Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

🚀 Thank you for your contribution! 🚀


Serving an entire directory

Would you be able to clarify how to serve up a directory (with subfolders and files of multiple types)? I'm currently using Telegraph and use the following (for brevity some code has been omitted):
var webServer = Server()
webServer.serveDirectory(directoryURLToServe)
try webServer.start(port: Constants.port, interface: Constants.host)
Any help would be appreciated!

@kiwifruituk did you get any solution ?


Maven conversion

In order to simplify development, converting the project to a Maven one could be good.
Work in progress here: https://github.com/guyou/Lipi/tree/feature-maven

Sorry I was busy with my semester finals. I will
try to look into these tommorow.


Optionally disable the 'next' control button

Relates to issue: https://github.com/leecade/react-native-swiper/issues/530
If something isn't in the right format just let me know, thanks!

Accidentally PR'd to my own forked repository, haha, I'm new to contributing to open source projects!


Link to original LMS help material in UI

Is there a way to navigate within Material Skin to the original LMS help docs, found at http://localhost:9000/home.html?page=help? This page leads to all kinds of interesting docs like these:
http://localhost:9000/html/docs/index.html
The default LMS UI had a "Help" link that leads to this content. If there is a link or menu item in Material Skin, I can't find it. (And if there isn't one, could it please be added?) Thank you very much.

Already there in Material's "Information" dialog - look for "LMS technical information" at the bottom.

Thank you! I missed it.


Enable usage of normal maps with Polygon2D

Godot version: 3.1 stable
OS/device including version: Not related, GLES3 backend
Issue description: The new 2D skeleton feature in 3.1 makes use of Polygon2Ds, as opposed to Sprites in the older "cutout skeleton" feature. However, one cannot currently assign normal maps to Polygon2Ds, making the feature less useful for projects making use of normal maps and 2D lighting.
It's not ideal to be unable to use latest animation features along with Godot's 2D lighting system.
Steps to reproduce: N/A
Minimal reproduction project: N/A

Hi! i can give it a try if this is wanted, and if its suitable for a junior contributor, and if someone points me out where to start. I've been reading polygon2d.cpp, sprite (to see how it's done there) and canvas_item.cpp.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.254

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.254


Adding @jeffwidman as collaborator on Pypi

@mgood Can you add me as a collaborator on Pypi and I can cut a new release?
Be nice to get the fix for #93 out the door

Assuming you go by jeffwidman on PyPI, you should have access now. Thanks for taking this on.

Yep, thanks! That was fast turnaround, afraid that I may not get to this until the weekend

Any idea when a new release will be made?
Cheers on the usefulness of this project!


C# Array support PropertyHint.Enum

Previously, only StringName was supported but not Array<StringName>, now it has been added.
    [Export(PropertyHint.Enum, "a,b,c")]
    public Godot.Collections.Array<StringName> Tests

Out of curiosity, is this feature supported in GDScript? I don't see it in the docs / can't find intuitively how to use it for an Array[String] or Array[StringName].

I don't think it is, beyond manually defining an appropriate PROPERTY_HINT_TYPE_STRING for a property using _get_property_list.

gds 3.5 export support Array[String] .
4.x ......

GDScript doesn't support this, but there's an open PR:

https://github.com/godotengine/godot/pull/72951.

It seems to support Array[int], Array[String] and Array[T] where T is an enum.
But it doesn't seem to support Array[StringName]. It may be an oversight, specially since String and StringName are pretty much interchangeable in GDScript, I'd expect both to be supported.
Personally, I think it'd be best to merge GDScript support first, and make the C# implementation sync with that. My biggest concern is to deviate too much from whatever GDScript ends up doing.

It seems to support Array[int], Array[String] and Array[T] where T is an enum.

I don't know how applicable this is to C#, but I'll mention it here for completeness. Array[Enum] in GDScript is not supported by the @export_enum annotation, it makes no sense and is confusing. Array[int] is for keys, Array[String] and Array[StringName] are for values. Array[Enum] is supported by the @export annotation, for which you don't need to list values as annotation arguments.

Thanks for the explanation! We don't have an [ExportEnum] attribute in C#, what we have is [Export] which is similar to the @export_custom annotation[^1], but when used without parameters it works like @export (no need to provide a list of values for enum arrays).
If/when we implement an [ExportEnum] attribute I assume it will work like @export_enum.
When [Export] is used with PropertyHint.Enum and an Array[Enum] property, I agree it can be confusing, but it just creates the PropertyInfo with the hint and hint_string as specified. So it's up to Core whether those hints work or not, we don't touch them[^2].
[^1]: Yet another unmerged GDScript PR about export annotations: https://github.com/godotengine/godot/pull/72912
[^2]: We do actually touch them a little bit, to format the hint_string as {ARRAY_ELEMENT_TYPE}/{PROVIDED_HINT}:{PROVIDED_HINT_STRING}.

Personally, I think it'd be best to merge GDScript support first, and make the C# implementation sync with that. My biggest concern is to deviate too much from whatever GDScript ends up doing.

So it looks like there are already deviations. [ExportEnum] does not exist, and [Export] doesn't work like @export but rather like a not-yet-implemented @export_custom or just manually crafted property definitions. So it seems to me that this PR doesn't make the situation worse and less in line than the situations already is.
What do you think @raulsntos @RedworkDE @neikeq, should we merge this now then?

I don't see how this can conflict with any future plans we may end up having, unless these plans break the behavior of the existing Array<string> support, in which case breaking the behavior of Array<StringName> as well doesn't make the change any bigger of a deal; so I would merge this.

Let's merge it then. Thanks!


Q: How can I hide the header?

Wanna hide "1 -1 - 2021". How can I do this? I have a specific use case for the calendar view only, I don't need the header. How can I do this. Is it possible via configuration settings?

Closing this issue:
Solved by setting dayTitleBuilder as a callback function that returns empty Text widget.


Add back "normal conditions" in some way?

I think this becomes more useful if people can actively report normal conditions rather than just clearing alerts. It becomes a tool that can reassure in addition to warm -- similar to how in the text group, people report "everything was fine."
Also, if someone first opens the app and conditions are normal, they're able to interact and do something, which probably increases their chances of future usage.
@radhikamalik what was your thought on removing this? did you disagree with having this at all, or did you just want to think it through a bit more?

Hmm, agree on the engagement part and that we need some way of reporting
all is ok. I think in its previous form it just needed a bit more thinking
through with its interaction with the all clear ninja, the all clear button
and what it means to have a reported incident and a reported all ok both at
the same time. I would not be opposed to putting it back in if we think
through it a little.
On Monday, February 23, 2015, Geoffrey Litt<EMAIL_ADDRESS>wrote:

I think this becomes more useful if people can actively report normal
conditions rather than just clearing alerts. It becomes a tool that can
reassure in addition to warm -- similar to how in the text group, people
report "everything was fine."
Also, if someone first opens the app and conditions are normal, they're
able to interact and do something, which probably increases their chances
of future usage.
@radhikamalik https://github.com/radhikamalik what was your thought on
removing this? did you disagree with having this at all, or did you just
want to think it through a bit more?
—
Reply to this email directly or view it on GitHub
https://github.com/davidlago/mbta-ninja/issues/35.

I'm adding this back in and adding a separate issue to resolve interactions with other elements.

#38 opened as follow up


Package upgrade: firebase_core 1.2.0 --> 1.10.0

Summary
Package upgrade: firebase_core 1.2.0 --> 1.10.0
Changelog
[General] [Change] - Upgrade firebase_core from 1.2.0 to 1.10.0 (changelog)
Test Plan
Regression test the following areas:
./lib/main.dart

Deferred


bug: Skill issue

Using this tool is actually a skill issue, rather use your own LLM called brain to create something, touch grass and be better

We strongly believe in this moto
Invest more time in your crush and less time in thinking about pickup lines. Let the AI do the work for you.


DRILL-3566: Fix:  PreparedStatement.executeQuery() got ClassCastException.

Main:
Restored DrillResultSetImpl(...)'s statement parameter from overly
restrictive DrillStatementImpl to AvaticaStatement and removed caller
cast that was throwing.  (Relatedly, adjusted getStatement() and moved
internal casting from statement to connection.)
Added basic test of querying via PreparedStatement.  [PreparedStatementTest]
Added some case test of statement-creation methods.  [ConnectionTest]

@dsbos can you confirm that this patch passes all our "jdbc" tests ?

can you confirm that this patch passes all our "jdbc" tests ?

It passed before the post-review update commit.  I'm re-running regular tests now.

can you confirm that this patch passes all our "jdbc" tests ?

Yes, it passes our regular tests.

+1 LGTM


Files are opened, but not closed explicitly

There are 5 instances when a file is opened to be read, but it is not closed explicitly. Because of it, there is a risk the file won't be closed and so a file descriptor limit can be exceeded (causing a program crash), depending on the given Python interpreter implementation.
Those instances can be found e.g. with ripgrep:
$ rg open
Apps.py
32:            files['binary'] = open(binary, 'rb')
43:            files['binary'] = open(binary, 'rb')

CustomConfigurationProfiles.py
23:        files = {'mobileconfig': open(mobileconfig, 'rb')}
39:            files['mobileconfig'] = open(mobileconfig, 'rb')

PushCertificate.py
23:        files = {'file': open(file, 'rb')}

Those cases should be changed to use the with statement so they explicitly .close() the file when the function returns or when an exception is thrown.

Re-opening, see context in #34 for what needs to be done still.


Window close immediately

Hi @maweigert ,
thank you for your great work, this visualizer is really amazing. Unfortunately when I try to execute it, the window immediately close without any kind of messages in the console...
If I try to run spimagine, it work perfectly, but I'm not really able to run your examples... Do you have clues?
Thanks!

Hi,
I'm confused as to when this error appears, so i would need more information to pin that down:

Could you post a minimal example that crashes for you?
Did you run it from ipython, from the command line, or as standalone app?
Which OS are you on?

Sorry, I wasn't really specific: Ubuntu 16.04, Python 3, Nvidia GTX960M. This is my test code:

from spimagine import volshow
import numpy as np
data = np.linspace(0,1,100**3).reshape((100,)*3)
w = volshow(data)
w.transform.setRotation(.1,1,0,1)
w.set_colormap("hot")
w.saveFrame("/media/DATI/PythonCode/scene.png")

The generated image is that:

The problem occurs on both Jupyter and simple command line.
Trying a simpler code, same problem:

import numpy as np
from spimagine import volshow
data = np.einsum("ij,k",np.ones((100,)*2), np.linspace(0,1,100))
w = volshow(data)

If I type dmesg | tail I get this:

[   33.233310] nvidia-modeset: Allocated GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   33.233501] nvidia-modeset: Freed GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   34.407216] nvidia-modeset: Allocated GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   34.407353] nvidia-modeset: Freed GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   38.743852] nvidia-modeset: Allocated GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   38.744090] nvidia-modeset: Freed GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   39.215370] nvidia-modeset: Allocated GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   39.215514] nvidia-modeset: Freed GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   77.630615] nvidia-modeset: Allocated GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0
[   77.630976] nvidia-modeset: Freed GPU:0 (GPU-daa1fc2f-e793-5d4f-fd9a-08262cc7c7e7) @ PCI:0000:02:00.0

Can be something related to my system, maybe with the incoming version 18.04 LTS everything will work fine...

Hi,
The output is the same as for me and this is expected behaviour (its the cube rendered with the maximal intensity side front). Likewise your png seemes to be saved just fine.
So does it crash inbetween? Can you rotate the cube when you're grabbing it with the mouse?
Did you start ipython with
ipython3 --gui qt5
or in jupyter included
%gui qt5
at the beginning?

Hi @maweigert ,
many thanks, now in Jupyter it works. But i'm still not able to run it with from the command line. Ipython is the only way to execute it from the command line?

Solved!
I was missing the blocking=True argument for volshow:
w = volshow(data, blocking=True)
Thanks again!
Alessandro

Cool :)
Strange still, as ipython3 --gui qt5 should give you the default non-blocking behaviour (which is what one normally wants).
Was there an actual error message, when you run it from within ipython (without blocking=True)?

Well, I know nothing about ipython, but because I'm running it under python 2.7 (maybe this is the reason?), I typed:
ipython --gui qt5 /media/DATI/PythonCode/spimagine_test_02.py
And without using blocking=True, it doesn't work. Why should I use ipython instead of just python?

Ahhh, now I see :)
Yes, there are several ways to use it:

interactively in ipython, where one first starts the ipython shell with ipython --gui qt5 and then just types in the commands line by line as in the example.
This is the way I mostly use it, whenever I have some arrays that I loaded or processed already in ipython, i just do

import spimagine
volshow(my_array)

This is the referred way o interact with 3d data. (works in Jupyter the same way)

as skript to output the rendered scenes:
This is like you did it, when you run a script with ipython my_script.py the intepreter will directly return after the widnow is created. This is normally what you want, as it enables to run lots of skripts that produce some output, without user interuption (e.g. to close the window).

What I typically do:

start ipython --gui qt5
run the skript from withing ipython:  run spimagine_test_02.py
that should work with blocking=False

Ah ok, now it's more clear.
In my case I'm interested at the moment in running real-time simulations and see the outputs with volshow. It works perfectly!
But I will probably used it for generating catalogs of images, and for that I will probably use your way :)
Many thanks, and great job again!


Invalid table or row ids: 0 -1Segmentation fault

I ran light lda over a corpus with 1000 doc and approx 22000 vocabulary size , i used text2libsvm api present in lightlda/example to convert UCI data to libsvm and get dictionary too.
I am getting the following error
bin/dump_binary test.libsvm test.dict . 0
There are totally 6729 words in the vocabulary
There are maximally totally 21405 tokens in the data set
The number of tokens in the output block is: 21405
Local vocab_size for the output block is: 6720
Elapsed seconds for dump blocks: 0.0125935
root@ankit:/home/ankit/lightlda# bin/lightlda -num_vocabs 22000 -num_topics 1000 -num_iterations 1 -alpha 0.1 -beta 0.01 -num_blocks 1 -max_num_document 1000 -input_dir /home/ankit/lightlda -data_capacity 800
[INFO] [2016-01-14 18:37:21] INFO: block = 0, the number of slice = 1
[INFO] [2016-01-14 18:37:21] Server 0 starts: num_workers=1 endpoint=inproc://server
[INFO] [2016-01-14 18:37:21] Server 0: Worker registratrion completed: workers=1 trainers=1 servers=1
[INFO] [2016-01-14 18:37:21] Rank 0/1: Multiverso initialized successfully.
[INFO] [2016-01-14 18:37:21] Rank 0/1: Begin of configuration and initialization.
[INFO] [2016-01-14 18:37:21] Rank 0/1: End of configration and initialization.
[INFO] [2016-01-14 18:37:21] Rank 0/1: Begin of training.
[DEBUG] [2016-01-14 18:37:21] Request params. start = 0, end = 6719
[INFO] [2016-01-14 18:37:21] Rank = 0, Iter = 0, Block = 0, Slice = 0
[INFO] [2016-01-14 18:37:21] Rank = 0, Alias Time used: 0.01 s
[ERROR] [2016-01-14 18:37:21] Rank=0 Trainer=0: TrainerBase::GetTable: Invalid table or row ids: 0 -1Segmentation fault

The program assumes all word are represented as word_id with non-negative numbers. Can you please check your dataset to see if this condition satisfies?

Hi ,
I have checked this -1 is getting introduced in dict and libsvm corpus by text2libsvm,py code which i am using to convert from UCI to libsvm format

Hi,
Word id in UCI dataset is greater or equal than 1. So the script text2libsvm.py minis 1 on the word id to make the word id in range [0… V-1]. But if there is already word id equal to 0 in your dataset, then the minus 1 would incur the invalid word id -1. You can modify the script or your dataset to solve the problem.
From: Ankit Agarwal<EMAIL_ADDRESS>Sent: Monday, January 18, 2016 2:39 PM
To: Microsoft/lightlda<EMAIL_ADDRESS>Cc: Fei Gao<EMAIL_ADDRESS>Subject: Re: [lightlda] Invalid table or row ids: 0 -1Segmentation fault (#20)
Hi ,
I have checked this -1 is getting introduced in dict and libsvm corpus by text2libsvm,py code which i am using to convert from UCI to libsvm format
—
Reply to this email directly or view it on GitHub https://github.com/Microsoft/lightlda/issues/20#issuecomment-172439829 .


Caikit conversion script is not working

Caikit conversion script is not working because the branch of one git repo it is pointing to does not exist anymore.
Performance team reported the same issue.

Tested the conversion script with upstream (ie. caikit/caikit-nlp) and it worked like a charm. I will update the instructions.


Fixed #83983 added highlight collapsed

This PR fixes #83983 . With the help of @aeschli , i added a class to the collapsed visual decoration. This is then referenced in registerThemingParticipant to match the selected color depending on the theme. In decorationRange  i set the startColumn to 0 to ensure the highlight starts from character 0.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: dbeigi sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Poor Ragdoll Performance

Hi!
I've already spoken to Josh about this a while ago, but wanted to open an issue for it. As can be seen in the video, I'm observing very poor ragdoll performance in Pirates, Vikings, and Knights II.
https://www.youtube.com/watch?v=eLPzkrvevdE
The particular ragdoll shown in the video appears to be the worst offender. It only takes a few to drag the FPS into the teens. Other ragdolls in the game also have quite poor performance, exhibiting similar behavior with a lot more ragdolls. Attached is the model in question. We do use some custom shaders so you might have to edit the materials to use VertexLitGeneric if pink checkerboards bother you.
berserker.zip

Should be much better now.

Took me a bit to get around to testing this again, but I still have the same results sadly. It definitely seems to be the worst when the ragdolls are piled in the same location. After the ragdolls rest for a while, the performance does return, but more ragdolls just cause it to tank again.
I may try digging some more later. But, what I'm seeing in the hot path is mostly math. I don't know much about physics, but I am suspecting that something is leading this to construct many triangles rather than any of the math in particular being slow.
I do see something that looks like we're walking a tree, and my only suspicion is that this tree is just abnormally large.
But, I dunno.

I can take another look. I tested this with regular ragdolls and not yours and was able to get many many more. I'll try your beserker model in a couple weeks time when I am back.


Update notes on how to reference the API analyzers

Could we merge this in?

Thank you for your help, @pranavkm


Add a GraphQL pagination based example

I'm submitting a ...
[ ] bug report
[x ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
This is a feature addition

What is the current behavior?
N/A

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
N/A

What is the expected behavior?
One example with pagination based graphql APIs will help in provide a complete set of capabilities we can support.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

nxplorer version: 1.6.0
other environment details

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. npm , github, stackoverflow etc)

Added a basic sample based on the apollo provided example pr #83


updown file API can not get fileHeader

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

c.request.FormFile(key) should return fileHeader, because fileHeader have content and filename. but file only have content
// File returns a file reader when "Content-Type" is "multipart/form-data".
func (c *container) File(key string) (multipart.File, bool) {
	file, _, err := c.request.FormFile(key)
	return file, err == nil
}

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

/assign @kdada

You can bypass it through extracting request from context directly.
If you think the API has weak adaptability, Please consider about implementing a stronger interface to replace multipart.File.

If you think the API has weak adaptability, Please consider about implementing a stronger interface to replace multipart.File.

make sense，but i think it would be better have a mechanism for definition to pass multiple key values. Or let the user customize the definition.

For APIs, users don't need to know how to get data from http requests. They should only care about business logic.
An example with RESTful style:
API: POST /files?name=xxx
Function: func CreateFile(name string, data io.ReadCloser) (SomeObject, error)

Of course, sometimes APIs need to adapt to strange demands. So you can got meta from http request directly. But for convenient, we can extends File(key string) (multipart.File, bool) to:
type File interface {
    miltipart.File
    Header() *multipart.FileHeader
}

File(key string) (File, bool)

Then users can define their APIs like:
Function: func CreateFile(name string, data service.File) (SomeObject, error)

i think it would be better define type CustomFile interface in user own project instead of nirvana project. Can we set a custom definition? Such as definition.CustomFile

Actually, users can implement a new interface which is a subset of service.File. For example:
type MyFile interface {
    io.ReadCloser
    Header() *multipart.FileHeader
}

func CreateFile(name string, data MyFile) (SomeObject, error)

Nirvana supports it.


.mat-select-value width causing issues

Bug, feature request, or proposal:
.mat-select-value has a width of 100%, when used inside a tab container, it pulls the the container to be full page width. I have 3 tabs which when switched between would always stay a consistent width using flex, with the new update, the last tab with a select now goes to full page width
What is the expected behavior?
Consistent sizing with other tabs.
What is the current behavior?
parent tab goes full width
What are the steps to reproduce?
Not got time for a plunker right now, sorry!
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest
Is there anything else we should know?

I can also say it is making problems in dialogs.
It makes dialogs expand completely to full width.
Interessting is that when i set a weird width of 91% it is almost normal again and it makes huge jumps closer to 100% so it is not linear.
BR,
Kevin

+1

Please provide a reproduction case using either plunker or stackblitz for us to investigate

Had the same issue until I realized that I hadn't enclosed it within a <mat-form-field>. Once I did that it behaved properly. Apparently this wasn't an issue with the previous version.

There is a similar issue with mat-dialog and mat-select event after enclosing inside mat-form-field
https://stackblitz.com/edit/angular-cqilrf

@jelbourn The stackblitz provided by @gallagherrchris reproduces exactly the issue.
This is still going on with the last version.
Any hope of telling us what we are doing wrong or reopening the issue?

I was trying to update @gallagherrchris  Stackblitz to use the last version of Angular and Angular material (And open a new issue).
It appears the StackBlitz was not fitting the basic setup for angular material (which triggered weird CSS bugs).
Once this was solved, the Stackblitz was working correctly. By comparing the CSS with my own code, I noticed there was a .mat-form-field-infix { width: auto; } that has been added to workaround https://github.com/angular/material2/pull/7083#issuecomment-344584345
I hope this might help anyone still seeing this issue.


Load directive used instead of require

This files
console.rb
deploy.rb
dotfile.rb
framework.rb
git.rb
hg.rb
install.rb
setup.rb
svn.rb
git.rake
use load instead of require. This leads to unexpected behavior. For instance I can't override some git tasks because the stage task loads the git tasks during execution and appends to custom changes in the task.
I think it should be reconsidered if load is the right directive or require should be used.

For instance I can't override some git tasks because the stage task loads the git tasks during execution

This in particular we have plans to fix. See #1125.

Capistrano 3.7.0.beta1 has been released! 🎉
This version brings a new SCM plugin system, which makes it much easier to override Git tasks or completely replace the SCM behavior with your own code. SCM is now installed via your Capfile, which means the SCM tasks are loaded and available for you to override in deploy.rb.
SCM plugins use require, not load, and are explicitly installed. No magic.
You can read more about the new behavior here:

Custom SCM (official how-to from the docs)
Capistrano 3.7.0 upgrade guide

Please test the beta and send us feedback!


Improvements to behaviour on iOS and macOS

In #70, @hpoul and I have discussed some of the problems with the current behaviour on iOS and I have a potential solution in PR #73 which I have found improves the situation for an iPhone 6 (TouchId) with iOS 12.
I understand that since a lot of the code is shared with macOS, similar issues and solutions will apply to that platform too.
Since it is so difficult to evaluate changes to iOS behaviour without an impossible array of expensive devices, it would be great if anyone else with access to iOS devices could try out the proposed solution in #73 and let us know how it behaves. We'd be particularly interested in anyone who can test newer iOS versions and/or FaceId.
@hpoul can chime in with any additional thoughts but as a starting point, I think this is the current situation:
We create an LAContext the first time authentication is required after storage initialisation (e.g. a read or write request) and this persists for the lifetime of the app.
Once the LAContext has been authenticated once, it remains authenticated "indefinitely" (actually that's the undocumented 10 minutes I've previously mentioned in #70).
If authenticationValidityDurationSeconds is > 0 and we are attempting a write operation we apply this as a touchIDAuthenticationAllowableReuseDuration setting to the context.
If the context has already been authenticated (e.g. via a previous read operation) this has no effect.
If this touchIDAuthenticationAllowableReuseDuration grace period is set before the first time the context needs to authenticate, the context will behave in a way that is somewhat poorly documented across disparate Apple documentation and 3rd party discussions. My best understanding of all of that is that this grace period starts only when unlocking the device with Touch ID (and maybe FaceID); a successful keychain retrieval authentication will not restart the grace period.
So, the touchIDAuthenticationAllowableReuseDuration only has an effect if the first authentication attempt is within that number of seconds of the user unlocking their phone; all subsequent authentication requests will then automatically succeed (for 10 minutes).
If the user takes longer than touchIDAuthenticationAllowableReuseDuration seconds before the first authentication request is made (or if they have configured touchIDAuthenticationAllowableReuseDuration to be <= 0), they will be prompted to authenticate at that point, and then all subsequent authentication requests will automatically succeed.
My tests on the current plugin version and my PR leave me pretty confident that the above is accurate with regard to TouchId but less so about whether FaceId behaviour differs.

What is the status on this. I found this issue via #68 and "followed the tracks" to #73 and #77. As it seems, all of these variants are work in progress.
I would like to know which of these PRs is the desired approach and whats the status on it. So when can we expect this to be fixed? I think this is a security issue with the plugin, as biometric storage is often used with very sensible data. This problem could easily be abused to access data in an app without triggering the biometric prompt.
If none of the proposed solutions is viable in the near future, I would suggest to completely disable the validity support for ios temporarily and always recreate the LAContext until a better solution is found.

Any news on this subject?
My app requires the user to pass biometric identification when required. Is this feature going to bring this capability, or if it's already implemented, how should I configure this behavior?
Thanks in advance.

Any update on this ?
I see that there is an open PR #77 no progress for a few months now, is there a plan to have this resolved in the near future?

Hey @hpoul , hey @luckyrat ! Thank you for your efforts to date towards covering different iOS use cases and behaviours in the context of secure storage.
Would be really cool if we could have these changes finalised and published. Is #77 considered a leading branch in this topic?
What's still needed to finalise?
Do you seek a broader range of hardware configurations to test recent changes against? Is there something uncovered yet?


Interpolated vars not always parsed correctly

First, great plugin!  This makes working with Terraform in Atom a pleasure.
The issue I've run into is that we use a lot of variable interpolations in our code, and the parser doesn't seem to be picking them up correctly.  Observe:

In this case, the following lines are not parsed correctly:

cidr_block = "${format("%s.0.0/18", "${var.cidr_block_first_two}")}" -- interpolation not formatted correctly.
tags { Name = "${format("%s-vpc", "${var.vpc_name}")}" } -- interpolation not formatted correctly.
#tags { Name = "prod-vpc" } -- should be commented out.

Sorry it's taken me so long to respond to this, I've been swamped at work.  I should be able to get a fix in for this sometime tomorrow.  Thanks for the feedback!

No problem. Thanks for this great plugin!  We use it all the time.

Does this look like you would expect:

If so, I can go ahead and merge my changes and cut a new release.

Looks great!  I think the key is to allow for arbitrarily nested interpolations in purple while keeping the surrounding "${...}" in green, as you've done.
I suppose it'd be possible to format individual interpolations so that, for example, format was in a separate color, but this is great, and still a big step up.
Thx for updating this!

New version has been tagged and released. I'm going to go ahead and close this, feel free to open it back up if something isn't right.

I believe I found a case where there's a bug.  Observe:

assume_role_policy doesn't parse correctly, and unfortunately this breaks parsing for the rest of the file.


Hide data to participants until thy reach the phase for which the data is relevant

Is there a way to set data sets that can be visible only in specific phases only?
For example, let's say that there are 2 phases, development and final testing. There are 2 data sets, one for development (it could be a gdrive link) and one for final (again, it could be a gdrive link).
If the participants are in development phase, they should be able to have access to the training and validation data (the development data), but not to the testing phase data. If the timeline reaches the final testing phase, the participants should only then be able to see the testing phase data.
If the participants are not yet approved to the competition, they shouldn't have access to any of this information.
If the current status of the competition is outside of the phases, the participants should have access to neither the development data set or the final testing data (consider that the development phase starts on a later date).
I couldn't find a way to set this when creating a competition. Am I missing something?

You can upload 1 dataset called Public Data per phase. To do that, go to your competition -> Edit -> Phases -> Edit Phase, select a public data you have already uploaded

You upload a public data using the Resource section. https://www.codabench.org/tasks/ -> Select Datasets and programs tab -> Add dataset and program -> Enter name, description, select type=Public Data and upload your dataset.
This dataset will not hide automatically when the phase ends but you can remove it any time you want.
Participants will see this dataset in the files tab of your competition

You can upload 1 dataset called Public Data per phase. To do that, go to your competition -> Edit -> Phases -> Edit Phase, select a public data you have already uploaded
You can upload a public data using the Resource section. https://www.codabench.org/tasks/ -> Select Datasets and programs tab -> Add dataset and program -> Enter name, description, select type=Public Data and upload your dataset zip.
This dataset will not hide automatically when the phase ends but you can remove it any time you want.
Participants will see this dataset in the files tab of your competition
Additionally, if you want to add some links to datasets which are outside codabench, you can use the competition pages e.g. Edit competition -> Pages -> Create a new page Data and put any info or links for the participants there

That's not exactly what I want to achieve, or maybe, there is a bug. If I set a public data for the final phase, the participants can download the data while they are in the development phase, which is not what you want. The data set needs to stay secret/hidden until the timeline gets to the final phase.
As you can see in the picture, the user can see the final phase public data while the timeline is still in development.

@ihsaan-ullah
So, my main concern here is to prevent the participants from seeing the testing database beforehand. If the database becomes visible after the phase ends, that's not an issue. The problem arises when they can see 'into the future'.

an easier solution for your requirement is that you just upload 1 public data for phase 1 and link it to the phase. When your second phase starts, upload the 2nd public data and link it to its phase and remove the old public data so that it is not accessible anymore.

@ihsaan-ullah
I see. I thought that by linking data to a specific phase, it will be visible just for that phase. I will try your suggestion but It would be great if the Codabench Team would consider the option to have data hidden until the timeline gets to the phase where the data should be visible (the phase to which the data is linked). Otherwise, the organizers would have to manually do this for each task they organize.

Indeed, that is a great suggestion. Thank you for proposing it.


Open Editor Sorting - provide feedback during dnd

Testing #110482
When dragging an open editor from one group to another, it would be nice to indicate to the user a valid drop target - maybe changing the background of the target editor group. It would also be nice to indicate that they cannot drop the editor onto the editor group to which the editor belongs.
The current editor group is an invalid drop target only if the open editors are sorted alphabetically.

Good suggestion, however nothing for endgame.
Assigning to December so I investigate more in debt week. Thanks

Since we have hidden the Open Editors view by default I would not add new features to it atm. Thus closing this as out of scope


Expanded resource in TypeSpec

We are preparing for helping brownfield services onboard TypeSpec world.
It seems we lack the expression for expanded resource like this. For the resource RecordSet, which is a child resource of DnsZone, its resource type Microsoft.Network/dnsZones/{recordType} is expandable with an enum {recordType}, instead of a constant.
Proposal: I feel like we could add a new parameter called SegmentType, similar to NameType like this
@parentResource(DnsZone)
model RecordSet {
  ...ResourceNameParameter<
    Resource = RecordSet,
    SegmentType = RecordType,
  >;
}

union RecordType  = "A" | "AAA" | ...

Brownfield services without GA SDKs should be the target in this phase.  For now, older specs non-conformant to the ARM RPC with GA SDKs should not be at the top of our priority list


scoring system for grants

Develop a criteria to rank grant opportunities for which would be the most appropriate and the most likely to suceed.


Spike: where to put the L1->L2 message inserting logic? Root or Merge?

I think let's put this insertion logic into the root rollup circuit.
A merge rollup circuit should only deal with verifying information about new txs; specifically the new txs which it is 'merging'. New L1->L2 messages don't fall in that category: they're information which was produced in a previous rollup. Eventually we'll probably write a separate circuit to push these new messages into the append-only tree. But for now, let's add logic to the root rollup circuit.
What do you think @LHerskind?

It is not information from a previous rollup when going L1 -> L2, the information can come independently of the rollups

Ah, yeah, my bad.

main reasoning behind not doing that would just be that we are then moving the burden onto just one of the proofs

Yeah, exactly. I suppose another reason for not doing it in the root rollup, is it hard-codes an upper bound on how many new l1->l2 messages can be inserted with each l2 block.
If you fancy it, you could write a separate circuit (called something like message_insertion circuit), whose proof then gets verified within the root rollup circuit? And (longer term) we could compile many different 'sizes' of message_insertion circuit, and the root rollup could permit any of their verification keys to be used when being verified within it.

Yeah, exactly. I suppose another reason for not doing it in the root rollup, is it hard-codes an upper bound on how many new l1->l2 messages can be inserted with each l2 block.

There will indirectly be a bound of this anyway, as it is updating storage on L1, there is an inherit limit that is much more "heavy" than just the data cost.

Closing because moved to 'Done'


ECSPI support for NXP i.MX devices

Is your feature request related to a problem? Please describe.
There is no spi driver for freertos i.MX supported devices such as the i.MX7D M4.
Describe the solution you'd like
A spi driver using the freertos ECSPI module for i.MX devices.
Describe alternatives you've considered
I've tried adding MCUXpresso SDK support for the i.MX7D. It becomes too complicated with their custom non-CMSIS board files.

I've worked on this here. But this was ported from zephyr 2.7 where pinctrl wasn't implemented yet.
So it still has some TODO entries and an update to the HAL is needed. Feel free to test and fill in the blanks :)

I've worked on this here. But this was ported from zephyr 2.7 where pinctrl wasn't implemented yet. So it still has some TODO entries and an update to the HAL is needed. Feel free to test and fill in the blanks :)

Hi, thanks for making that repo! I have looked at it quite a bit while trying to implement this. I am also the person who asked you about it in discord recently. However, this requires MCUXpresso SDK support, and as I mentioned I tried adding support for the i.MX7D to MCUXpresso with no success. They have i.MX7ULP support, so you would think it is trivial to port that, but I also tried that and it turned into a crazy complex problem. Not to mention, the ecspi driver does not even work with the i.MX7ULP in MCUXpresso, as it contains a lot of references to missing feature macros.


License..?

The README states there's a license, then what is it?

Though the author says you can't copy code without his permission, he accepted GitHub terms and hence the code is open source
Ps : Not a legal advice

@tachyons I don't expect to use the code for anything, of course, but it's just a nasty habit to put stuff on the internet without a clear license ;).

License is clear. You can use the code but only after my permission.

But I will attach a proper license soon. Thanks.

So then what's the point of having it on GitHub? It's .. not open source if you have an irongrip.

@UltimateHackers That is not a valid open source licence, So as long is this repo is public you can't enforce it

Using the GPL-3 means you give permission to anyone to use your code as long as they redistribute their modifications under the GPL license. If you don't want your code to be reused of redistributed anywhere, then you should use a proprietary custom license, for instance:
Copyright (C) 2017 UltimateHacker - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited

Thanks @althonos but I don't want that either. I want people to use my programs to build something better but I also want to protect them from skids who just change the banner and tell people that they made this.

I have added GPL v3 license for now.

@UltimateHackers keep in mind that if anybody contributes under the GPL license, you cannot change it without their permission now.

Thanks everyone.


⚠ Bofrost.lu has degraded performance

In 1d6cd59, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1364 ms

Resolved: Bofrost.lu performance has improved in db2ecc5 after 7 minutes.


Unable to go past 26,428 characters

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): 0.5.2762.0

Any other software?

Steps to reproduce
1.) Open the Windows Terminal in cmd.exe mode
2.) Navigate to C:\
3.) Paste the following 26,425 characters

aaaaaaaabaaaaaaacaaaaaaadaaaaaaaeaaaaaaafaaaaaaagaaaaaaahaaaaaaaiaaaaaaajaaaaaaakaaaaaaalaaaaaaamaaaaaaanaaaaaaaoaaaaaaapaaaaaaaqaaaaaaaraaaaaaasaaaaaaataaaaaaauaaaaaaavaaaaaaawaaaaaaaxaaaaaaayaaaaaaazaaaaaabbaaaaaabcaaaaaabdaaaaaabeaaaaaabfaaaaaabgaaaaaabhaaaaaabiaaaaaabjaaaaaabkaaaaaablaaaaaabmaaaaaabnaaaaaaboaaaaaabpaaaaaabqaaaaaabraaaaaabsaaaaaabtaaaaaabuaaaaaabvaaaaaabwaaaaaabxaaaaaabyaaaaaabzaaaaaacbaaaaaaccaaaaaacdaaaaaaceaaaaaacfaaaaaacgaaaaaachaaaaaaciaaaaaacjaaaaaackaaaaaaclaaaaaacmaaaaaacnaaaaaacoaaaaaacpaaaaaacqaaaaaacraaaaaacsaaaaaactaaaaaacuaaaaaacvaaaaaacwaaaaaacxaaaaaacyaaaaaaczaaaaaadbaaaaaadcaaaaaaddaaaaaadeaaaaaadfaaaaaadgaaaaaadhaaaaaadiaaaaaadjaaaaaadkaaaaaadlaaaaaadmaaaaaadnaaaaaadoaaaaaadpaaaaaadqaaaaaadraaaaaadsaaaaaadtaaaaaaduaaaaaadvaaaaaadwaaaaaadxaaaaaadyaaaaaadzaaaaaaebaaaaaaecaaaaaaedaaaaaaeeaaaaaaefaaaaaaegaaaaaaehaaaaaaeiaaaaaaejaaaaaaekaaaaaaelaaaaaaemaaaaaaenaaaaaaeoaaaaaaepaaaaaaeqaaaaaaeraaaaaaesaaaaaaetaaaaaaeuaaaaaaevaaaaaaewaaaaaaexaaaaaaeyaaaaaaezaaaaaafbaaaaaafcaaaaaafdaaaaaafeaaaaaaffaaaaaafgaaaaaafhaaaaaafiaaaaaafjaaaaaafkaaaaaaflaaaaaafmaaaaaafnaaaaaafoaaaaaafpaaaaaafqaaaaaafraaaaaafsaaaaaaftaaaaaafuaaaaaafvaaaaaafwaaaaaafxaaaaaafyaaaaaafzaaaaaagbaaaaaagcaaaaaagdaaaaaageaaaaaagfaaaaaaggaaaaaaghaaaaaagiaaaaaagjaaaaaagkaaaaaaglaaaaaagmaaaaaagnaaaaaagoaaaaaagpaaaaaagqaaaaaagraaaaaagsaaaaaagtaaaaaaguaaaaaagvaaaaaagwaaaaaagxaaaaaagyaaaaaagzaaaaaahbaaaaaahcaaaaaahdaaaaaaheaaaaaahfaaaaaahgaaaaaahhaaaaaahiaaaaaahjaaaaaahkaaaaaahlaaaaaahmaaaaaahnaaaaaahoaaaaaahpaaaaaahqaaaaaahraaaaaahsaaaaaahtaaaaaahuaaaaaahvaaaaaahwaaaaaahxaaaaaahyaaaaaahzaaaaaaibaaaaaaicaaaaaaidaaaaaaieaaaaaaifaaaaaaigaaaaaaihaaaaaaiiaaaaaaijaaaaaaikaaaaaailaaaaaaimaaaaaainaaaaaaioaaaaaaipaaaaaaiqaaaaaairaaaaaaisaaaaaaitaaaaaaiuaaaaaaivaaaaaaiwaaaaaaixaaaaaaiyaaaaaaizaaaaaajbaaaaaajcaaaaaajdaaaaaajeaaaaaajfaaaaaajgaaaaaajhaaaaaajiaaaaaajjaaaaaajkaaaaaajlaaaaaajmaaaaaajnaaaaaajoaaaaaajpaaaaaajqaaaaaajraaaaaajsaaaaaajtaaaaaajuaaaaaajvaaaaaajwaaaaaajxaaaaaajyaaaaaajzaaaaaakbaaaaaakcaaaaaakdaaaaaakeaaaaaakfaaaaaakgaaaaaakhaaaaaakiaaaaaakjaaaaaakkaaaaaaklaaaaaakmaaaaaaknaaaaaakoaaaaaakpaaaaaakqaaaaaakraaaaaaksaaaaaaktaaaaaakuaaaaaakvaaaaaakwaaaaaakxaaaaaakyaaaaaakzaaaaaalbaaaaaalcaaaaaaldaaaaaaleaaaaaalfaaaaaalgaaaaaalhaaaaaaliaaaaaaljaaaaaalkaaaaaallaaaaaalmaaaaaalnaaaaaaloaaaaaalpaaaaaalqaaaaaalraaaaaalsaaaaaaltaaaaaaluaaaaaalvaaaaaalwaaaaaalxaaaaaalyaaaaaalzaaaaaambaaaaaamcaaaaaamdaaaaaameaaaaaamfaaaaaamgaaaaaamhaaaaaamiaaaaaamjaaaaaamkaaaaaamlaaaaaammaaaaaamnaaaaaamoaaaaaampaaaaaamqaaaaaamraaaaaamsaaaaaamtaaaaaamuaaaaaamvaaaaaamwaaaaaamxaaaaaamyaaaaaamzaaaaaanbaaaaaancaaaaaandaaaaaaneaaaaaanfaaaaaangaaaaaanhaaaaaaniaaaaaanjaaaaaankaaaaaanlaaaaaanmaaaaaannaaaaaanoaaaaaanpaaaaaanqaaaaaanraaaaaansaaaaaantaaaaaanuaaaaaanvaaaaaanwaaaaaanxaaaaaanyaaaaaanzaaaaaaobaaaaaaocaaaaaaodaaaaaaoeaaaaaaofaaaaaaogaaaaaaohaaaaaaoiaaaaaaojaaaaaaokaaaaaaolaaaaaaomaaaaaaonaaaaaaooaaaaaaopaaaaaaoqaaaaaaoraaaaaaosaaaaaaotaaaaaaouaaaaaaovaaaaaaowaaaaaaoxaaaaaaoyaaaaaaozaaaaaapbaaaaaapcaaaaaapdaaaaaapeaaaaaapfaaaaaapgaaaaaaphaaaaaapiaaaaaapjaaaaaapkaaaaaaplaaaaaapmaaaaaapnaaaaaapoaaaaaappaaaaaapqaaaaaapraaaaaapsaaaaaaptaaaaaapuaaaaaapvaaaaaapwaaaaaapxaaaaaapyaaaaaapzaaaaaaqbaaaaaaqcaaaaaaqdaaaaaaqeaaaaaaqfaaaaaaqgaaaaaaqhaaaaaaqiaaaaaaqjaaaaaaqkaaaaaaqlaaaaaaqmaaaaaaqnaaaaaaqoaaaaaaqpaaaaaaqqaaaaaaqraaaaaaqsaaaaaaqtaaaaaaquaaaaaaqvaaaaaaqwaaaaaaqxaaaaaaqyaaaaaaqzaaaaaarbaaaaaarcaaaaaardaaaaaareaaaaaarfaaaaaargaaaaaarhaaaaaariaaaaaarjaaaaaarkaaaaaarlaaaaaarmaaaaaarnaaaaaaroaaaaaarpaaaaaarqaaaaaarraaaaaarsaaaaaartaaaaaaruaaaaaarvaaaaaarwaaaaaarxaaaaaaryaaaaaarzaaaaaasbaaaaaascaaaaaasdaaaaaaseaaaaaasfaaaaaasgaaaaaashaaaaaasiaaaaaasjaaaaaaskaaaaaaslaaaaaasmaaaaaasnaaaaaasoaaaaaaspaaaaaasqaaaaaasraaaaaassaaaaaastaaaaaasuaaaaaasvaaaaaaswaaaaaasxaaaaaasyaaaaaaszaaaaaatbaaaaaatcaaaaaatdaaaaaateaaaaaatfaaaaaatgaaaaaathaaaaaatiaaaaaatjaaaaaatkaaaaaatlaaaaaatmaaaaaatnaaaaaatoaaaaaatpaaaaaatqaaaaaatraaaaaatsaaaaaattaaaaaatuaaaaaatvaaaaaatwaaaaaatxaaaaaatyaaaaaatzaaaaaaubaaaaaaucaaaaaaudaaaaaaueaaaaaaufaaaaaaugaaaaaauhaaaaaauiaaaaaaujaaaaaaukaaaaaaulaaaaaaumaaaaaaunaaaaaauoaaaaaaupaaaaaauqaaaaaauraaaaaausaaaaaautaaaaaauuaaaaaauvaaaaaauwaaaaaauxaaaaaauyaaaaaauzaaaaaavbaaaaaavcaaaaaavdaaaaaaveaaaaaavfaaaaaavgaaaaaavhaaaaaaviaaaaaavjaaaaaavkaaaaaavlaaaaaavmaaaaaavnaaaaaavoaaaaaavpaaaaaavqaaaaaavraaaaaavsaaaaaavtaaaaaavuaaaaaavvaaaaaavwaaaaaavxaaaaaavyaaaaaavzaaaaaawbaaaaaawcaaaaaawdaaaaaaweaaaaaawfaaaaaawgaaaaaawhaaaaaawiaaaaaawjaaaaaawkaaaaaawlaaaaaawmaaaaaawnaaaaaawoaaaaaawpaaaaaawqaaaaaawraaaaaawsaaaaaawtaaaaaawuaaaaaawvaaaaaawwaaaaaawxaaaaaawyaaaaaawzaaaaaaxbaaaaaaxcaaaaaaxdaaaaaaxeaaaaaaxfaaaaaaxgaaaaaaxhaaaaaaxiaaaaaaxjaaaaaaxkaaaaaaxlaaaaaaxmaaaaaaxnaaaaaaxoaaaaaaxpaaaaaaxqaaaaaaxraaaaaaxsaaaaaaxtaaaaaaxuaaaaaaxvaaaaaaxwaaaaaaxxaaaaaaxyaaaaaaxzaaaaaaybaaaaaaycaaaaaaydaaaaaayeaaaaaayfaaaaaaygaaaaaayhaaaaaayiaaaaaayjaaaaaaykaaaaaaylaaaaaaymaaaaaaynaaaaaayoaaaaaaypaaaaaayqaaaaaayraaaaaaysaaaaaaytaaaaaayuaaaaaayvaaaaaaywaaaaaayxaaaaaayyaaaaaayzaaaaaazbaaaaaazcaaaaaazdaaaaaazeaaaaaazfaaaaaazgaaaaaazhaaaaaaziaaaaaazjaaaaaazkaaaaaazlaaaaaazmaaaaaaznaaaaaazoaaaaaazpaaaaaazqaaaaaazraaaaaazsaaaaaaztaaaaaazuaaaaaazvaaaaaazwaaaaaazxaaaaaazyaaaaaazzaaaaababaaaaabacaaaaabadaaaaabaeaaaaabafaaaaabagaaaaabahaaaaabaiaaaaabajaaaaabakaaaaabalaaaaabamaaaaabanaaaaabaoaaaaabapaaaaabaqaaaaabaraaaaabasaaaaabataaaaabauaaaaabavaaaaabawaaaaabaxaaaaabayaaaaabazaaaaabbbaaaaabbcaaaaabbdaaaaabbeaaaaabbfaaaaabbgaaaaabbhaaaaabbiaaaaabbjaaaaabbkaaaaabblaaaaabbmaaaaabbnaaaaabboaaaaabbpaaaaabbqaaaaabbraaaaabbsaaaaabbtaaaaabbuaaaaabbvaaaaabbwaaaaabbxaaaaabbyaaaaabbzaaaaabcbaaaaabccaaaaabcdaaaaabceaaaaabcfaaaaabcgaaaaabchaaaaabciaaaaabcjaaaaabckaaaaabclaaaaabcmaaaaabcnaaaaabcoaaaaabcpaaaaabcqaaaaabcraaaaabcsaaaaabctaaaaabcuaaaaabcvaaaaabcwaaaaabcxaaaaabcyaaaaabczaaaaabdbaaaaabdcaaaaabddaaaaabdeaaaaabdfaaaaabdgaaaaabdhaaaaabdiaaaaabdjaaaaabdkaaaaabdlaaaaabdmaaaaabdnaaaaabdoaaaaabdpaaaaabdqaaaaabdraaaaabdsaaaaabdtaaaaabduaaaaabdvaaaaabdwaaaaabdxaaaaabdyaaaaabdzaaaaabebaaaaabecaaaaabedaaaaabeeaaaaabefaaaaabegaaaaabehaaaaabeiaaaaabejaaaaabekaaaaabelaaaaabemaaaaabenaaaaabeoaaaaabepaaaaabeqaaaaaberaaaaabesaaaaabetaaaaabeuaaaaabevaaaaabewaaaaabexaaaaabeyaaaaabezaaaaabfbaaaaabfcaaaaabfdaaaaabfeaaaaabffaaaaabfgaaaaabfhaaaaabfiaaaaabfjaaaaabfkaaaaabflaaaaabfmaaaaabfnaaaaabfoaaaaabfpaaaaabfqaaaaabfraaaaabfsaaaaabftaaaaabfuaaaaabfvaaaaabfwaaaaabfxaaaaabfyaaaaabfzaaaaabgbaaaaabgcaaaaabgdaaaaabgeaaaaabgfaaaaabggaaaaabghaaaaabgiaaaaabgjaaaaabgkaaaaabglaaaaabgmaaaaabgnaaaaabgoaaaaabgpaaaaabgqaaaaabgraaaaabgsaaaaabgtaaaaabguaaaaabgvaaaaabgwaaaaabgxaaaaabgyaaaaabgzaaaaabhbaaaaabhcaaaaabhdaaaaabheaaaaabhfaaaaabhgaaaaabhhaaaaabhiaaaaabhjaaaaabhkaaaaabhlaaaaabhmaaaaabhnaaaaabhoaaaaabhpaaaaabhqaaaaabhraaaaabhsaaaaabhtaaaaabhuaaaaabhvaaaaabhwaaaaabhxaaaaabhyaaaaabhzaaaaabibaaaaabicaaaaabidaaaaabieaaaaabifaaaaabigaaaaabihaaaaabiiaaaaabijaaaaabikaaaaabilaaaaabimaaaaabinaaaaabioaaaaabipaaaaabiqaaaaabiraaaaabisaaaaabitaaaaabiuaaaaabivaaaaabiwaaaaabixaaaaabiyaaaaabizaaaaabjbaaaaabjcaaaaabjdaaaaabjeaaaaabjfaaaaabjgaaaaabjhaaaaabjiaaaaabjjaaaaabjkaaaaabjlaaaaabjmaaaaabjnaaaaabjoaaaaabjpaaaaabjqaaaaabjraaaaabjsaaaaabjtaaaaabjuaaaaabjvaaaaabjwaaaaabjxaaaaabjyaaaaabjzaaaaabkbaaaaabkcaaaaabkdaaaaabkeaaaaabkfaaaaabkgaaaaabkhaaaaabkiaaaaabkjaaaaabkkaaaaabklaaaaabkmaaaaabknaaaaabkoaaaaabkpaaaaabkqaaaaabkraaaaabksaaaaabktaaaaabkuaaaaabkvaaaaabkwaaaaabkxaaaaabkyaaaaabkzaaaaablbaaaaablcaaaaabldaaaaableaaaaablfaaaaablgaaaaablhaaaaabliaaaaabljaaaaablkaaaaabllaaaaablmaaaaablnaaaaabloaaaaablpaaaaablqaaaaablraaaaablsaaaaabltaaaaabluaaaaablvaaaaablwaaaaablxaaaaablyaaaaablzaaaaabmbaaaaabmcaaaaabmdaaaaabmeaaaaabmfaaaaabmgaaaaabmhaaaaabmiaaaaabmjaaaaabmkaaaaabmlaaaaabmmaaaaabmnaaaaabmoaaaaabmpaaaaabmqaaaaabmraaaaabmsaaaaabmtaaaaabmuaaaaabmvaaaaabmwaaaaabmxaaaaabmyaaaaabmzaaaaabnbaaaaabncaaaaabndaaaaabneaaaaabnfaaaaabngaaaaabnhaaaaabniaaaaabnjaaaaabnkaaaaabnlaaaaabnmaaaaabnnaaaaabnoaaaaabnpaaaaabnqaaaaabnraaaaabnsaaaaabntaaaaabnuaaaaabnvaaaaabnwaaaaabnxaaaaabnyaaaaabnzaaaaabobaaaaabocaaaaabodaaaaaboeaaaaabofaaaaabogaaaaabohaaaaaboiaaaaabojaaaaabokaaaaabolaaaaabomaaaaabonaaaaabooaaaaabopaaaaaboqaaaaaboraaaaabosaaaaabotaaaaabouaaaaabovaaaaabowaaaaazzzzz

4.) After the 5 ending z's, type the word "hello"
Expected behavior
You are able to carry on typing
Actual behavior
You are prevented from typing

This is just a length limit in CMD, which we can't change for compatibility reasons. I've heard that PowerShell is a lot better here. :smile:
Thanks!


Don't require username in the data source configuration

Some platforms provide credentials to connect to a database inlined in the connection URL. Examples:

postgres://postgres:SOME_PASSWORD@<IP_ADDRESS>:5432/lolipop
 jdbc:h2:file:~/sample;USER=sa;PASSWORD=123
jdbc:postgresql://localhost/test?user=fred&password=secret

JDBC drivers support such a type of configuration. We should respect it and provide users ability to use it.
It means we should not require the username field to be set in the data source configuration.
Fixes #1259

LGTM!


Update README.md

AI Pull Request Summary:
Summary of Changes
Key Files and Components Modified:

README.md

Main Purpose of the Changes:

The changes primarily involve the removal of a CodeQL badge from the README, likely to streamline the displayed information or due to a transition away from using CodeQL for code scanning.

Specific Functionalities Introduced, Modified, or Removed:

Removed:

The line containing the CodeQL badge:Removed: [![CodeQL](https://github.com/PierreGode/workflows/actions/workflows/codeql.yml/badge.svg)](https://github.com/PierreGode/workflows/actions/workflows/codeql.yml)

Potential Implications or Considerations:

Performance Impacts: The removal of the CodeQL badge may simplify the README, potentially improving the visual clarity for users, but at the cost of losing direct visibility into code quality checks provided by CodeQL.
Breaking Changes: There are no breaking changes as this is merely a documentation update and does not affect the underlying code or functionality of the repository.
Dependencies: The change indicates a possible shift in the repository's approach to code quality checks, which may affect how contributors and maintainers review code quality moving forward.

Version Containing Corrections or Bug Fixes:

The changes do not explicitly indicate any bug fixes or feature additions, as it is focused solely on the README documentation. Therefore, this update may not correspond to a specific version in terms of bug fixes.


LREM command argument order

The LREM command of Redis server in version 5.0.3 expects three arguments in the order key count value. See the docs for more information.
Currently, the commend seems to be implemented with the arguments in the wrong order (key value count) and therefore does not work.
For replication of this problem try the following code:
package main

import (
	"github.com/alphazero/go-redis"
)

func main() {
	spec := redis.DefaultSpec().Host(redis.DefaultRedisHost).Port(redis.DefaultRedisPort).Password(redis.DefaultRedisPassword).Db(1)
	client, err := redis.NewSynchClientWithSpec(spec)
	if err != nil {
		return
	}

	defer client.Quit()

	client.Lpush("test", []byte("Test"))
	client.Lpush("test", []byte("Test"))
	client.Lpush("test", []byte("Test"))

	removedItems, err := client.Lrem("test", []byte("test"), 0) // current implementation
	// removedItems, err := client.Lrem("test", 0, []byte("test")) // Should be implemented like this
	if err != nil {
		println(err)
	}
}

Thanks in advance for your help with this problem!
schoeppi5

See the version_compliance in project root. I would think quite a few things have changed since 2.4.9.
Changing a single command to conform to a later version doesn't make sense.
If you need the fix for your own personal use, I suggest just swapping the argument order for that specific command.
Thank you for reporting.


[OpenCL] Fix for //tensorflow/python/kernel_tests:image_ops_test (#111)

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

docker: Error response from daemon: devmapper: Thin Pool has 977274 free data blocks which is less than minimum required 983040 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior. - seems like GPU box is full


Remove duplicate window function processing in WindowAgg operator

Summary of the changes / Why this improves CrateDB
extractColumns(windowFunctions) already extracts all used columns from
the window function including the window definition, there is no need to
further extract columns from the individual parts manually.
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

WindowAgg.java:78: 'for rcurly' has incorrect indentation level 13


View Passbook UI Implementation

View Passbook UI Implementation
As a user,
I want to view my savings account passbook online,
So that I can see all transactions related to my account, just like in an SBI passbook.
Acceptance Criteria:
Passbook Access:
The user can access the passbook from the savings account dashboard.
The passbook should display a list of all transactions, including:
Transaction Date: The date the transaction occurred.
Description: A brief description of the transaction (e.g., NEFT Credit, ATM Withdrawal, Interest Credit).
Debit Amount: The amount debited from the account, if applicable.
Credit Amount: The amount credited to the account, if applicable.
Running Balance: The balance in the account after each transaction.
User Information Display:
The passbook should also display the following user information at the top:
Account Number: The user's SBI account number.
CIF Number: The unique customer identifier.
IFSC Code: The branch IFSC code.
Customer Name: The account holder's name.
Branch Code: The SBI branch code where the account is held.
Branch Location: The physical location of the SBI branch.
Opening Date: The date when the account was opened.
Account Status: The current status of the account (e.g., Active, Dormant).
Filtering:
The user should be able to filter transactions by a specific date range or type (e.g., only debits, only credits).

UI  for Passbook is added

Thank you @RAJASHEKARGUNAGANTI


Best way to access user identity claim in app?

Hi,
I'm trying to access OpenID object within VM (Example Formate Table or Table Page at ) .
Basically I have used below to get UserId but a lot of time I'm getting null value:
using DotNetify;
using DotNetify.Security;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;

class FormPage
    public FormPage(IPrincipalAccessor principalAccessor){
           ClaimsIdentity userIdentity = principalAccessor.Principal.Identity as ClaimsIdentity;

            // appUserId is getting null here (sometimes)
            ulong appUserId = userIdentity.GetUserId<ulong>();

    }
}

UserIdentity being:
using System;
using System.Globalization;
using System.Security.Claims;
using System.Security.Principal;

namespace Bot.Common.Utilities
{
    public static class IdentityExtensions
    {
        public static T GetUserId<T>(this IIdentity identity) where T : IConvertible
        {
            var userId = identity?.GetUserId();
            return userId.HasValue()
                ? (T)Convert.ChangeType(userId, typeof(T), CultureInfo.InvariantCulture)
                : default;
        }

}

The code seems correct.  You might want to make sure at the time the constructor is called the user's already authenticated.

That's how I'm doing it too - works good.
I used the sample's AuthServer middleware (JWT tokens) and apply the SignInManager.PasswordSignInAsync() on the form submit.
From that we apply identity claims using the middleware for UserClaimsPrincipalFactory.
That gives the AuthServer middleware the ability to start with context.User.Claims as a list, and apply it's JWT token on top of that.
Can just do a Linq AddRange for any custom dbcontext claims.. (in my case, groups and roles)
IPrincipalAccessor works great for constructors via DI, but dsuryd also gave a sample of the IVMFilter which too can access the vmContext.HubContext.Principal , and inject that into your BaseVM's using an exposed function.


[Dependencies] Investigate possibility to remove pytz

Suggested by @kdetry: pytz is only used in one place throughout the app. We can lighten the dependency load by removing it.

@kdetry since you had the most recent changes to timezone awareness, can you look into this? If the natural language result is timezone aware, we might not need to convert it to UTC when doing UnixTimeMS.from_dt() but I do think there will be differences. Either way, this is a sensitive part of the ETL process so let's not rush anything just to get pytz out.


Exercise Download for S9(1) Exercise- 035

The error is in exercise downloads. We use the skills and abilities framework and I uploaded them document to the 035 s9(1) page. A candidate emailed to say this link on the info page wasn't working. I tried reinputting the link to ensure it was correct (the other links work) but it was still redirecting me to the admin edit downloads page, it showed as an error for the candidate. I figured out that for some reason 'Skills and Abilities' is not showing on the 'Exercise Downloads' page under 'Exercise'. I fixed the error by uploading the doc under the 'competency framework' section and linking to that. This seems to have been the case on 024 and 020 when I look at them.
@tomlovesgithub can you investigate this issue pls.

This has been tested by the user testing group and myself with positive results.
This is cleared to go onto production.


"No results" after refreshing site when using some parquet files

When I write queries against parquet files tagged in the 'sql' preamble, I'm finding that they'll work as I'm starting to develop a report, but as I continue to iterate, they'll stop returning results entirely.
It only seems to happen with medium+ sized files. I don't really see it with parquet files with only 100 or so rows, but after seeing it in some of my actual datasets I created a dummy dataset with 10,000 rows and just over 100 columns of dates, strings, and numbers, I was able to reproduce it with the dummy dataset too.
I don't know 100%, but it seems like maybe it's related to the browser's cache? If I open up a private browsing window and a normal window, the private window seems OK while the normal window starts to fail.
Here's the markdown file that corresponds to the situation that causes a failure for me. It's not typical for me to display 100+ columns in an Observable table, but I was seeing this error with smaller tables and I was trying to force it here.

---
theme: dashboard
title: Example dashboard
toc: false
sql:
  dummy: ./data/dummy_data.parquet
---

```sql id=d1
select df_id::TEXT, num1, num5, str3 from dummy
```

```sql id=d2
select df_id, int1, int2, int3, num1, num2, num3, num4, num5, str1, str2, str3, str4, str5, dt1, dt2, dt3, dt4,
	dt5, num6, num7, num8, num9, num10, num11, num12, num13, num14, num15, num16, num17, num18, num19, num20,
	num21, num22, num23, num24, num25, num26, num27, num28, num29, num30, num31, num32, num33, num34, num35,
	num36, num37, num38, num39, num40, num41, num42, num43, num44, num45, num46, num47, num48, num49, num50,
	num51, num52, num53, num54, num55, num56, num57, num58, num59, num60, num61, num62, num63, num64, num65,
	num66, num67, num68, num69, num70, num71, num72, num73, num74, num75, num76, num77, num78, num79, num80,
	num81, num82, num83, num84, num85, num86, num87, num88, num89, num90, num91, num92, num93, num94, num95,
	num96, num97, num98, num99, num100 from dummy
```

    ${Inputs.table(d1)}

    ${Inputs.table(d2)}

I haven't attached the parquet file since the file type doesn't seem to be supported for upload here. If there are any best practices you'd suggest for the parquet file that I should be using, like what version, compression, and so on, I can try that. I created this with a basic "write_parquet(dummyFrame, 'dummy_data.parquet')" call in R.
I don't think I experience the issue when I use .arrow files, so I have a workaround. But I wanted to check in here in case there's anything I can do to guarantee that the parquet files will continue to load after multiple refreshes.

Are you seeing any errors or failed requests in either the preview server console, or in your browser’s console?

I'm not getting any errors or anything in the console. I did notice that for the dataset that isn't loading, after clearing the cache and restarting the server, I'm seeing it send more GET requests to the problematic file the first time and fewer the second time, when the issue starts to present. I switched the hash to ellipses to save space below.
Load 1:
HEAD /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
Load 2 (fewer calls to problematic.parquet):
HEAD /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
GET /_file/data/problematic.parquet?sha=...
I'll continue to look into this to see if I can create a fully reproducible example. I've tried subsetting columns and rows of the files with issue to see if I can identify a specific column type or value in the data that is causing issues, but nothing has jumped out so far.

I kept checking into this to find a minimally reproducible example. I've tested the process below on two computers just to be sure. I grabbed the 'weather.parquet' file from this page:
https://observablehq.com/@cmudig/duckdb-client
And I'm using this markdown file:
---
theme: dashboard
title: Example dashboard
toc: false
sql:
  w: ./data/weather.parquet
---

```sql id=tbl2 display
select * from w limit 1
```

If I start the server with npm run dev, the page loads and everything looks great.

Then if I adjust the query to:
select * from w limit 2

and save, the page live reloads and now I see two rows as expected.

However, then if I manually refresh the browser using ctrl+r, the table returns to "no results" and fails until I clear the cache.

In addition, any query I run against the 'weather' dataset now fails with "no results" until I clear the cache - even restarting the server doesn't help. So it seems like my manual refresh might be the issue.
I'm coming to framework having used Observable in the Quarto implementation, so I'm probably just refreshing the page out of habit. Is this a bug, or should I just 100% avoid using anything but the live preview?

I’m afraid I’m not able to reproduce.
https://github.com/observablehq/framework/assets/230541/324490bd-1689-4347-9040-e1ffd1e674d1
There shouldn’t be any issue with manually reloading the page. The fact that clearing the cache fixes the issue suggests that this may be a browser issue. If you’re willing, you could try updating or re-installing your browser, resetting your browser settings, uninstalling any extensions, or trying a different browser.
Since I can’t reproduce and can’t investigate further, I’m going to close this issue. But if you have any other hints, I’d be happy to take another look.

Thanks for your help and for taking a look. Here's a similar setup on my screen with Chrome, Chrome in Incognito Mode, and Edge so you can see it live.
https://github.com/observablehq/framework/assets/10135679/86ab9985-6668-443b-b16c-1b171b5751a6

Browser extensions are disabled in incognito tabs, so the fact that it works in the incognito tab suggests that a browser extension may be at fault. Did you try disabling browser extensions as I mentioned?

I just went through and double checked and reset both Chrome and Edge to their default settings and removed any extensions and unfortunately the problem persists.
I tried Firefox and oddly it does not seem to have the same problem.
Thanks again for checking into it. If I use arrow files instead the issue goes away, so I can continue to use framework.

Sorry for the trouble, and thanks for trying! I’ll report back here if we learn anything on this problem.

I'm just making a quick update here to note that the issue is likely related to duckdb-wasm:
https://github.com/duckdb/duckdb-wasm/issues/1658
Users noted there as well that the issue could not be reproduced on a Mac.

@brichards920 - I am experiencing the same issue.  I'd love to explore this a bit with you if I may.
Some documentation seem to suggest this is a Chrome on Windows issue.  I did notice that when I run Observable in Firefox, or I start Chrome in Incognito mode, the problem goes away.  What browser / OS are you using?
How are you generating the Parquet file?  I am using Google BigQuery as my primary data source, with a Python data loader that uses Pandas to query BigQuery, and saving the Parquet file with df.to_parquet()

@massyn my situation sounds like it is the same - I'm on Windows and I can see the issue in Chrome and Edge. I confirmed this on two separate computers before posting the issue to try to rule out odd settings on one of them.
Using incognito mode in Chrome or using Firefox fixes the issue. That would be OK for me during development, but I share my outputs with a fair number of viewers who are all on a Windows/Chrome setup and it wouldn't be reasonable to ask them to use those workarounds.
I originally encountered the issue generating parquet files in R using arrow::write_parquet. When I was putting together this issue I was concerned that my workflow for generating the parquet files might be the problem, but I was able to reproduce it with 'weather.parquet' from here as well: https://observablehq.com/@cmudig/duckdb-client

Hi @mbostock - I'd like to ask that you reopen this issue.  Both @brichards920 and myself are experiencing this issue, and it would help to have a place where we can work together to isolate this problem.
I have established a test project using the weather.parquet file from your website, and I was able to produce the same behaviour as reported by @brichards920 .
The project can be viewed here
When it shows up

When using Google Chrome on Windows

Workarounds

Use Firefox (or any other browser that's not Chromium based)
Run Google Chrome in Incognito mode.
Use a different data file (json works, even thought the file is much bigger).

Some observations

Looking at the browser dev tools, I notice that on first load, the weather.5d8516c3.parquet file is read from the site, and it works.  On refresh, it reads the file from disk cache, and then it fails.
On incognito mode, it also changes to "disk cache" but somehow keeps working.
The behaviour experienced is similar to that mentioned here https://github.com/duckdb/duckdb-wasm/issues/1658.

It is likely that this is a DuckDB issue.

I can reopen the issue but it’s unlikely we’ll be able to fix it if it’s an issue in DuckDB-Wasm. Probably better to upvote and follow https://github.com/duckdb/duckdb-wasm/issues/1658.

I'm not using Observable Framework, but I have been able to temporarily work around this in Observable Notebooks by cache busting until there is a better fix in place. Hopefully someone finds this useful. See example here

Here are some suggested workarounds to avoid caching of Parquet files on Windows: https://github.com/observablehq/framework/discussions/1691#discussioncomment-10790259


Blocking sdk.split.io causes issues with the EA Desktop App

Hello,
I've recently noticed an issue with the EA Desktop App wherein it would not show me the 'View Properties' and 'Repair' menus on any of my PCs. After some extensive debugging, I've traced the root cause back to my network (running a VPN makes the option appear) and more specifically the Pihole blocking sdk.split.io. (If that domain is blocked, the EA App takes a bit longer to start up, and the 'View Properties' menu becomes unavailable.
Domain blocked:

Domain whitelisted in pihole:

Not sure if that warrants removing it, but at least this way the information is out there.

Thank you for this @Steltek.
This is from the Adaway list which is no longer actively maintained.
I've paused refreshing the Adaway list (commit 10cb94) and removed the domain sdk.split.io from our copy of this list (commit 0ddc209).
This will reflect in the next release, coming soon.
Closing.


Update website to match the new Brooklyn UI

This updates the web console screenshot with the new UI

there is a conflict but makes sense to me to apply the change intended here


Exception: DuckDBConnectionManager environment requested before creation! when using SQLAlchemy plugin

Hi, just trying to play with the new plugin system off of master, however I get hit by this error trying to create an SQLAlchemy source table connecting to BigQuery.
My config is as follows:
duckdb_project:
  outputs:
    dev:
      type: duckdb
      path: data/duckdb_project.duckdb
      database: duckdb_project
      plugins:
        - module: sqlalchemy
          alias: bq_sql
          config:
            connection_url: "bigquery://my-gcp-project"

And I have a source config for one extant table in my BigQuery project that is configured like this:
version: 2

sources:
  - name: MyDataset
    tables:
      - name: MyTable
        identifier: my_table
        config:
          plugin: bq_sql
          save_mode: overwrite
          query: "SELECT * FROM MyDataset.{identifier}"

I try to query the source using a new model:
SELECT
   *
FROM
    {{ source(
        "MyDataset",
        "MyTable"
    ) }}

However the following is thrown:
10:03:21  Running with dbt=1.5.1
10:03:22  Unable to do partial parsing because profile has changed
10:03:36  Encountered an error:
DuckDBConnectionManager environment requested before creation!
10:03:36  Traceback (most recent call last):
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 86, in wrapper
    result, success = func(*args, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 71, in wrapper
    return func(*args, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 142, in wrapper
    return func(*args, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 168, in wrapper
    return func(*args, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 215, in wrapper
    return func(*args, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 242, in wrapper
    manifest = ManifestLoader.get_full_manifest(
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/parser/manifest.py", line 227, in get_full_manifest
    manifest = loader.load()
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/parser/manifest.py", line 416, in load
    patcher.construct_sources()
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/parser/sources.py", line 84, in construct_sources
    parsed = self.parse_source(patched)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/parser/sources.py", line 188, in parse_source
    parsed_source.relation_name = self._get_relation_name(parsed_source)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/parser/sources.py", line 291, in _get_relation_name
    return str(relation_cls.create_from(self.root_project, node))
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/base/relation.py", line 259, in create_from
    return cls.create_from_source(node, **kwargs)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/duckdb/relation.py", line 26, in create_from_source
    DuckDBConnectionManager.env().load_source(plugin_name, source_config)
  File "/Users/databob/opt/miniconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/duckdb/connections.py", line 27, in env
    raise Exception("DuckDBConnectionManager environment requested before creation!")
Exception: DuckDBConnectionManager environment requested before creation!

Could I perhaps be misconfiguring something here?
I do have all the necessary packages installed in my env for SQLAlchemy to make a BQ connection.

Okay, I don't think I can salvage this functionality as-is, which is kind of good news in that I had been feeling for awhile that I should look really hard at moving this functionality into dbt seed given how it works (i.e., it actually materializes a table in the DuckDB database file).
@muscovitebob really appreciate you trying this out-- I've been distracted by some other things going on right now and hadn't had a chance to really kick the tires here.

Alright, happy to help, thanks for the hard work with this repo and checking this out. For now I'll stick to my original plan of using some python models to fetch BigQuery data which works fine if a bit less elegant than this solution would have been.

@jwills I ran into this issue as well -- just an issue with the compile phase not having an connection just yet. The attached PR is one quick way around it.
It does illustrate one issue with the dbt testing libraries -- they create the adapter connection up front, hence why the dbt-duckdb functional tests passed.

@AlexanderVR you’re my hero— thank you! I have a separate branch where I’m working on integrating source plugins into dbt seed operations via a hack, but your approach looks much simpler

:-)
But this is still just a quick hack. Because dbt's Relation class seems really only for keeping track of how relation identifiers should be rendered (should really be called RelationRendering), loading data into the db when instantiating this class feels a bit off.
I kind of worry that the goal to autopopulate sources using a plugin will prove to be too large an impedence mismatch against how dbt is designed -- sources are not meant to be maintained by it!
For the dbt seed approach -- is this to enable populating seeds with significant amounts of data? (So that downstream models use ref() instead of source()?)

Mmm, I suppose it depends on what you mean by "significant"-- there are many virtues of using dbt seed as a general way of loading data into a database prior to a dbt run compared to the source hack that I implemented here (e.g., it could take advantage of multiple threads), but I don't think it would ever be a good strategy for moving a very large quantity of data. I was thinking it would be a cool way to move up to like a 1GB or so of data though.
(My general approach to coming up with new features for dbt-duckdb is to read the dbt docs, look for places where they say that such and such is a bad idea, and then try to figure out how to do it.)


update copyfile-method.md

include remarks on file name behavior and how to rename copied file

Docs Build status updates of commit df73cfe:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Language/Reference/User-Interface-Help/copyfile-method.md
:warning:Warning
View
Details

Language/Reference/User-Interface-Help/copyfile-method.md

Line 63, Column 1: [Warning-code-block-unclosed] Unclosed code block. Code blocks must begin and end with triple backticks (```).
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 09b1c38:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Language/Reference/User-Interface-Help/copyfile-method.md
:bulb:Suggestion
View
Details

Language/Reference/User-Interface-Help/copyfile-method.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


move ChunkedFileReader type into FileClient type

Describe the feature
Incorporate the ChunkedFileReader into the FileClient, as opposed to ChunkedFileReader::next_chunk returning a new FileClient. Instead, a new chunk is read upon call to <FileClient as HeadersClient>::get_headers_with_priority, if the FileClient has no more headers in its map.
This requires modifying the ImportCommand. A new arg is needed --tip <block-hash-sync-target>, which must be passed to the FileClient. The pipeline can then be built once.
Additional context
As a side effect, this will enable ETL wrt to the whole file on chunked reads.
No response

headers downloader gets tip to genesis, makes this more complex, since requires reading the file in reverse. right @joshieDo ?


Update version-transact-sql-configuration-functions.md

Move the note about the incorrect version reported regarding Azure SQL Database as CSS is receiving support requests asking about this.
Probably customers are not reading this document until the note where it talks about it.
We are also working on other fronts to deflect this kind of support requests.

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

#sign-off

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


How to handle directline offline in newer version

Hello Viseo team,
First off, thanks for all the good work!
I'm confused about how to interact with a local bot using the latest versions of the Viseo framework and MS bot builder node.
To avoid going through to Azure in a development environment, we've been using https://github.com/ryanvolum/offline-directline, so that our frontend can connect to a local directline pointing to a local Viseo instance. However as stated in this issue https://stackoverflow.com/questions/55812986/how-can-i-use-offline-directline-for-microsofts-botframework-v4 directline-offline is not compatible with Bot framework v4.
I see in recent versions of Viseo, that you are upgrading to bot framework v4 as well. How would you recommend emulating Azure without using directline-offline ?
Also, if I'm not mistaken, the API URL is no longer /api/v1/messages but /server-botbuilder. Am I correct or am I missing something ?
Thank you,
Antoine

Yes the API URL has change because we cleanup all the "connector" for v1.0
We no longer use the DirectLine Offline because it is incomplete there is a lot of missing elements (Cards, Image, Uploads,etc ...) and the authentication is not implemented.
We'll dig into it when one of our customer will need a workarouind Azure Bot Registration


Using SQS with presets doesn't work with new Presets.json location

I enabled SQS and presets stopped working. I figured out that when using SQS it looks for presets in the root directory instead of the /presets folder that has been implemented.  Moving the presets.json file back to the root directory disrupts the auto updating feature so I created a symbolic link to the /presets/presets.json file, and that fixed it. Anyone know how to fix the code so that the SQS server requests look for the presets.json in the proper place? Apologies, I am new to JS and this stuff.

@taylorjason what does it show in your sqs console when you have the issue?
The sqs server should call yoururl:port/preset/rock the same thing as not using sqs. So the sonos node server should do the same action.
The only possibility I can think of is that it ends up with extra slashes or too few.

closed due to inactivity


GTMSessionFetcher/Core conflict with firebase for ios

we  not able to use this library with firebase auth in ios flutter , because google ml kit GTMSessionFetcher/Core is not updated .
following issue we are facing on ios while installing pods
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In snapshot (Podfile.lock):
GTMSessionFetcher/Core (< 4.0, = 1.7.2, ~> 1.1)
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.2.6, which depends on
  Firebase/Auth (= 10.3.0) was resolved to 10.3.0, which depends on
    FirebaseAuth (~> 10.3.0) was resolved to 10.3.0, which depends on
      GTMSessionFetcher/Core (< 4.0, >= 2.1)

google_mlkit_commons (from `.symlinks/plugins/google_mlkit_commons/ios`) was resolved to 0.2.0, which depends on
  MLKitVision was resolved to 4.2.0, which depends on
    GTMSessionFetcher/Core (~> 1.1)

Are there any alternatives we can use for detecting faces in images for the time being?

I face this similiar issue when i want to use Ink Recognizer, there's a temporary solution that I found yesterday : https://issuetracker.google.com/issues/254418199#comment48

I face this similiar issue when i want to use Ink Recognizer, there's a temporary solution that I found yesterday : https://issuetracker.google.com/issues/254418199#comment48

This is working as of now for the time being. Thanks

is there a permanent solution?

I hope it's not. I implemented it in our application yesterday and it is working completely fine. Can't say if it will break in the future, maybe.

This issue comes from Google itself, we'll have to wait for permanent fix. They said that it's scheduled at mid of March (https://issuetracker.google.com/issues/254418199#comment156), and i think it shouldn't break stuff we already build after they fix it, hopefully.

thanks @baraghiffari

Have same

.


Who writes these examples?

How, exactly, does the documentation on custom D365FO shortcuts clearly explain how to configure/build a custom shortcut?  The examples given provide zero context.

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

ID: 12ce88fa-eab8-4eaa-7f90-79a6ffbeadea
Version Independent ID: a4f7a42a-e3df-6b10-ded9-cf5466b5490c
Content: Keyboard shortcuts for extensible controls - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/user-interface/keyboard-shortcuts-controls.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @jasongre
Microsoft Alias: jasongre

Bug 819693 has been logged to address this issue.

Thank you for your feedback. As of now, we are not updating this article. Closing as won't fix.