Deprecate min_ver/max_ver and use builtin max()/min() functions

Situation
~The min_ver and max_ver functions have currently this signature:~
def max_ver(ver1, ver2):
    # ...
def min_ver(ver1, ver2):
    # ...

~In other words, these functions allow to compare exactly two versions. However, there may be situations, where you have a list of versions. This use case could not be done with the current implementation and needs a cumbersome for-loop.~
As we have comparison operators, there is no need for this functions anymore. Of course, this works only for VersionInfo types, not strings. If someone still wants to compare strings, we could document a replacement.
Action Items:

[ ] add deprecation warning for both functions
[ ] document replacement; maybe something like: max(map(semver.VersionInfo.parse, ['1.1.0', '1.2.0', '2.1.0', '0.5.10', '0.4.99']))

Old issue:
Suggested Solution
To allow to compare more than two versions, it would be useful to change the above signature like this:
def max_ver(ver1, ver2, *others):
    # ...
def min_ver(ver1, ver2, *others):
    # ...

This would resemble the builtin functions min and max. The above functions could be used like this:
from semver import max_ver

m = max_ver("3.0.0", "2.0.0", "1.0.0", "4.0.0")
print(m)
# => "1.0.0"

Benefits:

No incompatible changes to API; it's still possible to use two arguments
Only minimal changes in the implementation

Alternative Solution
The proposed solution may has some drawbacks:

it doesn't allow to pass an iterable (like the builtin functions min and max).
could hit a performance bottleneck

If you don't like the proposed solution, we could:

leave the current implementation of min_ver and max_ver untouched, or,
allow iterables in  min_ver and max_ver (would introduce incompatible API changes),
introduce additional functions with the suffix _iter which allows to optimize for iterables. The signature could be:

def max_ver_iter(iterable, *, default=None, key=None):
    """Returns the biggest version from an iterable

   :param iterable: an iterable with version strings
   :param default: specifies an object to return if the provided iterable is empty.
   :param key: specifies a one-argument ordering function like that used for list.sort()
   :raises: ValueError (If the iterable is empty and default is not provided)
    """

Questions

Does it make sense?
Should we raise something if the *others tuple contains an invalid version?
Should we ignore invalid versions? Or provide a flag (something like raise_if_invalid) which can be set?
Anything else?

@tomschr it's a quite interesting idea. I like it :)
In my opinion both solutions looks good but personally I prefer the first one - but I wonder if it's possible to use single dispatch here.

@ppkt

it's a quite interesting idea. I like it :)

Thank you. :)

I prefer the first one - but I wonder if it's possible to use single dispatch here.

Ahh, right, you probably mean the one from functool.singledispatch, right?
Yes, that could also be a solution. Not sure if testing would make it a bit more complicated (which wouldn't be an argument against it).

Unfortunately, it seems that it's a new feature in Python 3.4+

Yes, you're right. I found it too when I scrolled down a bit. Argh.
I've looked into the implementation and it doesn't look trivial.

@tomschr Sorry, I wasn't clear - I was talking about your "Suggested solution" - i.e. adding *other argument :)
I also think that it would be great to have an ability to provide a iterable instead of list of versions and I thought that it could be possible with feature called "singledispatch" but, unfortunately, as long as we support Python 2.7 it's not possible without an external package

@ppkt  No problem. :-)

it could be possible with feature called "singledispatch" but, unfortunately, as long as we support Python 2.7 it's not possible without an external package

Yes, that's unfortunate.
Theoretically, if we don't want to rely on an external package, we could copy the missing feature and apply it only for Python 2.7. I know, it would be an ugly solution and only for such a small function would be probably "mad". :laughing:
By the way, do we have any plans when we are "sunsetting" the support for Python 2.7? Next year, when it's officially not supported anymore?
I know, it's a different issue, but I haven't found any information about how we want to deal with that. Maybe we should open a new issue and document that somewhere (in the README, our documentation etc.)?

@tomschr I would prefer to avoid including external library in our code ;)
Regarding sunsetting Py2.7 - I have no idea. Since semver is quite simple library I think we should keep support for older Python versions as long as it's possible but we should definitely think about moving forward. Maybe releasing version 3.x with dropped support for older versions and refactored to use modern features used in language but keep support for bugfixes in 2.x branch?

@tomschr I would prefer to avoid including external library in our code ;)

Mee too! Just playing devils advocate here. :wink:

Regarding sunsetting Py2.7 - I have no idea. [...]

I've opened issue #161 for this to clarify. Funny, we had the same idea. :wink: :+1:

@ppkt By the way, I maybe found a workaround for this "singledispatch". As we can't use functools.singledispatch (not available for Python 2.7), we could circumvent it.
The pkgutil.simplegeneric is (as the name implies) a simple generic "singledispatch". It is available for Python 2.7 and beyond. Here is a short demonstration:
from __future__ import print_function
import pkgutil

@pkgutil.simplegeneric
def max_ver(v1, v2):
    print("> Comparing v1=%d and v2=%d" % (v1, v2))
    return max(v1, v2)

@max_ver.register(list)
@max_ver.register(tuple)
def _(iterable):
    print("> iterable:", iterable)
    return max(iterable)

print(max_ver(2, 5))
print(max_ver((3, 5, 10, 2, 1, 0)))

# Output is:
# > Comparing v1=2 and v2=5
# 5
# > iterable: (3, 5, 10, 2, 1, 0)
# 10

Would that be an option?

@tomschr neat :) It seems that it's some kind of backport of singledispatch:
https://github.com/python/cpython/blob/2.7/Lib/pkgutil.py#L28
https://github.com/python/cpython/blob/3.4/Lib/pkgutil.py#L3

After reading the issue again, I believe we should (if at all) implement the changes in 3.0.0. That makes it easier for us and we can use the functools.singledispatch function (if we want to use it).
Could we mark this feature for 3.0.0? Maybe with a GH milestone?

What about tagging?

I must admit I have never use GH milestone previously. What are the pros and cons compared to tagging issues?

I must admit I have never use GH milestone previously. What are the pros and cons compared to tagging issues?

Good question! :+1: After thinking about again, we have three options:

Labels
are a lightweight way to associate an issue with a name. You can filter issues.
Milestones
It's another way to structure and associate your issue. An issue now "belongs" to a milestone. If you assign your issues to a specific release, it shows you a percentage value about to what degree the release is ready. Milestones can be closed and reopened like issues.
Projects
It's a bit like a Trello board (if you know that Web site) and a way for project managers to get an overview. You can sort your issues into, for example, TODOs, Doing, and Done. You can have more than one board (for example, a board for a 2.9.x release, another board for the 3.x.y release).

I've sorted them from easy to more advanced. Labels are the easiest way, projects the most advanced, and milestones are in the middle.
All options are a good method to structure your issues. I guess, it's also a matter of taste.
You can continue to use labels (as you already did that). If we find out this is not enough, we can try milestones. :wink:

Have you tried just using the builtin max() function? It works quite well. I believe this is possible due to the implementation of __lt__ and __gt__.
>>> versions = [VersionInfo(0, 1, 0), VersionInfo(0, 2, 0), VersionInfo(0, 1, 3)]
>>> max(versions)
VersionInfo(major=0, minor=2, patch=0, prerelease=None, build=None)

Ahh, thanks for the hint, Thomas! :+1:  I haven't looked at this issue for some time.
You are right, with the help of the __lt__ and __gt__ operators, it makes comparisons easier. I guess, there is no need for the max_ver and min_ver functions anymore.

Actually, I was about to open a PR to deprecate these functions, but as I was editing the docs to reflect this, I realised that if we do that we will lose a use case: when you want to compare two strings (or dict, tuple) directly without having to call semver.parse.
I wonder if it would be acceptable to lose this functionality for the sake of cleaner code 🤔

@tomschr maybe we could simply change these functions to use the builtins behind the scenes?
I don't want to go about deprecating things and then someone comes up and says that the new workflow is unacceptable and that we need to change it back.

@tomschr maybe we could simply change these functions to use the builtins behind the scenes?

Do you mean to use max (or min) inside max_ver/min_ver? Yes, why not. Do you have an idea?

I don't want to go about deprecating things and then someone comes up and says that the new workflow is unacceptable and that we need to change it back.

Sure. :+1:  Maybe we should combine it with documentation?

Do you mean to use max (or min) inside max_ver/min_ver? Yes, why not. Do you have an idea?

I think using map like you suggested with *args would be relatively efficient to implement an arbitrary number of arguments for this function. It would be backwards compatible too 😉.
With some type checking we can pretty easily implement converting from strings, tuples and dictionaries.

Probably I was a bit too hasty with my last comment (it was too late and I was probably too tired. My bad, sorry).
After rethinking it a bit, maybe we need to clarify what we want to do with the max_ver/min_ver functions in general. We started by declaring both functions as deprecated. That's a good start.
If I'm not mistaken, we have the following options:

Don't change either function signatures nor implementations.
Don't change function signatures, but change implementations (e.g. using the code that I've suggested with map and max).
Change function signatures and allow more than two arguments. That means probably, we need to change the implementations too.

Solution 1 would be obviously the least destructive and most compatible. It would also mean we could focus more on documentation.
Solution 2 is something in the middle. On the other hand, why should we change a deprecated function and add functionality before we remove it? As we don't change the function signature, we have only two arguments. Changing the implementation doesn't add much value.
Solution 3 is also similar to solution 2. I'm a bit concerned about adding functionality to an already  deprecated function.
So all in all, max_ver/min_ver is used for old code.
So after thinking about all the options above, weight the pros and cons... I'm leaning towards the first solution. Maybe we should leave the function "as is", but focus more on improving the documentation.
As we declared both functions as deprecated, we shouldn't add additional functionality to it. Especially when we favor the builtins max/min as a better solution for new code.
So to summarize it, my idea would be:

We leave both deprecated functions "as is" (of course with the @deprecated decorator intact).
Enhance section "Getting Minimum and Maximum of two Versions":

Add a deprecation warning for max_ver/min_ver.
Add an example of the "old way" with  max_ver/min_ver.
Add a short text that the preferred way would be to use the builtins max/min in combination with a VersionInfo object.
Mention to convert strings into VersionInfo object first with map.
Make reader aware that the method with max/min works best when all versions are of the same type.
Anything else?

What do you think? Would that be a meaningful approach?

I'm a bit concerned about adding functionality to an already deprecated function.

Actually the PR (#264 ) to deprecate these functions hasn't been merged yet, so these functions aren't deprecated yet 😉.
As such, the current state of these functions makes them not very useful. Improving could have potential to make them more useful, but if we want to stick to the bare essentials and keep the fluff at a minimum, then maybe the best way to go is to deprecate these functions and make the documentation super clear about how you can use the VersionInfo thanks to it's magic functions.
If I am feeling the vibe of this project right, I think we want to keep it simple, yet powerful.
As such, these are the only two public module functions left that have not been deprecated. I think this might be a sign that we should focus more on having a powerful class that is well documented than having a bunch of utility functions that are probably little used shortcuts for use cases that we can fulfill simply by knowing what VersionInfo is really capable of 💪.

What do you think? Would that be a meaningful approach?

Definitely 😃

I'm a bit concerned about adding functionality to an already deprecated function.

Actually the PR (#264 ) to deprecate these functions hasn't been merged yet, so these functions aren't deprecated yet :wink:.

Haha, yes, that's true. But almost. :wink:

As such, the current state of these functions makes them not very useful.

That's also my feeling. Or maybe someone else comes up that it indeed fulfill a certain need.

[...]
If I am feeling the vibe of this project right, I think we want to keep it simple, yet powerful.
As such, these are the only two public module functions left that have not been deprecated. I think this might be a sign that we should focus more on having a powerful class that is well documented than having a bunch of utility functions that are probably little used shortcuts for use cases that we can fulfill simply by knowing what VersionInfo is really capable of :muscle:.

I agree with you. Probably having a good and powerful VersionInfo class does make things easier. A lot of of these comparisons cannot be done with pure version strings, for example.
There was some concern in another issue that some shortcuts (like semver.compare) are shorter to write. That could may be the case. Not sure how to handle this case yet.

What do you think? Would that be a meaningful approach?

Definitely smiley

:+1:


Wrong order  in side panel after drag&drop

Reordering in side panel:

Steps to reproduce:
Load Taggle.
Drag and drop Discriminatory attitude scale to 5th position.
Expected behavior:
Discriminatory attitude scale would be dropped to 5th position.
Observed behavior:
Discriminatory attitude scale appeared at 2nd position.
Possible cause:
After playing with this a bit, it seems that the dragged item is always marked as "the next one" (in this case 2nd) in sorting hierarchy and is dropped at the appropriate position. If I e.g. set Continent as 1st and Development index as 2nd in the hierarchy and then Drag and drop Discriminatory attitude scale to 5th position it will be marked as 3rd in the sorting hierarchy and dragged at 3rd position.
Web browser version and OS: chrome 62 @ Windows 10
Observed on the current daily build

closing in favor of #467 since it is part of the problem


The app configuration name shows instead of full path when hovering over the opened tab

Storage Explorer Version: 1.31.0-dev
Build Number: 20230706.6
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.4.1 (Apple M1 Pro)
Architecture: x64
How Found: Ad-hoc testing
Regression From: Not a regression
Steps to Reproduce

Expand 'App Configurations' node -> Open one app configuration.
Hover over the opened tab.
Check whether a full path shows.

Expected Experience
A full path shows.
The screenshot of a QA disk.

Actual Experience
Only show the app configuration name.

Moving to 1.33.0 so if we ship a new version of app config extension, it can be included from there.

Verified this issue after installing app configuration extension 0.2.1. Fixed. So, we are going to close it.


Gem based theme problems

So I tried once again to use the gem based version of your theme(latest 1.5.0), however it has two big problems which I can't seem to find a solution to(and I don't understand where things went wrong):

Archive page is broken for some reason (tags are grayed out and remain unfocused). Files that I have changed that could lead to this issue are: _includes/components/tags.html(only translated Show All to Italian, shouldn't be an issue); _data/locale.yml (added Italian localization); _data/variables.yml (changed lang: it); /all.html (added Italian title).

TOC is not showing up: I have an article with h3 headers(three #) and toc isn't showing up anymore. I've uncommented the selectors: 'h1,h2,h3' in _config.yml however it's not working.

Everything works flawlessly with non-gem based theme version 1.4.3.

I resolved the tags problem, it was a wrong indentation in the sources option. The TOC problem still remains tho.

sources options? It's a bug ?

No, it was a human error on my part, when I downloaded the new _config.yml for some reasons safari broke line breaks and didn't notice this one as well. Sorry about it.


Variant combinator(s) working badly with nested util

UnoCSS version
0.55.7
Describe the bug
(Variant combinator(s) refer to https://github.com/unocss/unocss/blob/main/packages/preset-mini/src/_variants/combinators.ts)
Current implementation of combinators generates undesired selector order. Variants other than combinators can not be applied to the correct position.
There are previous discussions about this in #958 and #1104, but they do not consider nesting when the order of variants can not be changed.
Reproduction
Playground
When I write:

test1p1

test1p2

It will make the background of two ps inside div turn red when hover on div. What I want is to change the hovered one's background. So I have to write:

test2p1

test2p2

In a reverse order!
When it comes to more complex situations, the solution is not so simple. For example I have a shortcut custom-shortcut aliasing to hover:bg-red and I want to use it like:

test3p1

test3p2

It works just like what all-[p]:hover:bg-red does.
By the way #2575 is still not fixed, using all instead of all-[p] does not work for the second example.
System Info
(agnostic)
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

For complex nesting, is it possible to rewrite with dynamic variant?
https://github.com/unocss/unocss/blob/5dcc8ceddb7b6acbb06be914b5f1bd3a444c8976/test/assets/preset-mini-targets.ts#L1079-L1082


Update tutorial-basic-ad-azure.md

At the end of line 22 there is the sentence "This information is provided for individuals who my be starting from nothing.", I corrected "my" with "may"

Learn Build status updates of commit 07f246a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/cloud-sync/tutorial-basic-ad-azure.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@marcomangiante - thanks for this edit!


Add support for removed/renamed in file processing

This should prevent the following critical messages from happening:
2015/06/16 17:11:23 CRITICAL Unexpected file status renamed on […]
2015/06/16 17:10:47 CRITICAL Unexpected file status removed on […]

:+1:


[GOBBLIN-1731] Enable HiveMetadataWriter to override table schema lit…

…eral
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-1731] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1731

Description

[ ] Here are some details about my PR, including screenshots (if applicable):
Enable Option to override Hive table schema literal

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3587 (fad7cfb) into master (a246e23) will increase coverage by 1.80%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #3587      +/-   ##
============================================
+ Coverage     46.87%   48.67%   +1.80%
+ Complexity    10630     7866    -2764
============================================
  Files          2112     1469     -643
  Lines         82744    57929   -24815
  Branches       9215     6666    -2549
============================================
- Hits          38784    28196   -10588
+ Misses        40404    27114   -13290
+ Partials       3556     2619     -937

Impacted Files
Coverage Δ

...apache/gobblin/hive/writer/HiveMetadataWriter.java
0.00% <0.00%> (ø)

...c/main/java/org/apache/gobblin/util/AvroUtils.java
56.50% <ø> (+0.69%)
:arrow_up:

...a/org/apache/gobblin/cluster/GobblinHelixTask.java
62.36% <0.00%> (-21.51%)
:arrow_down:

...a/org/apache/gobblin/util/limiter/NoopLimiter.java
40.00% <0.00%> (-20.00%)
:arrow_down:

...lin/data/management/copy/iceberg/IcebergTable.java
83.63% <0.00%> (-5.05%)
:arrow_down:

.../apache/gobblin/runtime/api/JobExecutionState.java
79.43% <0.00%> (-0.94%)
:arrow_down:

...pache/gobblin/iceberg/writer/GobblinMCEWriter.java
74.89% <0.00%> (-0.67%)
:arrow_down:

...n/converter/avro/JsonElementConversionFactory.java
80.97% <0.00%> (-0.08%)
:arrow_down:

...pache/gobblin/util/orc/AvroOrcSchemaConverter.java
58.33% <0.00%> (ø)

...blin/converter/filter/AvroFieldsPickConverter.java
85.89% <0.00%> (ø)

... and 664 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Column level cellEdit.blurToSave

The bootstrap table 2 is much flexible and powerful, just would like to know if it is possible to set some columns to blurToSave while some columns to blurToSave as false?
Thanks

@AllenFang thank you for replay, I will try to prepare a PR next month.

👍


Request subspec on Alamofire 4.9

I'm a hobbyist, since XMLMapper 1.6.1 is compatabile with Alamofire 5.2, I was wondering if the Request Subspec is compatible with 5.2 or oly 4.9?
EDIT: podfile has
pod 'Alamofire', '~> 5.2',
pod 'XMLMapper', '~> 1.6.1',
pod 'XMLMapper/Requests',
as well, when trying with XCode Swift package manager it does the same thing when switching to the enhancements/alamofire5 support tree. Request subspec is not optional

@mheh thanks for using this library. Support for Alamofire version 5 is not completely ready yet. I need to find some time to finish it and release a new version.
If this happens, Requests subspec will support Alamofire 5.2

@mheh thanks for using this library. Support for Alamofire version 5 is not completely ready yet. I need to find some time to finish it and release a new version.
If this happens, Requests subspec will support Alamofire 5.2

Support for Alamofire 5 added with pull request #32


Hide model GUID when creating class

This is when I create my first class:

The GUID should not be visible.

Should be already solved as part of another issue, where the way we generate labesl was changed.
At the same time, if the model has no alias the ID with addional message will be sivible.


Update confirm.js

Fix promise callbacks

It can be good to have the same speech (https://github.com/KleeGroup/focus-core/issues/260).
Fortunately we have anticipated the change this time.


transfer "Any" in messages

Continuing the discussion in #836, Message now allows AnyRefto be transferred, since kryo needs to know the class name to serialize the Message.
case class Message(msg: AnyRef, timestamp: TimeStamp = Message.noTimeStamp)

After some experiment, I found Kryo is able to serialize  AnyVals that can be unboxed into Java primitives with DefaultSerializer. One exception I'm aware of is BoxedUnit``(), which needs user to configure like other AnyRefs which haven't been registered.
Hence, I propose we allow transferring Any in messages.

In java, it will do automatic boxing.
In scala, you can do manual boxing like this:
Message(3.asInstanceOf[AnyRef], ..

update doc in http://www.gearpump.io/site/0.6/how_to_write_a_streaming_application/#about-message-type

@Renkai raised the question again.

With type Any we don't need to cast basic scala types like Int,Long,Double, and Any seems well compatible with java.
I tried Any,java will treat Any as Object,too.


fix: ensure index path exists before reading

This changeset ensures the index.json exists before trying to read it.
When first fetching the registry.json would get created but not the index.json and an error would be thrown.
Instead of creating index.json we just check for it.

Thanks a lot! I've missed this one


Fix MSVC errors compiling GenericSignature.h

This is because MSVC doesn't support auto function pointers as template parameters and bugs out with the following message:
source_file.cpp(19): error C2275: 'CanType': illegal use of this type as an expression
source_file.cpp(8): note: see declaration of 'CanType'
source_file.cpp(19): error C2146: syntax error: missing ')' before identifier 'dependentType'
source_file.cpp(19): error C2146: syntax error: missing '>' before identifier 'conformedProtocol'
source_file.cpp(22): error C2977: 'function_ref': too many template arguments
source_file.cpp(6): note: see declaration of 'function_ref'

I've also made a connect bug for this: https://connect.microsoft.com/VisualStudio/feedback/details/3116499

@swift-ci please smoke test

@swift-ci please smoke test


Setup expectations for ocfl-py

When running ocfl-validate.py on a OCFL object, I get the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/awoods/.local/lib/python3.7/site-packages/ocfl/data/validation-errors.json'

Is there some additional setup command I should be running in order for ocfl-py to have the entire environment it is expecting?

Doh! Thanks for pointing that out @awoods -- I forgot to install the list of errors in the setup script.
0.0.3 on pypi should now fix this -- https://pypi.org/project/ocfl-py/0.0.3/

I believe I updated my ocfl-py by:
pip3 install ocfl-py

ocfl-validate.py is installed in: "/home/awoods/.local/bin/ocfl-validate.py"
It is not clear to me how to see which version of ocfl-validate.py that is... but in any case, the following shows no result:
cd ~/.local/lib
find . -name 'validation-errors.json'

..and I am still getting the error when running: "ocfl-validate.py ":
FileNotFoundError: [Errno 2] No such file or directory: '/home/awoods/.local/lib/python3.7/site-packages/ocfl/data/validation-errors.json'

Hmmm.... did you do
pip3 install --upgrade ocfl-py

I just tried and install with a fresh virtualenv and couldn't replicate the problem

Solved.


current_user_saved_albums_delete() and current_user_saved_albums_contains() are missing

There is an endpoint to delete an album from the library and one to check if an album exists.
These methods are analogous to current_user_saved_tracks_delete() and current_user_saved_tracks_contains(), but are not implemented

Fixed as part of https://github.com/plamere/spotipy/pull/414


Generate openapi spec

F1007 13:25:07.482206       1 main.go:44] Error: Failed executing generator: some packages had errors:
map Element kind Map is not supported in map[string]github.com/appscode/voyager/apis/voyager/v1beta1.Paths

https://github.com/kubernetes/kube-openapi


PrimitiveTypes() Function is gone missing.

The example https://bl.ocks.org/niekes/ff4d3c8497d8436d4d8fdb9f0121d12d  uses the function .primitiveType('LINES');   This function is not in the current release of d3-3d.js downloaded from https://github.com/Niekes/d3-3d/releases  version 0.0.9 .

This was a first test. Please take a look at the the README. PrimitiveTypes() is now shape()


Update README.md

Made sentences more concise, removed redundancy, and corrected some punctuation mistakes.

@lkylych Thank you very much! The text is much better and much cleaner now


Acknowledge all rabbitmq messages

Description of PR

What component(s) does this PR affect?

[x] Back-End (Database, Detection/Configuration/etc. Microservices)
[x] Front-End (Flask, API, UI, etc)
[x] Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
[ ] Docs (incl. wiki)
[ ] Build System

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Database, Detection/Configuration/etc. Microservices)
[ ] Front-End (Flask, API, UI, etc)
[ ] Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
[ ] Docs (incl. wiki)
[ ] Build System

Related Issue

Resolves #
Solution

Type

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update
[ ] None of the above

Checklist:

[x] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

@slowr approved as-is, but if possible check also the following todos so that we can solve the problem of performance too, once and for all:
1. no_ack in hist and exa taps need to be replaced as the rest of the changes you did
2. no on conflict query (replace with select --> if hit, then update, if miss, then insert)

@slowr so after our discussion, the TODO is formed like this: make sure than when the detection is off (can be a group of detectors), then the pg-amq exchange is deactivated, so that the channel is not overloaded by the bridge producing updates with no one to consume them. The detection should reactivate the exchange, When it is again shut down, the process is repeated. I do not know what is the workload for this, maybe it is an easy fix depending on the architecture you have introduced for pg amq.

Follow-up on TODO:
https://docs.celeryproject.org/projects/kombu/en/stable/reference/kombu.html#message-consumer
 consume(no_ack=None)
    Start consuming messages.

cancel()
    End all active queue consumers.

We can use these functionalities and have a consumer initiated in listener.py When detection is on, then we cancel it. When off, we consume. For safety reasons and to avoid race conditions we also need to check periodically if detection is on and off (e.g., imagine if it starts before the listener or is stopped before that, and we miss the shift), and make sure that their states are mutually exclusive. The sole task of the consumer will be to ack messages, only while detection is dead (and thus there are no other consumer for the pg-amq-bridge exchange).

I broke the PR, will investigate and fix.


Favor stellar config dir.

What
Favor ~/.config/stellar and pwd/.stellar config directories. This will create missing config dirs by using the stellar name, instead of soroban.
Why
Given the push to the stellar-cli, we're should match config directories as well. Right now, we already have checks for local .stellar config directories, even though we generate a .soroban in case it doesn't exist.
Known limitations
N/A

@leighmcculloch a 👍 here, please?


[Removal]:

Hotspot Name
Damaged Bamboo Quail
Hotspot b58 Address
11HWuBHiB1cUbmSKNA8CGFpgc9UNk1hgqwHHDvYvjAnV1bRMvZM
Discord Handle
luisrom
Hotspot Manufacturer
heltec
Removal Reason
I have my hotpot on the roof of my house, the only thing I have done is change the original antenna for greater coverage.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

You've opened 17 removal requests for different hotspots, each of which says your hotspot is on the roof of your house.
Have you got 17 houses?
And if so, why have you got 17 houses all in the same two small towns next to each other?

Most or all of which seem to be the ones you are requesting removal for?
added from https://github.com/helium/denylist/issues/7334

I don't have 17 houses but I have them on the roofs of different houses
because that's what the business is about or am I wrong?  to be able to
have different accesses at strategic points
El El vie, sep. 30, 2022 a la(s) 4:58 p.m., KXI1 @.***>
escribió:

You've opened 17 removal requests for different hotspots, each of which
says your hotspot is on the roof of your house.
Have you got 17 houses?
And if so, why have you got 17 houses all in the same two small towns next
to each other?

Most or all of which seem to be the ones you are requesting removal for?
added from #7334 https://github.com/helium/denylist/issues/7334
—
Reply to this email directly, view it on GitHub
https://github.com/helium/denylist/issues/7861#issuecomment-1264062916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3LQHUPD3JLP67CROE35RWTWA5PA5ANCNFSM6AAAAAAQZ3CQRY
.
You are receiving this because you authored the thread.Message ID:
@.***>

OK, you said 'my house' each time, so that was confusing.
To prove your hotspots are really located where you say they are, please provide for several of the hotspots:

The hotspot name/address
Clear photos showing the location - i.e. a photo showing the view from a hotspot's location, so that it can be matched against a satellite photo

This picture its very good for you
El El vie, sep. 30, 2022 a la(s) 6:13 p.m., KXI1 @.***>
escribió:

OK, you said 'my house' each time, so that was confusing.
To prove your hotspots are really located where you say they are, please
provide for several of the hotspots:

The hotspot name/address
Clear photos showing the location - i.e. a photo showing the view
from a hotspot's location, so that it can be matched against a satellite
photo

—
Reply to this email directly, view it on GitHub
https://github.com/helium/denylist/issues/7861#issuecomment-1264121688,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3LQHUITS22ERB3YWAQ4HDDWA5X2VANCNFSM6AAAAAAQZ3CQRY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Incorrect docs re: Graphviz

The docs on Graph say

graphviz rendering is not a part of petgraph

However, there is basic Graphviz support in the dot module.

I'm just trying to say that petgraph doesn't make pngs.

Doesn't seem to be a bug, thank you anyway.


Metrics

Just for the fun of it it would be nice to have some metrics .. like the smallest hello world, biggest hello world (filesize). Maybe LOC.

If someone wants to write a script for this to be executed and posted into the readme at each commit like the list_languages script @thatHexa wrote that would be awesome

On Sun, 19 Feb 2017 at 17:43 Mike Donaghy<EMAIL_ADDRESS>wrote:

If someone wants to write a script for this to be executed and posted into
the readme at each commit like the list_languages script @thatHexa
https://github.com/thatHexa wrote that would be awesome
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leachim6/hello-world/issues/293#issuecomment-280927184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXFlji9zDla89qTH8wxpil5s2o7tOEntks5reGMJgaJpZM4IjO45
.

 Great to be back to working on this project again!

Thanks for all of your contributions @thatHexa

@thathexa are you still working on this?

Just for the fun of it it would be nice to have some metrics .. like the smallest hello world, biggest hello world (filesize). Maybe LOC.

Hi

https://github.com/Abutayar/hello-world/commit/e94a6cb4675ca8c85449987ddc458a64399a75fa
is this useful?


PP-2398 Added refund history capabilities

WHAT
A brief description of the pull request:

Leveraged EclipseLink extended support for tracking all changes made to refunds table. The EclipseLink HistoryPolicy has been configured on a ClassDescriptor via a custom HistoryCustomizer which one enabled with the appropriate @Customizer annotation on the RefundEntity will insert a row into the refunds_history table on every update to the primary refunds table to track the rows state. The history table also defines a start and end timestamp, so that the state of any row at any point in time can be determined.
The liquidbase migration script was updates to add the refunds_history table in the database schema.
Added an index on the refunds_history table to optimise performances while searching the history by charge_id.
A POJO called RefundHistory was introduced as a data holder for refund history
entries. It comes with appropriate SQL result set mappings to enable JPA native queries
to map result sets direclty onto it.
RefundDao was extended with a searchHistoryByChargeId method as its name implies allowing to search refunds by chargeId from the history.
ChargeEventsResource has been reworked to incorporate refund events in its response messages. The structure of an event in the payload has been extended with a discriminator representative of the type of event which can be either: PAYMENT or REFUND. All events are listed in ascending order according to the update date.

Addressed code review comments from @maxcbc


tinycuda error

I installed the tinycuda with the command
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
When I try import  tinycudann, I got this error
`Traceback (most recent call last): File "", line 1, in  File "/home/leo/anaconda3/envs/sdfstudio/lib/python3.10/site-packages/tinycudann/init.py", line 9, in  from tinycudann.modules import free_temporary_memory, NetworkWithInputEncoding, Network, Encoding File "/home/leo/anaconda3/envs/sdfstudio/lib/python3.10/site-packages/tinycudann/modules.py", line 50, in  C = importlib.import_module(f"tinycudann_bindings.{cc}_C") File "/home/leo/anaconda3/envs/sdfstudio/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: /home/leo/anaconda3/envs/sdfstudio/lib/python3.10/site-packages/tinycudann_bindings/_61_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl8GPUTrace13gpuTraceStateE
I tired this in following environment:`
Ubuntu 22.04
python 10
pytroch 1.12.1+cu113

Try installing via python -m pip ...  maybe pip is installing to a different environment

I tried python -m pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch still does not work.
how suppose I check if tinycudann is installed in correct environment explicitly?

Is there anything in this directory?
/home/leo/anaconda3/envs/sdfstudio/lib/python3.10/site-packages/tinycudann_bindings/
Search your computer for a file named _**_C.cpython-310-x86_64-linux-gnu.so
Or try to create a new env and paste here the output of tinycudann installation.

leo@leo-Alienware-15-R3:~/anaconda3/envs/sdfstudio/lib/python3.10/site-packages/tinycudann_bindings$ ls _61_C.cpython-310-x86_64-linux-gnu.so
the _**_C.cpython-310-x86_64-linux-gnu.so file is under the correct directory in my environment

You are right, I missed this part:
undefined symbol: _ZN3c104impl8GPUTrace13gpuTraceStateE
What GPU do you have? Maybe this operation is not supported for gpu capability 6.1

I have a GTX 1060, I also post an issue on tiny-cuda-nn repo.

Local implementation
I got such dependecies: torch==1.12.1+cu113 and corresponding torchvision and torchaudio packages.(nvcc --version->11.3 in my case)
Then executing the following codes
$ git clone --recursive https://github.com/nvlabs/tiny-cuda-nn
$ cd tiny-cuda-nn

and it works!

I tried a lots, and found the following methods works for me:
1.Clone the project first:
git clone --recursive https://github.com/nvlabs/tiny-cuda-nn

2.Go into the project folder:
cd tiny-cuda-nn

3.Then build the project with cmake:
tiny-cuda-nn$ cmake . -B build
tiny-cuda-nn$ cmake --build build --config RelWithDebInfo -j

4.Enter the folder where setup.py is located:
cd tiny-cuda-nn/bindings/torch

5.Just run setup.py:
python setup.py install

6.If the following code does not report an error, it means that tinycudann is installed successfully!
python
>>> import tinycudann as tcnn

Then you can run according to the command provided by the author：
 git clone ...
Hope it will help you!希望可以帮到大家^^有问题可以给我留言

@githubLeoliu got any fix for this finally ?
I am getting the same error.


fix(Landing page): Update WEC link and VEO link, update proposal files

:tada: This PR is included in version 1.1.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


July 2024 JDK8 Release Triage

Release Summary Report for release-openjdk8-pipeline
Warning: The release summary report is not yet complete. Currently, it only contains partial results.
Report generated at: Thu, 18 Jul 2024 14:21:12 GMT
TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptium.net/job/build-scripts/job/release-openjdk8-pipeline/65/
Started by upstream project "build-scripts/utils/releaseTrigger_jdk8u" build number 2618 at 7/18/2024, 9:29:35 AM

✔ results in these Tables means the activity has successfully completed.
⏳ results means that we are actively working on closing off the runs needed for this version, platform, binaryType.
⛔ means there is no build planned for that version/platform combination.
⏸ means activity not yet started.

Platform
Status
Results
Actions

x86-64_mac
✔
comment comment2
NEEDED to respin due to binaries not being signed new pipeline release-openjdk8-pipeline/68

x86-64_linux
✔
comment
java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_VALUE_INVALID https://github.com/adoptium/aqa-tests/issues/5420 known, non-blocking failure, NSS lib related

x86-64_windows
✔
all pass

aarch64_linux
✔
comment

x86-64_alpine-linux
✔
comment
java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_VALUE_INVALID https://github.com/adoptium/aqa-tests/issues/5420 known, non-blocking failure, NSS lib related

ppc64le_linux
✔
comment

ppc64_aix
✔
comment

sparcv9_solaris
✔
comment
Xvfb issue all jobs failing, on rerun 1 non-blocking testcase failure to investigate/exclude jdk/jfr/event/compiler/TestCompilerCompile.java

x86-64_solaris
✔
comment
2 SSL testcase failures,  javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java & sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.sh suspect due to new machine config, consider non-blocking

x86-32_windows
✔
comment
Exclusion needed for compiler/loopopts/TestUnrollLimitPreciseType.java#test1 on this platform, using unrecognized VM option

Separate pipeline and branch

Platform
Status
Results
Actions

arm_linux
⏳
comment
TestUnrollLimitPreciseType Unknown VM option, exclude for this platform

x86-64_mac

x86-64_linux

x86-64_windows

aarch64_linux

x86-64_alpine-linux

ppc64le_linux

ppc64_aix

sparcv9_solaris

x86-64_solaris

x86-32_windows

sparcv9_solaris
All test jobs hitting this issue (same as seen in dry run)
13:42:07  + /usr/X11/bin/Xvfb :2 -screen 0 1024x768x24
13:42:07  _XSERVTransNAMEDOpenPipe: fattach(/tmp/.X11-pipe/X2) failed, errno=1
13:42:07  _XSERVTransOpen: transport open failed for named/test-siteox-solaris10u11-sparcv9-1:2
13:42:07  _XSERVTransMakeAllCOTSServerListeners: failed to open listener for named
13:42:08  Error in setting egid to 0: Not owner

FYI @steelhead31

I'll take a look at this, need to find a root cause for this...

I'll take a look at this, need to find a root cause for this...

Thanks!  Yes, I have not seen this happen anytime previous to this July dry-run and release pipelines

Afte

sparcv9_solaris
All test jobs hitting this issue (same as seen in dry run)
13:42:07  + /usr/X11/bin/Xvfb :2 -screen 0 1024x768x24
13:42:07  _XSERVTransNAMEDOpenPipe: fattach(/tmp/.X11-pipe/X2) failed, errno=1
13:42:07  _XSERVTransOpen: transport open failed for named/test-siteox-solaris10u11-sparcv9-1:2
13:42:07  _XSERVTransMakeAllCOTSServerListeners: failed to open listener for named
13:42:08  Error in setting egid to 0: Not owner

FYI @steelhead31

I'll take a look at this, need to find a root cause for this...

I've fixed the issues with Xvfb, but believe this to have been caused by the Xvfb session being started, then the following script causing the test shell to drop out, leaving some rogue xframe related to files.
I've tidied up the rogue files, and fixed the permissions to reduce all of the errors with starting Xvfb, and only the known warning "Unable to edit egid" remaining, which can be ignored.
The root cause of the failures thou appear to be related to this script, which does not execute cleanly on Solaris/Sparc
00:22:16.193  + cd ./aqa-tests
00:22:16.193  + . ./scripts/testenv/testenvSettings.sh

arm_linux
extended.perf - dacapo_xalan and renaissance-finagle-http core dump in original run, on rerun renaissance-finagle-http passes and dacapo_xalan fails with
javax.xml.transform.TransformerException: java.lang.RuntimeException: Programmer assertion is incorrect! - Can not setRoot on a non-iterated NodeSequence!
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2405)
        	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        	at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        	at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        	at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        	at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        	at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        	at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2270)
        	at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1356)
        	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
        	at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
        	at org.dacapo.xalan.XSLTBench$XalanWorker.run(XSLTBench.java:102)
        Caused by: java.lang.RuntimeException: Programmer assertion is incorrect! - Can not setRoot on a non-iterated NodeSequence!
        	at org.apache.xpath.Expression.assertion(Expression.java:423)
        	at org.apache.xpath.axes.NodeSequence.setRoot(NodeSequence.java:275)
        	at org.apache.xpath.axes.LocPathIterator.asIterator(LocPathIterator.java:269)
        	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:207)
        	at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)

x86-64_mac

all tapfiles except arm32 https://ci.adoptium.net/view/Test_grinder/job/TAP_Collection/11/

I had thought arm is using the different repo, which has to be collected separately. However it's wrong. As long as it is triggered by same upstream build pipeline we can collect all by once. Here is the build https://ci.adoptium.net/view/Test_grinder/job/TAP_Collection/19/

https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05/AQAvitTapFiles.tar.gz


Build as a transformer

There is some more in depth discussion going on over here: https://github.com/gatsbyjs/gatsby/issues/5200 that concerns how this plugin and Gatsby work together. I thought you may want to take a look!

Thanks for letting us know :)
If you're still looking for a way to access the raw code, perhaps make a comment on this issue with a potential use case. We'll soon have a way to dynamically create mdx nodes as well, which I believe should solve all use cases.
(Note that the links above are to the gatsby 2.0 compatible plugin, which is being developed in a separate repo and has richer feature support than the 1.0 compatible one here)


Add more comments to filter.lua

@patrick-stephens can you re-approve? I added missing data sample


Feature request: Lensflare effect

A Lensflare effect would be cool to have and add a more immersiv feeling.
Examples:

https://krpano.com/plugins/userplugins/lensflare/example/_vr/index.html
https://threejs.org/examples/webgl_lensflares.html
https://www.babylonjs.com/demos/lens/

However, I do not know how complicated it is to implement this.

I would be interested in this as well. I could work on this - not sure how we want to attach it to the scene though.


fix react warning

Any update on when this fix will be merged in?

I've had compound hand injuries to deal with for the last two weeks, so I'm only just now able to get back to visiting my github work queue.

tests pass, warning's disappeared, in it goes.

v5.3.3 published to npm

Beautiful thank you!!


metric.compute throws ArrowInvalid error

I get the following error with rouge.compute. It happens only with distributed training, and it occurs randomly I can't easily reproduce it. This is using nlp==0.4.0
  File "/home/beltagy/trainer.py", line 92, in validation_step
    rouge_scores = rouge.compute(predictions=generated_str, references=gold_str, rouge_types=['rouge2', 'rouge1', 'rougeL'])
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/nlp/metric.py", line 224, in compute
    self.finalize(timeout=timeout)
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/nlp/metric.py", line 213, in finalize
    self.data = Dataset(**reader.read_files(node_files))
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/nlp/arrow_reader.py", line 217, in read_files
    dataset_kwargs = self._read_files(files=files, info=self._info, original_instructions=original_instructions)
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/nlp/arrow_reader.py", line 162, in _read_files
    pa_table: pa.Table = self._get_dataset_from_filename(f_dict)
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/nlp/arrow_reader.py", line 276, in _get_dataset_from_filename
    f = pa.ipc.open_stream(mmap)
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/pyarrow/ipc.py", line 173, in open_stream
    return RecordBatchStreamReader(source)
  File "/home/beltagy/miniconda3/envs/allennlp/lib/python3.7/site-packages/pyarrow/ipc.py", line 64, in __init__
    self._open(source)
  File "pyarrow/ipc.pxi", line 469, in pyarrow.lib._RecordBatchStreamReader._open
  File "pyarrow/error.pxi", line 122, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Tried reading schema message, was null or length 0

Could you try to update to datasets>=1.0.0 (we changed the name of the library) and try again ?
If is was related to the distributed setup settings it must be fixed.
If it was related to empty metric inputs it's going to be fixed in #654

Closing this one as it was fixed in #654
Feel free to re-open if you have other questions


Observations of set_tcpdump

lines 184-258: set_tcpdump
line 193,204: not sure if this is an issue or not, but the '%d' is highlighted a different color; not sure if the code will try to read it as a different value
Can we determine if running the tcpdump won't run into permission issues?
line 250: I blame Kauffman

I r confused... what is the question here with lines 184-258?
line 192,204 is supposed to be %d for format string of digit.
Always blame him :)


Preserve data

What is done in this PR?
In this project, I preserved the data from the app and loaded preserved data on startup.

[x] On exit from the app save all the data (books, people, and rentals) into JSON files.
[x] On startup of the app load all data from files.

Link to project requirements
Thank you for reviewing

Thank you


We are pleased to announce the release of .NET 9 Preview 3.

We are pleased to announce the release of .NET 9 Preview 3.
Here's a summary of what's new in .NET Libraries, Runtime, & SDK in this preview release:

TimeSpan.From overloads
Added PersistableAssemblyBuilder type in System.Reflection.Emit
Faster exception handling
Inlining Improvements: Shared Generics with Runtime Lookups
Terminal Logger Usability

For details on these new features and more see the

.NET Libraries Release Notes
.NET Runtime Release Notes
.NET SDK Release Notes

You can find detailed release notes for additional features in .NET 9 Preview 3 below:

.NET Data & EF Core
.NET MAUI
ASP.NET Core

You can re-use and re-mix release notes per license information.
Get started
To get started with .NET 9, install the .NET 9 SDK.
If you're on Windows using Visual Studio, we recommend installing the latest Visual Studio 2022 preview, or get started with Visual Studio Code and the C# Dev Kit extension.
You can find .NET 9 Preview 3 Installer & Binaries on GitHub.
Team Announcements & Discussions
Discuss this release with the product teams on GitHub through the announcements for this release.

.NET MAUI
ASP.NET Core
Libraries & Runtime
Containers
Source-build

Stay up-to-date with .NET 9
You can stay up-to-date with all the features of .NET 9 with:

What's new in .NET 9
What's new in ASP.NET Core
What's new in .NET MAUI
What's new in EF Core
Breaking Changes in .NET 9
.NET 9 Releases

For .NET 9 previews we are utilizing GitHub Discussions to make announcements. For more information read our discussion.
Stay up to date by subscribing to the RSS feed for all release announcements.
You can find a full list of release notes and discussions for all preview releases in the Release Index thread.
Originally posted by @jamesmontemagno in https://github.com/dotnet/core/discussions/9271

Core announcements are made https://github.com/dotnet/announcements and for discussions in GitHub Discussions News category: https://github.com/dotnet/core/discussions/categories/news please do not re-post.


Set up integrations with Amazon SNS/SES

Per #174, we will use AWS's Simple Notification Service and Simple Email Service. Find ways to enable/integrate them.

https://aws.amazon.com/sns/
https://aws.amazon.com/ses/

Reopening since we should probably get Neel involved in deciding whether there's any chance we'll get to this - strikes me as an icebox issue rather than a closed one, sorry, I misspoke in standup today.  Our SNS integration is in good shape but we don't have an SES integration at all.


Added java code sample for WebElement

Added java code sample for WebElement
I have signed the "SFC Individual Contributor License Agreement"

travis-ci build job got passed but its not reflecting here : https://travis-ci.org/SeleniumHQ/docs/builds/535258380


Delete messages in #thisweeksf that start with /guess

So that mistakes don't get published

Is this a chore to clean the database, or do you want to avoid storing them in the future ?

Nothing to do with the database. In Discord, it's fairly easy to TRY and trigger a slash command, but instead to send a message. For this ticket, I want to delete messages that are sent in the twsf channel that look like they might be mistakes.

Aaaaaaah ok you want to automagically delete messages on discord, I see.


Create Base Schematic

Base Schematic Capture by defining requirements:

[x] DRV8874
[x] Microcontroller to interface with the driver
[x] Power circuitry
[x] USB data communication
[ ] Optional: SPI LED bar control

Added in commit cffd102.


cmake: modules: fix FindThreads use of deprecated PTHREAD config

With the update of the Kconfig symbols to new naming scheme, CONFIG_PTHREAD does not exist anymore.
Use the new CONFIG_POSIX_THREADS instead
Follow-up: #73047

@cfriedt


Automatic Miner Startup

Hello, is it feasible to configure the miner such that it initiates automatically after the PC restarts, while the watchdog is disabled?

Sure, just enable startup in the "Startup" tab and disable the watchdog option.


Amendment to Centrifuge TWAMM Application

This is an amendment to the original TWAMM application #1813 with the following adjustment:

Postponed the starting timeline from Q4 2023 to Q2 2024

Based on the conversation with @keeganquigley in #1813 and via emaill

I have read and hereby sign the Contributor License Agreement.


Support for a type of tap-next-press button that works with modifiers

First of all, thanks a lot for this project, it is great and amazingly useful!
There is one feature that I've been missing though, I would like to have a button that can be used to tap or hold based on the next event following these rules:

It is the release of this button: tap
It is the press of some other button: hold
It is the release of some other button: tap around that other button.

The difference from the exiting tap-next-press button is the third rule.
The idea is to be able to create a button that, when pressed produces an a, and when held acts like ctrl
let's call this new button tap-next-press-around, using the mini language from the tutorial, I expect
(tap-next-press-around x lsft) bound to esc
to:
    Tesc Ta                 -> xa
    Plsft Pesc Rlsft Resc   -> X (because another modifier, shift, is released while esc is pressed)
    Pesc Pa Resc Ra         -> A (because a is pressed while esc is held down)
    Pesc Ta Resc            -> A (same as above, a is pressed while a is held down)
    Pa Pesc Ra Resc         -> ax (because a is released as esc is still held, but it was pressed before a)

This is useful, for example, when I quickly tap a modifer and end up releasing it before releasing the target button, as is often the case when typing.
This could be resolved by changing to a different layer for the modifiers that I use (like shift or ctrl) in which the target button is not bound to this tap-next-press button, but that would become cumbersome for multiple buttons

I have tried implementing this button on a fork by modifying the tap-next-press code to tap around the button when a previously-pressed button is released.
The code I tried goes like
...
    go = hookF InputHook $ \e -> do
      p <- matchMy Release
      if
        -- If the next event is my own release: we act as if we were tapped
        | p e -> doTap
        -- If the next event is a press: we act as if we were held
        | isPress e -> doHold e
        -- Else, if it is a release of some other button, tap around that button
        | otherwise -> tap (around (emitB $ e^.keycode) t) *> hold False $> Catch
...

The distinct part is the otherwise branch.
This code manages to have Pesc Pa Resc Ra working, but it breaks the expectation for Pa Pesc Ra Resc. It produces aax instead of ax. I believe that by using emitB on the keycode for a then un-holding the processing of new events, it is being duplicated, but I'm not sure how to swallow that duplicated event
It does work for most of my use cases and is better than not having it at all for me, so I'm using my fork for now, but I've been banging my head about this problem and couldn't really get to a desirable solution.
Does something jump to your mind?
Would this button be something this repository would want to include upstream once it's working?

Shouldn't you be able to get away with just ignoring the release of buttons that were pressed before the tap-next-press-around button?

Would this button be something this repository would want to include upstream once it's working?

Sure, this sounds useful!


Fix all javadoc excludes for the internal package.

Codecov Report

Merging #349 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #349      +/-   ##
============================================
+ Coverage     88.94%   88.99%   +0.04%
  Complexity      508      508
============================================
  Files            86       86
  Lines          2062     2062
  Branches        158      158
============================================
+ Hits           1834     1835       +1
  Misses          193      193
+ Partials         35       34       -1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/io/opencensus/trace/SpanExporterImpl.java
91.66% <0%> (+1.66%)
6% <0%> (ø)
: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 ddcf44b...0db4fb8. Read the comment docs.


iOS - YogaKit - Safe Area Layout Guides

Is there a way to use safe-area layout guides in YogaKit? For example, I needed to position a button so that it was always just above the tab bar (but I could not assume that a tab bar would always be present). It seemed that there was no good way to do this with YogaKit, so I resorted to using AutoLayout for that.

@Damoness - thanks that seems to do the trick.

you can set the UIViewController's edgesForExtendedLayout to UIRectEdgeNone, and add " [self.view.yoga applyLayoutPreservingOrigin:YES];" in viewWillLayoutSubviews.

Does not work for me. I did so:

in viewDidLoad - self.edgesForExtendedLayout = []

override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
view.yoga.applyLayout(preservingOrigin: true)
}


Feature: Replace Gorilla WS with Nhooyr WS

Is your feature request related to a problem?
No, but it is will great when fixing https://github.com/surrealdb/surrealdb.go/issues/119
Nhooyr's implementation is more lightweight and idiomatic than Gorilla's
For instance, Turso's Go driver, a popular database library, demonstrates the effectiveness of Nhooyr's WebSockets implementation (https://github.com/tursodatabase/libsql-client-go).
Also golang std ws mention Nhooyr's ws as

more actively maintained WebSocket
ref

Describe the solution
Remove Gorilla WS support and add Nhooyr WS support.
These changes will not affect function signatures and will improve the maintainability of the repository.
Alternative methods
There was an attempt to add Can along with Gorilla but it was rejected. https://github.com/surrealdb/surrealdb.go/pull/127. I considered using a soft switch but it is not feasible.
SurrealDB version
non related
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @ElecTwix
I also like https://github.com/nhooyr/websocket for many different reasons. The most useful for me was that it can work when you compile your golang to wasm.
I se you have already jumped the gun and are doing it here: https://github.com/ElecTwix/surrealdb-custom.go. Are you planning to try to merge upstream If the SurrealDB maintainer wants to take it ?

Hey @gedw99

I also like https://github.com/nhooyr/websocket for many different reasons. The most useful for me was that it can work when you compile your golang to wasm.

I didn't take that to count thanks for pointing that out.

I see you have already jumped the gun and are doing it here: https://github.com/ElecTwix/surrealdb-custom.go. Are you planning to try to merge upstream If the SurrealDB maintainer wants to take it?

I'm a big fan of SurrealDB and would love to contribute. While PR #127 wasn't accepted, I'm open to creating PR that introduces Nhooyr WS to go driver with the SurrealDB team's vision if they're interested in the future.

https://github.com/btwiuse/wsconn/blob/main/go.mod looks to be an adapter that supports both gorilla and nhooyr. its mint be another option...

Looks good, but I need to confirm compatibility with the gorilla's custom system type. I'll look into it.

HI @ElecTwix
what's required to get the Nhooyr WS accepted though ? Maybe I dont understand what you're suggesting ?

HI @ElecTwix
what's required to get the Nhooyr WS accepted though ? Maybe I dont understand what you're suggesting ?

Hi @gedw99,
Nhooyr WS ready to merge; awaiting approval from SurrealDB team. for context is rejected once with: PR

Heya, thanks for creating this feature request @ElecTwix and ongoing enthusiasm and efforts to improve the driver for everyone!
Overall, not opposed to changing the library. Personally I am not too familiar with the golang websocket space, but having had a search it seems that this library has a lot of performance benefits
https://github.com/gobwas/ws
One thing that stands out is that Nhooyr supposedly handles Context, whereas I haven't immediately been able to see that in gobwas. If gobwas supports context then I think that may be preferable. And they should both work for WebAssembly, seeing as gobwas does not have dependencies that would prevent that https://github.com/gobwas/ws/blob/master/go.mod
What do you think?

Heya, thanks for creating this feature request @ElecTwix and ongoing enthusiasm and efforts to improve the driver for everyone!

Thanks for your kind words @phughk.
I'm happy to help SurrealDB and everyone that uses it.

Overall, not opposed to changing the library. Personally I am not too familiar with the golang websocket space, but having had a search it seems that this library has a lot of performance benefits https://github.com/gobwas/ws

I know gobwas, it is great. For the test, I will also create an implementation for surrealdb to see the difference between both.

One thing that stands out is that Nhooyr supposedly handles Context, whereas I haven't immediately been able to see that in gobwas. If gobwas supports context then I think that may be preferable. And they should both work for WebAssembly, seeing as gobwas does not have dependencies that would prevent that https://github.com/gobwas/ws/blob/master/go.mod
What do you think?

gobwas doesn't have context support out of the box but it can be implemented, the problem with gobwas seems like it will need more work to maintain but I'm not sure like I said second answer I will create and we can decide afterward

I've been evaluating the gobwas WebSocket implementation. While it performs well, I have some concerns about its suitability for our project. Here's a breakdown of my findings:

Non-Idiomatic Go: Using gobwas might require writing code that deviates from idiomatic Go practices. This can lead to maintenance difficulties down the line.

Similar Performance with Idiomatic Go: The nhooyr implementation appears to offer comparable performance while adhering to idiomatic Go conventions, potentially making it a more sustainable choice.

Limited Client-Side Examples: gobwas seems to lack a comprehensive set of official examples for client-side WebSocket usage. This could make it challenging to integrate it effectively into our project.

I think we should go with nhooyr's version I will create PR replace gorilla ws still we can discuss I just want to gain sometime while waiting.
@phughk I know you are not related to go but we started conversation if you have time could you check thanks :)


path/filepath: Rel() returns invalid path if volume case is different

Go version - go1.4.2 windows/amd64
Operating system - Windows 7 64-bit
The problem:
package main

import (
	"path/filepath"
)

func main() {
	relpath, err := filepath.Rel(`E:\Projects\`, `e:\Projects\src`)
	if err != nil {
		println(err.Error())
		return
	}
	println(relpath)
}

Output:
Rel: can't make \Projects\src relative to \Projects

Expected:
src

I've ocassionally found this when some go program's os.Getcwd() call returned me a path with lowercased volume name - not sure why this happened, can't reproduce anymore. Some users, who set their GOPATH to something like e:\Projects might have problems.
Probably, on Windows, VolumeName() should have separate implementation like this:
func VolumeName(path string) string {
	if !isUNC(path) {
		return strings.ToUpper(path[:volumeNameLen(path)])
	}
	return path[:volumeNameLen(path)]
}

Helpful link - Naming Files, Paths, and Namespaces

We can fix drive letter comparison. But the problem is more general - windows paths are not case sensitive. So, for example, filepath.Rel(E:\Projects\, E:\projects\src) will be wrong too. I am not sure it is worth fixing particular case of drive letter. What do you think?
filepath.Rel is also broken when we walking from one drive to another. It has no meaning for something like filepath.Rel(c:\a\, d:\a\b). I would just avoid using filepath.Rel on windows.
Alex

Hi, Alex!
I've encountered this call in some command-line app, and I guess, a lot of filesystem-related command line apps are already using or will use this necessary call. Is it really ok to abandon this, when so simple solution is in the air?

filepath.Rel(E:\Projects, E:\projects\src) will be wrong too.
But you can compare their both lower or uppercase versions. The only problem - before returning the result you'll have to return the substring in original case - it will might be a clunky solution, but still possible.

It has no meaning for something like filepath.Rel(c:\a, d:\a\b)
I think it would be trivial to compare both drive letters / isUNC before actual comparsion. So, in your specific example, it would be absolutely ok to return "Rel can't make ..." error.

Fair enough. We can do as much as we can. @kpashka what you like to try and send this change?
Alex

It may be worth fixing this to help the go command (#11409). What is the definition of case-insensitive on Windows? Is it ASCII only, or are c:\δ and c:\Δ the same file name too?

What is the definition of case-insensitive on Windows?

I really don't know. I use English Windows version. For me everything is ASCII.

Is it ASCII only, or are c:\δ and c:\Δ the same file name too?

U:\>type main.go
package main

import (
        "io/ioutil"
        "log"
        "os"
        "path/filepath"
        "strings"
)

func main() {
        tmpdir, err := ioutil.TempDir("", "alex")
        if err != nil {
                log.Fatal(err)
        }
        defer os.RemoveAll(tmpdir)

        const filename = "\u0441\u0430\u0448\u0430_\u03b4.txt"

        err = ioutil.WriteFile(filepath.Join(tmpdir, filename), nil, 0644)
        if err != nil {
                log.Fatal(err)
        }

        f, err := os.Open(filepath.Join(tmpdir, strings.ToUpper(filename)))
        if err != nil {
                log.Fatal(err)
        }
        defer f.Close()
}

U:\>go run main.go

U:\>

It may be worth fixing this to help the go command (#11409).

This issue is easy, because drive letters are always 'a' to 'z' - there is no unicode here. You were always against treating windows paths as case-incensitive. So I stopped arguing. Maybe we should start ignoring case in drive letter and see where it gets us. I was fighting similar battle (see issue #11459) just the other day.
Mind you this issue is about filepath.Rel. filepath.Rel coubld be overkill for #11409?
Alex

From filepath.Rel:
That is, Join(basepath, Rel(basepath, targpath)) is equivalent to targpath itself

But in Windows I got an error as shown here:
https://play.golang.org/p/uoltpVJeng
Andrew

@AngangGuo I don't see your problem is the same as stated in this issue. If you think you have a problem, you should create new issue.
Alex

Thanks. I've create a new issue here:
https://github.com/golang/go/issues/13208
Andrew

Oddly enough, something like
filepath.Rel(`C:\tmp`, `C:\TMP`)

hangs on my Win7 box using tip.  The problem doesn't happen with Go 1.5.1.  Adding a couple of tests:
diff --git a/src/path/filepath/path_test.go b/src/path/filepath/path_test.go
index 057aa6a..3a11ec4 100644
--- a/src/path/filepath/path_test.go
+++ b/src/path/filepath/path_test.go
@@ -1034,6 +1034,8 @@ var winreltests = []RelTests{
        {`C:\`, `D:\`, `err`},
        {`C:`, `D:`, `err`},
        {`C:\Projects`, `c:\projects\src`, `src`},
+       {`C:\Projects`, `C:\projects`, `.`},
+       {`C:\Projects`, `c:\projects`, `.`},
 }

 func TestRel(t *testing.T) {

cause path tests to timeout after 6m0s.

It sure does. Filled issue #13258. Thank you.
Alex


Support for pulsarcentric flag in the header

yapp_viewdata segfaults when given filterbanks with pulsarcentric flag in their header.
WARNING: Unknown field label pulsarcentric encountered!
WARNING: Unknown field label  encountered!
Segmentation fault (core dumped)

@devanshkv: Thanks for bringing this up! I'll take a look at it. Is there a file with this flag that I can test with, on bowser, or one of the other WVU machines?

These are filterbanks written using filterbank.py from PRESTO.
You can find them /hyrule/data/users/dagarwal/FLAG/S02/G75.00f/*.fil

@devanshkv: I've fixed the issue. I've added support for the 'pulsarcentric' flag in filterbank headers. I've also modified the metadata-reading behaviour in the following way: If any unknown label is found in a filterbank file, YAPP will throw an error and exit gracefully instead of crashing. (Unfortunately, unknown labels cannot just be skipped because the data type that the label refers to is unknown, so exiting gracefully is the only option.) Please let me know if you find any other issue.


⚠ Guya.moe Proxied has degraded performance

In 641904a, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 12218 ms

Resolved: Guya.moe Proxied performance has improved in 4b8b9fa after 1 hour, 45 minutes.


Broken Texture Vines(?) on certain dynamic trees.

Describe the bug
Some blocks that hang from trees have a broken texture (TOP shows them as vines).
To Reproduce
Not sure how to reproduce. It seems to happen wherever trees with vines spawn.
Screenshots

Rendering Glitches
Are you using Optifine? No
Additional context
F3 says I'm looking at 'minecraft:air' with direction blockstates listed underneath it.
Crashes

Are you running the latest version of Dynamic Trees? Yes (0.9.5)
If you are using the DT Biome O' Plenty Add-on do you have the latest version?(Currently 1.4.1e) Yes
If you are using the DT Thaumcraft Add-on do you have the latest version?(Currently 1.4.1e) N/A

Mods List
Mod List

It gets even weirder:

I'm most strongly suspicious that your level.dat file has been corrupted at some point.  To test this make a new separate world and see if you get the same behaviour.

I forgot I had posted this. I ended up having similar issues on multiple worlds without Dynamic Trees installed, and they went away after I updated a bunch of mods.


Added a test for manifest source generation of `enableUpcomingFeature…

…/enableExperimentalFeature`.
This ensures that we can properly round-trip these build settings through manifest source generation.

@swift-ci smoke test


ALL Contracts OpenGSN Integration

Integrate OpenGSN on all core Owl Protocol contracts
Fix test cases for deployClone()

/cib


kafka input not working

Hi joe,
This is my logstash config file.It does not receive data from kafka.but when i tried
kafka-console-consumer.sh command it received data from kafka.
input {
kafka {
zk_connect => "x.x.x.x:2181"
queue_size => 30
group_id => "logstash"
topic_id => "testing1"
reset_beginning => false
rebalance_max_retries =>  3
rebalance_backoff_ms => 3000
consumer_timeout_ms => 30000
}

}
output {
stdout {
codec => "json"
}
}
My output from logstash with logging is following.kindly help me to resolve this issue.
[root@datanode logstash-1.4.2]# bin/logstash agent -f test1.conf -v
Using milestone 1 input plugin 'kafka'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones {:level=>:warn}
Registering kafka {:group_id=>"logstash", :topic_id=>"testing1", :zk_connect=>"<IP_ADDRESS>:2181", :level=>:info}
Pipeline started {:level=>:info}
Running kafka {:group_id=>"logstash", :topic_id=>"testing1", :zk_connect=>"<IP_ADDRESS>:2181", :level=>:info}
log4j, [2015-01-28T15:12:30.842]  INFO: kafka.utils.VerifiableProperties: Verifying properties
log4j, [2015-01-28T15:12:30.891]  INFO: kafka.utils.VerifiableProperties: Property auto.commit.enable is overridden to true
log4j, [2015-01-28T15:12:30.892]  INFO: kafka.utils.VerifiableProperties: Property auto.commit.interval.ms is overridden to 1000
log4j, [2015-01-28T15:12:30.892]  INFO: kafka.utils.VerifiableProperties: Property auto.offset.reset is overridden to largest
log4j, [2015-01-28T15:12:30.892]  INFO: kafka.utils.VerifiableProperties: Property consumer.timeout.ms is overridden to 300000
log4j, [2015-01-28T15:12:30.892]  INFO: kafka.utils.VerifiableProperties: Property fetch.message.max.bytes is overridden to 1048576
log4j, [2015-01-28T15:12:30.892]  INFO: kafka.utils.VerifiableProperties: Property fetch.min.bytes is overridden to 1
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property fetch.wait.max.ms is overridden to 100
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property group.id is overridden to logstash
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property queued.max.message.chunks is overridden to 10
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property rebalance.backoff.ms is overridden to 3000
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property rebalance.max.retries is overridden to 3
log4j, [2015-01-28T15:12:30.893]  INFO: kafka.utils.VerifiableProperties: Property refresh.leader.backoff.ms is overridden to 200
log4j, [2015-01-28T15:12:30.894]  INFO: kafka.utils.VerifiableProperties: Property socket.receive.buffer.bytes is overridden to 65536
log4j, [2015-01-28T15:12:30.894]  INFO: kafka.utils.VerifiableProperties: Property socket.timeout.ms is overridden to 30000
log4j, [2015-01-28T15:12:30.894]  INFO: kafka.utils.VerifiableProperties: Property zookeeper.connect is overridden to <IP_ADDRESS>:2181
log4j, [2015-01-28T15:12:30.894]  INFO: kafka.utils.VerifiableProperties: Property zookeeper.connection.timeout.ms is overridden to 6000
log4j, [2015-01-28T15:12:30.894]  INFO: kafka.utils.VerifiableProperties: Property zookeeper.session.timeout.ms is overridden to 6000
log4j, [2015-01-28T15:12:30.895]  INFO: kafka.utils.VerifiableProperties: Property zookeeper.sync.time.ms is overridden to 2000
log4j, [2015-01-28T15:12:30.915]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Connecting to zookeeper instance at <IP_ADDRESS>:2181
log4j, [2015-01-28T15:12:30.945]  INFO: org.I0Itec.zkclient.ZkEventThread: Starting ZkClient event thread.
log4j, [2015-01-28T15:12:30.954]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:zookeeper.version=3.3.3-1203054, built on 11/17/2011 05:47 GMT
log4j, [2015-01-28T15:12:30.954]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:host.name=datanode.sumtwo.com
log4j, [2015-01-28T15:12:30.954]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.version=1.7.0_67
log4j, [2015-01-28T15:12:30.954]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.home=/usr/jdk64/jdk1.7.0_67/jre
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.class.path=/root/logstash-1.4.2/vendor/jar/jruby-complete-1.7.11.jar
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:java.compiler=
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:os.name=Linux
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:os.arch=amd64
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:os.version=2.6.32-358.el6.x86_64
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:user.name=root
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:user.home=/root
log4j, [2015-01-28T15:12:30.955]  INFO: org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/root/logstash-1.4.2
log4j, [2015-01-28T15:12:30.956]  INFO: org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=<IP_ADDRESS>:2181 sessionTimeout=6000 watcher=org.I0Itec.zkclient.ZkClient@3451b8b2
log4j, [2015-01-28T15:12:30.971]  INFO: org.apache.zookeeper.ClientCnxn: Opening socket connection to server /<IP_ADDRESS>:2181
log4j, [2015-01-28T15:12:30.977]  INFO: org.apache.zookeeper.ClientCnxn: Socket connection established to datanode.sumtwo.com/<IP_ADDRESS>:2181, initiating session
log4j, [2015-01-28T15:12:31.013]  INFO: org.apache.zookeeper.ClientCnxn: Session establishment complete on server datanode.sumtwo.com/<IP_ADDRESS>:2181, sessionid = 0x14b2ef6f1830021, negotiated timeout = 6000
log4j, [2015-01-28T15:12:31.015]  INFO: org.I0Itec.zkclient.ZkClient: zookeeper state changed (SyncConnected)
log4j, [2015-01-28T15:12:31.043]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], starting auto committer every 1000 ms
log4j, [2015-01-28T15:12:31.136]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], begin registering consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 in ZK
log4j, [2015-01-28T15:12:31.224]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], end registering consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 in ZK
log4j, [2015-01-28T15:12:31.228]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], starting watcher executor thread for consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627
log4j, [2015-01-28T15:12:31.259]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], begin rebalancing consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 try #0
log4j, [2015-01-28T15:12:31.545]  INFO: kafka.consumer.ConsumerFetcherManager: [ConsumerFetcherManager-1422438151022] Stopping leader finder thread
log4j, [2015-01-28T15:12:31.546]  INFO: kafka.consumer.ConsumerFetcherManager: [ConsumerFetcherManager-1422438151022] Stopping all fetchers
log4j, [2015-01-28T15:12:31.547]  INFO: kafka.consumer.ConsumerFetcherManager: [ConsumerFetcherManager-1422438151022] All connections stopped
log4j, [2015-01-28T15:12:31.548]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Cleared all relevant queues for this fetcher
log4j, [2015-01-28T15:12:31.550]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Cleared the data chunks in all the consumer message iterators
log4j, [2015-01-28T15:12:31.551]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Committing all offsets after clearing the fetcher queues
log4j, [2015-01-28T15:12:31.552]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Releasing partition ownership
log4j, [2015-01-28T15:12:31.555]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 rebalancing the following partitions: ArrayBuffer(0) for topic testing1 with consumers: List(logstash_datanode.sumtwo.com-1422438150910-8bf76627-0)
log4j, [2015-01-28T15:12:31.558]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], logstash_datanode.sumtwo.com-1422438150910-8bf76627-0 attempting to claim partition 0
log4j, [2015-01-28T15:12:31.577]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], logstash_datanode.sumtwo.com-1422438150910-8bf76627-0 successfully owned partition 0 for topic testing1
log4j, [2015-01-28T15:12:31.579]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Updating the cache
log4j, [2015-01-28T15:12:31.582]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], Consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 selected partitions : testing1:0: fetched offset = 10000: consumed offset = 10000
log4j, [2015-01-28T15:12:31.587]  INFO: kafka.consumer.ZookeeperConsumerConnector: [logstash_datanode.sumtwo.com-1422438150910-8bf76627], end rebalancing consumer logstash_datanode.sumtwo.com-1422438150910-8bf76627 try #0
log4j, [2015-01-28T15:12:31.587]  INFO: kafka.consumer.ConsumerFetcherManager$LeaderFinderThread: [logstash_datanode.sumtwo.com-1422438150910-8bf76627-leader-finder-thread], Starting
log4j, [2015-01-28T15:12:31.639]  INFO: kafka.utils.VerifiableProperties: Verifying properties
log4j, [2015-01-28T15:12:31.640]  INFO: kafka.utils.VerifiableProperties: Property client.id is overridden to logstash
log4j, [2015-01-28T15:12:31.640]  INFO: kafka.utils.VerifiableProperties: Property metadata.broker.list is overridden to datanode.sumtwo.com:6667
log4j, [2015-01-28T15:12:31.640]  INFO: kafka.utils.VerifiableProperties: Property request.timeout.ms is overridden to 30000
log4j, [2015-01-28T15:12:31.672]  INFO: kafka.client.ClientUtils$: Fetching metadata from broker id:0,host:datanode.sumtwo.com,port:6667 with correlation id 0 for 1 topic(s) Set(testing1)
log4j, [2015-01-28T15:12:31.675]  INFO: kafka.producer.SyncProducer: Connected to datanode.sumtwo.com:6667 for producing
log4j, [2015-01-28T15:12:31.704]  INFO: kafka.producer.SyncProducer: Disconnecting from datanode.sumtwo.com:6667
log4j, [2015-01-28T15:12:31.725]  INFO: kafka.consumer.ConsumerFetcherThread: [ConsumerFetcherThread-logstash_datanode.sumtwo.com-1422438150910-8bf76627-0-0], Starting
log4j, [2015-01-28T15:12:31.729]  INFO: kafka.consumer.ConsumerFetcherManager: [ConsumerFetcherManager-1422438151022] Added fetcher for partitions ArrayBuffer([[testing1,0], initOffset 10000 to broker id:0,host:datanode.sumtwo.com,port:6667] )
Thanks
Mahesh.S

Can you post the console consumer command? From the logs, it appears to be connecting to your broker as expected. Currently it is setup to read from the head of the Kafka queue from the time which you first connect the consumer group. So one you establish the consumer group anything submitted to the broker, via a producer, should show up on the other side.  Try firing a console producer after logstash is running that places messages on the testing 1 topic. They should show up.
Note that if you run a single consumers you can set reset_beginning to true and you should get all messages that were on the queue for that topic.

Hi joe,
As you told, i set reset_beginning=>true.Now it is working fine.
Thank you
Mahesh.S


Feature request: compilation caching

I do not know if this fits at all with the design of numba, but it would be really great to have some form of compilation caching. Right now my compilation times are already close to a minute for some 200 lines of numba code, which really messes with my REPL workflow.
Id imagine this is hard to solve generally given numbas design, but is there a way to quickly hash the AST, and check for changes? Or if not, even just a manual flag to the jit decorator to force caching would be great, for functions which we know we havnt touched in ages. That is, as soon as a function is crystallized, flag it as such, and have a version read from disk afterwards.
Would this be easy to add, and would there be others with an interest in this? I don't know much about the LLVM backend stuff myself, but this is a feature I might try adding myself.

+1

Looks like a cache flag has been added to numba.jit, evidently coming from PR #1051.  From that discussion, it looks like caching doesn't work on closures, functions with lifted loops, or functions calling ctypes/cffi function pointers.

Indeed, this is now fixed.


Puzzling Polar Positioning

In the Shapes2d Tutorial there is this un-numbered example
include <BOSL2/std.scad>

circle(d=50)
    position(polar_to_xy(1,60))
        #circle(d=10);

The wiki entry for polar_to_xy(r,theta) defines r as the distance from the origin.
It's probably worth pointing out that in this example (at least) the value of r is ignored.   Any value of r appears to yield the same result.   Is this because we're positioning a child?

OK.  I think I understand, but on first encounter the code is a bit puzzling.
I was going to suggest something like position(60) since there are no other scalar arguments to position.
But the 1 is necessary to keep expressions like  position(LEFT+polar_to_xy(1,60)) from throwing an error.
I know that expression makes little sense, but in the 3d analog, spherical_to_xyz(),  it becomes important.
Many thanks for being so supportive as I stumble through this!


feat: add support for require.resolve statements (#119)

Adds support for require.resolve statements.
Thanks to @wintercounter for the request (closes #119).

@all-contributors please add @wintercounter for idea


subdomains not accessible

ISSUE TYPE

Bug Report

OS / ENVIRONMENT

Host operating system: Linux 64 (arch)
Native Docker or Docker Toolbox: Docker
Docker version: 18.05.0-ce, build f150324782
Docker Compose version: 1.22.0

SUMMARY

I need to access a vhost with an additional subdomain name
My folders structure:

/vhosts/a/www
/vhosts/sub.a -> (symlink to /vhosts/a)

In the intranet I correctly see
a.loc [OK]
sub.a.loc [OK]
If I navigate to a.loc I correctly see the vhost website, but if I navigate to sub.a.loc I got the devilbox intranet website.
STEPS TO REPRODUCE

Try a structure like mine. Using devilbox master.
OTHER INFORMATION

There is documentation about creating subdomains:
https://devilbox.readthedocs.io/en/latest/vhost-gen/example-add-subdomains.html
Does this solve your issue?

I don't want to create a custom subdomain configuration. I'm following this folder structure:
https://devilbox.readthedocs.io/en/latest/vhost-gen/example-add-subdomains.html?highlight=sub domain#single-sub-domain-for-one-project

Got it.

/vhosts/a/www
/vhosts/sub.a -> (symlink to /vhosts/a)

Is this a relative or absolute symlink?
Are you able to access it on your host os?
Are you able to access it in the PHP container?

I think is a relative symlink. And yes I can access it on PHP container

Do you have htdocs directory or symlink insides /vhosts/a/www and /vhosts/sub.a?
What does http://<IP_ADDRESS>/vhosts.php show?

.env confing:
HOST_PATH_HTTPD_DATADIR=/home/vista/www
HTTPD_DOCROOT_DIR=www
In the filesystem I have the folders
/home/vista/www/apimart
/home/vista/www/apimart/www
And the symlink
/home/vista/www/api.apimart -> /home/vista/www/apimart
Vhost show:
apimart | /home/vista/www/apimart/www | OK | apimart.fbn.vista.it
api.apimart | /home/vista/www/api.apimart/www | ERR | No Host DNS record found. Add the following to /etc/hosts:<IP_ADDRESS> api.apimart.fbn.vista.it
P.S. I have added <IP_ADDRESS> api.apimart.fbn.vista.it to my localhost

And the symlink
/home/vista/www/api.apimart -> /home/vista/www/apimart

This is an absolute symlink which won't be available in the container.
Inside the container there is no such path:  /home/vista/www/apimart
You should use a relative symlink for that

Sorry, I wrote it as an absolute but in reality is relative.
ls (host machine):
lrwxrwxrwx 1 vista wheel 7 Jul 27 13:51 api.apimart -> apimart
ls from inside container:
<EMAIL_ADDRESS>in /shared/httpd $ ls -lahd api*
drwxr-xr-x 3 devilbox uucp 4.0K Oct  9  2017 apimart/
lrwxrwxrwx 1 devilbox uucp    7 Jul 27 13:51 api.apimart -> apimart/

The api.apimart must be a directory and not a symlink.
So how to get this working:
mkdir api.apimart
cd api.apimart
ln -s ../apimart/www htdocs

This works on my machine.

The proposed way works good. Thank you!

Good to know.
I've adjusted the documentation for that: https://devilbox.readthedocs.io/en/latest/vhost-gen/example-add-subdomains.html#example


Travis builds should fail when scss-lint errors

Expected behavior: When your styles fail the scss-linter, the build should fail in Travis.
Actual behavior: When your styles fail the scss-linter, the Travis build still passes.
Steps to reproduce: Branch, add some styles that don't pass the scss-linter, push your branch, and open a pull request to view the Travis build info.
You can paste the following style declaration into any stylesheet to produce scss-lint errors:
div#urmom > div.something.something span.wutwut + b.supdawg {
  width:100%;
  display:inline;
  position:absolute;
  color:rgba(0, 0, 0, 0.10)
}

I think if we can get the scss-lint to fail the ember build, that should produce the expected behavior in Travis, too. The whole point is to help enforce use of the linter and scaling our SCSS well.

cc @jkleinsc

the pure node linter addon, that i linked previously generates a test suite for the Linting that should fail on travis
https://github.com/sir-dunxalot/broccoli-sass-lint/blob/master/index.js#L234

If we are going to move to stylelint via #443, we should address this issue there.

@billybonks yeah, we're planning to move to Stylelint asap to :fire: Ruby as a dependency, and because it turns out Stylelint is even better (and faster) than scss-lint.

https://www.npmjs.com/package/ember-cli-style-lint this solves this issue

Closed in https://github.com/HospitalRun/hospitalrun-frontend/pull/488.


Gemma 2

Support Gemma 2
 -  add support for local sliding window attention
 -  add config for pre- and post- Feed forward layer norm
 -  add config for final logit softcap
 -  SDPA with logit softcap (HLFB not supported yet)
 -  Gemma2Block for immediate post-attention norm
 -  ModelConfig for Gemma 2
 -  Matches goldens from Gemma PyTorch implementation.

can we add a test in https://github.com/google-ai-edge/ai-edge-torch/blob/main/ai_edge_torch/generative/test/test_model_conversion.py ?

can we add a test in https://github.com/google-ai-edge/ai-edge-torch/blob/main/ai_edge_torch/generative/test/test_model_conversion.py ?

See the new test in test_model_conversion.py. Two notes:

the test passes when you comment out the skipTest. I skip the test since that it what is done with Gemma for right now
in order to get the "fake" model passed the converter, I needed to add back in the @torch.inference_mode decorator to the forward method the main model. This is what is done in Gemma. Regarding @hheydary 's comments on those decorators, it seems reasonable to remove them if we can figure out how to get a proper tracing done without. I think we might just want to set a global inference mode before tracing with torchXLA. Anyway, something to handle outside this PR.


Add timepicker to the datepicker modal

is it possible to add timepicker to the datepicker modal?

See https://github.com/amsul/pickadate.js/issues/267


mac: only enable use mmove hook when a mouse button is actually pressed

The MMOVE tap/hook here causes Talon to waste CPU when the user moves their mouse without buttons pressed: https://github.com/knausj85/knausj_talon/blob/main/code/mouse.py#L387-L400
You can probably get away with leaving it unregistered by default, and only register it between the drag and release commands.

I was able to comment this tap usage entirely and dragging seemed to still work with an eye tracker. I was able to drag both with the left mouse button and with the right mouse button (mostly doesn't do anything different but it does in Excel).
@knausj85, looks like this was your change (https://github.com/knausj85/knausj_talon/commit/e31ac723e6a0e75f0f313e4ffb9f3c07fab68fa9). Any idea what problem it was trying to fix, and if this is still a problem?

This was to fix dragging windows so the window moved with the cursor. I don't believe it does anything on Big Sur or later though.

OK, think we can just remove it then, or would it make sense to make it conditional on macOS version? I don't have a 10.15 Mac any more.

#1093 addressed this by removing the tap code

Re-opening this issue. Drag doesn't work for me on Ventura (13.5 or any previous version) without this code. I can't select text or move windows or drag files. It just single clicks. Notably, I am not using an eye tracker.
I'm still fairly new to Talon and drag has never worked for me (in the public or beta), so I always just assumed it required an eye tracker. Mispronounced something in Google Sheets today and it worked, but I couldn't get it to activate anywhere else. Found this issue, tried the code, and it now works everywhere.
Per @lunixbochs's suggestion, I've updated things to register the tap on mouse_drag() and unregister things on mouse_drag_end(). Happy to submit a pull request if others can replicate the issue and there's no better way of fixing it.