Brew cask prints 'Warning: Calling <<-EOS.undent is deprecated!'

When running brew cask list (and other cask commands), it outputs:
Warning: Calling <<-EOS.undent is deprecated!
 In my case, the java and java8 casks both used undent in caveats. Before/after:
-  caveats <<-EOS.undent
+  caveats <<~EOS
     This Cask makes minor modifications to the JRE to prevent issues with
     packaged applications, as discussed here:

It suffices to remove the .metadata directory, it will be regenerated.

@paulp Great tips!
In my case, I did grep -irn "EOS.undent" . under /usr/local/Caskroom
and found out that java7 casks used undent.
For curiosity, I made a brew update and ran grep -irn --include=*.rb "EOS.undent" . under /usr/local
./Cellar/ant/1.9.8/.brew/ant.rb:28:    (bin/"ant").write <<-EOS.undent ./Cellar/ant/1.9.8/.brew/ant.rb:45:    (testpath/"build.xml").write <<-EOS.undent ./Cellar/ant/1.9.8/.brew/ant.rb:57:    (testpath/"src/main/java/org/homebrew/AntTest.java").write <<-EOS.undent ./Cellar/cloc/1.74/.brew/cloc.rb:39:    (testpath/"test.c").write <<-EOS.undent ./Cellar/graphviz/2.40.1/.brew/graphviz.rb:93:    (testpath/"sample.dot").write <<-EOS.undent ./Cellar/libevent/2.1.8/.brew/libevent.rb:30:    (testpath/"test.c").write <<-EOS.undent ./Cellar/libpng/1.6.34/.brew/libpng.rb:28:    (testpath/"test.c").write <<-EOS.undent ./Cellar/openjpeg/2.3.0/.brew/openjpeg.rb:26:    (testpath/"test.c").write <<-EOS.undent ./Cellar/pixman/0.34.0_1/.brew/pixman.rb:21:    (testpath/"test.c").write <<-EOS.undent ./Cellar/readline/7.0.3_1/.brew/readline.rb:22:  keg_only :shadowed_by_osx, <<-EOS.undent ./Cellar/readline/7.0.3_1/.brew/readline.rb:34:    (testpath/"test.c").write <<-EOS.undent ./Cellar/tmux/2.6/.brew/tmux.rb:44:  def caveats; <<-EOS.undent ./Homebrew/Library/Homebrew/compat/extend/string.rb:3:    odeprecated "<<-EOS.undent", "<<~EOS" ./Homebrew/Library/Homebrew/compat/extend/string.rb:9:  #   if foo then <<-EOS.undent_________________________________________________________72 ./Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-cask-0.16.0/spec/rubocop/cop/cask/stanza_grouping_spec.rb:176:          caveats <<-EOS.undent ./Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-cask-0.16.0/spec/rubocop/cop/cask/stanza_order_spec.rb:229:          caveats <<-EOS.undent ./opt/ant/.brew/ant.rb:28:    (bin/"ant").write <<-EOS.undent ./opt/ant/.brew/ant.rb:45:    (testpath/"build.xml").write <<-EOS.undent ./opt/ant/.brew/ant.rb:57:    (testpath/"src/main/java/org/homebrew/AntTest.java").write <<-EOS.undent ./opt/cloc/.brew/cloc.rb:39:    (testpath/"test.c").write <<-EOS.undent ./opt/graphviz/.brew/graphviz.rb:93:    (testpath/"sample.dot").write <<-EOS.undent ./opt/libevent/.brew/libevent.rb:30:    (testpath/"test.c").write <<-EOS.undent ./opt/libpng/.brew/libpng.rb:28:    (testpath/"test.c").write <<-EOS.undent ./opt/openjpeg/.brew/openjpeg.rb:26:    (testpath/"test.c").write <<-EOS.undent ./opt/pixman/.brew/pixman.rb:21:    (testpath/"test.c").write <<-EOS.undent ./opt/readline/.brew/readline.rb:22:  keg_only :shadowed_by_osx, <<-EOS.undent ./opt/readline/.brew/readline.rb:34:    (testpath/"test.c").write <<-EOS.undent ./opt/tmux/.brew/tmux.rb:44:  def caveats; <<-EOS.undent ./var/homebrew/linked/ant/.brew/ant.rb:28:    (bin/"ant").write <<-EOS.undent ./var/homebrew/linked/ant/.brew/ant.rb:45:    (testpath/"build.xml").write <<-EOS.undent ./var/homebrew/linked/ant/.brew/ant.rb:57:    (testpath/"src/main/java/org/homebrew/AntTest.java").write <<-EOS.undent ./var/homebrew/linked/cloc/.brew/cloc.rb:39:    (testpath/"test.c").write <<-EOS.undent ./var/homebrew/linked/graphviz/.brew/graphviz.rb:93:    (testpath/"sample.dot").write <<-EOS.undent ./var/homebrew/linked/libevent/.brew/libevent.rb:30:    (testpath/"test.c").write <<-EOS.undent ./var/homebrew/linked/libpng/.brew/libpng.rb:28:    (testpath/"test.c").write <<-EOS.undent ./var/homebrew/linked/openjpeg/.brew/openjpeg.rb:26:    (testpath/"test.c").write <<-EOS.undent ./var/homebrew/linked/pixman/.brew/pixman.rb:21:    (testpath/"test.c").write <<-EOS.undent ./var/homebrew/linked/tmux/.brew/tmux.rb:44:  def caveats; <<-EOS.undent ./var/homebrew/pinned/ant/.brew/ant.rb:28:    (bin/"ant").write <<-EOS.undent ./var/homebrew/pinned/ant/.brew/ant.rb:45:    (testpath/"build.xml").write <<-EOS.undent ./var/homebrew/pinned/ant/.brew/ant.rb:57:    (testpath/"src/main/java/org/homebrew/AntTest.java").write <<-EOS.undent
Thank you.

@MikeMcQuaid We need to ignore that .metadata directory in the same way we do the .brew one inside formula prefixes presumably, or this will keep being an issue for people. I'd submit a PR but I'm not sure quite where to start with Cask stuff 😓.


nanocount for two condition

Hi Gleeson and team,
Thank you for developing beautiful and easy-to-use NanoCount program for estimating transcript abundance from dRNA-Seq data.
I have successfully run the nanocount and obtained the output tsv file. I ran one for condition A and then ran on condition B, so I have two output files. In order to perform differential expression analyses using DESeq2, I need to have a single data matrix that will have transcripts and nanocount output for condition A and condition B together.
I will appreciate it if you kindly advise how to combine or merge the two output tsv file in order to perform differential analysis.
Thank you so much.
Kind regards
Reza

Hi Reza,
You'll need to import your tables into R and merge them based on the 'transcript_name' column. The 'est_count' column are the counts you should use for DESeq2. You can rename this column first to your sample name. You'll also need to round the counts to integers for DESeq2, using the round() function in R.
Please see:
https://www.statmethods.net/management/merging.html
Hope that helps!

Hi Josie,
Thank you for your prompt reply. Thank you so much.
Best regards
Reza

Hello Josie,
I have used transcriptome reference file for mapping. I want to aggregate transcript abundances to the gene level? How can I do it? Some of the transcripts are smaller in size not sure if they have any relevance in gene expression?
Thank you
Mohit

Hi Mohit,
You can use tximport for this, specifically the summarizeToGene function.
Check out their documentation here: https://bioconductor.org/packages/devel/bioc/vignettes/tximport/inst/doc/tximport.html
Thanks

Hello Josie,
Thank you so much for reply. I am wondering  quantification tool name should I use at "TYPE" as the tximport pipeline will be nearly identical for various quantification tools, usually only requiring one change the type argument. It seems that it will recognise only Salmon, Alevin, Sailfish, kallisto,RSEM, StringTie. What should I keep at "type" for running tximport.

Hello Josie,
I am having difficulty in converting transcript to gene level data. Getting errors so I posted on biostars. Would you mind if you please help me with this issue?
https://www.biostars.org/p/9569629/
Thank you
Mohit

Hi Josie, Thank you for your prompt reply. Thank you so much. Best regards Reza

Hi Reza,
Since you have two output files, one for condition A and one for condition B, and you lack replicates. How do you perform DESeq2 analysis?
Best
Yu


remove redundant code

remove redundant code

I think we can do it the other way around: make those cases run in parallel, we'll gain a few hundred ms. We can do the same for the homonymous test in discovery/manager_test.go.


New Achievement List

This is a list of achievements that should be put in at some point:

Over 9000: over 9000 clicks (also nerf the other clicks so the maximum is 100000 clicks)
No Booping Allowed: Get 1 trillion smiles with only 35 pony clicks
Speed Booping: Get 1 million smiles in only  minutes
Super Speed Booping: Get 1 billion smiles in only  minutes
Extreme Speed Booping: Get 1 trillion smiles in only  minutes
Friendship count achievements: Need achievements for various friendship counts.
Wheel of Friendship: [Requires #17 ] Spin the pony wheel really fast
Pones On The Go: [Requires #6 ] Play the game on a mobile device

Leave your suggestions below, and any good ones will get added to the list.

An achievement on how fast they boop with the mouse (clicking fast enough earns it).
There should be a "True No Booping" which can only be done following a soft reset (perhaps only one boop is needed), vs. the "No Booping" which can be done with exactly 30 clicks (I'd make it strict, there's no need for an extra 5 clicks).
Achievements for soft resets with different numbers of total smiles.
For the 1.1 suggestions, there are dozens of possibilities based on particular ponies and friendships, as well as sale of friendships for particular ponies.  Like, selling five Pinkie friendships in a row could be "Party of One"; selling Fluttershy/Discord could count for that episode, etc.  Essentially, you could have an achievement for every episode of the series!  Only fans would be able to find them all.

Grr.  Now I kinda want to work on coding this with you.  /)^3^(\  Maybe after the weekend.  I dunno if I'll have time or not but the design is fun and it's unfair for me to toss you design mechanics without code assistance.

A True No Booping is actually impossible to do without having a golden cookie equivelent, which I mentioned in #32, because you literally cannot have any kind of SPS whatsoever until you have clicked 35 times, so the % bonus you have from prestige won't count. This is how it is done in Cookie Clicker.

Ah right, I forgot.  I was thinking in my head about muffins providing 1 Smile/s per Pony, but that would be a bad mechanic b/c it would inflate the race substantially.  Racing should benefit a very limited amount from cumulative gains.

It's easy enough to add the No Booping achievement, but it's not clear where to put it for checking purposes.
The global achievements are only checked on import/initialization, or set via EarnAchievement. Adding this achievement to achievements_smiles would work, as long as you don't care about the redundant check every tick after the click count has already exceeded 35.
{ name:"No Booping Allowed", desc: "Get <b>"+PrettyNum(1000000000000)+"</b> smiles with only 35 pony clicks.", muffins:1, cond:function() { return Game.clicks <= 35 && Game.totalsmiles ><PHONE_NUMBER>000; } }

I just realized that this achievement is impossible to get without a prestige system.
Oops.

Yeah, I thought that one was obvious.  :)
On Sat, May 16, 2015 at 7:17 PM, Erik McClure<EMAIL_ADDRESS>wrote:

I just realized that this achievement is impossible to get without a
prestige system.
Oops.
--
Reply to this email directly or view it on GitHub
https://github.com/blackhole12/PonyClicker/issues/30#issuecomment-102710906
.

--
Trick Question

Beyond the two fixes above, I also noticed that it's practically impossible to get the Centrifuge achievement late in the game, because as the wheel grows larger, the maximum angular speed you can give the wheel with the mouse decreases.

  Game features should not be contingent on the existence of your preferred hardware configuration.
Idly brainstorming some suggestions:
Changelings Needs Smiles Too: Have two of the same pony on the wheel.
(This could be your "hacking" shadow achievement, or you could modify the create-a-pony code so that randomly generating a new pony doesn't force them to be unique.  It would only need to be checked on load/import and on new pony purchase.)
For The Hoard: Keep almost all of your smiles unspent.
(Check to see if Available Smiles >= 0.99 * Total Smiles, and also >= 3500 to keep it from being earned when the game starts.)
Back to Nature: Earn 1 million smiles with no buildings.
(Obviously requires soft reset to be implemented since it can't be earned in the same game as No Booping.)
Friendship Achievements:
Best Buds: Have two ponies and a maxed-out friendship grid.
Camaraderie Crusaders: Have at least three ponies and a maxed-out friendship grid.
(The above might be important to cue that the achievements come from maxing them out.)
Inner Circle: Have at least six ponies and a maxed-out friendship grid.
Friend-Of-The-Month Club: Have at least 12 ponies, etc.
No Pony Left Behind: Have at least 18 ponies, etc.
Reference Chart Not Optional: Have at least 24 ponies, etc.
(Above 24 ponies gets into unwieldy numbers very fast.)

For The Hoard would probably be almost impossible to get and doesn't seem to make sense. Changelings need smiles too might be amusing if you manage to buy enough ponies that we run out of unique ones.
The centrifuge achievement should do an arc length measurement and base it's speed requirement on how much rotation velocity you can get by moving your mouse x pixels across the screen in one frame. This scales it to the wheel size.

Perhaps one like for reaching a certain amount of smiles without any friendships (if that isn't already a thing)?

For The Hoard could be for having 1,000,000 (or more) times as many smiles as SPS.


x509-limbo: unstable-2024-03-13 -> unstable-2024-09-25

Description of changes
Fix https://hydra.nixos.org/build/269455111

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

We can just remove it
https://github.com/NixOS/nixpkgs/pull/344812

That's best!


Link color is not updated when using the dark theme

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

Current Behavior 😯
Link color stays as if the theme was light (default)
Expected Behavior 🤔
Link color becomes brighter as in the examples on MUI docs.
Steps to Reproduce 🕹
https://codesandbox.io/s/material-ui-dark-theme-41nm4
Your Environment 🌎

Tech
Version

Material-UI
v4.7.2

React
16.12.0

Browser
Chrome Version 78.0.3904.108 (Official Build) (64-bit)

The link inherit its color from the parent elements. You need to make sure the color change. You have a couple of options. You should be able to fine a more detailed answer on StackOverflow or in this bug & feature tracker (I believe it's a duplicate).

I couldn't find the duplicated issue. So, you have the options between (by order of preference):

Using CssBaseline component
Using a wrapping Typography component with component div
Setting the color prop on your very Link component

@oliviertassinari If you take care to follow the link I put in Steps to Reproduce, you will see that using CssBaseline doesn't help. I put a bare minimum example at that link, that uses just ThemeProvider, CssBaseline and Link.  Therefore I don't have any parents which may interfere with the default styling. Aren't dark theme style supposed to apply to Link as well?

Oh, I see, then it's about picking a color with enough contrast :)

What do you think of the following?

diff --git a/packages/material-ui/src/styles/createPalette.js b/packages/material-ui/src/styles/createPalette.js
index 4df6b5efc..b89dd0c19 100644
--- a/packages/material-ui/src/styles/createPalette.js
+++ b/packages/material-ui/src/styles/createPalette.js
@@ -79,16 +79,8 @@ function addLightOrDark(intent, direction, shade, tonalOffset) {

 export default function createPalette(palette) {
   const {
-    primary = {
-      light: indigo[300],
-      main: indigo[500],
-      dark: indigo[700],
-    },
-    secondary = {
-      light: pink.A200,
-      main: pink.A400,
-      dark: pink.A700,
-    },
+    primary: primaryOption,
+    secondary: secondaryOption,
     error = {
       light: red[300],
       main: red[500],
@@ -100,6 +92,32 @@ export default function createPalette(palette) {
     ...other
   } = palette;

+  const primary =
+    primaryOption || type === 'light'
+      ? {
+          light: indigo[300],
+          main: indigo[500],
+          dark: indigo[700],
+        }
+      : {
+          light: indigo[100],
+          main: indigo[200],
+          dark: indigo[300],
+        };
+
+  const secondary =
+    secondaryOption || type === 'light'
+      ? {
+          light: pink.A200,
+          main: pink.A400,
+          dark: pink.A700,
+        }
+      : {
+          light: pink[100],
+          main: pink[200],
+          dark: pink[300],
+        };
+
   // Use the same logic as
   // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
   // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54

Ran into the issue of the  object not respecting light and dark variants defined in the theme. Started on a PR for a possible fix.

@Davst what do you think of https://github.com/mui-org/material-ui/pull/19105#issuecomment-572995411

@oliviertassinari Ah yeah to clarify, I ran into part of this issue. In my case being that if you have manually defined a light: and dark: value for the primary or secondary color, the Link object will still just grab the main color.
The discussion you linked looks good but I realize that my issue might be better described in: https://github.com/mui-org/material-ui/issues/18831#issuecomment-569049005
But that ticket was closed, so this was the closest I could find to the same issue.
For clarity what I was planning on making a quick fix for was that Typography doesn't respect if you manually define light: and dark: variants to the primary or secondary color. This means that Link won't use your specified dark or light variants either, the problem as i see it lies in the following line:
ttps://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Typography/Typography.js#L81

@Davst I think that the component should be the less dependent on the light or dark mode as possible, we are using color.main on purpose, I don't think that we should change it. The light, main, and dark keys are meant to be used at the same time.

@oliviertassinari really? Say I use a setting to check for dark mode via system settings and show up with the light theme on a computer with light mode, but with the dark theme on their phone using dark mode.
Am I to understand that the expected behavior would be to render links possibly unreadable in one of the situations by using the main color which in my case works nicely for light but is garbage for dark mode instead of conforming to how the rest of the theme creation works where I can define the correct color to use for dark mode?
I must be missing something in how you mean to define the colors. To me this seems very odd and inconsistent with how themes are structured for the majority of other objects.
Could you provide an example of how you'd suggest to provide a user selectable, or system-setting-based dark/light mode toggle toggle that would allow to adapt the primary and secondary color?
Also, wouldn't changing the main value when you set the modailty create problems with packaging the theme?

@Davst You can check how the documentation website solves this problem.
https://github.com/mui-org/material-ui/blob/e5b2e229b5ed4366ba89d47c9a4295d234a74d7e/docs/src/modules/components/ThemeContext.js#L181-L204

Ok, thanks, I can use that.
Maybe an issue should be raised regarding the documentation website since as far as I understand from https://material-ui.com/customization/palette/ it indicates the usage I was looking to fix, which might be the source of people (and me) missunderstanding this.
This example:
import { createMuiTheme } from '@material-ui/core/styles';

const theme = createMuiTheme({
  palette: {
    primary: {
      // light: will be calculated from palette.primary.main,
      main: '#ff4400',
      // dark: will be calculated from palette.primary.main,
      // contrastText: will be calculated to contrast with palette.primary.main
    },
    secondary: {
      light: '#0066ff',
      main: '#0044ff',
      // dark: will be calculated from palette.secondary.main,
      contrastText: '#ffcc00',
    },
    // Used by `getContrastText()` to maximize the contrast between
    // the background and the text.
    contrastThreshold: 3,
    // Used by the functions below to shift a color's luminance by approximately
    // two indexes within its tonal palette.
    // E.g., shift from Red 500 to Red 300 or Red 700.
    tonalOffset: 0.2,
  },
});


HelloWorld: Add license for BSD Daemon.

Closes https://github.com/dotnet/corefxlab/issues/84

LGTM. @richlander could you please take a look as well?

Anyone? @richlander ?

Looks legit. Thanks.


docs: correct references in README

#Change auro-checkbox references to be auro-radio
Alaska Airlines Pull Request
This PR corrects the docs for the auro-radio button.
Fixes: #2
Prior to these changes, there were references to the auro-checkbox in the README for the auro-radio. This caused some confusion and potential bugs. For example, if a developer tried to include a reference to the auro-radio cdn bundle in a web page.
Summary:
This is a documentation change only. It will correct the references to auro-checkbox that exist in this repo's docs.
Type of change:
Please delete options that are not relevant.

[x] Revision of an existing capability

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Not Able to Get All Courses

My account has over 130 courses in it, but the tool only recognizes 36 when it starts up.

I am not familiar with Ruby, but I see two potential issues that could be causing this.

Pagination is not being supported. AC puts 36 courses on a page before needing to send the user to a second page for the next 36.
The Course_Finder lib seems to only be searching for .mp4, .zip and .pdf links to download. AC has moved some courses to not host mp4 versions of the videos through wistia embeds. To get the video, you need to search for the wistia ID, craft an embed link out of the ID then use youtube-dl to pull down that url because the content is streamed HLS on that URL, but the video file is never directly referenced, only chunks of it are listed in a manifest.

Thank you for your feedback!
I hope I find some time to fix the issues soon.


Date refactor

Reworked handling of dates and other stuff.
Branch bloated a bit and needs pulling now before bigger divergence in code

meant to merge on my own fork ...

Ok. All happy? Let me know if you want to merge this to main.


[0.4.0] Allow to sort executions by start time/end time, or a default execution order

It seems ( I could be wrong) that the main list view always shows running workflows first, which is really nice, but it would also be useful to show workflows in their "natural" execution order (by start time) and also order by completion time:

in comparison, the "old" web ui view for sample workflows looks like this:

@tsurdilo Are you on MySQL or ElasticSearch? This is known limitation on MySQL with the new unified ListWorkflows API that was released in 1.14.

@stevekinney i use postgres - https://github.com/tsurdilo/my-temporal-dockercompose/blob/main/docker-compose.yml#L16
Running old and new uis via same docker compose deployment.
Will try to look at code to see what could be the difference.

@tsurdilo Yea, totally. I think the behavior is the same regardless of which database you’re using that doesn’t support advanced visibility on Temporal server.


Custom styles on CPU module based on CPU usage (low/med/high)

Hey,
I want to style the CPU module with colors that depend on the current CPU load. It would be nice if you could add a custom style like #cpu.high / #cpu.medium, #cpu.low that are based on configurable high/medium watermarks, respectively.

Here's my cpu.sh I use as a custom module. This is the basis for all my waybar scripts that sets the icon dynamically
#!/bin/bash
# (C) 2022 Tony Annen, wrote for waybar
# cpu stuff and sets classes dynamically via JSON for theming

# get stuff
load=$(echo $[100-$(vmstat 1 2|tail -1|awk '{print $15}')])
temp=$(sensors -f | grep "id 0" | awk '{print $4}' | sed 's/+//' | sed 's/\..*//')
uptime=$(awk '{m=$1/60; h=m/60; printf "%sd%sh", int(h/24), int(h%24), int(m%60), int($1%60) }' /proc/uptime)
tc=$(ps ax -o %cpu,comm --no-headers | sort -k1 | tail -n3 | sed 's/\.[0-9]//' | sort -rnk1 | awk '{print $1"% -> "$2"\r"}')
tooltip='<big>Top Republicans</big>\r '$tc'\r'$load'% / '$temp'° / '$uptime''

# do stuff
if [ "$load" -le "25" ]; then
    echo '{"text":"","tooltip":"'$tooltip'","class":"custom-cpu"}'
elif [ "$load" -gt "26" ] && [ "$load" -le "70" ]; then
    echo '{"text":"","tooltip":"'$tooltip'","class":"mid"}'
elif [ "$load" -ge "71" ]; then
	echo '{"text":"","tooltip":"'$tooltip'","class":"critical"}'
else # error handling? lol fuck you
	echo '{"text":"","tooltip":"'$tooltip'","class":"critical"}'
fi

Turns out you can already do this manually:
        "format-critical":  "\uF201 {usage}%",
        "format-high":      "\uF201 {usage}%",
        "format-medium":    "\uF201 {usage}%",
        "format-low":       "\uF201 {usage}%",


Overlap of charts

Expected Behaviour
If the values of charts are same, they are still both visible
Actual Behaviour
Charts are overlapped
Steps to Reproduce:

NOTE: Add a GIF/Screenshot if required.
Frappé Charts version:
Codepen / Codesandbox:

Hey @VerRaz can you provide a codesanbox link with the data that resulted in this?


[Feat] Footer

Description
Create footer for the page
Screenshots
No response
Additional information
No response

Hi @ManishBisht777 , I've created a demo footer as shown below. Do let me know what you think of the Footer and if you'd want any additional changes. :)

Look cool @realrohitgurav you can open a pr for the same :)


DLAB-845: Fixed the broken link for opening new issue in the CONTRIBUTING.md

Fix the broken link [1] for opening new issue in the CONTRIBUTING.md [2]
[1] https://github.com/epam/DLab/issues
[2] "https://github.com/apache/incubator-dlab/blob/master/CONTRIBUTING.md"

We will merge this PR as soon as we make a 2.4 release.


Need strategy for backing up cstore_fdw files

$subj pretty much says it.  How do we back up the cstore_fdw files?  Ideas?

postponed to later release

So I assume we can't use pg_dump to create backups of the cstore files?

We have a backup/mirror script for cstore tables. But it assumes that the database doesn't change while the mirror script is running...
Script to translate between cstore filenames and a readable form:
SELECT
  (SELECT oid
   FROM pg_database
   WHERE datname = current_database()) AS dboid,
  ftrelid,
  nspname,
  relname
FROM pg_foreign_table
  JOIN pg_class ON pg_class.oid = ftrelid
  JOIN pg_namespace ON pg_namespace.oid = relnamespace;

Using this query, it's basically

dump database
copy cstore files to a temp dir with "readable" names
rsync pg_dump + cstore
restore tables
mv readable cstore names to the right destination

[... pg_dump ...]

echo "Copying cstore files to tempdir..."
${ssh} ${production_host} "rm -rvf \"${dest_dir}/cstore_fdw/\""
${ssh} ${production_host} "mkdir -pv \"${dest_dir}/cstore_fdw/\""
${ssh} ${production_host} "cat /bi/mirror/get-cstore-tables.sql | ${psql} --user=dwh --tuples-only --no-align --field-separator=' '  --quiet ${production_database} | awk '{print \"cp -v {{pillar['pg-data-dir']}}/cstore_fdw/\"\$1\"/\"\$2\" ${dest_dir}/cstore_fdw/\"\$3\".\"\$4\";\ncp -v {{pillar['pg-data-dir']}}/cstore_fdw/\"\$1\"/\"\$2\".footer ${dest_dir}/cstore_fdw/\"\$3\".\"\$4\".footer\"}' | bash"
${ssh} ${production_host} "chmod -R 755 \"${dest_dir}/cstore_fdw/\""

[...]

echo "rsync cstore files to destination..."
${ssh} ${dest_host} "rm -rvf \"${dest_dir}/cstore_fdw/\""
${ssh} ${dest_host} "mkdir -pv \"${dest_dir}/cstore_fdw/\""
${ssh} ${dest_host} "rsync -av --delete ${production_host}:${dest_dir}/cstore_fdw/ ${dest_dir}/cstore_fdw/"
${ssh} ${dest_host} "chmod -R 755 ${dest_dir}/cstore_fdw"
[...]

[... pg_restore ...]

echo "Restoring cstore files from tempdir..."
${ssh} ${dest_host} "cat /bi/mirror/get-cstore-tables.sql | ${psql}  --tuples-only --no-align --field-separator=' '  --quiet ${dest_tmp_db} | awk '{print \"cp -v ${dest_dir}/cstore_fdw/\"\$3\".\"\$4\" {{pillar['pg-data-dir']}}/cstore_fdw/\"\$1\"/\"\$2\";\ncp -v ${dest_dir}/cstore_fdw/\"\$3\".\"\$4\".footer {{pillar['pg-data-dir']}}/cstore_fdw/\"\$1\"/\"\$2\".footer\"}' | bash"

@Dezzsoke correct, you cannot.

FYI: if you install CStore files to the default location, the pg_basebackup binary backup will back them up.  It's only pg_dump which will not.

FYI: when working with partitioned tables you want to use SELECT * FROM ONLY table. Otherwise you'd dump the data from the table twice if you copy it out from both the master and the partitions. (If you managed to do this you can do a TRUNCATE ONLY to drop out the data you don't need.


Add more description to society page

 Issue by dleehr
Monday Aug 11, 2014 at 14:37 GMT
Originally opened as https://github.com/NESCent/dplace/issues/116

Links to external databases, column for source for variables

 Comment by dleehr
Friday Oct 31, 2014 at 18:46 GMT

Tables should be collapsible.

 Comment by kirbykat
Tuesday Aug 12, 2014 at 17:44 GMT

Here's my vision:
Header: SOCIETY NAME (standard name we will use throughout)
Subheader1: Alternative names
Subheader2: Databases that include this society (e.g., EA, Binford, other), with database names hyperlinked so user can quickly jump to dataset descriptions

 Comment by stefelisabeth
Wednesday Nov 12, 2014 at 17:56 GMT

We need some way to indicate whether or not a society is present in multiple databases.  Maybe a many-to-many field in the Society model containing all the societies the current society is linked to?
@dleehr?

@kirbykat To send new file with 'preferred' and alternate society names (recently completed by Colorado team)

I have all of this ready to go, but am waiting to hear about what to do about the UnicodeDecodeError from society Turkana (I deleted the character in my csv file just to test the code). @Bibiko

Aren't we waiting on updated files (saved in UTF-8) from @kirbykat ?

@SimonGreenhill @Bibiko  I sent these on 1 March. Let me know if I should re-send, or if there are further issues.

Oh, sorry, those were the EA data, code description, variable list, and reference files.
For Turkana, the file was saved as UTF-8, and from what I know Stef has tried replacing that one character manually and it is still not working. This is not something from the original data (it was added as an alternate name by an RA working with Mike when we were reviewing ethnonyms to ensure none were offensive). So, I think it's fine to leave it out for now.
If one of you is able to look into it further, here is the wikipedia page where the name is mentioned: https://en.wikipedia.org/wiki/Turkana_people
"The Turkana people call themselves ŋiTurkana (The Turkana). The name means the people of Turkan. They are mainly semi-nomadic pastoralists."

@bibiko @stefelisabeth can we go ahead with this, leaving the Turkana character for now?

@kirbykat @Bibiko here's the weird thing.. it works if I use "Ŋ" (what I assume is the capital letter version of "ŋ".

Hi Stef, just googled the large version and it took me to this page - https://en.m.wikipedia.org/wiki/Velar_nasal
Do any of the codes at the top provide an alternative way of coding for the ŋ ? If not, I don't know enough about linguistics to say whether the large and small can be interchanged...But I bet Simon/Hans/Robert can.
Kate

@kirbykat no, only ŋ is a ŋ. If Ŋ (UTF-8: C58A) works and ŋ (UTF-8: C58B) not, this seems to be a bug inside Python(-routines) + OS.

Is this still an issue? And if so, how? Or how is it reproduced? I have two files in the data repos which do contain the character in question, both can be read by python:
(dplace)dlt5502178l:~/venvs/dplace/dplace/datasets/csv$ grep Turkana *
ALL_soc_ids_to_xd_ids_24Feb2016.csv:EA,Aj5,xd410,Turkana,Turkana (Aj5),"ŋiTurkana, Elgume",1920
EA_header_data_24Feb2016.csv:EA,Aj5,xd410,Turkana,Turkana (Aj5),"ŋiTurkana, Records 3: 217-22."
...
(dplace)dlt5502178l:~/venvs/dplace/dplace/datasets/csv$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> c = open('ALL_soc_ids_to_xd_ids_24Feb2016.csv').read()
>>> c = open('EA_header_data_24Feb2016.csv').read()

It fails when saving the society to the database.
-----Original Message-----
From: "Robert Forkel"<EMAIL_ADDRESS>Sent: 13/3/2016 2:14 AM
To: "D-PLACE/dplace"<EMAIL_ADDRESS>Cc: "Stephanie Ng"<EMAIL_ADDRESS>Subject: Re: [dplace] Incorporate new 'header' data to society pages -preferred names, alt names, appearance in other db (#82)
Is this still an issue? And if so, how? Or how is it reproduced? I have two files in the data repos which do contain the character in question, both can be read by python:
(dplace)dlt5502178l:~/venvs/dplace/dplace/datasets/csv$ grep Turkana *
ALL_soc_ids_to_xd_ids_24Feb2016.csv:EA,Aj5,xd410,Turkana,Turkana (Aj5),"ŋiTurkana, Elgume",1920
EA_header_data_24Feb2016.csv:EA,Aj5,xd410,Turkana,Turkana (Aj5),"ŋiTurkana, Records 3: 217-22."
...
(dplace)dlt5502178l:~/venvs/dplace/dplace/datasets/csv$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

c = open('ALL_soc_ids_to_xd_ids_24Feb2016.csv').read()
c = open('EA_header_data_24Feb2016.csv').read()
—
Reply to this email directly or view it on GitHub.

I'm sorry, it turns out my attempt to fix earlier encoding problems was to blame. I reverted this fix, and it seems that with the current set of data files, it isn't necessary anymore anyway. So commit https://github.com/shh-dlce/dplace/commit/665538390974137cdd2df3379e780b56f575b7e5 fixes the problem.

@xrotwang oh, thanks! @kirbykat we should be able to close this soon, then :)

Great!!

Done in #275


Add 'pxt dumplog' to dump codal's log

Also:

use a pipe instead of a socket to invoke gdb; now tested on mac and win
allow setting PXT_NODOCKER to force non-docker build
bugfix for compilation failure in Adafruit (neopixel init)

@guillaumejenkins could you take another look? some changes added


Add vundle instructions to readme

I have tested this out, and it works.

Thanks for the patch, but I won't merge this.
I only added vim-plug as an example. Otherwise we would have to add vim-addon-manager, pathogen, neobundle, dein, etc. too and I'd like to keep the README short. If someone is using another plugin manager already, I expect him to have read its documentation and knows how to use it.
Thanks anyway!


Basic cache control from _headers file

Quick example of how to set cache control headers, the example includes all files in /assets/logos/* but we might want to include others. This should cover all the logos though which is bulk of the problem at the moment:

I'm okay to merge this but it sounds like we'll just have to be smarter on this for the hub redesign.
@aaronsteers or @alexmarple I'd like a review from you to give code approval.


monit health check kubelet and restart unhealthy one

Fix #5107
cc/ @vmarmol  @roberthbailey

A separate PR will be sent out later or tommorrow to reduce monit scanning interval to 30second. Currently it is 2 minutes. I need to figure out why master node configuration is different from minions first.

LGTM, will merge on green. Thanks @dchen1107!

Looks like the unit test is failing:
--- FAIL: TestHealthCheck (0.01s)
	server_test.go:487: expected status code 500, got 200
	server_test.go:501: expected status code 200, got 500

Yeah, early git rebase merge some wrong code. I fixed it. Now the test should pass.

Green it is! LGTM, merging.

#2884


enh(Section): Make section summary steady

Description
This fixes the steadyness of the section summary while expanding a section
Type of change

[x] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

[ ] 21.04.x
[ ] 21.10.x
[ ] 22.04.x
[x] 22.10.x (master)

Checklist
Community contributors & Centreon team

[x] I have followed the coding style guidelines provided by Centreon
[ ] I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
[ ] I have commented my code, especially hard-to-understand areas of the PR.
[x] I have rebased my development branch on the base branch (master, maintenance).

We might want to change the panel background color to match the accordion's new ones

Do you mean the panel you the paper color?

The panel background color (which is grey at the moment)


extra whitespace

I tried to disable extra whitespace by running in legacy mode. However, it still erases all whitespace. this is the one thing preventing me from using this =(

If you're in legacy mode perhaps try disabling the white option: white: false. Otherwise check out #110


Set send_interval per Channel instead of globally

Context
Before, we were settings a send_interval Duration for the client or the server. The network send systems would only get called every send_interval.
This was overly restrictive because in some cases we might want to send messages for a given channel every tick (for example inputs) but send messages for another channel (for example replication messages) less frequently.
This can be useful when predicting other player's actions (GGPO-style) because we want a client to send their inputs to other clients as fast as possible.
This PR:

gets rid of the global client_send_interval and server_send_interval. The send_packet systems now run every frame
every channel now has a send_interval setting where you can control how often the channel will actually send their messages
for replication it's slightly more complicated, we cannot just set the setting on the replication channel themselves, because we want the tick of the packet to be the same as the tick of the entity when it was serialized in the packet on the sender. To solve this we have a separate replication_send_interval which specifies how often we run the replication systems.

Codecov Report
Attention: Patch coverage is 84.73282% with 20 lines in your changes missing coverage. Please review.

Project coverage is 70.77%. Comparing base (2403575) to head (38ade78).

Files
Patch %
Lines

lightyear/src/shared/replication/plugin.rs
57.89%
8 Missing :warning:

lightyear/src/channel/builder.rs
71.42%
2 Missing :warning:

lightyear/src/channel/senders/reliable.rs
80.00%
2 Missing :warning:

...htyear/src/channel/senders/unordered_unreliable.rs
75.00%
2 Missing :warning:

.../channel/senders/unordered_unreliable_with_acks.rs
71.42%
2 Missing :warning:

lightyear/src/server/plugin.rs
33.33%
2 Missing :warning:

lightyear/src/client/connection.rs
85.71%
1 Missing :warning:

lightyear/src/server/connection.rs
87.50%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #466      +/-   ##
==========================================
- Coverage   71.27%   70.77%   -0.51%
==========================================
  Files         139      139
  Lines        9790     9773      -17
==========================================
- Hits         6978     6917      -61
- Misses       2812     2856      +44

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


Improve FileSystemCollector speed on Linux and Mac by Reducing calls to du

Currently we call du for each file, we could cut that down to once per directory, but it might require some significantly rewrites.  There should be some performance benefit though.

Maybe do something like
var Directories = DirectoryInfo.EnumerateDirectories(root, new EnumerationOptions()
{
    AttributesToSkip = FileAttributes.Offline | FileAttributes.ResparsePoint,
    IgnoreInaccessible = true,
    RecurseSubdirectories = true,
    ReturnSpecialDirectories = false
}

Parallel.ForEach(Directories, Directory =>
{
    // du directory, get sizes for each file
    // parse each file in directory
});

https://docs.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.enumeratedirectories?view=netcore-3.1


Manipal Academy of Higher Education<EMAIL_ADDRESS>

https://manipal.edu/mu.html
Manipal Academy of Higher Education

@rajnunes I have to close the request without merging as a duplicate to #4955. Thank you.


cannot stop build/test

how do i stop a build

Thanks for raising this @sparshmartireshk! seems like there was indeed a weird issue with this one which basically made Flashlight hang
We'll look into it 👀

Issue should be fixed now, and we now have an "abort button", closing this issue then!


22.01

Is there a summary of changes since the last version?

What's Changed

1.4.0 by @HadleyKing in https://github.com/biocompute-objects/BCO_Specification/pull/84
2.0.0 by @HadleyKing in https://github.com/biocompute-objects/BCO_Specification/pull/92
Refactoring for Portal linking by @HadleyKing in https://github.com/biocompute-objects/BCO_Specification/pull/93
update dev by @HadleyKing in https://github.com/biocompute-objects/BCO_Specification/pull/94
Dev by @HadleyKing in https://github.com/biocompute-objects/BCO_Specification/pull/95

Full Changelog: https://github.com/biocompute-objects/BCO_Specification/compare/1.4.2...22.01

@mr-c Its a lot since we stoped tracking versions once we realized that IEEE-2791-2020 would be the repo for the standard. This repo has been repurposed to house the documentation, and so this PR will be the first release to be inline with the BCO Portal and DB release.

Minor changes made.
I know that this came up before, but why is the external references field only for publicly accessible data, forcing non-public data to find a home somewhere else?

@kee007ney where do you see that? Actually the external_data_endpoints should also be used for non public data. I think that was the original intention. So a consumer knows what access privileges they need.


Winget not asking for privilege escalation for some packages

Brief description of your issue

Some applications like Libreoffice can't be installed with windows terminal in user mod, because the terminal doesn't ask to escalate privilege during the install process (crashing with the code 1603)
If it's executed using Powershell as admin, the install process silently finishes in the background but the terminal window remains stuck with the initiating install message.
Steps to reproduce

winget upgrade LibreOffice.LibreOffice
Environment
[winget --info]
Windows: Windows.Desktop v10.0.19043.1237
Pacote: Microsoft.DesktopAppInstaller v1.16.12653.0

Registros: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
-------------------------------------------------------------------------------
Política de Privacidade https://aka.ms/winget-privacy
Contrato de Licença     https://aka.ms/winget-license
Avisos de Terceiros     https://aka.ms/winget-3rdPartyNotice
Home page               https://aka.ms/winget
Termos da Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Windows Package Manager version
Windows: Windows.Desktop version
Package: Microsoft.DesktopAppInstaller version

#1243 includes #1284 intended to address this scenario. We still have some work to do in the client for this, but the schema work has been implemented, and the support for the v1.1 manifest schema is in progress on the validation pipelines.

We've added the key to the schema to indicate when a package requires or prohibits elevation. This work item will be used to track the work to provide the information to the user. It will give an error for user mode if the package requires elevation, and it will give an error for admin mode if the package prohibits elevation.


Add formatting option to the values

Thanks for your mqtt mapper. It is indeed a easy way to add new devices without need of special programmming.
As I did not like the formatting if no formatting was applied, I made some changes to your script.
Futher I see the automatic formatter did some changes to the long lines

Thank you very much for the good work.


Cherry pick 02 11

cherry pick latest commits from upstream

/label tide/merge-method-merge

/retest all

/test all


apiDevId is not defined because should be outside the IF sentence.

Sorry I missed this.

Sorry I missed this.

No! I reviewed it before the coffee, but I tested it after :(


npx create-react-app does nothing

$ npx create-react-app --verbose
Please specify the project directory:
  create-react-app <project-directory>

For example:
  create-react-app my-react-app

Run create-react-app --help to see all options.

No message, no err report just the command message.

what is this issue about?

What do I need to do to make it clearer?

what is this issue about?

The message returned from create-react-app is clear enough:
Please specify the project directory:
   create-react-app <project-directory>

You ned to run it as
npx create-react-app <project-directory>

substituting <project-directory> with the name of the directory you want.
Inside that directory the project will be created.

The message returned from create-react-app is clear enough:
Please specify the project directory:
   create-react-app <project-directory>

You ned to run it as
npx create-react-app <project-directory>

substituting <project-directory> with the name of the directory you want.
Inside that directory the project will be created.

You did not read my post carefully. I did this.

Just run:
npx create-react-app hi-this-is-a-new-project-directory
or whatever you want it to be called. That's all

Just run: npx create-react-app hi-this-is-a-new-project-directory or whatever you want it to be called. That's all

Folks I don't know how to make you understand. I' am doing exactly as described.
All it does is spit back the execution template.

If you look at the time stamp on every prompt, each time it does nothing except tell me how to execute the script.

Have you tried npx create=react-app . to see if it executes in the current dir?

Have you tried npx create-react-app . to see if it executes in the current dir?

Yes. Same results.
So How do I trace what the script is doing?

have you checked that node installed in your local pc or  just try uninstall in control pannel and reinstall it

have you checked that node installed in your local pc or just try uninstall in control pannel and reinstall it

What do you mean have I checked?
I'm using NVM on a linux system.
Control Panel is irrelevant.

I'm closing this. At this point it seems the issue is in my environment and not with the create-react-app tool.


fix: fix clone

Codecov Report

Merging #19 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage    97.8%   97.84%   +0.04%
==========================================
  Files           2        2
  Lines          91       93       +2
  Branches       11       11
==========================================
+ Hits           89       91       +2
  Misses          2        2

Impacted Files
Coverage Δ

src/index.js
97.75% <100%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 680d302...29db149. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


refactor: deprecate stdBasis

Deprecate stdBasis in favor of its duplicate LinearMap.single. Also changes the binder types in the later.
Note the simp normal form of an applied (or even simply coerced to function) LinearMap.single is a Pi.single, as discussed during the community meeting.
See the Zulip discussion.

or even simply coerced to function

To me this choice is not obviously the right one (vs only making the applied version simp), but nor is it obviously wrong.

What do you think of my suggestions below to replace all occurences of LinearMap.single R (fun _ => R) i c with Pi.single i c? That makes the spelling simp-normal, which would allow a fair number of lemmas to also be @[simp].

I don't really know what API boundaries you want to keep here.

I don't really know what API boundaries you want to keep here.

I'm deliberately saying that there should be no API boundary between Pi.single and LinearMap.single; the rule is that the latter should only exist in lemmas where it is not applied, as is the case with most bundled maps with a corresponding unbundled spelling.

bors merge


Using route/url in an attribute "not supported" won't generate a link to the correct scheme

Laravel Version:  9.2
PHP Version: 8.1
Virtual machine running on Amazon EC2

Description:
Using route in an attribute "not supported" won't generate link to https but instead http.
Steps To Reproduce:

Viewing your page with https, open any blade file.
Add link anywhere – this works, link will be https://foobar
Add link anywhere – doesn't work, link will be http://foobar – why?

This is an issue when using <picture> as you're using srcset instead of src. In the example below, only the img tag is linking to the https scheme. Every source tags are linking to a http page, making them unusable when browsing the page with https. Changing srcset to src will result in a correct scheme.
<picture>
    <source srcset="{{ route('file.view', ['file' => $file, 'size' => null]) }}" media="(min-width: 700px)">
    <source srcset="{{ route('file.view', ['file' => $file, 'size' => 700]) }}" media="(min-width: 500px)">
    <source srcset="{{ route('file.view', ['file' => $file, 'size' => 500]) }}" media="(min-width: 350px)">
    <source srcset="{{ route('file.view', ['file' => $file, 'size' => 350]) }}" media="(min-width: 200px)">
     $file, 'size' => 200]) }}">
</picture>

I have tested this on two different Laravel applications (not freshly installed but updated to latest Laravel version). I have also checked the generated blade file to confirm there's not a browser issue.

Do your local env APP_URL start with http://? If so, changing that to https should fix it.

After checking trough the Laravel code on how the scheme is set I solved this by removing Cloudflare proxy and then issuing a new ssl certificate on my server without Cloudflare interference.
Super weird case but at least it is fixed.


ClassificationReport missing plot

Closes #102

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
39 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-1.4%) to 91.916%

Files with Coverage Reduction
New Missed Lines
%

src/sklearn_evaluation/telemetry.py
2
96.92%

src/sklearn_evaluation/plot/classification_report.py
16
81.61%

src/sklearn_evaluation/plot/_matrix.py
21
14.29%

Totals

Change from base Build<PHONE_NUMBER>:
-1.4%

Covered Lines:
2365

Relevant Lines:
2573

💛  - Coveralls


[Python] Missing releases

Link to product page on endoflife.date
It seems to miss some of the Python versions
Details of incorrect and correct details you have found
It seems to miss the version 3.0, 3.1 and 3.2.
What is the source website for the product and for its version information?
For example: https://devguide.python.org/versions/
Additional context
When running the API call for the Python we obtain this :
[
  {
    "cycle": "3.12",
    "releaseDate": "2023-10-02",
    "support": "2025-04-02",
    "eol": "2028-10-31",
    "latest": "3.12.2",
    "latestReleaseDate": "2024-02-06",
    "lts": false
  },
  {
    "cycle": "3.11",
    "releaseDate": "2022-10-24",
    "support": "2024-04-01",
    "eol": "2027-10-31",
    "latest": "3.11.8",
    "latestReleaseDate": "2024-02-06",
    "lts": false
  },
  {
    "cycle": "3.10",
    "releaseDate": "2021-10-04",
    "support": "2023-04-05",
    "eol": "2026-10-31",
    "latest": "3.10.13",
    "latestReleaseDate": "2023-08-24",
    "lts": false
  },
  {
    "cycle": "3.9",
    "releaseDate": "2020-10-05",
    "support": "2022-05-17",
    "eol": "2025-10-31",
    "latest": "3.9.18",
    "latestReleaseDate": "2023-08-24",
    "lts": false
  },
  {
    "cycle": "3.8",
    "releaseDate": "2019-10-14",
    "support": "2021-05-03",
    "eol": "2024-10-31",
    "latest": "3.8.18",
    "latestReleaseDate": "2023-08-24",
    "lts": false
  },
  {
    "cycle": "3.7",
    "releaseDate": "2018-06-26",
    "support": "2020-06-27",
    "eol": "2023-06-27",
    "latest": "3.7.17",
    "latestReleaseDate": "2023-06-05",
    "lts": false
  },
  {
    "cycle": "3.6",
    "releaseDate": "2016-12-22",
    "support": "2018-12-24",
    "eol": "2021-12-23",
    "latest": "3.6.15",
    "latestReleaseDate": "2021-09-03",
    "lts": false
  },
  {
    "cycle": "3.5",
    "releaseDate": "2015-09-12",
    "support": false,
    "eol": "2020-09-30",
    "latest": "3.5.10",
    "latestReleaseDate": "2020-09-05",
    "lts": false
  },
  {
    "cycle": "3.4",
    "releaseDate": "2014-03-15",
    "support": false,
    "eol": "2019-03-18",
    "latest": "3.4.10",
    "latestReleaseDate": "2019-03-18",
    "lts": false
  },
  {
    "cycle": "3.3",
    "releaseDate": "2012-09-29",
    "support": false,
    "eol": "2017-09-29",
    "latest": "3.3.7",
    "latestReleaseDate": "2017-09-19",
    "lts": false
  },
  {
    "cycle": "2.7",
    "releaseDate": "2010-07-03",
    "support": false,
    "eol": "2020-01-01",
    "latest": "2.7.18",
    "latestReleaseDate": "2020-04-19",
    "lts": false
  },
  {
    "cycle": "2.6",
    "releaseDate": "2008-10-01",
    "support": false,
    "eol": "2013-10-29",
    "latest": "2.6.9",
    "latestReleaseDate": "2013-10-29",
    "lts": false
  }
]

Try to open a PR, tell me if I miss something :)

Try to open a PR, tell me if I miss something :)

Perfect, thanks !
FYI I re-categorized the issue as endoflife.date is not meant to document all releases.


csh

Make csh use libtrue so it can finally support it (missing according to builtin(1)).

I don't even know what to believe in anymore


Improve GitLab CI pipeline to match provided GitHub CI as closely as possible

Currently, the Gitlab CI is only rudimentary and lacks behind the Github CI scripts.
Before implementing #11 the Gitlab pipelines should be brought to the same or similar level.
Maintenance of both sets of scripts should be as easy as possible, thus keeping them similar would help.
Ideally, the Gitlab CI is also run from this repo in a Gitlab Demo repo to verify that everything works and to make Gitlab a first-class target.

The API of Github and Gitlab on URL level is apparently compatible, i.e. given a repo base URL, there is no need to change construction of

Issue tracker endpoint (/issues)
Tagged commit endpoint (/tree/vX.Y.Z)
Markdown edit page endpoint/fragment (/edit/main/docs or /blob/main/docs)

Need further to understand the URL logic for gitlab pages (probably also very similar)
For the direct cloning link the syntax must be: git+ssh://git@domain.com:path/to/repo.git
so we need to split the project URL to rewrite it like that.
The major issue is how to avoid complication in user prompting. Current idea:

Ask user via cookiecutter to provide the URL of an empty repository (where the repo will be pushed to)
infer all remaining variables from it, i.e.

domain (github.com / some.gitlab.org)
project path (orga[/suborga])
possibly the project slug (repo name at end of path)


Upgrade to latest urllib3.

Type of change

Improvement (improvement to code, performance, etc)

Description
Upgrade urllib3 to address https://nvd.nist.gov/vuln/detail/CVE-2023-43804
Additional details
I tested it by running make docs locally. Didn't see any issues with resultant documentation or with the execution/run.
Related issues
N/A
Release Note
Should not impact users at all; just needed to keep our docs secure.

@Mergifyio rebase


Scoop update fails, leaves scoop broken: Windows 10

Scoop installed today.
C:\Users\james>scoop
Usage: scoop  []
Some useful commands are:
alias      Manage scoop aliases
bucket     Manage Scoop buckets
cache      Show or clear the download cache
checkup    Check for potential problems
cleanup    Cleanup apps by removing old versions
config     Get or set configuration values
create     Create a custom app manifest
depends    List dependencies for an app
export     Exports (an importable) list of installed apps
help       Show help for a command
home       Opens the app homepage
install    Install apps
list       List installed apps
reset      Reset an app to resolve conflicts
search     Search available apps
status     Show status and check for new app versions
uninstall  Uninstall an app
update     Update apps, or Scoop itself
which      Locate a program path
Type 'scoop help ' to get help for a specific command.
C:\Users\james>scoop update
Updating Scoop...
rm : Cannot remove item C:\Users\james\scoop\apps\scoop\current\supporting\validator\Newtonsoft.Json.dll: Access to the path 'Newtonsoft.Json.dll' is denied.
At C:\Users\james\scoop\apps\scoop\current\libexec\scoop-update.ps1:69 char:9

    rm -r -force $currentdir -ea stop

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : PermissionDenied: (Newtonsoft.Json.dll:FileInfo) [Remove-Item], UnauthorizedAccessException
FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand

C:\Users\james>

This is related to this recent change: https://github.com/lukesampson/scoop/commit/82ec0fe7a11c1fc0db39cb51b671a5650c1252c8
Can you try reinstalling it, after closing all powershell instances?
Maybe this has fixed it. https://github.com/lukesampson/scoop/commit/12c8248439b262974ca22f4fd9394c9d507da6a0
Will try to test this tomorrow.

I tried to fresh install scoop on another computer of mine yesterday, and encountered this issue. Closing powershell and even rebooting the computer didn't help.

This has been fixed. I encountered once.


Adding possibility to set environment variables

Hi.
I need a possibility to set environment variables from inside the Gruntfile in an elegant way. I thought the options-object would be a nice place. What do you think?
Best regards!

Okay, this works on my local machine but unfortunately not on Travis. What would be the best way to deal with this situation? Omitting the test? Omitting the whole feature?? …

@herschel666 Can you fix the merge conflict?
Regarding the travis failure, just ignore it ;)

Could you also squash the commits?

Thanks @herschel666 :)


Make off toggle background darker (testnet)

Can we please make bag in off toggle position #0F0D17? By now it's hardly visible (testnet colours only).

at the moment bag in off toggle position #0f0d18

checked


Mobile design

We need some help with creating mobile design for the entire site.  We should focus on the mobile navigation and also potentially move the profile section into a menu on the navigation.  We will also need to add mobile responsiveness to images and stuff like that.

Since we don't have any movement yet on this, I think I am going to make this one of my assignments and I would love some input.  An example of what I am thinking is located here: https://corporate-dashboard-client.herokuapp.com/

Again, I'd love some help on this one.  This is probably the most important ticket we have now.  I will get us started and would love someone else to come jump in to help!!

Note, I have decided to get some progress going on this and will update the repo soon.  I could still use help with making the site responsive!!

We seriously need help on this.  This will be mostly CSS and feedback on the current mobile design.  Is there someone, or a group of people who can stand up and volunteer to help us to get a killer mobile design?

I wouldn't mind doing some work on the responsiveness. I'm just not yet very experienced with this yet, so it would probably take longer if I do it. But I will gladly do some parts, and if there will be a team, I'm in. : )
Ryan, what does "Pressing Matter" mean? Is there a ETA for this?

I just added that so that we can highlight the issues that are most pressing.  No real ETA on it, but it means let's prioritize it above others.  We need this for the initial MVP, which we are getting fairly close to.

@ryancollins: Is it possible to get an updated Grommet version for our app? There has been some improvement on the responsiveness of their headline component: https://github.com/grommet/grommet/commit/21b39cbd189048a7bb21bd7c8d05635cf05bd2c6


Not working with advanced-open-file

It looks like with the recent addition of how consumers work, icons are no longer replaced in advanced-open-file's view. It worked out of the box until 2.0.0. Of course I don't necessarily expect you to support other third-party packages, but that one is pretty popular and did seem to work fine until recently.
It looks like a new consumer would need to be created, is that right? I imagine it would be similar to fuzzy-finder, but that consumer seems pretty complicated so I'm a little lost.
If you could point me in the right direction for adding a consumer that would be great, thank you!

+1

The consumers folder is actually just a way of monkey-patching Atom's core packages, because their own icon API is too limited to do what we need it to do.
I'm finishing up work on an icon API that'll actually be useful, and give other package authors an opportunity to list icons for elements that use them.
Sorry about this. I knew this would be a loud change, but it had to be done sooner or later.

Ah okay. Once it's finished please let me know so I can fork advanced-open-file. Thanks!

Doing all I can, heh.

@jacobmischka To ensure this gets fixed ASAFP, I'll be the one to send advanced-open-file a PR. Once done, I'll ping you in it.

Oh great, thanks so much!

Ha, yeah I am. Basically that just returns the span that holds the filename. So pretty much it'll just output something like:
`<span class="filename icon icon-file-text" data-name="${path.fragment}">${path.fragment}</span>`

What do we need to do to apply the file-icons service?

Sorry mate, I just finished simplifying the integration process to be a lot less bothersome. I've updated the package readme with instructions. Do they make sense to you?

Sorry mate, I just finished simplifying the integration process to be a lot less bothersome. I've updated the package readme with instructions. Do they make sense to you?

Yeah I think so. I'll fork advanced-open-file and give it a shot a little later tonight. Thanks so much for your help!

Yeah I think so. I'll fork advanced-open-file and give it a shot a little later tonight. Thanks so much for your help!

Thank me when it works and hundreds of people are less pissed off... =)

Thank me when it works and hundreds of people are less pissed off... =)

Anyway, please let me know the second you have troubles. Seriously.

Anyway, please let me know the second you have troubles. Seriously.

Does the path passed to the callback need to be absolute?

Does the path passed to the callback need to be absolute?

If it has to point to an existing resource, yes. Otherwise, it assumes subfolder/file.js is located at /subfolder/file.js.
Is that going to make things difficult?

If it has to point to an existing resource, yes. Otherwise, it assumes subfolder/file.js is located at /subfolder/file.js.
Is that going to make things difficult?

No, just wondering.
I'm currently a little confused with the way consumers work in atom in general, my consumeElementIcons function doesn't seem to be getting called ever, so addIconToElement doesn't do anything.

No, just wondering.
I'm currently a little confused with the way consumers work in atom in general, my consumeElementIcons function doesn't seem to be getting called ever, so addIconToElement doesn't do anything.

Is your File-Icons version in-sync with master?

Is your File-Icons version in-sync with master?

Oh, no. I didn't realize you hadn't released since. I've got it working, thanks!

Oh, no. I didn't realize you hadn't released since. I've got it working, thanks!

 Do the icons update okay when you add a hashbang?

 Do the icons update okay when you add a hashbang?

Yep!

Just gotta clean up a few things then I'll submit the PR, thanks again!

Yep!

Just gotta clean up a few things then I'll submit the PR, thanks again!

Goddamn relief. If I weren't running on fumes from days of sleep-deprivation, I'd probably cheer out loud, but yeah...

Goddamn relief. If I weren't running on fumes from days of sleep-deprivation, I'd probably cheer out loud, but yeah...

You deserve a rest!

You deserve a rest!

That can wait until I'm dead and/or I've patched some other shortcomings (such as icons not appearing in the tree-view if file-icons is deactivated and reactivated in the same session).

That can wait until I'm dead and/or I've patched some other shortcomings (such as icons not appearing in the tree-view if file-icons is deactivated and reactivated in the same session).

... except that's not going to work without risking breakage to what already works. Which is traced back to the original need to support Atom's built-in packages with an ugly monkey-patching approach.
FFS. All I can do at this point is hope there aren't too many people repeatedly deactivating and reactivating the package without reloading the window...

... except that's not going to work without risking breakage to what already works. Which is traced back to the original need to support Atom's built-in packages with an ugly monkey-patching approach.
FFS. All I can do at this point is hope there aren't too many people repeatedly deactivating and reactivating the package without reloading the window...

Hm yeah, unless you can convince atom to use your service there's not much that you can do it seems.

Hm yeah, unless you can convince atom to use your service there's not much that you can do it seems.

I'll send them a pull request. Not because I expect them to accept it, but because I want them to realise how myopic it was to deny packages DOM access when consuming file-icons. That detail alone is what's led to this shitfight. 😢

I'll send them a pull request. Not because I expect them to accept it, but because I want them to realise how myopic it was to deny packages DOM access when consuming file-icons. That detail alone is what's led to this shitfight. 😢

Hero! Could I get you to fix Nuclide too? That's the issue I've been most frantic about... It's React/Flow as well...

Hero! Could I get you to fix Nuclide too? That's the issue I've been most frantic about... It's React/Flow as well...

Sure! I'll take a look tonight sometime, probably in a couple hours.

Sure! I'll take a look tonight sometime, probably in a couple hours.

So, what changed between 1.7.25 and 2.0.x to make things break for Nuclide and Seti.  If it wasn't "broke" why fix?

So, what changed between 1.7.25 and 2.0.x to make things break for Nuclide and Seti.  If it wasn't "broke" why fix?

@mikeerickson There was a lot that we couldn't do. We couldn't change icons dynamically, the startup time was hellish, maintaining the thing was a freaking nightmare, and everything was built upon one hacky layer of CSS selectors wrapped around another. We couldn't match paths case-insensitively, or partial paths, and were severely limited when it came to matching subpatterns.

@mikeerickson There was a lot that we couldn't do. We couldn't change icons dynamically, the startup time was hellish, maintaining the thing was a freaking nightmare, and everything was built upon one hacky layer of CSS selectors wrapped around another. We couldn't match paths case-insensitively, or partial paths, and were severely limited when it came to matching subpatterns.

When I started work on V2, it was under the belief that Atom's new icon API would be the answer to our problems. By the time I realised how limited it was, I was already two-thirds of the way to completion. There've been so many turns of development and design choices, the current state of the package resembles nothing to what I'd initially expected it to.

When I started work on V2, it was under the belief that Atom's new icon API would be the answer to our problems. By the time I realised how limited it was, I was already two-thirds of the way to completion. There've been so many turns of development and design choices, the current state of the package resembles nothing to what I'd initially expected it to.

Makes good sense to me.  So is "my" issue related or advanced-open-file or seti theme.

Makes good sense to me.  So is "my" issue related or advanced-open-file or seti theme.

Both, but I'll send the Seti theme's maintainer a PR to sort this mess out.

Both, but I'll send the Seti theme's maintainer a PR to sort this mess out.

So, what you are saying is, this project is like any other development project.  Things never seem to go as planed and at crunch time, all design decisions have already been thrown out the window and it is patch city :)
Thanks for your efforts, greatly appreciated.   I will stick with 1.7.25 but would be more than happy to help test any beta etc

So, what you are saying is, this project is like any other development project.  Things never seem to go as planed and at crunch time, all design decisions have already been thrown out the window and it is patch city :)
Thanks for your efforts, greatly appreciated.   I will stick with 1.7.25 but would be more than happy to help test any beta etc

@jacobmischka: Pull request to Atom sent, though I doubt they'll accept it...
@mikeerickson: Once this gets merged and after @vermotr releases a patch, you'll need to open the seti-classic theme's settings and uncheck Custom Icons. It should look like this:

You can find it by opening Atom's settings, then going "Themes", and then clicking the cog next to the UI theme's name:

@jacobmischka: Pull request to Atom sent, though I doubt they'll accept it...
@mikeerickson: Once this gets merged and after @vermotr releases a patch, you'll need to open the seti-classic theme's settings and uncheck Custom Icons. It should look like this:

You can find it by opening Atom's settings, then going "Themes", and then clicking the cog next to the UI theme's name:


The new update

Cant open the radio and its not popping up over mumble voip. Im not getting eny errors or maked eny changes just updated it

https://github.com/FrazzIe/rp-radio#note


EntityStore returns empty names for variant products

Description
In the administration, when using the product-store, it will return empty names for variants that have a linked name. (a.k.a. not overridden by the variant, same name as the parent)
Possible Solution
Add a explicit EntityRepository for product entities which loads the necessary data.
Additional context
Empty option in rule-builder because product store returns emtpy names:

Hi @runelaenen,
This kind of behavior is known to us and will be fixed with the 6.2 release
https://issues.shopware.com/issues/NEXT-7610
Sunny regards
Pantrtxp

Okay thank you. I had looked through the issue tracker but couldn't find the issue yet. Thanks!


Core on DorisOnES

start time: Wed Nov 27 16:57:23 CST 2019
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1577697170" if you are using GNU date ***
PC: @          0x1433b73 doris::EsHttpScanNode::collect_scanners_status()
*** SIGSEGV (@0x8) received by PID 27689 (TID 0x7f30dc782700) from PID 8; stack trace: ***
@     0x7f311cb225d0 (unknown)
@          0x1433b73 doris::EsHttpScanNode::collect_scanners_status()
@          0x1435fd8 doris::EsHttpScanNode::close()
@          0x139db86 doris::ExecNode::close()
@          0x13aaddb doris::HashJoinNode::close()
@          0x139db86 doris::ExecNode::close()
@          0x1471ba8 doris::NewPartitionedAggregationNode::close()
@          0x1045b2a doris::PlanFragmentExecutor::close()
@           0xfd5995 doris::FragmentExecState::execute()
@           0xfd8886 doris::FragmentMgr::exec_actual()
@           0xfdd972 boost::detail::function::void_function_obj_invoker0<>::invoke()
@           0xee5f05 doris::ThreadPool::work_thread()
@          0x19c5ecd thread_proxy
@     0x7f311cb1add5 start_thread
@     0x7f311bf1fead __clone
version：master (2019-11-27~)

@blackfox1983
This core problem maybe related to the EsHttpScanNode open failure,  the size of _scan_ranges and _scanners_status are not same, _scanners_status[_scan_ranges.index]  return nil


Fix passphrase recover command

r? @maxtaco

:+1:
Did recovery actually work btw?  I.e., could you sign into the website via the new passphrase?

Yes, it worked.


Looking for authorizer specification example

I'm in the process of evaluating this project for our API. It looks promising, but one core aspect is unclear to me.
Could you provide an example of how I would specify/reference an authorizer function in serverless.yml?
Thanks!

Hey @fubar,
sure, here is the example:
# serverless.yml

custom:
  eventTypes:
    user.created:
      authorizer: authFunc

functions:
  hello:
    handler: handler.hello
    events:
      - eventgateway:
          type: sync
          eventType: user.created
          path: /hello
          method: GET
  authFunc:
    handler: handler.auth

Closing for now. Let me know if you have more questions.

I took a deeper dive into this today and tried out a few things, and would like to share a few observations. Now I am aware that this project is still in its early stages and under active development, but I did not want to miss the change to point out these things and get your thoughts and help.

I cannot get an authorizer to get called. Your example doesn't work. Any time I reference an authorizer, all HTTP calls return a 403 Forbidden, and by means of Cloudwatch logs I can see that the authorizer function was not called. The same is true for non-HTTP events triggered through the command line (e.g. serverless gateway emit --event "test.foo" --data "{}").
On top of that, it looks like the first deploy of an authorizer (when it's new or after I've changed its name) causes the function to execute successfully, as if no authorizer was specified at all. Subsequent deploys cause the 403 behaviour described above.
Any function that should be accessible over HTTP needs to have eventType: http.request. This means that an authorizer (once working) needs to be set on the generic http.request event type, which in turn means that either all of my API endpoints have to use the same type of authentication, or I need to make the authorizer aware of which endpoint is called and use different logic accordingly, which defeats the purpose of the original intention to specify different authorizers for different events/endpoints. This is somewhat related to my initial expectation that authorizers would be linked to endpoint definitions, and not to event types.
For functions that are subscribed to "regular", non-HTTP events, it doesn't seem to make a difference whether I use type: sync or type: async: Event emission returns immediately in both cases, with the same response payload, whether I emit the event from command line or in code through the SDK. It would be incredibly useful if I could fire events in code and wait for the response. It did however affect the parameters that need to be passed to the SDK method:
When using async, this works:

eventGateway
  .emit({
    event: "test.foo",
    data: { foo: "bar" }
  })

When using sync, the above throws an error. It requires parameters like specified at https://github.com/serverless/event-gateway-sdk#emit:
eventGateway
  .emit({
    eventType: "test.foo",
    eventTypeVersion: "1.0",
    source: "/foo/bar",
    contentType: "application/json",
    data: {
      foo: "bar"
    }
  })

I'd be happy to help debug further.
Also, when are you planning on publishing a stable release version?
Thanks!

@fubar thanks for your feedback.
ad. 1. I will looks into that and let you know
ad. 2. Specifying authorizer on event type is the first step. We are aware of limitations that you mentioned. We are thinking about allowing defining authorizers either on endpoints (method + paths) or on subscription level.
ad. 3. For custom events EG should behave differently depending on type of subscription. For async subscription it should return 202 Accepted for sync subscriptions it should return response from subscribed functions. I will investigate this weird behavior that you mentioned.

@fubar Thanks for the detailed feedback. This is really helpful.
I did some digging today and found some of the root causes of your issues.

Most importantly, the Framework plugin wasn't registering functions in the Event Gateway that didn't have an eventgateway event attached to them. This meant the authFunc wasn't registered in the Event Gateway. There's an issue tracking this bug, and it should be fixed soon.
Semi-related, there's an issue for the Event Gateway SDK that will allow users to specify a path and headers for an emit() request. This will be helpful as subscriptions are set up on paths, and headers may be the mechanism for authorization.

You're right on the authorization for http.request. Our initial goal for authorizers was to set them up for Event Types and solve the asynchronous / pub-sub auth issue. It didn't make sense for each downstream subscriber to implement auth for an asynchronous event that's emitted, so it need to be on the Event Type.
We'll still working on the mechanisms for allowing auth on http.request. As Maciej noted, it will likely be on the subscription.

Still getting to the last issue around sync and async for emitting. Will follow up when I know more.

Thanks again, and feel free to reach out if you have more questions.

Thanks for the responses @alexdebrie and @mthenw and for addressing the issues. Looking forward to further updates!

@fubar I tested the sync / async emit behavior with the event-gateway-sdk, and I was able to get it to work.
I set up two subscriptions -- an async one for user.deleted, and a sync one for user.created. Then I ran this script:
// Construct your client
const SDK = require('@serverless/event-gateway-sdk');
const eventGateway = new SDK({
  url: process.env.EVENT_GATEWAY_APP_URL
})

// Test the async subscription
eventGateway.emit({
  eventType: 'user.deleted',
  eventTypeVersion: '1.0',
  cloudEventsVersion: '0.1',
  eventID: 'e58961a5-f53b-4849-8ae5-cb06c031919e',
  source: '/services/users',
  contentType: 'application/json',
  data: {
    userID: 123
  }
}).then(res => console.log(res.status))

// Test the sync subscription
eventGateway.emit({
  eventID: '1',
  eventType: 'user.created',
  cloudEventsVersion: '0.1',
  source: '/services/users',
  contentType: 'application/json',
  data: {
    userID: 'foo'
  }
}).then(res => res.json())
  .then(json => console.log(json))

The first one returns immediately with a 202 status code and an empty body. The second one returns with a 200 status code and the response from my Lambda function.
In the collapsed sections below, I have my serverless.yml and handler.py if you'd like to reproduce. The synchronous user.created also has an authorizer on it to show how to get that to work. You might need to use the master branch of the serverless-event-gateway-plugin as I've fixed a few bugs but haven't released a new version yet.
Let me know if that solves your problem! I'll keep this ticket open until you give the sign off 👌.

  serverless.yml
# serverless.yml

service: event-gateway-auth

plugins:
  - "@serverless/serverless-event-gateway-plugin"

custom:
  eventgateway:
    url: ${env:EVENT_GATEWAY_APP_URL}
    accessKey: ${env:EVENT_GATEWAY_ACCESS_KEY}
  eventTypes:
    user.created:
      authorizer: auth
    user.deleted:

provider:
  name: aws
  runtime: python3.6
  stage: dev
  region: us-east-1

functions:
  auth:
    handler: handler.auth
  main:
    handler: handler.main
    events:
      - eventgateway:
          type: sync
          eventType: user.created
          path: /
          cors: true
  delete:
    handler: handler.main
    events:
      - eventgateway:
          type: async
          eventType: user.deleted
          path: /
          cors: true

  handler.py
# handler.py

import json

def auth(event, context):
    print(event)
    body = {
        "message": "Go Serverless v1.0! Your function executed successfully!",
        "input": event
    }

    response = {
        "authorization": {
            "principalId": "user123",
            "context": {
                "name": "Bill Gates"
            }
        }
    }

    return response

def main(event, context):
    print(event)
    body = {
        "message": "Go Serverless v1.0! Your function executed successfully!",
        "input": event
    }

    response = {
        "statusCode": 200,
        "body": json.dumps(body)
    }

    return response

Hi,
Is there any update on the issue? As per what @baniol reported, I'm similarly getting `Authorizer function doesn't exists." errors. Thanks.

Hey @johnlim, sorry to hear that. I just tested a few times and it worked for me.
Can you share the following things:

the version of the Serverless Framework you're using.
the version of the serverless-event-gateway-plugin you're using.
the serverless.yml you're trying to deploy.

Thanks!

Hi @alexdebrie thanks for looking into this.
 My Environment Information -----------------------------
     OS:                     darwin
     Node Version:           8.11.3
     Serverless Version:     1.30.3

--------serverless-event-gateway-plugin
  "version": "0.7.8"

# -------------serverless.yml

functions:
  createUser:
    handler: handler.createUser
    events:
      - eventgateway:
          type: sync
          eventType: http.request
          path: /users
          method: POST
  userCreated:
    handler: handler.userCreated
    events:
      - eventgateway:
          type: async
          event: USER_CREATED
  authorizerFunc:
    handler: handler.authorizerFunc

custom:
  eventTypes:
    http.request:
    USER_CREATED:
      authorizer: authorizerFunc

My current use case though is to do auth on http.request. Is there any update on this as well? Thanks!

Hi @alexdebrie, were you able to duplicate this? Do let me know if you need any further info. Cheers.

@alexdebrie Thanks for the fix! I've verified that it fixes the aforementioned issue. Really appreciate it

@alexdebrie If I understand correctly, the current design for authorizers on http requests require them to be tied to http:request event types? For example:
custom:
  eventTypes:
    http.request:
       authorizer: authorizerFunc
    USER_CREATED:

If so, how would I declare a public http endpoint if I also need to declare some private ones (i.e with authorizer functions)?

We'll still working on the mechanisms for allowing auth on http.request. As Maciej noted, it will likely be on the subscription.

@alexdebrie Are there use cases for multiple subscribers to a single http event?  If not, instead of supporting authorizers on subscribers of http.request event types, why not simply have users implement http endpoints via the "traditional" serverless way  like so
functions:
  main:
    handler: handler.main
    events:
       - http:
          path: /
          method: GET
          authorizer: auth

and have the http endpoints emit events, if needed. Not only does this save development effort but also makes it easy to setup custom domains for the endpoints.
That does however bring up a big security question. Based on  my understanding, it seems that anyone  who knows your Event Gateway url, will be able to emit events. For example, by using the event-gateway-sdk, one can simply input the tenant url and call emit(). i.e hackers could start injecting events into your system. The workaround would be to require all events to implement authorizers but seems to a high overhead. Is that the intention/recommendation?

@alexdebrie @mthenw
Just following up to see if you have any advice for me for the aforementioned issue. Thanks in advance.

Hi @alexdebrie,
Thanks for getting back. So if I understand correctly,

In the meantime, for http endpoints that need granular control, it's recommended that we use the traditional serverless/API gateway approach instead of event-gateway REST-like HTTP endpoints?
As event-gateway events can be triggered/emitted by external systems (as long as they know the event-gateway tenant url), all subscribers must/should implement authorizers to validate if they should execute?
Thanks in advance.

Hey guys,
we're using the
"@serverless/serverless-event-gateway-plugin": "0.7.8"
version in one of our projects however the issue mentioned here: https://github.com/serverless/event-gateway/issues/478#issuecomment-410555962
still persists.
Has anyone else experiences the same problem since the merge to master for 0.7.8?


Hierarchy

I still don't see class methods.
https://github.com/palantir/python-language-server/pull/176

What version of the python-language-server have you installed?

I've tested with 0.12.1

Are you using the latest versions of ide-python and atom-ide-ui too?

Yes

Strange, it's working on my machine. Can you provide example code?

Can you give me a sample that it is working on your side? Cause I've already tested with multiple files.

Checkout:
class Bag:
    def __init__(self):
        self.data = []

    def add(self, x):
        self.data.append(x)

    def addtwice(self, x):
        self.add(x)
        self.add(x)

It should look similar to this:

I have the same problem, I can't see the class methods with python-language-server 0.12.1. Here the screenshot

Which version of atom are you using?

1.23.1

Ahh got it. You have to enable the Jedi Symbols: All Scopes  setting in the ide-python package.
Sorry for not figuring this out sooner.
Do you think we should enable this behavior by default? I'd be happy to receive a PR changing that.

Great, now it works, thanks! Maybe it would be useful to have this setting enabled by default.

Great, now it works, thanks! Maybe it would be useful to have this setting enabled by default.

👍Want to send a PR to enable this?

Here the pull request https://github.com/lgeiger/ide-python/pull/62

Closed by #62


New BFO Class: BFO_0000144 "Process Profile" not in bfo-core.ttl

I found a new BFO class 'https://ontobee.org/ontology/BFO?iri=http://purl.obolibrary.org/obo/BFO_0000144' on https://github.com/CommonCoreOntology/CommonCoreOntologies/blob/develop/src/cco-merged/CommonCoreOntologiesMerged.ttl, but it's not in https://github.com/CommonCoreOntology/CommonCoreOntologies/blob/develop/src/cco-imports/bfo-core.ttl.
Is it official?

Process profile used to be in BFO, but it is not anymore. It is now curated in CCO, but still resides in the BFO namespace. So, it will not be found in the bfo-core.ttl file. It will only be found in CCO.

Process profile used to be in BFO, but it is not anymore. It is now curated in CCO, but still resides in the BFO namespace. So, it will not be found in the bfo-core.ttl file. It will only be found in CCO.

Thank you for your answer, @avsculley! If it's not a BFO class anymore, will you change the namespace to align with CCO?


Filters for events

The bot is now quite chatty and some messages are not well formatted.
We need to break up the filtering and formatting of events from the general handler.
Ideally we could easily add simple configuration that only send notifications for configured events. For example a yaml file with:
[reason]
Created
would only send notifications for events with the reason 'created'.
We could support wildcard:
[reason]
*

Close via https://github.com/skippbox/kubewatch/pull/27

@Gnouc is it possible to use this feature with the helm chart? Thanks


Synchronizing my Wallet takes too long

What happened: Synchronizing my Wallet to 100% takes more than 24 hours when I open it on my laptop computer.
What you expected to happen: My wallet should not take more than 30 minutes to complete synchronization.
What are your environment parameters?

DeFi Wallet Version: 2.3.3
Operating System (OS): Windows 10 Pro

Hi @ChingN , thanks for your feedback, what you're facing is due to running the DeFi Wallet remotely and depending on your location and internet connection, it'll affect the synchronisation speed. Due to this, the team has implemented a snapshot download to shorten the waiting time. Currently, the issue is with the size of the desktop app and the team is working on reducing the storage size needed and also on a Light Wallet. I'll provide the steps for you to download the snapshot, kindly note that you'll roughly need 50GB (Mac) and 110GB (Windows) space respectively, to run the app smoothly — more details here. Lack of storage will likely throw you an error such as this Unable to Start Blockchain.

Click on i located at bottom-left corner of app screen
Download Snapshot

Once snapshot download is successful, your synchronisation should start at 90%+.

Once you've reached 100%, from then on when you close and open the app after a day (for example), it should take a few minutes to sync up to the latest block. If you've further questions on how to use etc, you can refer to DeFiChain Telegram (EN) for more enquiries, our community will help you out! Thank you for your patience.


storage is unusable in v0.2.0

When i use DeleteBucket(), it panics because nil pointer error.
The error is caused by this line https://github.com/nedpals/supabase-go/blob/master/storage.go#L166
It tries to access s.client, but is a nil pointer.
The same with any method that tries to access Storage's client field in storage.go.
PROBLEM:
When initializing the supabase client with CreateClient, the in v.0.2.0 Storage's client is not SET.
(idk if it's the only problem).
FIX:
this commit (almost 5 months ago) already fixes the problem by setting the storage's client field in CreateClient(), but isn't present in the latest version (v0.2.0).
pls release a new version with the fix

I've created a pull request (#25) to fix a few of these issues.


Have grading queue work more fairly between courses

Right now, all classes submit to the same grading queue that acts as FIFO. This means that if one course has a very long/slow queue process, this will block all other classes from being graded till it is done. There should be a fairer process for running the queue (ex. do one assignment per course that's submitted, in a cycle) so as to prevent this block.
Quote from email from Barb about it as well

In addition to reorganizing how we work through the queue, the message
to the student needs to be adjusted.  Right now it just says
"currently being graded" if the assignment is ungraded, but it should
also have a state "waiting in queue to be graded" and maybe even your
position in the queue and time to start grading (hard to estimate
accurately).

When we need to reprocess alot of students (correcting a problem with the grading scripts after submission has started, or when running a "contest"), the reprocessing-homeworks should have a flag/nice bit set that allows interactively-submitted-homeworks to jump in front of them.
If a student submits the same homework several times in quick succession, we may want to only grade their most recent submission and set the flag/nice bit for the earlier ones.

This was accomplished over the summer and can be closed.


Random file generator [question]

How is this supposed to work? I say 50kb size, click generate, nothing. I go to my downloads, nothing, check recently created files, nothing. Am I missing something?

sorry about that. its only work on macos & windows platform. I will bring this feature to android later.

okay, thank you.


Kube-dns pod fails to setup with "secrets "kube-dns-token-p5h1h" not found" error

Steps to reproduce:

Deploy k8s cluster
Restart addonstarter cluster component
Do describe on kube-dns pod. Chances are high that you'll see the error:

 secrets "kube-dns-token-p5h1h" not found

Happens because kube-dns RC starts using kube-dns system account that addon starter replaces (along with other components) on its restart. The fix will be to use io-rancher-system account that never gets replaced.

Rancher version: v1.6.8-rc5
Tested restarting the addon starter multiple times, and i can describe kubedns pods and see that they are still using the io-rancher-system account.

We have the same issue, almost every time the cluster is rebooted we get this error.
Note currently the cluster shuts down every evening, and starts up again in the morning.
Rancher 1.6.7
Kubernetes v1.7.2-rancher7

@alena1108 Should i open a new issue for this?


Change to log target for OTPL code

Current coverage is 52.73% (diff: 81.25%)

Merging #136 into master will increase coverage by 0.75%

@@             master       #136   diff @@
==========================================
  Files            98         98
  Lines          4940       4947     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2568       2609    +41
+ Misses         2131       2097    -34
  Partials        241        241

Powered by Codecov. Last update 60020df...8e3b031


Audio Buffer Overflow

Effects "Energy" and "Scroll" are broken, causing audio buffer overflows and crashing the program. Please let me know of any relevant information and crash reports while I fix this.

Fixed, will be merged alongside other changes soon.