Polybar cant find my bars

i have the config file in $HOME/.config/polybar/config and the launch script in the same folder
no matter how i rename the bar, i always get this message:
error: Undefined bar: barname
i did chmod +x on the script and the config file, i followed the  tutorial step by step, i uninstalled and reinstalled again but i still get the same result.
I tried everything that i could find from people that had the same problem but my problem still presists.
Is there anything i can do to fix this?

What exact command are you using to start polybar? Please add -l info to that command and post the whole output.

error: Undefined bar: mybar
* Waiting for spawned processes to end
* Reached end of application...
➜  ~

What does your config file look like?

Hmm, the config works on my end. There is probably something wrong with your XDG_CONFIG_HOME variable. If you specify the config file via the --config argument does it work then?

echo $XDG_CONFIG_HOME gives out nothing
polybar --config=$HOME/.config/polybar/config isnt working how i expect it too. i get this;
polybar --config=$HOME/.config/polybar/config
Usage: polybar [OPTION]... BAR
-h, --help               Display this help and exit
-v, --version            Display build details and exit
-l, --log=LEVEL          Set the logging verbosity (default: WARNING)
LEVEL is one of: error, warning, info, trace
-q, --quiet              Be quiet (will override -l)
-c, --config=FILE        Path to the configuration file
-r, --reload             Reload when the configuration has been modified
-d, --dump=PARAM         Print value of PARAM in bar section and exit
-m, --list-monitors      Print list of available monitors and exit
-w, --print-wmname       Print the generated WM_NAME and exit
-s, --stdout             Output data to stdout instead of drawing it to the X window
-p, --png=FILE           Save png snapshot to FILE after running for 3 seconds

Could you build polybar against #1028 and then run that polybar executable with -l info. This should give us some insight as to which config file polybar is trying to load

how do i do that exactly?

Well now that the PR I linked to is merged, you can follow the instructions here to compile polybar, make sure you have the newest commit check out.

Seems that it loads the right file
`* Loading config: /home/gianluca/.config/polybar/config
error: Undefined bar: mybar

Waiting for spawned processes to end
Reached end of application...
➜  ~
`

This is really strange. Just to make sure that everything is consistent, please post the whole output of cat /home/gianluca/.config/polybar/config

here you go
sudo  cat /home/gianluca/.config/polybar/config
[sudo] password for gianluca:
;=====================================================
;
;   To learn more about how to configure Polybar
;   go to https://github.com/jaagr/polybar
;
;   The README contains alot of information
;
;=====================================================
[colors]
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[modules/xmenu]
menu-0 = item 1;command
menu-0-0 = sub-item 1.1;command
menu-0-1 = sub-item 1.2;command
menu-0-2 = sub-item 1.3;command
menu-1 = item 2;command
menu-1-0 = sub-item 2.1;command
menu-1-1 = sub-item 2.2;command
[bar/mybar]
monitor = ${env:MONITOR:eDP-1-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = bspwm i3
modules-center = xwindow
modules-right = filesystem xbacklight volume xkeyboard memory cpu wlan eth battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
[module/i3]
type = internal/i3
format =
index-sort = true
wrapping-scroll = false
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
label-focused = F %index%
label-focused-background = ${module/bspwm.label-focused-background}
label-focused-underline = ${module/bspwm.label-focused-underline}
label-focused-padding = ${module/bspwm.label-focused-padding}
label-unfocused = U %index%
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
label-visible = V %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-background}
label-visible-padding = ${self.label-focused-padding}
label-urgent = %index%!
label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
[module/mpd]
type = internal/mpd
format-online =
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format =
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = net1
interval = 3.0
format-connected =
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected =
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = net0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected =
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/volume]
type = internal/volume
format-volume =
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
format-charging =
format-charging-underline = #ffb52a
format-discharging =
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format =
format-underline = #f50a4d
format-warn =
format-warn-underline = ${self.format-underline}
label = %temperature%
label-warn = %temperature%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini

Why did you need to use sudo? What permissions does your config file have (stat ~/.config/polybar/config)?

i tohught i applied chmod +x yesterday just like on the tutorial
here is what i get:
File: '/home/gianluca/.config/polybar/config'
Size: 8577      	Blocks: 24         IO Block: 4096   regular file
Device: 10301h/66305d	Inode: 18743725    Links: 1
Access: (0000/----------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-02-15 03:01:33.878863277 +0100
Modify: 2018-02-15 02:59:13.353918354 +0100
Change: 2018-02-15 02:59:13.353918354 +0100
Birth: -

You don't have read access to the config file, that's why polybar can't find a bar. You need to take ownership of the file and also set its permissions so that you can read it.

oh wow its finally working.
Thanks a lot :)
one more question though. Im getting a huge output file, something like this:
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e236)
warn: Dropping unmatched character  (U+e0ca)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e237)
warn: Dropping unmatched character  (U+e0ca)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e238)
warn: Dropping unmatched character  (U+e0ca)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e238)
warn: Dropping unmatched character  (U+e0ca)
warn: Dropping unmatched character  (U+e016)
is this normal?

If you use the sample config without any adjustment, yeah. See Fonts

I have the same problem, I put the permissions and nothing.


Feature Request: Upgrade to Coqui voice stack

👋 Hi there
A lot has changed since my last PR was merged here. It's still an awesome project, but the quality of STT and TTS has greatly improved since the (now unmaintained) mozilla repos were used.
It would be very easy to upgrade to Coqui (🐸STT and 🐸TTS) and get those improvements:)

Thanks for raising this issue, @yennycheung will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Please check out https://github.com/AshutoshDongare/convo which integrates Silero speech models with Rasa for voice interface.

It seems this repository is no longer maintained. I am working on integrating 🐸TTS to the voice interface as @JRMeyer requested. Just popping in here to give some details to whomever is interested.
The linked blog post in the README file  does not include the socketio connections for speech tools (the code snippets are not copied from the original post), but the correct reference is the medium article and hence the file to be updated is in this gist.
In principle, I will be working on this these weeks, but if anyone else is interested in lending a helping hand, let me know.


Release 2.37.29

2.37.29
Fixes:

Updated styling for compatibility with YouTube's new theater layout
The video description text and link colors were incorrect after a theme change

Release schedule:

[x] Firefox (MV2) -> 2023-06-28
[x] Opera (MV2) -> 2023-06-28 in review -> 2023-06-29
[x] Chrome (MV3) -> 2023-06-28 in review -> 2023-06-29
[ ] Edge (MV3) -> 2023-06-28 in review -> 2023-06-?

Do you know why Edge is takin so long?

Do you know why Edge is taking so long?

No, we don't get updates about why it sometimes takes longer. It often takes one workday but they have a maximum of 7 workdays.
Anyway, I just got the email that the new version has been reviewed.


EOL issues

GitLens Version: 10.1.1

VSCode Version: 1.39.2
OS Version: Windows 10 (10.0.18362 Build 18362)

Steps to Reproduce:

run git config --global core.autocrlf true

stage some changes

gitlens shows changes on the working tree but running git status doesn't show those changes. Looking at the file comparison, there is nothing hightlighting it so it has to be the eol characters.

Basically gitlens is showing that there are stages to be changed but git status says otherwise.

Do you see the same in the built-in vscode git?

I am closing this issue because it needs more information and has not had recent activity.  Please re-open this issue when more details can be provided.
Thanks!

I figured out what the issue was. The inconsistency was between git on WSL and git on normal windows, because WSL always resets the file permissions. I ran git config core.filemode false to fix it.


Improve ockam enroll by copying the one-time code to the clipboard

Current behavior

When a user runs ockam enroll they are presented with a prompt where they have to press Enter which opens a browser.
Then they have to type in a code that they see in the terminal.
Then they have to paste this code into their browser.

The following screenshot shows where the one-time code is displayed in the terminal.

This video shows the entire enrollment process for your context: https://asciinema.org/a/608023?t=0:34

To install Ockam command from a prebuilt binary or from source, please take a look at this README.md.

Suggested improvement
Instead of simply showing the one-time code in terminal, we should try and copy this code to the clipboard. We can make this process easier by copying the code into the clipboard to help the user paste it into their browser.
If we are able to copy it (in some cases, this might not be possible, for eg, if you are in an SSH session to a remote host) then we should display a prompt that says something like the following:
Your one-time code: XXXX-YYYY has been copied to the clipboard 🎉
Press ENTER to open https://account.ockam.io/activate in your browser.

If we unable to copy to the clipboard, then leave things as they currently are.
The function you might want to modify is get_token_interactively() in this file /src/enroll/oidc_service.rs.

We love helping new contributors! ❤

If you have questions or need help as you work on your first Ockam contribution, please join us on the contributors discord channel.

If you're looking for other issues to contribute to, checkout these labels good first issue or help wanted.

Thank you for spending time on this. In order to make contributions to Ockam (now or in the future), if you haven't already, please add yourself to the Contributor License Agreement.

[ ] Accept the Ockam Contributor License Agreement by adding your Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR (and a single commit that will ensure that it is verified). The video below shows this in action.

https://github.com/build-trust/ockam-website/assets/2966499/363b5416-3b08-40fc-94b7-ce5ed3fb5af3

I'd like to take on this issue, if nobody's done it yet.

@halfbro awesome! All yours, let us know if you have questions as you explore


Fixed problem with deploying docs

Coverage remained the same at 91.718% when pulling 6d34a83dab24056e7992541fb792e22926c97e36 on fix-docs-deploy into a05d65de9bd978dd4a59c4458ea484fd09f35100 on master.


Problem with Firestore instance

Hi!
I'm using JavaScript library (https://www.npmjs.com/package/node-firestore-import-export) to backup Firestore Cloud Database. When I run the script using terminal commands the library works fine, but when I try to use it in Firebase Functions I see the unexpected different result. Backup data have no datatypes as GeoPoint or DocumentReference. For example, instead of DocumentReference in the backup.json file, I see this:
{"parentDocumentRef":{"_firestore":{"_clientPool":{"concurrentOperationLimit":100,"clientFactory":{},"activeClients":{}},"_settingsFrozen":false ...............
But it should be like this:
{"parentDocumentRef":{ "datatype": "documentReference", "value": "documents/IWG7w2YrvAdqBV4WYrs8"}  ...............
After debugging I found that in both cases the library received an object of Firestore instance to make actions with it, but inside this objects are not the same. In Firebase Functions the library cannot correctly interpret the types, so backup data is broken as I gave an example above.
So tell me please what is wrong? What the difference between Firestore instances when I use terminal commands on my local machine and when I use it in Firebase Functions?
Environment details

OS: macOS Mojave 10.14
Node.js version: 10.9.0
npm version: 6.2.0
@google-cloud/firestore version: 0.16.1

Steps to reproduce

Inside Firebase Functions:

const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp();
const db = admin.firestore()
const firestoreImportExport = require('node-firestore-import-export')
exports.createFirestoreBackup = functions.https.onRequest((request, response) => {
firestoreImportExport.firestoreExport(db).then(data => {
// data is wrong
})
})

Run in terminal: firebase functions:shell
or deploy functions to Firebase Server the result will be the same
execute the function

Following these steps will guarantee the quickest resolution possible.
Thanks!

Ok. Yes, you are right, thanks!


Unhandled Rejection (Error): Cannot create styled-component for component: [object Object]

Instalei esse pacote via npm, porem por algum motivo que não consegue identificar essa mensagem de erro aparece, já tentei reinstalar varias vezes , tanto o styledComponents , styledIcons, @types/react , utilizar numa tela apenas o código de teste :
import styled from 'styled-components'
import {Zap} from 'styled-icons/octicons/Zap'
const RedZap = styled(Zap)  color: red;
const App = () =>
porem não funciona, alguém poderia me ajudar :D

Can you let me know which version of react and styled-components you are using?  If you are able to create an example of the problem as a https://codesandbox.io or GitHub repository, that would be helpful - I would be happy to help!

sorry, but now I realized that my dependence on the styled component was not in the last version of the project, thank you

Great, glad you were able to get it to work! 👍


Friendlier deprecation notices

With the introduction of #88 , we'll need to have friendly deprecation notices. Let's use this ticket to see what we want for future alerts of this type.
Ideally, I'd like to see something like create-react-app.

I'm not sure how useful this is,
from my POV, this app is still on early stage of development and is not mature enough to display deprecation notices.

This is not interesting right now.
with 2.0 on the map, we will introduce heaps of breaking changes, so I say we address this when we get there


Add missing quotes around some expressions

Summary
Adds quotes around expressions in places where they were missing.
Changes
Mostly fixed href attributes of links, errors which are ignored by web browsers. Also fixed alt and title attributes of links inside the social navigation block.
Accessibility
This was my initial motivation for doing this, as missing quotes around alt and title attributes on links inside the social navigation block prevents putting text with spaces.
Type of change

[x] Bug fix (fixes an issue without altering functionality)
[ ] New feature (adds non-breaking functionality)
[ ] Breaking change (alters existing functionality)
[x] UI/UX improvement (enhances user interface without altering functionality)
[ ] Refactor (improves code quality without altering functionality)
[ ] Documentation update
[ ] Other (please describe below)

Checklist

[x] I have verified the accessibility of my changes
[ ] I have tested all possible scenarios for this change
[ ] I have updated theme.toml with a sane default for the feature
[ ] I have made corresponding changes to the documentation:

[ ] Updated config.toml comments
[ ] Updated theme.toml comments
[ ] Updated "Mastering tabi" post in English
[ ] (Optional) Updated "Mastering tabi" post in Spanish
[ ] (Optional) Updated "Mastering tabi" post in Catalan

Thank you, Arnold!


Coverage cannot find source file when package does not align with root

The core issue stems from https://github.com/bazelbuild/intellij/blob/b67030706e8ce4b219a373fc7468bc1614d62e93/java/src/com/google/idea/blaze/java/run/coverage/BlazeCoverageRunner.java#L68 where it attempts to "resolve" the file emitted from bazel's coverage.
Unfortunately, that path is constructed via bazel by using the package name: https://github.com/bazelbuild/bazel/blob/master/src/java_tools/junitrunner/java/com/google/testing/coverage/JacocoLCOVFormatter.java#L107
What this means is that if the package root is not the workspace root the WorkspacePathResolver will not be able to find the file (due to missing folders from the workspace to the package root).
It seems there's a workaround for java (https://github.com/bazelbuild/intellij/blob/b67030706e8ce4b219a373fc7468bc1614d62e93/testing/test_defs.bzl#L116) although I haven't been able to test this or see if this is true at all (a brief readthrough of the code would imply this fixes the issue).
This does not work for non-java languages such as scala.
If the answer is to implement this functionality in rules_scala, then I suppose I can take that on. Currently I'm using a hacky-work around which solves my use case.
Historically, WorkspacePathResolverImpl had access to BazelRoots (now deprecated) which would have found the file (if my understanding of what BazelRoots are is correct). See: https://bazel.googlesource.com/intellij/+/a6397369244de2e6afa1627fe9a5637e13322bff/base/src/com/google/idea/blaze/base/sync/workspace/WorkspacePathResolverImpl.java
I'm more than happy to contribute here (if you would like). Some guidance about where or which solution would be incredibly helpful.

For what it's worth. Here is my patch / current work around:
diff --git a/java/src/com/google/idea/blaze/java/run/coverage/BlazeCoverageRunner.java b/java/src/com/google/idea/blaze/java/run/coverage/BlazeCoverageRunner.java
index f7472e58..c8374f79 100644
--- a/java/src/com/google/idea/blaze/java/run/coverage/BlazeCoverageRunner.java
+++ b/java/src/com/google/idea/blaze/java/run/coverage/BlazeCoverageRunner.java
@@ -17,6 +17,8 @@ package com.google.idea.blaze.java.run.coverage;

 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.primitives.Ints;
+import com.google.idea.blaze.base.ideinfo.ArtifactLocation;
+import com.google.idea.blaze.base.ideinfo.TargetIdeInfo;
 import com.google.idea.blaze.base.model.BlazeProjectData;
 import com.google.idea.blaze.base.settings.Blaze;
 import com.google.idea.blaze.base.sync.data.BlazeProjectDataManager;
@@ -29,10 +31,9 @@ import com.intellij.openapi.diagnostic.Logger;
 import com.intellij.rt.coverage.data.ClassData;
 import com.intellij.rt.coverage.data.LineData;
 import com.intellij.rt.coverage.data.ProjectData;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
+
+import java.io.*;
+import java.util.HashSet;
 import javax.annotation.Nullable;

 /** Loads coverage data when blaze invocation is complete. */
@@ -51,8 +52,18 @@ public class BlazeCoverageRunner extends CoverageRunner {
     if (blazeProjectData == null) {
       return null;
     }
+    HashSet<String> sourceFiles = new HashSet<>();
+
+    for (TargetIdeInfo targetIdeInfo : blazeProjectData.getTargetData().targetMap.targets()) {
+      for (ArtifactLocation artifactLocation : targetIdeInfo.getSources()) {
+        if (artifactLocation != null) {
+          sourceFiles.add(artifactLocation.getRelativePath());
+        }
+      }
+    }
+
     try (FileInputStream stream = new FileInputStream(sessionDataFile)) {
-      return parseCoverage(blazeProjectData.getWorkspacePathResolver(), stream);
+      return parseCoverage(blazeProjectData.getWorkspacePathResolver(), stream, sourceFiles);
     } catch (IOException e) {
       logger.warn(e);
     }
@@ -60,12 +71,23 @@ public class BlazeCoverageRunner extends CoverageRunner {
   }

   @VisibleForTesting
-  static ProjectData parseCoverage(WorkspacePathResolver pathResolver, InputStream stream)
+  static ProjectData parseCoverage(WorkspacePathResolver pathResolver, InputStream stream, HashSet<String> sourceFiles)
       throws IOException {
     ProjectData data = new ProjectData();
     BlazeCoverageData blazeData = BlazeCoverageData.parse(stream);
     for (String filePath : blazeData.perFileData.keySet()) {
       File file = pathResolver.resolveToFile(filePath);
+      if (!file.exists()) {
+        for (String sourceFile : sourceFiles) {
+          if (sourceFile.endsWith(filePath)) {
+            File testFile = pathResolver.resolveToFile(sourceFile);
+            if (testFile.exists()) {
+              file = testFile;
+            }
+          }
+        }
+      }
+
       ClassData classData = data.getOrCreateClassData(file.getPath());
       classData.setLines(fromFileData(blazeData.perFileData.get(filePath)));
     }

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Missing apostrophe in documentation

@googlebot I signed it!

Please make the PR against master and then cherry-pick. Thank you.


Feedback issues

Changing the default to the to match the most important parameters as viewed by the authors

Making the  color legend bigger

Look for a way so that users can know which dropdown belongs to which plot

Increasing the size of the fonts

Putting direction on the map

Thank you for the feedback! We'll do our best in implementing it.


Fix core.demangle tests

When making some changes to my own demangler in GDB.  I noticed these started failing.
I compiled some tests to closely match what the demangled symbol is, and I'm pretty sure these are all wrong.  Or, if they were correct at one stage, this is no longer the case in DMD.
The culprit here is the nested FZv.  DMD only emits the type for the symbol, and not the type of any of it's parents.

This symbol starting failing too:
_D8serenity9persister6Sqlite70__T15SqlitePersisterTS8serenity9persister6Sqlite11__unittest6FZv4TestZ15SqlitePersister12__T7opIndexZ7opIndexMFmZS8serenity9persister6Sqlite11__unittest6FZv4Test

But this will take longer to write a proper test for...

Auto-merge toggled on


Nested ssh session possible?

Hi, I was wondering if keeping a nested (doubly) ssh session was possible using this crate.
I need to do the following thing:
connect to server 1
from server 1, connect to many other servers, that are reachable only from server 1
I cannot do SSH tunnel with my setup.
Thanks.

Perhaps you can use ssh jumphost?
openssh::SessionBuilder::jump_hosts can be used to configure jump hosts which might solve your problem.

Or, you can first connect to server 1, manually execute ssh command on it which connections to server 2.

jump_hosts worked perfectly, thanks!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #650 (72b0022) into main (21d0c98) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #650   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17


[SPARK-44002][CONNECT] Fix the artifact statuses handler

What changes were proposed in this pull request?
In the PR, I propose to invoke getStatus() instead of get() of BlockManager in SparkConnectArtifactStatusesHandler because get() acquires a lock on the given block. Apparently, the next request of artifact status freezes w/o the fix. Comparing to get() the getStatus() method doesn't lock the given block.
Why are the changes needed?
To fix a bug.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
By running the modified test suite:
$ build/sbt "test:testOnly *.ClientE2ETestSuite"

Merged to master.

good catch!


 The first time running this command will freeze forever.
P.S.  Thanks
for reporting it.
Em 31/05/2016 00:20, "Wensheng Tang"<EMAIL_ADDRESS>escreveu:

I've also encounter this issue. The first time running this command will
freeze forever.
P.S.
Reply to this email directly, view it on GitHub
https://github.com/nvbn/thefuck/issues/254#issuecomment-222584108, or mute
the thread
https://github.com/notifications/unsubscribe/ACA8uRTitMDR4Q9VEsaa8zFzMTeViNMrks5qG6j0gaJpZM4FBQUu
.

The same issue
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "c:\Python27\Scripts\thefuck.exe\__main__.py", line 9, in <module>
  File "c:\python27\lib\site-packages\thefuck\main.py", line 82, in main
    fix_command()
  File "c:\python27\lib\site-packages\thefuck\main.py", line 26, in fix_command
    command = types.Command.from_raw_script(sys.argv[1:])
  File "c:\python27\lib\site-packages\thefuck\types.py", line 120, in from_raw_s
cript
    stderr = result.stderr.read().decode('utf-8')
  File "c:\python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xad in position 6: invalid s
tart byte

Yup same issue for me
$ fuck
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\thefuck.exe_main.py", line 9, in
File "c:\python27\lib\site-packages\thefuck\main.py", line 51, in main
fix_command(known_args)
File "c:\python27\lib\site-packages\thefuck\main.py", line 27, in fix_command
command = types.Command.from_raw_script(raw_command)
File "c:\python27\lib\site-packages\thefuck\types.py", line 125, in from_raw_script
stderr = result.stderr.read().decode('utf-8')
File "c:\python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 84: invalid start byte

same on windows10
Traceback (most recent call last):
  File "d:\scoop\apps\python\3.7.2\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\scoop\apps\python\3.7.2\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Scoop\apps\python\current\scripts\thefuck.exe\__main__.py", line 9, in <module>
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\entrypoints\main.py", line 26, in main
    fix_command(known_args)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\entrypoints\fix_command.py", line 36, in fix_command
    command = types.Command.from_raw_script(raw_command)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\types.py", line 82, in from_raw_script
    output = get_output(script, expanded)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\output_readers\__init__.py", line 20, in get_output
    return rerun.get_output(script, expanded)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\output_readers\rerun.py", line 62, in get_output
    output = result.stdout.read().decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 4: invalid start byte

same on windows10
Traceback (most recent call last):
  File "d:\scoop\apps\python\3.7.2\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\scoop\apps\python\3.7.2\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Scoop\apps\python\current\scripts\thefuck.exe\__main__.py", line 9, in <module>
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\entrypoints\main.py", line 26, in main
    fix_command(known_args)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\entrypoints\fix_command.py", line 36, in fix_command
    command = types.Command.from_raw_script(raw_command)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\types.py", line 82, in from_raw_script
    output = get_output(script, expanded)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\output_readers\__init__.py", line 20, in get_output
    return rerun.get_output(script, expanded)
  File "d:\scoop\apps\python\3.7.2\lib\site-packages\thefuck\output_readers\rerun.py", line 62, in get_output
    output = result.stdout.read().decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 4: invalid start byte

Any idea to slove it? I've got the same error

Fixed in c2df71caed917ea659a72a393b105881ec0709df


Run pyright on CI

I've updated the intial comment, I discussed this with Tomasz originally but might be a good one to bring up and resolve in a stand-up.


proposal: add info on file tree

Not everyone new to Go is coming from a Un*x background, but, I think writing up, in the Readme.md file, the html docs, or on the wiki, of the similarity of the Go and plan9port file trees, might make language more accessible to new Go programmers.

This is not obvious to me.  It seems likely that more people are familiar with Go than with plan9port.  But perhaps I misunderstand.  Can you give an example of the kind of docs you would like to add?

hardware specific sub-directories in the file tree
src, being akin to p9p's src and Plan 9's sys/src
R.C., R.P., and K.T., as Go developers worked on Plan 9
and might be eminently qualified to do a write up on the Go file tree
proposed location as a new html page linked to on the Documents page
under the References section
https://golang.org/doc/#references
References
File Tree Documentation
The documentation for the Go file tree.

If anything I think this should simply be a wiki page.  Want to try writing it yourself?

@forskning do you know of other projects with files like this? Some examples could help show the usefulness of the idea.
A wiki page does sound like a good start, though. It can always be added to the repo itself later.

I think you're right that there's nothing explaining what's in $GOROOT and where. I don't think that saying "it's like Plan 9" or "it's like plan9port" is going to help much, though (I'm not sure there is really very much similarity at all). Probably it should just be documented from scratch.
The $GOROOT/README.md is about much more high-level concerns so that's probably not the right place.
Maybe on the Wiki? If the wiki page is a success we might consider copying it into $GOROOT, maybe as something like $GOROOT/HACKING.md (to match src/runtime/HACKING.md and maybe others), but we should probably start on the wiki.

I fully understand the rewrite by R.C. of the current up for discussion issue, maybe I had been on a wrong tack here, one should probably introduce the Go language based on the its content, rather than presumptions on what coding background a newcomer to the language may have had, and, neither would my approach allocate for the circumstance where Go may factually be the first language the coder learns.
Nominally https://github.com/golang/go/issues/21792#issuecomment-329843827 may have some bearing on the current issue, the comment of I.L.T. on "other places we should document godoc.", but introducing shell variables in the README.md is probably not the best location to do so, and,  whereas in https://github.com/golang/go/issues/21792#issuecomment-329571093 I pointed out that  https://go.googlesource.com/go appears to be the source of the content of the README.md, and both contain a link to a wiki page, probably a link to an additional document or wiki page therein, where the Go file tree would be explained, "what's in $GOROOT and where", might be an approach, cognisant that if one adds a "Reading the Docs" section to https://go.googlesource.com/go and README.md, one might need to explain the Go file tree.

@forskning do you want to create a FileTreeDocumentation page on the wiki? You have access and permission.
If you don't have time, I could take a swing at it. I've bumbled around the project enough to know what most of the directories are for, though I might have to ask some questions here.

https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/edit
Any opinion about the layout for a tree as appears in the example on page 2 of above link?

Assuming "source tree" and "GOROOT" mean the same, I believe this is mostly a duplicate of #21034.

@forskning That doc is describing the layout of a sample GOPATH.  It's true that the src subdirectory of GOROOT is laid out like a GOPATH, but that doesn't help you with the other GOROOT directories.

Talking about the design of a wiki page, its too early for me to respond to the comments of @jimmyfrasche, the layout cited appears different than for example what would render if one ran from a Windows Command Prompt the TREE built-in, or TREE with the Ascii option.
Thank you @mvdan very much for the provision of the reference to the other thread, where the man in opening that thread mentioned the api/README file, useful in research for writing a wiki page as envisaged pursuant to this current thread.

My browser's too old to work on the wiki.
@rsc Maybe the following deserves a new thread.
Incidentally, both the Go source and wiki have some links which redirect.
At some point it might be pursued to make an assessment as to which of those (possibly not all) might be changed so they don't redirect.
If a link is discovered in the Go source (and designated for change), the wiki at that time might be checked for the presence of that same link, and the change in the source then reflected as a change of that same link in the wiki.
As an example of a link which probably should be updated (it's compiled into the go executable) would be that link appearing on line 419 of the Go development version file vcs.go.
https://github.com/golang/go/blob/master/src/cmd/go/internal/get/vcs.go
https://golang.org/s/gogetcmd
redirects to
https://github.com/golang/go/wiki/GoGetTools

I think the layout of the tree in the link provided in https://github.com/golang/go/issues/22041#issuecomment-334056145 would render favourably in mothra and/or text-browsers.
https://www.youtube.com/watch?v=LR8fQiskYII
https://www.youtube.com/watch?v=NvWTnIoQZj4
If comparison with other languages' file trees would be relevant, Haskell and Java (on my Slackware machine) have likewise top level directories as sub-directories of /lib.
@jimmyfrasche to respond to your comments

do you know of other projects with files like this?

yes - Java might have hardware specific sub-directories
no - not with a src/cmd directory

If you don't have time, I could take a swing at it

Sounds good!

@forskning
I like the tree format, but not the vertical pipes in particular. I would just go with plain old tabs. How exactly are you posting here if you can't edit the wiki? Is there a github API or has Mothra grown a new pair of wings since I last used it?

I couldn't use the tree format and have links so I just went with a list of lists.
I'm sure I made some silly mistakes and there were a few directories I had to leave blank for utter want of understanding or at least insufficient understanding to comment.
PTAL: https://github.com/golang/go/wiki/FileTreeDocumentation

@as

vertical pipes

I thought the vertical pipes might get mixed reviews.

How exactly are you posting here if you can't edit the wiki?

Posting (not editing) works in the following.
Mozilla Firefox 15.0.1 (Slackware-14.0)
Google Chrome 49.0.2623.75 (MS® XP)

new pair of wings

A screenshot of a recent port of Mothra to plan9port (KDE 4.8.5)

http://9front.org/extra/
...
mothra.black.tgz
mothra.mono.tgz
mothra.p.tgz
mothra.white.tgz

FWIW, if a tree format would be implemented on other wiki pages.
% tree -d -L 2 /usr/lib/go1.9 | head
/usr/lib/go1.9
`-- go
    |-- api
    |-- bin
    |-- doc
    |-- lib
    |-- misc
    |-- pkg
    |-- src
    `-- test
%

% tree $GOROOT/lib | head -n 5
/usr/lib/go1.9/go/lib
`-- time
    |-- README
    |-- update.bash
    `-- zoneinfo.zip
%

% tree -d -L 1 $GOROOT/misc | head -n 12
/usr/lib/go1.9/go/misc
|-- android
|-- arm
|-- cgo
|-- chrome
|-- git
|-- ios
|-- linkcheck
|-- nacl
|-- sortac
|-- swig
`-- trace
%

% tree -d -L 1 $GOROOT/pkg | head -n 7
/usr/lib/go1.9/go/pkg
|-- bootstrap
|-- include
|-- linux_386
|-- linux_386_dynlink
|-- obj
`-- tool
%

It's not likely the Go Wiki ever would get "Dehanced for Lynx" (a.k.a. Lynx Friendly), or "Enhanced for Mothra".

The Plan 9 Wiki maintainers having considered for the wikifs(4) replacing the "...very small set of cues" when generating HTML, "... with something better, like Markdown".

http://nurmi-labs.blogspot.com/p/filetreedoc.html
a somewhat clipped version with tree format added

@jimmyfrasche I added a bit of content to the FileTreeDoc blog Page
Would you be interested to utilise any of that for your wiki page?


first unambiguous letters of command could suffice to run it

example:
runme run n

could be enough to run this command:
npm i

You can achieve this by adding sh {name=n} at the top of your snippet right after the backticks. I think it might be confusing and unexpected for some people to do it automatically.
Also, runme supports auto-completion for most of the popular shells so typing runme run n<tab> should do the trick. Which OS do you use? If it's macOS and you installed via Homebrew, take a look at https://docs.brew.sh/Shell-Completion. Otherwise, check out runme completion.


[xDS] fix "tls" channel cred in bootstrap to actually work

This fixes a fairly embarrassing bug and lack of testing from #33234.  Prior to this fix, attempting to use the "tls" creds type would always cause a crash.
@gtcooke94 @matthewstevenson88 Note that the root cause of this bug was that when I wrote this code, I assumed that grpc_tls_credentials_options had a reasonable default for the cert verifier.  But it turns out that it doesn't do that directly; instead, we are only imposing that default in CredentialOptionSanityCheck(), which is called only when we call grpc_tls_credentials_create(), not when we directly instantiate TlsCredentials as my code was doing.  As part of the TlsCreds API cleanup you're working on, we should fix this so that callers get the right behavior even if they are internal callers that instantiate the TlsCreds object directly rather than calling the C-core API.

release notes: yes?

Thanks for flagging this @markdroth. We will make sure this "reasonable default" issue gets fixed as part of the de-experimentalization effort. cc: @gtcooke94


[flutter_tool] remove extra usage of .packages in vmservice APIs

Description
The .packages is no longer needed since we precompile to kernel on the host. This requires Requires flutter/engine#17195 first
#8502

flutter/engine#17195  landed, waiting for roll


Use public urls for submodules

The ssh urls are tickling something on my macbook that requires touching the gnubby a lot and the submodule clones sometimes fail.
cc @bdero

Yeah same. This keeps happening to me when pushing to my engine fork today.


Login flow improvements

Summary
Improved login flow with added design and changed content.
Changed

Theme updated

After making those two changes, this PR is ready to be merged in. :shipit:


CU-85zrw3t55_Fix-tests-getIssue-method

Get all new IssueControllerTest updates

Task linked: CU-85zrw3t55 Fix tests getIssue() method


Explicit init signatures for Catalog, RemoteCatalog

I have changed the __init__ of Catalog and RemoteCatalog to make their signatures explicit (as opposed to Catalog(*args, **kwargs)).
The only reason I can think of not to do this is that **kwargs is a decent way to force keyword-only arguments in Python 2. In Python 3, of course, we can spell out the keyword arguments explicitly and make them keyword-only. It may make sense to put this PR on the back burner until #228 is resolved.
The reasons to do this are:

Catalog presently silently ignores keyword parameters that are misspelled by the user. With this change, it would raise and alert the user rather than silently ignoring unrecognized input.
There are couple places where intake seems to be relying on unused keyword arguments to Catalog subclasses falling through and eventually being ignored by Catalog in **kwargs. I think it would be better to catch these further up (as in 7733472 for example).

The tests currently do not pass, and I have question about how best to resolve it. open_remote passes parameters=user_parameters into the container it is constructing:
https://github.com/ContinuumIO/intake/blob/6b084f426caf070da141ec044f660fe1f921cee1/intake/catalog/remote.py#L108-L110
Some containers use this information, but RemoteCatalog was previously swallowing it in **kwargs and ignoring it. Should it:
(1) start accepting parameters and do something with them?
(2) explicitly ignore parameters
(3) not accept parameters in which we have to fix open_remote to check if the container is a catalog

This now passes tests (locally anyway -- we'll see if Travis agrees) and is ready for another round of review. I still have a conceptual confusion and need some guidance. See comment in line. Thanks!


Hide devtools when closed, prevent focus

Fixes #2375.
Previously, opening and closing the devtools only changed it opacity (and subscribed/unsubscribed to queries).  That meant that it was still possible to tab through the elements in the panel, even when it was closed.
With this change, when the panel starts out closed, we set a visibility: hidden style, so that it is gone from both the accessibility tree and the tab order.  I've also set up transition listeners so that before a transition starts, if the devtools are opening, we turn visibility to visible, so that the opacity fade-in works correctly.  Likewise, on a transition end, we check if the panel is closed, and turn visibility to hidden.
I tested this by compiling, copying the built files into my project's node_modules, and running my app, and it worked as I expected.  The fade still occurs (both in and out), focus does not move into a closed devtools, and the devtools are hidden in the accessibility tree.
This probably would have been more straightforward with a keyframe animation, but I am not sure how to do that using inline styles, or whether its even possible.

Oh cool, you can see it working in the codesandbox as well.  I haven't seen a github codesandbox bot before, that's pretty nifty!

One of the best bots :)

Thank you 👍 . I've tested this in the codesandbox, and it looks good. While testing, I found a semi-related issue that I probably introduced when I made the devtools unsubscribe when they are hidden:

go to the codesandbox
open the devtools
see that you have the posts query there
close the devtools
navigate to one post
open the devtools again
--> observe that you still only have one query (the posts) query in the panel
trigger a refetch (e.g. window focus)
second query appears

I think this happens because we put the queries into local state:
https://github.com/tannerlinsley/react-query/blob/ff830db831f89ba7cebe66cf8c23ca218bdb3643/src/devtools/devtools.tsx#L339-L341
and then update in the effect when we are subscribed:
https://github.com/tannerlinsley/react-query/blob/ff830db831f89ba7cebe66cf8c23ca218bdb3643/src/devtools/devtools.tsx#L382
but since the update happens when we are closed, the component only re-renders when we open it and thus it still has the old queries in the local state.

one way to fix it is to really unmount when we close and mount again, because it would pick up the initial state of useState again. Another one would be to sync the state in a separate effect, calling setUnsortedQueries with the current value of what's in the query cache whenever isOpen changes. We could also pass isOpen as a key to the ReactQueryDevtoolsPanel which would make it unmount whenever that value changes. Not sure how that would work with the animation though, we'd have to try.

I understand if you don't want to tackle this at all, and we can open a separate issue as well. But if we decide to go for the unmount/remount solution because of this finding, I would rather not add the visibility change now just to remove it then. What do you think?

If we unmount/mount, we would lose other local state like filtering and such.  Is that acceptable?
If we want to keep that state, it sounds like your suggested approach would be to:

sync the state in a separate effect, calling setUnsortedQueries with the current value of what's in the query cache whenever isOpen changes.

Are there any downsides to that approach?  It sounds relatively straightforward, and I can try it out here if you'd like.

It sounds relatively straightforward, and I can try it out here if you'd like.

cool, go ahead 😊

I believe I've fixed the stale queries, but just realized I've introduced a regression.  Opening the devtools and refreshing the page results in a close button but a missing panel.  I'll work on fixing that now...

Alright, I think I've taken care of that too.  Should be ready for another set of 👀 .  Thanks!

:tada: This PR is included in version 3.17.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What about closed/commercial project

Hi,
Excellent work on this library, I would like to use this foundation library as foundation code in my 3D game engine, I cannot understand well the Uni license, can I integrate it into my closed game engine, should I add credit?
Sorry for opening issue but didn't find your mail.
Thanks

This library is in the public domain, so you can do whatever you wish with it, no need to add credits or attribution. I'm glad you find it useful :)

Thank you very much, another question if possible?
I saw under build you have ninja subfolder with python scripts, is there any guide on how to use them? I would like to use your system for building on android and other targets.
Thanks again

There is documentation available at https://rampantpixels.github.io/foundation_lib/doc/build_page.html (it needs to be updated a bit regarding code signing for android once the next release is out since that also uses the separate json config now).
You can also ask me on Twitter if you have specific questions, I'm @maniccoder


Additive terms in MDN outputs

https://github.com/sc8668/RTMScore/blob/79475c4c1b68219a0845fdeaf7cfc73600513705/RTMScore/model/model2.py#L531
Hello, thanks for sharing such great code!
What is the meaning of the +1.1 and +1 in the the output for sigma and mu in the mixture density network? Is it some kind of prior knowledge you incorporate in the model? Or simply some numeric regularization?
Thanks in advance for you answer.
P.

The MDN module here is just inspired by DeepDock (https://github.com/OptiMaL-PSE-Lab/DeepDock). I guess they are just some numeric regularizations because sigma and mu represent the standard deviations and means of several Gaussians, respectively.

Thanks for the quick answer


Converted file doesn't have original audio track

I'm not sure if this is by design, but when a file is converted, the audio gets dropped from 5.1 to stereo.  Linked is a sample file.
Original file: http://imgur.com/T0AJKkj
Output file: http://imgur.com/Hs1j0GD
Is there something I need to change, or an option I need to use, to get it to maintain the original audio?  I looked through the script and didn't see anything.
Thanks in advance, and thanks for the great script!

Yes this is by design, it downmixes to dolby pro logic 2, you lose some quality but if your sound system supports dpl2 you get pretty good results for a large drop in bitrate. Also your output file says the audio codec is vorbis, that shouldn't be happening if your input is AC3. If you want to just copy all audio without modifying it, put
addAudioCodecToVar "copy"
return

above L581. Also remove -6 dpl2 from L817 just to be safe.
Can you give me an output log up till when you start getting encoding progress percentages?

Perfect, that worked.  I just ran a quick -p with it.  Here's the output:
http://pastebin.com/GhmupKUx
Thank you again!

I forgot it's handbrake not ffmpeg so the log doesn't help lol. Can you run a preview again with -v --debug cause now the (standard_in) 1: syntax error has got me wondering about that too.
Happy you got it working.

Lol, no worries.  Here ya go: http://pastebin.com/rdzD932X

Btw, I think I found and fixed the source of the (standard_in) 1: syntax error error.

I was just looking at that, lol.
Also, any chance to get an option to set audio settings? Ie whether or not
to convert it?
On Nov 30, 2015 8:33 PM, "Ayrton Sparling"<EMAIL_ADDRESS>wrote:

Btw, I think I found and fixed the source of the (standard_in) 1: syntax
error error.
—
Reply to this email directly or view it on GitHub
https://github.com/FallingSnow/h265ize/issues/12#issuecomment-160818543.

  Thank you!


Sample command should use AuditLevel instead of LogLevel

Audit Level
PowerShell syntax
Description

None
Set-AdfsProperties -LogLevel None
Auditing is disabled and no events will be logged.

Basic (Default)
Set-AdfsProperties -LogLevel Basic
No more than 5 events will be logged for a single request

Verbose
Set-AdfsProperties -LogLevel Verbose
All events will be logged. This will log a significant amount of information per request.

The sample PowerShell commands should be replaced with:
Set-AdfsProperties -LogLevel None
Set-AdfsProperties -LogLevel Basic
Set-AdfsProperties -LogLevel Verbose

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

ID: 073ab477-ac4c-9951-9d50-9d979176cff1
Version Independent ID: 384cd6f7-2249-3f33-9b9e-1c6abeae69cb
Content: AD FS Troubleshooting - Auditing Events and Logging
Content Source: WindowsServerDocs/identity/ad-fs/troubleshooting/ad-fs-tshoot-logging.md
Product: windows-server
Technology: ad-fs
GitHub Login: @billmath
Microsoft Alias: billmath

Correction:
Set-AdfsProperties -AuditLevel None
Set-AdfsProperties -AuditLevel  Basic
Set-AdfsProperties -AuditLevel Verbose

#assign:xelu86

Hey @NomadRex,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made correcting this issue and will be live after the next business day. We will now be closing this thread. Thank you and have a most pleasant day. #please-close


Term merge:  GO:0033309	 SBF transcription complex and GO:0030907	 MBF transcription complex (obsolete and direct replace)

Term to be merged: Provide GO ID and term label

These 2 complexes are effectively orthologous complexes in pombe and cerevisiae which have historically been given different names.
This means  that at PomBAse we have  IDA to MBF plus PAINT to MBF

Which term do you propose this term merge into? Provide GO ID and term label

Will obsolete  GO:0033309	 SBF transcription complex
and rename MBF to
MBF/SBF complex

Any other information

The definition of MBF already works for both complexes

Definition
Parents

A protein complex that binds to the Mlu1 cell cycle box (MCB) promoter element, consensus sequence ACGCGN, and is involved in regulation of transcription during the G1/S transition of the cell cycle. In Saccharomyces, the complex contains a heterodimer of the DNA binding protein Mbp1p and the activator Swi6p, and is associated with additional proteins known as Nrm1p, Msa1p, and Msa2p; in Schizosaccharomyces the complex contains Res1p, Res2p, and Cdc10p. [PMID:11206552, PMID:15838511, PMID:9343385, PMID:18160399]

These appear to be different complexes with overlapping composition.
@PCarme Could you check at some point if the annotations in PomBase are correct? and if so can we make  EXP annotations to cover PAINT?
Thanks

Update from @PCarme
S. cerevisiae has 2 complexes, SBF (formed by interaction between Swi6 and Swi4) and MBF (formed by interaction between Swi6 and Mbp1), but S. pombe only has a common ortholog for Swi4 and Mbp1 called Res1, and so only the MBF complex.
I will add a taxon restriction for
GO:0033309 SBF transcription complex
for Schizosaccharomyces


Pass parameters to renderComponent

Hi need to pass some parameters to the renderComponent function, but it doesn't seem to work.
I have this code:
<Field name="username" component={this.renderUsernameField} focus={usernameFocus} />

now my renderComponent function is:
renderUsernameField({ input, focus}) { console.log(focus); }.

It prints undefined...
So how can I pass additional parameters?
I need it because I can't even use this.state in the renderUsernameField function, cause if the  component doesn't get any change in the props, it won't be invoked at all.

You can use additional props just fine. Take a look at this demo for an example: http://www.webpackbin.com/4y347CN8G
Probably usernameFocus is actually undefined in your app.

ping @gabrielenosso

Closing due to inactivity.


[ADD ME TO THE ORGANIZATION]

Name:
Location:
Interest:
Discord username(optional):-
Why do you want to join?

I want to join because

You can also join our Discord community here
Feel free to check out other cool repositories of the Open Source Community here.

want to connect people to know more up to date information of technologies.

@swaroopasya Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.


Issue with VMwareHardenedLoader for Running MapleStory

Hi All/Author,
I am attempting to play MapleStory inside my Windows 10 Pro virtual machine. However, after following all the necessary steps, the game either displays an initialization error or fails to launch properly.
The main reason I needed the VMwareHardenedLoader was to bypass potential restrictions preventing the game from running inside a VM. Despite setting everything up as instructed, I am still encountering issues.
Any guidance or troubleshooting steps would be greatly appreciated.
Thank you!

Hi i am facing the same issue too! Attached is the error output !


Custom Theme not applying on Flowbite Accordion

[x] I have searched the Issues to see if this bug has already been reported
[x] I have tested the latest version

Current behavior
Custom Theme not applying on Flowbite Accordion

yes I also have same issue, on focus for example...

Hey @Mnehaal2000 ,
are you using TypeScript or JavaScript?
also, for your above code snippet, try below one code snippet:
const customFloorAccordionTheme: CustomFlowbiteTheme = {
    accordion: {
          // your remaining code
     }
}

or you can have other option as well:
const customFloorAccordionTheme: CustomFlowbiteTheme['accordion'] = {
    // your remaining code
}

either of this code snippet should work, can you try this @Mnehaal2000

Hey @Mnehaal2000 ,
are you using TypeScript or JavaScript?
also, for your above code snippet, try below one code snippet:
const customFloorAccordionTheme: CustomFlowbiteTheme = {
    accordion: {
          // your remaining code
     }
}

or you can have other option as well:
const customFloorAccordionTheme: CustomFlowbiteTheme['accordion'] = {
    // your remaining code
}

either of this code snippet should work, can you try this @Mnehaal2000

I am using a combination and I have already tried your suggestion. Nothing seems to work. I am using other custom Themes in the project too using the same method and everything else works except this accordion theme So I am confused.

I'm encountering the same problem as well. But another solution I tried was to provide the title and content parts of the theme directly to the Accordion.Title and Accordion.Content components, since the Docs say passing theme directly to any component, "will override the theme for that component, but not its children":
const accordionTheme = {
  root: {
    base: 'divide-y-2 border-2 divide-gray-200 border-gray-200 dark:divide-gray-600 dark:border-gray-600',
  },
  content: {
    base: 'p-5 first:rounded-t-lg last:rounded-b-lg dark:bg-gray-700',
  },
  title: {
    base: 'flex w-full items-center justify-between p-5 text-left font-medium text-gray-500 first:rounded-t-lg last:rounded-b-lg dark:text-gray-400',
    flush: {
      off: 'hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-600 dark:focus:ring-gray-600',
      on: 'bg-transparent dark:bg-transparent',
    },
    open: {
      off: '',
      on: 'bg-gray-100 text-gray-900 dark:bg-gray-600 dark:text-white',
    },
  },
};

// ...

<Accordion theme={accordionTheme}>
  {resourceData.map((resource) => (
    <Accordion.Panel theme={accordionTheme}>
      <Accordion.Title theme={accordionTheme.title}>
        {/* ... */}
      </Accordion.Title>
      <Accordion.Content theme={accordionTheme.content}>
        {/* ... */}
      </Accordion.Content>
    </Accordion.Panel>
  ))}
</Accordion>

That worked for applying the required styles to the title and content components, but unfortunately the required styles still did not apply for the root accordion component itself.
As a workaround, I just applied those remaining styles using className to the root Accordion component

I'm encountering the same problem as well. But another solution I tried was to provide the title and content parts of the theme directly to the Accordion.Title and Accordion.Content components, since the Docs say passing theme directly to any component, "will override the theme for that component, but not its children":
const accordionTheme = {
  root: {
    base: 'divide-y-2 border-2 divide-gray-200 border-gray-200 dark:divide-gray-600 dark:border-gray-600',
  },
  content: {
    base: 'p-5 first:rounded-t-lg last:rounded-b-lg dark:bg-gray-700',
  },
  title: {
    base: 'flex w-full items-center justify-between p-5 text-left font-medium text-gray-500 first:rounded-t-lg last:rounded-b-lg dark:text-gray-400',
    flush: {
      off: 'hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-600 dark:focus:ring-gray-600',
      on: 'bg-transparent dark:bg-transparent',
    },
    open: {
      off: '',
      on: 'bg-gray-100 text-gray-900 dark:bg-gray-600 dark:text-white',
    },
  },
};

// ...

<Accordion theme={accordionTheme}>
  {resourceData.map((resource) => (
    <Accordion.Panel theme={accordionTheme}>
      <Accordion.Title theme={accordionTheme.title}>
        {/* ... */}
      </Accordion.Title>
      <Accordion.Content theme={accordionTheme.content}>
        {/* ... */}
      </Accordion.Content>
    </Accordion.Panel>
  ))}
</Accordion>

That worked for applying the required styles to the title and content components, but unfortunately the required styles still did not apply for the root accordion component itself.
As a workaround, I just applied those remaining styles using className to the root Accordion component

It works for me, thx :)


Validate Template 1 and 2 With Application

As an analyst
I want some validation on the copy and paste of the numbers from template 1 and 2 into the application on the portal
So that I don't have to spend valuable time and resources in RFI'ing to correct the inconsistencies
Description:
In intake 2 we are finding a growing number of issues where the applicant has entered numbers in the application on the portal that are not consistent with what they have included in the templates.  This ticket is to add some sort of validation that can check for consistency between the templates and the data in the application form.
Fields to check/validate:
From template 2 cell H27: Total Eligible Costs
From template 2, cell H28: Total Project Costs
From template 1 cell F151  Eligibility Summary tab:  Final # eligible Households
From template 1 cell G55 eligibility summary tab: Total Indigenous Households
Acceptance Criteria:

[ ] Ingest Excel
[ ] populate the #s on the forms (can be read/write on the forms, i.e. keep the forms the same)
[ ] Excel Validation message does not display

Future iterations

move upload page to before other pages
have fields appear on upload page
https://www.figma.com/file/nhOquOVmWD1P3BxEY0KIh5/CCBC-Intake?type=design&node-id=12699-33717&mode=design&t=bi80S3pZoTlSiBOt-4
RFI - same behavior as above - i.e. ingest and populate #s

Hey team! Please add your planning poker estimate with Zenhub @marcellmueller @rafasdc @VB-at-Bis

The cell values for eligible households from template 1 were wrong, they should have been 61 but the form showed 20.  For template 2 no numbers were uploaded at all, should have been $383,545 and $424,720.  I just uploaded the test files : template 2:  https://bcgov.sharepoint.com/:x:/r/teams/04708-ScrumTeam/Shared Documents/Scrum Team/CCBC-010001 - Template 2 - FILLED OUT.xlsx?d=wa50fb6853f214ffcb8fab39bd33e4314&csf=1&web=1&e=bPPbu0
Template 1:   https://bcgov.sharepoint.com/:x:/r/teams/04708-ScrumTeam/Shared Documents/Scrum Team/CCBC-010001 - Template 1 FILLED OUT.xlsx?d=w23a53fd95f624e8caea45e9d93f425a5&csf=1&web=1&e=DwGdzx

The numbers for benefits are populated in opposite fields.   Where it shows 20 it should be 61 and where it shows 61 it should be 20
[Uploading... image.png]
[Uploading... image.png]


Use one handler to implement starttls flow.

Description

Current flow

If enableSsl is true, add SslHandler and SslDetectHandler to pipeline.
If SslDetectHandler works fine, remove it and the pipeline works as normal. If SslDetectHandler catchesNotSslRecordException and starttls is enabled according to session config, close current channel and create a new one without ssl. Add StarttlsHandler to start the Starttls flow.
Starttls flow contains three steps

process server connection greeting and send EHLO.
process EHLO response and send STARTTLS.
process STARTLS response and upgrade plain connection to ssl connection.

Motivation and Context

STARTTLS is required for Outlook connection, since Outlook smtp server doesn't support general SSL/TLS connection.
This is a 1 starttls handler version. 3 starttls handlers version is here.
How Has This Been Tested?

Prototype for review, no UTs added.
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Major release (change is NOT backward compatible with prior release)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Can you fix the UTs that showing in job?
https://travis-ci.com/github/yahoo/smtp-client-nio/builds/178681818


Adding a vessel dead-ends

After adding a vessel, I am left with a dimmed (dark) web page without indication that adding the vessel was successful.

this bug is history.
We have a new Version under development which is taking of this issue.
Please find a first test at https://testdepth.openseamap.org/static/src/local_index.html
Development is still going on


Creating comments for view?

Something like a React.createComment() (does not yet exist).
It'd just have to use document.createComment().
It'd come in handy when working in the Inspector and when compiling to Mithril from other template systems.

What about
m.trust('<!-- huhuhu -->')
The rest is just a simple exercise ;)

@StephanHoyer hah, that's clever. I totally didn't think of it.


Convert empty sets to null

The docs mention:

An attribute value cannot be an empty String or empty Set (String Set, Number Set, or Binary Set).

sets aren't supported yet... will have to keep this in mind while implementing


FR: import Egzumer's latest F/W AM Demodulation settings

Many UV-K5 users (myself included) on dedicated Facebook groups are reporting a considerable improvement on the airband RX audio quality (AM demodulation) since Egzumer's latest v0.22 firmware.
Would it be possible to import the related modifications in order to achieve the same improvement?
Thanks in advance, best regards and keep up the great work! 💪🍻

I'm not sure. I do test with my two Quasheng radio, one with Egzumer firmware and one with this one, and I find that they have identical reception when placed side by side. I live 11 km away from the airport, where I listen to their ATIS, and I have a better experience with this firmware because Egzumer sometimes produces an annoying "repeated clicking" sound, which is not present in this one. Yes, both display different signal strength on the S meter, but even when they show different strengths, they lose signals under similar conditions.

Thanks @FrostyMisa this is also my experience.
@egzumer and I use different approaches to AM demodulation which is great because users can choose what works best for them.


python310Packages.openwrt-luci-rpc: 1.1.11 -> 1.1.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.openwrt-luci-rpc is: "Python module for interacting with the OpenWrt Luci RPC interface"
meta.homepage for python310Packages.openwrt-luci-rpc is: "https://github.com/fbradyirl/openwrt-luci-rpc"
meta.changelog for python310Packages.openwrt-luci-rpc is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.1.12 with grep in /nix/store/0sish0cl7j58578fdfq4igg182bri5z4-python3.10-openwrt-luci-rpc-1.1.12
found 1.1.12 in filename of file in /nix/store/0sish0cl7j58578fdfq4igg182bri5z4-python3.10-openwrt-luci-rpc-1.1.12

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.openwrt-luci-rpc
python39Packages.openwrt-luci-rpc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0sish0cl7j58578fdfq4igg182bri5z4-python3.10-openwrt-luci-rpc-1.1.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.openwrt-luci-rpc https://github.com/r-ryantm/nixpkgs/archive/813eb2b223028fabe04fdc7a6450598d23cd1d19.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0sish0cl7j58578fdfq4igg182bri5z4-python3.10-openwrt-luci-rpc-1.1.12
ls -la /nix/store/0sish0cl7j58578fdfq4igg182bri5z4-python3.10-openwrt-luci-rpc-1.1.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.openwrt-luci-rpc
python39Packages.openwrt-luci-rpc

Maintainer pings
cc @matt-snider for testing.

New version just adds a minor fix to support newer versions of OpenWRT: https://github.com/fbradyirl/openwrt-luci-rpc/compare/v1.1.11...v1.1.12
Looks good to me.
I'm in between routers and don't have OpenWRT running at the moment so I can't actually confirm functionality. The change is minor though so I think it's low risk.
@fabaff @FRidh If it's straightforward for one of you to test this, that would be great - i.e. through Home Assistant or directly against an OpenWRT router with the luci-mod-rpc package (see  usage instructions)

https://github.com/fbradyirl/openwrt-luci-rpc/compare/v1.1.11...v1.1.12 looks innocent enough, just some special casing for legacy versions into a different code path and whether something is a legacy version is autodetected.


eventFocusGained true is always sent

The property eventFocusGained = true is always sent on editors and tables. Maybe on more components but haven't checked all of them. (Buttons, labels, icons, panels are fine)

This is ok because the application has to know the current "controller". Be sure that you send the event if set.

eventFocusGained/eventFocusLost is now available for all input components


added Interview report project

Closes: #567

Title : Interview Report
Name: : -Maheshwari  Love
Idenitfy yourself: : GSSOC

Describe the add-ons or changes you've made 📃
How Has This Been Tested? ⚙

Screenshots 📷

Type of change ☑

What sort of change have you made:
added new project

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Note to reviewers 📄

@Avdhesh-Varshney please review this pr

@Avdhesh-Varshney please review this pr

enlist your project in readme file.

Done


checkstyle: 8.40 -> 8.41

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/checkstyle/checkstyle/releases.
meta.description for checkstyle is: "Checks Java source against a coding standard"
meta.homepage for checkstyle is: "http://checkstyle.sourceforge.net/"
meta.changelog for checkstyle is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 8.41 with grep in /nix/store/0544zl7iwfkhl7bbfjzg0szsp12xkb5y-checkstyle-8.41

directory tree listing: https://gist.github.com/445e785568f2e9fde71710e36308ec00

du listing: https://gist.github.com/de37cae90b128fb2cf9c7732fb9bfc10

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
checkstyle

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0544zl7iwfkhl7bbfjzg0szsp12xkb5y-checkstyle-8.41 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A checkstyle https://github.com/r-ryantm/nixpkgs/archive/6806f6506709ae586196470ee512da56a79ae271.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0544zl7iwfkhl7bbfjzg0szsp12xkb5y-checkstyle-8.41
ls -la /nix/store/0544zl7iwfkhl7bbfjzg0szsp12xkb5y-checkstyle-8.41/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

checkstyle

Maintainer pings
cc @pSub for testing.

Result of nixpkgs-review pr 115078 at 6806f650 run on aarch64-linux 1

1 package built:

checkstyle

1 suggestion:

warning: unclear-gpl
lgpl21 is a deprecated license, check if project uses lgpl21Plus or lgpl21Only and change meta.license accordingly.
Near pkgs/development/tools/analysis/checkstyle/default.nix:33:5:
   |
33 |     license = licenses.lgpl21;
   |     ^

Result of nixpkgs-review pr 115078 run on x86_64-linux 1

1 package built:

checkstyle


Calculate Box3 on models from the convex hull, computation time decreases by 50%

The computation time to dragging models around, resizing, etc, is decreased by about 50%.  The improvement does a few things:

Compute the ConvexHull of each shape and store it.  The ConvexHull can have as many points in it as the model but for very complicated models hsa much much less.  This saves time on computing the enclosing box.
Memoize the result so that successive calls to box3 are nearly instant if there are no changes.
If the only change is in position or scale, just translate or scale the box without computing the Box3 of the convex hull.  This should work and is much faster than going over the whole convex hull.

https://github.com/eyal0/OctoPrint-Slicer/issues/13
There is test code in there.  Change the line that sets DEBUGGING from false to true and it will print, on the console, the results of computing Box3 the old way, the new way, and the difference.  Because of some rounding errors, there is sometimes a difference but never more than 1e-10 mm so basically negligible.
I had trouble with the npm export and I need your help.  I couldn't figure out how to use THREE.ConvexGeometry and THREE.QuickHull because they were not exported.  I don't have enough experience with npm to fix it so I just copy/pasted the files into my file with minor modifications.  If you can figure it out and want to show me, I would like that!

ConvexGeometry and QuickHull are in 3js examples. The only way to reuse them is copy-paste. Fortunately I created https://github.com/kennethjiang/3tk to deal with similar issues. :) You can open a PR to https://github.com/kennethjiang/3tk to add ConvexGeometry and QuickHull into 3tk.

A quick question: how is your PR different from https://github.com/mrdoob/three.js/pull/10987 ?

The new file that I added is like 95% ConvexGeometry+QuickHull and 5% is the changes that improve Slicer performance.
In order to get it to compile, I had to change "THREE.ConvexGeometry" to "ConvexGeometry" and I had to remove the line that say "THREE.ConvexGeometry = ConvexGeometry".  Very small changes, just to get it to compile.  I'm not sure what is the right way to do it but if you know how, I'd be gad to do it!
If I add ConvexGeometry and QuickHull into 3tk, I'll be able to take them out of my PR and use them from 3tk?  Would you accept a PR to add those two into 3tk?

Yes once you add ConvexGeometry and QuickHull to 3tk, they can be removed from this PR. The hope is that other developers can just take 3tk when they want to use/improve the tools that have been sitting in 3js example folders.
When you add ConvexGeometry and QuickHull to 3tk, can you also add examples that show how to use them? It may be good enough if you just copy the examples from 3js.

Using 3tk now.  The changes here are much shorter now though, of course, the min.js isn't much affected.

I have a few other PRs that use the Box3FromObject code to further improve performance.

Thanks @eyal0 for this super clean PR. User interactions become significantly snappier. good job!


Symfony 3.4 and 4 compatibility

After upgrading to Symfony 4 the AdminThemeBundle stopped working (see #215 as well).
All twig files could not be loaded with the current reference style, it always ended up with an  exception like "The file AvanzuAdminThemeBundle:Default:index.html.twig could not be found".
I did a quick research but couldn't find out why the template loader stopped working with the current syntax in master. It worked for me in 3.3, but stopped after the migration to SF4.
If I read the  docs for the latest versions:

https://symfony.com/doc/current/templating.html#referencing-templates-in-a-bundle
https://symfony.com/doc/3.4/templating.html#referencing-templates-in-a-bundle

both versions say

If you need to refer to a template that lives in a bundle, Symfony uses the Twig namespaced syntax (@ BundleName/directory/filename.html.twig).

I clearly understand if you @shakaran don't want to risk BC breaks and reject the merge (for now), but I though I leave that PR for others users who want to upgrade to Symfony 4 and have troubles getting their site up again.

It's also development for compatibility with SF 3.4
This PR must be accepted !!

@shakaran , @avanzu : Please could you accept this PR it's really important for compatibility with SF 3.4 et 4 !!

@craph SF 3.4 and SF 4 is not supported at this moment, until this bundle gets released in branch 2.x, so the support will not happen until the branch 3.x will be created. You can always fork or merge this PR in your personal repository if you urgently need some feature or PR

@shakaran why you doesn't open à branch 3.x to get this PR and release the branch 2.x ?
What is the release date plan ?

Hello,
Do you have any news about this PR and the 3.0 branch ?

I've been using the branch that @kevinpapst provided -- can you make him a
collaborator, so he can integrate his branch and moderate its development
too?
At this point, would vote to skip Symfony 3.4 support and go completely
with Symfony4 for that branch, and include webpack encore for the js/css.
We can also upgrade to fontawesome 5 and bootstrap 4 and have a modern
stack for this theme.
FWIW, I didn't interpret any of the comments posted here as angry.
Enthusiastic, perhaps, but not angry, I think everyone appreciates what's
being done.
I'm happy to contribute on the Symfony side, maybe in working on a demo
repo that replaced AdminLTE but with Symfony (datatables, fosUserBundle,
etc.)  I've been using Kevin's timesheet repo as an example of how to use
this bundle, and I keep thinking there must be a better way to demonstrate
it.
On Wed, May 16, 2018 at 2:41 PM, Ángel Guzmán Maeso <
<EMAIL_ADDRESS>wrote:

@craph https://github.com/craph @Isarien https://github.com/Isarien
Take in mind that I am a collaborator here, author of some commits and
mostly taking the project and helping to avanzu to maintain this project
almost a year now (in a altruist mode by the way) since he has no time. So
I am freelancer too and I have high work load sometimes (also I maintain
more projects in altruist mode). So sorry if it is not delivered or checked
quickly like a commercial project, but I am trying to do my best and add
more pressure or angry comments (that I understand, since I am in the other
side too for other projects), probably doesn't help to solve more quickly
the issues.
Anyways, I created a new branch called https://github.com/avanzu/
AdminThemeBundle/tree/experimental-symfony-3.4-4.x
For play and merge new things or PR. Even with that, Symfony 3.4 and 4.x
is evolving quickly and more in the bundle world. So the plan is still get
a stable version for Symfony 2.x and 3.[1,2,3] in the branch 2.x. Then
deprecated the branch 1.x of this project. After that focus in new branch
3.x for Symfony new versions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/avanzu/AdminThemeBundle/pull/216#issuecomment-389623741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAl0QQ8BYvtcooRYbCLBVh2Ou3ZzMP5Gks5tzHLMgaJpZM4Rc7Re
.

@shakaran what about opening an "official" SF4 branch?
I cannot really maintain all the changes in my personal branch - for example the complete frontend build in my repository is now based on webpack-encore.
In my opinion this bundle brings too much internal "bloat" and is missing some really important things on the other hand (I don't want to go into details here, as that would be too much out-of-scope discussion), so a SF4 branch could also be used as a "fresh start".
If you dislike the idea, I could also imagine to create a new repo for SF4 maintenance.
Do you have an opinion here?
Or in other words: Is SF4 on your roadmap for 2018?

+1 for a new repo, based on weback-encore, Symfony4.1 (to include the
'help' field in forms), and if possible, fontawesome 5.  Bootstrap 4 would
be a plus, but that's hard, because AdminLTE is still based on bootstrap3.
On Thu, Jun 21, 2018 at 12:43 PM, Kevin Papst<EMAIL_ADDRESS>wrote:

@shakaran https://github.com/shakaran what about opening an "official"
SF4 branch?
I cannot really maintain all the changes in my personal branch - for
example the complete frontend build in my repository is now based on
webpack-encore.
In my opinion this bundle brings too much internal "bloat" and is missing
some really important things on the other hand (I don't want to go into
details here, as that would be too much out-of-scope discussion), so a SF4
branch could also be used as a "fresh start".
If you dislike the idea, I could also imagine to create a new repo for SF4
maintenance.
Do you have an opinion here?
Or in other words: Is SF4 on your roadmap for 2018?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/avanzu/AdminThemeBundle/pull/216#issuecomment-399168847,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAl0QVrrWj-ujPyjrc7CnWnOFWzZriRJks5t-80bgaJpZM4Rc7Re
.

As I couldn't wait any longer, I had to fork this bundle for upgrading it to Symfony 4:
https://github.com/kevinpapst/AdminLTEBundle
It is based on Symfony 4, incorporates FontAwesome 5 and uses Webpack-Encore for building the assets - more information in the linked repo.

All this changes has been merged now via https://github.com/avanzu/AdminThemeBundle/commit/f0a9637a69639ed2fcd38f4a18470399b6ef3db5
In the new branch "experimental-symfony-4.x"
https://github.com/shakaran/AdminThemeBundle/tree/experimental-symfony-4.x
Since I am having some problems for update the packagist.org package (I already requested to be maintainer to avanzu main owner, but it could take time to it), I am maintaining the same commits and duplicating the work in a personal repo and packagist account:
composer require shakaran/admin-theme-bundle:dev-experimental-symfony-4.x
https://packagist.org/packages/shakaran/admin-theme-bundle