simple text styling example

Hi there, currently there is an pretty advanced example about how to use text labels. This is IMHO to complex for everybody who just wants to get started, so can you please add a simple example to show the necessary snipets?

I agree the existing example is a bit overwhelming.  I'd be in favor of removing it and replacing it with a basic example.

Thanks @tschaub :-) To me it was pretty confusing, that I have to style text explicitly, whyle usual features get a default styling.


Compilation error: undefined reference to `_binary_x509_crt_bundle_start' (IDFGH-7305)

I am trying to build https_request example (esp-idf-v4.3.1\examples\protocols\https_request) and got the error:
FAILED: https_request.elf
cmd.exe /C "cd . && C:\Users\laian\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe  -mlongcalls -Wno-frame-address   @CMakeFiles\https_request.elf.rsp  -o https_request.elf  && cd ."
c:/users/laian/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/libmbedtls.a(esp_crt_bundle.c.obj):(.literal.esp_crt_bundle_attach+0x0): undefined reference to `_binary_x509_crt_bundle_start'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

My Idf version is 4.3.1
I had only made a single change in the menuconfig as follow
https://github.com/espressif/esp-idf/issues/7621#issuecomment-931241064

@binhla
Problem with negative serial number based certificate in bundle was fixed and you may find details regarding that in https://github.com/espressif/esp-idf/issues/7631#issuecomment-948445140
Alternatively, for build issue that you are facing, please try applying fix similar to https://github.com/espressif/esp-idf/commit/021f545f0db38985626ecb58ccdd9d492e3782fa in http_request example.

@binhla
Problem with negative serial number based certificate in bundle was fixed and you may find details regarding that in #7631 (comment)
Alternatively, for build issue that you are facing, please try applying fix similar to 021f545 in http_request example.

Thank you for your support!


CSRF authentication with Plug 0.13

The CSRF authentication does not seem to work with plug 0.13. I don't have time right now to investigate more, but most probably it's related to this commit https://github.com/elixir-lang/plug/commit/06579e713c892120e657cb21f909b1a176b4ef70. I decided to open the issue in this repository because I'm not sure if it's a bug in guardian or it's related to the implementation in the app.
Btw guardian looks awesome so far, thank you @hassox!

It looks like it's replaced by token.


Python 3 - basestring

basestring is not Python 3 compatible. See https://github.com/blockchain/api-v1-client-python/blob/master/blockchain/blockexplorer.py#L183

I created a pr to fix this issue.

Fix merged


fix: allow json_schema_extra as Callable (#884)

Simply check if field.json_schema_extra is a dict. That way None is returned when it is a Callable. It seems too complicated to support Callable, it would require calling the function with the schema as an argument. I would assume that function call is only done internally in Pydantic so there is not a clear way to do this and retrieve the modified schema after calling the function. So I propose not to support that for now. This means for instance that adding original_field to the JSON schema of a beanie.BackLink field in a callable would not be supported...
See #884

Hi @valentinoli ,
Looks good. Thank you. I plan to merge the PR at this weekend

Great, thank you :)

Merged. It will be published today


Add a 'new gist' button to the GitHub Gist home page.

Add a green new gist button on top of the page (beside the starred tab). The current + sign at the top right of the page is not intuitive at all...

URL for where the feature should appear: https://gist.github.com/HarshKapadia2 (GitHub Gist home page.)

As you said, the button is there:

And I'd say that's enough; it's the same position as GitHub’s "New..." menu

Agreed, but the new repo and new gist buttons are really not intuitive. People usually ask or have to really search for those buttons.
I was going to raise an issue for the GitHub button as well, but I though that I should start with the GitHub Gist one first...
So my issue is that the + buttons are really too much in the corner, too small, inconvenient and not that intuitive for a user.
The solution could be to add a green button with the same options as the + button, but placed in much better place that makes it easy to access.

We'll have to pass on this feature.
However you can add it via userscript with this line:
document
	.querySelector('.Header-link[aria-label^="Create new"]')
	.classList.add('btn', 'btn-primary')


TabView issue inside ScrollView

Hello EveryOne i hope you guys doing well i facing Scrolling issue flatlist data is not showing
<ScrollView contentContainerStyle={{flexGrow: 1}}>

<View style={{marginHorizontal: 28, marginTop: 20}}>
<Text style={{color: 'white'}}>
We at medtigo believe in a culture of transparency and
reliability. We are more than just a recruiting firm. We are
your personal agent.

<FlatList
horizontal={true}
data={SwippableData}
showsHorizontalScrollIndicator={false}
renderItem={({item, index}) => (

)}
/>

<TabView
navigationState={{index, routes}}
renderScene={SceneMap({
first: FirstRoute,
})}
onIndexChange={setIndex}
renderTabBar={props => (
<TabBar
{...props}
indicatorStyle={styles.indicatorStyle}
style={styles.tabBar}
renderLabel={route => (
{route.route.title}
)}
inactiveColor="#c2c3c8"
/>
)}
/>

First Route
const FirstRoute = () => (
<View
style={{
flex: 1,
}}>

<FlatList
scrollEnabled={false}
data={jobData}
keyExtractor={(item, index) => index.toString()}
renderItem={({item}) => (

<JobsData {...props} item={item} navigation={navigation} />

)}
/>
{jobData && jobData.length > 0 && (

<StaffingCard onPress={() => setShowModal(true)} />

)}

);

I have same problem,
I resolved it by down grade version of this package to "react-native-tab-view": "^2.16.0",

same issue in 3.0.1

I have same problem,

@MahmonirB worked, thanks you!

@MahmonirB Thanks, worked for me too.

Measuring and setting height manually solved it for me: https://github.com/callstack/react-native-pager-view/issues/386

@MahmonirB Thanks! I do not know how it worked just by downgrading the package. Well It worked though

With 3.1.1, the TabView content (whatever it is) is not displayed if the TabView has a ScrollView parent.

is this resolved?

I have same problem,
I resolved it by down grade version of this package to "react-native-tab-view": "^2.16.0",

This solved my problem!!
But now i'm having problem with my unit tests.
I get Invariant Violation: Unable to locate attached view in the native tree and The above error occurred in the <AnimatedComponent(View)> component:
Anyone else had this problem?


Revert java version change in security-aai

This PR reverts the recent minimum java version change in the security-aai pom file.  This resolves the build issue, but is untested in terms of actual usage since I don't have an AAI related setup to test with.
The issue stems from Spring's repackaging of their ASM library, which doesn't deal with JDK17+ properly.  Unfortuantely, that library dead ends with release 3.1.4 in 2013, so updating the library isn't immediately easily done.
Your pull request should…

[x] have a concise title
[ ] ~close an accompanying issue if one exists~
[x] be against the correct branch
[ ] ~include migration scripts and documentation, if appropriate~
[x] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

#6014 is a better approach

This is the alternative approach, which gets rid of the spring class runner: https://github.com/opencast/opencast/pull/6014


api documentation: Figure out why schema tests don't fail when modifying unread_msgs.

In #17702, we extended the format of the unread_msgs data structure to add an extra field; oddly, no tests failed when doing so without the API documentation changes.  My belief had been that the validate_against_openapi_schema calls that we include in both test_classes and
One theory is that we're not actually calling validate_against_openapi_schema in test_events.py for the /register response (only doing so for /events), and as a result are basically not testing the /register responses at all against the documentation.
@orientor @MSurfer20 FYI.

@zulipbot claim

Hey @100RABHpy ! @orientor and me are already looking into this issue, and are researching more about the cause of this bug. Meanwhile, can you please find some other issue to work on?(I should've had claimed the issue. Apologies!)

Ohh, Okay.

@zulipbot abandon


Adds ability to debug stringnames

References (which include hash tables) can be profiled with --debug-stringnames

Thanks!


Toobar overlaps tooltip

Possibly related to Issue #434

Same problem as #434 but in a different location.

Already exists issue for that https://github.com/oVirt/ovirt-web-ui/issues/568


"rer_prompt_diverse_16.txt" Seems to be missing

The file rer_prompt_diverse_16.tx seems to be missing, the example code isn't running properly due to that

Hi, sorry for the missing file. Here it is!


Remove references to requirements.txt.

Fixes https://github.com/zulip/zulip/pull/1061#issuecomment-227286324.
I did git grep 'requirements\.txt' and I didn't find anything relevant apart from this.

Automated message from Dropbox CLA bot
@sharmaeklavya2, it looks like you've already signed the Dropbox CLA. Thanks!

Posted a couple comments on this!

Updated.

Merged, thanks @sharmaeklavya2!


The Request time out ; frequesntly comes

As i above mention while i play another video just 2nd video and the message comes that request time out.
What to do.

how to chnage the timeout interval. I got the request time out issue frequently
Need help !

The timeout is intentionally hardcoded to 10 seconds. Since it can take up to 6 network requests to get the playback URL of a video, I don’t intend to raise it.
I suggest you to check your network settings (DNS, VPN, Network Link Conditioner, etc.) because 10 seconds is usually enough, even under bad network conditions.

hi there. thanks for reply.
Sometimes i get this error also : this video contains content from vevo. it is restricted from playback on certain sites.
for same video i get this error some time and sometime not


Neo3 Discussion

This issue can be used to discuss and break down outstanding features for the initial Neo3 release of neon.js
Current needs are as follows:

[High Priority] api package maturity (this can be further defined using an audit of the neon wallet)
[High Priority] system and network fee calculations
[High Priority] documentation maturity
[Medium Priority] tsdoc
[Medium Priority] contract manifest-based field validation
[Medium Priority] test expansion
[Low Priority] notifications (this may be a feature we could add support for in a later release by adding dora api support)

@snowypowers @comountainclimber let me know if I missed anything or there is any discrepancy on priority.

I've had a look at the following item

[High Priority] system and network fee calculations

The gas consumption for system fee can be obtained via RPC using invokescript. The network fee is where it gets interesting.
Network fee = transaction base size + sum(signer's scripts) * fee per byte. (ref)
A signer script can be 1 of 3 things

a single signature redeem script
a multi signature redeem script
an actual smart contract with a verification function

The fee of the first 2 can be statically determined (ref). The fee of the smart contract (3) requires running the VM (similar to what we need todo for system fee). The problem here is that it needs to run the VM using the Verification trigger type, whereas all RPC calls only allow running with the Application trigger type.
Assuming I didn't miss anything the only short term feasible solution I see is having an RPC call that allows running the VM with the Verification trigger type. This can either be modifying the invokescript call to allow specifying a trigger type or a whole new RPC call. Anyone sees a different solution? @lllwvlvwlll @snowypowers
If not, then I'll start the discussion on the NEO project repository.
Task break down
As for supporting what is currently possible, I see the following tasks

[ ] fix transaction size calculation.
e.g. the Signer class currently returns a wrong size if allowedContracts or allowedGroups  is specified.
solution: implement the equivalent of the C#'s GetVarSize() and applying it to all transaction properties where required. For the Signer case you might want to look at what the Witness class is doing. Although I personally prefer a helper function because it is not an uncommon function afaik. @snowypowers do you have any preference how to solve it?

[ ] implement helper function to detect if the signer script is a single signature redeemscript (reference implementation)

[ ] implement helper function to detect if the signer script is a multi signature redeemscript (reference implementation)

[ ] if all previous are done; implement network fee calculation function.
For the time being I'd probably throw an error if we require smart contract (case 3) until supported.

I have not seen any functionality that would allow me to run the VM in verification mode.
I see that I have messed up the size method by forgetting the array length byte. The alternative implementation would be to pay the serialization cost and then read the actual size of the serialized output. This would make it easier from the development viewpoint since we will only need to manage a single source of truth.
The rest of the tasks looks good to me. The VM issue does not seem to be blocker as the default use case at the moment should not require the custom verification.
Looks like C# needs a disassembler too.

Dropping a comment here to avoid duplicating work. Atm I can successfully build, sign and send a transaction via the sendrawtransaction RPC call for transferring NEO or GAS using a single signature redeem script. Next, I first want to add support for multi-signature redeem scripts (specifically the code for calculating the correct network fee).
Related: #592 (#581, #591)

I think this one is obsolete now that we have our formal N3 release. Ping if you think otherwise and it can be re-opened


Force getMutableComponent onChange

I'm not sure if this is the best approach, but it works when I manually make the change in my local colyseus/ecs files in node_modules
Currently changes to components do not appear in the changed arrays in System queries . This is because these changes are registered when systems call Entity.getMutableComponent, however the schema directly decodes the changes into the component bypassing this call.
This adds an onChange handler in enableAutoDecoding which calls getMutableComponent when a component is changed.
P.S. my editor really wants to use a different code style so sorry if it doesn't match your existing styles!

Nice catch, thanks again @will-hart ❤


Status 500 - removing uploaded file

Version information

Laravel: v6.5.0
Voyager: v1.3.0
PHP: 7.3.11
Database: MYSQL 15.1 10.4.8 MariaDB

Description
I can't remove upload files while editing a bread. It's returning 500 status
I noticed 2 things:
First: while images' paths are stored in database between brackets [path/to/image.jpg] files are stored between brackets and braces {[path/to/file.dpdf]}
The data-file-name html attribute is assign to original file name, but the files are stored with a automatically generated name.
Steps To Reproduce
Steps to reproduce the behavior:

Create a database
Create a BREAD
Put a file field on BREAD
Create a register
Edit a register
Click on "X" mark to remove file

Thanks!

Thank you for your report, when I introduced the removal of file from file system I only tested it with images.
You can try:
https://github.com/MrCrayon/voyager/commit/7ecbfbe76824d65f4bbce5bd4977d93daaa65bda
I'd like to introduce some tests before I submit it as PR.

Thank you.
Your fix works just fine!

Hi, I ran composer update but stiil get this error...
composer.json:
"tcg/voyager": "v1.3.*"
Thanks for u reply

@mweikat #4550 is not merged yet, and after that you'll have to wait next release unless you use dev branch.

@mweikat #4550 is not merged yet, and after that you'll have to wait next release unless you use dev branch.

Thanks for reply


Datepicker and ngAnimate (Angular 1.3.X)

This bug is present with angular version 1.3.X and ui-bootstrap 0.13.1.
Some log are thrown : "TypeError: Cannot read property 'parentNode' of undefined
at angular-animate.js:1203
at angular-animate.js:539
at Scope.$get.Scope.$digest (angular.js:14293)
at Scope.$get.Scope.$apply (angular.js:14506)
at bootstrapApply (angular.js:1448)
at Object.invoke (angular.js:4185)
at doBootstrap (angular.js:1446)
at bootstrap (angular.js:1466)
at angularInit (angular.js:1360)
at angular.js:26125"
I made a plunker to reproduce (check logs in console). http://plnkr.co/edit/JmRcZgCDyy2tXD7qFW1g?p=preview
I have no time to investigate right now but it can be caused by the recent refactoring of the datepicker (in order to remove some watchers, https://github.com/angular-ui/bootstrap/pull/3770)
This bug is not present with angular 1.4.X

Thank you for isolating this - I will look into this early next week and hope to have a fix released in the next two weeks.

This error appears to disappear in Angular 1.4 as shown here.
A fix for 1.3 is ideal here, although it does not seem to break functionality. This appears to be a bug in Angular itself, but it should be noted that the Angular team has moved on to mainly focus support on 1.4 as the stable release and 1.2 for IE8 support. The bug seems to be related to ngAnimate and the directive replace option, as the error can be observed to be removed if replace: true is removed from datepickerPopupWrap.
It should be noted that we have moved to testing in 1.4 off of master now.
I am not sure whether it is worth patching this, although I do welcome any PRs.

Ok thanks for your investigation. Which release should fully support
angular 1.4?
Le 29 juil. 2015 7:52 AM, "Wesley Cho"<EMAIL_ADDRESS>a écrit :

This error appears to disappear in Angular 1.4 as shown here
http://plnkr.co/edit/m4AsVj4KXjmiSFEoHK3f?p=preview.
A fix for 1.3 is ideal here, although it does not seem to break
functionality. This appears to be a bug in Angular itself, but it should be
noted that the Angular team has moved on to mainly focus support on 1.4 as
the stable release and 1.2 for IE8 support. The bug seems to be related to
ngAnimate and the directive replace option, as the error can be observed
to be removed if replace: true is removed from datepickerPopupWrap.
It should be noted that we have moved to testing in 1.4 off of master now.
I am not sure whether it is worth patching this, although I do welcome any
PRs.
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/bootstrap/issues/4012#issuecomment-125850457
.

I am not able to choose date again when choosed once in the datepicker of ui bootstrap. How to get rid of this problem pls help me.

@lgaudez 1.4 will be fully supported by 0.13.2, which is likely to come out this weekend.

Ok perfect, i'll wait for 0.13.2. You can close this issue. Thanks
Le 30 juil. 2015 6:55 AM, "Wesley Cho"<EMAIL_ADDRESS>a écrit :

@lgaudez https://github.com/lgaudez 1.4 will be fully supported by
0.13.2, which is likely to come out this weekend.
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/bootstrap/issues/4012#issuecomment-126183061
.

I am still seeing this issue in the new version

I'm still seeing the issue persist even after reinstalling whole bower packages, I'm suing it with Angular 1.3.17

I've updated example provided by with latest script versions @lgaudez
http://plnkr.co/edit/OYgnLKiAHa640JKq2YGV?p=preview

I hope you're not suing it, but using it :) .
I will look into this - as far as I remember, it wasn't causing any breaking functionality though.

Haha! Yes, I'me aware that it's not breaking functionality but does get in a way of consoles and does not look nice to show errors while reviewing apps with clients devs.

It's definitely fair, I shouldn't have closed the issue and scheduled this more appropriately - that was laziness on my part, and it was good that it was pointed out.

Looking into this further, I suspect this may be an issue in ngAnimate itself - I have created an issue https://github.com/angular/angular.js/issues/12503 for reference.

Thanks for the update, the issue only happens when I use datepicker but not other ui directives with ngAnimate. So somehow the combination of two are causing the issue.

I also see this issue only with datepicker.

Ya it is something directly related to ui.bootstrap @wesleycho and not angular.
Please look at: http://plnkr.co/edit/MnBZ2rJfz7uw0u6bVbLo?p=preview
In the above link ui.bootstrap does not have this issue for version 0.13.0.  This issue is only present in 0.13.1 and 0.13.2 of ui.bootstrap.

Having same issue. My temporary fix is to wrap my overridden template template/datepicker/popup.html with additional <div>...</div>

@codeorganic the datepicker does not use ngAnimate for anything - the stack trace of the errors are also sole with ngAnimate. That explanation is not the proper way to evaluate where the bug lies.

@wesleycho okay sounds good
@moonboyio Do you have a working plnkr.co with your fix?

@wesleycho
This is a simple example: http://plnkr.co/edit/iaZGS6mYvMiJY5pu19Ig?p=preview
See additional div wrapper in a template.

@wesleycho I no longer get the issue with the code from @moonboyio
Is this something that we can get implemented into ui.bootstrap ?

Looks like there is a major problem with that proposed fix - it breaks expected behavior of the dropdown menu, as exposed by unit tests.

The fix is now available on AngularJS 1.3.18:
https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1318-collective-penmanship-2015-08-18
This fixed the issue in my project.

Perfect!
Looks like this resolved itself :) .

Great job!


Update feedstock to use cirun-openstack-gpu-large, cirun-openstack-cpu-large with Cirun

Note that only builds triggered by maintainers of the feedstock (and core)
who have accepted the terms of service and privacy policy will run
on Github actions via Cirun.

[x] Maintainers have accepted the terms of service and privacy policy
at https://github.com/Quansight/open-gpu-server

Also, note that rerendering with Github actions as CI provider must be done
locally in the future for this feedstock.

Superseded by #16 (see also #15).


Laptop battery died and after starting it up again I have no data.  Need help

Once I booted up the laptop again I went into a terminal and tried to start everything up again with docker-compose up.  I got some errors about not being able to bind to <IP_ADDRESS>:3000 ect.  I tried rebooting and bringing container down and then up again. I also tried to start it all with a change to the YML (setting the ports to 4000 instead of 4000:4000)  And I finally got it working with a simple reboot (it seems the containers all start at boot time) but all my data is gone.  I only have 2 hours worth now.
One other thing... The setting in Teslamate GUI are all set to default.
Can anyone talk me through how to check the database and or restore the last month of data?  AM I just SOL?

So know understand that the Docker containers were probably running in a different instance and when I opened a terminal and tried to bring the server down and then up it wasn't acting in the same instance so I wasnt actually bringing it down.  Then since it was still running it was still allocating the ports and hense the Bind errors I got.   I did try to list the running containers but it didn't understand what it was telling me.
So I'm still very unsure what my current situation is and what happened to all the data.  I don't know how to link to the container that is running the database.  I don't know how to check the connection to that datbase and why it seems I have created a new empty database now.

It depends how you have set up your docker volumes. If you don't have a db volume, the data might be still inside the old stopped db container if it's not deleted. This is not really a teslamate specific question.
I personally recommend you buy a cheap VM from e.g. digital ocean and keep teslamate running there.


Bar interface does not match Alpaca Bar

Description
I'm using getBars() which returns PageOfBars containing Bar[], and RawPageOfBars containing RawBar[].
Using typescript, I'm unable to access vw and n as it's not typed, and S is undefined.
The API returns:
{
    c: 221.72,
    h: 222.99,
    l: 206.22,
    n: 1157762,
    o: 208.3,
    t: '2022-10-13T04:00:00Z',
    v: 94549943,
    vw: 215.480385
},

However, Bar is:
export interface Bar {
  S: string;
  t: Date;
  o: number;
  h: number;
  l: number;
  c: number;
  v: number;
}

and RawBar:
export interface RawBar {
  S: string;
  t: string;
  o: number;
  h: number;
  l: number;
  c: number;
  v: number;
}

Expected
Type interface should match what the API returns. Also, I would expect raw to give an any or object type as that's truly raw. I don't see a purpose of raw otherwise, reference:
bars: (page.bars == null ? [] : page.bars).map((bar) => ({
    raw: () => bar,
    ...bar,
    t: new Date(bar.t),
})),

Reproduction
const pageOfBars = await.getBars({ ... })
const bars = pageOfBars.bars
bars.map(b => b.vm) // Property 'vm' does not exist on type 'Bar'.

👀

raw is not present in v7. do you mind just casting this for now?

No problem, I'm not blocked, just wanted to report the bug.

im struggling to find time to finish v7 😢

Np. Do you know why alpaca-ts is necessary considering the alpaca-trade-api-js contains types definitions? But also why are the types mapped behind a non-typed function?
https://github.com/alpacahq/alpaca-trade-api-js/blob/master/lib/alpaca-trade-api.js#L148:
getBarsV2(symbol, options, config = this.configuration) { // <--- not typed
    return dataV2.getBars(symbol, options, config); // <-- typed, but not accessible...
}

code quality and extensibility

v7 is pretty sweet. check out the src in #113

Ok, I can try to use it from now on, but when I tried installing it using npm i git@github.com:alpacahq/alpaca-ts.git#v7, vscode says:
"Cannot find module '@master-chief/alpaca-ts' or its corresponding type declarations."
My package.json shows:
"@master-chief/alpaca-ts": "github:alpacahq/alpaca-ts#v7",

I see the package and files in node_modules, and I'm importing like:
import { AlpacaClient } from '@master-chief/alpaca-ts'
Did I install it correctly?

Oh, specifying the path to index worked:
import { Client } from '@master-chief/alpaca-ts/src/index'
However, I'm using OAuth, and it doesn't look like you support access_token auth yet. If you can add that, then I'll use it from now on.

Last comment on this. I've edited the files myself:
In Client.ts I updated ClientOptions and the constructor:
interface ClientOptions {
  paper: boolean;
  credentials: {
    key: string;
    secret: string;
  } | {
    access_token: string;
  };
}

export class Client {
...
  constructor(
    options?: ClientOptions,
    HttpRequest: HttpRequestConstructor = AxiosHttpRequest
  ) {
    const { paper, credentials } = options ?? {};

    if (!credentials) {
      throw new Error("No!")
    }

    // base request object for all requests
    // changes based on paper/live mode and/or data endpoints
    this.baseHttpRequest = new HttpRequest({
      BASE:
        paper === true || paper === undefined
          ? "https://paper-api.alpaca.markets"
          : "https://api.alpaca.markets",
      HEADERS: ('access_token' in credentials)
        ? {
          "Authorization": `Bearer ${credentials.access_token}`
        } : {
          "APCA-API-KEY-ID": credentials.key,
          "APCA-API-SECRET-KEY": credentials.secret,
        },
    });
  }
...

And I was able to get the bars, including the vm property!


Add extended sequential and repeat

This PR add repeat functionality to torch.nn.sequential.
The repeat behaves the same way as the one in chainer.
The tests cases are copied from chainer and modified to pytorch.

/test

/test

Please, fix flake8 errors

/test

Sorry, I just added more coverage to the test, can you please review it again? @emcastillo

/test


How to replace Bluebird with Native Promise?

I do not use the capabilities of Bluebird. But because of him, I have mixed the types of Native Promise (async/await) and Bluebird. In Sequelize, you can replace the library.

Hey @negezor, Sequelize.Promise is a way to access the bluebird promise object, but is this intended to be overridden? I don't know. Is there any recommendation from sequelize regarding replacing bluebird with native promises? If this is possible with pure sequelize it should be also possible with sequelize-typescript. Hope this helps!

Just noticed that this is only a link. Writing code every night is not the best 😅


add PkgEval badge

add PkgEval badge
add tests for PkgEvalBadge

An example of this badge can be seen in this repo- https://github.com/JuliaPhysics/Mueller.jl

It should be ready to go! Thanks for the review.


update @actions/core and fix octokit api access

octokit moved its rest api to rest namespace
closes https://github.com/SkynetLabs/deploy-to-skynet-action/issues/4

Isn't node_modules typically in .gitignore?

github actions require node_modules to be committed


Stream notification keeps showing up

No matter how many times i disable the stream notifications, remove my stream and so on, she keeps on sending it, and at this point it doesnt make sense anymore

How did you remove the stream? Using twitch lobotomit or using the link?

Tried every option i could find. As shown in the screen, shes saying im not following anything, but then she sends it anyway.  Apparently the invited bot kept posting that, but i never used the command with her. Of course i removed it all and she was still sending it, because i removed it from the hosted one. They have different prefixes, so i have no clue how it happened

Can't reproduce this anyway


Media Picker: custom collection description doesn't show if no metadata is selected

we lost SourceOrCollectionOrSearch.js in merge

no I see it was renamed to OpenWebMediaItem


Chat history Persistence in WebChat window

Hello Guys,
I have a requirement of maintaining chat history and loading them back in a window after a (page refresh)/(close and opening the window).
ISSUE : Buttons/carousel/Adaptive cards/Hero Cards  events/ properties are not loading(ie; when i click on button or any event, actions are not happening).
Images: Bot chat window HTML controls

Bot :

DESCRIPTION:
In order to achieve the requirement i had 2 options.

BotFramework _ Directline JS :
https://github.com/Microsoft/BotFramework-DirectLineJS
I guess using this we can only get conversation history and where we couldn't load back the conversation history in chat window.
Though we can get the conversation history we have to send all the messages to bot again.

So i had opted 2nd one.

Store the html controls and Load it in the bot div: When sending or receiving  message action is happening from bot am storing the html controls(i.e;  controls under wc-message-groups class in local storage) and binding back to the div on page load if data exists.

This works for me to show conversation history in a chat window. But I am not able to get the events/actions for buttons.
Can we do this with Directline JS or is there any option to load properties/events to controls?
Please help me with this issue.
Thanks in Advance

I have implemented the 2nd option for a long time now, but eagerly waiting for the implementation of Option #1
@BhargavJanardhan, @billba  any suggestions on where should we use it, I used it in the
botchat.js file inside
function p(t)
where we validate the type of action, else throw
error("Actions may not have an undefined "type" property. Have you misspelled a constant?")
saving conversation in session
if (t && (t.type == "Send_Message_Succeed" || t.type == "Receive_Message")) {
      saveConversation();
}

still understanding the flow in botchat.js so would be nice if you guys can point to a better location for my code

@pratyushdhanuka When some action is happening in the chat window(i.e; when we send a message or when we get a message) we must store the data. Below are the steps.
Storing conversation from chat window to local storage.

We must stringify the html(contents as I have marked in the screenshot) and store in local storage.
Save the html in local storage whenever you send or receive a message.
Retrieve conversation and appending in Chat window
After loading the Bot window get the conversation stored in local storage.
Parse the data to html and append to the class wc-message-groups.


Move help text inside the label when Choice is stacked

In a PR for Beacon Builder @ItsJonQ suggested making the help text part of the label so it's clickable when using the stacked style: https://github.com/helpscout/hs-app/pull/5934#issuecomment-442864744
This PR moves the help text inside the label only when it is stacked.

I'm gunning for that 🥈


[SPARK-18448][CORE] SparkSession should implement java.lang.AutoCloseable like JavaSparkContext

What changes were proposed in this pull request?
Just adds close() + Closeable as a synonym for stop(). This makes it usable in Java in try-with-resources, as suggested by @ash211  (Closeable extends AutoCloseable BTW)
How was this patch tested?
Existing tests

Test build #68854 has started for PR 15932 at commit 577502f.

Test build #68854 has finished for PR 15932 at commit 577502f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68854/
Test PASSed.

Merged build finished. Test PASSed.

Yep that's precisely what I was envisioning.  Thanks @srowen !

Nice - given it's a tiny change I'd put this in 2.1, unless somebody else objects.
@srowen ?

Sure I'll put it in first thing tomorrow if there are no objections.

Great!

Merged to master/2.1


remove unused dependencies

Per the contribution guidelines, we expect a pull request to be related to an existing post on the Lift mailing list where someone has indicated that a PR should in fact be opened. Please go ahead and start that thread and we can reopen this PR once it's been confirmed that it's good to go.
In this particular case, do list out the dependencies you'd like to remove; some folks who likely monitor the ML more closely that Github will be able to see if anything jumps out as still-needed for whatever reason.


Safety - Time validity

I have a doubt about recaptcha.
I am currently making simple post request to recaptcha server and check success is true.
Is there any possibility that someone verify recaptcha once and save the response and then he can make POST request to my site?
Clearly, I want to know what is the response for the recaptcha verified before 1 week? (If someone saves the response code and uses every time)

Sorry.  I am unable to explain correctly.


Change Jaeger CR to use es-self-provisioned approach - depends on es-…

…operator being deployed
Signed-off-by: Gary Brown<EMAIL_ADDRESS>

For completeness adding a draft PR that shows how the Jaeger CR should be changed to use the elasticsearch operator - however does not currently describe how to install this operator. Can be installed from operatorhub.

@rcernich I've updated the README to include instructions for installing es-operator 4.1. Would you be able to test the changes against these instructions using the updated production-elasticsearch template?
Alternatively, are there instructions for how to best test the istio-operator from local changes to the helm chart? I've tested the jaeger operator against the es-operator and seems to work fine.

@rcernich If you could take another look - I've removed the old ES templates and added instructions to the readme, if you want to give them a try.

@rcernich Could this be merged now?

Can you add this to the docs too?

@brian-avery Not sure what you mean? README has been updated - is there somewhere else?

Hi @objectiser These are the add (https://github.com/Maistra/maistra.github.io/blob/maistra-1.0/topics/docs/snippets/install_jaeger.adoc) and removal (https://github.com/Maistra/maistra.github.io/blob/maistra-1.0/topics/docs/snippets/remove_jaeger.adoc) docs for Jaeger.

@brian-avery ok thanks - I'll do a PR now.

Thanks!

https://github.com/Maistra/maistra.github.io/pull/65


"afUpdateDemo" needs either "schema" or "collection" attribute

I'm passing collection=Collections.Projects doc=editedProject. The former returns Projects.find({_id:this._id}), so I'm pointing to the right doc. Any ideas why I'm getting the error above? Cheers!!

Not without seeing a reproduction. Maybe Collections.Projects helper is not set to anything.

No, I haven't seen the Collections.Projects explicitly to anything. Is this not about having a collection called Projects? Cheers

Should the helper return all Projects collection, ie. Projects.find() ?

How are you defining the helper? In some circumstances, it can lose prototype. Or it could be related to code load order.

I was defining the helper in the template helpers (Template.name.helpers). This would use _id to get the item from collection that update was attempted on. Other than that I tried to follow the method that uses Template.registerHelper, as in the demo. Neither did work, I changed the method to one shown in Discover Meteor book (I need to do some custom inserts anyway, but was curious to see the AutoForm update in action), so I'll mark this issue as closed. Thanks a bunch for all awesome packages Aldeed!


Proposal: supporting second derivatives

Second derivatives are useful on some cases (see https://github.com/tinygrad/tinygrad/pull/5701), but not possible by the way autodiff works in Tinygrad. Here is my take on how they could be supported with no expected extra cost:
Let's take scalar derivatives as an example (higher dimensional derivatives are pretty much the same in the implementation context).
A simple example is for torch is:
def f(x): return x**3
t = Tensor(3.0, requires_grad=True)
fout = f(t) # Tensor(27.0)
fout.backward(retain_graph=True)
df_dt = t.grad # the derivative function is 3x ** 2, so derivative will be 81.0. This means 'how does the output of the function change when I change t

What happens here is that fout 'remembers' where it came from w.r.t its inputs (the leaf tensors marked as requires_grad). Now, if we wanted to do a second derivative in PyTorch, it would be like this
t.grad = None # the graph will be 'backpropagated again', but we don't want it to affect the new calculation.
df_dt.backward() # second derivative is 6x, so derivative will be 18.0. This means 'how does the first derivative change when I change t'. This is why we are doing .backward() on the first derivative.
d2f_dt2 = t.grad

Now, what is happening here? df_dt knows where it came from w.r.t its inputs (t in this case)! (at least that is what happens in torch). However, this is how a derivative is created in tinygrad:
class Neg(Function):
  def forward(self, x:LazyBuffer) -> LazyBuffer: return x.e(UnaryOps.NEG)
  def backward(self, grad_output:LazyBuffer) -> LazyBuffer: return grad_output.e(UnaryOps.NEG)

As you can see, the .backward() works with LazyBuffers, but they do not handle autodiff. So if we run the previous example in tinygrad, the second derivative will come out as 'None', because the first derivative does not know where it came from w.r.t its inputs (the _ctx of the grad is None). The solution here is, at first glance:
1 - Support retain_graph : easy, just do not delete the self._ctx if retain_graph = True. That way the graph information remains.
2 - The Function class needs to work at Tensor level for the backward function. Example:
class Neg(Function):
  def forward(self, x:LazyBuffer) -> LazyBuffer: return x.e(UnaryOps.NEG)
  def backward(self, grad_output:Tensor) -> Tensor: return -grad_output

This way, the gradients know where they came from at Tensor level, so you can compute 'how does the gradient change wrt this input'. In a similar way that a computational graph is constructed from inputs to outputs, one will be constructed from inputs to grads. This should not change performance at all (probably) since the underlying LazyBuffer ops should be similar. Lines will not be more (or at least significantly more).
If this looks nice, I can try to get it working:) Just wanted to ask for opinions since it is a significant change.

If you want to change Backward to be tensor, what do you do about saved parameters?

If you want to change Backward to be tensor, what do you do about saved parameters?

I don't get this. Why would it interfer with saved params?

saved params are LazyBuffers. look at the other functions.
better yet, just try this and see if it works

saved params are LazyBuffers. look at the other functions.
better yet, just try this and see if it works

Oh got the quesrion, did not understand it at first. Well, the only way is to save them also as tensors. This is what torch does under the hood. Will look into the simplest way to do it.

supported with the new gradient api


Advance DF 0ct-30 by SPM round-robin commit.

Refer to this PR for the list of patches:
https://github.com/influxdata/arrow-datafusion/pull/48
How the different "oct-30" upgrades are related:

We were on commit 922b39967a6eb3d7d79338d8c5a842b3f2da9be7 with the original Oct-30 upgrade in iox.

this included the revert of the stringview enablement

.

we then "advanced" by a single commit, by pointing iox to the commit before the stringview revert. 50e1209c119261692d739afaf4ce509a93833ea4

.

now we have a new branch, that adds back the single commit for SPM round robin.

❤


Static Port channel commit

Description:
This change enhances the port channel feature by enabling users to configure PortChannel as static (load balancing) or dynamic (LACP). Modifications were added based on the previous SONiC community HLD - https://github.com/sonic-net/SONiC/pull/1039.
Test logs - Static portchannel log.pdf

@prasadsriramps Thanks for your work. Are you testing this with an actual device?

Thanks.
Can you update here to include mode inside the state container?
Goldstone YANG models follow the config / state structure of OpenConfig models.
When querying the sysrepo operational datastore, the config containers in the model are populated automatically by copying the contents of the sysrepo running datastore. This indicates the configuration intention of the operator. On the other hand, the state containers need to be populated manually in the oper_cb to share the actual status of the system.

Hi Wataru,
The requested changes have been made.
I also bring to your attention another PR in the usonic repository (https://github.com/oopt-goldstone/usonic/pull/6) that addresses the teamd related changes for static portchannel. Kindly review them whenever possible.
regards,
Prasad Sriram

@prasadsriramps Thanks. I left several review comments. Please take a look. I'll check the usonic PR.


Provide readonly access to the S3 bucket for all of LINZ

User Story

So that I can browse and extract data with the S3 API, as a LINZ Data Analyst or Developer, I want authorization to list, browse, and extract (readonly role) data from the Data Lake S3 bucket.

Acceptance Criteria

[ ] Given I have a LINZ AD account (part of the 'All-LINZ-Staff' AD group), when  I open myapplications.microsoft.com, then I can assume the role that allows me to read S3 bucket data from the data lake
[ ] Given I have a LINZ AWS account (member of LINZ Org), when I attempt to assume the role from my LINZ AWS account, then I can assume the role that allows me to read S3 bucket data from the data lake
[ ] Given I have no valid LINZ AD account or a LINZ AWS account, when I open myapplications.microsoft.com, then I can not assume the role that allows me to read S3 bucket data from the data lake

Additional context

Tasks

[ ] Give access to all LINZ users, use existing 'all of LINZ' AD group - 2
[ ] Test manually

Definition of Ready

[ ] This story is ready to work on, according to the team's definition

Definition of Done

[ ] This story is done, according to the team's definition

All the AD roles appear to be broken on nonprod. Could you get this fixed @MitchellPaff ?

Tested and working just fine. Thanks @MitchellPaff


feat: support ecs execute-command to open a shell in a container

This PR adds support for the newly introduced ecs execute-command that allows you to open a shell inside a container. I used this to issue snuba migrations commands that helped me to mitigate https://github.com/Rungutan/sentry-fargate-cf-stack/issues/49

Superseded by https://github.com/Rungutan/sentry-fargate-cf-stack/pull/53


bug fix backward compatibility

This is the bug fix to be compatible with installed version 1.0.2 where all  4 checkboxes are checked per default and save button will be enabled if settings are undefined...

should we have a "undefined" handling also in js-code to make sure it also works for all users that do not open the admin-config and hit save

looks good, thank you!

Hey, your are faster than I can write... It's done too.

;-))


usb._interop.as_array should accept strings

In Python 3.5 array.fromstring was documented as being just an alias to array.frombytes.  Unfortunately that was not correct, and 4f3322e07fb651da35695f13aca27754ddc0d7b3 broke existing programs that relied on PyUSB automatically encoding unicode strings in UTF-8 (#344 (comment)).
We probably want to restore the old functionality for backwards compatibility, even though transparent encoding of strings is generally a bad idea.

The tutorial includes examples of endpoint.write('some string').


JUnit 4 runner extension for managing EventListener fields

This issue can't be implemented until #19 is done!
It should be possible to automatically initialize and register EventListener fields with the Browser's EventSystem. As with @Initialize and @ConfigurationValue multiple Browser fields should be handled by referencing their name as one of the targets.

static fields are not supported
only fields annotated with @Registered are considered by the extension
if a field is pre-initialized it's value will be used by the extension
if a field is not pre-initialized a new instance for the field's type will be instantiated using the default constructor
all of the defined EventListener fields are registered at the beginning of a test and de-registered at it's end
the extension is executed after Browser fields were initialized
in case there is only one @Managed Browser instance, this instance should be used to register the listener at
in case of multiple @Managed Browser instances, the name should be used to identify one or mor targets to register at

@RunWith(WebTesterJUnitRunner.class)
public class SingleBrowserTest {

    @Managed
    Browser browser;

    @Registered
    MyEventListener created; // will have new instance

    @Registered
    EventListener preInitialized = new MyEventListener(); // this instance will be used

    ...

}

@RunWith(WebTesterJUnitRunner.class)
public class MultiBrowserTest {

    @Managed("browser-1")
    Browser browser1;
    @Managed("browser-2")
    Browser browser2;

    @Registered(targets="browser-1")
    MyEventListener forBrowser1;
    @Registered(targets="browser-2")
    MyEventListener forBrowser2;

    @Registered(targets={"browser-1", "browser-2"})
    MyEventListener forBothBrowsers;

    ...

}

There is an open question for this in #26

Since JUnit 5 is looking to replace JUnit 4 for Java 8 Projects, there is no real value in further extending our JUnit 4 support module.


Regular updates & plots 1.0 update

Misc. notes
Improve structure of dvc run cmd ref.
Copy edits
finish updating dvc metrics/plots for 1.0 release, started in #1360
"working tree" -> "workspace" per iterative/dvc/pull/3914

Actually not totally ready for review. All the plots examples may be outdated 😕 I'll come back to this ASAP, but need to work on the Get Started today.

@jorgeorpinel the scope is growing, can we merge this?

[ ] Apply option changes from iterative/dvc/pull/3948

can we merge this?

My plan was to just approve these and merge in tandem when 1.0 is released... But I guess this one is less critical in that regard since plots is a new command so it's unlikely people are using the 0.94 version anyway. So yes.

But it needs an approval and I can't do it since the PR is mine.
p.s. let's just remember to address https://github.com/iterative/dvc.org/pull/1382#pullrequestreview-423722291 and https://github.com/iterative/dvc.org/pull/1382#issuecomment-638470763 too.

done! approved. One minor comment regarding changes in dvc add.

Addressed lots of things and I think this should be merged (but a review is pending so I can't rn — I can just dismiss if needed actually).
Summary of main pending questions from some comments above:

[ ] Double check all examples so they are still correct (older ones) and match their images (plots modify mainly). @Suor already reviewed a couple details in https://github.com/iterative/dvc.org/pull/1382#pullrequestreview-424070145 (thanks).
[ ] What about YAML? https://github.com/iterative/dvc.org/pull/1382#discussion_r434967192
[ ] Question on what metric files are supported by show/diff: https://github.com/iterative/dvc.org/pull/1382#pullrequestreview-425713399
[ ] Minor: uestion on possibly unnecessary note: https://github.com/iterative/dvc.org/pull/1382#pullrequestreview-425713344

^ This could be addressed in a separate PR though.

Few minor pending items related to this for the record:

[ ] Apply changes from iterative/dvc/pull/3963 once that is merged (unless this is merged first).
[ ] Possibly change the modify example explained in https://github.com/iterative/dvc.org/pull/1382#discussion_r436435646
EXTRA: Maybe address some of the discrepancies mentioned in this https://github.com/iterative/dvc.org/pull/1380#issuecomment-640181973

^ These could be addressed in a separate PR though.

OK so actually this PR is blocking at least 2 more down the line (the ones for add and run). Can we try to merge it and extract pending details into #1414 @shcheklein ? Thanks

@jorgeorpinel

OK so actually this PR is blocking at least 2 more down the line

Sure, I'm happy to focus on this one exclusively (and we should have probably do that yesterday) and get it done - there are no major things left.

Merged this, let's address left overs (if any as we go)


8.5 Uncertain estimation

What are good strategies to report uncertainties on DG and DDG?

Great, almost finished writing and compiling references for this section. I will update when finished and added to overleaf

Hey @brycestx how are you getting on here? I haven't seen an update on overleaf yet. Any can add it?

Hey @ppxasjsm that's interesting, you don't see any edits added at line 840? (I think my username is b.allen10 but I'm not sure how I show up on overleaf). I am still working on adding more substance and examples to the section and will update when I am finished.

Ah sorry, I missed this amongst Michael shirts updates. Do you know when you will be done with your updates?

@ppxasjsm great question. I was hoping to have it done last weekend, but alas it is already midweek. I will have it done by Friday morning.

@ppxasjsm Done with my updates for now.

Thank you!


unit test failed: cdc/sink/dmlsink/mq/dmlproducer.TestProducerAck

What did you do?
Just create a none codes changed PR, it trigger unit testing.
What did you expect to see?
unit tests run passed.
What did you see instead?
The CI job failed in make unit_test_in_verify_ci step:

=== FAIL: cdc/sink/dmlsink/mq/dmlproducer TestProducerAck (0.01s)

    testing.go:1446: race detected during execution of test

[2023/06/14 12:36:17.529 +08:00] [INFO] [factory.go:230] ["async producer exit since context is done"] [namespace=default] [changefeed=changefeed-test]

[2023/06/14 12:36:17.529 +08:00] [INFO] [factory.go:202] ["Close kafka async producer client success"] [namespace=default] [changefeed=changefeed-test] [duration=16.633µs]

[2023/06/14 12:36:17.530 +08:00] [INFO] [factory.go:216] ["Close kafka async producer success"] [namespace=default] [changefeed=changefeed-test] [duration=32.032µs]

[2023/06/14 12:36:27.517 +08:00] [INFO] [metrics_collector.go:83] ["Kafka metrics collector stopped"] [namespace=default] [changefeed=changefeed-test]

[2023/06/14 12:36:27.518 +08:00] [WARN] [kafka_dml_producer.go:148] ["Kafka DML producer already closed"] [namespace=default] [changefeed=changefeed-test]

[2023/06/14 12:36:27.518 +08:00] [INFO] [factory.go:202] ["Close kafka async producer client success"] [namespace=default] [changefeed=changefeed-test] [duration=23.986µs]

[2023/06/14 12:36:27.518 +08:00] [WARN] [factory.go:210] ["Close kafka async producer error"] [namespace=default] [changefeed=changefeed-test] [duration=34.657µs] [error="kafka: Failed to deliver 1 messages."]

=== FAIL: cdc/sink/dmlsink/mq/dmlproducer TestProducerSendMsgFailed (10.00s)

    testing.go:1446: race detected during execution of test

DONE 2944 tests, 4 skipped, 2 failures in 643.523s

Job build link: https://do.pingcap.net/jenkins/job/pingcap/job/tiflow/job/ghpr_verify/5714/ (may be rotated after some days)
Versions of the cluster

branch: master
commit sha: 20cc93b7a3a5cea9c2442da6e6f998d2e4c04f12
PR: https://github.com/pingcap/tiflow/pull/9218

/severity moderate

Also happened in:
https://do.pingcap.net/jenkins/job/pingcap/job/tiflow/job/release-7.2/job/ghpr_verify/8/
Ref: https://github.com/pingcap/tiflow/pull/9267

Stale issue.


paper_trail_versions should be sorted in ascending order based on version_inserted_at.

Is your feature request related to a problem? Please describe.
Executing Api.load!(:paper_trail_versions) |> Enum.sort_by(& &1.version_inserted_at) every time is cumbersome.
Describe the solution you'd like
Api.load!(:paper_trail_versions) should be automatically sorted based on version_inserted_at.

I'll do it.

Looks good to me, though, it would be nice if this was configurable. I sort them like a feed in reverse chronological order.


Variable interpolation in Kotlin

Changed the user manual (index.adoc) by adding a caution block in the section about variable interpolation.

Merged and updated release notes.
The rendered HTML will be published with the next picocli release.
Thank you for the contribution!


Macro Type not documented

I couldn't find the documentation for haxe.macro.MacroType in the Manual, maybe it should be added to the macro section ?
Also, there seems to be missing sections in "Limitations" ( 9.6.1 and 9.6.4 )

I think we should deprecate MacroType in favor of @:genericBuild.

That's why I didn't originally document it, but I guess it's still sort of useful in case you want to define a single structure type which doesn't depend on anything but global state.

Maybe I'm wrong, for some reason I thought the macro would be executed several times, but that's obviously not the case. So this for example would work too:
@:genericBuild(MyMacro.getFields())
class BuildFields<Const> {}

typedef Fields = BuildFields<"file.txt">;

It also looks much nicer. :) So yes I'm in the deprecation camp as well.

Given that @:genericBuild is not documented either I can't decide on this :)


fix apiMiddleware must not return promise on actions without [CALL_API]

typed this out myself to avoid huge merge conflict


ESbuild error with NextJS 13.1.6 (fix: rollback to 13.1.5)

Using "next": "^13.1.6", in the package.json (which is what npx create-next-app@latest as per the README.md of this project suggests) causes the following error when running npx @cloudflare/next-on-pages --watch. Can I suggest that this project pins dependencies until they are tested?
▶ Rolling back to v13.1.5 of NextJS allows it to build without errors.
Sample of the error:
⚡ Completed 'npx vercel build'.
⚡
▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]

    ../../../tmp/tm8non2pc5/index.func.js:304:79122:
      304 │ ...ThisContext=function(){return eval(this.code)},Script.prototype....
          ╵                                  ~~~~

  You can read more about direct eval and bundling here:
  https://esbuild.github.io/link/direct-eval

If you deploy this to Pages, it results in an "Internal Sever Error" being served (and the "Real-time Logs [Beta] giving an "✅ Ok" for the status 😿).

Hi @mountainash, I've been trying to reproduce this but I haven't had much luck, could you please provide some reproduction steps/code? :pray:
(also I would  suggest you to try with the latest Next.js version, I wonder if it is still an issue)
Also, you said that there is an error but the one you're providing is a warning, is that actually making your compilation fail?

Can I suggest that this project pins dependencies until they are tested?

We've recently updated our README, it doesn't actually pin the Next.js version but it says which one is the last version that we've tested (13.2.4) , we might do something better at some point but we'll probably want to get a better understanding of what we support and what not first

PS: for context I think that the eval comes from this vm-browserify/index.js


add support for modelsim on 64bit windows

also make sleep function compatible w/ all versions of windows (this
was an apparent undetected regression that broke windows support).

this addresses issue #354


Handle PCI bus ID

cudaDeviceGetByPCIBusId converts a PCI bus ID string to a device ID integer. It may be useful to add a feature which handles a PCI bus ID string to specify a device. The feature may be split into two functions:

a thin wrapper of cudaDeviceGetByPCIBusId
a conversion function from a PCI bus ID string to cupy Device object.

This is closed by #2531.


Continuum 93

Added Continuum 93. This is still work in progress, however, at this date, Continuum is fully working and anyone is able to write functional programs/games in its assembly language.

I got some trouble to launch, it holds me at the initial blank screen when I start "Continuum93.exe", and I can't get into the OS.

Here's its output:
os.asm.output.zip

Hi there! Thanks for trying it out. The OS isn't much of a show-off for now, just a blinking cursor on the bottom left side of the screen. However, if you started the Tools and pressed F9, you most likely directly entered the step-by-step debugging mode and you'd easily confuse that with a freeze. Try running Continuum.exe without starting tools and type "run asm/kb-scan.asm", for example. I'd expect you to be able to load the keyboard scan then. After that, you could start up Tools and debug the execution if you'd want. Or write another assembly program with notepad and run it.
I'll try and clear this ambiguity in my documentation with the next release
Again, I appreciate very much you taking a look, also thanks for this list! :D

Just did a few more tests here and all should be fine. Let me know what version of Windows are you running it onto or if it's a virtual machine. To be honest, I haven't tested on VM's.

Thanks for the information. I'm running a Win 10 (64bit), no VM, the language and locale is set to China.
I tried a clean launching without starting the tool, but the issue remained, it didn't respond to my input.
https://github.com/paladin-t/fantasy/assets/2062224/4b12b948-cb0e-43c9-bfbc-3ad100de3c89

Oh, I see what's going on! The video clarified it, thanks.
The good news is that it's working as intended. The bad news is that the user interface isn't the most clear.
So, what you're doing: you're starting to type on the virtual keyboard and you can see characters being fed to the emulator. Then you press Enter and the command is processed and immediately an error is shown on the top left of the same screen saying "Unknown command", because the command you entered is not recognized.

... but because you clicked on enter more than once, as soon as you hit enter a second time, the new empty command is processed and no error is shown.
The OS is currently a very basic one only allowing you a very limited set of actions.
You can try the command
cat
and that will show you a list of directories and files that reside in the "Data\filesystem" directory. Then, you can type:
run asm/kb-scan.asm
.. and that will load the demo program which is located in the "Data\filesystem\asm\kb-scan.asm" source file.
Anyway, point taken, for my next update I will improve the OS handling so messages are more visible and won't get cleared that fast. This version of the OS is a quick and dirty way for the user to be able to load *.asm files he can create to play with.

Ah, I was so impatient, thanks for the help.
Added to the list, look forward to see your future update.

No problem, I'll actually write a decent OS for next release 😊. Cheers and thanks!


Android Basics: Activities and intents - Missing onClickListener

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-activities-intents#5
In which task and step of the codelab can this issue be found?
Task 6. - Set Up DetailActivity -> Cleaning up -> step 6
Describe the problem
There's no onClickListener in WordAdapter in the starter code.
This step is in some way repeating the step 1 in task 7. This could cause cofusion. To find the missing peice of code I looked at the solution code (task 10)
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:  4.1.1
API version of the emulator: 27
Additional information
Include screenshots if they would be useful in clarifying the problem.

@Jacob276
Thank you for reaching out to us.
You will add holder.button.setOnClickListener { } callback method in the Task 5.
Let us know if that answers your question.

@Jacob276
Thank you for reaching out to us.
You will add holder.button.setOnClickListener { } callback method in the Task 5.
Let us know if that answers your question.

@Jacob276
Thank you so much for reporting this issue. This is fixed and will be published soon.

@Jacob276
Thank you so much for reporting this issue. This is fixed and will be published soon.


Missing EC2 instance types

Hello!

Vote on this issue by adding a 👍 reaction
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details
It appears some recent EC2 instance types are currently missing in this provider.

g4ad.xlarge
g4ad.2xlarge

These have been released in late July 2021.
Thanks

Closed as part of #1856


[Enhancement] more profile message (backport #28562 #28524)

Fixes #issue
backport #28562 #28524
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Throw vscode dialog if qsharp.json isn't valid

@idavis pointed out that if a qsharp.json file is invalid (empty, or invalid JSON), we log to the
extension logs and fail. This is not a great user experience, as the error is almost completely
undiscoverable.

Showing up a dialog every time we try to happen to parse the manifest is not good UX...  Can't we just show this in the problems view? (i.e. surface it as an error from the language service?) If this is supposed to be a quick-and-dirty fix - and you don't want to mess with the language service right now - you can also manipulate the Problems list directly through the vscode api (and clear the error when once we've successfully parsed the qsharp.json)


Create 0.0.8 Beta 8 installer

Once all Beta 8 issues are out of the way the installer can be created and pushed to the main website.
This needs to be done in line with the procedure in the installer repo.

Status:
Ensure all issues are completed for milestone.
Update SPV checkpoints file.
Update the local help.
Update the localisation files from crowdin.com.
Merge from `develop` into `master`, tag code.
Final verification that functional tests (FEST, stress and emulator) run correctly.
Final verification that latest hardware wallet firmware is supported. Trezor 1.3.3
Check correct copy of multibit-hd.jar is in installer target directory.
Create and sign installer using Windows and Apple developer keys.
Create and check PGP signatures for binaries
Create and check SHA256 files for binaries.
Create release note with SHA256 hashs of the binaries, Bitcoin signed by the MultiBit donation address.
Verify the release note with earlier version of MultiBit HD.
Push to website following the directory naming conventions (expect Reddit notification from this point).
Download installers from website and smoketest on each operating system.
Update the beta website code and blog to reflect the new version.
Push the beta website code.
Issue a Private Beta Group notification.
Issue general notification on social media Reddit/Twitter/BitcoinTalk if not already in placeWait 24 hours for feedback. Done
Push to `releases/multibit-hd/upgrade.xml` so that auto updates start.

The installers have been advertised on Reddit and any fixes will be made in a separate milestone.
Closing.


404 for the release note on the F# Language

Case 1:

=> https://fsharp.github.io/fsharp-compiler-docs/release-notes/Language.md
Case 2:

For case 2 you would need to check what happens when you evaluate https://github.com/dotnet/fsharp/blob/main/docs/release-notes/Language.fsx

Think https://github.com/dotnet/fsharp/pull/17750 will do the trick.

Should be fixed now, https://fsharp.github.io/fsharp-compiler-docs/release-notes/Language.html

confirmed, thanks!


Add option to disable git repo initialization

It can work similarly to --vcs none in Cargo in, except here it should be contrasted from --git option (describing the template repo url) in new (and init #193) commands and support only git/no-vcs states in the current implementation.
This would help with rustwasm/wasm-pack#901.

#290 disables git initialization when generating stuff within an existing repository - will it be enough, or will an actual option still be needed if/when it is merged?
I'd be happy to volunteer to implement it, though what should the option be called?

I guess this was more of a general feature request since cargo new behaves this way. For consistency reasons I think it makes sense.
Of course every contribution is warmly welcomed.

@sassman
Maybe close this one?

This will be released with 0.6.0 (pretty soon) and can be tried out on master.


Cloud storage rewrite with GCloud?

Does GCloud support Google Cloud Storage rewrite?

I don't believe we do at this time.

Do you have any plan to add rewrite?  It is hard for the user to rotate their encryption key without rewrite.

That's a great use case!
@tseaver & @dhermes WDYT? I can start this today or tomorrow if there are not blockers.

@tseaver @dhermes @jjg this is also a blocking issue for us to be able to re-write storage usage samples using this library.

Based on the rewrite API docs, it seems like this should be a method on Bucket, parallel to Bucket.copy_blob.  Something like:

    def rewrite_blob(self, blob, destination_bucket, new_name, client=None):
        """Rewrite the given blob to the given bucket, with a new name.

        :type blob: :class:`gcloud.storage.blob.Blob`
        :param blob: The blob to be copied.

        :type destination_bucket: :class:`gcloud.storage.bucket.Bucket`
        :param destination_bucket: The bucket into which the blob should be
                                   copied.

        :type new_name: string
        :param new_name: (optional) the new name for the copied file.

        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
        :param client: Optional. The client to use.  If not passed, falls back
                       to the ``client`` stored on the current bucket.

        :rtype: bytes
        :returns: The new Blob.
        """
        client = self._require_client(client)
        if new_name is None:
            new_name = blob.name
        new_blob = Blob(bucket=destination_bucket, name=new_name)
        api_path = blob.path + '/rewriteTo' + new_blob.path
        resource = dict(blob._properties)
        result = client.connection.api_request(
            method='POST', path=api_path, data=resource,
            _target_object=new_blob)
        token = result.get('rewriteToken')
        while token not in (None, ''):
            query_params = {'rewriteToken': token}
            result = client.connection.api_request(
                method='POST', path=api_path, query_params=query_params,
                _target_object=new_blob)
            token = result.get('rewriteToken')
        new_blob._set_properties(result['resource'])
        return new_blob

That would be fine, alternatively blob.rewrite_to(destination_name, source_encryption_key=..., encryption_key=...) would be acceptable as well.
N.B. this method must take two encryption key parameters, one for the source and one for the destination. This is the primary use case of the rewrite method.

@jonparrott Where in the rewrite request are the keys passed?  I see fields in the Object resource which are metadata about the encryption, but not the key itself.

In the headers, hilariously enough.
See the currently sample here.

@jonparrott Why are those values not part of the payload? Worse, why is that not documented?

@tseaver I have no idea - this API predates me joining and I'm not part of the API review team. My hunch is that it was a way to get around releasing a new API version. Maybe @Capstan can provide some background.

/me grumbles This is exactly the kind of thing that is supposed to make you release a new API version.

@tseaver don't shoot the messenger. I thought it was whack when I had to write the samples for it using google-api-python-client, because it's awkward to add headers using that library.

@jonparrott I'm grumbling about that (hypothetical) motive, which predates you. New API release or not, the API docs should still be updated to define the (added?) behaviors:  how did you learn about those headers in the first place?

https://cloud.google.com/storage/docs/encryption

tseaver@ I've filed an internal bug about Rewrite docs not saying enough about how to use it with customer-supplied encryption keys. I'm not entirely sure why it couldn't have been added to the post body, but I do know that ensuring that no key is ever persisted anywhere is of paramount importance and may have guided that decision.

Bump, any update on this?

It looks like it was last updated August 19th,
And now it talks about the headers. I'm not sure if that was there before or if that's what we were looking for?
https://cloud.google.com/storage/docs/encryption#request

Re: object resource having encryption key metadata but not key materials:  It is a little bit confusing in the first glance, as object resources can appear in both requests and responses.  But if you look more closely, the table denotes which fields are "writable".  Only those fields can be updated.  Key metadata cannot be updated, they are only helpful in responses.
Re: why the keys are passed in as headers rather than the post body:  Actually adding the keys to the request body is not as straightforward as it seems.  In our current API, a request body either contains object data or object metadata.  And key materials are neither.

@tseaver @dhermes can I get a release of the storage client so I can update the sample?

@dhermes I'm not quite sure how you've made sub-project releases after the umbrella-0.20.0 tag.  I just ran $ git log umbrella-0.20.0..HEAD -- storage/ and got the following:

Making max_results part of the base Iterator class. (Fixing #1467)
Add 'Blob.compose' API wrapper method. (Closing #1982)
Add 'Blob.rewrite' API wrapper method. (Closing #1960)
Add new storage classes. (PR #2571)
Your iterator work.

@tseaver I think it's more robust just to use the GitHub UI (since people can merge PRs however they like now, and we haven't disabled the other two options, though we can):
https://github.com/GoogleCloudPlatform/google-cloud-python/commits/master/storage?since=2016-09-27

@dhermes FWIW, I wasn't grepping for "Merged" commits:  I looked at the whole history for /storage since that tag.

Haha DERP. I should've read closely.

Bump - I can has release?

@jonparrott It's not as easy as it seems. It requires a core release as well, which has implications on all packages.

The core change being the iterator work? If so, I can wait.

The core change being the iterator work?

Yes


AWS provider 3.x.x

what
Upgrade for AWS provider 3.x.x
why

Provide the justifications for the changes (e.g. business case).
Describe why these changes were made (e.g. why do these commits fix the problem?)
Use bullet points to be concise and to the point.

references

Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow).
Use closes #123, if this PR closes a GitHub issue #123

/rebuild-readme

/test all


Can't install ubuntu 18.04 with xorg

name: bionic
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/bionic...
crouton: version 1-20190120145639~master:5bf96711
release: bionic
architecture: amd64
targets: xorg,xfce
host: version 11316.165.0 (Official Build) stable-channel coral
kernel: Linux localhost 4.4.164-15546-gd8c7defc947f #1 SMP PREEMPT Sun Mar 3 23:20:37 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/bionic...

Please describe your issue:
When trying to install XFCE with xorg I get the following error:
libdrm-dev set to automatically installed.
Compiling /usr/local/lib/croutonfreon.so...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'xserver-xorg-video-all' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xorg : Depends: xserver-xorg (>= 1:7.7+19ubuntu7.1)
 xserver-xorg-video-intel : Depends: xorg-video-abi-23
                            Depends: xserver-xorg-core (>= 2:<IP_ADDRESS>1)
E: Unable to correct problems, you have held broken packages.
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/bionic...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/bionic...

If known, describe the steps to reproduce the issue:
Command used to create chroot:
sudo sh crouton -r bionic -t xorg,xfce

Chromebook Model: Asus C423
Processor: Intel Celeron N3350

Duping to:

Bionic install failure: The following packages have unmet dependencies (xorg, xserver-xorg-video-intel) #3995

Please track it there.
-DennisLfromGA


fix(go): set the go directive to 1.22

Hi @alexfalkowski, thanks for your work maintaining this package :pray:
I'm an etcd contributor, and every time we have an from this dependency, it bumps our go directive to the latest Go patch. After we run our automation, we need to change the version (to remove the patch) manually.
The go directive from the go.mod file should be set to the minimum version required to compile packages from the module. This project's code should work fine with any version greater than 1.22. This avoids projects that depend on this package getting a go directive version bump every time there's a new version of this dependency.
The previous statement is explained in more detail in Go's documentation.
It would be great if you could accept this pull request, as other projects that depend on this package are probably experiencing the same symptom. Because etcd is an open source project and it can be used as a dependency, too. We need to set the Go version to the minimum supported version, and there's no reason to lock it to the patch.
Thanks again!

@ivanvc thanks for reaching out. Thanks for the explanation. Sorry for causing this issue. I will accept this patch.


eap74-rhel84-vmss-payg-patch1

The following things are changed in UiDefinition and MainTempalte:

Blob Storage option is removed from the UiDefinition.
Minor change in ARM template

Hi @jamesfalkner, I will be adding another commit to this same PR. There was minor change in regex part of StorageAccount_Name. Once that is done. You can accept the PR, and republish the offer.

Hi @jamesfalkner, I have added another commit to this same PR. There was minor change in regex part of StorageAccount_Name. You can accept the PR, and republish the offer.


Interface support generic

hi @LachlanMcKee
I write a generic interface, but the code gen error
@AutoGsonAdapter
public interface ApiResponse<T> {
  List<T> result();
}

public final class ApiResponse_GsonPathModel implements ApiResponse {
  private final List<T> result;
  ...
}

Hi @jasonni
Can you please explain what you are trying to achieve with the interface you have described above?
The annotation processor needs to know what the generic type is for any annotated model. I presume that you are trying to extend this interface, or implement it on a concrete model?
Ideally what you are attempting to do should be done as follows:
interface ApiResponse<T> {
  List<T> result();
}

@AutoGsonAdapter
interface UserApiResponse extends ApiResponse<User> {

}

However upon trying to do this, I found that the processor still has an issue with the generics. I will have to investigate this.
There is a way to solve this within version 1.8.0. You can directly extend the List interface and specify a rootField:
@AutoGsonAdapter(rootField = "result")
interface UserApiResponse extends List<User> {
}

That will then generate the following:
public final class UserApiResponseList_GsonPathModel extends GsonPathElementList<UserDetails> implements UserApiResponseList {
  private final List<UserDetails> internalList;

  public UserApiResponseList_GsonPathModel(List<UserDetails> internalList) {
    this.internalList = internalList;
  }

  @Override
  protected List<UserDetails> getList() {
    return internalList;
  }
}

public final class UserApiResponseList_GsonTypeAdapter extends TypeAdapter<UserApiResponseList> {
  private static final int MANDATORY_INDEX_INTERNALLIST = 0;

  private static final int MANDATORY_FIELDS_SIZE = 1;

  private final Gson mGson;

  public UserApiResponseList_GsonTypeAdapter(Gson gson) {
    this.mGson = gson;
  }

  @Override
  public UserApiResponseList read(JsonReader in) throws IOException {

    // Ensure the object is not null.
    if (!isValidValue(in)) {
      return null;
    }
    java.util.List<User> value_internalList = null;
    boolean[] mandatoryFieldsCheckList = new boolean[MANDATORY_FIELDS_SIZE];

    int jsonFieldCounter0 = 0;
    in.beginObject();

    while (in.hasNext()) {
      if (jsonFieldCounter0 == 1) {
        in.skipValue();
        continue;
      }

      switch (in.nextName()) {
        case "result":
          jsonFieldCounter0++;

          // Ensure the object is not null.
          if (!isValidValue(in)) {
            break;
          }

          java.util.List<User> value_internalList_safe = mGson.getAdapter(new com.google.gson.reflect.TypeToken<java.util.List<User>>(){}).read(in);
          if (value_internalList_safe != null) {
            value_internalList = value_internalList_safe;
            mandatoryFieldsCheckList[MANDATORY_INDEX_INTERNALLIST] = true;

          } else {
            throw new gsonpath.JsonFieldMissingException("Mandatory JSON element 'internalList' was null for class 'UserApiResponseList_GsonPathModel'");
          }
          break;

        default:
          in.skipValue();
          break;
      }
    }

    in.endObject();

    // Mandatory object validation
    for (int mandatoryFieldIndex = 0; mandatoryFieldIndex < MANDATORY_FIELDS_SIZE; mandatoryFieldIndex++) {

      // Check if a mandatory value is missing.
      if (!mandatoryFieldsCheckList[mandatoryFieldIndex]) {

        // Find the field name of the missing json value.
        String fieldName = null;
        switch (mandatoryFieldIndex) {
          case MANDATORY_INDEX_INTERNALLIST:
            fieldName = "internalList";
            break;

        }
        throw new gsonpath.JsonFieldMissingException("Mandatory JSON element '" + fieldName + "' was not found for class 'UserApiResponseList_GsonPathModel'");
      }
    }
    return new UserApiResponseList_GsonPathModel(
      value_internalList
    );
  }

  @Override
  public void write(JsonWriter out, UserApiResponseList value) throws IOException {
  }
}

Please let me know if this solves your issue! :)

Hi @LachlanMcKee
This one is awesome!
@AutoGsonAdapter(rootField = "result")
interface UserApiResponse extends List<User> {
}

Thanks your help!

Glad that you find it useful!
I'm going to leave this issue open while I investigate the generics issue you have helped me uncover!

Hi @jasonni
I have just released version 1.8.1 that will now properly accept generics. You will be able to create a model like the one I suggested above. e.g.
interface ApiResponse<T> {
  List<T> getResult();
}

@AutoGsonAdapter
interface UserApiResponse extends ApiResponse<User> {

}

Let me know if you have any further suggestions or issues!


The editor has crashed in all mode

I tried safe mode and development mode will not work.
/usr/bin/atom: line 123:  1401 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ $ATOM_USER_FLAGS "$@" > "$ATOM_HOME/nohup.out" 2>&1
App load time: 324ms
Failed to get crash dump id.
Report Id:

and my --version:
Atom    : 1.7.1
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1

and my system
archlinux
gnome3.20

same issue here with the same versions.
system:
archlinux
i3

Duplicate of #11501

Actually, I think this is a duplicate of #11198.


Malformed Packet, cannot be picked up by remote ID scanner app

I tried to pick up the spoofed signals using OpenDroneID and Drone Scanner, both not working (they are working with real remote IDs from DJI drones)
so I use wireshark to take captures of the beacon packet sented, and found it is a mallformed packet. I believe that is the reason the packets are discarded.

remoteID_spoof_drones.zip

I found a fix, it is due to the wrong length of the tag. it can be fixed like this
    ie_vendor_parrot = scapy.Dot11EltVendorSpecific(
        ID=221, len=len(vendor_spec_data) + 3, oui=16387004, info=vendor_spec_data
    )

but I think my real issue is not here. How can I set up the wifi protocol being used? By default, it used 802.11b, but I found that DJI uses 802.11g. also, can I set up the wifi channel too?
I was reading scapy document, but it is like Arabic to me.
Thank you

Good that you found the fix. Regarding the channel, a generic example would be the following:
def generate_beacon_frame(ssid, ap_mac, channel):
    dot11 = Dot11(type=0, subtype=8, addr1="ff:ff:ff:ff:ff:ff",
                  addr2=ap_mac, addr3=ap_mac)
    beacon = Dot11Beacon(cap="ESS+privacy")
    essid = Dot11Elt(ID="SSID", info=ssid, len=len(ssid))
    channel = Dot11Elt(ID="DSset", info=chr(channel))
    frame = RadioTap()/dot11/beacon/essid/channel
    return frame
    channel = 6  # Change this to your desired channel

# Create a packet and send it in a loop to beacon on the specified channel
beacon_frame = generate_beacon_frame(ssid, ap_mac, channel)
sendp(beacon_frame, iface="wlan0", inter=0.1, loop=True)

For the specific case of this spoofer, you should add a new Dot11Elt. Try this (just above line 186):
channel = 6 ## here you use the channel number you want
ie_channel = Dot11Elt(ID="DSset", info=chr(channel))
return scapy.RadioTap() / scapy.Dot11(type=0, subtype=8, addr1=dest_addr, addr2=src_addr,
                                          addr3=src_addr) / scapy.Dot11Beacon() / ie_ssid / ie_channel / ie_vendor_parrot

Let me know if that works. Then we could add it as an argument for the script.

and how about the protocol? Do you have any idea how to enable 802.11g only? or maybe use the iw command?


ng-model

<ng-quill-editor ng-model="vm.notes">
    <ng-quill-toolbar modules="vm.toolbarConfig" />
 </ng-quill-editor>```

I have something like this but vm.notes cannot be referenced.

and how is vm.notes defined?

any updates?

I started using the cdn for now it seems to work.


Conform to the folder naming convention

In the recent merged PR: https://github.com/aws-observability/aws-otel-test-framework/pull/247, we introduced a new terraform module, but found it didn't conform to the current naming convention. This PR is created to correct the folder names.

/assign @wyTrivail
cc @pingleig


Use cache for ballots page

Presently the cache isn't being used for the ballots page, so on a hosted node the client grinds to a halt as soon as you click on Ballots.

No longer an issue; the cache has been retired.


design: Decide which format to use

Possible Formats (in mm):
148 * 210   # A5
155 * 235   # <- favourite
170 * 240
210 * 297   # A4

How could we handle overly wide formulas like in 2.0.15
Einbindbare Inhalte in the example book? Is there a nice solution without increasing paper size?

@vroland They need to be fixed by hand through the authors (which is a good thing because those formulas do not work on mobile devices, too)

there seem to be options to scale formulas that we could look into.
e.g. here or here.

I have opened #73 for the question about handling too wide formulas...

Decision made on friday: 155mm * 235mm will be our format.


Confirmation still promoted on istioctl upgrade --skip-confirmation on 1.8.3

Bug description
While running istioctl upgrade with version 1.8.3, the following prompt is displayed:
Confirm to proceed [y/N]?
when running
./istioctl upgrade --dry-run --force --skip-confirmation
It also happens without --dry-run
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[X ] Upgrade
Expected behavior
No prompts to be displayed
Steps to reproduce the bug
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.8.3 sh -
cd istio-1.8.3/bin
./istioctl upgrade --dry-run --force --skip-confirmation
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
./istioctl version --remote
client version: 1.8.3
control plane version: 1.8.1
data plane version: 1.8.1 (6 proxies)

 kubectl version --short
Client Version: v1.20.2
Server Version: v1.19.7

How was Istio installed?
istioctl
Environment where the bug was observed (cloud vendor, OS, etc)
Linode LKS
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

Please try upgrade command without --dry-run.

I tried without the --dry-run too and it had the same confirmation prompt

@cyberprune
~/istio-1.8.3# ./bin/istioctl upgrade  --force --skip-confirmation
2021-02-10T09:07:10.644740Z	info	proto: tag has too few fields: "-"
Control Plane - pilot pod - istiod-545bb98448-klg9g - version: 1.8.2

Upgrade version check passed: 1.8.2 -> 1.8.3.

Upgrade check: Warning!!! The following IOPS will be changed as part of upgrade. Please double check they are correct:
spec:
  installPackagePath: /tmp/istio-install-packages/istio-1.8.2/manifests ->

Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.8/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
✔ Istio core installed
✔ Istiod installed

working workaround seems echo "y" | istioctl upgrade -f manifest --dry-run the --skip-confirmation can be kept in the line but seems being ignored; this happens on v1.9.0

@morvencao thanks a ton! --force --skip-confirmation worked for me in ignoring the confirmation prompt.
istioctl install --force --skip-confirmation

Thank you @pio2pio it worked for me, too! (istioctl version 1.8.2)