text:
Expected memory requirements per feature vs speed and crazy log size

More a question or outline of what features require more memory vs speed.
Moving the question from #366 into an issue of it's own.
I might be expecting too much of goaccess and should really be switching to some log analysing tool driven by a DB like the ELK stack, but goaccess has been making useful reports for me for so long ... Plus making me look good!!
Trying to make a report for a month of traffic, I am looking at processing logs from six servers, each log for a day and compress at around 75MB per log, per day, per server ... 180 files at 9GB compressed, which hogs and kills the server at around 75% (guessing by number of requests average)

I'll gather some info on this and I'll post it here.
However, I just want to make sure that you are currently using the latest version v0.9.8. Especially since memory consumption improved by ~%44 and performance by ~37% since v0.9.5.

Also, feel free to try the on-disk storage, it will definitely consume much less memory at the price of speed.

Yip, using v0.9.8, as soon as it hit the repos ... It's was like Christmas early!! ;-)
Decompressed the logs, just to see how crazy I am trying to be, we looking at 90GB of logs to process with around 239,036,280 lines, or requests for the month.
Hoping to give on-disk storage a whirl when v1.0 is out, for now will just do weekly reports or limit what is useful in reports.

There are several components that can help reduce memory usage. As I mentioned before, if you have a dataset that won't fit in memory, it's probably best to use the on-disk storage. The cool thing of using the on-disk storage is that you can process logs incrementally and build a report out of all of the logs, regardless their size. Again, the drawback is that data has to be committed to disk, thus making parsing slower.
The default in-memory storage has great performance since it doesn't use (void*) to achieve generic typing, which cause great overhead for integers. There is room for improvement on how some of the data is currently stored, so going forward, I expect memory improvements on this storage.
Here are some tips that can help reduce memory consumption:

Depending on your log, the three request panels are probably the ones that consume the greatest amount of memory. GoAccess stores each unique request, either in memory or on disk. So if requests are timestamped or have unique identifiers within the query string, e.g., /api?q=test&session=d41d8cd98f00b204e9800998ecf8427e&foo=bar then it has to store all that data in order to display the relevant stats. So if you don't need the query string, you could save a lot of memory by stripping it off from the request using -q. Or if you want to keep it, but remove only the timestamped/uniqueid part, then you will need to do some preprocessing, e.g.,

cat access.log | sed 's/session=.*&//' | goaccess --log-format=COMBINED

Pass --std-geoip to use the standard GeoIP database and avoid loading the database into memory. The drawback is that it takes a bit longer to look up each record.

The use of -a increases memory usage. So if you don't need to show user-agents per host, then not using -a will definitely help.

The more panels or metrics you parse/display, the more memory will use. If you don't need certain panels, avoid parsing them. You can use --ignore-panel=<PANEL> to avoid parsing and storing data for it.

Hope that helps a bit :)

authors: LeeNX allinurl

repo: allinurl/goaccess


text:
Docker and real time reporting Fifo error with websocket-server

Hello,
I try to run the docker image. It does work fine in ncurse mode. However when i enable the Websocket server with --real-time-html  i got the following output with debug enable:
Unable to open fifo out: No such device or address.
WebSocket server ready to accept new client connections

From https://github.com/allinurl/goaccess/blob/master/config/goaccess.conf#L304
Both options mention fifo-in
# Path to read named pipe (FIFO).
#
#fifo-in /tmp/wspipein.fifo

# Path to write named pipe (FIFO).
#
#fifo-in /tmp/wspipeout.fifo

When doing a curl request i got HTTP/400:
< HTTP/1.1 400 Invalid Request

I try to run Docker with options --privileged but same result.
Thanks,

Thanks for reporting this. Can I ask you to please try to uncomment those two options in your config file and see if the output changes? Thanks.

I try with and without fifo-in and fifo-out as command line without any success.

I was playing with this but so far I've haven't been able to reproduce it. Assuming you used this build, are you running docker as root? If not, can I ask you to please check if you still get the same error running it as root.

That is correct, i am using your docker image with debug enable and SSL and GeoIP. Docker is running as root.
 git diff Dockerfile
diff --git a/Dockerfile b/Dockerfile
index cefa2ea..9637aca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,13 +4,13 @@ FROM alpine:edge
 COPY . /goaccess
 WORKDIR /goaccess

-ARG build_deps="build-base ncurses-dev autoconf automake git gettext-dev"
-ARG runtime_deps="tini ncurses libintl gettext "
+ARG build_deps="build-base ncurses-dev autoconf automake git gettext-dev libmaxminddb-dev openssl-dev"
+ARG runtime_deps="tini ncurses libintl gettext libmaxminddb openssl"

 RUN apk update && \
     apk add -u $runtime_deps $build_deps && \
     autoreconf -fiv && \
-    ./configure --enable-utf8 && \
+    ./configure --enable-utf8 --enable-geoip=mmdb --enable-debug --with-openssl && \
     make && \
     make install && \
     apk del $build_deps && \

Even with the message "Unable to open fifo out: No such device or address.", it is working fine in SSL and non SSL.
Unable to open fifo out: No such device or address.
==Using TLS/SSL==
WebSocket server ready to accept new client connections

What do you mean with 'it is working fine in SSL and non SSL."? Are you able to take docker out of the picture and run it directly from your machine? I'm just curious if the issue is the result of running it within docker. Thanks.

Any update on this?

Closing this. Quoting from your previous post it is working fine in SSL and non SSL. Feel free to reopen it if needed.

Just for the record, I just pushed a commit that should address Unable to open fifo out: No such device or address. using Docker.

source: gharchive/issue

authors: allinurl xbgmsharp

license: mit

license_type: permissive

license_source: bigquery


text:
Custom nginx log-format and GoAccess

log_format main
          '$time_iso8601|$http_x_forwarded_for|$http_host|$request|'
           '$status|$request_time|$body_bytes_sent|$http_referer|'
           '$upstream_addr|$upstream_response_time'

log sample
2017-09-19T00:00:04+08:00|192.168.0.9|192.168.0.85:8080|GET /UserSystem/ParkingLeaseInformation/v1_2/getParkingLeaseInformationBylicensePlateNumber.do?licensePlateNumber=%E4%BA%ACNE68N8&leaseParkId=476901 HTTP/1.0|200|0.026|686|-|192.168.0.141:8080|0.024

thank you

I see you have $http_x_forwarded_for in your second field, how are your IP delimited for that field?

This IP is real client IP, who call the api.

Assuming there's only one IP for that field, this should do it:
goaccess access.log --log-format="%dT%t+%^|%h|%v|%r|%s|%T|%b|%R|%^" --date-format=W3C --time-format=%T --ignore-panel=OS --ignore-panel=BROWSERS

O le, thank you!


text:
csdn极客头条最热榜那个单页是不是用react开发的？

csdn极客头条最热榜  网站地址：http://geek.csdn.net/hotest
我想开发一个类似的页面，用什么框架好呢？

不是 React 开发的。
不需要什么框架。只要监听滚到到底部时 ajax 请求数据插入页面就行。
可以使用 https://github.com/infinite-scroll/infinite-scroll 这个插件，也可以自己写。

谢兄弟

还有个textarea和select验证的问题想问：
我在官网http://amazeui.org/javascript/validator的 Tooltip的demo中增加了两个元素：
1、添加textarea，post时textarea能变红（说明验证起作用），但不显示错误提示信息。
2、添加select，post后没有任何反应（说明不起作用），已经添加required。
3、我在validator()里边添加了：validateOnSubmit: true, textareaMaxlenthKeyup: true
4、在$form.on里边添加了：'focusin focusout', '.am-form-error input', function(e)...
5、另外 form 里还有两个input text控件，都能正常被验证并显示错误提示。
我的问题是：如何让上面两个元素被validator验证并显示正确提示呢？
从什么地方入手呢？textarea,select
官网截图如下：

http://bin.amazeui.org/wenozu/edit?html,console,output  有问题都到 #754 说吧。

repo: allmobilize/amazeui

license_source: github-api


text:
CU-861n1dafm_oauthnew_Alok-Hom

fix

Task linked: CU-861n1dafm oauthnew

source: gharchive/pull-request

repo: alokhom/flux


text:
Initial yocto git based recipe

Added a base recipe that fetches latest version from git

Don't we also need layer.conf? I see many examples such as [1].
[1] https://github.com/wolfSSL/meta-wolfssl/blob/master/conf/layer.conf

I didn't yet add a layer. only a recipe so you don't see layer.conf.
Generally you don't create a layer for a single  simple. I can add one though for the sake of the example

I didn't yet add a layer. only a recipe so you don't see layer.conf. Generally you don't create a layer for a single simple. I can add one though for the sake of the example

yes, for the sake of example as I've done for the Gentoo, I think it will be great.

Layer is included

I also added bit of documentation and squashed it all.
Comment is here

I just wounder why all the examples and in core layer they are using ??= while we ?=...
For the layer.conf I ask what happens if I checkout the myencfs git repository directly as a layer, will bitbake will be able to use it directly?
For example in Gentoo there is no way to checkout the https://github.com/alonbl/myencfs git repos and use it as a repository as it must seek the metadata/layout.conf at the root, if not found it is not a repository. They should have added a way to look into a subdirectory...

authors: alonbl eli-zr

repo: alonbl/myencfs


text:
请问下程序编译报错

可能是需要这么写吧std::isnan

authors: alongL iamsee

license: MIT


text:
[Feature Request] 请为 usePagination hook 添加监听条件可以为 reactive 变量

你在什么情况下，需要这个功能解决什么问题？
在发起查询时候，往往存在多个查询条件。但 usePagination 的 watchingStates 似乎只能是 ref 的变量！
// 查询条件
  const conditions = reactive({
    days: "all",
    priority: "all",
    isFinished: "all",
  });

// 使用 alova 的分页请求策略
  const {
    loading,
    data,
    isLastPage,
    page,
    pageCount,
    total,
    insert,
    remove,
    refresh,
  } = usePagination(
    (page, pageSize) => listTodo(conditions, page, pageSize),
    {
      initialData: {
        total: 0,
        data: [],
      },
      initialPage: 1,
      initialPageSize: 3,
      data: r => r.query?.results,
      total: r => r.query?.count,
      watchingStates: [conditions], // 导致 ts 报错！
      append: true,
      debounce: 500,
    }
  );

你期望的 API 是什么样子的？
如上所述：希望 watchingStates 选择可以深度监听 reactive 变量，而不是只能 ref 变量。不然，条件少好说，多的话，就太麻烦了！

查看了一下源代码，貌似在代码里，的确是可以监听对象的！而且也是进行了深度监听！

但我写成监听对象就是TS报错了，是否只是类型推断出现错误！

已修复，更新@alova/scene-vue到v1.1.4

谢谢更新，问题解决了！

authors: JOU-amjs zengsun

repo: alovajs/alova


text:
咨询

请问基于什么数据库训练的模型，是中文的语音识别模型么？

这里还没有中国模特。 您可以使用http://openslr.org中的任何数据库 -  aishell，datatang等。

Same as https://github.com/alphacep/kaldi-android-demo/issues/2

authors: czqhubu nshmyrev

repo: alphacep/kaldi-android


text:
🔨  style++ & content++

🔨  style++ & content++

All is ok :) 👍🏻

repo: alphacoderz/devnotez


text:
Add a jenkins-schema.sh script for contract testing

This script will be used by the jenkins schema test job, which will be called as a downstream project for content schema tests:
https://ci.dev.publishing.service.gov.uk/job/govuk_content_tagger_schema_tests/

looks good, just needs the appropriate test updating to use the new script

authors: benhyland tijmenb

repo: alphagov/content-tagger


text:
Add pattern for instructions list

Add pattern for instructions list.  I am keeping this separate from the browse list pattern, as the browse list is navigational and would group better with other navigational patterns.
Currently fields within the instruction list which borrow from other patterns such as uploads and documents are being included using the with extension.  This extension has also been enabled for the frontend toolkit itself.  Ideally these patterns would be included as macros to allow greater flexibility.  However, as this would be a breaking change it is probably better to change these patterns into macros gradually and in a separate commit.
A download option has been added to the document pattern, to allow documents to be downloaded.
Lists have a "start" attribute included to allow them to be broken into sections and other components to be introduced between blocks of lists if required.  Lists also have a 'verbose' option for lists which contain sublists or a large amount of text and require more obvious headers and dividers to break up each item.
Ideally the lists CSS could be removed from the supplier app entirely, rather than being periodically removed and then re-introduced, and stored in the frontend toolkit instead.
Default List:

Verbose List:

When I do a make serve_pages locally the warning image is cropped - not sure if this is something I've done wrong locally though?

@TheDoubleK No it's a bug.  I pulled this in from elements.  However didn't notice it as I have a retina screen.  It's good you spotted it, I will open a pull request for that as well.

Nice - all looks good now :+1:

authors: TheDoubleK carolinegreen


text:
Bump utils to 6.7.1

Brings in the fix for a unicode error from the
process that generates a fingerprint for the
static asset files:
https://github.com/alphagov/digitalmarketplace-utils/pull/155

:+1:

authors: quis tombye


text:
Replace gem sass-rails with sassc-rails

This gem has been deprecated and the recommended replacement is the sassc-rails gem.
The new gem is a drop in replacement for the old one; we don't need to do anything else.
For context see https://github.com/rails/sass-rails/issues/420.
It seems v6 of the gem we are using will make it a wrapper for the other gem. We can upgrade already so there's no need to wait for this.
Trello: https://trello.com/c/hcmzrcot/772
Resolves https://github.com/alphagov/finder-frontend/issues/1124

Search page examples to sanity check:

http://finder-frontend-pr-1187.herokuapp.com/search/all
http://finder-frontend-pr-1187.herokuapp.com/search/research-and-statistics
http://finder-frontend-pr-1187.herokuapp.com/search/advanced?group=guidance_and_regulation&topic=%2Feducation
http://finder-frontend-pr-1187.herokuapp.com/drug-device-alerts
http://finder-frontend-pr-1187.herokuapp.com/find-eu-exit-guidance-business

Other finders

@bilbof did you know @injms already tried to do this? https://github.com/alphagov/finder-frontend/pull/1132

Thanks, @andysellick! Ian is on it!

@bilbof I didn't mean you had to abandon this PR - Ian ran into issues trying to do this, I was hoping the two of you could compare notes and find a solution?

authors: andysellick bilbof

repo: alphagov/finder-frontend


text:
Add journey validation

Add journey validation
Previously the runner only validated individual pages in isolation. Nothing prevented skipping ahead pages of missing parts of the form out when they submit it.
I've changed the testing and layout of the project in order to make sure the user can only visit pages in the order they have been designed.
What problem does the pull request solve?
Checklist

[x] I've used the pull request template
[x] I've linked this PR to the relevant issue (if mission work)
[x] I've written unit tests for these changes (if code change)
[x] I've updated the documentation in (If any documentation requires updating)

[ ] README.md
[ ] Elsewhere (please link)

Nice one! Especially like way you implemented the slug bits.
This will cause some conflicts with my anlytics branch but that's fine - feels like it'll be lot easier to resolve on my branch so we should merge this one first.

Yeah - sorry I think it needed reorganising but I will avoid long living branches and big changes in the future. I am happy to change the analytics branch if that helps.

Nah it's not a problem, and not your fault - was always going to be a conflict I think, and should be a manageable one.

authors: DavidBiddle thomasiles

repo: alphagov/forms-runner


text:
Rails 5 support

Adds Rails 5 support. Everything was straight forward enough, except for some special consideration around f1b4ebb.
Best reviewed per commit. Ref #103.
cc @boffbowsh

Thanks for your work on this so far. I think we'll want to have a go at a solution to the capybara/mechanize issue before merging though. I'll try and find time v soon.

Does https://github.com/alphagov/gds-sso/commit/c6ec519b0b3fa60eb4bfe0d564d04b9bdec458b3 address the problem do you think?

@boffbowsh 👍 🚢

Can you cherry-pick that onto your branch please and push it?

@boffbowsh Done.

The test failure is:
+ RBENV_VERSION=2.3
+ BUNDLE_PATH=/home/jenkins/bundles/govuk_gds_sso_branches
+ BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
+ bundle exec rake
<snip>
Gem::LoadError: You have already activated bundler 1.10.6, but your Gemfile requires bundler 1.12.5. Prepending `bundle exec` to your command may solve this.
  /usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup'
  /usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `map'
  /usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `setup'
  /usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
  /usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `<top (required)>'
  /usr/lib/rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  /usr/lib/rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
bundler: failed to load command: rake (/home/jenkins/workspace/govuk_gds_sso_branches/tmp/signonotron2_bundle/ruby/2.2.0/bin/rake)

I've had a quick look but can't make it fail locally, and can't see anything obvious. Full log is here: https://gist.github.com/boffbowsh/779b47950cac48912cd3ab91c4276cc9

If you get no luck making it work, let me know and I'll find more time to look at it at some point.

@boffbowsh Signon's Ruby is pinned at 2.2.3 and BUNDLED_WITH 1.10.6 which I assume is that Ruby's default bundler you folks have configured? I'm pretty sure bumping Signon's Ruby to 2.3.1 (and therefore its bundler) would resolve this. PR incoming.

The signon branch is failing with the same error :(

Hmm. I guess your 2.3.1 is hosed? Travelling for the next few days but I'll try and sneak a look if I get a moment.

Rebased after #108 ❤

Needs another rebased and conflict resolution

@boffbowsh Done.

authors: benlovell boffbowsh

repo: alphagov/gds-sso


text:
Update docs

I wrote some bash that is a script we can use to occasionally update docs when
we get the urge.

I rebased and fixed one of the docs

repo: alphagov/govuk-aws


text:
Move proposal verdicts into the documents themselves

We want to make sure the documents stored in Git have the reasoning why something has been accepted / rejected for future history as Github comments could get lost.
Also update the documentation and templates to encourage this.

Close in favour of #13


text:
There is no code example for inline bold text

Related documentation
https://design-system.service.gov.uk/styles/typography/#bold-text
Suggestion
The guidance itself uses <strong> but this is not explicitly mentioned, and there is no example code.
In addition we've had an enquiry about the accessibility of this guidance. My understanding is bold/strong styling is available to screen reader users but is not announced by default.

https://brucelawson.co.uk/2018/screenreader-support-for-text-level-semantics/

repo: alphagov/govuk-design-system


text:
Hide Nunjucks tab for ‘captions’ example

The captions example does not use Nunjucks, so it does not make sense to show it for this example.

You can preview this change here:
Built with commit 648b83e7e0db79512e1361828877de8c0fe6dcb4
https://deploy-preview-284--govuk-design-system-preview.netlify.com


text:
Router API cannot connect to Mongo 2.6

We've encountered a chaining problem when looking into how publishing-api tries to put things onto the rabbitMQ, which we've traced:
Publishing API -> Content Store -> Router API -> Router
The problem seems to be that router-api cannot find a server:
To replicate:
➜  router-api git:(main) govuk-docker-run bundle exec rails c
docker-compose -f [...] run router-api-lite bundle exec rails c
Creating govuk-docker_router-api-lite_run ... done
Loading development environment (Rails 6.0.3.7)
irb(main):001:0> Route.count
Traceback (most recent call last):
        1: from (irb):1
Mongo::Error::NoServerAvailable (No primary server is available in cluster: #<Cluster topology=Unknown[mongo-2.6:27017] servers=[#<Server address=mongo-2.6:27017 GHOST>]> with timeout=30, LT=0.015)

The mongo container does run, and you can watch logs though it is in a big loop of opening and closing connections punctuated by the following failry suspect message:
2021-12-03T16:06:57.809+0000 [rsStart] warning: getaddrinfo("48703775aaf0") failed: Name or service not known
2021-12-03T16:06:57.846+0000 [rsStart] getaddrinfo("48703775aaf0") failed: Name or service not known
2021-12-03T16:06:57.846+0000 [rsStart] replSet info Couldn't load config yet. Sleeping 20sec and will try again.

@kevindew spotted that if we comment out this line things start working again.
That seems to have been introduced during work to to resolve differences in how rs.status responds between mongo v.2.6 (which router runs in prod) and more modern versions.
https://github.com/alphagov/govuk-docker/pull/499
This may have been an attempt to resolve this issue: https://github.com/alphagov/router/issues/210
Question to answer: what was L46 trying to resolve? Does it still serve that purpose? Can we replace it with something doesn't block local dev, or remove it altogether?

L46 is necessary as we have been running MongoDB as a replica set since around April 2021, in order to enable the app to be replatformed. Previously, Router API knew about all running Router instances and would, upon a request to update a route, update said route and then call the /reload endpoint on each and every Router instance in order to ensure each instance's routes were up-to-date.
Replatforming changed this behaviour so that instead of Router API needing to know about individual Router instances (hardcoded instances, which was not translatable into the Kubernetes world into which we're now moving), Router instances would instead poll MongoDB for any new changes every few seconds; the way that we enabled this was through the use of a replica set and the db.stats() method to determine whether an instance has an up-to-date copy of the current routes from MongoDB by comparing the current optime to it's cached optime and reloading if changes have occurred.

repo: alphagov/govuk-docker


text:
WCAG 2.2 content update: Footer || Consistent Help

What
Add content to the Footer component page, instructing that any 'help' content or links in a footer need to be consistently located.
Basically, if there's a 'Help' link or any other type of help mechanism linked to or present in the footer, it needs to be consistently located, as in:

Shows up in a consistent order/location in  the footer.
Consistently is listed in the footer across pages of a service where the help mechanism or link is applicable and usable.

Resources

Footer component
WCAG 2.2 criterion

Why
Summarised rom WCAG 2.2: If a web page contains a help mechanism or a link to a help mechanism, that mechanism or link must occur in the same relative order to other page content, unless a change is initiated by the user.
In this case, we have a 'link to a help mechanism' in the form of the 'Help' link. This can be seen in the code example for the 'Footer with links and secondary navigation' section.
We need to specify that:

In general any help mechanisms or links to help mechanisms present in the footer need to be consistently located
Specifically, this applies to our example of the 'Help' link.

Who needs to work on this
Content designers (support from accessibility specialist)
Who needs to review this
Accessibility specialist, and one other
Done when

[ ] New guidance is drafted
[ ] Guidance is reviewed (by accessibility specialists, either inside or outside the team)
[ ] Guidance is merged

As this issue relates to guidance changes, should this issue be moved over to govuk-design-system repo?

authors: davidc-gds querkmachine

repo: alphagov/govuk-frontend


text:
"Warning: no department given" when running with rubocop 0.75.0

We use this gem by including the following lines at the head of our .rubocop.yml:
inherit_gem:
  govuk-lint: configs/rubocop/all.yml

We just upgraded to rubocop v0.75.0, which has just been released. Running bundle exec rubocop now produces many screenfuls of warnings like this before the (correct) linter output.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for BlockAlignment.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for CaseIndentation.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for ElseLayout.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for EmptyLineBetweenDefs.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for EmptyLines.
/Users/user/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/govuk-lint-4.0.0/configs/rubocop/gds-ruby-styleguide.yml: Warning: no department given for EndAlignment.

<snip ~160 more lines>

I think it's complaining that many of the cop configurations in govuk-lint aren't fully-qualified with respect to "department", ie Metrics, Lint, etc. For instance, editing the configs/rubocop/gds-ruby-styleguide.yml to add Layout in front of BlockAlignment makes the first warning in the above list disappear.
It's not clear from the rubocop changelog what caused this.

Hi @duncanjbrown, thanks for raising this issue.
We've been seeing this with that version of Rubocop.
Thanks for the pointer towards a fix - I'm working on doing the same for all our cops now.

We've just released govuk-lint 4.0.1, now available on RubyGems, with the fix for this issue. Thanks!

Thank you!

repo: alphagov/govuk-lint


text:
Run CPM migrations after data sync

We sync the staging databases to integration every night. When a migration has run on integration but not production, this sometimes causes the application to error if it relies on the migrations being run.

Cool, thanks for this @tijmenb :)

authors: cbaines tijmenb

repo: alphagov/govuk-puppet


text:
Remove unused mongodb-backup code

This repo is now deprecated and this resource is now managed using code in the
govuk-aws repo.
Specifically, govuk-aws/terraform/projects/infra-mongodb-backup.

Code seems to live in https://github.com/alphagov/govuk-aws/blob/master/terraform/projects/infra-mongodb-backup/main.tf

authors: deanwilson jstandring-gds

repo: alphagov/govuk-terraform-provisioning


text:
Remove Travis configuration

We are unlikely to do another release from this repo, and we don't want to have to keep a load of secrets in Travis just in case we did want to.
This PR removes all the Travis configuration, and updates the CONTRIBUTING file to outline how to do a release without Travis.
It also adds a simple PR check using GitHub Actions, just in case.

I have disabled GitHub Actions in this repo until we work out what to do with this – if we pick this work back up we should re-enable Actions whilst ensuring that we're following best practises.


text:
Broken Selenium test with new radio/checkbox styles

We've spent 2 days trying to figure out why our Selenium tests suddenly stopped working when updating to the new radio/checkbox styles.
I thought I'd open this issue to potentially save others with the same problem, and hopefully discuss what the best solution is.
Previously the test looked for input elements with a specific ID in order to click them. The new styles are physically hiding the input element (with opacity) in favour of the pseudo checkbox/radio control, and this prevents the Selenium tests from being able to click them. We are currently looking at the best way to fix this without having to completely re-write our tests - if anyone has any insight it would be much appreciated.
Thanks

Hi Ed,
Thanks for raising this.

When I upgraded Verify I had to add allow_label_click to get it to pass. That’s obviously a Capybara thing, but it’s possible to drive Selenium to do the same thing. Are you using a runner for Selenium?

There are definitely ways to overcome the issue, but they all mostly involve re-writing the tests, for example to click the label instead of the input, which was something we were hoping to avoid, as we have a lot of radios and checkboxes.

Something else worth noting is that if the label contains a link and we tell Selenium to click the label, this will trigger a click of the link, which may not be what we want, as in this case where we want to check its corresponding input, which is why we were originally clicking the inputs and not the labels in the first place.

The creative way we came up with to quickly solve this problem was in the short term was to inject a script when Selenium runs which finds all radios/checkboxes and sets their opacity to 1.

That’s what Digital Marketplace settled on in the end, and I believe DWP (via @adamsilver) have done the same.
I guess it might be worth experimenting in the future in setting the checkboxes / radios to opacity: 0.01 or something – low enough to not be visible in any situation but potentially enough for Selenium? Or document that as users are actually clicking on the labels that Selenium clicks should trigger a click event against the label too.

@robinwhittleton that's not a bad idea, worth a try!

@robinwhittleton we are waiting for the no-javascript version before attempting to run that solution.
For me, a Selenium test should test how users actually use the UI. In this case they will be interacting with the label and so tests in fact should change to accommodate this behaviour.
Interestingly, clicking the label (even if the radio button or checkbox was a native one, and not hidden), should be tested anyway, and by not testing this (for any form control for that matter) is a gap in coverage. A small gap, but a gap nonetheless.

authors: adamsilver esr360 nickcolley robinwhittleton venkiteelay


text:
Bump to 21.0.0

This is a breaking change for guides in government-frontend.  The FAQ schema is not used anywhere else yet.

@sihugh so this is a breaking change, but only for government-frontend? All other apps are safe to upgrade?

@andysellick yes, that's right.  I'm not sure if you're being sarcastic or if I just wasn't clear 🙈

@sihugh no, sorry, just wanted to be clear before I hit the approve button - if it was a breaking change for everything then we'd need to immediately start fighting dependabot battles :)

authors: andysellick sihugh


text:
[#158525694] Add a script for reporting org usage

What
The intention of this script is to provide a CSV output for analysing
whether some orgs are unused and can be deleted.
Example usage:
cf login ...
./scripts/org-usage-report.sh
How to review
This is the minimum scripting required to deliver the required information. In my opinion, the review should only be concerned with making sure the information is mostly accurate. There is little need for precision, because the output of this script is just advising us which orgs we should think about decommissioning.
Note: continuous-smoke-tests result in orgs, spaces, and apps disappeared during script execution, which occassionally creates erroneous data.
Who can review
Anyone but me or @LeePorte

I get a bunch of jq: error (at <stdin>:1): Cannot iterate over null (null) errors when running this but it appears(?) as though you still get the correct results if you 2>/dev/null. Is this expected?
$ jq --version
jq-1.5
$ cf --version
cf version 6.37.0+a40009753.2018-05-25

@samcrang

I get a bunch of jq: error (at :1): Cannot iterate over null (null) errors when running this but it appears(?) as though you still get the correct results if you 2>/dev/null. Is this expected?

I didn't investigate fully, but I am pretty sure it was the result of orgs, spaces, apps et cetera disappearing due to continuously running smoke tests. If the data is correct I don't really care.

I didn't investigate fully, but I think it was the result of orgs, spaces, apps et cetera disappearing due to continuously running smoke tests.

Is it worth adding some exceptions to skip the smoke/acceptance test orgs?

@alext

Is it worth adding some exceptions to skip the smoke/acceptance test orgs?

Possibly. I was conscious of how much time I was spending on this. The error output doesn't seem to affect the data produced, so the script has already delivered its value.

Imma just merge it—we can deal with making it betterer another time.

authors: alext henrytk samcrang

repo: alphagov/paas-cf


text:
[#140832481] Update the product page route

What
We're renaming the application we're hosting. In order to ensure, it shan't go down, we'll deploy it under a new name and route.
The old application will be deleted, upon merging of this commit, therefore we need to ensure CloudFront will be reading from a new route straight away.
How to review
Sanity check should be sufficient enough.
Make sure, this is deployed AFTER the new application is up and running.
Who can review
Anyone but myself.

The old application will be deleted, upon merging of this commit, therefore we need to ensure CloudFront will be reading from a new route straight away.

Am I right in thinking that this instruction has changed since the PR was first opened, because we're now deploying another app in parallel? Two further questions if so..

Should I delete the old govuk-paas app after this is deployed?
Will requests for paas-roadmap be served to both the new and old apps up until the old app is deleted?

It may be me trying to hard...
So, by the time you'll come to this PR, the new application route should be up and running. If by a slight chance, this PR gets merged and deployed on production, CloudFront may want to access the new URL which doesn't yet exist, causing itself to cache the 404 page.
The old application, should be deleted when we're sure, that the CloudFront is now reading from a new URL.

Will requests for paas-roadmap be served to both the new and old apps up until the old app is deleted?

Most likely, CF will throw an exception, saying that the route is already in use. To avoid that, we'll need to remove this route (paas-roadmap) from the old app before the new one will get pushed. Not ideal, but I'm not sure, where and how is this route even used.

Both apps have the same route in my dev environment:
paas-product-page   started           2/2         64M      1G     paas-roadmap.dcarley.dev.cloudpipelineapps.digital, paas-product-page.dcarley.dev.cloudpipelineapps.digital
govuk-paas          started           2/2         64M      1G     govuk-paas.dcarley.dev.cloudpipelineapps.digital, paas-roadmap.dcarley.dev.cloudpipelineapps.digital

I think CF will distribute traffic evenly between them until the old app is deleted. It's essentially the same trick that the blue-green plugin uses. So it should be fine.
The reason for the route is described in alphagov/paas-product-page@9b57c6d6a5a0fce83c9b59ba93ea617f0a8f4117

The new app is deployed. I'm happy that it seems to be working:
➜  paas-cf git:(master) ✗ curlh https://paas-roadmap.cloudapps.digital
HTTP/1.1 301 Moved Permanently
Content-Length: 178
Content-Type: text/html
Date: Wed, 29 Mar 2017 13:40:04 GMT
Location: https://www.cloud.service.gov.uk/roadmap.html
Server: nginx
X-Vcap-Request-Id: f32409a8-2a48-4e91-5fe1-711d389b7267
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

➜  paas-cf git:(master) ✗ curlh https://paas-product-page.cloudapps.digital
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 11504
Content-Type: text/html; charset=utf-8
Date: Wed, 29 Mar 2017 13:40:09 GMT
Etag: "58dbb888-2cf0"
Last-Modified: Wed, 29 Mar 2017 13:37:12 GMT
Server: nginx
Vary: Accept-Encoding
X-Vcap-Request-Id: 599d659e-5225-4af3-72c4-d9c2ecd97ffa
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Requests were served by the new app:
➜  paas-cf git:(master) ✗ cf logs paas-product-page
Connected, tailing logs for app paas-product-page in org govuk-paas / space docs as dan.carley@digital.cabinet-office.gov.uk...

2017-03-29T14:40:04.51+0100 [RTR/1]      OUT paas-roadmap.cloudapps.digital - [2017-03-29T13:40:04.516+0000] "GET / HTTP/1.1" 301 0 178 "-" "curl/7.43.0" "127.0.0.1:53016" "10.0.34.8:62158" x_forwarded_for:"80.194.77.100, 127.0.0.1" x_forwarded_proto:"https" vcap_request_id:"f32409a8-2a48-4e91-5fe1-711d389b7267" response_time:0.001678321 app_id:"8e7f45da-4fae-46d0-88e5-a81dee677527" app_index:"0"
2017-03-29T14:40:09.99+0100 [RTR/1]      OUT paas-product-page.cloudapps.digital - [2017-03-29T13:40:09.989+0000] "GET / HTTP/1.1" 200 0 11504 "-" "curl/7.43.0" "127.0.0.1:53274" "10.0.32.8:62579" x_forwarded_for:"80.194.77.100, 127.0.0.1" x_forwarded_proto:"https" vcap_request_id:"599d659e-5225-4af3-72c4-d9c2ecd97ffa" response_time:0.002188874 app_id:"8e7f45da-4fae-46d0-88e5-a81dee677527" app_index:"1"

I realised that this doesn't deploy automatically. So I've run:
make prod setup_cdn_instances ACTION=plan
…
make prod setup_cdn_instances ACTION=apply

I then verified that the old app wasn't receiving any traffic with cf logs and deleted it:
➜  paas-cf git:(master) ✗ cf delete govuk-paas

Really delete the app govuk-paas?> yes
Deleting app govuk-paas in org govuk-paas / space docs as dan.carley@digital.cabinet-office.gov.uk...
OK

I deleted the orphaned route separately, because cf delete govuk-paas -f would have removed the govuk-roadmap route from the new app:
➜  paas-cf git:(master) ✗ cf delete-route cloudapps.digital --hostname govuk-paas -f
Deleting route govuk-paas.cloudapps.digital...
OK

authors: dcarley paroxp


text:
PP-9785 Do not throw exceptions for Worldpay order not found query response

WHAT

Worldpay connection timed out payments end up in authorisation error states and the requests may never have reached Worldpay. When various tasks (gateway cleanup sweep, discrepancy checker) query Worldpay for the transaction, an error response is returned with code 5 and the message Could not find payment for order.
Currently, WebApplicationException is thrown by the Worldpay query payment method and is causing 500 errors for the discrepancy checker. Gateway cleanup service catches exceptions and continues onto the next payment (without updating charge status). So auth errored charges (for which is there is no Worldpay order) are being retried continuously and new charges are not being cleaned up (as the gateway clean service is attempting to query the same charges for every invoke and also has a limit of 100 charges)
So returning ChargeQueryResponse when Worldpay returns Could not find payment for order error.

The discrepancy checker will return the message and is displayed in Toolbox
Gateway cleanup service will update charge status to AUTHORISATION_ERROR_CHARGE_MISSING (which will be expunged by connector)

What happens when Worldpay’s order inquiry endpoint is down (which happens quite often)? In those cases retrying again later can actually be useful.

Yeah, I agree it’s a bigger piece of work. I can’t remember what the standard failure mode is for when the order inquiry endpoint is down — does it do something different to claiming it can’t find the order?

I see error code: 8, error: Order inquiries have been disabled for all merchants in the logs for the maintenance window  12 August 2021 18:00 (UTC) - 21:00 (UTC).
This lines up with Worldpay docs https://developer.worldpay.com/docs/wpg/troubleshoot

Error code no.
Error type
Comments

8
Service not available.
The service is currently unavailable.

OK, cool, so this is sufficiently narrowly-targeted.

repo: alphagov/pay-connector


text:
Improve logging on failed emails

WHAT YOU DID
When sending emails via adminusers, ensure we log any failures with enough information to diagnose the problem.
Log nothing on success.
Also, rename tests which spin up postgres so that they run during the integration test phase of maven, not the unit test phase.
How to test
Does this look robust enough? Could it reveal any sensitive information into the logs?
Code review checklist
Logging

[ ] only emit log lines at ERROR level which require immediate attention from a support engineer. These will trigger a zendesk alert.

Documentation

[ ] Updated README.md for any of the following ?

Introduced any new environment variables / removed existing environment variable
Added new API / updated existing API definition

Decided exception behaviour needs to be kept as-is

authors: RoryMalcolm rhowe-gds

repo: alphagov/pay-direct-debit-connector


text:
PP-5015 throw error for missing translation

Sister of this PR https://github.com/alphagov/pay-frontend/pull/752
i18n’s built in translation function __() returns the key
if it can’t find a translation. This is problematic as we show
something gross like 'cardDetails.title' to the user.
So this is a custom function that will check that the string
doesn’t equal the key. And if it does throw an error so the
template fails to render but with a nice helpful error message.
The error looks like this:

Which is how all the other Nunjucks errors look and it would mean you could never get your PR through tests

CI broke so didn’t know about the PR so I had to force push to get it to see it and run tests

repo: alphagov/pay-products-ui


text:
Remove do_request test indirection

https://trello.com/c/wPJLHjWb/400-reduce-test-suite-indirection-by-inlining-do-request
Unpicks some of the indirection in the test suite coming from the do_request method and other dependent request helper methods.

:tada: :+1: :100: :zap: :boom:

authors: steventux tuzz

repo: alphagov/publishing-api


text:
Action buttons. Action buttons everywhere

Duplicate all guide action buttons at the bottom of the page.
As per design suggestions - this should make it easier for the users to find
action buttons regardless of where they are on the page.

Many tests broke because button matchers became ambiguous with two of each
button visible on the page. I've written a helper that allows to click the
first visible button.

Looks good

authors: AndrewVos tadast

repo: alphagov/service-manual-publisher


text:
Update client apps when user's name changes

Trello - https://trello.com/c/2t9zx0Aq
Prior to https://github.com/alphagov/signon/pull/2497 changing a user's name in Signon would queue a job to push that update out to the applications the user has access to. This PR reinstates the previous behaviour by using UserUpdate in Users::NamesController#update, which in turn uses PermissionUpdater to push updates to the user's apps.
I can't find any documentation that describes the changes that result in push updates to a user's applications, but as far as I can see, changing a user's name has resulted in a push update since the relevant functionality was added to Signon and gds-sso in 2012 so it seems reasonable that we retain this behaviour.
I've also added a test to ensure we continue to push email updates out to a user's applications.

Thanks, @floehopper! :+1:

repo: alphagov/signon


text:
Confirmation messages page - doesn't match prototype

The prototype has been updated for this page, new title is "How should we send your confirmation messages?"

Field labels should be "Email address" and "Mobile phone number" (not "Please enter your email address"). This reflects GDS user research.

updated

to be updated

@GWSunderland @EUzkuraityte Perfect, thank you for the update.

authors: GWSunderland lizziebruce

repo: alphagov/verify-local-patterns


text:
Add icon for Instagram Social Media accounts

Migrate all "Other" Social Media accounts entitled "Instagram" to use the new icon
/cc @tommyp

For reference, I worked on this but the stylesheet wasn't updating. :+1:

Weird, worked without issue for me.

authors: boffbowsh tommyp

repo: alphagov/whitehall


text:
Adding Support for Other Filing Types

Working on #87
So far:

Abstracted top section data class
Abstracted top section manager
Updated 10Q section list
Created 10K section list
Updated 10Q top section manager
Created 10K top section manager
Updated existing and dependencies, etc

To do:

Much more test coverage
Add tests for 10-K
Verify everything works
Double check that empty part names are not an issue

Completed:

Verified everything works
Double checked that empty part names are not an issue
Verified existing 10-Q implementation is effectively unchanged
Fixed formatting issues
updated 10-k parts to match sec standard: https://www.sec.gov/files/form10-k.pdf
Exposed Edgar10KParser to package
Updated part and item matching to support extended range found in files besides 10-Q

To-Do:

Add tests for 10-K

To-Do:

Add tests for 10-K

This kinda falls under #67 and #48 as both still apply, just need to expand the same to 10-Ks
The only thing I can think of from here is that Edgar10QParser and Edgar10KParser are currently duplicated code. assuming all files will follow the same steps, I could abstract it out in a similar to how I did TopSectionManager (but do we even want to do this?

Hi @akaashdash, thanks for the amazing work! 🚀⚡
I have a couple of questions:

In the latest commit, are the outputs of Edgar10KParser and Edgar10QParser essentially same?
Are you testing your code with some set of 10-K filings?

Hi @akaashdash, thanks for the amazing work! 🚀⚡
I have a couple of questions:

In the latest commit, are the outputs of Edgar10KParser and Edgar10QParser essentially same?
Are you testing your code with some set of 10-K filings? And is the unit tests accuracy of 10-Q filings same as it was before the new changes?

Edgar10KParser and Edgar10QParser are the same except one uses TopSectionManagerFor10K and the other uses TopSectionManagerFor10Q. At its core, both TopSectionManagers use the same code, just the list of headings is changed. Therefore, both will have the same output when ran on their respective filings. However, using a 10Q on the 10K parser or a 10K on a 10Q parser will still error out, but this is expected behavior as this is also how it was before my changes.

Hi @akaashdash, thanks for the amazing work! 🚀⚡
I have a couple of questions:

In the latest commit, are the outputs of Edgar10KParser and Edgar10QParser essentially same?
Are you testing your code with some set of 10-K filings? And is the unit tests accuracy of 10-Q filings same as it was before the new changes?

I forgot to answer the second part sorry. I was testing my code manually, but unit tests for 10Ks need to be added. Not sure how to do it without breaking existing tests, some help on this would be appreciated.
All tests for 10Q have the exact same results as before, no changes on that front.

Hi @akaashdashm thanks for the answering the questions. I would strongly recommend writing tests for 10-K parser like we did for 10-Q parser as we need to cover extremely large number of filings / edge cases.

.. Not sure how to do it without breaking existing tests, some help on this would be appreciated.

Please go through Discussion 48 to understand how we have setup tests for 10-Q (or parsing test in general). Let me know if something doesn't make sense!

Completed:

Added exploratory tests for 10-K
Confirmed that all unit/regression/etc tests still perform the exact same

repo: alphanome-ai/sec-parser


text:
How to edit the font size in social.html?

Acknowledge the following

[yes] I carefully read and followed the Getting Started guide.
[yes] I read through FAQ and searched through the past issues, none of which addressed my issue.
[yes] The issue I am raising is a potential bug in al-folio and not just a usage question.  [For usage questions, please post in the Discussions instead of raising an issue.]
A clear and concise description of what the bug is.

Thank you for this wonderful template!
I was wondering how to adjust the font size in social.html? It is too big for me. The file _base.scss can only adjust the icon size, so I treid to adjust the size by the codes font size=2px, but it does not work.
Thanks in advanced!

This line is what you were looking for.

The HTML code is in the file _layouts/about.html:

          {%- if page.social %}

                {% include social.html %}

                {{ site.contact_note }}

          {%- endif %}

You can change the contact-icons font size with:
.social .contact-icons {
    font-size: 2rem;
}

authors: george-gca jmrplens xkcococo

repo: alshedivat/al-folio


text:
Generate API docs (swagger)

Need to generate Swagger API
https://app.swaggerhub.com/apis-docs/altuhovsu/tofugu_toaster_api/1.0.0

Swagger API docs (full API documentation and examples): https://app.swaggerhub.com/apis-docs/altuhovsu/tofugu_toaster_api/

repo: alt-dima/tofugu


text:
ObjectManager: implement InterfacesAdded and InterfacesRemoved

https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager
org.freedesktop.DBus.ObjectManager.InterfacesAdded (OBJPATH object_path,
    DICT<STRING,DICT<STRING,VARIANT>> interfaces_and_properties);
org.freedesktop.DBus.ObjectManager.InterfacesRemoved (OBJPATH object_path,
    ARRAY<STRING> interfaces);

The InterfacesAdded signal is emitted when either a new object is added or when an existing object gains one or more interfaces. The InterfacesRemoved signal is emitted whenever an object is removed or it loses one or more interfaces. The second parameter of the InterfacesAdded signal contains a dict with the interfaces and properties (if any) that have been added to the given object path. Similarly, the second parameter of the InterfacesRemoved signal contains an array of the interfaces that were removed. Note that changes on properties on existing interfaces are not reported using this interface - an application should also monitor the existing PropertiesChanged signal on each object.

@rafalgajda-silvair

authors: acrisci michallowasrzechonek-silvair

repo: altdesktop/python-dbus-next


text:
🛑 Homepage (reinhart1010.id) is down

In bcfb7fc, Homepage (reinhart1010.id) (https://reinhart1010.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage (reinhart1010.id) is back up in d0e7f23.


text:
🛑 roothouse-3 is down

In 7d7b2d7, roothouse-3 (https://rhstatus-proxy.alterine0101.id/?deviceId=roothouse-3) was down:

HTTP code: 404
Response time: 266 ms

Resolved: roothouse-3 is back up in 224a436.


text:
makeStyles and useTheme should be typed with the Alteryx Theme

Currently makeStyles and useTheme are simply reexported from @material-ui and only assume the base MUI Theme type. It would be nice if using these functions from @alteryx/ui would be typed with Alteryx's extended Theme type instead.
import { makeStyles, useTheme } from '@alteryx/ui'

const useStyles = makeStyles(theme => ({
  foobar: {
    // (TS) Property 'passive' does not exist on type 'TypeAction'
    color: theme.palette.action.passive
  }
}))

const MyComponent = (): JSX.Element => {
  const theme = useTheme()
  return (
    // (TS) Property 'passive' does not exist on type 'TypeAction'
    <div style={{ color: theme.palette.action.passive }} />
  )
}

Currently, we have to specify the Alteryx Theme type every time.
import type { Theme as AyxTheme } from '@alteryx/ui'
import { makeStyles, useTheme } from '@alteryx/ui'

const useStyles = makeStyles((theme: AyxTheme) => ({ ... }))
const theme = useTheme<AyxTheme>()

Hey Pillow. Thanks for letting us know about this issue. We currently have that planned for a future update but we don't know when that will be released.

repo: alteryx/alteryx-ui


text:
🛑 itove.com is down

In 479efec, itove.com (https://itove.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: itove.com is back up in 330769a after 6 minutes.

repo: alzee/up


text:
🛑 gjj.itove.com is down

In 1ae0d88, gjj.itove.com (https://gjj.itove.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gjj.itove.com is back up in 38a9892 after 10 minutes.


text:
Req. #02 - Decide HDL Language

Description: Decide on an HDL language (VHDL or Verilog).
Artifact: For the end of Sprint 2 we will describe which HDL language we chose and why; we will have started describing the ALU and register file in that language. The choice will be posted in the issue tracking this requirement on GitHub.
Story Points: 1

Done - we will use Verilog.


text:
Dependency problem after upgrading to nextjs 14

Description
using next-intl@3.0.0-rc.6:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: next-intl@3.0.0-rc.6
npm ERR! Found: next@14.0.0
npm ERR! node_modules/next
npm ERR!   next@"14.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from next-intl@3.0.0-rc.6
npm ERR! node_modules/next-intl
npm ERR!   next-intl@"^3.0.0-rc.6" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: next@13.5.6
npm ERR! node_modules/next
npm ERR!   peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from next-intl@3.0.0-rc.6
npm ERR!   node_modules/next-intl
npm ERR!     next-intl@"^3.0.0-rc.6" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

but with next-intl@2.21.0 is the same for me:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for next-intl@^3.0.0-rc.19.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: /Users/leventekosa/.npm/_logs/2023-10-27T07_58_57_661Z-debug-0.log
leventekosa@Leventes-iMac-3 ciwf-frontend-application % npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ciwf-frontend-application@0.1.0
npm ERR! Found: next@14.0.0
npm ERR! node_modules/next
npm ERR!   next@"14.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0" from next-intl@2.21.0
npm ERR! node_modules/next-intl
npm ERR!   next-intl@"^2.21.0" from the root project

Any suggestion?
Mandatory reproduction URL (CodeSandbox or GitHub repository)
app directory
Reproduction description
Steps to reproduce:

update to nextjs 14

Expected behaviour
Maybe just needs to adjust next intl to v14.

As a workaround until next-intl has updated their peerDependencies to include next 14, you can add this to package.json:
"overrides": {
  "next-intl": {
    "next": "^14.0.0"
  }
}

Documentation for overrides

Since I'm using pnpm (docs), this worked for me:
"pnpm": {
  "overrides": {
    "next": "$next"
  }
}

Thanks for reporting! Support for Next.js 14 was added in 2.22.1 (stable) and 3.0.0-rc.7 (3.0 release candidate).

As a workaround until next-intl has updated their peerDependencies to include next 14, you can add this to package.json:
"overrides": {
  "next-intl": {
    "next": "^14.0.0"
  }
}

Documentation for overrides

Thanks

authors: aalin amannn blefnk brt-yilmaz levipadre

repo: amannn/next-intl


text:
Leetcode Question Number 1448

Leetcode Question Number 1448 solution needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Please assign


text:
442 solution

Fixes #350

My code sample is in :

[ ] CPP
[x] Java

Screenshot of working code sample  :

Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My code sample is formatted and works correctly

LGTM


text:
New prerequisites code makes lagoon sync more brittle

It seems as though the new prerequisites code makes it so that if the lagoon-sync binary isn't on the remote system, the process crashes.
[laravel-sandbox-blaize]cli:/app$ lagoon-sync sync mariadb -e develop
2021/01/11 02:07:18 Registering: env-vars
2021/01/11 02:07:18 Registering: rsync
2021/01/11 02:07:18 Using config file: ./.lagoon.yml
? Project: laravel-sandbox-blaize - you are about to sync mariadb from develop to local, is this correct?? [y/N] y█
2021/01/11 02:07:20 Running prerequisite checks on develop environment
2021/01/11 02:07:20 Running the following prerequisite command:- ssh -t -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 32222 <SNIP> './lagoon-sync config'
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '<SNIP> returned incorrect signature type
sh: ./lagoon-sync: not found
command terminated with exit code 127

2021/01/11 02:07:30 There was an error running the sync process: exit status 127
[laravel-sandbox-blaize]cli:/app$

This issue has now been resolved as a warning is logged instead of an exit, for example:
Running the following prerequisite command:
ssh -v -tt -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 32222 drupal-example-main@ssh.lagoon.amazeeio.cloud service=cli '/app/lagoon-sync config || true'
-----
Warning: 'lagoon-sync' is not available on: main
-----

authors: bomoko timclifford

repo: amazeeio/lagoon-sync


text:
Curl broken again

upstream php images have been updated and so they now include curl 7.64.0 which causes the issue in https://github.com/amazeeio/lagoon/issues/923 to happen again

https://github.com/amazeeio/lagoon/commit/9f6a1308421ae4486c76bbbf19a7b39a3c47cfd8 installs a specific older version of curl, to prevent the issue from happening

for people affected:
change the FROM in your Dockerfile.cli to:
amazeeio/php:7.x-cli-drupal-v0.21.0
replace the 7.x with your php version already in Dockerfile.cli

this is released: https://github.com/amazeeio/lagoon/releases/tag/v0.21.3

Unfortunately just downgrading curl wasn't enough, we also need to downgrade libcurl:
https://github.com/amazeeio/lagoon/commit/38a3efa5242d606e715a8984b77fa99599884268

closing has been released in  https://github.com/amazeeio/lagoon/releases/tag/v0.22.0

authors: Schnitzel dasrecht

repo: amazeeio/lagoon


text:
[WIP] Include Python 3.8 images

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for changelog and subsystem label(s) applied

Changelog Entry
Add images for use of Python 3.8
Closing issues
TBC

Ugh - this has just gave me a flashback - as soon as Alpine shifted their Python3 package from 3.7 to 3.8, we've inadvertently also installed 3.8 alongside in our 3.7 images...
(because we use python dockerhub images, but then use apk to add packages
https://github.com/amazeeio/lagoon/blob/master/images/python/Dockerfile#L37-L38)
We'll have to rethink our use of apk here (I foreshadowed this in https://github.com/amazeeio/lagoon/pull/1531#issuecomment-604721771)
python:/$ apk info | grep python3
python3
python3-dev
python:/$ which python
/usr/local/bin/python
python:/$ find / -name python
/usr/local/bin/python
python:/$ /usr/local/bin/python -V
Python 3.7.7
python:/$ find / -name python3
/usr/bin/python3
/usr/local/bin/python3
python:/$ /usr/local/bin/python3 -V
Python 3.7.7
python:/$ /usr/bin/python3 -V
Python 3.8.2

In regards to https://github.com/amazeeio/lagoon/pull/1531#issuecomment-604721771, my vote would go to supporting one version via the system package manager...
Package management is tricky but if you are managing system packages along-side language specific package managers, maintenance is a lot better when using the system package manager....

authors: fubarhouse tobybellwood


text:
Refused to display https://<instance-id>.awsapps.com/ in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Refused to display https://<instance-id>.awsapps.com/ in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Description
Even if we add the hosts as the allowlist documentation states, we are getting this error on the version 1.6.5
Allowlist example

Hi Andres, thanks for bringing this to our attention. It's a little tough to figure out exactly what might be happening without knowing a bit more info. If it's possible, could you provide us with your  initCCP() code (personal info blurred out as needed). It would be helpful to see that code to rule out any possible configuration issues.
Also, on the off chance you haven't already, I just want to make sure you double-check that your approved origins are the correct scheme host and port. And that this is the instance you're trying to initialize using Streams. These are unlikely the issue but we can't rule it out without seeing the data so it's up to you to verify that.

@SamSchiff

We doubled checked that the approved origins are the correct scheme host and port ✅
The instance is correct. ✅

This is the code we are using with initCCP():
const instanceDomain = "<insert-instance-domain>"
const containerDiv = document.getElementById('ccp-container')
window.connect.core.initCCP(containerDiv, {
  ccpUrl: `https://${instanceDomain}.my.connect.aws/ccp-v2/`,
  loginPopup: true,
  loginOptions: {
    autoClose: true,
    height: 600,
    width: 400,
    top: 0,
    left: 0,
  },
  softphone: {
    allowFramedSoftphone: true
  }
})

@asanabria-hc - Check to make sure 3rd party cookies are enabled in your browser. The auth model for the stream lib requires them to be enabled. By default, these are disabled in incognito mode. In a future release of Chrome they will be disabled by default in normal chrome mode as well.

@CiscoKidxx Yes, 3rd party cookies are allowed! My guess is that this is issue is related to the new connect instances domain.

Current: https://[instance name].awsapps.com/connect/
New: https://[instance name].my.connect.aws/

We created our instance after this change. When we try to login I've noticed that the login page still redirects.my.connect.aws to .awsapps.com (the old one). It is causing that the login refuses to be displayed in our iframe, so it is forced to open a popup in order to login. After the login... the CCP is finally displayed. What we want is that the login is displayed in the iFrame not the popup.

Hi,
We don't support login page to be embedded in the iframe, which is as designed.

authors: CiscoKidxx SamSchiff asanabria-hc yaminli-aws

repo: amazon-connect/amazon-connect-streams


text:
add implementation of regex constraint that support more ECMA 262 regex features ISL 2.0

Add implementation of regex constraint that support more ECMA 262 regex features as per ISL 2.0.
Grammar:
<REGEX> ::= regex: <STRING>
          | regex: i::<STRING>
          | regex: m::<STRING>
          | regex: i::m::<STRING>

Ion Schema Specification:
https://amazon-ion.github.io/ion-schema/docs/isl-2-0/spec#regex

Completed with #176

repo: amazon-ion/ion-schema-rust


text:
Remove CSRF dead code

Description of the Change
This change is about to remove dead code in CSRF module. All that is actually set here.

@elorest sorry, already removed? On a branch somewhere? It is still in master amber/router/pipe/csrf.cr#L18-L200

👍

authors: eliasjpr veelenga

repo: amber-crystal/amber


text:
Good generators for HTTP requests/URIs

Something I've had to implement a lot, probably worth doing it right in one place.

Yeah probably belongs in snooze/volt

Yeah probably belongs in snooze/volt

Fairy nuff. https://github.com/ambiata/snooze/issues/45

authors: nhibberd olorin


text:
Add 'mafia check-upgrade'

/cc @charleso @olorin
The idea with this is we could invoke it at the start of a build so we have some idea which projects are up to date when looking at logs in jenkins.
I also noticed we're downloading to /tmp/mafia so I changed it to a mktemp, sorry that probably should be a separate PR.

LGTM :+1:

As discussed IRL with @charleso this should probably live in anatomy instead, I'll fix it up so this just includes the /tmp fix

authors: jystic olorin

repo: ambiata/mafia


text:
Upgrade mafia

/cc @nhibberd
Should we upgrade it here, and then enable cache?

authors: jystic nhibberd

repo: ambiata/mismi


text:
🛑 KMHARS Speedtest Server / Marawi Main Fiber is down

In 8076486, KMHARS Speedtest Server / Marawi Main Fiber (kmhars.ookla.databyte-network.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KMHARS Speedtest Server / Marawi Main Fiber is back up in fc65ea8 after 56 minutes.

repo: amin-IT/kmhars


text:
Fix issues with out of bounds layout attributes

I was having issues with error messages for layout attributes being created for cells that didn't exist. I noticed the demos had this issue too. I took a look and I noticed a discrepancy between the spirit of the start/end index calculation and its implementation. This fix addresses errors in the original implementation hopefully without changing the functionality of the layout.
The changes goes like this:

My understanding of the start and end index calculation is that you want a "window" range where the current page is in the middle and to the "left" is half of the numberOfVisibleItems (i.e. index - left) and the "right" is the other half.
This calculation is easy when the number is even (numberOfVisibleItems / 2). For odd, instead of forcing numberOfVisibleItems to be even and causing out of bound issues with the total collection view item count, we simply use Int's automatic flooring of division with remainder. So if numberOfVisibleItems is 7, 7/2 = 3.5 = Int(3), and 3 + currentIndex + 3 = 7.
Switching to this form of calculation, we no longer need to modify the numberOfVisibleItems and if endIndex goes beyond the range, it'll clamp to the numberOfItems.
The rest of the changes is me doing some renaming so it would be easier for someone new to understand what's being calculated.

I've done some more testing and this patch has some bugs in its current state. Hold off on merging this if you're planning to. Otherwise, I'd love to see what changes you did locally.

Hey Levi, it's been 25 days since we worked on this,
I assumed you probably didn't have time to finish this, so I've fixed the issue in another pull request,
I used some of the improvements that you suggest.
Thank you again for contributing it was really helpful

authors: amirdew levi

repo: amirdew/CollectionViewPagingLayout


text:
Webpack2

fixes #23

Current coverage is 80.55%

Merging #25 into master will decrease coverage by -0.17% as of b2d9b38

@@            master     #25   diff @@
======================================
  Files           19      19
  Stmts          638     643     +5
  Branches       114     114
  Methods          0       0
======================================
+ Hit            515     518     +3
+ Partial         42      41     -1
- Missed          81      84     +3

Review entire Coverage Diff as of b2d9b38

Powered by Codecov. Updated on successful CI builds.

authors: amireh codecov-io

repo: amireh/happypack


text:
Bookmarks screen enhancements

show loader in the header

Pending: sync icon, show loader or empty screen on folder change

Pending: sync icon, show loader or empty screen on folder change

preload images/icons

preload images/icons


text:
refactor(iwc): refactor code to use viewsets

NOT READY
AMLNG-XXX
Description
Refactor code to use View Sets
Acceptance Criteria
Refactor code to use View Sets
How to test code
make ptest

make dev run

curl --request PUT \
  --url http://127.0.0.1:8001/iwc-api/self/data/transportation/car7/ \
  --header 'authorization: Basic d3NtaXRoOnBhc3N3b3Jk' \
  --header 'content-type: application/vnd.ozp-iwc-data-object+json;version=2' \
  --data '{"version": "1.0", "permissions": {"name": "security"}, "entity": {"details": {"color": "red"}}, "pattern": "/transportation/car"}'

Please Review
@aml-development/ozp-backend-team
Checklist

[x] Read CONTRIBUTING.md
[x] Write code to complete task
[x] Python Code is PEP8 Compliant
[ ] Add unit tests for new code
[ ] All tests must pass before merging the pull request
[ ] At least 2 people reviewed code

WebTop loads with this change, but I get a 404 error for
http://localhost:8001/iwc-api/self/data/dashboard-data/
That api returns the dashboard that the user has configured, so with it failing, the configuration the user sets for their dashboard does not load.

Webtop works. (webtop needs https://github.com/aml-development/ozp-webtop/tree/fix_webtop to run properly)
:+1:

👍

repo: aml-development/ozp-backend


text:
#23 software architecture document

Implements first version for #23

@Jean28518 Ich habe leider kein libre office auf meinem PC. Kannst du, sobald du Zeit hast mein Frontend Klassendiagramm und den Text dazu den Dateien hinzufügen? Dann können wir den Commit eigentlich schon fast schließen ;)
Siehe f74fdc8 und 4c7c82a

[ ] Updating test passages accordingly (see above)

What do you mean what exactly do you mean?

To switch user for connection and in general to use terms described in our glossary. But we can change this later as we might be chaning our Glossary frequently


text:
ELF format parser

Parse ELF file.
See

https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf.h
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format

https://formats.kaitai.io/elf/

repo: amosshi/binaryinternals


text:
Забыли нОль?

Времена цикла нагрева 60 и 90 секунд по ds. Расчет происходит в миллисекундах. Соответственно значения констант должны быть 60000 и 90000. Забыли нулики?
// время нагрева датчика
#define MQ_HEATING_TIME     6000
// время охлаждение датчика
#define MQ_COOLANCE_TIME    9000
bool BaseMQ::heatingCompleted() const {
if ((_heater) && (!_cooler) && (millis() - _prMillis > MQ_HEATING_TIME)) {
return true;
} else {
return false;
}
}
bool BaseMQ::coolanceCompleted() const {
if ((_heater) && (_cooler) && (millis() - _prMillis > MQ_COOLANCE_TIME)) {
return true;
} else {
return false;
}
}

Тоже это заметил.
Но по моим наблюдениям и этого мало - холодный датчик начал с 9000 ppm и стал стабильно выдавать 400 только минут через 5-7.

authors: oligzeev rmuratov

repo: amperka/TroykaMQ


text:
[TACHYON-1428] Documented the tachyon package in preparation for the checkstyle rule

https://tachyon.atlassian.net/browse/TACHYON-1428

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7389/
Test PASSed.

Thanks for the doc improvement. I left one minor comment.

@yupeng9 Thanks for the comment. I updated the PR accordingly.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7390/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7398/
Test PASSed.

I left a few comments. Thanks for the improvement!

@gpang Thanks for the comments. I updated the PR accordingly.

LGTM

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7403/
Test PASSed.

LGTM, thanks for the doc improvement

authors: AmplabJenkins HorizonNet aaudiber gpang yupeng9

repo: amplab/tachyon


text:
Using Amplitude with SSR (React)

Hi,
I am trying to migrate a codebase from client-side to server-side, and am using Amplitude like so:
import amplitude from 'amplitude-js/amplitude';
It is bundled by Webpack. On the server-side, I have this error:
document is not defined, l.3020, called by global scope block l.3007
I'm a bit lost on this, as there is browser-specific code in global scope and therefore it can't run on server...
Any insights?
Thanks in advance

Hi @Zephir77167, The SDK currently does not work in node/server-side environments. We do have improvements planned to address this, but they will likely be a while.
In the mean time you may be able to work around this with a conditional require for your server side build.

Hi,
Thanks for the answer. Indeed, I worked around it by doing:
if (typeof window !== 'undefined') {
  amplitude = require('amplitude-js/amplitude');
}

Alright, I understand that @adrienharnay solution is basically to only require the amplitude-js when running on the browser.
But, it doesn't provide any way of making it work on the server. The SDK is not compatible with node at all? That's a serious limitation for many things, like backend-powered chatbots, etc.
I'm using Next.js and here is what I did:
pages/_app.tsx
import { Amplitude, AmplitudeProvider } from '@amplitude/react-amplitude';
import { ApolloProvider } from '@apollo/react-hooks';
import { isBrowser } from '@unly/utils';

//...

render() {
    const { Component, pageProps, apollo }: any = this.props;

    // Workaround for https://github.com/zeit/next.js/issues/8592
    const { err }: any = this.props;
    const modifiedPageProps = { ...pageProps, err };
    let amplitude;

    if (isBrowser()) {
      amplitude = require('amplitude-js');
    }

    if (modifiedPageProps.isSSRReadyToRender) {
      return (
        <AmplitudeProvider
          amplitudeInstance={amplitude ? amplitude.getInstance() : null} // Amplitude is disabled on the server side
          apiKey={process.env.AMPLITUDE_API_KEY}
        >
          <Amplitude
            eventProperties={{
              scope: ['tfp'],
            }}
          >
            <ApolloProvider client={apollo}>
              <Layout {...modifiedPageProps}>
                <Component {...modifiedPageProps} />
              </Layout>
            </ApolloProvider>
          </Amplitude>
        </AmplitudeProvider>
      );
    } else {
      return null;
    }
  }

So, it works like this (I mean, it doesn't crash when loading the app anymore), I just wonder if that's fine to load things this way, with an amplitudeInstance=null on the server. Is it recommended? I don't see any issue but... you tell me 😄

For anyone interested by a real use case with Amplitude and Next.js 9 (universal app), check out https://github.com/UnlyEd/next-right-now
Interesting parts are:

https://github.com/UnlyEd/next-right-now/blob/master/src/pages/_app.tsx#L256-L294 provider
https://github.com/UnlyEd/next-right-now/blob/master/src/pages/examples.tsx#L32-L43 usage

authors: Vadorequest Zephir77167 blazzy

repo: amplitude/Amplitude-Javascript


text:
importing css file or calling other html page in index.html page

I tire to import css file like

Hi,
are you trying to copy from templates/index.html?
We use templates to generate pages, this means that when you see code like:
`

repo: ampproject/amp-by-example


text:
🛑 MinIO is down

In 765c322, MinIO (https://s3.amskey.one/amsc/misskey-rest/d688e3b7-cd01-42ea-86ee-7b05cdc5a110.webp) was down:

HTTP code: 502
Response time: 701 ms

Resolved: MinIO is back up in 3705bfd after 6 minutes.

repo: amsc-tech/amskey-status


text:
Add destroy method

Hi.
I try to change the format on the fly. There are two options I tried:
picker.set ({ format: 'dd.mm.yyyy' });
does nothing and there's no way to destroy and recreate the component (see https://jsfiddle.net/vxbfy0ob/2/). I also want to change the labels text so a destroy method is very important, escpecially when you think of a geater app which needs to free resources.
Cheers.

http://amsul.ca/pickadate.js/api/#method-start-stop

authors: Jivebunny MeMyselfI


text:
fix: Adding missing secretName in ingress configuration.  Helm improvements proposal.

Summary of Changes
This PR adds support for secretName in the ingress specification.  The values.yaml contained an example, but it was not supported in the ingress template.
I am also proposing to improve the helm chart, but this could be done in a separate PR if preferred.  But I'd like to know if what I'm proposing is accepted by the community:

Move dependencies to Chart.yaml and drop requirements.yaml (effectively adopting the new helm standard)
Adopt Bitnami Common helm chart as a dependency to improve chart.  Their charts are well done and they have nailed a few patterns.  For example, I am showcasing in my PR their template to resolve the proper version of the ingress spec according to the version of k8s being used.  They have an Apache License, so I think we are good to use it.  But it would be as a dependency, so I am not sure about Amundsen's stance on this...  This is a proposal and if accepted, I could go ahead and make more changes.

Tests

Documentation

CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

@pengfei99 I'm adding support for secretName to your previous PR.  I think it was forgotten.  I'm also fixing a bug with your template call and $dot string.
@feng-tao Can I have your opinion on using Bitnami's charts to improve Amundsen's?  It's only a proposal, I can remove those changes from my PR.

Hi @cccs-eric,

Thanks for the fix on sectetName. I forgot it.

For removing the requirement.yaml and including it into Chart.yaml part. I'm OK. I choose to use the requirement.yaml because the origin file layout was like that.

For the $dot, it's not a bug, I have successfully deployed the chart many times. I use $dot. Because "." in a range clause change context in each iteration that will cause problems. $dot was a workaround of this problem. For more details about this bug. https://stackoverflow.com/questions/54180804/chart-name-cant-evaluate-field-chart-in-type-string
I have not tested your solution yet. If it works, why not.  I don't like this $dot workaround

BR
Pengfei

Great, I did not know this. I will change all my charts too. Tks

I was hoping to get a comment about the Bitnami chart adoption before making this PR ready, but since I'd like to get this done, I'll mark is a Ready to hopefully get some attention.  As I mentioned earlier, I can easily remove the Bitnami aspect of this PR.

repo: amundsen-io/amundsen


text:
writer.writeInt(reader.numberValue(), 'a') should not work

Via https://github.com/amzn/ion-js/pull/319#discussion_r319165042
writer.writeInt(reader.numberValue(), 'a');

This shouldn't work at all, as the annotations parameter is supposed to be a string[]. Here 'a' is being treated as an array containing a single 1-character string (yay, javascript ;).

As another example:  writer.writeInt(123, 'abc') produces a::b::c::123.  This is a bug for all write*() methods, as well as stepIn().  Haven't investigated whether similar behavior exists in the binary or pretty-print writers.

should be a oneline fix: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray

merged

authors: dblock pbcornell wesboyt

repo: amzn/ion-js


text:
🛑 🍩 Toshiki's Navigation is down

In 91c5c23, 🍩 Toshiki's Navigation (https://nav.toshiki.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 🍩 Toshiki's Navigation is back up in b393abe after 1 hour, 47 minutes.

repo: andatoshiki/toshiki-status


text:
Fix (Like, dislikes)

Description of task

add disliked and liked boolean fields
Return true is logged in user liked the article else false
Return true is logged in user disliked the article else false

Why was this necessary?

When returning articles, liked or disliked should fields are set to true or false preventing hitting multiple endpoints for like or dislike data.

@FahdJamy I totally understand the point for this update. I am wondering thou what the field would be for a user who is not logged in

It will be false. Like the favorited field that @codjoero did.

@FahdJamy I totally understand the point for this update. I am wondering thou what the field would be for a user who is not logged in

authors: FahdJamy pbkabali

repo: andela/ah-backend-summer


text:
drawer has been removed

Problem / Issue No.

Drawer should be removed

Describe Problem / Root Cause

Drawer should be removed to seamless navigation between different parts

Solution proposed

The darwer has been removed and bottom nav bar is added to ensure seamless navigation between

Additional Information

The darwer has been removed and bottom nav bar is added to ensure seamless navigation between  and in place of drawer i added at the night mode button at the drawer position

Screenshots

Original Screenshot (Problem/Issue)

@aikansh008 Please resolve conflicts

repo: andoriyaprashant/OpSo


text:
Handout mode

This PR implements a handout mode.
It is always nice to harvest the fruits of earlier work. We can just rely on the fact that the dynamic display mechanism accepts intervals, especially empty ones. This means all that had to be done is to set the visible subslides for elements that reserve space (uncover etc.) to an empty interval (which means an empty dictionary, really) in handout mode.
only and alternatives behave identically in handout mode and in "normal" mode, as discussed in #22.
Users simply have to specify
#show: slides.with(
  // ...
  handout: true
)

now to profit from this new feature.
Closes #22. Pinging @rpitasky and @Holt59 as they participated in that issue.

Excellent feature 😍

authors: andreasKroepelin drupol

repo: andreasKroepelin/typst-slides


text:
Reading vector3 position of each marker in Unity

Hello, i would like to know how i can implement a function in cpp that return the position of all detected spheres in Unity ! Thank you

Hey, for this you need to grab the irToolCenters in processframe, then transform their position into world space and subsequently into unity coordinates. Then make these positions available in unity by creating a new C# binding function that returns an array of vector3

Thank you for you answer ! i am currently facing an issue with the position and orientation of the model all the parameters seems correct but the data is noisy and the orientation and position are sometimes inaccurate depending on the  point of view or the distance from camera ? what do you suggest doing in that case since you already implemented Kalman filter and low pass filter to filter noises ?

Are you using flat markers or reflective spheres?
The best results will be with bigger markers (spheres are also more reliable than flat), as well as bigger distances between each individual marker. This all needs to be within 1m distance to the headset.


text:
Development

Merging Development Branch with Master because it is already stable

Merging Development Branch with Master


text:
🛑 Matheus Gepeto is down

In e3b7a30, Matheus Gepeto (https://matheusgepeto.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matheus Gepeto is back up in 861b72e.

repo: andrelug/uptime


text:
🛑 Youngerderm is down

In b535e45, Youngerderm (https://youngerderm.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Youngerderm is back up in 8f2a9fc.


text:
🛑 pharmacomms is down

In f73a268, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in 9c90662 after 4 minutes.

repo: andrespitt/uptime


text:
Adding books through CLI interface

Tasks:

[x] Add command line Q&A-like interface for adding books

done in https://github.com/andrew--r/frontendbookshelf-data

repo: andrew--r/frontendbookshelf


text:
fspec-tar does not match spec for manifest paths.

According to the spec source paths are relative to the manifest path.

If not present, the entry name is used, relative to the directory containing the manifest.

Currently fspec-tar uses stdin, so has no way of knowing the manifest path (other than cwd). We could add:
$ fspec-tar [$PATH ...]

To give us reference paths, we could possibly add a --relative-to option too.

Yeah, I think the tools should accept a manifest on the command-line and use stdin if not given. In the case where the manifest comes from stdin, probably the sanest thing to do is to treat the paths as relative to the current working directory.
I think an option to change the base directory for source file lookups makes sense, but I'd prefer not to use --long-options.

This is fixed by 9119f4d3c8336f442db07c1904117444377caba4, right?

Think so,

authors: andrewchambers michaelforney

repo: andrewchambers/fspec-tools

license: ISC


text:
🛑 nhcam is down

In d43e091, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in d3561ce.

repo: andrewdavies-net/upptime


text:
🛑 nhcam is down

In d5695ea, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 8e0052b.


text:
🛑 plexd is down

In 0ae1f64, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 275 ms

Resolved: plexd is back up in c185615.


text:
🛑 plexd is down

In adce178, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 308 ms

Resolved: plexd is back up in 4b3b50f.


text:
🛑 plexd is down

In 6349b06, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 284 ms

Resolved: plexd is back up in 3022a27.


text:
🛑 nhcam is down

In a382049, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in a65108c.


text:
🛑 nhcam is down

In 10cb640, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in a92aaf4.


text:
🛑 nhcam is down

In 424c5fb, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 8c193d0.