Spelling mistake in repository description

@hootlex Could you fix the spelling mistake in repo description please (the missing u in eloquent)?
This package gives Eloquent models the ability to manage their friendships.
Thank you in advance for fixing it.

Done, thanks!


fix: machines get should accept query params

This PR contains all the filter options that can be set to MAAS v2 API to limit the machine list results.
The full list was gathered from source code:

https://github.com/canonical/maas/blob/master/src/maasserver/api/machines.py#L1962
https://github.com/canonical/maas/blob/master/src/maasserver/api/nodes.py#L807
https://github.com/canonical/maas/blob/master/src/maasserver/node_constraint_filter_forms.py#L1356
https://github.com/canonical/maas/blob/master/src/maasserver/node_constraint_filter_forms.py#L729

Fixes: #67

@skatsaounis Awesome work; I was just about to make a PR myself and saw you'd already tackled it.
Hopefully we can get this merged soon.

This is an example of handpicked filter options that can limit the results:
params := entity.MachinesParams{
	ID:         []string{"qfkedy", "bdfsrr"},
	NotStatus:  []string{"ready"},
	Status:     []string{"deployed"},
	Hostname:   []string{"maas-host"},
	LinkSpeed:  []int{1000},
	MACAddress: []string{"12:34:56:ab:ce:12"},
	Storage:    "root:100(rotary)",
	Devices:    "commissioning_driver=virtio-pci,product_id=1041",
}
results, err := client.Machines.Get(&params)
if err != nil {
	fmt.Println(err)
}
fmt.Println(len(results))

Thanks for doing this!!


Cross-platform communications support with twemoji

For environments that don't have native emoji support (i.e. Windows7), we don't have a way to "translate" emojis to their twemoji counterparts. Would it be at all possible to have some flag to expose the twemoji counterpart when not using twemoji? We want to avoid using twemoji as the global picker, as the native experience tends to be better anyway, moreover we wouldn't want to make the UI unfamiliar to non-Windows users.
Usecase: A messaging app with one user on iOS sending an emoji to another in Windows7. Every other client will see the emoji, but the Windows user will have a box glyph. If we could expose the twemoji URL, we could have logic that detects "is windows" and presents the URL from twemoji instead of the native emoji.
Basically this alternative would be to allow the selection component to utilize the native picker and have it always spit out the twemoji URL-equivalent so we can handle environments where the emoji isn't available.

I'm not a fan of mixing twemoji and native emojis in a single picker. Might not even be possible with the new design I'm working on for the renderers in v5.
If you want to use twemoji to fill in the gaps, why are you opposed to using twemoji as a whole?

My suggestion was more along the lines of "if there is a twemoji for XYZ emoji, include the url attribute". I'm not saying the picker itself has to show it for the missing case, instead expose the information and let the developer consuming the emoji decide which one to show.
Right now I have implemented that if the OS is Linux/Windows, to show the twemoji picker, but if someone sent an emoji from iOS (which doesnt use twemoji), it has nothing it can show a Linux user without the font installed. It's about exposing the information, not making the picker UI different in any way


ENH: Run WSI pipeline without a fixed tile_count

Main changes:

Enable training with tile_count = None.
Rename save_tiles parameter to save_output_tiles.
Move train/val/test_dataloader fucntions to base class HistoDataModule

Question: Is tile_count same as max_bag_size or max_bag_size_inf? Why do we have two different params now if these represent the same thing?

Great question, we can maybe remove tile_count to stay consistent in both pipelines. Now that we are able to run the pipeline with all tiles, we can maybe change line 298 in base_module.py to: tile_count=self.max_bag_size if stage == ModelKey.TRAIN else self.max_bag_size_inf in the TileInGridd Transform. @vale-salvatelli what do you think?

I agree these parameters are the same. @kenza-bouzid what you suggest sounds good to me


Lazy loading MP4 files within electronjs app not playing

Current Behavior
ReactPlayer is unable to play a lazy-loaded video file.
Expected Behavior
I have to dynamically load a video based on the user's selected language and import it after mounting.
Steps to Reproduce
// import a video file based on selected language
const videoPath = videoLoader.getVideosPathByLanguage('en'); //returns absolute path to appropriate language dir
const video1 = React.lazy(() => import(videoPath+"\pad1.mp4"));
....
Render(){
return <ReactPlayer
url={video1}
ref={(player) => (this.player = player)}
onError={(e) => console.log("onError", e.message)} // this is firing an error message of undefined
/>
}
Environment
ElectronJS
Windows 10
Other Information
The lazy loading import is using an absolute path to retrieve the mp4 file from within the deployed electronjs app.

Firstly, I'm not sure React.lazy is meant to be used for an import of a file path? I think it is intended for lazy loading React components only, which then need to be rendered inside a <Suspense>.
Either way, url needs to be a string that points to a video file. In your example, video1 will be a promise (or something promise-like).
Does url={videoPath+"\pad1.mp4"} not work? I'm not familiar with how Electron works.


Show spinners in number fields

In the forms.css this exists
input[type=number] {     -moz-appearance: textfield; }
How can I disable this? I need number fields to show as number fields.

Yep, unfortunately spin buttons looks ugly in the material interfaceon various platforms under FF.
And this trick to emulate chrome behavior cause bugs with labels in FF
input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]:focus {
    -moz-appearance: initial;
}

So the spinners was disabled,
But anyway, you can have your own forms.css in the one of STATIC_DIRS folder.


swipe and release outside container will halt sliding

This is tested with Safari on iOS 7+. When starting to swipe a slide and then move your finger outside carousel, when only a part of the slide is moved, to trigger a touchend the slide is stuck in the position where you left it. Expected behaviour would be that the slide would either go back to start position or proceed to end position, even when touchend is triggered outside the carousel container.
This is easiest tested on any carousel @ http://kenwheeler.github.io/slick/ rather on a jsfiddle due to jsfiddles poor mobile support

You might want to try Flickity. Flickity completely supports touch events, so you can touch down, then drag outside the carousel and it works fine.


Add auto-casting to ordinal

maybe using variance of step size?

We have this using cardinality — the question is whether we want to consider variance of step size.


VSCode crach when Drag and drop a gif image from an extension page to a new tab

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 6.3.9600
Extensions:

Extension
Author
Version

vscode-angular2-files
alexiv
1.3.8

theme-dark-monokai
bogdan-sinitsa
0.3.0

angular2-snippets
danwahlin
1.0.12

vscode-instant-markdown
dbankier
0.1.0

githistory
donjayamanne
0.1.0

theme-dracula
dracula-theme
1.2.5

tslint
eg2
0.5.40

vscode-auto-open-markdown-preview
hnw
0.0.3

beautify
HookyQR
0.5.4

minify
HookyQR
0.2.5

Angular2
johnpapa
2.0.3

vscode-exec-node
miramac
0.1.8

atom-keybindings
ms-vscode
1.2.1

csharp
ms-vscode
1.5.1

language-vscode-javascript-angular2
nwallace
0.0.11

sharecode
RolandGreim
0.3.1

vscode-open
sandcastle
0.0.2

Material-theme
zhuangtongfa
1.0.3

Steps to Reproduce:

search "Angular Files"  extension
click on "Angular Files" extension , then drag and drop the gif file to a new vscode tab

I cannot reproduce, can you somehow record a video how this reproduces?

Closing until more details are provided


Rounding does not work (as expected)

Rounding does not work as expected (standard rounding to nearest number):
equal( Globalize.format(1.255, "n2"), "1.26" ); // yields 1.25 - tested on 79ae658b84
I'm not sure if this a culture issue (I'm familiar with "fi-FI") or is the default rounding mode something else than I expect (could not find info about this on the docs)

I can't get this to work when trying whole numbers, I'm trying to accomplish the following:
equal(Globalize.formatNumber(100.7, {maximumFractionDigits: 2}), "101") // currently giving 100…

Can you give me some help? Thanks!

Globalize.formatNumber(100.7, {maximumFractionDigits: 2}) outputs 100.7 as it should.
I guess you meant Globalize.formatNumber(100.7, {maximumFractionDigits: 0}). In that case, you get 100 (instead of 101 as you expect) and indeed there's no rounding made to whole numbers. I've just opened #379 to track that. Alternatively, you could round it yourself Globalize.formatNumber(Math.round(100.7), {maximumFractionDigits: 0}) in the meanwhile.


Does not support es6 destructive assignment in method arguments

with "esnext: true" on version 2.5.3
class Test {
    update({ groups = [] }) {
    }
}

produces error
Expected ',' and instead saw ']'. @ line 15 char 24
        update({ groups = [] }) {

+1, thank you

Fixed by #2391

That PR has been merged and this will be fixed in the next release after 2.8.0


backquotes around math blow up markdown

rendering `$\pi$` results in:

So I think this is "expected" behavior.
in markdown
`

denotes an inline code block

http://daringfireball.net/projects/markdown/syntax#code

Which is going to wrap the latex in a  block, thus we are see the markup from KaTex as compared to the rendered DOM.
thoughts?

i think the $ should not be expanded inside `.
but this isn't a priority so don't worry about it now.

oh it is being expanded :) just markdown is wrapping it all in  which makes it not render as html

would be OK if we could avoid this as follows:


Data repo & config repo support when deploying a 0-robot

Issue migrated from https://api.github.com/repos/zero-os/0-templates/issues/121, opened by @FastGeert
Some zero-robot just need to be statefull.
Test the feature by deploying the robot on node a, stop it and deploy another robot with the same config & data repo on node b. All services running on the initial robot should still be there on the new robot on node b.

@Pishoy can you give a  bit more detail here please. Are the git repo properly populated with the service data ? How long did you let the robot on node A run before trying to deploy on node b ?

@zaibon git repo configured properly (config, data) the same on both nodes , it takes around 5 minutes also we have used auto-push-interval 1 and the same results

@Pishoy  should use  god mode to see all service running
j.clients.zrobot.new('Bola',data={'url':'http://localhost:6600','god_token_':' your_god_token''})
and then
zrobot server start -D ssh://git@docs.grid.tf:7022/abdelmab/pola-data.git -C ssh://git@docs.grid.tf:7022/abdelmab/pola-config.git -T git@github.com:threefoldtech/0-templates.git#development  --debug  --auto-push --auto-push-interval 1 --god
then using js_shell
robot = j.clients.zrobot.robots['pola']
robot.services.names
you will see all services running


Skipping rows while reading

I tested a few files but it looks like the reader doesn't iterate all the rows.
I noticed only 20k rows were iterated from 100k rows.
With box/spout it works fine.
Is there any option documentation I'm missing?

I haven't noticed something similar: if you could debug it, a detailed report would be very welcome :+1:


[Feature] Add option to access extension through an icon at the end of the address bar

On Firefox, the way to access the extension is through the extension icon or through the right click context menu.
I am a Chrome to Firefox convert, and I miss the "Translate" icon being at the end of the address bar. This allows for quick acquisition (especially if there are a lot of in my menu bar extensions) and allows for a consistent placement on all pages visited.
TWP has this functionality, and I think it would be a nice way to interact with the Linguist extension. Of course, the popout that displays can remain the same, but it would be nice to show a glowing icon to demonstrate that the extension is active and translating, and a grey icon to show that it is not translating anything (i.e., Original).
Here's an example from TWP's github page:

Hi, sometimes people create issues with this proposal, but i don't see why we really needs this icon on URL bar.
The fact that some another extension have the feature is not mean this feature useful and does not explain why this feature needs for Linguist.
It's easy to implement, but as contributor, I can't bloat a features just to copy another extensions. To be honest, i still sure the other extensions for translation are bad - they are does not respect users privacy, does not have powerful features Linguist have and they have not user friendly UI. This is why i don't want to copy a features of bad extensions just because they have greater users than Linguist.
If you can justify the feature you propose, i will implement it, feel free to read issue #388 and return back here to talk about why this feature needs for Linguist users.

I am a Chrome to Firefox convert, and I miss the "Translate" icon being at the end of the address bar. This allows for quick acquisition (especially if there are a lot of in my menu bar extensions) and allows for a consistent placement on all pages visited.

With Firefox you can move extension icons, just move icon to a tab bar, to solve the described problem.

Hi @vitonsky,
Thanks for taking the time to respond and being open to discussion. I see your perspective that it can be considered bloat. I apologize as I didn't see #388 prior to creating this feature request or the reasons for behind why the FR was previously rejected.
From my testing, Linguist is great, and accurate. I appreciate your approach to a more privacy-centric translation extension. Privacy was my exact rationale for moving away from Chrome/Chromium in the first place. However, the second part of the journey was finding a good translation extension. Given the privacy stance, my personal rationale is that the ability to show the translate button in the address bar allows for easier adoption of Firefox + Linguist extension for translation needs. My intention is to determine if it was possible to help switch over as many people to Firefox as easily as possible from Chrome or Chromium-based browsers. Currently, you are permitted to execute the translation from the right-click context menu, or the extension icon in the toolbar. You can choose to enable both, or one or the other.
Perhaps it's "muscle memory" of finding the translation icon within the toolbar hasn't left me yet after using Chrome for nearly a decade. While it won't be impossible to relearn this behavior, I figure adoption may improve for long-term Chrome refugees like me 😄


Insert and process MD from HTML

In the HTML page do  something like
HTML here
{{insert somefile.md}}

with the expected result being that it would process somefile.md with fd2html and paste the resulting HTML there.
A key thing will be to ignore somefile.md in the general run so that we don't  end up with a  spurious URL root/somefile/; possibly these could be written inside of _layout and everything markdown file inside _layout be ignored.

This would also potentially be useful for a single page layout where  user would  include subblocks written in MD.

Just seeing this issue. This is exactly what I need! I want to redesign my personal page to basically have a two-column piece up top ("About me") and then will just be single column for the remainder. I had planned on the sections just being .md files. I have the layout mostly done in bootstrap, but need to add in the content.
A two piece example:

{{insert section1.md}}

{{insert section2.md}}

Perhaps this could also be done with a loop (which I think is also something you want to work on). So maybe this could go along nicely with #409 and/or #391 ?

did you put this on a repo somewhere? would be good to see how you're trying to do this and whether there may be a simpler way (or not in which case it'll help me see how to best go about this issue)

No I did not yet. Like I said, only have (most of) the bootstrap stuff in place, hadn't really gotten to the Franklin stuff yet. I will create a dummy repo with the code in the next few days and report back.

This is now doable in v0.7 basically plop something like this in utils.jl:
function hfun_insertmd(args)
    path = args[1]
    return Franklin.fd2html(read(path, String))
end

Which you can call in your HTML with {{insertmd path}}.
Note: I'm not convinced this is the best way to go in your particular case, it would help to see your draft site but the above should work.


Reduce trace log levels to just off|error|info|verbose

We have all of these log levels = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'verbose';
Do we need warn|info|debug, why not just have verbose.
@roblourens @rchiodo @DavidKutu @IanMatthewHuff @joyceerhl /cc
Questions:

Can we have just one instead of info|debug|verbse
Do we even need off, why would we never display errors?

A couple messages are very noisy, like Notebook Session status ..., it would be nice to have a level where I can see the DA traffic but not other super verbose messages that don't seem that useful.

Yeah, the levels feel funny to me. I feel like I could see maybe like three levels at maximum? Like a minimum error level, a pretty much everything level, then a level that adds in a few ultra verbose areas.

ve a level where I can see the DA traffic but not other super verbose messages that don't seem that useful.

But then if someone else wants to just see kernel messages and not DA, then we still end up in the same place (i.e. DA messages are noisy).
As we use log4js, we can achieve this by creating loggers for each area. This way we can turn on/off logging for each area.
I kind of like that, but we'd need to change the loggers from a function to a factory (just like log4js).
E.g.
const logger = createLogger('debugAdapter');
logger.verbose('Helo');

I believe this is possibel, after all we're using log4js and its a simple factory function.
Summary:

Keep just off, error, info, verbose

In release mode this defaults to info (messages only logged in output channel)
In debug/development mode, this defaults to verbose (we can configure this to what we want. I prefer verbose)

Create a factory function to return a logger for individual categories (debug adapter, widgets etc)

In release & debug mode, all these categories are on by default.
If we only want to see debug adapter messages, then we go into the settings and only include debug adapter category.

To make this possible, we'd need to change some existing code to slowly move each message into a category, e.g. kernel messages should probably go into kernel or the like.
Finally add a setting logging.categories:  ['all', 'debug adapter', 'kernel', ...]

This will not be defined in package.json (i don't want users to be able to see this, its only for our use). If we end up using this often enough, we can optionally add it into package.json and this way we get the necessary auto completion we need.
This will default to all

How doe this sound?

😁

Closing this for now, wouldlike to fix this, but not sure its worth the effort yet


Create benchmarks that measure test failures / flakiness

Similar to our technical debt benchmark, it would be useful to have a continuously-updated benchmark of test failures and flakiness. These are valuable since tree closures affect every committer and stop automated rolls, causing bigger, riskier rolls when the tree re-opens.
The two benchmarks I'm proposing here are:

Test failures: measure of how frequently the tree is closed due to one or more test failures (failed run and re-run) some fraction of these are flakes that failed both run and re-run. Result in immediate tree closures which are critical to avoid.
Test flakes: measure of how frequently we see a test fail its run and pass its re-run. Don't result in immediate tree closure but some fraction of these fall into the failure bucket by failing twice in a row. This metric provides an indication of how badly flakes are impacting the team.

It seems like we have all the infrastructure required to collect the data we need:

[ ] Fetch dashboard test results for last N runs prior to the current run (since we don't have complete data for the current run).
[ ] Compute a (weighted?) average of average of red dashboard squares per commit.
[ ] Emit the benchmark for the commit prior to the current commit (for the reasons described above)

If we wanted to translate to a dollar figure similar to the technical debt benchmark, we could take something like:
avg_failures_per_commit * guess_of_avg_time_to_resolve_one_failed_square * some_representative_swe_pay_rate

as the avg cost to make the head row green (re-open the tree) at any given time.

/cc @Hixie @tvolkert who might have thoughts

Is that different from the data in these two dashboards?

Devicelab, https://datastudio.google.com/c/reporting/1o_27AedMBxv-sa_HE78BMWff7uhPglj9/page/dwwAB
LUCI, https://datastudio.google.com/c/reporting/1o_27AedMBxv-sa_HE78BMWff7uhPglj9/page/JfCdB

Is that different from the data in these two dashboards?

Nope -- those are awesome! I had no idea this already existed! Thanks!

Can we make those public?

\cc @CaseyHillers @keyonghan can we add this as a requirement for the PH metrics you are working on.

This data is okay to expose as flakiness is derived from already public information. If anyone asks we should be able to give the metrics.
There isn't an easy way to make the dashboards public since they're based on internal tools. The only option I see is adding more functionality to Cocoon to expose key metrics, and recreating the dashboards there.
We could automate weekly snapshots of the dashboards for publishing to the community, but I'm not sure where would make sense to publish those reports.

We may still need a security review before sharing, isn't data studio available to the public?

\cc @CaseyHillers @keyonghan can we add this as a requirement for the PH metrics you are working on.

We can definitely include them in the PH. (but as @CaseyHillers  mentioned, the go/flutter-dash is for internal only)

We may still need a security review before sharing, isn't data studio available to the public?

Yes. It is. We can create a specific report for public usage only.

isn't data studio available to the public?

This is similar to why when creating Flutter design docs we use fcontrib.org. We could look into moving the dashboards to be owned by fcontrib.org, but i'm not sure if that could easily hook into the BigQuery data that lives in google.com.

I may be misremembering but I think @yjbanov may have used BigQuery for public stuff (querying for usage particular Angular APIs maybe).
/cc'ed in case he has info to share.

This has been already implemented.


common: configure epel repository (rockylinux)

this is needed in order to make some libraries available when running on RockyLinux
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>(cherry picked from commit 867be7c35c1f10080f842c3c6bdd51062cfd788a)

jenkins test centos-non_container-lvm_batch

jenkins test rocky-non_container-lvm_batch


Where to donate?

Love this, thanks. I use it every day. I'd be happy to send you a small donation if you let me know the best way.

Glad you liked it!
If you wish, please support SomaFM directly - https://somafm.com/support/

Definitely, I've been a monthly supporter of SomaFM for years. I just wanted to support your project since I use it all the time.

Thanks for that, but this project doesn't require much of continuous support and I did it for myself first :)
Happy to hear that it fits you well 🎉

Ok, well thanks again for sharing it.
On September 30, 2019 8:50:11 AM Evgeny Aleksandrov
<EMAIL_ADDRESS>wrote:

Thanks for that, but this project doesn't require much of continuous
support and I did it for myself first :)
Happy to hear that it fits you well 🎉
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix react/forbid-prop-types errors

The plugin has been switched off for the time being.
The errors occur at
/home/travis/build/OSDLabs/swd/src/routes/search/SearchResults.js
  13:5   error  Prop type `array` is forbidden react/forbid-prop-types

and
/home/travis/build/OSDLabs/swd/src/components/App.js
  51:3  error  Prop type `object` is forbidden  react/forbid-prop-types

@prampey @mukkachaitanya

Yes. This should be fine.


Add support for .GG domains

Hello @wilcokuijper-ggl
Thanks for your PR, but the ci is failed.

Hello @wilcokuijper-ggl
Thanks for your works.

If you think this repository is helpful, please share it with friends, thanks.


cc-wrapper around clang doesn't build with gcc 4.9

When trying to build clang 3.6 in staging with stdenv = overrideCC stdenv gcc49;, pkgs/build-support/cc-wrapper/default.nix:174 fails to evaluate because cc does not have the attribute gcc.
cc @shlevy

Fixed ^


Blank page in preview, no matter what kind of prompt.

Describe the bug
It does not matter, how complicated or easy the prompt is, the preview is always a blank page.
After asking to resolve the issues there is no change in the preview.
It is happening in different browsers, on different devices and on different chats.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-c3zu92
Steps to reproduce

Create prompt
Wait for bolt to deploy and create the project
Wait for preview to load
See blank screen appear

Expected behavior
I expected to see the created application in the preview just as the bolt ai described it as a reaction to my prompt.
Screen Recording / Screenshot
No response
Platform

OS: macOS
Browser: Safari / Firefox
Version: 18.0.1 / 132.0.2

Additional context
No response

I faced the same error too in both Firefox 132.0.2 and Safari 17.6 on macOS, with a super basic React Vite project. The same project worked in Chrome.
In Firefox, I can see that there is a  in the preview window, but it is empty.

Appreciate the feedback! We are aware of this issue and are tracking it here.
Bolt is most compatible with Chrome and Chromium browsers.
Try selectively disabling browser extensions such as ad blockers and refresh the page to see if this resolves the problem. Additionally, you can try typing "npm run dev" in the Bolt console.


执行./mvnw 报错

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.apache.commons:commons-collections4:jar is missing. @ line 378, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.dxhua.lexue:lexue:0.0.1-SNAPSHOT (/Users/apple/coding/lexue/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.commons:commons-collections4:jar is missing. @ line 378, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

看错误是commons-collections4未指定version造成的。你可试着指定一下相应的version。我会测试一下，然后修正。


use botocore.vendored.requests instead of implying an app depedency

given the execution environment, adding an additional dependency seems extraneous, given the platform already has the underlying library just by switching the import location. perhaps not meaningful given the common installation of this library, but worth a consideration.

hmm.. also perhaps obsoleted by the pr that incorporates boto3 invokelambda for delivery.

I want to keep both methods of reporting -- using the existing vendored libraries is definitely a good idea!


Add jsonld -h as an alias for jsonld -?

The -h command-line option might perhaps do something more useful than the current output:
$ jsonld -h
/usr/bin/jsonld: invalid option -- h
/usr/lib/ruby/2.0.0/getoptlong.rb:394:in `set_error': invalid option -- h (GetoptLong::InvalidOption)
	from /usr/lib/ruby/2.0.0/getoptlong.rb:571:in `get'
	from /usr/lib/ruby/2.0.0/getoptlong.rb:602:in `block in each'
	from /usr/lib/ruby/2.0.0/getoptlong.rb:601:in `loop'
	from /usr/lib/ruby/2.0.0/getoptlong.rb:601:in `each'
	from bin/jsonld:122:in `<top (required)>'
	from /usr/bin/jsonld:23:in `load'
	from /usr/bin/jsonld:23:in `<main>'

In the same vein, supporting jsonld --version (short form -V) might also be a good idea.

Closed in favor of the more comprehensive rdf command.


Final test

For today at least

(Comment from Andrew K):
Test comment

Marty entering a comment on GitHub

(Comment from Marty):
Marty entering a comment in Rally

Synchronization working between Github and Rally!


Where can I find detailed documents about Executor class!

The api docs are currently available alongside the implementation. https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/executor.py

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.

@szha this issue has been idle for a while. Can this be closed ?


address feedback on playstore

a) option to store the best time as well as in-progress games b) a setting to make flag mode the defaut one.


[AMORO-2731]: auto import antd-vue component & icons

Why are the changes needed?

auto import antd-vue component & icons
Fix the dark theme style
Brief change log

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

#2731

Thanks a lot for the work! @zhangmo8
I tested it in my local environment and found some issues to be fixed:

The terminal page does not show the shortcut correctly:

The login page components seem bigger than the old version:
New version:

Old version:


Resize immediately (#35)

need_resize was originally introduced in https://github.com/termbox/termbox/commit/493dc1395c91174e97658ff15fa2380227faf28f with the following commit message:
Fix threading issues.
Now output and input parts are thread safe. You can draw and let
other thread to be in a select waiting for input at the same time.

I think I understand the intent, however without a locking mechanism I would guess there were race conditions. I haven't tested calling into termbox from multiple threads at all.
I'll leave this open for a bit in case any contributors want to weigh in.

Requesting code review from some previous contributors @rofl0r @git-bruh @mitchellwrosen

looks good on first glance, only issue i can spot is if update_term_size() succeeds, but resize_cellbuf() fails, there might be a mismatch between rows/cols reported to user as usable vs actually usable, so i'd think one would need to restore global.width/height to previous values if the latter fails (assuming the previous cellbufs remain usable).

Thanks @rofl0r. I'll add a TODO to harden against errors encountered mid-resize.


Add ability to filter each GetElements input based on group

Currently, Elements or ElementSeeds can be used as GetElements inputs. Elements allow you to set the group, whereas ElementSeeds do not. When these groups are set in the input, they do not change any of the filtering in the GetElements handler, as this is all done using Views.
This seems counterintuitive; the group for each input could be used to filter out groups for that input. Usually a View would be used to filter on groups, but this filtering applies to the whole input, rather than being able to set a group filter per input.
In the following example, I would expect input1 (source1->dest1) to be filtered to only return edges of group1. I would expect input2 (source2->dest2) to only return edges of group2. However, it will currently return edges of all groups for both inputs:
{
        "class": "uk.gov.gchq.gaffer.operation.impl.get.GetElements",
        "input": [
            {
                "class": "uk.gov.gchq.gaffer.data.element.Edge",
                "directed": "true",
                "group": "group1",
                "source": "source1",
                "destination": "dest1"
            },
            {
                "class": "uk.gov.gchq.gaffer.data.element.Edge",
                "directed": "true",
                "group": "group2",
                "source": "source2",
                "destination": "dest2"
            }
        ]
    }

Each Accumulo Range could be bound by the groups.

After some local testing, this feature is possible but would require a decent amount of refactoring of the Accumulo key packages, and would fundamentally change how Gaffer filtering is done. More work could be done to change Gaffer to benefit from this new functionality, for example, the group could be included in the ElementSeeds also. On the other hand, this group filtering could contradict information in the View, and is not easily integrated into Gaffer Views.
I think more discussion should be had on this potential feature.


New package: LabMaze v0.1.0

Registering package: LabMaze
Repository: https://github.com/tachukao/LabMaze.jl
Created by: @tachukao
Version: v0.1.0
Commit: ef7ffd27cb34af550d74a4244a1a5bd8c2e3879b
Git reference: HEAD
Release notes:

A collection of useful functions for generating triangular, rectangular, and hexagonal mazes

@JuliaRegistrator register

Error while trying to register: Register Failed
@tachukao, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

Error while trying to register: Register Failed
@tachukao, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help


Not working on W8.1 x64

Hi there,
I installed the plugin as suggested in the readme.
After that I started VLC, opened the debug console and when I try to open it I get the following:
[00000000025a6c80] main tls client error: TLS client plugin not available
[00000000004d38e0] main generic error: no suitable access module for `https://ra
w.githubusercontent.com/sleighsoft/VLClive/master/src/VLClive.lua'
[00000000004d38e0] lua generic error: Could not activate extension!

OS: Windows 8.1 x64
VLC: Version 2.1.5 Rincewind x64

Update vlc to 2.2.1 that should fix it.
GnuTLS is not implemented in 2.1.5

That's what you get when you use the builtin updater / update check...
I tried to update earlier already and it told me I would already be running the latest version...
Thanks


Better compatibility between ScrollBehavior and transitions

I'm trying to create smooth animations between router using  on . To achieve this, it's important to scroll on each transition. The provider attribute "ScrollBehavior" can handle this like that:
scrollBehavior (to, from, savedPosition) {
  return { x: 0, y: 0 }
}

Using this, the scrolling occurs before the animation is finished, which is not "smooth". I'm currently doing a smoother scrolling to the top like this:
// Template
<transition name="scale" mode="out-in"
	v-on:before-enter="beforeEnter">
	<router-view></router-view>
</transition>

// Script
methods: {
	beforeEnter() {
		window.scrollTo(0,0)
	}
}

Is it possible, using scrollBehavior, to scroll in the middle of the animation to hide the scrolling?

Please ask questions on the forum or StackOverflow.

You're probably looking for this: https://vuejs.org/v2/guide/transitions.html#JavaScript-Hooks


does not work with react native 0.44

Thanks for letting us know! Do you have a reproduction you can share?
Also see #1012 where @tmeasday will set up a RN sample app.

it is working fine in a simple project
https://github.com/sibelius/RNStorybook
I'll try to dig into this, tks


Changing wording

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

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


Can't build a lean binary that uses the Lake library

Prerequisites

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

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
I'm trying to lake build a project containing this code (using lean nightly-2021-12-28)
import Lake
#eval Lake.leanVersionString

but I'm getting  a link error :
error: ld.lld: error: undefined symbol: initialize_Lake

My .elan\toolchains\leanprover--lean4---nightly-2021-12-28\lib\lean folder contains Lake.olean and a Lake folder full of more .oleans, are these not found automatically?  How does one add them as a dependency in a Lake package file?
Steps to Reproduce
Sebastian says "Sebastian Ullrich: We do not ship with native static or shared libraries for Lake yet (we would probably want both, so there is a non-negligble space overhead in doing so)."
Expected behavior:
Link should succeed.
Actual behavior:
Link errors
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
You can get this information from copy and pasting the output of lean --version,
please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

This was fixed as part of the merge of Lake into Lean (e.g., #2337).


LocalMachine is trying to clean up users before logoff

The LocalMachine plugin is trying to cleanup home directories before the user is logged off.   Perhaps LoggedOnLocalUsers is not returning the proper list.  Need to do some debugging to find out.

Odd.  let me know what debugging tells you, I'd be curious what the list LoggedOnLocalUsers returned contained.. might be something simple like a case mis-match or format  (i.e. MACHINE\user vs user) issue...
the other thing we could do is move cleanup to happen only when 0 users are logged in.  This would restrict it to downtimes only, but perhaps unnecessarily so.

I was able to duplicate the issue on my home laptop.  The eligible users list shows the pGina user, but the loggedOnUsers list shows as empty.  I'm not sure why.

Note that this was tested using "switch user" to log in, then switch back to watch the logs.

The problem may lie with case sensitivity of the machine name when LoggedOnLocalUsers tries to remove the machine name from the front of the user name.  Environment.MachineName returns different case than the results in pInvokes.GetInteractiveUserList().  I should have a patch coming soon.

Awesome!
On Wed, Oct 12, 2011 at 11:01 PM, David Wolff <
<EMAIL_ADDRESS>
The problem may lie with case sensitivity of the machine name when
LoggedOnLocalUsers tries to remove the machine name from the front of the
user name.  Environment.MachineName returns different case than the results
in pInvokes.GetInteractiveUserList().  I should have a patch coming soon.
--
Reply to this email directly or view it on GitHub:
https://github.com/pgina/pgina/issues/67#issuecomment-2391533


Feat: remove edge handlers hidden flag once out of beta

Related to https://github.com/netlify/cli/pull/1244#discussion_r490216674
https://github.com/netlify/cli/issues/1236 is implemented as a hidden CLI flag.
We should remove it once the feature is out of beta.

Closing this as we removed the flag all together


Possible to use with Ember CLI?

Just wondering how you would recommend using this with a CLI application?

@christophermlne I've been experimenting with different ways of marrying Middleman + EmberCLI, not convinced by any one solution yet.
If I (or someone else) find a nice way of doing it, I'd like to bring it into Emberman. That said, it's likely that Fastboot + other addons may get us there first, and provide a better solution.

Thanks @minusfive. I'm really looking forward to Fastboot as well.


No web artifacts created for project "created from existing sources" by default

This is a bit confusing for users who might want to create the project with the discovered Web and GAE Standard support and run dev_appserver.
The run configuration is in error state because there is no artifact selected, or available for selection.

The workaround is to go to Module Settings -> Facets -> Web and press the Create Artifact button. Or, alternatively, manually create the artifact in the Artifacts menu, which is even less unintuitive for non-expert IJ users.
It's an unclear whether this is our issue, but something worth looking into to see if we can do anything on our side.

obsolete (we have helper tools menu items for this now to automatically create the framework support)


Feature/156 national downloads stream

Related Issues:

EQ-156

Main Changes:

Pulled the national downloads logic out of the extract from ords logic. This is to prepare for moving the ETL process over to loading data via pgdump files in S3.
Added the ability to run the national downloads separately.

Steps To Test:

Add the STREAM_BATCH_SIZE: 2000 and STREAM_HIGH_WATER_MARK: 10000 to your .env.local file in the etl
Run npm run etl_national_downloads
Verify the national downloads were built and work.
Run npm run etl_database
Repeat step 2

TODO:

[ ] May be able to lower memory on the cloud.gov server. In my local tests, memory usage stayed below 300mb.

@maxdiebold-erg I'm going to go ahead and merge this in so that I can get some performance numbers in cloud.gov. Feel free to leave review comments here. I'll create a different PR to address any comments.


Using older version of GhostText in Firefox

By the way, is there an archive of older versions for the Firefox add-on? The versions on this page seem incomplete?
I see myself doing one-off edits mostly, where I only need one input field to activate. When I am done editing, it helps to disconnect GhostText add-on to keep all things back to normal. By now, I may have talked myself to vote for an extra option for a "toggle mode": when activated, the "Connect to GhostText" shortcut does two things below,

When there is no connection, activate all the candidate fields and wait for a mouseclick
When there is an existing connection, disconnect.

If I may recall, is this how GhostText has been working for years? However, I cannot find a newer version between December 2017 and Feb 2021 on the Firefox add-on page. The latest version back in 2017 is Version <IP_ADDRESS>0, and it does not allow me to assign a keyboard shortcut to "toggle" the add-on. I'll post a short Autohotkey script if I shall manage to assign a shortcut by clicking on the ghost-icon.

Here is some AHK script that looks for this tiny icon and moves the mouse onto it. To trigger it, use Gosub, icon_search_GhostTextFirefox.
icon_search_GhostTextFirefox:
    CoordMode, Pixel, Screen
    CoordMode, Mouse, Screen
    MouseGetPos, xpos, ypos
    ; Note, for now, the search canvas is 5600 pixels wide and 2000 pixels tall
    ImageSearch, FoundX, FoundY, 0, 0, 5600, 2000,  icon_library\GhostText_firefox.png
    ; Update the cursor location by a few more pixels
    FoundX := FoundX + 20
    FoundY := FoundY + 14
    sleep 50
    if (ErrorLevel = 2)
        MsgBox Could not conduct the search.
    else if (ErrorLevel = 1)
        MsgBox Did not find such button.
    else
        ; Main actions: move the mouse and click on the icon
        MouseMove, %FoundX%, %FoundY%
        Click
        ; Pause for 1 second, where a right-click can be issued to show the option "Disconnect GhostText on this page"
        sleep 1000
        ; Restore the mouse to where it was.
        MouseMove, xpos, ypos
return

Originally posted by @llinfeng in https://github.com/fregante/GhostText/issues/178#issuecomment-784740025

Version 17.x is the last version until 21.x. Firefox does remove older versions from their store but there hasn’t been anything significant in between.
And yes until 17.x, GhostText only worked on one field, so if a field was already connected, clicking the button would close the connection.
You shouldn’t need AHK since GhostText comes with its own keyword shortcut. Refer to ghosttext.fregante.com

Thank you for clarifying. I toyed with version 17.x last night and found it a bit clunky (some field I edited remained highlighted after I close/disconnect the Firefox add-on).
With 21.x, until we have a shortcut to "disconnect", the AHK snippet may help avoid performing the mouse maneuver. I have a separate button on the keyboard for right-clicking. When the mouse moved to the GhostText icon, I can trigger that "Disconnect GhostText on this page" menu entry with the keyboard alone.

Ah that makes sense.
Yeah versions until 21.x were pretty buggy


HPACKHeaders performance test for HTTPHeader normalisation

Motivation:
HPACKHeaders has an init which will normalize HTTPHeaders, this
includes removing any headers which are illegal in HTTP2 and any headers
which present as a 'connection' header value. As written this is
expensive in some edges cases. With perf tests we can validate that
implementation changes improve performance.
Modifications:
Add a performance test to normalize HTTPHeaders. This is run on two
configurations.
Result:
More insight into header normalisation perf.

@swift-nio-bot test perf please

@swift-nio-bot test perf please

@swift-nio-bot test perf please

@swift-nio-bot test perf please

Fixed performance jobs and updated them to use Swift 5.6.

Fixed performance jobs and updated them to use Swift 5.6.

Thanks Yim!

@swift-nio-bot test perf please


unsaved files: smarter file name extension

the extension used to be always the file type, be smarter now. For instance prettier wouldn't recognize a .typescript extension.

to be clear, a reproduction would be..
create an empty unsaved file...
type function() {return 5;}
set ft=typescript
require('conform').format()
before the change, nothing would get indented, as prettier says it doesn't recognize the .typescript extension, after the change it works.

Sure, the approach looks good! The one request would be to pull the map out of the function. I think it makes sense to just put it in its own file, something like ft_to_ext.lua.

I updated the PR. thinking about it some more, i actually think for many file formats, the extension is not very important.. it's probably mostly important for prettier for instance, which knows how to format many file types.
but presumably it can't hurt to get the file extension right. for many file types there is nothing to do (for instance lua, sql, html, zig..). I added those that I noticed.

LGTM thanks for the PR!


Can't pass array as function argument

Hi!
I played playground, then found a bug.
Steps to reproduce:
Enter a program:
fn reverse(dummy []int) {
}

fn main() {
        arr := [1]
	println(reverse(arr))
}

Run
Then I got an error message:

You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.

Hi
Functions need to return values, there's no error message for that right now, I'll fix it today.

fn reverse(dummy []int) []int {

Fixed.


Updates to next round timer

Store times in UTC

Convert into the user's time zone in the dashboard
Prevents inconsistencies if there are users from multiple time zones watching values from the same dashboard

Store the year of the next round

Shouldn't be user selectable
Helps avoid unexpected behavior - For example, the day after December 31st, 2020 is currently January 1st, 2020 in graphics logic.

Implemented in #38


Vercel deployed version no longer working properly

Describe the bug
My personal access token expired, so I went in and created a new one. That is when this issue began. My vercel says the initial project is still deployed and build ran fine. But I am unable to access the streaks.
I get the following error when attempting to access 'https://github-readme-streak-stats-blue-one.vercel.app/?user=joshlawlor':
Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/task/user/api/stats.php:234 Stack trace: #0 /var/task/user/api/stats.php(49): getGraphQLCurlHandle('query {\n ...', 'ghp_ejVPeNdAomW...') #1 /var/task/user/api/stats.php(126): executeContributionGraphRequests('joshlawlor', Array) #2 /var/task/user/api/index.php(38): getContributionGraphs('joshlawlor', NULL) #3 {main} thrown in /var/task/user/api/stats.php on line 234
To Reproduce
Steps to reproduce the behavior:

Go to 'https://github-readme-streak-stats-blue-one.vercel.app/?user=joshlawlor'
See error

Expected behavior

Go to 'https://github-readme-streak-stats-blue-one.vercel.app/?user=joshlawlor'
See stats

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Chrome
Running off vercel-php version '0.6.0'

I'm also getting the same error:
Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/task/user/api/stats.php:234 Stack trace: #0 /var/task/user/api/stats.php(49): getGraphQLCurlHandle('query {\n ...', 'ghp_CQrZabakULW...') #1 /var/task/user/api/stats.php(126): executeContributionGraphRequests('tribhuwan-kumar', Array) #2 /var/task/user/api/index.php(37): getContributionGraphs('tribhuwan-kumar', NULL) #3 {main} thrown in /var/task/user/api/stats.php on line 234
Is there any solution you got ?

Try using<EMAIL_ADDRESS>in vercel.json

Try using<EMAIL_ADDRESS>in vercel.json

This worked


Add FAQ to README

This would include why certain design decisions were taken, "Why not X?", "Why Y?", etc. questions..

Done with e064d67.


Malfunctioning slider on mobile with custom Thumb component

Adding Thumcomponent prop doesnt allow you to drag the slider around from the thumb on mobile, however, the slider does allow you to start dragging after tapping on a mark and resuming sliding that way.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The thumb does not move, and becomes static when dragging is attempted
Expected Behavior 🤔
The thumb should respond and move accordingly as it does on desktop
Steps to Reproduce 🕹
https://codesandbox.io/s/trial-map-svg-lines-8xluo
Context 🔦
I am trying to draw lines between the thumbs of three sliders by adding a ref to each thumb and running getBoundingClientRect() on each ref in the componentdidUpdate of the parent holding the sliders. I have add some additional hacky code to account for the fact that the sliders are located on a drawer. I do intend for the thumb to be an image as well.
Your Environment 🌎
I have tested this on both android and ios devices as well as on the Chrome desktop mobile simulator

Tech
Version

Material-UI
4.8.3

React
16.12.0

Browser
Chrome Android 80.0.3987

Tip: keep the same component reference between two renders

I get the same behavior as the reporter - the slider is not working as expected on mobile phones (tested on Android 9.0 latest FF and Chrome).

@ssi-anton-vasilev thanks for the tip! This almost solves it, but I find the thumbs are not as usable at the slider edges, as half their touch surface becomes inactive - did you find a solution for this?

@odedbendov I just added some paddingLeft to the slider track .MuiSlider-track which seemed to solve the half-touch issue

pointer-events none is not working for me.


How do I mock the Post/Put/Delete data?

In sample2, I can find the usage about how to prepare the Mock data for the Get request which seems very simple and easily. I want to know how can I prepare the mock data for POST/Put/Delete request in the same way with Sample 2?
like this:
var myData = [
{collection: '/pets', name: '/Lassie', data: {name: 'Lassie', type: 'dog1'}},
{collection: '/pets', name: '/Clifford', data: {name: 'Clifford', type: 'dog'}},
{collection: '/pets', name: '/Garfield', data: {name: 'Garfield', type: 'cat'}},
{collection: '/pets', name: '/Snoopy', data: {name: 'Snoopy', type: 'dog'}}
]
server.dataStore.save(Resource.parse(myData));
Any comment is appreciated!
Thanks,
Flyli

I'm not sure what you mean.  Mock data isn't for a particular kind of request (get, post, put, etc.).  It's just data.  A GET request retrieves that data.  A POST request inserts new data.  A PUT request updates existing data.  A DELETE request deletes existing data.

Thanks @BigstickCarpet for your comment. I mean in some special cases, I send a POST request,  for example, I Post to create a new Pet, in the response, there is a field saying the status for this pet. I just care about the "status" field in the response. For this case, I want to mock this response and I don't care whether I can create the pet or not in the server. In this case, I want to pre-define the Mock data in the swagger-server.

If you want to return a different response than the default behavior, then you can add your own middleware to do so.
server.post('/pets/{petName}', function(req, res, next) {
  res.json({status: 'created successfully'});
}

Thanks @BigstickCarpet ! It works fine and I can mock the data what I want now. Just have one another question, I want to change the default behavior of swagger-server: If I send a 'get' request, and the response is empty, then I want to use the example value as the response. You know in the swagger-ui project, it can generate the example values via the swagger model definition, do you know how or where
should I change it please?

@feikiss - Glad to hear that it's working for you now.  And yes, Swagger Server has built-in support for default and example responses.  If you define a default or example response in your schema, then Swagger Server will automatically send that response if there's no data.   See the end of the first walkthrough for an example

Yes @BigstickCarpet ,the default or example value in Swagger file can be used in Swagger Server, but it does not fit my requirement... I do not define the default value, but I want to send back the mock response via the schema definition...  For example, I'd like to send back the following value(also you can refer to the screen-shot attached) :
[
{
"id": "string",
"name": "string",
"state": "string"
}
]
It is generated by the Swagger-UI, and I want to use it as the default value.
Thanks.

There are two ways that you can do this.  The first, is to add the default to your schema:
"definitions" : {
    "ActionVO" : {
      "type" : "object",
      "properties" : {
        "id":{
            "type" : "string"
        },
        "name" : {
          "type" : "string"
        },
        "state" : {
          "type" : "string"
        },
      "default": {
          "id": "456XYZ",
          "name": "John Doe",
          "state": "California"
      }

The second is to write your own middleware to return whatever value you want:
server.post('/pets/{petName}', function(req, res, next) {
  res.json({
    id: "456XYZ",
    name: "John Doe",
    status: 'California'
  });
}

Thanks @BigstickCarpet so much, It works!


Attempting to send post request with an expired token results in 400 error

To reproduce:

Go to links page
Wait for token to expire (setting short expiration time may help)
Try to quick add a link

This set of actions results in 400 error.
This is obviously bad, as the request needs to be manually retried by the user, sometimes also requiring to input the data again.

3 things should be done to mitigate this:

[ ] set longer ticket timeout in keycloak (see #133)
[ ] force token refresh on GET requests when there's still some time left to try and prevent this from happening
[ ] when this inveitably happens (ie. when users stays on the same page for too long without any activity and then sends a POST request) display a message that the operation failed due to inactivity and needs to be repeated.

This is not a 100% fix, as situations like this will probably still happen sometimes (ie. when people leave the website on and do stuff in other tabs or hibernate/sleep the PC), but at least can be somewhat mitigated.
You can also consider some sort of heart-beat thing sent from JS that would periodically ping the website to see if it's still authorised, and if not would force-reload the website (I've seen pages to that).

I will close this as it was probably fixed by replacing Keycloak with something else.


Removes references to open api and monix in docs

There were still some references to Monix
It also removes all the docs references to OpenAPI

Thanks, folks!


How to render markdown back to HTML

I use this mark down data is saved in format of mark down but rendering back to HTML is impossible for me, any suggestions

You can try a parsing library like Marked.


Feat/throttle promise

:tada: This PR is included in version 3.0.0-beta.20 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


lumosvarmain

Hi,
I'm interested in running lumosvar2 and I think I've successfully run the normal metrics step. For the main step, where is ./lumosVarMain ? This file isn't in the bin directory.
Thanks.

Hi,
I decided to use the executable in the v1.1 release. Thanks.


[Refactor][plugins] Reduce the file size of plugin so files

What and why to refactor
Currently, each plugin takes up to 33mb for its so binary, which adds up quickly and makes our docker image huge.

Describe the solution you'd like
Refactor our plugin and compilation script to reduce the binary file size.
Reference: https://sonyarouje.com/2021/04/25/go-plugin-file-size-optimization/
Simply put, we should define a set of interfaces for our helpers, and pass the pointer for plugins to utilize

@klesh would this also reduce compilation times for the plugins?

However, this is a huge refactor. The helpers must be well define as set of interfaces and plain structs then pass into plugins as pointers


give souper an easy way to avoid triggering degeneracies (mostly in K…

…lee) due
to large expressions

LGTM. Thanks.


Cytoscape Navigator instantiates at the bottom of the DOM in Angular 2+

Cytoscape Navigator instantiates at the bottom of the DOM in Angular 2+, instead of being a child of the parent container/div.

Not sure if you're still stuck on this, but in case anyone comes across this I was able to get around this through the following combination of HTML / CSS / JS. "cytoDiv" represents the div the cytoscape graph is in and "cytoDivOverlay" is the container the navigator extension is in.
HTML:

CSS:
` #cytoDiv {
height: 100%;
width: 100%;
z-index: 0;
position: relative;
border: 1px solid gray; /* optional styling */
}
#cytoDivOverlay {
min-height: 35%; /* optional styling /
min-width: 35%; / optional styling /
bottom: 0;
right: 0;
position: absolute;
overflow: hidden;
z-index: 999999;
background: #EEF4FA; / optional styling */
}
.cytoscape-navigatorView {
background-color: rgba(0, 0, 0, 0.1); /* optional styling /
cursor: move; / optional styling */
}
.cytoscape-navigatorOverlay {
border: 1px solid gray; /* optional styling */
height: 100%;
width: 100%;
position: absolute;
}`
JS / TS files when instantiating the "navigator" extension on the cytoscape graph:
this.cy.navigator({ container: document.getElementById('cytoDivOverlay') }); // Initiate the navigator on the cytoDivOVerlay so that it is positioned accordingly
Note: I did encounter an issue with the aspect ratio when the natural height/width of the generated svg was not an exact square since the container has a 35% height and width in the CSS above. I was able to fix it by adding the following code right before the $img.css... section in the render function in the _updateThumbnailImage function. I am going to submit a PR for this a little later and see what Max thinks.
// Set the image height/width to the container height/width to preserve aspect ratio within its bounds       if( that.options.fitToContainer === true ){         img.width = Math.min(w, img.naturalWidth);         img.height = Math.min(h, img.naturalHeight);       }

This fixed my display issue, but still had an issue with the img (png) size that was not fixed by your comment. The resultant png would be too large, so the view would not properly show the entire graph.
I fixed it my adding the maxWidth and maxHeight options like;
var png = that.cy.png({
full: true,
scale: zoom,
maxHeight: h, // <--
maxWidth: w  // <--
});


How to use Amazon Lex with alexa skill app ?

Hi guys,
How to use Amazon Lex with Alexa skill app ?
I know it's very new and not a lot of people are using  but i just wanted to know possibility.
Thanks

Hey there! You can definitely use Amazon Lex with Alexa - we don't have any example code for that unfortunately, but there's no reason why you cannot leverage both in a skill.
Thanks for filing an issue - please be advised that we're no-longer providing support for this project and so instead, please check out the replacement Alexa Skills Kit SDK for Node.js:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
Also, we have a number of sample skills based on this newer SDK, under here:
https://github.com/alexa


Allow loading surface components in .leex files

Suggestion
Add a surface_component/3 function to enable loading components inside *.leex files

Is this issue will resolve #35 also?
If so I will close #35.

@mazz-seven I don't think so. You can leave it open for now.

I'll go ahead and pick this one up as first contribution if no one has started this

@paultannenbaum fantastic! Just to let you know, I haven't put a lot of thoughts on this one yet so I'm not even sure if it's possible to implement it without changes in phoenix itself. I have the feeling, it can't. So, in case you confirm that feeling, feel free to close this issue for now. We can come back to it in the future after we have the first stable release.

@msaraiva Just wanted to circle back that I did try implementing this, but didn't have too much luck. I think it is better to pause on this till #15 is completed, at which point this should be trivial to add in.

@paultannenbaum I agree. I'll close it for now.

Now that it looks like #15 has been implemented, is this going to be readdressed? I sure would love to be able to use these components in my .leex templates. 😁

Hey @jessejanderson!
There's a proposal for this feature https://github.com/msaraiva/surface/issues/109. We should start working on it soon.


Set response body for derived types

Overivew
This is a suggestion, not a bug. I can submit a PR one of these days,
Suggestion

Change Body to internal set/init for StringResponse and similar
Remove parameterized constructor
Change the if-else chain on ResponseBuilder:229 from

responseType == typeof(StringResponse)

to
typeof(StringResponse).IsAssignableFrom(responseType)

Version
Targeting 7.x branch
Thoughts
I know it's not a necessary change, because there are existing workarounds. The one I'm currently using is to derive from ElasticsearchResponseBase and define my own Property, which is deserialized from ResponseBodyInBytes in the getter. However, I think It would be better the Body is handled internally, since a child of StringResponse it's still a StringResponse, albeit a more derived one. And if you don't intend to let people derive from them, they should be defined as sealed IMO.
What do you think?

Hi, @achobanov.
For v8 we are moving this code into our transport library. We generally don't expect derived types from these special low-level response types. Sealing them is something we could consider but I'd need to review historic decisions and consider other use cases such as testing that might be impacted.
Are you looking to solve a problem (or enable a scenario) here, or simply clean up the code? You mention using a workaround, but I'm unsure why you need to do that?

@stevejgordon I think "clean up" is a good way to put it.  As of now I've derived from ElasticsearchResponseBase (the parent of StringResponse, in case I messed up the name) And I've defined my own property with a getter, which performs the deserialization.
I proposed it, because it makes sense theoretically and seems like a not-so-big a change. I've also never done open source contribution, so that's sort-of exciting as well :) It is certainly not an issue that needs fixing. I've also fixed the version to 7.13, because we're using AWS provider.

@achobanov I'm still curious why you need to derive from ElasticsearchResponseBase and manage deserialisation yourself?

Well, because it seems a good way to centralise the deserialization. I did use StringResponse's body to start with and deserialized in my service method, but since ElasticsearchLowLevelClient allows for custom responses (i.e. its constrained to an interface), why not make one that handles it instead?

Thanks for the reply. We'd recommend you return ByteResponse and do any deserialisation from there. Consumers being able to derive from any of these base or specialised response types is not intended behaviour. I am including this on a worklist we have for the Transport work for v8. I'm going to close this issue as we won't make this change for 7.x in this responsitory. Thanks for raising this though as it prompted me to revisit this area and will benefit the package going forward.


Registration Changeset

According to the docs it looks like there's several changeset options available based on different actions, however I can't figure out how to specify a changeset for the registration.
Here's my resolver which registers the user:
def register(_parent, params, %{context: %{conn: conn}}) do
  user_params = Map.put(params, :sign_in_count, 1)
  conn
  |> Pow.Plug.create_user(user_params)
  |> case do
    {:ok, user, conn} ->
      token = %{access_token: conn.private[:api_auth_token], renew_token: conn.private[:api_renew_token]}
      {:ok, %{token: token, user: Map.from_struct(user)}}
    {:error, changeset, _conn} ->
      {
        :error,
        message: "Could not create account",
        details: ChangesetErrors.error_details(changeset)
    }
  end
end

This passes through the default changeset function. How can I get this to pass through a specific register_changeset function instead?
I need to chain several other ecto jobs together to create the related tables and want to do this efficiently, which is why I want registration-specific changesets.

changeset/2 will be called for both create and update calls. You could add a custom context to override the behavior, but I would recommend that you just check if the user is new or persisted:
def changeset(user_or_changeset, attrs) do
  changeset = pow_changeset(user_or_changeset, attrs)

  case Ecto.get_meta(changeset.data, :state) do
    :built -> create_changeset(changeset, attrs)
    _any  -> update_changeset(changeset, attrs)
  end
end

In general ecto just works with the same changeset no matter state. If this isn't sufficient, can you explain a bit more about your setup. Do you chain ecto changesets together, or do you do several repo calls (e.g. as Ecto.Multi)?

@danschultzer this is perfect! Currently I'm chaining changesets together and I think this is exactly what I'm looking for.
Thank you so much for such a quick reply too. I've looked at many of your Github issues, and this is by far the best library support I've seen in a VERY long time!


Add support for pattern binding to function arguments

This PR adds support for pattern binding in function arguments.
Example:
#[memoize]
pub fn unpacked(_args @ (a, b): (usize, usize)) -> bool {
    println!("({}, {}) => {}", a, b, a == b);
    a == b
}

Is expanded to:
impl ::lazy_static::LazyStatic for MEMOIZED_MAPPING_UNPACKED {
    fn initialize(lazy: &Self) {
        let _ = &**lazy;
    }
}
pub fn memoized_original_unpacked(_args @ (a, b): (usize, usize)) -> bool {
    println!("({}, {}) => {}", a, b, a == b);
    a == b
}
pub fn unpacked(_args: (usize, usize)) -> bool {
    {
        let mut hm = &mut MEMOIZED_MAPPING_UNPACKED.lock().unwrap();
        if let Some(r) = hm.get(&(_args.clone())) {
            return r.clone();
        }
    }
    let r = memoized_original_unpacked(_args.clone());
    let mut hm = &mut MEMOIZED_MAPPING_UNPACKED.lock().unwrap();
    hm.insert((_args), r.clone());
    r
}

I don't think this breaks any previously supported syntax. I could be missing something though, let me know if you see any changes you want made.

This sounds good so far, would you mind extending or adding an example with this syntax? It can serve as unit test.

I've added in a patterns example

I've added in a patterns example


Usermanagement.json file missing

Hi. Love your work.
Could you please update the link for usermanagement.json. as its not located in the main branch niether in the readme link.
Thanks

Hello,
sorry for the late response, but I was infected with the SARS-CoV-2 virus and had to cure myself first.
Where did you find a link for usermanagement.json? There shouldn't be one, nowhere.
Or did you have s.th. else in mind?
With greetings from Germany,
Andreas Rozek

Hi @rozek  , same issue. UserManagement.json flow mentioned in README.md  is missing.
thx for your help,

Oh, I see: the flow itself got lost. Ok let me see where I can find a backup...

I've just uploaded the missing flow - thank you very much for your notice!

thanks @rozek !!


Server side async validation (How to pass a service to a validator)

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[X] support request

Took me a while to figure out how do it....and finally stumbled upon an example...
Creating a PR and closing it so that others that run into the issue can reference the old issue.
https://github.com/ngx-formly/ngx-formly/issues/1387
https://stackblitz.com/edit/angular-lievqm?file=src%2Fapp%2Fregistration.service.ts

Solved:
Via
https://github.com/ngx-formly/ngx-formly/issues/1387
https://stackblitz.com/edit/angular-lievqm?file=src%2Fapp%2Fregistration.service.ts


Displaying startup graphics earlier in boot sequence

http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/custom-boot-up-screen

This has been addressed in 928b78280bfad72745c78e4058333dc8067c1747, which will be included in the v1.2 image, which is going into pre-release testing next week.

Released in v1.2


The extension freezes if it cannot connect to a KERIA server

Currently, if a KERIA server, to which the extension has previously connected, becomes unavailable, then the extension completely freezes without any means for the user to interact with the extension.
I recommend adding a button to force disconnect so that the user can change the KERIA URL and reconnect to another KERIA server.

@HunnySajid can this be closed now?

@2byrds yes


chore(Python): add Rabin Karp algorithm

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[x] My submission has a proper and user-friendly description of the algorithm
[x] My submission has the time complexity of the algorithm
[x] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Added a new algorithm, Rabin-Karp pattern matching algorithm implemented in python
Other information:

Hi @kartiknad,
Any update?

Hi @kartiknad, Any update?

The suggested changes have been made


Sub-item bullets off

For some reason in the preview window, the sub-item bullets are off. The first bullet seems fine, but the first sub bullet seems to be a "o" character and a sub sub bullet is a spade. I'm not sure if this is intentional. If I export as HTML or print, it looks good, but export as PDF and the preview shows this.

HI @anthonyscorrea
Yeah, unfortunately that is a standard style for the current conversion and preview as well as HTML generation.
I didn't want to alter the general setting but allow to override the standard styles, why I added a Custom CSS option to the settings. You can add a custom CSS styling for the list for this purpose.
Check

http://stackoverflow.com/questions/12787342/nested-list-styling-how-to-separate-styles
http://stackoverflow.com/questions/5454392/use-css-to-alternate-ul-bullet-point-styles

to get an idea. You can add the suggestions to your Custom CSS option and style it accordingly to whatever you like best.
Cheers

There are still some issues with bullet lists (Latest version 0.8.1):

When I do that, all bullet list goes nuts:

Any idea?

Hi @RoyiAvital
Please refer to https://github.com/nea/MarkdownViewerPlusPlus/issues/47#issuecomment-370806212
Thanks


Getting Started Page Not Loading Properly and Create Application Button Not Visible When Switching Back from a Sub-Organization

Describe the issue:
When the admin user switches from a sub-organization back to the super organization, the Getting Started page fails to load properly initially. However, upon refreshing the page, all components are loaded correctly.
https://github.com/wso2/product-is/assets/41188245/ffd1640e-de55-44d0-9b60-b0d8a83ac14a
How to reproduce:

Create a sub Org.
Switch to the sub org
Then switch back to the super org
Find the Getting Started page is missing some components
Navigate to applications page Add application button will be also not visible.

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version:
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

This is fixed in the latest IS distribution
https://github.com/wso2/product-is/assets/35717390/50d58495-1920-4a1d-8cb0-8a57a33ce76f


Update README.md

fix: updated the local host with bind address

@googlebot I signed it!

/lgtm
/ok-to-test

/assign @Bobgy

/approve


[OTBN] Propose pre-dv approach for module-level testing

Hardware designers need a pre-DV setup to be able to test individual modules during the development of these blocks.
Goal: Discuss, propose and potentially prototype (if it helps to argue about it) a pre-DV approach for this purpose.
Disclaimer: This is about pre-DV, not the sign-off DV. The primary audience for this testing are RTL designers.
We have in the past discussed approaches like cocotb, Verilator/DPI, and others. This is the time if one of those options could be a good fit.

estimate 4

Done: presented a plan document in the silicon meeting and tried to notify anyone else who might have an opinion on this.


Cannot deploy libSkiaSharp to Windows Server 2012

I have uploaded my application using libSkiaSharp to a server running Windows Server 2012 and the application is showing error with the libSkiaSharp dll. I have tried using libSkiaSharp for win7-x64, x86, win10-64, 86. How do I deploy to this server?

This may be a number of things:

you do not have the msvc runtime installed
you did not place the libSkiaSharp.dll alongside the libSkiaSharp.dll (in the same directory)
the bit-ness was wrong

The first two will throw a DllNotFoundException and the third will throw BadImageFormatException.


Hamdi

Hi @Hamdi868 - did you miss a comment? I'll close this if you don't mind - please feel free to add a new issue (or re-open this one) - should you remember what you wanted to raise.


Collections sort by filter breaks when multiple options are selected

Guess this is the origin of - https://github.com/kodadot/stick/issues/263#issuecomment-2033965881

vikiival  I think this might be the problem, it's happening on canary

https://github.com/kodadot/nft-gallery/assets/44554284/d74f7ce1-bd51-43b5-98bf-d95e83d41be8
Originally posted by @hassnian in https://github.com/kodadot/nft-gallery/pull/9959#discussion_r1549361761

👋


Change keyboard toggle

Is there a way to toggle to different keyboard using the keyboard, like maybe through a hotkey?
I like to be able to easily toggle between tt9 and Google Keyboard. Holding the spacebar with Google Keyboard lets me go back to tt9 but no way to go back to google keyboard

No, there is no such functionality at the moment. Android usually provides a way of changing the keyboard, either using a small keyboard icon in the lower right corner, or from the notifications panel, so I haven't considered adding such an option.

Is it possible to suggest this feature in the future? The OS version I have doesn't have a keyboard icon, and the notification panel is often cluttered.
Pressing * brings up the app and the app already has a menu to change the keyboard. It would be a nice addition to have a hotkey pull up the change keyboard menu.

Yeah, I think this should be fairly easy to do.


[Doc] Clarify networking hardware requirements

Is your doc request related to a problem? Please describe or add related issue ID.
While reviewing https://github.com/harvester/harvester-installer/pull/653, @Vicente-Cheng pointed out:

Just would like to bring some points like the 2.5G NICs.
If we have 2 x 2.5G NICs, maybe it could be set up as a production environment in a specific configuration.

Our docs currently just say "1 Gbps Ethernet minimum for testing; 10Gbps Ethernet required for production", but as Vicente suggested, there's more than one way to get nice fast ethernet.
Describe the solution you'd like
We should clarify the network hardware requirements in more detail, and provide some specific example production configurations. I assume the "10Gbps for production requirement" is there as a simple statement because we need to think about handling lots of traffic - traffic to the Harvester GUI, traffic to/from/between VMs, Longhorn storage traffic (...and anything else?). But if you split that up a bit, maybe it would be fine to have - for example - a mixure of 1Gbps and 2.5Gbps NICs bonded for networks for different types of data (see the example configuration in https://docs.harvesterhci.io/v1.2/advanced/storagenetwork#different-physical-interfaces)
Once we figure the details of that out, we'll probably also need to tweak the wording in the network card speed preflight check.

Still relevant


Fix for JAVA-854 including test case

This PR is adding a test for the rather trivial to fix JAVA-854.
There are probably more places where an integration test for mixed protocol versions could be useful, but I started to write a test for TokenAwarePolicy as I wondered how it would deal with incompatible nodes.
Please note this PR depends on https://github.com/pcmanus/ccm/pull/345 to allow changing the version of individual nodes.

Regarding the test, we prefer having this as a dedicated test rather than doing it in a policy test, this will be addressed in a separate commit.


Allow push queue bucket size and max concurrent requests parameters

With this change we will allow, but ignore, the queue rate options for bucket size and maximum concurrent requests.
These options are expected to be commonly used and we should not require users remove them in order to deploy their application.
A related change will be made to appscale tools to warn users about the unsupported options.

Daily build no. 6161 (hawkeye test failure not related to changes)
Demo showing successfull deployment (with warning) of python/java applications:
#
# appscale status
----------------------------------------------------------------------------

AppScale is up. All 1 nodes are loaded

PROJECT ID         SERVICE ID    HTTP/HTTPS    APPSERVERS/PENDING    REQS. ENQUEUED/TOTAL    STATE
appscaledashboard  default       1080/1443     1/0                   0/3032                  Ready

View more about your AppScale deployment at http://<IP_ADDRESS>:1080/status
#
#
# cat guestbook/queue.yaml
queue:
- name: test
  bucket_size: 1
  max_concurrent_requests: 1
  rate: 0/s

#
#
# cat javabook/war/WEB-INF/queue.xml
<queue-entries>
  <queue>
    <name>test</name>
    <bucket-size>1</bucket-size>
    <max-concurrent-requests>1</max-concurrent-requests>
    <rate>0/s</rate>
  </queue>
</queue-entries>

#
#
# appscale deploy guestbook
Tarring application
Copying over application
Deploying service default for guestbook
Please wait for your app to start serving.
Your app can be reached at the following URL: http://<IP_ADDRESS>:8080
Updating indexes
Updating queues
Queue configuration uses unsupported rate options (bucket size or max concurrent requests)
#
#
# appscale deploy javabook/war
AppScale did not find the correct SDK jar versions in your app. The current supported SDK version is 1.8.4.
Tarring application
Copying over application
Deploying service default for javabook
Please wait for your app to start serving.
Your app can be reached at the following URL: http://<IP_ADDRESS>:8081
Updating indexes
Updating queues
Queue configuration uses unsupported rate options (bucket size or max concurrent requests)
#
#
# appscale status
----------------------------------------------------------------------------

AppScale is up. All 1 nodes are loaded

PROJECT ID         SERVICE ID    HTTP/HTTPS    APPSERVERS/PENDING    REQS. ENQUEUED/TOTAL    STATE
appscaledashboard  default       1080/1443     1/0                   0/24                    Ready
javabook           default       8081/4381     1/0                   0/0                     Ready
guestbook          default       8080/4380     1/0                   0/0                     Ready

View more about your AppScale deployment at http://<IP_ADDRESS>:1080/status
#
#

Note the Queue configuration uses unsupported rate options (bucket size or max concurrent requests) warning message which is shown in red text.


Needs old libraries?

I built it with Stack instead of Cabal. Stack seems to think it needs a really old resolver:
jeff@jbb-lenovo:~/code/datalog$ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- datalog.cabal

Selecting the best among 11 snapshots...

* Partially matches lts-9.9
    transformers version <IP_ADDRESS> found
        - datalog requires >=0.3 && <0.5
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches nightly-2017-10-21
    transformers version <IP_ADDRESS> found
        - datalog requires >=0.3 && <0.5
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches lts-8.24
    transformers version <IP_ADDRESS> found
        - datalog requires >=0.3 && <0.5
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches lts-7.24
    transformers version <IP_ADDRESS> found
        - datalog requires >=0.3 && <0.5
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches lts-6.35
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches lts-5.18
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Partially matches lts-4.2
    vector version <IP_ADDRESS> found
        - datalog requires >=0.9 && <0.11

* Matches lts-3.22

Selected resolver: lts-3.22
Initialising configuration using resolver: lts-3.22
Total number of user packages considered: 1
Writing configuration to file: stack.yaml
All done.
jeff@jbb-lenovo:~/code/datalog$

I would like to use it in a project with more recent dependencies. Is there a way?

Success! Thanks!


use sha3 with secp256k1 scheme

Description

Test Plan

Related Links

I accidentally override the test changes, @0xjinn will update with his local changes

Updated with the correct signature hex for sha3


James 3758 Endpoint to delete old emails from INBOXes

As discussed in the Jira ticket, this is my solution for deleting old emails form users INBOX. It can work in two ways:

Use Expires header in the stored mails:
POST http://ip:port/mailboxes?task=expireInboxes
Use age relative to time of invocation, e.g. all mails older than 30 days:
POST http://ip:port/mailboxes?task=expireInboxes&maxAge=30d

Optionally include &usersPerSecond=10 to control execution throttling.
To use variant 1, there is also a new "Expires" Mailet, which can add a default expires header, or enforce a min/max time bracket on an existing Expires header.
(Also includes a small fix to MessageSearches to respect the zone offset in a date-time value.)

As a first feedback the API could be maybe improved...
As a common practice we tend in the project to lean toward DELETE verb when deleting stuff, even when such deletion is done as a task. Maybe we could stick to this convention here too.
The entity that we delete are messages, not mailboxes. I would say that the fact that we iterate on mailboxes to actually delete messages is an implementation detail that maybe should not leak to the API.
Finally I am unhappy with the task name. I could hardly find a meaningfull task name. cleanup maybe. Or the concept of retention or purge. But maybe not even needing to name it would be better.
I think DELETE /messages?olderThan=30days / DELETE /messages?usingExpiresHeader might be cleaner.
BlobRoutes shows a related exemple of how to set up such a DELETE route without requiring task parameter.
For a deeper look, I will need to put together a review of this.

Failed tests looks related...
[org.apache.james.mailbox.store.search.SearchUtilsTest.testShouldMatchHeaderDateAfterWithOffset](https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-1004/1/testReport/junit/org.apache.james.mailbox.store.search/SearchUtilsTest/testShouldMatchHeaderDateAfterWithOffset/)
    [org.apache.james.mailbox.store.search.SearchUtilsTest.testShouldMatchHeaderDateBeforeWithOffset](https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-1004/1/testReport/junit/org.apache.james.mailbox.store.search/SearchUtilsTest/testShouldMatchHeaderDateBeforeWithOffset/)
    [org.apache.james.mailbox.store.search.SearchUtilsTest.testMatchHeaderDateOnWithOffset](https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-1004/1/testReport/junit/org.apache.james.mailbox.store.search/SearchUtilsTest/testMatchHeaderDateOnWithOffset/)

Could you have a look?

Thanks for the feedback. I don't mind changing the call to DELETE based on your suggestion, will take a look at the example.
The failed test is likely related to the MessageSearches patch, but maybe it is supposed to ignore the zone offset? I will check.

Checked SearchUtilsTest, turns out it actually was ignoring the zone offset: Mon, 26 Mar 2007 00:00:00 +0300 is NOT on 26 Mar 2007 in GMT, but three hours earlier and thus 25 Mar 2007. I changed it to Mon, 26 Mar 2007 03:00:00 +0300 which is 00:00:00 in GMT, seems to be what the test intended. As you said, Date/Time operations are always nasty.

Latest push fixes the issues discussed here so far. Invocation now is

DELETE /messages?byExpiresHeader
DELETE /messages?olderThan=30d

Still with optional &usersPerSecond=10
Let me know what you think. There is no documentation yet, if everything stays as is I will add it as a separate commit.

Latest push adds the missing test, allows using a different mailbox than INBOX, and adds Webadmin and Mailet documentation.

Latest push includes suggested fixes and rebased everything on top of current master.


Multiple issues with mx:Tree ( during dynamic updates with XML)

Attached is both a Flex reference example (which works) and the current royale emulation of the same, which demonstrates the issues.
Also see the commit discussion thread at: https://github.com/apache/royale-asjs/commit/acab343f73b939bb3b28a13f9142cba4f799104a
(It is currently possible to enter an infinite loop when opening nodes using the royale example)
Additional Info
I will continue to work on unit tests for XML.notification, I believe I was seeing a case in swf where instead of "nodeAdded" here (https://github.com/apache/royale-asjs/blob/649ab783845b4e371b34e182fb6fae5e2574cb1d/frameworks/projects/XML/src/main/royale/XML.as#L2911) it was sending "nodeChanged" instead. I do have a local unit test for this, but I will improve the accuracy of the unit testing as well, because the trackChanges stringification in the current version is less than adequate.
(separate folders in the zip file for flex and royale - each contains a single mxml Application file)
mxTree_Issue.zip

I have 'resolved' this issue locally and will work over the coming weekend to a) explain the issues and b) create a branch for others to test with if there is sufficient interest in doing that before merging. As part of the work on this, I figured out why there are certain cases of infinite loops in XML notifications, for example, and I will explain that.

@estanglerbm  in particular I would welcome your input on this if you are available/inclined to do so, as you pretty much kicked things off here... and I am not sure why you weren't seeing some of the issues I was seeing, because I assume you are using dynamic Tree stuff somewhere in your code. Hopefully you might have a chance to try the changes against whatever codebase you are working on and provide additional feedback.

Sorry, I will need a few more days before I can follow through on this. I suspect it will be the next weekend now.

I'll try to provide input.  I just noticed updates on this issue (not getting email about it for whatever reason).


[Test] Remove stdlib/NSStringAPI.swift and some supporting code.

This is testing the Foundation overlay, which is no longer part of the Swift project.

@swift-ci please test


[FEATURE REQUEST] Use a separate file to maintain the list of large datasets

Is your feature request related to a problem? Please describe.
Currently the list of large datasets that cannot be tested by GitHub actions is hard-coded in the test code.
https://github.com/Graph-Learning-Benchmarks/gli/blob/bae59ebb4b135b47925bd5109309655e8cefb30f/tests/test_data_loading.py#L20
Describe the solution you'd like
Use a separate yaml file (e.g., name it as /tests/config.yaml) to store such special accommodations.
Additional context
See also #256

Hi @StevenGolden1203, could you help on this issue?

Ok! I will work on this.


Added link to opensource Bash book

What does this PR do?
Add resource
For resources
Description
Added a link to a free opensource Introduction to Bash Scripting eBook
Why is this valuable (or not)?
Shell scripting is essential and this eBook gives a great starting point.
How do we know it's really free?
It is an opensource eBook available on GitHub. You can download the PDF version that comes in light and dark modes
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[ x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

Makrdown ?

Makrdown ?

Yes, is this a problem?
I see other books with the same description as well:

look at the spelling

look at the spelling

Seems like my dyslexia is kicked in there... Thanks for pointing that out! should be better now.

Thanks, and welcome to free-programming-books!
Thanks for making your book free! As it has an Open License, consider adding it to Unglue.it and Archive.org.
Have added suggestions on the repo.


_BK directory in reproducible build script should not be required

What are you trying to do? Run the reproducible comparison tooling in tooling/reproducible
Expected behaviour: Temporary directory _BK under the current working directory should not be left around. It's not completely clear why this is required separate from the _CP ones.
Observed behaviour: _BK location under the current directory is created and left around after the build. Also the login around it in https://github.com/adoptium/temurin-build/blob/62ecfbaeb60cbe5f4072bd81b8d4a3546625dcb2/tooling/reproducible/repro_compare.sh#L24 seems incorrect - JDK_DIR is not necessarily defined which causes the directory to be created as just _BK under the current location.
Any other comments: Related: https://github.com/adoptium/temurin-build/issues/4013

@sophia-guo Can you take a look at this so I can understand the impact if this _BK and the JDK_DIR references are removed? There is no JDK_DIR directory defined at this point so the script leaves you with _BK directories on the file system. It seems to have been introduced into repro_compare.sh in commit https://github.com/adoptium/temurin-build/commit/08621c72262ba260e4bb6451a9c75bf1c0ab365d#diff-baa6ea4d277f52c24e6205a75e767f1dae477d0054d8fba3550e3551a4ae3eb3R54 as part of https://github.com/adoptium/temurin-build/pull/3972
It looks like the related BK_JDK_DIR is only used in:
    removeSystemModulesHashBuilderParams "${JDK_DIR}" "${OS}" "${BK_JDK_DIR}"
    processModuleInfo "${JDK_DIR}" "${OS}" "${BK_JDK_DIR}"

Is the intended purpose of _BK different from _CP directory which is created elsewhere and can we re-use that instead?

No, _BK and _CP are created for same purpose to provide workable java or other jdk tools. Keep the  _BK ( BK_JDK_DIR should be ${JDK_DIR1}_BK)  one should be good I think.


Cluster infomation missing from project/node views in openshift details

Describe the bug
Cluster infomation missing from project/node views in openshift details
To Reproduce
Steps to reproduce the behavior:

Add/ingest openshift provider
Go to 'Openshift details'
Group cost by project or node
Expand a row in the list
See cluster information is blank

Expected behavior
If we show Cluster: we should have the relevant information listed.
Screenshots

Desktop (please complete the following information):

OS: Fedora
Browser: Firefox
Version: 70

Additional context
Testing against CI Beta

The cluster name appears to be missing from the APIs. I created an issue with koku instead
https://github.com/project-koku/koku/issues/1536


Matches page: Match id should be the first column

I (re)started using the site recently and I find the column ordering very misleading because I expected that clicking the hero name would navigate to the match details page, but its actually the match id that does it. I figured out that the column position is whats making it confusing to me. As this is the matches list, I think is kind of default behavior to have the link that carries you to the matches page first. I`m no UX expert, but  this is my gut feeling about it. What you guys think?
PS: site is much better than the first version I visted a while ago, and I saw some code and its actually great. Great job guys! Keep it up!

Sure, we can swap the match ID to the left.  @blukai any opinions?

I think that swapping columns may confuse a lot of users that accustomed to current order.
Probably to get out from this situation and not do worse, we can make clickable entire row.

Making the whole row a link might mitigate this. Highlighting the row and te matchId on hover.

By all means guys, if you mind hearing an advice, either a UX change is
beneficial in most aspects or is not a good change. If you believe changing
columns position might confuse user than this solution is probably sub
optimal. That being said, I believe the muscle memory for going on first or
last column to dig in item details is so strong a pattern that it would
make the transition close to effortless even for current users. Again, I
wish I could point studies and stuff to back up my opinions, but I can't.
AB testing or even watching people use the site to measure for missclicks
would help too, but objectively speaking it's a so minor so effortless
change that is easier to see it in action and get feedback right away...
Hope this helps 😅
PSA: I find myself too much invested in this narrative now and my opinions
might be extremely skewed
On Sat, Mar 4, 2017, 8:04 PM Faris Masad<EMAIL_ADDRESS>wrote:

Making the whole row a link might mitigate this. Highlighting the row and
te matchId on hover.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/odota/ui/issues/770#issuecomment-284191288, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtfvYLN5NX4ibq2TLO0bxBxI1qs5m44ks5rie3lgaJpZM4MTIqJ
.

Plan is to just make the hero name link go to the match, see #1167