ectjs with jxcore

I'm trying to pack my app with jxcore and it give me this error when trying to access a web page.
The problem is that ect is not able to see the views folder because with jxcore all the project is packaged into a single exe file.
Error: watch ENOENT
at errnoException (fs.js:1131:11)
at FSWatcher.start (fs.js:1163:11)
at Object.fs.watch (fs.js:1188:11)
at [object Object].TemplateContext.load (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:355:27)
at [object Object].TemplateContext.render (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:369:25)
at View.render (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:416:34)
at View.render (D:\Users\bb14193\Downloads\node_modules\express\lib\view.js.jx:127:8)
at tryRender (D:\Users\bb14193\Downloads\node_modules\express\lib\application.js.jx:640:10)
at EventEmitter.render (D:\Users\bb14193\Downloads\node_modules\express\lib\application.js.jx:592:3)
at ServerResponse.render (D:\Users\bb14193\Downloads\node_modules\express\lib\response.js.jx:962:7)
at app.get.req.session.user (D:\Users\bb14193\Downloads\app.js.jx:42:7)
at Layer.handle as handle_request
at next (D:\Users\bb14193\Downloads\node_modules\express\lib\router\route.js.jx:132:13)
at Route.dispatch (D:\Users\bb14193\Downloads\node_modules\express\lib\router\route.js.jx:113:3)
at Layer.handle as handle_request
at D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:278:22
at Function.process_params (D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:331:12)
at next (D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:272:10)
at Object. (D:\Users\bb14193\Downloads\node_modules\express-session\index.js.jx:434:7)
at Object.immediate._onImmediate (timers.js:380:16)
at processImmediate as _immediateCallback

the solution is to set the option watch to false
you can close the issue.


Unsure where to put scss

In this structure the scss can be loaded successfully, but we're working around that being displayed in the navbar menu (that displays all pages) by filtering it out.
What is the correct place to put the scss? I've tried putting it in the content folder but then the template page can't find the file.
The template looks for the file like this <link rel="stylesheet" type="text/css" href="/static/css/base.css">
@shuttle1987 is happy to contribute docs

In my own site ( https://github.com/funkybob/kitty-litter ) I have it in pages/css/style.scss since it's a page I want rendered.
In a more complex site I'm experimenting on porting from hugo, I've the main css file in pages/css/style.scss, and in the config.yml I have:
content_type:
  SCSS:
    output_style: compressed
    include_paths:
      - assets/sass/

so the SCSS compiler will import from assets/sass  - a new dir next to pages, content, etc.

Great, thanks for giving some options


0.15.x menu updates

So I yanked all of these over. I believe everything looks in order.

Codecov Report

Merging #1015 into release-0.15.x will increase coverage by 0.73%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           release-0.15.x    #1015      +/-   ##
==================================================
+ Coverage           69.61%   70.34%   +0.73%
==================================================
  Files                 212      212
  Lines                4654     4654
  Branches              444      444
==================================================
+ Hits                 3240     3274      +34
+ Misses               1414     1380      -34

Impacted Files
Coverage Δ

core/src/main/scala/org/http4s/HttpVersion.scala
87.5% <0%> (-12.5%)
:x:

core/src/main/scala/org/http4s/Uri.scala
85.71% <0%> (+1.78%)
:white_check_mark:

.../scala/org/http4s/testing/ArbitraryInstances.scala
97.95% <0%> (+17.85%)
:white_check_mark:

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 b725aa1...0062539. Read the comment docs.

They're your commits. The only real question is if we changed anything else that I missed.


New Beta GameObjects Reactor and CoolantLine need VRTK interactions and proper hacking

The Technodude needs to be able to shut these down or at least damage them in some way, so we have to implement some VRTK controls for them. I'd like to get the Plug and the PlugCable chain thing working for the Reactor, as well as the CoolantLines and I would also like the CoolantLine to have some sort of wheel you need to rotate to shut it down. Finally, they need "death animations" and particle effects and stuff for their shutdown sequence. Might require some new sounds and models to get this all rigged up, hopefully it doesn't take too long.... then they'll be ready to be placed in game by the MapGenerator as part of the actual generated gameplay map layout.

e71b3dd334f777341e592198d474a0fcb71b6ada
done for the reactor, just need to copy it to the coolant line... not super important right now.


Add ability for default to override name_property

cc @coderanger (thanks for noticing the default thing!)

:+1:

:ship: :ship: :ship:


S4. Saving my annotations of AIT99 for others to see

Epic:
Description
User: The same scientists from Use Cases 2 #99  and 3 #100 .
Use Case: We have confirmed that AIT99 is set up properly on our computers and have completed some annotations, and now we want to share these with the other annotators.
What we have:

AIT99 loaded into TDT, with some completed annotations

What we need to know:

I’ve made a bunch of changes now and want to make sure these get saved locally.  What do I do?  Ideally, I’d also like to update the h5ad file with these annotations. Is this step even necessary, or do all annotations get saved with other folks.
Once I’m done annotating, how do I share this information back to Scientist 1 and to the other expert annotators? Which action buttons do I push?
Now I see annotations other folks. How do I know who added each annotation, so I can ask them about it or debate it?  More generally, how can we ensure that all of our annotations are stored in AIT99 and that they get properly attributed to the correct person?

Tasks

[ ] Task1
[ ] Task2
[ ] Task3

Sketch of new action menus here:
https://github.com/brain-bican/taxonomy-development-tools/issues/91#issuecomment-1980617177

I’ve made a bunch of changes now and want to make sure these get saved locally.  What do I do?  Ideally, I’d also like to update the h5ad file with these annotations. Is this step even necessary, or do all annotations get saved with other folks.
Once I’m done annotating, how do I share this information back to Scientist 1 and to the other expert annotators? Which action buttons do I push?

Users have 2 options

file: save - local.  This ensures all changes are saved and committed to the user's computer
file:  save - sync.  This saves and synchronises with changes with any made by other editors.  The users's changes are now visible to all other editors who choose to sync their's.
Notes: We think it might be best to make save - sync the default, so that people don't forget to share their edits with others

We also have a Publish option.  This makes a release with a Permanent URL that includes a version stamp.  We would encourage editors to make a release anytime they want others to use the annotated data for analysis.  That way the analysis can be tied to a specific version.  It is essential to note that PUBLIC visibility is controlled at the level of GitHub permissions.  As long as the repo is Private and shared with some agreed set of collaborators, publish - shares only with them.  Publishing to a PURL also allows anyone with the URL + access to use our Python libs to merge the data into an AnnData file and inspect that.
Merging into the linked AnnData file is optional and can be run at any time.  This gives editors that chance to view and analyse the data  + latest annotations in their tool of choice so that they can then make informed decisions about edits to the taxonomy.  We currently have no mechanism for updating a shared AnnData file.  Supporting this would require infrastructure work that is beyond our group's current capacity.

Now I see annotations [from] other folks. How do I know who added each annotation, so I can ask them about it or debate it? More generally, how can we ensure that all of our annotations are stored in AIT99 and that they get properly attributed to the correct person?

https://github.com/brain-bican/taxonomy-development-tools/issues/110

Discussion:

Suggestion: sync always happens with save and on loading.  Opting out of this is harder.
Need Undo

currently only undoes the last operation - worth investigating how much work this would be & then assess priority.

We need a warning through browser if closing a tab without saving.


Change C# language version

Currently the Language version is set to "C# latest major version (default)". I suggest this is changed to "C# latest minor version (latest)". That way we could take advantage of the new features in C# 7.1, 7.2 and later versions.
Do you agree?

Sounds good. Any specific features you're thinking of?

I was thinking of Reference semantics with value types and Non-trailing named arguments.
It would also be nice with the C# 7.0 support for tuples but as I understand it that requires an upgrade to .NET 4.7 or having to include one more dll when distributing SBE which may be not worth it.

Tuples require an external package

It was only changed for Debug builds, not for Release builds.

Let me check to understand the implications in terms of version of the .NET framework and Visual Studio.

@paolosalvatori, I tried different combinations of the C# version setting and the Target framework setting and some combinations do not compile. It looks like the target version of the .NET Framework is solely determined by the Target framework setting (on the Application tab in project settings).

@ErikMogensen which version should I set? :)

Ok I approved the PR, I need @SeanFeldman to approve it as well :)

LangVersion version has no impact on the compiled assembly. It's a syntactic sugar.

Regardless of which -langversion setting you use, you will use the current version of the common language runtime to create your .exe or .dll.

For that reason I'm 👎 to merge that change.

I'll try to convince you.
By setting the C# language to a fixed version you know which features you may use and not use when developing.
If you set it to the latest version the resulting version would be determined by which compiler version you are using which in turn is usually determined by the VS version. This may create problems when a new C# version is released since AppVeyor and people developing for SBE may upgrade at different times. Some may even use a preview of the next C# version. There are indications that C# 8.0 may end up not being backwards compatible so this may be a big issue when it is released.
Better to get a build error that your compiler is unable to handle a C# version than get strange compiler errors.

Not convinced 😉
When C# 8.0 will be out, AppVeyor will have an image. Frankly, it feels
like solving a problem we don't really have.

Closed via https://github.com/paolosalvatori/ServiceBusExplorer/commit/cc13644b64ff677d15c493f81b3e22f25b995718


Resolved failing test in MessageParserTests

Context
A failing test was encountered during review of #745. In conversation with @philium, we ascertained that the failure was introduced via #739.
This PR fixes the failing test.
Testing

Run existing tests (via Cmd+U) against v.next, noting a failure on this line.
Checkout the PR branch, re-run the test, and confirm that it now passes.
Review the code in the revised test, to guard against unintended regressions.

@philium thanks for the valuable input. I opted not to proceed with XCTUnwrap in this case, pushing an additional commit that should address each element of your feedback.
I believe this is ready for another look.


On top message instead of stacked?

Is there a way to alert on top of the previous instead of stacking alerts?  Thanks.

That's not possible with this lib, sorry.


BOSH uses depreciated Postgres calls

Bosh director logs using Postgres will show:
Called from /var/vcap/packages/director/gem_home/ruby/2.4.0/gems/sequel-4.36.0/lib/sequel/database/connecting.rb:98:in `require'
The PGconn, PGresult, and PGError constants are deprecated, and will be
removed as of version 1.0.

You should use PG::Connection, PG::Result, and PG::Error instead, respectively.

@sharms is this off of master? i think someone was workign on fixing up all of these. cc @pivotal-jamil-shamy @dpb587-pivotal

It looks like this is fixed as part of https://github.com/cloudfoundry/bosh/commit/94aef202511d9f351709cefcee80f1110f03443c, and it will probably be released in v266+.

@dpb587-pivotal the commit you linked is changing migrations with timestamps from 2017. Are you sure that's a thing we can do?

Seems like this was fixed in 266+ which was released several months ago. Closing


Video from Stream

Can video from Stream be played in this control? if so, please provide an example

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

ID: 8a2b8fe0-c2ca-635b-0efd-f87fc2d794d3
Version Independent ID: e351a0d8-db14-c01b-7b56-2569dbe1f442
Content: Audio and Video controls: reference - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/controls/control-audio-video.md
Service: powerapps
GitHub Login: @fikaradz
Microsoft Alias: fikaradz

Thanks, @DeanGross, for your feedback. This control doesn't support Microsoft Stream videos as of this writing. Closing issue.
cc: @fikaradz

Note that we are working on Stream support currently, it will be available by summer 2019.


could you please add to support flash

Dear sir,
I have an old website used for teach child, the web site use flash to open,sand no one can update the website .so I can only use old computer with windows 7 to open the website.
Could you please add flash support to the app, that I can use new computer with windows 10 to open the Website.
Ihankyou very much.

My empathies, but no. See https://github.com/nativefier/nativefier/issues/1123#issuecomment-796404738 for context, rationale, and workarounds.


Merge returns duplicate indices

When merging a dask dataframe, the resulting index is duplicated - seems to be because of the number of partitions. See example below:
import pandas as pd
import dask.dataframe as dd

a = dd.from_pandas(pd.DataFrame({'a': [1,2,3,4]}), npartitions=2)
b = pd.DataFrame({'a': [1,2,3,4], 'b': [2,3,4,5]})

a.merge(b, on='a').compute()

Returns

a
b

0
1
2

1
2
3

0
3
4

1
4
5

Environment:

Dask version: 2.27.0
Python version: 3.8.5
Operating System: Mac OS
Install method (conda, pip, source): pip

This is by design. When you join on a column rather than an index the index is reset. Dask doesn't know the sizes of the partitions so there's no way to get a consecutive MultiIndex without computation.
Adding a note in this in the docs at https://docs.dask.org/en/latest/dataframe-joins.html and the docstrings would be welcome, if you're interested in helping.

Hi, I'd like to take this up.
So I've been trying to experiment with join & merge a bit and what I'm seeing is that the behavior described in this issue is only seen in case of merge and not in join.
For reference, say I run the following -
>>> import pandas as pd
>>> import dask.dataframe as dd

>>> a.join(b, rsuffix='r').compute()
   a  ar  b
0  1   1  2
1  2   2  3
2  3   3  4
3  4   4  5

>>> a.join(b, on='a', rsuffix='r').compute()
   a   ar    b
0  1  2.0  3.0
1  2  3.0  4.0
2  3  4.0  5.0
3  4  NaN  NaN

Neither of the last two results result in the behavior described in this issue (indices being reset). Since this is to be described in the documentation of Joins (as mentioned above), I'm a bit confused as to how it fits there. Wouldn't documenting it in Merge be more appropriate - or am I missing something? 😅
Do let me know, thanks.

It's possible that there's different (buggy?) behavior when joining dask dataframes with pandas ones.

Hi, we can use merge here,
import pandas as pd
import dask.dataframe as dd

a = dd.from_pandas(pd.DataFrame({'a': [1,2,3,4]}), npartitions=2)
b = pd.DataFrame({'a': [1,2,3,4], 'b': [2,3,4,5]})

a.merge(b, on='a').compute()

	a	b
0	1	2
1	2	3
0	3	4
1	4	5

# To solving index problem we can use reset_index from Pandas

(a.merge(b, on='a').compute()).reset_index(drop=True)

	a	b
0	1	2
1	2	3
2	3	4
3	4	5

Please let me know if it's useful.

This is by design. When you join on a column rather than an index the index is reset. Dask doesn't know the sizes of the partitions so there's no way to get a consecutive index without computation.
Adding a note in this in the docs at https://docs.dask.org/en/latest/dataframe-joins.html and the docstrings would be welcome, if you're interested in helping.

@TomAugspurger , if possible, could you take a look at the answer in this link https://stackoverflow.com/questions/65832338/process-dask-dataframe-by-chunks-of-rows. Do you think this is something that could be integrated into the code to modify the behaviour of .reset_index() to assign consecutive indices? I'm happy to start a PR, but not sure if this is still a hack (and won't scale) or if it can qualify for a commit.

I won’t be able to take a look anytime soon.
But I would guess that

We probably don’t want to change the default behavior
We consider an option to reset_index that would ensure an ascending index, at the cost of computation of the graph up till that point

Note that there’s some interest / effort around adding partition sizes to the dask dataframe metadata, which would sometimes make this cheap to do (though not in the common case of reading from CSV).
From: Sultan<EMAIL_ADDRESS>Sent: Friday, February 5, 2021 9:31 AM
To<EMAIL_ADDRESS>Cc: Tom<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [dask/dask] Merge returns duplicate indices (#6659)
This is by design. When you join on a column rather than an index the index is reset. Dask doesn't know the sizes of the partitions so there's no way to get a consecutive index without computation.
Adding a note in this in the docs at https://docs.dask.org/en/latest/dataframe-joins.htmlhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.dask.org%2Fen%2Flatest%2Fdataframe-joins.html&data=04|01|taugspurger%40microsoft.com|4d7a3bb2a20a4f9754d008d8c9eb1169|72f988bf86f141af91ab2d7cd011db47|1|0|637481358737176597|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=elDxsw0h39sT0BTvT3MkAd81ynuow7PitFkzCCW73Iw%3D&reserved=0 and the docstrings would be welcome, if you're interested in helping.
@TomAugspurgerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTomAugspurger&data=04|01|taugspurger%40microsoft.com|4d7a3bb2a20a4f9754d008d8c9eb1169|72f988bf86f141af91ab2d7cd011db47|1|0|637481358737176597|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BlezxspU8ycBLE344rIk6nEz2iMFQPWp6irNyiUEwHU%3D&reserved=0 , if possible, could you take a look at the answer in this link https://stackoverflow.com/questions/65832338/process-dask-dataframe-by-chunks-of-rowshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F65832338%2Fprocess-dask-dataframe-by-chunks-of-rows&data=04|01|taugspurger%40microsoft.com|4d7a3bb2a20a4f9754d008d8c9eb1169|72f988bf86f141af91ab2d7cd011db47|1|0|637481358737186552|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=uQ%2FdZo2nI6413ukPQbkFo93Y%2BQD1tklHR1CdxsvnbjY%3D&reserved=0. Do you think this is something that could be integrated into the code to modify the behaviour of .reset_index() to assign consecutive indices? I'm happy to start a PR, but not sure if this is still a hack (and won't scale) or if it can qualify for a commit.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdask%2Fdask%2Fissues%2F6659%23issuecomment-774104262&data=04|01|taugspurger%40microsoft.com|4d7a3bb2a20a4f9754d008d8c9eb1169|72f988bf86f141af91ab2d7cd011db47|1|0|637481358737186552|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=lGzFedpu5quoZNcOTeEgi8Cd4FJWw1T5tXfOgJtkj6o%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKAOIS4ATS5QICDPCXR3VLS5QFLXANCNFSM4RVRTN2A&data=04|01|taugspurger%40microsoft.com|4d7a3bb2a20a4f9754d008d8c9eb1169|72f988bf86f141af91ab2d7cd011db47|1|0|637481358737196510|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=srfy1HaycH6Vy7j58ugSr8EstavwC3uxP0a963lbjhY%3D&reserved=0.


Embedding the changelog the packages into the website.

Describe the feature in detail (code, mocks, or screenshots encouraged)
All github content is fetchable, see: https://github.com/orgs/community/discussions/44370 on how to do that.
This means the docs can fetch the generated CHANGELOG.md and render it out on a page.
This has the benefit of users being able to stay on the docs site when wanting to view changes without needing to go 5 layers of files deep on github.
What type of pull request would this be?
Docs
Provide relevant links or additional information.
No response

Note: This may replace the current Blog section.

Folded into:
https://github.com/skeletonlabs/skeleton/issues/2353


Function pair to decode GML struct definitions from a string

Top-level is is a struct if variable definitions are used.
//Variables are root-level member variables for the outputed struct
a = 1;
b = true //No semicolon
c = "string"; d = undefined; //Definitions on the same line
e = variable; //Throw exception for non-keyword non-delimited strings

//Arrays supported
rootArray = [
    42, //Spread across multiple lines
    3.14
];

//Structs supported
name = {
    member0 : 1,
    member1 : true,
    member2 : "string", member3: undefined,
    memberArray: [0, "a", false],
    memberStruct: {
        nested1 : .4, //Leading decimal w/o zero
        nested2 : [1, 2, 3, -4, -5.0, -5.6, 0.66666666666666] //Array literals on single lines
     },
    illegal : function() {}, //Throw exception on functions
    test : "done!", //Hanging comma
}

/*Block comments too!*/

Maybe this should support colour constants as well?

Implement for v3.5.1


Multiple accordions with different data-parent collapse each other

In bootstrap 4 alpha 4, wIth two different accordions on one page having different data-parent's, I would expect them to collapse indepdent of each other. However, the first accordion collapse panels in the second and visa versa.
See demo at http://codepen.io/anon/pen/JRaZyd
This example is based on the original documention at http://v4-alpha.getbootstrap.com/components/collapse/#accordion-example

Hi @martijn-basesoft!
You appear to have posted a live example (http://codepen.io/anon/pen/JRaZyd.html), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 62, column 5 thru column 58: Duplicate ID headingOne.
line 75, column 5 thru column 58: Duplicate ID headingTwo.
line 88, column 5 thru column 60: Duplicate ID headingThree.
line 69, column 5 thru column 108: The aria-labelledby attribute must point to an element in the same document.
line 82, column 5 thru column 105: The aria-labelledby attribute must point to an element in the same document.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Updated demo: http://codepen.io/anon/pen/JRaZyd

Can you try with the latest from v4-dev? We merged some changes recently to the collapse plugin.

Duplicate : https://github.com/twbs/bootstrap/issues/18824

Closing as duplicate then! Thanks @Johann-S.


Prevent iOS crash in private browsing mode

Prevent certain iOS Safari versions from crashing
in private browsing mode http://stackoverflow.com/a/14555361/483616

I don't think this is a great solution as it simply swallows all errors and makes it really hard to debut why there's no session persistence when using local storage in iOS Safari in private browsing mode.
A better solution would probably to add sth. to the documentation that shows how to configure the store dynamically depending on what the browser offers or that shows how to extend the store to customize it and e.g. add error handling.

A better solution would probably to add sth. to the documentation

What are you trying to say here?
I could add a warning, if it was caught, that would be a better solution, since it wouldn't require the user to have to overwrite, or even waste hours trying to debug the issue (how long it took us).

I'm saying suppressing the error isn't a real solution to the problem as it just silently disables session persistence without anybody having a clue why it's not working - I guess that would be as hard to debug as the original problem in Safari you're solving with that.

The issue is that the session wouldn't persist anyway, since the error happens when browsing in "private mode" (incognito), so the persistence is disabled.
This prevents your whole app from breaking on those devices. I can add a console log, so that it would be obvious what happened, and why. Would you merge that?

I think the best solution is to specifically handle quota exceeded errors which has to be done anyway. Not sure how these should be handled though and whether it's even possible to reliably identify them cross browser.
Thanks for the effort but I really think this needs more work and thought.

I agree, but why not have an interim solution, is a broken app really something we don't want to prevent for users?
Docs would be good as well.

I think the point is just that you cannot always use the local storage adapter but maybe have to fall back to the cookie adapter. I think the first thing to do would be to make that clear in the docs so people are aware of the limitations.
It might also be an option to use sth. like http://www.jstorage.info (while I was against that initially it might actually make sense).

https://github.com/Wisembly/basil.js might be an alternative as well.

We recently had exactly the same problem with iOS 8 safari in private mode. It was pretty hard to find that the problem was in the local storage. Our app in the private mode looked as usual but its components didn't  react on gestures. Remote debugging didn't show any errors. Accidentally we found that if we change ESA session-store to ephemeral everything works even in private mode. I think @knownasilya looks better than nothing. It could save us a lot of time.

@ivanvotti for my project I created a local store, and just copied everything over with my change.

I think the best way to fix this is to add a new store that uses sth. like https://github.com/Wisembly/basil.js which would wrap the functionality of deciding which store mechanism to use. This would be post 1.0 though as I don't want to postpone the 1.0 any longer if not necessary.

@marcoow Looking into how to dynamically over to usings cookies based on this try catch block. Any insight as to how to this would be done?

@david-duncan: you register an initializer that runs before the 'simple-auth' initializer and change the config if necessary.

@marcoow that worked swimmingly. Do you want me to contribute any documentation for this?

I'll add docs for that for the 1.0 release. Adding a store that uses cookies as a fallback when localStorage isn't available is sth. for 1.1. then.

ESA will have an "adaptive" store that uses the localStorage store internally when localStorage is available and the cookie store if it is not: 443027bc0e553c720eb70dae3af7dd1aa73e8ad4

Good to hear.

Awesome. Thank you.


Add ability to filter orders by primary market

Codecov Report

Merging #395 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #395      +/-   ##
===========================================
+ Coverage    95.92%   95.93%   +<.01%
===========================================
  Files           77       77
  Lines         2747     2752       +5
  Branches       236      237       +1
===========================================
+ Hits          2635     2640       +5
  Misses          80       80
  Partials        32       32

Impacted Files
Coverage Δ

datahub/search/omis/views.py
97.67% <100%> (+0.3%)
:arrow_up:

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 f57e03e...347ece3. Read the comment docs.


Problem with determining special characters width

I've got a problem with some special characters, e.g. ™ or even ". The Type 1 font Widths array doesn't have a value for them. Their width is considered to be 0 in Scanner's didScanCharacter. As a result the text matrix is not properly transformed and selections found in the line after the character have wrong transformation and are not properly highlighted.
I noticed that the characters are not properly processed by CGPDFStringCopyTextString and CGPDFStringGetBytePtr either.
I tried to read font program stored in the font description under FontFile3 but i don't know how to process the stream.
Do you have an idea where in the pdf can i retrieve the information about corresponding glyphs?
I'd really appreciate any help!

Personally I won't touch the font program, and I don't believe (not sure) it contains any metrics either, it should just draw the glyph.
On 2 dec 2011, at 09:54, slava<EMAIL_ADDRESS>wrote:

I've got a problem with some special characters, e.g. ™ or even ". The Type 1 font Widths array doesn't have a value for them. Their width is considered to be 0 in Scanner's didScanCharacter. As a result the text matrix is not properly transformed and selections found in the line after the character have wrong transformation and are not properly highlighted.
I noticed that the characters are not properly processed by CGPDFStringCopyTextString and CGPDFStringGetBytePtr either.
I tried to read font program stored in the font description under FontFile3 but i don't know how to process the stream.
Do you have an idea where in the pdf can i retrieve the information about corresponding glyphs?
I'd really appreciate any help!

Reply to this email directly or view it on GitHub:
https://github.com/KurtCode/PDFKitten/issues/13


Initial version of orb

Provides option to wait for results after running test suite, or to fire-and-forget
Caller can pass in overrides and variables
Reflect API key must be set as an environment variable on either the project level or organization level.

Testing:

Verified that test suite can be run in both fire-and-forget and blocking mode
Verified that overrides can be passed in
Verified that custom variables can be passed in
Verified that running with an invalid API key returns a sensible error message

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/reflect/reflect-circleci-orb?version=dev:a3a5b3f0cf28ee458f1330b2e5227347075fc0ad

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/reflect/reflect-circleci-orb?version=dev:df6c0809e6d94780a47283437b038ff9b843c58f


Maven Indexing Optimizations

A set of optimizations which improve performance and reduce memory consumption of local maven indexing.
Comparing performance before and after results in the following numbers, indexing my local Maven repository (~2700 JAR files) with a warm disk cache (2018 MacBook Pro, 16Gb, SSD):
Unoptimized:  48.489 seconds
Optimized:    35.559 seconds

resulting in a 26% improvement in indexing time.
The more important difference is likely to be in memory consumption and its effect on the rest of the NetBeans environment, since this is background activity, but is well known to interfere with IDE responsiveness.  With the old and new code patched to frequently record Math.min(Runtime.getRuntime().getFreeMemory(), previousValue), and identical starting conditions of available memory of 245844424:
Optimized - minimum free memory during local repository indexing   52679616
Unoptimized - minimum free memory during local repository indexing  5351880

That's a 10x reduction in the memory required for indexing, and GC thrashing is likely a significant part of indexing overhead.
Specific Optimizations

Process class files incrementally as the JAR file is read, instead of caching each class file as a separate byte array and processing them later (the old code required 2-3x the uncompressed bytes of every class file in a JAR to be on the heap simultaneously)
Optimized directory scanning which only picks up files that are useful to index
Replaced several (unnecessary? tests pass without them) uses of TreeSet with HashSet
Reuse byte arrays for class data, rather than allocating and garbage collecting repeatedly
A few other minor optimizations
Eliminate the code that attempted to load (!!!) every class encountered into the live JVM to determine if it might be a JDK class (uses a simple package name test instead)

Fixed.

Any objections to merging? Will merge in 24 hours unless there are objections.

What are the consequences of this patch? With a quick look I saw, that "being part of JDK" is determined by checking the path/package. JNA for example uses the package name "com.sun.jna", its classes are not part of the JDK. I understand, that trying to load all classes via the SystemClassloader to check if they are part of the JDK is stupid, but I think an alternative is needed. Could Classloader#getResource be an alternative?
I think this should be answered before merging.

Just refine the package list - e.g look for java/x instead of java/.
Anything that touches class loaders is likely to be orders of magnitude
slower for code that is called for every class in every jar. It's really in
the critical path.
-Tim
On Tue, May 8, 2018 at 12:16 PM Matthias Bläsing<EMAIL_ADDRESS>wrote:

What are the consequences of this patch? With a quick look I saw, that
"being part of JDK" is determined by checking the path/package. JNA for
example uses the package name "com.sun.jna", its classes are not part of
the JDK. I understand, that trying to load all classes via the
SystemClassloader to check if they are part of the JDK is stupid, but I
think an alternative is needed. Could Classloader#getResource be an
alternative?
I think this should be answered before merging.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-netbeans/pull/537#issuecomment-387458201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0Cd6NkOsmJmZHWv7fzlUqCuA-GtXSPks5twcTggaJpZM4Tz_QC
.

--
http://timboudreau.com

FYI, I've updated the patch to use 2-3 path elements to determine JDK
membership.  More than that would not be a smart compromise on performance,
especially considering that JDK-namespaced packages downloaded via Maven is
a vanishingly small corner-case.
https://github.com/timboudreau/incubator-netbeans/commit/dc7b9753640298fb34f9fc67f86128e01b3c0868
-Tim
On Wed, May 9, 2018 at 12:58 AM, Tim Boudreau<EMAIL_ADDRESS>wrote:

Just refine the package list - e.g look for java/x instead of java/.
Anything that touches class loaders is likely to be orders of magnitude
slower for code that is called for every class in every jar. It's really in
the critical path.
-Tim
On Tue, May 8, 2018 at 12:16 PM Matthias Bläsing<EMAIL_ADDRESS>wrote:

What are the consequences of this patch? With a quick look I saw, that
"being part of JDK" is determined by checking the path/package. JNA for
example uses the package name "com.sun.jna", its classes are not part of
the JDK. I understand, that trying to load all classes via the
SystemClassloader to check if they are part of the JDK is stupid, but I
think an alternative is needed. Could Classloader#getResource be an
alternative?
I think this should be answered before merging.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-netbeans/pull/537#issuecomment-387458201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0Cd6NkOsmJmZHWv7fzlUqCuA-GtXSPks5twcTggaJpZM4Tz_QC
.

--
http://timboudreau.com

--
http://timboudreau.com

I didn't review the patch, just noticed it is references on the mailing list.
@geertjanw, isn't 24 hours kinda short?

It really isn't that exciting a patch. The resulting code does the same
things, just much more efficiently.
-Tim
On Wed, May 9, 2018 at 6:00 PM Emilian Bold<EMAIL_ADDRESS>wrote:

I didn't review the patch, just noticed it is references on the mailing
list.
@geertjanw https://github.com/geertjanw, isn't 24 hours kinda short?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-netbeans/pull/537#issuecomment-387888672,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0CdyM2QXPJPH9sayHDNEBPY4jf_Jrsks5tw2bqgaJpZM4Tz_QC
.

--
http://timboudreau.com

With the updates this works for me. Tims argument is sound and the patch measurably improves the situation. If noone raises objections till sunday evening, I'll give it another look then and merge it.
As a glimpse into the future, for JDK 11 we will already need to reduce the filtered classes, as for xml binding and webservice classes were removed from JDK.

Sounds great and please do merge at the point stipulated, i.e., till sunday evening, @matthiasblaesing. Thanks @timboudreau!

@timboudreau - I'm not yet merging. The MatchWords needs to be adjusted. I read it so, that the class should do prefix matches, this fails - under this assumption I added a unittest and change to MatchWords.java.
For the FastScanner - it would be good to describe why this replacement for the DefaultScanner from maven-indexer is better and what are the consequences.
The Warning-Suppressor in ClassDependencyIndexCreator (line 318) can be removed, as the loop that required it, was modified and is not empty anymore.
diff.patch.zip

Thank you Tim - I went through the additional changes, ran the unittests, ran the test, that indexes my local repository and did sample queries and did a manual test. I'll squash this and merge.


Replace package node-sha1 with sha1 to fix #19 issue with sha1 hash of buffers

The package node-sha1 has an issue with generating sha1 hashes of Node.js Buffer objects properly. This was fixed in a similar package that I believe was forked from the other abandoned package that could be dropped in without other changes here: https://github.com/pvorb/node-sha1/pull/3
Tests run and I tested in my project which had this issue and can now upload a file that was previously being denied due to bad Sha1 Hash header.

Has been published to npm at v1.0.2


add instagram, pinterest, and google+

In the banner of the cover page, link to social media accounts
Add instagram, pinterest, and google plus
In config.toml:

[params]
  instagramName = "foobar"
  pinterestName = "foobar"
  googlePlusName = "foobar"

Each page's social share button also adds Pinterest
Optionally (but recommended) can set media in front matter of markdown file

pinterestMedia = "images/foobar.png"

Supersedes #30 - now closed


cmake: enable cross compilation

When cross-compiling cmake, for example with
nix build .#pkgsCross.mipsel-linux-gnu.cmake, the configure script will invoke the build platform cmake to build the host platform cmake. Usually, stdenv will automatically pass variables such as -DCMAKE_SYSTEM_PROCESSOR to cmake (https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix#L416), but since here cmake is invoked 'indirectly' we have to pass these parameters to the configure script ourselves.
It appears this was (surprisingly) not necessary on versions through 3.26.4, but the update to 3.27.7 exposed that these flags were missing, causing link failures.
Fixes #284734
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Why the failure?

Why the failure?

I couldn't quite figure out what the problem was (and whether it was related to the cmake change at all) from the logs TBH... but let's convert this to draft until we've been able to resolve the problems you mentioned seeing in #284734

FWIW nix-build --arg pkgs 'import ./. {}' ./lib/tests/release.nix executes successfully for me locally (not merged with staging)

@ofborg build pkgsStatic.cmake

Indeed:
> CMake Error: Unknown argument --disable-shared

I also see this error on nixos-unstable, though, so this seems separate.

Rebase

@ofborg build pkgsStatic.cmake

@GrahamcOfBorg eval

@GrahamcOfBorg eval

ofborg failure is apparently when building nix?
t5601-clone.sh ..................................... ok
[914/4278] Building CXX object lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/LoadStoreOpt.cpp.o
ran test tests/gc-concurrent.sh... [PASS]
error: builder for '/nix/store/ya7zn183wvyblvx4j0h9ddhl7r9byi8r-nix-2.3.17.drv' failed with exit code 2;
       last 10 log lines:
       > ran test tests/gc.sh... [PASS]
       > ran test tests/signing.sh... [PASS]
       > ran test tests/binary-cache.sh... [PASS]
       > ran test tests/user-envs.sh... [PASS]
       > ran test tests/remote-store.sh... [PASS]
       > ran test tests/lang.sh... [PASS]
       > ran test tests/fixed.sh... [PASS]
       > ran test tests/gc-auto.sh... [PASS]
       > ran test tests/timeout.sh... [PASS]
       > ran test tests/gc-concurrent.sh... [PASS]
       For full logs, run 'nix log /nix/store/ya7zn183wvyblvx4j0h9ddhl7r9byi8r-nix-2.3.17.drv'.

(rebased, now CI is OK)

nix build .#pkgsCross.mipsel-linux-gnu.cmake built for me.

nix build .#pkgsCross.aarch64-multiplatform.cmake also  builds.


Added etag handling

Replaces #1217

This just keeps the changes small. The codestyle is pretty ugly in Werkzeug ATM and i will do a separate change to reindent it somewhat.

@mitsuhiko Thanks for the interest around this pull-request.

@riv2q thanks for contributing this.


Require the moneyphp/money package

Let's start with the basics and let's require the actual money package.

Thanks


chore: setup travis test and build

fixed also errors related to build on travis
minimal node version 16.13 for development

 OpenApiClient: setup travis testing and building


Update netty-tcnative-classes to 2.0.68.Final

About this PR
📦 Updates io.netty:netty-tcnative-classes from 2.0.61.Final to 2.0.68.Final
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty", artifactId = "netty-tcnative-classes" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.netty", artifactId = "netty-tcnative-classes" }
}]

labels: library-update, commit-count:1

Superseded by #324.


Would you please add the instructions how to build each of the parts

... using the local clone of your code?
It seems that your README documents how to build each part from scratch. This is of course exactly as it should be - I am just lazy and would like to run it as soon as possible.

Closed without a comment - now re-reading it, I am not sure that it deserves a comment. My original text is a reference to RedwoodJS tutorial intermission chapter which provides the way to continue the tutorial starting from the application state after the first four chapters


Make combined feed quicker to reach

Currently in order to reach the combined feed, it takes two taps: the menu button in the bottom nav bar, and then the "Combined feed" option in the middle of the menu.
We've heard from a couple of users (chat thread) that the combined feed is the most important view for them on mobile, and it'd be good to make it quicker to get to.
For example it could appear as one of the options in the bottom navigation bar on the home page. OTOH one tricky thing there would be that we currently don't show the bottom nav bar on message lists (rationale here and in the message from Vlad just below that); so we'd have the oddity of tapping a bottom nav bar button give you a page where the bottom nav bar is gone, or else we'd show a bottom nav bar there after all despite the reasons we currently don't do that.
This issue thread is here to help us track user feedback for future design conversations. This is not an issue that's ready for someone to pick up and work on.

Another user saying that "Combined feed" is the most important view for them:
https://chat.zulip.org/#narrow/channel/48-mobile/topic/Flutter.20app/near/2008115

Keeping the bottom bar of buttons but not the top makes usage very clunky in my organisations: The most important views to me are, in the following order: Combined feed, Channels, (Profile), Inbox, DMs, Search, Starred messages, Mentions. So losing the top bar and only having Inbox, Channels, DMs, and Menu makes navigation very cumbersome.

Related:

#517

Another user saying "Combined feed" is important to them, in a beta-feedback email to support@:

The other issue is that the "combined feed" button is now hidden in a menu. I use it more often than the # and people button.


Clean up DG, diagrams and command classes

Codecov Report

Merging #91 (045862a) into master (07c3d8e) will increase coverage by 0.05%.
The diff coverage is 94.11%.

@@             Coverage Diff              @@
##             master      #91      +/-   ##
============================================
+ Coverage     69.52%   69.58%   +0.05%
- Complexity      495      496       +1
============================================
  Files            87       87
  Lines          1575     1578       +3
  Branches        192      192
============================================
+ Hits           1095     1098       +3
  Misses          403      403
  Partials         77       77

Impacted Files
Coverage Δ

src/main/java/seedu/modulink/model/Model.java
100.00% <ø> (ø)

...a/seedu/modulink/logic/commands/CreateCommand.java
85.71% <83.33%> (ø)

...a/seedu/modulink/logic/commands/AddModCommand.java
79.31% <100.00%> (ø)

...eedu/modulink/logic/commands/RemoveModCommand.java
74.19% <100.00%> (ø)

...c/main/java/seedu/modulink/model/ModelManager.java
98.33% <100.00%> (+0.08%)
:arrow_up:

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 07c3d8e...045862a. Read the comment docs.


How to get tailwind working across modules within a NX workspace?

I'm trying to get tailwind working for my ux library module as well, but so far only components of the actual application are processed.
At first I was relying on "createGlobPatternsForDependencies", but this always returns an empty array for whatever reason.
So I also tried to reference the library module directly, but this also won't work.
This is my tailwind.config.js
const {createGlobPatternsForDependencies} = require('@nrwl/react/tailwind');
const {join} = require('path')
module.exports = {
  content: [
    join(__dirname, 'src/**/*!(*.stories|*.spec).{ts,tsx,html,js,jsx,ts,tsx,vue}'),

    // returns empty array
    ...createGlobPatternsForDependencies(__dirname),

    // direct reference has no effect either
    `./libs/general/base/src/molecules/*.{vue,js}`,

    `components/**/*.{vue,js}`,
    `layouts/**/*.vue`,
    `pages/**/*.vue`,
    `composables/**/*.{js,ts}`,
    `plugins/**/*.{js,ts}`,
    `App.{js,ts,vue}`,
    `app.{js,ts,vue}`
  ],

What am I missing to get it working for the library module as well?

I'm facing this issue with a Vue plugin. For what it's worth, I had this same problem when installing tailwind manually too, so I don't think it's specific to this module.
I was able to get it to work by adding the path to my tailwindcss.config.ts file's content attribute:
`content: [
    './node_modules/MODULE_NAME/**/*.vue'
 ],

This is inefficient and inelegant, however, so I hope a better way is possible.


Revert "Remove numba monkey patch that was pushed upstream."

This reverts commit da1db14220cf5817ca589f94f924aa65a9fa43a2 that removed the monkey patch to numba's mk_alloc function. Without the patch there are failures in the dpjit parfor pipeline with Numba 0.59.
Reverting till we have a better root cause analysis.

It was some problem with my local env and the PR is not required.


[Python][CI] Python minimal examples fail due to dataset not being present

Describe the bug, including details regarding any error messages, version, and platform.
Since https://github.com/apache/arrow/pull/43740 was merge the minimal python jobs have started failing:

example-python-minimal-build-fedora-conda
example-python-minimal-build-ubuntu-venv

This is due to dataset not being present but parametrize using it on python/pyarrow/tests/test_dataset.py::test_dataset_partitioning_format  the error is:
 _ ERROR collecting miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/pyarrow/tests/test_dataset.py _
miniconda-for-arrow/envs/pyarrow-3.10/lib/python3.10/site-packages/pyarrow/tests/test_dataset.py:740: in <module>
    (ds.HivePartitioning, (r"foo=A/bar=ant%20bee", ""), ("", "")),
E   AttributeError: 'NoneType' object has no attribute 'HivePartitioning'

Component(s)
Continuous Integration, Python

Issue resolved by pull request 44370
https://github.com/apache/arrow/pull/44370


How to add a onClickListener?

Hi @Diolor
Thanks for this wonderful library. Awesome!
In my application I can swipe left, and right and I would like to add a listener to click in the card and call some action.
Is this possible?

Hm, I'm implementing SwipeFlingAdapterView.OnItemClickListener, but it never seems to get called


PDF Export PNG is low quality, pixelated

How do I export with high PNG quality for PDF?

Depends on the PNG I guess.


Feature Request: No ingest functionality to put multiple records of a data frame in feature group.

In new SDK there is no ingest method to import a whole dataframe in a go creating difficulties in importing multiple records simultaneously.
Previous SDK had below code to inject a dataframe:
customers_feature_group.ingest(data_frame=customer_data, max_workers=3, wait=True)
sagemaker_core does not have this method/functionality. Without this, it will be difficult to import all records in feature store.
Old sagemaker SDK document containing ingest method.
If this functionality is not present in new SDK then how to mitigate this?

Same.


Fixing pooling performance

List.RemoveAt(0) has the worst remove performance from a list since it removes back to front (see MS documentation). Utilizing a queue instead for performance and clarity. Also there is no need to keep track of the messages that are in use, they will return when they return.
List.RemoveAt documentation note:

This method is an O(n) operation, where n is (Count - index)

I see that changes were also made in the csproj files, should they be a part of this PR?

@mcguinnessdr hmm, looks like Unity upgraded the .csproj to the same unity version randomly. Thought I would commit them since there weren't any other unity specific changes other than those. I can give it another check though

I see that changes were also made in the csproj files, should they be a part of this PR?

@mcguinnessdr hmm, looks like Unity upgraded the .csproj to the same unity version randomly. Thought I would commit them since there weren't any other unity specific changes other than those. I can give it another check though

As long as they're not going to cause problems opening in a different version of Unity it should be fine.


allow choosing SSD/HDD for ZDB nodes addons in chatflow + rest API

Verifying this

Verified
Branch
development
Commit
18f3c421b1e6d297060483663e16884d7d0c6257


Allow editing previous messages

I found it useful when I want to correct the assistant without waiting for his long response. Would you like to merge it into your repository? If so, I will add tests and make the editor configurable.

Sorry, I don't understand the purpose of this functionality?

You can force the machine to think the way you like.
If the machine offered a some plan, and you want to have a minnor change in the plan. Instead of asking the change, you can shortcut and change the original offering. I found it to be useful, but I am not a heavy user.


feat: add sparkfun-promini-v5

Following this pr I found there is no support for this in the cargo templating.
I have tried adding it here, but I am not totally sure its done correctly.
(closes #24)

Sorry about those!
@Rahix Let me know if that did it.

Nothing to be sorry about, code review cycles are a normal part of any open-source contribution ;)
Just for the future - you could have tested this yourself by running
cargo generate --git https://github.com/emilbonnek/avr-hal-template -b patch-1 --name sparkfun-promini-v5-test
cd sparkfun-promini-v5-test/
cargo build

Nothing to be sorry about, code review cycles are a normal part of any open-source contribution ;)

Oh yeah, I know. I meant the spelling mistakes. I was on the phone when writing and I could have put in a little more effort so you wouldn't have to check these.

Looks good to me, at least I can compile the example program now.

👍Yay. Cheers! and thanks for making this project.


Replace get_response_statements method with filtering

Storage adapters have a get_response_statements method that returns all statements that are in response to another statement. A much more elegant solution would be to have the filter method be versatile enough to return this same information.

@gunthercox Master,
filter state that Returns a list of objects from the database. and
get_response_statements  Return only statements that are in response to another statement.
Question is What are different filters are we going support?

@vkosuri, some of the other filtering options will likely just be join operations on related fields. The setup will likely end up being similar to the way Django does their filtering for querysets.


Cleanup CSS!!!!

[ ] Things that are one-off variables used once should not be variables in css
[ ] Make more separate css files for specific things to keep them clean and readable
[ ] Make sure variable or styler names don’t repeat, so keep them unique
[ ] Clean up the variables that are super convoluted or derived from each other. e.g. mobile variables shouldn’t be OG variable times 3 or whatever

[ ] Most of main-website-styles.css should be broken up into the actual functions that reference those variables unless multiple different css files rely on the styles. Try to keep css contained to its own file without branching out to multiple different css files when not neccesary


docs: add hurb to readme

Summary of Changes
Add Hurb as a user of Amundsen
Documentation
Changed the README.md
CheckList
Make sure you have checked all steps below to ensure a timely review.

[X] PR title addresses the issue accurately and concisely, including a title prefix.
[X] PR includes a summary of changes.
[X] My commits follow the guidelines from "How to write a good git commit message"

thanks @bruno-nirello !


feat(#105): enable excluding resources from scaling

This PR will close #105

Okay, so apparently every test involving misc-depl-* fails


Create cross platform ENV variables for test, dev, and prod

Karma does not support Chunks or the ExtractTextPlugin. We need to distinguish between three different builds to ensure A. Karma runs, B. We're not loading minified code in dev, C. We're not running linters in our Prod build

Must use https://www.npmjs.com/package/cross-env

https://github.com/benweiser/Webpack-Starter-Pack/commit/efadf11d469d526e722a40f59eccfc72ff7d4b4f


Harvesting

Add the ability to right-click harvest crop blocks, Simular to older versions of Minecraft.

This should be converted to a buff and support a range with a new sickle tool. Higher level sickle tools should harvest and replant up to a 5x5 grid!

Converted to buff-harvesting

This is now completed ready for 1.3


Versions v1.14.0 logger Fatal got removed

This is a breaking change it was not mentioned anywhere
https://github.com/gofr-dev/gofr/pull/839/files#diff-e92617e89e725475cdab2f53b02884b745512675e04db93dc2a732adb6b25f6b

@surajit-zs - this was removed in #801, and somehow missed while reviewing.
Fixing this now.. will make a patch release.

My bad, I was not expecting it to be called outside the framework.
My bad, terrible mistake.

Some explanation about the context
https://github.com/gofr-dev/gofr/pull/801#discussion_r1675745779


Is the code going to be opensourced ?

Hi Pradeep,
I read your paper here(http://web.cs.ucla.edu/~dogga/publications/2106.14347.pdf ) and wanted to test out a usecase in our company I work for improving auto RCA. Is the code being opensourced to build on top of or its not going to be?

Hi @sangmeshcp, Thanks for your interest! Yes the code will be open-sourced. The log featurization code has been uploaded for specific tools used in experiments. I am a bit busy but the model code and other data will be uploaded as well.


[full-ci] Bump web to v5.6.0

Description
Web changelogs feel a bit inconsistent, this release mostly contains a hotfix after the v5.5.0 earlier today

needs a rebase


Feature/cuda - PR for inspection and review only - DO NOT MERGE

My progress so far:

All host-side code enabled.
A couple of device-side tests - need a lot more
All examples compile, build, and run successfully (well, whatever successfully means; I used ctest on the examples folder).
Quite a bit of trouble with the host-side code tests: 30% are failing for unclear reasons. Please have a look at this issue page.

@robhz786 : Changes following this review - in commit 20e00483afd1d61d1a1becffa999b0120f8f1eca .
But what I really need your opinion on are the test failures.


Difficult to install on windows: Needs wheels.

I'd love to use silk but it's next to impossible to install it on windows. Wheels is the new standard for python packages (it replaces eggs) and would help with windows installation.

@kingllama Thanks for the suggestion. I didn't know Window's installations were troublesome.

I have updated several packages to use wheel so I hope I can make the change.

@avelis https://github.com/django-silk/silk/pull/168 this should fix the issues

@kingllama Release 1.0.0 was released with a published wheel. I hope this helps alleviate your windows installation woes.


TB-3827 Add example app

What 🕵 🔍

Replace the example app with a newer version that better demonstrates the capabilities of CardView.

How to test 🥼 🔬

Open the app

References 📝 🔗

JIRA

Codecov Report

Merging #9 (346dcb7) into main (1665c64) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   93.59%   93.59%
=======================================
  Files           6        6
  Lines         281      281
=======================================
  Hits          263      263
  Misses         18       18

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 1665c64...346dcb7. Read the comment docs.


Add ':cbor' hint for CBOR Diagnostic Notation (EDN)

I often find myself sending CBOR (a format for standardized data interchange with embedded devices; binary, using a superset of JSON's data model) through defmt. CBOR comes with a human-readable format (that is a superset of JSON's serialization), which is designed with human usability and not embedded devices in mind. The diagnostic notation is exactly capable of round-tripping binary data to a human readable form and back to binary.
Currently, the best way to send CBOR over defmt is in {=[u8]:02x}, so that output such as a1, 04, 41, 2b can be copy-pasted into the right side of https://cbor.me/, so that after pressing the right-to-left green button, it shows what that means: {4: h'2B'}. Deriving Format on parsed items is an alternative, but it has severe downsides of decreasing severity:

it does not work on parsing failures (eg. when there are mandatory-to-understand fields in the data item that the parsing struct does not have),

more reasons

it discards data that the parsing struct ignores (eg. because it is optional-to-understand fields in the data),
it is verbose on the wire (what is a single compact 4-byte string in the example becomes several short string references interspersed with chunks of data from the compact full CBOR item)
deriving Format shows the structure of the parsed item, and manually implementing it to look like CBOR EDN again is manual work (and moreover, there may be situations in which one would want to see the struct's view rather than the original data view)

This PR proposes a new hint, :cbor, to defmt. If the same data [a1, 04, 41, 2b] is passed into {=[u8]:cbor}, the output is then {4: h'2B'} on display right away, which a developer can make better use of.
Note that this is not trying to hard-code an exception to the design choice that we don't take types that then need host knowledge of the type: This is not a concrete type, but a format of data serialization. It can be used with serialized data from a large set of CBOR serializing crates, and a large set of protocols and their implementations in types, using a single mechanism.
Example code
trace!("Evaluating peer's credenital {=[u8]:cbor}", id_cred_x.as_full_value());

Output:
TRACE Evaluating peer's credenital {4: h'2b'}
[...]
TRACE Evaluating peer's credenital {14: {2: "me", 8: {1: {1: 2, 2: h'2b', -1: 1, -2: h'c0112830c95d49eaa15138c1160d29f45eb2bebeb0f544c326b05cd58e43fc82', -3: h'30'}}}}

PR status
This is a working draft, but a bit minimal in that

the error handling could be prettier and better thought-through
I haven't even checked yet whether there are tests for all this or how they should be run
the handling of empty CBOR sequences could be done better than just showing nothing
so far this only works with {=[u8]:cbor} and not with {:cbor} -- maybe that's OK, maybe I'd just need to find the right spot in the code to put the code in (which will then need refactoring into a dedicated function)

I still ask for review now already because while I've seen some slight positive reaction on the Rust Embedded channel, I don't want to sink too much time in here if the project does not want to go this way at all.

Seeing CI items fail one by one:

Changelog entry is something I'll obviously just fix.
Should DisplayHint be #[non_exhaustive]? Having that closed seems to me like it would severely impede defmt's ability to evolve compatibly.
The cbor-edn crate has a relatively new MSRV (just b/c the crate is not old). There is an older crate available for the same purpose (cbor-diag) but it is a bit verbose in places where it would not need to be. As the author of cbor-edn, if it's just the MSRV that's causing trouble, I'm sure I can arrange things on the cbor-edn side.


"This repository is over its data quota. Purchase more data packs to restore access."

This repository is over its data quota. Purchase more data packs to restore access.
I get this error when I try to clone the repository.
Using the option "Download zip", the zip file does not include all the files that are in the repository.
Thanks in advance.

Sorry, we'll need to purchase a data pack. Should have it done imminently. I'll write here again once the purchase is done.

Data pack purchased, should be all set

Thank you very much!


Outline doesn't disappear on deselect...

Hi, thanks for a great library!
I migrated from an earlier version of Three.js (90 to 110) and the latest postprocessing and now a weird bug has appeared:

I have a mesh in the scene, when I select it, it gets correctly outlined.
If I select another mesh it correctly removes the outline from the first and puts it on the second mesh.
But if I deselect everything by clicking outside the mesh, the outline doesn't disappear, and actually remains as a ghost outline even if I move the camera therefore causing the frame to render.
I am calling _scope.outlineEffect.selection.set(objects); from an onclick event listener where objects  is an array of the selected meshes, and this had been working perfectly before.

There are no errors in the console, and I tried everything to no avail. What am I doing wrong here?

function start(assets) {

	// Effects
	_scope.outlineEffect = new POSTPROCESSING.OutlineEffect(_scope.main, _scope.camera, {
		blendFunction: POSTPROCESSING.BlendFunction.ALPHA,
		edgeStrength: 10,
		visibleEdgeColor: 'yellow',
		hiddenEdgeColor: 'yellow',
		height: 960,
		blur: false
	});

	// Passes
	const renderPass = new POSTPROCESSING.RenderPass(_scope.main, _scope.camera);
	_scope._composer.addPass(renderPass);

	const outlinePass = new POSTPROCESSING.EffectPass(_scope.camera, _scope.outlineEffect);
	outlinePass.renderToScreen = true;
	_scope._composer.addPass(outlinePass);

}

Thanks for any ideas!

Hi,
There seems to be a problem with how you select and deselect objects. Please provide all code that interacts with _scope.outlineEffect.selection.

I migrated from an earlier version of Three.js (90 to 110) and the latest postprocessing

Are you sure that you're using<EMAIL_ADDRESS>Using a CDN with versions such as @latest might still give you an outdated version in some cache-related situations.

Oh, also make sure you're providing the frame delta time to EffectComposer.render:
_scope._composer.render(_scope.clock.getDelta());

```js
_scope._composer.render(_scope.clock.getDelta());

Thank you! that did the trick, I was missing the clock.
added _scope.clock =new THREE.Clock(); before.


Support Path Item references

A file that works in openapi generator does not work in openapi-generator. The section that causes the error is:
paths:
  /documents:
    $ref: './paths/documents.yaml#/documents'
  /documents/{document-ident}:
    $ref: './paths/documents.yaml#/documents-detail'

in the root file.
Error:
error: Inconsistency encountered when parsing `Vendor Extension` under the `/documents` path: Found at least one vendor extension property that does not begin with the required 'x-' prefix. Invalid properties: [ $ref ].

We always have our paths in separate files for various reasons. This never was a problem before so I think swift-openapi-generator should implement it. ;)

cc @mattpolzin as I suspect this support would first need to be added in OpenAPIKit

This is specifically about Path Item references, not external references, which we're discussing separately in #.

Tracking this as a bug here: https://github.com/mattpolzin/OpenAPIKit/issues/280

This bug should be fixed with the new alpha release. Note the breaking changes described on the Release page: https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.9

Amazing, thank you @mattpolzin. I marked this issue as unblocked now, for anyone who wants to pick it up.

Fixed in #147.

To clarify, in 3.0 there isn't much we can do, as we don't yet support external references, which is the only way to have a Path Item reference.
In 3.1, there is work to do, but we don't support that yet. Maybe that's what we should use this issue to track, let me reopen and retitle.

Would like to see this happen soon. Now that I'm trying to generate from multiple documents to work around #551 it's non-negotiable that I need to be able to share schemas between the documents and external $ref is the only way to do that without pre-build tooling and a lot of pain.

Hi @dannflor, note that this issue is only about Path references. If you're looking for an issue tracking splitting your document into multiple documents that reference each other, that's https://github.com/apple/swift-openapi-generator/issues/25.

it's non-negotiable

All our triaged issues are things that we agree should be done; it's just a matter of resource. Sadly, we don't have infinite resource, which makes everything negotiable 😊.
Is this something you'd be willing to contribute?


Go update and workflow fixes (#1)

Fork of workspace manager that was originally created by Tom while working at MoJ.
This updates go to 1.21 and goreleaser as well as replacing the workflows with a combined semver tag and release workflow.

update go packages
update go releaser config
update release workflow
localised readme changes

hey @TomTucka - i made this a draft as it contains changes (i've put comments for most) that relate to our specific fork that may not want to include
It also changes the workflow to automatically tag and create a release for both pr & push to main (we've renamed master to main in our fork)


PHP nightly build or hhvm: coverage_clover XML file is not readable

It took me a while to make coveralls work with travis_ci and PHP 5.6 - 7.1 becasue user get's for several different errors same error message 'coverage_clover XML file is not readable'. One recommendation is to split up errors in several cases.
For example:

.coveralls.yml not found at /path/to/file/.coveralls.yml

In addition there is nowhere in documentation to be found to add following 3 lines to .travis.yml to make it work:

export CI_BUILD_NUMBER="$TRAVIS_BUILD_NUMBER"
export CI_PULL_REQUEST="$TRAVIS_PULL_REQUEST"
export CI_BRANCH="$TRAVIS_BRANCH"

BUT Now I'm stuck with getting PHP hhvm and PHP nightly working correct. I again get error message "coverage_clover XML file is not readable"
My Repo: DjThossi/Ensure
Errors in Travis:

PHP hhvm: Build: 30.4
PHP nightly: Build: 30.5

My cmposer.json
{
    "name": "djthossi/ensure",
    "description": "Some PHP Traits for ensuring values",
    "minimum-stability": "stable",
    "license": "MIT",
    "authors": [
        {
            "name": "Sebastian Thoss",
            "email"<EMAIL_ADDRESS>            "homepage": "http://www.sebastianthoss.de"
        }
    ],
    "autoload": {
        "psr-4": {
            "DjThossi\\": "src/DjThossi",
            "Unit\\": "tests/Unit"
        }
    },
    "config": {
        "bin-dir": "bin"
    },
    "require": {
        "php": ">=5.4"
    },
    "require-dev": {
        "phpunit/phpunit": "~5.7",
        "satooshi/php-coveralls": "~1.0"
    }
}

my .travis.yml
language: php

php:
  - '5.6'
  - '7.0'
  - '7.1'
  - hhvm
  - nightly

before_script: composer install

script:
  - php bin/phpunit

after_success:
  - export CI_BUILD_NUMBER="$TRAVIS_BUILD_NUMBER"
  - export CI_PULL_REQUEST="$TRAVIS_PULL_REQUEST"
  - export CI_BRANCH="$TRAVIS_BRANCH"
  - travis_retry php bin/coveralls -vvv

notifications:
  email:
    on_success: change
    on_failure: change

my .coveralls.yml
repo_token: HIDDEN
service_name: travis_ci
coverage_clover: coverage/clover.xml
json_path: coverage/coveralls-upload.json

Could you please help me getting this sorted???

same here...

Closing as obsolete.
If one still experience issues, please upgrade to php-coveralls/php-coveralls: ^2.
If not all works with it, raise new, dedicated issue.


[Bug][Windows] Crash - running same app multiple times

[REQUIRED] Please fill in the following fields:

Unity editor version: 2021.3
Firebase Unity SDK version: 9.0.0
Source you installed the SDK: unitypackage
Problematic Firebase Component: Firestore
Other Firebase Components in use:
Additional SDKs you are using:
Platform you are using the Unity editor on: Windows
Platform you are targeting: desktop
Scripting Runtime: il2cpp
Pre-built SDK from the website

[REQUIRED] Please describe the issue here:
ERROR: FIRESTORE INTERNAL ASSERTION FAILED: D:\a\firebase-unity-sdk\firebase-unity-sdk\windows_unity\bin\external\src\firestore\Firestore\core\src\core\firestore_client.cc(198) void __cdecl firebase::firestore::core::FirestoreClient::Initialize(const class firebase::firestore::credentials::User &,const class firebase::firestore::api::Settings &): Failed to open DB: Internal: Failed to open LevelDB database at C:\Users\myusername\AppData\Local\firestore__FIRAPP_DEFAULT\beat-aim\main: LevelDB error: IO error: C:\Users\myusername\AppData\Local\firestore__FIRAPP_DEFAULT\beat-aim\main/LOCK: The process cannot access the file because it is being used by another process.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
Haven't tried.
What's the issue repro rate?
100%
What happened? How can we make the problem occur?
Run following code in il2cpp desktop build and then in editor. Editor will crash and will have the log above in AppData\Local\Unity\Editor\Editor.log
Relevant Code:
async void Start()
{
	var status = await FirebaseApp.CheckAndFixDependenciesAsync();
	Debug.Log("status = " + status);

	BAFMap map = new BAFMap() { id = 1, name = "testname77" };
	// await firestore.Document("mapsRotation/1").SetAsync(map);
	listener = firestore.Document("mapsRotation/1").Listen(snap =>
	{
		var map = snap.ConvertTo<BAFMap>();
		Debug.Log("map name = " + map.name);
	});
}

[FirestoreData]
public struct BAFMap
{
	[FirestoreProperty]
	public ulong id {get; set;}

	[FirestoreProperty]
	public string name {get; set;}
}

dup of https://github.com/firebase/quickstart-unity/issues/928


RootNotFoundException when trying to ssh from outside a project

Hey guys,
noticed this Exception popping up nowadays. I used to run platform ssh from random terminals most of the times and it would bring up a list from where i could choose which project and branch to connect to. I've used project:set-remote to map my projects to the CLI tool, but I still enjoyed opening up a quick random terminal, running platform ssh and off i went. I get the reasoning for this, but wouldn't it be easier to add a short info message to use platform:set-remote if it's supposed to be a project root, instead of an Exception? That way everyone can use the commands however and wherever they wish.
Thanks for this awesome tool!
Kind regards,
Alex.

I'm confused. You should be able to open a random terminal, run platform ssh, and if you're not in a project directory then it should show you a list of your projects. Is that not what you're seeing? Did something change?

I'm getting
  [RootNotFoundException]
  Could not determine the current project.

  Specify it using --project, or go to a project directory.

when running platform ssh in a random folder. Also ran platform cc, still the same output.

Here are the conditions on showing that project choice list:
https://github.com/platformsh/platformsh-cli/blob/8552ed3f17f28ef6504c599d4df707e7d294044e/src/Command/CommandBase.php#L754-L763
so choices will be shown if:

no project ID supplied
no "current" project (not in a project directory)
input is interactive (you haven't used --yes or --no or PLATFORMSH_CLI_NO_INTERACTION)
you have at least 1, and less than 25, projects in your list (i.e. you have access to >0 and <25 projects)

Oh. Indeed I got up to 25 😒. Why 25 though?

It was just to avoid providing an overly long list - many terminals do not have many lines of height and not being able to see the top of the list (your original command and the "Enter a number to choose a project") would be confusing.
Maybe it could switch to a single-line autocomplete-style prompt, when there is a large number of projects.

If you have time, could you test that PR? ^ Use the "Testing instructions" on the automatically built Platform.sh environment - https://pr-949-gpxsbya-mpaw4nkgdwaea.eu-2.platformsh.site/

Nice!
Would've been better if I could use project label/title since I don't know any of the id's, but up/down arrows does loop through and I can find the one I want.
Gonna be a while until this gets live, right? I'll use this build for a while :grimacing: :heart_eyes:
Thanks!

Right, it's not ideal, unfortunately the autocomplete only works with the start of the string, rather than searching within it (at least with symfony/console 3.x), so even with the title it would be difficult to find. It's case-sensitive too. So asking for the project ID seems the most consistent thing to do with that limitation.
https://github.com/symfony/symfony/blob/40152c37ce3c150ffa6a70d0dc44b8ea453fc840/src/Symfony/Component/Console/Helper/QuestionHelper.php#L352-L357

Yea, the case sensitivity got me a few times. Then again, if i have to resort to scrolling anyway, i might hit a title faster than i would an id. Easier to remember which are the "black sheep" that start with uppercase and such. At least from personal experience. I know by title which how it starts, can't for the life of me remember first 3 characters of any project id.
Still a lot better than getting exception 😁😁

Right, this was released in https://github.com/platformsh/platformsh-cli/releases/tag/v3.61.0 - with the autocomplete limitation as discussed. Thanks for closing.


Issue 52 - Recipe Superseding

This is a big one. It puts in place the backend support for recipes superseding one another.
Highlights:
Updated recipe model with new fields related to superseding
Updated recipe_job model to support jobs being in multiple recipes (as they supersede one another)
Data migration requires doing an entire re-write of the recipe_job table due to primary key change
Created a RecipeGraphDelta class that figures out the difference between two recipe definitions
Updated the logic for creating and handling recipes to support recipes superseding each other (as well as their jobs)

LGTM


ASV Thrust Config Matrix and Allocator

Updated thrust configuration matrix for the Vortex ASV according to propulsion placement from CAD
Updated the "thruster_allocator" pkg to be functional

Additionally:

topics.yaml has been updated
naglfar.yaml has been updated
gnc.yaml has been created

This PR should be merged after:

LOS cleanup branch has been merged
Problem with the allocator where it allots force in opposite of the given direction in sway has been reviewed and fixed

merged into refactor/64-los-controller-cleanup, which again will be merged into development


python39Packages.jax build failure on x86_64-linux as of 7554374d

Issue description
Build of python39Packages.jax failed on x86_64-linux as of 7554374dafc546dfef12cbdfdf1f9a09e3b5fd4d. This is currently breaking python39Packages.optax.
error: builder for '/nix/store/mqhn80w4k1qrn38npp2nq13cgdmm9vl3-python3.9-jax-0.3.6.drv' failed with exit code 1;
       last 10 log lines:
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[5,5]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[5,8]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[8,5]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[8,8]
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGrad - KeyError: dtype(...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradInf - KeyError: dty...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradNan - KeyError: dty...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradNegInf - KeyError: ...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradZero - KeyError: dt...
       > ========= 59 failed, 14190 passed, 1447 skipped in 2038.15s (0:33:58) ==========
       For full logs, run 'nix log /nix/store/mqhn80w4k1qrn38npp2nq13cgdmm9vl3-python3.9-jax-0.3.6.drv'.
error: 1 dependencies of derivation '/nix/store/ygf5syy828sbm98z51gc3b3klkzif06i-python3.9-chex-0.1.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x9ac60xsdi1kx6vfrfw4f1q24a3gdiq8-python3.9-optax-0.1.3.drv' failed to build

full build log
python39Packages.optax maintainers cc: @ndl
python39Packages.jax maintainers cc: @samuela
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit 7554374dafc546dfef12cbdfdf1f9a09e3b5fd4d
Run nix-build -A python39Packages.jax

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-1014-azure, Ubuntu, 20.04.4 LTS (Focal Fossa), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - nixpkgs: `/nix/store/vg2xri6d14pzcqb0kh81fdaqv8fmkmfr-source`

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags: -778443340119027282 -9066225542204695241

I'll call this a dup of https://github.com/NixOS/nixpkgs/issues/183173


Feature/cache manager

Added

CacheManager which handles caching on server. cache logic is now removed from ClusterService to use CacheManager instead.

tbh this doesn't seem much like a "cache manager" and more like an "expiring value"... which is particularly odd since it's treated as a global thing, but there's only one and it only stores one value ever, though it's presented as a general tool.
otherwise:

caching the cluster info makes plenty of sense
this seems like a sorta misleading and not-reusable of a way to do it, though the individual pieces are fine

so... not sure. thoughts?

This will be re-used in another service called DomainService which has the same caching logic as ClusterService. Rather than copy/pasting code this was extracted out and reused by both. If you have another idea of abstracting the caching logic, i'd be happy to refactor.


Collaboration 🤔 !!

Hey Dude, I too have a neubrutalism theme UI Package for Flutter on pub.dev actually.
If you're okay with collaborating with me on that, It'd be great actually cause rn Im working alone on this package!
https://pub.dev/packages/neubrutalism_ui
Thanks

@FrancescoPenasa

Hi @deepraj02 actually is more of a project for my free time to learn, so I don't know how much feature I will add to this package, if things change I will be happy to collaborate with you


Add support to customize nested struct function

https://github.com/fatih/structs/issues/117

Coverage remained the same at 100.0% when pulling 27aef979bec03e0c42b6857fad2457a8815a731a on FX-HAO:master into ebf56d35bba727c68ac77f56f2fcf90b181851aa on fatih:master.

@FX-HAO isn't this following snippet suppose to work if you want you're PR through?
package main

import (
	"fmt"

	"github.com/FX-HAO/structs"
)

// Parent ...
type Parent struct {
	FirstBorn Child
	Number    int
}

// Child ...
type Child struct {
	Name string
}

// StructsNestedMarshal ...
func (child Child) StructsNestedMarshal() interface{} {
	return "hello world"
}

func main() {
	parent := &Parent{FirstBorn: Child{Name: "sure"}, Number: 25}
	fmt.Printf("%+v\n", structs.Values(parent))
}

When running it, it prints the "sure" name of the child as a value.
Also when looking at the code + tests you only look at the map implementation.

Hi,
Unfortunately, I'm archiving this project and will no longer maintaining it. For more information, please read my blog post: Taking an indefinite sabbatical from my projects.
Thanks for the feedback and contribution.


[WIP] refactor: use electron-menubar instead of menubar

I'm building a small module called 'electron-menubar' which is based on 'menubar', but with its code cleaned and a simpler API and a bunch of bugs fixed (like the correct position on Linux distributions).

@hacdias that's rad! 👏🏽👏🏽👏🏽


Improvements to styling

A new chat box and styles fixes

@skks1212 @Ashesh3 Do review/make changes where you want and lets get it merged;

@skks1212 could you authorize the redeploy?


Try to fix superscript positioning on Chrome with global CSS

Looking at the Temml CSS, I only see padding for primes, but it affects all superscripts, right?

This seems to work:
msup > :not(:first-child) {
    margin-left: 0.15em;
}


Option to close 1C when MC starts

With today's RAM hungry modpacks, perhaps an option for 1C to close itself when Minecraft starts would be a good idea. For reference, I have 8G of RAM and 1C is using 12%. With system overhead that's going to make it a bit tight with a large pack, even on my LXLE Linux machine.

Added


ATOnCharacterCollide errors out in MP for Riley

function: ATOnCharacterCollide -- file: AnthroTraits.lua line # 642 | MOD: Anthro Traits.
[12-06-23 16:14:03.265] ERROR: General     ,<PHONE_NUMBER>265> 69,680,515> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in ATOnCharacterCollide at KahluaUtil.fail line:82..
[12-06-23 16:14:03.265] ERROR: General     ,<PHONE_NUMBER>265> 69,680,516> DebugLogStream.printException> Stack trace:.
[12-06-23 16:14:03.270] LOG  : General     ,<PHONE_NUMBER>270> 69,680,520> -----------------------------------------

More research needed

642:  collidee:setBumpStaggered(true). potential for it to actually error out in the if beforehand.

even though setBumpStaggered is theoretically reachable by lua for an isoPlayer object, it's not explicitly exposed in the isoPlayer.lua object. Albion says using setBumpStaggered for a player should work, though. See here:
https://projectzomboid.com/modding/zombie/characters/IsoPlayer.html

Glych3r knocks players over in their code using :setVariable(), mostly. Giving that a try instead of using the IsoGameCharacter functions.

function: ATOnCharacterCollide -- file: AnthroTraits.lua line # 640 | MOD: Anthro Traits.
[13-06-23 21:56:05.120] ERROR: General     ,<PHONE_NUMBER>120> 6,993,067> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in ATOnCharacterCollide at KahluaUtil.fail line:82..
[13-06-23 21:56:05.120] ERROR: General     ,<PHONE_NUMBER>120> 6,993,068> DebugLogStream.printException> Stack trace:.
[13-06-23 21:56:05.125] LOG  : General     ,<PHONE_NUMBER>125> 6,993,073> -----------------------------------------

function: ATOnCharacterCollide -- file: AnthroTraits.lua line # 619 | MOD: Anthro Traits.
[17-06-23 23:39:32.097] ERROR: General     ,<PHONE_NUMBER>097> 355,198,920> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..
[17-06-23 23:39:32.097] ERROR: General     ,<PHONE_NUMBER>097> 355,198,920> DebugLogStream.printException> Stack trace:.
[17-06-23 23:39:32.098] LOG  : General     ,<PHONE_NUMBER>098> 355,198,922> -----------------------------------------
STACK TRACE

6a93d3d5 caused new issue. Investigate to see if IsLocal addition fixes this.

Previous fix seems to have worked.

d1b222c and d1b222c fixed this i think


motion_sync skipped. Please replace the pose dir with the driven video to enable it.

I am trying to run the demo using pose still doesn't work. This is without making any changes.
(echomimic1) C:\usable\EchoMimic>python -u infer_audio2vid_pose_acc.py
C:\Users\nitin\miniconda3\envs\echomimic1\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
C:\Users\nitin\miniconda3\envs\echomimic1\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
[48, 41, 412, 481]
(48, 79, 412, 443)
motion_sync skipped. Please replace the pose dir with the driven video to enable it.
video in 24 FPS, audio idx in 50FPS
latents shape:torch.Size([1, 4, 243, 64, 64]), video_length:243

(echomimic1) C:\usable\EchoMimic>

You should replace the pose dir to a driven video. Or just set motion_sync to 0.

You should replace the pose dir to a driven video.

Please explain what need to be done here, I am just trying to run using the default settings and assets


Rust parsing support for CREATE MODEL statements

cc: @andygrove for reviews as well.

I left some suggestions on the DROP MODEL PR, which I now realize I should have left here instead.

Codecov Report

:exclamation: No coverage uploaded for pull request base (datafusion-sql-planner@ec7f2a6). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##             datafusion-sql-planner     #693   +/-   ##
=========================================================
  Coverage                          ?   66.81%
=========================================================
  Files                             ?       73
  Lines                             ?     3637
  Branches                          ?      753
=========================================================
  Hits                              ?     2430
  Misses                            ?     1061
  Partials                          ?      146

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

I left some suggestions on the DROP MODEL PR, which I now realize I should have left here instead.

No worries I noticed that and tried to address those requests here manually. I'm pretty sure I got them all but might want to look again after CI passes.


Suggested Serverless architecture changes.

These are the stray suggested changes from the cc-serverless review.

This change is


Refactor: hidden logic in runes.js code

[x] The string we return relies (non-obviously) on the order of the if statements
[x] There is hidden logic to not announce the 0 minute bounty is within this code.
[x] Investigate having a  { start-time, end-time, interval } object for each rune to uniquely identify if it will spawn or not.
[X] Could potentially programatically construct the announcement string if bounty and power runes spawn at the same time wontfix
[X] runes.js could be returning a data structure for someone else to turn into human-readable strings
[x] GSI event strings should be sequestered
[X] have a file with pure runes logic and two files with glue to/from Discord/GSI. Maybe 3 files in one folder? wontfix, have everything rune related in one file instead
[x] how do we want to deal with these magic numbers ESLint keeps complaining about?

Related story #1

I think the code has been sufficiently factored to close this story. Game rune logic is completely separated from discord/gsi logic, with beautiful tests
And answer to how to deal with eslint not liking magic numbers? Disabling the eslint rule for the block xd


Fixed TSO child class tests and added LDC and planet simulation tests

Coverage increased (+5.05%) to 73.408% when pulling 8da924f7ae65ff2a16a608a53bfdb290bdc87b59 on hover2pi:more_tests into dc5df7b970ccdc2c05c5be909f039a7145aa44a6 on spacetelescope:master.


Mark all math of inlining

Hi,
I have used https://docs.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.methodimploptions AggressiveInlining
and mark my generic math classes like your. Seems this makes in .NET Core to be zero cost.
At least this attribute makes that more likely. May be measure.
Thanks

Thanks! 🙂


Deadlock during script localization idexing

I'm getting regular hang ups for IDEA caused by a deadlock involving this call:
icu.windea.pls.core.search.ParadoxLocalisationSearch$Companion.processVariants(ParadoxLocalisationSearch.kt:77)

Stack traces of affected threads:
deadlock.txt
Plugin version: 1.3.1

It seems this deadloak happens when you complete localisation names. Are you do it when IDE show it's indexing, or not but this localisatin file is somewhere special?

It usually happens during the editing of a localization file. However it also happened few times when I edited title or desc field value of some effect use blocks.

https://github.com/DragonKnightOfBreeze/Paradox-Language-Support/commit/105207599abe9a23f4c90c1d2b15845293c8e7af


Fix latest version

Let's keep the placeholder , so readme does not need to be updated on every release.


Map created from file without geometries gets centered in Null Island

Steps:

Import this CSV

Resulting map in the Editor:

Viz.json info (https://vmg.cartodb.com/viz/3f9726e6-305a-11e5-966b-0e5e07bb5d8a/map):
[
[
0,
0
],
[
0,
0
]
],
center: "[30, 0]",
zoom: 3,

After refreshing the page, the map is always being shown near Null Island and zoom 18.
cc @javisantana

@viddo not sure if the change we did yesterday about the bounds calculation is related

anyways, the bounding box calculated server side does not match with center and zoom

yeah, confirmed that the change is the culprit indeed :(
Having a 2nd look, actually not sure if we should return zoom or min zoom (like 1) instead. either way we need would need to change this or the other use-case to make them work as desired. What do you think?

On a 2nd (or rather 3rd) look, I'll revert this change to fix this bug, and I'll look for another solution to the other use-case (#4552).

not sure if your fix actually shown a backend side bug (not calculating bbox properly)

@Kartones could you give more light about why the bbox is [[0,0], [0,0]] ?

bump

I recall answering that no idea because that bbox code was from 2012, but anyway, replying again. I released https://github.com/CartoDB/cartodb/pull/4652 that should fix "backend part".

then this should be fixed

ok, view_bounds_* are still [0,0] so only when importing a dataset wihtout geometry. When you create an empty map they are
view_bounds_ne:
0: 85.0511
1: 85.0511

view_bounds_sw
0: -85.0511
1: -85.0511

basically I don't know why we have two variables storing the bbox, we are using view_bounds to set the map bounds. bounding_box is something we are moving around without using it :(

uhm, ok, then the map.recalculate bounds! probably is faulty on Ruby code, and when map has no geometries wipes out even the default value. I'll take a look.
About the bounding_box I have even less idea, in fact the code does things like building the view_bounds from the bounding box sometimes:
def view_bounds_data
        if view_bounds_sw.nil? || view_bounds_sw == ''
:         bbox_sw = DEFAULT_OPTIONS[:bounding_box_sw]

So I don't know why the duplication... I can fix the 0,0 issue and if you want create another ticket to research and eliminate the duplication.

https://github.com/CartoDB/cartodb/issues/4717


[PE-D][Tester D] Misleading import example in section 3.7.2 of the user guide

Steps performed:

added an import directory in the same directory as the SoConnect.jar
added a csv file named test in the import directory
import test

The examples given in section 3.7.2 of the user guide seems to suggest that keying in the following should work: import test. But, the output shown is 'A file with this name does not exists!'.
On the other hand, if the input is: import test.csv, the csv file is imported successfully. Might be good to correct the examples provided to include .csv!

Labels: severity.Medium type.DocumentationBug
original: ruiqi7/ped#9

This one is my bad i will update.


Onboard OK to NSSP topic

@brandonnava need the following:

The official org name (Oklahoma what?)
Transport details (REST vs SFTP and the connection details to that)


SA1009 (ClosingParenthesisMustBeSpacedCorrectly) fails with any method declaration

Sample code fails unless you add a trailing space after the closing parenthesis
using System;

public class Foo
{
    public void Method()
    {
    }
}

I marked this up for grabs. Did you want to work on it? :smile:

There is no test class for this rule so I'm a little scared to change it!

You could fix #194. :smile:

I also saw this earlier but was confused because this diagnostic disabled.

@Maxwe11 the disabled diagnostics are enabled in debug builds, and you can also enable them manually (via ruleset files and/or the Code Analysis UI).

I'll take this one too. Looks like a simple fix but I'll try to add a good number of unit tests too.