Not able to connect to DEX like uniswap

Describe the bug
When i'm running command connect DEX is not listed
here is the command:

connect

Testing connections, please wait...
+-------------------------------+----------------+--------------------+
| Exchange                      |   Keys Added   |   Keys Confirmed   |
|-------------------------------+----------------+--------------------|
| ascend_ex                     | No             | No                 |
| binance                       | No             | No                 |
| binance_perpetual             | No             | No                 |
| binance_perpetual_testnet     | No             | No                 |
| binance_us                    | No             | No                 |
| bitfinex                      | No             | No                 |
| bitget_perpetual              | No             | No                 |
| bitmart                       | No             | No                 |
| bitrue                        | No             | No                 |
| bitstamp                      | No             | No                 |
| btc_markets                   | No             | No                 |
| bybit                         | No             | No                 |
| bybit_perpetual               | No             | No                 |
| bybit_perpetual_testnet       | No             | No                 |
| bybit_testnet                 | No             | No                 |
| coinbase_advanced_trade       | No             | No                 |
| cube                          | No             | No                 |
| dexalot                       | No             | No                 |
| dydx_v4_perpetual             | No             | No                 |
| foxbit                        | No             | No                 |
| gate_io                       | No             | No                 |
| gate_io_perpetual             | No             | No                 |
| hashkey                       | No             | No                 |
| hashkey_global_testnet        | No             | No                 |
| hashkey_perpetual             | No             | No                 |
| hashkey_perpetual_testnet     | No             | No                 |
| htx                           | No             | No                 |
| hyperliquid_perpetual         | No             | No                 |
| hyperliquid_perpetual_testnet | No             | No                 |
| injective_v2                  | No             | No                 |
| injective_v2_perpetual        | No             | No                 |
| kraken                        | No             | No                 |
| kucoin                        | No             | No                 |
| kucoin_hft                    | No             | No                 |
| kucoin_perpetual              | No             | No                 |
| mexc                          | No             | No                 |
| ndax                          | No             | No                 |
| ndax_testnet                  | No             | No                 |
| okx                           | No             | No                 |
| okx_perpetual                 | No             | No                 |
| polkadex                      | No             | No                 |
| tegro                         | No             | No                 |
| tegro_testnet                 | No             | No                 |
| vega_perpetual                | No             | No                 |
| vega_perpetual_testnet        | No             | No                 |
| vertex                        | No             | No                 |
| vertex_testnet                | No             | No                 |
| xrpl                          | No             | No                 |
+-------------------------------+----------------+--------------------+
Steps to reproduce

first of all i activate the environment using conda activate hummingbot
then i run the scripts compile and then start
after starting the hummingbot when i'm running connect command i don't see any DEX exchange(like uniswap)

Release version
v2
Type of installation
Source
Attach required files
No response

Hello @Aiquant1  A support ticket has been opened for you. Kindly Talk to Support on the Live support page so that your issue can be looked into. CLICK HERE

Hello @Aiquant1 A support ticket has been opened for you. Kindly Talk to Support on the

scam

Describe the bug

after starting the hummingbot when i'm running connect command i don't see any DEX exchange(like uniswap)

hi @Aiquant1 Use gateway for DEX connectors like uniswap
https://hummingbot.org/gateway/
https://hummingbot.org/dex-connectors/


Keep adding buttons in sync with Status Bar package Build Status

The commands to add items to the Status Bar changed from (append|prepend)(Left|Right) to addLeftTile({item, priority}) and addRightTile({item, priority}) instead.
Wondering if Toolbar should follow suit...

I would say so. I also wanted to implement service-hub provider and then deprecate current API.

That definitely sound like a good idea to implement. Specially now that adoption of the toolbar isn't that high (yet!).
Do you have any plans to implement this (or some snippets in a separate branch)? I might have some spare time this week, but I have to familiarize myself with that provider first. Am relative new to Atom packages and CoffeeScript.

@jerone I didn't started yet, but if you would like to give it a try it would be awesome!

@suda Just to let you know, I started working on this today, with some great success already. Will probably be this weekend when I have time to finish it.
Note to self:

http://blog.atom.io/2015/03/25/new-services-API.html
https://atom.io/docs/latest/behind-atom-interacting-with-packages-via-services
https://github.com/atom/status-bar/blob/master/package.json#L16-L21
https://github.com/atom/status-bar/blob/master/lib/main.coffee#L103-L107
https://github.com/atom/vim-mode/blob/762a480c93cc444746c1a8150b5a24db90836144/lib/vim-mode.coffee#L42-L46

That is awesome! You're the man Jeroen :hand:

Progress can be followed here:
https://github.com/jerone/toolbar/tree/services-api
https://github.com/jerone/flex-toolbar/tree/services-api

:+1:

Fixed by https://github.com/suda/tool-bar/pull/34


Figure out trusted notebooks

JS from plotly/cufflinks is blocked by jupyter as not trusted.
A workaround is to make it trusted, which requires an additional action.
See what can be done (why plotly not trusted)

It was trusted, the reason graphs were not shown is because Jupyter Lab needed jupyter labextension install @jupyterlab/plotly-extension && \


Various security improvements

Aloha,
Just some thoughts on your project, some of them may be wrong (but I'll try to give arguments for each point).

How to find a way to prove that the files you include (CryptoJS and most especially jQuery, which is not really necessary and you are not even using the last one) are not backdoored? They are minified but not your script. In case of your server being compromised, what can guarantee they're not modified?

The “load-the-content-as-you-type” is a nice example of a functionality ruining the security. Even with the current setTimeout() value, I think. It have been already said that it gives the capability to an attacker (after finding your private key used for SSL, I admit) to be able to bruteforce more easily the hashes, which are ONLY sha256(key).

The brainwallet case showed us that *just* SHA256 should not be used for key derivation. See https://rya.nc/cracking_cryptocurrency_brainwallets.pdf :^)

Nearly the same proble: the hash used as index for the database is only based on the password of the document. What about weak passwords or just enumeration of pastes using dictionaries? (no rate-limiting for the gettext.php page). Thus, why not introduce a kind of salt? Like a pseudonym, or one random unique value to remind in addition of the password you choose…

The password is displayed without any kind of protection. Why not at least hide it using small *? For the same reasons that a lot of known and audited tools are doing it for decades.

Directory listing is enabled (see https://passphrase.io/js/). Since this repository does not contain the whole source code of your service, maybe it's possible to find other accessible folders and use the directory listing to steal things (we don't know anything about your backend - maybe it's just files and it would become very easy to dump all the files to attack the hashes of the whole database offline). It takes one line to disable it on Apache.

Can you provide the source code for gettext.php and savetext.php? We all know that this language is often error-prone and it would still be interesting to have it in this repository. It seems that the welcome message is fetched from the database by using e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 (== sha256('')) as index and it's not possible to change it using a POST to savetext.php. Using a null byte inside the index causes the request to timeout, I'm wondering why.

What kind of data are you visualizing on https://passphrase.io/stats/? What do you collect as user information while the service is running?

And about the CSP, what do you think of using  Content-Security-Policy: "default-src 'none'; script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self'" and exclude the calls to fonts.googleapis.com in a near future?

Edit: Added something about the key derivation function and the CSP header.

And about the CSP, what do you think of using  Content-Security-Policy: "default-src 'none'; script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; connect-src 'self'" and exclude the calls to fronts.googleapis.com in a near future?

Hello nashe,
I greatly appreciate the thoughtful notes you have provided on the security concerns of passphrase.io.  I have been very busy with other things so it has taken me along time to respond, but passphrase.io has gone through some significant changes over the past few months and I believe I have finally addressed the concerns that you have brought up.
#1: All javascript files have been consolidated to a single file.  You can easily verify file integrity by computing a checksum.
#2, 3, 4: Passphrase.io now uses the scrypt KDF instead of just one round of SHA256.  No more “load-the-content-as-you-type”.  This offers significant security improvements over the original version.  Please see the "technical details" section on the home page for more details.
#5: Your passphrase can now be masked by clicking the "hide passphrase" button at the top.
#6: Directory listing has been disabled.  Thanks for pointing that out.
#7: I prefer not to publish the server-side code, as I believe it would make it easier for sophisticated attackers to find loopholes and compromise the server.  However, as you could imagine, they are very simple scripts and there have been no issues so far.
#8: I have since moved the website to a new server, and stats are no longer collected.  My previous server had stats enabled by default.
#9: The fonts are locally hosted now, so no external calls to the google API is made.
Again, I appreciate your feedback.  You inspired me to put effort into making passphrase.io more secure.

Awesome @routman, good work!
For me and (I guess) a lot of people, not having the server-side code of one open-source project is a "no-go". We can discuss of this is in another issue, but there are numerous reasons to publish it instead of relying on obscurity to be secure.


AnimatedList does not build items correctly when animating their size along with the main axis.

Steps to Reproduce

Use this code:

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  MyApp({Key key}) : super(key: key);

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  final listKey = GlobalKey<AnimatedListState>();
  List<String> items = ["First", "Second", "Thrid", "Fourth"];

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          actions: [
            IconButton(
              icon: Icon(Icons.swap_vertical_circle),
              onPressed: () {
                print(" ");
                final toSwap = items.removeLast();
                items.insert(0, toSwap);
                listKey.currentState.insertItem(0);
                listKey.currentState.removeItem(items.length, (context, animation) => itemBuilder(context, toSwap, animation));
              },
            )
          ],
        ),
        body: AnimatedList(
          key: listKey,
          initialItemCount: items.length,
          itemBuilder: (context, index, animation) {
            print("Building $index");
            return itemBuilder(context, items[index], animation);
          },
        ),
      ),
    );
  }

  Widget itemBuilder(BuildContext context, String item, Animation<double> animation) {
    return SizeTransition(
      sizeFactor: animation,
      axis: Axis.vertical,
      child: Container(
        height: 250,
        child: Text(item),
      ),
    );
  }
}

Run the application.
Scroll to the bottom.
Press the Swap Action.

Expected results: Fourth should be pushed first in the list, using a size transition.
Actual results: Fourth disappear using a size transition, but it is not pushed to the start of the list. It is gone. If you reload the application and press swap without scrolling to the bottom of the screen it works as expected.
To make this work you might have to change the height of the items, you need to be able to see half the third item on the screen for it to work, it seems to have something to do with when the items are being built, since if they're all visible on the screen it works.

Logs

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.5 at /home/<username>/development/flutter
    • Framework revision 27321ebbad (6 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/<username>/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /snap/android-studio/81/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Android Studio (version 3.5)
    • Android Studio at /snap/android-studio/81/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • Pixel • FA77M0302662 • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

Closing since this seems to be fixed on the latest master 1.22.0-10.0.pre.356.

flutter doctor -v
[√] Flutter (Channel master, 1.22.0-10.0.pre.356, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.22.0-10.0.pre.356 at C:\Development\flutter_master
    • Framework revision c412fd9967 (2 hours ago), 2020-09-24 22:47:03 -0700
    • Engine revision 435db234e4
    • Dart version 2.11.0 (build 2.11.0-161.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.6.30320.27
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (6 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.508]
    • Web Server (web)            • web-server         • web-javascript • Flutter Tools
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 85.0.4183.121
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 85.0.564.51

• No issues found!


Added optional removalInteractionVelocityThreshold value to Behavior

Currently, in order to change the velocity threshold for the interactive removal gesture, we need to duplicate the default code of floatingPanel:shouldRemoveAt:with like this:
func defaultFloatingPanel(_ fpc: FloatingPanelController, shouldRemoveAt location: CGPoint, with velocity: CGVector) -> Bool {
        let threshold = CGFloat(1.5) // Changed from 5.5 -> 1.5

        switch fpc.layout.position {
        case .top:
            return (velocity.dy <= -threshold)
        case .left:
            return (velocity.dx <= -threshold)
        case .bottom:
            return (velocity.dy >= threshold)
        case .right:
            return (velocity.dx >= threshold)
        }
 }

I added an optional variable removalInteractionVelocityThreshold to Behavior, which let’s the user configure the velocity threshold for the default floatingPanel:shouldRemoveAt:with implementation.
Now the only thing needed to change the threshold is this:
let behavior = FloatingPanelDefaultBehavior()
behavior.removalInteractionVelocityThreshold = 1.5
fpc.behavior = behavior

Thank you for your proposal 👍  I agree with the new optional variable of Behavior.
I have one request. This implementation is ok, but I would like you to use Core.behaviorAdapter to proxy the default value(5.5) of FloatingPanelDefaultBehavior.
https://github.com/SCENEE/FloatingPanel/pull/425/files#diff-399d58ada874018f1b20e9e2df2429dd7b3e0ea6bcc727b43ac7712353dd4ccfR716

Thank you for your proposal 👍  I agree with the new optional variable of Behavior.
I have one request. This implementation is ok, but I would like you to use Core.behaviorAdapter to proxy the default value(5.5) of FloatingPanelDefaultBehavior.
https://github.com/SCENEE/FloatingPanel/pull/425/files#diff-399d58ada874018f1b20e9e2df2429dd7b3e0ea6bcc727b43ac7712353dd4ccfR716

@SCENEE good point, thanks for bringing it to my attention.
I adjusted the PR and added removalInteractionVelocityThreshold to BehaviorAdapter

@SCENEE good point, thanks for bringing it to my attention.
I adjusted the PR and added removalInteractionVelocityThreshold to BehaviorAdapter

Thank you for your quick response! I've merged your PR to master 👍

Thank you for your quick response! I've merged your PR to master 👍


Traversing wildcard files is sometimes slow

I don't know how to explain it, but I noticed that ruff check */tests/* --select="ARG002" is very fast but ruff check */test*/* --select="ARG002" is very slow.
start=`date +%s`;ruff check */tests/* --select="ARG002";end=`date +%s`; echo `expr $end - $start`
>>> 0
start=`date +%s`;ruff check */test*/* --select="ARG002";end=`date +%s`; echo `expr $end - $start`
>>> 25

I'm using version 280
Details

[tool.ruff]
extend-select = ["B", "Q", "N", "W", "DJ", "PL", "PIE", "ARG", "INT", "TCH", "SIM", "PERF", "I"]
line-length = 120
target-version = "py310"
extend-exclude = ["./scripts_old/"]
fixable = ["I001"]
ignore = [
    # This list includes all of the errors we had at the time of running `ruff check . --statistics`
    # We should slowly remove them 1 by 1 until the ignore list is empty.
#    "E501",
#    "ARG002",
#    "DJ001",
#    "PLR2004",
#    "ARG001",
#    "PLC1901",
#    "PLR0913",
#    "PLR0912",
#    "SIM108",
#    "B904",
#    "PLR0915",
#    "N806",
#    "TCH001",
#    "PLR5501",
#    "E722",
#    "N815",
#    "N818",
#    "SIM102",
#    "B007",
#    "DJ007",
#    "TCH003",
#    "SIM105",
#    "PLR0911",
#    "TCH002",
#    "DJ008",
#    "ARG004",
#    "DJ006",
#    "PERF401",
#    "PERF203",
#    "B905",
]

[tool.ruff.per-file-ignores]
"*/__init__.py" = ["F401"]
"*/test*/*" = ["N802"]

[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true

[tool.ruff.isort]
combine-as-imports = true
lines-after-imports = 2
force-single-line = true
split-on-trailing-comma = true

I believe that pattern is expanded by your shell, not by Ruff, so two things could be happening: first, that could be time spent by your shell doing the expansion; second, it could be that you're including far more files when using that pattern.
Can check the latter with something like:
❯ echo */tests*
example/tests example/tests-foo
❯ echo */tests*/*
example/tests-foo/bar example/tests/foo

Closing for now, can always re-open if new information comes in.


scrollToRowPosition

Hi,
I'm in trouble when use the method of "scrollToRowPosition"
like this:

I want to scroll 9:00(the index is 12),the  right index of cellRecyclerView in the top but the right index of rowHeaderRecyclerView in the bottom.

Hi @csbz17027,
Sorry but, I didn't get your problem.
BTW, your TableView looks pretty cool :)

@evrencoskun Thanks for your reply.
I have found the cause of the problem.
Beacause I setMargin with mRowHeaderRecyclerView.
Finally,thanks a lot for this library :）


can we get alphas or beta builds on modrinth

cloning repo and building yourself is kinda a pain, would be nice if there were some more builds, last one is 1.20.4

If you actually cloned the repo and tried building you'd notice very quickly that no CIT resourcepack loads :/
In any case, if there was an alpha I could publish I would've done so already


Sanitize enum identifiers

Fixes #149
This PR fixes an issue where variable names (set to .python_name , or used in enums) are not sanitized, so they can include characters that are invalid.

FYI: @bowenwr


Added support unicode 12.0

Unicode approved the emoji of unicode 12.0
https://emojipedia.org/emoji-12.0/

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 16 committers have signed the CLA.:white_check_mark: NilLlisterri:x: WebReflection:x: JuanitoFatas:x: danbovey:x: bhaggs:x: 13rac1:x: Rudloff:x: S-Raghav:x: xoudini:x: wezpyke:x: FrenchW:x: tifabien:x: Crissov:x: dvdckl:x: n8downs:x: Andrea GiammarchiAndrea Giammarchi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This doesn't look like it makes sense as a PR?
But, we're definitely working on the new assets for Twemoji 12!

A merge Does not finished.

Wrong. need to be forked. 🍴

a new release for twemoji 12.0!


pass Core.Zone.local to Time.to_sec_string in log_entry

I received
Error: This expression has type zone:Core.Zone.t -> bytes
       but an expression was expected of type bytes

When entering the log_entry definition into utop.  After some discussion in the #ocaml freenode room, this fixes the issue.

Can anyone explain the reason why we have to pass Core.zone.local ?

Can anyone explain the reason why we have to pass Core.zone.local ?

The resulting string will differ depending on the timezone, so what timezone should be assumed if you didn't have to pass this argument. You can't just assume local timezone because maybe you're generating a webpage and want to show the string in the user's timezone, rather than that of the server.

so in the  book there was a typo in the example ?

I see what you mean. The API of Core has changed since the book was published. I just checked the older version of to_sec_string, and indeed it doesn't take a timezone argument. That's not very flexible, so I guess they improved the function since then.

Here's a SO answer explaining this https://stackoverflow.com/a/34224843/2191173

The API of Core has changed again:
https://ocaml.janestreet.com/ocaml-core/v0.9/doc/core/Core__/Core_time_float/Zone/index.html
val local : t Core__.Import.Lazy.t

so passing local is not a solution for version 0.9 of Core
I think it's better just to use to_string instead

Or use:
Time.to_sec_string ~zone:Time.Zone.utc time


Handling of mouse button/keyboard input appears incorrect

Nexus report from WallRockTree
Event type 0 is Mouse button - improve the logging and fix the logic here. Need to separate mouse button from keyboard input in config and checking.
This config:
; Input filtering, set to 1 to ignore, 0 to allow unpause on event
IgnoreKeyPressAndButton=0
IgnoreMouseMove=1
IgnoreThumbstick=1

should not result in this log output:
2024-03-16 20:28:22.789     info  19164 Loading Menu opened - pause OK true
2024-03-16 20:28:30.573     info  19164 Loading Menu closed after preceding Opened event - pause OK
2024-03-16 20:28:33.870     info   9368 Pause terminated by Input Event type 0 from Device 0

Fix required at https://github.com/SteveTownsend/PauseAfterLoadUnscripted/blob/bdaac7b54f85cc30eb814060dc98bafaed0ac35a/src/Pausing/InputListener.h#L35

Supplementary info from OP

when I keep all the other settings the same as above, and I set these to either all 0 or all 1, I still get no pausing. Is that correct?
IgnoreKeyPressAndButton=0
IgnoreMouseMove=0
IgnoreThumbstick=0

Further update from OP - setting to pause until user input seems not to work

In it's current state (v.1.2.0) I think ResumeAfter=0 really means it will pause for 0 seconds, thus making the mod appear not to be working. I hope to find a setting here that really means it will pause forever until one of the button clicking conditions are met so I can walk away from the computer without being on a timer.


Create LICENSE

Looks good! 5etools uses the MIT License as well, so we should be all set.

Whoops, I meant to merge, not close. My bad.


Add free-fall detection support

The sensor can generate an interrupt if it is in free-fall. Add support and a simple demo.

added in 49b57ee2b8a04d09f1528739f7abfc77ea206812


Added rhevm missing methods

Lint report for commit 67a037b5c4c37e0fe78868ea0f2da2c161db53cf:
mgmtsystem/rhevm.py:

:grey_exclamation: Line 594:58: S001 found %s formatter

Please, rectify these issues :smirk: .
CFME QE Bot


Fix TODO: Make handshake work without HttpObjectAggregator at all.

Motivation:
Remove the httpObjectAggregator from the websocket handshake process.
Modification:
Port from https://github.com/netty/netty/pull/12192
Result:
Fixes https://github.com/netty/netty/issues/12655
Fix TODO: Make handshake work without HttpObjectAggregator at all

@chrisvest CloseNotifyTest.eventsOrder failed by timeout, can be flaky.

Yeah, it doesn't look related. I've restarted the build.

Thanks!


Workaround for a Swift3 bug, issue #548

This is fixed in #559. Thanks so much @pomozoff for figuring this out! Will be released this weekend with beta 4.


Post 1.18 follow-up: netlify configuration for kubernetes-io-vnext-staging

In working with netlify previews in the 1.18 release, @jimangel and I noticed that PRs on the netlify staging branch (kubernetes-io-vnext-staging) do not invoke the same CI checks as PRs on master.
This is probably due entirely to a difference in netlify configuration. It's worth investigating after 1.18 releases and making sure that the dev branch invokes all CI checks.
/milestone 1.18

/cc @savitharaghunathan for awareness

/remove-lifecycle rotten

/triage accepted
Also cc: @annajung

Hi. I started to dig into the netlify deploy contexts for the branches.
Is the kubernetes-io-vnext-staging branch using the deploy-preview or production context?
Which build command is used for this branch, make deploy-preview?
The Build&Deploy variable "Deploy log visibility" is public, however, the Deploy Summary for this branch
lacks the netlify page metadata. I see that the information is available, just not in the summary in the PR.
The publish directory is not set for the staging branch. I am guessing that it defaults to "public".
Other ideas?


[otbn] Test OTBN with "correct" EDN configuration

OTBN requires certain EDN configurations, as described in https://docs.opentitan.org/hw/ip/otbn/doc/index.html#hardware-interfaces. We currently run all tests with the boot EDN configuration, which doesn't meet these requirements.
Figure out the right configuration, and update the tests to use it.

Capturing @mwbranstad's comment here:

I think for EDN1, we should not set the "boot_req_mode" field, assuming this EDN is connected to OTBN. Only one EDN can get the boot seed from ES, so let's not make it a race. Agreed?

Sounds good. Since EDN1 is expected to be of high quality entropy, I don't think we need to use it in boot init entropy mode.

@moidx: Is there still work to do here, do you know?

As far as I'm aware decide on appropriate end to end testing involving the EDN and OTBN is still an open question

@GregAC Any news on this front?

@andreaskurth was taking a look at this

Tagging @andreaskurth to comment on latest status

In progress in #13569.

estimate 16

cannot edit original post

Done in #13569.


Should change button's text to 'Cancel' when it has shown Jenkins logs.

In GitLab by @liyanq528 on Jul 12, 2018, 15:45

In GitLab by @liyanq528 on Nov 8, 2019, 07:55
fixed by pull request #1509

In GitLab by @wknet123 on Nov 8, 2019, 07:55
Closing it as fixed.

In GitLab by @sokril on Nov 8, 2019, 08:25
closed

In GitLab by @sokril on Nov 8, 2019, 08:25
assigned to @wknet123

In GitLab by @liyanq528 on Nov 11, 2019, 09:12
mentioned in merge request !642

In GitLab by @liyanq528 on Nov 13, 2019, 07:52
mentioned in merge request !696

In GitLab by @liyanq528 on Nov 13, 2019, 09:15
mentioned in merge request !1268

In GitLab by @liyanq528 on Nov 13, 2019, 11:15
mentioned in merge request !958


Uncaught Error: Cannot call function 'getPosition' on missing remote object 9Error: Cannot call ...

[Enter steps to reproduce:]

...
...

Atom: 1.25.0 x64
Electron: 1.7.11
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 9
Error: Cannot call function 'getPosition' on missing remote object 9
at throwRPCError (C:\Users\kexin\AppData\Local\atom\app-1.25.0\resources\electron.asar\browser\rpc-server.js:143:17)
at EventEmitter. (C:\Users\kexin\AppData\Local\atom\app-1.25.0\resources\electron.asar\browser\rpc-server.js:354:7)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
at WebContents. (C:\Users\kexin\AppData\Local\atom\app-1.25.0\resources\electron.asar\browser\api\web-contents.js:256:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:194:7)
At C:\Users\kexin\AppData\Local\atom\app-1.25.0\resources\electron.asar\renderer\api\remote.js:234

Error: Cannot call function 'getPosition' on missing remote object 9
Error: Cannot call function 'getPosition' on missing remote object 9
    at throwRPCError (~/AppData/Local/atom/app-1.25.0/resources/electron.asar/browser/rpc-server.js:143:17)
    at EventEmitter.<anonymous> (~/AppData/Local/atom/app-1.25.0/resources/electron.asar/browser/rpc-server.js:354:7)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:204:7)
    at WebContents.<anonymous> (~/AppData/Local/atom/app-1.25.0/resources/electron.asar/browser/api/web-contents.js:256:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:194:7)
    at metaToValue (~/AppData/Local/atom/app-1.25.0/resources/electron.asar/renderer/api/remote.js:234:13)
    at Object.remoteMemberFunction (~/AppData/Local/atom/app-1.25.0/resources/electron.asar/renderer/api/remote.js:118:18)
    at AtomEnvironment.getWindowDimensions (~/AppData/Local/atom/app-1.25.0/resources/app/src/atom-environment.js:691:40)
    at AtomEnvironment.storeWindowDimensions (~/AppData/Local/atom/app-1.25.0/resources/app/src/atom-environment.js:728:40)
    at WindowEventHandler.handleWindowResize (~/AppData/Local/atom/app-1.25.0/resources/app/src/window-event-handler.js:195:32)

Commands

Non-Core Packages
atom-autocomplete-php 0.25.6
atom-python-run 0.9.6
busy-signal 1.4.3
emmet 2.4.3
file-icons 2.1.18
highlight-selected 0.13.1
intentions 1.1.5
jackhammer-syntax 1.1.0
linter 2.2.0
linter-eslint 8.4.1
linter-ui-default 1.7.1
minimap 4.29.8
simplified-chinese-menu 5.3.5

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/16630. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Bug in account creation

can't choose role type

After testing, not only the dropdown for the bookings and account creation are affected. This is due to the recent changes done to admin.jsat commit d0a951d which allows the dropdowns inside the table to always be on top.
This bug is now fixed at commit a32ad55. Closing Issue.


On Releases dashboard Argus did not mark a rolling upgrade test run as failed when one of releases upgrade failed

Argus did not mark a rolling upgrade test run as failed on the Releases dashboard, even though one of the upgrade tasks failed (the rolling upgrade pipeline runs several upgrade tasks in parallel, for a set of base_versions, which all share the same run number in Argus).
But when run itself is opened the failed the task is shown as failed as expected.
However, when the test run itself is opened, the failed task is shown as failed as expected.
Example of a 'successful' run on the Releases dashboard:

Which in fact has one failed task:

The issue could falsely indicate that there were no problems in the test run, when analyzing release candidate results in the Releases dashboard.

This could be a regression due to a recent stat rework, I will check.


Add a new project template for expo

Fix #146

tested with the newly published @bonfhir/gluestack-ui package. Works successfully!
small alteration on the runPrettier function because expo apps do no have a src folder, so I added the option to provide the file path to prettier, while keeping the default path.

@julienblin I believe I have addressed all your comments:

modified config files and package json instead of overriding
add -y to create-expo
add glue stack provider
removed un-needed dependencies adding
add missing glue stack dependencies
use search instead of read to remove use of patient ID
create prettier script command
look into android bug and file new issue #213
allow support for running project in web
remove useless CSS

Note on web support: you mentioned @expo/html-elements and a gluestack recipe for compatibility with web, but I could not find an exact recipe. There is also documentation on supporting web or expo: https://docs.expo.dev/workflow/web/
I followed that guide, and the project works in the web browser. I was unsure how @expo/html-element related to the official docs, so I have left it for now, but can add it if you would like with additional info of why.
If the expo docs instructions are not right, can just give me a bit more information on the glue stack specific recipe, that would be great. all I found was a mention of react-native-web in the docs, is added in the expo docs as well. Maybe I missed it.

@julienblin thank you for the thorough testing. I have updated with the changes. I will work to be more thorough in the future.

modify json util function
update change set
remove useless dependencies
add new commit to end of script

@julienblin should all be good! I would like to merge but it says I can't because there are unresolved conversations, but when I click on conversations they no longer exist. Might be a bug in the github UI having to do with rebases and force pushes.
You might have to force merge this one 🤔

@nickvallee - yep, weird; GH got confused with the force push.
I force merged it anyway.
Thanks a lot! This is the beginning of new possibilities for bonFHIR!


Pathogen-only projects

Sometimes we just want to look for potential pathogens for side-projects where there is no specific interest in the microbiome or when demographics is more the focus than microbes. In this cases it would be more efficient if we could create a list of about 100 most interesting pathogens and only run MALT on individuals of interest to reduce the core-hours use and the storage usage and make the pipeline faster.

This could be done by making a smaller krakenuniq database, but then you would need to make a database for each project.
Or, since the krakenuniq step is not the most time-consuming,we could add an optional input to filter_krakenuniq where taxids are kept only if they are also included in a user-defined list. This way, you would always run krakenUniq on a full microbial database, but then you would only run MALT on microbes of interest
@LeandroRitter @percyfal what do you think?

So I think it is essential to keep the full database for the prescreening part with KrakenUniq to avoid false positives. The malt step is the heaviest and I thought we could only filter for pathogens at this step using a large list or something and only generate a smaller custom malt database

@ZoePochon I believe you need HOPS for this purpose :)  We have a Bowtie2 index for PathoGenome. I could build a MALT database from the PathoGenome fasta-file. I would not "detect" pathogens in side project samples based on such a MALT DB but use this only as a validation step

I am not sure if we mean the same. I would like to use the same method as the pipeline uses so: first detection with KrakenUniq but then authentication only for the pathogens if I don't care about other microbes. Basically just trying to save core-hours here

Ok @ZoePochon, I see, I misunderstood you. I would still not use such a MALT DB built on pathogens because there is a risk that reads originating from other non-pathogenic species will be forced to map to the pathogenic reference genomes. It would actually be interesting to demonstrate the inflation of "pathogenic" counts when using a MALT DB built on pathogens only. We indirectly show this in the Supplementary Figure 3 of our manuscript (when mapping reads to Y.pestis alone), but perhaps in addition one can build two MALT DBs: one with all detected species, and the other one with pathogens only, and demonstrate that the pathogenic counts become inflated in the latter case. I think I will do it when I have time. Pathogen-enriched database are highly biased and should not be used, in my opinion

Okay, I see your point and I think you are right. So we would need to build a database encompassing all the microbes found after the filtering of KrakenUniq. But potentially we would not need to proceed further to Malt and authentication for the samples where there was no pathogen. We could exclude these samples from the downstream analysis to reduce the core-hour usage. What do you think ? I don't know if that's even possible to do with snakemake.

I close this for now since we have discussed this a few times and I believe we have reached an agreement


arkmanager upgrade issue

I'm getting an issue while attempting to upgrade arkmanager. I have checked all related issues here, but have not found any mention of this.
I'm accessing the server via ssh. It is running Ubuntu Server 14.04.
<EMAIL_ADDRESS>arkmanager upgrade
arkmanger v1.2: Checking for updates...
Your ARK server tools are already up to date.
I know this is wrong, as v1.3 is on github and has additional features such as broadcastmessage and rcon commands.
I have looked over the cfg and check relative to the new ones. I have updated it to the new standard (except I left the version number in for now).

What is arkstChannel set to in your config file?

@daervik: arkstChannel should be set to master.

It is set to master, so that's not it.
arkstVersion is set to 1.2. I've tried changing this or even removing the parameter, but there is no difference there either.

Please try re-installing using curl -sL http://git.io/vtf5N | sudo bash -s steam, replacing steam with the username under which you are running ARK.

when doing curl -sL http://git.io/vtf5N | sudo bash -s steam nothing apparent happens (and the files are still version 1.2)
when doing curl -L http://git.io/vtf5N | sudo bash -s steam It gives the message "0curl: (6) Could not resolve host: git.io"

what if you try ping git.io or ping google.com ?

hmm. I got ping: unknown host for both

Does /etc/resolv.conf contain the correct nameservers?

I updated the nameserver as klightspeed suggested, and I am now able to ping servers, and the arkmanager upgrade now finds the update to 1.3. Thanks :)
Now I have another issue however, where the steam user is not in the sudoers file, and my root account is not allowed to use arkmanager. Should I open a new ticket for this issue?

Open a new issue explaining the problem please


⚠ Bofrost.de has degraded performance

In cb4dd0b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1374 ms

Resolved: Bofrost.de performance has improved in 2851f92 after 14 minutes.


Zack deprecate ubuntu18 connect

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Dockerfile missing something?

I'm really interested in setting up nbrsessionproxy on my JupyterHub/JupyterLab install. I had some troubles getting things going so I dropped back and tried the associated Docker file that is in the repo.
I built the Docker image using: docker build . which seemed to build without error. So I then fired it up with
docker run -p 8888:8888 jupyter/r-notebook
And then I connected to the localhost using the token provided in the terminal message and I was able to connect to the localhost at port 8888, as expected. However I don't see any way to launch R Studio server:

I'm a bit unsure of what I should be doing differently or if I'm just overlooking something obvious.
Many thanks.

It looks to me that you are not running the correct image. Your run command is referencing the image from here, which is the base of the image that you just built, but not the image that you just built. Try tagging your image and then running it:
docker build -t my-image .
docker run -p 8888:8888 my-image


[WiP] Fix/separate tests

I began to work on refactoring basic.rs, to solve issue #107.
In order to do that, I extracted code from basic.rs to some helper modules, and I tried to minimize the code to write tests for better maintainability.
As this PR is a "Work in Progress", the next steps for me are:

to work on a Git comment builder/helper in commands.rs, in order to build and launch a git command based on the settings we want,
and the same think for project_templates.rs,
split basics.rs into different test files, based on the category of each test.

cc @ashleygwilliams for last comment :)

@ashleygwilliams Sorry for this late PR...
Actually, I forgot that I worked on this before :/
Are you still interested in refactoring/separating the unit & integration tests?

Closing it, as code changes are too old now.


chore(release): 2.26.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 70dcf4e8cdf4fee98529afd5566669b90898b621
Result: SUCCEEDED
Build Logs (available for 30 days)

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

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: b392e68c42fa83dff869a1d2a8b73bd361c68a65
Result: FAILED
Build Logs (available for 30 days)

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

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: b392e68c42fa83dff869a1d2a8b73bd361c68a65
Result: FAILED
Build Logs (available for 30 days)

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

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 97db8d38af3e51ca63592f6df3b5957eccf79d49
Result: SUCCEEDED
Build Logs (available for 30 days)

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


Copy to clipboard link not available in reimburse expenses page.

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

Action Performed:

Go to profile
Click on workspaces
Open an existing workspace
Click on reimburse expenses

Expected Result:
Copy to clipboard icon should be available for<EMAIL_ADDRESS>email.
##Actual Result:
No copy to clipboard icon available.
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/235334817-97854c1e-612c-48b9-a17a-0a87d099520a.mp4

Expensify/Expensify Issue URL:
Issue reported by: @SofoniasN
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682765156982059
View all open jobs on GitHub

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Same root cause as these issues
https://github.com/Expensify/App/issues/17368
https://github.com/Expensify/App/issues/17433

Closing this as a duplicate


Various (hopefully) small changes

Some random well-tested and useful changes.
Postfix and zsh changes are about being more humane to disk drives (especially SSDs).
I debugged this by running
echo 1 > /sys/kernel/debug/tracing/events/jbd2/jbd2_run_stats/enable
echo 1 > /sys/kernel/debug/tracing/events/ext4/ext4_journal_start/enable
... (and similarly for other file systems)
cat /sys/kernel/debug/tracing/trace_pipe

on a server and then waiting a day without doing anything disk intensive on the machine.
After applying these changes only ntpd generates writes in idle. Would be nice if someone
could fix that.
Linux and Sylpheed are about enabling missing features.
Qastools is by request from a colleague.

Okay. So I forked out postfix change into https://github.com/NixOS/nixpkgs/pull/5627 in the hope that at least this will be merged sooner than my previous pull request.


Added test for random forest regression

Added a test for #13. To generate the PMML file, I used:
library(randomForest)
library(pmml)

set.seed(1)

model <- randomForest(dist ~ speed, cars, ntree=3)

saveXML(pmml(model), "cars_rf.pmml")

print(predict(model, data.frame(speed=10)))

Coverage decreased (-0.2%) to 99.359% when pulling 7dfa07c2b551f8f004ed6bc226b48bfa9541850c on ankane:master into 924ed6a29f022bbe1ab85c3badffcf78f517f919 on asafschers:master.

Coverage decreased (-0.2%) to 99.359% when pulling 7dfa07c2b551f8f004ed6bc226b48bfa9541850c on ankane:master into 924ed6a29f022bbe1ab85c3badffcf78f517f919 on asafschers:master.


iBridges sync

Let's try that again: iBridges sync function, broadly mirroring the behaviour of irsync. See notebook for details.
What it doesn't do/allow (compared to irsync):

Sync individual files to a collection (and vice versa); it currently only accepts an existing folder or collection as source and target, and syncs the contents of the two. Symlinks are ignored.
setting the number of threads to use for the transfer (-N)
specifying the target resource (-R)
synchronize to all replicas (-a)
specify maximum age of the source copy in minutes for sync (--age age_in_minutes)

The package tqdm needs to be taken up in the requirements.

The package tqdm needs to be taken up in the requirements.

I've put it in the dependencies section of pyproject.toml - is that the right place?

I ran into another issue when executing the tutorial:
AttributeError: 'FolderObject' object has no attribute 'n_folder'


Harbor expose an API to check signature of an image via nested Notary.

In notary/client/client.go
Seems we can reuse the NewNotaryRepository() to construct a notary repo on harbor's container, with a customized Roundtrip to handle the token in Harbor.
https://github.com/docker/notary/blob/master/client/client.go#L99
This is the preferred way as we can completely reuse docker's logic to retrieve targets and validate the signatures and meta files, also we can leverage the struct to call other functions to manipulate the repo when needed.
Only concern is performance as there maybe redundant API calls to notary-server, I'll implement this way and optimize if there're perf issues.

Fixed by #1534


Update submodules.

Brief description
Update submodules.
Description
Did this mostly to get to Roy's changes for Houdini19 support in avalon-core.  Could you guys review that whether OP is ready for the latest of these submodules?

We can't update arrow and ftrack-api those are last versions supporting python 2.

But we could potentially vendorize the old ftrack API for py2 hosts, and switch to the latest for the rest, couldn't we?

Doh what have I got myself into..
So could we just bump up 'avalon-core' by itself?

So could we just bump up 'avalon-core' by itself?

that we could indeed. We tend to do it with releases.

Avalon-core was updated in the latest develop.

I will close this PR, because it needs a bit more though, to prevent any ugly breakage. @icyvapor do you need the ftrack API and arrow updates for something specific?

I will close this PR, because it needs a bit more though, to prevent any ugly breakage. @icyvapor do you need the ftrack API and arrow updates for something specific?

Nope all good, thank you!!


Image of the first selection  is not appearing

Hi dear
Image of the first selection  is not appearing, when first segment is selected

Hello,
I will check and update you.
Thanks for bringing this issue.

Hi @Fareeha-Naz
The issue is resolve and you can use the WMSegment.swift code as of now to use it.
I will publish new version of pod in some days.
Thanks.

ok fine thanks alot!!!!!

@Fareeha-Naz
New version uploaded.


drag window is laggy initially on macOS

I just got the initial example up and running, and created a window tested on macOS and Linux.
#include <GLFW/glfw3.h>

int main(void)
{
    GLFWwindow* window;

    /* Initialize the library */
    if (!glfwInit())
        return -1;

    /* Create a windowed mode window and its OpenGL context */
    window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
    if (!window)
    {
        glfwTerminate();
        return -1;
    }

    /* Make the window's context current */
    glfwMakeContextCurrent(window);

    /* Loop until the user closes the window */
    while (!glfwWindowShouldClose(window))
    {
        /* Render here */
        glClear(GL_COLOR_BUFFER_BIT);

        /* Swap front and back buffers */
        glfwSwapBuffers(window);

        /* Poll for and process events */
        glfwPollEvents();
    }

    glfwTerminate();
    return 0;
}

The problem is:
If I drag the window and move around, the movement of the window feels laggy initially but gets smoother later on (see the window jumps when I drag in the figure below). The issue does not appear on Linux (Ubuntu). Why and how to fix it?

System: macOS 10.15.7 (19H2)

Does it still lag if using glfwWaitEvents instead of glfwPollEvents?

@tombsar Thanks for the hint. The lag is gone after switch to glfwWaitEvents! What's the reason? Perhaps it would be great to update the official document that explains which call should be used by default?

glfwPollEvents processes events if there are any, otherwise returns immediately. That means your (trivial) program is clearing the screen over and over again as quickly as possible, consuming a lot of CPU time. The alternative, glfwWaitEvents, blocks if there are no events waiting, consuming little or no CPU time. Arguably a program using a lot of CPU should not cause the window to lag, but that's really down to the operating system and how it allocates resources.
As for which of the two functions to use, it depends entirely on what else you want your program to do. If you only want to react to user input, and nothing else, glfwWaitEvents is probably the way to go. If you want to do other things within the event loop, glfwPollEvents is probably more appropriate, especially if you want to redraw the window contents independently of user input.
Aside: glfwSwapInterval(1) will probably also avoid the lag, as it will cause glfwSwapBuffers to block for some milliseconds, again giving the CPU a rest.

@tombsar Thanks again for your detailed explanation.

As for which of the two functions to use, it depends entirely on what else you want your program to do. If you only want to react to user input, and nothing else, glfwWaitEvents is probably the way to go. If you want to do other things within the event loop, glfwPollEvents is probably more appropriate, especially if you want to redraw the window contents independently of user input.

This sounds a little bit tricky. Why developers must concern about this? Ideally, we would expect the program to react to user inputs as well as render content depending on the user inputs. But in some cases, we might also want to redraw regardless of user inputs. Are there any good examples that can leverage both? Or is it implicating we must manage the call to glfwPollEvents or glfwWaitEvents based on application status?

This sounds a little bit tricky. Why developers must concern about this?

It's a fairly common thing to think about when writing low-level code; sometimes you just want to check if something is waiting, other times you want to wait until there is.
Note that there is a third option, glfwWaitEventsTimeout (https://www.glfw.org/docs/latest/group__window.html#ga605a178db92f1a7f1a925563ef3ea2cf) that waits, but only for a limited amount of time. That might be the best option here, but it's hard to tell without knowing what you want your program to do!
Personally, I use glfwWaitEvents in my main application loop, and put rendering on a secondary thread, but that adds a fair bit of complication to the code.

@tombsar Understood, thank you so much @tombsar


style: change localhost to <IP_ADDRESS>

We found localhost causing trouble in certain cases (e.g. using IPv6) where a service would listen on <IP_ADDRESS> but localhost resolves to something else.

I edited my comment above and don't want it to get buried:
I assume this broke because viem listens on localhost by default, which may mean we need to be a little more nuanced about our approach to swapping URLs around (localhost for referring to viem/client and <IP_ADDRESS> for referring to anvil). Or we tell viem to listen on <IP_ADDRESS> but not sure that'll work everywhere? Or we see if we can get anvil to listen on localhost?


Index 5 out of bound error when searching

Was able to trigger a weird message from backend. Although a customer would only see this if he were trying to hack the storefront, is there a security mitigation we can do?
        routing: {           routes: {             product: {               paths: ['product/108803_medieval_blue', 'product/300495178']                  }             }         },

Let's try to reproduce with the given settings

I don't get the same error. I can see some errors in the console and the search stops working until I refresh the page. Will investigate.

I was able to reproduce this. This is the message returned by the backend so it's not our issue.

This is backend related. Opened RAY-375. Needs retesting after fix.

https://jira.hybris.com/browse/RAY-375 was closed as won't fix, since they weren't able to reproduce it.
We need to investigate further on our side, and verify if we're sending this data in a weird way.

Bill said to close it, the issue had to do with an apparel product, and we didn’t work well with variants back when.


Provide alternative download URLs to releases

The Github releases page works fine if you want to download manually. Running curl on those files just returns HTML which has to be read to get the real download links. It would be convenient if only the files were returned to ease headless setup. Can the Cilium project host own downloads (cilium.io/releases/) ?
Thanks.

Do these URLs like this work for you?
https://github.com/cilium/cilium/releases/download/v0.8.2/cilium-agent-x86_64

No, but adding the redirect location option works. Did not know about it earlier.

Btw, curl works great:
curl -sS -L "https://github.com/cilium/cilium/releases/download/#{cilium_version}/cilium-x86_64" -o /usr/local/bin/cilium

Yes when you know to add -L. Found that out yesterday.
Thanks.


"change" event stops being triggered in a specific case with clear button

Description
vaadin-text-field doesn't trigger the change event anymore if the clear button is enabled and you hold mouse button down (mousedown event) on the clear button, but then move your mouse out of it (to cancel clearing and not trigger a click event). Once you do this the change event is never triggered anymore until you clear the input using the clear button (triggering click event on it).
This is because on clear button mousedown it sets this._valueClearing = true (which prevents the change event) and only in clear button click it is set to false.
This can probably be fixed by setting a mouseleave handler which also does this._valueClearing = false;
Expected outcome
change event should keep working for any normal updates even after you "cancel a click" of the clear button by moving your mouse out of it after holding down the mouse button on it.
Actual outcome
change event is not triggered for normal value changes in this case.
Live Demo
Can be reproduced in https://cdn.vaadin.com/vaadin-text-field/2.3.5/demo/#text-field-basic-demos
Steps to reproduce

Open the browser dev tools inspector
Make sure your JS console log level includes "Info" level
Select the <vaadin-text-field> in the "Display the Clear Button" with the inspector.
Run:$0.addEventListener('change', e => console.log('vaadin-text-field change: ', e))

Press and hold down the left mouse on the clear button
Move the mouse outside the clear button
Release the left mouse button
Try to change the value of the text field and either unfocus it or press Enter
Notice that the change event is not triggered (no message logged to console).

If you then click the clear button and try to change the value again, you should see the change event logged to the console for all changes again.
Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] IE 11
[ ] iOS Safari
[ ] Android Chrome

Tested on macOS Chrome, but this most probably affects all browsers that can be used with a pointer device (like a mouse) since it's an error in component logic.

The problematic code was added in: #280


chore(master): release 6.9.0

:robot: I have created a release beep boop
6.9.0 (2024-03-27)
Features

add redundancy options and utils (#896) (29899ed)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/bee-js/releases/tag/v6.9.0 :sunflower:

Release v6.9.0 addresses this.


Channel

Add recording of channel

add channel recorder into chan.go

both pre and finish

[ ] Send
[ ] Receive
[ ] Close

[ ] Find weather a channel is internal or in the project and set hchan.dedegoHandle accordingly in chan.go

Test if communication partners work for buffered channels


Right Y Axis is not visible when using brush (multiple Y axes)

Bug report
Codepen
I have modified the brush chart codepen. The only things I changed are: I have generated another data series and use them in the graph; defined two Y axes; I have also disabled the autoScaleYaxis as suggested here.
https://codepen.io/fracz/pen/oNXVmdP
Explanation
The right axis is not visible when the brush is turned on (you can use the USE_BRUSH variable and the top of the script to test it fast).

It looks like the brush feature uses the first yaxis only, regardless of the autoScaleYaxis settings. Is that valid for some reason?

Same issue for me with area chart:
When you make a selection on the brush chart, it removes the second axis on the area chart.
I would also mention that the brush chart selection works weird. When you make a selection, it overflows on the left side and after thet you can't move to end of the right side.
Vanilla
https://codepen.io/elijah1/pen/gOawywb?editors=1011
React
https://codesandbox.io/s/brush-chart-with-multiple-y-axis-nnui1


Removing deprecated method from DownloadCommand

Hi,
This small pull request fix deprecation noted in #188
JZ

:+1:

@jzawadzki thanks for removing this deprecation!


[Documentation] Rename BoundingBox sample to make it Sample9

Due to different sample PRs being merged close to each other, two unrelated samples are numbered as Sample8. We must update the BoundingBox sample to be Sample9, and update documentation accordingly.

Fixed in PR #12971


[Beta] Unable to claim some certificates

Issue Description

Assuming it is still the case that only the projects are required to claim a certificate, then something is preventing me from claiming the Applied Responsive Web Design, JavaScript Algorithms and Data Structures, and API and Microservice certificates.
As you can see from the screenshots, I have completed all 5 projects under Applied Responsive Web Design:

But when I claim the certificate, I get this error message:

The same thing happens with API and Microservice.
Finally, I can claim the JavaScript Algorithms and Data Structures certificate by completing its challenge:

But it's not listed on my public profile:

Neither is there a Show/Claim Certificate button:

I am aware this has been reported and resolved before (#16661 ), but maybe the problem has resurfaced.
Reproducible on beta.freecodecamp.org and my local copy.

/cc @Bouncey

Also having trouble claiming Algorithms and Data Structures certificate

Despite completing all required projects

Any help is appreciated!

These issues have been addressed in the following PRs:

#17102
#17104
#17105

I think this issue can be closed now.


Unable to import index.css

Hi, getting this error when I try to render this component:
Unable to resolve "./index.css" from "node_modules/nutritionfactstable/dist/index.js"
I am currently working on a Typescript Project with React Native via Expo. It seems like it should work seamlessly, but I'm not able to get past this.

Thanks for alerting me to this, I'm looking into it now.

Thanks for alerting me to this, I'm looking into it now.

@dudduss Why I pushed a new version to npm. It should take care of that. I had missed building sass -> css. Let me know if that fixes it for you.

@dudduss Why I pushed a new version to npm. It should take care of that. I had missed building sass -> css. Let me know if that fixes it for you.

Unfortunately looks like that didn't change anything. Still seeing this error when I try to run my expo emulator:
Failed building JavaScript bundle.
Unable to resolve "./index.css" from "node_modules/nutritionfactstable/dist/index.js"

Here's a more descriptive image:

Here's how my package.json looks - lemme know if this is correct:
"nutritionfactstable": "^1.1.9",

Unfortunately looks like that didn't change anything. Still seeing this error when I try to run my expo emulator:
Failed building JavaScript bundle.
Unable to resolve "./index.css" from "node_modules/nutritionfactstable/dist/index.js"

Here's a more descriptive image:

Here's how my package.json looks - lemme know if this is correct:
"nutritionfactstable": "^1.1.9",

So I was able to start a brand new project using expo. Since I am not on a Mac I have minimal ability to debug the yarn ios command and I don't have the Android developer tools setup, but I can confirm the yarn web works. Could you confirm it works for that command? I'm suspecting it something with how the library is bundled.
Are you able to look inside the node_modules folder and confirm there is indeed index.css in there as well as index.js?

So I was able to start a brand new project using expo. Since I am not on a Mac I have minimal ability to debug the yarn ios command and I don't have the Android developer tools setup, but I can confirm the yarn web works. Could you confirm it works for that command? I'm suspecting it something with how the library is bundled.
Are you able to look inside the node_modules folder and confirm there is indeed index.css in there as well as index.js?

I'm actually using npm to install the module and it seems to work fine except when I actually try to run my emulator -- do you know if npm should still work?
this is what my file hierarchy looks like:

I'm actually using npm to install the module and it seems to work fine except when I actually try to run my emulator -- do you know if npm should still work?
this is what my file hierarchy looks like:

I am not sure, but there was some similar issues here https://github.com/expo/expo/issues/6722
I have pushed a new version that renames index.css => main.css to see if it has an issue with the name index. Unfortunately it seems to be an issue with expo.
I'll keep this open until you can resolve it with expo

I am not sure, but there was some similar issues here https://github.com/expo/expo/issues/6722
I have pushed a new version that renames index.css => main.css to see if it has an issue with the name index. Unfortunately it seems to be an issue with expo.
I'll keep this open until you can resolve it with expo

I'm also having this issue and can't find a workaround. Here is my package.json https://pastebin.com/GMyULD8N

I've bumped the version with a migration to stylized components over SCSS. Hopefully this fixes it otherwise open another ticket.


[DD-107] Setup dev environment using Docker compose

@shumkov Can we close this 'til further notice?

@nmarley Yeah, but I would like to keep branch.

In that case I'll protect it, but close this PR.


spliceFunction is used from the builtin environment but is not defined in the Modelica Specification!

Reported by adrpo on 25 Jan 2011 16:13 UTC
Model: Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer
uses function spliceFunction via this call:
Nus[i]=spliceFunction(Nus_turb[i], Nus_lam[i], Res[i]-6150, 3850);

but this function is nowhere to be found in the Modelica Specification!
Is this a bug and:
Modelica.Media.Air.MoistAir.Utilities.spliceFunction
should be used instead? Looks like it because all other
uses of spliceFunction is done via Utilities.spliceFunction(...).
If this is not a bug then all Modelica tools should support this function?
If so, what's the definition of this function?
Cheers,
Adrian Pop and Per Östlund/

Migrated-From: https://trac.modelica.org/Modelica/ticket/488

Comment by hubertus on 25 Jan 2011 16:37 UTC
Dymola has a built-in spliceFunction, which is why this happened, but it is not standardized and should not be used there. The location in Modelica.Media is not optimal and should be changed. Uses in MSL should use spliceFunction() from inside MSL.

Comment by kurzbach on 2 May 2011 14:06 UTC
Maybe this should be changed in the MSL.

Comment by hubertus on 2 May 2011 18:18 UTC
Certainly this should be changed. There is a corresponding Modelica-function. I'll do it as soon as I find time.

Comment by hubertus on 10 May 2011 20:21 UTC
Fixed in 82f8c794f2f0c93bc91652f98dc6a5b3d5887d6f, 34a7216f76c6cdbda9cc1d16e7d47a778f91ead9 for trunk and 3.1 maintenance. These are the branches which are acutally used at the moment AFAIK, closing ticket therefore.


Teleporting the vehicle to different demo stations in the integrated world

Load the integrated world
roslaunch dave_demo_launch dave_integrated_demo.launch

and run the script in another terminal.
python3 examples/dave_nodes/src/teleport_vehicle.py integrated_world_demo_stations.yaml

Input <vehicle> <location>: rexrov home to move to the vehicle to the desired pose and orientation.
Note: I haven't added exact locations since the demo stations' locations isn't final yet, will just need to update the yaml file.

Thanks for helping out! Updated the script as per your feedback, let me know if anything could be further improved.


Fixed printing false message during gradle configuration phase

The println is invoked during gradle's configuration phase as well. During the configuration phase all projects are executed. This created some confusion, as it looked like the SET_ANIMATION_SCALE was granted for all flavors and not just the instrumentationTest flavor.

@poisdeux Want to check the travis build or can i safely merge this?

The instrumentationTest flavor failed. Can't really tell from the travis log what's wrong. It's their script that crashes. As they still consider instrumentation testing experimental I don't wanna waste much time on it. Fixed the travis build by building the full flavor only.


feat: Add a note about cookies in documentation

Describe the problem
I suggest adding a word about cookies.
This is not per say a svelte-adapter-firebase issue, but it took me days of investigating why my cookies were working locally, but not live.
The solution was fairly simple, but buried deep inside Firebase's documentation.
Describe the proposed solution
Write a short paragraph under Caveats about the single cookie name that's allowed to be passed to your SSR function, and it is: __session
It is documented here: https://firebase.google.com/docs/hosting/manage-cache#using_cookies
Copy suggestion:

Cookies: When using Firebase Hosting together with Cloud Functions, cookies are stripped from incoming requests. Only the specially-named __session cookie is permitted to pass through to the execution of your app. Source: Firebase documentation

Alternatives considered
One even greater alternative would be to trigger a warning in the console when trying to access an other cookie from the server. I managed to get some cookies across in some occasions, not sure if it's worth implementing.
Importance
would make my life easier

I agree that it's not really an issue for this adapter, and more something you have to know about Firebase CDN.
But still, thanks for pointing it out @axel-rock. This solved the flakiness of my cookies in production.


workaround for cmake bug/strange behaviour

Case:
cmake -DWITH_CUDA=ON ../opencv

The line above adds CUDA libraries as a dependencies of opencv_core module.
cmake -DWITH_CUDA=OFF .

I expect that this line removes CUDA libraries from opencv_core deps. But linker still expects CUDA libs during linkage.
The reason is that __ocv_sort_modules_by_deps returns empty value in case without CUDA and __ocv_resolve_dependencies must receive empty value too. BUT it takes value from CACHE for some unexpected reason.

@alalek, please, review.

I believe the right way is to add these lines near line 52:
unset(OPENCV_MODULE_${mod}_DEPS CACHE)
unset(OPENCV_MODULE_${mod}_DEPS_EXT CACHE)

yes, it looks better and solves the problem :)

Great! :+1:


Correct "Singup" Typo to "Signup" Throughout Codebase

There is a function called Singup which should be named Signup. Correct the typo at all the places in the codebase

@kunxl-gg can you assign this issue to me?

Sure @nishantdub37 take it up.
The function is question is in dashboard/controllers/authController.go
It is also used only at one place in main.go.
Its a basic typo in both these locations.

sure @nishantdub37 go ahead


bidi: incorrect ordering of bi-directional line

Using this SVG,
Firefox renders like this:

Resvg renders like this:

KAS-text renders like this:

And QT renders like this:

Bonus: Libreoffice:

The text is split at word boundaries as follows (more granularity than required):
        level: Level(1) num glyphs: 2 text: نص
        level: Level(1) num glyphs: 1
        level: Level(1) num glyphs: 7 text: المرساة
        level: Level(1) num glyphs: 1
        level: Level(2) num glyphs: 2 text: 15
        level: Level(1) num glyphs: 1
        level: Level(2) num glyphs: 2 text: kV

According to the Unicode BIDI algorithm, Firefox and KAS-text are the only correct entries here.

Note: otherwise the SVG renders well, only failing to resolve the small-caps font variant and possibly fails to wrap text with inline-size (though wrapping behaviour is identical to Firefox).

small-caps were recently added, but the font must support them. There is no fallback yet.
inline-size is not supported and I'm not sure it's part of the SVG spec at all. SVG 2 doesn't really specify which CSS3 properties should be applied to SVG.
Text align of RTL text is UB: https://github.com/w3c/svgwg/issues/628 BIDI probably too.
Here is your file rendered using various apps.

As you can see, results are pretty random. But yes, I will look into BIDI alignment.
PS: resvg does process BIDI, but only during shaping.

It's not just the alignment of the bid text, but the ordering: some of these (including resvg) get it wrong. (Not that I care personally, just thought I'd point it out.)

Oh yeah, haven't noticed it. The image is too small. Yes, resvg doesn't support this yet.


Cannot "Package" service fabric application anymore

I'm having a strange problem that I'm unable to resolve.
I used to be able to "Package" and/or "Publish" my Service Fabric project without issue, but now, after updating VS 2017 15.9.14 and latest SF DEV SDK updates, I'm no longer able to "Package" (or "Publish" which does an implicit "Package" first anyway).
The error message is:

An error occurred while attempting to package the application.
Value cannot be null. Parameter name: path1

Problem is there is no additional error information (other than the screenshot below) available anywhere (Not in detailed level build log, event logs, command line, nothing).

Running Latest SF 6.5 and SDK 6.5.641/3.4641
I might be falsely assuming that the "Build" step is working correctly too, but it doesn't give any errors. I have even stripped everything down to one stateless service project reference and minimal manifest, but it makes no difference.
Please help.

Some additional information.
The Microsoft Azure Service Fabric Tools for Visual Studio version is 2.5:

I have another installation of VS 2017 on my laptop where this issue is not happening with the exact same source code. This version has Visual Studio 2017 at v15.9.12 and Microsoft Azure Service Fabric Tools for Visual Studio is at v2.4
To be clear, this version still works.
The problem is I cannot rollback to that version with the way that Visual Studio Installer works. According to this guide I need to uninstall Visual Studio 2017 completely and use a specific version installer. That takes me to VS 2017 v15.8.9 (which has Service Fabric Tools at v2.3).
Worse, the installed doesn't allow me to upgrade to v15.9.12 - it only allows me to jump to the latest v15.9.14.
With v15.8.9 the error message from this issue isn't showing, but it's also not outputting the referenced project binary build outputs to the pkg folder of the Service Fabric solution.
Reinstalling Visual Studio and even downgrading the local dev instance of the SF SDK doesn't do anything. I'm out of options and my Google Fu is now depleted as there is nothing I can find help resolve the issue.
Please help.

I've managed to get the old version of VS 2017 v15.8.9 working again, after completely removing the local development cluster runtime and SDK and installing an old version v6.4.664.9590 and v3.3.644.9590 respectively.
So now I'm stuck on a much older version because VS upgrade only jumps to latest.
I did test upgrading to latest version of VS 2017 v15.9.14 that the issue returns after getting it to work on the old version and can confirm that the issue is still there. Now to uninstall it all again and start over...

Today we moved to Visual Studio 2019 v16.3.1 with all the latest updates and the issue remains. The error presents a little differently, but I still cannot "Package" our ServiceFabric project:

So very sad :-(

Today we moved to Visual Studio 2019 v16.3.1 with all the latest updates and the issue remains. The error presents a little differently, but I still cannot "Package" our ServiceFabric project:

So very sad :-(

Were you able to resolve this issue? I am stuck on the same

@Sashwat No, we were not able to get this resolved. Gave up waiting for any kind of response - more sadness :-(
Instead we now run our own custom PowerShell scripts to package up our build output and prepare it for deployment. It is quite a bit of work to get it working just right for us, but it is so much faster and better for us now.
Sure, it doesn't do some of the automatic versioning number and validation bits that VS added, but we just do those by hand via the script.
Everything that VS does to build, package and deploy can be done with the Service Fabric PowerShell commands and some good scripting. This might be of interest to get you started to what VS does under the hood: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-package-apps


Minor tweaks

Changes

more complete usage of the static tag in base.html (for the favicon and og:image)
brings in a template bug fix that was included in 3.11.2
remove's the CDN'ed jquery, per feedback from @ascott1

Review

@cfpb/cfgov-backends

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍

thanks, @kave ;)

I'm not sure why we aren't loading jQuery from the CDN. Most first time users will already have jQuery stored in their cache if we use the CDN.  I feel like we should still use the CDN and work on removing jQuery from the codebase and the Google Analytics code.

I wouldn't think so, but, that comment in the HTML seems to indicate otherwise.

@sebworks wrote:

I'm not sure why we aren't loading jQuery from the CDN. Most first time users will already have jQuery stored in their cache if we use the CDN.  I feel like we should still use the CDN and work on removing jQuery from the codebase and the Google Analytics code.

I think the fear is is that a CDN could be compromised, and then a hostile party could inject code into the website. Far fetched? Maybe, but @ascott1 (and security folks) seem to think it's a risk worth avoiding.

I'm not sure why we aren't loading jQuery from the CDN. Most first time users will already have jQuery stored in their cache if we use the CDN. I feel like we should still use the CDN and work on removing jQuery from the codebase and the Google Analytics code.

Yeah, but what about Google Analytics and Google Tag Manager? They say 70% of the web is using jQuery. I'd venture a significant portion of the group is loading jQuery from the Google CDN.  Their is also a performance hit for all our users once we have switched over. The minified file is 90kb.  I would rather work on removing jQuery from our codebase ( if possible given time constraints ).

Curious about this.  I think I agree with @sebworks, but I'm wondering why the only concern with a CDN is the jQuery (if it were to be compromised)?  Not sure I'm following the logic here. If a CDN is compromised, don't we have other things to worry about as well?

@richaagarwal in this case, we're talking about "ajax.googleapis.com" -- so the only problem would be jQuery.
I 1000% agree with @sebworks (that the benefits of the CDN outweigh the risk), I just don't think it's a decision that's in our hands.

I'm going to remove the jQuery change from this PR: from the discussion it's clearly not a "minor tweak" ;)
Internal issue 384 has been opened for further discussion.

👍

it looks like Travis can't talk to Gitub right now--- maybe part of the big DNS outage?

Ah yes, that could be it.

In a build two hours ago:

fatal: unable to access 'https://github.com/cfpb/cfgov-refresh.git/': Couldn't resolve host 'github.com'


Remove  descriptorType.enum.ts

Feature Request
Desired behaviour
Swagger now has the descriptor type enum.  UI2's own descriptor type enum can now be removed.

Pretty inside baseball but seems to work in a majority of cases on staging


decrypt does not seem to be able to decrypt the cookie

I have a sample asp.net app, it has

The cookie is
.ASPXAUTH=7DF8DE9F55A51A2E3294AD4B0A6F8B94A62A3FEB5130E32E0417A3D7A89CE468FF9F436A83B1D1506DFD598D5A136396E0BCF15C7E2F10A26CF7B032731770691B931E5C;
However, it never gets passed the lines of code below. It seems like somehow the ticket hash result is wrong but I am not sure why. Do you have any clue?
if(computedHash.toString('hex') != encryptedTicketHash.toString('hex'))
    throw new Error('encryptedTicket is of an invalid format.');

The machine key for the cookie above is

I've found that you need to use compatibilityMode="Framework20SP2" (set in the machineKey section).

Were you ever able to get this to work?
I'm trying to use it with the original configuration being validation="SHA1" decryption="AES" compatibilityMode="Framework20SP2", but I can't get it to come up with the correct result.


Solved problem with rowspan (#917)

Please fix the composer file, cannot merge this.

Can you please fix the composer file.


BigCommerce call getAllProducts API facing Internal server error issue

Issue: Cannot call getAllProducts API to BigCommerce GraphQL API.
Expected: Should return all of products
Tracing log:
    at Object.fetchGraphqlApi [as fetch] (webpack-internal:///./framework/bigcommerce/api/utils/fetch-graphql-api.ts:38:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
    at async getAllProducts (webpack-internal:///./framework/bigcommerce/api/operations/get-all-products.ts:85:7)
    at async getStaticProps (webpack-internal:///./pages/index.tsx:61:7)
    at async renderToHTML (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/render.js:28:109)
    at async /usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:107:97
    at async __wrapper (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/lib/coalesced-function.js:1:330)
    at async DevServer.renderToHTMLWithComponents (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:132:387)
    at async DevServer.renderToHTML (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:133:522)
    at async DevServer.renderToHTML (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/server/next-dev-server.js:34:578)
    at async DevServer.render (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:72:236)
    at async Object.fn (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:56:580)
    at async Router.execute (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/router.js:23:67)
    at async DevServer.run (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:66:1042)
    at async DevServer.handleRequest (/usr/local/var/www/html/DFORT/YNa/commerce/node_modules/next/dist/next-server/server/next-server.js:34:1081) {
  code: undefined,
  errors: [
    {
      message: 'Internal server error',
      path: [Array],
      locations: [Array]
    }
  ],
  status: 200
}

Do you guys getting the same issue?

@lfades Can you please assist this.

@lfades Can you please assist this.

Hello there, @Quynh-Nguyen can you let me know how to reproduce this particular error? And then maybe I could assist you with it.

Hello there, @Quynh-Nguyen can you let me know how to reproduce this particular error? And then maybe I could assist you with it.

@Itsaadarsh Hello.
It's seems fixed by the last commit.
Thank you so much for your assist.

@Itsaadarsh Hello.
It's seems fixed by the last commit.
Thank you so much for your assist.

Alright.

Alright.


issue 20 credits to ARCAC-admin

issue 20 credits to @ARCAC-admin

 Follow up
On Friday, 29-Nov-24 17:37:48 UTC by Gov4Git dev
Issued 20 credits to member @arcac-admin.


Added pinterest support, facebook share dialog, google snippets, reactivity

Changes:

added pinterest
added googleplus snippets
added facebook share dialog for apps with valid id
replaced meteor.startup because we might not want it to init on every page, now it requires explicit init
silenced fb-root div warning
added reactivity to rerun whenever the data changes
looping of templates
updated the tests

Let me know what you think works and what doesn't. Thanks :)

@queso You should merge this in :+1:

@rgoomar have you tested it in an app yet?

Not just yet, but from going through the code, the logic seems to be in place and I don't see why it should break anything really. I can test it later tonight though.

That would be awesome, my main focus is velocity atm and I will be wrapped up in that all night.

+1

Need to add to the README that init is now explicitly required. Plus googleplus color is broken.


[BP-1.14][FLINK-24281][connectors/kafka] Migrate all format tests from FlinkKafkaProducer to KafkaSink

Unchanged backport of #17286

@flinkbot run azure

Merging backport ...


Improve jsonify function to allow excluding attributes

Request Type
Feature Request
Problem Description
The jsonify function available on models allow producing a JSON object describing a model data. The idea here is to add and exclude argument tu specify attributes to exclude.
This will be used by all the create_XX methods to remove the id field.

Fixed with #126


chore: add a system property to set session pool ordering

Adds support for using a System property to set the default session pool ordering. The default ordering is LIFO. This can be changed to FIFO and RANDOM for users who need/want that.

(retroactive LGTM from me as well)


Updated package.json

Updated package.json to latest

Summary
What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[x] Build-related changes
[x] Other, please describe: security

If changing the UI of default theme, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

[x] Chrome
[x] Firefox
[ ] Safari
[ ] Edge
[ ] IE

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature
[ ] Related documents have been updated
[ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
Yarn.lock updated as well.

RIP ⚰
My fork: https://github.com/raisty/vuepress-theme-blog


Scale deployment to 0 instead of delete

Describe the feature request
It would be nice to have the option to scale applicable resources rather than delete, eg a Deployment.
This is so you can still save the resources of not having replicas running but keep the actual deployment resource in the cluster. So when a team returns to the application it's simply a case of scaling the deployment again
Why do you personally want this feature to be implemented?

Make it easier to scale temporary workloads down to save computing power on my local cluster.
Also would be helpful in a GitOps pattern as replicas are easy to ignore changes to, but ignoring a whole resource is more difficult and defeats the point of GitOps a bit.
Enable a cluster operator to recover resources from tenants easily without completely deleting resources.

How long have you been using this project?
couple of weeks just exploring it
Additional information
Perhaps could be implemented as a second annotation:
k8s-ttl-controller.twin.sh/type="scale" # default "delete" if not specified, reject other values

Maybe this crosses over to HPA territory, but I was just looking for a simple solution, which this operator provides, one that doesn't require prior setup or additional yaml, only an annotation, or two :)

@hawksight I think this is an excellent idea, however:

You mentioned rejecting values other than scale or delete for the k8s-ttl-controller.twin.sh/type annotation - this I disagree with, because rejecting would imply having to make k8s-ttl-controller a webhook. I think it would be better to simply ignore types that are not supported.
This feature may be a little counter-intuitive for this project. What you're looking for is something like https://github.com/hjacobs/kube-downscaler (which seems to have now moved to https://codeberg.org/hjacobs/kube-downscaler?), and I wonder if it makes sense to add a resource-specific behavior (e.g. scaling down a Deployment or a StatefulSet) to an application (k8s-ttl-controller) configured to be as generic as possible (by using Kubernetes' dynamic client): https://github.com/TwiN/k8s-ttl-controller/blob/925270c76341eacca863cd84a50e53e09bf3f64a/main.go#L146

It's an interesting feature, don't get me wrong, I'm just wondering about whether it makes sense.

Hey @TwiN thanks for responding, I think you are correct on both points.

Yes it was a poor choice of words on my part. Ignore is what I meant in my head :)
That project looks to do the scaling part of what I was looking for.

I'll give that project a try and close this issue for now. I'll re-open this if I find a good reason. I think I knew making that scaling decision would add a lot of complexity and corner cases.


Example or test

Hello~I just visited here. It looks cool project.
Is there some way to test this, or sample project?

The project is currently in active development (last commit was a few hours ago) and it's not quite ready for trading or backtesting yet.  However, the basis of the platform is ready and the instance management system is working.
I can record some videos of the parts working if you want, but there's not much in terms of a demo or practical example yet.

@Ameobea Thanks! But I don't need detail example or demo. I just want to try at my laptop and look how modules and codes are running. Is example directory on your project is enough to see it?

Ah I see.  In that case, check out the Installation section of the readme; it has a pretty decent list of steps for getting it set up.  One thing though is make sure you're using a nightly rust from September; one of the dependencies isn't quite working with current nightly.

@Ameobea Thanks! My rustc version is 1.10.0 stable, but currently make command is not working.
error: Unable to update file:///Users/kwangin/workspace/bot4/strategies/channel_id_sliding_windows

Caused by:
  failed to read `/Users/kwangin/workspace/bot4/strategies/channel_id_sliding_windows/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
make: *** [build] Error 101

There seems no part creating /strategies on makefile. Did I miss something?

Ah, I totally forgot that I made the strategies private by default 😢
Tomorrow, I'll work on setting up a default sample strategy and will reply as soon as I do so! Sorry about that.

@Ameobea No problem! Thanks for help. I'll keep following it.

Hey @djKooks.  I'm sorry I completely blew off my target of getting this in a demo-able state by ... 4 days ago, and I'm afraid I don't think it will happen any time soon.
Instead of going for a minimum functionality of "the platform runs," I plan on focusing on getting everything far enough along that people can actually implement their own strategies before even thinking about making it ready for public use.
I'm going to focus on the backtester and trade simulation aspects in the near future, so it's unlikely that I'll have a working prototype anytime soon.  I'll keep this issue open, however, and reply whenever the time comes that it's ready!

@Ameobea No problem~let me know when you are ready.

@djKooks Just a quick update:
I've been working on the backtesting system for the platform and am finally getting near a point where it will work well enough for an initial exploratory pre-alpha release.  I plan on creating a dynamic strategy system that will make it possible to share the platform but keep strategies secret and an installer script that installs and configures the platform automatically.
I'll reply here once it's ready, but it should be soon! ™

@Ameobea Thanks for following up~Share on README after it is ready so other people could look on.

@djKooks I'm still here!  I'm finally getting to work on setting up an alpha release and I really hope to have it set up by the end of the year!
I've got a whole bunch of really neat things in the works like interactive configuration application to set up the config files for all the modules automatically, a one-command build process, and a system to allow users (including me) to keep their secret strategies and stuff tracked but private and separate from the main platform.
It's going to be awesome; I'll be sure to update here once it's all ready!

@Ameobea Cool! Hope to see it soon~

@Ameobea It looks it is being update frequently. Is it ready to join?

I keep underestimating the amount of time necessary to do things and finding new things to add along the way.
I'm making lots of progress, but I really want to get a nicely polished first version before I release it officially!  I'll be sure to let you know as soon as that happens.

@Ameobea Thanks! I appreciate it.

@Ameobea Because I'm working on Mac, I'll try to find a way to run in here.

There's a non-trivial amount of stuff that will only work on Linux.  I had thought about making it cross platform sometime in the future, but nothing in the near future.

Which Rust version are you using? I got fail like below in Rust rustc 1.12.0 (3191fbae9 2016-09-23) during running make.
error[E0554]: #[feature] may not be used on the stable release channel
  --> /Users/kwangin/.cargo/registry/src/github.com-1ecc6299db9ec823/indoc-0.1.15/src/lib.rs:13:43
   |
13 | #![cfg_attr(not(feature = "with-syntex"), feature(plugin_registrar, rustc_private))]
   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error: Could not compile `indoc`.

It runs on Nightly, the latest release.

I recommend using rustup to easily install and manage Rust versions.

@Ameobea Thanks! I'll try it.
One more, do you have special reason using nightly version? Is there a problem for using stable one?

As you can see with the error you got, some of the dependencies I use rely on features that haven't yet stabilized.  There's a push to make this happen in the future, but for now it only works on Nightly.

@Ameobea Okay, I understand.

After cloning the repository, you'll need to copy all instances of files named conf.default.rs, conf.sample.js, or anything similar to conf.js/rs in the same directory and fill out their values as appropriate.

Where can I find con.default.rs or anything  similar? I can't see it.
Also, I could see this screen when run make

but I cannot find how to go 'continue'.

The instructions involving configuration files is out-of-data; this is handled automatically by the configurator (which is what opened up when you ran make).
You can proceed through the terminal-based configurator by using the arrow keys and enter.

@Ameobea When I press enter key, it goes out like this.
make: *** [release] Error 101
$

Maybe it could be problem in OSX.

Yes, that is almost certainly the case.
The configurator runs commands like ldconfig that are unix-only.


SCM: repository actions grow out of tree item bounds on click

Testing: #35034
The animation on click causes the icon to leave the bounds of the tree. I actually think the animation really does not work well within a tree item where there is not a lot of space:

This has always been like that in the ActionBar. I will not fix that.