'you may need to install the OpenSSL::fallback module' error when building OpenSSL source code

Hello,
I am trying to build the OpenSSL 3.0.7 binaries for Windows x64 from the source code.
When I run perl Configure VC-WIN64A or perl Configure commands to build the binaries I am getting:
Can't locate OpenSSL/fallback.pm in @INC (you may need to install the OpenSSL::fallback module) (@INC contains: C:/Temp/openssl-3.0.7/util/perl C:/perl/site/lib C:/perl/lib) at Configure line 20.
BEGIN failed--compilation aborted at Configure line 20.

The machine I am building on was initially using Strawberry Perl <IP_ADDRESS>. In order to find out whether the missing OpenSSL::fallback module is part of the source-code-built Perl I downloaded the Perl v5.36.0 source code, built it and attempted to build the OpenSSL 3.0.7 again. The outcome was the same error message about missing OpenSSL::fallback.
I searched for the OpenSSL::fallback module using the "cpan -x OpenSSL::fallback" command and also searched for it at https://metacpan.org/. Did not find any suitable modules.
Where do I get the missing OpenSSL::fallback module?
The Perl script Configure refers to other modules in the OpenSSL namespace. Where do I get these?
Thank you,
Radovan

All the OpenSSL:: modules are in the source, in util/perl/OpenSSL.  I'm a bit mystified by this failure, 'cause you have C:/Temp/openssl-3.0.7/util/perl in @inc, which should be exactly correct to be able to find OpenSSL::fallback as C:/Temp/openssl-3.0.7/util/perl/OpenSSL/fallback.pm

In what shell did you do this?

Hello Levitte,
thank you for your comment. I verified the the util/perl/ folder and there was no OpenSSL subfolder in it. Some other pieces of the source code were missing as well.
The source code did not get copied completely to the build machine. I was not aware of it. I apologise the fault was clearly on my part.
Thank you,
Radovan


Fix cli crash when oc dev reads a broken package.json

wrapped the readJsonSync call in a try-catch, log it and then continue loading the other components
moved getComponentsByDir out into a separate file
cli/domain/local.js now has a dependency on logger
added tests to cover

turned out a bit larger than I had intended

closes #142

Thanks @andyroyle - can you publish new version in npm using the new CONTRIBUTING.md instructions?

will do

https://github.com/opentable/oc/releases/tag/v0.19.3 :+1:


Async Data not working

Hi,
options = {
getChildren: (node:TreeNode) => {
return request('/api/children/' + node.id);
}
}
Am trying to get child nodes. in request('/api/children/' + node.id); calling rest services thats returning the child node. Because of asynchronous it's not working. how I can make it synchronous .I need child data needs to be loaded on demand.
Thanks

Hi @chandu58
You need to return Promise object for async data to make it work !
getChildren(node:TreeNode) {
	return new Promise((resolve, reject) => {
		this.yourService.getChildren(node.data).subscribe(data => {
		  resolve(data );
		}, error => this.onLoadFailed(error));
	});
}

Assuming  this.yourService.getChildren will be make actual call to your API (('/api/children/' + node.id))
Hope this will help.
Please share the output!
Cheers
Abhi

Hi Abhi,
Thanks so much .. it's working now.
really am struck with this issue.
Cheers
Chandu


Throw SerializationError over client safe Error when failing to serialize leaf types

Resolves https://github.com/webonyx/graphql-php/issues/570

I let the SerializationError thrown in Enum serialization bubble up, given what the spec says at http://spec.graphql.org/draft/#sec-Enums.Result-Coercion

GraphQL services must return one of the defined set of possible values. If a reasonable coercion is not possible they must raise a field error.


Is there a way to enable deno-mode only in deno projects?

I'm working in various environments (node, browser, deno) and I cannot have deno-fmt enabled anytime I have a typescript-mode enabled. Currently I'm enabling it each time I open a new file and this is quite annoying.
Is there a way to have it automatically enabled for all deno projects? (for example if in the file the is a reference to "deno.land" or if in the project we have "deno.jsonc" file?

If you know that you'll always have a deno.jsonc/deno.json file for your deno projects that's probably the most reliable thing to check, and (assuming you use projectile) that can be done with something like:
(defun deno-project-p ()
  (let ((root (projectile-project-root)))
    (unless (null root)
      (let ((config1 (concat root "deno.jsonc"))
            (config2 (concat root "deno.json")))
        (or (file-exists-p config1) (file-exists-p config2))))))

(defun fmt-for-deno ()
  (if (deno-project-p)
      (deno-fmt-mode)))

(add-hook 'typescript-mode-hook #'fmt-for-deno)

You could do a similar thing by searching for deno.land in the file, but that would only work for files with external imports.

Thanks. You are awesome.
It would be wonderful if this would be a part of the deno-fmt plugin. Something like (global-deno-fmt-mode).

To me that doesn't really fit the scope of this package. I think ideally there could be a package like Tide, but for Deno, that would do all the right setup for formatting, linting, LSP, etc. and it would have a check like above to only turn this stuff on for Deno projects.
I don't work with Deno that much currently, so I don't have the motivation to make such a package.

IMO with TIDE there is a problem that it's not versatile enough. For example currently we have lsp-bridge but if we use TIDE we are stuck with it and cannot easily switch to lsp-bridge. Also making TIDE to work with deno is not that nice (one has to create package.json and essentially use npm). Moreover it's not easy to use deno-fmt with TIDE. Maybe that's possible but I lost some time on it and couldn't find a solution.
That's why I really like what you are doing in this package, namely: creating a collection of right configuration which anyone can use sparingly. To me it's a better approach.
Forgive my boldness but I'm currently slowly adopting deno and am curious what was your motivation to move away from it? Could you share it with me?

IMO with TIDE there is a problem that it's not versatile enough

Yeah that's a fair point

Also making TIDE to work with deno is not that nice

I was just using TIDE as an example of a package that does many things, whereas this package is just focussed on letting you use deno fmt in Emacs.

Forgive my boldness but I'm currently slowly adopting deno and am curious what was your motivation to move away from it? Could you share it with me?

Oh, I'm not moving away from it. I use it for basically all of my personal projects, but I don't have much time to spend on those projects. I just comment/uncomment some of my config whenever I want to work on my Deno projects and that works well enough for me. If in the future I started working in Deno more then I would probably have the motivation to build a better config that switches between my Node and Deno configs automatically.
FYI I added the deno-project-p snippet above to the readme so it's more visible to others: https://github.com/rclarey/deno-emacs/tree/master#only-enable-deno-fmt-mode-for-deno-projects


add decorators to execute arbitrary SQL in migrations

Is your feature request related to a problem? Please describe.
I have triggers, stored procedures and views in my database, and I would love to leverage mikro orm's migrations to keep all my code ('including sql'), in my TS respository.
Currently I updated a migration created by mikro orm to add my triggers and views creation statements. this works fine.
However, to speed up the db schema creation process (notably for our CI), from time to time we remove all our migrations and restart from a clean slate using npx mikro-orm migration:create --initial
doing this will loses our custom creation codee, so we need to remember to reapply it manually.
Also, the code is hidden in a migration file. A custom decorator would be much better !
Describe the solution you'd like
a new decorator
@ArbitrarySqlMigration({
 up : 'CREATE TRIGGER my_trigger etc ....',
 down : 'drop trigger my_trigger' })
 });

Describe alternatives you've considered
I know the Index() decorator enables the execution of arbitrary sql code, but :

it's a ugly hack
the code needs to be a one liner or mikro orm generates one sql command per line
the down migration is not handled properly

I am fine with support for triggers, but this feels a bit weird, so closing in favor of the other issue.


Adding MockHTTPDispatcher, MockRequest and MockRequestBuilder to make mocking requests easier

MockHTTPDispatcher has following features:

Mocking a request
Number of times a request is served
Responding to request on demand
Interrupt dispatcher

I don’t understand. What's the goal? Why is mocking requests necessary?

Thanks @swankjesse for the quick response.
I will explain the goal of this pull request with an example. In our android project we are using mockWebServer to mock the responses of our request in the integration tests. The idea is, we don't want to hit the actual services to get the response in tests.
Now in order to do that, we created our own MockHTTPDispatcher which takes a MockRequest and Returns a MockResponse when the request is served. There are tests which makes the requests in different ways. e.g

There is an Android Activity which makes an API call on start. To test that activity using android instrumentation test, we need to mock the API call using MockHTTPDispatcher and render the page ASAP.

Before making the API call, I want to test that there is a loader present on the screen. For which I have  to put the dispatcher on hold(using MockRequest#respondOnDemand) until I see the loader. And after I verify the necessary steps before making the call, I tell the dispatcher to continue with serving the request (using MockRequest#respondNow).

There are cases when I want to mock request to return an image back in response. In those cases I can construct the request by passing an InputStream as a MockResponse (using MockRequest#setResponseStream(InputStream))

In few scenarios I want to test the refresh functionality of a page. In that case I want to know the number of times the request to service API was made. In this case the request will be executed twice,
i) on load of page
ii) on click of refresh button.
MockHTTPDispatcher provides functionality to check, how many times a request was executed.

I hope this helps. In case you need any specific clarification, Please let me know.
Thanks.

Cool! I think this makes a significant scope increase in what MockWebServer does. We don’t yet provide any dispatching policy, and this would introduce that. Which is fine, but I’m reluctant to include it in the core open source project.
Would you be open to creating this as a standalone open source project?

See also https://github.com/orhanobut/mockwebserverplus (and others)

Closing because although this is Good Stuff I’m not prepared to grow the scope of MockWebServer.


We need an entire separate infrastructure environment for internal azure devops PRs

Guidance in
https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/onboardingesteams/security-compliance shows we need to separate the PR and official build environment entirely. New hosted pools and service connections.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

Ops: Need to determine how much work this will be, and what the deadline (if any) is for this work.

while the documentation mentions that this is not something enforced by 1ES PT. It specifically calls scenarios where PR builds have any access to the same resources as official builds, and we share the machine pools and images with things like the signing resources.


Roll Flutter Engine from 75950dc280d5 to 230dfeed79ed (3 revisions)

https://github.com/flutter/engine/compare/75950dc280d5...230dfeed79ed
2023-09-26<EMAIL_ADDRESS>Roll Dart SDK from 7c749713c688 to 7c3588c05f87 (1 revision) (flutter/engine#46288)
2023-09-26<EMAIL_ADDRESS>Prepare fuchsia script to coexist with v1 and v2 of fuchsia builders. (flutter/engine#46126)
2023-09-26<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from uY9WEf2tJxa1Hpp4v... to a56c8yPp4DDlj_Qbl... (flutter/engine#46285)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from uY9WEf2tJxa1 to a56c8yPp4DDl
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


feature add DCHECK in compaction to detect data inconsistency

Proposed changes
Issue Number: close #xxx
Problem summary
MoW will mark all duplicate primary key as deleted, so we can add a DCHECK while compaction, if MoW's delete bitmap works incorrectly, we're able to detect this kind of issue ASAP.
In Debug version, DCHECK will make BE crush, in release version, compaction will fail and finally load will fail due to -235
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run p0

run p0

run p0


Update os-lib_2.13 to 0.10.0

About this PR
📦 Updates com.lihaoyi:os-lib_2.13 from 0.6.3 to 0.10.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "os-lib_2.13" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi", artifactId = "os-lib_2.13" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #56.


NPE during worldgen creating mod structures in sky profiles

Custom modpack using lostcities-1.12-2.0.1
Create new SSP world using "floating", "space", or "waterbubbles" profile.
Screen hangs indefinitely at "Generating terrain".  Console shows a crash.
Crash report shows NPE in LostCityChunkGenerator trying to create an Astral Sorcery treasure shrine.
java.lang.NullPointerException: Exception in server tick loop
	at net.minecraft.world.gen.structure.MapGenStronghold.func_189104_c(MapGenStronghold.java:141)
	at net.minecraft.world.gen.structure.MapGenStronghold.func_180706_b(MapGenStronghold.java:77)
	at mcjty.lostcities.dimensions.world.LostCityChunkGenerator.func_180513_a(LostCityChunkGenerator.java:656)
	at net.minecraft.world.gen.ChunkProviderServer.func_180513_a(ChunkProviderServer.java:307)
	at hellfirepvp.astralsorcery.common.world.structure.StructureTreasureShrine.getGenerationPosition(StructureTreasureShrine.java:85)
	at hellfirepvp.astralsorcery.common.world.WorldGenAttributeCommon.generate(WorldGenAttributeCommon.java:57)
	at hellfirepvp.astralsorcery.common.world.structure.WorldGenAttributeStructure.generate(WorldGenAttributeStructure.java:69)
	at hellfirepvp.astralsorcery.common.world.AstralWorldGenerator.generateWithLastKnownVersion(AstralWorldGenerator.java:107)
	at hellfirepvp.astralsorcery.common.world.AstralWorldGenerator.generate(AstralWorldGenerator.java:85)
	at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:167)

Full crash report: https://pastebin.com/NL1TCm2Y
Worldgen succeeds in the "default" profile using lostcities 2.0.1, as well as all profiles using lostcities 1.0.2

Can you try with a vanilla (non-Lost Cities) customized world with strongholds disabled, and see if you get a similar crash then?

Yep, that was the problem.  Looks like this is fixed as https://github.com/HellFirePvP/AstralSorcery/issues/358 which I somehow missed when I was looking for the issue the first time.  My apologies for the spurious bug report.  :(
Cheers,
-CplPibald


Configure Travis-CI and Codecov integrations

I want the project to strictly adhere to software engineering best practices, so we definitely need a continuous integration server. There is Travis-CI service, which is free and provides almost everything we are going to need. It has GitHub integration, but but requires some configuration.

Test two spaces


Add transaction reprocessing functionality to admin site

ℹ The changes here are part of a larger effort to introduce transaction reprocessing to the admin site.
A 'Reprocess transaction' button has been added to closed transactions on the admin site to permit users with the correct role to initiate transaction reprocessing.
Related pull-requests:

https://github.com/companieshouse/account.ch.gov.uk/pull/300
https://github.com/companieshouse/transactions.api.ch.gov.uk/pull/87
https://github.com/companieshouse/Net-CompaniesHouse-Admin/pull/8
https://github.com/companieshouse/cdn.ch.gov.uk/pull/274

missing a cpanfile update for net companies house admin?

It doesn't exist yet but I'm in the process of prepping the build for smartpan and will push the version bump after that. 👍


error with install profile

When installing the install profile that comes bundled with Drupal, I get an issue that it is unable to install jsonapi_menu_items jsonapi_hypermedia is required.
This is resolved by adding the following line in the drupal/config/core.extension.yml
jsonapi_hypermedia: 0

added pull request https://github.com/chapter-three/next-drupal/pull/491


Error not thrown if given a bad site

In my app I can't always predict if a URL is a valid image. For some urls such as http://mobilefuture.org/cisco-projects-the-future-of-mobile/ the stream service doesn't emit a 'size' or 'error' event at all. I would expect it to always emit one or the other.
var http = require('http');

var createImageSizeStream = require('image-size-stream');
var size = createImageSizeStream();
size
  .on('size', function(dimensions) {
    console.log('response', dimensions)
    request.abort();
  })
  .on('error', function(err) {
    console.log('error', err);
    throw err;
  });

var request = http.get('http://mobilefuture.org/cisco-projects-the-future-of-mobile/', function(response) {
  response.pipe(size);
});

Thanks for reporting. Currently I cannot show you an essential solution for this problem.
For now, maybe http-image-size-promise module helps you.

Ok, what's the root cause though? Is it something fundamentally broken?

I found the cause. This code works as you expected.
var http = require('http');

var createImageSizeStream = require('image-size-stream');
var size = createImageSizeStream();
size
  .on('size', function(dimensions) {
    console.log('response', dimensions)
    request.abort();
  })
  .on('error', function(err) {
    console.log('error', err);
    throw err;
  });

var request = http.get('http://mobilefuture.org/cisco-projects-the-future-of-mobile/', function(response) {
  response.pipe(size);
  response.on('end', function() {
    size.emit('finish');
  });
});

Even if the response stream ends, image-size-stream doesn't finish until it reaches the limit. So we should emit finish event explicitly when response stream ends.
I'll update readme.

Oh, thanks! Yes, a readme update would be great.

I released v1.1.0 that doesn't require this workaround.


upload a workflow from local file

Add the ability to upload a workflow from file, to a named category (folder) within vCO.

https://communities.vmware.com/thread/437416?start=0&tstart=0


Feature/launch project from organization

Added front end for OrgProjectOverview.js right now there is no information retrieved from the backend. Going to create an issue about creating a backend so we can utilize this view to see the added organization projects.

Some duplication in the page. Due to being the mostly the original project view.
This will change in the future when we are going to modify it to Org based needs.


Ensure that scan JSON files are removed when a streaming session is complete.

done. if for whatever reason "host" changes from MS6 IP, one can change the setting in ncemhub/distiller/streaming/config.json

spoke too soon. I do a PUT scans/{id}/remove?host=MS6_IP, and everything seems to work fine on that side. But I think leftover file events (maybe on the wire) are causing scans to re-update with the location again.
@cjh1 is there a good way to put a stop to further events after a recent deletion?

@swelborn If this is the latest scan then the detector will just recreate the progress files, is that what you are seeing?

yes.
i solved this by keeping a "previous scan" cache, so scan_id's locations get removed when scan_id+1 is saved. thus in order to remove the previous scan, you have to take another scan.
this doesn't get updated in the UI immediately. it takes a refresh.


Branch2

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes # <your_issue_number>

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Hey @ePSA-eJya,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @ePSA-eJya , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Single solution?

I've tested SeaPearl.jl /  SeaPearlZoo a little and noticed that the examples (e.g.  n_queens, All-interval_Series) search for all solutions, but for even quite small sizes this takes long time (e.g. 20 queens) . How would I change e.g. n_queens to just get just a single solution, or in general k solutions?

Actually, you can set the limit of solution to search during the initialization of the CP model. This parameter is model.limit.numberOfSolutions. Thinks become tricky when you have to manually change this parameter in the n-queens generator In SeaPearl. As for now, train() function doesn't provide this control.

Thanks for you answer. Now it's manageable to solve 100 queens (about 10s) by changing in classic_cp/n_queens/n_queens.jl (by adding model.limit.numberOfSolutions = 1 in the model_queens(Int) method).
However, this is the classic_cp example, but it's probably more interesting to test the learning_cp examples.


add --prefer-lowest flag to composer install for travis-ci

Adds a new job that runs --prefer-lowest for the lowest tested version of PHP (5.6) to ensure correctness of the library. Added per this comment https://github.com/cakephp/phinx/pull/1591#issuecomment-525316234 and trying to follow advice set in https://www.dereuromark.de/2019/01/04/test-composer-dependencies-with-prefer-lowest/ on adding it.

Looks like https://travis-ci.org/cakephp/phinx/jobs/577409759 reveals some too low constraints here.

Yeah, some version bump will fix it. You can try to reproduce locally for this.

One part is missing
"cakephp/datasource": "^3.6",

in require-dev (as here the dependency wasnt autopulled yet)

Looks good. Let's merge this after https://github.com/cakephp/phinx/pull/1592 - and after we released a bugfix patch.

Small conflict.


Show unsaved changed in the UI

Thanks! This really adds a tremendous amount of polish, and reduces the anxiety that you might accidentally lose work.


Dataset Link

The dataset link provided in the Readme file is just a text with no embedding can someone help me out this ? Is there any other place we can find the dataset link ?

hello，I have the same confusion, do you find other dataset link or similar dataset? Thanks for your help

Hi,
I uploaded the dataset as our another paper (related to this dataset) was accepted. Thank you for your patience and understanding.


Chore: remove "infra-as-code-management" from Sitemap Ignore Patterns

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \ remove "infra-as-code-management" from Sitemap Ignore Patterns
Jira/GitHub Issue numbers (if any): \ N/A
Preview links/images (Internal contributors only): \ N/A

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[x] Successful preview build.
[ ] Code owner review.
[x] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66d1148f1e0b2cd30b006652--harness-developer.netlify.app

Now, the search results also include pages under infra-as-code-management


Falar com a Casa de Bamba para as palestras (@cecivieira @anicelysantos)

@anicelysantos @cecivieira já foram no Conchittas? Vi aqui que tem um mezanino que poderia servir

Vou ver com o Loa .
O evento teria duração de +- 1h30, certo?

Posso estar enganado mas não lembro de a gente ter fechado duração. Mas se tivermos 3 palestras acho que seria umas 2h - 2h30.

As palestras do Cerveja com Dados não costumam ser de 20 minutos?
El vie, 8 abr 2022 a las 15:23, Giulio Carvalho @.***>)
escribió:

Posso estar enganado mas não lembro de a gente ter fechado duração. Mas se
tivermos 3 palestras acho que seria umas 2h - 2h30.
—
Reply to this email directly, view it on GitHub
https://github.com/giuliocc/odd-recife-2022/issues/6#issuecomment-1093164784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJQEJTYKYPJCNCTFLDF4BLVEB2Q5ANCNFSM5R4SBTUA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Não tava ligado nessa. Tava pensando que seria 30-40 min. Acho que 1h30 é suficiente então, mas podemos levar como ponto de pauta na reunião.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
renatomb, @ianpatricck, @stutiguias, @maurochiozzi, @danilobossanova, @2ECStudio, @avelino, @JNussenzveig, @lequinhopucc, @galiazzi, @leandrofreires, @ClaudioSiervi, @admsilva, @AlexBrendo, @valmormn, @nildogalvino, @Marlysson, @renato, @jonnypaes, @prhost

Wtf?

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.diogommartins, @edius1987, @andynhofm, @tresende, @renatoagomes, @richecr, @andreoneres, @TiaguMB, @MarcoRabelo, @jocimar-dev, @dutviol, @samuel-lujan, @thallesgate, @elir0d, @KNipunDananjaya, @gleydson404, @rafaelpissolatto, @Guedesou, @tcelestino, @joseniltoncabral


keyd application mapper takes 100 % CPU from one core of the system

keyd-application-mapper is taking 1 cpu core capping 100% of CPU all the time. Not sure what has happened but I belive this started within 2 weeks after latest upgrade of the system. The keyd works as expected, but the keyd-application-mapper need to be restarted time to time for the CPU to keep down.

I am running on Manjaro Linux / Endeavour OS, KDE with Xorg. I both of the systems I have the issue has NVIDIA card and drivers.
❯ uname -a
Linux namelesslion 6.1.25-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Apr 20 13:48:36 UTC 2023 x86_64 GNU/Linux

❯ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
    CPU family:          6
    Model:               60
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            3
    CPU(s) scaling MHz:  69%
    CPU max MHz:         4400,0000
    CPU min MHz:         800,0000
    BogoMIPS:            7998,88
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds
                         _cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1
                          avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Virtualization features:
  Virtualization:        VT-x
Caches (sum of all):
  L1d:                   128 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    1 MiB (4 instances)
  L3:                    8 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                   Mitigation; Clear CPU buffers; SMT vulnerable
  Meltdown:              Mitigation; PTI
  Mmio stale data:       Unknown: No mitigations
  Retbleed:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Mitigation; Microcode
  Tsx async abort:       Not affected

❯ sudo dmidecode --type=system
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: ASUS
        Product Name: All Series
        Version: System Version
        Serial Number: System Serial Number
        UUID: 908b20a0-d82f-11dd-8fc5-086266c5cbf5
        Wake-up Type: Power Switch
        SKU Number: All
        Family: ASUS MB

Handle 0x002A, DMI type 12, 5 bytes
System Configuration Options
        Option 1: To Be Filled By O.E.M.

Handle 0x002C, DMI type 32, 20 bytes
System Boot Information
        Status: No errors detected

❯ sudo dmidecode --type=baseboard
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK COMPUTER INC.
        Product Name: Z97-A-USB31
        Version: Rev 1.xx
        Serial Number:<PHONE_NUMBER>00627
        Asset Tag: To be filled by O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To be filled by O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0028, DMI type 10, 8 bytes
On Board Device 1 Information
        Type: Video
        Status: Enabled
        Description:    To Be Filled By O.E.M.
On Board Device 2 Information
        Type: Ethernet
        Status: Enabled
        Description: To Be Filled By O.E.M.

Handle 0x0042, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard IGD
        Type: Video
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:02.0

Handle 0x0043, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard LAN
        Type: Ethernet
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:19.0

Handle 0x0044, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard 1394
        Type: Other
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:03:1c.2

keyd config
❯ cat /etc/keyd/default.conf
[ids]

*

[main]

capslock = overload(music, capslock)

[music]
[music+shift]

left = previoussong
right = nextsong
space = playpause

❯ cat .config/keyd/app.conf
[konsole|*nvim*]

shift.`= ~
esc = `
` = esc

[konsole|*git*]

shift.`= ~
esc = `
` = esc

[alacritty|*nvim*]

shift.`= ~
esc = `
` = esc

[alacritty]

shift.`= ~
esc = `
` = esc

[neovide]

shift.`= ~
esc = `
` = esc

[focusproxy]

control.c = esc
control.n = down
control.p = up

Is there some specifc system information other than I provided that you would like me to present?

I can't seem to reproduce this. What vesion of keyd are you using (keyd -v)? Can you post the output of keyd-application-mapper -v while reproducing this issue?

The keyd works as expected, but the keyd-application-mapper need to be restarted time to time for the CPU to keep down.

Can you clarify what you mean by this? Are you saying it initially idles and then randomly spikes to 100%? Or is it consistently using 100% CPU?

My keyd version is:
❯ keyd -v
keyd v2.4.2 (aa4c5cf)

Can you clarify what you mean by this? Are you saying it initially idles and then randomly spikes to 100%? Or is it consistently using 100% CPU?

It is more or less random, like a case might go like this. :point_down:
I open a computer, then I open a few apps,  like slack and firefox, each in different virtual desktop. At first there is no issues. But after a while when I am using firefox e.g. watching a video in youtube and going back and forth between virtual desktops, it starts to spike. The only way to get it under control is to kill the application-keyd-mapper and then restarting it with keyd-application-mapper -d &.
Sometimes doing this once is enough to keep it not spiking again, but there are many times when the above repeats even many times in a short period of time while not just being in youtube but in terminal Alacritty and neovim.
The keyd-application-mapper is started at first with KDEs autostart script
~/.config/autostart
❯ cat keyd-application-mapper.sh
#!/bin/bash

keyd-application-mapper -d

Can you try building from master?

Sure, just installed, I will monitor the situation and get back with the results later

Today is the second day after the update, and seems like the update from master has made it to calm down. So far haven't got any annoying spikes. :+1:  Let's wait and see, but seems promising :slightly_smiling_face:

I believe the master version fixes the issue, haven't seen those spikes a while now.


TypeError: 'NoneType' object is not subscriptable (I want to do it in a new test environment, not in the gradio.)

The code performed fine in colab. I want to do it in a new test environment, not in the gradio on my development server.
However, the code below gives an error.
generation_output = model.generate(
            input_ids=input_ids,
            generation_config=generation_config,
            return_dict_in_generate=True,
            output_scores=True,
            max_new_tokens=2048,
        )

test.py is equivalent to generate.py.
/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/generation/utils.py:1374: UserWarning: You are calling .generate() with the `input_ids` being on a device type different than your m
(conda_alpaca) jovyan@ranking-0:~/alpaca-lora$ python3 test.py

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
CUDA SETUP: CUDA runtime path found: /opt/conda/envs/conda_alpaca/lib/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 6.1
CUDA SETUP: Detected CUDA version 118
/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!
  warn(msg)
CUDA SETUP: Loading binary /opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cuda118_nocublaslt.so...
The tokenizer class you load from this checkpoint is not the same type as the class this function is called from. It may result in unexpected tokenization.
The tokenizer class you load from this checkpoint is 'LLaMATokenizer'.
The class this function is called from is 'LlamaTokenizer'.
Loading checkpoint shards: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 33/33 [00:14<00:00,  2.22it/s]
Instruction: Tell me about alpacas.
Traceback (most recent call last):
  File "test.py", line 90, in <module>
    print("Response:", evaluate(instruction))
  File "test.py", line 47, in evaluate
    generation_output = model.generate(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/peft/peft_model.py", line 581, in generate
    outputs = self.base_model.generate(**kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/generation/utils.py", line 1490, in generate
    return self.beam_search(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/generation/utils.py", line 2749, in beam_search
    outputs = self(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = old_forward(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 772, in forward
    outputs = self.model(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 621, in forward
    layer_outputs = decoder_layer(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = old_forward(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 316, in forward
    hidden_states, self_attn_weights, present_key_value = self.self_attn(
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = old_forward(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 216, in forward
    query_states = self.q_proj(hidden_states).view(bsz, q_len, self.num_heads, self.head_dim).transpose(1, 2)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = old_forward(*args, **kwargs)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/peft/tuners/lora.py", line 522, in forward
    result = super().forward(x)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/bitsandbytes/nn/modules.py", line 242, in forward
    out = bnb.matmul(x, self.weight, bias=self.bias, state=self.state)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/bitsandbytes/autograd/_functions.py", line 488, in matmul
    return MatMul8bitLt.apply(A, B, out, bias, state)
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/torch/autograd/function.py", line 506, in apply
    return super().apply(*args, **kwargs)  # type: ignore[misc]
  File "/opt/conda/envs/conda_alpaca/lib/python3.8/site-packages/bitsandbytes/autograd/_functions.py", line 360, in forward
    outliers = state.CB[:, state.idx.long()].clone()
TypeError: 'NoneType' object is not subscriptable

This seems to be a gpu memory issue and there seems to be a solution similar to https://github.com/tloen/alpaca-lora/issues/22.

I have the exact same problem. Any fix? Thank you.


Add: Documentation style enforcement

Changelog: None
Signed-off-by: Ole Petter<EMAIL_ADDRESS>

Looks promising... let me know when you want a formal review ;)

@lluiscampos feel free to have a look now :)

Discussed in person with @oleorhagen. Unless others in the team strongly oppose, the conclusions are:

Doing the documentation restructuring is a golden opportunity to introduce these kind of checks. We really want get this PR merged! It also resonates well in process and principles to what we do with our code.
We will enforce 2 of the checks: passive voice and weasel. @oleorhagen takes responsibility in fixing the already merged pages that fail on these.
For the Gunning Fog index check: we will relax the criteria. Still to be decided if we will enforce it (i.e. if it is simple and intuitive how to improve the index) or just warn about it (if it turns out difficult for a typical doc writer to improve).

Merge?

I'm merging for now, so that this is present on monday when I am not here. So that more catch-up won't be required from my side.


fix: check url protocol instead of origin

Fix #5725
Because url.origin is not "null" in all browsers, it would be better to check protocol instead.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you!


Support limit max subscriptions per topic

Fix #8226
Motivation
Support limits the max subscriptions per topic of the Pulsar cluster. When the subscriptions reach the max subscriptions of the topic, the broker should reject the new subscription request and reject the consumer to subscribe to this topic.
Modifications

Add maxSubscriptionsPerTopic=0 in the broker.conf and don't limit by default.
add limit max subscriptions per topic

Verifying this change
AdminApiTest2#testMaxSubscriptionsPerTopic

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


No Response in English only in response email

Description
Empty fields in French yield an English string
Steps to reproduce

Go to a French form with email delivery
Fill out leaving some fields blank
See "No Response" in email for unanswered questions in French

Details

Browser: Edge
Operating system: Mac
Environment: Staging
Language: French
Viewport: Desktop

Expected behaviour

Aucune réponse in French?

Screenshots or videos

Issue already created here , so will be closing this one :)


SharpBrick

Hi, I am the maintainer of SharpBrick. Can you give me some insights in your project?
My Mindstorms set is still unopened (I punish myself and wait for my birthday ;)).

It's just a UI app to be able to read all the status values from the spike/mindstorms hub, get console logs, and upload python programs to the hub without needing the full mindstorms app.
I tried using SharpBrick at the start, but the spike hubs are not BLE and use a completely different protocol, so it needed something more custom.

Cool. I have the feeling that I have to learn Python ;)
In case you every want to make something "library" style out of it ... I hope we can collaborate on that.


[Fix] Fix the punctuation display problem and the path separator problem on Windows

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation

1.Fix the punctuation display problem on Windows, when running the command mim run mmdet -h.

2.Fix the path separator problem on Windows, when running the command mim run mmdet -h.
Modification
Replace all Don’t -> Don\'t for problem 1.
In mim/click/customcommand.py, '/' -> os.sep for problem 2.

Hi @RangeKing , thanks for your kind contribution~
I haven't reproduced this display problem in both CMD and Powershell.
Can you provide more information to help me reproduce this problem? ^_^

@ice-tong It also occurs in CMD which uses a different font from Powershell.
Here's my env info:
Name: openmim
Version: 0.3.2

sys.platform: win32
Python: 3.8.13 (default, Mar 28 2022, 06:59:08) [MSC v.1916 64 bit (AMD64)]
CUDA available: True
numpy_random_seed:<PHONE_NUMBER>
GPU 0: NVIDIA GeForce RTX 2070
CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
NVCC: Cuda compilation tools, release 10.1, V10.1.16
GCC: n/a
PyTorch: 1.8.1+cu101
PyTorch compiling details: PyTorch built with:
  - C++ Version: 199711
  - MSVC 192829913
  - Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.7.0 (Git Hash 7aed236906b1f7a05c0917e5257a1af05e9ff683)
  - OpenMP 2019
  - CPU capability usage: AVX2
  - CUDA Runtime 10.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.4
  - Magma 2.5.4
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=10.1, CUDNN_VERSION=7.6.4, CXX_COMPILER=C:/w/b/windows/tmp_bin/sccache-cl.exe, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -DNDEBUG -DUSE_FBGEMM -DUSE_XNNPACK, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.8.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON,
USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON,

TorchVision: 0.9.1+cu101
OpenCV: 4.6.0
MMEngine: 0.2.0
MMCV: 2.0.0rc1
MMDetection: 3.0.0rc1
MMYOLO: 0.1.1+5153d05

Hi @RangeKing, thanks for the information~
I have not successfully reproduced this problem, but I believe it is an enhancement that does not affect compatibility.
This change looks great to me, and you should rebase the main master to fix the pre-commit error in CI. ^_^

Hi @RangeKing , the rebase seems not successful.

Maybe the following steps work:
git add remote mim https://github.com/open-mmlab/mim.git
git pull mim main:main
git rebase main
git push -f origin fix_typo:fix_typo

@ice-tong Thank you for your patient guidance. The rebase had been successful.


Make coordinates clickable everywhere

In a couple places, it's possible to click on coordinates to bring up an external mapping application:

sidebar (balloon / chase car details)
landing prediction popup

Elsewhere, coordinates are displayed as plain text. It would be convenient to have coordinates displayed as a clickable link everywhere.
Here I extracted the common code for generating a link into a function (format_coordinates), and used it to display coordinates in the following places:

historical landing popup
balloon path popup
recovery popup
recoveries pane

Thanks for this! Could you please redirect this PR to the testing branch?

Sure, I'll do that in a few hours when I'm back at the computer.

I forgot to mention that I tested this on desktop and Android, but not with iPhone as I don't have a device to test with.

Rebased and re-tested.

Thanks! This is also cleans up the code a bit which is nice. It would be good to have this on sondehub-amateur-tracker too.


not minifying correctly

In my project i have custom div like

<page:login:new:user></page:login:new:user>

And when I do minify, it is getting converted as

<page:login :new:user=""></page:login>

Any idea on how to solve this ?

Have you ever read at least the top of README before opening this issue?

Sorry my mistake. I will create issue there.
BDW if you know anything rather than correcting non useful comment, Solve above issue

Solve above issue

That's the point, we can't solve minifying issues.


Add config param GAMESCOPECMD_BASE

This setting helps set the base call for the gamescope without overwriting the main algorithm for setting the remaining arguments, which can be useful in some scenarios.

Hello. Thanks for the PR.
We recently refactored how the GAMESCOPECMD is constructed. You can now set individual parameters with environment variables very easily. So I think the spirit of what you are doing in this PR is satisfied.
Let me know if you agree and I will close this PR.


use NFS on Mac OS if available

Following the instructions from this blog post I would like tric to detect, and if available use, NFS to bind volumes.

Since the introduction of VirtIO FS in Docker for Mac, this is no longer required.


[DRAFT] Persist EFs

Description of changes
This PR adds persistence to embedding functions. No need to pass one when you get_collection anymore!
This PR uses the registry to keep track of embedding functions, and stores their initialization arguments in the collection. It then reconstructs the embedding function on get using these things.
This PR makes heavy use of python metaclasses for maximum developer convenience - there is nothing extra we have to do to get all of our existing, and any future, EF's persisted. It Just Works™
Is this madness? Some might say so. Those people don't get to persist their embedding functions.
Test plan
TBC
Documentation Changes
TBC

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2266  👈
#2265
main

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

Join @atroyn and the rest of your teammates on  Graphite

https://github.com/chroma-core/chroma/pull/2230 is a big and useful boost here, since it means that a server doesn't need to know about EFs which exist only on the client. Waiting on that to land before proceeding.


Bug: MessageKit Wallets fail in Converse import key

Bug: MessageKit Wallets fail in Converse import key

Debugged step by step and the thing that breaks the import in messagekit is this line
await client.registerIdentity();

https://github.com/ephemeraHQ/message-kit/pull/128
Fixed with latest node-sdk!


#626 Add support for keys prefixed with a number

Fix #626

Why is spelling out the number instead of removing it not acceptable  ?

It still doesn't give a consistent experience where R.swift converts strings like 0.5_inch or #5 into a logical easy to understand variable name. I believe a consistent easy to understand conversion to a variable name is more important and in most cases it's easy to change the name of your image/string/etc yourself.


onDidOpenNotebookDocument - emit event only once when opened in two editors

1) Notebook Document
       onDidOpenNotebookDocument - emit event only once when opened in two editors:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (D:\a\_work\1\s\extensions\vscode-api-tests\out\singlefolder-tests\notebook.document.test.js)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

https://dev.azure.com/vscode/VSCode/_build/results?buildId=70483&view=logs&j=a8a6689c-5a84-59c0-482a-7dd9f21eb2d8&t=1fa6fb8d-7bb3-5acd-5778-bf99aac7f637&l=391
https://dev.azure.com/monacotools/Monaco/_build/results?buildId=180738&view=logs&j=0304f796-6596-5b42-8573-3d5da85bc4a5&t=4c50b82f-3f48-5844-7225-93b0027cedfd&l=390

Will skip.

@bpasero thanks! This suite is back for a day and it's quick to get it fail.

For new tests or to see if flakiness is fixed, I was doing this for a few cases:

setup a branch where potentially flaky tests are enabled again
duplicate the run test task 20 times to have many test runs at once
trigger a few builds over the day and see if any flake is there

If like a 100 runs are without flake, then I merge to main

Note that the failures are from Browser tests. From the error messages, it seems that they fail as we can't open the notebook webview successfully, but each time the webview errors are different
A bad HTTP response code (504) was received when fetching the script. []
Webview fatal error: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/') with script ('[https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888')](https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888%27)): A bad HTTP response code (504) was received when fetching the script.. [
  "Webview fatal error: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/') with script ('[https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888')](https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888%27)): A bad HTTP response code (504) was received when fetching the script.."
]
Error loading webview: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/') with script ('[https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888')](https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888%27)): A bad HTTP response code (504) was received when fetching the script.. [
  "Error loading webview: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/') with script ('[https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888')](https://1sr4v4hac2chrqpcnb9t344h9pv361df3v28u1lhu2umjtgjqt49.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=localhost:9888%27)): A bad HTTP response code (504) was received when fetching the script.."
]

Request Failed https://00r1nfda1fgrjbqk94dvnf0lr8tgl96edbk0uic3s9grgl0pfodo.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html?id=c69e1d4c-5873-42db-a555-06db93e9349b&origin=c69e1d4c-5873-42db-a555-06db93e9349b&swVersion=4&extensionId=&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=http%3A%2F%2Flocalhost%3A8000&remoteAuthority=localhost%3A8000&purpose=notebookRenderer NS_ERROR_UNKNOWN_HOST

Playwright ERROR: HTTP status 502 for https://1eqaoo0mrofmdp6np25apk43jb4k3esejc8d98un5nkrosm6d5tq.vscode-cdn.net/insider/3c8520fab514b9f56070214496b26ff68d1b1cb5/out/vs/workbench/contrib/webview/browser/pre/main.js

@mjbvz any recommendations here that we can run notebook tests safely?

@rebornix I'm not sure. I've bumped the content that the webview tries to load with #157959 but am not sure that will help with these issues

Let's merge it into https://github.com/microsoft/vscode/issues/170072, I have been adding more logs to identify it's webview or waiting for active notebook editor event.


Fix Editor Page Wrong Position Bug

This should fix #1043 (could not test thoroughly due to technical issues my side)

The preview deployment works perfectly!

This Problem was fixed and does not exist now

This Problem was fixed and does not exist now
do a pull to update and see the Editor page.

I know, but when I had made this PR, this was a critical bug and no PR before mine solved this.
Should I close this myself?

@N-Shar-ma @ashuvssut  Thanks a lot for your overall contribution to the project. Do let me know if I can help out with writing any recommendation for you on LinkedIn or anything else. All the best for your future endeavors. In case, you wanted to stick longer, this project is also a part of LGSOC'21

@N-Shar-ma @ashuvssut Thanks a lot for your overall contribution to the project. Do let me know if I can help out with writing any recommendation for you on LinkedIn or anything else. All the best for your future endeavors. In case, you wanted to stick longer, this project is also a part of LGSOC'21

Yes Sir, a LinkedIn recommendation would be wonderful, thank you so much!
My LinkedIn profile link is: https://in.linkedin.com/in/nehal-sharma-55998b205


Include dashed line in default zoom

It would be great if the automatic zoom after adding a tag would include the dashed line too. Currently it ends often way outside the graph. See e.g. https://taghistory.raifer.tech/#/marker/ or https://taghistory.raifer.tech/#/playground/

Thanks!


Same function names in multiple namespaces is unsupported

Per https://github.com/Microsoft/aspnet-api-versioning/wiki/How-to-Version-Your-Service, you should be able to create multiple versions of a controller by splitting them over multiple name-spaces, and using the same names. v2.1.0 is failing at this, and producing (for my case at least) the following error:
{
    "Message": "An error has occurred.",
    "ExceptionMessage": "Multiple types were found that match the controller named 'GetWebserviceVersion'. This can happen if the route that services this request ('api/v{version:apiVersion}/wsversion') found multiple controllers defined with the same name but differing namespaces, which is not supported.\r\n\r\nThe request for 'GetWebserviceVersion' has found the following matching controllers:\r\nPSConnectWS.PSConnect_5_0.GetWebserviceVersionController\r\nPSConnectWS.PSConnect_4_0.GetWebserviceVersionController",
    "ExceptionType": "System.InvalidOperationException",
    "StackTrace": "   at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.SelectController(HttpRequestMessage request)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}

This directly contradicts the documentation.
I can provide a code example if necessary.

Based on the stack trace, it appears that you are using Web API and also have not called configuration.AddApiVersioning. Given that a try. If it still isn't working, please share your relevant startup configuration.

I've got a Global.asax.vb containing: (Apologies for the vb.net - legacy project)
Public Class Global_asax
    Inherits System.Web.HttpApplication

    Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
        ' Fires when the application is started
        LogHelper.Log("[Webservice] Application Started. Version: " & Service1.WEBSERVICE_VERSION)

        Dim configuration = New HttpConfiguration
        configuration.MapHttpAttributeRoutes()
        ' We need to consider if 4.0 is the correct version to default to - see
        ' [https://github.com/Microsoft/aspnet-api-versioning/wiki/API-Version-Selector] for use of selector
        configuration.AddApiVersioning(Sub(options As Microsoft.Web.Http.Versioning.ApiVersioningOptions)
                                           options.AssumeDefaultVersionWhenUnspecified = True
                                           options.DefaultApiVersion =
                                               New Microsoft.Web.Http.ApiVersion(4, 0)
                                           options.ApiVersionSelector =
                                               New Microsoft.Web.Http.Versioning.LowestImplementedApiVersionSelector(options)
                                       End Sub)
...
        RouteTable.Routes.MapHttpRoute("UploadFile",
                                       "api/v{version:apiVersion}/uploadfile",
                                       defaults:=New With {.controller = "Upload"})
...
    End Sub

The actual controllers are as:
<RoutePrefix("api/upload")>
<ApiVersion("4.0")>
Public Class UploadController
    Inherits ApiController

    ' Upload file to container
    <ActionName("uploadfile")>
    <HttpPut>
    <Route("api/v{version:apiVersion}/uploadfile")>
    Public Async Function UploadFile(ByVal request As HttpRequestMessage) As Threading.Tasks.Task(Of Boolean)
   ...

Have I just got this completely wrong?

I don't mind VB; it's one of the many languages I know. Nor do I consider it legacy. ;)
I think the fundamental issue is that you are trying to support an implicit API version in the URL, which isn't really possible - with or without this library. Even with default parameter values, you can't make it work. For example, you cannot define api/foo/{id=42}/bar and then request api/foo/bar to implicitly match api/foo/42/bar. This is just how URLs and Web API work. This behavior is called out in the known limitations and there have been quite a few discussions here about it.
All is not lost however. You can get the results you want, but you'll have to declare duplicate routes on your controller of the default route path. This isn't a huge deal, but it can be a pain to manage. Choosing that behavior will require you remove and add routes between controllers every time the default route changes, if ever. For a small number of routes, that's workable. However, if you have a bunch of controllers, it could become untenable. If you never change your default API version, it's a non-issue.
There are a few alternatives if you really want to make this work. If you use the query string instead of a URL segment, you won't have this problem. Query string parameters are not part of the path and are therefore optional. This makes it easy to implement a default API version. Since you're using Web API, the other option is to implement a custom IDirectRouteProvider as another user did in Issue #73.
Given your current setup, here's how you can make it work with multiple routes on the same controller as also described in the known limitations:
<ApiVersion("4.0")>
<RoutePrefix("api")>
Public Class UploadController
    Inherits ApiController

    <HttpPut>
    <Route("upload")>                       ' PUT api/upload
    <Route("v{version:apiVersion}/upload")> ' PUT api/v4/upload
    Public Function Put(ByVal request As HttpRequestMessage) As Task(Of IHttpActionResult)
       Dim response As IHttpActionResult = StatusCode(HttpStatusCode.Created);
       Return Task.FromResult(response);
    End Function
End Class

Since you've configured 4.0 to be your default API version and you allow clients to not specify an API version, this means the following routes both match 4.0:

api/upload - implicitly matches 4.0 because no API version was specified
api/v4/upload - explicitly matches 4.0

Both routes map to the same controller and action.
I hope that gets you on your way. Feel free to ask more questions.

@lkingsford  Did this solution happen to work for you?

Thanks for giving us options.  We came to the conclusion that we had enough API calls that it was going to be untenable to maintain in its current form. We ended up porting the older parts of the API to where the long term home of the new API functions is going to be.
Thank you so much for your help. I'm sorry that I wasn't able to use it better.


Start page example in GOV.UK Frontend review application has illogical layout

This issue is from a May 2019 external accessibility audit report.
WCAG Reference: Usability feedback only, there is no WCAG related guidelines.
Issue ID: DAC_Issue31
URL: http://govuk-frontend-v3.herokuapp.com/full-page-examples/start-page
Screen Shot

The start pages contain important information that appears below the ‘Start now’ button.
This could result in users missing important content.
Current Code Ref(s)
 Start now

Contents

  More information

Screen reader comments

“The additional information to provide me with more information was located below the ‘Start now’ button. This could be problematic for some users as many users might not navigate past the ‘Start now’ button to view more content and may need to return to the start page to locate the further information. Ensuring that all necessary information to complete the process can be located above the ‘Start now’ button will enable users to complete the service with all necessary information available prior to beginning the service. It may also assist users if headings could be used for the additional information rather than tabs to ensure that the user is able to locate the information more efficiently. This occurred using JAWS, NVDA and VoiceOver for iPhone and Mac.”

Solution
Consider placing the information prior to the ‘Start now’ button, or on a page prior to the ‘Start now’ button. It would also benefit users if a heading could be provided above the ‘More information’ text, stating words to the effect of ‘Before you start’.

I think given this is usability feedback on the start pages pattern owned by GOV.UK Publishing we should record this in the start pages backlog entry and let them know.
I've added awaiting-triage for us to discuss this as a team


Project Cracker Stack Overflow - MsBuild 15 / VS2017 RC

When loading a project with multiple project references, it is possible to cause FSAC to error out with a stack overflow. The project in question has a reference setup like:
Active Project -> Common Project
Active Project -> Related Project -> Common Project
Removing references that share common project seems to fix this issue, but obviously it breaks the build and prevents that specific reference from resolving.

It seems like it might actually be related to https://github.com/fsharp/FSharp.Compiler.Service/issues/672
The common dependency seems like a coincidental observation. These specific projects contain dots and the system in question has both 4.0 and 4.1 installed.

I installed VS 2017 and am hitting this - nothing works in Ionide anymore. Are there any workarounds (short of uninstalling VS 2017)?

I've done some investigation and added some further comments on the FSCS issue. As a temporary workaround:

Go to %USERPROFILE%\.vscode\extensions\Ionide.Ionide-fsharp-<version>\bin
Edit FSharp.Compiler.Service.ProjectCrackerTool.exe.config

Add this redirect:
<dependentAssembly>
  <assemblyIdentity name="Microsoft.Build.Tasks.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"/>
</dependentAssembly>

And try again.

@csmager doesn't that prevent you from building the new fsproj format for netcore projects?

@cloudRoutine it might do, but I've not got any at the moment! This certainly needs a 'proper' fix, but this is enough for me to get some work done.

It's for project cracker, project cracker doesn't take part  in building things.
It shouldn't have impact on calling  MsBuild differently (command line / FAKE /  Iondie's MsBuild commands)

Will be fixed in next release as it's fixed in FCS


Occlusion material

Hi!
I made simple example in unity, that shows how quad occluded cubes.

I used a simple shader for it

and I’m trying to do the same with use filament:

I load "DamagedHelmet.glb"

I create occlusion material

I create quad, and setup material + renderable manager

result if I set RenderableManager::Builder(1).priority(0) for QUAD

result if I set RenderableManager::Builder(1).priority(6) for QUAD

What am I doing wrong?

OS: macOS 10.15.7 (19H2)
Backend: OpenGL

It seems to be working when you set the priority to 0. How do you render the background?

Note: the built-in Skybox object is rendered last (priority = 7), so it will be affected by your depth writes. Which would explain what you showed in step 4 if you are indeed using a Skybox to draw the background.

Yeah, you’re absolutely right - It's Skybox on the background, thanks for the tip I understand my "problem" =)
maybe it will be useful for somebody else


Update and move Dialog and add DialogButton

So I made some improvements. However some of the tests are failing for Dialog.confirm(). It should be the same setup for Dialog.prompt(), where they are all working. So maybe one of you guys has an idea.

@kmoschcau The problem happens I those cases where you do not provide options at all. In this case, all 3 overloads match (because you do not explicitly specify parameter types in the callbacks), so the first one is taken. I suppose, in this case (when no options are provided or jQuery is not part of the options) the callbacks only need to take HTMLElement because jQeury is not included in the defaultOptions of Application and thus will be undefined in this case, i.e. when checked will evaluate to false.

Oh because I put it in as empty object in prompt! Yeah I can change the tests to do what you suggested tomorrow.


Unable to set refreshing to false without clearing my adapter

So long as I never set refreshing to false after loading up my adapter with new objects, my adapter does not disappear. When I set refreshing to false with:
if (mSwipeRefreshLayout.isRefreshing()) {     mSwipeRefreshLayout.setRefreshing(false); }
My entire adapter disappears and every item in my list. If I don't set it to false I'm stuck at the fireworks "popping" animation.
mSwipeRefreshLayout.setOnRefreshListener(() -> {
                    if (!isOnline) {
                        mSwipeRefreshLayout.setRefreshing(false);
                        Toast.makeText(getContext(), getString(R.string.cannot_retrieve_messages), Toast.LENGTH_SHORT).show();
                    } else {
                        Date onRefreshDate = new Date();
                        /*System.out.println(onRefreshDate.getTime());*/
                        refreshData(onRefreshDate, adapter);
                    }
                });

Refreshing my data:
private void refreshData(Date date, FeedAdapter adapter) {
        String groupId = ParseUser.getCurrentUser().getString("groupId");
        ParseQuery<ParseObject> query = new ParseQuery<>(ParseConstants.CLASS_YEET);
        query.whereContains(ParseConstants.KEY_GROUP_ID, groupId);
        query.orderByDescending("lastReplyUpdatedAt");
        if (date != null)
            query.whereLessThanOrEqualTo("createdAt", date);
        query.setLimit(1000);
        query.findInBackground((yeets, e) -> {

            /*if (mSwipeRefreshLayout.isRefreshing()) {
                mSwipeRefreshLayout.setRefreshing(false);
            }*/

            if (e == null) {
                // We found messages!
                mYeets.removeAll(yeets);
                mYeets.addAll(0, yeets); //This should append new messages to the top
                adapter.notifyDataSetChanged();
                ParseObject.pinAllInBackground(mYeets);

                /*System.out.println(yeets);*/
                if (mRecyclerView.getAdapter() == null) {
                    adapter.setHasStableIds(true);
                    mRecyclerView.setHasFixedSize(true);
                    adapter.notifyDataSetChanged();
                    mRecyclerView.setAdapter(adapter);
                } else {
                    adapter.notifyDataSetChanged();
                }
            }
        });
    }

Cool animation but my data disappears! Debugging suggests that the line mSwipeRefreshLayout.setRefreshing(false); is the culprit after successfully retrieving my query, but I'm not sure why. I should mention my adapter is instantiated in a Fragment.
It's almost like the setRefreshing method alters the top padding of the FireworkyPullToRefreshLayout, pushing it down out of the screen's view.

Hi, @santafebound ! If you do not want in any case to start the animation when the user pulls the curtain, just set the FireworkyPullToRefreshLayout.OnChildScrollUpCallback:
`mPullRefreshView.setOnChildScrollUpCallback(new FireworkyPullToRefreshLayout.OnChildScrollUpCallback() {
@Override
public boolean canChildScrollUp(@NonNull FireworkyPullToRefreshLayout parent, @Nullable View child) {
//return true if you want to block the animation
return true;
}
});`

This issue was fixed in 1.0.3


is there a llama.cpp version?

is there a llama.cpp version?

Hi @lucasjinreal,
Thanks for your attention.
Yes, we are working on the bloom.cpp and llama.cpp versions. Stay tuned! :-)
Best,
Zhihong

Awesome! looking forward to it!


[BUG] Failed to validate mongod version

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-41-generic x86_64)
Python version (python --version): 3.10.9
FiftyOne version (fiftyone --version): 0.20.1
FiftyOne installed from (pip or source): pip
MongoDB version: 6.0.5

Commands to reproduce
As thoroughly as possible, please provide the Python and/or shell commands used to encounter the issue. Application steps can be described in the next section.
import fiftyone as fo

Describe the problem
importing FiftyOne using a shared MongoDB returns:  Failed to validate mongod version
"database_validation": false set in config.json
Code to reproduce issue
import fiftyone as fo
Other info/logs
config.json
{
"database_validation": false,
"database_uri": "mongodb://xxx:xxx@localhost:xxxx/?authSource=ad>
}
What areas of FiftyOne does this bug affect?

[ x] App: FiftyOne application issue
[ ] Core: Core Python library issue
[ ] Server: FiftyOne server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently
[ ] Yes. I would be willing to contribute a fix for this bug with guidance from the FiftyOne community
[x ] No. I cannot contribute a bug fix at this time

Can you please share the full stack trace? There's some kind of issue connecting to the mongod server that you've configured via database_uri.
Specifically it is this line that is failing:
https://github.com/voxel51/fiftyone/blob/de89c6d45669bf31489b17a4dd3b6bb59b4e5757/fiftyone/core/odm/database.py#L286
which is just making a harmless call to check the mongod version. You'll notice in the code that this value is not actually used for anything in your case, since you have database_validation=False.

@brimoor I added the stack trace

Okay the original error is:
OperationFailure: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}

which suggests that your mongo URI
mongodb://xxx:xxx@localhost:xxxx/?authSource=ad>

isn't correct for your setup. The format of that should be something like:
mongodb://[username:password@]host[:port]

Thank you for your help Brian, I missed the authentication error.
The URI that worked for me is:
"database_uri": "mongodb://username:password@localhost:port/?authMechanism=>

@brimoor @ufosoftwarellc I'm getting the same error in Google Colab. To reproduce:
!pip install fiftyone
import fiftyone

How can I resolve this?

@glenn-jocher if you're running in Google Colab (or any other Ubuntu 22.04 machine), you must manually install the correct MongoDB version like so:
!pip install fiftyone
!pip install fiftyone-db-ubuntu2204

See also: #3321, #3236, #2900, #2737, #2480, #1988, #1803

@brimoor thank, you got it!

closing


Conflicting AWS Provider versions between modules

Describe the Bug
If I happen to use this module with cloudposse/terraform-aws-eks-node-group I get a conflicting provider error for aws.
When running terraform init -backend=false . on the related terraform:
Initializing provider plugins...
- Using previously-installed hashicorp/null v2.1.2
- Using previously-installed hashicorp/local v1.4.0
- Using previously-installed hashicorp/kubernetes v1.12.0
- Using previously-installed hashicorp/template v2.1.2
- Finding hashicorp/aws versions matching ">= 2.0.*, < 4.0.*, ~> 3.0, >= 2.0.*, < 4.0.*, >= 2.0.*, < 4.0.*, ~> 2.0, ~> 2.0"...

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider hashicorp/aws:
no available releases match the given constraints >= 2.0.*, < 4.0.*, ~> 3.0,
>= 2.0.*, < 4.0.*, >= 2.0.*, < 4.0.*, ~> 2.0, ~> 2.0

FWIW, this output includes module boundaries from a few other cloudposse modules (like terraform-aws-dynamic-subnets, terraform-aws-vpc, etc)
Expected Behavior
I should be able to get all providers
Steps to Reproduce:
Steps to reproduce the behavior:

Create .tf with module usage of both cloudposse/terraform-aws-eks-node-group and this module using the latest versions of both as of writing this (0.10.0 and 0.15.2 respectively)
Run terraform init -backend=false .
See error output

Environment:

OS: OSX
Version 10.15.6

Output of terraform -version within terraform dir:
Terraform v0.13.1
+ provider registry.terraform.io/hashicorp/kubernetes v1.12.0
+ provider registry.terraform.io/hashicorp/local v1.4.0
+ provider registry.terraform.io/hashicorp/null v2.1.2
+ provider registry.terraform.io/hashicorp/template v2.1.2

After https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/pull/32 is merged, this repo will probably need to bump versions as well to resolve this issue

Also hitting required_version issues between modules, bumping
https://github.com/cloudposse/terraform-aws-eks-workers/blob/master/main.tf#L171 to v0.7.4 should fix.

This should be fixed now that we have removed upper bounds on all providers in all Cloud Posse Terraform modules.


Update Docs: migrate Beta Features - Custom Formatters

Related to #7040

@privatemaker can you resolve the merge conflict please?

Should be resolved.


Postgresql casts

I was wondering if it's possible to select using a cast with the table syntax:
q = Query.from_(customers).select(customers.id, customers.fname, customers.lname, customers.phone)

to be something like
SELECT customers.phone::phone FROM customers

Thanks!

that is postgresql syntax for casting, which you can achive with the more standard 'cast( customers.phone as phone)' function, which is supported in pypika, AFAIK. Something along the line of:
from pypika.functions import Cast
q = Query.from_(customers).select(
    customers.id,
    customers.fname,
    customers.lname,
    Cast( customers.phone, 'phone')
)


Improper specification of the  illegal_initial_characters

From @GoogleCodeExporter on March 16, 2015 6:49
ibm_db_sa-0.3.0-py27.egg/ibm_db_sa/base.py:509
    illegal_initial_characters = set(xrange(0, 10)).union(["_", "$"])

The expression 'set(xrange(0, 10))' gives set made of 10 integers, where set of
10 single-char strings is needed.

This can be compared to the specification of this variable originally done in
SQLAlchemy (I'm using versions 0.8.2, file sqlalchemy/sql/compiler.py:54):
ILLEGAL_INITIAL_CHARACTERS = set([str(x) for x in xrange(0, 10)]).union(['$'])

The problem shows up later, when this is used for checking
(sqlalchemy/sql/compiler.py:2419):
                or value[0] in self.illegal_initial_characters

You can see below the results of the test made in Python 2.7:
>>> '1test'[0] in set(xrange(0, 10)).union(["_", "$"])
False
>>> '1test'[0] in set([str(x) for x in xrange(0, 10)]).union(['$'])
True

The line mentioned at the beginning should be changed to:
    illegal_initial_characters = set([str(x) for x in xrange(0, 10)]).union(["_", "$"])

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 26 Aug 2013 at 2:01
Copied from original issue: ibmdb/python-ibmdb#133

From @GoogleCodeExporter on March 16, 2015 6:49
Original comment by<EMAIL_ADDRESS>on 18 Nov 2013 at 6:10

From @GoogleCodeExporter on March 16, 2015 6:49
Thanks Adam for reporting this issue, we will remove this issue in our next
release

Original comment by<EMAIL_ADDRESS>on 2 Sep 2013 at 6:36

Changed state: Accepted

The parent python issue has been closed and the current code contains the following statement
illegal_initial_characters = set(range(0, 10)).union(["_", "$"])

Please feel free to report a new issue with respect to this. Closing this issue as this is old.


[Feature Request] Incorporate CMake for portable builds

I think it would be worth having the option to use CMake for building Morpho. This might make it easier for new users to get up and running without needing to worry (too much) about whether they're using the right linker flags for the various dependencies, regardless of the system they're running. This has the potential to also make Windows builds easier, though that will need some testing.
I have a minimal working example that can compile on my Linux system, but I'll need to do some more testing before I make a PR. The goal of this Issue is to have a place to discuss what needs to go into making this happen, as well as to discuss other relevant aspects of the build process.

One aspect of the build process that I think can be cleaned up with this change is that currently users must change values in the Makefile and in morpho5/build.h in order to have a self-consistent installation. For example, if I change the installation prefix in the Makefile to $HOME/.local, but forget to change the value of MORPHO_MODULEDIRECTORY, then I won't be able to import modules because they won't be on the search path.
I think the cleanest way to resolve this is to wrap the various configuration variables:
// morpho5/build.h

#ifndef MORPHO_MODULEDIRECTORY
#define MORPHO_MODULEDIRECTORY "/usr/local/share/morpho/modules"
#endif

// ... and so on for the other variables

Doing so would mean that build.h provides a set of sensible defaults that are easily overridden with an appropriate argument passed to the compiler. We can then modify the Makefile (or CMakeLists.txt file) to pass along user-overridden options to the compiler.
Does this seem like a reasonable approach?

I have fantastic news @mattsep; for our forthcoming v0.6.0 we have transitioned entirely to CMake. Thanks for this amazing suggestions; it's taken a while but it's here and has enabled a much smoother cross-platform experience.


Data Table ignoring column size

Hi.
I want to set a fixed width on one of my Data Table columns, so I checked TanStack Table docs and found they have size property for the ColumnDef: https://tanstack.com/table/v8/docs/guide/column-sizing
But I tried using it and it does nothing on shadcn Data Table. It seems the size properties are not being used on shadcn Data Table:
<TableCell key={cell.id}>
  {flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>

if I pass the size to the width property of the cell it works:
<TableCell key={cell.id} width={cell.column.columnDef.size}>
  {flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>

I think you need to hook this up yourself.
https://tanstack.com/table/v8/docs/guide/column-sizing#column-size-apis

How you apply these size styles to your markup is up to you, but it is pretty common to use either CSS variables or inline styles to apply the column sizes.

<th
  key={header.id}
  colSpan={header.colSpan}
  style={{ width: `${header.getSize()}px` }}
>

this solution works for user-defined width but the issue is it will always convert the width into px values.
The default column width is 150. which is ok because it renders a relative width between all columns.
but with the above code the relative width converts to fixed width of 150px for all columns. even the ones where only icons are present.
One solution could be to not apply the width style if the width === default-width (150 in our case).
But this means a user will never get 150px width...

Hi.
I tried to resolve this too, but still getting wrong column width in first column of table.
Hope "shadcn/ui" will provide a solution for this issue.

I've been experimenting and now this is working for me, using tailwind classes on the header aswell as the cell if you think it could exceed the header's width.
{       accessorKey: "title",       header: () => (
Title
       ),       cell: ({ row }) => (
                        {row.getValue("title")}
       )     },

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Has anyone found a trick? I'm having trouble customizing the column sizes.

@fport  Try this.
const modelColumns: ColumnDef<Model>[] = [
  {
    accessorKey: 'model.name',
    header: 'Name',
    size: 100,
  },
  {
    accessorKey: 'model.description',
    header: 'Description',
    size: 400,
  },
]

<TableHead
  ...
  style={{
    minWidth: header.column.columnDef.size,
    maxWidth: header.column.columnDef.size,
  }}
>

<TableCell
  ...
  style={{
    minWidth: cell.column.columnDef.size,
    maxWidth: cell.column.columnDef.size,
  }}
>

Hi.
I want to set a fixed width on one of my Data Table columns, so I checked TanStack Table docs and found they have size property for the ColumnDef: https://tanstack.com/table/v8/docs/guide/column-sizing
But I tried using it and it does nothing on shadcn Data Table. It seems the size properties are not being used on shadcn Data Table:
<TableCell key={cell.id}>
  {flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>

if I pass the size to the width property of the cell it works:
<TableCell key={cell.id} width={cell.column.columnDef.size}>
  {flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>

Great! but I have a question.
How to handle table header width?

hi guys, im not sure i get correct answer for that, but for me work  use block class to apply  styles in cell

After some research, I found a nice workaround using ColumnMeta that perfectly works with shadcn data-table.


Fix syntax summary table formatting

The symbol names were not escaped, making the table render improperly

@saucecontrol : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[JOSS Review] Installation

Dear authors,
The software installation routine is straightforward, and there is no special issue with it. But, the general procedure was a bit weird to me. The user needs to clone the repository just for the YAML configuration file and the tutorials, and although the repository contains the source code of the software, it gets installed from PyPI online repositories. This way eliminates the possibility of installing a developer version of the tool (like for performing modification and customization to the core functionalities, the possibility of which is highlighted in the paper). Moreover, it makes the test procedure redundant because the pytest routines check the codes in the sarcgraph directory, but the software gets installed from another source (an online repository). You may consider adding a standard installation routine such that users can install the tool from the cloned local repository by executing pip install -e ..  It seems that the file setup.py is already there, but I’m not sure if it is functional for a local installation.
P.S. This issue is related to https://github.com/openjournals/joss-reviews/issues/5322

Thank you for your insightful comments regarding the installation process of our software. We appreciate your suggestions and have made the following changes to address your concerns:
To simplify the installation process, we have uploaded our package to the conda servers, including all dependencies. This allows users to create a new environment and install everything with just one command.
We have made our tutorial files accessible on Binder, enabling users to run them without the need to set up local environments. In addition, we have provided more in-depth instructions on how to download notebooks with and without cloning the repository.
We have updated the package on PyPI servers to include all dependencies except for FFmpeg, streamlining the pip installation process for users who prefer not to use conda.
We have added a separate section for developers in the documentation, which includes instructions for an editable install using the pip install -e . command with the setup.py file in the repository. This allows developers to install a local version of the tool for modifications and customizations.
Finally, we have revised the installation instructions on the GitHub README to match the updated documentation.
We believe that these changes will improve the user experience during the installation process and make it easier for users and developers to work with our software. We hope our revisions adequately address your concerns.
Please let us know if there are any further comments or suggestions.


Integrations and travis test

should test coveralls, codecov, travis' new node support in OSX, codacy?

[Current coverage][cc-pull] is 90.48%

No coverage report found for master at e4e5ca8.

Powered by Codecov. Last updated by [e4e5ca8...bde9235][cc-compare]
[cc-base-branch]: https://codecov.io/gh/quinkennedy/spacebrew/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/quinkennedy/spacebrew/compare/e4e5ca87d848b324a922626398fec2f9ae54ca14...bde923554d441576f7b196e95542da9d479879fa?src=pr
[cc-pull]: https://codecov.io/gh/quinkennedy/spacebrew/pull/2?src=pr

Changes Unknown when pulling 815eceae1596b2c77925ad184170df0f2efd476f on integrations into ** on master**.


Arbitrary z-[10] value is not being removed by overrides

I have something like twMerge("z-[100] z-20") resulting in "z-[100] z-20" so it's not overriding correctly. And then tailwind uses the arbitrary value and the override doesn't work.

Hey @tbaustin! 👋
Thats a bug indeed. I pushed a fix in v1.5.1. Let me know if the issue still persists.

Hey @tbaustin! 👋
Thats a bug indeed. I pushed a fix in v1.5.1. Let me know if the issue still persists.

That worked thanks :D