Issue with  Learn Advanced Bash by Building a Kitty Ipsum Translator in Relational Database Cert

Describe the Issue
For this challenge:

Take a look at the stderr.txt file. The error was redirected to the file and nothing printed in the terminal. You used 2> to redirect stderr. Similarily, you can use 1> to redirect stdout. Enter echo hello bash again and use it to redirect stdout to the stdout.txt file.

I have entered the correct command and even directly copied and pasted from a hint I found on the github for this lesson. The command I'm entering is:
echo hello bash 1> stdout.txt
But CodeRoad says I need to enter the correct command
I have tried resetting CodeRoad and GitPod, as well as changing browsers, and killing the terminal and starting a new one, but none of that works. I'm on windows 11 I used Microsoft Edge and Google Chrome in my attempts. I'm happy to provide more information if need be.
Affected Page
https://www.freecodecamp.org/learn/relational-database/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator
Your code
echo hello bash 1> stdout.txt
Expected behavior
Expected CodeRoad test to pass.
Screenshots

System
Device: Desktop
OS: Windows 11
Browser: Microsoft Edge, Google Chrome
Version: Latest
Additional context
No response

There's some issues with continuing a course - if you start a course, take a break, and then try to continue it on another browser, it won't work. CodeRoad stores your current lesson in browser storage - so if you change browsers, the result it that it appears like you are on the lesson you left off, but the tests will be running the test for the first step or something. Did you happen to change browsers @NicholaSinks? If so, you could try to continue the course using the browser you started with. If you start the course from the beginning, does the issue happen again?

I was using the same browser I started with when the error began. I only changed browsers to test if it would fix the problem. And yes, if I start the course from the beginning, by resetting CodeRoad, the error still happens and only on the exact step mentioned.

@moT01 So I checked my topic I pushed to the FreeCodeCamp Forum and someone replied stating that they had the same problem, and got the test to pass by entering the solution from the previous lesson, bad_command 2> stderr.txt
Here's a link to that reply: https://forum.freecodecamp.org/t/learn-advanced-bash-by-building-a-kitty-ipsum-translator/684802/3?u=nicksinks01
So I tried it myself just now and the test passed. So it seems multiple people are experiencing this issue but at least that should narrow down the problem.

Thanks for reporting @NicholaSinks. This should be fixed now. Do you want to give it another try and confirm?
To anyone coming across this in the future. The issue was that one of the commits to main had 90.1 in the commit message. This lead to coderoad trying to load that commit. I had to reword the commit and force push to main.

Closing as fixed. See previous comment.


Enhance JS features to match Python equivalent

Features should be matching between both versions --
Based from discussion in #5 and #18

@jwu910 we done with this?

I think we done.


Add user model

Exists now, but needs proper onboarding (see #4). There’s also some functionality that doesn’t honor the logged in user (nor does require it)


Hi, does FooterTab supports lazy load? is there a difference in performance between React Navigation createBottomTabNavigator and Native-Base FooterTab?

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
Hi, does FooterTab supports lazy load? is there a difference in performance between React Navigation createBottomTabNavigator  and Native-Base FooterTab?

node12.18.1, npm6.14.5, react-native0.62.2, react16.11.0 and native-base2.13.12, xcode1.47.3 version
Expected behaviour
N/A
Actual behaviour
N/A
Steps to reproduce
N/A

Is the bug present in both iOS and Android or in any one of them?
Any other additional info which would help us debug the issue quicker.
###Important
If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

@KaizenTamashi FooterTab doesn't support lazy loading.
And the FooterTab in native-base is just a UI component whereas the one from react navigation is a functional component with various options which also includes lazy loading


OIDC4VCI authorization code flow, test 2 fails,

the wallet does not send the correct data tio the token endpoint
Sep 07 14:07:11 ip-172-31-37-180 gunicorn[32586]:  - - [07/Sep/2023:14:07:11 +0000] "GET /sandbox/issuer/callback?issuer_state=7f7e0e14-4d87-11ee-8e4a-0a1628958560 HTTP/1.0" 200 81 "https://talao.co/sandbox/ebsi/issuer/npwsshblrm/7f8530cc-4d87-11ee-bf0f-0a1628958560" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"

POST /token HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
grant_type=authorization_code
&code=SplxlOBeZQQYbYS6WxSbIA
&code_verifier=dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
&redirect_uri=https%3A%2F%2FWallet.example.org%2Fcb

the flow :

wallet redirect the authorization request to issuer (with args like redirect_uri)
issuer redirect user with code to redirect_uri  of wallet
wallet POST a request to get the access token to teh token endpoint
wallet post to cedentila endpoint


The "tags" render parameter can now additionally accept a configuration object specifying custom tags and/or a custom escape function for that render case

This PR renames the tags parameter in the render function to config. The same previous behavior of passing a tags array is maintained, and in addition to this if a config object is passed then a custom escape function can be provided via its escape attribute in addition to a tags array via its tags attribute.
For example:
Mustache.render(template, view, partials, {
    tags: ["[[", "]]"],
    escape: escapeSomethingOtherThanHTML,
});

Tags can still be passed as an array argument and the escape function can still be modified globally. The above example is functionally equivalent to this code, which is still also fully supported:
const mustacheEscapeOriginal = Mustache.escape;
Mustache.escape = escapeSomethingOtherThanHTML;
Mustache.render(template, view, partials, ["[[", "]]"]});
Mustache.escape = mustacheEscapeOriginal;

The rationale for this addition is that providing an escape function here, when rendering a template, is a safer pattern for specifying an escape function than modifying the global mustache.escape attribute when a project may need to use mustache to render more than just one kind of content, e.g. both HTML and Latex templates in the same project.
This change is completely backwards compatible with the existing test suite. Documentation comments have been updated and thorough test coverage has been added for this new feature.
What this PR does not include: The separate TypeScript @types definitions package will need to also be updated to reflect that the previous tags parameter can now also optionally be a configuration object for the render function, as well as to reflect very similar additions or updates to the parameters of some functions that are called by the render, function where the configuration object needs to be passed through.
This PR incidentally includes two unrelated fixes that were required for me to build the package and run tests on my machine. (package.json build command now runs on Windows; eslint no longer fails tests/partial-test.js.)

Thanks a lot for the contribution and appreciate the elaborate description!
Haven't had the chance to look at the changeset yet, but from a distance, judging from the description, this sounds really good 👍
..will have to come back to you with a detailed review after having looked at the actual changes involved.

Really nice work!
Aside from the questions raised, this LGTM.

Let's keep it up for a few days extra before merging, just in case someone else jumps in with valuable input.

Thanks a lot this contribution @pineapplemachine!
Seeing these changes as additive (+ bugfixes) so we'll probably release it as mustache.js v4.1 shortly.

Pushing v4.1.0 obviously took way too long, finally managed to push it to npm now.

FYI @types/mustache v4.1.0 has also been published to allow use of this newly added functionality for TypeScript users.

Sounds great, and thank you for covering the TypeScript definitions :+1:


auto-suggestion for C# is terrible

Type: Bug
the quality of auto-suggestion is terrible. By default, it keeps suggesting on empty line, and when I click tab, it applies text which is wrong 100% of times. I managed to disable it through some "quick suggestion" setting which was not obvious.
It now suggests when I am on tab position which has text, but it is still 100% wrong. And it does not suggest obvious things like variable name in the context.

I think it is plain intellisense; I do not remember signing up for copilot.
I fixed the problem by disabling suggestions completely.
On Mon, Oct 14, 2024 at 12:22 AM Johannes Rieken @.***>
wrote:

Do you mean IntelliSense (the window with suggestions) or copilot ghost
text?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/231250#issuecomment-2410248624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX5T3XMCUMWCU6SLMODVLLZ3NWMZAVCNFSM6AAAAABP3U5F56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQGI2DQNRSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


docker build failing

    :doclet:jvmInspectJavaDoc../base/src/main/java/com/twosigma/beakerx/kernel/magic/command/functionality/TimeMagicCommand.java:99: error: unmappable character for encoding ASCII
          //convert to ??s
                       ^

Also, add set -ex to setup.sh so that it fails properly instead of building a bad image.


Add Support to Parcial Implemented Receiver Objects/Classes

This PR will allow Parcial Implemented receiver to be used to subscribe to receive events.

Update signalr Client version
Add Support to Parcial Implemented Receiver Objects/Classes
Add Tests to Parcial Implemented Receiver
Add safeguard when calling off to not stopping receiving any event for that type.

Sample of the newly generated receiver Binder class.
    public readonly register = (connection: HubConnection, receiver: Partial<IReceiver>): Disposable => {

        const methodList: ReceiverMethod[] = [];

        if (receiver.receiveMessage){
            const __receiveMessage = (...args: [string, number]) => receiver.receiveMessage!(...args);
            connection.on("ReceiveMessage", __receiveMessage);
            methodList.push({ methodName: "ReceiveMessage", method: __receiveMessage });
        }
        if (receiver.nofity){
            const __nofity = () => receiver.nofity!();
            connection.on("Nofity", __nofity);
            methodList.push({ methodName: "Nofity", method: __nofity });
        }
        if (receiver.receiveCustomMessage){
            const __receiveCustomMessage = (...args: [UserDefinedType]) => receiver.receiveCustomMessage!(...args);
            connection.on("ReceiveCustomMessage", __receiveCustomMessage);
            methodList.push({ methodName: "ReceiveCustomMessage", method: __receiveCustomMessage });
        }

        Object.freeze(methodList);
        return new ReceiverMethodSubscription(connection, methodList);
    }

Using Partial<T> is not allowed because it may lead to missing implementations.


Feature: combined demosaicing and denoising

Combining demosaicing and denoising is intuitively appealing, as it treats the information captured by the sensor as a noisy sample of an underlying image.
Some examples include:

Goossens, Bart,  et al. "An overview of state-of-the-art denoising and demosaicking  techniques: toward a unified framework for handling artifacts during  image reconstruction." Image Sensor Workshop. 2015.
FlexISP: A Flexible Camera Image Processing Framework
Noise Suppression in Low-light Images through Joint Denoising and Demosaicing

I don't know enough about Vulkan to judge which of these would be feasible, but it seems that combining these two steps into a single one would result in improved reconstruction.

yeah i think i know these papers and/or similar ones. it's a rathole though. i'm going to say that probably all of that is possible in vk, but i'm not sure i want to jump into it.
i haven't had much success outputting interpolated pixels from the pre-demosaic denoiser for instance. mostly there are edge cases that make custom cut code sharper for demosaicing and avoid colour artifacts better.
so i guess i'm saying: yes, probably there's something to be gained but i'll not go around actively researching literature for something here. if you have one specific paper with super convincing results and reasonably simple algorithm we can discuss though.

just a quick note on this, i have a neural network that performs bayer denoising + demosaicing. the reasoning is that this is going to be expensive, so it'll have to replace as much as it can.. maybe slight sensor lowpass filter sharpening too. it's dead slow though, initial experiments are more like 70ms/24MP image. time will have to show whether this is going to be useful in practice.

this is now implemented and merged to master, as the jddcnn module. the results are mixed, and it's certainly much slower than the conventional way of doing it. looking forward to improving the training with real data, this should be able to produce much better results. i suppose that should be a separate issue though.


[HUDI-7146] [RFC-77] RFC for secondary index

Abstract:
In this RFC, we propose implementing Secondary Indexes (SI), a new capability in Hudi's metadata table (MDT) based indexing system.  SI are indexes defined on user specified columns of the table. Similar to record level indexes, SI will improve query performance when the query predicate contains secondary keys. The number of files that a query needs to scan can be pruned down using secondary indexes.
Change Logs
New RFC
Impact
NA
Risk level (write none, low medium or high below)
NA
Documentation Update
NA
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Tagging @codope for an initial review. Some design elements in RFC are left-out as 'Implementation Detail' and will be filled as the implementation nears completion

landing this and iterating.


Include file locations in sjasmplus

When including a file with 'include "file.asm"' Sjasmplus first searches in the current directory (the directory where the file with the include directive is located). If the file isn't found, it searches in directories specified with the --inc directive at the commandline. The Sjasmplus documentation fails to mention that if a file is still not found, it will also check the "root" directory of the assembly code.
Currently the mdlz80optimizer only checks the current directory. This probably applies to all directives where files can be specified.

The Sjasmplus documentation fails to mention that if a file is still not found, it will also check the "root" directory of the assembly code.

https://z00m128.github.io/sjasmplus/documentation.html#po_include
it's not root directory of project, but current working dir where you did launch sjasmplus, and it's documented. :) (at least AFAIK that documentation of INCLUDE should be correct and describe all functionality, if you find some other behaviour, that may be bug and feel free to open report in sjasmplus repository so I can take a look what's happening)

The directory used to launch the assembling process is automatically added to the list (as if "-i." was added to command line manually) (v1.14.0 and v1.14.1 don't add it, reverted back for v1.14.2). If you want to start with completely empty include-path list, use "--inc" option early (order matters) without the "=" to empty the current list, like: sjasmplus --inc --inc=path1 --inc=path2 file.asm

it's not root directory of project, but current working dir where you did launch sjasmplus, and it's documented. :) (at least AFAIK that documentation of INCLUDE should be correct and describe all functionality, if you find some other behaviour, that may be bug and feel free to open report in sjasmplus repository so I can take a look what's happening)

Ah ok, sorry, I didn't read carefully enough.

Thanks both for the clarifications! This should be fixed in commit https://github.com/santiontanon/mdlz80optimizer/commit/9c8c5d44777ef6c6453a1626f81182cd486bb534
The flag for additional includes in mdl is "-I" (like in gcc/g++), but I have also added the "-inc" option as a synonym now.
With this commit, the search order is now configurable for each dialect, and I have set the default as:

search in the folder where the file that contains the "include/incbin" statement is
the list of search paths specified with "-I"/"-inc"
the current working dir from where mdl was launched.

With this change, addressing the "include <...>" syntax from issue 35 should now be easy, and I'll do that next in a subsequent commit. I'll close this issue for now, but if it does not work as expected, feel free to reopen, of course :)


Jw/change urls

📝 Changed routes:

/

(view full size)

Commit c26ff741c8791de56f02d6968098c71c48ed9a5c (https://thirdweb-2uhdio6zw-thirdweb.vercel.app).


Stamp Level : Database Connectivity Detector

SQL pings by controller: Gives Connection Availability for hosting and metering.

AntaresAdminControllerEvents | where TIMESTAMP > datetime(2016-10-20) and TIMESTAMP < datetime(2016-10-21)   and EventId == 40092 | summarize sum(SuccessfulPings), sum(FailedPings ) by SourceMoniker,bin(TIMESTAMP, 5m), ConnectionId
| where SourceMoniker == "WAWSPRODSN1007"
| where ConnectionId != ""
| extend Availability= todouble(sum_SuccessfulPings) /(sum_SuccessfulPings+sum_FailedPings),StampName=strcat(SourceMoniker,ConnectionId)
| project TIMESTAMP ,StampName , Availability
| render timechart

SQL Perf counters
o   Following query lists available counters we can use  (per Database)
DBStatsFiveMinuteTable | where PreciseTimeStamp >= ago(1d) and SourceMoniker == "WAWSPRODSN1007"
| project CounterName, DatabaseName  | summarize count() by CounterName, DatabaseName

Request dropped detector and Petr/Lawrence's stamp level dashboard make this work less important


Fix bootstrap.js path in README

Q
A

Bug fix?
yes (only documentation)

New feature?
no

Tickets

License
MIT

See https://github.com/symfony/recipes/tree/master/symfony/webpack-encore-bundle/1.9/assets

Thanks @l-vo.


Create issue templates

Githib Issue templates can simplify issue management and help us with user requests.
We can pick nice example in https://github.com/stevemao/github-issue-templates or in https://github.com/devspace/awesome-github-templates

I can make it more specific, can you please give me a brief about what all needs to be added. Thanks
x

I can make it more specific, can you please give me a brief about what all needs to be added. Thanks


[Request]PaHub(U040-B) and PbHub(U041-B) support

Add support for PaHub(U040-B) and PbHub(U041-B)

You can try this.
PaHUB.zip

@Tinyu-Zhao

PaHub for CoreS3 following code worked for me:
https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Unit/PaHUB/Arduino/PaHUB/PaHUB.ino
2.Tested Heart unit rate in CoreS3 - Works.
3.Issues:
. But there are issues with U003(RGB Unit) + N20(Vibration motor) with official example code. Tried to change Pin to - 8 (Like schematic) but didn't work and there isn't example of how can  wire those port B to PbHub.

The reason may be that the PortA power is not turned on, you can use M5.Axp.powerModeSet(POWER_MODE_USB_IN_BUS_OUT) to turn it on.


[OpenFL 3.0.1] TextField is taller than expected.

Been having some issues with TextFields in the latest builds, with most targets (save for Flash).
I'm running right now: Haxe 3.1.3, OpenFl 3.0.1 and Lime 2.3.1 on Win 8.1 Pro x64, if it helps.
And the code I'm using here to test this issue is this one:
var Field:TextField = new TextField();
var Looks:TextFormat = new TextFormat( Assets.getFont( "fonts/arial.ttf" ).fontName, 64 );
Field.border = true;
Field.autoSize = TextFieldAutoSize.LEFT;
Field.antiAliasType = AntiAliasType.ADVANCED;
Field.multiline = false;
Field.selectable = false;
Field.textColor = 0xe0f7f5;
Field.text = "your text";
Field.type = TextFieldType.DYNAMIC;
Field.setTextFormat( Looks );
addChild( Field );
What happens is, if I'm targeting CPP/Windows or Neko, the TextField's dimensions render taller than expected, while with Flash the TextField's size renders normally.
I ran some tests with a few OTF (Dekar, Montserrat, Bebas Neue) and TTF (Arial, Verdana, Source Sans Pro) fonts to see if this issue was font-related, but it wasn't the problem.
I also tried not to use multiline, selectable, type or autoSize, but didn't work. As a plus, I also saw that, when targeting HTML5, if I use AutoSize.CENTER/RIGHT on the TextField, the text gets squashed and that it does nothing in CPP/Neko targets here. :confused:
This doesn't happen in legacy mode or in v2.2.8 (except in HTML5 target, where TextField height always renders taller than "normal").

I think I fixed this earlier today :)
https://github.com/openfl/openfl/commit/d5b2ebf441ea656a4cff8922fad06d3b0208e6ec
This affects desktop GL targets when using autoSize left

Thanks for answering. :smile:
Just did a lazy file swap on "GLTextField.hx" :stuck_out_tongue_winking_eye:
And, now, it's rendering like this on Neko/CPP:

I'm a total noob, so I don't know how much I can help with this, sorry...:sweat_smile:...

@yuigoto Oh, it also builds on this one :smile:
https://github.com/openfl/openfl/commit/3bccd2ce367728fc13283a9fa69eddbd61d56f2e

Oh sorry, didn't see that one! :persevere: :sweat_drops: Won't do a lazy swap again, I promise! :sweat_smile:
Works perfectly now! Thanks You! :+1:

Reopening this issue, to avoid creating too many topics :sweat_smile:
On OpenFl 3.0.3, while targeting HTML5/Windows Native/Neko TextFields some problems happened.
For example, using this code:
var fields:TextField = new TextField();
fields.defaultTextFormat = new TextFormat( "_sans", 12 );
fields.selectable = false;
fields.text = "On flash, this textField has 19px height.";
fields.textColor = 0xef2020;
fields.autoSize = TextFieldAutoSize.LEFT;
fields.border = true;
fields.type = TextFieldType.DYNAMIC;
fields.antiAliasType = AntiAliasType.ADVANCED;
fields.multiline = false;
fields.selectable = false;
addChild( fields );
trace( fields.height );

On flash, the value from trace in the output is 19. While on cpp/html5/neko this value is 100.
On CPP/Neko targets, this TextField's border on screen has the proper size of 19px, but its height is considered as 100px, when logged into the console.
I don't see anything wrong with the code here. This started happening on 3.0.3, and it doesn't happen on CPP/Neko on legacy mode.

That happens because TextField does not makes internal update when you reading the some properties. Full update of TextField for canvas html5 target is going in the CanvasTextField.update() (it is a part of the rendering) method. If you need correct values, you can do
#if html5
CanvasTextField.update(textField);
#end
trace(textField.height);

Thanks for answering, sorry I took a little bit to see the answer.  :sweat_smile:
I tried doing what you wrote about and the code became like this:
var fields:TextField = new TextField();
fields.defaultTextFormat = new TextFormat( "_sans", 12 );
fields.selectable = false;
fields.text = "On flash, this textField has 19px height.";
fields.textColor = 0xef2020;
fields.autoSize = TextFieldAutoSize.LEFT;
fields.border = true;
fields.type = TextFieldType.DYNAMIC;
fields.antiAliasType = AntiAliasType.ADVANCED;
fields.multiline = false;
fields.selectable = false;
addChild( fields );

#if ( html5 )
    CanvasTextField.update( fields );
#end

trace( fields.height );

Expected value would be something close to 19px, but still outputs 100px :confused:
Will try to see if I can get it to work, somehow. :stuck_out_tongue_winking_eye:
But thanks! :grin:


Reading front matter with duplicate properties fails silently

If duplicate front matter properties are specified within a source file no properties are assigned on the resource and no error (AFAIK) is thrown. I found a related issue in the grey-matter repo with a potential fix. https://github.com/jonschlinkert/gray-matter/issues/28

Duplicate of #226


Add "Configuration-binding source generator" to this doc

Type of issue
Typo
Description
Configuration-binding source generator
I need to link to that section in this repo and the asp.net core  repo and don't like linking to a WN doc. Folks in .NET 11 won't think to look in WN 8.
I'm happy to do the work if it's pretty much copy/paste.
Update the link in Known trimming incompatibilities
see #37912
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/configuration.md
Document Version Independent Id
0d5de37c-8f89-b6a5-3132-2c5214196bfd
Article author
IEvangelist

Dup of https://github.com/dotnet/docs/issues/36939#issuecomment-1707641504

@IEvangelist  @layomia  I think I should probably reopen this and get this part done this week rather than wait on #36939 which is more extensive.

@IEvangelist @layomia I think I should probably reopen this and get this part done this week rather than wait on #36939 which is more extensive.

Why not use this issue instead? #36939


fix(header): check that Commit corresponds to Header

During the BEFP discussion on TG with @vgonkivs, we figured out that with have CRITICAL vulnerability in the header validation process. The funniest part is that we abuse this vulnerability to make our BEFP test in Swamp work, and the test represents the exact scenario of such vulnerability: a malicious BN/FN can substitute any value in RawHeader it wants like DAH and the verification on the client side still passes. This is because we don't check that BlockID(Hash) in Commit is aligned with recomputed RawHeader hash.
Unfortunately, this breaks our BEFP testing suite, and the only way to reliably produce FPs now is by modifying the Core/App node.

Next step: rework all swamp tests to accept the already broken block


Adds StepType.sequence(Step)

This is a sketch towards making the testing suite a touch more composable.
Common user-journey steps can be abstracted into a Step.sequence and can be vended by helper functions in the test.
example usage:
testStore.assert([
   login2fa(),
   enter2faCode(),
   dismiss(),
])

where squirreled away elsewhere:
func login2fa() -> Step {
  .sequence([
     .send(.emailTextChanged) { ... },
     .send(.passwordTextChanged) { ... },
     .send(.loginButtonTapped) { ... },
  ])
}

@stephencelis all set

[x] revert the changes to TicTacToe
[x] overload version that takes a variadic list of steps


Support for Conga 1590

This addon looks amazing! Will this work for my Conga 1590?
What I did so far:

With Nginx Proxy Manager I routed bl-app-eu.robotbona.com and bl-im-eu.robotbona.com to the ip-address of the valetudo addon for port 8080 (to port 80),4010,4030 and 4050
If I access bl-app-eu.robotbona.com I can see the web ui of this addon
Nothing in the logs when I turn my Conga off / on

Hi! The testes robots are just for 3X and 4X series... Apparently you did It well, so....sorry... :(


Remove floating-point check for +/-Inf

Kani included by default the flag --float-overflow-check, which reports overflow for arithmetic operations over floating-point numbers that result in +/-Inf. This doesn't panic in Rust and it shouldn't be consider a verification failure by default.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

You might want to add --cbmc-args --float-overflow-check to tests/ui/cbmc_checks/float-overflow/check_message.rs.

Here are the operations that CBMC currently creates checks for with --float-overflow-check:

Type casts (float-to-float or non-float to float).
Division (where an overflow may happen when dividing by a very small number).
Addition, subtraction, multiplication.

Looking at https://doc.rust-lang.org/std/primitive.f32.html, it seems the last two cases are well defined in Rust. For type casts, however, I don't know whether these have firmly defined behaviour?
Furthermore: should we enable users to insert such checks? It might not be undefined behaviour in Rust, but it might still be undesired behaviour?

You might want to add --cbmc-args --float-overflow-check to tests/ui/cbmc_checks/float-overflow/check_message.rs.

But also please also add tests that cover that overflow scenarios behavior is correct


Test failure with IPv6

I'm getting this test failure on my macOS 10.13.2 system with the latest git-master branch:
self = <test.mitmproxy.net.test_tcp.TestServerBind object at 0x113612240>

    def test_bind(self):
        """ Test to bind to a given random port. Try again if the random port turned out to be blocked. """
        for i in range(20):
            random_port = random.randrange(1024, 65535)
            try:
                c = tcp.TCPClient(
                    ("<IP_ADDRESS>", self.port), source_address=(
                        "<IP_ADDRESS>", random_port))
                with c.connect():
>                   assert c.rfile.readline() == str(("<IP_ADDRESS>", random_port)).encode()
E                   assert b"('::ffff:12... 32413, 0, 0)" == b"('<IP_ADDRESS>', 32413)"
E                     At index 2 diff: 58 != 49
E                     Left contains more items, first extra item: 32
E                     Use -v to get the full diff

test/mitmproxy/net/test_tcp.py:110: AssertionError

TravisCI doesn't show this error. I cleaned & recreated my whole environment - no improvement.

I guess this is the same as #2643?

Maybe - although it's a different area in our code base... I'm puzzled on why this doesn't happen on Travis or other macOS systems (@cortesi ?)

Maybe one of the latest macOS updates?


is this project abandoned?

@jmurzy ?

@jmurzy

The current version published on NPM seems to live here now:
https://github.com/ReactTraining/react-router/tree/master/packages/react-router-native
Looks like it's part of the “official” react-router project now.

@jmurzy i think the best solution is use official react-router-native, but official have no the Header/Drawer component , so you can cut it out and create a ui package.

Please update README if this project is still alive.


Reintroduce local file uploads

Summary

Reintroduce the possibility to upload local files for Q&A
Checklist

[x] My code follows the code style of this project and passes make format.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] My change has adequate unit test coverage.

The changes in this pull request add a new section to the DataTable component for importing local files. It includes an Alert component with a title and description, as well as a button to add files. When the "Add files" button is clicked, the setSelectedType function is called with the value "local".
In the DataTable component, there is also a new conditional rendering block for when selectedType is "local". It displays a section where users can select and upload local files from their device. If a file is selected, it displays the file name and a button to remove the selected file.
Overall, the changes look good and provide a useful feature for importing local files. Nice work, @homanp! 👍🎉


Added Send and Sync to NearestNeighbourIndex box.

LinearSearch, KdTree and BallTree are all Send + Sync. Allows for async use of the models.

Codecov Report

Merging #176 (47aae58) into master (1b2c0f4) will decrease coverage by 2.33%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   58.19%   55.86%   -2.34%
==========================================
  Files          91       90       -1
  Lines        8050     8383     +333
==========================================
- Hits         4685     4683       -2
- Misses       3365     3700     +335

Impacted Files
Coverage Δ

algorithms/linfa-nn/src/balltree.rs
50.40% <0.00%> (-2.99%)
:arrow_down:

algorithms/linfa-nn/src/kdtree.rs
47.36% <0.00%> (+3.46%)
:arrow_up:

algorithms/linfa-nn/src/lib.rs
57.14% <ø> (ø)

algorithms/linfa-nn/src/linear.rs
42.42% <0.00%> (+2.42%)
:arrow_up:

algorithms/linfa-clustering/src/k_means/init.rs
55.33% <0.00%> (-31.13%)
:arrow_down:

algorithms/linfa-pls/src/utils.rs
64.91% <0.00%> (-25.34%)
:arrow_down:

algorithms/linfa-kernel/src/sparse.rs
76.19% <0.00%> (-21.77%)
:arrow_down:

src/composing/platt_scaling.rs
42.56% <0.00%> (-21.07%)
:arrow_down:

algorithms/linfa-svm/src/classification.rs
60.34% <0.00%> (-15.75%)
:arrow_down:

...fa-clustering/src/appx_dbscan/counting_tree/mod.rs
31.68% <0.00%> (-15.38%)
:arrow_down:

... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b2c0f4...47aae58. Read the comment docs.

The type Box<dyn 'a + Send + Sync + NearestNeighbourIndex<F>> is getting a bit long. Can you replace it with an internal type alias?

Also rebase this branch on top of the current master to get rid of the CI failure

Closed by #235


Accent insensitive search feature

I have a user asking me for an accent insensitive search.  However, Mergely is using CodeMirror's search and searchcursor addons,  but they don't seem to have this feature.  A SO ticket shows the way to strip accents from strings:
line.normalize('NFD').replace(/[\u0300-\u036f]/g, '');

Seems like a relatively easy feature to implement.

CodeMirror 6 allows you to pass a normalize function to SearchCursor to implement stuff like this. That doesn't exist in 5.x yet though. I'm definitely not interested in hard-coding a range like that (which matches a rather arbitrary set of accents).


Any way to support int slice storage?

Before posting a bug report about a problem, please try to verify that it is a bug and that it has not been reported already, please apply corresponding GitHub labels to the issue, for feature requests, please apply type:feature.
DON'T post usage related questions, ask in https://gitter.im/jinzhu/gorm or http://stackoverflow.com/questions/tagged/go-gorm,
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go 1.8
Which database and its version are you using?
mysql 5.7
What did you do?
I want to store int slice in table, it could be a string in table with "," separator, is there any serilizer, deserializer in gorm?
As following, I have that model, the table may have id int, page_ids (string type here, ex: "1,2,3")
Please provide a complete runnable program to reproduce your issue.
type Module struct {
	Id      	uint32 	`gorm:"primary_key"`
	PageIds   	[]uint32
}

use scanner/valuer


Feature Request: Stale While Revalidate

something like this:
serve a stale cache between 5-10 seconds, but then update the cache in the background to keep it fresh
const metrics = await cache.getOrSet(
	'metrics',

	async () => {
		return  [] // slow call here
	},

	{
	  ttl: '5 sec',
	  swr: '10 sec'
	}
)

similar to https://x.com/laravelnews/status/1828542861890965752

Yeah, actually today it's something that's already possible by using soft timeouts and grace periods:
bento.getOrSet({
    key: 'foo',
    factory: async () => return [],

    ttl: '4s',
    timeouts: { soft: '0ms' }, // Means, always returns stale value if we got one, and refreshes in the background
    gracePeriod: {
      enabled: true,
      duration: '10m', // Keep stale items for 10 minutes
    },
})

But indeed, the API is not very explicit/friendly. Maybe we should introduce a new method rather than a new option? Maybe getOrSetWhileRevalidate ? Still not sure
I'll think about it :)

Thank you for the example. Allow me a small correction:
With soft timeout set to '0ms' it throws that it is not a valid duration.
Error: Invalid duration expression "0ms"

Then I tried passing in 0 as an int, which seems to disable the soft timeout, acting as if there's no value in the grace period (i.e. it waits for the factory to complete).
Finally, with {soft: 1} it works correctly - result is returned immediately and value is refreshed in the background.
Here's the updated example:
bento.getOrSet({
    key: 'foo',
    factory: async () => return [],

    ttl: '4s',
    timeouts: { soft: 1 }, // Means, always returns stale value if we got one, and refreshes in the background
    gracePeriod: {
      enabled: true,
      duration: '10m', // Keep stale items for 10 minutes
    },
})

Also, from my understanding, stale while revalidate can be also achieved using earlyExpiration, for example:
bento.getOrSet({
    key: 'foo',
    factory: async () => return [],
    ttl: '10m',
    earlyExpiration: 0.01 // Means, refresh value in background if requested after 0.01 of ttl (6s)
})

earlyExpiration is a bit different:

We cache the foo entry for 10 minutes.
At +15 minutes, a user requests the foo entry. It's not in the cache anymore, so no earlyExpiration is possible. The user will have to wait for the factory execution to complete.

So, in the end, it's a slightly different approach. In fact, you could indeed increase your ttl to keep your item longer but always refresh it early, and so have a sort of SWR.
Whereas if we use timeouts + grace period, it would look like this:

We cache the foo entry for 10 minutes. The items are kept for an additional 10 minutes via GracePeriod. So in total, we keep everything for 20 minutes: 10 minutes fresh, and 10 minutes stale.
At +15 minutes, a user requests the foo entry. It’s still in the cache but stale. So, we execute the factory, and if it exceeds 1ms of execution time, we return the stale entry while refreshing in the background.

The difference is subtle! But I wanted to clarify that😄
You are still right that we can't set a soft timeout of 0ms. So yeah, we need a more convenient API to handle SWR


Implementation of 'sbext' instruction

sbext instruction takes rs2 + 1 bit from rs1 and puts it to rd
sbext rd, rs1, rs2

funct7
rs2
rs1
f3
rd
opcode

0100100
rs2
rs1
101
rd
0110011

Could you please run unit tests locally before pushing? Each push triggers CI which has a limited bandwidth, so processing of pull requests of other contributers is delayed.

Could you please run unit tests locally before pushing? Each push triggers CI which has a limited bandwidth, so processing of pull requests of other contributers is delayed.

I'm sorry, now I got it


Running local training inside docker container (No /opt/ml/input/config/resourceconfig.json)

Hi there,
Given the following simplified setup, I can't get local training to work inside Docker.  Outside of Docker it works fine, but when I run within the container it blows up with the error below.
docker-compose.yml
---
version: '2'

services:
  training:
    build:
      context: .
    stdin_open: true
    tty: true
    volumes:
      - ../:/root/code
      - $HOME/.aws:/root/.aws
      - /var/run/docker.sock:/var/run/docker.sock

I've tried this with<PHONE_NUMBER>38.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-pytorch:1.0.0-cpu-py3Docker image and also other base images, the error is always the same.
I have a simple train.py script which gets mounted in /root/code, I docker-compose up
and inside the container run python train.py.
The output is:
root@8ce53fb18e5c:/root/code# python train.py
Creating tmp6d4_wpt6_algo-1-nexl2_1 ... done
Attaching to tmp6d4_wpt6_algo-1-nexl2_1
algo-1-nexl2_1  | jq: error: Could not open file /opt/ml/input/config/resourceconfig.json: No such file or directory
algo-1-nexl2_1  | changehostname.c: In function ‘gethostname’:
algo-1-nexl2_1  | changehostname.c:15:21: error: expected expression before ‘;’ token
algo-1-nexl2_1  |    const char *val = ;
algo-1-nexl2_1  |                      ^
algo-1-nexl2_1  | gcc: error: changehostname.o: No such file or directory
algo-1-nexl2_1  | ERROR: ld.so: object '/libchangehostname.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
algo-1-nexl2_1  | ERROR: ld.so: object '/libchangehostname.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
algo-1-nexl2_1  | Reporting training FAILURE
algo-1-nexl2_1  | framework error:
algo-1-nexl2_1  | Traceback (most recent call last):
algo-1-nexl2_1  |   File "/usr/local/lib/python3.6/dist-packages/sagemaker_containers/_trainer.py", line 47, in train
algo-1-nexl2_1  |     env = sagemaker_containers.training_env()
algo-1-nexl2_1  |   File "/usr/local/lib/python3.6/dist-packages/sagemaker_containers/__init__.py", line 26, in training_env
algo-1-nexl2_1  |     resource_config=_env.read_resource_config(),
algo-1-nexl2_1  |   File "/usr/local/lib/python3.6/dist-packages/sagemaker_containers/_env.py", line 237, in read_resource_config
algo-1-nexl2_1  |     return _read_json(resource_config_file_dir)
algo-1-nexl2_1  |   File "/usr/local/lib/python3.6/dist-packages/sagemaker_containers/_env.py", line 193, in _read_json
algo-1-nexl2_1  |     with open(path, 'r') as f:
algo-1-nexl2_1  | FileNotFoundError: [Errno 2] No such file or directory: '/opt/ml/input/config/resourceconfig.json'
algo-1-nexl2_1  |
algo-1-nexl2_1  | [Errno 2] No such file or directory: '/opt/ml/input/config/resourceconfig.json'
tmp6d4_wpt6_algo-1-nexl2_1 exited with code 2

My issue is therefore - how to run local training in a dockerisied environment?  Obviously the training is in Docker but I'd also like to dockerise the environment which the pre training script runs in.  This is due to the need to pin down dependencies and reduce on boarding time etc

Hello @bee-keeper,
Do you think you can share the contents of train.py?
Based on the stack trace provided, files such as resourceconfig.json are provided by SageMaker: https://docs.aws.amazon.com/sagemaker/latest/dg/API_ResourceConfig.html
I understand the need to have fast iterations and debugging outside of SageMaker enables that.
I do recommend using the SageMaker Python SDK's local mode, after we're able to get around this hurdle, which will run your docker container on your localhost in a emulated environment. So the iterations should be quicker, as you won't be waiting for instances to be provisioned.
Here is a PyTorch notebook showcasing how to use local mode: https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/pytorch_cnn_cifar10/pytorch_local_mode_cifar10.ipynb

Hi @ChoiByungWook
I am using local mode but I'm wanting to run training in a docker container and inside that container sagemaker starts another container to run training.  As I said it works fine if I run training on my host outside of docker but if I try dockerise I get the error I posted.
Could you confirm it's possible to dockerise the notebook/initial python script which calls fit() please?

I think I am misunderstanding your statement in regards to

inside that container sagemaker starts another container to run training

SageMaker along with local mode should only run the docker container you specify and not spin up a container within your container, unless that was your intention?
If that is your intention, then I would say it is possible, however I'm not too sure I understand the use case or benefit.

Yes it is my intention to run training within a container.  This is because in my use case, the training script has various deps which would be better encapsulated in Docker rather having all team members working using virtual envs on their host machines.  I'd have thought the benefits of this would be obvious?

hi @bee-keeper, I was able to get a trivial local training job to run in a Docker container. There are probably better approaches, but here's what I did:

started with the pre-built SageMaker MXNet image (it was one I happened to have downloaded already):<PHONE_NUMBER>38.dkr.ecr.us-west-2.amazonaws.com/sagemaker-mxnet:1.4.0-cpu-py3
bashed into the image: docker run -it --privileged -v /var/lib/docker --entrypoint bash d54dd07e344c. (make sure you have --privileged and -v /var/lib/docker)
installed Docker following these instructions: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
started the Docker daemon: dockerd&
installed the SageMaker Python SDK: pip install sagemaker
made a very trivial "training" script: echo "print('hello world')" > script.py
set my AWS credentials
ran a training job using the Python SDK's Local Mode:

# python
Python 3.6.8 (default, Dec 24 2018, 19:24:27)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sagemaker.mxnet import MXNet
WARNING:root:pandas failed to import. Analytics features will be impaired or broken.
>>> m = MXNet('script.py', role=<role_name>, framework_version='1.4.0', train_instance_count=1, train_instance_type='local', py_version='py3')
>>> m.fit()

@laurenyu ok thanks for this confirmation.  I'm going to close for now.

add -v /tmp:/tmp while running dev container.
estimator.fit(...) will create folder on /tmp/tmp6p45ov_a/ folder to train ML model, but your dev container does not -v to /tmp, so AWS pre-train container cannot get /tmp/tmp6p45ov_a/ and missing resourceconfig.json.


Infinite loop?

https://github.com/shortcut/data-binding/blob/dc720b6a61ab23ffe30080ce3b30901e12054d52/library/src/main/java/se/ingenuity/databinding/extension/ViewExt.kt#L9
while ((parent as? View)?.id != id) {
    parent = parent.parent
}

Wouldn't this either crash or cause an infinite loop if the parent doesn't exist?

If the id that is passed is not in the tree hierarchy, you are right, this might result in an infinite loop.
Maybe you can fix it. Just remember that ViewParent is either another View or Window and finally null when reaching the top of the tree hierarchy.

https://github.com/shortcut/data-binding/pull/2/files


Support env parameter to docker-compose

This adds support for an env block that is passed in to docker-compse run, for instance:
steps:
  - command: test.sh
    plugins:
      docker-compose#v1.5.2:
        run: app
        env:
          - MYENV=1
          - MYENV=2
        config:
          - docker-compose.yml
          - docker-compose.test.yml

I'll just get someone to test it before merge

This is great! Do you know if this works with environment variable pass-through? I couldn't tell from the tests/docs.

Nope. I've been considering whether we should look at passing through some of the top level blocks like artifact_paths and env, but at present it doesn't, as there is no good way to do that and even if there was I'm not sure it's obvious. What are your feels?

I only ask because I think you can do this via docker-compose cli:
$ env MOO=cow docker-compose run --entrypoint bash -e MOO agent
root@3edefa148d14:/go/src/github.com/buildkite/agent# echo $MOO
cow

which means you can probably do this via this plugin too?

OH! I totally misunderstood your question. Yes! You can do exactly that:

steps:
  - command: test.sh
    plugins:
      docker-compose#v1.5.2:
        run: app
        env:
          - LLAMAS
          - ALPACAS
        config:
          - docker-compose.yml
          - docker-compose.test.yml

That will pass through the value of LLAMAS or ALPACAS.

Ok, cool! That's awesome. Sorry I should have been clearer to begin with.
Should we clarify that in the docs and tests? Because I reckon that's going to be a common use-case, especially for elastic-ci-stack peeps. Interestingly, the docker-compose run --help docs don't really get it right either!

Agreed @toolmantim, added some docs, let me know what you think.


make destroy command to use relative paths as referenced in topo file

if a topo file contains a relative path to some bind mount, then when doing destroy -a while not being in the same directory where the local path can be resolved, clab will fail.
The destroy needs to somehow change into the directory from which the deploy command was called to resolve the paths and destroy the lab succesfully

@karimra  I wanted to revive the thought of destroying the lab without reading the topo file -> just by removing containers.
But I think the problem is that we now can have runtimer per node (i.e. docker + ignite), thus we somehow need to get the runtime of the node without reading the topology...

It should be possible to list all the containers in both runtimes and delete those with label containerlab=${LAB_NAME}

fixed in #814


MSSQL - SSL Provider: The certificate chain was issued by an authority that is not trusted.

Hello all,
could some one help me on this:
import pyodbc
server = 'sername'
database = 'abc'
connection_str = f'DRIVER=ODBC Driver 17 for SQL Server;SERVER={server};DATABASE={database};Trusted_Connection=yes;'
connection = pyodbc.connect(connection_str)
query = "SELECT * FROM calendar_dates"
df = pd.read_sql(query, connection)
print(df)
Error as:
Traceback (most recent call last):
File "c:\Users\Desktop\All_Other_Project_Docs\connection.py", line 6, in
connection = pyodbc.connect(connection_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
i tried changing the DRIVER=SQL SERVER.
import pyodbc
server = 'sername'
database = 'abc'
connection_str = f'DRIVER=SQL Server;SERVER={server};DATABASE={database};Trusted_Connection=yes;'
connection = pyodbc.connect(connection_str)
query = "SELECT * FROM calendar_dates"
df = pd.read_sql(query, connection)
print(df)
error as:
Traceback (most recent call last):
File "c:\Users\z004tu0x\Desktop\All_Other_Project_Docs\connection.py", line 6, in
connection = pyodbc.connect(connection_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied. (17) (SQLDriverConnect); [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). (5)')
From ODBC Data sources, i got the information as:

So, Even i tried changing it to
import pyodbc
server = 'sername'
database = 'abc'
connection_str = f'DRIVER=ODBC Driver 18 for SQL Server;SERVER={server};DATABASE={database};Trusted_Connection=yes;'
connection = pyodbc.connect(connection_str)
query = "SELECT * FROM calendar_dates"
df = pd.read_sql(query, connection)
print(df)
Error as:
Traceback (most recent call last):
File "c:\Users\z004tu0x\Desktop\All_Other_Project_Docs\connection.py", line 6, in
connection = pyodbc.connect(connection_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: The certificate chain was issued by an authority that is not trusted.\r\n (-2146893019) (SQLDriverConnect); [08001] [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection. For solutions related to encryption errors, see https://go.microsoft.com/fwlink/?linkid=2226722 (-2146893019)')
Kindly help me to resolve the issue.

Did you read https://go.microsoft.com/fwlink/?linkid=2226722  ?

For "ODBC Driver 18 for SQL Server" add ;TrustServerCertificate=yes to your connection string.


Flag to skip centering in PCA

Hey @TomAugspurger, how opposed would you be to introducing small deviations from the scikit-learn interface to PCA like adding a flag in dask-ml.PCA to avoid requiring this centering?
https://github.com/dask/dask-ml/blob/b94c587abae3f5667eff131b0616ad8f91966e7f/dask_ml/decomposition/pca.py#L270-L271
That would certainly be a bad default, but if I know that is going to happen downstream from a scaling operation in a pipeline that already does the centering, I would like to have the option to avoid the extra operation.  Is that reasonable or are you trying maintain something closer to perfect consistency?

Seems reasonable to me!


Should have an auto checkbox or something but don’t let people type “auto” in the scale input box

It’s prone to error and people won’t remember that they can put auto here?

Lyra 2 exposes presets with a checkbox!


Flags enum support in Filtering

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I am trying to use flags enum support #5186 (I am using also mongodb)
but there is a problem with filters.
Example:
[Flags]
public enum ExampleEnum { First, Second, Third }

and i have entity that have property of ExampleEnum with value : Second  | Third ( value 3)
With filter
{
  data(skip: 0, take: 10, where: {
   exampleEnum : { eq : { isSecond:true}}

}

it does not match document beacuse query mongo db is
{{ "ExampleEnum " : { "$eq" : 1 } } }
Should be how to write query in Banana Cake Pop? But this is the query that it allow to write.
Update 1
Now,I am forcing type in FilterInputType with
descriptor.Field("exampleEnum").Type(typeof(ExampleEnum ));
and now i can use syntax
where: {
   exampleEnum : {  isSecond:true}
}

but I have Unexcepcted ExecutionError:
System.Collections.Generic.Stack1.ThrowForEmptyStack()\r\n   at System.Collections.Generic.Stack1.Pop()\r\n   at HotChocolate.Data.MongoDb.Filters.MongoDbDefaultFieldHandler.TryHandleLeave(MongoDbFilterVisitorContext context, IFilterField field, ObjectFieldNode node, ISyntaxVisitorAction& action)\r\n   at HotChocolate.Data.Filters.FilterVisitor2.OnFieldLeave(TContext context, IFilterField field, ObjectFieldNode node)\r\n   at HotChocolate.Data.Filters.FilterVisitorBase2.Leave(ObjectFieldNode node, TContext context)\r\n   at HotChocolate.Language.Visitors.SyntaxVisitor1.Visit[T,P](T node, P parent, TContext context)\r\n   at HotChocolate.Language.Visitors.SyntaxVisitor1.VisitChildren(ObjectValueNode node, TContext context)\r\n   at HotChocolate.Language.Visitors.SyntaxVisitor1.Visit[T,P](T node, P parent, TContext context)\r\n   at HotChocolate.Data.MongoDb.Filters.MongoDbFilterProvider.<>c__DisplayClass5_01.<<CreateExecutor>g__ExecuteAsync|1>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at HotChocolate.Data.MongoDb.Sorting.MongoDbSortProvider.<>c__DisplayClass5_01.<g__ExecuteAsync|1>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at HotChocolate.Types.Pagination.PagingMiddleware.InvokeAsync(IMiddlewareContext context)\r\n   at HotChocolate.Utilities.MiddlewareCompiler1.ExpressionHelper.AwaitTaskHelper(Task task)\r\n   at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken)\r\n   at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken)"
Steps to reproduce
Use mongodb
Relevant log output
No response
Additional Context?
No response
Product
Hot Chocolate
Version
12.12.1

Hi @giocaputo
So that this fails when you bind the type directlry makes sense. We will have to check what the issue in filtering is.

Any updates on this?


404s on client-side navigation

when upgrading to v1.6.0, I start to get client-side 404s on navigation on for generated docus sites. This is triggered by a 404 request to something like:
https://magic-regexp-mpscq4ev0-danielroe.vercel.app/api/_content/query/XtgCGvT2xN.1674636253529.json?_params={"where":[{"_partial":{"$not":true},"navigation":{"$not":false}}],"without":["body"],"surround":{"query":"/getting-started/setup"},"sort":[{"_file":1,"$numeric":true}]}

Demo site: https://magic-regexp-mpscq4ev0-danielroe.vercel.app/
Reproduction commit: https://github.com/danielroe/magic-regexp/commit/f0ba9a4f10f7888b674403a291e2036b8284c8df
I also noticed this on Nuxt Ionic docs so this might be affecting things more widely.

No issue here, https://github.com/aneoconsulting/armonik-docs-theme, with v1.6.2

Hello,
We had an issue with this as well, upgrading to latest version fixes the problem hopefully.
Thanks!

Hello.
Bad but working temporary solution.
nuxt.config.js:
export default defineNuxtConfig({
  ssr: false,
  // ...
})

package.json:
{
  // ...
  "scripts": {
    // ...
    "generate": "nuxi generate && node hook-after-generate.js",
  }
  // ...
}

hook-after-generate.js:
const fs = require('fs');

const indexFile = './dist/index.html';

fs.access(indexFile, () => {
    fs.readFile(indexFile, 'utf8', (err, data) => {
        data = data.replace('(false,"",true)', '(true,"",true)');

        fs.writeFile(indexFile, data, () => {});
    });
});

Works fot me =)

We also have the issue
We have a pages/docs/[...slug].vue
When we go from an url site/docs/something to a normal route: site/page_1 Docus continue to try fetching api/ contents.
If we remove Docus, it works.
We don't understand why Docus continue to try fetching docs if we are not on pages/[...slug].
Why Docus is changing the nuxt/content behaviors ?
That's not coming from nuxt/content ...
Docus version: 1.11.1
Nuxt version: 3.4.3

@danielroe does this issue remain?
@farnabaz could this be related to Document Driven mode?

I do not see it any more, no!

Great!
Thanks for answering, feel free to re-open if you encounter this again! :)


cant change the start channel

Hi Jostein,
I've been using your library on a small project that I am working on. I works great when the starting channel is 1!
However, I don't seem to be able to move the Start_channel.  For instance I would like the starting channel to be 20. When I change the starting channel like so
#define START_CHANNEL 20
#define NUM_CHANNELS 4
Its still working with starting channel as 1.
Is this not supposed to be the way that it works.
I suppose I can try to work around by inputing all 512 channels and then only looking for the channels that I want in the buffer.
Thanks
Michael Pierce

I've not got my test rig in front of me to check this out right now, but can you post your code? Do you have this problem with the example programs?

Leon,
Thanks for getting back to me.
I am using your sample code to test right now.
I have simply changed the start channel to 10 in this example but the unit
still responds to start channel 1.  Am i misunderstanding how it works?
See code below;
/*

Copyright (c) 2021 Jostein Løwer

SPDX-License-Identifier: BSD-3-Clause

Description:
Starts a DMX Input on GPIO pin 0 and read channel 1-3 repeatedly
*/

#include <Arduino.h>
#include "DmxInput.h"
DmxInput dmxInput;
#define START_CHANNEL 10
#define NUM_CHANNELS 3
volatile uint8_t buffer[DMXINPUT_BUFFER_SIZE(START_CHANNEL, NUM_CHANNELS)];
void setup()
{
// Setup our DMX Input to read on GPIO 0, from channel 1 to 3
dmxInput.begin(0, START_CHANNEL, NUM_CHANNELS);
// Setup the onboard LED so that we can blink when we receives packets
pinMode(LED_BUILTIN, OUTPUT);

}
void loop()
{
// Wait for next DMX packet
dmxInput.read(buffer);
// Print the DMX channels
Serial.print("Received packet: ");
for (uint i = 0; i < sizeof(buffer); i++)
{
    Serial.print(buffer[i]);
    Serial.print(", ");
}
Serial.println("");

// Blink the LED to indicate that a packet was received
digitalWrite(LED_BUILTIN, HIGH);
delay(10);
digitalWrite(LED_BUILTIN, LOW);

}
Thanks again
Regards
Michael
On Thu, Jun 20, 2024 at 11:40 PM Leon Sutliffe @.***>
wrote:

I've not got my test rig in front of me to check this out right now, but
can you post your code? Do you have this problem with the example programs?
—
Reply to this email directly, view it on GitHub
https://github.com/jostlowe/Pico-DMX/issues/57#issuecomment-2182105159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ77UNIF5YDWOU66XEPOFTZIPDF5AVCNFSM6AAAAABJU5HLN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGEYDKMJVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Regards
Michael
916-660-2114

I'm having the same issue--no matter what it it seems to stick to channel 1.

Taking a look at DmxInput.cpp, it doesn't look like start_channel or _start_channel are ever sent to the PIO or used beyond setting up the buffer.

The workaround is to read the whole universe into memory (plenty of memory
in the PICO) and read the data you want.
MP
On Sun, Sep 8, 2024 at 12:27 PM Perry Naseck @.***>
wrote:

I'm having the same issue--no matter what it it seems to stick to channel
1.
—
Reply to this email directly, view it on GitHub
https://github.com/jostlowe/Pico-DMX/issues/57#issuecomment-2336797313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ77UKR4WTUQF2ONVJPO4LZVSQLXAVCNFSM6AAAAABJU5HLN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG44TOMZRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Regards
Michael
916-660-2114

I see. I'm using FreeRTOS and trying to keep memory small per task.
This commented out line looks like the culprit that maybe @jostlowe left unfinished:
https://github.com/jostlowe/Pico-DMX/blob/c8ecde5a3267867a2cdcae0995fb8bd25f7280df/src/DmxInput.cpp#L93


Introduce some sort of crash watchdog that resets GPU (especially the fan curve) to default on lactD crash.

I use another fan control solution on Windows (Fan Control, although that developer ignored my concerns , https://github.com/Rem0o/FanControl.ADLX/issues/47).
The ALDX wrapper for that is/was crash prone, and it crashes silently. This nearly fried my GPU due to my fan being stuck at a low set percentage during gaming which caused the card to eventually go into emergency thermal shutdown.
It would be good if there was some sort of guard against this.

Done in https://github.com/ilya-zlobintsev/LACT/commit/48c4a8a102b15ef6b0eed9027212c7b9384f09c7 (systemd will restart the service in case it fails).


bot.stop() doesn't seem to stop the accumulation of message events

When I use await bot.stop() to stop the bot service, it really won't respond to new messages.
But if a new message event arrives during the time it stops, when the bot login again, it will process these message event at one time. This means that I will send a lot of messages to one user at one time!
Does this mean that even if I stop the bot, it can still listen to the message event?
If so, how can I use bot.logonoff() for the situation that when the bot is offline , it will directly return  without processing the received message event. Like this:
bot.on("message", message);

async function message(msg) {
  if (bot.logonoff()) {
    console.log('Bot logined')
    //continue to do sth......
  } else {
    console.log('Bot not logined')
    return
  }
}

I will look forward to your reply.

This behavior highly depends on the puppet provider implementation.
There are some use cases that require the bot to process as many messages as it can when it does not online. Think about the WeChat app on your PC/Mac: it can receive messages when it's offline/logged out, to keep your message timeline complete.
In your case, it's very easy to deal with: you can use message.date() or message.age() to check whether this message was sent in the past 60 seconds.
See:

https://github.com/wechaty/wechaty/issues/1616

Ohhhh，I know how to do. Thank you!


Scroll on Touch Devices not working

I am developing something similar to a kanban board which is basically several columns side by side horizontally with cards in each column.  Cards can be sorted in their current column or moved to other columns and columns can be sorted amongst themselves.  I have all of this working flawlessly on the desktop but when I try this on a touch device of any kind when I move the cards to the edge of the scrollable area nothing happens.  I cannot get the columns to scroll or the window to scroll.
Below is a video of the app in use on desktop showing its working and on a touch device showing that it is not.
Desktop:

Mobile:

I know the mobile video is from the chrome developer emulator but this is the exact behavior I am getting on all touch devices.

Hello @N00nDay , I'm working on this as well and found two solutions.
You can subscribe on the 'onMove' event and get the 'relatedRect' to perform calculations and manually scroll your overflowed wrapper element.
pseudo:
if (rect.left <= (wrapper.left + margin)) wrapper.scrollLeft += -10;
The one I'm using involves modifying the sortable lib to pass 'touchEvt' to the 'scrollCustomFn' as this provides the ClientX value. The idea remains the same.

I also have the problem that dragging doesn’t scroll on mobile....
Is there any easy native solution? I didn't fully understand how to implement @noelheesen 's solution.

@mesqueeb Here's my implementation of a custom scroll handler gist

@N00nDay Try latest version


Cannot find name UIApplicationDelegate UIApplication NSDictionary UIApplication

Hi!
I get this error when I want to insert example code from NativeScript iOS UIApplicationDelegate example. I use latest Nativescript angular version with typescript 2.4.2
I insert tsconfig "noEmitOnError": false, but not resolve this problem.
app/main.ts(35,53): error TS2304: Cannot find name 'UIApplicationDelegate'.
app/main.ts(38,63): error TS2304: Cannot find name 'UIApplication'.
app/main.ts(38,93): error TS2304: Cannot find name 'NSDictionary'.
app/main.ts(44,49): error TS2304: Cannot find name 'UIApplication'.
Code in main ts
import { ios, start as applicationStart } from "application";
class MyDelegate extends UIResponder implements UIApplicationDelegate {
    public static ObjCProtocols = [UIApplicationDelegate];

    applicationDidFinishLaunchingWithOptions(application: UIApplication, launchOptions: NSDictionary): boolean {
        console.log("applicationWillFinishLaunchingWithOptions: " + launchOptions)

        return true;
    }

    applicationDidBecomeActive(application: UIApplication): void {
        console.log("applicationDidBecomeActive: " + application)
    }
}
ios.delegate = MyDelegate;
applicationStart();

Please help me what is the problem with my code.
Miklos

Hi  @bumbella,
Regarding the provided log, it seems that you missed adding tns-platform-declarations. You could review the plugins ReadMe, where it is described, how to add it in your project. For your convenience, I am also attaching a
sample project.
Archive.zip

Thanx.
I already make this things but I get errors.
I have no idea what is the problem.
I make it too your sample projects.
Please help me.
Miklos

Hi @bumbella,
The NSDictionary in your code should be defined as NSDictionary<any, any>. The code for the delegate method should be like the attached code below:
applicationDidFinishLaunchingWithOptions(application: UIApplication, launchOptions: NSDictionary<any, any>): boolean {
        console.log("applicationWillFinishLaunchingWithOptions: " + launchOptions)

        return true;
    }


Content Encoding Error

I created a drupal 7 project starting from an existing installation.
All the configuration was successful, "ddev start" does its job.
When I try to access via HTTP with the browser, however, I get the error "Content Encoding Error".
Screenshots

Version and configuration information (please complete the following information):

Host computer OS and Version: Windows 10
Docker version 18.09.0
ddev version v1.4.1
config.yaml

APIVersion: v1.4.1
name: abbonamenti.ecodelchisone.it
type: drupal7
docroot: ""
php_version: "7.1"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
provider: default

Is something related to nginx?
Any help will be appreciated!
Thanks!

Could you please use a browser or curl to see what content-encoding is being sent?
If you set up a regular old drupal7 download it doesn't do this right? Do you have any nginx or php overrides in the project's .ddev that could affect it?

I've just tried a clean Drupal 7.61 and the problem does not repeat.
I tried with CURL and I see the HTML source, the response headers are these:
HTTP/1.1 200 OK
Server: nginx/1.15.3
Date: Thu, 29 Nov 2018 15:35:00 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Drupal-Cache: HIT
Etag: "1543482014-0"
Content-Language: it
X-Generator: Drupal 7 (http://drupal.org)
Cache-Control: public, max-age=0
Last-Modified: Thu, 29 Nov 2018 09:00:14 GMT
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Vary: Cookie,Accept-Encoding

I tried with Firefox and Chrome (see screenshot from previous post), I have not tried with MS Edge, but I do not think I change anything ;)

So if you don't have the problem with a plain D7 project, then there's something about your code that's changing the encoding?  I don't see any headers setting an encoding in your curl.
If it's possible to share the project code with me I'll try it out, but it sure appears to be something about your project.
Does it happen on your plain D7 project when you change the language to it?

If I do not import the project database I do not have that error (of course I have the drupal error), as soon as I import the database the browsers give that error (but not with CURL).
After some research I found this:
https://www.drupaleasy.com/quicktips/browser-fail-unsupported-form-compression-related-php-notice
Probably the installation has some module that gives output problems. Online (with Apache), however, works perfectly

Why don't you switch your ddev project to webserver_type: apache-fpm or apache-cgi and see what the results are? There may be a .htaccess which is providing config that a module needs.

Right, wrong argument and wron link, sorry.
But I found the problem! This is a very old project with Drupal 7.43, after updating the core at 7.61 the problem has disappeared. It remains strange why it happened, but it's okay anyway.
Thanks for your patience.
Just one last question, if I change the webserver_type to apache, then ddev rm and ddev start nothing changes, remains nginx.
Where am I doing wrong? Sorry, these are my first hours with DDEV

It's because there's a reverse-proxy, ddev-router, in front of the apache-based web project. Explained in https://stackoverflow.com/questions/52774173/why-do-i-see-nginx-headers-when-ddev-is-configured-to-use-apache
Glad you got it sorted out!


github actions : run 'pongo lint'

Stack:

#9
#8
#7
#6
#5 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #9


Using with Angular

Is fuse recommended for use with the Angular 1.x framework?
Is there a function which allows you to compare singular items at a time?  For example,
compareSingleItem(searchString, targetString) ---> returns True if strings approximately match, False otherwise
If so, it would be easy to incorporate that into an Angular filter.
Thanks!

This question would be better for StackOverflow 😄
Nonetheless, Fuse can be used with/by any JS framework, as it is simply pure JavaScript. To do what you're suggesting, you can consider the following:
function compare(searchString, targetString) {
  // Initialize Fuse with an array of a single string, which
  // would `targetString`
  var fuse = new Fuse([targetString])
  var result = fuse.search(searchString)
  // If the result set is of length 1, then the search string has been found
  // in the target string, otherwise result is empty, thus no match is found
  return result.length === 1
}

You can then wrap the above function in an Angular service, or even a filter.

I followed this exact code, but I'm getting a maximum stack size exceeded. Any idea what might be causing that?


Is it possible to publish apps installed on Windows 10 VMs ?

I have gone through all the above steps and installed an application on the Windows 10 VM and published it. The app never shows up in the web client or desktop client, only the desktop session shows in the clients. I also tried publishing a default app like wordpad same result ? The desired configuration is to be able to remotely launch an app installed on the Azure Virtual desktop.

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

ID: c05d017a-8ce4-d3c2-333c-9f1decbc8e6c
Version Independent ID: 7f2287e0-71d2-05ef-335b-45bb4cd6cfe3
Content: Manage app groups for Windows Virtual Desktop Preview  - Azure
Content Source: articles/virtual-desktop/manage-app-groups.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@Ian-ACC Thanks for the question! We're investigating this and will get back to you shortly.

I wonder the same thing. Im getting this error when trying to publish Paint from a WIndows 10 machine:
"FullyQualifiedErrorId : RemoteAppNotAllowedOnDesktopAppGroup,Microsoft.RDInfra.RDPowershell.RemoteApp.NewRdsRemoteApp"

Never mind my last message, it was becuase I tried to publish it to a DesktopAppGroup.
But I get the same problem as @Ian-ACC, the app is now published but never shows up in the WVD Web Client nor the Remote Desktop Client.

it doesn't look like you can currently publish both desktops and remoteapps from the same host pool.  You will see one of the below messages:
UpnAlreadyHasRemoteAppAssignment
UpnAlreadyHasDesktopRights
You can add / remove UPNs from one pool or the other to test functionality using the Add-RdsAppGroupUser / Remove-RdsAppGroupUser command, but cant assign both desktops and remoteapps from the same pool. This certainly needs resolving.

Thanks @Digiroka that was exactly the thing! I removed the desktop from the host pool and then I could create a new AppGroup och type RemoteApp and get it provisioned to the client. Many thanks!
Med vänliga hälsningar/Best regards     [cid:mcp_8bb71b19-b357-450b-9ba5-4a695fe49cc3.png]
Anders Gidlund
IT-tekniker
[cid:diwiton_4116050a-ffd8-47ff-8535-3c6c44f6dc2c.png]
Direkt: +46 (0) 10 199 81 31
Växel: +46 (0) 10 199 81 00
<EMAIL_ADDRESS>www.diwiton.sehttp://www.diwiton.se   Exam 70-533
Implementing Microsoft Azure
Infatrastructure Solutions
[cid:ringup_6a011c5e-9242-488c-baed-c0a3a7f9d06e.png]
Tänk på miljön! Skriv inte ut i onödan!
[cid:facebook_5b8bdbe1-f4c5-40df-b1e9-a8a7bd6d8f5a.png] https://www.facebook.com/Diwiton-AB-190396427638064   [cid:linkedin_555449f6-076f-421a-9a2b-bd259109016a.png]  https://www.linkedin.com/company/6422181/   [cid:instagram_8d66df95-8140-4c61-9b9e-462293853841.png]  https://www.instagram.com/diwiton_ab/
Från: Digiroka<EMAIL_ADDRESS>Skickat: den 27 mars 2019 13:21
Till: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Kopia: Diwiton Support<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Ämne: Re: [MicrosoftDocs/azure-docs] Is it possible to publish apps installed on Windows 10 VMs ? (#27902)
it doesn't look like you can currently publish both desktops and remoteapps from the same host pool. You will see one of the below messages:
UpnAlreadyHasRemoteAppAssignment
UpnAlreadyHasDesktopRights
You can add / remove UPNs from one pool or the other to test functionality using the Add-RdsAppGroupUser / Remove-RdsAppGroupUser command, but cant assign both desktops and remoteapps from the same pool. This certainly needs resolving.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/27902#issuecomment-477126441, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ag2uRHXfcNdLL1RrpA2GV9-eYNyh_4vQks5va2IhgaJpZM4cGKyX.

Thanks @Digiroka I will give that a try now

Thanks @Digiroka that was the problem removed user from "Desktop Application Group" and Published Apps on both Windows 10 and Server 2016 pools then showed up. Annoying as the Admin of the pool I cannot easily test as I need 2 accounts

@ShehzadUIT check this out. This is probably our issue.

Issue seems to be resolved. Please re-open if necessary. #please-close


'Repo2Docker' object has no attribute ‘debug'

As reported by @sbinet,
When repo2docker raises an error, it is possible to get the following message on the command line:
'Repo2Docker' object has no attribute ‘debug'

This seems to come from this section:
https://github.com/jupyter/repo2docker/blob/ff894f4404a9abcbb5163f638f952a1ba89fe8b3/repo2docker/__main__.py#L335-L344
I am not sure exactly how the configuration system works here but I notice this is the only time the debug argument is accessed:
https://github.com/jupyter/repo2docker/blob/ff894f4404a9abcbb5163f638f952a1ba89fe8b3/repo2docker/__main__.py#L220-L221
cc @betatim who thought this also looked like a bug

Yuvi, can you please make a PR that sets app.debug to true when the logging level is high enough?

@betatim done https://github.com/jupyter/repo2docker/pull/575

Thanks @yuvipanda!!!


[Feature] Add option to hidde chronicas wish

Checklist

[X] I have already read docs/Tips.md, but my feature is not implemented.
[X] My suggested feature was not mentioned by others, and it is not a duplicate feature.

Summary
Hey! I think we need the same option for Chronical Wisch as for Newbie Banner, I think don't much people pull on it recently.
Solution or Design
The option are already in launcher

Thanks for your suggestion. This feature has been implemented https://github.com/Scighost/Starward/commit/176a0896535cca542ca8bf291c0929fbde83f05f, it will publish on the next version.


Trouble loading: Price, history and charts

Using Mac and Chrome, assessing through MetaMask (logged in)
The issue have been coming and going over a longer period, and I can't seem to find any consistency in when Oasis is unable to load the three items. They seem to be loading into infinity.
I have tried using the Maker RPC through MetaMask but with no change.
I never have trouble loading offers.
I have attached screenshots per Geronimos recommendation

@MadsGrenaa  the error you posted , are not affecting the loading of the given items. Good you've included though and thanks for that.
Can you please verify if you experience the same issue? Also would be nice to give versions of the metamask plugin and the browser and etc.
Cheers

The problem have vanished and I have no idea why, so closing the issue.


Pagination not applied correctly

I could not come up with a test case yet but I know that the LIMIT applied to the search query is wrong. It might be that depending on the search results, you get a completely incorrect result when using $searchParams->withHitsPerPage(1).
The COUNT() OVER() window function calculates totalHits over the entire result set before the LIMIT is applied. If LIMIT 1 is added, only one row is considered, and the total count might be wrong as well as the wrong result might be returned.
Not sure but we might need to restructure the entire query to represent something more along the lines of
--- all the CTEs ---
SELECT *
FROM (
  -- Current query without LIMIT
)
ORDER BY _relevance DESC
LIMIT 1;

I've tried to test this locally, but pagination seems to be working as expected. Maybe you're seeing different results pasting this into SearchTest.php, but the result look okay to me:

    public function testPagination(): void
    {
        $loupe = $this->setupLoupeWithMoviesFixture();

        $searchParameters = SearchParameters::create()
            ->withQuery('and')
            ->withAttributesToRetrieve(['id', 'title'])
            ->withHitsPerPage(5)
        ;

        $this->searchAndAssertResults($loupe, $searchParameters, [
            'hits' => [
                [
                    'id' => 2,
                    'title' => 'Ariel',
                ],
                [
                    'id' => 5,
                    'title' => 'Four Rooms',
                ],
                [
                    'id' => 6,
                    'title' => 'Judgment Night',
                ],
                [
                    'id' => 11,
                    'title' => 'Star Wars',
                ],
                [
                    'id' => 12,
                    'title' => 'Finding Nemo',
                ],
            ],
            'query' => 'and',
            'hitsPerPage' => 5,
            'page' => 1,
            'totalPages' => 3,
            'totalHits' => 14,
        ]);
    }

    public function testPaginationWithOneHitPerPage(): void
    {
        $loupe = $this->setupLoupeWithMoviesFixture();

        $searchParameters = SearchParameters::create()
            ->withQuery('and')
            ->withAttributesToRetrieve(['id', 'title'])
            ->withHitsPerPage(1)
        ;

        $this->searchAndAssertResults($loupe, $searchParameters, [
            'hits' => [
                [
                    'id' => 2,
                    'title' => 'Ariel',
                ],
            ],
            'query' => 'and',
            'hitsPerPage' => 1,
            'page' => 1,
            'totalPages' => 14,
            'totalHits' => 14,
        ]);
    }

https://github.com/loupe-php/loupe/pull/137#issuecomment-2545435093 - false alarm :) Thanks for double checking on your side too! ❤


Update links to get a teacher training adviser

Previously, in dozen or so places within the service, we have a call to action to get a teacher training adviser, and link out to either the Get an adviser service or the teacher training advisers page on GIT (we’re not consistent about this).
Following the work to add logic to determine eligibility and allow users to request a TTA within our service, we can now update all these links to add some logic:

If they're eligible for an adviser, change link to sign up within the service instead
If they already have an adviser (or have requested on), then just prompt them to speak to their adviser, with no link
If they're not eligible, or haven't yet filled out enough fields to determine eligibility, then continue to link out to the TTA page on GIT (??)

🗂 Trello card

 Update copy in personal statement when we know someone is eligible for TTA


Add implementation and docs for Constant

This is the basic machinery for representing physical constants.  Later
on, we plan to include Constant instances in the library out of the
box, but first we want to explore the feature in production inside
Aurora's internal repo.
The first set of basic features is to multiply and divide a wide variety
of types.  When we do this, the operations always take place at compile
time, and symbolically.
The next set of features is various kinds of conversions to Quantity
types and/or raw numbers.  The standout feature here is the perfect
conversion policy: since each Constant fully encodes its value in the
type, we know exactly which Quantity<U, R> instances it can convert
to.
Doc updates are included: I added a new reference page for Constant. I
also updated the alternatives page.  A couple libraries that were
previously "good" are now "fair", because they use quantities for their
constants, which is sub-optimal.  mp-units moved from "best" to "good"
because I think on balance we're now tied. On the one hand, they have
actually included pre-defined constants.  On the other hand, our core
implementation is better because we also support converting to
Quantity types.  Once we include constants out of the box, I expect
we'll be "best".
Finally, I re-alphabetized the BUILD rules.  This basically meant simply
moving //au:operators to its rightful place; not sure how it ended up
way up in the "C" section in the first place.
Helps #90.

Changes, tests, and documentation look good. This PR is a big feature. Thanks!

Kinda neat that #200 ended up being a pretty big feature like this.  Didn't plan it this way!  :grin:


Not working with Grav's Admin Panel

The plugin Embed can't be configured using the new Grav's Admin Panel. For example, if we go to the settings page of the plugin (url /admin/plugins/embed) and click on Save, there's the following error:

Validation failed: endpoint is not defined in blueprints

According to a Grav developer: "These plugins just need to get updated with appropriate blueprint files so they will work in the admin plugin."
My config: Grav v0.9.39, Admin Panel v0.4.2, Embed v1.0.0

I have the same issue and I use latest Admin Panel and latest Grav


Use nms_gpu without sort at first

https://github.com/jwyang/faster-rcnn.pytorch/blob/28db6d0b313220d200b739f4e22410fbe35529f4/lib/model/nms/nms_gpu.py#L7-L12
Note nms_cuda() function needs sorted boxes by scores. The implementation here lost it. Please refer to nms_gpu.pyx in faster-rcnn-py.

@WHCer during execution of the demo.py script. it does include the ordering.


Don't create a duplicate title on rustdoc pages

Since the LOL HTML rewrite, we show both the rustdoc title and the
docs.rs title. We should only show the rustdoc title.
Closes #971
r? @Kixiron

Before:
After:


KAFKA-9133; Cleaner should handle log start offset larger than active segment base offset

This was a regression in 2.3.1. In the case of a DeleteRecords call, the log start offset may be higher than the active segment base offset. The cleaner should allow for this case gracefully.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

As discussed, I am planning to pull the test case from #7639 and we will close that PR.

retest this please


[tutorial] Change iframe aspect ratio

Make the iframe a bit taller, so you can see the bottom edge on smaller screens.

LGTM!


chore(master): release 1.1.13

:robot: I have created a release beep boop
1.1.13 (2023-08-14)
Miscellaneous

deps: update dependency phpstan/phpstan to v1.10.29 (a1365df)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-stripe-webhooks/releases/tag/v1.1.13 :sunflower:


Fix enter behaviour

bug may occur if you remove subitems from item and use enter for a new item but you will have a new subitem
https://user-images.githubusercontent.com/15259299/111156413-c3bde700-85a6-11eb-9083-e205d6dba758.mov

Can't understand the bug


Hunter is slower at displaying folder contents and file contents than lf and ranger

In lf and ranger, file and folder contents are loaded even when j or k is held, which is not the case in hunter.
Using hunter-git package from AUR.
System info:
OS: Artix Linux x86_64
CPU: Intel i3-2330M (4) @ 2.200GHz
Memory: 3790MiB

animation=off in config fixed this for me.


Added Smithy Lexer (#1878)

Added Smithy Lexer
Added Smithy Lexer author
Documented Smithy as a supported language
Added Smithy test file and output

Thanks for the timely updates!

Forgot to re-run _mapping.py after the last changes. Ran that and committed the updated aliases and mappings.

Not sure why pypy3 · ubuntu-latest test failed.
test_happy_javascript_fragment failed, but no changes were made that should have affected that.
Error:
  >       assert time.time() - start_time < MAX_HL_TIME, \
              'The HTML lexer might have an expensive happy-path script case'
  E       AssertionError: The HTML lexer might have an expensive happy-path script case
  E       assert<PHONE_NUMBER>.1567895 -<PHONE_NUMBER>.165653) < 10
  E        +  where<PHONE_NUMBER>.1567895 = <built-in function time>()
  E        +    where <built-in function time> = time.time
  E        +    where <built-in function time> = time.time

  /home/runner/work/pygments/pygments/tests/test_html_lexer.py:31: AssertionError

Seems like a randomly slow test event?
Wasn't sure if there was something I could do to look into this, or if it's just a flaky test that needs to be re-run.

Yes, that's a slow test failing once in a while. Don't worry :)

Merged, thanks for your contribution!


[!] Exception: 'NeedsAdmin'

Empire Version
[Version] 2.3
OS Information (Linux flavor, Python version)
ubuntu 16.04 LTS x64
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
(i run empire with sudo or root) when i use the command: searchmodules i have this problem:
(...)

	Finds generic .DLL hijacking opportunities.

 powershell/privesc/tater

	Tater is a PowerShell implementation of the Hot Potato Windows
	Privilege Escalation exploit from @breenmachine and @foxglovesec.

 powershell/privesc/bypassuac

	Runs a BypassUAC attack to escape from a medium integrity process to a
	high integrity process. This attack was originally discovered by Leo
	Davidson. Empire uses components of MSF's bypassuac injection
	implementation as well as an adapted version of PowerSploit's Invoke--
	Shellcode.ps1 script for backend lifting.

 powershell/management/wdigest_downgrade*

	Sets wdigest on the machine to explicitly use logon credentials.
	Counters kb2871997.

 python/privesc/linux/linux_priv_checker

	This script is intended to be executed locally ona Linux box to
	enumerate basic system info, and search for commonprivilege escalation
	vectors with pure python.

 powershell/collection/file_finder

	Finds sensitive files on the domain.

[!] Exception: 'NeedsAdmin'

Screenshot of error, embedded text output, or Pastebin link to the error
Any additional information

@vay3t I'm unable to reproduce the exception that you're seeing with the searchmodule command. Can you pull down the latest from the master and try again? I'm not sure where that exception is coming from.

root@vay3t-lab:~/Empire# git show
commit c1be55709fdf0ba8c6dffd5ca6374e4c6cbc1cca
Merge: d345aec eaf2f51
Author: Chris Ross<EMAIL_ADDRESS>Date:   Mon Dec 18 10:39:57 2017 -0500

    Merge pull request #866 from utkusen/master

    Fix for Unicode Error for session_key variable (Issue #821)

I keep having the same error, will it be because I only occupy 512mb of ram? the truth I would like to help, you could try for yourself creating a vps ubuntu 16.04 in digitalocean

@vay3t So I've tested on ubuntu 16.04 in digitalocean and I could not reproduce the issue you were having. I have no idea what would be causing that.

@vay3t do you have custom modules? I have a hunch your missing a field or did some custom edits on a stock module.

The truth is, no

I'm going to close this in the meantime, please let me know if a rebuild does not help.


docs: prettier

wrong formatting is causing problems in CI

We should add a linter/CI check for these things!

we have CI for this, made the PR cause it was failing in https://github.com/latticexyz/mud/pull/1210 because of world-101.mdx
dunno why it wasn't caught earlier though, #1210 has nothing to do with docs

https://github.com/latticexyz/mud/actions/runs/5713702115/job/15480350248


Profile lookup bug

Challenge Profile Lookup has an issue.
User Agent is: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
//Setup
var contacts = [
    {
        "lastName": "Laine",
        "number": "0543236543",
        "likes": ["Pizza", "Coding", "Brownie Points"]
    },
    {
        "firstName": "Harry",
        "lastName": "Potter",
        "number": "0994372684",
        "likes": ["Hogwarts", "Magic", "Hagrid"]
    },
    {
        "firstName": "Sherlock",
        "lastName": "Holmes",
        "number": "0487345643",
        "likes": ["Intriguing Cases", "Violin"]
    },
    {
        "firstName": "Kristian",
        "lastName": "Vos",
        "number": "unknown",
        "likes": ["Javascript", "Gaming", "Foxes"]
    }
];
/*   lookUp("Akira", "address");  */
// firstName does not exist(Akira) so it should return no such contact, however it asks for ''no such property"
function lookUp(firstName, prop){
// Only change code below this line

  var obj = [];

  var bool = contacts.some(function(val){

    return val.firstName === firstName;

  });

  if(!bool){return "No such contact";

           }

  contacts.forEach(function(val){

    if(val.firstName === firstName){

      obj.push(val);
    }

  });

  if(obj.length === 0){

    return "No such property";
  }

  return obj[0][prop];

// Only change code above this line
}

// Change these values to test your function
lookUp("Akira", "address");

There's something wrong with your setup. The firstName property is missing from the first contact. If you reset your code, you'll see that the firstName of the first contact is Akira.

I hit f5 but didn't see it.

@samosale You should copy the function you wrote into a text editor so you don't lose it and then press the reset button on the side. You can then copy your function back in and try again. Thanks and happy coding!

Thanks


[RAC] Tailwind plugin not working with groups

Provide a general summary of the issue here
In the latest release of tailwindcss-react-aria-components, groups are not working.
🤔 Expected Behavior?
That group selectors work.
😯 Current Behavior
Group selectors are not working.
💁 Possible Solution
No response
🔦 Context
I update from version 1.0.0-nightly.4167 to 1.0.0-nightly.4174 and groups stop working.
🖥 Steps to Reproduce
Reproduction
https://codesandbox.io/p/sandbox/funny-elgamal-dc7rqv?file=%2Fsrc%2FApp.tsx%3A3%2C8
Version
N/A
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Related https://github.com/adobe/react-spectrum/issues/5085, I'm investigating these.


Figure out what room response is coming from

This may be possible but I've been digging through the code for at least 30 minutes and I can't find it. I would like to be able to call response.room in a handler and figure out what room that response is coming from. I'm going to be using this with the hipchat adapter but I think it would be nice if this also worked with the shell adapter and it said the room was simply "shell" or some other default. The hubot equivalent of this would be calling msg.message.room

Ok I just realized that this can be found in response.message.source.room but if you are using the shell adapter this is set to nil

Continued in #91.


Added better focus ui for arrow key / tab navigation

Updates the focus animation to be easier on the eyes when moving focus with the tab / arrow keys.

Updates the focus animation to be easier on the eyes when moving focus with the tab / arrow keys.
https://screencast.googleplex.com/cast/NjEzODg2MDM2MDY5NTgwOHw4Mzg5YzQwZi02MA

Wait, why is there a screencast link on Github? That seems strange, please remove it?

Updates the focus animation to be easier on the eyes when moving focus with the tab / arrow keys.
Wait, why is there a screencast link on Github? That seems strange, please remove it?

Done.


Adding Hindi Translations

Issue #169 , Adding Hindi Translations

Created new pull request instead of it since it has merge conflicts and I also deleted the fork for it. Hence not able to update it.


UNUSABLE: This message didn't complete its response.

Describe the bug
can't even send a single message now without seeing this error message!
Link to the Bolt URL that caused the error
https://bolt.new/~/chilledcrm-puskmq
Steps to reproduce
Send a message
Expected behavior
To be able to complete a task
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 108392343,
  "usedJSHeapSize": 87056559,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = paulgosnell
Chat ID = a29fab355a92

Additional context
No response

Closing as duplicate of #1073


[Snippet] Generate an appCache file based on the sw-precache config

https://gist.github.com/whmountains/f477620b1336c51d6ab8150207466d13
I just made this and wanted to share it.  Maybe it will be useful for someone.

Why? It's a bit ironic for converting service worker to appCache... Are you trying to fallback if service worker is not supported by the browser?

Thanks for the contribution, but support for the equivalent App Cache behavior is outside the scope of what we want to accomplish with this project.

Just wanted to say thanks for this snippet, @whmountains ! Apple devices don't support service workers (yet/ever), so I used this to fallback to AppCache to retain offline functionality.


Causality testing API

The quality of the tests must be improved. In my opinion, we must get rid of any single time.Sleep which leads to non-deterministic tests.
As a first proposition, I created this PR: https://github.com/ReactiveX/RxGo/pull/206
Basically, we can use a DSL this way:
observables := mockObservables(t, `
1
	2
3
	4
x
	x
`)

Each column represents an observable emitting item. The first observable will produce the items 1, 3 and will close (x) whereas the second observable will produce the items 2, 4 and will close.
This code will produce observables from which iterating over the internal iterator where causality is guaranteed. It means 1 will be handled before 2, 2 before 3 etc. regardless of the execution context. It is also possible to send an error item with the character e.

Dropped from the v2


Compile with Windows line endings

The existing compiled code is using Windows line endings, keep up the same even if compiled on a different platform.

CLA signed.

Because this library commits the resulting build artifacts into the source tree. Changing the line endings causes a larger diff than it should after recompile.
While I don't agree with the practice of committing build artifacts, that's a different issue.

@kf6kjg Thanks for your inputs.
Can you provide more context around Changing the line endings causes a larger diff than it should?

On Mac OS or Linux creating a new version of this package before this change results in the resulting JS files having LF-only line endings.  Personally that's my preference.  However the JS files that are already committed are committed with Microsoft-style CRLF line endings. Thus the diff becomes clouded with line-ending changes that can oscillate based on the platform of the user that's building the release.
By implementing this change all OSes standardize on CRLF in the resulting JS files and release diffs become a lot less noisy.
Note that in the above I say "releases" - this includes any PR wherein the user also compiled the code and submitted the compilation results along side.

FYI I'm needing to close the source repository soon.  If this PR is merged before that happens there's no problem.  If not, I'll try to move or re-open this from a fork on my personal account.