Feedback on fgs-spelunker-and-tsos.rst documentation

Below is some feedback on your (very helpful!) fgs-spelunker-and-tsos.rst documentation page. I've made this a check list so that it's easy for me to cross things off after you've made some updates.

[x] The program version on your readthedocs page is currently set to Program version: ver. 0.5.3 which doesn't exist on GitHub and is greatly out-of-date with the pip installed version 1.1.0. The page should either be remade with the newer code version or the code version should be updated on the page.
[x] targetted -> targeted
[x] accreeting -> accreting
[x] HAT-P-14~b -> HAT-P-14 b
[x] You should briefly describe where the 'hp14_lightcurve.dat' and 'w39_lightcurve.dat' files comes from (citing the source paper and software as appropriate) and explain what package(s) the reader could use to make such a file themselves.
[x] Adding plt.show() at the end of blocks of plotting code will avoid the printing of values like (0.0, 6.09976451843977) to the console
[x] The transit appears to start closer to 2.75 hours after the start, not 2.5
[x] It would be useful to briefly describe where someone might find the pid, obs_num, and visit values for an observation they want to analyze. Newcomers may not immediately be familiar with these values.
[x] The raw photometry from the guidestar varies by a lot more than our target star. I assume much of this variation is just photon noise given the very short exposure time - if this is the case, it would be useful to briefly describe this to remind the user that the cadence varies between the science instrument and the FGS and to explain why temporal binning would be helpful.
[x] Rather than making a custom bin_fgs_to_science function from scratch, wouldn't it be better to make use of a spelunker function to get users familiar with more of the utilities you have built?
[x] The shown outputs from running spk.gauss2d_fit(ncpus=4) include a large number of error messages. Ideally these should be resolved if possible, they captured and hidden if unimportant, or at a minimum they should be explained in the tutorial so that folks know that these kinds of errors are not concerning. Additionally, there should likely also be either a mute or verbose option added so that the printed table does not have to be output to the console.
[x] ..."appears to be a small tilt event." You should briefly explain what a tilt event is and add a link to a relevant JDox page
[x] "Best of all, we can see the event at any resolution we want thanks to it." Probably best to remind the reader again here that the FGS data have a finer time sampling which is what allows this higher temporal resolution (also likely worth stating temporal resolution to differentiate from spectral resolution)
[x] Rather than making a new bin_data function, you should use your built-in spelunker.bin_data function
[x] "Interestingly, in this case, the Y-standard deviation samples the event even better." This is not obvious from the plots. You might try inverting the secondary y-axis for sigma_y and/or plotting both sigma_x and sigma_y after some kind of normalization
[x] Finally, it would be worth adding a concluding sentence or few that would explain where someone might go from here. Something about how one could use these FGS data as covariates when fitting their lightcurves to remove noise would be useful (e.g. linearly decorrelate against FGS y-pixel position).

This issue was made as part of the review for https://github.com/openjournals/joss-reviews/issues/6202

Hi @taylorbell57! Thanks a lot for the feedback --- I implemented most of it, except for:

We didn't implement your comment about the custom function bin_fgs_to_science, as there is no such function in the spelunker codebase itself. We could add it, but the function is a bit ad-hoc right now --- we'll think of a better way to implement this in the future to the actual spelunker codebase, and update the notebook accordingly.
Similarly, we have explained the messages that ray spits out, but we have not implemented any verbose key into the function for now. We will in the future.
For bin_data, we could --- but it might obscure what the function actually does in the background (in parallel with what happens with bin_fgs_to_science) --- so better to keep as is.

In addition, for your second to last point, added some wording on why Y is better in this case: "(...) Interestingly, in this case, the Y-standard deviation samples the event even better, when considering the amplitude of the 'jump' in this time series to the overall scatter of the time-series for the Y-standard deviation itself:".
Thanks again! Will mark as done.
N.


standarize location data formats

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bdfe0c1) 98.42% compared to head (cba179b) 98.61%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
+ Coverage   98.42%   98.61%   +0.19%
==========================================
  Files          44       44
  Lines        2659     2669      +10
==========================================
+ Hits         2617     2632      +15
+ Misses         42       37       -5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


chore: upgraded storybook from 8.1.11 to 8.2.4

Description
Upgraded storybook from v8.1.11 to v8.2.4. This also updated the dependencies related to storybook.

/rtm


updated docs and website styles

Related Bug Reports or Discussions
N/A
Fixes #
N/A
Summary
Updated some docs and styles for the website to make the two more consistent
Check List

[ x ] pnpm run prettier for formatting code and docs

@dai-shi - not able to see the vercel deployment error logs - can you paste the error in here when you get a chance?

[05:26:13.884] Running build in Washington, D.C., USA (East) – iad1
[05:26:13.980] Cloning github.com/pmndrs/valtio (Branch: website-updates, Commit: 5f636e2)
[05:26:14.277] Cloning completed: 296.928ms
[05:26:17.557] Restored build cache from previous deployment (Gt69q9Pk2Mdcj1F1jSmVBFUVnooz)
[05:26:17.627] Running "vercel build"
[05:26:18.043] Vercel CLI 39.2.0
[05:26:18.446] Detected `pnpm-lock.yaml` version 6 generated by<EMAIL_ADDRESS>[05:26:18.467] Installing dependencies...
[05:26:19.258] Lockfile is up to date, resolution step is skipped
[05:26:19.450] Already up to date
[05:26:20.064]
[05:26:20.168] Done in 1.6s
[05:26:20.183] Detected Next.js version: 12.3.4
[05:26:20.203] Running "pnpm run build"
[05:26:20.719]
[05:26:20.719] > website@ build /vercel/path0/website
[05:26:20.720] > next build
[05:26:20.720]
[05:26:21.333] info  - Linting and checking validity of types...
[05:26:24.846] info  - Creating an optimized production build...
[05:26:26.384] Browserslist: caniuse-lite is outdated. Please run:
[05:26:26.384]   npx browserslist@latest --update-db
[05:26:26.384]   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[05:26:33.866] Browserslist: caniuse-lite is outdated. Please run:
[05:26:33.866]   npx update-browserslist-db@latest
[05:26:33.866]   Why you should do it regularly: https://github.com/browserslist/update-db#readme
[05:26:33.917]
[05:26:33.918] warn - As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`.
[05:26:33.918] warn - Update your configuration file to silence this warning.
[05:26:33.918]
[05:26:33.918] warn - As of Tailwind CSS v3.0, `warmGray` has been renamed to `stone`.
[05:26:33.918] warn - Update your configuration file to silence this warning.
[05:26:33.918]
[05:26:33.918] warn - As of Tailwind CSS v3.0, `trueGray` has been renamed to `neutral`.
[05:26:33.918] warn - Update your configuration file to silence this warning.
[05:26:33.919]
[05:26:33.919] warn - As of Tailwind CSS v3.0, `coolGray` has been renamed to `gray`.
[05:26:33.919] warn - Update your configuration file to silence this warning.
[05:26:33.919]
[05:26:33.919] warn - As of Tailwind CSS v3.0, `blueGray` has been renamed to `slate`.
[05:26:33.919] warn - Update your configuration file to silence this warning.
[05:26:35.752] info  - Compiled successfully
[05:26:35.752] info  - Collecting page data...
[05:26:37.071] info  - Generating static pages (0/36)
[05:26:37.909] ✘ [ERROR] [plugin esbuild-xdm] Expected the closing tag `</blockquote>` either after the end of `listItem` (194:17) or another opening tag after the start of `listItem` (193:1)
[05:26:37.909]
[05:26:37.910]     _mdx_bundler_entry_point-6e83d7e2-3df8-4133-8ac5-b450728afc70.mdx:194:3:
[05:26:37.910]       194 │    </blockquote>
[05:26:37.910]           ╵    ~~~~~~~~~~~~~
[05:26:37.910]
[05:26:37.910]
[05:26:37.911] Error occurred prerendering page "/docs/api/basic/useSnapshot". Read more: https://nextjs.org/docs/messages/prerender-error
[05:26:37.911] Error: Build failed with 1 error:
[05:26:37.911] _mdx_bundler_entry_point-6e83d7e2-3df8-4133-8ac5-b450728afc70.mdx:194:3: ERROR: [plugin: esbuild-xdm] Expected the closing tag `</blockquote>` either after the end of `listItem` (194:17) or another opening tag after the start of `listItem` (193:1)
[05:26:37.911]     at failureErrorWithLog (/vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:1624:15)
[05:26:37.911]     at /vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:1266:28
[05:26:37.912]     at runOnEndCallbacks (/vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:1046:63)
[05:26:37.912]     at buildResponseToResult (/vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:1264:7)
[05:26:37.912]     at /vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:1377:14
[05:26:37.912]     at /vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:678:9
[05:26:37.913]     at handleIncomingPacket (/vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:775:9)
[05:26:37.913]     at Socket.readFromStdout (/vercel/path0/website/node_modules/.pnpm/esbuild@0.14.54/node_modules/esbuild/lib/main.js:644:7)
[05:26:37.913]     at Socket.emit (node:events:517:28)
[05:26:37.913]     at addChunk (node:internal/streams/readable:368:12)
[05:26:38.545] info  - Generating static pages (9/36)
[05:26:39.161] info  - Generating static pages (18/36)
[05:26:39.552] info  - Generating static pages (27/36)
[05:26:39.721] info  - Generating static pages (36/36)
[05:26:39.722]
[05:26:39.722] > Build error occurred
[05:26:39.724] Error: Export encountered errors on following paths:
[05:26:39.724] 	/docs/[...slug]: /docs/api/basic/useSnapshot
[05:26:39.724]     at /vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/export/index.js:404:19
[05:26:39.724]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[05:26:39.724]     at async Span.traceAsyncFn (/vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/trace/trace.js:79:20)
[05:26:39.725]     at async /vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/build/index.js:1230:21
[05:26:39.725]     at async Span.traceAsyncFn (/vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/trace/trace.js:79:20)
[05:26:39.725]     at async /vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/build/index.js:1092:17
[05:26:39.725]     at async Span.traceAsyncFn (/vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/trace/trace.js:79:20)
[05:26:39.725]     at async Object.build [as default] (/vercel/path0/website/node_modules/.pnpm/next@12.3.4_@babel+core@7.24.5_react-dom@17.0.2_react@17.0.2/node_modules/next/dist/build/index.js:65:29)
[05:26:39.757]  ELIFECYCLE  Command failed with exit code 1.
[05:26:39.777] Error: Command "pnpm run build" exited with 1
[05:26:40.121]


Cloud upload race condition or latency issue?

Our Shaka Player History live stream is having an issue during playback in which we get HTTP 403 errors close to the live edge.
The cloud upload node already has logic to avoid this:

Snapshot manifests and playlists
Upload all segments, but no manifests or playlists
Upload snapshots of manifests and playlists

This is meant to make sure we never upload a manifest or playlist which refers to a segment that isn't fully available yet.  It doesn't seem to work well enough, though.
It's possible that there's some additional latency between uploading a segment and it being available, and that manifest/playlist uploads might need to be delayed.  But that would certainly be in conflict with future low-latency streaming work.  It also makes me wonder why the playlists aren't subject to the same latency.
I haven't carefully measured the final segments of the playlists on upload by Streamer & download by Player, so it's possible I'm making some bad assumptions about this issue.  A more detailed investigation is needed.

Our current plan is to replace CloudNode with Shaka Packager's recent HTTP upload support and a local authentication proxy.


Update with flexible zeroize version

Motivation and Context
Updating the zeroize version in Cargo.toml in aws-types.
Specifying zeroize 1.4.1 only allows 1.4.1 and up. Many crates in production use 1.4 and less. Downgrading to 1.0.0 provides flexible versioning without sacrificing functionality.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

If you want to be credited in the changelog with the next release, then be sure to add an [[aws-sdk-rust]] entry to CHANGELOG.next.toml.

It looks like the following message from the PR template's description was omitted when creating the PR:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Unfortunately, I can't merge this until it is added back in. But otherwise, it all looks good!

Motivation and Context
Updating the zeroize version in Cargo.toml in aws-types.
Specifying zeroize 1.4.1 only allows 1.4.1 and up. Many crates in production use 1.4 and less. Downgrading to 1.0.0 provides flexible versioning without sacrificing functionality.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for the contribution! I'll work on getting this merged.


python3Packages.fido2: 0.7.3 -> 0.8.1

Motivation for this change
Version update, fixes #74805
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

@GrahamcOfBorg build python2Packages.fido2
@GrahamcOfBorg build python3Packages.fido2

@GrahamcOfBorg build yubioath-desktop python2Packages.solo-python python3Packages.solo-python yubikey-manager-qt yubikey-manager gen-oath-safe

Hate to pick on bugfix, but this appears to be breaking python3Packages.solo-python. I made an upstream issue solokeys/solo-python#49
Also cc @wucke13

As solo-python is unusable anyway (because its dependency does not build), I'd say let's merge this and fix solo-python later (once upstream applies the fix).

@prusnak Well, there is an alternative of reverting a8d207c605e4eeb37869c835f75fa5401e9e30fa that would fix all of the packages. Unfortunately, there doesn't seem to be a way to prevent automated fido2 bump from landing on master again, so I'm leaning towards merging this as well.

Actually, there seems to be a fix: solokeys/solo-python#47

@prusnak Thank you!

Opened issue to track solo-python: #74835


Remove direct-boot support?

With probe-rs now supporting the IDF bootloader format, and that it's impossible to use esp-wifi with direct boot mode I'm wondering if we should remove direct-boot support? Especially since after all this time, we still don't have them quite right, see: https://github.com/esp-rs/esp-hal/pull/802.
Personally, I'd rather focus our efforts on improving the main linker scripts than trying to maintain both, but if there are some compelling reasons to keep the direct boot linker scripts I'd like to hear them!

My :two: :coin:
I think eventually, direct-boot should be supported as a feature, since it's part of the functionalities this chip offers. I've personally never used it, but it has its advantages, and purpose (Like faster flash times, which can be considerable in repeated flashing operations).
As the HAL is being built, I don't think it's a hard requirement to support it, as there are changes done quite often. I've seen it break quite a few times over the pas year. I believe it could be looked at later, further down the line, once everything has stabilized, and more energy can be fully focused on it.
These SoCs also support secure boot, so that's maybe a thing that could be looked at, at the same time.

I like having options, but if the only argument in favour of direct boot is flashing time, then my take is that the tooling should be improved, and the maintenance burden imposed by direct-boot dropped.
The ideal state of the world would be a single image format that can be either direct booted or loaded by the bootloader, but that's just wishful thinking on my part, it looks like :)

Hi folks. Is there a technical reason why Wi-Fi won't work with direct-boot? Does it need special information from the metadata sections that are only declared by mcuboot, or is this a limitation of the current implementation of IDF?

Hi folks. Is there a technical reason why Wi-Fi won't work with direct-boot? Does it need special information from the metadata sections that are only declared by mcuboot, or is this a limitation of the current implementation of IDF?

Not sure if there is really no way to get it working - back then we had a few general problems with direct-boot IIRC and we never really tried it again. Given that we might remove support for direct-boot it's probably a waste of time to look into that again. If we decide to keep direct-boot we should look into it again

Based on the effort to maintain them, and the current state of scripts we have decided we will remove the direct boot linker scripts.
Will it ever return?
We're not opposed to it returning, but the maintainability aspect must be addressed for us to consider it.
Is there a way to use it even after the removal?
Yes, instead of linking to -Tlinkall.x (the built-in esp-hal linker scripts), you can maintain your own direct-boot linker scripts. By doing this you are at the mercy of changes in esp-hal needing linker script modifications to be reflected in your own scripts.
PR here: https://github.com/esp-rs/esp-hal/pull/903


Updating any of the options under settings stops the timer

Not really sure if this is the intended behavior, can anyone clarify?

Closing as a duplicate of #12.
Changing any settings impacts how the timers, events, sounds, etc. work, It would be significant effort to support on-the-fly settings updates without stopping the current session (at least enough effort that I think would be better spent elsewhere).
This problem is addressed in another branch. Instead of just stopping the current session, a small dialog will popup when a user changes their settings:


Bump ErrorProne Gradle plugin to 3.0.1

https://github.com/tbroyer/gradle-errorprone-plugin/releases/tag/v3.0.1
We use 2.0.2 now.

Already done.


Can't open freeplay

Describe your bug here.
Whenever I open freeplay, it gives me this bug it gives me an error.
Command Prompt/Terminal logs (if existing)
FreeplayState.hx (line 74) flixel/FkGame.hx (line 637) flixel/FlxGame.hx (line 724) flixel/FIxGame.hx (line 677) flOcel/FbcGame.hx (line 545) openfl/events/EventDispatcher.hx (line 402) openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference Please report this error to the GitHub page https://github.com/ShadowMario/FNF-PsychEngine
> Crash Handler written by sqirra-rng

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope

Nevermind just fixed it


[bug] Tauri-cli does not generate .sig files.

Describe the bug
I've been using the<EMAIL_ADDRESS>version so far.
I recently updated it to version 2.0.0-rc, and the sig file and latest.json have not been created since then.
Am I missing something important corrections?
From what I checked, it seems to be generated well up to 2.0.0-beta.15.
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06)
    ✔ cargo: 1.80.1 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.18.2
    - yarn: 1.22.19
    - npm: 9.8.1

[-] Packages
    - tauri [RUST]: 2.0.0-rc.2
    - tauri-build [RUST]: 2.0.0-rc.2
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-beta.9
    - @tauri-apps/api [NPM]: 2.0.0-rc.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.15

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
✨  Done in 13.95s.

Stack trace
No response
Additional context
No response

Please see the relevant documentation. https://v2.tauri.app/plugin/updater/#tauri-configuration
You need to specify createUpdaterArtifacts as true in your configuration to generate signature files.

@tweidinger Thank you, I have checked the contents and I have a question.
In previous versions, the msi and nsis compressed files and signature files were created in Windows environment, but the latest version does not. Is it okay to specify the paths of the msi and nsis files instead of the compressed files when updating?


Reduce time waiting for server to start

On my machine this change makes the waiting time to be 0.012 sec instead of 0.205
Any reason to avoid the extra sleep calls?

updated


select Text doesn't work in Linux console

select Text (Ctrl-Shift) works pretty well in xterm(inals), however doesn't work in a Linux console (Ctrl-Alt-F[1-9]).

Not sure if this is the same issue, but I have this problem under tmux but not otherwise.  Some possible explanations below (but adding "set -g xterm-keys on" to .tmux.conf did not work for me).
http://unix.stackexchange.com/questions/260183/tmux-doesnt-passes-correctly-ctrl-shift-arrow-sequences
http://superuser.com/questions/401926/how-to-get-shiftarrows-and-ctrlarrows-working-in-vim-in-tmux

What finally worked for me was adding the following to .tmux.conf:
set-window-option -g xterm-keys on
and invoking micro using:
TERM=xterm-256color micro
See also #20

So is this a problem with using tmux and micro together. Also it seems like tmux also breaks these kind of keybindings in vim and emacs.

there is no tmux installed on my system, and select Text (Ctrl-Shift)  doesn't work in a Linux console (Ctrl-Alt-F[1-9]) either.

I believe that ctrl/shift + arrows does not work out of the box on most terminal applications running inside tmux.  There are instructions for getting this working in vim and emacs, e.g.:
http://superuser.com/questions/401926/how-to-get-shiftarrows-and-ctrlarrows-working-in-vim-in-tmux
The solution for micro (once I figured out what to do), is no more complex than what people are having to do in vim/emacs.  So I'm not sure if this is even a bug.

I'm afraid this bug is probably unfixable, so I'm going to close it.


[Docs] Chinese Document of faq

Add Chinese Document of faq
Refine a typo in faq

@Tai-Wang
Comments resolved.


.snapshot directory is 'read only'

I keep deploying this docker with the k8-home ghost helm chart... and I keep getting this:
chown: changing ownership of '/var/lib/ghost/content/.snapshot': Read-only file system
chown: changing ownership of '/var/lib/ghost/content/.snapshot': Read-only file system
chown: changing ownership of '/var/lib/ghost/content/.snapshot': Read-only file system
chown: changing ownership of '/var/lib/ghost/content/.snapshot': Read-only file system
chown: changing ownership of '/var/lib/ghost/content/.snapshot': Read-only file system

I been looking at this for a few days and I am stuck.
Here is the "helm" chart values I submit:
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#

image:
  # -- image repository
  repository: ghost
  # -- image tag
  tag: 4.27.2
  # -- image pull policy
  pullPolicy: IfNotPresent

# See https://ghost.org/docs/config/#running-ghost-with-config-env-variables
env:
  url: "https://<EXCLUDED>/"
  database__client: mysql
  database__connection__host: <EXCLUDED>
  database__connection__user: ghost-965
  database__connection__password:  <EXCLUDED>
  database__connection__database: <EXCLUDED>
  NODE_ENV: production

# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
  main:
    ports:
      http:
        port: 2368

ingress:
  # -- Enable and configure ingress settings for the chart under this key.
  # @default -- See values.yaml
  main:
    enabled: false

# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
  content:
    enabled: true
    accessMode: ReadWriteMany
    storageClass: netapp-a-nfs-client
    size: 1Gi
    mountPath: /var/lib/ghost/content

mariadb:
  enabled: false

I don't think this is a kube error, but a docker image error. Thanks.

You're mounting /var/lib/ghost/content so the error '/var/lib/ghost/content/.snapshot': Read-only file system stems from the permissions on that mounted folder

@wglambert  So... now I checked this:
root@bhinfkubeworker02:~# findmnt -lo source,target,fstype,label,options,used -t nfs

SOURCE: netapp-a-01-nfs.kubernetes.<EXCLUDE>:/vol_31012022_220246_99
TARGET: /var/lib/k0s/kubelet/pods/29d60c09-a9b7-49d6-bd8c-9d2797d190fb/volumes/kubernetes.io~nfs/nfs-subdir-external-provisioner-root
TYPE: nfs
OPTIONS: rw,rela
USED: 211.8M

root@bhinfkubeworker02:~#

and
root@<EXCLUDE>:/var/lib/k0s/kubelet/pods/<EXCLUDE>/nfs-subdir-external-provisioner-root# ls -lsa
total 20
4 drwxr-xr-x 4 root       root 4096 Feb  1 12:02 .
4 drwxr-x--- 3 root       root 4096 Jan 31 22:20 ..
4 drwxrwxrwx 2 root       root 4096 Jan 31 22:03 .snapshot
4 drwxrwxrwx 2 root       root 4096 Feb  1 12:02 ghost-blogs-itblog-ghost-config-pvc-1a92b101-c658-4b77-b45f-c60ff89fcbd4
4 drwxrwxrwx 2 localadmin root 4096 Feb  1 11:28 ghost-blogs-itblog-ghost-content-pvc-df307e95-c614-4489-8f8e-c3c2e1093092
root@<EXCLUDE>:/var/lib/k0s/kubelet/pods/<EXCLUDE>/nfs-subdir-external-provisioner-root# root@bhinfkubeworker02:/var/lib/k0s/kubelet/pods/29d60c09-a9b7-49d6-bd8c-9d2797d190fb/volumes/kubernetes.io~nfs/nfs-subdir-external-provisioner-root#
root@<EXCLUDE>:/var/lib/k0s/kubelet/pods/<EXCLUDE>/nfs-subdir-external-provisioner-root# cd .snapshot/
root@<EXCLUDE>:/var/lib/k0s/kubelet/pods/<EXCLUDE>/.snapshot# touch hi
touch: cannot touch 'hi': Read-only file system
root@<EXCLUDE>:/var/lib/k0s/kubelet/pods/<EXCLUDE>/nfs-subdir-external-provisioner-root/.snapshot#

So, yes. This "directory" is read only. As you cans ee the chart shows ReadWriteMany and both PVC's created are "ReadWriteMany", and the nfs provider, is also set the ReadWriteMany. So I am very confused. I never post anything unless I am truly stumped so your help is very much appreciated on what I am doing wrong.
Should I be mounting a different path?

The ReadWriteMany is an access mode and doesn't affect the actual permissions of the volume https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
You probably have to create/modify an export policy in Netapp https://docs.netapp.com/us-en/ontap/nfs-admin/export-rules-concept.html
In the future questions like these should be asked over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum

you can refer this to disable client see .snapshot
https://www.ibm.com/support/pages/cpd-restore-fail-error-snapshot-utimesnano-read-only-file-system-netapp-storage
https://docs.netapp.com/us-en/ontap/data-protection/enable-disable-snapshot-dir-access-task.html#enable-or-disable-client-access-to-snapshot-copy-directory-by-editing-a-volume


Is this project going to be maintained in the future?

Wondering if this project is going to be maintained in the future.

What do you mean maintained? The C and jni code is still usable and working last time I checked. The sample android application is made as a proof of concept and as a guide. I do not keep it up to date with the latest Android versions.

@alexandruc  Hi,Can you give me a hand with this problem #5

Yes, it will be maintained.


Re-write models.get_realm to use Django convenience function.

Automated message from Dropbox CLA bot
@rishig, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @rishig!  We should probably open an issue about the fact that this should use our caching library though...


add userId to bids sent to Causality

Also update snapshot images

          1 Warning

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: Danger

Aight, looks good then 👍

Nice work


Restrict the access to marketplaces to organizations

Currently a marketplace owner cannot restrict the access of users to his marketplace. Any user, who knows the marketplase URL can view the service catalog and can subscribe to services.
A marketplace owner may preferre a "closed" marketplace, where he can control the access of users to the services listed in the catalog.

Please do not close "feature" issues as long as the milestone, which they are assigned to, is not released.

Martin already asked you not to close "feature" issues as long as the milestone, which they are assigned to, is not released.

I think that it was closed automatically with merge to master. I did not closed it intentionally.

This feature has been implemented. Released with 16.0.6.


[bug] sidecar: No such file or directory (os error 2)

Describe the bug
Appears to be similar to issue #3612.
Works in build, but not in dev.
Moving app-* (app-aarch64-apple-darwin in this case) to the src-tauri directory and changing "bin/app" to "app" did not work.
Reproduction

Add a sidecar app

Relevant sections of my tauri.conf.json
{
    "tauri": {
        "allowlist": {
            "shell": {
                "sidecar": true,
                "scope": [
                    {
                        "name": "bin/app",
                        "sidecar": true
                    }
                ]
            },
            ...
        },
        "bundle": {
            "externalBin": [
                "bin/app"
            ],
            ...
        }
        ...
    }
}

And of the JavaScript...
const command = Command.sidecar( 'bin/app' );
console.log( await command.execute() );

Use tauri dev
See "No such file or directory (os error 2)" error in console when running command
See that it works with tauri build

Expected behavior
Dev and build should behave the same.
Platform and versions
macOS 12.4 (21F79), M1 chip
tauri = { version = "1.0.5", features = ["api-all"] }
tauri-build = { version = "1.0.4", features = [] }
Stack trace
No response
Additional context
The example sidecar app only has one line, logging a string to the console.

I solved this by changing the name of the sidecar to something other than app, something I discovered as a possible fix by finding 3663 was resolved this way as well.
However, even though the documentation uses an example of "my_sidecar", the example uses "app", which is how I found my way down this path.
Maybe there could be some sort of error message forbidding this, or some fix to ensure tauri isn't confused by it?

Perhaps I should leave this open, assuming this is a bug in tauri.

i thought that this is a known limitation, in which case we'd need to change the example, but maybe it indeed is just a bug 🤔

Happens because the CLI renames the app executable (from Cargo.toml to the product name defined in the config file), so you lose the sidecar binary in that process. I'll add a validation for it.


HDDS-5607. remove container manager v1 code

What changes were proposed in this pull request?
remove container manager v1 code and rename containerManagerV2 to containerManager
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5607
How was this patch tested?
unit test

@bshashikant PTAL!

Thank You @JacksonYao287 overall LGTM, few minor comments/questions

Thank You @JacksonYao287 for the contribution.


tsserver: reload project must return a response.

After the project is reloaded the ide should request validation of all open files or the open project. Since this should happen after the project has successfully be reloaded the request must send a response.

@dbaeumer would not calling "projectInfo" command be sufficient here? what additional information are you looking for?

@mhegazy I am not looking for any additional information, however I want to know on the client side if the reload project request has finished successful. I want to write something like:
tsserver.exeute(''reloadProjects", ...).then((response) => {
    // Do additional work with the server
});


WIP: Add support for Kubernetes version 1.26

Signed-off-by: Waleed Malik<EMAIL_ADDRESS>What this PR does / why we need it:
This PR does the following:

Add support for Kubernetes v1.26
Remove support for Kubernetes v1.23
Update to the latest minor for supported Kubernetes versions.
Remove support for configuring ConfigSource in machine spec.

Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

/kind feature
/kind cleanup
Special notes for your reviewer:
Support for docker will be removed in a separate PR.
Does this PR introduce a user-facing change? Then add your Release Note here:

* Add support for Kubernetes v1.26
* Remove support for Kubernetes v1.23
* ConfigSource in Machine specs has been deprecated and is a no-op. Since the dynamic kubelet configuration feature has been removed starting from Kubernetes v1.24.

Documentation:

NONE

/test pull-machine-controller-e2e-aws  pull-machine-controller-e2e-aws-arm pull-machine-controller-e2e-aws-legacy-userdata pull-machine-controller-e2e-aws-spot-instance pull-machine-controller-e2e-azure pull-machine-controller-e2e-hetzner pull-machine-controller-e2e-openstack

/test pull-machine-controller-e2e-openstack

/test pull-machine-controller-e2e-aws pull-machine-controller-e2e-azure

/test pull-machine-controller-e2e-azure

Amazon Linux is failing for AWS
Flatcar is failing on Azure

/test pull-machine-controller-e2e-aws pull-machine-controller-e2e-azure

/test pull-machine-controller-e2e-azure
Flake

/retest pull-machine-controller-e2e-aws-arm

/test pull-machine-controller-e2e-aws-arm

I've requested an override for pull-machine-controller-e2e-aws-arm so that we can get this PR merged. It's failing due to capacity issues:

error InsufficientInstanceCapacity: We currently do not have sufficient a1.medium capacity in the Availability Zone you requested (eu-central-1a)

I'm going to test pull-machine-controller-e2e-aws-arm with my upcoming PRs.

/override pull-machine-controller-e2e-aws-arm
AWS AZ is out of capacity.

Also flatcar is failing on KubeVirt. I see that from the log that KubeVirt tests that time were disabled. I will take a look to see what's wrong with.

Looks like it's connected to the thing that on our flatcar image we have containerd 1.5.4, probably it should be 1.6, meaning we have to update the flatcar image.


ArrayBlend modulator: move logic from update_input to update_state to…

… avoid problems when not all inputs have been initialised

lgtm


Can we replace hardcoded domain with {{DOMAIN_NAME}}?

https://github.com/microservices-today/ngp-nodejs/blob/4980cd19159e36b7170db5ed54e9ac41aeff1340/swagger.yaml#L9
@wooiliang

Issue fixed. https://github.com/microservices-today/ngp-nodejs/commit/35946e84b1e470f35207e9dbc50055d0ca8540c9
Thank you @kamoljan

https://github.com/microservices-today/ngp-app-codepipeline/pull/50
https://github.com/microservices-today/ecs-api/commit/b8ee20bdecbaf65341319d3e218bf8ee034ee9d5


Update 110-OSRG and 107-OSRG

update 110-OSRG and 107-OSRG to include -Xnocompressedref

Fix: https://github.com/eclipse/openj9/issues/9495
Signed-off-by: lanxia<EMAIL_ADDRESS>

Close this PR. For detail, please see https://github.com/eclipse/openj9/pull/9551


Redundant/duplicated code to set OverrideFocusedObject/FocusedObject

Assignment of OverrideFocusedObject in GestureManager duplicates assignment of FocusedObject in GazeManager.
Given GestureManager explicitly requires GazeManager, shouldn't the GestureManager simply use the FocusedObject property on the GazeManager to update OverrideFocusedObject?

I think part of the thinking was that people could explicitly set a override object if they really needed to outside of both gaze and gesture managers.
The FocusedObject in the gaze manager doesn't necessarily get overridden, because you could potentially have a null FocusedObject in the gaze manager, but still have a FocusedObject in the gesture manager if you specify an override.
This enables people to be able to still use a gesture on a hologram that people are not currently gazing at.

@briggySmalls please close when you are ready. @HodgsonSDAS described it perfectly.

Thanks for the explaination.


How to load and query a csv file created with python in IBM db2 database.

Topic Suggestion
How to load and query a csv file created with python in IBM db2 database.
Pre-submission advice
in this article you will learn how to

create a CSV file in python
load data into IBM Db2 database
Run SQL queries with your CSV  data in the db2 database

Writing sample(s):

https://adematics.hashnode.dev/how-to-run-a-basic-trigger-in-sql-using-mysql-and-arctype
https://hashnode.com/post/how-programming-languages-started-ckzx607bg00ye14nv0r3icrh4#ckzztg7f80526l0nvenwff3ag

Proposal Submission
Proposed title of the article
How to load and query a CSV file created with python in IBM db2 database.
Proposed article introduction
[Languages] A Comma Separated Values (CSV) file are semi-structure data files which can be transformed to structured data for an ordinary user to understand the meaning of the the data in it . This is where the IBM Db2 database  comes into play, It can collect semi-structure data and transform it into a structured data and also give you the convenient to query the data to get the required result you need.
Key takeaways
This tutorial introduced you on how you can create a CSV file in python and also how you can load your CSV file into your  IBM Db2 database along side running some SQL queries on your data.
Article quality
This article has more in depth explanation on how you can use IBM Db2 database and also how your database can be queried to get the required data you may need.
References
Conclusion
Templates to use as guides

Tutorial Template

Thank you for submitting your topic suggestion. There seems to be many articles that already cover this topic. Can you tell me how yours will build upon them and be unique to add value to our readers?

This my article contains extra details on loading csv files not covered elsewhere and have unique additional points to query datasets with easy to follow guides containing images.

Topic approved but please ensure your article is in-depth and unique enough to add value for our readers.

Closing due to inactivity - if you'd like to continue working on the topic. Please let us know.
@Adematics


How to translate to UI English language

any guide for me translate  to english version

You mean switching the UI to the English version, which does not support I18N at the moment.

Ok thank


Fix statistics

Time module can't be called directly. it needs to be time.time() or some other format. not the module itself.

Good catch.  Thank you for the pull!


Adding dark mode on the Show Listing page

Fixes #141
Adding dark mode for the Show Listing page.
Changes
Dark background for the page content.
Adjustments for buttons, links, and input fields to maintain contrast.
Checklist

[x]  I have tested the Show Listing page in both dark and light modes.
[x]  The dark mode styles are consistent with the site's overall theme.
[x]  No new console errors or warnings were introduced during testing.

@RadhikaMalpani1702 can i know why

@MastanSayyad review this PR

@MastanSayyad review this PR

can i know the reason


Fetching data and component lifecycle doc Issue

Fetching data and component lifecycle
Fetching data and component lifecycle section has a doc issue
Describe the bug
Looking at the documentation of this section: https://github.com/zeit/next.js#fetching-data-and-component-lifecycle the example shows that you can get { req }, but you don't have direct access to that.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to link  'https://github.com/zeit/next.js#fetching-data-and-component-lifecycle'
Look at the example

Expected behavior
The right way to access is: { ctx: { req } }.

Sorry, but it was a little different in my  _app.jsx that was causing this issue. It was a little bit different that I didn't figure out.

No problem happy to help 😉


Hour of Code Stands on Homepage Could Be Interactive

The "stands" in the Hour of Code could be click-able and go to mole (or another activity). It's possible a user's first instinct would be to click on these stands rather than the cards below, so it might be nice to make them actually do something.

@unthinkmedia. If you decide to not do this, please close it as won't fix.

Alex and I believe it may be out of scope for this request.


ci(release.yml): super linter added

config for linter > ./github/linters

config for linter > ./github/linters

ok, great and very useful.

In addition for completeness:

cleanup composer.json "require-dev" section by removing: phpstan/phpstan,  phpcompatibility/php-compatibility, squizlabs/php_codesniffer, roave/security-advisories, dealerdirect/phpcodesniffer-composer-installer
cleanup composer.json "scripts" block by removing: phpStan, phpCompatibility, phpLint, codeCheck
cleanup composer.json "config" block completely
remove folder /scripts
in the github actions workflow, please also remove composer run-script phpCompatibility as this tool wasn't really helpful in the past and the underlying tools are no longer maintained.

Thanks
Kai

ok noted, thanks


Introduce VirtualIdEmbeddable and IdClassEmbeddable

Introduce VirtualIdEmbeddable and IdClassEmbeddable

Ongoing work, but in a working state and I wanted to get it pushed before the weekend :)


Implement resampling of tiffs

Currently tiff stacks can be viewed but we have not yet implemented downsampling them. To run the DVC code we would need to convert the tiff to a numpy/raw file.

this should be handled by https://github.com/vais-ral/CILViewer/issues/126


Improve script to correctly set is_segwit flag

[x] issue #94
[x] follows contribution guide
[ ] code change includes tests

@m-kus  have generated locally block that are post segwit activation, and it works well. For example, last halving block contains like 95% of segwit tx and 5% of non segwit

@m-kus  ready for final review.
I generated also the segwit activation block, which contains 7 segwit tx. It is not compiled when running tests as still commented out in blocks.cairo


remove implicit up bound of active query soft limit

What problem does this PR solve?
Issue Number: close #8876
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-integration-tests


[DOJOT-51] - Delete devices in batch

https://dojot.atlassian.net/browse/DOJOT-51

There are two DeepScan errors to fix.


e2e tests which use real modules

use real modules in tests to ensure they work when integrated with the m4d core, this should include:

read path
write path

If the goal is to test read/write modules, shouldn't it be done during the CI process defined in a read/write module repository?

This needs to be demonstrated in the hello world module and not as part of manager.


[FEATURE] Remove saved posts from sidebar and move to profile

Description
Currently, the saved posts icon is on the sidebar. I want to move it to profile like instagram. So, their will be two options for the current user one is saved and second is feed and only one for other user that is feed if they visit other user profile.
Screenshots
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Currently, the saved posts icon is on the sidebar. I want to move it to profile like instagram. So, their will be two options for the current user one is saved and second is feed and only one for other user that is feed if they visit other user profile.
Screenshots
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

that'd look awesome, you can go ahead!


Suggestion: Merge DatumPage and StreamDatum functionality into EventPage

When trying to use StreamResource and StreamDatum it occured to me that EventPage was very nearly what I wanted, and maybe we could iterate on that rather than making something new. I suggest to following changes to EventPage:

seq_num is either an array of N integers or a slice object (dict with start and stop keys)
data[key] is either an array of data values or a single resource slice reference
filled[key] is a single bool rather than an array of N bools
timestamps is optional

After conversations with @danielballan we could also remove Datums from this world and make explicit references to slice information in the resource reference, so data[key] could be:

In Event

If filled, the actual data, e.g. 2.5
If not filled, a pointer to an index within a resource uid, e.g. uid/5

In EventPage

If filled, the actual data array, e.g. [2.5, 3.5, 4.5]
If not filled, a pointer to a slice within a resource uid, e.g. uid/5:8

This means that a 1 MHz point detector could produce a single EventPage every second with no million point JSON structures within it.
Note that unless a rewind has happened, the slice information in the resource reference will be the same as in seq_num, but after a rewind seq_num may repeat, so will be less than the slice information in the resource reference.
This would make #1558 a lot simpler

@danielballan @tacaswell this is now updated in light of yesterday's conversation so ready for further comments

@callumforrester @diamondjoseph this may be of interest

A major concern I have is that this would make the current "list of Events" <-> "EventPage" equivolence much harder to maintain as now we need to solve the problem of "I have a bunch of datum" <-> "a slice of a resource".
Starting clean with the more restricted assumptions of StreamDatam and StreamResource where to avoid having to solve this problem.


updated tester adding and searching to use new TestFlight API

Fixes / will fix #185

@taquitos Testing with fastlane/fastlane#10937 branch now

Let me know if this is ready for me to give it a go and try it out for our team

Making one last fix. Should be ready in about 15min

good to go!

Tried to test this out and got the following error:

@kdawgwilk I received that error as well, but only if I didn't run bundle update and restart rails after switching branches. However, that might have been a coincidence.

I'm seeing an error in fastlane 2.66 owing to
if tester.kind_of?(Spaceship::Tunes::Tester::Internal)
The error is:

Something went wrong, please contact the application owner: uninitialized constant Spaceship::Tunes::Tester

@andydrizen thanks, fixed in https://github.com/fastlane/boarding/pull/193


Le sfrrt

Add ellipsoids algo, plot functions and RRT structure

Codecov Report

Merging #186 (704b709) into master (947fb85) will decrease coverage by 7.76%.
The diff coverage is 1.36%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
- Coverage   50.70%   42.94%   -7.76%
==========================================
  Files          36       47      +11
  Lines        3400     4049     +649
==========================================
+ Hits         1724     1739      +15
- Misses       1676     2310     +634

Impacted Files
Coverage Δ

src/domain/continuous_domain.jl
0.00% <0.00%> (ø)

src/domain/custom_domain.jl
33.33% <ø> (ø)

src/domain/domain_list.jl
52.68% <ø> (ø)

src/domain/grid.jl
34.28% <0.00%> (-1.01%)
:arrow_down:

src/mapping/mapping_continuous.jl
0.00% <0.00%> (ø)

src/symbolic/ellipsoidal_RRT.jl
0.00% <0.00%> (ø)

src/utils/data_structures/RRT.jl
0.00% <0.00%> (ø)

src/utils/ellipsoid.jl
0.00% <0.00%> (ø)

src/utils/ellipsoid_inclusion.jl
0.00% <0.00%> (ø)

src/utils/ellipsoid_intersection.jl
0.00% <0.00%> (ø)

... and 15 more

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


When will the following Libraries / Frameworks be supported: Netty、Reactor Netty、Apache RocketMQ

Is your feature request related to a problem?

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Please refer to our documentation for general info.
Addressing your specific questions:

Reactor and WebFlux are both supported but marked as experimental, so you would need to set enable_experimental_instrumentations=true to enable them
RocketMQ instrumentation was attempted by the community in the past, but eventually got abandoned. It is not included in our plans, but if a user would pick it back up, we will be happy to assist.

Going forward, please don't use GitHub issues for asking questions, definitely not through the issue topic. We have a forum, where questions are most welcome.
Closing this issue as there is no next step related to it.


Aggregator permissions issue?

Trying to utilize the new aggregator permissions flag:
$ sonobuoy run --aggregator-permissions=namespaced --mode=quick

INFO[0000] create request issued                         name=sonobuoy namespace= resource=namespaces
INFO[0000] create request issued                         name=sonobuoy-serviceaccount namespace=sonobuoy resource=serviceaccounts
ERRO[0000] error attempting to run sonobuoy: failed to create object: failed to create API resource sonobuoy-serviceaccount-sonobuoy: the server does not allow this method on the requested resource

We did gen tests but may not have actually tried runs. Need to dive in; probably a small change to what the template does in the namespaced option.
Using gen, I think the issue is that even though we change the kind of the role, roleref still shows this:
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole

so we probably just need to adjust that as well.
@NikhilSharmaWe

@johnSchnake
Confirming: So we just need to change kind to Rolebinding in [here(https://github.com/NikhilSharmaWe/sonobuoy/blob/cdf69c82ff167fee39dd671c0e683639bfc0829e/test/integration/testdata/gen-aggregator-permissions-namespaced.golden#L23)

No there are numerous issues with the feature that will have to be corrected.

dont create the namespace
role/binding have a namespace label (why?) but are cluster-wide since they are not just set as the metadata.namespace
namespaced roles cant have non-resource URLs set
when running with those limited permissions, most (all?) of the queries will fail and currently sonobuoy handles that very poorly causing nothing to work.

I'm going to take this one up myself since it is relatively extensive. These changes in the template are also so wonky that I think it is time we abandon the template in general and turn it into go code itself. Thats a bit tedious but will be much nicer to read and maintain with all of these options we've added.

Currently all the gen issues are fixed but we are left with a busted run due to the inability to read nodes. Will discuss this on the originating issue #1470

Closing this issue since it doesn't add much else now.


Type-bind for submission input (port from DSpace-CRIS 7 angular)

References

Fixes #806
Requires DSpace/DSpace#8175

Description
A port of type-bind functionality ported from DSpace CRIS 7.
The describe forms in submission sections will dynamically update on item type change (publication type, eg. dc.type) to hide or display fields depending on which fields are allowed by the configured type binding in submission-forms.xml. As with earlier versions of DSpace, if no type-bind is set for an input field, it will be allowed for all dc.type values.
In addition to the port, the field to check for item type has been made configurable in the environment.submission.* section. Integration / unit testing is WIP.
Original work created by 4Science for DSpace CRIS 7. Ported and modified by The Library Code GmbH with support from Technische Universität Berlin.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:

DsDynamicTypeBindRelationService ported, with a few changes to methods and with JSdoc and inline comments added (maybe too much, going by other angular components?)
FormBuilderService updated to handle typeBind model, and some other form / group model handling
FieldParser updated to process typeBind relations on form components to match valid type binds with item type value
Various dynamic form / field models and components updated to handle typeBind relations
Some models in tests updated
Configuration updated to allow setting a different "type" field (default dc.type)

This change is somewhat extensive, touching 23+ files, and comments have been added to try and help with understanding in a code review.
Checklist

[ ] My PR is small in size (not quite - ~1200 lines)
[ ] My PR passes TSLint validation using yarn run lint
[x] My PR doesn't introduce circular dependencies
[ ] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[ ] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[ ] My PR does NOT include new, third-party dependencies

I was manually testing the functionality, and it works really beautifully. 😎
Only minor issue, I stumbled upon: while rows that are hidden for certain types collapse, columns within a multi-column row stay as an empty space when they are hidden for certain types. It would be nicer if they would also collapse. But this might be a big effort for a small effect. I attach two screenshots to illustrate the issue:

Thanks @atarix83 , I will get the securityconfig/level references removed (I thought I had! But a few slipped by) and also revert that template change that you mentioned.

@MW3000 thanks a lot for the feedback! My latest commit should address the layout issue you saw.
It applies the .d-none class to the form-control container in a group or array as well, and I have included a new global css rule to force visibility: collapse on ds-form-control-container elements with the .d-none class. This is subject to feedback from more experienced dspace-angular devs as perhaps we should be applying a different class here, or applying the CSS rule in a different place.
But it seems to work well, and you can choose with different bootstrap classes (the <style> element in your submission-forms.xml field definitions) to choose whether the fields keep their column width or expand to fit the available space.
Example: All 3 fields in my row are displayed as col-sm-4 because type bind = true

Example: First field is hidden, it collapses and the other fields shift over but retain their width because their class is col-sm-4

Example: First field is hidden, it collapses and the other fields expand to take up available space because I gave them the more simple modern col-sm class in the submission form which means bootstrap will just make them even.

(you can also mix and match - perhaps two fields are col-sm-4 but one is col-sm, so if a smaller field is removed, there will be one field taking up 1/3 of the row and another taking up 2/3)
Thanks for the improvement suggestion!

@kshepherd thanks for addressing my feedback.
I tested again, and it works as you describe on Firefox, but unfortunately the changes do not work on Safari. On Safari, it is still the same behaviour as before.

@kshepherd thanks for addressing my feedback. I tested again, and it works as you describe on Firefox, but unfortunately the changes do not work on Safari. On Safari, it is still the same behaviour as before.

@MW3000 ah, you're right, in Chrome it apparently is also inconsistently implemented... there may not be a perfect way for us to achieve what we want in all browsers as I don't think we can actually destroy the element, but I'll have to look again

@atarix83 I have resolved the issues you identified earlier, and have some basic integration tests included, but I would not consider testing complete as the final behaviour of a form component is not verified.
I think ideally we want to have tests here that can do component fixture detection to see if something is correctly hidden, right? Using the mock submission JSON to put some extra type-bound fields inside... would you recommend I try to do this in section-form.component.spec.ts? I might have a few extra questions about the best way to implement tests here.

@MW3000 As it looks to be hard to collapse columns by using CSS, is it acceptable, to solve this by configuration? Can you configure fields without type-bind in columns left from fields using type-bind?

@MW3000 As it looks to be hard to collapse columns by using CSS, is it acceptable, to solve this by configuration? Can you configure fields without type-bind in columns left from fields using type-bind?

@atarix83 @pnbecker Yes, this is a minor detail and it is totally acceptable to do without it. I was just thoroughly testing ;)

Rebased and force pushed as there was a conflict in global css.
I've added service tests but I still have a few things I want to confirm, however any eyes on it would be great.
I ended up with errors in tests with the setTimeout in the date picker model (error calling that from a sync test) and tested it without the async altogether, and it seems to work so it's further simplified.

just a note, the 14.x build tests seem to fail sporadically at different places and i can't see that they have anything to do with my changes

@tdonohue @artlowel I've applied feedback regarding tests and fixed remaining LGTM issues. Please let me know if there are any more questions.
Art, I have ensured that the MetadataValidation code in the DSpace PR will not allow values that are not allowed by type binding to make it into workspace items, even if added under a different type, saved by the user, etc., so this should all be taken care of.

@tdonohue thanks, that last issue is fixed, it was introduced with the recent "config from backend" change. Should be good to go now

Merging with +2.  Thanks again @kshepherd for your hard work here!  When you get the chance, could you update our Type-Bind docs for DSpace 7 at https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface#SubmissionUserInterface-ItemtypeBasedMetadataCollection ?  Please make sure to note this feature is only available in 7.3 and above, and update those docs as necessary to describe this feature.


Opening empty repository -> error 500

Gitea version (or commit ref): 1.9.1
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:
2019/08/19 16:18:03 ...ules/context/repo.go:594:func1() [E] GetBranches: No branches in non-empty repository /gitea-repositories/xxxxxxxx/xxxxxxxxxxx
2019/08/19 16:18:03 ...s/context/context.go:137:HTML() [D] Template: status/500

Description
I did an update from 1.7.4 to 1.8.3 and 1.9.1 and in some repositories I get a 500 error
files exist along the path gitea-repositories
How to restore repositories?
Screenshots

If you can open the settings page of the repository, try to select a default branch.

Happened to me as well. I'm not sure if it was introduced in 1.8 or 1.9.
Settings are inacessible and there are indeed no branches.
A branch is just a "pointer" to a commit, so until something is commited no branches actually exist

@abread how did you create that repository on gitea?

Just the regular create button, without initializing it. At least one with 1.7.x/1.8.x, the others with older versions.
On August 23, 2019 2:40:39 AM UTC, Lunny Xiao<EMAIL_ADDRESS>wrote:

@abread how did you create that repository on gitea?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/go-gitea/gitea/issues/7914#issuecomment-524150235

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Can you query the database for the is_empty column of the repo table?
This column has been migrated from is_bare recently.
The index would probably need to be re-generated.
As per https://github.com/go-gitea/gitea/blob/master/modules/context/repo.go#L563.
It should return from the function normally if the repo is empty.

That seems to be the issue is_empty is NULL on all repositories except the ones that are not empty and were visited, which are 0.

Please don't close.

@nuno-silva are you still suffering this? What version of Gitea are you using?
Have you tried setting the values of is_bare manually?

@zeripath yes, I have one repo still affected, using:

gitea 1.9.3
Go1.12.8

The repository has no commits (yet).
MariaDB [gitea]> select id,lower_name,is_bare,is_mirror,is_fork,is_empty,is_archived from repository where lower_name like 'laboratorios';
+-----+--------------+---------+-----------+---------+----------+-------------+
| id  | lower_name   | is_bare | is_mirror | is_fork | is_empty | is_archived |
+-----+--------------+---------+-----------+---------+----------+-------------+
| 484 | laboratorios |       1 |         0 |       0 |     NULL |        NULL |
+-----+--------------+---------+-----------+---------+----------+-------------+
1 row in set (0.00 sec)

note: this is the same gitea instance as @abread .

In my case, the problem was a mismatch between the port memcached was listening on and app.ini setting:
[cache]
HOST     = <IP_ADDRESS>:<PORT>

Just set the is_bare value to the correct thing for that repo and it will never happen again. You suffered a migration bug when changing versions - that migration is now fixed and should never happen again.

@zeripath alright. You mean set is_empty, right (as @zeripath said)?. That works. Thank you!


query fail  Memory exceed limit

the table have 900+ columns

the version is 2.0GA?

the bug has been fixed in 2.0.1


Minor fixes to restore Python3.x compatibility.

Fix #90 and another issues that cause Python3.x tests to fail.

Better fix in #93


convert Plots.jl -> AbstractPlotting.jl

(transferred from https://github.com/beacon-biosignals/OldLighthouse.jl/issues/134)

The consensus is that AbstractPlotting is easier to work with and gives you more control, and that the conversion shouldn't be too much work  -- @kolia

with the new Makie update, https://discourse.julialang.org/t/ann-makie-update-figures-and-integrated-layouts/52800, it's probably easier to do this now! Though maybe we should wait a bit first for the bugs to get worked out. (maybe @SimonDanisch can help us when the time comes too 😄).

with the new Makie update, https://discourse.julialang.org/t/ann-makie-update-figures-and-integrated-layouts/52800, it's probably easier to do this now! Though maybe we should wait a bit first for the bugs to get worked out. (maybe @SimonDanisch can help us when the time comes too 😄).

I started to port  a few recipes over to BeaconPlots: https://github.com/beacon-biosignals/BeaconPlots.jl/pull/34/.
Not sure if we want to leave them there going forward, but it makes things easier for me right now.
Should be easy to move if we want them somewhere else :)

Closed as of #29!


Allow for Backend Terraform Configuration when using Developer Tools CLI Image

Hello,
My team is using the Developer Tools Image for local development of new modules. To isolate our development environments, we create a new gcp project and use that project to test and verify the infrastructure.
However, it has been a pain that we cannot configure the backend bucket or prefix when using the docker image. I believe it would be a relatively easy change to include these as configuration options while running the prepare_environment function.
We would like to be able to configure the backend bucket by defining an optional environment variable that could be used in the terraform init function:
TF_BACKEND_CONFIG_FILE

A bucket id to use while configuring the backend

I believe these could be added with a change to task_helper_functions.sh:
   if [[ -e "${TF_BACKEND_CONFIG_FILE}" ]] then
    terraform init -backend-config="${TF_BACKEND_CONFIG_FILE}"
  else
    terraform init
  fi

A similar if statement would need to be added to cleanup_environment
Let me know if this is something we should submit a PR for or if it can be rolled up into one of the open PRs. Thanks.

Hi @mattkizaric-leveragelab

To isolate our development environments, we create a new gcp project and use that project to test and verify the infrastructure

We also follow a similar pattern. In this case whats the use case of having remote state rather locally on the dev machine.
We could look into adding this but I wanted to understand the use-case better.

Hi @mattkizaric-leveragelab

To isolate our development environments, we create a new gcp project and use that project to test and verify the infrastructure

We also follow a similar pattern. In this case whats the use case of having remote state rather locally on the dev machine.
We could look into adding this but I wanted to understand the use-case better.

We often use this flow in our CI/CD pipeline with code reviews, so it is helpful to be able to have a remote state that is updated as new commits are added to a PR.
Workflow:

Local development is done, the ephemeral project is set up locally and tests are run on a developers machine. Often our projects are named after the git branch the developer is using (JIRA-1234)
Developer Pushes to remote branch and/or opens a PR. Tests should be re-run automatically using our CI/CD pipeline on any new commits.
After checks pass, the PR is merged into our main branch. The ephemeral project is destroyed and all resources are deleted.

What if we passed through TF_CLI_ARGS? This would allow you to set the backend config without us explicitly adding code for that workflow.

TIL and it works! You will need to use TF_CLI_ARGS_init as  justTF_CLI_ARGS will error out for the subsequent apply as it affects all commands.

Thank you @morgante and @bharathkkb. That seems to do the trick. Appreciate the help!


Add 2.4 release notes

Description
Adds 2.4 release notes
Issues Resolved
#243
Check List

[ x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #346 (b4cd520) into main (cf16c2c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #346   +/-   ##
=======================================
  Coverage   49.79%   49.79%
=======================================
  Files         193      193
  Lines        6202     6202
  Branches      975      975
=======================================
  Hits         3088     3088
  Misses       2891     2891
  Partials      223      223

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


PCH Support

To use doctest with a pre-compiled header, we'd need a way to include only the implementation (since all the declarations are expanded in the PCH already).
Here is the ticket for Catch2, explaining it in further detail: https://github.com/catchorg/Catch2/issues/1061

Nevermind, it works out of the box.


I use a custom design to lay the ground in the roller, how do I erase them?

I use a custom design to lay the ground in the roller, how do I erase them?

Left-click is place
Right-click is erase


Passwordless hub pull-request

Hi folks,
I'd like to be able to create PRs without password (maybe using an API token) for use in automated environment.
All users in the organization have 2 factor authentication enabled so hard-coding a particular username/password combo will not work. How do I authenticate using an API token ? Please point me to RTFM if any. Thanks.

You can use the GITHUB_TOKEN env var for this. See man hub for more info. The token that you provide here must have the repo GitHub permission.

@keith is right. @atodorov please see https://hub.github.com/hub.1.html or hub help hub.


Add implicit solvers to dynamiqs

Waiting on https://github.com/patrick-kidger/diffrax/issues/428 before marking the PR as ready.
Even on a very simple stiff problem (4-legged dissipative cat), the implicit solver is getting stuck. We may have to play with the root finding to improve this?
import dynamiqs as dq
import jax.numpy as jnp

# units
kHz, MHz = 2 * jnp.pi * 1e-3, 2 * jnp.pi
ns, us = 1e-3, 1e0

# parameters
N = 16
alpha = jnp.sqrt(4.0)
k4 = 100.0 * kHz
T = 2 * us

# operators
a = dq.destroy(N)
i = dq.eye(N)

# Hamiltonian and jump operators
H = dq.zero(N)
jump_ops = [jnp.sqrt(k4) * (dq.powm(a, 4) - alpha**4 * i)]

# initial state
psi0 = dq.coherent(N, 0.0)

# time
tsave = jnp.linspace(0.0, T, 101)

# run simulation
solver = dq.solver.Kvaerno5(atol=1e-4, rtol=1e-4)
result = dq.mesolve(H, jump_ops, psi0, tsave, solver=solver)
print(result)

Closes DYN-159.

In the end, the solvers work as intended but my example was limited by single-precision. I added a warning in the solver page, and with https://github.com/dynamiqs/dynamiqs/pull/596, it should be enough.
I'm not adding tests for the implicit solvers since they're already tested by diffrax, but can do so if needed.


Support for imagePullSecrets

Hello,
We are using our private Docker repository for our images, and as a result when specifying a image for container for pod we have to specify imagePullSecrets.
Right now as I can see it is not supported. I can see that normal Secrets are supported, but not imagePullSecrets which are used to authenticate with Docker repository. Please correct me if I'm wrong.
Do you plan to add this support? I can and create a PR for that if that helps.
Thank you.
AG

Yes, we do plan to support this (see #129 for the plan to sync with apache/spark/master). Support for it was added in https://github.com/apache/spark/pull/20811.  So to support this, it's just a matter of adding an optional field to SparkApplicationSpec of type []string, and set the new config key added in https://github.com/apache/spark/pull/20811 if the field is not empty. It's great if you are willing to work on this!

@andreyxebialabs I added support for this in #158. It has one dependency that should be merged soon. You will need to use a Spark image based on the latest spark master.


Incorporate more AI Frameworks and Data Types

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Hi! I'm looking to extend the AI Frameworks (such as onnx, PyTorch) and data types (text, speech) etc. Could you point me to the part of the code that I should focus on?
Is there also a reason why there are so many constraints on the model types currently accepted?
Is your feature request related to a problem/limitation?
No response
Describe the solution you'd like
No response
Alternatives
No response
Additional Context
No response
Related Issues/PRs
No response

Hi @simin-ong, thank you for your question. Let me check in with the team and get back to you with an answer.

Hi @simin-ong ,
Types of models supported are built into ai verify as core-modules here  https://github.com/IMDA-BTG/aiverify/tree/main/test-engine-core-modules%2Fsrco
To add support for a new model type, you can create a new core-module that follows the same structure. Feel free to reach out if you need more info on this.
Supporting Pytorch is rather complex as we would require the neural network architecture to be uploaded and read differently from how the other model types are read. If you are using a pytorch model, we would recommend connecting to your model server via the API connector.
We recognize the need to support ONNX and have placed it on our backlog, please let us know if it's in your interest to contribute here! :)

Hi @kimeetok .
Will the model API be available for other use cases that are non tabular?

Hi @simin-ong , yes the API Connector will be available for other data types, with image data being our immediate focus.
Our testing algorithms do not currently cater for speech and text as we understand that the testing algorithms are still rather nascent in these areas. Very interested to find out more about your use-case and if you're planning to build any plugins for speech and text tests! :)


error while compiling: dependencies installed but still errors

Hello,
nice project but I have some errors while compiling on ubuntu 16:
/newsboat# make Makefile:30: config.mk: No such file or directory Checking for package sqlite3... not found
You need package sqlite3 in order to compile this program. Please make sure it is installed.
You can download sqlite3 from here: newer)](http://www.sqlite.org/download.html) newsboat
Checking for package libcurl... found Checking for package libxml-2.0... found Checking for package stfl... found Checking for package json... found Checking for package ncursesw... found
One or more dependencies couldn't be found. Please install these packages and retry compilation.
Makefile:316: recipe for target 'config.mk' failed make: *** [config.mk] Error 1
I see the message about sqlite3 missing but it is installed
 dpkg -l | grep sqlite3 ii  libaprutil1-dbd-sqlite3:amd64         1.5.4-1build1                              amd64        Apache Portable Runtime Utility Library - SQLite3 Driver ii  libdbd-sqlite3-perl                   1.50-1                                     amd64        Perl DBI driver with a self-contained RDBMS ii  libsqlite3-0:amd64                    3.11.0-1ubuntu1                            amd64        SQLite 3 shared library ii  sqlite3                               3.11.0-1ubuntu1                            amd64        Command line interface for SQLite 3 ii  sqlite3-doc                           3.11.0-1ubuntu1                            all          SQLite 3 documentation ii  sqlite3-pcre                          0~git20070120091816+4229ecc-0ubuntu1       amd64        Perl-compatible regular expression support for SQLite
so I don't understand which dependencies are still missing.
On centos 7 and arch linux 2017 I have problems with stfl which I can't install.
On Arch
# make gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC   -c -o public.o public.c In file included from public.c:23:0: stfl_internals.h:31:10: fatal error: ncursesw/ncurses.h: No such file or directory  #include <ncursesw/ncurses.h>           ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [<builtin>: public.o] Error 1
On centos
cd perl5 && swig -perl5 stfl.i && perl Makefile.PL ../swig/basedecls.i:87: Warning 314: 'dump' is a perl keyword ../swig/basedecls.i:181: Warning 314: 'dump' is a perl keyword Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. make: *** [perl5/build_ok] Error 2
Can you help me to understand what's going wrong, please?
EDIT: I have updated the errors
Thx

You're missing the development headers, libsqlite3-dev.

Hello @tsipinakis ,
thx for your reply. I have installed the dev headers you mentioned but I get another error:
# make Makefile:30: config.mk: No such file or directory Checking for package sqlite3... found Checking for package libcurl... found Checking for package libxml-2.0... found Checking for package stfl... found Checking for package json... found Checking for package ncursesw... found g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\" -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/json-c -D_GNU_SOURCE -I/usr/include/ncursesw -o doc/generate doc/generate.cpp doc/generate doc/configcommands.dsv > doc/newsboat-cfgcmds.txt g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\" -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/json-c -D_GNU_SOURCE -I/usr/include/ncursesw -o doc/generate2 doc/generate2.cpp doc/generate2 doc/keycmds.dsv > doc/newsboat-keycmds.txt a2x -f manpage doc/manpage-newsboat.txt make: a2x: Command not found Makefile:184: recipe for target 'doc/newsboat.1' failed make: *** [doc/newsboat.1] Error 127

From the newsboat package the full dependency list for debian/ubuntu is
libncursesw5-dev, ncurses-term, debhelper (>=9), libxml2-dev, libstfl-dev, libsqlite3-dev, perl, pkg-config, libcurl4-gnutls-dev, libjson-c-dev, asciidoc, libxml2-utils, xsltproc, docbook-xml, docbook-xsl, bc

You're probably missing the last ones related to building the docs (asciidoc and the like).

PS. You can use code blocks like this
` ``
Text here
` ``

To get a much prettier text block (remove the space between the ticks, just there to prevent github catching it as actual formatting.

@tsipinakis thx for your suggestion, i will the code blocks.
Now i am trying to install all the dependencies if any can be missing.
I will inform you. thx

hello @tsipinakis ,
thx for your help. I have finally installed on Ubuntu 16 by installing all the dependencies.
Now I will try it on Centos 7 and arch linux 2017 too.
thx

Hello @tsipinakis ,
I have a problem on centos 7, I have installed stfl
`` make -C perl5 DESTDIR=/ PREFIX=/usr/local install_vendor make[1]: Entering directory/root/stfl/stfl-0.24/perl5'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Appending installation info to //usr/lib64/perl5/perllocal.pod
make[1]: Leaving directory /root/stfl/stfl-0.24/perl5' mkdir -p //usr/lib64/python2.7/site-packages/ mkdir -p //usr/lib64/python2.7/site-packages/lib-dynload/ cp python/_stfl.so //usr/lib64/python2.7/site-packages/lib-dynload/ cp python/stfl.pyc //usr/lib64/python2.7/site-packages/ cp python/stfl.py //usr/lib64/python2.7/site-packages/ mkdir -p //usr/local/lib/pkgconfig mkdir -p //usr/local/include install -m 644 libstfl.a //usr/local/lib install -m 644 stfl.h //usr/local/include/ install -m 644 stfl.pc //usr/local/lib/pkgconfig/ install -m 644 libstfl.so.0.24 //usr/local/lib ln -fs libstfl.so.0.24 //usr/local/lib/libstfl.so  ``
But when compiling newsboat, it doesn't find stfl
` ``
Makefile:30: config.mk: No such file or directory
Checking for package sqlite3... found
Checking for package libcurl... found
Checking for package libxml-2.0... found
Checking for package stfl... not found
You need package stfl in order to compile this program.
Please make sure it is installed.
You can download stfl from here: newer)](http://www.clifford.at/stfl/)
Checking for package json... found
Checking for package ncursesw... found
One or more dependencies couldn't be found. Please install
these packages and retry compilation.
make: *** [config.mk] Error 1
` ``

@franshesco, I edited your post to fix formatting of the code blocks. Check out this help page, it got examples!
As for your problem with STFL: do you have //usr/local/lib/pkgconfig/ in your PKG_CONFIG_PATH environment variable? Please show the output of env | grep PKG_CONFIG_PATH | grep '//usr/local/lib/pkgconfig/'.

Hello  @Minoru,
thx for your help and the link because I was using spaces in the code blocks.
The command env | grep PKG_CONFIG_PATH | grep '//usr/local/lib/pkgconfig/' doesn't give a return but the pkgconfig package is installed
# rpm -qa | grep pkg
pkgconfig-0.27.1-4.el7.x86_64

Okay, run this: export PKG_CONFIG_PATH=//usr/local/lib/pkgconfig/, then in the same terminal try to build Newsboat. pkg-config simply can't find a description of libstfl because it doesn't know where to look. By providing PKG_CONFIG_PATH, we tell it where to search. Hope this helps!

hello @Minoru ,
thx for the help. I have configure the path and all the libraries are found while compiling newsboat but I get some news errors as below:
# make
Makefile:30: config.mk: No such file or directory
Checking for package sqlite3... found
Checking for package libcurl... found
Checking for package libxml-2.0... found
Checking for package stfl... found
Checking for package json... found
Checking for package ncursesw... found
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o doc/generate doc/generate.cpp
doc/generate doc/configcommands.dsv > doc/newsboat-cfgcmds.txt
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o doc/generate2 doc/generate2.cpp
doc/generate2 doc/keycmds.dsv > doc/newsboat-keycmds.txt
a2x -f manpage doc/manpage-newsboat.txt
doc/generate doc/podboat-cmds.dsv 'pb-' > doc/podboat-cfgcmds.txt
a2x -f manpage doc/manpage-podboat.txt
sed -E 's/^([^|]+)/[[\1]]<<\1,`\1`>>/' doc/configcommands.dsv > doc/configcommands-linked.dsv
sed -E 's/^([^|]+)/[[\1]]<<\1,`\1`>>/' doc/keycmds.dsv > doc/keycmds-linked.dsv
sed -E 's/^([^|]+)/[[\1]]<<\1,`\1`>>/' doc/podboat-cmds.dsv > doc/podboat-cmds-linked.dsv
mkdir -p doc/xhtml
a2x -f xhtml -D doc/xhtml doc/newsboat.txt
chmod u+w doc/xhtml/docbook-xsl.css
echo "/* AsciiDoc's new tables have <p> inside <td> which wastes vertical space, so fix it */" >> doc/xhtml/docbook-xsl.css
echo "td > p { margin: 0; }" >> doc/xhtml/docbook-xsl.css
echo "td > p + p { margin-top: 0.5em; }" >> doc/xhtml/docbook-xsl.css
echo "td > pre { margin: 0; white-space: pre-wrap; }" >> doc/xhtml/docbook-xsl.css
mkdir -p doc/xhtml
a2x -f xhtml -D doc/xhtml doc/faq.txt
chmod u+w doc/xhtml/docbook-xsl.css
echo "/* AsciiDoc's new tables have <p> inside <td> which wastes vertical space, so fix it */" >> doc/xhtml/docbook-xsl.css
echo "td > p { margin: 0; }" >> doc/xhtml/docbook-xsl.css
echo "td > p + p { margin-top: 0.5em; }" >> doc/xhtml/docbook-xsl.css
echo "td > pre { margin: 0; white-space: pre-wrap; }" >> doc/xhtml/docbook-xsl.css
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/configcontainer.o -c src/configcontainer.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/configparser.o -c src/configparser.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/colormanager.o -c src/colormanager.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/keymap.o -c src/keymap.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/stflpp.o -c src/stflpp.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/logger.o -c src/logger.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/exception.o -c src/exception.cpp
g++ -std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Werror -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -DGIT_HASH=\"r2.10.1-110-g7f11\"   -I/usr/include/libxml2   -I/usr/local/include   -I/usr/include/json-c    -o src/utils.o -c src/utils.cpp
src/utils.cpp: In static member function ‘static std::string newsboat::utils::make_title(const string&)’:
src/utils.cpp:1027:40: error: no matching function for call to ‘regex_replace(std::string&, std::regex&, const char [1])’
  title = std::regex_replace(title,rx,"");
                                        ^
src/utils.cpp:1027:40: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from src/utils.cpp:26:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
src/utils.cpp:1027:40: note:   deduced conflicting types for parameter ‘_Bi_iter’ (‘std::basic_regex<char>’ and ‘const char*’)
  title = std::regex_replace(title,rx,"");
                                        ^
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from src/utils.cpp:26:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
src/utils.cpp:1027:40: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char [1]’
  title = std::regex_replace(title,rx,"");
                                        ^
make: *** [src/utils.o] Error 1

thx for your time

In file included from /usr/include/c++/4.8.2/regex:62:0

Judging by this line, you have GCC 4.8.2, which is a bit too old to build Newsboat. Try GCC 4.9 (or newer), or Clang 3.6 (or newer).

Hi,
It is true that I have tried to install gcc 4.9.2 by compiling but even
after the installation, when checking it is always the 4.8 gcc version.
Now I will try to install a more recent version and let you know
On Dec 8, 2017 18:01, "Alexander Batischev"<EMAIL_ADDRESS>wrote:

In file included from /usr/include/c++/4.8.2/regex:62:0
Judging by this line, you have GCC 4.8.2, which is a bit too old to build
Newsboat. Try GCC 4.9 (or newer), or Clang 3.6 (or newer).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/newsboat/newsboat/issues/74#issuecomment-350315181,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJxH-EtJXtYowgARL2aGtSsAK3ZjrYt-ks5s-WtMgaJpZM4Q1ruf
.

@franshesco, did you have any luck compiling with a newer GCC?

No response in half a year, and the issue seems resolved anyway. Closing.

Hello, sorry for reopening this! I am on CentOS 7 and had exactly the same problems, but managed to successfully compile and install newsboat with a newer gcc.
However when I run newsboat it returns:

newsboat: error while loading shared libraries: libstfl.so.0: cannot open shared object file: No such file or directory

/usr/local/lib contains libstfl.so and libstfl.so.0.24
I don't know how to get a more verbose error output.
I am not familiar with stfl at all and can' say I'm going to become a big fan after the ordeal it has given me so far :)
Thank you.

@TheFatDave The error message says "libstfl.so.0", with a zero at the end. That should be a symlink to "libstfl.so.0.24". Usually the package manager sets those up, I don't know why it didn't in your case. Hope this helps!

Hi,
I built stfl myself, because (as far as I am aware) there is no package for RHEL/Centos.
I tried ln -s libstfl.so.0.24 libstfl.so.0, but that didn't help. Do you know what sort of other linking would need to be done (and which location)?
Thank you for your help so far!

Try re-create ld cache by running sudo ldconfig. Then run ldd newsboat (where "newsboat" is a filename, so if you don't have it in the current directory -- navigate there, or use a proper path):
$ ldd newsboat
	linux-vdso.so.1 (0x00007fffb1bfa000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f18fa015000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f18fa010000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f18f9ee6000)
	libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f18f9e55000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f18f9c9c000)
	libstfl.so.0 => /usr/lib/libstfl.so.0 (0x00007f18f9c8d000)
…

That should list libraries along with their paths.
If that doesn't help, check if ld even looks into /usr/local/lib. There is a config in /etc/ld.so.conf, it should mention that directory. (There might also be /etc/ld.so.conf.d/, look in there too).

Ld didn't look into /usr/local/lib, so i added /usr/local/lib to it and now it works!
Thank you very much!

 Distributions like Centos exist so that you don't need to know all this stuff.
Glad you've resolved it! ^_^


Upgraded tailwind to v3

#46
First of many package updates that we need to do, but I think this one should be safe to merge before saturday since it's mostly css stuff? but we can always wait until later

Might be some tiny things to change but overall seems fine! For some reason the exact color of bg-gray-400 is different... very strange
I'll just push some changes onto this branch before we merge

Might be some tiny things to change but overall seems fine! For some reason the exact color of bg-gray-400 is different... very strange
I'll just push some changes onto this branch before we merge

I would agree that some updates should be made before merging:
v1 to v2 https://v2.tailwindcss.com/docs/upgrading-to-v2
v2 to v3 https://tailwindcss.com/docs/upgrade-guide

Oops didn't realize that documentation was a thing, gonna make some more changes and then submit the pr later!


[Docs]: add user management information

type: new page
status: pending
location: kubefirst/management.md
Acceptance criteria:
AC1: it describes what is management cluster
AC2: it give hints to the user how to access the management cluster
AC3: it tell the user what can be done in the management cluster

It was done