templateSelection executes again after triggering change, wiping the custom attributes set by it earlier.

Hi,
I'm using select2-4.0.13. My goal is to display the selected options with colors assigned to them by an id from elsewhere. My code works manually, during browsing the page, but fails after loading, populating the select programmatically, setting the selected ones and triggering a change event.
I found out that the 'templateSelection' code block executes first, then the 'change', and for some reason after that the 'templateSelection' again, this time resetting all my previously added formatting.
I've condensed down the code and added console.log messages and an alert message for blocking, to visualize what's happening. It's all fine up until the alert, but clicking ok lets the templateSelection function run again. I experience this behaviour only after page load, then it's fine manually.
You can see a demo here: http://dev.rage.xyz/select2issue/
My only solution was to create and reset a timer in the templateSelection function to color the tags after the last iteration of the function call is finished.
This doesn't feel like desired behaviour to me. Is there something I'm missing or is this a bug? Any help would be welcome.
Thank you!

If you're looking to add templating and styling to your elements, that's exactly what templateSelection is for. Don't try to add it on after the fact, you're doing twice the work for no extra gain.

Thank you for your time!
I agree with you that it's not a nice approach. My reason for that is I could only set a background color for the added span and not it's parent li from there, which leads to a colored box around the text. My solution is to assign ids to the options in templateSelection and then look up the rendered li elements containing those ids after in the onChange to set the backgrounds.
But that does not work well for some reason, given that it executes twice and resets my changes.
Could you point me in the direction where I can find info about how to color the displayed select options' backgrounds entirely, individually, like the yellow in my original post's screenshot?  Can't seem to find anything on it, neither a way to accomplish this from templateSelection.
My goal would be to have them colored by their category id in the database. Won't bother you again with this, thanks a lot again.

Could you point me in the direction where I can find info about how to color the displayed select options' backgrounds entirely, individually, like the yellow in my original post's screenshot? Can't seem to find anything on it, neither a way to accomplish this from templateSelection.

I believe there is a second parameter passed into templateSelection which contains a reference to the <li> that you're looking to style. This is probably the best way to do what you're trying to do.
https://github.com/select2/select2/blob/5c38f186c98d793c7d396442986191ca05634d0a/src/js/select2/selection/multiple.js#L83

There indeed is - works like a charm! I didn't get into browsing the source, sorry for missing that. My only remaining question is where is the donate link to get you a beer, because I can't seem to find that either :D
Thanks again for everything.


:bookmark: Chore: missing changeset

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1322  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


Add indicator arrow to LegendThreshold

Closes #435
Adds the option to have a current category indicator in LegendThreshold
Storybook example (MetricLegendThreshold)
Storybook example (LegendThreshold)
MetricLegendThreshold now accepts an optional CurrentCategory prop. If this prop is passed, the corresponding category's Item in Items[] (passed into LegendThreshold) will have a showIndicator property set to true, and a little arrow will render above the midpoint of the category's section of the legend.

remember to add the changeset!


app_launcher.bat assumes no venv

I don't know if people will be best served by having it in the documentation that you can just edit it with the path to your venv .exe or if people know that without it being said 🤷♂ (if this is the case feel free to close unchanged :)

please feel free to make changes.

This repo is not supported, I moved to MooMoo.


ignore node_modules

docs branch have node_modules folder.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.hzGotB seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #275 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #275   +/-   ##
========================================
  Coverage    49.88%   49.88%
========================================
  Files           48       48
  Lines         1267     1267
========================================
  Hits           632      632
  Misses         635      635

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 b284408...5c51c3b. Read the comment docs.


feat: add Italian header titles

Hi! I noticed that captions for Italian aren't available, so I added them myself.
I hope this PR can be useful! Thanks for the package

@stefa168 just right to sneak it into v1.0.0 which is waiting to be approved ;)


Why I can not scroll on IE7 and IE8? can you help me?  here is the url:http://temp.blank.sh/blog

Why I can not scroll on IE7 and IE8? can you help me?  here is the url:http://temp.blank.sh/blog

Seems to work for me, it just doesn't load any new posts because there aren't any more to load. Do you get different behavior on Firefox etc?

Has fixed this bug.
2011-10-27
liuyi
发件人： Sam Cleaver
发送时间： 2011-10-25  05:02:46
收件人： liu yi
抄送：
主题： Re: [infinite-scroll] Why I can not scroll on IE7 and IE8? can you help me? here is the url:http://temp.blank.sh/blog (#93)
Seems to work for me, it just doesn't load any new posts because there aren't any more to load. Do you get different behavior on Firefox etc?
Reply to this email directly or view it on GitHub:
https://github.com/paulirish/infinite-scroll/issues/93#issuecomment-2509431


chore: shorten proof of Setoid.mkClasses.iseqv.trans

Replaces 5 lines of tactic proof with a small direct term-mode proof.
Found by tryAtEachStep.

bors merge


Change kopia command logs to info

Change Overview

Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[x] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

fixes #issue-number

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@ankitjain235 @pavannd1
Folks,
What's the motivation for this change? there is nothing in the PR description, nor the commit(s)
What are the tradeoffs and implications of this change? for example in terms of verbosity and total log size.


Upgrade to rhumb 0.3.5 following websdk/rhumb#12

Simple bump of the rhumb dependency, which now also uses babel for builds.

@janesconference @grancalavera this just bumps to the latest rhumb version, which now uses the same kind of build process as nap. This makes working with webpack easier, and also affords us the same ES5 -> ES6 upgrade path for rhumb as we get with nap. I'll merge and publish whenever the builds pass.

Done and done.


Adding a Response Message after clicking on submitting button

Describe the bug

Screenshort

Hey..add the message in a pop-up( having some CSS) that look good!

Kindly assigned with this interesting issue, looking forward for your response.

Heyy @2020B1531074 are u working on this? Pls lmk if u can't!

Yes, iam working on it..
On Mon, May 29, 2023, 11:41 AM Monalika Patnaik @.***>
wrote:

Heyy @2020B1531074 https://github.com/2020B1531074 are u working on
this? Pls lmk if u can't!
—
Reply to this email directly, view it on GitHub
https://github.com/MonalikaPatnaik/UMatter/issues/452#issuecomment-1566606531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXO4H7VAH43MNHDSKDHDJMTXIQ4YLANCNFSM6AAAAAAYRGQWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@MonalikaPatnaik can i do this task under gssoc'23


Additional/Corrected Details Needed to Successfully Get the Provider Working

Configure Cosmos DB for the SQL API.
Azure Cosmos DB Data Source:
1. The Collection Name value is actually supposed to be the Database name.
2. Take Authorization Key and Uri from the Read-only tab in the portal.

Entity Configuration
External Name and External Collection Name should be the same value. That value is the Collection name in CosmosDB.

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

ID: e03deffe-f94f-8a4a-d7c3-39b92ffdd767
Version Independent ID: ed73f328-ccd1-3721-b402-9cd6c9db8a99
Content: Preview Feature: Use the Azure Cosmos DB for SQL API Data Provider with PowerApps
Content Source: ce/customize/virtual-entity-documentdb-provider-requirements.md
Service: crm-online
Product: unspecified
GitHub Login: @Mattp123
Microsoft Alias: matp

This worked for me I was wasted almost 4 hours troubleshooting this, thank you very much, this solution worked for me!!!!

This is the solution! Thanks a lot @nicknow

Getting below error
Record Is Unavailable
The requested record was not found or you do not have sufficient permissions to view it.

Found it - External Name and External Collection Name should be the same value and CASE SENSITIVE

Question about JSON document.
I have json document in Azure Cosmos. We are able to display data (name,date) in CRM through virtual entities. But wondering how to get the "workouts" or "morning" json node.
Sample:
{
"memberId": "290fb3c1-34a3-432d-b3d9-4fe3c66af4b4",
"name":"Full Name",
"date": "2015-01-04",
"workouts": [
{
"morning": [
{
"id": 1,
"name": "running",
"completed":true
},
{
"id": 2,
"name": "walking",
"completed":true
}
]
}
]
}

@stalinponnusamy, if you figure this out let me know... I'm trying to find a solution to this as well. Thanks

Thank you for your feedback. The below topics have been updated with the following text.
Collection Name. The name of the Azure Cosmos DB database containing the collection you want to surface in a virtual entity.
Topics updated.
Customer Engagement: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/virtual-entity-documentdb-provider-requirements#add-a-data-source-using-the-azure-cosmos-db-for-sql-api-data-provider
PowerApps: https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/virtual-entity-documentdb-provider-requirements#add-a-data-source-using-the-azure-cosmos-db-for-sql-api-data-provider
@stalinponnusamy  The JSON question is outside the scope of this topic. Below are some resources that may be of help.
Community forums
Customer Engagement: https://community.dynamics.com/f
PowerApps: https://powerusers.microsoft.com/t5/Forums/ct-p/PA_Comm_Forums
Support
Customer Engagement: See the options described here: https://docs.microsoft.com/dynamics365/get-started/support/
PowerApps: See the options described here: https://powerapps.microsoft.com/support/


Add  ignore_metadata_file option to read_parquet (pyarrow-dataset and fastparquet support only)

May address #8030
This PR makes it possible to ignore a global _metadata file using the ignore_metadata_file argument:
ddf = dd.read_parquet(
    path,
    engine="pyarrow-dataset",
    ignore_metadata_file=True,
)

~Note that I did not add support for fastparquet or pyarrow-legacy (they will both raise an error if ignore_metadata_file=True), only because it is much trickier to implement for those engines (and because the pyarrow-legacy engine will be deprecated soon anyway).~
EDIT: This PR now adds ignore_metadata_file support for both "pyarrow-datset" and "fastparquet".  The "pyarrow-legacy" case still doesn't make much sense because: (1) it is deprecated, and (2) the engine will still construct a proxy _metadata file anyway.

Thanks @rjzamora! Pardon my ignorance about our parquet engines, but I'm curious why supporting ignore_metadata_file is more involved for fastparquet

You are absolutely right to ask this, because I should be able to add support for fastparquet.  We will probably just need to use  some variation of fs.find to discover all the nested paths before passing to fp.ParquetFile.  I just noticed earlier that "fastparquet" was failing without the _metadata file for partitioned datasets, and I was not feeling particularly motivated to track down the root problem.  However, now that a larger read_metadata revision is in the cards, I am feeling a bit differently :)

Update: Thanks for the reivew here @jrbourbeau ! I addressed your comments, and added "fastparquet" support here.  So, hopefully this PR is in good shape (once CI is passing).

At a quick glance, the fp route looks OK, but first I wonder: should we explicitly disallow the combination of ignore_metadata_file with gather_statistics?

My vote is "no" - I don't think a willingness to ignore the shared _metadata file means the user should not be able to gather statistics. After #8058, there may even be cases where a parallel read_metadata with ignore_metadata_file=True will be quite fast.

Just checking in, @rjzamora @martindurant is there anything else left to address here, or are we good to merge? Also cc @jorisvandenbossche for visibility

Thanks for the test update @rjzamora -- I feel confident we're effectively testing that _metadata isn't read when ignore_metadata_file=True. There's a test_partition_on failure in CI, but from what I can tell it looks unrelated. Can you confirm?

There's a test_partition_on failure in CI, but from what I can tell it looks unrelated. Can you confirm?

Yikes.  I'd rather not ignore a failure in test_parquet.py.  I'll try to figure out what is going wrong.

I'll try to figure out what is going wrong.

Sounds like an odd one, we can pair to figure this out, if you like.

@martindurant - Are you able to reproduce the failure locally? I'm not sure how any of the fastparquet-engine changes could be causing this.

Passes with dask main/fastparquet main
Passes with your branch/fastparquet main
Since it's only coming up on one build, could it be some combination of the random numbers, e.g., one of the specific sub-directories ends up empty?

I ran with --count 30 and got no failures; but this is on mac.

Just checking in, any luck reproducing? I'm inclined to merge if we're not able to and just keep an eye on test_partition_on

Just checking in, any luck reproducing? I'm inclined to merge if we're not able to and just keep an eye on test_partition_on

No luck reproducing on my end. We may have some problematic behavior to fix, but I suspect it is not being caused by this PR.

Alright, thanks for your efforts on trying to reproduce @rjzamora @martindurant. I'll plan to merge this later in the evening if there aren't any objections


Crash after Play

HI. I have written to you about a build problem.  The build is success but when i press play the project is crash.  When i press Play from VS ( Local Windows Debugger ) i get this information
https://postimg.org/image/xwv8lf7c7/
This is a video how do i build your project.
( the link will be work in 10min)
https://youtu.be/mfU9uiYBuoM
The plugin is importent to me so i hope you will help me.
Regards

It seems like the problem is here:
https://s27.postimg.org/6u7wk8x9f/Capture.jpg
But i don't know how to fix it.
Can you help ?

It seems like opening the voice file fails inside the 3rd party library.
Maybe the program doesn't have rights to open that file. Maybe try to place the voice file in your documents folder or something.
You could also check console output in VS for error messages and try to place a breakpoint on mimic_voice_load line and press step (F11) until you hopefully see something useful.

I moved the voice file to my documents but it didn't help.
Breakpoint shows this:
https://s27.postimg.org/nlentnk43/image.jpg
My friend was trying yesterday open your example and he had the same result :/
Any idea ?

Can you try the following steps for me:

Go to Plugins\UnrealMimic\Source\ThirdParty\Mimic
Delete lib and x64 folders
Open mimicDll.vcxproj
Build with the configuration you need, I think it's x64 and Debug
Try to rebuild & rerun the test project

I thought I had set up the build system to build the library but I guess didin't.

No No.
Your YouTube tutorial was good.
My correct steps:

Download your repo
https://s29.postimg.org/52mlq20bb/image.jpg
Download Mimic repo
https://s23.postimg.org/ealom1mor/image.jpg
Unzip and open your repo from UnrealMimic.uproject
Click Yes to rebuild.
Unzip Memic Repo and import any voice form mimic-master\mimic-master\voices folder to the project.
In LevelBlueprint Connect pins and select reference to mimic voice variable

Should works :)


fp16 inference is slower than fp32 on Nvidia Jetson TX2

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): r1.5
Python version: 3.5.2
Bazel version (if compiling from source): 0.9.0
GCC/Compiler version (if compiling from source): 5.4.0
CUDA/cuDNN version: Cuda 8.0 and cuDNN 7.0
GPU model and memory: Jetson TX2

The problem
I created a fully convolutional float 16 (half precision) neural network in tensorflow. When I run this network with some inputs, the inference time is slower than when I run the same network in float 32 (full precision) mode.
I should also note that the following variables are set:
os.environ['TF_FP16_CONV_USE_FP32_COMPUTE'] = '0' os.environ['TF_FP16_MATMUL_USE_FP32_COMPUTE'] = '0'
As Nvidia Jetson TX2 support FP16 operations, I expected an inference time not worse than when I use FP32, but surprisingly it is about 1.5 times worse! (36 miliseconds vs 22 miliseconds). I guess it is becuase of the overhead of internal type conversion in the tensorflow core between float16 and float32!
Is it a problem with Tensorflow or TX2?

@yzhwang any idea?

Thank you @alirezadavoudi ! We are aware of this and we have observed this on P100. We are communicating with NVIDIA with solution for this.
First of all, could you try with CUDA 9 + cudnn 7 and see if the same result still shows up?
Second, in your setting, you are forcing cudnn to use TRUE_HALF_CONFIG and this mode is only supported by one internal kernel: CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM as for now.  Sometimes for the same input shape, switching from FP32 to FP16 will cause the change of the tile size for this kernel. For example, an original 12832 tile size could become 25664 when switching from FP32 to FP16, while in this case, the gain from doubling the math is lost for the tile utilization.
In the future we will make PSEUDO_HALF_CONFIG and TRUE_HALF_CONFIG transparent to the users by adding these two configs to autotune.

@yzhwang, unfortunately, CUDA 9 is still not released for TX2.
It seems right now the best practice is to use TensorRT. But it would be great if Tensorflow could support native FP16.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @yzhwang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @yzhwang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @yzhwang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @yzhwang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

This appears to be a duplicate of #15643. Please follow that issue. If you feel this issue should be reopened, please provide new evidence and I'll do that.

This appears to be a duplicate of #5592. Please follow that issue. If you feel this issue should be reopened, please provide new evidence and I'll do that.


Initial connection takes long. Is this a jdbc issue?

Hi there, databricks-sql-connector doesn't use JDBC. There's not enough information in your report for it to be actionable.

What version of databricks-sql-connector do you use?
How long does the connection take?
What region are you running in?
Which cloud?

What version of databricks-sql-connector do you use? We use the databricks-sql-connector~=2.5.2 version
How long does the connection take? It takes more than 5 minutes the first time we connect to Databricks.
What region are you running in? us-west-2
Which cloud? The databricks workspace we connect uses AWS cloud storage.

It is my mistake, I meant Thrift Client rather than JDBC, but since both send request to Thrift server, is this a Thrift server issue.

Thank you for your information. This seems like a workspace configuration issue rather than a problem with the connector, unless you see something in the logs indicating otherwise. We'll debug this with you privately (I've been contacted by our support team about this). I'll reopen this issue if we find that it could be relevant to other users or a bug in the connector code.
Thanks!


The file extension of config.server_bundle_js_file should be ignored

Even if we have a pack file that has .jsx file extension like app/javascript/packs/app.jsx, webpacker compile it to a .js file like public/packs/app-6c71877ae5cf6273d047.js.
So, if we specify config.server_bundle_js_file like
config.server_bundle_js_file = "app.jsx"

We get an Error like
No such file or directory @ rb_file_s_mtime - /Users/tanimichi.tsukuru/Desktop/react_on_rails_example2/public/packs/app.jsx

We probably should ignore the file extension of config.server_bundle_js_file, because the only file extention we can specify as config.server_bundle_js_file is .js.

@ttanimichi using JSX for react files is an older standard. Webpack will always compile to a JS file. I don't think this is worth changing for now.


The middle column of the table is justified

For a 3-col table, the center column is justified. The text looks weird to read.

Hello, I am experiencing the same issue. It would be great to have a bit more control on tables content, such as text-align, vertical-align via simplepdf_vars !


Add #sum to query set

Closes #96

Is it possible to retrieve the field type? It would help to return Int or Float instead of Int | Float. In addition it would make it possible to throw an error if a non sumable field is specified


Fixed Issue #128 - Syntax Error in: opensource/workflow/find-an-issue…

In file: opensource/workflow/find-an-issue.md
I removed the extra table heading tag found on line 113
The associated table should now be displayed properly.
Signed-off-by: Jared Carlson<EMAIL_ADDRESS>

Thanks @jaredrcarlson !


Get Token for Firebase Cloud Messaging

I'm trying to get a Firebase Cloud Message access token. Is there any tutorial in this repository that can help me?
I'm using Laravel 6x

Hi @theusccruz
Sorry for the late reply on this, perhaps you've solved the issue long back.
But could you give more context about what is it that you're trying to do?
Different options that you've tried would be very helpful.

I'll be closing this issue for now as there hasn't been any reply.
But please feel free to reopen this with more details.
Thanks :)


QA is missing some categories

https://github.com/mattyschell/geodatabase-taxmap-toiler/blob/main/qaall.py
is missing checks of relationship classes and of tables that are not registered with the Enterprise Geodatabase.

https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listtables.htm
Will this list tables not registered?


libtcmu: add tcmu_is_ring_reset_support support

This will compatible with the old kernel version which could
not support the ring reset operations.
Signed-off-by: Xiubo Li<EMAIL_ADDRESS>

Updated

Thanks.


Typo in setting self.separate_multihead in AxisAlignedTargetAssigner

https://github.com/open-mmlab/OpenPCDet/blob/f982b5bfdf0e8e15a2e2d7fead2925ff564051d7/pcdet/models/dense_heads/target_assigner/axis_aligned_target_assigner.py#L28
I guess the name should be 'SEPARATE_MULTIHEAD' instead looking at the provided cfgs. Otherwise, the setting in the configs has no impact.

Thank you for the bug report. I will fix it soon

Fixed in https://github.com/open-mmlab/OpenPCDet/pull/352/


Can I use it without rails?

Hi @AndyObtiva
I think the whole idea is very cool, especially the BOOM.
However, the readme says we should install rails as a prerequisite, Can I use it without rails?
Is it possible to use it as the front-end tech only?

No, this project is available for use in Rails only. But, it is getting replaced by Glimmer DSL for Web, which should offer a more web-like approach to the Glimmer GUI DSL that better leverages existing HTML/CSS/JS skills. Glimmer DSL for Web also runs in Rails only.


npm install graphql-tools fails

Trying to sudo npm install graphql-tools
but it gives me the following error
npm ERR! Command failed: git rev-list -n1 resolve-funcs-fix
npm ERR! fatal: ambiguous argument 'resolve-funcs-fix': unknown revision or path not in the working tree.
npm ERR! Use '--' to separate paths from revisions, like this:
npm ERR! 'git <command> [<revision>...] -- [<file>...]'

nodejs
npm
git
os
linux

6.2.0
3.8.9
1.9.1
Ubuntu 14.04 Trusty
3.13.0-24-generic

hi @ezsper sorry this is my fault, can you retry?

Should be fixed now.


Question: how to solve for_loops_two with only one line of change?

Usually the koans can be solved by only changing the marked line. I cannot figure out how to conditionally append a space except after the last element of the array. In the for loop, how do we know we've reached the end, without keeping a counter, or refactoring the code? Thanks!

Yes, this koan is broken, but this project is dead.

Yes, this koan is broken, but this project is dead.

Not sure if you consider this one line but it's one statement:
sentence = if sentence.is_empty() {
    word.to_string()
} else {
    sentence + " " + word
};

If you don't mind refactoring the koan, you could reduce it to the following:
let sentence: String = words.join(" ");

Here's what I did:
sentence = (sentence + " " + word).trim().to_string();

my normal tack in a loop (when there is no .join(" ") in the platform):
sentence += *word;```
(no idea how many more semicolons are due here -- also learning for the first time today! and glad to have this resource even if it has a few rough edges)


GitHub Enterprise support.

#547.
Adds EMPIRE_GITHUB_API_URL option. Should be set to something like
https://your-github-enterprise.com/api/v3

:+1:

Other than those two points, this looks great. Thanks for this!

:+1: Awesome, thanks for this @public - I don't have anything to add other than what @ejholmes already has.

Updated. Thanks for the pointers.

That's more like it. I wonder why this didn't fail locally :-/


CUDNN_STATUS_NOT_INITIALIZED

Receiving the below error after trying to load this onto my beefier PC.
Thanks in advance for any help!

I've never seen this, but Googling suggests that it is caused by an outdated GPU driver. Here's instructions for fixing the problem from StackOverflow: https://stackoverflow.com/questions/60413943/cudnn-status-not-initialized-why-is-tensorflow-in-python-pycharm-so-finicky
Let me know what you find out.

That was it! Thank you!


Can't Validate Type Int

It appears int is no longer a valid struct validator. I'm getting a message "Field: Validator int doesn't supported Kind int", which is strange.
You can reproduce by adding ,int to line 1572 of validator_test.go.
I could be way off, too, let me know if you want a more proper test case or to dig in further.

I somewhat expected this kind of issue in near future. At "fault" is the commit e743b6953f1e4f94e41310d96f1f353691383eaa
The thing is, so far "String" is the only Kind the current govalidator is able to validate. The only "validation" that works on every Kind is "required". All other "validations" currently only work on Kind "String".
Until e743b6953f1e4f94e41310d96f1f353691383eaa the validation of any non "String" Kind field was simply skipped. I thought skipping them wasn't a good design, as it might lead to thinking the current struct is valid even though I might no be.
Half-OT:
Currently I'm working on a "big Patch" that allows validation on any Kind. Current Prototype of the "big Patch" isgovalidatorcore withgovalidators. The prototype should be backward compatible, but as a prototype it might changes a lot over time.

:+1: any update on this one!? very interested in being able to validate other types than strings!

Please, take a look at #141, they are similar.


Add output prompt handling

:+1:

When I load the example notebook, the out prompt next to the image displays Out[null]. The in prompt correctly displays a space In[ ], though. I think we ought to check to see if count is null or not.

Good call, thank you


[RFC]feat(Avatar): Cross Compatible Image Clipping

How to accomplish Cross Platform Compatible Image Clipping  (for Avatar)
Problem description
The desired visual treatment for the Avatar in Teams is to have the background show through the gap between the "presence" icon and the image. Currently in Teams we fake this by passing the background color to the avatar so it can draw a correctly-colored circle behind the presence indicator. If you change the background color of the element behind the avatar you can see this trickery:

(current on left, desired on right)
The current approach is a hack. It works only with solid color behind the avatar. A gradient, image, or video background will reveal the border around the presence indicator. Passing in the background color also introduces excessive css and the possibility of bugs. It is also limited to round presence indicator (badge?). Furthermore, the current person avatar is a circle which is accomplished using border-radius (and a group is a square with rounded corners, also done via border-radius). This breaks down further when you consider the bot avatar is hexagonal, which can't be accomplished with border-radius, and the shape of the presence icon is also limited to a circle (or rounded square).
Solution?
An obvious solution for this is the CSS "clip-path" property. However it is not implemented in IE/Edge.
With CSS clip-path not being an option, I think we could still make a cross-platform solution by rendering the avatar image within an svg as the background of a shape. The shape could even be included as part of the theme. It is even conceivable that we could render the presence icon within the same svg, like this:
<svg …>
    <path d="{avatar shape/path from theme (influenced by type, size, etc)}"
          fill="url({magically put person,group,bot image here})"></path>
    <path d="{presence shape/path from theme (influenced by state, size, etc)}"
          fill="{color influenced by state}"></path>
</svg>

With this approach we could hopefully systematically render more complex shapes for the avatar and the presence indicator, with the background showing through, a la:

I'm working in a local branch trying to make a proof of this, but how to render an inline svg and pass in the image in a usable way are at the outer boundaries of my skill. I'd like to know if this seems feasible and I'll take any input on this. Thanks.

Now that this approach has been tested, we don't see a feasible way to do this.  The difficulties were browser support and passing paths around in the theme.


UsersScopes are not passed to the install link.

Description
UsersScopes are not passed to the install link. I'm trying to get a link to install my app and passing the scopes and userScopes variables to the app constructor. But after accessing slack/install and clicking on the "add to slack" button, a link is generated with only scopes values, and users_scopes is empty. As a result, no userToken is provided when installing the application.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
It correct link:

https://testexamplepo-sma7208.slack.com/oauth?client_id=2012537120562.2301874680496&scope=mpim%3Aread%2Cchannels%3Ahistory%2Cchannels%3Amanage%2Cchannels%3Aread%2Cchat%3Awrite%2Ccommands%2Cim%3Ahistory%2Cusers%3Aread%2Cusers%3Aread.email%2Cchannels%3Ajoin%2Cgroups%3Ahistory%2Capp_mentions%3Aread%2Cgroups%3Awrite%2Cim%3Awrite%2Cmpim%3Awrite%2Cim%3Aread%2Cmpim%3Ahistory%2Cgroups%3Aread%2Creminders%3Awrite&user_scope=channels%3Ahistory%2Cchannels%3Aread%2Cchat%3Awrite%2Cim%3Aread%2Cim%3Awrite%2Creminders%3Awrite%2Csearch%3Aread%2Cusers%3Aread%2Cusers%3Aread.email&redirect_uri=&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbnN0YWxsT3B0aW9ucyI6eyJzY29wZXMiOlsibXBpbTpyZWFkLGNoYW5uZWxzOmhpc3RvcnksY2hhbm5lbHM6bWFuYWdlLGNoYW5uZWxzOnJlYWQsY2hhdDp3cml0ZSxjb21tYW5kcyxpbTpoaXN0b3J5LHVzZXJzOnJlYWQsdXNlcnM6cmVhZC5lbWFpbCxjaGFubmVsczpqb2luLGdyb3VwczpoaXN0b3J5LGFwcF9tZW50aW9uczpyZWFkLGdyb3Vwczp3cml0ZSxpbTp3cml0ZSxtcGltOndyaXRlLGltOnJlYWQsbXBpbTpoaXN0b3J5LGdyb3VwczpyZWFkLHJlbWluZGVyczp3cml0ZSJdfSwibm93IjoiMjAyMS0xMC0yOFQyMzoxOTozMS45MzZaIiwiaWF0IjoxNjM1NDYzMTcxfQ.6ruxTYaXIgeJZq6LAsiZ_WJjrxGPYdepLZa4AYeP6Ec&granular_bot_scope=1&single_channel=0&install_redirect=&tracked=1&team=

This is the link that is generated by bolt.js:

https://testexamplepo-sma7208.slack.com/oauth?client_id=2012537120562.2301874680496&scope=mpim%3Aread%2Cchannels%3Ahistory%2Cchannels%3Amanage%2Cchannels%3Aread%2Cchat%3Awrite%2Ccommands%2Cim%3Ahistory%2Cusers%3Aread%2Cusers%3Aread.email%2Cchannels%3Ajoin%2Cgroups%3Ahistory%2Capp_mentions%3Aread%2Cgroups%3Awrite%2Cim%3Awrite%2Cmpim%3Awrite%2Cim%3Aread%2Cmpim%3Ahistory%2Cgroups%3Aread%2Creminders%3Awrite&user_scope=&redirect_uri=&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbnN0YWxsT3B0aW9ucyI6eyJzY29wZXMiOlsibXBpbTpyZWFkLGNoYW5uZWxzOmhpc3RvcnksY2hhbm5lbHM6bWFuYWdlLGNoYW5uZWxzOnJlYWQsY2hhdDp3cml0ZSxjb21tYW5kcyxpbTpoaXN0b3J5LHVzZXJzOnJlYWQsdXNlcnM6cmVhZC5lbWFpbCxjaGFubmVsczpqb2luLGdyb3VwczpoaXN0b3J5LGFwcF9tZW50aW9uczpyZWFkLGdyb3Vwczp3cml0ZSxpbTp3cml0ZSxtcGltOndyaXRlLGltOnJlYWQsbXBpbTpoaXN0b3J5LGdyb3VwczpyZWFkLHJlbWluZGVyczp3cml0ZSJdfSwibm93IjoiMjAyMS0xMC0yOFQyMzoxOTozMS45MzZaIiwiaWF0IjoxNjM1NDYzMTcxfQ.6ruxTYaXIgeJZq6LAsiZ_WJjrxGPYdepLZa4AYeP6Ec&granular_bot_scope=1&single_channel=0&install_redirect=&tracked=1&team=

This is my App class instance :
const app = new App({
  signingSecret: process.env.SLACK_SIGNING_SECRET,
  clientId: process.env.SLACK_CLIENT_ID,
  clientSecret: process.env.SLACK_CLIENT_SECRET,
  stateSecret: "my-state-secret",
  userScopes: [process.env.USER_SCOPES],
  scopes: [process.env.SCOPES],
  installationStore: {
    storeInstallation: async (installation) => {
      if (installation.isEnterpriseInstall) {
        return await keyv.set(installation.enterprise.id, installation);
      } else {
        return await keyv.set(installation.team.id, installation);
      }
      throw new Error("Failed saving installation data to installationStore");
    },
    fetchInstallation: async (installQuery) => {
      if (
        installQuery.isEnterpriseInstall &&
        installQuery.enterpriseId !== undefined
      ) {
        return await keyv.get(installQuery.enterpriseId);
      }
      if (installQuery.teamId !== undefined) {
        return await keyv.get(installQuery.teamId);
      }
      throw new Error("Failed fetching installation");
    },
  },
});

Hi @FIREguardSPB, thanks for writing in!
I know that this could be confusing but userScopes is part of installerOptions.
const app = new App({
  signingSecret: process.env.SLACK_SIGNING_SECRET,
  clientId: process.env.SLACK_CLIENT_ID,
  clientSecret: process.env.SLACK_CLIENT_SECRET,
  stateSecret: "my-state-secret",
  userScopes: [process.env.USER_SCOPES],
  scopes: [process.env.SCOPES],
  installationStore: {
    storeInstallation: async (installation) => {
      if (installation.isEnterpriseInstall) {
        return await keyv.set(installation.enterprise.id, installation);
      } else {
        return await keyv.set(installation.team.id, installation);
      }
      throw new Error("Failed saving installation data to installationStore");
    },
    fetchInstallation: async (installQuery) => {
      if (
        installQuery.isEnterpriseInstall &&
        installQuery.enterpriseId !== undefined
      ) {
        return await keyv.get(installQuery.enterpriseId);
      }
      if (installQuery.teamId !== undefined) {
        return await keyv.get(installQuery.teamId);
      }
      throw new Error("Failed fetching installation");
    },
  },
});

Hi @FIREguardSPB, thanks for writing in!
I know that this could be confusing but userScopes is part of installerOptions. You can have the user scopes this way:
const app = new App({
  scopes: ["commands"],
  installerOptions: {
    userScopes: ["chat:write"],
  },
  // other props ...
});

Hmm, it really works. I was confused by this interface:
export interface InstallURLOptions {
scopes: string | string[];
teamId?: string;
redirectUri?: string;
userScopes?: string | string[];
metadata?: string;
}

I'm glad to hear that my comment was helpful to you! Let us close this issue now.


Fixed windshaft integration tests

Tests under test/spec/windshaft-integration/**/* were totally being ignored :(
After adding them to the src-specs bundle, there were some failures caused by changes in https://github.com/CartoDB/cartodb.js/commit/34c5a115b33e58dda5dbce791888827dd6c4601e.
This PR makes sure those tests are executed and green!
cc: @IagoLast @Jesus89

Retest this please


[crunchyroll:beta] extract timestamp

Description of your pull request and other information
Adds timestamp output to CrunchyrollBetaIE, enabling --dateafter, among other things.
Fixes #4533
Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Make sure you've run the tests

Looks like some of the test videos have been removed from the site. Should I look for another example of what those videos were supposed to test?

Are all happy code paths are covered by current tests?

skimming through the code, it seems so. In that case, no new tests are needed

Given that the beta site is still login-only, the tests are really only testing the redirect functionality, anyway.

hm.. what? You should run the test after adding your credentials to local_parameters. The other extractor has it's own tests

Have you been doing the tests wrong all this time? https://github.com/yt-dlp/yt-dlp/blob/7356a44443995d83c59b915186b6a719769eab60/CONTRIBUTING.md?plain=1#L237-L243

:facepalm: I completely failed to take in that part of the contributing instructions. Yeah, I've been doing it wrong the whole time >.<.
Should I change the tests to match the logged in results? If I do, they'll fail without a login, because the redirect makes it come out differently.

yes

they'll fail without a login, because the redirect makes it come out differently.
that is fine

Sorry for the long wait. Ran into crunchyroll login endpoint rate-limits and had to wait it out.


feat: Get url from req for index page

Change index to get url from req instead of hard-coded value

@journey-ad


Rename the library and the repo

We should rename the library and use the same name for the repo for clarity.
Some suggestions:

cudacpp
cudacxx
cuda++
cudawrappers
your suggestion

cudawrap

cuda-wrappers

I think this would need to be discussed with our project partners @john-romein @csbnw and @svlugt

As the idea is very much inspired by the OpenCL C++ wrapper (which is, surprisingly, named ...:  the OpenCL C++ wrapper), I think the name of this wrapper should be similar: the CUDA C++ wrapper.

We prefer to keep cu:: as namespace.

There should be separate shared objects for the individual wrappers, to avoid that all CUDA libraries (libcuda.so, libcufft.so, libnvrtc.so etc.) need to be linked in as well, even if, for example, the user does not even use cufft).

Load objects in cmake with find_package: e.g. use find_package(cudawrappers REQUIRED COMPONENTS nvrtc)


docker: skip running node if offline var is set

this is only an optimization. we recommend that users don't rely on software configuration to operate offline.

turns out this doesn't work well with the set -u. gonna adjust it

maybe the ci thing has to do with the base branch

maybe the ci thing has to do with the base branch

Oh, yeah, that is the reason

@pro-wh, do we want to include this one in the 2.0.0 release?

rebasing, adding changelog


bx-lg is not working

bx-lg class is not working.
in boxicon.min.css
.bx-lg {
font-size: 3.0 !important;
}
"rem" is missing after 3.0 .

yeah, it only affect the minified version

Then fix it!

Then fix it!

It's already fixed, see boxicons.css on line 463.
I think there was a problem with the minifing process, I think with the nmext release it will automaticaly fix this issue.

It is fixed when the minified file on JSDELIVR is fixed! I still have to link to non-minified for this to work!


BB-35 - [FEATURE REQUEST] slurm_slurmdbd_conf_additional_content variable/section for slurmdbd.conf template

Add a variable (slurm_slurmdbd_conf_additional_content) to add additional content to slurmdbd.conf template, similar to what is available in slurm.conf template via slurm_slurm_conf_additional_content
https://github.com/bluebanquise/bluebanquise/blob/master/collections/hpc/roles/slurm/templates/slurmdbd.conf.j2
Context
To be able to leverage additional specs within the fixed slurmdbd.conf template
Feature
Within collections/hpc/roles/slurm/templates/slurmdbd.conf.j2
## Additional content if exist
{% if slurm_slurmdbd_conf_additional_content is defined and slurm_slurmdbd_conf_additional_content is iterable %}
  {% for slurmdbd_slurm_conf_content in slurm_slurmdbd_conf_additional_content %}
{{ slurm_slurmdbd_conf_content | default('', true) }}
  {% endfor %}
{% endif %}

Dear @vedmonds
Thank you for this feature request. Yes it makes sens, I will add this :blush:

Dear @vedmonds
Here is the feature requested : https://github.com/bluebanquise/bluebanquise/pull/937/commits/d96173219b8dd3041593acc0533d4c2e73508e86
Does it match your request ?

Yes thank you!

Thanks a lot for the feedback. PR is merged :blush:
Please reopen this issue if you encounter any issues.


How to set api-server domain name?

Can't set rke2/config.yaml because elemental installs rke2 automatically.
How can I set tls-san and api-server address?

Cluster installation isn't handled by Elemental itself but by the management cluster. The standard Rancher documentation abour RKE2 installation should apply here.

Move to https://forums.rancher.com/t/how-to-set-server-url-for-ha-via-elemental/39076


Across team channel autocomplete

Summary
Across team channel autocomplete
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/20606
Related Pull Requests

Has server changes https://github.com/mattermost/mattermost-server/pull/20774

Screenshots

before
after

Release Note

Heads up that as part of our efforts to move to a monorepo, we're closing out a number of older pull requests like this one to help streamline the effort.
If you'd like to preserve these changes -- even if you're not the original author! -- feel free to resubmit the pull request against the monorepo once it's ready. You can subscribe to mattermost-server-issue-22420 for status updates on this effort.


[build] fix fuzz build mode macro and test runs

I'm seeing a failure in OSS-Fuzz build, as well as fuzz CI tool https://github.com/envoyproxy/envoy/pull/10289 due to fuzzing build macro FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION.
Basically, PR https://github.com/envoyproxy/envoy/pull/10050 introduced regex rewrites that are tested in config_impl_test, which is executed to create the corpus for route_fuzz_test. Fuzz builds are built with the FUZZING_BUILD_MODE... macro, and the RE2 library that does the regex rewrites in the test only does single replacements in fuzzing mode rather than the global replacement in the tests, so the test fails, and the fuzz build fails.
This change defined FUZZING_BUILD_MODE... only for fuzzing build rules, and explicitly undefines them for the config_impl_test.
RE OSS-Fuzz builds, this is odd. Bazel CLI flags take precedence, so I'm not sure what to do when we build in that environment. I can't seem to #undef in the tests, but I need to come up with some solution.I don't like manually removing the CLI flag in our build script, but maybe? https://github.com/google/oss-fuzz/blob/66e0e379395d3a3ee741b08f4d306e1ed71c4003/infra/base-images/base-clang/Dockerfile
Testing:
bazel build //test/common/router:route_fuzz_test_with_libfuzzer --config=asan-fuzzer
Signed-off-by: Asra Ali<EMAIL_ADDRESS>

@asraa how come RE2 behaves differently under fuzzing #defines than normally?

While I think this is horrible, RE2::GlobalReplace is modified in fuzzing mode!
https://github.com/google/re2/blob/572d6abf7f227053a4f8b83381fc4378714a2552/re2/re2.cc#L407


Add additional service for internal IP

We're running a private GKE cluster that is reachable via internal IPs (via VPN) as well as via external IPs (via external Loadbalancer). We currently use ingress-nginx where you can configure an additional internal service. See:

https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/templates/controller-service.yaml
https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/templates/controller-service-internal.yaml

controller:
  service:
    internal:
      enabled: true
      annotations:
        networking.gke.io/internal-load-balancer-subnet: gke-services
        networking.gke.io/load-balancer-type: Internal
      loadBalancerIP: <IP_ADDRESS>

The benefit is, that we can allow some Ingresses to only be accessible via private IPs.
I could not find a smiliar possibility to do this in Traefik. Am I missing something?

Hi ! Also interested by this feature.
Any update or roadmap please ?


ML-KEM: Improve compression and byte conversion functions

Closes #144 (assuming that #160 has already been merged).
This has two parts:

Cleans up the compression functions. These were correct and nicely written, I just changed names and docs.
Attempts to clean up bits-to-bytes conversion functions.

For the second part, I am honestly kind of confused. I thought the endianness was wrong but I tried rewriting it multiple times to make it look more like the spec and it seems correct. The KATs pass and all the internal properties pass. If anyone discerns something weird I'm doing with bit ordering I would love feedback.

Caught this on this PR, but the ML-KEM proofs currently require z3 v4.13+. This is what is installed by default with brew install cryptol but it is not what we ship with what4 solvers as that is v4.8.14. Adding a ticket to ensure we do :check-docstring against multiple z3 versions. We should also consider adding support to be able to set z3 version.

Going to cut some tickets for CI related tasks from this and also try and figure out which properties are actually causing the problem.

For the second part, I am honestly kind of confused. I thought the endianness was wrong but I tried rewriting it multiple times to make it look more like the spec and it seems correct. The KATs pass and all the internal properties pass. If anyone discerns something weird I'm doing with bit ordering I would love feedback.

Looking at the spec I agree that this is not super clear on endianness here. I am happy with how this looks right now.

I had to make a number of picky little changes that overlapped with the encoding pr #160. Nothing very interesting.
In service of #166 I switched a few properties to exhaust instead of prove, so I believe this now works with both z3 versions (the latest 4.14 and the shipped version 4.8.14)


optimize template-svg-icons

back to what we had: https://thenounproject.com/Brexebrex/collection/chart-icons/


5.9: [IRGen] Check for nil in final class cast opt.

• Description: As an optimization, there is a fast-cast to final classes that compares isa pointers to avoid calling swift_dynamicCast.  If the source of the cast is an Optional<final class>, though, it's not legal to compares isa-pointers: to do so, the source of the cast must be loaded (to get its isa pointer), but it might be Optional.none which for such an instance is represented with null.  This patch adds a null check if the source of the cast is wrapped in an Optional.
• Risk: Low.  The patch makes use mostly of existing code to check for null when the source is Optional.
• Original PR: https://github.com/apple/swift/pull/65636/
• Reviewed By: Erik Eckstein ( @eeckstein )
• Testing: Added an execution test that previously crashed.
• Resolves: rdar://108893429

@swift-ci please test


saveEpisode error

Hi everyone,
Got this error message this morning.

Already fixed here.

Already fixed here.

Fastest Bug correction ever XD
Thanks dude

Is it just me or now the Gift Tickets work with this new version?


Cluster level logging API for end-users

How to categorize this issue?
/area logging
/kind enhancement
/priority normal
What would you like to be added:
An API to support end users in aggregating cluster level logging data with application logging and/or documentation how to do that.
Why is this needed:
Cluster level logging provides context that can aid troubleshooting and tracing root cause in application issues. Having application and cluster logs in different locations makes the task difficult. It would be beneficial to have the option to have them in one location and preferable one that is chosen by the user.

/assign Kristian-ZH
/assign vlvasilev

@g-pavlov you have to prefix the usernames with @
/assign @vlvasilev @Kristian-ZH

To the best of my knowledge we are not planning to provide anything for application logs. The costs to move all of this over the wire might grow too much, thus we are recommending shoot owners to deploy and configure their own logging solution that fits their needs.

Any progress here  @g-pavlov @Kristian-ZH @vlvasilev ?
If not, then we can close this issue as we will not implement it.

This is a good feature but currently we have more important tasks based on the Logging stack stabilisation and we can close this for now

/close


I went back 20 ?'s from 152 and found no teachings for results.

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "dog, big, ran, quickly";
// Your code below this line
// Your code above this line
return result ;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
You  give us no clue what to type here between your //'s I went back over 20 questions to find anything related to results and functions and there is nothing there. I am expected to go on the forum and ask a question I am not even sure how to ask? I couldn't find anything to reference too for answering my question. I also went on the forum to post my code and I get no help. More bugs more bugs more bugs.

You people write this code like we are supposed to actually know it.

If you've gone back 20 questions then I guess you've solved Constructing Strings with Variables.
In Word Blanks challenge you're asked to do something similar.

You will need to use string operators to build a new string, result, using the provided variables: myNoun, myAdjective, myVerb, and myAdverb.
The output should be a complete sentence.

What does that say? Build a sentence using the provided 4 variables.
Example, broken down into multiple lines just to show how to use += operator.
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  var result = "Once upon a time, in a galaxy far, far away lived a ";
  // Your code below this line
  result += myAdjective + " " + myNoun;
  result += " that liked to " + myVerb + " very " + myAdverb;
  // Your code above this line
  return result;
}

Everyone working on this project is doing it for free, in their free time. It would be nice if you could stop down-voting every comment we make here.

@fatbacker thanks for your feedback, but this issue tracker is not for general discussion. You are more than welcome to reach out to the chat room and the forums.
Trust me I share your frustration when I am stuck. But this is a part of learning. I request your patience.
Now, coming to the challenge itself, I think the instructions are clear enough. Any extra clarification would mean giving out the solution itself.
This challenge is in the algorithms, section which aim to be bit more tougher than the previous challenges. Hence the difficulty is justified.
Apologies, that we have to close this issue. Do not worry someone will sure enough get back to you in the chat rooms and the forums.
Goodluck and happy coding.

I am grateful for the info you sent me on the question I asked in freeCodeCamp. I am new at this so I was clueless as to what they were asking me to do. Now i understand what they were asking for.
Thanks.

From: Jools<EMAIL_ADDRESS>Sent: Monday, April 24, 2017 2:46 AM
To: freeCodeCamp/freeCodeCamp
Cc: Fatbacker; Mention
Subject: Re: [freeCodeCamp/freeCodeCamp] I went back 20 ?'s from 152 and found no teachings for results. (#14572)
If you've gone back 20 questions then I guess you've solved Constructing Strings with Variableshttps://www.freecodecamp.com/challenges/constructing-strings-with-variables.
In Word Blankshttps://www.freecodecamp.com/challenges/word-blank challenge you're asked to do something similar.
You will need to use string operators to build a new string, result, using the provided variables: myNoun, myAdjective, myVerb, and myAdverb.
The output should be a complete sentence.
What does that say? Build a sentence using the provided 4 variables.
Example, broken down into multiple lines just to show how to use += operator.
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "Once upon a time, in a galaxy far, far away lived a ";
// Your code below this line
result += myAdjective + " " + myNoun;
result += " that liked to " + myVerb + " very " + myAdverb;
// Your code above this line
return result;
}
Everyone working on this project is doing it for free, in their free time. It would be nice if you could stop down-voting every comment we make here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/freeCodeCamp/freeCodeCamp/issues/14572#issuecomment-296596699, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaQvEN5EVGmICqOm4zlQhL7_KmSN4D0sks5rzG9ugaJpZM4NFmcO.

Same issue here on Windows 10, on both Chrome and Firefox. Seems like it's every other challenge.


Tracks with quotes in the title are not selected and some tracks not shown due to popularity

1. Songs with quotes in the title are not selected
When the track is selected, the selected animation is not shown, this happens with songs that have quotation marks in the title.
To Reproduce
Input:
Track name: Hawaiian Roller Coaster Ride - From "Lilo & Stitch"/Soundtrack
or
Track name: hawai (This is the easiest way to see the problem)
and select the track
Expected behavior
The song should be selected but nothing happens
2. Some tracks not shown due to popularity
In the section "How popular do you want the recommendations? (1 to 100)", when the users add for example 84 or more, no results are shown (recommended tracks list) because there are no songs that have that popularity value, so it will look like there is a mistake because nothing is shown. There may be a way to show the user a notification when there are no results to display.
To Reproduce
Input:
Track name: When you where young
How popular do you want the recommendations? (1 to 100): 84 or more
Expected behavior
Show a notification that there are no results to display
If you enter 83 or less, you can see the differences in the results
If there is no problem I can work to solve these issues

Thanks for finding this bug. If you'd like, you can assign yourself to this issue and work on it, otherwise just leave it open for someone else to take over. Thanks!

I will work on this


serverless offline --noPrependStageInUrl but "failed with the error "operation_timeout""

Description
Hi, I am trying to deploy my App to AWS Lambda by following this tutorial step by step.
https://slack.dev/bolt-js/deployments/aws-lambda
However, when I do serverless offline --noPrependStageInUrl  , my bot just doesn't do anything.
I am using ngrok currently to forward my localhost port 3000.
Here is my serverless.yml

service: serverless-bolt-js
frameworkVersion: "3"
useDotenv: true
provider:
  name: aws
  runtime: nodejs14.x
  environment:
    SLACK_SIGNING_SECRET: ${env:SLACK_SIGNING_SECRET}
    SLACK_BOT_TOKEN: ${env:SLACK_BOT_TOKEN}
functions:
  slack:
    handler: app.handler
    events:
      - http:
          path: slack/events
          method: post
plugins:
  - serverless-offline

Here is my app.js initialization part
const awsLambdaReceiver = new AwsLambdaReceiver({
  signingSecret: process.env.SLACK_SIGNING_SECRET,
});

const app = new App({
  // signingSecret: process.env.SLACK_SIGNING_SECRET,
  // token: process.env.SLACK_BOT_TOKEN,
  receiver: awsLambdaReceiver,
  port: process.env.PORT || 3000,
  clientId: process.env.SLACK_CLIENT_ID,
  clientSecret: process.env.SLACK_CLIENT_SECRET,
  stateSecret: "my-state-secret",
})

module.exports.handler = async (event, context, callback) => {
  const handler = await awsLambdaReceiver.start();
  return handler(event, context, callback);
};

I get this message in terminal when I do serverless offline --noPrependStageInUrl ,
offline: [HTTP] server ready: http://localhost:3000 🚀. So, I presume that my serverless set up is fine but bot is not reacting to any of the commands I give.
I also haven't deployed yet since my Slack App is not working locally.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[ x ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.
[ ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi @esphoenixc, can you check the activity logs available at http://localhost:4040/ (ngrok admin dashboard)? If the page does not display any request logs, you can double-check the Request URL settings in your Slack app admin page (https://api.slack.com/apps/{your app ID}).

Thank you for your reply. ngork admin dashboard shows the activity logs but no status code like this.

The activity logs contain various information in summary, such as appID, team_ID, token, etc.,

Okay, the Request URL is working for you! The missing part would be the app's listeners such as app.command or app.shortcut. You can add corresponding listeners to your app instance. Without listeners, your app does not respond to it. Refer to https://slack.dev/bolt-js/concepts#commands and other document sections for more details.

I've already had the app's listeners such as app.command. Also, app.message() is not working as well.
The listeners were already there and my Request URL is working but the App is not working ..

@esphoenixc Just in case, I've checked whether the example in the tutorial is still valid. It works for me without any issues. Can you try the following example out?
App Manifest:
display_information:
  name: sls-offline-test-app
features:
  bot_user:
    display_name: sls-offline-test-app
  slash_commands:
    - command: /sls-test
      url: https://YOUR-OWN-DOMAIN.ngrok.io/slack/events
      description: test
      usage_hint: test
oauth_config:
  scopes:
    bot:
      - channels:history
      - commands
      - chat:write
settings:
  event_subscriptions:
    request_url: https://YOUR-OWN-DOMAIN.ngrok.io/slack/events
    bot_events:
      - message.channels
  interactivity:
    is_enabled: true
    request_url: https://YOUR-OWN-DOMAIN.ngrok.io/slack/events
  socket_mode_enabled: false

app.js
const { App, AwsLambdaReceiver } = require('@slack/bolt');

const awsLambdaReceiver = new AwsLambdaReceiver({
  signingSecret: process.env.SLACK_SIGNING_SECRET,
});
const app = new App({
  logLevel: 'debug',
  token: process.env.SLACK_BOT_TOKEN,
  receiver: awsLambdaReceiver,
});

app.command('/sls-test', async ({ ack }) => {
  await ack(`Hey there <@${message.user}>!`);
})

app.message('hello', async ({ message, say }) => {
  await say({
    blocks: [
      {
        "type": "section",
        "text": {
          "type": "mrkdwn",
          "text": `Hey there <@${message.user}>!`
        },
        "accessory": {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "Click Me"
          },
          "action_id": "button_click"
        }
      }
    ],
    text: `Hey there <@${message.user}>!`
  });
});

app.action('button_click', async ({ body, ack, say }) => {
  await ack();
  await<EMAIL_ADDRESS>clicked the button`);
});

module.exports.handler = async (event, context, callback) => {
  const handler = await awsLambdaReceiver.start();
  return handler(event, context, callback);
}

package.json
{
  "name": "bolt-js-getting-started-app",
  "version": "2.0.0",
  "description": "Getting Started ⚡ Bolt for JavaScript",
  "main": "app.js",
  "scripts": {
    "start": "node app.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "license": "MIT",
  "dependencies": {
    "@slack/bolt": "^3.6.0"
  },
  "devDependencies": {
    "serverless-offline": "^8.7.0"
  }
}

serverlesss.yml
service: serverless-bolt-js
provider:
  name: aws
  runtime: nodejs14.x
  environment:
    SLACK_SIGNING_SECRET: ${env:SLACK_SIGNING_SECRET}
    SLACK_BOT_TOKEN: ${env:SLACK_BOT_TOKEN}
functions:
  slack:
    handler: app.handler
    events:
      - http:
          path: slack/events
          method: post
plugins:
  - serverless-offline

Hi, I followed the example you gave me but still doesn't work. For the new app, sls-offline-test-app, when I put inhttps://YOUR-OWN-DOMAIN.ngrok.io/slack/events, the URL is not verified and saying Your URL didn't respond with the value of the challenge parameter. However, it is the correct URL I get from ngrok but I am getting the URL is not verified. so I checked the activity log in the ngrok admin dashboard. I saw the post request with no status code again

in the summary tab of the activity log, there are token, challenge, and type.

To properly handle the url verification request, your app needs to load your app's signing secret. Please double-check that your app loads valid SLACK_SIGNING_SECRET env variable when it spins up.

Hey @esphoenixc 👋🏻 Just poking my head into this issue while we're outside of @seratch's timezone.
It sounds like your ngrok server is receiving events from the Slack API. That's good news! The problem is that ngrok is not forwarding the requests to your app.
In my head, I'd run through a check-list of reasons why the request may not be forwarded from ngrok to your app:

Are you using ngrok http 3000? It sounds like it but I just want to confirm
Are you running serverless offline --noPrependStageInUrl to remove prepended paths in the URL? I've seen you mention this flag a few times, so I think you're good here.

Does verbose output show any incoming requests? serverless offline --noPrependStageInUrl --verbose
You can also turn on DEBUG logging in Bolt to get extra information

Your SLACK_SIGNING_SECRET appears to be set correctly
What operating system are you using? There any chance that a firewall is blocking the forwarding of requests from ngrok to your local app?

@mwbrooks Hi, thanks for helping out.

Yes ngrok http 3000
yes serverless offline --noPrependStageInUrl. --verbose output does not show any incoming requests. I turned on the Debug logging in Bolt to get extra info but nothing is showing (I guess no error?)
3.Yes correct SLACK_SIGNING_SECRET
Operating System : MacOS Montery version 12.2.1. I don't think a firewall is blokcing the forwarding because when I don't use serverless framewokr, my bot works fine with ngrok.

AwsLambda Receiver doens't work. Use Express Receiver then serverless offline works fine


Merge Dev ke UAT 14 Sept 2017

Coverage increased (+0.1%) to 72.217% when pulling 6025a9e9b735e0ab0d69b8571272c68825353ef9 on dev into 30bafdea9e560d8e3ac6c1a3c72770a3528651a4 on uat.


How to tune memory parameters when training large data set on yarn

I have a large data set stored on hdfs where training data is about 800G and valid data is about 90G.  The data format is libsvm and each instance has 308 features at most. When running training process via yarn, I always get the error
INFO dmlc.ApplicationMaster: Diagnostics., num_tasks100, finished=20, failed=80
[DMLC] Task 26 killed because of exceeding allocated physical memory

The job is submitted via
../dmlc-core/tracker/dmlc-submit \
     --cluster yarn \
     --num-workers 100 \
     --num-servers 10 \
     --worker-memory 20g \
     --server-memory 20g \
     --queue ${my_queue} \
     --ship-libcxx /opt/gcc-4.8.2/lib64/ \
     ../xgboost train.conf

train.conf
# General Parameters, see comment for each definition
# choose the booster, can be gbtree or gblinear
booster = gbtree
# choose logistic regression loss function for binary classification
objective = binary:logistic

# Tree Booster Parameters
# step size shrinkage
eta = 1.0
# minimum loss reduction required to make a further partition
gamma = 1.0
# minimum sum of instance weight(hessian) needed in a child
min_child_weight = 1
# maximum depth of a tree
max_depth = 4
# instance sampling
subsample = 0.8
# feature sampling when splitting
colsample_bylevel = 0.8

# Task Parameters
# the number of round to do boosting
num_round = 2
#0 means do not save any model except the final round model
save_period = 0
# The path of training data
data = "hdfs://.../train"
# The path of validation data, used to monitor training process, here [test] sets name of the validation set
eval[test] = "hdfs://.../valid"
# evaluate on training data as well each round
eval_train = 1
# The path of model out
model_out = "hdfs://.../model/"

Please help me tuning the memory parameters so the job can run successfully.

@tqchen

I have tested that xgboost can not handle such a large data. So do down sampling before training.

@formath Hi, sorry for posting at this closed issue, but I have encountered the same problem as you had (You can check the details here) I'm wondering what's the largest data size you have tested on YARN version xgboost? Cause in my case, it cannot handle even 10GB data (I allocated about 40GB physical memory). Thank you!


Make sure target image size is within limits.

Each image has a minimum size based on how it was formatted. If the target size we ask for is less than that, hdiutil will fail with hdiutil: resize: failed. Invalid argument (22). To avoid this, find the minimum size with hdiutil resize -limits and use that if it's larger than the target size.

This will be a nice addition. Just a question, what format uses the size limit?
I'm just curious to better understand this formula: int($1/2048+1)

This will be a nice addition. Just a question, what format uses the size limit?
I'm just curious to better understand this formula: int($1/2048+1)

Ah, sorry about that. It converts number of MiB to number of 512B blocks, adds 1 and rounds down. (int(x+1) is a quick and dirty way to round up to the nearest whole number, with the caveat that if x is already a whole number you'll end up with 1 extra. I didn't think that would be a huge problem but I can clean this up and make it more readable if you like.)

Ah, sorry about that. It converts number of MiB to number of 512B blocks, adds 1 and rounds down. (int(x+1) is a quick and dirty way to round up to the nearest whole number, with the caveat that if x is already a whole number you'll end up with 1 extra. I didn't think that would be a huge problem but I can clean this up and make it more readable if you like.)

Nice! Thanks @smammy!

Nice! Thanks @smammy!

Thanks!

Thanks!


chore(deps): update angular v15.0.0

v14.2.3 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Other LLM options

Hi,
First things first, really great work. I've been looking for a more visual way to work with crewai. Quick question, Any plans to open up to new model providers, like Anthropic, etc

Hi,
First things first, really great work. I've been looking for a more visual way to work with crewai. Quick question, Any plans to open up to new model providers, like Anthropic, etc

Hello, appreciate your comment. You may consider modifing base_url and api_key in LLMNode to use other model providers.


Some more detail needed

"To ensure resources aren't overburdened when running jobs against databases in a SQL elastic pool, jobs can be configured to limit the number of databases a job can run against at the same time."
How?

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

ID: fe5d5f3a-ed62-4868-962e-2a2561309e80
Version Independent ID: fbeebf38-10b9-e855-467f-750310b15acb
Content: Azure SQL Elastic Database Jobs
Content Source: articles/sql-database/elastic-jobs-overview.md
Service: sql-database
GitHub Login: @srinia
Microsoft Alias: srinia

@srinia Please help regarding this issue.

@stevestein for awareness and visibility

@Mike-Ubezzi-MSFT please assign to @stevestein

@johnpaulkee - can you provide any info here?

@moseleycj - thanks for raising this issue!  I just added this info to the article:
Set the number of concurrent databases a job runs on by setting the sp_add_jobstep stored procedure's @max_parallelism parameter in T-SQL, or Add-AzSqlElasticJobStep -MaxParallelism in PowerShell.

#please-close

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Support custom fidelities

Introduce a FidelityComputer class (see qutip-qtrl) for custom fidelity types.

Hello,
I am working on a problem where I am interested in doing Quantum Optimal Control on a subsystem of a Hamiltonian that is comprised of two coupled systems. To do this numerically in QuTiP, as I understand it, I would have to use a custom Fidelity Computer with CRAB/GRAPE and use it to take a partial trace of the wave vector to get the wave vector of the subsystem that I am interested in. And then, I would have to optimize that using CRAB/GRAPE.
After searching the QuTiP forum, I have found one thread on custom Fidelity Computers, but it is not recent and the code it links to has errors when I run it. I have tried to update the code (see Jupyter File attached to my QuTiP forum post), and I am now getting an error that says:
UsageError: 'No fid_computer (Fidelity computer) set. A default should be assigned by the Dynamics subclass'
Any help on solving this issue and/or implementing a custom fidelity would be appreciated.
Thanks,
Matthew

@flowerthrower @ajgpitch Do either of you know off hand how you think this should be implemented?


./b2 problem

b2-tool not found

b2-tool not found

brew install b2-tools

b2-tool not found

brew install b2-tools

worked :+1:


Question around minimum requirements (macOS)

Try to install crc on MBP 2016 (I7, 16G ram) without success, but the same crc configuration can work properly on ec2 metal instance(c5n.mental, centos 7.9).
crc log
INFO 4 operators are progressing: authentication, image-registry, openshift-controller-manager, operator-lifecycle-manager-packageserver
ERRO Cluster is not ready: cluster operators are still not stable after 10m9.756444437s
INFO Waiting for the proxy configuration to be applied...
INFO Adding crc-admin and crc-developer contexts to kubeconfig...
ERRO Cannot update kubeconfig: Head "https://oauth-openshift.apps-crc.testing": Service Unavailable

crc status
$ crc status
CRC VM:          Running
OpenShift:       Unreachable (v4.8.2)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     17.27GB
Cache Directory: /home/centos/.crc/cache

Maybe the issue is about hardware performance?
Any suggested CPU spec for running crc ?

@angusfz what is the mac OS version on that system. Also it would be help for us if you file issue using the template for this MacOS problem you are facing.

16G ram

This machine is what I used before to run CRC (as one of the developers), so this is certainly the specs that are possible. However, there might be other factors that can influence the performance. It would be appreciated if you can follow the issue template to gather all the needed info (hence the NEEDINFO label).

Sure, will open new issue with issue template

@angusfz after you have done so, please close this one


New dataset proposal: politiquices

Proposal for a new dataset to be included in RiverBench
Please fill in the spaces indicated with "..."
See the guide on creating new datasets for instructions on how to fill this out.
General information

Description of the dataset: Support and opposition relations extracted from news articles archived in Arquivo.pt. The dataset describes news articles in Portuguese and the presented political stances. Dataset source, more information about the project (Portuguese).
Value brought by the dataset: Dataset of news articles, a common application of streaming. The data is varied in that it includes non-English text, datatype literals, external links, and blank nodes.
Proposed identifier: politiquices
Link to the source of the dataset: https://data.europa.eu/data/datasets/6130e331078190fd0c6c3819?locale=en
License of the dataset: https://spdx.org/licenses/CC-BY-4.0
Additional licensing notes (if any): none
Creator(s):

David Soares Batista, publishing the dataset
Piotr Sowiński (Ostrzyciel), processing the dataset

Technical information

Stream element type: triples
Stream element count: 17773
How were the stream elements split: By subject. Each stream element corresponds to one news article.
Uses RDF-star: no
Uses generalized triples: no
Uses generalized datasets: no
Other technical notes (if any): none

Dataset repo created: https://github.com/RiverBench/dataset-politiquices

Added dataset source and metadata.

The dataset is up on the website: https://riverbench.github.io/datasets/politiquices/dev/


Establish White Pixel detection

Use built-in TFOD models to detect White Pixel for minimum 10 points, unknown if driving to the spike marks will be required or if we can get away with it in init-phase.

Moving to the spike mark will be the only way, as long-range detection won't work. (tested 26/10)
Rewriting now to only check for a singular mark.

Pixel detection works with the Vision processing system; need to implement this into a task but functionality does pick up white pixels.


Document the need for correctly set velocities/time_from_start in ROS trajectories

Logging this here, but it should probably be documented over at ros-industrial/industrial_core.
Without the velocities field set in JointTrajectory msgs, motions will become really slow.

@simonschmeisser fyi.


⚠ Adacta-fintech.com has degraded performance

In a11084c, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1348 ms

Resolved: Adacta-fintech.com performance has improved in c30d523.


Premium AutoLogin not working correctly

I think this feature is not working as intended or my other mods or proxy is messing with it, I tried loggin with an offline client with the same name of a premium account on my server and it logged like I was a premium user (not asking for password), if any info is needed just ask, I don't really know what can be helpful but I'm using a velocity proxy with offline mode disable but enabled online on the fabric-proxy mod and on the fabric server and it asked to register using an offline account and it didn't with my premium account, but when I opened a offline client with the same name as my premium account it didn't ask to register o login even when using session at 1 second timeout, don't know if the session has something to do with it, also tried another premium account names using an offline client and the same happened
Originally posted by @DeadKper in https://github.com/samolego/SimpleAuth/issues/23#issuecomment-824714340

Could you enable debug mode in config and then try the procedure again? What does the log say?

Where can I see the logs? also, there's a feature called "hackOnlineMode" on the proxylite.toml config, if I turn it off and try to set the server on online mode and also activate premiumAutologin feature, it rejects to connect, doesn't matter if it's an offline or online client

I cannot log in with an offline client
does the client have the name which is taken by any minecraft player already? If so, that's to be expected

With only simpleauth installed, online mode on and autologin on
Not migrating deadkper, as premium status is: true and data file is  present.
that's with my premium client, and then
User com.mojang.authlib.GameProfile@4f797bc[id=,name=DeadFake,properties={},legacy=false] (/) has disconnected, reason: Disconnected
for the offline client, it doesn't even get to the mod and disconnects the offline client because is in online mode
Here's the console messages
23.04 07:21:03 [Server] User Authenticator #1/INFO UUID of player DeadKper is 223948e3-c3a8-444f-a9db-a8ff3725d406
23.04 07:21:03 [Server] Server thread/INFO Not migrating deadkper, as premium status is: true and data file is  present.
23.04 07:21:03 [Connect] User DeadKper, IP _<ip>_
23.04 07:21:03 [Multicraft] DeadKper ran command Message of the Day
23.04 07:21:03 [Server] Server thread/INFO DeadKper joined the game
23.04 07:21:14 [Disconnect] User com.mojang.authlib.GameProfile@4f797bc[id=<null>,name=DeadFake,properties={},legacy=false] (/_<ip>_) has disconnected, reason: Disconnected

https://namemc.com/search?q=DeadFake

Yep, just tried with the name 1_TEST2_NAME3_ and it logs in normally, mcskinsearch didn't show results on DeadFake don't know why, and seems like hackonlinemode is required for the mod to work correctly, now it logs in normally, but the problem with and offline client using the same name as my premium account log in without password, is it because is the same ip?

The problem is the proxy, tried a bunch of things and as soon as I tried using the proxy something breaks even when I made it work a couple minutes ago without it, should I leave this issue open?
hackonlineclient on -> offline clients can join with a premium name with no issues
hackonlineclient off -> can't join with any premium name on offline or online clients

but the problem with an offline client using the same name as my premium account, log in without password remains, is it because is the same ip?

humm, shouldn't be if you've disabled sessions ...

Tried using a different name and disabling sessions but it still logs in, the name I tried was "ElTedii", but DeadFake refuses to log in unless I force it to be offline in the configs

I think hackonlinemode forces an offline client to use the online uuid and maybe it says to the server "Hey, this user is actually a verified mojang account", and maybe that's what causes the problem?, because if that's the case I don't think this can be "fixed"

I sadly have no idea how it works ... But if that's the case, client should still be disconnected ...

Closed it by accident, actually, should I close this? I think I know the problem, the proxy basically makes any user a "premium" user if it has a premium name, using no mods with hackonlinemode (on fabric proxy) and with online mode (on the sv settings) when I try to enter the server with an offline client with a premium name (like DeadKper or ElTedii, just to clarify I don't have the account for my friend Tedii) it logs in with no problem, so when your mod tries to check if it's an offline user it doesn't work, and I don't know how but I made it work with hackonlinemode off, tried a bunch of things and it worked somehow, but some of my friends can't log in since they like to use their nicknames for other games wich are actually taken, and if I try to do a forceofflineuuids and I have hackonlinemode off nothing works for premium users, at least not on my host, I'll try later on my pc if I can find any solution or if it's just the host

Yeah, this can be closed then.


Tooltips aren't appearing over some controls

For example:
FAIcon

FAIcon fixed.

Tooltips weren't defined. Everything found so far is working as expected. Closing this issue.


Base url issue

From https://github.com/AnalyticalGraphicsInc/cesium/issues/6319#issuecomment-410764699

The documentation for Cesium and Webpack appears to be broken around 1.47, 1.48 . Whenever the iframe implementation was enforced as the dom container for the map.

Heads up, I figured it out.
CESIUM_BASE_URL : JSON.stringify('')
now needs to be
CESIUM_BASE_URL : JSON.stringify('../')

Thanks @hpinkos, you beat me to it. This should be updated both in this repo and in the cesiumjs.org tutorial as well.


ReflectDecorators not being recognised in Angular 8 AOT

Hi there,
We've recently upgraded our project to Angular 8. Our new versions are:
angular - 8.2.2. (previously was 6.2.8)
typescript - 3.5.3 (previously was 2.9.2)
reflect-metadata - 0.1.13
typedjson - 1.4.0
When we ng-serve everything works fine (as before in Angular 6) however with an AOT compilation we see the error below on all our properties.

We've never supplied the constructor for our decorators as we have reflect-metadata installed however somehow with AOT it thinks reflect is not supported, any ideas on this? Thanks!

Also just found this issue in reflect-metadata. It seems to be the same project 'g
https://github.com/rbuckton/reflect-metadata/issues/114

After many hours of pain I came across a solution. I believe the problem is the upgrade of core-js from 2.X to 3.X
Answer here helped me
Basically in my polyfills.ts I had to add the below line
import 'core-js/proposals/reflect-metadata';
Hope this helps someone!


Theme switching does not seem to work on mobile

This does not bother me too much because I intend on removing the theme switcher and locking in the light theme but I noticed that my site on mobile when switched only switches the drop-down menu.
Steps to reproduce the behavior:

Go to https://themes.gohugo.io/theme/anatole/ on Firefox mobile
Click on the dropdown menu
Switch the theme
Your result should be similar to what I am seeing in the screenshot.

@shariq1989 Thank you for reporting the issue. I couldn't fully reproduce the issue. When I click on the text/icon on FF it would switch, but not if I click besides it (on the blank space). Is that the same for you or does it not switch at all?

@shariq1989 Thank you for reporting the issue. I couldn't fully reproduce the issue. When I click on the text/icon on FF it would switch, but not if I click besides it (on the blank space). Is that the same for you or does it not switch at all?

It won't switch if clicked beside, only when the icon is clicked. And it only ever switches the drop-down menu. The issue I brought up is only happening on my mobile browser FF, nowhere else. Working fine in mobile Chrome as well.

It won't switch if clicked beside, only when the icon is clicked. And it only ever switches the drop-down menu. The issue I brought up is only happening on my mobile browser FF, nowhere else. Working fine in mobile Chrome as well.

It seems like it is moreso the dark mode on my phone that was forcing the issue. Once I turned that off, the site started functioning as expected.

It seems like it is moreso the dark mode on my phone that was forcing the issue. Once I turned that off, the site started functioning as expected.


Super scaffolding makes some incorrect assumptions about naming

I first user super scaffolding to create a Task model:
rails g super_scaffold Task Team name:text_field

Then I want to make it so that a Task can be assigned to many Memberships under the name assigned_to_memberships. (Just using memberships won't work because I also want to have an approvable_by_memberships relationship that also points to the Membership model.)
I tried generating a join model by doing this:
rails generate super_scaffold:join_model Tasks::Assignment assigned_to_membership_id{class_name=Membership} task_id{class_name=Task}

That results in Membership getting updated with these lines:
  has_many :assignments, class_name: "Tasks::Assignment", dependent: :destroy
  has_many :memberships, through: :assignments

But I would expect it to be more like this given the names that I'm using:
  has_many :assignments, class_name: "Tasks::Assignment", dependent: :destroy
  has_many :assigned_to_memberships, class_name: "Membership", through: :assignments

It also generates a valid_tasks method in Tasks::Assignment that is defined like this:
  def valid_tasks
    membership.valid_tasks
  end

But the Membership model was not updated to have a valid_tasks method. And again, based on the naming that I'm using I'd expect it to be assigned_to_memberships.valid_tasks.

Just trying to look into this and it looks like this line in the JoinModelScaffolder is what's responsible for getting the has_many declaration wrong.
https://github.com/bullet-train-co/bullet_train-core/blob/9b7f280d3a981b11f8f925e946ebff4c1d029436/bullet_train-super_scaffolding/lib/bullet_train/super_scaffolding/scaffolders/join_model_scaffolder.rb#L84

I think the problem is probably related to the fact that the Scaffolding::ClassNamesTransformer only deals with model/class names and doesn't account for the fact that a relationship might use different names.
https://github.com/bullet-train-co/bullet_train-core/blob/9b7f280d3a981b11f8f925e946ebff4c1d029436/bullet_train-super_scaffolding/lib/scaffolding/class_names_transformer.rb#L1-L8


Update build sys: ignored errors on holder

Sys tells "all good" even holder has errors.
Reproduce:

change code in holder to have some compiler errors
run rake build_dev (or rake electron:build_dev

Result

build is ok with broken code

Expectation

build sys should exit with not 0 code on compiler errors

Close because of a reason of this issue is #1947


Add "A Glimpse of the Open-Source FLIM Analysis Software Tools FLIMfit, FLUTE and napari-flim-phasor-plotter"

https://zenodo.org/records/10886750

Done in #482


Spring Cloud for Azure 4.0.0-beta.1 release

Parent issue: #23921
We should finish these tasks before release 4.0.0-beta.1:

[ ] Make sure the test coverage for each module. Including unit test and integration test.
[ ] Write new samples for each module
[ ] Write doc (dev guide and migration guide) for each module.

Do we need to do maven relocation？
There should has an excel or something like that to display old and new module names.

Closing this issue, because 4.0.0-beta.2 has been released successfully.


Llama.generate: prefix-match hit is very slow.

I upgraded from an older version, and experienced a disturbingly long read-ahead time.
The load on my machine is about the same (a bit higher with python, but that's understandable)
I tried to specify the same environment, using an nvidia card, but with n_gpu_layers=0.
For python binding, it may take several seconds to start the response. The token generation itself is done at a similar speed, but for llama.cpp the response starts immediately, while for python binding it takes seconds.
I would like to know if I am the only one experiencing this?
I am using LLama3 model.
So, the original binary values are:
llama_print_timings: sample time = 92.31 ms / 1160 runs ( 0.08 ms per token, 12565.67 tokens per second)
The llamaPython's are:
llama_print_timings: sample time = 99.82 ms / 144 runs ( 0.69 ms per token, 1442.57 tokens per second)
This seems like a big difference.

https://github.com/Maximilian-Winter/llama-cpp-agent/issues/54
Probably that is related to my findings that llama-cpp-python with llama-cpp-agent is slower than gpt4all on the follow-up prompts.
First prompt is fast.

Related to #1369 ?

Encountered a similar problem, which manifested itself as loading the model abnormally slow under gpu (unified memory for arm platforms) and only using a single core single thread for the cpu. This problem only exists in the last few new releases. It was working fine before.


fix output of model

closes https://github.com/CUQI-DTU/CUQIpy-FEniCS/issues/35
The related CUQIpy-FEniCS issue needed to be fixed in the CUQIpy repo

Thank you @nabriis and @jakobsj for your review. It is a good point about the overhead. I documented the overhead for a couple of examples in the attached file. It seems alright, but let me know what you think.
overhead_geom_check.pdf


Add support for textHeightBehavior

Hello, regarding the most recent version of this plugin, Adobe XD, and Flutter -- I've run into the export issue shown in the photo below:

Basically, SOME of the text gets cut off, but not all. What the connection is between the ones that display properly and the ones that do not, I can't say. But when I eliminate the parameter 'height: x.x,' altogether, everything displays fine.
This:

Changed to this on all the text definitions:

I get this:

Beautiful.
 If I want to make any changes to my design, I'll have to go and remove this parameter every time it's updated and exported from Xd to Flutter. Is there an option I can set in Adobe Xd that solves this inconsistency? You can see from the 1st image that certain text is fine, and when the code is examined they do not have a 'height: x.x,' parameter. Why is it given to some text, but not others?

Thanks for the report @Boondoge!
The issue you're running into here is a tricky one. It arises due to differences in how Flutter and XD apply line heights. In short: XD ignores line height on the first line, but Flutter does not.
In your example, the "SHARE" text in XD has a line height of 24, which is translated to a Flutter line height of 2 (Flutter uses a multiple of fontSize). In XD, that line height has no effect on the first (only) line, but in Flutter it shifts it down by 12 pixels.
The easy workaround is to remove the line height from those text fields in XD.
I'd love to find a fix on the plugin side, but haven't been able to yet. I previously had some logic that would move the Text in Flutter upward to offset the first line, but this causes all kinds of issues with layout.
I might look at adding some fuzzy logic that determines if a text field is a single line based on height (I don't want to make assumptions based on specific content), and excludes the line height in that case. It could get a bit weird in some cases though (I slightly increase the height of a text element in XD, and suddenly the text shifts vertically in Flutter).
Another option could be to either write our own extension to Text (XDText or something) that fixes it, or maybe even to see if the Flutter team would accept a pull request to add this option directly to Text (ex. Text(firstLineHeight: 0) or similar).

Did some digging. Looks like earlier this year someone else had the same idea, and submitted a PR which has been accepted. Awesome! I'll add support for this in the next release:
https://api.flutter.dev/flutter/dart-ui/TextHeightBehavior-class.html

Alternately, we could set this at the view level, though it is less specific, and may result in confusion:
theme.typography.defaultTextHeightBehavior,

The easy workaround is to remove the line height from those text fields in XD.

It makes sense to me that Xd is the master for design parameters. If that means massaging how the work is done in Xd to ensure proper export over to Flutter, I'm game. That being said, could you elaborate on what you mean? I do not see a way to remove or alter the line height from the Xd UI, other than font size or the height of the box itself. The height of the box cannot be removed. Changing it to 0 is not possible.

This image shows where line spacing lives in XD (the "99" value). It's not terribly intuitive, but if you set that value to "0", it will display a – to indicate it is using default line spacing.

Hmm, this does not work for me. Setting line spacing to 0 reverts back to previous line spacing setting. However, if I take your statement literally and use "0" (quotes included) the value does not revert back and the line spacing is unaffected. Is that what you mean?

Hmm. With a bit more testing, I'm seeing two different results in XD for resetting the line spacing, neither of which matches what you're seeing.
Here's the test I'm using: Select a multiline text field, set it's line spacing to something obvious (ex. 99), deselect the field (just to be sure it gets set), reselect the field, set the line spacing to 0. The two behaviors I've seen are:

Replaces the 0 with a dash –.
Replaces the 0 with the "default" line spacing for that font size.

Either of these outcomes seem to work correctly with the plugin (it is recognized as having no line spacing).

I've added support for this in ef81b9da3560a6fd72e1e3bdd280cf23538cd68a. It will be in the next release.

Hmm. With a bit more testing, I'm seeing two different results in XD for resetting the line spacing, neither of which matches what you're seeing.
Here's the test I'm using: Select a multiline text field, set it's line spacing to something obvious (ex. 99), deselect the field (just to be sure it gets set), reselect the field, set the line spacing to 0. The two behaviors I've seen are:
1. Replaces the `0` with a dash `–`.

2. Replaces the `0` with the "default" line spacing for that font size.

Either of these outcomes seem to work correctly with the plugin (it is recognized as having no line spacing).

I am wondering now if we're using different operating systems. I'm on Windows 10, are you on MacOS? Here's a gif (sorry for poor quality) of what happens for me:

An odd thing does occur, where after setting the line height to 99, it jumps back to 32 when I put in 0. I wonder if this is my Xd's version of default?

Yes, that's correct. Just enter 0 and it will use the default value.

Added in v1.1.0


What is Metadata?

Can I ask what is metadata exactly? I haven't found anywhere any good description, only methods JsDoc.
According to Metadata Proposal you offer to add to any JS Object unreachable property [[Metadata]]. But anyone could read and write to it with specialized methods? Like 'defineMetadata', 'getOwnMetadata'? So it is more like getter/setter from OOP without direct access to property.
So I can make something like this to copy the behavior?

//structure will look like:
const obj = {};

obj['Metadata'] = {
  customProperty1: {
    property: 'someValue'
  }
}
// Methods would look like this:
Object.prototype.defineMetadata = function(metadataKey, metadataValue, target, key) {
  this['metadata'][metadataKey] = {key: metadataValue};
}

I think metadata can be used for runtime type check, likes io-ts and flow-runtime.
And can also be used for some matching, like function overload or so?

@linonetwo It's my first time to hear runtime type check has connection with the metadata. Can provide some evidences?

@MuYunyun  I was guessing. See flow-runtime document's annotate part https://github.com/codemix/flow-runtime/tree/master/packages/babel-plugin-flow-runtime#options
They annotate the function with metadata:
import t from 'flow-runtime';
const add = t.annotate(
  (a, b) => a + b,
  t.function(
    t.param('a', t.number()),
    t.param('b', t.number()),
    t.return(t.number())
  )
);

I think it can be realized the type check with the decorate.
Back to the topic, I don't understand the relationship between the Reflect and the Reflect-metada.

@mikhailrojo the structure you show has no connection with the param target.


Adding body padding for mobile

Compensating for the search bar on mobile

that was quick.

Finally getting the hang of this git thing and jekyll/sass thing, haha.


Whole new version of Inquirer requires changes

https://github.com/SBoudrias/Inquirer.js

Fixed with release https://github.com/janik6n/astro-paper-new-article/releases/tag/v0.3.0