contentByAbsoluteRoute routingmode CACHE_OR_ROUTING requires baseUrl otherwise crash on 404

Which Nikcio.UHeadless version are you using? For example: 3.2.0
4.2.1
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
13.3.2
Bug summary
Routingmode CACHE_OR_ROUTING requires baseUrl otherwise you will get a crash when querying contentByAbsoluteRoute on a route that is non-existant.
Steps to reproduce
In Umbraco, make sure your "main node" does not have a set domain under Domain and hostnames.
Then make a query as such:
query PageByContentByAbsoluteRoute {
  contentByAbsoluteRoute(
    route: "/asdf",
    routeMode: CACHE_OR_ROUTING
  ) {
    id
  }
}

Also, compare the query to our current workaround that gives a proper null response:
query PageByContentByAbsoluteRoute {
  contentByAbsoluteRoute(
    baseUrl: "http://hostname"
    route: "/asdf",
    routeMode: CACHE_OR_ROUTING
  ) {
    id
  }
}

Expected result / actual result
Expected result would be the response when including a baseUrl that can be parsed:
{
  "data": {
    "contentByAbsoluteRoute": null
  }
}

Actual result is this error thrown:
{
  "errors": [
    {
      "message": "Unexpected Execution Error",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "contentByAbsoluteRoute"
      ],
      "extensions": {
        "message": "Invalid URI: The format of the URI could not be determined.",
        "stackTrace": "   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)\r\n   at System.Uri..ctor(String uriString)\r\n   at Nikcio.UHeadless.Content.Router.ContentRouter`2.GetContentByRouting(String route, String baseUrl, String culture, String segment, Nullable`1 fallback)\r\n   at Nikcio.UHeadless.Content.Queries.ContentByAbsoluteRouteQuery`2.ContentByAbsoluteRoute(IContentRouter`2 contentRouter, String route, String baseUrl, String culture, Boolean preview, RouteMode routeMode, String segment, IEnumerable`1 fallback)\r\n   at FABackend.CustomContentQuery.ContentByAbsoluteRoute(IContentRouter`2 contentRouter, String route, String baseUrl, String culture, Boolean preview, RouteMode routeMode, String segment, IEnumerable`1 fallback) in C:\\code\\fa-cms\\FABackend\\uheadless\\CustomContentQuery.cs:line 42\r\n   at HotChocolate.Resolvers.Expressions.ExpressionHelper.AwaitTaskHelper[T](Task`1 task)\r\n   at HotChocolate.Types.Helpers.FieldMiddlewareCompiler.<>c__DisplayClass9_0.<<CreateResolverMiddleware>b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at HotChocolate.Data.Sorting.Expressions.QueryableSortProvider.<>c__DisplayClass9_0`1.<<CreateExecutor>g__ExecuteAsync|1>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at HotChocolate.Data.Filters.Expressions.QueryableFilterProvider.<>c__DisplayClass10_0`1.<<CreateExecutor>g__ExecuteAsync|1>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken)\r\n   at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken)"
      }
    }
  ],
  "data": {
    "contentByAbsoluteRoute": null
  }
}

Is there any specific reason to not have a domain set in Umbraco?

Is there any specific reason to not have a domain set in Umbraco?

Not really, but we didn't have that in this case and I figured that if the reproduction steps deviate too much from our setup it may not be representative and might miss triggering the error.
However I just tested this now and I was wrong on that end, even with a domain set it still throws the error.

From my quick look it seems to break here: https://github.com/nikcio/Nikcio.UHeadless/blob/3fb9403343beed46bd2d8750777a69879a3d6c44/src/Nikcio.UHeadless.Content/Router/ContentRouter.cs#L76
The IPublishedRouter from Umbraco requires a URI so that is the limitation we'll have to follow.
We could add CACHE_OR_ROUTING here then the BaseUrl will be set to the current domain: https://github.com/nikcio/Nikcio.UHeadless/blob/3fb9403343beed46bd2d8750777a69879a3d6c44/src/Nikcio.UHeadless.Content/Queries/ContentByAbsoluteRouteQuery.cs#L48
Is this for a solution where the Backoffice and website are on the same domain?

However I just tested this now and I was wrong on that end, even with a domain set it still throws the error.

What do you mean by this?
Did you add the domain to Umbraco and the query or just Umbraco?

However I just tested this now and I was wrong on that end, even with a domain set it still throws the error.

What do you mean by this?
Did you add the domain to Umbraco and the query or just Umbraco?

Sorry for the ambiguity - I just added it inside Umbraco backoffice, under Cultures and hostnames.

I can add a guard with a more appropriate error message but in general I think the most correct solution is to always set a domain in Umbraco and supply that domain in the query under baseUrl. This will also give your editors the best experience as the links under the "Info" tab will show the correct links.
You will also be better prepared if the Umbraco instance some day will support multiple sites or just multiple domains for cultures.
But if you want to avoid this for some reason you can just use the CACHE_ONLY mode as this won't require a domain to be fetched.

I think you're right, I'll close this issue 👍🏼


rps bottleneck

I am running a GET on www.google.co.uk on a m3.xlarge (4 CPUs, 15GB RAM (high network)). I've input 2000 users, but I am unable to reach much more than 600 r/s when total CPU is less than 25% and used RAM is around 3GB. I wonder what the bottleneck is?

are you running in distributed setup....?

HI @vividhsv
I had no idea that Locust was CPU-bound, but you are exactly right. Thanks very much.

careful.. running 600 rps against Google is essentially a DDOS attack.


Only strip object names when creating new output path

We should only strip for the call to os.path.join to prevent the following:
>>> os.path.join('foo', '/bar')
'/bar'

when we want the resulting path to be foo/bar

@dakinggg added test 373e65b


acceptance tests, bugfixes & features

Docker acceptance tests against real Docker.
Fix GET bug (unable to proxy GET requests).
Support streaming streamed responses when there are no matching post-hooks (instead of buffering).
Stdin support, so docker run, -t, -i, and -ti all work.
Documentation fixes and clarifications on modified semantics & limitations.

This is a clear set of improvements which is IMO worthy of a v0.0.2 release.

Looks good! Please address review comments and then merge...

Thanks! I'll let @robhaswell take a quick look at this and then merge at will.

After this branch can we please start implementing acceptance tests, bugfixes and features in separate branches.

I haven't reviewed this for correctness. I'm suspicious about the lack of tests for the new chunked encoding stuff. It does have a lot of mess which I would prefer not to be merged. There's also some undocumented technical debt which I've asked that you raise issues for. Please merge after addressing all my comments, thanks.

I've addressed all your concerns (or raised issues in one or two cases). Thanks for the thorough reviews @robhaswell @binocarlos.
hybrid@node001:~/powerstrip$ sudo TEST_PASSTHRU=1 trial powerstrip.test
[snip]
PASSED (skips=10, successes=52)

Merging, thanks!


[Bug] npx storybook@latest add @storybook/addon-styling-webpack throw and error

Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the behavior

Go to your storybook project
Execute npx storybook@latest add @storybook/addon-styling-webpack
See error

Expected behavior
Should install addon-styling-webpack and works as expected.
Screenshots and/or logs
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y
Verifying @storybook/addon-styling-webpack
Installing<EMAIL_ADDRESS>Adding '@storybook/addon-styling-webpack' to main.js addons field.
Running postinstall script for @storybook/addon-styling-webpack
Error running postinstall script for @storybook/addon-styling-webpack
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:399:5)
    at validateString (node:internal/validators:163:11)
    at normalizeSpawnArguments (node:child_process:545:3)
    at Object.spawn (node:child_process:750:13)
    at t (/Users/javierlopezdeancos/Code/AtomicJar/tcc-web/node_modules/@storybook/addon-styling-webpack/bin/postinstall.js:5:130)
    at postinstallAddon (/Users/javierlopezdeancos/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:172:834)
    at add (/Users/javierlopezdeancos/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:172:2421) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Environment

OS: MacOs Ventura 13.4.1
Node.js version: v18.16.0
NPM version: v9.5.1

Hey @javierlopezdeancos 👋
I'm just trying to hunt down that issue for that now!
In the mean time, please run this command instead:
npx @storybook/auto-config styling

Hey @Integrayshaun thanks for the fast feedback
with npx @storybook/auto-config styling the result in terminal looks well

But the css modules imported in my next app looks that continues not imported in the storybook app 😕


feat(chip): add disabled property

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[X] Build (npm run build) was run locally and any changes were pushed
[X] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[X] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: #19510
What is the new behavior?

Chips can be disabled

Does this introduce a breaking change?

[ ] Yes
[X] No

Yeah of course: Requested Changes are added. I didn't found the Opacity in the MD Spec (and i still don't 😂), but adjusted to 0.4.

Thanks! Can you fix the failing build and merge conflicts?

Done 😇

Also add CSS Shadow Parts to this component.

@shyamal890 ion-chip does not have any internal elements that CSS Shadow Parts could help expose other than the ripple effect. Is there something you are trying to do with ion-chip that Shadow Parts would help solve?

@shyamal890 This PR is just for the disabled Property. @liamdebeasi Anything i need to do here?

Merged. Thank you!


Update Readme.md

Fixed typo

Sorry, this pull request got out of date in the meantime and would need to be rebase. But since the maintainers don't have access to this pull request branch, I just committed and pushed it directly to master: https://github.com/neos/Neos.Cqrs/commit/9114051516bc07293e5855b29734b6f474d93b2d


update(content): incubating->graduated

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind content
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area documentation
What this PR does / why we need it:
Update CNCF project status
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: d365099af807d8f972fc2ce36c4d531dcde7573f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


If I add a template with slot='table-row-after', there is a missing th

How do I specify a column for my custom template column?
Example:
    <vue-good-table :columns="columns"
                    :rows="rows">
        <template slot="table-row-after" scope="props">
            <td>{{ props.row.myField }}</td>
        </template>
    </vue-good-table>

If I specify 2 columns in my columns attribute, then have that third column defined via template, then there ends up being just 2 th's in the <thead>. How do I specify a third column, one where I can do something like {label: 'myField'} (I can't b/c field is required, which I don't need b/c I'm defining it myself). Screenshot below. Thanks!
https://i.imgur.com/DcoiV7U.png

I am not really sure if your issue is certainly referenced with my issue  but
There is an issue with <td> and <th> elements when using slots.
Take a look of my link 138
I am trying to look what is wrong with <td> that aren't being rendered on IE11.
All versions of IE aren't not working as expected.

@ianhd you'll need to specify the header for the third column as well. Field in this case is optional (I will update the document to reflect this). the template is only for the row data. so your columns should look something like:
columns: [
 {
    label: 'columnA',
    field: 'fieldA',
},
{
    label: 'columnA',
    field: 'fieldA',
},
{
    label: 'Dynamic Column',
},
]

closing this. Let me know if this doesn't work for you and I'll re-open.


add Pathsphere as a home button navigate directly to the main page

can you assign this task to me

@devxMani  sure you can work on this issue make sure to follow the contributing.md properly also join the discord server

Hello, I want to resolve this issue plz assign to me this issue .

@Nikhilkumar111 hi i already told you to create your own issue it is first come first serve why are you messaging in all the issues

@aditya-bhaumik

i am stuck on this part from past 1 hour  please help

no one answering on discord

open in split screen and type it out


Try to exclude untested files out of coverge statistics

Coverage remained the same at 88.936% when pulling 82cc621eef148220d62d0ca8700b48288dc349ed on change_client_coverage_config into b755a0aeb1cf56456483046b33178b0085816e91 on master.

No need to do it. Close this.


Fix uninitalized memory use in deflate_stream

Reference in original zlib:
https://github.com/madler/zlib/pull/393

@djarek: Please look upstream.


bug(fmt): comment gets moved on next line with a bracket

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (ac19482 2023-05-03T00:04:41.398754000Z)
What command(s) is the bug in?
forge fmt
Operating System
macOS (Apple Silicon)
Describe the bug
This:
abstract contract PRBProxyPlugin is
    IPRBProxyPlugin, // 1 inherited component
    PRBProxyStorage // 1 inherited component
{ }

Gets turned into this:
abstract contract PRBProxyPlugin is
    IPRBProxyPlugin, // 1 inherited component
    PRBProxyStorage
{ // 1 inherited component
}

Unable to reproduce
Now formats as:
abstract contract A {}

abstract contract B {}

contract Counter is
    A, // A is a contract
    B // B is a contract
{
    uint256 public number;

    function setNumber(uint256 newNumber) public {
        number = newNumber;
    }

    function increment() public {
        number++;
    }
}

Feel free to re-open if you are still experiencing this issue

thank you for knocking out so many of my old issues, @zerosnacks!


Pypi: Attempted fix of auth for auto deploy of package

Coverage remained the same at 0.0% when pulling 8c0bc55b753d874e285b9b2e2f5397b88a856437 on ci/pypi_secret into 42e03c252fdc74b69c3c98f855496a382855606a on master.


Extended item manipulation

Motivation
I have amended the look & feel as well as the behaviour of the item manipulation (i.e selected) rectangle to make it's behaviour more "standard". It has now manipulation handles and extended operations (i.e. rotation and skew).
Details

Manipulation

You have 4 corner handles to allow simultaneous resizing in X- and Y-direction (marked red in the picture above)
You have 4 side handles to allow sizing in either X- or Y-direction (marked blue)
You have 1 center handle to allow moving  (marked green)
You have two handles on the bottom / on the right that allow skewing in X- or Y (marked orange): if you click on one of the skew-handles, then you can skew the element(s) between -90° and +90° in X- or Y-direction respectively

You can immediately create a copy of your selected element if you press the alt key while starting the move:

Rotation

In addition there is a rotation indicator at every corner. if you click on the rotation symbol then you can rotate the element(s) around their center.

There is a secondary rotation option if you click just inside the corner then a rotation will take place around the opposing corner.

So:

Click on the green area: rotation around center
Click on the blue area: rotation around opposing corner
Click on the red area, the handle itself: sizing as described above.

While the default rotation is around the center of an object you can define the rotation center (which is by default to the center position with any new selection):

You an drag this indicator around to allow for custom rotations which would otherwise very difficult to achieve:

Reference Object
In addition you do have an indicator whether this element works as Reference-Object

With such a reference object established you can move and scale elements relative to it via the context menu (right mouse-click):

Usecase: Use a rectangle, circle or whatever shape as template for multiple burn tasks.
Options
If you don't need skew or rotate or get confused by the handles you may turn these on/off via some check-boxes in the statusbar. (I did not want to use more valuable screen estate)

This is especially useful if you want to show and manipulate the rotation center: turn off the move handle to see the rotation center indicator:

Skew handle seems a bit picky. Like turns it flat really quick or whatever.

Skew handle seems a bit picky. Like turns it flat really quick or whatever.

That's due to the algorithm that increases the angle and not the tan by a fixed value. It's more helpful at small angles but not as good above 70deg and more. Will see whether a different interpretation makes sense, but first some improvements around reference object and regmarks


[jvm-packages]support multiple validation datasets in Spark

[x] converge the current training/test split with multi validation datasets
[x] add unit test for multiple validation set
[x] add support for ranking training tasks
[x] add unit test for ranking training
[x] update tutorial
[x] fix early stopping feature

@yanboliang take a further look?

Codecov Report

Merging #3910 into master will increase coverage by 0.18%.
The diff coverage is 72.02%.

@@             Coverage Diff              @@
##             master    #3910      +/-   ##
============================================
+ Coverage     56.23%   56.41%   +0.18%
- Complexity      205      210       +5
============================================
  Files           185      186       +1
  Lines         14702    14818     +116
  Branches        498      527      +29
============================================
+ Hits           8267     8359      +92
- Misses         6196     6202       +6
- Partials        239      257      +18

Impacted Files
Coverage Δ
Complexity Δ

...lc/xgboost4j/scala/spark/params/CustomParams.scala
84.21% <ø> (+20.21%)
0 <0> (ø)
:arrow_down:

.../xgboost4j/scala/example/spark/SparkTraining.scala
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java
85.33% <100%> (+0.29%)
46 <0> (+3)
:arrow_up:

...boost4j/scala/spark/params/NonParamVariables.scala
100% <100%> (ø)
0 <0> (?)

...c/xgboost4j/scala/spark/params/GeneralParams.scala
66.66% <100%> (ø)
0 <0> (ø)
:arrow_down:

...xgboost4j/scala/spark/XGBoostTrainingSummary.scala
35.71% <11.11%> (-27.93%)
2 <1> (ø)

...cala/ml/dmlc/xgboost4j/scala/spark/DataUtils.scala
42.1% <60%> (+19.88%)
0 <0> (ø)
:arrow_down:

.../dmlc/xgboost4j/scala/spark/XGBoostRegressor.scala
63.9% <66.66%> (+1.52%)
18 <0> (+1)
:arrow_up:

...dmlc/xgboost4j/scala/spark/XGBoostClassifier.scala
65.06% <77.77%> (+0.77%)
19 <0> (+1)
:arrow_up:

.../scala/ml/dmlc/xgboost4j/scala/spark/XGBoost.scala
77.12% <79.52%> (-0.38%)
0 <0> (ø)

... and 3 more

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 9c4ff50...49d578f. Read the comment docs.

Looks good to me overall, thanks.

thanks @yanboliang

Oh, it’s a typo or autocomplete by ide, feel free to file a PR addressing this!

I will thank you!


Custom Steering Functions & Meaning of torch.mean

What shape must the delta resulting from a custom steering function be?
I see in llm_steer#107 that the new forward function takes the mean of the steering vector and adds that to the tokens passed in. This makes sense but intuitively adds the same direction to that entire layer.
#LN107 Mean of steering vector
delta = torch.mean(
    elem.coeff * elem.tensor[:, elem.try_keep_nr :, :],
    dim=1,
    keepdim=True,
)
#LN117 Adding in the steering "difference"
kwargds["hidden_states"][:, elem.try_keep_nr :, :] += delta

Wouldn't it make more sense if the activation of a steering vector happens across the entire matrix, something like this?
delta = elem.coeff * elem.tensor[:, elem.try_keep_nr :, :] # (entire matrix of that token)
#LN117 Adding in the steering "difference"
kwargds["hidden_states"][:, elem.try_keep_nr :, :] += delta

Hey!
You can see here an example of a custom steering function .
Regarding your actual question, if I recall correctly, I decided to use broadcasting in order to avoid tensor mismatch errors on kwargds["hidden_states"][:, elem.try_keep_nr :, :] += delta when doing the sum.
The actual tensor size depends on whether the sampling is done with use_cache=True or use_cache=False and doing the mean ensures it will work in all cases.
If the follow up question is "why mean and not some other operation?", then the answer is ¯_(ツ)_/¯. This one seems to work the best. Please keep in mind that this library is primarily for experimenting :) . It's not guaranteed that the default function provides the best results.
Let me know if you have other questions.

Thanks for the explanation, I think the best results might come from when the tensor activation comes element wise and not mean averaged. I'll experiment and play around and let you know if there's a generic solution.
For context, I am experimenting on self-optimizing steering vectors, here.


Update New-DlpCompliancePolicy.md

Removed params per email request

Docs Build status updates of commit ee03761:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ee03761:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-dlp/New-DlpCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 64ab25f:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 64ab25f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-dlp/New-DlpCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Is there a need for a real object in this library?

It would be much more friendly if the library was just a pack of functions, just like lodash or many others.
Why do we need to instantiate an empty object so we use the functions?
That also blocks us to rename functions when importing (i.e. futureValue makes more sense than a FV acronym, for laymen looking at the code).

I just posted this in another issue, but for anyone running into this:
I just recreated this package by refactoring it into simple javascript functions, modularizing it, and splitting out the tests.   I used the exact same test cases as in this package to verify the functions, but I switched from mocha to jest.
Here is my new repository for anyone interested:  https://github.com/alfreema/finance


Changing the teminal tab name.

VSCode Version: 1.4.0-insider
OS Version: ElementaryOS

I am using the intergrated terminal. It works great I only have one wish. Is it possible to name the terminal. I use multiple tabs and the problem is that I get multiple tabs with the same name.

Duplicate of https://github.com/Microsoft/vscode/issues/10023, I'm curious how you want to be able to rename (command, context menu, button, etc.).


PIT-UN case

template - https://docs.google.com/document/d/1SJjTl7W-isKgqQVkTYBVsbO2KTeEqiupdnOcrEHrmNw/edit#heading=h.xborezdxg9xn

outline - 04/15
draft 1 - 04/24
final draft - 05/01

@nniiicc - I would love your feedback on the PIT-UN case draft when you have time. I'm tweaking the concluding paragraph, but the main content is there -- I tried to strike a balance between the “our work fills this niche” context with the “students are learning” descriptions -- is there enough of both?


Scala 2.13?

Can we update the maven artifact to scala 2.13 please?

I'd be happy to help with this. Should I just clone the repo, change the scala version to 2.13, and go thru it file by file to fix errors and submit a PR?


[QUESTION] Query parameters with hyphens

Description
How can I get a query parameter that contains hyphens?

You can use aliases
Also, I found this for headers: Header Params automatic conversion.
I wish there was a simpler way to auto-convert all params, like it can be done with  Config.alias_generator in pydantic

Thanks for the help here @MrMrRobat ! :clap: :bow:
Thanks for reporting back and closing the issue @yiannis-kt  :+1:


Informations

Hi,
I am new to this iceberg implementation. I am part of kafka connector platform in my organisation. I would like to know the below details.

Is there any way we can get premium support like dedicated support person with defined SLA?
Since i am new to this iceberg platform, when we use iceburg kafka connector, where is this iceburg table be created?
I would like to sync the data from kafka topic to s3 iceburg table format.  does this require an iceburg instance in between?
Kindly clarify.

Thanks.
G. Ayyappan.

Hello,

The connector is not yet a managed connector in Confluent, but you could reach out to them to see if they have any options for you. My company (Tabular) can provide premium support, contact<EMAIL_ADDRESS>if interested.
Iceberg requires a catalog, and there are various catalog systems you can use, like REST, AWS Glue, Hive, JDBC, etc. Most of the time you'll set the location in your catalog config, e.g. a warehouse location, and tables will be created in this location.
As mentioned, you will need a catalog, but Iceberg itself is a library and not a separate server running someplace.

I'm closing this, feel free to open a new ticket for further questions.


[VS Code] [Audio] HTTPS request failed for SkypeToken: Parse Error: JS Exception

log.zip

Error:
HTTPS request failed for SkypeToken: Parse Error: JS Exception
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.84

applicationName
VSCode

applicationVersion
1.44.2

platformName
Windows

platformVersion
10.0.18363

@v-jajach: thanks for reporting this issue! We have a fix that will be released shortly. I'm resolving this issue as a duplicate of #3432 to consolidate the communication.


Install fail on alpine linux - Cannot find module 'mkdirp'

Hi everybody,
I have an error when I try to install node-sass by a simple npm install node-sass.
Error log
npm install node-sass

><EMAIL_ADDRESS>install /node_modules/node-sass
> node scripts/install.js

module.js:442
    throw err;
    ^

Error: Cannot find module 'mkdirp'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/node_modules/node-sass/scripts/install.js:7:11)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! Linux 4.4.27-moby
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log

Step to reproduce
To reproduce it easily, you should use a docker alpine image.
docker run -ti --rm alpine:3.4 sh
apk update && apk add nodejs
npm init # with default option
npm install node-sass

Extra Information

OS: Alpine linux 3.4
NPM version : 3.8.9
Node version: v6.2.0
Node Platform : linux
Node architecture: x64
Node Process:

{ http_parser: '2.7.0',
  node: '6.2.0',
  v8: '<IP_ADDRESS>',
  uv: '1.9.1',
  zlib: '1.2.8',
  ares: '1.10.1-DEV',
  icu: '57.1',
  modules: '48',
  openssl: '1.0.2h' }

This is likely a permission issue. Try
npm install node-sass --unsafe-perm

It's failing again but with another error stack.
Now I saw that
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

I will try to add python before

Yes python and cpp will need to be installed because we don't support
alpine at the moment. So npm will compile node-sass on install. There's a
PR with an alpine dockerfile floating around if want an example. On my
phone now so I cannot link directly.
On 10 Nov 2016 12:04 AM, "Ducatel David"<EMAIL_ADDRESS>wrote:

It's failing again but with another error stack.
Now I saw that
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
I will try to add python before
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1794#issuecomment-259409873,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWD_yobGr7hSB_1OOQ5-mfIAJL_4jks5q8cTMgaJpZM4KsaQ1
.

Ah ok, I didn't saw you not support directly alpine.
My apologize 😅
So I have write a docker which build with success node-sass
docker run -ti --rm alpine:3.4 sh
apk update && apk add nodejs python gcc g++ make
npm init # with default option
npm install node-sass --unsafe-perm # also work with yarn add node-sass

So, it's good for me.
Thanks for your help ;)

@xzyfer Are we supporting alpine now? I am having some issues with node:8.2-alpine Docker.

I'm actually getting this one with Yarn Workspaces (which does some sort of kung-fu with packages).
node 8.9.1
yarn 1.3.2
command
yarn upgrade<EMAIL_ADDRESS>yarn upgrade v1.3.2
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Rebuilding all packages...
[1/4] ⠄ uglifyjs-webpack-plugin
[2/4] ⠄ fsevents
[3/4] ⠄ node-sass
[4/4] ⠄ node-sass
error /Users/me/work/develtech/based/ux/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: /Users/me/work/develtech/based/ux/node_modules/node-sass
Output:
module.js:538
    throw err;
    ^

Error: Cannot find module 'mkdirp'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/me/work/develtech/based/ux/node_modules/node-sass/scripts/install.js:7:11)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)


Rewrite can_derive_default as a fix-point analysis

See https://github.com/servo/rust-bindgen/issues/536 for details.
Should be very similar to src/ir/analysis/derive_debug.rs

I'm working on this.

Fixed in #861


Add support for 64-bit integers

Problem
Lots of database support 64-bit integers. We don't support them yet because not all databases support them.
Possible Solution
In the databases that support 64-bit integers, we add datasource-specific attributes to define 64-bit types.

Original Issue
Prisma1 did not support Long integers (64-Bit). Will Prisma2 support Long (64-Bit) in parallel to Int (32-Bit)?

You can now query BigInts in the native types preview: https://www.prisma.io/docs/concepts/components/preview-features/native-types#additional-prisma-types
I will keep this open as migrate still need native type support.

You can now query BigInts in the native types preview: https://www.prisma.io/docs/concepts/components/preview-features/native-types#additional-prisma-types
I will keep this open as migrate still need native type support.

Closing as it can be achieved like @pantharshit00 noted.

Closing as it can be achieved like @pantharshit00 noted.


SQL Managed Instance Azure DevOps Release

Scenario which you are working on
Deploy Azure SQL Managed Instance on AKS using Azure DevOps Release Pipeline
Describe the bug
I am trying to setup the Jumpstart for Azure SQL Managed instance on AKS using Azure DevOps.
During the Pipeline setup I copied the URLs for the ARM Template and the corresponding Parameters file.
Unfortunately these URLs seem to be a dead end.
Template file from documentation
https://raw.githubusercontent.com/microsoft/azure_arc/main/azure_arc_data_jumpstart/aks/arm_template/mssql_mi/azuredeploy.json

Parameters file from documentation
https://raw.githubusercontent.com/microsoft/azure_arc/main/azure_arc_data_jumpstart/aks/arm_template/mssql_mi/azuredeploy.parameters.json

To Reproduce

follow the documentation until the step in the screenshot

try to get the ARM template and parameters file

receive not found error

Expected behavior
The Raw reference to the GitHub repo returns a valid ARM Template needed to setup the Azure managed SQL setup.

Thank you @josephwoleary. I will be updating this scenario in our current (February) sprint and will update the issue accordingly.

@josephwoleary wanted to update you that @chintalavr will be picking up the task of refactoring both SQL MI and PostgreSQL Azure DevOps scenarios.
This is related to #1019 and although took a bit longer than we wanted, now that we have refactored AKS scenarios, this issue can be unblocked.
Thank you for your patience!


imagecodecs may be required when importing single-plane images

Reading some TIFF files may lead to this error:
TiffPage 0: <COMPRESSION.LZW: 5> requires the 'imagecodecs' package.

Workaround is to install the imagecodecs package:
pip install imagecodecs

This package is currently available for Python 3.8-3.10.

Added as a dependency in setup.py. Older versions are available for earlier Python and Tiffile versions, so I did not add Python version flag. Already a dependency in the Tifffile Conda package.


DurableState deleteObject ignores revision

https://github.com/apache/incubator-pekko-persistence-r2dbc/blob/4cfe196ae8d199fa651ff6d06edd34c3ba3eb12b/core/src/main/scala/org/apache/pekko/persistence/r2dbc/state/scaladsl/R2dbcDurableStateStore.scala#L118
See https://github.com/apache/incubator-pekko-persistence-jdbc/issues/30

#92 merged


change the max width of left panel?

if the branch name is too long, left panel may not shows the full name of the branch.

I know this. That's why I added a mouse hover tooltip to show the full name of a branch.

Done. The max width of left panel in repository view has been changed to 500px. You can download the latest CI build from Github Action https://github.com/sourcegit-scm/sourcegit/actions/runs/11360921843


Crash when parsing imagepipeline

The following code crashes:
            try:
                print(">>>>>>>>>>>")
                print(self.imagepipeline_cache.props)
                print(">>>>>>>>>>>")

                session.Parse(self.imagepipeline_cache.props)
            except Exception as error:
                print(error)

Console output:
view_update
Update because of: CAMERA | IMAGEPIPELINE | REQUIRES_SCENE_EDIT | REQUIRES_SESSION_PARSE
[SDL][6.111] Camera type: perspective
[SDL][6.111] Camera position: Point[0, -0.783292, 0]
[SDL][6.111] Camera target: Point[0, -0.683292, 4.37114e-09]
[SDL][6.111] Camera clipping plane disabled
>>>>>>>>>>>
film.imagepipelines.0.1.type = "TONEMAP_LINEAR"
film.imagepipelines.0.0.type = "NOP"
film.imagepipelines.0.1.scale = 0.060499999672174454

>>>>>>>>>>>
[SDL][6.121] Image pipeline: film.imagepipelines.0
[SDL][6.121] Image pipeline step 0: NOP
[SDL][6.121] Image pipeline step 1: TONEMAP_LINEAR
Writing: /tmp/blender.crash.txt
fish: Job 1, './programs/blender-2.79a-linux-glibc219-x86_64/blender' durch Signal SIGSEGV (Adressbereichsfehler) beendet

The same code worked previously, I suspect it breaks due to the recent changes to radiance groups/imagepipelines.
Am I using the new code wrong or is this a regression in LuxCore?

Running:
				app->session->BeginSceneEdit();
				app->config->GetScene().Parse(Properties().SetFromString(
					"film.imagepipelines.0.0.type = NOP\n"
					"film.imagepipelines.0.1.type = TONEMAP_LINEAR\n"
					"film.imagepipelines.0.1.scale = 10.060499999672174454\n"));
				app->session->EndSceneEdit();

works fine here, how can I reproduce the problem ? It is likely to happen because some additional condition like having light groups defined, etc.

I did the cut&paste of the wrong code, wtf.

Ok, now it is crashing here too. Good.

Ok, I should have fixed the problem.

Confirmed, thanks for the quick fix.

I found another crash, probably related to these changes.
It happens when I change a radiancescale setting during final render (during viewport render the same code works).
Python code (basically the same as before):
print("----------")
print(self.imagepipeline_cache.props)
print("----------")
session.Parse(self.imagepipeline_cache.props)

Console:
Session created in 0.2s
----------
film.imagepipelines.0.radiancescales.1.globalscale = 1
film.imagepipelines.0.radiancescales.0.globalscale = 1
film.imagepipelines.0.radiancescales.2.enabled = 1
film.imagepipelines.0.radiancescales.0.enabled = 1
film.imagepipelines.0.radiancescales.2.rgbscale = 1 1 1
film.imagepipelines.0.0.type = "NOP"
film.imagepipelines.0.radiancescales.1.enabled = 0
film.imagepipelines.0.1.scale = 0.00050000002374872565
film.imagepipelines.0.radiancescales.2.globalscale = 1
film.imagepipelines.0.radiancescales.1.rgbscale = 1 1 1
film.imagepipelines.0.1.type = "TONEMAP_LINEAR"
----------
[SDL][9.171] Image pipeline: film.imagepipelines.0
[SDL][9.171] Image pipeline step 0: NOP
[SDL][9.171] Image pipeline step 1: TONEMAP_LINEAR
pure virtual method called
terminate called without an active exception
fish: Job 1, './programs/blender-2.79a-linux-glibc219-x86_64/blender' durch Signal SIGABRT (Abort) beendet

This time it really works fine here (in C++ and Python). The message "pure virtual method called" is a strange error and can happen only in a very specific situation. How can I reproduce the problem here ?

If you have a clone of the BlendLuxCore repo, you can checkout the tonemapped_aovs branch of BlendLuxCore, start a final render and disable the default light group (it is in the scene tab).
Tell me if that's too much trouble, then I will think of a small Python script to reproduce the error tomorrow.

Effffff, I wasn't looking at what you were trying to achieve: the SDL fragment you pass is deleting all old image pipelines and defining only a single new one. Instead you want to redefine just a single one.  Than you are asking for the output of an image pipeline doesn't exist anymore (the #1, while only the #0 is now defined) and boom !
The current behavior is common in LuxCore, old definition (of all pipelines) is deleted and the new one is used. This happen because "film.imagepipelines." is considered the root of the object (i.e. the object is the set of pipelines, not the single one).
Note: the above behavior is required because otherwise you have no way to delete the existing image pipelines.
I could change this behavior to consider "film.imagepipelines.#." the root of the object so the object is the single pipeline and not the set (I like this). But I would have to add a method to explicitly delete pipelines (and I don't like this). Do you prefer the current behavior or the "single pipeline" behavior ?

Looking at my code it would make my life a lot easier if "film.imagepipelines.#." was the root of the object.
However, in any case LuxCore should not crash when asking for the output of a non-existing imagepipeline.

However, in any case LuxCore should not crash when asking for the output of a non-existing imagepipeline.

No, it is common to any C/C++ API to have an undefined behavior (i.e.  crash) when using parameters out of their intended range.
This behavior is intrinsic to the very core of the languages: for instance, if you use an out of bound index array, the program will crash, it will not through an exception or print an error. It is the same for any C/C++ API.
Going to change "film.imagepipelines.#." as the root of the object.

It is now possible to replace a single image pipeline and the BlendLuxCore test works fine now.

Thank you.

But the new behaviour is probably a bit more intuitive for developers. And I can publish the lightgroup implementation now and can do the update of the AOV pipelines at a later time.
I have the feeling that my new code in this direction is a huge mess and needs a rework anyway :/


⚠ Adacta-fintech.com has degraded performance

In 92602f9, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 2300 ms

Resolved: Adacta-fintech.com performance has improved in 6d4e974 after 7 minutes.


Green Title for /pl

Hello,
Why the custom plugin is green with EZP (like this : https://i.imgur.com/teAwoGK.png) but with no EZP the /pl is white (like this : https://i.imgur.com/SKHO1O4.png)
It's possible to change this ?
Thanks you

This is not an issue with eZProtector, it returns it exactly as it is by default. This is caused by another plugin, not eZProtector.

This there are 3 Plugins is NOT bukkit
and it NOT spigot.    EZProtector Shows the list correct!
As Admin:

As Player:

this look identicly..who nows what Plugin is overwrting your /plugins


Issue saving scroll position

I've seen this on my iPad and on Pixel 7.
Seems like scroll position has some weird issue when switching between articles.
Video below shows it (with audio):
https://github.com/user-attachments/assets/350fdf2c-f7a1-450c-9b72-6aa0b19f6741

Nicely documented report :ok_hand:
This one will need some technical investigation work...

Do you still have the issue with the latest release (v2.1.0)?

I encountered the bug while working on another thing. It wasn't hard to figure out the fix then. Fun one.


Add Rubinius to Build Matrix

This currently has an allowed failure listing. Trying to add rbx to builds of popular Gems to test for compatibility.

Does it pass yet?!

@indirect The build passes. Rubinius is marked as an allowed failure.
I think it is okay to for Rubinius to fail here for now. We'll have visibility into this failure on this dashboard here http://bjfish.github.io/rubinius-gem-build-status/ and can investigate why this fails.

Great! And sorry for the long delay merging this.


Got an error reading communication packets

host: '<IP_ADDRESS>' (Got an error reading communication packets)
if conn is not None:
    #conn.close()
    await conn.ensure_closed()

fix with pr #13


Add editorial summary

[x] ~Create migration for updated schema~ (won't need this)
[x] Write script to import scraped data (https://github.com/hollowverse-archive/migrate-old-website)

We have the date in the scraper data. I just forgot to add a column here.
I'll update this later today.
On Sat, Dec 9, 2017, 6:14 AM wholesomedev<EMAIL_ADDRESS>wrote:

@wholesomedev approved this pull request.
This LGTM, but I just noticed that we're missing the "last updated" date
that exists on the old website? What are we going to do about that?
We can either go back and scrape the dates and bring them into the DB here
or we can put a generic "Last updated sometime in 2013" (or whatever the
date is for the most recent article) next to all articles. Your call.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hollowverse/api/pull/24#pullrequestreview-82315973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA90GVSoBwThu4nTsHb99xCQnLb1G-LXks5s-gk0gaJpZM4Qz0kX
.

I've updated the database schema with a new dedicated table for editorial summaries and added the last updated date to the new table. I've also updated the script to set the data on the imported pages.

I've also updated the AWS EB database again


Set up heroku deployment pipeline from dev to prod

Dependent on #126

Now that we have an env all we need to do is create a staging and prod app with a PG addon.
I'll have to updated the Procfile to run a Release step so that as we promote up the chain the migrations will continue to run.


Compilation errors (less-css-mode, ox-reveal, dante)

I was tired and I didn't noticed them when we talked yesterday in #285 .
I am using up to date develop branch of Doom Emacs here.
 When I comment out haskell line in .init.el, I can continue and I got another 255, this time ox-reveal:
‘when-let’ is an obsolete macro (as of 26.1); use ‘when-let*’ instead.
 But it doesn't ends. I got another 255, this time in rss/config.el (?):

Compiled modules/app/irc/config.el
Compiled modules/app/irc/autoload/irc.el
Ignored modules/app/rss/packages.el
Error (use-package): elfeed-org/:config: Symbol’s value as variable is void: +org-dir
Compiled modules/app/rss/config.el
Symbol’s value as variable is void: +org-dir
make: *** [Makefile:39: compile] Error 255

after commenting out app/rss, compilations successfully ends with:
Compiled 158/158 file(s) (77 ignored)

Additionally, if I execute just make, I got:
Finished generating autoloads.el!
less-css-mode package is not installed
make: *** [Makefile:27: autoremove] Error 255

but make install returns No packages to install!.
make doctor output is exactly the same as I posted in #285

After recent commits, errors with dante and ox-reveal are gone.
less-css-mode error after executing make is still present.
And there is new (?) one in app/irc or in private/hlissner:
Compiled modules/lang/web/autoload/css.el
Ignored modules/app/email/packages.el
Cannot load mu4e: (file-error "Cannot open load file" "Not a directory" "mu4e")
Cannot load mu4e-maildirs-extension: (file-error "Cannot open load file" "Not a directory" "mu4e")
Cannot load org-mu4e: (file-error "Cannot open load file" "Not a directory" "org-mu4e")
Compiled modules/app/email/config.el
Compiled modules/app/email/autoload/evil.el
Compiled modules/app/email/autoload/email.el
Ignored modules/app/irc/packages.el
Cannot load circe: (error "Couldn’t find entry: irc/snoonet.org")
Compiled modules/app/irc/config.el
Compiled modules/app/irc/autoload/irc.el
Ignored modules/app/rss/packages.el
Compiled modules/app/rss/config.el

In +rss-popup-pane:
../../app/rss/autoload.el:39:4:Warning: doom-popup-buffer called with 11
    arguments, but accepts only 1-3
Compiled modules/app/rss/autoload.el
Ignored modules/app/twitter/packages.el
Compiled modules/app/twitter/config.el
Compiled modules/app/twitter/autoload.el
Compiled modules/app/write/autoload.el

In toplevel form:
../../private/hlissner/init.el:16:8:Warning: ‘system-name’ is an obsolete
    variable (as of 25.1); use (system-name) instead
Compiled modules/private/hlissner/init.el
Compiled modules/private/hlissner/config.el
Couldn’t find entry: irc/snoonet.org
make: *** [Makefile:39: compile] Error 255

Anyway, I don't use IRC in emacs, so I can disable it and successfully compile doom-emacs from develop.

I'm still not sure what could be causing your less-css-mode error. You could try looking into<EMAIL_ADDRESS>and removing less-css-mode from the package-selected-packages variable there. It's possible that Emacs thinks the package is installed, but isn't.
This is likely the result of all the make-gymnastics we've been doing throughout this issue! I'm afraid Doom's integration with package.el isn't as solid as I had hoped.
(That said, I've been working on replacing package.el with straight.el. It won't be ready until 2.1, but it will fix all these package management and certificate woes that have haunted Doom for the past year, including this one. I'm so glad he wrote it, because I was going to if he wasn't!)

I don't have custom.el file there:
+ ~ $ ls .emacs.d/.local/@aj-tpe/etc/
bookmarks  meghanada-server  recentf  scratch  workspaces

And I remember that I was doing multiple clean installs of doom-emacs before submitting this issue, so I think that this is not result of executing those different make commands all over again.
I will do another clean install from develop and post exact sequence of commands I executed so you can be sure in case that error prevails.

Here are commands I just executed:
rm -rf .emacs.d/
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd .emacs.d/
git checkout remotes/origin/develop
git checkout -b develop
git pull
git branch --set-upstream-to=origin/develop develop
git pull
cp init.example.el init.el
vim init.el
make install
make update
make install
make compile
make # <-- results in "less-css-mode" error

I also attaching whole output log of those commands and fresh make doctor output.
doom-log.txt
+ ~/.emacs.d (develop) $ DEBUG=1 make doctor
DOOM Doctor
Running Emacs v26.0.90, commit 4560fe7163e1ff16944a70e6351c25ad2e3d3098

Compiled with:
  XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2
  FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS
  LIBSYSTEMD LCMS2
uname -a:
  Linux aj-tpe 4.14.4-1-ARCH #1 SMP PREEMPT Tue Dec 5 19:10:06 UTC 2017
  x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.7
Revision 4560fe7163e1ff16944a70e6351c25ad2e3d3098

----

test-emacs
test-windows
test-fonts
Found font material-design-icons.ttf
Found font weathericons.ttf
Found font octicons.ttf
Found font fontawesome.ttf
Found font file-icons.ttf
Found font all-the-icons.ttf
test-gnutls
test-tls
peculiar error
make: *** [Makefile:80: doctor] Error 255

Finally tracked that pesky less-css-mode error down!  less-css-mode is included with Emacs.
make autoremove does a search for packages whose backend has changed (from package.el to QUELPA, or vice versa) and didn't know how to classify a built-in package, causing it to think the package wasn't installed at all.
Anyhow, the fix is now in develop. I'll keep this open until it hits master.

Nice work, I don't get that error message anymore.


[Bug]: Days 29,30,31

What happened?
I try to implements recurring remember of payment via email, I sell VPS and shared hosting, initial accept credit payments only, when the customer not active recurring charge I use this package to set recurring email notification to customer pay the service each month or each year, I take the date he buy a VPS or shared hosting account, today are 31-August-2023, I run a year period to get day by day and get the dates recurring model is active, response it's like this:
2023-10-31
2023-12-31
2024-01-31
2024-03-31
2024-05-31
2024-07-31
2024-08-31
Not appear 2023-11-31, 2024-02-31, etc. how do to make recurring end of month?? or how do to resolve when some day it's not appear in others months?? Thanks
How to reproduce the bug
Recurring register:
INSERT INTO repetitions (id, repeatable_type, repeatable_id, type, start_at, tz_offset, interval, year, month, day, week, week_of_month, weekday, end_at, created_at, updated_at) VALUES (5, 'Modules\HostingApp\Models\HostingShared', '4455686f-40a1-4cbb-960b-3979ecd8b792', 'complex', '2023-09-01 01:35:37', 0, NULL, '', '', '31', '', '', '*', NULL, NULL, NULL);
Example run 1 year to see the dates are active:
$period = CarbonPeriod::create(Carbon::now(), Carbon::now()->addYear(1));
foreach ($period as $date) {
$taks = Repetition::whereOccurresOn(Carbon::make($date->format('Y-m-d')))->get();
if($taks->count() > 0){
echo $date->format('Y-m-d').'';
}
}
Response:
2023-10-31
2023-12-31
2024-01-31
2024-03-31
2024-05-31
2024-07-31
2024-08-31
Package Version
^0.5.1
PHP Version
8.2.8
Laravel Version
^10.10
Which operating systems does with happen with?
macOS, Windows, Linux
Notes
No response

There are 2 ways of fixing this currently with this package:

either create a repetition for every month: $model->repeat()->complex(month: 1, day: 31) and so on, this still has problem with february
create repetition for first day of the month and subtract a day in your script, this has the most sense


Why use the logging class?

If the errors are sent to Bugsnag through the errorHandler, I don't understand why the logging part is needed.

Can you elaborate on what you’re talking about?  We include an implementation of a Yii-logger so that we can send the full Yii logs to Bugsnag when an exception occurs.  This allows you to capture very helpful information when a crash happens.
Are you talking about this or something else?

To give you some context after implementing the extension in a project we got tons of errors reported to Bugsnag. Yii2 basically convert all errors into exceptions but we don't really want to see 404s reported for example, so I customized the BugsnagComponent to filter those exceptions.
I think is not very clear to me when errors are reported to Bugsnag from the logs or directly, so that's why I ask why we need to report from the logs. Looking at the code I see there's a flag called $inExceptionHandler to prevent double reporting, and on the base ErrorHandler class, I see all the exceptions are logged so I'm confused.

@gigo6000 Thank you for asking that question. I was running into the same today. We have many 404 exceptions in bugsnag. I tried to filter these exceptions like described here: https://www.yiiframework.com/doc/guide/2.0/en/runtime-logging#message-filtering but it didn't work.
After some debugging i found out that \pinfirestudios\yii2bugsnag\BugsnagWebErrorHandler change the exception category to Bugsnag notified exception. Default yii error handler with the bugsnag log target works fine.

@kesselb, you are correct, that will simply log exceptions.  If you want full context including stacktrace info and other logged variables, you need the custom error handler to catch the actual exception, not the log message.

The logging portion allows you to get Trace level logs as a custom tab when exceptions are reported, allowing you to step backwards.  You need both pieces to get full stack traces and trace level logging.

\pinfirestudios\yii2bugsnag\BugsnagWebErrorHandler will break some of the default yii2 logging functionality (e.g. message filtering). I would not recommend it if you plan to use other log targets (like file or db).


1-Tools/notebook.ipynb is an empty file

Hi there
Describe the bug
The notebook file at https://github.com/microsoft/ML-For-Beginners/blob/main/2-Regression/1-Tools/notebook.ipynb is empty. It is referred to in the README.

Hello, that’s done by design so that you can practice the skills as outlined in the lesson.


feat: Derive Copy for freya-hooks

waiting for https://github.com/DioxusLabs/dioxus-std/pull/23#pullrequestreview-1871151043 to merge


Updated docstring

Howdy bruges group,
I have an updated docstring that a student put together this spring for bruges.rockphysics.anisotropy module. The full PR description with references is here:  https://github.com/jessepisel/bruges/pull/1. I assume that merging into the develop branch is the correct place for this. Please correct me if this is wrong. Thanks!

Wow, I am slow! But going to try to give some love to bruges over the coming weeks. Many thanks for the update!


Installation SDK on the Mac

I've been working with the SDK on linux for some time now and I've written an idiot proof bash script to install from both source and also from building.
I now need to work on a Mac and the installation guide is extremely sparse. My expectation from any installation guide is that I can copy and paste the code line by line into the terminal and the installation will work. However, this is clearly not the case for the guide below.
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_osx.md
For one thing, none of these lines specify anything about the librealsense library.
mkdir build && cd build
sudo xcode-select --reset
cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -G Xcode
what is this?
Im supposed to make a directly called build that is completely empty and cmake and that's supposed to work? What am I "making"? Are there more detailed step by step instructions so a beginner that doesn't know what any of this is can get this up and running on a Mac? My assumption is that a ton of steps are missing.

Hi @GitwellAnyohub
You could try brew install librealsense

I can actually get the realsense-viewer to work fine. What I need is to be able to import pyrealsense2 in python.

For anyone that still needs to get the SDK working on Macs, here is what I did. It was trivial for me to get the command line stuff working (realsense-viewer) with brew install librealsense, but the finicky thing (for me) was to get the python library working.
https://github.com/GitwellAnyohub/Real_Sensible_Moseq/blob/master/bash_and_install/install_realsense_sdk_mac_os.sh

Thank you @GitwellAnyohub we will expand the documentation accordingly.
Ideally, we want to publish pip packages for Mac, like we do for Windows and Linux, but it is taking some time.

If it all goes without errors, you should be able to find the pyrealsense2..so under build/wrappers/python (actually 3 files with the same name and extensions .so, .so.2, .so.2.8.1).
Now the easiest way to use it is run python from that folder and import pyrealsense2
source: https://github.com/IntelRealSense/librealsense/issues/793

Ridiculous to still not have updated the official install for MacOS...  Intel should be embarrassed with themselves.
Why not just use the instructions @GitwellAnyohub posted at the least, that worked for me.

@RealSenseSupport I'd like to echo @exnx and also say I am surprised that the macOS installation guide is still incomplete... I'm going to try @GitwellAnyohub's instructions now

I am having the same trouble as @eweimholt and @exnx, I followed @GitwellAnyohub's instructions and everything worked fine until I tried to import the pyrealsense2 in python. I get a "ModuleNotFoundError:  No module named 'pyrealsense2'". Any help would be appreciated

I tried installing librealsense using HomeBrew but am getting the following error.
"Error: librealsense: no bottle available!"


Make the 'Scroll to top' button size bigger

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
All pages.
for example: https://docs.github.com/en/rest/reference/gists#star-a-gist
What changes are you suggesting?
Make the 'Scroll to top' button size bigger.
Since github docs is a long scroll site, Scroll to top button is very helpful. To make it more easily clickable, the size needs to be increased. Currently it takes more time to focus the mouse on to the button.
Additional information
If you decide to not increase the size all the time, at least make the button big when we scroll up so that it's more visible and easily clickable.

Great suggestion.

@ilam-natarajan
Thanks so much for opening an issue! I'll triage this for the team to review :eyes:

Thank you so much! I've moved this to our Product team internally. Once the decision is made, engineering will make the necessary changes.

@ilam-natarajan There is an internal issue opened track this, so I am going to close this issue in the open source repo 💛.
Thanks so much for your efforts in improving the GitHub docs 💖 .


Minimal test of every language feature

Lace has very few features, but I need to relearn what it can do before considering anything new. Perhaps its current feature set is sufficient for its scope.

Changed "example" to "test" because I feel too much pressure to make examples useful.
Even so, they should probably be put in a subdirectory of examples/. 😐

Closed due to poorly defined scope. I've been testing new code pretty well, so more tests will be added if/when the language changes.


use Monte Carlo loop to estimate uncertainties

Add a Monte Carlo loop on the continuum- and emission-line fitting in order to get uncertainties on some of the fitted parameters, including:

VDISP
AV
AGE
ZZSUN
LOGMSTAR
SFR
MGII_DOUBLET_RATIO
OII_DOUBLET_RATIO
SII_DOUBLET_RATIO
[LINENAME]_MODELAMP
[LINENAME]_AMP
[LINENAME]_FLUX
[LINENAME]_BOXFLUX
[LINENAME]_VSHIFT
[LINENAME]_SIGMA
[LINENAME]_CONT
[LINENAME]_EW

Done in #189.


Ignoring errors with the blank identifier

Contrary to the developers conventions, there a quite a few places where errors are ignored using the blank identifier (use errcheck -blank to find them). In some places these are accompanied by an explanation, e.g. crypto/encrypt.go
// NOTE: NewCipher only returns an error if len(key) != 16, 24, or 32.
cipher, _ := twofish.NewCipher(key[:])

In others there is no explanation.
Not checking errors if we can safely assume none will occur is not the best but with a valid explanation it seems okay. But for every error ignored (that has an explanation) there should be a corresponding test to make sure that the assumption is true. In this case the test should verify that len(key) is 16, 24, or 32.

Then again it would be simpler and more consistent if errors are never ignored.

But then TwofishKey.NewReader and TwofishKey.NewWriter would have to return the errors too. So testing each assumption used to explain why an error is ignored seems like the better solution.

Yeah we've been back and forth on this a few times. If your function is already returning an error, then there's almost no excuse, with the exception of defer statements which can be annoying.
defer obj.Close() -> can return an error, but how do you check an error inside of a defer statement?
And, if we start enforcing that everything needs to be returning errors, that's pretty annoying especially when the behavior is clear that errors will never be returned. Then again, always checking anyway helps catch developer mistakes.
I think I'd rather have the functions start to return errors. Idk how much headache that will end up being though.

IIRC the NewReader and NewWriter functions aren't used anywhere anymore. Originally they were used for encrypting streams (during upload/download), but now we break things into small in-memory chunks anyway so we use EncryptBytes instead.
defer is usually employed to clean up resources like files and network connections. In most of these cases we don't care if an error is returned. For example, if we've read an input file to EOF and processed all its data, an error returned by Close is inconsequential (and errors when closing a read-only file seem to be exceedingly rare). Same applies if we've read everything we need from a network connection. There's basically one instance where we might want to check Close, and that's when writing to persistent storage. Caching behavior on certain files systems (notably NFS) can cause write errors to only surface when Close is called (i.e. when the cache is flushed). So I suggest that if we change anything, we change the handling of file.Close in three places: 1) in persist.SaveFile, 2) in the host when writing contract data to disk, and 3) in the renter when downloading a file. I think this should cover pretty much all the places where data loss could occur.
In general I'm in favor of rigorous error handling, but I think a practical approach has to be more sophisticated than "propagate every error returned by any function." In the examples I gave above, you wouldn't want to propagate those errors, because the operation didn't actually fail (that is, the function accomplished what it was supposed to). So I narrow it down with two questions: 1) should this error actually impact control flow? and 2) will this function ever produce an error when used in this context? For the former, I recommend adding a comment, and possibly logging the error if it seems prudent to do so. For the latter, I recommend adding a comment and writing tests to assert that the assumption is correct, as you've done in d8e4281.

but that still doesn't address how we should handle the actual errcheck program, because there are definitely places in the codebase where we should be checking errors and we aren't, and errcheck helps to highlight them. We need some way to let errcheck ignore the errors we don't care about.
errcheck does have a -ignore flag, but I'm not sure how to use it.

I made a change to errcheck that allows you to ignore ignored errors that have a comment above them that starts with a prefix. For example errcheck -ignorecomment ERRCHECK_IGNORE would ignore the following line.
// ERRCHECK_IGNORE: NewCipher only returns an error if len(key) != 16, 24, or 32.
cipher, _ := twofish.NewCipher(key[:])

I need to clean it up a bit and then I'll submit a PR to errcheck.
I'll look into adding a flag to ignore errors in defer statements as well.

I'd rather use ERRCHECK_IGNORE in a comment then intentionally ignore all defers. Some of those deferred statements really do need their errors checked.
What do you mean by I made a change? Did you alter the source code? If so, it definitely doesn't hurt to make a PR on the upstream branch of errcheck, the maintainer might even have some better ideas about how to implement it after he sees the code.

Yup, here's the PR: https://github.com/kisielk/errcheck/pull/86

Are we planning to make the build fail unless the errcheck is totally clean? How many errors would we need to fix/comment in order for that to happen?

Yep, definitely planning on doing that. 292 hits on errcheck as of today. If we go package-by-package, it shouldn't be so bad.

vs. 101 hits on golint with min_confidence=1.0

Make sure to run errcheck with the -blank and -asserts flags. With those flags I get 356 errors.


Support for Lucene 5.0

I am using Lucene 5.0 inside my application, but I just found out that luke only supports 4.x indices.

We currently support up to lucene 4.10.4. There is are couple tickets in the works before we upgrade. But pull requests are always welcome!

I'm now trying to make Luke support Lucene 5.1 in my local branch.
There are many compiling errors, so I need some time to make a draft PR. I want to get ready for Lucene 5.2, but of course, more quick developers' pull requests are welcome.

Closing this ticket, as the lucene 5.2 compatible luke has been released.


Begin time as payload?

Hi,
I'd like to trigger this via my LUX sensors, i.e. when LUX < 400 trigger flow. It would be great (and logical in my opinion) if I could trigger the faker at x and set only an end time, i.e. 23:00. It would then do the magic based on the current window and other window settings.
Is this possible?

Hi @Swiftnesses!
Thanks for your suggestion! Have you considered defining a broader static window for the presence-faker (e.g. 04:00 - 23:00) and just activating the faker bases on your LUX threshold?

That'll work, thanks @csuermann. The reason I didn't do this originally is I wanted strict control over the period and window settings...

I also just released v.1.5.0, which allows you to overwrite the config dynamically by injecting an object like so:
{
    "windowBegin": "00:00",  //string
    "windowEnd": "23:59:59", //string
    "minDuration": 60,       //seconds as int
    "maxDuration": 600,      //seconds as int
    "minCount": 10,          //int
    "maxCount": 30           //int
}


Crash after attachement

Attachment(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
 12 | componentDidMount() {
  13 |   this.props.link &&
  14 |     this.props.user
  15 |       .fetchAttachment({ url: this.props.link })
  16 |       .then(fetched =>
 17 |         this.setState({ src: fetched.link, name: fetched.file.name })
 18 |       )

Did it actually crash, or just just print an error/warning?

Crashing with error printed on screen.

Thanks, I will look into it.

I fixed it.

Fixed by #51 🎉


Replace tabs with spaces in grammar and transformer fields

Setting:
replace all upon load
replace with how many (default 4) spaces

That should be a setting. For now the replacement only takes place during typing, but not during load (I think).

Takes place during load too, is a setting now too.


Make the virtual "Shares" Space permanent

Is your feature request related to a problem? Please describe.
Having the virtual "Shares" Spaces appear and disappear all the time is a horrible user experience for users of the desktop client.
The biggest problems:
1) New account, where user didn't receive or didn't accept a share yet
Current desktop app doesn't add new Spaces dynamically and doesn't notify users about new, available Spaces. Only when setting up a new account, all available Spaces get synced locally. When virtual "Shares" Space isn't available from the beginning, some users will probably never find their received Shares.
2) User declines the last share or got removed from a share
This leaves the desktop app in a very weird state:

https://github.com/owncloud/client/issues/10278
https://github.com/owncloud/client/issues/10285

Describe the solution you'd like
Virtual "Shares" Space should be permanent from the first time a user connects, and should never disappear later.
Describe alternatives you've considered
I thought about workaround hacks in the desktop app, but this doesn't sound useful.
Additional context
Empty, permanent virtual "Shares" Space got removed, I think because of difficulties with eTags.
@micbar I'd like to discuss this again
/cc @HanaGemela @TheOneRing @tbsbdr

Empty, permanent virtual "Shares" Space got removed, I think because of difficulties with eTags.

It was removed on request of some team, I don't remember exactly why. Let us make a decision before we add / remove this on regular intervals 🙈

Decision was made: We need to always have the Share Jail present on the graph and webDav enpoints. Empty Share Jails need an artificial eTag.

@micbar As far as iOS is concerned, you can pick any eTag. Format/length doesn't matter to it.

I agree with @felix-schwarz

@TheOneRing @felix-schwarz
Here is what I have so far:
curl -s -k -u admin:admin https://localhost:9200/graph/v1.0/me/drives | jq .
{
  "value": [
    {
      "driveAlias": "personal/admin",
      "driveType": "personal",
      "id": "a22e9474-88b5-45d4-9692-69be6eaa5b69$88c85652-76d0-4265-bbb3-56cf474186ae",
      "lastModifiedDateTime": "2022-12-22T10:24:13.069518955+01:00",
      "name": "Admin",
      "owner": {
        "user": {
          "id": "88c85652-76d0-4265-bbb3-56cf474186ae"
        }
      },
      "quota": {
        "remaining":<PHONE_NUMBER>36,
        "state": "normal",
        "total": 0,
        "used": 0
      },
      "root": {
        "eTag": "\"eae44aa8f9aab8e76e0b5f2a652ce63a\"",
        "id": "a22e9474-88b5-45d4-9692-69be6eaa5b69$88c85652-76d0-4265-bbb3-56cf474186ae",
        "webDavUrl": "https://localhost:9200/dav/spaces/a22e9474-88b5-45d4-9692-69be6eaa5b69$88c85652-76d0-4265-bbb3-56cf474186ae"
      },
      "webUrl": "https://localhost:9200/f/a22e9474-88b5-45d4-9692-69be6eaa5b69$88c85652-76d0-4265-bbb3-56cf474186ae"
    },
    {
      "driveAlias": "virtual/shares",
      "driveType": "virtual",
      "id": "a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668",
      "name": "Shares",
      "quota": {
        "remaining": 0,
        "state": "exceeded",
        "total": 0,
        "used": 0
      },
      "root": {
        "eTag": "DECAFC00FEE",
        "id": "a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668",
        "webDavUrl": "https://localhost:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"
      },
      "webUrl": "https://localhost:9200/f/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668"
    }
  ]
}

If that is all that is needed I'll open up a PR or do you need any more changes?

I agree that DECAFBAD and think BADEAFFE would have been more fun, but I don't think it's BADC0DED because of that. 🤪
Looks good to me!

Needs reva update.

Looks good on https://ocis.ocis-traefik.latest.owncloud.works/

ownCloud Web UI 7.0.0-rc.11
Infinite Scale 2.0.0+26f7523ff Community


nice to have with mongoid

now ActionController::RoutingError - uninitialized constant ActiveRecord:
when accessing /blog

Hi all, I very like this gem and have applied to my mongoid application. I also converted this gem for supporting mongoid. You can check out my updated gem here. I also write an example application with the demo. Admin account<EMAIL_ADDRESS>/ monologue

:+1: :heart:


Unknown named module: 'react/lib/ReactNativePropRegistry'

Hey guys!
Im getting this error with the following example: http://nativebase.io/docs/v0.5.13/components#anatomy
My package.json:
"dependencies": {
"native-base": "^0.5.16",
"react": "15.4.1",
"react-native": "0.38.0"
},

https://github.com/GeekyAnts/NativeBase/issues/307

Also happened in
 "react": "15.3.2",
 "react-native": "0.37.0"

same problem

fixed by change
import ReactNativePropRegistry from 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry';
to
import { ReactNativePropRegistry } from 'react-native';
in node_modules/react-native-easy-grid/Utils/computeProps.js

As @RocWangv pointed out correctly replacing the following code in react-native-easy-grid module fixed the issue for me:
// var ReactNativePropRegistry = require('react/lib/ReactNativePropRegistry');
import { ReactNativePropRegistry } from 'react-native';

Fixed with latest release 0.5.18

This fix seems not working with react-native 0.35
  "dependencies": {
    "native-base": "^0.5.18",
    "react": "^15.3.1",
    "react-native": "^0.35.0",
    "react-native-maps": "^0.11.0",
    "react-native-mauron85-background-geolocation": "^0.2.0-alpha.5"
  }

netiher with
"depenencies": {
"native-base": "^0.5.18",
"react": "15.3.1",
"react-native": "^0.34.1"
}

But it really works with:
  "dependencies": {
    "native-base": "^0.5.18",
    "react": "^15.4.1",
    "react-native": "^0.38.0",
    "react-native-maps": "^0.11.0",
    "react-native-mauron85-background-geolocation": "^0.2.0-alpha.5"
  }

@mauron85 @20matan  If you want to work with RN < 0.38 then you should go for NB < 0.5.16
For RN >= 0.38, NB 0.5.18 is compatible


Bluetooth: host: PA sync receive enable/disable

Adds support for enabling/disabling PA sync receive,
which allows applications to control when to receive data
while a sync is established.
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>

@joerchan Can you do a re-review please?


fix(Gthread): Block when acquiring mutex lock

@BetsyRT r+

:pushpin: Commit 379ecc4 has been approved by dschatzberg

:hourglass: Testing commit 379ecc4 with merge e3c9408...

:broken_heart: Test failed - runtests


Add support for the Application Settings API.

See the following for more Info: https://docs.gitlab.com/ce/api/settings.html

Support for the GitLab Application Settings API has been released in GitLab4J-API Release 4.10.10.


Instance #3

Description
created landing page and signup page designs...
Fixes #169
Type of change
screenshots
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules

Reviewer: Vinit Shahdeo
link
https://www.figma.com/file/tZCrAk0QOJoMum0KDhcWDK/Untitled?node-id=12%3A73

@syedareehaquasar you should put your submissions inside screenshots/Instance #{number} directory. You can find some sample submissions here.
To me, the landing page design still looks as if something is missing. But it's fine for a medium level task. What are your views @vinitshahdeo?

so i have to pull another new request or can i edit??

You can edit this itself.

I am not able to create folder

https://www.figma.com/file/tZCrAk0QOJoMum0KDhcWDK/Untitled?node-id=6%3A3 please check this too i have editted it

https://www.figma.com/proto/tZCrAk0QOJoMum0KDhcWDK/Untitled?node-id=6%3A3&scaling=scale-down

I have added some dynamic components

You don't have to create any folders. screenshots/ folder is already existing inside the feature/frontend branch.
Regarding background, a neat and clean background with some relevant content would look good. Also, just to clarify, your landing page need not contain only one viewport. You can put other relevant content too on the scroll.  Good Luck!

basically there is another folder requires instance #3 so thats what i was asking
Ok got it about landing page Thanks!!

done @amaaniqbal  review my new design

https://www.figma.com/file/tZCrAk0QOJoMum0KDhcWDK/Untitled?node-id=42%3A67
please check it out
@amaaniqbal  thank you for your feedback it helped a lot...

Looks better to me than your previous designs. Well done!

@amaaniqbal  could help me take new similar projects as this is my first time mostly issues are already assigned so could you guide me that whether i should start learning nodejs or any IOT related technology like adriubo to contribute more...

We will be opening many more issues soon. So please keep an eye on the issues page.
Regarding learning, I would advise you to learn Node JS anytime. It's very much popular these days.
PS: Its Arduino and not adriubo 😅

Ok thanks a lot ...
PS : I know just got a typing error....


[BEAM-13821] Add automated expansion service start-up to KafkaIO

Adds support for automatically starting up an expansion service for Kafka IO reads and writes if a user does not supply an address.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @lostluck @youngoli
I've validated that the automated expansion service start-up works when used in conjunction with the Kafka test service!

Run XVR_Flink PostCommit

Committed your suggestion!

Updated the Write() comment appropriately.


Add reset button for filtering options and maybe UI to indicate they are using non-default options?

Users might change their filtering options (minimum comment counts, vote counts) and wonder why they are not getting enough results.
Maybe we should have a way to indicate they are non-default filtering?

Add a label to say "X filtered"


docs: remove extra useless button--outline class from button active

Why this PR:
Should fix #273
What is the issue:
We are using button--outline class in documentation for button active, which is ideally not required.
As part of this PR, removed button--outline class from Docs & local Infima
Before change:

After change:

Thanks 👍


Grunt build Warning ?  how to fix??

Warning: Running "imagemin:dist" (imagemin) task Use --force to continue.
Aborted due to warnings.

Hi @rahulshawsrm.
Your issue doesn't provide enough information. Could you be more specific?


free42: init at 2.5.24a

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 112451 at 7be212bf run on x86_64-linux 1

1 package built:

free42


Getting incorrect message after moving product from wishlist to cart

Bug report
Title
Getting incorrect message after moving product from wishlist to cart
Issue Description
wrong message displaying after clicking on move to cart from wishlist.
Preconditions

framework Version. v0.1.8
Steps to reproduce
step1: add product to wishlist
step2 click on move to cart
Expected result:
message should be "Item successfully moved To cart".

Actual Result:

framework version : v0.1.8
issue fixed


Weird output on different precision

Unable to understand in Case 1, why precision of 10 allows event in 2 secs instead of 10. Please clarify.
Case 1
{ interval: 10, limit: 1, precision: 10 }
The time gap between 1st and 2nd allowed event is around 2 secs only, rest all takes around 10 secs
2018-11-14T02:00:19.805Z Is rate limited? + false
2018-11-14T02:00:21.870Z Is rate limited? + false
2018-11-14T02:00:30.369Z Is rate limited? + false
2018-11-14T02:00:41.070Z Is rate limited? + false

Case 2
For
{ interval: 10, limit: 1, precision: 1 }
Equal time gap between each allowed event
2018-11-14T02:07:25.499Z [ERROR] [-] [rb/rl] J1<EMAIL_ADDRESS>Is rate limited? + false
2018-11-14T02:07:35.970Z [ERROR] [-] [rb/rl] J1<EMAIL_ADDRESS>Is rate limited? + false
2018-11-14T02:07:46.670Z [ERROR] [-] [rb/rl] J1<EMAIL_ADDRESS>Is rate limited? + false
2018-11-14T02:07:57.370Z [ERROR] [-] [rb/rl] J1<EMAIL_ADDRESS>Is rate limited? + false

Silly!


Add validation for secstorage.allowed.internal.sites

Description
This PR fixes #9530 by adding validation on update of secstorage.allowed.internal.sites to allow only valid CIDRs. This PR also enables logging of WARN messages for the existing wrong configurations.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10748

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10771

@blueorangutan test

[SF] Trillian test result (tid-11170)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 51734 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9567-t11170-kvm-ol8.zip
Smoke tests completed. 132 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestDeployVM>:setup
Error
0.00
test_vm_life_cycle.py


JSON Chart like vis-materialdesign

Hi,
i love VIS 2 and i would like to create some Graphs.
Is there a way like in vis-materialdesign to create it like the Json Chart
Or is there a plan for that feature?
Best regards
Markus

Can you give some screenshots of what you want?

With eChart you can do a JSON Chart.

Unclear requests


Retrieve layer/model weights

There should be an easy way to extract the weights of a Layer/Model and save them. Currently, I've got the not-so-pretty method of doing this:
public func weights() -> [Tensor<Float>] {
    return [dense1.weight, dense1.bias, dense2.weight, dense2.bias, dense3.weight, dense3.bias, dense4.weight, dense4.bias]
}

Originally, I thought of doing something like adding a weights() -> [Tensor<Scalar>] function to the Layer protocol. For example, Dense<Scalar: TensorFlowFloatingPoint> would implement it like so:
public func weights() -> [Tensor<Scalar>] {
    return [weight, bias]
}

My layer could then do this:
public func weights() -> [Tensor<Scalar>] {
    return dense1.weights() +
           dense2.weights() +
           dense3.weights() +
           dense4.weights()
}

Is there an easier way to do this?

Forming an arrays of tensors is never a good solution -- it performs unnecessary semantic copies and keeps more tensors alive. Our solution is key paths.  Layers conform to KeyPathIterable. You can take a look at Optimizers.swift to see how they iterate over all weights using key paths.
for kp in model.allDifferentiableVariables.recursivelyAllKeyPath(to: Tensor<Float>.self) {
    write(model.allDifferentiableVariables[kp], to: ...)
}

We are going to provide a general serialization/deserialization API that works well with the Codable mechanism and that can support model saving and checkpointing. One can implement Codable conformances using key paths. Feel free to experiment with it if you'd like. We plan to look into this in a few weeks (after the dev summit).

@rxwei I'm extremely keen to work on this, with #117 and #76 we will be done with pooling layer implementations. We have almost all layers needed for most basic classification networks. Although before implementation, are there things you would recommend to read up on and then start a discussion here to decide on some sort of specification for the implementation?

Exciting that this is being discussed! It's probably a little early for FRs, but I'd like to encourage the implementation to support eventual conversion/export to other formats e.g. ONNX & CoreML. I'm assuming the simplest (?) way would be to support saving a .pb file, which is one of TensorFlow's standard saved model formats. That way users could use all the existing .pb conversion tools. But it might not be the best way, I get the impression TF's saved model formats are a little overengineered.

@rxwei any update about general serialization/deserialization API? It is the main feature for any framework :)

Can we restart this discussion? Or atleast offer hack-y ways of making this possible until we work on this fulltime?

Temporarily, I've just been iterating through recursivelyAllWritableKeyPaths, converting each one to a numpy array, and saving it as a large npy file. Then, when loading, I zip together the keypaths and items in the numpy array, and set the weights accordingly.

Any updates on making checkpointing/loading possible with Codable? Or is there any timeline decided?

I created example using recursivelyAllWritableKeyPaths, for those who are interested: https://gist.github.com/kongzii/62b9d978a6536bb97095ed3fb74e30fd

@kongzii your approach looks hood to me (maybe not something S4TF team is aiming for). My question is can you extract and save parameters layer-wise? That could help in loading pre-trained models with recursivelyAllWritableKeyPaths.
Thanks for your code btw.

If you're interesting in loading/saving weights using numpy, you should check out Meir Rosendorff's blog post on the subject: https://medium.com/dvt-engineering/will-swift-take-over-python-as-the-go-to-language-for-ml-ff9f8d9d7141

@rahulbhalley Thanks! All layers should conform to Layer, so you can execute saveWeights and loadWeights manually per layer, eg. model.conv1d.saveWeights(...), if this is what you meant.

You can also check how that's done in the BERT PR using a TF checkpoint reader helper I added a while back.

Thanks @kongzii it works very nicely. Sorry, I should've thought a little more clearly that recursivelyAllWritableKeyPaths is a method on Layer protocol.
Thank you!

@eaplatanios I looked at your provided link which uses the TensorFlowCheckpointReader. I'm sorry I couldn't find the implementation of TensorFlowCheckpointReader in your forked repository. The closest I found was the official implementation but it does not have any loadTensor method you used. All it has is layer specific load method which further calls PythonCheckpointReader's readTensor(layerName: weightName) method.
Please provide a direct link to your implementation code for TensorFlowCheckpointReader.

@rahulbhalley It's been pushed here. :)

Why isn't S4TF team trying to use ProtoBuf? I think PyTorch, ONNX, etc. uses that and even  has its own implementation here in Swift itself.
cc: @rxwei @dan-zheng

@rahulbhalley TF checkpoints are in Protobuf format and the C API checkpoint reader is a wrapper around the C++ protobuf library. I believe @BradLarson is currently working on a pure Swift implementation using the Swift protobuf library.

@eaplatanios that will be cool if we get checkpointing implemented in Swift protobuf. All the best @BradLarson!

Any progress on this?

Apologies for not updating this thread directly, but for those who hadn't seen it, I presented recent work on loading tensor checkpoints, near-term plans for saving checkpoints, and open design questions about this at a recent public design meeting (slides available here).
The current status is that we now have a native Swift implementation for TensorFlow v2 checkpoint loading staged in swift-models and incorporated with the models there. A TensorFlow v2 checkpoint writer is under development, as is loading from SavedModel files. Beyond that, there are broader design questions for graph serialization and other aspects of this. This work is ongoing in the swift-models repository as a testbed for these designs, so you can follow along with the pull requests and commentary there.

+1

@BradLarson thank you very much for the CheckpointReader and CheckpointWriter implementations in swift-models. I am successfully saving and loading checkpoints on my Transformer model using them.
Saving to a checkpoint looks like this:
// Based on https://github.com/tensorflow/swift-models/blob/542a03c09aa7bd6e326a18b5d086f2bec8b4b24c/Models/Text/GPT2/CheckpointWriter.swift#L68
// Removed the renaming functionality and simply keeping the paths of the variables as they are in Swift
public func recursivelyObtainTensors(_ obj: Any,
                                     scope: String? = nil,
                                     tensors: inout [String: Tensor<Float>],
                                     separator: String) {
    let m = Mirror(reflecting: obj)

    for (i, child) in m.children.enumerated() {
        let index: String = {
            if let _ = obj as? [Any] {
                return "\(i)"
            } else {
                return ""
            }
        }()
        let label = child.label != nil ? child.label! : "h" + index
        let path = (scope != nil ? scope! + separator : "") + label
        if let tensor = child.value as? Tensor<Float> {
            tensors[path] = tensor
        }
        recursivelyObtainTensors(child.value, scope: path, tensors: &tensors, separator: separator)
    }
}

// From https://github.com/tensorflow/swift-models/blob/542a03c09aa7bd6e326a18b5d086f2bec8b4b24c/Models/Text/GPT2/CheckpointWriter.swift#L68
public func saveCheckpoint<Model: Layer>(model: Model,
                                         outputPath: URL = URL(fileURLWithPath: "./data/checkpoints/"),
                                         name: String = "checkpoint") {
    var tensors = [String: Tensor<Float>]()
    recursivelyObtainTensors(model, scope: "model", tensors: &tensors, separator: "/")

    let writer = CheckpointWriter(tensors: tensors)
    do {
        try writer.write(to: outputPath, name: name)
    } catch {
        print("Failed to write checkpoint to \(outputPath): \(error)")
    }
}

Loading from a checkpoint looks like this:
/*
A layer should implmeent this to restore from a checkpoint reader
*/
protocol InitializableFromCheckpoint {
    init(reader: CheckpointReader, config: TransformerConfig, scope: String)
}

extension MyLinearlyProjectedInputToTransformer: InitializableFromCheckpoint {
    public init(reader: CheckpointReader, config: TransformerConfig, scope: String) {
        self.hiddenSize = config.hiddenSize
        self.sequenceLength = config.sequenceLength
        self.numVariables = config.numVariables
        self.batchSize = config.batchSize
        self.device = config.device
        self.linearProjection = Dense<Float>(weight: reader.readTensor(name: scope + "/linearProjection/weight"),
                                             bias: reader.readTensor(name: scope + "/linearProjection/bias"),
                                             activation: identity)
        self.positionEmbedding = Embedding<Float>(embeddings:
                                           reader.readTensor(name: scope + "/positionEmbedding/embeddings"))
        self.embeddingLayerNorm = LayerNorm<Float>(offset:
                                                   reader.readTensor(name: scope + "/embeddingLayerNorm/offset"),
                                                   scale:
                                                   reader.readTensor(name: scope + "/embeddingLayerNorm/scale"),
                                                   axis: -1,
                                                   epsilon: 0.001)
        self.embeddingDropout = Dropout<Float>(probability: Double(config.dropoutProbability))
        self.transformer = TransformerEncoder(reader: reader, config: config, scope: scope + "/transformer")
    }
}

@BradLarson One thing to keep in mind while working on checkpointing is that we also need optimizer saving and loading. Stateful optimizers like Adam and RAdam will need to have their state serialized and deserialized to support continued training on a saved model. Initializing a stateful optimizer from scratch will grossly overshoot the gradient calculations, producing a spike in the train/val loss. I believe there are fine-tuning situations where this is also desirable. It can be preferable to start the optimizer's moments from the last pre-training epoch rather than from 0 to prevent the aforementioned gradient overshooting. I am currently working on manually serializing and deserializing my optimizer's properties so that I can continue training on a model.

I've captured the need for optimizer, training loop, etc. state checkpointing in swift-models issue #726, but the presence of our checkpointing APIs and the pending completion of a higher-level interface for model checkpoints would seem to address the core needs of this issue. As a result, I'm going to mark this as completed here in favor of further discussion about checkpointing over at tensorflow/swift-models.


Hosted Tab showing "Loading..."

change the hosted tab, we(Samar) can also make our(Samar's) own hosted tab, or use some other hosted tab.

update to version 2


providers: prefer to download a tarball for efficiency

Closes #148.

I like this. Can it be merged?

Is there a reason why this isn't in the default provider instead of just the bundler_capistrano one?

It is a proof of concept to see if you like the idea. If you do, then we can go about factoring this code (and the code in ElasticBeanstalk class) into the default provider.

Cool, I'll merge this one and we can unify it in another PR.

Sounds good, @atmos.
Unless you have infinite temporary directory space, this system will depend on rotating older checkouts to the trash.

@maletor Does this PR work for you?
Where are you running heaven? I'm running on Heroku and this just won't work at all.

We run in a private cloud. We changed a ton of stuff to heaven to add an interface and maybe some other stuff.

Would be nice to support other providers ;-)

I think that you've made some big assumptions about the environment you are running on, that don't translate to, for example, Heroku.
At the moment, I cannot deploy at all using Heroku.

@shaneog so bundler_capistrano is broken on heroku now? We can revert it...

Incoming PR to fix :smile:

:heart: