Updated line_intersection code

Changed the line__intersection
Earlier, it used the array system of marking the points of lines which returns an error:-

Now, it works perfectly:-

this function is used as line_intersection(line1.get_start_and_end(), line2.get_start_and_end()) where line1, line2 are two Line object. So there may be no wrong with the code.

@Tony031218 Well, I wasn't aware of that. Thanks for the insight, but don't you think it would be easier to use if the people just had to pass the Line object rather than personally having to access it...Not saying that it would bring drastic changes to the workflow, but it could help the beginners in being able to easily access the functions just by looking at their code or seeing it in auto-complete recommendations. Also, since I am new to the Manim community, do you also accept new vital functions or scene types as PRs? Like a function for the intersection of two circles and or a template scene for light reflection and all..

Yes, it is really inconvenient to use this way at present, I was also a little troubled when I first used it.
But if you change it according to your method, then the usage of this function will be completely changed, causing some old sample scenes to be completely unusable.
So I suggest you judge whether the incoming line1, line2 are two Line instances at the beginning of the function, and if so, use your method.  This can support two incoming methods at the same time.
And the original usage has an advantage that you don’t need to create a Line when you want to get an intersection, but directly pass in an iterable type containing two coordinates, such as line_intersection((LEFT, RIGHT), (UP, DOWN)).  This may be more convenient at some point.
For community contributions, I do not have the permission to merge pull requests (but I am striving for it).  The functions you mentioned may not be easy to implement, so there are currently no such functions.  But you are always welcome to contribute codes for them.  And, ManimCommunity maybe more welcome you to add these features.

Thanks a bunch @Tony031218...I really appreciate your help and assistance and thanks for all the insight you provided..although maybe I still could rename the function and probably wait for the PR.


Optimize and simplify EFCore database request for ContosoUniversity/Pages/Instructors/Index.cshtml.cs page

Hello. This fix is about tutorial at this page https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/read-related-data?view=aspnetcore-6.0
Line 224 of this file https://github.com/dotnet/AspNetCore.Docs/edit/main/aspnetcore/data/ef-rp/read-related-data.md
Which leads to source code located here https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/data/ef-rp/intro/samples/cu50/Pages/Instructors/Index.cshtml.cs at line 47.
Currently inside Instructors/Index.cshtml.cs we have code which looks like that
if (courseID != null)
{
    CourseID = courseID.Value;
    var selectedCourse = InstructorData.Courses
        .Where(x => x.CourseID == courseID).Single();
    await _context.Entry(selectedCourse)
                  .Collection(x => x.Enrollments).LoadAsync();
    foreach (Enrollment enrollment in selectedCourse.Enrollments)
    {
      await _context.Entry(enrollment).Reference(x => x.Student).LoadAsync();
    }
    InstructorData.Enrollments = selectedCourse.Enrollments;
}

This code makes several database requests and some of them are done inside foreach loop, which is not optimal for the data which it gets. This code could be replaced with this one:
if (courseID != null)
{
    CourseID = courseID.Value;
    IEnumerable<Enrollment> Enrollments = await _context.Enrollments.Where(x => x.CourseID == CourseID)
        .Include(i=>i.Student)
        .ToListAsync();
    InstructorData.Enrollments = Enrollments;
}

The difference is that instead of doing 1 request to get Enrollment and then doing requests in a loop to get related students we make 1 request with INNER JOIN which gets all related students without foreach loop. And it fixes typo with courseID which should be CourseID

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

ID: d0026f69-7e5d-0d3e-5586-16ecc0656ff0
Version Independent ID: 3cb264da-2ff1-1256-572f-aa4ebca6e255
Content: Part 6, Razor Pages with EF Core in ASP.NET Core - Read Related Data
Content Source: aspnetcore/data/ef-rp/read-related-data.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@tdykstra  @JeremyLikness please review.

@zxcq544 Thanks for your suggestion. I agree this will be an improvement.


開発者継続するために、不要ファイルを整理

開発者継続するために、不要ファイルを整理

testは動かなかったので一旦削除
release機能は作り直すので一旦削除
CIはgithub actionsに移行(元のCIは見れなかった)

sorry, i failed to create pull req to my repo...
if you're interested in update this repo, i'll re-open pull req.
i plan to update 0.0.3

use tox for flake8 3 & 4, python 3.7-3.10
test
cache dir option

I just saw the changed files. I'd be happy to accept any new features. Here it seems to be around tooling. I think we can stick to the current tools for now.

thanks for quick response !
i hope to use flake8-cached for my project(python3.10, flake8 v4).
happily, it works! but poetry builds flake8-cached which requires flake8 v3. and, i don't know how to build multi major version requirement pkgs (flake8 v3 & v4)...

I have updated the pyproject.toml. Please try to use the git version and let me know if that works

i checked it's works for flake8 v4 & python 3.10 ! please release pypi as v0.0.3 🙏

done !


feat: Allow configuring device (gpu/cpu) via env vars

Allows configuring the device (cpu/gpu) in a single configuration file. In the future, we can add other library configurations to the new bdikit/config.py file.

LGTM, my only suggestion is to use BDIKIT_DEVICE (or something like that) as the name of the environment variable instead of DEFAULT_DEVICE.


add an exclude or blacklis class of modules

The automatism for computing the list of modules to include is nice and works most of the time, but there are numerous cases where a source file in a source directory should not be included (i.e. excluded or blacklisted). There were several questions to this effect in the issue tracker and there is a standard workaround (which each new user has to find..). The workaround is neither obvious nor without its own problems.
I suggest that you add a keyword blacklist which accepts a list or a dictionary of module names not to include in the modules list (neither the exposed nor the other-modules list).
I think this is a conservative extension which could not break any existing code (the workaround will still work) and I do not see any interactions with other parts of hpack (but I admit that I have not considered every mechanism).
Thank you for hpack - it makes writing and managing haskell code much more productive!

Are you talking about this? https://github.com/sol/hpack/issues/303#issuecomment-700905674
If so, the workaround is mentioned prominently in the README as of #404: https://github.com/sol/hpack/blob/f1aa0c48eb696d66be8c1bcf68528253eab09178/README.md#handling-of-paths_-modules
That being said, it might be nice to have it as a first class feature.

I use the workaround mentioned in #404 - but felt a cleaner solution would be desirable.
Thank you for considering!


chore(action): Use Node.js 16.x

Motivation
Node.js 12.x reached EOL in April 2022 and GitHub is now showing warnings for actions that use it. By summer 2023, GitHub will begin using Node.js 16.x to run all actions.
Possible Drawbacks or Risks

Users who run JS scripts as part of their Covector workflows may see issues if they're relying on deprecated APIs or implementation details (see breaking changes for 14.x and 16.x)

TODOs and Open Questions

[ ] Could potentially change the target in the tsconfig to es2021 but that only saves a handful of KB

Appreciate the PR @rajivshah3. Would you mind adding a minor bump to this?

Went ahead and dropped in the changes for you. Thanks again!


Removed Empty Default Cases

It's good practice to avoid a default case that does nothing for a switch case statement that switches on an enum so that the compiler will complain if one of the enumerants is accidentally missed. By extension it is good practice to always avoid such empty defaults so as not to get in the habit of writing them and to save on lines of code which do nothing.

CI gfxreconstruct build # 3451 failed.

CI gfxreconstruct build # 3451 failed.

Not a true fail: there was a github outage at the moment I submitted the PR.

CI gfxreconstruct build # 3451 failed.

Not a true fail: there was a github outage at the moment I submitted the PR.

Have re-run job as #3452

CI gfxreconstruct build queued with queue ID 77271.

CI gfxreconstruct build queued with queue ID 77272.

CI gfxreconstruct build # 3454 running.

I saw #3452 and #3453 passed in the CI dashboard even though they hadn't shown up here before I squashed to dev.


edit the code of 4QAM to 16QAM

hi, sir, thank you for your code, is there any possible way I can convert the code of 4QAM to produce modulation of 16QAM?

hi, sir, thank you for your code, is there any possible way I can convert the code of 4QAM to produce modulation of 16QAM?

Hi, yes there is a way, but in fact you have to type in a bit more cases for 16QAM compared to 4QAM.
Basically you have to generate 4 random bits per realization as one 16QAM symbol is represented by 4 bits. The encoder has to be modified for your symbol constellation. An example can be found here https://en.wikipedia.org/wiki/Quadrature_amplitude_modulation#/media/File:Rectangular_constellation_for_QAM.svg
This can be achieved e.g. with a swtich-case environment.
The last part which has to be changed is the demodulator, as you now have more options on demodulation. The most intuitiv approach is to just calculate the eucliadean distance to all codewords and choose the one with the smallest distance (this is known as minimum distance decoding).
I hope my answer was helpful. Please consider liking the video and subscribe to the Youtube channel: https://youtu.be/Q9ox769NEN4


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
20ea4bb -> 2520c3d

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.23.9 -> v1.23.10

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.10
Compare Source
Bug Fixes

deps: update module github.com/gruntwork-io/terratest to v0.46.1 (#682) (dec9602)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline


ru.yandex.clickhouse and com.clickhouse conflict

I have two parts of code, one with ru.yandex.clickhouse-clickhouse-jdbc 0.3.2 and one with com.clickhouse-clickhouse-jdbc 0.5.0 The old version supports inserting null values, the new version must set the database table to nullable, and now it is required to merge the two parts of the code, how to solve this conflict, both parts of the code have been in production, It's inconvenient to modify the database table, is there any good solution to merge the two parts of the code now?

@BJPotter Can please provide a sample of the two sceneries so it will easier to reproduce

oh my god,It's not convenient to provide these two production projects, I just want to solve the problem that the new version of the database table must be set to null in order to insert null in java?

Have you tried option nullAsDefault? https://clickhouse.com/docs/en/integrations/java#configuration

Luckily, I solved this problem, thank you very much !!! i use url = jdbc:clickhouse:http://host:8123/tutorial?nullAsDefault=3 @dolfinus @mzitnik

Summary: When there is a null value conflict between the old and new versions of ru.yandex.clickhouse and com.clickhouse, we can use the url to add nullAsDefault=3 to solve the conflict


the wizard  looks broken!

see the image! this is what i saw when i wanted to create a video tutorial on how to use the app.
this is zsh, but i tested with normal bash and had the same result! :)
image

OS: UBUNTU 17.10
OS Version: 17.10
Python Version: 3.6.3

Hello,
thank you for reporting the issue, please give me some time to review it.
regards.

Hi,
Bug fixed, thank you for your report.
Best Regards.


Travis mac os

Not sure what is proper formatting for #ifdef directive.
Please take a look.
@Badrpas @BondarenkoArtur

This PR fixes #16


lib: check for null before dereferencing

In a primitive SYS_SLIST_FOR_EACH_NODE check for null was
after dereferencing. Place check for null of the "thread_spec_data"
before its dereferencing.
As a result no need check if "key_obj->destructor" is not NULL.
Because if "thread_spec_data" is not NULL,
after "key_obj = thread_spec_data->key" won't be NULL too.
Found as a coding guideline violation (MISRA R4.1) by static
coding scanning tool.
Signed-off-by: Maksim Masalski<EMAIL_ADDRESS>

Commit subject lib: check for null before dereferencing is not specific enough. It should be something like posix: pthread_exit: check for null before dereferencing.


Not able to use Future in just one specific file in my flutter application, even after importing 'dart:async'

Not able to recognize the Future and List s in a specific file in my flutter application.
This change occurred after I upgraded flutter to the latest version, master channel. Tried flutter clean and also tried pub cache repair. Thought it was something related to my editor. Switched to Android studio and experiencing the same error. Even flutter run isn't running anymore.
There's another file with the exact same code but different DB name and that is working just fine.
Any help is appreciated. Thank you.
flutter doctor -v
[✓] Flutter (Channel master, v0.11.5-pre.40, on Linux, locale en_US.UTF-8)
    • Flutter version 0.11.5-pre.40 at /opt/flutter
    • Framework revision e8e1ae8f53 (22 minutes ago), 2018-11-13 19:55:15 -0800
    • Engine revision 4959b71d6a
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 9c07fb64c4)

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /root/Android/Sdk
    • Android NDK at /root/Android/Sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.0)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 23.2.1
    • Dart plugin version 171.4424
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] VS Code (version 1.28.2)
    • VS Code at /usr/share/code
    • Flutter extension version 2.20.0

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

flutter analyze
Running "flutter packages get" in chatjournal2dev...         1.2s
Analyzing chatjournal2dev...

   info • Unused import: 'dart:async' • lib/database/eventsdb.dart:8:8 • unused_import
  error • Future isn't a type • lib/database/eventsdb.dart:13:3 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:99:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:99:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:101:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:101:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:104:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:128:3 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:129:34 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:132:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:132:26 • new_with_non_type
  error • Future isn't a type • lib/database/eventsdb.dart:181:3 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:182:32 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:185:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:185:26 • new_with_non_type
   info • Name non-constant identifiers using lowerCamelCase • lib/database/eventsdb.dart:234:3 • non_constant_identifier_names
  error • Expected to find ';' • lib/database/eventsdb.dart:234:3 • expected_token
  error • Variables must be declared using the keywords 'const', 'final', 'var' or a type name • lib/database/eventsdb.dart:234:3 • missing_const_final_var_or_type
  error • Methods must have an explicit list of parameters • lib/database/eventsdb.dart:234:9 • missing_method_parameters
  error • Operator '<<' should declare exactly 1 parameter(s), but 0 found • lib/database/eventsdb.dart:234:9 • wrong_number_of_parameters_for_operator
  error • Operator declarations must be preceeded by the keyword 'operator' • lib/database/eventsdb.dart:234:9 • missing_keyword_operator
   info • Name non-constant identifiers using lowerCamelCase • lib/database/eventsdb.dart:234:11 • non_constant_identifier_names
  error • A function body must be provided • lib/database/eventsdb.dart:234:11 • missing_function_body
  error • Methods must have an explicit list of parameters • lib/database/eventsdb.dart:234:11 • missing_method_parameters
  error • A function body must be provided • lib/database/eventsdb.dart:234:20 • missing_function_body
  error • Methods must have an explicit list of parameters • lib/database/eventsdb.dart:234:20 • missing_method_parameters
  error • Operator '>' should declare exactly 1 parameter(s), but 0 found • lib/database/eventsdb.dart:234:20 • wrong_number_of_parameters_for_operator
  error • Operator declarations must be preceeded by the keyword 'operator' • lib/database/eventsdb.dart:234:20 • missing_keyword_operator
  error • A function body must be provided • lib/database/eventsdb.dart:234:22 • missing_function_body
  error • Undefined class 'getGroupedData' • lib/database/eventsdb.dart:234:22 • undefined_class
   info • Name non-constant identifiers using lowerCamelCase • lib/database/eventsdb.dart:237:3 • non_constant_identifier_names
  error • Methods must have an explicit list of parameters • lib/database/eventsdb.dart:237:3 • missing_method_parameters
  error • The name 'Future' is already defined • lib/database/eventsdb.dart:237:3 • duplicate_definition
  error • Expected to find '>' • lib/database/eventsdb.dart:237:10 • expected_token
  error • A function body must be provided • lib/database/eventsdb.dart:237:23 • missing_function_body
  error • List isn't a type • lib/database/eventsdb.dart:238:7 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:240:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:240:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:243:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:292:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:292:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:297:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:317:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:317:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:319:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:319:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:321:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:345:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:345:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:347:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:347:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:350:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:374:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:374:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:375:7 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:377:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:377:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:380:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:428:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:428:10 • non_type_as_type_argument
  error • List isn't a type • lib/database/eventsdb.dart:430:5 • not_a_type
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:430:30 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:431:5 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:440:3 • not_a_type
  error • List isn't a type • lib/database/eventsdb.dart:446:26 • not_a_type
  error • Future isn't a type • lib/database/eventsdb.dart:467:3 • not_a_type
  error • The name 'List' isn't a type so it can't be used as a type argument • lib/database/eventsdb.dart:467:10 • non_type_as_type_argument
  error • The name 'List' isn't a class • lib/database/eventsdb.dart:470:22 • new_with_non_type
  error • List isn't a type • lib/database/eventsdb.dart:472:5 • not_a_type
   info • The method '_showAboutDialog' isn't used • lib/pages/aboutpage.dart:52:3 • unused_element
   info • The exception variable 'e' isn't used, so the 'catch' clause can be removed • lib/pages/feedbackpage.dart:91:33 • unused_catch_clause
   info • This function has a return type of 'Future<bool>', but doesn't end with a return statement • lib/pages/localbackupspage.dart:67:5 • missing_return
   info • The method '_onValueChanged' isn't used • lib/pages/logspage.dart:380:3 • unused_element
   info • The method '_dbQueryForEventsBetweenXY' isn't used • lib/pages/logspage/analyticspage.dart:119:3 • unused_element
   info • The value of the local variable '_topRowForFilterAndDtBound' isn't used • lib/pages/logspage/analyticspage.dart:388:9 • unused_local_variable
   info • 'child' is deprecated and shouldn't be used • lib/pages/logspage/analyticspage.dart:469:19 • deprecated_member_use
   info • The function '_getAnalyticsBody' isn't used • lib/pages/logspage/analyticspage.dart:968:5 • unused_element
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/pages/logspage/analyticspage.dart:1352:7 •
          must_be_immutable
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/pages/logspage/logcreationpage.dart:10:7 •
          must_be_immutable
   info • Avoid empty statements • lib/pages/logspage/logcreationpage.dart:138:5 • empty_statements
   info • 'child' is deprecated and shouldn't be used • lib/pages/logspage/logspagebody.dart:69:19 • deprecated_member_use
   info • The exception variable 'e' isn't used, so the 'catch' clause can be removed • lib/pages/logspage/logspagebody.dart:106:33 • unused_catch_clause
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/pages/logspage/timeline.dart:15:7 •
          must_be_immutable
   info • 'child' is deprecated and shouldn't be used • lib/pages/logspage/timeline.dart:402:25 • deprecated_member_use
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/pages/logspage/timeline.dart:415:7 •
          must_be_immutable
   info • The function '_onValueChanged' isn't used • lib/pages/settingsPage.dart:161:5 • unused_element
   info • 'child' is deprecated and shouldn't be used • lib/pages/settingsPage.dart:222:17 • deprecated_member_use
   info • 'child' is deprecated and shouldn't be used • lib/pages/settingsPage.dart:261:17 • deprecated_member_use
   info • Name non-constant identifiers using lowerCamelCase • lib/utils/colors.dart:3:17 • non_constant_identifier_names
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/utils/keypad/keypad.dart:3:7 • must_be_immutable

90 issues found. (ran in 20.2s)

Please add the output of flutter doctor -v and the output of flutter analyze

Hey, thanks for the reply. Have attached the output of flutter doctor and flutter analyze. Thanks for the reply

Can you please try to run these commands in the Flutter install directory
git clean -xfd
git pull
flutter doctor

Please also check if you can reproduce in dev channel.

Also try deleting ~/.dartServer/.analysis-driver/

Did all the stuff you mentioned above. Switched to dev and beta.

Yes been stuck with this for 2 days now, didn't take it seriously then assuming it was something to do with the editor.

I think I have seen similar issues here a few times but don't know about concrete steps to fix it.

Should I try a complete uninstall then a re-install?

You can try, but I'm not too optimistic when git clean -xfd didn't help.

I was able to resolve by migrating the entire class to some other name and changing all its instances. Not giving any errors now. Thanks for helping me resolve the issue :)

/cc @devoncarew

It sounds like this may be resolved. I suspect the analysis data was being cached in the analysis driver cache incorrectly. For future reference, you can delete ~/.dartServer/.analysis-driver/; the cache will rebuild itself as necessary.

Closing issue per comment above.

This has happened to me recently, but deleting ~/.dartServer/.analysis-driver/ fixed it.

Okay, spent About 6 hours on this problem. I am a 'newBie'. Found easy solution. Normally don't share. real scarce info out there on this so... In Android studio, right click on file giving problem in the display tree ,
go down and select 'Local History' option, leads tosubmenu, select Show History.
A history of that same file is displayed. Choose a date that worked Copy and replace whole fileContent. Viola!

You can write a file with just that function, like:
test.dart
void launchWebView () {
print("1234");
}
and then import that file like this:
main.dart
import "test.dart";
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
launchWebView();
Find Code At Here

So i think you just have to checkout for any part in your code where you mistakenly reassigned Future and String.
For me that was what caused an issue.

This has happened to me recently, but deleting ~/.dartServer/.analysis-driver/ fixed it.

this worked for me:)

git clean -xfd
git pull
flutter doctor

i used it in my project and it completely deleted my project, which i had no backup, thank you :D

If using Android Studio, File..Invalidate Caches/Restart helped in my case.

In Android Studio File>Invalidate Caches / Restart solved the problem for me.

It keeps happening to me, both in vscode and android studio, this is really frustrating.
I write an abstract class with the first method that returns a Future and the analyzer stops working...

In Android Studio File>Invalidate Caches / Restart solved the problem for me.

Thank you so much for this! It felt like no matter what I did it would not recognize the function body, but this worked for me.

In Android Studio File>Invalidate Caches / Restart solved the problem for me.

Thank you so much for this! It felt like no matter what I did it would not recognize the function body, but this worked for me.

I've been having the same issue with List and this worked for me.

I am constantly having this issue the Invalidate Caches / Restart  helps but after typing the word Futurre the error happens again

git clean -xfd
git pull
Then close the project, check flutter doctor if no issue found then open the project again.

Hope it helps

It can be solved bu changing the channel to master and the upgrade

In Android Studio File>Invalidate Caches / Restart solved the problem for me.

thank

In Android Studio File>Invalidate Caches / Restart solved the problem for me.

thank


How to make the message can be copied

In chatgpt interface, it provides a copy button that we can copy markdown or code from the chat message. Is it possible to have such feature?

I successfully achieve this by using html in the message content.

I successfully achieve this by using html in the message content.

Hey, how did you achieve the copy functionality?


Added Relevant Meta Tags

Description
added relevant meta tags
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Reviewer: Vinit Shahdeo

sir please review this.

@vinitshahdeo please see if this's fine :)

@anmolkaur18 Please resolve all the issues with your PR and then squash your commits to one commit before you submit it for review again and please add a relevant commit message this time.

@anmolkaur18 Please be active on your pull request.

Sir I made another pr on same issue and it has been merged .
So I guess I should close this one
https://github.com/vinitshahdeo/Water-Monitoring-System/pull/139


Fix CI errors

address all CIs

Stop using C++20 modules, will use a different way to structure the project when I have time next.


Re-Check and modify all Test*dao with equal method

Check all results with equal method to avoid wrong values in database.

@duzhen1996

Already done. Thanks @duzhen1996


quartata: Watch artprepare.com

quartata requests the watch of the watch_keyword artprepare.com. See the Metasmoke search here

!!/approve


Verilator warnings

Fix a few last verilator warnings. The first two patches are just waivers. The third seems to be an actual bug.

Right, I've split the waiver file in two. I've done that in a separate patch from the "waive last warning" patch, since I think the result is a bit cleaner. Of course, that means that the initial version of the "verilator_waiver_other.vlt" file doesn't actually contain any rules. I don't think that really matters though.


Prerender.js not work

I'm using adonisjs 3.0 with angular js so i need  Prerender.js for seo. I try to use Prerender.js that's not work. please tell me how to  use prerender-node with adonisjs 30.
https://www.npmjs.com/package/prerender-node

The package you are using is written for Express. You will have to directly make use of the Prerender.io service and hook up a middleware to AdonisJs.
There is no official support for prerender, but if you feel comfortable you are most welcome to create and share the middleware with rest of the community.


Prisma client not attempting to reconnect on "Can't reach database server"

Bug description
Is it possible for a prisma client to get “stuck” and not attempt to reconnect to a database server after failing to connect once?
I find that when my dev aurora serverless DB goes to sleep and a lambda fails to connect once, it seems to refuse to connect even when the DB comes back up. I have to wait for the warm lambda to go away or do a deployment before it connects again. I can reliably fix the error by changing an environment variable and waiting for the new lambda to get deployed, and it connects to the newly-awake DB fine.
"\nInvalid `prisma.user.findUnique()` invocation:\n\n\n  Can't reach database server at `platform-mish.cluster-cflui618uuxz.eu-west-1.rds.amazonaws.com`:`5432`\n\nPlease make sure your database server is running at `platform-mish.cluster-cflui618uuyz.eu-west-1.rds.amazonaws.com`:`5432`."

How to reproduce
Create a lambda function that connects to a DB. Turn the DB off, then attempt to run the lambda and connect. It will fail (as expected) with this error message.
Start the DB and then run the lambda, it will fail immediately with the same error. Change an environment variable and wait about a minute (for it to re-deploy in your VPC) and run the lambda again. It will succeed.
Expected behavior
If the client has failed to connect, it should retry connecting, maybe after a couple seconds. Consider failover scenarios as well.
Prisma information
Any query
Environment & setup

OS:
Database:
Node.js version:

Prisma Version
prisma                  : 3.2.1
@prisma/client          : 3.2.1
Current platform        : darwin
Query Engine (Node-API) : libquery-engine b71d8cb16c4ddc7e3e9821f42fd09b0f82d7934c (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli b71d8cb16c4ddc7e3e9821f42fd09b0f82d7934c (at ../../node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core b71d8cb16c4ddc7e3e9821f42fd09b0f82d7934c (at ../../node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt b71d8cb16c4ddc7e3e9821f42fd09b0f82d7934c (at ../../node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : b71d8cb16c4ddc7e3e9821f42fd09b0f82d7934c
Studio                  : 0.435.0

We experience exactly the same issue since updating from Prisma "2.26.0" to "3". It's also an Aurora Serverless we use in our dev environment which hibernates after not being used for a while. This used to work fine with 2.26.0.

This seems connected: https://github.com/prisma/prisma/issues/9420

@janpio Would you happen to have an update on this by any chance? It started to become an issue with Prisma 3.x, worked perfectly fine before that.

Can you help us how to get a simpler reproduction? Right now the reproduction seem to require Lambda and Aurora Serverless, which makes it pretty hard and moves it lower in our (pretty big) reproduction backlog.

I would expect it to work the same with a long-running server where you create the client at import time and any postgres DB

@janpio Apologies for the confusion. It's the very same locally (with a normal postgres) and therefore not related to Lambda/Aurora. That just happens to be our production setup.
https://github.com/prisma/prisma/issues/9420 mentions this also independently from Lambda/Aurora.
To reproduce:

Start a service with Prisma client but have database shutdown (throws 'can't reach database' error as expected)
Start the database and try again without restarting your service (still throws)

For some reason this does not happen if the first ever request was successful. To reproduce:

Start a service with Prisma client but  have database running (works fine)
Shutdown database and try again (throws 'can't reach database' error as expected)
Restart database and try again (works fine)

I hope this makes more sense now.

According to https://www.prisma.io/docs/reference/api-reference/error-reference#prismaclientinitializationerror, this seems to be by design. E.g. it throws an exception when things don't work on start (and therefore doesn't recover), but doesn't throw when it happens on subsequent requests and therefore nicely recovers as soon as the database is reachable again.

Then this seems to be about the definition of "recover" I guess? I would definitely expect an app to be able to handle a "Can't reach database server" by e.g. just trying again, or wait a bit and try again, and so on. If that is not the case, I think we have a bug we should confirm. And if I understood your issues correctly, that is what you are reporting, right?

The problem is not about performing automatic retries. The problem is that if one request comes in and gets the error, subsequent requests get the same error even when the database is back up.

Yes, exactly what I wrote above.

@janpio That is exactly my understanding of the issue and the same issue as I am experiencing. Nothing about automatically trying to reconnect, just that if a connection is attempted and it fails due to the database not being available and some time later another connection attempt is made it still fails even if the database is now available.

We seem to be having the same issue here as well with a sleeping db causing a broken API. Only restarting solves the problem...

https://github.com/prisma/prisma/pull/12066 fixes this.
You can test it out with prisma@dev and will be out in the next release

This does fix reaching database but this doesn't create models though? If we have a fresh DB and postgres isn't reached, then postgres is started and on next request database is reached (this fix) but then we get the error  https://www.prisma.io/docs/reference/api-reference/error-reference#p2021

I'm still having this issue with 4.12~. Exact same steps to reproduce, but here's more detail:
I have an AuroraRDS database that sleeps after X amount of time (to save costs). When an API call comes in from our lambda, it does wake up the database, but the initial call causes the same Prisma error above. All subsequent calls trigger the same error even when the database is back up, unless I redeploy.

Can you open a new issue @brianmoore0213? Happy to take a look at it - but as this was closed via a PR before it most probably has a different underlying cause so it is better handle via a new issue. Thanks!

Is there a way to implement reconnecting at least? Something like this?:
prisma.on("error", error => prisma.$connect())


enable GitHub discussions in this repo: OurDB-Database?

Hi,
I would like to contribute to this open source repository, mainly because I believe in this database and use it in some applications.
About this, I would like to help possible users, developers and companies of OurDB if you have questions. To achieve this goal, I hope to answer questions directly through GitHub Discussions.
e.g

What do you think of this idea?

Thank you for your concern on this topic. I enabled the discussions :)


Jenkins reports flake8 errors, but error report is blank

@mjstealey  Lately, I have received (real) flake8 errors in Jenkins but the actual error report is blank and reports no errors found!

@alvacouch - would you have a link to a build on Jenkins where you've observed this?
Often times you have to look at the file named: pylint.out using the "view" option.
Random example

1 flake8 error: http://ci.hydroshare.org:8080/job/github-commit-builder-hydroshare/1455/
pylint.out: http://ci.hydroshare.org:8080/job/github-commit-builder-hydroshare/1455/artifact/pylint.out/view/

Discussed offline. The flake8 reports are filed under another name.


feat: add more bluetooth icons

Refactor bluetooth icon
Added:

bluetooth
bluetooth-off
bluetooth-connected
bluetooth-searching

good one, I saw some they used diamonds or squares but looked a bit weird.
I think just lines works fine.


login to mavinote account.

login to mavinote account not working.
i'm writing my email and tap on "request verification", but email message from mavinote (for verification) don't receive.
reinstalling not help.

i have a mavinote account.
i click "request verification", a window pops up notifying me that an email
has been sent to my email. but the letter does not come, which means that i
can not log into my account.
On Wed, Aug 23, 2023, 19:00 bwqr @.***> wrote:

Hi @maxongshD https://github.com/maxongshD. Have you already created an
account with the email you are trying? Because Request Verification step
must be used when you already have an Mavinote account and you want to add
a new device. Another question is that are you selecting Add an Existing
Account option or Create a New Account option in the Add Account page
—
Reply to this email directly, view it on GitHub
https://github.com/bwqr/mavinote/issues/14#issuecomment-1690224774, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BB3ZOAKO4QCRICZNBF6QRZLXWYSJDANCNFSM6AAAAAA33FYGZY
.
You are receiving this because you were mentioned.Message ID:
@.***>

I assume that you are selecting Add an Existing Account option under the Add Account page, and this device is a different device than the one you have created Mavinote account. If they are the same device, that means you have uninstalled the Mavinote application after you have created the account. In this case, there are some steps that you have to manually apply (just reply in the message if you have done like this, then I can explain the manual steps).
If you are seeing a message similar to one in the image below, this actually does not mean an email is sent to your email address (I accept that the message could be much clearer). It actually tells you that the server waits a verification from a device that you have created the account with the given email. Email you have typed in this case is used for identifying which account you want to add, not for sending a verification code again. You need to add this new device from the other device you have created account.

@bwqr the device from which i registered the mavinote account and from which i want to log into the account are the same.
after creating an account, saving a few notes (test notes), i deleted the application, and now i can’t log into my account.

Unfortunately, you have to close your account and reopen since the private key and device password stored on your device are lost. Right now, Mavinote application do not provide a user interface for closing an account which is not yet added to the device. You have only one option to close your account manually: I have to identify your email and delete it from the server database without disclosing it publicly for your privacy. I can even identify your account If you can remember when you first created your account (was it 8th August?).

@bwqr yes, it was august 8th.
if possible, please delete my account. there was no important data there, except for a test note (mavinote it's simple and cool notes app).

Thanks for the confirmation. Can you retry creating a new account please (Not adding an existing account)?

@bwqr

yes, dear friend, working fine! thank you😊
please, tell me: what me need make for not get this problem?

You are welcome. But you have shown your email to the public :sweat_smile: (this is what I was trying to avoid for your privacy). Anyway, if you want to avoid this, you need to close your account under account details before uninstalling the application. You can reach out to the account details by tapping your email name as shown in the image you have posted.

@bwqr thank you. i deleted that screenshot so as not to expose you and myself😅
will closing an account delete account information?

You are welcome. But you have shown your email to the public :sweat_smile: (this is what I was trying to avoid for your privacy). Anyway, if you want to avoid this, you need to close your account under account details before uninstalling the application. You can reach out to the account details by tapping your email name as shown in the image you have posted.

Yes, it will nuke all of your information related to your account from the server.

@bwqr best for me it's don't delete or reinstall this app. just using and happy😂
thank you, dear friend)

@bwqr what the fate of this app?

Happy to hear that :smile: . The reason this app is born is that I wanted to experiment with a development idea, using a reactive shared library across multiple different applications. Right now, this project has two different applications: android and ios.
I imagine that the next step would be developing web version of the application. Unfortunately there is a technical blocker: using sqlite and sqlx on wasm platform. Another step could be deploy the applications to the play store and app store. Then listen the feedbacks of users to improve the applications. However, right now, I have limited amount of time since I am employed for something else. Until I find lots of free time or some serious bugs arise in the applications, do not hope to see so much development around this project.

@bwqr thank you for replying)
i wish luck in all your plans and goals.
functional of this app will be expanded?
design (material you for android), and (or) functions export and import notes in archive (for local backup)?

Actually, I was not planning to extend the functionality. But since you mentioned the backups, I might have to consider it. Taking backups is really important in my opinion.

And @maxongshD thanks for your kind words.

@bwqr thank you dear for hearing my variants)


KYLIN-3385 fix sum1 error

minor, format code

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 3381

6 of 10 (60.0%)  changed or added relevant lines in 2 files are covered.
22 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 24.844%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/FunctionRule.java
5
9
55.56%

Files with Coverage Reduction
New Missed Lines
%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
1
78.12%

core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/FunctionRule.java
21
56.34%

Totals

Change from base Build 3379:
0.1%

Covered Lines:
15642

Relevant Lines:
62960

💛  - Coveralls

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project kylin-core-cube: Compilation failure: Compilation failure:
[ERROR] /Users/shaofeng.shi/workspace/kylin-15/core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/FunctionRule.java:[104,31] 错误: 程序包TopNMeasureType不存在
[ERROR] /Users/shaofeng.shi/workspace/kylin-15/core-cube/src/main/java/org/apache/kylin/cube/model/validation/rule/FunctionRule.java:[111,45] 错误: 找不到符号
[ERROR]   符号:   变量 Lists


Add travis ci

Codecov Report

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

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   53.54%
=========================================
  Files             ?        3
  Lines             ?      127
  Branches          ?        0
=========================================
  Hits              ?       68
  Misses            ?       37
  Partials          ?       22

Impacted Files
Coverage Δ

enf/enf.go
50.66% <0%> (ø)

Continue to review full report at Codecov.

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


Add "first" and "last" to Pagination class?

I'm new to Flask, and was wondering about a feature that I think would be useful to add to the Pagination class. Unless I'm missing it, there doesn't seem to be a built-in way to get the numbers of the items you're viewing on the page itself. That is, if you want to display "387 records found; displaying 26–50", you'd have to do calculations to get the "26" and "50".
I think something along these lines would work:
@property
    def first(self):
        """The number of the first item on the current page"""
        if self.total == 0:
            first = 0
        else:
            first = ((self.page - 1) * self.per_page) + 1
        return first

  @property
    def last(self):
        """The number of the last item on the current page"""
        if self.page == self.pages:
            last = self.total
        else:
            last = self.page * self.per_page
        return last

Then you could do something like (in jinja2):
{{ pagination.total }} records found; displaying {{ pagination.first }} – {{pagination.last }}
I'm new to Python programming, and I don't know enough about testing, running changed code, etc., to feel comfortable submitting this as a pull request, so I hope it's OK that I just posted this as an Issue.
Thanks.

The PR for this creates a problem in our test suite.  See the latest comment there if interested.


changes in organization of spectra convert utils

Improvements to the convert to fits and compile header functions.
Hopefully, convert_to_fits will no longer be needed after https://github.com/astropy/specutils/pull/1113 is closed. But compile_header can always be SIMPLE specific since it's our way of "publishing" spectra.

Since this is not a mission critical part of SIMPLE, i'm going to just merge. @SherelynA will test.


Turn off c# warning at sln or visual strudio level

We have numerous c# projects across many slns. We get this waning everywhere:
warning CA1416: This call site is reachable on all platforms. '' is only supported on: 'Windows' 7.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
We running on windows and we know what we are running on we are running on. How do we
disable warnings like this one across the board rather than at project level.

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

ID: c13cf461-1a8c-adde-dbd5-39d5c97d9fd3
Version Independent ID: 38eb2413-af33-2e71-6f42-d871fa00ccf1
Content: Suppress warnings for projects and NuGet packages - Visual Studio (Windows)
Content Source: docs/ide/how-to-suppress-compiler-warnings.md
Service: visual-studio-windows
Sub-service: compile-build
GitHub Login: @ghogen
Microsoft Alias: ghogen

@dgxhubbard -- thank you for your feedback.  Please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

@ghogen -- please look into this issue.

I think for a C# warning (CSxxxx) you would add a Directory.Build.props file to a folder above all the projects and solutions that you are using. This should be found by MSBuild. The file would have a property Group with NoWarn in it.

$(NoWarn);CA1416

However for Code Analysis warnings (CAxxxx) like this one, you could use a global configuration file. See https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files
I'll look into getting some of this information added to the article.
Thanks for the feedback.


Add clean task in slurm role

... needed to upgrade from slurm version v19 to v21.

wrong repo ...


Issue 8473: testManagedLedgerBookieClientStats fails very often on CI

Fixes #8473
Modifications
Parse explicitly Prometheus "+Inf" and "-Inf"
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.

The problem was introduced probably with #6814
@codelipenghui @hangc0276 PTAL

@eolivelli
There's a compilation error:
PrometheusMetricsTest.java:[584,24] variable value is already defined in method parseMetrics(java.lang.String)


h5py error

Epoch[0] Batch [1100]   Speed: 3.73 samples/sec Train-RPNAcc=0.885779,  RPNLogLoss=0.274758,    RPNL1Loss=0.154959,     FCISAcc=0.745154,       FCISAccFG=0.007103,FCISLogLoss=1.938991,    FCISL1Loss=0.096178,    FCISMaskLoss=0.581265,
Exception in thread Thread-71:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "experiments/fcis/../../fcis/../lib/utils/PrefetchingIter.py", line 60, in prefetch_func
self.next_batch[i] = self.iters[i].next()
File "experiments/fcis/../../fcis/core/loader.py", line 99, in next
self.get_batch_parallel()
File "experiments/fcis/../../fcis/core/loader.py", line 161, in get_batch_parallel
rst = self.parfetch(roidb)
File "experiments/fcis/../../fcis/core/loader.py", line 183, in parfetch
gt_masks = get_gt_masks(roidb[0]['cache_seg_inst'], data['im_info'][0,:2].astype('int'))
File "experiments/fcis/../../fcis/../lib/mask/mask_transform.py", line 25, in get_gt_masks
gt_masks = hkl.load(gt_mask_file)
File "/home/tansq/.local/lib/python2.7/site-packages/hickle.py", line 616, in load
h5f = file_opener(fileobj)
File "/home/tansq/.local/lib/python2.7/site-packages/hickle.py", line 154, in file_opener
h5f = h5.File(filename, mode)
File "/home/tansq/.local/lib/python2.7/site-packages/h5py/_hl/files.py", line 271, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/home/tansq/.local/lib/python2.7/site-packages/h5py/_hl/files.py", line 101, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2840)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-nCYoKW-build/h5py/_objects.c:2798)
File "h5py/h5f.pyx", line 78, in h5py.h5f.open (/tmp/pip-nCYoKW-build/h5py/h5f.c:2117)
IOError: Unable to open file (File signature not found)

Issue re-opened in #88


Cannot input the + symbol in the phone number field when inputting billing details

Describe the bug
When using the billingDetailsPhone state as required, I cannot input the + symbol in the phone number field.
To Reproduce
Steps to reproduce the behavior:

Initialise the view with cardHolderNameState: .required, billingDetailsState: .required
Enter all required details
Go to billing details view
Enter all required fields, and try to enter phone number as +442312312321
Observe the + doesn't get populated and an error shows

Expected behavior
In #5 from the above, it will allow entering + symbol
Screenshots

Smartphone (please complete the following information):

Device: iPhone 7
OS: iOS 13.3

Same here

Hi @harryblam sorry for the late reply. I can't seem to reproduce this issue, it may have been fixed in a release since this issue was opened, or when we updated PhoneNumberKit.

If you still experience this bug please feel free to re-open this issue. Thanks.


Removes C-like for loops

Swift doesn't have C-like for loops anymore.

Hi @ornithocoder, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Coverage remained the same at 60.988% when pulling<PHONE_NUMBER>0e70f147d1b79f23f61c782d892a89 on ornithocoder:master into 052f3c05b03e0b04513aace29731aef46aa19e93 on Microsoft:master.


Add ultrawide aspect ratios & newer Mac hardware

Add a 32:9 (356:100) ultrawide resolution of 5120x1440 (sometimes referred to as DQHD).
Add the following 3 21:9 (233:100) ultrawide resolutions:

5120x2160 (technically 237:100 or 64:27)
3840x1600 (technically 240:100)
3440x1440 (technically 239:100)

All set to 200 ppi and hiDPI, although arguably it would be more "realistic" to put them at a lower ppi, as these monitors would generally range from 32"-49" inches.
I came up with these resolutions by looking at a few mainstream articles on ultrawide monitors, e.g. https://www.pcmag.com/picks/the-best-ultrawide-monitors

Added newer Mac hardware:

4480x2520 (218 ppi): 24-inch iMac (23.5-inch)
3456x2234 (254 ppi): 16.2-inch MacBook Pro
3024x1964 (254 ppi): 14.2-inch MacBook Pro
2880x1864 (224 ppi): 15.3-inch MacBook Air
2560x1664 (224 ppi): 13.6-inch MacBook Air

If you feel like taking over this project, and do new binary releases, I am open to that;) Not sure how to handle that in practice.


ssl_min/max_ver, pre_start_script, raw_blocks without names and raw_blocks_only config_mode, stats without authentication

pre_start_script: A script appended to the pre-start script of HAProxy job. This script allows the job to prepare the machine before starting HAProxy, for example, by setting the MTU to a custom value.

ssl_min_ver and ssl_max_ver: These settings enforce minimum and maximum SSL versions for connections. If this option is set, the disable_tls_* options will be ignored.

support for raw_blocks with or without names, this is more readable for blocks global and defaults, especially when applying the setting config_mode: raw_blocks_only.
config_mode includes two modes:

auto: default, utilizes raw_config if defined; otherwise, it uses traditional configuration mixed with raw_blocks.
raw_blocks_only: uses only raw_blocks, ignoring other configurations.

Ability to expose ha_proxy.stats without authentication.

Hi @kinjelom, can you please resolve the conflict, a typo fix? I do not want to push to your fork's master branch.

Hi @kinjelom, can you please resolve the conflict, a typo fix? I do not want to push to your fork's master branch.

Sorry, I missed it, done.

@kinjelom , when rebasing, please also include the findings from the linter:
spec/haproxy/templates/haproxy_config/raw_blocks_spec.rb:92:1: C: [Correctable] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.
spec/haproxy/templates/haproxy_config/stats_listener_spec.rb:88:1: C: [Correctable] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.

@kinjelom , when rebasing, please also include the findings from the linter [...]

@plowin done, is everything okay now?

You are very welcome, thanks a lot for the contributions, released with https://github.com/cloudfoundry/haproxy-boshrelease/releases/tag/v14.0.0%2B2.8.9.
Feel free to also join us on Slack


Websocket Connect handler, interceptor, path/query variables

WebSocketServiceHandler doesn't seem to support connect function reference. Is it possible to support it ?

currently in subscribe method step, connection is already established.
        websocket.subscribe(object : Subscriber<WebSocketFrame> {
            override fun onSubscribe(s: Subscription) {
// connection is already established
}}

Use case: would like to authN and don't allow connection to proceed if authN or some condition is not satisfied.

Similarly, no interceptor support in WebSocketService builder, possible to add that support ?

    val websocketService = WebSocketService
        .builder(WebSocketEchoHandler())
        .allowedOrigins("*")
        .maxFramePayloadLength(maxFramePayloadLength)
        .build()

also any examples on websocket url with path params or query params by annotations ?
currently doing it as

Server.builder()
        .service("/chat", websocketService)
        .build()

Sorry about the late follow up.
So am I understanding correctly that you would like to accept/reject a websocket connection depending on a predicate?

Use case: would like to authN and don't allow connection to proceed if authN or some condition is not satisfied.

Have you considered using decorators for authentication? By doing so, you can fail the upgrade request with a HTTP response.
Server.builder()
      .route()
      .path("/chat")
      .decorator(((delegate, ctx, req) -> {
          if (!req.headers().contains("hello")) {
              throw new IllegalArgumentException("unauthenticated access");
          }
          return delegate.serve(ctx, req);
      }))
      .build(WebSocketService.builder(new WebSocketEchoHandler())
                             .maxFramePayloadLength(MAX_FRAME_LENGTH)
                             .build());

also any examples on websocket url with path params or query params by annotations ?

Do you mean you would like to access the query param, path param at a websocket service? I don't think it's different from using normal HTTP services in Armeria.
sb.route()
  .path("/chat/{pathParam}")
  .build(WebSocketService.builder((ctx, in) -> {
                             String pathParam = ctx.pathParam("pathParam");
                             String queryParam = ctx.queryParam("queryParam");
                             logger.info("handling pathParam: {}, queryParam: {}", pathParam, queryParam);
                             ...
                         })
                         .build());


[Request] Ability to add IPs

I am really enjoying this program,  but the one thing I would love to see is the ability to add IPs to the configuration, as there are devices I use which require me to setup two IPs to allow for a web based server. It would save a great deal of time if I could use the program to set the IP I want, and add an extra IP. Thanks!

I am so sorry for late answer, I was in a difficult time so I couldn't follow any notifications.
Also thanks for use the program.
I have in mind to add new features to the program. but I can't find the time right now. If you are interested in programming, you can fork the source codes from the link. https://github.com/esen2202/SNlibrary-Projects ,
I plan to add new features in the near future.
*Multiple IP adding, pinging, sorting include
Again so sorry.


InstantID masking is not properly applied when used alongside differential diffusion

Screenshot:

Issue description:
When using masking in both InstantID and masked differential diffusion, the noisy diffusion output from regions outside of masked areas appear to be pasted over the original image.
Expected behaviour:
Regions outside of masked areas should not be altered
Observed behaviour:
In the last 1-2 steps of sampling (see the advanced ksampler example above), the entire unmasked region is altered
Notes:
InstantID appears to work fine with regular inpainting without the differential diffusion node. It also still works if the mask is disconnected from InstantID node - this results in similar output and can be a workaround for now.

instantid adds a strong conditioning mask, you need to combine (at least in the positive) another conditioning that covers the area not touched by instantid. It can be on the full image or masked to the inverted instantid mask.

I see, the issue should come from areas outside the mask not being conditioned. However I don't quite understand why it only happens with differential diffusion inpainting but not regular inpainting. Both approaches should keep areas far from the mask completely unchanged. What's even more puzzling is that you can see the area outside of the mask being completely fine in the intermediate step up to 28, but it gets destroyed in a single step at 29-30. Maybe some unintended interaction with differential diffusion?


AST: Targeted fix for conformance lookup issue [4.0]

Possibly fixes rdar://problem/31334245.

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 31261095dc41281b6e3750c8a781026894bf1d8c
Test requested by - @slavapestov

@swift-ci Please test Linux


Accept posts too (not only  bundles)

I'd love to make use of the post function instead of post bundles. Since i use the site for my recipes i would prefer to have one folder "recipes" with all {recipe-title}.md within that folder.
I do understand a header image is mandatory with this theme. Those images could be placed in the /static/ folder, right?
For ease of use, it would ne great if there was a placeholder image for new posts. That way the site doesn't display an error when adding a post without header, it just shows a post with a standard header image which probably should be replaced.

Sorry I know it's probably more work to realise than it is to ask. I've never created a theme myself but i think I almost understand Hugo code to create something like above. It'll cost me quite some time probably and I doubt if I have enough time available soon... But if i can I'll create a PR myself.


Maxthon browser not detected

Useragent String is "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Maxthon/4.5.2"
It detects Maxthon browser as AppleWebKit browser

Please read the FAQ. Maxthon browser as basically no noticeable market share.


Extract remote to the first forward slash only

Fix for ISSUE #15 hopefully. Please test

Makes sense. I'll take a look.

@vr00 sorry for the delay here. My notifications were turned off and this slipped through the cracks. I'm merging this now and would appreciate if you could manually copy down the latest from main and let me know if this works before I tag a release.

@jasonmccreary oh, I'm using the modified version locally for quite some time now. Works perfectly 👌


Proposal to create Examples working group

Summary
This PR proposes the creation of a new working group, the Examples working group.
The description is reproduced in a formatted version below:
Examples
Objectives: Create example compiler passes using the Python AST to surface additional
improvements to the spec, and to enlarge the library of OpenQASM 3.0 examples.
Description:
Some of the most interesting and important discussions about the OpenQASM 3.0 spec have originated
from groups who are implementing compilers. For example, issue #307 on the physical mapping of
dynamically dereferenced qubits was inspired by work on integrating OpenQASM with another
pulse-level programming framework.
This working group will implement example compiler passes using the Python AST with the aim of
identifying and clarifying more parts of the language. The code produced could potentially be used
for a production compiler, but the constraints of a production compiler (eg. performance) will not
be a concern for this group. The primary purpose of these passes will be as an educational
reference.
Questions:

What are the most valuable compiler passes to tackle? Potentially interesting:

Resolving timing
Converting 'new-style' gates from #323 to 'old-style' gates

Completion of WG:
This working group will have completed its efforts when it has implemented ~3-5 compiler passes,
a similar amount of examples, and created a clear path for future contributions to these libraries
of examples.
Chair: TBD
Members: Steven Heidel (AWS Quantum) and 2-3 colleagues from AWS Quantum TBD, (your name here?)

Closing in favor of creating a new repo / issue tracker under the openqasm org once that happens.


Make available information about build_visit options used to build distributions

Here is an e-mail from a user about his experiences with building VisIt. Hi, Just a comment comment, and a question: Comment: it is really confusing for a user if two installations of visit have a plugin for xdmf, but one of them opens the file fine (contains a temporal collection), while the other does not. Now, with some research I found out why (the xdmf library was not built into one, and because of that the (previous) visit xdmf reader was used). I would suggest to make the distinction between the two a little more clear, to avoid users stumbling over this. Question: Are the build-commands (in particular for svn_bin/build_visit) for the released versions available some place? This could have saved me quite many recompiles. thanks, Frank
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2394
Status: Pending
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: Make available information about build_visit options used to build distributions
Assigned to: Eric Brugger
Category: -
Target version: 3.0
Author: Eric Brugger
Start: 09/25/2015
Due date:
% Done: 0%
Estimated time:
Created: 09/25/2015 11:28 am
Updated: 03/16/2017 12:26 pm
Likelihood:
Severity:
Found in version: 2.12.1
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
Here is an e-mail from a user about his experiences with building VisIt. Hi, Just a comment comment, and a question: Comment: it is really confusing for a user if two installations of visit have a plugin for xdmf, but one of them opens the file fine (contains a temporal collection), while the other does not. Now, with some research I found out why (the xdmf library was not built into one, and because of that the (previous) visit xdmf reader was used). I would suggest to make the distinction between the two a little more clear, to avoid users stumbling over this. Question: Are the build-commands (in particular for svn_bin/build_visit) for the released versions available some place? This could have saved me quite many recompiles. thanks, Frank
Comments:

I added a Building chapter to the GUI manual that describes how to use build_visit. The last section describes how VisIt it built on kickit, quartz, lassen, cori, summit and trinity.


Clear up compiler warnings

Compiling our contracts currently returns a large number of compiler warnings.
Fixing them should be a fairly simple task, but will require some time to go through everything.
Recommended approach:
IMO the solc binary give much easier to read colored output compared to hardhat, so install solc

Install solc verson 0.7.6 following these instructions (any of the methods described on that page other than npm i -g solc because solcjs != solc!).
cd into the root of this repo.
Run the compiler on the full system using: solc --allow-paths . contracts/optimistic-ethereum/**/*.sol
Work through the warnings systematically. You might choose to focus on one file at a time, or one type of warning at a time, whichever works for you.

I would suggest submitting a draft PR for early review after clearing up the first dozen or so warnings, just to be sure we're on track.

This was partially fixed by #265, but remains a WIP.

when compiling with solc

@N3r0m5ns3r I'm not having any such errors on master.

Weird I am compiling from the master branch still getting the same errors. maybe there is something wrong with my system or configuration.


Keyboard sometimes not recognized when plugged in

I'm not yet sure if this is a USB timing issue, a HID descriptor issue, or something else. It can be reproduced fairly easily by plugging in the keyboard to a machine and trying to type. Sometimes it isn't recognized as a keyboard for tens of seconds, and pressing the firmware Reset button will often help it get recognized.

I noticed removing the LED section from the HID descriptor fixes this issue, maybe we weren't handling those messages correctly.


Sema: Eliminate some piecemeal unavailability diagnostics

There were a few parts of the compiler that were specifically diagnosing just the unavailability of declarations in certain synthesized code:

Extraction of enum elements from ClangImporter synthesized enum element accessors with Swift 2-era names.
References to wrappedValue accessors in synthesized property accessors for wrapped vars.

These piecemeal diagnostics can be subsumed by performing full availability checks on the decl refs instead to catch more issues while also reducing the amount of availability spaghetti there is to maintain and refactor.

@swift-ci please smoke test

@swift-ci please smoke test

Could this have caused the failures on https://ci.swift.org/job/swift-main-source-compat-suite/938/ and  https://ci.swift.org/job/swift-main-source-compat-suite-debug/938/
/Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite-debug/swift-source-compat-suite/project_cache/Doggie/Sources/DoggieGeometry/ApplePlatform/Geometry/CGPath.swift:238:19: error: 'curveTo' is only available in macOS 11.0 or newer
206 | #elseif canImport(AppKit)
207 |
208 | extension NSBezierPath: BezierPathConvertible {
    | `- note: add @available attribute to enclosing extension
209 |
210 |     fileprivate var _currentPoint: Point {
    :
228 |     }
229 |
230 |     fileprivate func _copy<Other: BezierPathConvertible>(to path: inout Other) {
    |                      `- note: add @available attribute to enclosing instance method
231 |
232 |         var points = [CGPoint](repeating: CGPoint(), count: 3)
    :
236 |             case .moveTo: path._move(to: Point(points[0]))
237 |             case .lineTo: path._line(to: Point(points[0]))
238 |             case .curveTo: path._curve(to: Point(points[2]), control1: Point(points[0]), control2: Point(points[1]))
    |                   |- error: 'curveTo' is only available in macOS 11.0 or newer
    |                   `- note: add 'if #available' version check
239 |             case .closePath: path._close()
240 |             @unknown default: break

rdar://138771328

Could this have caused the failures on https://ci.swift.org/job/swift-main-source-compat-suite/938/ and https://ci.swift.org/job/swift-main-source-compat-suite-debug/938/

Yes, it probably has. I'm taking a look, thanks for the heads up!


Docs: update t.plan recipe. Fixes #749

Updates the recipe surrounding proper uses of t.plan() due to improved t.throws() behavior.
https://github.com/sindresorhus/ava/issues/749

Looks good to me!

Thank you @kevmannn :)


New networking flags

Update 2.1 docs with new --advertiser-add, --listen-addr, and --http-addr flags, including cockroach start docs, Production Checklist, and all tutorials, examples, and trainings.
Add a Tutorials section to the 2.1 sidenav.

Fixes #3634.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/deb8bcceebb56ba0342571f94e1db41fbc28a03e/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/86ae31c2ee35fc12d3d7c6099a799344ad1b5d16/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8248341891741033aadf56323e620d67b40345cf/

_includes/v2.1/prod-deployment/insecure-initialize-cluster.md, line 9 at r2 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
Thanks, @knz. A few responses:

Given that we're asking users to re-learn networking flags on cockroach start, one aspect of which is combining host and port in single flags, I think it's logical to ask user to extend that to networking flags on client commands. Consistency is a key aspect of usability. So I disagree that my process is very different than the process users will go through.
It's not best practice to explain all syntax variations in instructions. Rather, we should focus on one form that we feel is common/intuitive. For all variations, they can refer to the reference docs, which would be cockroach start.
I have, in fact, understood that host/address is optional. In some cases, I just think it's more helpful to users to explicitly show the common form, even if it means not leveraging defaults.
All the above said, since you feel strongly, however, I can drop port from these examples. I'll want to keep them in local cluster tutorials though.

Need one clarification on when the host/address part is left unspecified, it defaults to localhost:
My understanding from earlier work on networking, with you and @bdarnell, was different, that a node listens on all IP address and advertises the node's canonical hostname by default (if neither flag is set).
Is this no longer true?

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e22a5e057baee01f7950261b89af9104f71f2768/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/560c4227f4d811c5be9dc8e4a5385e508d0c68e5/


⚠ RPC server - Optimism has degraded performance

In 40be339, RPC server - Optimism ($OPTIMISM_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 400 ms

Resolved: RPC server - Optimism performance has improved in 3644b33 after 13 minutes.


🛬 [INBOUND] - django-typer

What's the URL to the project?
https://github.com/bckohan/django-typer
Who are the current maintainers?
Brian Kohan
Does the project have the required attributes?

[X] Does the project have tests?
[X] Does the project have documentation?
[X] Has the project adopted Django Commons's Code of Conduct?

Who will be the new maintainers of the project?
I (Brian Kohan) will continue to maintain the project. I'm hopeful I might find additional maintainers through commons or that @oliverandrich might be interested!

Following the invitation above, I am willing to be a co-maintainer along with @bckohan.

Glad to have you onboard @oliverandrich!!
I think for them to onboard you as a repo admin, you need to join as a member.

Hi Brian & Oliver,
Let's have a short meeting to transfer the project: https://cal.com/daniel-moran/dc-meeting

@cunla @oliverandrich  is not a current maintainer, but we'd like to add him after the transfer. Not sure if he needs to be at this meeting. He's also in Germany and I'm in California so it might be hard for us to find a time that works for both of us.
I went ahead and grabbed a time slot at 11:45am PDT tomorrow.


Mixture total vs. single component properties, accessing nonstandard state parameters

Overall, I like the ideas I'm seeing here and am considering adopting the interface for my implementation of the Modified Quasichemical model. I'd like to request an easy way to get any of these properties for individual components as well as the entire mixture. I think this should be doable by a final argument or similar:
function mol_gibbs(mt::MultiPT, model::MyFancyModel, st::ThermodynamicState, unit=u"J/mol", component="Total")
    p = pressure(FromState(), st, u"Pa")
    t = temperature(FromState(), st, u"K")
    x = molefracs(FromState(), st) # didn't see this in the Readme, so not quite sure what the name is?
    val = gibbs_impl(mt, model, p, t, x, component) # or dispatch to different implementations of gibbs_impl depending on the component?
    return ThermoState.convert_unit(u"J/mol",unit,val)
end

But since you already have a bunch of types for dispatch, you could do something similar here:
function gibbs_impl(mt::MultiPT, model::MyFancyModel, p, t, x, ::ComponentChoice{TOTAL})
    # implement total Gibbs of liquid here
end

function gibbs_impl(mt::MultiPT, model::MyFancyModel, p, t, x, ::ComponentChoice{FIRST})
    myfunc(x1) = gibbs_impl(mt, model, p, t, [x1, x[2:end]...], ComponentChoice{TOTAL})
    return ForwardDiff.derivative(myfunc, x[1]) # Or implement the derivative by hand
end

Either of those would be helpful to me.
Also, and I don't know if this is a separate issue or not, but the Modified Quasichemical Model has a special state parameter called coordination fractions which basically measure which species in the liquid phase coordinate better with each other. The computationally-expensive piece of the model is a nonlinear solve for the optimal coordination fractions given the mole fractions and temperature. I don't know if the ThermodynamicState struct is the best place to encode this information; actually I rather think it would be the MyFancyModel (in this case the QuasichemicalModel) struct, but it would be nice to have some kind of standard interface for getting special information like this from a WhateverModel struct to make it available for the ThermodynamicState struct. Or maybe I should just access in the gibbs_impl functions and other functions I'm writing to implement the model. What do you think?
(Edit: missed a ')' in some code)

On the first one:
oh, yeah, im encountering the same dilemma in ThermoModels.jl, in the implementations it isnt a problem, but calling from high level is something that should be implemented. to add this, i would need:

the name of the type
a keyword that represents the the type (to call state(kwargs,...key=value))
the name of an accesor function.
i imagine something like this:

struct ComponentChoice{T<:SpecModifier} <: CategoricalSpec #check choices can be done

keywords: component_choice? = name of the function?
i can add those right away after defining the options.
On the second one:
im trying to make thermodynamic state as stateless as possible, but i have a escape hatch if you need it: you can a named tuple with any value to options:
st = state(t=373.15,p=1u"atm,options=(precalc_struct=...))

and then querying those results with
options(FromState(),st)

the function is called mol_fraction(FromState();st,nothing,mw), but i can add alternative definitions


Memory Leak with Queue Scheduler and Subject

RxJS version: 5.0.2
Code to reproduce:
Observing a subject using the queue scheduler creates many QueueActions that are never freed.
Plnkr demonstrating issue: https://plnkr.co/edit/BBkHlpIf6MiP2eOPdIlz
Minimal code to reproduce:
import 'rxjs/add/operator/observeOn';
import { interval } from 'rxjs/observable/interval';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { queue } from 'rxjs/scheduler/queue';

const source$ = new BehaviorSubject(0);

source$.observeOn(queue).subscribe();

interval(50).subscribe(source$);

Create two heap allocation snapshots about 20 seconds apart and use the comparison tools to see the allocation delta. Example:

Expected behavior:
No memory leak of previous values.
Actual behavior:
Previous values are retained in QueueActions

So the issue seems occurring on observeOn operator by holding observed notification's subscription. Please check https://github.com/ReactiveX/rxjs/pull/2245 for reference, local verification shows leaks are gone with given changes.

@kwonoj Pulled down the latest from your branch and I am still seeing a leak of QueueActions. Also seeing a leak of instances of ObserveOnContext. All are being held by ObserveOnSubscriber._subscriptions

@MikeRyan52 can you share setup you've used to repro issue (maybe github repo)?

@kwonoj I created a demo repository here that reproduces the problem with both the latest published release of rxjs and your branch: https://github.com/MikeRyan52/rxjs-memory-leak

I see the problem right now and I'm working on a solution.

@MikeRyan52 try the PR #2248 ... it should solve your problem.
Thank you so much for reporting this one.

@MikeRyan52 the patch is published. 5.0.3

Thanks @blesh and @MikeRyan52!
@blesh, just FYI the latest on npm appears to still be 5.0.2

@jameshenry oops it looks like I published to Netflix's internal registry and not npm. Fixed.

Thanks!


tinygo: 0.12.0 -> 0.13.0

Motivation for this change
Update tinygo to the latest release.

https://github.com/tinygo-org/tinygo/releases/tag/v0.13.0

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This works for me.


Support the bfloat16 for pytorch modules.

What do these changes do?
As titled
Related issue number
Fixes https://github.com/v6d-io/v6d/issues/1871

Raise a warning before the casting, as it is not lossless.

Raise a warning before the casting, as it is not lossless.

Done.


Find on big files does not highlight every match

VSCode Version: 1.15.0
OS Version: Linux Mint 18.1

Steps to Reproduce:

Open "very big" dataset (mine have 50625 lines, and sorry, can't distribute)
Perform a search on this very big dataset.

The find window will show "1 of 999+" instead of highlighting every match. The minimap also show only a few results, although there's at least one match every single line.

Reproduces without extensions: Yes
Observations:
If I click to navigate to the previous match, it will show ? of 999+ but it work perfectly, setting the cursor on the correct position on the last line of the "very big" file, but still don't highligthing the match.

Duplicate of https://github.com/Microsoft/vscode/issues/496


bpf: clean up some drop notifications

Consolidate a few drop notifications, to have more consistency and allow for easier reading.
Also update the code documentation for two encap helpers to clarify that they no longer return CTX_ACT_DROP.

/test

@ldelossa how can I help in getting this over the finish line?


guess

so if the vote is on by a player typing the trigger , if only 3 players vote from 20 players and the enable vote wins by 2 vs 1 , does the plugin execute the command or it needs atleast  50% of the server players to contribute to the vote for it to succesfully work.
i mean if 3 players of 20 players vote , it should be revoked or cancelled or atleast give us the option to set how many vote conturbution needed for the vote to pass

Currently there is no minimum participation percentage. That's a nice addition though. I will add this once I have some more time on my hands


Exclude repositories if using InMemory database

3903 - Exclude repositories if using InMemory database
📲 What
A description of the change.
🤔 Why
Why it's needed, background context.
🛠 How
More in-depth discussion of the change or implementation.
👀 Evidence
Screenshots / external resources / links / etc.
Link to documentation updated with changes impacted in the PR
🕵 How to test
Notes for QA
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

/azp run


📝 Update includes for docs/de/docs/how-to/graphql.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


Split '.gitlab-ci.yml' into multiple smaller files to align with GitHub Actions workflow configuration.

Done by #179


No way to make category widgets aggregated

Context
Let's say you have several restaurants (different brands) and their revenues, and you want to make a "hall of fame" widget with the restaurants by revenue.
Steps to Reproduce

Get any dataset with at least 2 columns like brand (string) and revenue (number)
Make a map from it
Try to add a category widget for the revenue, aggregated (SUM) by the brands
Frustration :(

Current Result
The UI only lets you select COUNT when aggregating by a string column. If you try and try and try, you may find a race condition in wich it lets you use the right combination of values, and it may eventually work. Or not

Expected result

cc @xavijam @nobuti

Now, I can aggregate through the UI, but if the value comes form a query instead of being directly available at the dataset, the result is like

Looks like the problem is the order! The nulls on top of the list.

did that happen before? if so, it should be tracked in a separated issue

As I talked with @AbelVM, it is likely it is related with the way we return the data, not with the widgets UI.

Closing since we cannot replicate.


Update components from selecting using pandas dtypes to selecting using DataTable semantic or logical types

Design doc for epic here: https://alteryx.quip.com/Oa4aA6h0Rf2k/Woodwork-DataTable-Integration-Design-Document

Note that we'll want to pay special attention to the text featurizer component. Currently (as in #1062 ), it expects a list of text features to be passed in via the parameters dict. Now that we have woodwork in place, we should remove that behavior in favor of doing dt.select('natural_language') in fit and transform. For consideration: we could keep the text_features params input as optional, if specified would override the woodwork datatable content. Or we could simply use the datatable.

@angela97lin will #1423 close this issue? If not, what's left after that's merged? I just saw your comment about the datetime featurizer.

@dsherry I don't think in all cases (such as the datetime featurizer), so this issue tracks any dangling conversions we have yet to make, as well as (hopefully) completely getting rid of the dtype lists we have (numeric_dtypes,boolean, numeric_and_boolean_dtypes, etc.)

@angela97lin understood, thanks!


Specification interoperability

Hello,
I am wondering if interoperability was one of the original goals of this specification.
I am in particular pointing the fact that ECMAScript was chosen as the scripting language.
This means that any editor/IDE supporting this specification also has to support ECMAScript, which seems a bit overkill.
AFAIK the reasoning behind this is to be able to reuse data between requests, a simple DSL fitted for this purpose would be far easier to integrate in any editor.
See rest-nvim/rest.nvim#205 for additional examples of where this choice leads to.

I guess not. One of the main reasons was helping our community (users of HTTP Client in JetBrains IDEs) to implement their own out-of-IDE HTTP Requests runners before we introduced our own.
Currently, this repository is not well maintained because it is hard to maintain a specification and deliver new features. In addition, there is official documentation, which currently feels enough. So, it is a bit abandoned right now.

reasoning behind this is to be able to reuse data between requests, a simple DSL

No, it has a bit more, like creating and manipulating such data before passing to the (next) request. In addition, there is an API for writing tests. So, I guess in total, it wouldn't be a simple DSL and supporting it in different editors will be harder than supporting JS, which has support in most editors nowadays.
I can add that JS is used because it is appropriate for people from different development backgrounds, and covers more or less all people who want to send HTTP Requests.
But I think there will be discussions about .http format specifications for different editors because there are a bunch of different (you mentioned another one😁) implementations. You can check it here: https://github.com/dotnet/AspNetCore.Docs/issues/29431

developers but Emacs and vim/neovim do not include a JS engine for instance and they still seem widely used.

In "has support" I meant that most of the editors have plugins for JS, including *vim and Emacs😁 And as I know, it is quite popular for JS developers to use Neovim with a bunch of plugins.
About new generation editors, I think that JS in the specification or the language of the editor is not important. Because, as I understand, a common way of supporting languages in lightweight editors is moving language processing logic out of the editor process (via some kind of language server, e.g. using Language Server Protocol).
So, I guess, new editors can just reuse big parts of existing plugins for the current generation of editors.
Moreover, I can imagine a hypothetical Neovim plugin for .http files by JetBrains that can be implemented right now🤯
It will have two parts: a plugin for the editor side and an executor (e.g. using our CLI runner). The editor part will have just lexical highlighting (for keywords in HTTP Language and JS for scripts), and a shortcut for executing requests. This shortcut will just call the CLI part and show the output inside the editor.
And such an approach should work for other editors, even newer ones.

It still feels like hitting the tack with a sledgehammer, I guess we can only agree on our disagreement.
I close the issue as you already said it before, this specification is unmaintained so arguing here won't probably solve it.
It was nice having some feedback from the Jetbrains side :slightly_smiling_face:, thanks for the input.

@gautaz We'll have to agree to disagree. I've used several of these HTTP clients, and the ones that don't support JS simply don't work for me. All the "magic" required to support the simple things, like standard security mechanisms, are unintuitive at best. Worse, that's for the standard stuff, move out of that realm and your just out of luck. Then there's API chaining and testing to consider. Good luck designing a DSL for that which isn't as complicated as JS. Ideally editors would use a LSP implementation and there'd be good CLI runners, and embedding JS isn't that difficult to do. I don't see using JS as overkill, and in fact see it is the ideal solution.


Provide more demo brinefiles for common salt formula

I like to propose brine to provide more common used example brinefiles.
rabbitmq examples is not common enough.

I think we should have a different repo for such a project, but I can see how that might be useful.


Why is dozer passing in a null source object to my Configurable Custom Converter?

I've written a thorough explanation of my issue here: http://stackoverflow.com/questions/16597277/why-is-dozer-passing-in-a-null-source-object-to-my-configurable-custom-converter
I'm using Dozer 5.4.0

@tieTYT ; is this still an issue?

Closing due to inactivity.


Improve the text at the top of the home page

Received the latest home page text from the product team.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: julianmacaw sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Added all Freshmen Experience descriptions.

Added descriptions for all FE events.

This one was out of date with the updates so I closed it.


KV Store: Graveler implement Reset

Decided to split the PRs eventually

Thanks - dropped some comments. Also - I know we don't have tests before, please consider adding a single sanity test to the graveler Reset functionality.

@itaiad200 I don't really know how we can unit test this in the graveler context. The whole branch update and drop logics are mocked.
It is covered though by system tests

Found a bug in Get flow