Allow running autocomplete on a textarea

Thank you for a great library! I don't think people working on side projects like this get even nearly the credit they deserve! 🥇
Is your feature request related to a problem? Please describe.
When assigning autoComplete.js to a textarea, the correct ajax request gets sent, but nothing is rendered. Changing from textarea to input makes things work.
Thoroughly Describe the solution you'd like
That ´´ worked exactly the same as <input type="text" id="autocomplete>.
Please provide a few use cases for this feature

I have an app where user can type in feature requests, and I would like to do an automatic search for duplicates in my database. Problem is that the description texts can be quite long, and I would like to be able to wrap the text in them. Seems inputs can't be wrapped with CSS, so I have to use a textarea.

Please Describe alternatives you've considered
I have not considered any alternative, happy to try them out if someone has one!
Example code
Here's an example as jsFiddle that works with an input, but doesn't work with a textarea: https://jsfiddle.net/ohckxy7v/2/

Hello @EmilStenstrom,
Thank you so much, I'm very glad that autoComoplete.js came in handy for you!
Unfortunately, textarea is not supported currently but there is an alternative that's more flexible than textarea which is contenteditable attribute.
You could add contenteditable="true" attribute to any of these type of elements div, span, p, article, etc.. and they will become editable multi-line text area which I guess would solve your issue.
MDN reference contenteditable
w3schools reference contenteditable
Modified Demo
Kindly try this method and let me know if it works for you as expected or not.
Cheers, Have a good day! :)

Thanks for such a quick reply! I'm not sure contenteditable will work, because this is part of a form that will likely get submitted if there are no duplicates. Let me show my use-case with an image to make it clearer:

On the left side you are filling in a form, on the right side the autocompleted results shows up. If none of the autocompleted fields match, you click "Log Request" and the form is submitted.
The problem with contenteditable is that it doesn't get submitted with the form. So in that case I would need to copy the contents of the field, clean it from unwanted HTML the user might have pasted, and insert it into a field that gets submitted.
I think it would be easier to just mirror the textarea into an input, and somehow trigger autoComplete.js that way...

To save you the hassle of the workaround I've added support to Textarea input field and because I believe that your use case could be recurring with other developers as well.
So now you can just through autoComplete.js almost to any kind of HTML element and you'll have it up and running OTB.
v7.2.0 Github, CDN, NPM
Try it and let me know how it went.
Cheers! :)

Wow, that works perfectly! I have mixed impressions of other autocomplete libraries in the past, but this one Just Works™, super impressive! :)
Thanks again!

Great! always glad to help. :relaxed:
I like the slogan by the way "Just Works!" :boom:
Cheers man, have a good one!


Generated anchor are not uniq

The generated list of anchors are not uniq meaning you can have conflicts if you have subtitle with the same name.
Example:
# Authentication
## Default

# Authorization
## Default

If you click on the second "Default" link, you will be redirected to the first one.

This is true. How are you generating the source markdown?

With widdershins

And are you using custom templates? You need to ensure the link anchor ids are unique yourself, which you can do by replacing the clashing ## anchors with
# Authentication

Default

Please let me know if it's an anchor from a built-in template (or hardcoded) and I'll fix it.

I am using the built-in templates, not custom ones :)

OK, is 'Authorization' a tag in your OpenAPI definition? I'm not sure where '## Default' is coming from... They're not duplicated operationIds are they?

I am converting multiples openapi files into one documentation.
Authentication and # Authorization and the services name
I don't have an "Authorization" tag in my OpenAPI file.
I don't know why but widdershins create a "Default" tag with methods that don't need authentification (security tag), and a "Service name" tag with methods with auth, resulting in something like that:
# Authentication (service name)
## Default
### operationId1
### operationId2
### operationId3
## Authentication (service name)
### opeartionId4
### operationId5

How are you converting the multiple OpenAPI definitions into one? How do the service names end up as level-one headers?
Widdershins creates a 'Default' tag for any operations which don't have a tag - this is so they have somewhere to go in the Table Of Contents (TOC). If you are pre- or post-processing the markdown to adjust the tags, you'll have to take this into account by modifying the Default tags to include the service name in the id property as above.

I am converting each OpenAPI files with widdershins, then with a regex I remove markdown header, i convert # to ## and ## to ###.
Then I manually insert my header, and I join each converted markdown prefixed with # Service Name

Ok, now I think I understand! The problem is your script isn't making the duplicate # Default headers unique, but Widdershins doesn't know any 'service name' to use to make them unique either.
I think we have a few options:

create an option for Widdershins to pass in a service-name for each OpenAPI definition
use the info.title of the API (with spaces removed) as a prefix for the id property
use an OpenAPI specification (vendor) extension like x-service-name
use a guid or similar - has disadvantage it will change every time the conversion is run

Do you see other advantages/disadvantages to any of these?
BTW, are you using the new --headings option for Widdershins to enable
s to appear in the TOC?

I think the info.title is the easier / faster to implement
Yeah, I am using the --headings option on widdershins

One other option is to make sure every operation in your OpenAPI definitions has a tag, and make the 'default' tags unique across all definitions...

Ok - testing the change...

Should be fixed in Widdershins v2.2.10 - please let me know if not.

I am still getting the issue:
Default

Also widdershins still create an empty "Default" section even if all paths get a tag field

Hmm, I'm not seeing that with either the specs/petstore.json definition (where every operation has a tag) or specs/xkcd.yaml where 'Default' is included but the heading is now:

Default

Looks like it is a problem with the published packager. When I pull master from widdershins "Default" id is ok, and not on 2.2.10

Ok so, there is still a problem with h2 / h3 fields that have the same name:
# Authentication
## Health check
# Authorization
## Health check

The only difference between GitHub master and v2.2.10 was (what should have been) an unrelated commit. Anyway, I've published v2.2.11 now containing that commit.
If your OpenAPI definitions contain clashing tags, I think you need to do the replacement of the ## and ### headings with anchor tags in your script. If I do it for all TOC entries it will break peoples' bookmarks.
It will be easier to adjust the headings in v3.x of Widdershins, which should be released later this month.

Thanks a lot :)

Closing this here, as I think it is really a widdershins issue. Please feel free to carry on the conversation on https://github.com/Mermade/widdershins/issues/61


wrong Next Up

in page https://github.com/vmware/clarity/wiki/Work-in-progress
wrong Next Up
@mathisscott
add ----|----|---- to display as table

Thanks for the heads up, @KANekT . This has been fixed.


feat: Allow extensions to compile under top_builddir

Signed-off-by: 3manuek<EMAIL_ADDRESS>Description
Allow building the Babelfish extensions by copying them into the /contrib directory of Postgres source code, in addition to supporting PGXS. Add a simple test of non-PGXS builds.
Issues Resolved
#76
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

(FYI, I edited the title and description of this PR)

(FYI, I edited the title and description of this PR)

@nasbyj I don't see your title edition, but I set it to the same name as the original issue #76 .

Can you add at least a minimal test of a non-PGXS build? Or maybe that's already happening elsewhere?

Yes, this should be happening in a new repository for testing the distribution. Probably I can extend this patch with some documentation.

Can you add at least a minimal test of a non-PGXS build? Or maybe that's already happening elsewhere?

What we can do, is to create a branch from engine tags, attach the extensions, do the changes that we have done in the plain distributions and let the CI run the test. But I'm not seeing this possible in this repository. cc/ @nasbyj

These changes are insufficient. Some Makefiles depend on finding the correct (just compiled but not yet installed) pg_config executable and/or the current source tree. The latter isn't much of a problem, but the former basically require to run make install before running make -C contrib/babelfishpg_NAME.
We need to get rid of the need for environment variables PG_CONFIG and PG_SRC to be set.

These changes are insufficient. Some Makefiles depend on finding the correct (just compiled but not yet installed) pg_config executable and/or the current source tree. The latter isn't much of a problem, but the former basically require to run make install before running make -C contrib/babelfishpg_NAME.
We need to get rid of the need for environment variables PG_CONFIG and PG_SRC to be set.

I'm aware of this, but I just needed the basics to make it work under the engine code. We can do more lean work here, but my idea was just to allow to compile for make the tarball distributions work. Within this change, we can still set up the PG_CONFIG and PG_SRC variables and do the compilation just by fetching the code through git-archive and prefix (that is, without modifying the extensions code).
But I agree definitively that extensions should deal with this eventually. What are your thoughts @nasbyj  @kuntalghosh @hsuamz ? Should we consider the effort to get a leaner code for compilation in the distribution? IMHO it would be a huge win.


[WW-5117] Evaluates dynamic attributes

Reverts changes in #475 and fixes WW-5117

Coverage remained the same at 47.321% when pulling 9a509eb1ddfb1a3b64500e73bcee4bb3d14a0efd on WW-5117-evaluate-dynamic-attributes into 25da849d0ac06af07e904961dced038b1d7f57b9 on struts-2-5-x.

Hi @lukaszlenart, I've found a regression with #475 (templateDir not found in some cases in .ftl templates).
I have not managed to isolate a clean test case but using this patch seems to solve the problem.
I'm assuming you have already found some problems in that PR since you have reverted the changes.
Any chances this PR will be released soon on the 2.5.x branch? For now I'm rolling back to 2.5.26 .
Thank you

@rproserpio I will rollout a new release as soon as this PR gets merged, Yasser already accepted it (thanks a lot!) but I would like wait a few days more.

@lukaszlenart thank you

It's time to issue a new release with this fix


Added GRAIN token

can you rebase the latest in main?
@ecdsafu can you review svg?

Synced to main. Let me know if there's anything else I need to do. Thank you!

Good deal! Let me know if I need to provide/change anything to get this pushed through


Cannot use the same device or identifier across different user profiles

As the heading says, Im unable to use the same identifier within many profiles because it throws a SQL error when adding the device in a second profile.
Traccar Server 3.14
Ubuntu 16.04

You should share same device between users. You can't create two devices with same unique id.


Add ability to import directly from RabbitMQ node/cluster

It would be great if I could just drop the URL of the management UI into the app and have it pull back the definition directly from the node/cluster.

This was one of my first thoughts, you could read in from the api/definitions page


Documentation on multilevel inheritance

Description
Add some info about multilevel inheritance
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@ishita3513 I already make this documentation and in 1-2 days I do pull request for it.

@prak895  How can I contribute then?
Should I have to do /assign others repo or have to create own?
How do reviewers check my work?

@ishita3513 Go and see roadmap of particular domain after that choose topic of your choice and see that if anyone not working on that issue then self assign to U that's all . If any doubts then ping me in discord


Error when downloading from comedy central: RegexNotFoundError: Unable to extract mgid

Oskars-MacBook-Pro:South Park 504 oskar$ youtube-dl http://southpark.cc.com/full-episodes/s05e04 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://southpark.cc.com/full-episodes/s05e04', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.15
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[southpark.cc.com] s05e04: Downloading webpage
ERROR: Unable to extract mgid; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mtv.py", line 193, in _real_extract
og_url = self._og_search_video_url(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 684, in _og_search_video_url
return self._html_search_regex(regexes, html, name, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 593, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 584, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mtv.py", line 209, in _real_extract
r'embed/(mgid:.+?)["'&?/]', sm4_embed, 'mgid')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 584, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract mgid; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This is the first video on this site that has had this error.

From Spain I get this message in the browser: We apologize that South Park Studios cannot stream Super Best Friends, can you play it in a browser?

Yes, you are right. I forgot to look at the link. Not a fault of youtube-dl


How to use SSL option

Is there an example for the following settings ? Is the cacertfile used for server validation?
##auth.pgsql.ssl_opts.keyfile =
##auth.pgsql.ssl_opts.certfile =
##auth.pgsql.ssl_opts.cacertfile =
How to set the sslmode for connection to postgres.
sslmode=require/verifyCA/verify-full etc.

Can I get any update of mutual verification of certificates over SSL?

Environment

OS: Ubuntu 14.04
Erlang/OTP: (erlang/otp version installed as a part of
EMQ: emqttd-2.2.0

Description
The emq-auth_psql plugin seems to be successful in a making a TLS connection to the DB. The SSL certficate used is signed by a private CA and this CA has not been imported and added to the auth.pgsql.ssl_opts.cacertfile

an example of a valid config for the file paths would be great so its explicit if the paths are relative or absolute, would make debugging connectivity issues easier.


Add DoesNotReturnIf to Assert.IsTrue/Assert.IsFalse and DoesNotReturn to Assert.Fail

Fixes #1004
When adding these attributes, I did hesitate on the IsTrue/IsFalse overloads accepting nullable bools, because it does look odd to see
[DoesNotReturnIf(true)] bool? condition
right next to a check like
if (condition == true || condition == null)
knowing that for both true and null the method will not return - but only for true will the nullability analysis kick in. Passing null will result in the call site still not knowing if the method returns or not so the user will still have to perform their own additional check.
But my thought process was that the attribute is still accurate and still helps. [DoesNotReturnIf(true)] means just that - the method does not return if the parameter exactly matches true. It does not say whether or not the method returns if false or null are passed in.
Even though in this case we know that IsFalse(null) will not return, there is not a way to represent that with the current DoesNotReturnIf attribute.

cc @Haplois

Thank you for the contribution @dferretti, merging!


[Enhancement] Make sword beams work on any enemy

This extends the Fierce Deity Anywhere enhancement to make the sword beams work for regular enemies. For a given enemy, the sword beam multiplier is set to 1 if it is 0. The effect will match light arrows if none are already set. Additionally, sword beams will always trigger a collision, which makes them work on enemies with special properties, such as Skulltulas and Big Octos. Bosses should retain their existing behavior for sword beams, such as the splash effect when Odolwa blocks sword beams.
https://github.com/HarbourMasters/2ship2harkinian/assets/7004497/431c1f66-95ce-48df-a284-bdeb0e31fa07
Known enemies that still ignore sword beams:

Snapper
Deep Python, which I don't think is possible for FD to even encounter?

Build Artifacts

2ship-linux.zip
2ship-windows.zip
2ship-mac.zip

YES! now to wait for this and the two handed sword attacks to be merged into the main nightly branch and i'll be ready to cut the moon in half!

Hey! Awesome work so far on this! Just wanted to note that the intention of using hooks is to have a single enhancement be able to subscribe to multiple hooks rather than a hook being used multiple times for a single enhancement. In this case the idea would be to instead create a new VB hook where you have used the FD anywhere one, and then register that hook similarly inside the same RegisterFierceDeityAnywhere function. If you have any more questions about this or need any help lmk in the development channel!

big skulltulas

In this case, skulltulas only take damage in their exposed state, like they would with other sword attacks.

leevers? *(they won't sit still long enough for me to hit them. but better safe then sorry)

They seem to work from my own testing, but I've only managed to get a sword beam to target a leever when the leever is so close that it's hard to say it wasn't the sword itself that connected.

In this case the idea would be to instead create a new VB hook where you have used the FD anywhere one, and then register that hook similarly inside the same RegisterFierceDeityAnywhere function

Are you recommending to do something similar to the clock tower cutscene skip hook?

big skulltulas

In this case, skulltulas only take damage in their exposed state, like they would with other sword attacks.

leevers? *(they won't sit still long enough for me to hit them. but better safe then sorry)

They seem to work from my own testing, but I've only managed to get a sword beam to target a leever when the leever is so close that it's hard to say it wasn't the sword itself that connected.

In this case the idea would be to instead create a new VB hook where you have used the FD anywhere one, and then register that hook similarly inside the same RegisterFierceDeityAnywhere function

Are you recommending to do something similar to the clock tower cutscene skip hook?

i noticed the big skulltulas are killed when hit by a beam to the back. but i feel like they should react like getting hit by an arrow. yknow because it passes through.
interestingly the bubble enemies die whether on fire or not when struck by a sword beam.

The Skulltulas, Big Octos, and They actually seem to be fixable by ORing the sword beam damage effect with the arrow damage effect when setting the sword beam damage flags. So far, this seems to keep boss sword beam effects intact while maintaining the damaging effect on enemies. However a comment specifically recommends not combining these flags for the time being...
https://github.com/HarbourMasters/2ship2harkinian/blob/e60ca15ae6a9e5381c9675530828e7a1c246f643/mm/include/z64collision_check.h#L397-L398

i wonder. could the check be applied to boulders? my thought is: imagine blowing up rocks with your blade beam. or melt ice? or destroy sun blocks?

i wonder. could the check be applied to boulders? my thought is: imagine blowing up rocks with your blade beam. or melt ice? or destroy sun blocks?

Now that I have a better understanding of how hooks should be applied, that's probably an easy thing to add. I'm not sure if that should be a standard feature as part of this, though. The idea of this is to make the sword beam behavior for normal enemies similar to how it works on bosses.

I just pushed a new update that makes enemies display the blue light orbs effect upon taking sword beam damage. I also completely overhauled the collision detection of sword beams. Instead of adding the light arrow damage flag, it will instead always register a collision. This keeps the one odd effect from Odolwa intact while also letting the beams connect with Skulltulas and Big Octos.
Various hurdles, as commented in FierceDeityAnywhere.cpp required having some sort of per-actor variable to use. I went with the actor's ActorShape face, since that is something that exists for all actors but is not normally used for anything but the player. This shouldn't interfere with how anything else in the game behaves, unless other enhancements decide to use the same thing for other purposes.

I updated this to use the new variadic argument syntax for the hooks. In particular this has cleaned up the damage multiplier and damage effect hooks, resulting in one less file modified for this feature.

Addressed feedback. Collision should have less potential weirdness now.

Since only three actors (Keese, Freezards, Leevers) seem to have this unusual null case for drawing damage effects, I decided to specially handle those cases for drawing the sword beam damage effect. I added a new hook for those calls. In this hook, I check if it's a sword beam collision, and if it is one, it will instead call Actor_DrawDamageEffects with the actor instead of null. This allows the visual effect to work without need for a static variable or the ShouldActorDraw hook.


'data' is numpy array of floating point numerical type, it means no categorical features, but 'cat_features' parameter specifies nonzero number of categorical features

Hi everyone, it's me again. I have run this code. I get error code below:
 pool = Pool(data, label, cat_features=cat_cols)
the error :
'data' is numpy array of floating point numerical type, it means no categorical features," _catboost.CatBoostError: 'data' is numpy array of floating point numerical type, it means no categorical features, but 'cat_features' parameter specifies nonzero number of categorical features
Does anyone know what is happening, i did't change any of the code but got error maybe because of my train and test file. But I dont know how is the structure for test and train file.

If I'm not mistaken, you should be doing issues here:
https://github.com/catboost/catboost/issues
I would recommend to create the new ones there, because we check that place all the time.
About this issue: the problem, you're facing is that you are passing floating point numbers to categorical columns, which is not allowed. Here's an explanation, why it is forbidden:
https://catboost.ai/docs/concepts/faq.html#why-float-and-nan-values-are-forbidden-for-cat-features
We are planning to allow it for python though, it's one of the open problems for new contributors:
https://github.com/catboost/catboost/blob/master/open_problems/open_problems.md
So what you need to do, is you need to convert those columns to integers or to strings.

If I'm not mistaken, you should be doing issues here:
https://github.com/catboost/catboost/issues
I would recommend to create the new ones there, because we check that place all the time.
About this issue: the problem, you're facing is that you are passing floating point numbers to categorical columns, which is not allowed. Here's an explanation, why it is forbidden:
https://catboost.ai/docs/concepts/faq.html#why-float-and-nan-values-are-forbidden-for-cat-features
We are planning to allow it for python though, it's one of the open problems for new contributors:
https://github.com/catboost/catboost/blob/master/open_problems/open_problems.md
So what you need to do, is you need to convert those columns to integers or to strings.

Hi I did that and it's working! But somehow got new error :
UnboundLocalError: local variable 'new_data_holders' referenced before assignment


got sat info

good
On Fri, 22 Nov 2024 at 13:02, Mohammed Shakir @.***>
wrote:

@mohammed-shakir https://github.com/mohammed-shakir requested your
review on: #119 https://github.com/SOEP-Group/SOEP-Visualizer/pull/119
got sat info.
—
Reply to this email directly, view it on GitHub
https://github.com/SOEP-Group/SOEP-Visualizer/pull/119#event-15396586531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASROT6HZA2HY4MWDT3JFEM32B4MLZAVCNFSM6AAAAABSJGKICWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGM4TMNJYGY2TGMI
.
You are receiving this because your review was requested.Message ID:
@.***>


Editor doesn't hide overflowing text

I needed some motivation while working on a portfolio project, so I put opened a tab with the image of a singer I really like besides the main tab I was working on and I noticed the editor text overflowing, revealed by the gap between the image and the editor tab.

Full size images

Hello @cfuendev. I'm sorry about the delay.
Thanks for that.
I've added it to list of issues and will have a look soon.


Player Data bug

Had issues populating df in Player data model. .JSON has data from https://www.australiadatabases.com/sport
However when using this code to create NN model df doesn't populate correctly

Hi blocker2508, I am unsure of what could be causing this error, but I intend on doing an update in the coming weeks for the new season. As this model requires around 3 weeks of training data, I imagine I will update the scraper a week into the new season and then post an update.

look forward to the updates! happy to share my chunks that take the raw scores and uses softmax function to turn into odds.


console.log left in code

Hi, I just pulled in your latest changes and a console.log was introduced and left in the production code.  It shows up in my console now a lot.
The function is getDefaultSortParam and it's in Vuetable.vue around line 842.
There's another console.log in the code that hasn't shown up yet in my console but it would be a good idea to comment it out or remove it.  It's also in Vuetable.vue in function callDataManager around line 1209.

@nathanbrizzee Sorry for that. Will find time to remove them or you can help send a PR.

This is fixed in v1.7.5.


Modularization

It would be better for developers who wants to contribute if the script was modularized, just a suggestion :)

You're right, noted!


Make sure dapscompare notices when images are new/missing v/ reference images

We need a mechanism that makes sure that dapscompare also notices when images are added or removed in the comparison shots versus the reference images. E.g.: because of a new page break.

easiest way to achieve this is counting the number of resulting images.


Add calendar view to appointments

We need to add a calendar view.  This calendar view should support a weekly view and a daily view.
Like the appointment search (/appointments/search), you should be able to filter on:
Doctor
Type
Location
On the calendar the following items should display with a link to appointment details:
First Name
Last Name
Doctor to be seen

I can take this one if nobody minds.

It's yours @BogdanAlexandru.

Date Format Question:  Since a lot of countries use a date format of DD/MM/YYYY vs MM/DD/YYYY should the format be an option/setting?

@garylm HospitalRun uses Moment.js to do date formatting, in particular we use the locale formatting options available.  See http://momentjs.com/docs/#/displaying/format/, in particular the subsection there titled "Localized formats".

Info on progress:

I've used FullCalendar for this. As far as features are concerned, the only thing left to do is filtering. Plenty left in the testing and polishing area though.
A neat thing to add I think would be double-clicking a day in the calendar to start a new appointment creation at that day, but this feels like a good candidate for a separate issue (the PR for this is already growing big).
Will be back with a WIP PR soon.

So.... Does this imply there will be a 'calendar  date format' setting?

@garylm there doesn't need to be a calendar date format setting.  Moment.js' localized format allows us to display dates localized to the user's locale.

So how do we set the user's locale?

@garylm I was under the impression that momentjs automatically set the user's locale based on the user's browser using navigator.language (https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language), but it turns out that we need to add code to do that, eg:
moment.locale(navigator.language.toLowerCase());

The reason I was asking is that I have spent the last 3 months in Europe and I have yet to have any web form default to the European date format.


Do not fill with the disk  and it seems that -c would be ignore

Bug Report
What version of Kubernetes are you using?
kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"a9dda44d3f9da886364993e5cbb0f2afbbeae113", GitTreeState:"clean", BuildDate:"2022-02-10T11:38:28Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
What version of Chaos Mesh are you using?
/usr/local/chaosd-latest-linux-amd64/chaosd version
Chaosd Version: version.Info{GitVersion:"main-g8f5b737967a4c5", GitCommit:"8f5b737967a4c57ed4f9f8b0f9312b9ec73cce6a", BuildDate:"2022-08-17T06:48:40Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"linux/amd64"}
What did you do?
`:~> sudo /usr/local/chaosd-latest-linux-amd64/chaosd attack disk fill -c 100 -f false
:~> [2022/09/05 07:26:56.751 +00:00] [ERROR] [disk.go:48] ["fallocate: fallocate failed: No space left on device\n"] [error="exit status 1"] [stack="github.com/chaos-mesh/chaosd/pkg/server/chaosd.diskAttack.Attack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/disk.go:48\ngithub.com/chaos-mesh/chaosd/pkg/server/chaosd.(*Server).ExecuteAttack\n\t/__w/chaosd/chaosd/pkg/server/chaosd/attack.go:105\ngithub.com/chaos-mesh/chaosd/cmd/attack.processDiskAttack\n\t/__w/chaosd/chaosd/cmd/attack/disk.go:141\nreflect.Value.call\n\t/__t/go/1.18.2/x64/src/reflect/value.go:556\nreflect.Value.Call\n\t/__t/go/1.18.2/x64/src/reflect/value.go:339\ngo.uber.org/dig.defaultInvoker\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/container.go:220\ngo.uber.org/dig.(*Scope).Invoke\n\t/github/home/go/pkg/mod/go.uber.org/dig@v1.14.1/invoke.go:92\ngo.uber.org/fx.runInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/invoke.go:93\ngo.uber.org/fx.(*module).executeInvoke\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:174\ngo.uber.org/fx.(*module).executeInvokes\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/module.go:155\ngo.uber.org/fx.New\n\t/github/home/go/pkg/mod/go.uber.org/fx@v1.17.1/app.go:534\ngithub.com/chaos-mesh/chaosd/pkg/utils.FxNewAppWithoutLog\n\t/__w/chaosd/chaosd/pkg/utils/utils.go:27\ngithub.com/chaos-mesh/chaosd/cmd/attack.NewDiskFillCommand.func1\n\t/__w/chaosd/chaosd/cmd/attack/disk.go:117\ngithub.com/spf13/cobra.(*Command).execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\t/github/home/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902\nmain.main\n\t/__w/chaosd/chaosd/cmd/main.go:79\nruntime.main\n\t/__t/go/1.18.2/x64/src/runtime/proc.go:250"]
Error: exit status 1
[1]+  Exit 1                  sudo /usr/local/chaosd-latest-linux-amd64/chaosd attack disk fill -c 100 -f false
**What did you expect to see?**/dev/sda3 would be filled up and fallocate might be not display in log.
What did you see instead?
``~> df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda3       67055596 58884936   8170660  88% /
~> ls -lrth
total 46G
drwxr-xr-x 2 root  root  6 May 25  2018 bin
-rw-r--r-- 1 root  root  39M Sep  2 06:38 chaosd-latest-linux-amd64.tar.gz
-rw-r--r-- 1 root  root     0 Sep  5 07:26 example2009840103
:~> du -d1 example2009840103
47769308        example2009840103
``
Output of chaosctl

@fbi007130 Can you make sure if the target disk has enough space? -c 100 represents chaosd will fill 100 percent of the total size, which requires the disk is empty.

In addition, If you want to set -f to false, you can try chaosd attack disk fill -c 100 -f=false

I confirm that the space is enough in the disk.After execution,it still write data in disk.dd also work after chaosd attack while -f is true.
Secondly,the disk can be filled via cmd cc.

I confirm that the space is enough in the disk.After execution,it still write data in disk.dd also work after chaosd attack while -f is true. Secondly,the disk can be filled via cmd cc.

Can you describe the effect you want to achieve?

I want to occupy the disk which is in the worknode and I found that there is issue while fallocate is invoke by chaos-mesh.
I find that cmd dd is work in those env.
I still want to use cmd fallocate via chaos-mesh because it is spend time less than dd.At the other hand there is a bug in chaos-mesh GUI so that fallocate should not set as false.


go/types: fails to fully collect methods from embedded interfaces

What version of Go are you using (go version)?
Master branch (14th Nov 2017)
Does this issue reproduce with the latest release?
No. It works fine in Go 1.9
What operating system and processor architecture are you using (go env)?
go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/chewxy/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/chewxy/workspace/goddamnit"
GORACE=""
GOROOT="/home/chewxy/.gvm/gos/master"
GOTMPDIR=""
GOTOOLDIR="/home/chewxy/.gvm/gos/master/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-L/usr/lib -lopenblas"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build933801049=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Tried to run tests for gorgonia/tensor: https://github.com/gorgonia/tensor (go get gorgonia.org/tensor)
MINIMAL REPRODUCTION HERE
After some hours of debugging it seems order of declaration matters:

go vet works: https://play.golang.org/p/EJp98n8rpu
go vet returns error: https://play.golang.org/p/Lb7GkXYBDT

What did you expect to see?
The tests run.
What did you see instead?
vet: typecheck failures
Here's a sample line:
# gorgonia.org/tensor
./defaultengine_mapreduce.go:29:13: invalid operation: v (variable of type View) has no field or method Clone
./tensor.go:139:19: cannot use t.Slice(slices...) (value of type View) as Tensor value in assignment: missing method Clone

But here's the definitions:
View:
// View is any Tensor that can provide a view on memory
type View interface {
	Tensor
	IsView() bool
	IsMaterializable() bool
	Materialize() Tensor
}

Tensor:
// Tensor represents a variety of n-dimensional arrays. The most commonly used tensor is the Dense tensor.
// It can be used to represent a vector, matrix, 3D matrix and n-dimensional tensors.
type Tensor interface {
	// elided methods that are methods, instead here's a list of compositional interfaces that the Tensor type is built out of
	// data related interface
	Zeroer
	MemSetter
	Dataer
	Eq
	Cloner

	// formatters
	fmt.Formatter
	fmt.Stringer

	gob.GobEncoder
	gob.GobDecoder

	headerer
	arrayer
}

Cloner:
// Cloner is any type that can clone itself
type Cloner interface {
	Clone() interface{}
}

Guru does not see the Cloner interface:
$GOPATH/srcgorgonia.org/tensor/interfaces.go:62.6-62.9: definition of type View (size 16, align 8)
$GOPATH/srcgorgonia.org/tensor/interfaces.go:62.6-62.9: Methods:
$GOPATH/srcgorgonia.org/tensor/tensor.go:42.2-42.6: 	method (View) Apply(fn interface{}, opts ...FuncOpt) (Tensor, error)
$GOPATH/srcgorgonia.org/tensor/tensor.go:36.2-36.3: 	method (View) At(...int) (interface{}, error)
$GOPATH/srcgorgonia.org/tensor/tensor.go:28.2-28.9: 	method (View) DataSize() int
$GOPATH/srcgorgonia.org/tensor/tensor.go:26.2-26.5: 	method (View) Dims() int
$GOPATH/srcgorgonia.org/tensor/tensor.go:25.2-25.6: 	method (View) Dtype() Dtype
$GOPATH/srcgorgonia.org/tensor/tensor.go:58.2-58.7: 	method (View) Engine() Engine
$GOPATH/srcgorgonia.org/tensor/tensor.go:63.2-63.18: 	method (View) IsManuallyManaged() bool
$GOPATH/srcgorgonia.org/tensor/interfaces.go:65.2-65.17: 	method (View) IsMaterializable() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:62.2-62.21: 	method (View) IsNativelyAccessible() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:52.2-52.9: 	method (View) IsScalar() bool
$GOPATH/srcgorgonia.org/tensor/interfaces.go:64.2-64.7: 	method (View) IsView() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:32.2-32.9: 	method (View) Iterator() Iterator
$GOPATH/srcgorgonia.org/tensor/interfaces.go:66.2-66.12: 	method (View) Materialize() Tensor
$GOPATH/srcgorgonia.org/tensor/tensor.go:59.2-59.8: 	method (View) MemSize() uintptr
$GOPATH/srcgorgonia.org/tensor/tensor.go:61.2-61.8: 	method (View) Pointer() unsafe.Pointer
$GOPATH/srcgorgonia.org/tensor/tensor.go:71.2-71.8: 	method (View) ReadNpy(io.Reader) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:31.2-31.17: 	method (View) RequiresIterator() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:38.2-38.8: 	method (View) Reshape(...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:53.2-53.12: 	method (View) ScalarValue() interface{}
$GOPATH/srcgorgonia.org/tensor/tensor.go:37.2-37.6: 	method (View) SetAt(v interface{}, coord ...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:23.2-23.6: 	method (View) Shape() Shape
$GOPATH/srcgorgonia.org/tensor/tensor.go:27.2-27.5: 	method (View) Size() int
$GOPATH/srcgorgonia.org/tensor/tensor.go:24.2-24.8: 	method (View) Strides() []int
$GOPATH/srcgorgonia.org/tensor/tensor.go:39.2-39.2: 	method (View) T(axes ...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:41.2-41.10: 	method (View) Transpose() error
$GOPATH/srcgorgonia.org/tensor/tensor.go:40.2-40.3: 	method (View) UT()
$GOPATH/srcgorgonia.org/tensor/tensor.go:60.2-60.8: 	method (View) Uintptr() uintptr
$GOPATH/srcgorgonia.org/tensor/tensor.go:70.2-70.9: 	method (View) WriteNpy(io.Writer) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:75.2-75.15: 	method (View) standardEngine() standardEngine

But Guru sees the Cloner interface in Tensor:
$GOPATH/srcgorgonia.org/tensor/tensor.go:21.6-21.11: definition of type Tensor (size 16, align 8)
$GOPATH/srcgorgonia.org/tensor/tensor.go:21.6-21.11: Methods:
$GOPATH/srcgorgonia.org/tensor/tensor.go:42.2-42.6: 	method (Tensor) Apply(fn interface{}, opts ...FuncOpt) (Tensor, error)
$GOPATH/srcgorgonia.org/tensor/tensor.go:36.2-36.3: 	method (Tensor) At(...int) (interface{}, error)
$GOPATH/srcgorgonia.org/tensor/interfaces.go:21.2-21.6: 	method (Tensor) Clone() interface{}
$GOPATH/srcgorgonia.org/tensor/interfaces.go:26.2-26.5: 	method (Tensor) Data() interface{}
$GOPATH/srcgorgonia.org/tensor/tensor.go:28.2-28.9: 	method (Tensor) DataSize() int
$GOPATH/srcgorgonia.org/tensor/tensor.go:26.2-26.5: 	method (Tensor) Dims() int
$GOPATH/srcgorgonia.org/tensor/tensor.go:25.2-25.6: 	method (Tensor) Dtype() Dtype
$GOPATH/srcgorgonia.org/tensor/tensor.go:58.2-58.7: 	method (Tensor) Engine() Engine
$GOPATH/srcgorgonia.org/tensor/interfaces.go:16.2-16.3: 	method (Tensor) Eq(interface{}) bool
/home/chewxy/.gvm/gos/master/src/fmt/print.go:54.2-54.7: 	method (gorgonia.org/tensor.Tensor) Format(f State, c rune)
/home/chewxy/.gvm/gos/master/src/encoding/gob/type.go:797.2-797.10: 	method (gorgonia.org/tensor.Tensor) GobDecode([]byte) error
/home/chewxy/.gvm/gos/master/src/encoding/gob/type.go:788.2-788.10: 	method (gorgonia.org/tensor.Tensor) GobEncode() ([]byte, error)
$GOPATH/srcgorgonia.org/tensor/tensor.go:63.2-63.18: 	method (Tensor) IsManuallyManaged() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:62.2-62.21: 	method (Tensor) IsNativelyAccessible() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:52.2-52.9: 	method (Tensor) IsScalar() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:32.2-32.9: 	method (Tensor) Iterator() Iterator
$GOPATH/srcgorgonia.org/tensor/tensor.go:59.2-59.8: 	method (Tensor) MemSize() uintptr
$GOPATH/srcgorgonia.org/tensor/interfaces.go:47.2-47.7: 	method (Tensor) Memset(interface{}) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:61.2-61.8: 	method (Tensor) Pointer() unsafe.Pointer
$GOPATH/srcgorgonia.org/tensor/tensor.go:71.2-71.8: 	method (Tensor) ReadNpy(io.Reader) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:31.2-31.17: 	method (Tensor) RequiresIterator() bool
$GOPATH/srcgorgonia.org/tensor/tensor.go:38.2-38.8: 	method (Tensor) Reshape(...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:53.2-53.12: 	method (Tensor) ScalarValue() interface{}
$GOPATH/srcgorgonia.org/tensor/tensor.go:37.2-37.6: 	method (Tensor) SetAt(v interface{}, coord ...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:23.2-23.6: 	method (Tensor) Shape() Shape
$GOPATH/srcgorgonia.org/tensor/tensor.go:27.2-27.5: 	method (Tensor) Size() int
$GOPATH/srcgorgonia.org/tensor/interfaces.go:71.2-71.6: 	method (Tensor) Slice(...Slice) (View, error)
$GOPATH/srcgorgonia.org/tensor/tensor.go:24.2-24.8: 	method (Tensor) Strides() []int
/home/chewxy/.gvm/gos/master/src/fmt/print.go:63.2-63.7: 	method (gorgonia.org/tensor.Tensor) String() string
$GOPATH/srcgorgonia.org/tensor/tensor.go:39.2-39.2: 	method (Tensor) T(axes ...int) error
$GOPATH/srcgorgonia.org/tensor/tensor.go:41.2-41.10: 	method (Tensor) Transpose() error
$GOPATH/srcgorgonia.org/tensor/tensor.go:40.2-40.3: 	method (Tensor) UT()
$GOPATH/srcgorgonia.org/tensor/tensor.go:60.2-60.8: 	method (Tensor) Uintptr() uintptr
$GOPATH/srcgorgonia.org/tensor/tensor.go:70.2-70.9: 	method (Tensor) WriteNpy(io.Writer) error
$GOPATH/srcgorgonia.org/tensor/interfaces.go:37.2-37.5: 	method (Tensor) Zero()
$GOPATH/srcgorgonia.org/tensor/interfaces.go:137.2-137.4: 	method (Tensor) arr() array
$GOPATH/srcgorgonia.org/tensor/interfaces.go:138.2-138.7: 	method (Tensor) arrPtr() *array
$GOPATH/srcgorgonia.org/tensor/interfaces.go:133.2-133.4: 	method (Tensor) hdr() *gorgonia.org/tensor/internal/storage.Header
$GOPATH/srcgorgonia.org/tensor/tensor.go:75.2-75.15: 	method (Tensor) standardEngine() standardEngine

What I've Done:
I'm currently trying to replicate this, but I can't seem to find a replication in a separate file. Any ideas?

0d1887525 is the specific cause of the issue of me not being able to run tests (previously go test doesn't call go vet). It would appear that go vet is the one that is reporting all these errors.
There appears to be something unholy happening when there are internal packages involved, or somehow there is an issue with the init order in go/types, or that there are way too many declarations after walking the nodes. (1 Cloner was seen, 7 View was seen, and 589 Tensor was seen)
I wrote a small program to print out what it sees:
var archSizes = types.SizesFor("gc", build.Default.GOARCH)

func check(pkgName string, fileset *token.FileSet, files []*ast.File) {
	var errs []error
	config := types.Config{
		Importer: importer.Default(),
		Error: func(err error) {
			errs = append(errs, err)
		},
		Sizes: archSizes,
	}

	defs := make(map[*ast.Ident]types.Object)
	uses := make(map[*ast.Ident]types.Object)
	selectors := make(map[*ast.SelectorExpr]*types.Selection)
	typs := make(map[ast.Expr]types.TypeAndValue)
	implicits := make(map[ast.Node]types.Object)
	info := &types.Info{
		Selections: selectors,
		Types:      typs,
		Defs:       defs,
		Uses:       uses,
		Implicits:  implicits,
	}
	_, err := config.Check(pkgName, fileset, files, info)
	log.Printf("ERROR %v", err)

	// inspection
	var buf bytes.Buffer
	fmt.Fprintf(&buf, "Types:\n")
	for n, o := range info.Types {
		if id, ok := n.(*ast.Ident); ok && o.IsType() {
			// if id.Name == "View"  {
			// if id.Name == "Cloner" {
			if id.Name == "Tensor" {
				fmt.Fprintf(&buf, "%v (%v, %v)\n", id.Name, id.NamePos, id.End())
				fmt.Fprintf(&buf, "UNDERLYING %v\n", o.Type.Underlying())
			}
		}
	}
	log.Println(buf.String())
}

I get the correct results (formatted nicely for github):
Tensor (80220, 80226)
UNDERLYING interface{
	Apply(fn interface{}, opts ...tensor.FuncOpt) (tensor.Tensor, error);
	At(...int) (interface{}, error);
	DataSize() int;
	Dims() int;
	Dtype() tensor.Dtype;
	Engine() tensor.Engine;
	IsManuallyManaged() bool;
	IsNativelyAccessible() bool;
	IsScalar() bool;
	Iterator() tensor.Iterator;
	MemSize() uintptr;
	Pointer() unsafe.Pointer;
	ReadNpy(io.Reader) error;
	RequiresIterator() bool;
	Reshape(...int) error;
	ScalarValue() interface{};
	SetAt(v interface{}, coord ...int) error;
	Shape() tensor.Shape;
	Size() int;
	Strides() []int;
	T(axes ...int) error;
	Transpose() error;
	UT();
	Uintptr() uintptr;
	WriteNpy(io.Writer) error;

	standardEngine() tensor.standardEngine;
	tensor.Cloner;
	tensor.Dataer;
	tensor.Eq;
	fmt.Formatter;
	encoding/gob.GobDecoder;
	encoding/gob.GobEncoder;
	tensor.MemSetter;
	tensor.Slicer;
	fmt.Stringer;
	tensor.Zeroer;
	tensor.arrayer;
	 tensor.headerer
}

View (34380, 34384)
UNDERLYING interface{
	IsMaterializable() bool;
	IsView() bool;
	Materialize() tensor.Tensor;
	tensor.Tensor
}

Cloner (462220, 462226)
UNDERLYING interface{
	Clone() interface{}
}

Perhaps a clue is that the Tensor type gets seen 589 times?

OK, so I've figured out as much: Order of declaration matters (which in all practical sense in a multi-file program, is something you can't control). Here's the reproduction

go vet works: https://play.golang.org/p/EJp98n8rpu
go vet returns error: https://play.golang.org/p/Lb7GkXYBDT

The difference is
    Aaa(a, b Foo) Foo
}

is declared after everything has been declared.  When the go/type checks, this is the sequence it will check it:
typeExpr

Thanks.  Here is another reproduction.
package p

func F(x I4) interface{} {
	return x.Method()
}

type Unused interface {
	RefersToI1(a I1)
}

type I1 interface {
	I2
	I3
}

type I2 interface {
	RefersToI4() I4
}

type I3 interface {
	Method() interface{}
}

type I4 interface {
	I1
}

Most likely a duplicate of #18395.

Confirmed duplicate of #18395 by running with https://go-review.googlesource.com/c/go/+/78955 in debug mode.


Replace setup.py with pyproject.toml

The use of setup.py is deprecated, and this should be replaced with a pyproject.toml file. See serial-core v0.9.0 as an example.

The data_files directive is setup.py is deprecated in Setuptools, and there is no comparable alternative. The recommended solution is to use package data. However this places everything inside the installed Python package (i.e. down in site-packages), which is not suitable for user-facing editable assets like config files.
It looks like Poetry isn't a viable alternative because it takes the same approach.

Stuck between a rock and hard place now. It looks like data_files functionality is dead, or at least as it's used here. In the meantime, setup.py installs seem to be broken for good on Python 3.11, even when pinning pip and setuptools to versions that work with Python 3.10.

This project can provide a default config file within the package data, and then it's up to the user to provide a different config file and appropriate value for $HTTP_CONFIG_PATH if desired.

The Basics of Python Packaging in Early 2023

Issue resolved by commit 36e3cfb7d8eea9ea7c5dcc8b052f4dc5d6cf24e0.


Ability to fetch transcripts from Apple Podcasts

Apple Podcasts recently released support for transcripts in Podcasts . It would be great if we can fetch that from the API .
Proposed Workflow :

Give an option (toggle) to fetch transcripts
This can be used to get summary of a podcast episode if needed with other Quickadd LLM models

https://www.apple.com/newsroom/2024/03/apple-introduces-transcripts-for-apple-podcasts/

Hi @Tanzeel159, thank you for suggesting this!
I'd love to have this feature, but can't find any API from iTunes that lets me grab the transcriptions.
A while back I started to implement this feature on a branch, but it would cost a lot to transcribe the episodes. Would love to query some repository that just exposes it.

Oh okay so they haven't implement it yet. I will keep track and share if something is useful . Thanks for the effort though for trying to implement it yourself .

For info: on IPhone I tried to copy the full transcript but when paste it somewhere is just taking the beginning of the copied text

Added transcription feature in #101 via OpenAI's Whisper

I've been using it all day! Works super well. LMK if you find it useful as well, or if you have any ideas/suggestions. Closing this for now :) Just open a new issue if you have an idea / dm me.

@chhoumann can you explain how to use it?

@chhoumann  is giving me [Error transcribing chunk 0] [Error transcribing chunk 1] [Error transcribing chunk 2] although I put an API key

@zhampu please check the developer console for more information. You can access it with Ctrl+Shift+i, or Cmd+Shift+i if you are on Mac. It should display the error messages there.
Did you add billing for the OpenAI account and project?

`plugin:podnotes:10235
   POST https://api.openai.com/v1/audio/transcriptions 429 (Too Many Requests)`

The error 429 means "Too many requests," so it sounds like you've reached a rate limit for how much you can send to the OpenAI API. Waiting for a few moments resolves the issue.

When I click on the command to transcribe a podcast, sometimes it takes the episode title from the one im listening but transcribe the previous one I transcribed
any way to fix this?


Name conflict with other project for the actual PSX (the Japanese DVR)

I am the one who chose the name, without consulting anybody.
I am very new to the scene, and I have always known the PlayStation as the PSX. I didn't even know about this japanese PSX DVR. It's just a name, get over it. I could have called it BathroomCleanerUltraPro if I had wanted to.

Did you even read the part where in the picture where it says that there was already other project in the works called "FreePSXBoot" and it is for the actual PSX (DVR)?

@HowlingWolfHWC it's very disrespectful and childish to stalk over discord channels, take screenshots, post elsewhere and not even mentioning @nicolasnoble so he can defend himself... it's so easy on the internet to harass people while being anonymous... if at least you were constructive, but no.
Let's try to be see what people say on the internet...
https://trends.google.com/trends/explore?date=all&geo=US&q=psx ps1,psx dvr
Yeah, the DVR clearly wins... nope.

@HowlingWolfHWC it's very disrespectful and childish to stalk over discord channels, take screenshots, post elsewhere and not even mentioning @nicolasnoble so he can defend himself... it's so easy on the internet to harass people while being anonymous... if at least you were constructive, but no.

Just so we're clear, you're totally hitting the nail on the head with this one. The PlayStation community has been commonly plagued with trolls trying to argue this useless debate for decades now, which has become as toxic as "vi vs emacs" or "tabs vs space".
But the real issue here is the stalking up to Discord, and trying to pull the "public forum" and "public shaming" card to pull me into the debate still, while I clearly signaled before I wasn't interested in it in the slightest.
 You've clearly demonstrated that you have no care for people's wishes by trying to force a conversation I didn't want to have to begin with. You've all been blocked from all of my github projects as a result, and beyond.


Cleanup REST interfaces across the codebase

This is a nice improvement in both code structure and naming.   I never liked REST* prefixes and it makes sense to put this in the rest package.
Taking this from @bgrant0607 to save him some cycles.
Will merge on green since this LGTM

Got a green Shippable.


added authdomain for odbc engine in MM_ASSIGNDIRECTLIB

Issue
added authdomain for odbc connection
Intent
added authdomain for odbc connection
Implementation
failed to assign libname directly due to no authdomain in libname statement
Checks

[x ] Code is formatted correctly (sasjs lint).
[ ] Any new functionality has been unit tested.
[ ] All unit tests are passing (sasjs test).
[ x] all.sas has been regenerated (python3 build.py)

nice!

@all-contributors add @rudvfaden for code


HTTPS->HTTP->HTTPS redirection

https://kubernetes.github.io/ redirects to http://kubernetes.io/ which redirects to https://kubernetes.io/. Is it possible to make the github.io subdomain redirect directly to https?

@jessfraz @pwittrock  Is there a way to fix this redirect issue?

where are we hosting now? we can fix this

Not as far as I know.
https://kubernetes.github.io is gh-pages, which is configured to believe it has a custom domain, so redirects to it.  But gh-pages doesn't support SSL for custom domains, so it sends to HTTP.  If I get rid of teh custom domain part, some of the automatic redirects gh-pages sends (e.g. .../foo -> .../foo/) end up at github.io domains, rather than our vanity.
http://kubernetes.io is an nginx which automatically upgrades to HTTPS
https://kubernetes.io is that same nginx which proxies https://kubernetes.github.io
The end result is that every connection gets upgraded to HTTPS and goes through the vanity domain.  The downside is the chain of 301s.  Short of getting off gh-pages, I don't know a better answer.

Is this causing a problem?  I'm open to other answers, but I don't want to do it for fun..

oh I didn't realize the first URL is a github owned one, I'm sure they do this on purpose for non-https github pages sites

I wonder if we swwitched to pure jekyll and not the github pages stuff if we could then implement our own of the automatic redirects github sends (like you said from ../foo -> ../foo/)

/me runs (really don't think it's worth it)
On Mon, Jan 23, 2017 at 4:29 PM Tim Hockin<EMAIL_ADDRESS>wrote:

Then we have to administer jekyll :) Are you signing up? We do not have
a great monitoring story in place...
On Mon, Jan 23, 2017 at 4:20 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:

I wonder if we swwitched to pure jekyll and not the github pages stuff if
we could then implement our own of the automatic redirects github sends
(like you said from ../foo -> ../foo/)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274661642
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AFVgVGceOeEuzqacHZFNZDs9sSd0CjlZks5rVUPEgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274663339,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbD0TOBRQL8u4sgiQbNFVOpZyd8sOks5rVUX3gaJpZM4Lo15u
.

We've talked about using netlify for hosting, but it died out.  Would this
address any pain points?
On Mon, Jan 23, 2017 at 4:31 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:

/me runs (really don't think it's worth it)
On Mon, Jan 23, 2017 at 4:29 PM Tim Hockin<EMAIL_ADDRESS>wrote:

Then we have to administer jekyll :) Are you signing up? We do not have
a great monitoring story in place...
On Mon, Jan 23, 2017 at 4:20 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:

I wonder if we swwitched to pure jekyll and not the github pages stuff
if
we could then implement our own of the automatic redirects github sends
(like you said from ../foo -> ../foo/)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/
2305#issuecomment-274661642
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AFVgVGceOeEuzqacHZFNZDs9sSd0CjlZks5rVUPEgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/kubernetes/kubernetes.github.
io/issues/2305#issuecomment-274663339>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ABYNbD0TOBRQL8u4sgiQbNFVOpZyd8sOks5rVUX3gaJpZM4Lo15u>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274663625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHhIAidoPlbB973s_mPIGn9-eWqmEzgJks5rVUZbgaJpZM4Lo15u
.

the redirect would be the same problem afaict, only because we dont control
kubernetes.github.io in terms of how it gets redirected
On Mon, Jan 23, 2017 at 4:34 PM Phillip Wittrock<EMAIL_ADDRESS>wrote:

We've talked about using netlify for hosting, but it died out. Would this
address any pain points?
On Mon, Jan 23, 2017 at 4:31 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:

/me runs (really don't think it's worth it)
On Mon, Jan 23, 2017 at 4:29 PM Tim Hockin<EMAIL_ADDRESS>wrote:

Then we have to administer jekyll :) Are you signing up? We do not
have
a great monitoring story in place...
On Mon, Jan 23, 2017 at 4:20 PM, Jess Frazelle <
<EMAIL_ADDRESS>wrote:

I wonder if we swwitched to pure jekyll and not the github pages
stuff
if
we could then implement our own of the automatic redirects github
sends
(like you said from ../foo -> ../foo/)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/
2305#issuecomment-274661642
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AFVgVGceOeEuzqacHZFNZDs9sSd0CjlZks5rVUPEgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/kubernetes/kubernetes.github.
io/issues/2305#issuecomment-274663339>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ABYNbD0TOBRQL8u4sgiQbNFVOpZyd8sOks5rVUX3gaJpZM4Lo15u>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274663625
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AHhIAidoPlbB973s_mPIGn9-eWqmEzgJks5rVUZbgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274664141,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbAUO4WqOP5io4yIBaDnqHYqglvsYks5rVUcRgaJpZM4Lo15u
.

If the docs were hosted somewhere that did SSL at the same time, we
wouldn't need to bounce so much.
On Jan 23, 2017 4:35 PM, "Jess Frazelle"<EMAIL_ADDRESS>wrote:

the redirect would be the same problem afaict, only because we dont control
kubernetes.github.io in terms of how it gets redirected
On Mon, Jan 23, 2017 at 4:34 PM Phillip Wittrock<EMAIL_ADDRESS>
wrote:

We've talked about using netlify for hosting, but it died out. Would this
address any pain points?
On Mon, Jan 23, 2017 at 4:31 PM, Jess Frazelle<EMAIL_ADDRESS>wrote:

/me runs (really don't think it's worth it)
On Mon, Jan 23, 2017 at 4:29 PM Tim Hockin<EMAIL_ADDRESS>wrote:

Then we have to administer jekyll :) Are you signing up? We do not
have
a great monitoring story in place...
On Mon, Jan 23, 2017 at 4:20 PM, Jess Frazelle <
<EMAIL_ADDRESS>wrote:

I wonder if we swwitched to pure jekyll and not the github pages
stuff
if
we could then implement our own of the automatic redirects github
sends
(like you said from ../foo -> ../foo/)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/
2305#issuecomment-274661642
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AFVgVGceOeEuzqacHZFNZDs9sSd0CjlZks5rVUPEgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/kubernetes/kubernetes.github.
io/issues/2305#issuecomment-274663339>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ABYNbD0TOBRQL8u4sgiQbNFVOpZyd8sOks5rVUX3gaJpZM4Lo15u>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/kubernetes/kubernetes.github.io/issues/
2305#issuecomment-274663625
,
or mute the thread
<
https://github.com/notifications/unsubscribe-
auth/AHhIAidoPlbB973s_mPIGn9-eWqmEzgJks5rVUZbgaJpZM4Lo15u
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/kubernetes/kubernetes.github.
io/issues/2305#issuecomment-274664141>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ABYNbAUO4WqOP5io4yIBaDnqHYqglvsYks5rVUcRgaJpZM4Lo15u>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274664347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVO6ylbHLaROThBKaHw3uOe3HB4njks5rVUdSgaJpZM4Lo15u
.

Is this causing a problem?

not a big deal just that at some point in redirection loop security drops to no-TLS. I am not aware if kubernetes.github.io domain is actually used anywhere in the project docs but it seems to have been indexed by Google Search.

it redirects to non-TLS and then back to TLS on the right URL.  Was this
triggering an alarm or SEO problem?
On Mon, Jan 23, 2017 at 8:26 PM, Ahmet Alp Balkan<EMAIL_ADDRESS>wrote:

Is this causing a problem?
not a big deal just that at some point in redirection loop security drops
to no-TLS. I am not aware if kubernetes.github.io domain is actually used
anywhere in the project docs but it seems to have been indexed by Google
Search.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/issues/2305#issuecomment-274706622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVGuGcsiT9Fmngr-660adSP0-o3k3ks5rVX1agaJpZM4Lo15u
.

@thockin nope, just something I noticed on my address bar. We can close.


feat(curriculum): Add fCC Authors Page Project to JS Cert

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

I started adding the freeCodeCamp authors page project to the new JS curriculum. These are just the steps, not the tests yet.

Thanks for your comments, @jdwilkin4
I'm now implementing your suggestions


Make latest on by default when using --toolkit

Version(s)
1.0.1
Describe the bug
Misleading error messages when issuing scala-cli --toolkit lead to this failed session:
$ scala-cli --toolkit
Argument --toolkit: argument missing

To list all available options, run
  scala-cli --help

$ scala-cli --toolkit --help
Downloading 3 dependencies
[error]  Error downloading org.scala-lang:toolkit_3:--help
[error]   not found: https://repo1.maven.org/maven2/org/scala-lang/toolkit_3/--help/toolkit_3---help.pom
[error]   No fallback URL found
[error] Error downloading org.scala-lang:toolkit-test_3:--help
[error]   not found: https://repo1.maven.org/maven2/org/scala-lang/toolkit-test_3/--help/toolkit-test_3---help.pom
[error]   No fallback URL found
[error] COMMAND_LINE

Expected behaviour
When an argument is missing the error message should show what argument can be used.
But in this case the whole UX failure could be prevented by just staring the repl with the latest toolkit on classpath.
Assuming latest by default seems reasonable from a user perspective.

Also when detecting --help among options it should not start to assume its a library...

Thanks for reporting! As mentioned on discord, this is done on purpose to make people acknowledge they are not using a pinned toolkit version.
I wonder if instead we should have a warning when latest is used implicitely. Better for the users. The minimum we should do is do a better error message.

Yes, well, I think it is better to start the REPL after acknolegding the toolkit version used as a message in terminal. I mean starting the repl is for experimentation and you dont know the version by hart. "Latest" is also cryptic and verbose to a beginner.

It would also be cool if there was a setting to make a "naked" start of the repl (by scala-cli or later scala or scala-cli repl) would include the latest toolkit on classpath by default. This way the user can opt in for this more dynamic, beginnerfriendly "stdlib"...  (compare how --power can be set to on by default)


Use an existing JSON library to generate JSON

The existing by-hand JSON serialization, while workable, doesn't seem like it's adding a lot of value. A fair amount of code and complexity could be removed by using an existing mature JSON library like http://wiki.fasterxml.com/JacksonHome. Hopefully reporting exceptions isn't a frequent occurrence, but Jackson is also very fast.
If this is of interest I'm happy to contribute a PR.

We really didn't want to introduce an external dependency. Java has such a huge variety of JSON librariers out there that picking a single one didn't feel right. Serializing JSON is pretty simple and hard to get wrong. That functionality is extremely carefully tested too.
Feel free to improve on it, and feel free to add a module that uses Jackson to serialize, but we don't want the hard dependency if we don't have to have it. (Right now the code base is pure java, no dependencies except in testing).


TSServer / Code - Insiders Helper (Renderer) taking 100% CPU

Issue Type: Performance Issue
Steps to reproduce:
Edit some Typescript code in a large codebase with TypeScript >=3.7 enabled.
Can not reproduce with TS 3.6.
Edit: The "Extensions" does mention Prettier, but the issue was reproducible even without it, on a completely blank installation of Insider
Edit2: Seems like the bug reporter mentions "only" 300MB of memory being used, but whenever looking in OSX Activity Monitor, the stuck thread seems to consistently take 920-950MB of memory.
Also, unfortunately I am unable to provide the source code, as I am not allowed to share the code :(. As a random stab, I tried to reproduce the issue in https://github.com/elastic/kibana (arbitrarily chosen as a large opensource TypeScript repository), but was unable to trigger it. So this seems to be some kind of interesting edge case.
VS Code version: Code - Insiders 1.41.0-insider (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-10T21:42:59.146Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 2

Memory (System)
16.00GB (0.22GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   15	   115	  2222	code-insiders main
    1	    66	  2223	   gpu-process
    0	   295	  2226	   window (cart-usp-callout.tsx — glass)
    0	    66	  2624	     extensionHost
    0	    16	  2655	       /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper (Renderer).app/Contents/MacOS/Code - Insiders Helper (Renderer) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=2624
    0	    49	 18156	       electron_node tsserver.js
   99	   328	 18157	       electron_node tsserver.js
    0	    49	 18159	         electron_node typingsInstaller.js typesMap.js
    0	    16	  2626	     watcherService
    0	    16	 15976	     searchService
    0	     0	 15997	     /bin/zsh -l
    0	    33	 17663	     /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper (Renderer).app/Contents/MacOS/Code - Insiders Helper (Renderer) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/bootstrap-fork ms-vscode.node2 {"common.vscodemachineid":"c495add007039a1a27eac76839551c9af6ac280175ecffc5d6b5b2438666bb13","common.vscodesessionid":"a4862d7d-ee27-4a81-8d53-69eb1f17f35d1576063842384"} AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217
    0	     0	 17666	     /bin/zsh
    4	    66	  2634	   shared-process
    0	     0	 18209	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    16	  4806	   utility
    2	    82	 18206	   window (Issue Reporter)

Workspace Info
|  Window (cart-usp-callout.tsx — glass)
|    Folder (glass): more than 22135 files
|      File types: js(6508) json(4668) properties(1863) ts(1067) jsx(720)
|                  scss(474) html(332) tsx(297) svg(219) snap(203)
|      Conf files: package.json(61) tsconfig.json(12) webpack.config.js(3)
|                  launch.json(1) settings.json(1)
|      Launch Configs: node(2);

Extensions (1)

Extension
Author (truncated)
Version

prettier-vscode
esb
3.11.0

As a quick check, can you please try upgrading your workspace to use typescript@next by installing this extension and let us know if that fixes the problem?

I already installed TS@next with just yarn and changed the workspace to use that version from the lower right corner. But I'll recheck with the extension as well and let you know.

Yes, it is still easily reproducible with the extension on and using 3.8.0-dev.20191212.
Trying to find out a minimal reproducible case (within our existing project), I got it boiled down to the following: I create a new blank .ts file (also verified with .tsx) in our project structure, or open an existing .tsx file. I then write this code and press enter to get to the following line:
type Foo=1

At this time, everything behaves normally. But immediately as I enter a character on the following line (in my case I tried with t and c), the thread spins up to 100%.
Negative case: I could not reproduce this by using the exactly same test case, but instead of creating a file, I just created a new buffer with cmd-n. I then changed the file format from "Plain Text" to "TypeScript" from the bottom right corner. When I ultimately entered an a on the next line, I got instead an IntelliSense dialog containing the usual suspects: addEventListener, afterAll, afterEach...
Possible red herring: Now, once I run >TypeScript: Restart TS Server from the command palette, the code gets reformatted to type Foo = 1 (I only have Format on save enabled). The weird thing to me here is that the file doesn't get saved, and I don't trigger the format manually.
I hope this helps

I just noticed that I can reproduce by doing the same scenario, but with the following code for the first line:
const foo=()=>{}

I also noticed that the bug does not get triggered if I paste in the code, instead of typing it manually.
As an additional side note: It doesn't seem to make a difference whether I type the code the way the formatted would format it to.

I also have the same issue on the non-insiders version. TSServer is practically almost always running at 100% CPU load whenever I make some error.
Using TypeScript 3.7.2
Version: 1.41.0
Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959
Date: 2019-12-11T17:58:38.338Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0

Things get weirder. I tried to figure out what would be the discriminator here, so I started running a git bisect on our project.
That only lead to confusing results - known bad commits suddenly started behaving well. Then going back to the same commit some other time, the bug got triggered again.
This makes me think that whenever the project structure changes, something in some memory gets flushed, and things work well until something gets mucked about in the internal structures. Maybe some memory gets congested, or I try to trigger the bug before some offending data type gets loaded into memory from the project...
Debugging this got even weirder.

Seems like things have started behaving well with the latest Insiders and TS dev builds:
VSCode: 1.42.0-insider, Commit: 26f5dfcd76c9a02f116a706844611aeb09ae8c0b
TypeScript: 3.8.0-dev.20191217

I'll keep an eye on whether things start acting up again -- I'm okay with closing this soon.

Seems like I can't reproduce this anymore, so I guess this can be considered as fixed.


"Find in Folder" \ add safety to Replace All (in a file)

The Replace All (in a file) buttons are insanely located right next to the Dismiss ones, the changes can't be reverted if the file wasn't open, and it doesn't have confirmation dialog, i got relatively low damage, but that wasn't more than luck .
Add at least the confirmation dialog, and better implement this https://github.com/Microsoft/vscode/issues/47783 .

Its so simple to add, but you prefer everyone to risk their work ..

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.


In the Sing-in flow config section, the script editor and predefined flows panels can only be opened using the icons

Describe the issue:
In the Sing-in flow config section, the script editor and predefined flows panels can only be opened using the icons. This experience might be less intuitive, as shown in the video below. The most intuitive experience would be to open the panels when users click on the respective tile itself.
https://github.com/wso2/product-is/assets/46097917/8b9b2f41-fe15-443b-a6c7-32976e17b56e

This issue is fixed in the latest identity-server hence closing the issue.
https://github.com/wso2/identity-apps/assets/46097917/cfdfb6e4-b3d1-4d9f-9216-4c2bfa5fbbb4


passing in the correct parameter value of descriptor type before displaying code block

https://github.com/dockstore/dockstore/issues/3676
The problem before was when displaying the code block inside a container, sometimes the correct descriptor type(for exmaple WDL) was not passed into some launchService functions. Thus this resulted in a missing --descriptor wdl
Here is after the fix:

logging the amount of 'reactToDescriptor' calls, I originally see 2 calls (not great). Now i I see 4 calls.
Try to fix this, otherwise. Spin off to another ticket and someone else can take care of it.

As it turns out it could have been kept at 2 calls.
Because the html is calling the reactToDescriptor function when the currentDescriptor changes; I made a new function that holds all the things that will be changed, and left out the unchanged one behind in reactToDescriptor.
Now that I try to log, each function is called twice at the beginning

logging the amount of 'reactToDescriptor' calls, I originally see 2 calls (not great). Now i I see 4 calls.
Try to fix this, otherwise. Spin off to another ticket and someone else can take care of it.

Added a new changeDescriptor for the purpose of separating functions that need to be called when descriptor is changing and those that don't. In this case reactToDescriptor is called 2 times, and changeDescriptor 4 times. There really is no improvement but I think so far that's all I can think of. I think I might need to get help from someone on this


The pushed uitableviewcontroller has wrong contentSize

I have integrated SLPagingView in one of my viewcontroller by inheriting from SLPagingViewController.
Now I tried to push another ViewController from this one and the pushed one had wrong contentsize - (1135, 504) and it can be moved horizontally when dragging.
Very weird.

I have the same issue, the content size is too long for my screen

I have a similar issue.  I use SLPagingViewController as my root controller.  When I present a UIImagePickerController, it can scroll horizontally too.

Any workaround?

I ended up using a different project for this.
https://github.com/golfguru1/GUITabPagerViewController

Got same issue, first time it is correctly displaying
0->1->2 (contentSize ok) -> 3 -> 2 (content size not ok). I am just displaying a UItableViewController
suppose nobody got a workaround for that and switch to another lib ?
Is there a way to force the contentSize ?

For testing. I add a tag value ton the scrollView inside SLPagingViewController
and UIScrollView+UpdateContentSize i apply updateContentSize only for the scrollView  witht this tag value.
Seems to fix the problem.  Was more for testing purpose


⚠ Unifi Controller has degraded performance

In 118ccb5, Unifi Controller (https://unifi.vflits.com/) experienced degraded performance:

HTTP code: 200
Response time: 2586 ms

Resolved: Unifi Controller performance has improved in 3de9158 after 11 minutes.


Updated Airbus profile information

airbus.yaml updated, airbus.md and profile pictures of representatives added

Merging into preview branch


Update the radio button in one line

Describe the Feature you want to end
To make the options in one line
Expected behavior
So it will look more attractive and user friendly.
Screenshots (optional)

Additional context (optional )
I want to work on it please assign this issue to me

I want to work on it Please assign this issue to me

Hey @pranjay-poddar ,I hope this message finds you well. I am writing to express my interest in contributing to an open source project under your guidance and request to be assigned me this project .
I am passionate about open source and believe in its power to foster collaboration, innovation, and social impact. I am confident in my ability to make meaningful contributions to your project. I am excited to work alongside a talented team, learn from experienced contributors, and contribute to the growth of your open source community.


Merge two sorted Linked List

💥 Proposal
Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding GSSOC'21.
Regards,
Hitain Kakkar

Hello sir , I want to solve this question please assign me under GSSOC

/assign


Output information when migration creates a remove/add because of a probably renamed field

We could detect with quite high probability when a field got renamed (= everything about the column is the same besides the name, model, position in columns, type, attributes, usage in relation etc) and then output an information in the CLI that we by drop remove and add columns, but that they can edit the SQL to change that.
We could also already generate the required SQL and output it in the migration file as commented statement to just replace the existing one.
Related: https://github.com/prisma/prisma/issues/7790

Hi there,
As part of our effort to clean up our GitHub repo, we’re closing this issue to help focus on features and improvements that align with our focus areas and those of our community.
This issue was originally created for internal tracking purposes, but if you feel this is important to you, feel free to reopen the issue and get like-minded users to upvote as we will prioritize fixing issues based on community interest.
For more insight into our priorities and how we’re thinking about the future of Prisma, please see our blog post: https://www.prisma.io/blog/prisma-orm-manifesto.
Thank you for your understanding and support!


The info header varies in height for each pokemon

bahahhaha i appreciate the gif.

did it take you a long time to figure out how to do that?

indeed it did. it was a two-step effort: 1) figuring out QT's UI to take the desired screencap (the first time, I didn't read how to stop recording so I had a minute long video of me struggling to stop it) and 2) finding a service to do the conversion since I don't have photoshop (ps. zamzar is pretty good).
so im glad you appreciate it

although it wasn't really necessary cause i knew it was a problem already ^_________^

(⌣_⌣”)

fixed by https://github.com/robinjoseph08/pokedextracker.com/issues/41

you should put an estimate so we can BURNDOWN :fire:


adding new ThresholdPushbackPolicy

closes #442
Signed-off-by: Juergen Albert<EMAIL_ADDRESS>

OK, but the TCK for org.osgi.service.log.stream failed. Did you diagnose that?

Sorry, I didn't catch that. I came to the same conclusion as you did, regarding the log implementation. How do we want to precede? I guess we wait until the PR is merged and released and then merge again?

This PR is done. We just need to change to the updated Eclipse Log Stream impl when it is available. Until then, the Log Stream TCK is broken.


Removed superfluous verifies and updated docs

I have removed the verifies as they are superflous and tightly couple the implementation to the tests and where missing added an assertion for the behavior instead of the interaction.
Also updated the documentation a bit to be more clear about what we used in this example and how we use it.
Also updated the project to .Net 8

Removed the entire base class. While removing the constants as per recommendation by @ThomasBleijendaal it just felt way over the top to have a base class for such a simple example.


[HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [$125] Video in chat has wrong aspect ratio and styling

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

Version Number: 1.4.74-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dubielzyk-expensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1715819494848969
Action Performed:

Open any DM or chat
Upload any video in portrait orientation

Expected Result:
The uploaded portrait video should have a thumbnail with a portrait aspect ratio and border-radius: 8px corners
Actual Result:
The video thumbnail is landscape and has no border radius
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01235ebb839b18cd37
Upwork Job ID:<PHONE_NUMBER>935733760
Last Price Increase: 2024-05-27

Proposal
Please re-state the problem that we are trying to solve in this issue.
There are two problems that we are trying to solve:

The thumbnail image of a video does not have correct corner radius.
Portrait videos have their thumbnail in landscape.

What is the root cause of that problem?
The root cause of both problems are different.

The Image component in VideoPlayerThumbnail is not styled correctly.
In VideoPlayerPreview, we are getting videoDimensions which are incorrect. Even for a portrait video, we are getting dimensions of a landscape video. It seems like the width is always getting returned as larger than height.

What changes do you think we should make in order to solve the problem?

We need to style Image component correctly to apply the corner radius and overflowHidden.
Add a hook to the Image component which will give us the correct dimensions of the thumbnail image once it is loaded. We can then use these dimensions to correctly size the thumbnails.

Branch to test the fixed issue can be found here.
Video of fixed issues:
Uploading Screen Recording 2024-05-20 at 4.12.42 PM.mp4…
What alternative solutions did you explore? (Optional)
Fixing the videoDimensions so that they are correctly returned. But this seems to be something that's happening on the backend as far as I understood.

This is very minor design issue, so lowering budget for this one.

This isn't overdue.

Have you tested this on all platforms? We had three people reproduce it so that's a bit odd 🤔
Either way like @dominictb said, we'll want the border width, color, and radius to be the same as what we use for photos in a thread

As @shawnborton could also replicate this I believe it's not a video-specific thing, but it could be a format thing maybe?
You can see a repro here:
https://github.com/Expensify/App/assets/145416827/c696a9d2-3a04-4b0c-876a-f24201120e45
The video I took was portrait and it has landscape thumbnail without rounded corners.

Same, I could reproduce the problem with a video taken on a (physical) iOS device. I took portrait videos on my iPhone, but the thumbnails showed up in landscape. It's possible that the iPhone's video format has a different way to specify video dimensions. I'll dig into this.

Updated
Proposal

The portrait / landscape bug is happening due to an open issue in react native image picker library that we are using. The library does not seem to read EXIF orientation correctly and thus give us flipped width and height for portrait videos.

This is very minor design issue, so lowering budget for this one.

@joekaufmanexpensify Regarding this, I feel like fixing the EXIF orientation issue isn't a minor fix. If it were only for the corner radius, I'd agree, but this EXIF fix seems pretty involved. I would vote to keep the budget $250 on this one (not sure if there's a separate process for this?)

Got it. @Ollyws do you have an opinion on how involved this will be to fix?

Hi @dominictb I Initially thought so too that this is a backend issue. But that's not correct. From the frontend, when we are picking the video, we send the incorrect dimensions from here. It is a bug in one of the libraries we are using for picking the image.
The backend is sending back what we send as the size of the asset in the first place.

Do the same videos show up in landscape when you upload them on the web version?

Yes. Web also has the same bug if I use a portrait video. The thumbnail still comes in landscape orientation when I upload a portrait video from the web view. (The same video taken from my iPhone).
When uploading a portrait video taken from my mac (a portrait screen recording), it does not have a different EXIF orientation, and this video works properly.
https://github.com/Expensify/App/assets/1097857/9979e1f3-84b1-489d-a676-eedea1dfb737
https://github.com/Expensify/App/assets/1097857/3b81bf28-6a0e-4715-8d96-316356b5703c

Got it. @Ollyws do you agree with that, that we need a FE and BE fix, or should we just make the entire issue internal?

Got it. I will make it internal then. Thanks for confirming!

Still pending confirmation on whether we can proceed with FE fix in parallel to BE

TY!

Sounds good, thanks @Ollyws for the review, assigning @dominictb for the FE fix 🚀

For the backend solution, I tested quickly and the tool that we're using doesn't return the rotation from the mov file. I think an alternate solution is just to compare the height and width, and invert the values data-expensify-width and data-expensify-height if height > width

@marcochavezf sounds good, do you expect to be able to handle the BE piece?

Yup, I will be working on the BE PRs for that

TY!

@Ollyws mind completing the BZ checklist so we can prep to issue payment next week?

I'm about to go OOO, so adding an additional BZ assignee here to do the following next week:

Make sure we complete BZ checklist.
Issue payment.

If this is still open, I'll take it back once I return!

Update: Working on PRs to update aspect ratio data from backend

Payment summary

@Ollyws reviewer $125 - please request in ND - please complete checklist
@dominictb contributor $125 - offer sent

upwork job

https://github.com/Expensify/App/issues/42298#issuecomment-2180350868
@Ollyws please request in ND and complete the checklist
@dominictb please accept upwork offer

I'm back from OOO, so can grab this one back. TY for handling @sonialiap !

$125 approved for @Ollyws based on this summary.

Checklist is done. This is a pretty niche bug, so IMO we don't need a regression test for this.

@dominictb $125 sent and contract ended!

Upwork job closed.

External portion of this bug is done. However, backend PRs are still in progress. @marcochavezf is there an ETA for getting your draft PRs to review?

I estimate the PRs will be ready for review tomorrow

Awesome. Let me know when it's ready for testing?

Sure, PR is in review now

Sounds good. TY! Do we need the web PR and web-PDF PRs too?

@marcochavezf mind confirming if the web PR and web-PDF draft PRs are needed too? I see the salt PR is merged, so trying to determine if this one is done now.

In the end, the salt PR was the only one needed. Tested real quick and the aspect ratio is now correct for videos in portrait orientation:

I think we can now close this one

Sweet. Closing. Thanks everyone!


Netsh show verification should work without EC and extension drivers.

Developers of eBPF programs should be able to verify the program on their dev boxes without installing EC and extension drivers.
In long term, netsh show verification should take a URI parameter, which will point to some online database of program type information, that can be downloaded on demand and used for verification.
Short term, there has to be some mechanism (perhaps another netsh command) that can be run on a system that has extension driver installed to query the program type information, and persist the serialized buffer in a file that can be later used on a different box for verification.
Note: the API for verification/loading programs must always go through EC and query program types from installed extension drivers.

Appears to have been fixed:
C:\privates>sc query ebpfcore
SERVICE_NAME: ebpfcore
TYPE               : 1  KERNEL_DRIVER
STATE              : 1  STOPPED
WIN32_EXIT_CODE    : 0  (0x0)
SERVICE_EXIT_CODE  : 0  (0x0)
CHECKPOINT         : 0x0
WAIT_HINT          : 0x0
C:\privates>sc query netebpfext
SERVICE_NAME: netebpfext
TYPE               : 1  KERNEL_DRIVER
STATE              : 1  STOPPED
WIN32_EXIT_CODE    : 0  (0x0)
SERVICE_EXIT_CODE  : 0  (0x0)
CHECKPOINT         : 0x0
WAIT_HINT          : 0x0
C:\privates>netsh ebpf show verification droppacket.o
Verification succeeded
Program terminates within 157 instructions


sync

whoops

I assume this was an accident, but really cool to see all the customizations! Hope you enjoy.


Amigo pages and annotations to show for a GO-term

If we consider these two pages corresponding to a same GO-term:

http://amigo.geneontology.org/amigo/search/annotation?q=GO:0007275
http://amigo.geneontology.org/amigo/term/GO:0007275

I have a few comments and questions:

the number of annotations should be the same between the two pages and it's currently not (202374 and 201905)
this number is different from quickgo by an order of 5:
https://www.ebi.ac.uk/QuickGO/annotations?goUsage=descendants&goUsageRelationships=is_a,part_of,occurs_in&goId=GO:0007275 (976864)
this number is still huge, that's where we are better than quickgo thanks to faceted search
I am not sure a lambda user will understand those are not the annotations only for his GO-term, but also all the annotations for the GO-terms it is associated to through a regulates_closure
in fact, if we remove that regulates_closure and just look for the actual annotations to that GO-term, we only have 6688 results (for reference: query without regulates closure and query with regulates closure
hence my question, is there a simple way for the users to see the annotations only for his GO-term (or on its ancestors) ?
is it clear for all that's what we are providing to the users and is that what we want ?
also a basic question, is the first amigo page necessary since the second amigo page seems to provide the same information + some additional (e.g. term information)

I apologize in advance if I misunderstood something in amigo, but if not, I think these questions should be discussed.
Thanks

The first is a text search, how did you end up with this URL?

I can answer the first two.

One has regulates closure, one doesn't.

QuickGO includes more species than AmiGO

I just read the rest.
But personally I have never come across a case where I woudn't want to include "regulates" by default.... It gets very complicated, but here is an example.
If you search on "mitotic cell cycle" for PomBase without "regulates" you get zero results. PomBAse is a premier mode for "cell cycle"  Cell cycle is a regulatory process. ....
However, if regulates is used correctly  (for "biological regulation" and not for 'causally upstream of' ) including "regulates" should make  the most sense to end users.....

@lpalbou
I think if you end up on a page like http://amigo.geneontology.org/amigo/search/annotation?q=GO:0007275
it should be clearer you are just doing a text search, and it should prompt you to go to the specific page for that term
How did you end up on that page in the first place? We should never be giving out URLs like that for GO terms.
The only way I can figure to get to that page is

In the autocomplete box type GO:0007275, ignore the AC suggestions, git return
This takes you to the medial search page http://amigo.geneontology.org/amigo/medial_search?q=GO%3A0007275
This page informs you that what you probably want is the page for that GO term http://amigo.geneontology.org/amigo/term/GO:0007275, but because amigo is very forgiving it allows you to bypass this and do a search using "GO:0007275" as a general search string over annotations. This takes you to http://amigo.geneontology.org/amigo/search/annotation?q=GO:0007275

There may be other unknown routes to that page. We should track these down.
We may even want to forbid generic textual search on annotations, there isn't a true end-user use case for this. Or we could have it behave like the medial search page and say "don;'t you really want to see the term page"
@ValWood - I think the regulates closure is a red herring here, but I agree with your points

Well there are not many AmiGO issues I haven't already reported. This particular one was closed with  "won't fix"
https://github.com/geneontology/amigo/issues/387

@cmungall I got the first page by going on amigo, typing GO:0007275 and choosing "Annotations" on the intermediary result page
@ValWood if you mean the difference of annotations between the two pages, no I don't think that's that since we have 202374 results on this go-term with the regulates closure and 6688 results by just removing the regulates closure
I am not saying the regulates closure is not useful, it definitely is, I am just unsure the users know and understand what they are getting by default, and how they could refine their search.

and I agree with

We may even want to forbid generic textual search on annotations, there isn't a true end-user use case for this.


GROOVY-7338: URL getText(requestProperties) Map now accepts a GString

What do you guys think about this change for http://jira.codehaus.org/browse/GROOVY-7338, is in a similar location as my previous PR

+1

:+1: Thanks!


atom-beauty

Description
The results of beautification are not what I expect.
Expected Results
The beautified code should have looked like:
<INSERT CODE HERE>

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist: https://gist.github.com/8236ad34492d1150900f09d8da004c10
Checklist

[ ] I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[ ] I have reloaded (or restarted) Atom to ensure it is not a caching issue
[ ] Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Generated debugging information and added link for debug.md Gist to this issue

I can see the sample of C code in the debug.md file, but I am not sure how the beautification is wrong.  Would you mind briefly describing the problem?

Please provide more information.  This issue can be reopened once we have the appropriate information to help you.


ruler and grid scales

Hi, very nice app,
Would it be possible to allow the user to configure the ruler and the grid scales. That is, the option to choose between centimeters (millimeters),  inches and pixels (if possible).
Best regards

The new version now supports zooming. You can control the zoom percentage by scrolling your mouse wheel.

The unit is an arbitrary length scale. Whether it is cm or px is not important since all the lengths used in this app have the same unit.