Issue with containers

The inventory-service docker image is not able to connect to config-server or service-registry.
Im starting the inventory-service docker container as docker run -d -p 8282:8282 inventory-service:0.0.1 but the logs says
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
        at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:112) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.DiscoveryClient.register(DiscoveryClient.java:847) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at com.netflix.discovery.InstanceInfoReplicator.run(InstanceInfoReplicator.java:121) ~[eureka-client-1.9.13.jar!/:1.9.13]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_212]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_212]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_212]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_212]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_212]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_212]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_212]

Looks like its not able to reach the eureka server. Am I doing something wrong here?

If you want to start inventory-service separately using docker run command you need to link to the config-server and registry-server explicitly. Instead it would be easy to use docker-compose as described in README.


Fix naming collisions in generated typescript with two arrays in same object

This fixes an issue where the name of the Typescript type for an array entry always ended up being named Item. This causes problem when an object in the swagger document has more then one field with type array.
It also fixes some linter issues.
Fixes: https://github.com/GoogleContainerTools/kpt/issues/3686

Loos great! Thanks for the fix


Use source.config instead of configuration

The "global" configuration is deprecated. Instead, the config attribute for a certain policy source should be used.
Ref: EC-688

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.95%. Comparing base (3a8d70b) to head (2436c15).
Report is 2 commits behind head on main.

Additional details and impacted files

@@          Coverage Diff          @@
##            main    #394   +/-   ##
=====================================
  Coverage   0.95%   0.95%
=====================================
  Files          4       4
  Lines        209     209
=====================================
  Hits           2       2
  Misses       207     207

Flag
Coverage Δ

api
1.18% <ø> (ø)

controller
0.00% <ø> (ø)

schema
0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Test an LSTM network

Price prediction is fundamentally a sequence learning task, which LSTMs are designed for. LSTMs have what's called memory cells, which can store information that lies dozens of time-steps in the past. This is important because, in the market, cause and effect can be quite far apart.
I don't think Scikit-Learn supports LSTMs, so we'll have to use Keras. I'm reading Understanding LSTMs and Keras Guide to Sequential Learning to learn about how LSTMs work and how to implement them.

I expect this to significantly outperform the other models.

The LSTM architecture described here should be a useful reference.

I just took a look at these and, well, good luck man.

I actually have a solid, high-level understanding of how LSTMs and back-propagation work, but (and this is an issue specifically with Keras) I can't figure out how to reshape our feature set to actually train the LSTM, lol.

We'll talk through it later.

Okay this isn't happening


For the lazy and unenlightened, like myself

Looks like mutant version  0.3.0.rc3 is no longer available from https://github.com/mbj/mutant


Change the GO section filter from  Throughput to Evidence type and expand options

Change the GO section filter from Throughput to Evidence type and expand options
This would allow people to filter inferences.

We already have the filter for non-experimental under  the full-view:

but  for some reason we didn't include "experimental" as an option

I think adding "Experimental" could be confusing.  The three current menu items are mutually exclusive.  With "Experimental" added there will be overlap between the options.

add the following evidence groups

Those are the three groups we have already.  Do you mean rename rather than add?

Here is the current configuration for evidence/throughput types.  This config is how GO annotation gets assigned a throughput type on loading.
IRD, NR and RCA don't have a configured type but we don't have any of those annotations.

type
codes

high throughput
HDA HEP HGI HMP HTP

low throughput
EXP IDA IGI IMP IPI

non-experimental
IBA IBD IC IEA IEP IGC IKR ISA ISM ISO ISS NAS TAS

unset
IRD ND NR RCA

I've implemented this on my desktop: https://desktop.kmr.nz/gene/SPAC1565.08

That's great.
I think the labels should be
Low  => Experimental (LTP)
High => Experimental (HTP)
All experimental => Experimental (All)
and Inferred
If we think everyone won't know what HTP/LTP is then we need to put this in full. The labels would be quite long but I think that is OK?
@PCarme thoughts?

Hi.
I've rudely ignored your suggestions and changed the labels to:
- High throughput experiment
- Low throughput experiment
- Inferred
- All experimental annotation
(Sorry I got the order wrong - I'll fix that)
I've done this to see if they are too long.  What do you think?:

Looks good!

I think so


Support Mocha 8

Question
Are there plans to support Mocha 8?
I think I have issues with Mocha 8/Stryker 3.2.4 together. My code is well covered with boundaries and conditionals. All mutants survive. Even on module imports being String-literaled. I'm guessing this is a Mocha 8 issue since my other project with Mocha 7 and Stryker 2.5 working.
Stryker environment

+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>

+--<EMAIL_ADDRESS>
Additional context

Hi 👋  @Prophet32j
Could you try v3.3 of Stryker? We officially support mocha 8 since 3.3:
https://github.com/stryker-mutator/stryker/blob/epic/mutation-switching/CHANGELOG.md#330-2020-06-16
I'm missing @stryker-mutator/mocha-runner in your list of dependencies. Is this deliberate? If so, you're probably using the command test runner. That one should have worked with mocha 8 all along 😲

I just updated to stryker v3.3.1 and it gives me:
npm WARN<EMAIL_ADDRESS>requires a peer of mocha@>= 2.3.3 < 8 but none is installed. You must install peer dependencies yourself.

The peer-dependency of mocha-framework indeed still refers to mocha < 8:
"peerDependencies": {
  "@stryker-mutator/core": "^3.0.0",
  "mocha": ">= 2.3.3 < 8"
}

While mocha-runner allows mocha < 9:
"peerDependencies": {
  "@stryker-mutator/core": "^3.0.0",
  "mocha": ">= 2.3.3 < 9"
}

This is what I had, and my tests would not pass any mutations, even though
I know my tests account for them.

Ok. I have figured out why my tests would not run. Stryker doesn't like module-alias when importing modules.
const matchRelationships = require('../../src/er-studio/match-relationships')

vs
const matchRelationships = require('@src/er-studio/match-relationships')

For any tests that would use the aliased module reference, those tests would either time out or all mutants would live.
If there's no ability to load aliased modules, there should be some sort of NOTICE on the README to inform developers of that limitation.
Either that or I didn't correctly inform Stryker of aliased modules, but I fail to find any documentation on that.

@nicojs

Yeah, module aliassing does not play nice with Stryker. Allowing Stryker to mutate your code in-place will solve this issue, see #2163 .

Stryker doesn't like module-alias when importing modules

I'm not an expert on this subject. What is module-alias exactly? How does it work? If I knew what it was and how it works, I might be able to help you better here.

Either that or I didn't correctly inform Stryker of aliased modules, but I fail to find any documentation on that.

True, we're missing more extensive documentation, or FAQ for this. Please feel free to add it! I think the stryker-handbook might be the place for this documentation https://github.com/stryker-mutator/stryker-handbook/tree/master/stryker

I'm trying to get Stryker 4.1.2 running on a limited set of our unit tests. The Terminal output instruments the tests, starts the test run then produces an error that No tests were executed. Is this because our version of Mocha isn't supported, similar to this?
Here is a screenshot from stryker.log:

This is my stryker.conf.json:
{   "$schema"<EMAIL_ADDRESS>  "packageManager": "npm",   "reporters": [     "html",     "clear-text",     "progress"   ],   "testRunner": "mocha",   "coverageAnalysis": "perTest",   "mutate": [     "v3/SquaredUp.App/PristinePackages/SCOM/Pages/**/*.js"   ],   "fileLogLevel": "trace" }
I am able to kick off all our unit tests using npm test. This has got me stumped.
I'm pretty new to this kind of thing so please let me know what other info you need and I'll get it!

@profplum700 could you please try again with the new --inPlace mode: https://stryker-mutator.io/docs/stryker/configuration/#inplace-boolean (just released in Stryker 4.4). This should solve your issues.

@profplum700 could you please try again with the new --inPlace mode: https://stryker-mutator.io/docs/stryker/configuration/#inplace-boolean (just released in Stryker 4.4). This should solve your issues.

@profplum700 could you please try again with the new --inPlace mode: https://stryker-mutator.io/docs/stryker/configuration/#inplace-boolean (just released in Stryker 4.4). This should solve your issues.

Thanks for the heads up. I won't be able to test it out as I've moved onto other work but I've made a note of it for the future.

@profplum700 could you please try again with the new --inPlace mode: https://stryker-mutator.io/docs/stryker/configuration/#inplace-boolean (just released in Stryker 4.4). This should solve your issues.

Thanks for the heads up. I won't be able to test it out as I've moved onto other work but I've made a note of it for the future.

Mocha 8 is since supported.


Update using.md.erb

While developing a plugin, it is logical that if you can pin a commit or release you can also reference a branch, but it isn't obvious.
Trying to help others that may not notice!

Hey @es-arif thanks for the suggestion.
My main comment is that the heading might be misleading, so how about saying something like
## Loading plugins from a branch

instead of 'Testing'?

I agree "Testing" isn't the best word.
How about "Sourcing" or "Referencing" instead?


Follow the system setting for showing the accent color on the title bar

Is your feature request related to a problem? Please describe.
No problem.
Describe the solution you'd like
Irrespective of Light and Dark theme, there should be an option to set the title bar--as in the horizontal strip that contains the tabs--to my system accent color.
Describe alternatives you've considered
No alternatives.
Additional context
Using Files v. <IP_ADDRESS> on Asus Zen AiO Pro with mouse and keyboard.

@yaichenbaum Maybe before we set our custom title bar, we can retrieve the background color and handle it appropriately if its not a default color?

@duke7553 We should only use the background color if the user turned on the setting to display the accent color in the title bar.

If you query the registry to see if the Show Color on Titlebar setting is on, you could use a tinted Acrylic brush for the top bar/tab area.  And then if the Acrylic setting is turned off in the app or the system, the fallback colour can match the Accent Colour used for the titlebars.

We no longer plan on implementing this feature since Files extends the UI into the title bar.


Display team alongside room name

I have 5 different "General" rooms it is hard to distinguish which one is which :).

This could be a toggle on the room list


git ls-remote should be performed within repo_path

Summary
Checking reachability of git repo should be done inside git repo in order to utilize local git config.
For example, AWS CodeCommit recommends setting up credential helper.
If config is saved locally, current git:check task fails.

Hi, thanks for the PR!
Unfortunately I can't accept this PR as-is because it will not work for an initial deploy: git:check is run before the repository has even been cloned. So the local repo will not exist and thus within repo_path will fail.
However I don't think this change is actually necessary based on AWS recommendation that was mentioned. According to that doc, it seems like the suggestion is to use the --global configuration for credentials. If the configuration is global, then the working directory should not matter.


Unable to resolve your shell environment: Unexpected token b in JSON at position 35

Every time I start vscode this dialog would popup:

And there's no way to determine which JSON file is broken. The "Learn More" button does not provide anything useful, please help me figure out what's wrong?

@meganrogge

Tried stackoverflow already, no one answers for 2 months
It's a bug and a feature request. The error dialog is useless and need to be improved, aka provide detailed error information

Please reopen it and improve the dialog.

@CaledoniaProject when VS Code launches, we source a "dev environment" by running your default shell. When this fails we show the error message that your shell returned. Bottom line is you have some issue in your shell init files that's causing that error, you need to investigate on your end as it's a problem with your environment, not with VS Code.
See here for what we do before showing this error:
https://github.com/microsoft/vscode/blob/87b365f433427f0b936b02382b177abebc7c6369/src/vs/platform/environment/node/shellEnv.ts#L126-L151

Thanks, I did more debugging:

This pops the error dialog: VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args "$@"
This works fine: /usr/local/homebrew/bin/code "$@"

Is there any difference?


get_uptime for Windows CE devices raises exception

This is the Exception:
File "C:\Python26\lib\site-packages\ecks-0.8-py2.6.egg\ecks\plugins\uptime.py", line 43, in get_uptime
if ("Windows" in os) and (int(re.search("(Build (\d+) ", os).groups()[0]) < 7600):
AttributeError: 'NoneType' object has no attribute 'groups'
Apparently, on Windows CE the OS description is 'Microsoft Windows CE Version 5.0 (Build 1400)', while for a Windows Server it is 'Hardware: x86 Family 6 Model 23 Stepping 8 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)'
For Win CE, there is no space after the Build number, so the regexp '"(Build (\d+) " turns up nothing.

Just realized I didn't close this issue when I fixed it blush


[Slider] getAriaValueText prop not working

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
As you can see the slider not show the °C after temperature number.

demo
Expected behavior 🤔
i expected to see something like this.

Steps to reproduce 🕹
Steps:
1.open https://codesandbox.io/s/8d138?file=/demo.js
2. and try to drag the slider :)
3.if u not see the label you can change <Box sx={{ width: 300  }}> to: <Box sx={{ width: 300, mt: 4 }}>
4.Thank you
Context 🔦
No response
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

It seems that you've discovered the correct prop (valueLabelFormat). getAriaValueText (I have no idea why these two props are named so differently) should return a readable string, for example "37 degrees celcius".


Wolfram|Alpha call returns no answer and chat cell fails.

Describe the issue in detail here. Attach any relevant screenshots or files. The section below was automatically generated. Remove any information that you do not wish to include in the report.

Debug Data

Property
Value

Name
"Wolfram/Chatbook"

Version
"1.4.6"

ReleaseID
"$RELEASE_ID$"

EvaluationEnvironment
"Session"

FrontEndVersion
"Desktop: 14.1 for Mac OS X x86 (64-bit) (July 16, 2024)"

KernelVersion
"14.1.0 for Mac OS X x86 (64-bit) (July 16, 2024)"

SystemID
"MacOSX-x86-64"

Notebooks
True

DynamicEvaluation
False

SynchronousEvaluation
False

TaskEvaluation
False

Settings

Property
Value

StyleSheetVersion
"<IP_ADDRESS>27375719"

Stack Data
withChatState
conformToTextData
joinAdjacentStrings
makeInlineToolCallCell
openerView
wideScrollPane
throwFailure
trimURL

Failure Data
<|
  "Evaluation" :> Wolfram`Chatbook`Tools`Private`formatWolframAlphaPods[Missing["NoResults"]["Query"], Missing["NoResults"]["Pods"], False]
  "Arguments" -> {}
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$514547
|>

Sorry about this one. I clicked on "Report this issue" and this ended up being created.  While evaluating a ChatInput, the system called Wolfram|Alpha, which returned no information (kind of expected given the question) and the error was labeled unexpected.    Having the evaluation fail seems like a reasonable solution, but maybe it should be labeled something other than "unexpected".

This was fixed in version 1.5.1. You can install the latest version of the Chatbook paclet with the following:
PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True]


DT-1028 🔧 Update gateway urls

🔧 Switch to new Azure Gateway V2 and new domains

Suspect the lint failures are related to some of the package updates

looks like you've a space at the end of auth for values-prod?

@petergphillips yup! removed


integration: clean up TLS reload tests, fix no-file while renaming

Fix https://github.com/coreos/etcd/issues/7865.
It is also possible to have mismathced key while
renaming directories.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c2d6a92). Click here to learn what that means.
The diff coverage is 95.65%.

@@            Coverage Diff            @@
##             master    #7867   +/-   ##
=========================================
  Coverage          ?   75.69%
=========================================
  Files             ?      332
  Lines             ?    26203
  Branches          ?        0
=========================================
  Hits              ?    19835
  Misses            ?     4935
  Partials          ?     1433

Impacted Files
Coverage Δ

integration/bridge.go
93% <100%> (ø)

clientv3/balancer.go
94.53% <95%> (ø)

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 c2d6a92...85fa594. Read the comment docs.


ImportError - Numpy - Ingestion

Affected module
Does it impact the UI, backend or Ingestion Framework?
Ingestion
Describe the bug
A clear and concise description of what the bug is.
Numpy Dependency added in histogram.py(orm profiler) causes the sample_data ingestion to fail.
To Reproduce
Create new env
Install dependencies and generate new models
Ingest Sample Data
If numpy is not being used anywhere, we can remove the dependency.
if it's being used somewhere, we can add it in base requirements or create a new plugin
cc: @pmbrull @harshach

Thanks @ayush-shah , added it already in the PR I am working on


Increase MaxRetry to 100

15 retries are not enough for Maven Central
See https://github.com/ThoughtWorksInc/Dsl.scala/runs/4543520872?check_suite_focus=true

Ok.
FYI. Sonatype had several troubles this week https://status.maven.org/


Introduce a new setting to limit per node concurrent rebuilding count

longhorn/longhorn#2460

@jenting please also help review if have time.

@shuo-wu Please update manifests in longhorn/longhorn, longhorn/longhorn-manager.


new production and deployment problems

I'm not sure what happend, I had created a store last week that was working flawlessly and it was uploaded to netlify. I come back today and see that for some reason it doesn't fetch products on netlify anymore. I've been trying for hours to compile the app with yarn build, there was a problem that Gravatar from react-gravatar can't be used as a jsx component. I literally haven't touched the code and for some reason it wouldn't work now. When I finally fixed the (tsconfig and next.config had to be changed so it basically ignores the error) issue after 6 hours and was able to compile the app and it works perfectly on my local machine. On netlify it won't fetch the products at all for some reason. When I try to go to /products/(product name) it fetches it without problems, but it won't fetch them on the /products page for some reason.
If anyone knows whats happening please help me, I've built a fully working store for my client and now the app collapsed. I've tried to clone the original commerceplate repo and upload it to netlify and still, the same thing happens.

@nbapera Are you still facing the issue with fetching products on Netlify? It should be working fine now.


Added logic to calculate

Created a logic directory that contains calculator.js and its dependency files.
Imported calculator to the Calculator.js component
Created an onClick event for calculator buttons and within it, called the calculator function and fetched the result from it
Rendered the results on top of the calculator.

@vickymarz Hey, I read this specific milestone activity page again, and I don't see any absolute requirement for adding two future features. Can you help me find out this requirement?


Dist files are not updated

It seems that the dist files where not updated since release 1.6.0. Could you do that please? I'm depending on them.

Fixed


Send message to a specific thread

Hi
Is there any clear example on how to send a message to a specific thread ?
Clearely, I want a function inside a thread that listen live messages received from the main function of my script on user request, this mean each time a request is receive from online user, I send it to the specific thread were the function is working.
Just a small example that interpret this case please, I am stcuking since I am new to channels ad can't find a good example that demonstrating how it works.
Thanks again

Perhaps this example could be helpful? It illustrates std channels rather than Crossbeam channels, but they operate on similar principles.

@Vtec234 Thank you sir ! Yes, I had only to switch from mpsc to crossbeam.
Thank you


Recognizing TLS Extension "HeartBeat" as Valid TLS Packet

Motivation:
The widely used SSL Implementation, OpenSSL, already supports Heartbeat Extension; both sending and responding to Heartbeat Messages. But, since Netty is not recognizing that extension as valid packet, peers won't be able to use this extension.
Modification:
Update SslUtils.java to recognize Heartbeat Extension as valid tls packet.
Result:
With this change, softwares using Netty + OpenSSL will be able to respond for TLS Heartbeat requests (actually taken care by OpenSSL - no need of any extra implementation from Clients)

@kaja-mohideen thanks a lot... Can you sign the ICLA ?
https://netty.io/s/icla ?

I have just signed the CCLA at https://docs.google.com/forms/d/e/1FAIpQLSfXTK6SnWWFbR50DFhoZq2floCFOUBH3kG8sZP77im5Rknctg/viewform?formkey=dG9wTmhoeGNGd1MtdFdtVXl4TlVSNlE6MQ as suggested by my employer.
Please let me know if anything more needs to be done.

@kaja-mohideen ok sounds good... Let me wait for the CI to complete

+1... @kaja-mohideen please address @Scottmitch s comment and ping us once done

Thanks for reviewing @Scottmitch
I have done the changes. Kindly verify.
@normanmaurer

@normanmaurer doesn't this open the possibility of exploiting the heartbleed vulnerability if the system is running < OpenSSL 1.0.1g?

That said maybe it's not such an issue now because heartbeat is disabled by default and @kaja-mohideen would need to modify the compile flags and package tcnative himself https://github.com/netty/netty-tcnative/commit/3e10806c98033a3b754e28fb69ca2dd4a0cfe1f1

Maybe a non-issue, I just tried tcnative against 1.0.1f and compilation failed with "error LNK2001: unresolved external symbol SSL_add0_chain_cert" so running tcnative with OpenSSL 1.0.1f will probably result in linkage errors.

@normanmaurer awkward silence?

@kaja-mohideen @johnou sorry I am currently traveling so had not much time to think about it. Will come back to you soon.

@normanmaurer have a good trip!

@nmittler @Scottmitch @davidben WDYT ?

I actually know nothing about this extension. BoringSSL does not support it, but I assume that if this code is more lax than necessary, it's fine because the actual SSL stack will process it more thoroughly.

Is there anything that I can help with to get this merged?

From a security stand point I'd like to see heartbeats disabled by default and an option to enable them eg. via property @normanmaurer wdyt?

@trustin @nmittler WDYT ?

@trustin do you think we need a property for this or not ?

I'm not sure we need such a knob here because the TLS records are meant to be processed by the SSLEngine implementation.

@normanmaurer We don't. If we are going to add such a know, it should be available when creating SslContext or SslEngine.

@trustin agreed... let me just merge this one

Cherry-picked into 4.1 (13cd69c5ec3bba7d3efbd99ba171e9d3591a8f86) and 4.0 (bc53086)
@kaja-mohideen sorry for the slow turn-around

@normanmaurer No problem. Glad that I have did some tiny contribution back to the lib which I use in every day basis :-)

@johnou - As @trustin said it is not the SslHandler's responsibility to filter out so I don't think we should rely on SslHandler to protect anyone against vulnerabilities of specific implementations of the SSLEngine. In fact in PR https://github.com/netty/netty/pull/6365 I'm exploring having the SslHandler not worry about the framing and just let the SSLEngine (which knows the details of the the SSL/TLS protocols) make these decisions. Folks are responsible to keep software (Netty, JDK, and OpenSSL) up to date to avoid vulnerabilities in older versions of software.

@Scottmitch +1


Add to Package Control

Add sublime-text-merlin to Package Control.

Is it now possible to install sublime-text-merlin via Package Control? Once README.md suggests that and the issue is closed I assume answer 'yes', but I fail to find the package there


Sidebar and post images don't display

Expected Behavior

Adding src path to image for intro pic parameter should display image on the sidebar.
Current Behavior

I have tried adding my image in various folders to try this out, but nothing has worked. The image on the sidebar doesn't display.
Possible Solution

Steps to Reproduce or Template with Error (for bugs)

You can check my github repo here: https://github.com/sejal27/bitsnpieces
Context

Your Environment

System: Windows 7
Hugo Version:
latest
Browser:
Chrome Latest
Desktop or Mobile:
Desktop
Link to your project:
Git repo : https://github.com/sejal27/bitsnpieces

I jsut checked on the past as well, and none of the post images display. I have tried added them in static, content and also img directory on the main site folder. Nothing has worked. I get 404 on the browner console:
GET http://localhost:1313/about/img/sej.jpg 404 (Not Found)
localhost/:328 GET http://localhost:1313/img/sej.jpg 404 (Not Found)

My git repo has been updated with this issue.

Okay I figured that image extension was .JPG and .jpg (case sensitive). It worked after I changed that.


KeyboardAwareScrollView doesn't work as expected on IOS

Describe the bug
First of all, I want to thank you for this awesome library.
When the keyboard is in a closed state and I focus on one of the last inputs, the keyboard overlaps the input, so KeyboardAwareScrollView doesn't work as expected. However, if I focus step by step from the first input to the last input, it works perfectly. This issue only occurs on iOS, on Android, it works as expected.
Additionally, when the app is opened from a closed state and any input is pressed, it takes time to focus (you can see this in the video that I provided below). This doesn't seem to have happened before installing the library.
Steps that I have done to start work with the library

Installed React-Native-Reanimated from the documentation
Ran yarn add react-native-keyboard-controller
Executed cd ios && pod install && cd ..
Added KeyboardProvider at the root of the project

Please, can you help me to find the problem? I didn't find issues like mine. I don't understand what I did wrong. I would be really appreciative of your assistance.
Code snippet
import React, {useState} from 'react';
import {SafeAreaView, StyleSheet, Text, TextInput, View} from 'react-native';
import {
  KeyboardAwareScrollView,
  KeyboardProvider,
} from 'react-native-keyboard-controller';

type FormSchema = {
  username: string;
  firstname: string;
  lastname: string;
  email: string;
  addressOne: string;
  addressTwo: string;
  phoneNumber: string;
  promoCode: string;
  message: string;
  comment: string;
};

type FormKey = keyof FormSchema;

function App(): React.JSX.Element {
  const [form, setForm] = useState<FormSchema>({
    username: '',
    firstname: '',
    lastname: '',
    email: '',
    addressOne: '',
    addressTwo: '',
    phoneNumber: '',
    promoCode: '',
    message: '',
    comment: '',
  });

  const changeFormChange = (key: FormKey, value: string) => {
    setForm(prev => ({...prev, [key]: value}));
  };

  return (
    <KeyboardProvider>
      <SafeAreaView style={styles.container}>
        <KeyboardAwareScrollView
          bottomOffset={50}
          style={styles.container}
          contentContainerStyle={styles.content}>
          <Text style={styles.heading}>Keyboard Aware ScrollView</Text>
          <TextInput
            style={styles.input}
            value={form.username}
            placeholder="Username"
            placeholderTextColor="#747474"
            testID={`TextInput#Username`}
            onChangeText={value => changeFormChange('username', value)}
          />
          <TextInput
            style={styles.input}
            value={form.firstname}
            placeholder="Firstname"
            placeholderTextColor="#747474"
            testID={`TextInput#Firstname`}
            onChangeText={value => changeFormChange('firstname', value)}
          />
          <TextInput
            style={styles.input}
            value={form.lastname}
            placeholder="Lastname"
            placeholderTextColor="#747474"
            testID={`TextInput#Lastname`}
            onChangeText={value => changeFormChange('lastname', value)}
          />
          <TextInput
            style={styles.input}
            value={form.email}
            placeholder="Email"
            placeholderTextColor="#747474"
            testID={`TextInput#Email`}
            onChangeText={value => changeFormChange('email', value)}
          />
          <TextInput
            style={styles.input}
            value={form.addressOne}
            placeholder="Address 1"
            placeholderTextColor="#747474"
            testID={`TextInput#Address`}
            onChangeText={value => changeFormChange('addressOne', value)}
          />
          <TextInput
            style={styles.input}
            value={form.addressTwo}
            placeholder="Address 2"
            placeholderTextColor="#747474"
            testID={`TextInput#Address`}
            onChangeText={value => changeFormChange('addressTwo', value)}
          />
          <TextInput
            style={styles.input}
            value={form.phoneNumber}
            placeholder="Phone number"
            placeholderTextColor="#747474"
            testID={`TextInput#Phone`}
            onChangeText={value => changeFormChange('phoneNumber', value)}
          />
          <TextInput
            style={styles.input}
            value={form.message}
            placeholder="Message"
            placeholderTextColor="#747474"
            testID={`TextInput#Message`}
            onChangeText={value => changeFormChange('message', value)}
          />
          <TextInput
            style={styles.input}
            value={form.comment}
            placeholder="Comment"
            placeholderTextColor="#747474"
            testID={`TextInput#Comment`}
            onChangeText={value => changeFormChange('comment', value)}
          />
        </KeyboardAwareScrollView>
      </SafeAreaView>
    </KeyboardProvider>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
  },
  heading: {
    fontSize: 36,
    fontWeight: '800',
    marginBottom: 8,
    color: '#000',
  },
  content: {
    padding: 16,
    gap: 8,
  },
  input: {
    height: 48,
    borderRadius: 12,
    paddingHorizontal: 12,
    backgroundColor: '#fafafa',
    borderWidth: 1,
    borderColor: '#dddddd',
    color: '#000',
  },
});

export default App;

Repo for reproducing
Here is the minimal repo: GitHub Repo
To Reproduce
Steps to reproduce the behavior:

Run yarn run ios
Press on last input
See problem with overlap

Expected behavior
I think KeyboardAwareScrollView should scroll to the focused input like on Android (you can see this in the video that I provided below).
Screenshots
IOS (With problem)
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/77745661/e42b0fb8-4429-4ec7-b8ec-d3f2a44077c8
Android
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/77745661/1b307f3c-1f5e-4287-b93a-575c682233ca
Smartphone (please complete the following information):

Desktop OS: MacOS 14.4.1
Device: iPhone XR (Real device)
OS: 17.4.1
RN version: 0.74.1
RN architecture: New
JS engine: Hermes
Library version: 1.12.1
Reanimated version: 3.11.0

Hey @byazamat
Thank you for the report! I'll have a look on why it doesn't work! 👀

Okay, parentScrollViewTarget=-1 because of that we skip scrolling. It resolves to -1 because it gets detected as a horizontal ScrollView:

I added this condition in this PR: https://github.com/kirillzyusko/react-native-keyboard-controller/pull/443
Seems like I need to find a better way of detection horizontal/vertical ScrollView 👀

@byazamat can you check if https://github.com/kirillzyusko/react-native-keyboard-controller/pull/454 fixes the problem?

@byazamat can you check if #454 fixes the problem?

It seems that this has resolved the problem.
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/77745661/81c12237-82bd-4995-b657-424ea6a98829
Thanks for your quick response!

@byazamat I merged a PR, but don't know yet when I publish a new version. You can use patch-package and apply a patch with this fix in your project 👀

I will be eagerly looking forward to the new version. In the meantime, the patch is the optimal solution.
@kirillzyusko I am very grateful for your hard work! 🫡


fix: fixed inaccurate saved tracks return type

I noticed that the return type of getSavedTracks was inaccurate, since it doesn't just return the track object in the response items array, but it returns an object with an added_at timestamp and track object.
See Spotify Web API documentation I referenced: https://developer.spotify.com/documentation/web-api/reference/get-users-saved-tracks

Hey! Thanks for catching that 🫶

@all-contributors please add @braydenbabbitt for bug

Thanks y'all! Love the library. It's super useful!


Edified Stairs No Assigned Tool

Edified Stairs apparently don't have a tool assigned to mine them quickly with.

Duplicate of #435


Use UV

This PR moves us from pipenv to uv.
It more or less follows the pattern we used in EE with a couple of new things to note.
Workspaces
For the thumbs sub-project I used a workspace. This allows us to have a pyproject.toml file in the thumbs directory but also resolve to a single dependency tree in a uv.lock file in the parent directory.
To do this I defined  thumbs as part of a workspace.
Later we can use --project thumbs in uv export to just get the dependencies for that project. I think this is a neat solution to the pattern we have in the aggregator API, polling stations, or other projects where we have little Lambdas in a monorepo with the main project.
SAM bug
Oh, Sam.
I hit a bug where SAM can't build source deps in the Python 3.12 image. To get around this I needed to move to a makefile build method rather than the default Python one. Ideally this is something I can move away from later, but I'm writing about it here in case others find it.
As part of debugging this, I ended up bumping SAM to the latest version. It doesn't fix the problem, but it also doesn't break anything, so I kept that commit in.

While we have not yet tried out renovate, do you want to add a copy of https://github.com/DemocracyClub/EveryElection/blob/master/.github/workflows/uv-lock.yml in here for the moment


I want to get the card type string.

<input autocomplete="cc-number" cc-input="" ccnumber="" class="input-lg form-control cc-number ng-invalid visa identified ng-dirty ng-touched" formcontrolname="creditCard" id="cc-number" placeholder="Card Number" type="tel" ng-reflect-name="creditCard" ng-reflect-model="4242 4">
so i want to capture that visa string

#3


A Vector full of dataflow errors can be created (and breaks visualizations)

General Summary

Errors can be stored in Vectors (they probably should propagate through vector writes? Same as they propagate through Atom instantiation, @wdanilo @iamrecursion please say what you think about this).
A vector containing errors will break the visualization system (which, depending on the answer to 1. is, or isn't a problem :))

Steps to Reproduce
Create a node like this:

Expected Result
An error. Or a visualization containing an error inside.
Actual Result
The node will never visualize
Enso Version
alpha.6

[Error.throw "foo"] is the same as [_] (Error.throw "foo") or bar (Error.throw "foo") if bar was defined as bar x = [x], so it should behave the same way - error should propagate to the outer value instead.
Also, @kustosz what do you mean by The node will never visualize - the visualization updates correctly after fixing this (using catch), or does not?

I would agree that it should propagate, but this probably ties to the work on admitting NPEs in array writes as well (#1424).


Long press slide up RecycleView item before headview scoll up

@easyandroid hey!
For the future - please provide proper description of an issue. Simple pair of expected/actual would be a good thing. Also some background would be OK. Hell, maybe even indication if this a bug or a feature request.
So, what I have deducted: when long-pressed, ScrollableLayout does not continue touch event. I can reproduce it. The thing is: some user might rely on long press event on current implementations. I do not want to break it. I will try to think of something to workaround it, allowing current implementations to function as they are, but also allowing to continue scroll event when long-pressed.

thanks for reply.


Centered Initialization of Forms and Consistent Element Positioning

Now, all forms are initialized centered on the screen.
WindowStartupLocation="CenterOwner">
Adjustments have been made to ensure consistent
element positioning, providing a more organized
and user-friendly experience in:
MainWindow.axaml
InfoWindow.axaml
See the screenshot below:

I can look over this in a few days and accept it but I don't know if it'll make it into a new UABEA (non-docking) release before the big update.

Ok, fine, I'll just click on review because in a few days it will be 1 year since this PR was opened.


why' the pre_filter component not working for retriever while retrieving documents?

Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

Idea or request for content:
below is the code
retriever = vectorStore.as_retriever(search_kwargs=
                                    {"k": current_limit,
                                    "pre_filter": {"Subject": {"$eq": "sports"}}
                                    }
                                    )

the above pre_filter should go through the name metadata component i.e. metadata where Subject is sports  and should retrieve the document right? But its performing same as ht normal retriever i.e. without pre_filter. May i know the reason why?

🤖
Hey @nithinreddyyyyyy, great to see you diving into LangChain's depths again! 🚀
Based on the information available in the LangChain repository, it appears that the pre_filter parameter in the as_retriever method expects a string data type. This is evident from the from_params method in the VespaRetriever class where _filter is used. If _filter is provided, it is appended to the yql query as a string. If _filter is not provided, an empty string is used instead.
Here is the relevant code:
_filter = f" and {_filter}" if _filter else ""
yql = f"select {_fields} from sources {_sources} where userQuery(){_filter}"

In this code, _filter is used in a formatted string, which indicates that it should be a string. If _filter is not None, it is prepended with " and " and appended to the yql query. If _filter is None, an empty string is used instead.
Given this, it seems that your pre_filter parameter might not be correctly formatted as a string. You might want to try formatting your pre_filter as a string that represents the filter condition you want to apply. For example:
retriever = vectorStore.as_retriever(search_kwargs=
                                    {"k": current_limit,
                                    "pre_filter": "Subject:sports"
                                    }
                                    )

Please note that this is just a suggestion based on the available information and the actual syntax might differ based on the specific requirements of the as_retriever method. If this doesn't solve your issue, could you please provide more details about the error message you're receiving or the unexpected behavior you're observing? This could help in identifying the root cause of the issue.
Sources

libs/langchain/langchain/retrievers/vespa_retriever.py

About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

but i'm send the variable which i'm looping, below's the code
for company_name in company_names:
    # Format the query with the current company name
    query = query_template.format(company_names=company_name)
    unique_docs = []
    seen_contents = set()
    current_limit = initial_limit
    # print(query)

    while len(unique_docs) < desired_count:
        retriever = vectorStore.as_retriever(search_kwargs=
                                            {"k": current_limit,
                                            "pre_filter": {"Company": {"$eq": company_name}}
                                            }
                                            )

now i can't se in this way right "pre_filter": "Subject:sports" right? Is there any other way?


Remove grpc dependency

open telemetry dropped the dependency on grpc in v0.11.0. In v0.11.0, the
api/kv and api/label packages were unified and moved to label.

I see you already got this resolved. Thanks!


Opening the Aqara N200 lock using Gateway 3 from Home Assistant

Hello!
I want to opening Aqara lock N200 (BLE) from Home Assistant.
At this moment N200 lock open throw Apple HomeKit.
I think link HomeKit <-> Gateway3 <-> N200
Is it possible to open lock without HomeKit?
I can collect logs, if you say how?
logs exchange Gateway3, BLE and HomeKit

Ну как подвижки есть?

That's technically impossible. The gateway is not involved in the lock control in any way. It can only get the lock status in real time.


Add links to haddock and hscolour pages in documentation

Currently this only searches local documentation (generated with
cabal haddock --haddock-hyperlink-source or equivalent) but could be
extended to support searching via Hoogle in the future. And it works for
any of the core libraries since they come installed with documentation.
Will show up in hover and completions.
Also fixes extra markdown horizontal rules being inserted with no
content in between them.
https://streamable.com/59l6zo
The above example needs a patched version of the vscode plugin to open the url inside vscode, but hopefully other clients will be able to handle the link fine

Since this could have performance implications, could you run the benchmark suite (see https://github.com/digital-asset/ghcide/blob/master/README.md#hacking-on-ghcide) and share the differential results?

@pepeiborra sorry for the delay, here are the results

version
name
success
samples
startup
setup
experiment
maxResidency

upstream
hover
True
100
10.179730363000001
0.0
0.44325323600000005
176MB

upstream
edit
True
100
11.011219252
0.0
45.184126208
186MB

upstream
getDefinition
True
100
11.006734432
0.0
0.715105045
176MB

upstream
hover after edit
True
100
10.931513793
0.0
1.322317525
182MB

upstream
completions after edit
True
100
10.604500145000001
0.0
6.240387429
187MB

upstream
code actions
True
100
9.404200037
0.832277805
0.734758828
213MB

upstream
code actions after edit
True
100
10.008702262
0.0
20.878563351
215MB

upstream
documentSymbols after edit
True
100
16.197478229
0.0
1.7972922420000002
255MB

HEAD
hover
True
100
7.593396530000001
0.0
0.452229941
177MB

HEAD
edit
True
100
7.665461937000001
0.0
32.973573774
187MB

HEAD
getDefinition
True
100
7.639179550000001
0.0
0.635095061
178MB

HEAD
hover after edit
True
100
7.5312538170000005
0.0
1.199751296
182MB

HEAD
completions after edit
True
100
7.403171093
0.0
5.633501327
192MB

HEAD
code actions
True
100
7.664663729000001
0.7644245700000001
0.740733792
214MB

HEAD
code actions after edit
True
100
8.044525588
0.0
20.646143884
214MB

HEAD
documentSymbols after edit
True
100
7.952895117000001
0.0
2.5444606960000002
181MB

Not sure why the startup time is lower, if I'm reading this correctly

It looks like you are comparing two wildly different branches, there are lots of performance differences that are not explained by the changes in this PR.
Check the bench/hist.yaml to see what "upstream" means, by default it points to upstream/master. What does that point to in your repo?

@pepeiborra  at the bottom of bench/hist.yaml,
- upstream: upstream/master
- HEAD

After rebasing things look more sensible

version
name
success
samples
startup
setup
experiment
maxResidency

upstream
hover
True
100
9.972561843000001
0.0
0.42469480000000004
176MB

upstream
edit
True
100
9.620346303
0.0
33.033962742
186MB

upstream
getDefinition
True
100
9.673048695
0.0
0.6386101860000001
177MB

upstream
hover after edit
True
100
9.887454645
0.0
1.201044994
182MB

upstream
completions after edit
True
100
10.104105837
0.0
5.317705293
187MB

upstream
code actions
True
100
10.231499343000001
0.7385650450000001
0.759703196
213MB

upstream
code actions after edit
True
100
10.438941477
0.0
20.587980832
215MB

upstream
documentSymbols after edit
True
100
10.566125472000001
0.0
2.3593257920000004
179MB

HEAD
hover
True
100
10.077416170000001
0.0
0.432401884
177MB

HEAD
edit
True
100
9.667212247
0.0
31.554076919000003
188MB

HEAD
getDefinition
True
100
9.760036125000001
0.0
0.633670982
177MB

HEAD
hover after edit
True
100
9.760202366000001
0.0
1.23968618
183MB

HEAD
completions after edit
True
100
10.323710017
0.0
5.270130078
192MB

HEAD
code actions
True
100
10.183525091
0.8032742140000001
0.867096532
214MB

HEAD
code actions after edit
True
100
10.728177887000001
0.0
21.225001651000003
221MB

HEAD
documentSymbols after edit
True
100
9.795105816000001
0.0
2.237876946
179MB