Bold font is not working for IBM Plex Sans from Google Fonts

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
IBM Plex Sans is not working in bold version.
To Reproduce
Steps to reproduce the behavior:

Enter any text and select it
Go to Text panel, click Font dropdown
Click Custom, click Google Fonts radio button, enter IBM Plex Sans, click Apply
Click Bold style icon

Expected behavior
Text style should have changed to bold. Bold style icon should be in Active state
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 22.0.2

Desktop (please complete the following information):

OS: macOS 12.6.9
Browser Chrome
Browser Version 117.0.5938.149

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
yes
Additional context
Add any other context about the problem here.

Seems to work ok in FF. In chrome you can see the difference if you zoom in, the difference between bold and normal is hard to see at 100%.
I'd say this is fully outside our control, unfortunately.

@davidjgraph Thank you for your reply! However, it looks like something is not right with how fonts are imported, managed and displayed. I’ve created a comparison image with a rendering of a bold font in Figma as a reference. Draw.io just adds an extrathin stroke around letters in Chrome, and also increases tracking in Safari

4

Try replace the fonts source in the cell style with the following:
fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DRoboto%3Awght%40400%3B700

@alderg Hi! How and why to do this?

It's a workaround for the bold font issue. Select the cell and select Edit Style (Ctrl+E).

@alderg Thank you! I don’t have fontSource in this window:
rounded=1;whiteSpace=wrap;html=1;strokeWidth=3;spacingTop=0;spacing=0;strokeColor=#8C9EF8;perimeterSpacing=4;fillColor=#FAFBFF;fontColor=#000000;glass=0;shadow=0;labelBackgroundColor=none;spacingLeft=16;spacingBottom=0;spacingRight=16;verticalAlign=middle;

I am using IBM Plex Sans font, not Roboto
I want to set bold text for a part of a text, not to the whole block
The solution itself seems very complicated for everyday use

It's a workaround, not the final solution. We'll fix it propertly in one of the upcoming releases (and can't we an ETA). If there is no foundSource in the cell style then you're probably not using that font. You'd have to attach the diagram file for us to investigate further.

@alderg Great, thank you! I am not demanding any ETA for a great free software, just pointing to a (probably) bug 🙂
<mxfile host="app.diagrams.net" modified="2023-10-05T13:14:28.981Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" etag="T1wvBnQhwONtRR1lU6xO" version="22.0.2" type="google">
  <diagram name="Page-1" id="KJehN0ePQQ7_5QWpz20F">
    <mxGraphModel grid="0" page="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="MzHH_R3-6Q4yn6_Wetj4-1" value="
System displays
Login page
" style="rounded=1;whiteSpace=wrap;html=1;strokeWidth=3;spacingTop=0;spacing=0;strokeColor=#8C9EF8;perimeterSpacing=4;fillColor=#FAFBFF;fontColor=#000000;glass=0;shadow=0;labelBackgroundColor=none;spacingLeft=16;spacingBottom=0;spacingRight=16;verticalAlign=middle;" vertex="1" parent="1">
          <mxGeometry x="-832.0000000000001" y="192" width="256" height="128" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>

Fix in 22.1.4.


Region is not loaded from AWS config

.aws/config
[profile mail-server-wdes-intranet]
region = garage
services = garage
endpoint_url = http://x.x.x.x:3900

[services garage]
s3 =
  endpoint_url = http://x.x.x.x:3900

Running: stu --profile mail-server-wdes-intranet it does not use the region but ap-northeast-1. Checked in debug log.
Maybe it is only the unexpected scope: ?
<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error>AuthorizationHeaderMalformed<Message>Authorization header malformed, unexpected scope: 20240908/ap-northeast-1/s3/aws4_request</Message><Resource>/</Resource><Region>garage</Region></Error>

That said passing --region garage makes it work

Thanks for reporting, it certainly does seem to not be loading 😕

I would expect it to be loaded by the Default Region Provider, but it doesn't seem to be loaded. At least it seems to be loaded when specified by the environment variable AWS_REGION.

Thank you for looking into it
ap-northeast-1/s3/aws4_request</Message><Resource>/</Resource><Region>garage
Shows some part of the code knows the region and another part does not, this is quite an interesting bug

The new version of stu (0.6.0) now does a better error message: No bucket found (region: us-east-1) with stu --profile mail-server-wdes-intranet

The implementation up to 0.5.2 was as follows:

If --region is set, use it.
If AWS default value (environment variable, profile, etc.) is set, use it.
If none of them can be obtained, use the default value (ap-northeast-1).

In 0.6.0, users can now set the default value of 3 individually as a configuration.
On the other hand, this issue is about the profile value not being loaded correctly in 2.

I am also seeing the issue, I would have expected the region from my aws profile to be used, but I have to specify it manually. Following.

https://github.com/lusingander/stu/releases/tag/v0.6.2

Thank you !
It works fine 🎉

Thanks for checking!


ident treated as token (e.g. str as a string) with behavior := symbol

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
For a syntax category with behavior := symbol, an identifier using the name of token parser parses as that token rather than as an identifier.
Context
I discovered that str identifiers weirdly broke in Alloy a long while back, but could not figure out why back then with the time I dedicated to the issue. This came up again and now I figured out the cause.
Steps to Reproduce
import Lean.Parser.Extra

declare_syntax_cat bug (behavior := symbol)
syntax ident : bug

#check `(bug|ident) -- works

section
#check `(bug|num) -- works
local syntax num : bug
#check `(bug|num) -- expected numeral
end

section
#check `(bug|scientific) -- works
local syntax scientific : bug
#check `(bug|scientific) -- expected scientific number
end

section
#check `(bug|str) -- works
local syntax str : bug
#check `(bug|str) -- expected string literal
end

section
#check `(bug|char) -- works
local syntax char : bug
#check `(bug|char) -- expected character literal
end

section
#check `(bug|name) -- works
local syntax name : bug
#check `(bug|name) -- expected Name literal
end

section
#check `(bug|interpolatedStr) -- works
local syntax interpolatedStr(bug) : bug
#check `(bug|interpolatedStr) -- expected interpolated string
end

open Lean.Parser
attribute [run_parser_attribute_hooks] fieldIdx

section
#check `(bug|fieldIdx) -- works
local syntax fieldIdx : bug
#check `(bug|fieldIdx) -- expected field index
end

Expected behavior:
For these identifiers to parse as identifiers
Actual behavior:
They parse as the token they name.
Versions
Lean (version 4.1.0, commit a832f398b80a, Release)
Windows 10 22H2
Additional Information
This behavior is due to the following:

With behavior := symbol, the pratt parser use an identifier's val to index into the token map and narrow the parsers to test
Parsers are added to the token map based on their parser's firstTokens.
The token parsers are using their parser name as their first token.

The most straightforward solution is to make the parsers' first tokens not clash with valid identifiers. However, since users can specify almost any string as an identifier via guillemets, this is non-trivial. But, guillemets do not nest and do not carry over into the val, so I believe a solution would be to enclose the first token names themselves in guillemets (e.g. info := mkAtomicInfo "«str»") .
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

A variant of #2395, in some sense

@Kha Oh, interesting I had not made the connection between these two issues. I guess a prefix for symbol token names would solve both this problem and that one.


fix Alert icon margin alignment to the text next to it

Fixes #345

I discovered that this tiny fix seems to actually mess up the Storybook Alert component display. Strange that in real usage the issue is present but in storybook examples it doesn't. I think this needs further exploration and I will close my pull request for now.


Model Failing when using HuggingFace pipeline

Hi,
So I've been trying to use very basic text generation inference with this model using HuggingFace's pipeline API. However, it keeps on crashing when trying to generate sequences with max_tokens = 10000
from transformers import pipeline
generator = pipeline('text-generation', model = 'facebook/galactica-125m', device=0)
generator('covid-19', renormalize_logits=True, do_sample=True, max_new_tokens=10000)[0]['generated_text']
I updated my Transformers and Torch libraries. CUDA version = 11.7 | torch = 1.14.0 (nightly) [Stable also was not working] | transformers = 4.25.1
GPUs  = NVIDIA A100
Error:
RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling cublasLtMatmul( ltHandle, computeDesc.descriptor(), &alpha_val, mat1_ptr, Adesc.descriptor(), mat2_ptr, Bdesc.descriptor(), &beta_val, result_ptr, Cdesc.descriptor(), result_ptr, Cdesc.descriptor(), &heuristicResult.algo, workspace.data_ptr(), workspaceSize, at::cuda::getCurrentCUDAStream())

Hi @saptarshi059, all the models were trained with context window of 2048 tokens. Does the above code work if you set max_new_tokens=100?

Yes, this kind of moving window approach should work, but is not provided out of the box.

@mkardas Oh I see. Thank you so much. Yes, it does work with max_new_tokens < 2048. I will try the moving window approach then.


update dependencies

bioregistry no longer requires pydantic <2
This will allow for prefixmaps to open up its pydantic specification, and thus multiple other
packages such as koza, monarch-ingest, monarch-app, to update to pydantic v2
currently test fails on AttributeError: module 'bioregistry' has no attribute 'get_extended_prefix_map'

@glass-ships I changed this part of the Bioregistry's public interface, there's also a corresponding fix in https://github.com/linkml/prefixmaps/pull/52/files

@glass-ships it's also the case that bioregistry isn't a runtime requirement for prefixmaps, it's only used for regenerating the Bioregistry and merged prefix map

thanks @cthoyt! i noticed a comment in another PR that mentioned there was some overlap between this and others - let me know if my PR is redundant, I'd be happy to close as a duplicate

Thanks @glass-ships! Happy you were able to pull out this part and keep the "single responsibility principle" :)


K8s client node upgrade

Closing because I'm deleting my fork and just working from the base repo.


feat(gui): localized with crowdin

NOTE: it shouldn't be merged directly since it need a crowdin project ID (https://github.com/Misaka-L/vrc-get/blob/b2901d13b729a0e0f71706930312d9ce2374b957/vrc-get-gui/public/crowdin-in-context.js#L2)
#948

To avoid merging by mistake, I make this pr as draft.

https://github.com/vrc-get/vrc-get/issues/948#issuecomment-2106460897


Option to disable context menu

All my other extensions have an option to remove the Context Menu, so I have a very nice clean right-click and not bloated with a bunch of stuff I do not require.

Yes please.  This is an absolute no-go for webdevs!


listener: ListenConfig::listenSocketFactory

Add ListenSocketFactory interface. Replace ListenConfig::socket() interface with listenSocketFactory() to prepare for SO_REUSEPORT.
The old TcpListenSocket creation is changed to creating a TcpListenSocketFactory which creates a TCP socket during construction in addOrUpdateListener(). This socket factory always provides the same socket when ListenSocketFactory::createListenSocket() is called.
The old UdpListenSocket create is changed to creating a UdpListenSocketFactory in addOrUpdateListener() without creating a UDP socket. The socket will be created when actual UdpListener is created in each worker thread. As currently, we don't support SO_REUSEPORT on UDP socket, createListenSocket() can only be called once.
Risk Level: low, mainly code refactoring, no change to TCP socket creation time.
Testing: existing tests
Part of #8794,  #2557

/assign @mattklein123 @l8huang

/assign @mattklein123

/assign @l8huang

@danzh2010 needs a master merge after my UDP proxy PR. Can you merge master and then I will take a look?
/wait

@danzh2010 needs a master merge after my UDP proxy PR. Can you merge master and then I will take a look?
/wait

done. PTAL!


Make local dev easier to get started on

Addressing #184
Adding a grab back of quality of life improvements for new devs (and educating myself along the way).  For context, I am new to NodeJS, if there are best practices I've not seen yet please just let me know.  I tried to hold back on factoring index.js (will take a swing in another PR perhaps), but that clearly would be valuable.  The changes I made to that file were to get the REPL experience going.

Adding a getting_started.md README to give new devs an accelerated path
Making googleapi auth optional (default: not set)
Adding get_live_data() to seed the current JSON dataset into your REPL.
Switch to using module.exports everywhere

I was having major trouble getting exports to work when doing .load index.js in the REPL.  If anyone has a best practice please LMK.
https://blog.tableflip.io/the-difference-between-module-exports-and-exports/

There's a few nits on the architecture section, but let's merge and fix in a followup. thank you for the cleanups!!!


Lavalink error

 npm run start

<EMAIL_ADDRESS>start
node . --trace-warnings

Database >> MongoDB is connecting...
Bot >> Started on 1 servers!
System >> Lavalink connected!
System >> Lavalink connected!
System >> Lavalink connected!
System >> Lavalink connected!
System >> Lavalink connected!
ERROR >> Node lava.link had an error: Unable to connect after 5 attempts.

If you run the bot on Windows, make sure you have JDK 16.0.2 installed. You also need the Lavalink.jar (https://github.com/freyacodes/Lavalink/releases/tag/3.4) and an application.yml (https://github.com/freyacodes/Lavalink/blob/master/LavalinkServer/application.yml.example).
Start the JAR with the command java -jar Lavalink.jar and correct the Lavalink data in the .env file. For example, host <IP_ADDRESS> and port 2333. Make sure that the password in both files matches.

Join our server. There we can help you better and faster. We also posted there a new lavalink


Customize through __init__ args

As per the decision made in #357.
Functionality to customize by init args:

session options, including scope function
Session class (#130)
db.Query with query_class, defaults to BaseQuery
db.Model.metadata with metadata, defaults to None
db.Model base class (the base class of the declarative meta) with model_class

Would this include options like the isolation_level?

I want to be somewhat conservative with X_class arguments, as pairing that with X_options can get out of hand quickly. There's got to be some balance where having an X_class class attribute, or a factory method, along with X_options init arg makes sense for most use cases.

Need that native session auto-committer. :)

Implemented in #1087, although I think other earlier changes addressed most of this by adding the arguments. All setup methods are now considered internal.

session_options customizes the session. A class_ key can customize the session class. A scopefunc key can customize the scope function for the scoped session.
engine_options sets default options for all engines.
metadata sets the metadata for the default bind. When creating other metadata for other binds, the default metadata's naming_convention is copied.
query_class customizes the query class used by db.Query, db.Model.query, db.relationship(lazy="dynamic"), and db.sesison.query`. However, the query interface is legacy in SQLAlchemy 2.0.
model_class can be either a simple base class (sublcassing flask_sqlalchemy.model.Model), or a fully created declarative_base (using DefaultMeta or BindMetaMixin at least).

Between those, that seems to cover customizing all the objects managed by the extension. It otherwise shouldn't get in the way of the capabilities of SQLAlchemy.


Variant not rendering in gnomAD browser

http://gnomad.broadinstitute.org/variant/X-115408811-C-T

This variant has no sorted transcript consequences. The API returns null for that field but the variant page expects and array and fails to render.


In mintty some symbols used by powerline-shell are not rendered

I am using powerline-shell in Cygwin with the mintty terminal emulator. The problem is that none of the patched fonts contains all of the symbols used by powerline-shell. Mintty seems to have its issues with font substitution/fallback. While it does appear to substitute some of the symbols, it doesn't do it for all. Maybe because it doesn't find a suitable replacement in a monospace font...
Any ways, attached is a test HTML test.html.gz that shows some (all?) of the symbols used by powerline-shell for each of the patched fonts. As a fallback font the styling uses the LastResort font to force the browser not to fall back onto an arbitrary font that provides the symbol. As can be seen, none of the fonts provides glyphs for u+2446 and u+2332 that you use for a SVN and fossil repositories, respectively. The composite for bzr also fails to render due to the lack of the combining diamond glyph u+20DF. Same goes for stashed state, u+2398. Etc. pp.
I realize none of this is the fault of powerline-shell per se. It is caused by the interaction of fonts not having the glyphs and mintty not substituting as liberally as other terminal emulators do. Hence this is more of a question. Could an alternative set of symbols be offered/configured? Just seeing tofu is not very helpful and beats the purpose of powerline-shell. I'll also follow up with the mintty developers. They are already aware that there are font substitution problems, but this being Windows the MS API's are of course behaving quite differently than the *NIX systems.

Hi @themiwi would it be possible to report this to mintty?
I would, but don't understand the issue enough - I got as far as testing things and seeing they didn't work + found this bug
https://github.com/mintty/mintty/issues

thread resurrection
@wildmichael  Can you share what you did?  2yrs later, still the same issue with open squares on symbols.


[DRAFT] SPIKE - Switch from System Config JS Objects to Class

(Fair warning, my background is pretty heavily in C# so I tend to bring some of those opinions into my JS code)
I decided that I didn't want to stare at my research anymore so I decided to take a break and code up this spike. It's just an idea but it should let you clean up all of these things further if you like any of it. For example, might be able to take some of these attribute calculation and generation stuff and abstract it out to the Attribute class.
I haven't had the opportunity to test it because I don't have my own foundry instance and didn't want to bother my DM about it at nearly midnight but the logic is decent enough though I will admit to not being as confident in my JS abilities as I am other languages.

Thanks for this.  However, I'm struggling to see what the intended purpose is, or what problem it solves.
The existing code had all the attributes defined in a nice set of structures, but the new code abstracts that all out into a bunch of addAttribute calls, that make it much more difficult to see at a glance how each system is configured.

My thought was that you can use this to ensure proper structure when you
get around to implementing a settings page. It also means you can abstract
out the calculations to the Attribute itself. Finally, the real benefit to
me anyway is that you can have each attribute themselves know how to
display themselves.
However, like I said, a lot of my opinions are informed by more statically
typed OO languages so the way I approach problems in them is typically in
that way.
Anyhow this only took me a couple of hours so if you see anything you like
feel free to take it but otherwise it's no big deal.
On Mon, Jul 25, 2022, 8:29 AM Alan Davies @.***> wrote:

Thanks for this. However, I'm struggling to see what the intended purpose
is, or what problem it solves.
The existing code had all the attributes defined in a nice set of
structures, but the new code abstracts that all out into a bunch of
addAttribute calls, that make it much more difficult to see at a glance
how each system is configured.
—
Reply to this email directly, view it on GitHub
https://github.com/cs96and/FoundryVTT-damage-log/pull/22#issuecomment-1193987391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH52FUDET66YWTL3A2WUP5TVV2CD7ANCNFSM54QV6XDA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add database

Hi @brownd1978,
You have proposed changes to files in these packages:

Validation

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for a2510d469674710eae3d3330633cf3607c3ab267: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The build tests passed at a2510d469674710eae3d3330633cf3607c3ab267.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged a2510d469674710eae3d3330633cf3607c3ab267 at 9e9d1ca6313e1922a5fed6a8f8b2162e3d67527c

build (prof)
:white_check_mark:
Log file. Build time: 11 min 22 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at a2510d469674710eae3d3330633cf3607c3ab267 after being merged into the base branch at 9e9d1ca6313e1922a5fed6a8f8b2162e3d67527c.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Error in evaluating the ResidualBlock, calculated nan residuals

Hi, I was running my script for sparse reconstruction using glomap (and colmap). my script as below:
source_path=$1
source_path=$(echo $source_path | sed 's:/*$::')
colmap feature_extractor --image_path "$source_path/images/" --database_path "$source_path/database.db"
colmap exhaustive_matcher --database_path "$source_path/database.db"
glomap mapper --database_path "$source_path/database.db" --image_path "$source_path/images/" --output_path "$source_path/sparse/"

I think it's a loyal implementation of the 'From images' part in README, just need to provide a folder with an 'images' folder inside it in COLMAP manner. But I encountered the following error while running on my own collection of images, it happened when the glomap mapper line was executed. The error looks like:
-------------------------------------
Running view graph calibration ...
-------------------------------------
I0731 11:04:33.327239  8420 view_graph_calibration.cc:14] Start ViewGraphCalibrator
W0731 11:04:33.328502  8420 residual_block.cc:127]

Error in evaluating the ResidualBlock.

There are two possible reasons. Either the CostFunction did not evaluate and fill all
residual and jacobians that were requested or there was a non-finite value (nan/infinite)
generated during the or jacobian computation.

Residual Block size: 2 parameter blocks x 2 residuals

For each parameter block, the value of the parameters are printed in the first column
and the value of the jacobian under the corresponding residual. If a ParameterBlock was
held constant then the corresponding jacobian is printed as 'Not Computed'. If an entry
of the Jacobian/residual array was requested but was not written to by user code, it is
indicated by 'Uninitialized'. This is an error. Residuals or Jacobian values evaluating
to Inf or NaN is also an error.

Residuals:             -nan         -nan

Parameter Block 0, size: 1

     3857.14 | Not Computed  Not Computed

Parameter Block 1, size: 1

     693.486 | Not Computed  Not Computed

I0731 11:04:33.328533  8420 view_graph_calibration.cc:155] 0 cameras are rejected in view graph calibration
W0731 11:04:33.328562  8420 residual_block.cc:127]

I checked the output of previous steps, nothing seems gone wrong in feature extraction, and feature matching said I0731 11:04:33.316403  8420 colmap_converter.cc:301] Pairs read done. 99 / 220 are invalid, which I consider as a normal one. Also preprocess output I0731 11:04:33.327173  8420 view_graph_manipulation.cc:294] Decompose relative pose done. 37 pairs are pure rotation. I don't know if I've made any mistakes, or the error is due to anything else?

I initially had this error when I built GLOMAP. I fixed it by updating GLOMAP library dependencies, updating gcc to 12.4.0, and rebuilding.

New discovery: I used another dataset made up of images extracted from a video (thus very consistent and clear) without any modification in my environment, and it worked and generated normally. So it might actually be a dataset problem, the images I used formerly is a collection of internet photos so they may be especially noisy, the problem is I still want to use GLOMAP to handle the photos. Should there be a better way to achieve this? Like alter some parameters? I just don't know how to avoid the error.
@jot-jt , thanks for your idea, I may try it later to find out, and may I ask you have you met the situation I mentioned above?

@cre185 Now that you mention it, I just tried to run my current GLOMAP installation on a scene of internet photos. I also get nan residuals, so perhaps it is internet photos and not the installation. My current GLOMAP installation works on the example gerrard-hall scene in the README, which has photos taken by only one camera.
(Specifically, the internet photo scene I used was Gendarmenmarkt from the 1DSfM dataset.)

Hi, thanks for your feedback. Is it possible for you (@jot-jt @cre185) to share your database?  Either here, or you can send me an email if you don't want to make it public.

@lpanaf I'm just trying to apply GLOMAP to Megascenes: https://github.com/MegaScenes/dataset, which is really an 'in-the-wild' one. I'm not very surprised at the result, because the dataset is very challenging for those tasks. Anyway, I used to input these images into COLMAP, and some of the cameras can be reconstructed successfully while others can't. I'm just wondering if there could be a better way for GLOMAP to handle these noisy datasets, rather than throwing out an error. Maybe it's just not suitable for global reconstruction methods.
btw, just noticed that @jot-jt is one of the authors of Megascenes, what a coincidence...

@lpanaf Thanks for looking into this! I uploaded the database file here: Google Drive link
The images can be downloaded here: http://landmark.cs.cornell.edu/projects/1dsfm/images.Gendarmenmarkt.tar

I am trying to run the glomap mapper command using a database.db created through Deep Image Matching , but I am encountering the same error. However, when I create the database.db using COLMAP as described on this GitHub page and then use it with the glomap mapper command, no errors occur.

Thanks for sharing your database to reproduce the issue. This should now be fixed in the latest commit in the main branch.


[FEATURE] Different date formats for birthday and work/education

Is your feature request related to a problem? Please describe.
Not a bug.
Describe the solution you'd like
I would like to provide my date of birth as DD MMMM YYYY and the rest of the dates as MMMM YYYY.
Describe alternatives you've considered
I haven't found a workaround.
Additional context

In Germany CVs it is very common to have start and end dates of, eg. working experiences just like MM/YYYY but of course date of birth is always DD.MM.YYYY
So this is an important feature request.


Filter out addresses that already have lat and lon data associated

This might necessitate a higher-level function that executes the three steps (getCohortAddresses, geocodeAddresses, importCohortTable), and does this filtration between steps 1 and 2.
enableCohort()?

Depends on #183

This depends on #187


ESPTOUCH_V2 does not send acknolwdgement correctly to Flutter

Hello!
I am running my ESP32 IDF code with "esp-smartconfig-dart" which works fine for ESPTOUCH protocol. However, switching to protocol ESPTOUCH_V2 , the device recieved the SSID, password and reserved data correctly and can connect to Wifi. However, it cannot send the acknowlegedment data back the Java app from
https://github.com/EspressifApp/EsptouchForAndroid/tree/master
and it works fine.
My code below. Do I miss something to configure?
  final provisioner = Provisioner.espTouchV2();
  final ssidController = ref.read(ssidControllerProvider);
  final passwordController = ref.read(passwordControllerProvider);
  final wifiCredentialsNotifier =
      ref.read(wifiCredentialsProvider.notifier);

  provisioner.listen((response) {
    Navigator.of(context).pop(response);
  });

  provisioner.start(ProvisioningRequest.fromStrings(
    ssid: ssidController.text,
    bssid: '00:00:00:00:00:00',
    password: passwordController.text,
    reservedData:
        "Hello from Dart123665656565688994643976464564646464646549876544654---",
    encryptionKey: "MySecretKey!6754",
  ));

@htg20,
I have an iOT project. Where I need to send home wifi credentials on iOT device.
Firstly, I have to connect the mobile app to the iOT device hotspot. Then send wifi credentials to the iOT device without internet. then the device automatically connects to WiFi.
I already try lots of package but not been able to achieve this task.
I tried Following package wifi_iot flutter_iot_wifi flutter_esp_ble_prov esp_provisioning_ble esp_provisioning_softap
Can you tell me how I can achieve this?
My contact details is<EMAIL_ADDRESS>Please help me


chore: bump Playwright to 1.10

Pull Request Test Coverage Report for Build 686429516

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.0%

Totals

Change from base Build 675502106:
0.0%

Covered Lines:
9

Relevant Lines:
10

💛  - Coveralls


Create an API to query in situ data for single city page

Acceptance Criteria

An API exists with details: GET /air-pollutant/measurements
Required query parameters should be date_from, date_to, location_type
Optional query parameters should be location_names (this can support multiple parameters comma separated), api_source
Parameters are validated and if not valid we'll return 422
Success will return 200
Response should be JSON array with following fields in each document:

Field
Value from database

measurement_date
measurement_date

location_type
location_type

location_name
name

no2
no2 value

o3
o3 value

pm2_5
pm2_5 value

pm10
pm10 value

so2
so2 value

entity
metadata.entity

sensor_type
metadata.entity

site_name
location_name

Mongo Query performance is analysed and index is confirmed to be being used

For this ticket to be done it must include automation
Test Checklist:

[x] Test Analysis & discussion with developer
[x] Write Test Cases / Charters
[x] Test Cases & Charters Reviewed
[x] Test Cases Executed
[x] Test Charters Executed
[x] Regression tests executed
[x] Automation Tests added to project

Test Analysis

Verify single city data displayed matches that of the database. (side by side with mongo db)
(Investigate regularity of new document upsertion/modification.

Verify backend error logging. User must be lead to the happy path when entering wrong query
e.g. entering only one 1/3 and 2/3 required parameters.
-> only measurement_date_from and measurement_date_to
-> only measurement_date_from and location_type
-> only measurement date_to and location type
User must be made aware of the missing parameter each time.

forecast_api_seeded_data_tests.py, forecast_api_validation_tests.py, cams_known_grib_test.py, forecast_calibration_tests.py & open_aq_etl_tests.py tests all passed.
Executed manual test cases, had to make some changes to test assertions, but expected behaviour was observed

Finding - location_names param spelled incorrectly
Expected:

needs to be location_names

Actual:

needs to be location_name

Exploratory testing Findings
Charter 11: Explore GET air‐pollutant measurements In Situ API with creative parameters and headers to discover surprises ✅

date_from and date_to

500 internal server error if you set the year to 0000
Can send a number as a date (+/-)

location_names and api_sources don't seem to have any validation

Finding - api_source 500
Steps to reproduce:

Make a GET call to /air-pollutant/measurements endpoint with date_from (valid Datetime), date_to (valid Datetime), location_type (city) parameters  and api_source set to 'OpenAQ'
Make a GET call to /air-pollutant/measurements endpoint with date_from (valid Datetime), date_to (valid Datetime), location_type (city) parameters  and api_source set to 'openaq'
e.g http://<IP_ADDRESS>:8000/air-pollutant/measurements?date_from=2024-06-21T14%3A00%3A00.000%2B00%3A00&date_to=2024-06-21T16%3A00%3A00.000%2B00%3A00&location_type=city&api_source=OpenAQ

Expected:

data returned, status 200

Actual:
for OpenAQ:
422 status code

for openaq:
500 status code

We discovered that if you send a request to the air-pollutant/measurements endpoint and have seeded in the in_situ database data which has an api_source that also isn't "OpenAQ" you get a 500 response. This has been determined to be expected behaviour so tests have been added for this to make sure this continues. We need to prevent incorrect data entering the database using schema validation which has a ticket in the backlog


FR: [Crashlytics] Provide linux binaries for uploads-symbols

Feature proposal

Firebase Component: Crashlytics

Hey!
We're using fastlane for our apps and a lot of its actions can be used on Linux since there are no Mac or iOS specific packages necessary. It also means that we save quite some billable hours since we use a hosted CI solution that bills 10x the amount for every macOS minute spent (GitHub Actions).
Since the uploads-symbols binary seems to be closed source (or I didn't find the source), we were wondering if it was at all possible to have an ELF binary or Shell/Python/Ruby/... script of upload-symbols to upload dSYMs?
And if not, is there an API endpoint we could manually upload the files to?

Hey @aried3r thanks for reaching out. Unfortunately we won't be able to provide either a Linux-based upload-symbols binary or a direct endpoint in the near future. The reason is that upload-symbols relies on critical macOS libraries to convert the dSYM into a lighter weight format, and we don't have a good way of doing it in our backend (if we were to provide a direct endpoint for dSYMs).
We can leave this open to judge the popularity of this request

Hey, Thank you for your reply!
Is this also the reason the ability to upload zip files in the Firebase Console is being phased out? Because it seems that it at least used to be possible to upload zip files directly, even if manually.

Yes that's exactly right - we haven't found a suitable way to support that system again, but we are always open to feedback!

Thank you for shedding a little light on the issue! I can only assume what's going on, so I guess only macOS has libraries to convert dSYMs into another format that Firebase can use? Is there any documentation on it?
As for the feedback, it's pretty much this FR, thanks!

I just found this:

Note: upload-symbols is in the process of integrating with the rest of the Firebase CLI tools.

https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports#upload-dsyms
Does this mean there will be a CLI tool that can be used outside of having to install the Pod?

Yeah at some point we plan to offer it separately as well, like you said. But it's most likely we will only allow uploading iOS symbols on macOS, same as upload-symbols.

Tossing a vote out for this one as well. Would make it much simpler & cheaper to be able to automate it with CI actions on less expensive/more available Linux machines (GitHub Actions, etc.)

Hi all,
Just a quick update here - upload symbols still requires libraries that only ship with MacOS, but we're still looking into ways to make it possible to run without these libraries.

Any updates on this issue? Waiting for your dsym to be uploaded on your work device is a nightmare. The ability to use CI would be great

A Linux version is still very much needed!

Any update on that? :)


How about migrating the CI from Travis to Github Actions?

Hi,
lately I migrated the CI of some projects of mine from Travis to Github Actions.
The main reason was to escape from the new pricing model of Travis, which gaves to OSS projects a limited amount of free minutes of usage.
But I discovered also that Github Actions are quite faster than Travis.
Could you be interested in them?

Working on it https://github.com/widmogrod/php-functional/pull/115

Done


Chapter 11 Exercise 8 transfer learning question

I'm unclear on how to generate the digits' 0-4 datasets. In the chapter 11 notebook, I see where the output layer is 8 neurons since it's only trying to output 1 of 8 classes. But, do the "y" values have to be zero-based and contiguous? Looks like "yes" based on the example. For the exercise, I wanted to make a 0-4 dataset, and a 5-9 dataset, leaving the y's equal to 5,6,7,8, or 9. So should they be modified down to 0-4 by subtracting 5? And why, in the exercise, do the generated binary values have to be a float? Wouldn't integer work?
For the splitting function, I wanted to do something like:
# Build training data with digits 0-4
def split_dataset(X, y):
    y_56789 = y > 4 # digits 5,6,7,8,9
    y_A = y[~y_56789] # since deleting 5 - 9, no need to modify remaining 0 - 4 class numbers
    y_B = y[y_56789]
    return ((X[~y_56789], y_A),
            (X[y_56789], y_B))

Does this work? Thanks.

Hi @gkd720 ,
Thanks for your question, and sorry for the late response, I was on vacation.
When you use the sparse_categorical_crossentropy loss, Keras expects the targets to be zero-based class indices. Keras is tolerant: it accepts these indices as integers or floats, but since they're supposed to have whole values, I prefer to make it clear and cast them to integers.
So you need to subtract 5 from y_B (and of course add 5 to the model's predictions). Otherwise, your code looks good to me.
Hope this help,
Aurélien


[Unity] Support pattern-based rewriting

Currently, dataflow pattern matching in Relax only supports matching with boolean result and doesn't support rewriting matched expressions. This PR adds such utility following the Relay counterpart below (with a simpler API).
https://github.com/apache/tvm/blob/da99e9d1b5208e9a23e0b8e5b45da6e633f05415/python/tvm/relay/dataflow_pattern/__init__.py#L884
This is useful for, for example, rewriting a sequence of matmul -> softmax -> matmul into an attention op introduced in https://github.com/apache/tvm/pull/14150.
@cyx-6 @sunggg  @vinx13 @yelite @MasterJH5574 @spectrometerHBH @ganler

Thanks for providing more examples and documentation. It looks great now!

One question. What happens if we try to rewrite to something invalid?

Well, you'd just get an error somewhere, as with any other ExprMutator passes.


Customize hits template

Hi,
The current hits widgets only allows to provide a template per hit, I would like to provide a global template so that I can add any HTML attribute I need.
It could make sense to make it overridable with something like:
search.addWidget(instantsearch.widgets.hits({
   container: '#hits',
   templates: {
        empty: '
No results found matching {{query}}.
',
        items: '
{{#hits}}Hello {{hit.name}}{{/hits}}
'
   }
});

What do you think about it?

@proudlygeek Not sure I'm following; what would be the difference with the current version?

'

@redox The goal is for the user to iterate on the hits in a hogan template rather than being only able to provide an item template.

Both ways are acceptable, and have tradeoffs. What is your use case @proudlygeek ?

@bobylito @redox currently is impossible to use external plugins which relies on data- attributes for configuration. An example is Masonry (see also issue #736).
Right now the only clean way to achieve this is to write a custom widgets which basically wraps the hits one. I think it could make sense to add an esclusive items template property to override the inner react map.

I think the idea fits the hits widget scope. This is an advanced option because users will then have to handle everything themselves, but I see how this can be useful.
Regarding Masonry, I'm not sure a jQuery plugin that reorders DOM elements (if that's what it's doing) will play well with React, though.

@pixelastic I think the point here is to make Masonry or similar reorder our React components on the DOM. It shouldn't make any assumptions on the underlying technology stack. It should treat them as black boxes.

@proudlygeek yep, I agree, but React can get really picky with what other libraries are doing with its DOM. But still, I agree that we should to make it work with Masonry. We can tackle that together after the holydays if you'd like.

As seen with #748 we may want to use tables, which is impossible right now and would be doable with the hits template property.

Moved to #771


Game breaking bug?

Building Gadgets version
0.2.5
Minecraft Version
1.20.1
Forge Version
47.1.3
Modpack & Version
All the Mods 9 0.0.65
Do you have optifine installed?
No
Describe the issue
After attempting to paste, game crashed and I can no longer load into the game when it attempts to "render"
Steps to reproduce
I was pasting a 16x16x3 layer of dirt which had 8 pylons with water in the space as well and 8 chests within 2 of the layers. I don't know how or why as it was my very first time pasting anything at all with this mod. 4 of the chests were (basic) sophisticated storage chests.
I have 3 crash logs.
Expected behaviour
I had hopes that it would paste the blocks I copied using the blocks in my inventory
Screenshots
No response
Log files
crash-2023-09-08_15.45.40-client.txt
crash-2023-09-08_15.48.30-client.txt
crash-2023-09-08_15.54.49-client.txt
Additional information
No longer able to load into my server successfully without crashing. Idk how to fix it without loading a back up... which blows since I did several things before this happened.
Information

[X] I have provided as much information as possible

Will investigate shortly :)

Will investigate shortly :)

Upon further investigation. Something about either the harvester pylon or chest causes this, and my bet is on the pylon. Just spent some time redoing what I had worked up to, then swapped to single player to test it out. I'll see if I can capture some screen shots, otherwise, here's the latest crash when I attempted to paste with dirt + harvester pylon + chest + lantern. I tested only lantern hanging from dirt and it worked fine.
crash-2023-09-08_17.31.10-client.txt

the copy paste tool doesn't even paste the pylon, but it doesn't crash. However, copying and then attempting to paste with a vanilla chest DOES crash the game.
[crash-2023-09-08_17.40.02-client.txt](https://github.com/Direwolf20-MC/BuildingGadgets2/files/12564037/crash-2023-09-08_17.40.02-client.txt)

Do you have rubidium installed? That may be the culprit - can you try without it?

Update: I've confirmed this is a rubidum bug.  You can swap to Embeddium if you wanna try that, or remove rubidium all together.


30b Checkpoint pickle is missing biases

The 30b model pickles seem to have no biases. There is a more detailed discussion at the model repository.
from tqdm import tqdm
import torch
from pathlib import Path
import pickle

blob_path = Path.home() / Path('.cache/huggingface/hub/models--facebook--galactica-30b/blobs')

keys2blob = {}
errors = {}
blobs = [blob for blob in blob_path.glob('./*') if blob.is_file()]

for blob in tqdm(blobs):
    try:
        keys2blob.update({k: blob for k in torch.load(blob).keys()})
    except pickle.UnpicklingError as e:
        errors[blob] = e

print(f"Num_weights: {len([i for i in keys2blob.keys() if 'weight' in i])}")
print(f"Num_biases: {len([i for i in keys2blob.keys() if 'bias' in i])}")

100%|██████████| 12/12 [00:50<00:00,  4.19s/it]
Num_weights: 290
Num_biases: 0

This is opposed to the 6.7b model which contains a lot of biases.
from tqdm import tqdm
import torch
from pathlib import Path
import pickle

blob_path = Path.home() / Path('.cache/huggingface/hub/models--facebook--galactica-6.7b/blobs')

keys2blob = {}
errors = {}
blobs = [blob for blob in blob_path.glob('./*') if blob.is_file()]

for blob in tqdm(blobs):
    try:
        keys2blob.update({k: blob for k in torch.load(blob).keys()})
    except pickle.UnpicklingError as e:
        errors[blob] = e

print(f"Num_weights: {len([i for i in keys2blob.keys() if 'weight' in i])}")
print(f"Num_biases: {len([i for i in keys2blob.keys() if 'bias' in i])}")

50%|█████     | 4/8 [00:14<00:14,  3.57s/it]
Num_weights: 260
Num_biases: 257

I do not believe I am missing any pickles because the disk usage of the cloned repository tallies with what is displayed by the huggingface site (note that du outputs gibibytes which is likely the cause of the slight discrepancy in raw numbers).
❯ du -csh ./models--facebook--galactica-30b/blobs/*
785M    ./models--facebook--galactica-30b/blobs/0379c39b5a0cb59453b14738ef1d4924e93599aba4e57f2599036e76f36532f6
9.2G    ./models--facebook--galactica-30b/blobs/05db345d4fcca580bed2c6e9d0fe8feead207c2c2fa8384c27c94cbd4ed0e0bf
4.0K    ./models--facebook--galactica-30b/blobs/0967ef424bce6791893e9a57bb952f80fd536e93
9.2G    ./models--facebook--galactica-30b/blobs/0d6ce164b560f4601d48f61c2a8d598106faa9f4b89c39334a712429649b75c8
4.0K    ./models--facebook--galactica-30b/blobs/28e11da7e191492f3f23d2aa35e9b60f8e9becf6
9.2G    ./models--facebook--galactica-30b/blobs/30a274571d49a30bb4d6872e69b96ad191fa22c92427d160c74ce225a566bd71
24K     ./models--facebook--galactica-30b/blobs/98d10d1a52ab2b70f1deff472512cbaa6065e317
9.2G    ./models--facebook--galactica-30b/blobs/aa79446f17da0f3b9f8815a3628c2b1935936ec819f09a5865ce4e3c4ee51aa7
9.2G    ./models--facebook--galactica-30b/blobs/b919005245e2b77d57bf3a73ac18415083aa32b6e2e4e89c96b8d988453a0e7f
4.0K    ./models--facebook--galactica-30b/blobs/bc97f8a9458a1fe096bec5d8ec938a02647bc4bb
9.2G    ./models--facebook--galactica-30b/blobs/c1cad10954e544c44aabd29f31e67292d1bc819d2e7b9842f14fdcef88d58f93
2.1M    ./models--facebook--galactica-30b/blobs/e18054f92dc016b43c940dd1c4a1c5da884539c0
56G     total

All the biases in 6.7B checkpoint are 0

I've checked the other model checkpoints. All of them have biases that are all zero (except 30b which has no biases).
This is the info I have about the weights so far and some notable differences in the 30b checkpoint:

30b is the only model in half precision
It  does not follow the trend in number of tensors

Size
Parameters
Disk Usage
Bytes / Parameter ratio
Sum(layer.numels)
Data type of tensors

mini
125 M
480M
4.0265
163,430,400
{torch.float32: 197}

base
1.3 B
5.0G
4.1298
1,417,601,024
{torch.float32: 389}

standard
6.7 B
26G
4.1667
6,862,159,872
{torch.float32: 517}

large
30 B
56G
2.0043
29,968,103,424
{torch.float16: 290}

huge
120 B
453G
4.0534
121,853,747,200
{torch.float32: 1541}

The checkpoint is now fixed as part of https://huggingface.co/facebook/galactica-30b/discussions/6. All the checkpoints are now fully compatible with OPT architecture, use float16 weights, with layer norm weights set to ones and all the biases set to zero.


TOFU bypass

Hi,
Lagrange allows requests and responses to go through even when the server's certificate does not match the fingerprint in trusted.txt.  The "untrusted certificate" warning is shown together with the response.  This defeats the purpose of TOFU to some extent.  The point is to block the connection before any (potentially sensitive) data is revealed to the man-in-the-middle.
To test this, modify one of the fingerprints in trusted.txt, then restart Lagrange and visit the corresponding domain.

The current version of the Gemini protocol specification does not mandate aborting the request when a TOFU check fails, only that a warning is displayed.
But sure, I can see how this errs a bit much on the side of user convenience at the cost of diluting the trust-based security model. It would be good to add a user preference here that prevents the request from proceeding should the trust check fail.
In practice, it will likely require adding an OpenSSL verify callback that aborts the low-level request if the check fails.

The current version of the Gemini protocol specification does not mandate aborting the request when a TOFU check fails, only that a warning is displayed.

Not even that; the spec says Clients can validate TLS connections however they like (including not at all).
But further on, when describing TOFU, it makes reference to OpenSSH and web browsers.  So I would argue that you're looking at the letter of the spec rather than its spirit.  Lagrange is the only piece of software I know of that doesn't stop requests on certificate authentication failure.  I don't think Solderpunk anticipated someone doing it this way; I certainly didn't.  If he had, I think he would have been explicit about blocking the request.  I can open a ticket for this over at GitLab, for clarification.
But aside from the spec discussion: since Lagrange is one of the most popular Gemini clients, the security of its users is particularly important.  So please follow the example of... all software that does certificate authentication, TOFU or otherwise.  Having this as a (non-default) setting would reliably fail users who are subjected to MITM attacks.

That should take care of it. I didn't add a preference because it isn't a great inconvenience to update the trust via GUI if the user so chooses, but it is not so easy that the user would do it accidentally.


Raise error if no GT or proposals available during training

This should help catch problems similar to the one in https://github.com/facebookresearch/maskrcnn-benchmark/issues/31

Propagating which image yielded the empty target can be a bit tricky as there might have been random crops etc.
Maybe I'll add another assert like this in the Dataset itself, but in the meantime I'll be merging this as is.


How to get json files?

Hi,
Thanks for the great work!
I downloaded the OXE data from hugging face. But after running the code.
python datasets/oxe_data_converter.py --dataset_name
I get an error that I don't have a json file.
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data/OXE/viola/0.1.0/dataset_info.json'
Where should I get it from?

Ok, that's very useful! Thanks for your prompt reply.

Sorry to bother you again.
If this problem occurs during data processing, will it affect subsequent experiments?

Hello. When I reinstall the environment, the above problem is solved. By the way, do I still need the downloaded source data? Or do I only need the .npz file?

For our experiments, you only need extracted .npz files and can remove downloaded tensorflow data if taking too much disk space.

Ok! Thank u!


Unable to access termbox.io website

Unable to access termbox.io website. It says, "PHP Configuration Error. Can not fetch xml request string."

Yea I took it down because it was unstable and required constant attention. Work on a replacement is ongoing, but no ETA.


[QUESTION] Is it possible to have since until option with profile-full?

Issue Template
Please use this template!
Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

[x] Python version is 3.6;
[x] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
[x] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

Please provide the exact command ran including the username/search/code so I may reproduce the issue.

Description of Issue

Please use as much detail as possible.

I searched closed issue and I know --since and --until only work with search, but not --profile. However, I need to study retweets and the only way to obtain retweet is from users' profiles. The limitation of --profile is that it is really slow and it crawls large amount of tweets that I am not interested, e.g. very old tweets. I crawled 3000 user profiles, which already contain around 30M tweets.
Is there any way to early stop the crawling based on --since and --until and start the profile crawling for the next user?
Environment Details

Using Windows, Linux? What OS version? Running this in Anaconda? Jupyter Notebook? Terminal?

@hongtaicao not yet

@pielco11
I ran into the following situation"[!] Twitter does not return more data, scrape stops here." when using --profile-full. I checked the crawled results, most of them are less than 400 tweets, which I believe that it is a very small fraction of tweets of the username timeline.
How to obtain more tweets from the timeline?

@hongtaicao honestly I don't think that's possible to return more tweets. In every case I got that message, I scrolled down with my browser and stopped at the same point, It sounds like a limit imposed by Twitter

Yes. I agree.
Since profile full is not a search, it might not be beneficial to have since and until.
I will close this.


Hardware: RC522 requires 3.3V power to AVDD

Connect pin AVDD Pin 15 to 3.3V supply.
may need to move decoupling capacitor

handwire modificaion to V1.0 prototype.
Schematic and PCB updated to V1.1


Prettifier: Add spaces with non-callable keywords

I prefer to have a difference between, on one side: functions calls, end(), start(), and on the other side with, without, ignoring, by and group_rrigt, group_left.
The reasoning is that the former ones are not calls, while other are
functions. Additionally, it matches the examples in our documentation.
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

circleci is not letting me re-run the windows test though I am logged in. Test failure seems like a flake. @roidelapluie are you able to re-run the test? (or maybe an empty commit)


missing "accept" events in some scenario: kretprobe maxactive too low for accept()

The 'maxactive' attribute for kretprobes can be too low and cause kretprobes to be missed. This has caused offsetguess.go to sometimes fail on single-core VMs (bug https://github.com/weaveworks/scope/issues/2379, worked around successfully with #33).
But the 'maxactive' limitation can also cause problems after initialization and cause missing "accept" events, even on multi-cores. Reproduction steps (100% reproducible):

Start the tracer: sudo ./tracer
In another shell, start a bunch of processes waiting on the accept() system call: for i in $(seq 1 25) ; do (busybox nc -l -p $((8081 + i)) &) ; done
Start nginx locally: sudo docker run -d nginx
Connect to nginx: curl <IP_ADDRESS>
Notice that the "accept" event is missing. The other events ("connect" and "close") are fine:

24932019863063 cpu#0 connect 10674 curl <IP_ADDRESS>:33280 <IP_ADDRESS>:80<PHONE_NUMBER>
24932020412145 cpu#0 close 10674 curl <IP_ADDRESS>:33280 <IP_ADDRESS>:80<PHONE_NUMBER>
24932020692600 cpu#2 close 9725 nginx <IP_ADDRESS>:80 <IP_ADDRESS>:33280<PHONE_NUMBER>

As soon as the busybox processes are terminated, the tracer works correctly again.

Note: use nc from busybox to reproduce this issue. nc from https://nmap.org/ncat (the default on Fedora) will not reproduce the issue because it does not block on the accept() system call (it waits on the select() system call to know when there is an incoming connection and only start the accept() system call at that time). I have not seen this issue on microservices-demo. This might be because it uses asynchronous sockets or because it does not have enough processes using accept() in a synchronous way to cause the problem.
/cc @schu @iaguis @2opremio

Similar issue on bcc's tools/tcpaccept.py: https://github.com/iovisor/bcc/issues/1072


Enhancement request to support for microservices / web services within the catalogue

Currently there is support for services like: Database, Dashboard, etc. (https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/entity/services/serviceType.json) and their data lineage / dependencies can be documented.
This enhancement request is for there to be an ability to create a service to represent an application web service and the data dependencies that it has.  (Suggested name from brief discussion in Slack was: Microservice).
To start discussion on modelling / information required:

A microservice should contain the base URL of the service (i.e. web protocol, host name, port, base path)
For a given endpoint / path within the service, we'd like to be able to capture 1) the schema of the result from the service 2) the linage to the source datasets it depends on
The lineage of different URI sub-paths may be different (e.g. I might have a two completely separate APIs on the same web service, and each of them depends on separate datasets to source the relevant results)
Other services (e.g. pipelines) should be able to express lineage dependencies to a microservice

Is this something that aligns with the thinking / direction of services?
Thanks,

duplicate of this https://github.com/open-metadata/OpenMetadata/issues/10933


Too many records are downloaded in csv download in Taxonbase

Reproducible example:

Taxonbase
Extended search
Select all redlist categories (all 9)
Omit synonyms
Results in 2822 taxa
CSV download (2877 taxa are downloaded!)

Thereafter

Deselect categories LC, DD, NA, NE
Gives 656 taxa
CSV download (2877 taxa are downloaded!)

Well. It (the exact number) is not entirely reproducible. But I keep getting the wrong number of records in the download. Seems to be influenced by "resetting the search" and/or reloading page.


NodeJS: Hosting on Linux Server

HI,
Is it possible to host the bot built using NodeJS on a Linux server (with Public IP) and "Register" the bot URL as "Messaging Endpoint"?
Regards,
Arun

Yes, that should work just fine, though I don't have personal experience with it.
I don't believe the Node version of the builder depends on any packages that aren't available on Linux.

Hi @arunnanjundaswamy, closing this issue now. If you prefer it remain open, please @mention me here. Cheers.


Replace template

by template  where BlockPassthrough is an
enum class.
This is mainly for better readability and for some type safety. It touches a lot of files, so there's potential for conflicts, hence I'd like to merge this quickly.

[x] The behavior change can be verified via automatic tests

This change is a trivial rework / code cleanup without any test coverage.
This change is already covered by existing tests, such as (please describe tests).

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/6509/

Fixed compilation: https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/6516/

Jenkins ok.


docs(website): update reference docs

remove duplicated lines related to title
add hyperlinks to contracts pages

@d1onys1us please take a look.

These files are autogenerated and all the links made will be wiped in the next auto doc gen :(


Go implementations

Hey,
I added go implementations for

bubblesort
anagram-detection
array-pair-sum

Thanks! Indendation looks a bit weird. It should be tabs according to the standard. (https://stackoverflow.com/a/19094725/270334). Did you run gofmt on the files? Is your IDE replacing the tabs with spaces?

Formatted the files with go fmt and updated all indentation to tabs even though they were used already and the IDE doesn't replace them.

Whoops sorry. Looks good now. Merging 😄


Add vectorization support for the longMin aggregator.

This patch adds vectorization support for the longMin aggregator to speed up queries that use the MIN aggregator.
Summary of changes:

Added a new class LongMinVectorAggregator that implements the VectorAggregator interface.
Modified some existing test cases to include this vectorized in SchemaEvolutionTest.
Added a new simple test case to each CalciteQueryTest and TimeseriesQueryRunnerTest. Modified some test cases in TimeseriesQueryRunnerTest and GroupByQueryRunnerTest, SchemaEvolutionTest to demonstrate that vectorization does work for the longMin aggregator.
Enabled null handling in the LongMinAggregatorTest to test both null-compatibility and non null-compatibility code paths.
Query context documentation update.
Miscellaneous minor tweaks to java doc comments.

Once this is reviewed, I am hoping to also do the other min and max aggregators for float/double/long types, so we can trim down the list of aggregators that do not support vectorization :). Also, please suggest if I could add more tests or modify existing ones to ensure more code coverage, so the new code paths are exercised. Thanks!
/cc: @gianm @jihoonson

@gianm, thanks for the review! Added a simple test case to LongMinAggregationTest.


[flutter_tools] Version.unknown is equivalent to Version(0,0,0) under compareTo, which can result in surprising behavior

Directly related to https://github.com/flutter/flutter/issues/121468.
Filing this as a sub-issue to be fixed with its own PR (this also affects non Android Studio-related code).
Context
Version is a class that is used to represent a version of multiple pieces of software used throughout the tool, including Android Studio, IntelliJ, Visual Studio Code, and Cocoapods.
Issue
Version has a null-object[^*] instantiation, Version.unknown, which is used in a few places to represent the flutter tool being unable to detect the version of some software. Because Version also implements Comparable, it is easy to write logic that compares a more typical version object (e.g. Version(1, 2, 3)) to Version.unknown, which doesn't semantically make sense. For a specific example, consider Version(0,0,0) == Version.unknown, which resolves to true.
Because of this, branching logic based on Version comparison is prone to error if Version.unknown is used. If someone uses Version.unknown and they compare Verison objects, they must remember to explicitly check for Version.unknown in addition to those comparisons. Otherwise, they are at risk of treating Version.unknown as a legitimate version (0.0.0). Again, see #121468.
Possible fixes

Remove Version.unknown entirely. The drawback is that tool code has to use something else to represent the inability to find/detect a version within a software installation. null is the easiest choice, but the meaning of null is not as clear as Version.unknown, and it results in slightly less readable code.
Make the compareTo function of Version aware of Version.unknown (which should be made into a static const). Specifically, comparison with Version.undefined should result in an exception being thrown. While arguably better than the current behavior, users still need to remember to check for Version.unknown before making comparisons.

I suggest option 1.
[^*]: I'm abusing terminology here, since this object doesn't have any null/default behavior, but it is still accomplishes something a null-object is typically used to do—avoiding references to null.

Perhaps it should work more like a nan! 😅


v6.0.0 tracking issue

This release's main addition is the ICA improvements.
These improvements tackle two shortcomings of the current implementation of ICS-27:

The lack of a default/standard underlying app (also known as authentication module), which created a bottleneck for chains looking to integrate the controller submodule.
The need to separate application and authentication concerns.

The changes will make integrating the controller chain functionality easier (see ADR 009 for more information), and with the release of Cosmos SDK v0.46.x, they will enable any Cosmos SDK module (e.g x/auth, x/gov, x/group) to register interchain accounts and send transactions on their behalf.
For more details about these changes, please read this blog post.
Other features/improvements:

ICS-20:

Adding a metadata field in FungibleTokenPacketData (implementation of https://github.com/cosmos/ibc/pull/842 spec - update).
Adding the sequence number of the packet sent to MsgTransferResponse.

04-channel:

Simplify SendPacket API (implementation of https://github.com/cosmos/ibc/pull/731 spec update).

Milestones
v6.0.0 milestone
IBC spec compatibility
v1.0
QA
Backwards compatibility

[ ] Compatibility tests pass.

Migration

Checklist

[x] Bump go package version.
[x] Change all imports starting with github.com/cosmos/ibc-go/v5 to github.com/cosmos/ibc-go/v6.
[x] Branch off main to create release branch in the form  of release/v6.0.x.
[x] Add branch protection rules to new release branch.
[x] Add backport task to mergify.yml
[ ] Upgrade ibc-go version in ibctest.
[ ] Check documentation and migration docs are up-to-date.
[ ] Check Swagger is up-to-date.

Post-release checklist

[ ] Update CHANGELOG.md
[ ] Update the table of supported release lines (and End of Life dates) in RELEASES.md.
[ ] Update version matrix in RELEASES.md.
[ ] Update the list of supported release lines in README.md, if necessary.
[ ] Update docs site:

[ ] Add new release branch to docs/versions file.
[ ] Add label and key to versions array in config.js.

[ ] After changes to docs site are deployed, check ibc.cosmos.network is updated.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Compatibility test ad upgrade test runs pre-rc1.

Test runs pre final release:

Compatibility tests pass.
Upgrade tests pass.
Interchain accounts inter-tx tests pass.

Closed by v6.0.0.


Production minify created error code

I had 2 lines in my script that were valid lua, but got minified to an error
varb = vara - 1.
varc = something
got minified to (don't mind the variable names)
a=b-1.c=d
it is working fine when i use 1.0 it then becomes
a=b-1.0;c=d

Should be fixed too.


Add css-grid update article

@petele @jpmedley I believe this is kinda urgent as the article is linked to by the upcoming Chrome blog post. I’d appreciate if we can make this go live ASAP.

@jpmedley @petele Implemented both your reviews. PTAL :)


add performance script

Issue migrated from https://api.github.com/repos/gigforks/minio/issues/66, opened by @ahmedelsayed-93

Description
Test the performance skills for S3 server with big number of files uploaded and test the uploading speed.
related story https://docs.greenitglobe.com/gig/org_development/issues/82

work is being tracked in https://github.com/threefoldtech/home/issues/17


Authorization broken in Razor Pages .Net Core 3.0 preview 3

Asp.Net Core Identity 3.0 Preview 3 template with RP
Authorize attribute does nothing on the Privacy page
AuthorizePage nothing
AuthorizeFolder nothing
You can also navigate to /Identity/Account/Manage, which should trigger back to login whereas it shows Unable to load user with ID '' gotten from the get request.
Is this planned for preview 4?
Related to https://github.com/aspnet/AspNetCore/issues/7011 which is flagged as done and closed but does not work.

@Ponant can you show exactly what modifications you made to the app after the initial project was created?

@Eilon , go to the Identity/Account/Manage page of the template; there is no need to change anything to the template to get this bug.
Otherwise, you can do this
    [Authorize]
    public class PrivacyModel : PageModel

but you will be able to access the Privacy page
Also
services.AddMvc().AddRazorPagesOptions(o=>o.Conventions.AuthorizePage("/Privacy"))
.AddNewtonsoftJson();

@javiercn / @pranavkm - any idea?

Not sure what's happening here, but I'll take a look.

Just create the identity template and navigate to identity/account/manage and you should see it traversing the get request whereas it requires authorization. You can also use the AuthorizePage and the like and it should just ignore them. Let me know if you can reproduce. Cheers

Thanks for the details, @Ponant.
I could repro this using Preview3 bits.
This is where the failure is coming from: https://github.com/aspnet/AspNetCore/blob/c95ee2b051814b787b07f55ff224d03d550aafeb/src/Identity/samples/IdentitySample.DefaultUI/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs#L68
Obviously, the expectation here is that the user should be known. So indeed, authorization was completely bypassed.

@mkArtak , out of curiosity, do you know from where the bug comes from?

Not really, @Ponant. Let's wait for @pranavkm to handle this - he'll do a great job here.

The root cause of this issue is that the methods like AuthorizePage create an AuthorizeFilter but we also need an IAuthorizeData to show up in the endpoint metadata.
Since AuthorizeFilter is an MVC feature, it won't get executed by the authorization middleware - however the authorization middleware will run and suppress the filter.

@pranavkm , is it possible to know the cause of the bug? Thanks for the fix!


How can we implement Typing DNA API in Native Android App ?

Hi @Hitesh880443. The Android SDK is still in progress. One of our colleagues will contact you soon for more details.

There will be a release of TypingDNA Recorder for Native Android App, it is scheduled for next month.


Fix CAN_O_NOSleep and now all ATTR Decay item will never sleep

Fix Issue #956

When will this be commited ? 😍😎

I need you help @cbnolok. Can tick method just not work on sleeping sector.

Solved by the last commit


Renaming file with an h causes ide to unfocus file.

This is happening on Visual Studio 2017.
Steps to reproduce:
Open a solution.
Create a file.
Attempt to rename a file with the a name that contains the letter 'h', 'j', 'k, 'l'.
the rename process stops and focus is shifted in the direction indicated by the key pressed.
I'm not quite a vim wizard so if this is intended then feel free to close.

Wouldn't call myself a vim wizard either, but this is not the intended behavior.
The issue is due to that I'm not currently able to detect when the renaming starts by a mousepress.
Hopefully I can find the time to look at this soon, in the meantime, initiating the rename by pressing 'F2' should work as expected.


docs/index.rst index.rst

1+namber--:c+ / flask :
namber.. rst-class:: hide-header
Welcome to Flask
.. image:: _static/flask-horizontal.png
:align: center
Welcome to Flask's documentation. Get started with :doc:installation and then get an overview with the :doc:quickstart. There is also a more detailed :doc:tutorial/index that shows how to create a small but complete application with Flask. Common patterns are described in the :doc:patterns/index section. The rest of the docs describe each component of Flask in detail, with a full reference in the :doc:api section.
Flask depends on the Werkzeug_ WSGI toolkit, the Jinja_ template engine, and the Click_ CLI toolkit. Be sure to check their documentation as well as Flask's when looking for information.
.. _Werkzeug: https://werkzeug.palletsprojects.com
.. _Jinja: https://jinja.palletsprojects.com
.. _Click: https://click.palletsprojects.com
User's Guide
Flask provides configuration and conventions, with sensible defaults, to get started. This section of the documentation explains the different parts of the Flask framework and how they can be used, customized, and extended. Beyond Flask itself, look for community-maintained extensions to add even more functionality.
.. toctree::
:maxdepth: 2
installation
quickstart
tutorial/index
templating
testing
errorhandling
debugging
logging
config

docs/index.rst

this is not your playground for testing or learning how to use GitHub.


[core] Multitouch doesn't support more than two touch points

Please, before submitting a new issue verify and check:

[Y] I tested it on latest raylib version from master branch
[Y] I checked there is no similar issue already reported
[Y] My code has no errors or misuse of raylib

Issue description
The web build of RayLib doesn't seem to be tracking multitouch for more than two touch points correctly. Touch points beyond the second are not tracked, and when you tap a third finger it acts like you are tapping on the first touchpoint (interrupting the tracking of it).
This is problematic in my GameBoy emulator use case because some games require pressing multiple buttons (such as A+B+Start+Select to save in LoZ Links Awakening), which can not be input with only two touch points on the on screen controller.
Environment
Reproducible on both the latest iOS and Android OS.
Code Example
This can be reproduced on the multitouch example on https://www.raylib.com/examples/web/core/loader.html?name=core_input_multitouch

@skylersaleh It should work know, please report if it still fails.


{Package} Upgrade setuptools and wheel to the latest version.

Describe the bug
The latest setuptools 70.1.0 adds a vendored wheel 0.4.3 to generate wheel and it does not generate metadata.json.
Related PR:
https://github.com/pypa/setuptools/pull/4369
Wheel version higher than 0.30.0 has removed metadata.json from the generated files in .dist-info
https://github.com/pypa/wheel/issues/195
Now we pin the setuptools version to 70.0.0
and the wheel version to 0.30.0
Otherwise the metadata.json file will not be generated in the dist-info directory of the wheel package.
We should modify the logic of reading metadata and upgrade setuptools and wheel to the latest versions.
Otherwise it will be difficult to maintain the related code.
https://github.com/Azure/azure-cli-extensions/blob/main/azure-pipelines.yml#L79
https://github.com/Azure/azure-cli-extensions/blob/main/azure-pipelines.yml#L104-L105
https://github.com/Azure/azure-cli-extensions/blob/main/scripts/ci/util.py#L57
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/extension/tests/latest/test_dev_type_extension.py#L42
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/extension/tests/latest/test_wheel_type_extension.py#L46
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/extension/tests/latest/test_wheel_type_extension.py#L77
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/extension/tests/latest/test_wheel_type_extension.py#L77
https://github.com/Azure/azure-cli-dev-tools/blob/dev/azdev/operations/extensions/util.py#L48
Related command
None
Errors
metadata in the wheel file is: {
  "azext.minCliCoreVersion": "2.56.0",
  "azext.isPreview": true
}
Traceback (most recent call last):
  File "/mnt/vss/_work/1/s/scripts/ci/azdev_linter_style.py", line 290, in <module>
    main()
  File "/mnt/vss/_work/1/s/scripts/ci/azdev_linter_style.py", line 281, in main
    azdev_on_internal_extension(modified_files, azdev_type)
  File "/mnt/vss/_work/1/s/scripts/ci/azdev_linter_style.py", line 233, in azdev_on_internal_extension
    azdev_extension.check_extension_name()
  File "/mnt/vss/_work/1/s/scripts/ci/azdev_linter_style.py", line 116, in check_extension_name
    if metadata['name'] != extension_name:
       ~~~~~~~~^^^^^^^^
KeyError: 'name'

Issue script & Debug output
None
Expected behavior
None
Environment Summary
None
Additional context
No response

Thank you for opening this issue, we will look into it.

https://github.com/Azure/azure-cli/issues/29467

https://github.com/Azure/azure-cli/issues/29421


Add known caveat to handle stuck prebackup when upgrading

Summary

Adds a note how to handle stuck prebackup pods after an upgrade

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[x] Update the documentation.
[x] ~Update tests.~
[x] ~Link this PR to related issues.~

Does this only happen directly after the upgrade?

Does this only happen directly after the upgrade?

Hard to say. In the test cluster I have now also stuck backups longer after the upgrade:
k -n syn-backup-cluster-objects get backups
NAME                       SCHEDULE REF   COMPLETION   PREBACKUP   AGE
backupjob-1611590400       k8s-objects                             21h
backupjob-1611648000       k8s-objects    Succeeded    Succeeded   5h3m
backupjob-1611648900       k8s-objects    Succeeded    Succeeded   4h48m
backupjob-1611649800       k8s-objects    Succeeded    Succeeded   4h33m
k8s-objects-backup-2b58h   k8s-objects                 Waiting     93m
k8s-objects-backup-5lf45   k8s-objects                 Waiting     108m
k8s-objects-backup-67z6t   k8s-objects                 Waiting     78m
k8s-objects-backup-6jkvh   k8s-objects                 Waiting     63m
k8s-objects-backup-7646r   k8s-objects                 Waiting     3m43s
k8s-objects-backup-8mdt7   k8s-objects    Succeeded    Succeeded   4h3m
k8s-objects-backup-bh9d9   k8s-objects                 Waiting     3h18m
k8s-objects-backup-bqnrh   k8s-objects                 Waiting     33m
k8s-objects-backup-cjvmr   k8s-objects                 Waiting     18m
k8s-objects-backup-dz7rz   k8s-objects    Succeeded    Succeeded   4h18m
k8s-objects-backup-jqdqx   k8s-objects                 Waiting     123m
k8s-objects-backup-lk6sw   k8s-objects                 Waiting     168m
k8s-objects-backup-rhk8j   k8s-objects                 Waiting     138m
k8s-objects-backup-rns5w   k8s-objects                 Waiting     3h33m
k8s-objects-backup-wb49m   k8s-objects                 Waiting     48m
k8s-objects-backup-zhnv9   k8s-objects                 Succeeded   3h48m
k8s-objects-backup-zkg95   k8s-objects                 Waiting     3h3m
k8s-objects-backup-zp6wr   k8s-objects                 Waiting     153m

May be also related to #331

Hard to say. In the test cluster I have now also stuck backups longer after the upgrade:
k -n syn-backup-cluster-objects get backups
NAME                       SCHEDULE REF   COMPLETION   PREBACKUP   AGE
backupjob-1611590400       k8s-objects                             21h
backupjob-1611648000       k8s-objects    Succeeded    Succeeded   5h3m
backupjob-1611648900       k8s-objects    Succeeded    Succeeded   4h48m
backupjob-1611649800       k8s-objects    Succeeded    Succeeded   4h33m
k8s-objects-backup-2b58h   k8s-objects                 Waiting     93m
k8s-objects-backup-5lf45   k8s-objects                 Waiting     108m
k8s-objects-backup-67z6t   k8s-objects                 Waiting     78m
k8s-objects-backup-6jkvh   k8s-objects                 Waiting     63m
k8s-objects-backup-7646r   k8s-objects                 Waiting     3m43s
k8s-objects-backup-8mdt7   k8s-objects    Succeeded    Succeeded   4h3m
k8s-objects-backup-bh9d9   k8s-objects                 Waiting     3h18m
k8s-objects-backup-bqnrh   k8s-objects                 Waiting     33m
k8s-objects-backup-cjvmr   k8s-objects                 Waiting     18m
k8s-objects-backup-dz7rz   k8s-objects    Succeeded    Succeeded   4h18m
k8s-objects-backup-jqdqx   k8s-objects                 Waiting     123m
k8s-objects-backup-lk6sw   k8s-objects                 Waiting     168m
k8s-objects-backup-rhk8j   k8s-objects                 Waiting     138m
k8s-objects-backup-rns5w   k8s-objects                 Waiting     3h33m
k8s-objects-backup-wb49m   k8s-objects                 Waiting     48m
k8s-objects-backup-zhnv9   k8s-objects                 Succeeded   3h48m
k8s-objects-backup-zkg95   k8s-objects                 Waiting     3h3m
k8s-objects-backup-zp6wr   k8s-objects                 Waiting     153m

May be also related to #331

I would suggest to wait for merging until we know more about #331

I would suggest to wait for merging until we know more about #331

I believe this isn't relevant anymore?


Use MongoDB Atlas in production

We should use it.  Let's hope it's under 1k/year.

We should investigate AWS DocumentDB as well. It might be cheaper.

We may need to go with the dedicated server, that is, M10 for 0.08$ per hour ~= 700$/year.  M10 is the only one with a SLA which is 99.995%, or 131 seconds per month.

If we use MongoDB Atlas, we want to run it on AWS.

Here is a migration plan:

Put qa, int_qa and docker-compose on personal M0 Mongo Atlas (free teir) - use prefixes to enable the database names to not conflict.
Put production on a M10 instance (normal naming)
Migrate teh data with a series of backup and restore commands, renaming the database names as I go along (where needed).

We probably can go with Serverless: https://www.mongodb.com/community/forums/t/is-mongodb-serverless-suitable-for-production/184480

The mogodump is breaking from an esoteric error when it lasts too long.  The issue appears to be here: https://github.com/kubernetes/kubernetes/issues/74551


Fixes #395 Add variables in ZeebeBpmnError

As mentioned in #395, zeebe already supports sending variables along with the ThrowErrorCommand. This adds the ability to optionally update context variables when throwing ZeebeBpmnError

 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.


ollama --version 0.1.20 not working

Our ollama no longer works once upgrading to version 0.1.20.  All the commands, for instance:
curl http://localhost:11434/api/chat -d '{
>   "model": "llama2",
>   "messages": [
>     {
>       "role": "user",
>       "content": "why is the sky blue?"
>     }
>   ]
> }'

Just gets stuck and doesn't run. What's going on? I believe this is the latest version, is the version not stable? Do we have to downgrade ollama? If so how do we go about doing that?

Hi @PhilipAmadasun - I'm sorry it's hanging for you. You definitely shouldn't need to downgrade – 0.1.20 was focused on stability around CUDA, although there's still a bit more work to on it. To help me track it down:

Is this on macOS or Linux?
If Linux, what kind of GPU?
Do you have the logs handy? journalctl --no-pager -u ollama on Linux and cat ~/.ollama/logs/server.log on macOS

Thanks so much

Here are the logs:
ollama_logs.txt

I think it the same bug:
>ollama run mixtral
zsh: illegal hardware instruction  ollama run mixtral

@Rust-Ninja-Sabi  Yes use command:
curl https://ollama.ai/install.sh | sed 's#https://ollama.ai/download#https://github.com/jmorganca/ollama/releases/download/v0.1.17#' | sh

Thanks. This script does not run on macOS

Here's the excerpt from the log where it wen't bad.
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: llama_apply_lora_from_file_internal: applying lora adapter from '/usr/share/ollama/.ollama/models/blobs/sha256:f4e82fc0919ab5e92b0bf8230154a96cd6c0462a7583b39af0ab6f4d1c8d3521' - please wait ...
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: llama_apply_lora_from_file_internal: bad file magic
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: llama_init_from_gpt_params: error: failed to apply lora adapter
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: Lazy loading /tmp/ollama2924267924/cuda/libext_server.so library
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: Lazy loading /tmp/ollama2924267924/cuda/libext_server.so library
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: {"timestamp":1705015928,"level":"ERROR","function":"load_model","line":581,"message":"unable to load model","model":"/usr/share/ollama/.ollama/models/blobs/sha256:e8a35b5937a5e6d5c35d1f2a15f161e07eefe5e5bb0a3cdd42998ee79b057730"}
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: 2024/01/11 23:32:08 llm.go:129: Failed to load dynamic library cuda - falling back to CPU mode error loading model /usr/share/ollama/.ollama/models/blobs/sha256:e8a35b5937a5e6d5c35d1f2a15f161e07eefe5e5bb0a3cdd42998ee79b057
Jan 11 23:32:08 arnold.ailab.internal ollama[340593]: 2024/01/11 23:32:08 ext_server_common.go:85: concurrent llm servers not yet supported, waiting for prior server to complete
Jan 12 18:53:33 arnold.ailab.internal systemd[1]: Stopping Ollama Service...

I can't speak to the lora adapter load problem, but that failure cascaded to another bug where we didn't unlock a lock and that lead to concurrent llm servers not yet supported, waiting for prior server to complete which was fixed a week ago.  Upgrading to 0.1.22 will resolve the lock bug, but you might want to re-pull your models in case something got corrupted on your filesystem.

@Rust-Ninja-Sabi your problem is unrelated to this issue.   You are most likely trying to run Ollama under Rosetta on an ARM mac, which until recently wasn't supported (resulting in an "illegal instruction" error). If you ugprade, it will work, but you should run Ollama as a native ARM app and you'll get much better performance.

@dhiltgen hello Daniel
Thanks for your message. I installed Ollama again (version 0.1.22). Now it works. I installed it from Ollama homepage. I hope it is the native version.

@Rust-Ninja-Sabi we compile as a "Mach-O universal binary" so a single executable contains both x86 and ARM variants and MacOS will pick the right one based on your configuration.  Running under Rosetta will work now (where it used to crash), but will have a significant performance penalty.

@PhilipAmadasun please let us know if 0.1.22 resolves your problem

Thanks. It is working.

@dhiltgen @jmorganca All's good! Sorry or late response.


Configurable commands

refs #114

I fixed test code not to depend on order of map keys.

On travis-ci test, go1.4.3 is failed to build, but the failure is not related to this PR. Latest ugorji/go includes a function which is added from go1.5~ ( https://github.com/ugorji/go/commit/5099b68ed379e9b07d62052b23e326a7e95dbf75 ).

OK, let's set some official policy regarding which version of Go SensorBee supports. I think supporting latest three major versions (e.g. 1.7, 1.6, and 1.5 for now) is fine.

I mean, minor versions :)

I think your proposal is good and will make issue about supported versions of Go, thanks.


Duplicate identifier error on bind usage

Migrating a JS project to TS. With TypeScript latest:
The following js file errors: Duplicate Identifier.
class Foo {
  constructor(){
    this.foo = this.foo.bind(this);
  }
  foo(){}
}

Note : this does not happen in TypeScript stable :rose:
PSPS: using  = ()=> will error with "property initializer not allowed in js"

This is probably related to @andy-ms' recent changes to allow renaming and find-all-definition of this expressions.

looks fixed in latest.


CSS

User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

CSS style sheet has been added and applied to the HTML file.


⚠ TiendaEnLinea has degraded performance

In 4693d05, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 5352 ms

Resolved: TiendaEnLinea performance has improved in 4271799.


Add Selwyn's image and description for About Us

Added Selwyn's section under about-us

Uploaded image
Update links and information

LGTM!


Listener of startRecording 'Distance'

Is there any listener or callback function which gives realtime recording of distance. Like observeSteps is for steps recording.

you can try to add distance into the record array.  Such that [step,distance] or `[distance]. I can't guarantee it will work, but I did remember i had that implementation at that moment though it was not in doc. Of cuz, you need to have location permissions configs in manifest.


CopyExF ignores src rect

It seems that the F variant of CopyEx ignores the source rectangle.
This code
renderer.CopyEx(texture, &sdl.Rect{W: 60, H: 60}, nil, 0, nil, sdl.FLIP_NONE)
correctly renders the cropped texture full-screen.
This code however
renderer.CopyExF(texture, &sdl.FRect{W: 60, H: 60}, nil, 0, nil, sdl.FLIP_NONE)
renders the whole texture full-screen.

Hi @snakeru, I'm sorry for the wait. I have pushed the fix up to the master branch. Could you please test it out and let me know if it solves the issue? Once it's confirmed to be fixed on your side, I will immediately tag it as the next patch release!

Hi @veeableful. You call that a wait???
Frankly, I thought that this is an upstream bug and therefore it will take months to be fixed.
Anyway, it works now. Many thanks! you can include this into your next release.

Haha I usually try to respond within two days so it's a relief that you didn't wait long 😃
In any case, I have pushed it as v0.4.2!

Added PR #460 for the Renderer.CopyF signature.

Hi @Schobers, thank you so much! I have merged the commit and tagged it as the next patch release.


Bug: axios.waiting grows when the max entries is set + etag handling

What happened?
Hey Arthur,
Recently we've migrated our code to axios and we've used your package to handle caching. Thank you for your work here ❤
After the migration, we've noticed that memory consumption of our app presents a "lovely" toothsaw pattern 😬 I've spent quite a lot of time trying to figure out what's wrong.
Here is the recap - sorry for it being long.
Etag / last-modified
This is not a bug, but that caused us to store many entries forever.
Every resource with an etag header (or last-modified) in the response (the default express app adds it), is kept forever, and there is no simple way to disable it (or I haven't found one).
I've mitigated it with the following code that removes those headers and assign default stale ttl:
import axios from 'axios';
import {
  setupCache,
  buildMemoryStorage,
  defaultHeaderInterpreter,
} from 'axios-cache-interceptor';

const DEFAULT_TTL_MS = 5 * 60 * 1000;
const DEFAULT_STALE_MS = 60 * 1000;

const CLONE_DATA = false;
const CLEANUP_INTERVAL_MS = 5 * 60 * 1000;
// set to unlimited to avoid the hanging promise in the `waiting` object
const MAX_ENTRIES = undefined;

const axiosCache = setupCache(axiosCacheInstance, {
  ttl: DEFAULT_TTL_MS,
  storage: buildMemoryStorage(CLONE_DATA, CLEANUP_INTERVAL_MS, MAX_ENTRIES),
  headerInterpreter: (headers) => {
    // remove unwanted headers that force the cache entry to be stalled/cached forever
    headers && delete headers.etag;
    headers && delete headers['last-modified'];

    let ret = defaultHeaderInterpreter(headers);

    if (typeof ret === 'object' && 'cache' in ret) {
      // we have the cache and stale time or possibly null. make sure it's our default value
      ret.stale = DEFAULT_STALE_MS;
    } else if (typeof ret === 'number') {
      // we have the ttl number, but we have to add the stale time
      ret = {
        cache: ret,
        stale: DEFAULT_STALE_MS,
      };
    }

    if (ret === 'not enough headers') {
      // by default it would use the DEFAULT_TTL_MS, but `stale` would be `undefined`
      // in order to override `stale` we need to return an object
      ret = {
        cache: DEFAULT_TTL_MS,
        stale: DEFAULT_STALE_MS,
      };
    }

    return ret;
  },
});

waiting
To mitigate the problem with stalled entries kept forever, we've tried using MAX_ENTRIES in the memory storage, but that didn't improve the situation but the problem was different.
Where we have many parallel requests fired, and we exceed the max entries limit, the memory adapter removes some of them. But they are kept in the axios.waiting object. After the request is resolved they are not removed from there. Probably until you try to hit the same request.id again (the same url, method, query).
I believe the problem comes from this part of the code:
https://github.com/arthurfiorette/axios-cache-interceptor/blob/f0ba5ad92ef333ba146a4378780a0b27262be1c0/src/interceptors/response.ts#L93-L108
Because when you're removing the entry from the storage and it's not there, the returned value is
{ state: 'empty' }

so this if is true, so we end the response interceptor, and we do not remove / resolve other waiting requests.
In our very specific case, the URL passed to Axios was sliced from a very long document, which caused Node to keep the reference to the original string. (slice / substring / regex match, does not create the copy of a string, but points to the fragment of the original string).
proof of concept
Here is my repo with test cases describing the two issues we had:
https://github.com/bukowskiadam/axios-cache-interceptor-memory-issue
I hope it gives some working example so you can validate the problems.
What's next
(In other words: what is this issue about)

Fixing axios.waiting memory leak
Maybe provide an easy way like etag: false to disable handling ETag headers.

Best regards,
Adam
axios-cache-interceptor version
v1.5.2
Node / Browser Version
Node v20.12.2
Axios Version
v1.6.8
What storage is being used
Memory Storage
Relevant debugging log output
Output too long - see the linked project

https://axios-cache-interceptor.js.org/config/request-specifics#cache-etag disallows etag

Hi, as you described in the docs (and I checked the code), the only valid options are true | string. false does nothing.
I've checked that here: https://github.com/bukowskiadam/axios-cache-interceptor-memory-issue/blob/e7286464f8aa036fc6eace6c35baee89824dd6b0/test/etag.js#L29
Imo this code:
https://github.com/arthurfiorette/axios-cache-interceptor/blob/f0ba5ad92ef333ba146a4378780a0b27262be1c0/src/interceptors/response.ts#L135-L137 allows only to override etag, but not to delete it 🤷🏻

Hey @bukowskiadam, you're right!
I do not have enough spare time to work in this project right now... Anyone up to a PR?

Just a quick note here that we've also run into this memory leak in production and it caused us to attempt to reshape how we scale our services that were planning on using this library. We ended up having to roll back to axios-cache-adapter to balance effort/value of the swap.


Hover effect in dark mode

I would like to add hover effect in navigation bar in dark mode. Please assign me this task.

heyy @pranjay-poddar i want to work on this issue i'm new in open source and this is my first hactoberfest please assign this issue to me:)

please assign me this issue.

@pranjay-poddar  please assign me this task


If the card number is blank, Rails app returns ArgumentError.

If the card number is blank, Rails app returns ArgumentError like this.
<ArgumentError: You cannot set source to an empty string. We interpret empty strings as nil in requests. You may set (object).source = nil to delete the property.>
So, I can't handling the error objects.
My code is the below one.
  def create
    stripe_customer = Stripe::Customer.retrieve(current_user.stripe_customer_id)
    stripe_customer.source = params[:stripeToken]
    stripe_customer.save

    stripe_subscription = Stripe::Subscription.retrieve(current_user.stripe_subscription_id)
    stripe_subscription.plan = Plan.find(params[:plan_id]).stripe_plan_id
    stripe_subscription.save

    flash[:success] = I18n.translate('charge.success')
    render :new
  rescue Stripe::CardError => e
    # It doesn't execute this code.
    flash[:alert] = I18n.translate("stripe.errors.#{e.code}")
    render :new
  rescue => e
    # If the card number is blank, the processing passes through here.
    flash[:alert] = e
    render :new
  end

Please give me some advice.

Sorry, I was mistaken.
I resolved above problem.
Thanks.

Awesome, great to hear it!


FIX: connect doesn't break zip now

Codecov Report

Merging #248 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
- Coverage   93.86%   93.74%   -0.13%
==========================================
  Files          13       13
  Lines        1566     1566
==========================================
- Hits         1470     1468       -2
- Misses         96       98       +2

Impacted Files
Coverage Δ

streamz/compatibility.py
66.66% <0%> (-33.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Ready for review!

@martindurant since zip_latest is out of scope, can this get another round?


No Block matches the given query.

hello,
It shows 404 page not found error whenever we try to click on go to block

Here is the paper

hello,
It shows 404 page not found error whenever we try to click on go to block

How did you solve this problem?