Split layout with percentage height

Info

Operating System: MacOS
Shell: omz
Terminal: iTerm
nvim --version:NVIM v0.9.4
fzf --version:0.42.0 (d471067)

[x] The issue is reproducible with mini.sh

Description
I recently switched from NVIM from FZF to use FZF-LUA.
In FZF you can set the layout to be a floating window, or stick to a position in current buffer.
E.g: let g:fzf_layout = { 'down': '50%'}
The above command would open FZF from down the active buffer, which is very handy when you have splits all around and you want to change the buffer in that particular window.

You can use winopts.split to pass any command (including percentages), for example:
require'fzf-lua'.setup({
  -- "belowright new"  : split below
  -- "aboveleft new"   : split above
  -- "belowright vnew" : split right
  -- "aboveleft vnew   : split left
  winopts = { split = 'botright new' }
})

Thanks, I tried with
split  = "belowright new | horizontal resize 30%"
but when having already a split, being active in the upper one, for example, when opening FZFLua it "floats" the buffer size, rather than using the 30% of the current one…
I hope I make myself understand…

Thanks, I tried with split = "belowright new | horizontal resize 30%" but when having already a split, being active in the upper one, for example, when opening FZFLua it "floats" the buffer size, rather than using the 30% of the current one… I hope I make myself understand…

Resize doesn’t support percentage, if you want 30% you have to use a fraction of lines.
If that’s what you want it’s better done with lua code, I can craft the 2 line function for you when I’m not AFK.

Here you go, modify this to your liking:
require("fzf-lua").setup({
  winopts_fn = function()
    -- local split = "botright new" -- use for split under **all** windows
    local split = "belowright new"  -- use for split under current window
    local height = math.floor(vim.o.lines * 0.3)
    return { split = split .. " | resize " .. tostring(height) }
  end,
})

Thanks for your code, though it didn't work as I expected.
Nevertheless, it gave me a hint to implement what I'm trying to achieve.
Basically, I'd like to have a different FZF setup based on status of NVIM, if it has splits or not.
I have a FZFLua custom config I call with
`
local preview_v = "nohidden"
local fullscreen_v = false
local function reflection_function()
return { preview = { hidden = preview_v}, fullscreen = fullscreen_v }
end
local config = function()
require'fzf-lua'.setup {
-- fzf_bin         = 'sk',            -- use skim instead of fzf?
-- https://github.com/lotabout/skim
-- can also be set to 'fzf-tmux'
winopts_fn = reflection_function,
...
...
`
Then triggering FZF with the map (map('n', 'ø', ':lua require'fzf'.fzf_setup_base_on_splits()', options)):
`
local function is_buffer_in_split()
local current_win = vim.api.nvim_get_current_win()
local current_buf = vim.api.nvim_win_get_buf(current_win)
local current_win_width = vim.api.nvim_win_get_width(current_win)
local total_width = vim.api.nvim_get_option("columns")
return current_win_width ~= total_width

end
M.fzf_setup_base_on_splits = function()
if is_buffer_in_split() then
--reflection("hidden", true)
preview_v = "hidden"
fullscreen_v = true
else
--reflection("nohidden", false)
preview_v = "nohidden"
fullscreen_v = false
end
config()
require('fzf-lua').buffers()
end
`
So far so good, it changes the config of FZF when there are split windows.
Though, my intention is to have no preview and fullscreen in the active buffer split.
I am not very skilled with Lua and NVIM, so may it be better options to achieve the same…

So far so good, it changes the config of FZF when there are split windows.
Though, my intention is to have no preview and fullscreen in the active buffer split.

Your code seems to do just that, but you need to call setup_base_on_splits before calling any fzf function, why not call it inside the refelecrion_funcfion?
local function reflection_function()
  local preview_v
  local fullscreen_v
  if is_buffer_in_split() then
    preview_v = "hidden"
    fullscreen_v = true
  else
    preview_v = "nohidden"
    fullscreen_v = false
  end
  return { preview = { hidden = preview_v}, fullscreen = fullscreen_v }
end

This way you can use this with any fzf-lua function without extra code

I am not very skilled with Lua and NVIM, so may it be better options to achieve the same…

Lua is very simple, anyone can get the hang of it pretty quickly.

Nice improvement on the comment above, indeed!!
But FZFLua opens in NEOVIM's fullscreen rather than in buffers fullscreen. Is there a way to achieve such thing?

Nice improvement on the comment above, indeed!! But FZFLua opens in NEOVIM's fullscreen rather than in active window buffer's fullscreen. Is there a way to achieve such thing?

Unfortunately no such option, winopts.fullscreen is always neovim fullscreen, filling up a certain buffer would require more involved code.

I am not sure whether I understand… But the point would be to use FZF buffers the same netwr does, opening itself in current active split to allow selection of another opened buffer. Not to spawn to an additional window

Yes, that’s exactly what this would enable but you’d probably need to write more code for it than you’re currently prepared.

@SlartThunder I stumbled upon a similar problem, and ended up using fzf-tmux for splitting instead of the builtin one, and this works nicely with a configuration like e.g.:
require 'fzf-lua'.setup {
  'fzf-tmux',
  fzf_tmux_opts = { ["-d"] = "30%" },
  fzf_opts = { -- just to style it more like how fzf-tmux from the terminal looks like
    ["--border"] = "none",
    ["--color"] = "dark",
    ["--layout"] = "default",
  },
}

Note that there seems to be an fzf bug that is fixed upstream (worked in 0.46.1.r22.gf35a9da9-1, but not with the current version in the archlinux repository: 0.46.1-1) where the default fzf-tmux layout (split below 50%) works, but if any of the -u/d/l/r arguments are specified it falls back to a non-tmux fzf view, which does not work well with fzf-lua

@SlartThunder I stumbled upon a similar problem, and ended up using fzf-tmux for splitting instead of the builtin one

Great idea @johslarsen, the only difference is that fzf-tmux can only use “native” fzf previewers so you lose the ability to have the Sam’s color scheme in the previewer.


GUACAMOLE-565: Add en translations for terminal-type parameter.

Follow-up to #288. Add en translations for the terminal-type parameter and its enum values. Also add an empty value to the terminal-type enum lists.

Fixed indent and alphabetized the lists.

One more thing - please change the merge base for the pull request from master to staging/1.0.0, since this is going into the 1.0.0 release.

Ok done.


whisper-update takes values from stdin

Nothing added to test_whisper.py, as it looks to cover the library but not the utilities.
Example usage:
$ bin/whisper-create.py test.wsp 1s:7d
Created: test.wsp (7257628 bytes)

$ echo $'1624140281:44444\n1624140381:55555\n1624140581:66666' | bin/whisper-update.py test.wsp

$ bin/whisper-dump.py test.wsp | grep 1624140
0:<PHONE_NUMBER>,      44444
100:<PHONE_NUMBER>,      55555
300:<PHONE_NUMBER>,      66666

Codecov Report

Merging #318 (d6fe49f) into master (d13c9f4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #318   +/-   ##
=======================================
  Coverage   87.83%   87.83%
=======================================
  Files           2        2
  Lines        1143     1143
  Branches      161      161
=======================================
  Hits         1004     1004
  Misses         99       99
  Partials       40       40

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 d13c9f4...d6fe49f. Read the comment docs.

💚 All backports created successfully

Status
Branch
Result

✅
1.1.x


In numerous places the project is titled "Rosetta Drone 3", while in other places the title is "Rosetta Drone 2"

The title at the top of the README.MD file is "Welcome to Rosetta Drone 3", while the starting page on the app displays "Rosetta Drone 2". This problem is present in numerous other places as well.

Yes we can remove the number. And rather use versioning.Best regardTerje Nilsen9Tek ASNorwayOn 15 Mar 2023, at 21:16, Christopher Pereira @.***> wrote:
Yes, we are looking for a better name without a number in it.
We will probably just use the name "Rosetta Drone" in the future.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


TODOs after migrating to the new cody repo

Now that Cody is in this new separate repo (Slack thread), some remaining TODOs:

[ ] use simpler/faster import-order from sourcebox repo?
[ ] #63
[ ] convert vscode integ/e2e tests to vitest as runner
[ ] slow eslint
[ ] move relevant docs from the https://github.com/sourcegraph/sourcegraph repo doc/cody/ dir into here; update other docs as needed to refer to this new repo
[ ] separate tsconfig for vscode/webviews?
[ ] lib/shared imports vscode in the recipe impls - lib/shared should not be vscode-specific
[ ] dedupe lib/shared/src/common stuff
[x] #5
[ ] #6
[x] set up renovate?
[x] check links in VS Code marketplace listing
[x] set required checks

@sqs
#6 is waiting on a JetBrains marketplace update (in progress)
#110 is waiting for your sign off


Fix static compilation of json2cbor

json2cbor depends on cjson so tools/json2cbor/json2cbor.o must be
before -lcjson
Signed-off-by: Fabrice Fontaine<EMAIL_ADDRESS>

Good catch! Too bad I've just released v0.4.1...

Trying the "rebase and merge" feature. It won't have my signed-off-by, but let's see what it does.


Add missing copyright message

The copyright message was missing docs/_toc.yaml.

Ah! yes that was a typo.

Note: maybe we should have a presubmit check for this
agreed. Let us begin with an issue on this one.


Is lazy-cache really necessary?

I don't think it's a good idea to wrap require in any way, ever. Many libraries / tools are built on the assumption that it remains untouched, because it's pretty much a language construct by now (being an ES5 equivalent of import).
I've seen the Browserify trick in the lazy-cache readme, but it isn't implemented in markdown-toc, and it's not really a solution, but a hack. I want to use this in my client-side code, which involves putting everything through Webpack, and this is the only issue preventing me from having a warning-free build:
WARNING in ./~/markdown-toc/lib/insert.js
Critical dependencies:
4:33-40 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/markdown-toc/lib/insert.js 4:33-40

I'm not a language expert, so I might be wrong and this is a valid use of require, and I should be looking into just suppressing Webpack instead, but, FWIW, I haven't seen any package do this before (i.e. cause warnings like the one above).

Sounds like this just needs to be updated to the latest lazy-cache format.

Is lazy-cache really necessary?

Is webpack necessary? You could hand-code all of that yourself, but that's silly. What you're really asking is: "Is it really necessary to try to get the best possible performance from your modules?". To which my answer is, "No, but I'll try my hardest, and I'll base my decisions on facts, data and experience."

I don't think it's a good idea to wrap require in any way, ever.

If wrapping require bothers you, then you probably shouldn't look at what browserify and webpack do to your code.

it's not really a solution, but a hack.

Isn't that semantics? Without the hack neither webpack nor browserify can find lazy-requires, with the hack ~they~ browserify can.
This hack has turned out to be a pretty good solution. Instead of thinking that lazy-evaluation is a bad solution because the tools you use fail when it's used, perhaps you should be looking for ways to solve that problem. I do, because I know how big the benefits are.
lazy-cache has had something like 8m downloads in the past 4 months, with two issues - including this one, both related to webpack. Materially, both issues were on projects that use the old-style lazy-cache, and we've had zero actual issues on lazy-cache itself. browserify does not have this issue.
IMO this is something that can be solved in a build step, or with a webpack plugin.

I'm okay with Browserify / Webpack doing crazy things to my code, because that's expected of them. They're pretty much transpilers, making require / import work in browsers.
This, however, is a regular library. Lazy loading does make sense here, but, in the end, on the client-side, where it matters the most, matter + gray-matter still end up being in the same bundle as markdown-toc (with Browserify; correct me if I'm wrong).
Webpack has its own mechanism for on-demand loading - require.ensure - but it doesn't work anywhere else (well, it did, but seems like nobody cared enough about server-side lazy-loading to maintain it; can be shimmed, with the benefits gone). lazy-cache is admittedly more convenient, but, on top of breaking the convention of having imported modules as variables, it also works only in Node, and nowhere else (it has no benefits in Browserify).
You're saying that this issue should be resolved in Webpack, but why should lazy-cache be preferred over the several-years-old require.ensure?
Sorry for challenging your design choices like this, I don't mind being proven wrong.

You're saying that this issue should be resolved in Webpack

Well, I'm saying it's "meet in the middle". We can use the hack that got this working for browserify, and we could create a plugin for webpack to convert the lazy-requires to standard requires. I don't know webpack, it seems like it shouldn't be too difficult.
I get your point about how the benefits of lazy-evaluation are lost in non-node usage, but this is, after all, a node.js package. But again, I'd like to find a solution that allows us to take advantage of lazy-caching for node.js, but also make it work with browserify and webpack. I think the community in general would/should see great benefit in that

Out of curiosity, what was the reason for not doing something like this?
if (file) {
  return require('gray-matter').stringify(res, file.data);
}

Lazy-loading + caching in Node, while working out of the box in Browserify / Webpack / some other lib we could be unaware of.
Just in case, I'm using this library as a client-side patch for some missing backend functionality, which isn't going into a public release, so there's no urgent need for a fix.

@jeremejevs try using the unlazy loader in your webpack build.


DTFS2-5355 : GEF Email

Patch Note
This bug patch mitigates GEF email variable for submission date.
If the application is MIN manualInclusionNoticeSubmissionDate is returned else submissionDate thus rendering MIN submission date in the confirmation email.

is there a test for this?

Nope sorry, have added. Good spot.


async functions cannot be added to dat.gui

https://github.com/dataarts/dat.gui/blob/743a16b398c407f9ce3e1919a7f8e934c7c93f65/src/dat/utils/common.js#L152
async functions returns "[object AsyncFunction]"
This code fails:
let obj = {
  async f() {}
};

gui.add(obj, 'f');

Thanks! Want to open a PR changing this to obj instanceof Function, or similar?

Pull request #241 fixes this, though I used typeof obj === "function".
It also returns the ability to provide button text for your FunctionController:
gui.add( obj, property, 'Click Me!' );
Finally it fixes a double-firing click-event issue the returned button-text unmasked.
( Maybe that's why someone set button text to an empty string in ControllerFactory? )
I left the default button text of 'Fire' in place....  but its been blank so long maybe it should default to no text?

Now fixed by #242
with a one line change in utils.


Build fails on FreeBSD (11.2)

I’m trying to build this project under FreeBSD 11.2 and I’m getting this error:
~/go/src/github.com/DataDog/datadog-agent # invoke agent.build --build-exclude=snmp,systemd
# github.com/DataDog/datadog-agent/pkg/secrets
pkg/secrets/check_right.go:23:16: undefined: syscall.S_IRWXG
pkg/secrets/check_right.go:23:29: undefined: syscall.S_IRWXO

I have since learned that the syscall package is somewhat deprecated and x/sys/unix should be used instead, but it leads to the same error with s/syscall/unix/ when ported (the APIs and types are the same). It looks like a limitation in the system bindings for go, but I‘m not a systems-, nor a go developer, so I might be missing some subtlety (I’m asking for help tho).
It appears that this commit landed the code in question: https://github.com/DataDog/datadog-agent/commit/0ffaa4d6d5a63735e6374f10ce49af300d3ac726
cc @masci who has addressed FreeBSD build issues in the past.

@janl can you please check https://github.com/urosgruber/dd-agent-FreeBSD/tree/v7-next if it works for you


Effect no longer works in cloudflare workers

What version of Effect is running?
3.4.0
What steps can reproduce the bug?

use effect in a cloudflare worker.
attempt to run a cloudflare worker.
cloudflare worker crashes

What is the expected behavior?
cloudflare worker not crashing
What do you see instead?
cloudflare worker crashes with the following error:
✘ [ERROR] service core:user:orange-dust-2f93: Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/

    at null.<anonymous> (index.js:7385:102)
    at null.<anonymous> (index.js:7382:18)
    at null.<anonymous> (index.js:171:25) in globalValue
    at null.<anonymous> (index.js:7379:36) in envRefMake
    at null.<anonymous> (index.js:7385:46)

✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.

Additional information
We were migrating off effect 3.3.1
This seems be occurring because effect 3.4.0 hoists a new AbortController() to the global scope. Cloudflare doesn't support abort controllers in the global scope apparently.
Provided are 2 examples, one where effect is used, and one where just a normal AbortController is used in the global scope, both have the same error. In the examples the error is not obvious through the stack-trace; we run our own build pipelines for cloudflare workers so we can see the exact (compiled) line:
var currentAbortController = /* @__PURE__ */ envRefMake("effect/Micro/currentAbortController", () => new AbortController());

It's possible effect hoists other things that cause problems and this is just the first thing that gets hit. I'm not too familiar with the 3.3.1 to 3.4 changes
Reproduction here:
just pnpm install & pnpm dev to run

npm create cloudflare@latest + effect https://github.com/Mkassabov/orange-dust-2f93
npm create cloudflare@latest + global abort controller https://github.com/Mkassabov/orange-dust-2f93/tree/no-effect-abort-controller.

@tim-smart maybe we can use a custom type instead of AbortController?


Issues locked on client side once submitted

Once an issue is entered by the client they can still edit it- this could cause confusion and potentially mean things are missed. Should the client be able to resolve issues that aren't assigned to them? Obviously they need to check stuff off on client review, but surely then the PM will assign the issue to them to close off?

They have to be able to edit issues, in case of mistakes.
Client can resolve any issues (and close them off) - at the end of the day it's going to be the client deciding whether or not something is an issue. For example, a client creates an issue (which automatically assigns it to Sponge UK), then decides it's not a problem, so they can resolve and close it off themselves.
Everything that happens on an issue is logged in the issue history, so this helps anyone being particularly cheeky and going back on themselves for example.


Choose more obscure port to run Mapbox Studio

This may be a bit of an edge case because I'm a developer, but most applications I work on locally run on port 3000 or 3001... and Mapbox Studio seems to run on port 3001, so there's often a clash if I happen to have Mapbox Studio open. Would it be possible to choose a less common default port for Mapbox Studio?

You can change the port by starting studio on the command line and passing the --port option. Relevant code at https://github.com/mapbox/mapbox-studio/blob/mb-pages/index-server.js#L19-L24

+1. Also for some reason when Mapbox Studio is started and then I start a server on port 3000 it doesn't fail with EADDRINUSE. It behaves as if it listening on port 3000, but in fact Mapbox Studio is listening. Have been bitten by this more than once.


test: Fix -cilium.holdEnvironment on badLogMessages

The -cilium.holdEnvironment=true option is ineffective when the test fails because of the badLogMessages check. This commit fixes it by using our own Fail() wrapper.

test-me-please

Coverage decreased (-0.009%) to 46.677% when pulling 752202d1fccf74af546f9ff83c7a32aa4390b307 on pr/pchaigno/fix-holdenvironment-on-badlogmessages into 8804f86828f21f0af31b3e01efe97f375564cc23 on master.


msui with multiple users on one linux computer

msui under LINUX does create a cache directory with the name  /tmp/msui_wms_cache/
Since this is not user-specific, it forbids using msui on the same computer from different users.

This is intended. Because you can change the path in your users configuration.

The behaviour is documented, so that is not a bug ;)
https://mss.readthedocs.io/en/stable/usage.html?highlight=wms_cache#caching
We can of course try to improve it.
Using on linux the /tmp dir also has the "nice" effect that the dir can get purged on reboot. All cache files are gone. When a user wants to keep them unlimited the var has to become used.
It is easy to become changed

It may be possible to have a more suggestive error message. This is what I get

We should guide the user to the documetation whenever possible.
Also users who aware of the cache feature can run into this, because they try to share cache files and use a filesystem configuration with this limitation.
We may be can look on the pros/cons of using the .cache folder in the home dir if it exists and is a local dir.

I just tried what happens if I change the wms_cache in the menu "File - >configuration" and save the settings.
This completely rewrites the msui_settings.json file with the consequence that many things are lost, like the predefined map settings. Is it a bug or a feature?

Please add an example json for this. So I can try to write a test for that behaviour or to reproduce this.
It should only write changes to the json file.

Original msui_settings.json:
{
    "filepicker_default": "qt",

    "import_plugins": {
        "Text": ["txt", "mslib.plugins.io.text", "load_from_txt"]
    },

    "export_plugins": {
        "Text": ["txt", "mslib.plugins.io.text", "save_to_txt"]

    },

    "locations": {
        "EDMO": [48.08, 11.28],
	"Broomfield": [39.913,-105.139],
	"RKSO": [37.090599,127.03],
	"RKPD": [33.399601,126.711998],
	"RJFK": [31.803400,130.718994],
	"RJFY": [31.36672,130.838805],
	"RJOK": [33.546101,133.669006]
     },

    "predefined_map_sections": {
        "01 ACCLIP": {"CRS": "EPSG:4326",
                    "map": {"llcrnrlon": 95.0, "llcrnrlat": -5.0,
                            "urcrnrlon": 175.0, "urcrnrlat": 55.0}},
        "02 USA": {"CRS": "EPSG:4326",
                    "map": {"llcrnrlon": -130.0, "llcrnrlat": 20.0,
                            "urcrnrlon": -65.0, "urcrnrlat": 52.0}},
        "03 Europe (stereo)": {"CRS": "EPSG:77740010",
                    "map": {"llcrnrlon": -20.0, "llcrnrlat": 35.0,
                             "urcrnrlon": 40.0, "urcrnrlat": 70.0}},
	"04 North Atlantik (stereo)": {"CRS": "EPSG:77740010",
                    "map": {"llcrnrlon": -30.0, "llcrnrlat": 45.0,
		              "urcrnrlon": 60.0, "urcrnrlat": 78.0}},
        "05 global (cyl)": {"CRS": "EPSG:4326",
                    "map": {"llcrnrlon": -180.0, "llcrnrlat": -90.0,
                              "urcrnrlon": 180.0, "urcrnrlat": 90.0}}
    },

   "traj_nas_lon_identifier": ["GPS LON", "LONGITUDE"],
   "traj_nas_lat_identifier": ["GPS LAT", "LATITUDE"],
   "traj_nas_p_identifier": ["STATIC PRESSURE"],
   "new_flighttrack_template": ["RKSO","RJOK"],
   "new_flighttrack_flightlevel": 350,
   "default_WMS": [
       "https://forecast.fz-juelich.de/acclip",
       "https://mss.acom.ucar.edu"
   ],
   "default_VSEC_WMS": [
       "https://forecast.fz-juelich.de/acclip",
    "https://mss.acom.ucar.edu"
   ],
   "default_LSEC_WMS": [
       "https://forecast.fz-juelich.de/acclip",
       "https://mss.acom.ucar.edu"
   ],
   "WMS_login": {
       "https://forecast.fz-juelich.de/acclip": ["xxx", "xxx"],
       "https://mss.acom.ucar.edu/": ["xxx", "xxx"]
   },
   "num_interpolation_points": 201,
   "num_labels": 10,
   "wms_cache_max_size_bytes": 200971520,
   "wms_cache_max_age_seconds": 432000,

   "default_MSCOLAB": ["https://forecast.fz-juelich.de"],
   "MSC_login": {
                  "https://forecast.fz-juelich.de" : ["acclip", "Password"]
   },
   "MSCOLAB_category": "acclip",
   "MSCOLAB_mailid": "my email address",
   "MSCOLAB_password": "my password"

}

`
modified msui_settings.json

{
    "filepicker_default": "qt",
    "predefined_map_sections": {
        "01 ACCLIP": {
            "CRS": "EPSG:4326",
            "map": {
                "llcrnrlon": 95.0,
                "llcrnrlat": -5.0,
                "urcrnrlon": 175.0,
                "urcrnrlat": 55.0,
                "CRS": "EPSG:4326",
                "BBOX_UNITS": "degree",
                "OPERATION_NAME": "new flight track (1)",
                "epsg": "4326"
            }
        },
        "02 USA": {
            "CRS": "EPSG:4326",
            "map": {
                "llcrnrlon": -130.0,
                "llcrnrlat": 20.0,
                "urcrnrlon": -65.0,
                "urcrnrlat": 52.0
            }
        },
        "03 Europe (stereo)": {
            "CRS": "EPSG:77740010",
            "map": {
                "llcrnrlon": -20.0,
                "llcrnrlat": 35.0,
                "urcrnrlon": 40.0,
                "urcrnrlat": 70.0
            }
        },
        "04 North Atlantik (stereo)": {
            "CRS": "EPSG:77740010",
            "map": {
                "llcrnrlon": -30.0,
                "llcrnrlat": 45.0,
                "urcrnrlon": 60.0,
                "urcrnrlat": 78.0
            }
        },
        "05 global (cyl)": {
            "CRS": "EPSG:4326",
            "map": {
                "llcrnrlon": -180.0,
                "llcrnrlat": -90.0,
                "urcrnrlon": 180.0,
                "urcrnrlat": 90.0
            }
        }
    },
    "default_WMS": [
        "https://forecast.fz-juelich.de/acclip",
        "https://mss.acom.ucar.edu"
    ],
    "default_VSEC_WMS": [
        "https://forecast.fz-juelich.de/acclip",
        "https://mss.acom.ucar.edu"
    ],
    "default_LSEC_WMS": [
        "https://forecast.fz-juelich.de/acclip",
        "https://mss.acom.ucar.edu"
    ],
    "default_MSCOLAB": [
        "https://forecast.fz-juelich.de"
    ],
    "MSCOLAB_mailid": "my email address",
    "MSCOLAB_password": "my password",
    "MSCOLAB_category": "acclip",
    "MSC_login": {
        "https://forecast.fz-juelich.de": [
            "acclip",
            "Password"
        ]
    },
    "WMS_login": {
        "https://forecast.fz-juelich.de/acclip": [
            "xxx",
            "xxx"
        ],
        "https://mss.acom.ucar.edu/": [
            "xxx",
            "xxx"
        ]
    },
    "wms_cache": "/tmp/msui_wms_cache_tmp",
    "wms_cache_max_size_bytes": 200971520,
    "locations": {
        "EDMO": [
            48.08,
            11.28
        ],
        "Broomfield": [
            39.913,
            -105.139
        ],
        "RKSO": [
            37.090599,
            127.03
        ],
        "RKPD": [
            33.399601,
            126.711998
        ],
        "RJFK": [
            31.8034,
            130.718994
        ],
        "RJFY": [
            31.36672,
            130.838805
        ],
        "RJOK": [
            33.546101,
            133.669006
        ]
    },
    "new_flighttrack_template": [
        "RKSO",
        "RJOK"
    ],
    "new_flighttrack_flightlevel": 350,
    "export_plugins": {
        "Text": [
            "txt",
            "mslib.plugins.io.text",
            "save_to_txt",
            "qt"
        ]
    },
    "import_plugins": {
        "Text": [
            "txt",
            "mslib.plugins.io.text",
            "load_from_txt",
            "qt"
        ]
    }
}

Above are the settings files before and after the saving. The second file does contain the map section "01 ACCLIP" but it is not displayed by the msui.

that means it is a bug, that msui does not correctly save the settings file?

not sure if it is a bug, I can't reproduce it. But I don't know how you added the extra lines.
In the configuration editor we can't have other than the 4 entries.

Could it be that the file was opened in emacs or vim, while you were saving it with msui?
When you now repeat, did you get the same problem shown?

with the following steps the error can be reproduced:

write first file msui_settings.json to $HOME/.config/msui
open msui
load an ftml flight path
change cache directory under Menue: File/Configuration and save
Close ans re-open msui

-> The first map entry contains additional useless lines
"CRS": "EPSG:4326",
"BBOX_UNITS": "degree",
"OPERATION_NAME": "new flight track (1)",
"epsg": "4326"
-> The first map entry is not displayed in the top view selection
(no error if step 3 is removed)

I got to the same result
https://github.com/Open-MSS/MSS/issues/1530

agreed

created a good first issue
https://github.com/Open-MSS/MSS/issues/1567


Moving to r0 - Step #1

This PR replaces calls to v1 and v2_alpha apis by r0, which is configurable via MXRestClient.apiPathPrefix.
v1 global initialSync and related objects have been removed.
In step #2, call of room initialSync will be removed as v2 /sync do the job. All comments relative to v1/v2 will also be removed

LGTM


Integration not available

Trying to add the integration via UI: Configuration > Integrations
Installed via HACS
Searching for ngenic shows nothing.
Running Home Assistant 2022.2.6

I haven't tested on 2022.2.6, do you get any logs indicating an issue?

Sorry, now I tried on my mobile phone and it appeared in the list.
After a browser refresh on my computer it showed up. Sorry, should have tried that before submitting an issue.
All fine now. Thank you for this integration! :)


KYC Kangaroo - Backend/front end updates

Initial instructions were to have API users completely separate from main dashboard users. This has become a problem so we will be implementing a fix. Currently if user.api_user = devxdao, then they do not show up in main table, but only show up in api user table.
We will be updating this so that all users, including users from user.api_user, will be included in all regular kyckangaroo admining areas (the dashboard)
The api_user devxdao should also show up in api users tab as well.
All areas also means they should show up in entity view tables where you can see individuals inside. We need to see api users everywhere where normal users are seen.
So api users tab basically becomes a filtered view of JUST a particular api_user kind. That is its only purpose now

Updated KYCKangaroo backend to join api_users and normal users so that they can be associated with one another cross platform.


[BEAM-9547] Lift associative aggregations.

Also fix issue with inputs getting used in downstream stages.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python2_PVR_Flink PreCommit


⚠ Samsung has degraded performance

In 209626a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2046 ms

Resolved: Samsung performance has improved in 69fc6eb.


Wmape channel

add a wmape channel, to calculate wegithed mean average error measure for regression models

why the "CI failed details " is empty: https://travis-ci.org/lisa-lab/pylearn2/builds/58245429

Can you access the individual build pages for the failing parts?
part1, txt
part4, txt
In any case, the failures are related to pep8 and the documentation standard not being respected in the files you added.

It turns out that the CI build detail page is blocked by the GFW, I could see the details page by using VPN.

Thanks for the update. For the record, we are not notified when new commits are added, only when new comments are published, so adding a comment saying you've updated the PR can help making sure it is addressed.

When those points are addressed, I think I would be ready to merge.

I've add the WMAPE formula to class comments, and the unit test is also updated

Great, thanks for the update!
Do you think you could try to rebase that branch on top of the current master to remove all the merge commits?
Then you would have to use git push --force to update the pull request, in particular not merge with the current branch.
Thanks,

I'm trying to rebase wmape_channel branch to master. However, after the rebase is done, I found the code has been roll back to an old version, in which the unittest code is missing, and the WMapeOp class appears again.
After doing some google search, I found it's caused by many of the commits in wmape_channel branch is merge commits, and those ones are ignored by git rebase command.
I found the git rebase command provide a '--preserve_merges' option, but while i run the command 'git rebase --preserv_merges --interactive $hash', there's an error message saying
"error: Commit b7175ad6b9a6a9ff276c34da074d7dc23436204e is a merge but no -m option was given.
fatal: cherry-pick failed
Could not pick b7175ad6b9a6a9ff276c34da074d7dc23436204e"
I searched the problem in google and can't get any help.
So, could you help me on this issue?

I've had the same problem, I'm not really sure it is possible to make rebase work when there are changes in merge commits. There may be a way with cherry-pick, but I did not have the patience for that.
In the end, I took the entire diff and put it in only one commit, see #1516.


Fix Org ID param formatting for x-sb-psc sample

What's changed, or what was fixed?

Updated Org ID format

If used as is the Org ID param will result into "organizations/organizations/my-org-id" since the resource "google_apigee_endpoint_attachment" "endpoint_attachment" in sb-psc-attachment module already concatenates the Org ID string to "organizations/${var.apigee_organization}"

Passing the Project ID only (which is identical with the Org ID) is sufficient.

[ x ] I have run all the tests locally and they all pass.

[ x ] I have followed the relevant style guide for my changes.

Hi @daschwanden as discussed offline this should be fixed #123
Big thanks for bringing this up!


Added note for env variables and noob sudo-ing

Ludicrously small change.

This PR is out of date since https://github.com/Capgemini/Apollo/pull/264 got in we switched vagrant plugins


[CELEBORN-824][DOC] Add PushData document

What changes were proposed in this pull request?
As title.
Why are the changes needed?
As title
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No.

cc @pan3793 @AngersZhuuuu @cfmcgrady

the arrow indicating data flow from Mapper1 to Worker2 is missing on line 6 in file docs/assets/img/softsplit.svg

Hi @cfmcgrady @pan3793 , I've addressed the comments, please take a look again.


Native Blazor?

This might be weird approach but I wish we could have blazor compile project as native mobile app like cordova and nativescript instead of using Xamarin
Actually I think it would be possible to have wasm build from from blazor to plug inside nativescript toolchain
Is it possible in anyway? or is it already in a future plan?

The current plan is AFAIK to eventually support PWA for an app feeling.

Yes, PWAs are one possible future direction. Another possibility would be making a native UI component renderer on top of Blazor's Renderer abstraction (instead of rendering DOM elements in a browser view), which would be equivalent to React Native.
We don't have ETAs or commitments for either at this stage though, as we're concentrating on the core scenario of browser-based apps.


Step to configure StorageLoader is not on the wiki

Good afternoon!
I'm trying to upload the whole environment to my cloud but on the part:
https://github.com/snowplow/snowplow/wiki/Setting-up-PostgreSQL
Cannot access step "setup the StorageLoader"

Hi @riquedev,
That page should be actually deprecated and removed (and we're moving to our new docs website) - we're not supporting this method anymore. We're about to release new Postgres Loader in coming weeks.
Also, if you have any support questions - you're welcome on our discorse forums we're trying to keep GitHub for bugreports and feature requests only.


final updates (with equations)

🚀 Deployed on https://65147a52e3546d0858266cc8--cozy-fox-0defec.netlify.app


WIP Add ability to generate metadata nuget package

TBD - still trying to figure out some Github Action things

Closing as we're not going to pursue this for the moment.


consolidated repeatability functions

resolves #781 by consolidating two functions
resolves #780 by populating refresh_zones method
resolves #703

also resolves #707


fix: if packet is disconnect from client, then need to break the read…

fix: if packet is disconnect from client, then need to break the read packet loop before next loop start, and clear will msg. (#120)

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ccbe364). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #66   +/-   ##
=========================================
  Coverage          ?   18.55%
=========================================
  Files             ?       10
  Lines             ?     1180
  Branches          ?        0
=========================================
  Hits              ?      219
  Misses            ?      893
  Partials          ?       68

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 ccbe364...f66abe5. Read the comment docs.


createSelector breaks with "undefined"

Describe the bug
When using createSelector() with undefined, a selector looking for undefined stays active even after the value that is being watched is changed
Your Example Website or App
https://playground.solidjs.com/?hash=204297978&version=1.3.13
Steps to Reproduce the Bug or Issue

click the top two buttons. notice how only one can be active at a time
click the bottom button. it works correctly
click one of the top two buttons again. notice how the bottom button continues to say "true"

Expected behavior
All three buttons would behave the same, where clicking any one turns off all the others
Screenshots or Videos
No response
Platform

OS: macOS 12.1
Browser: Firefox
Version: 99

Additional context
No response

Yeah I see it. I was using undefined as a way of preventing execution on the previous value the first time but I should do it explicitly.


Confusing error message with bind: on invalid property

<input type="text" bind:newField />
Results in the error:
TypeError: Cannot read property 'start' of undefined
    at error (/home/user/project/node_modules/rollup/dist/rollup.js:224:15)
    at /home/user/project/node_modules/rollup/dist/rollup.js:17213:17
    at <anonymous>

Can you give this a whirl with<EMAIL_ADDRESS>please? I have a hunch this may be fixed now


Converted some sub components in the Equipment folder to use hooks

Converted the following components:

AssignEquipment
RevokeEquipment
EquipmentAssignmentValues
EquipmentList
EquipmentListItem
EquipmentTableContainer

@jSylvestre what other tags do we have besides Student? I can only see Student as an option

@jSylvestre what other tags do we have besides Student? I can only see Student as an option

@wongband Tags are dynamic. They are added by a departmental admin to the team.

Ahh I see I was just curious


LL-3631 add refill token info box

https://ledgerhq.atlassian.net/browse/LL-3631

@machard I commented on https://ledgerhq.atlassian.net/browse/LL-3631, for me it's not a blocker so if @cthepot-ledger confirm it doesn't worth it to take in account that specific case (Tron account) then it's a GO.


Rename release to frozen

Hi @planthaber
As the current "release_image" is not a clean release in the common sense where everything included is version controlled, approved, and tested but just a frozen snapshot of a devel image, I suggest renaming those images to "frozen" or "snapshot". :)
What do you think, @planthaber ?

Could you test the "frozen" branch?
https://github.com/dfki-ric/docker_image_development/pull/105
It "should" be even compatible with older stored release images

Hi @planthaber ,
thanks for the PR. I will test it as soon as possible, but I did a first coarse review on the changes already:
Would it make sense to rename the 03_frozen_image to 02_frozen_image to make clear that it relates to the current devel image?
BTW: I noticed that to freeze the image, the files are copied into the docker in a new docker build. Why not simply "docker commit" the current devel_image (or doesnt that include the mounts)?
Regarding the release image: I noticed that there are still artifacts from the uncontrolled devel image environment. Wouldn't this make it to a 02_frozen_minimal_image?
I will clarify the contribution of a version controlled clean release image without any artifacts and will come back to this in a follow up PR.


fix for daily CRON, adding default values to create form, enable underscore in name param, error handl…

…ing with fail callback on delete method

LGTM


Setup instructions for MacOs

I'm on MacOs (intel) and I'm really confused on how to use this.
The compiled osx file comes as a word document, not an executable.
Below is the error when I try to post-process in SuperSlicer.
Post-processing script /Users/victorlazaro/Klipper/klipper_estimator_osx --config_moonraker_url http://<IP_ADDRESS> post-process on file /var/folders/_l/pjyt202j6xn5l7jx__8v7kl80000gn/T/.39849.gcode.pp failed.
Error code: 126
Output:
zsh:1: permission denied: /Users/victorlazaro/Klipper/klipper_estimator_osx

Hi @LazaroFilm
On OS X I believe you'll need to give the downloaded file executable permissions. I don't know how to do this, as I have no experience with this operating system.
The file should definitely not be a Word document though, maybe it just appears that way because of file associations?
Best regards,
Lasse

I too got this same error and the problem turned out to be that the file didn't have executable permisions.
Someone on the Klipper Discord recommended the following command (via terminal)
chmod +x <filename>
In your case: chmod +x /Users/victorlazaro/Klipper/klipper_estimator_osx
This fixed the problem for me.


Drop bytecode VM and compile to LLVM IR

This player is going to be feature-complete soon, so I should start thinking about what to do with the current bytecode based virtual machine. It wasn't the best idea because it isn't fast. Scratch code can be compiled to LLVM IR instead which is then compiled to the architecture specific machine code by LLVM.
If anyone has experience with this, feel free to comment with any ideas :)
Notes:

I think the biggest problems will be caused by the need to call C++ functions from the IR, but I can make some wrappers if it requires C functions. Or can function pointers be used too?
I don't want to write a JIT. I'd prefer ahead-of-time compilation when projects are loaded (just like the current compiler does it).
This will require rewriting/refactoring all Scratch blocks because they rely on the bytecode VM.
Since it'll take a long time to implement, I'll most likely keep the current implementation and make the LLVM-based compiler optional while it's being developed.

@Arcnor Just letting you know I've opened the issue to work on this.

@Arcnor Just letting you know I've opened the issue to work on this.

Hey @adazem009 , that's fantastic, and thanks for keeping me posted :). It makes sense not wanting to write a JIT, it's not an simple task and very easy to fall down the rabbit hole :D. But there are some implementations you can use IIRC. There are also other targets that are not LLVM that might help you as well, there are things like LibJIT that provide you a big base to construct upon. Finally LLVM itself has ORC, and the tutorial covers this, although I've never used it (nor the predecesor, can't remember its name) and it's not an actual JIT implementation but "hooks" to write your own.
Anyway, I wish you luck!

@Arcnor Just letting you know I've opened the issue to work on this.

Hey @adazem009 , that's fantastic, and thanks for keeping me posted :). It makes sense not wanting to write a JIT, it's not an simple task and very easy to fall down the rabbit hole :D. But there are some implementations you can use IIRC. There are also other targets that are not LLVM that might help you as well, there are things like LibJIT that provide you a big base to construct upon. Finally LLVM itself has ORC, and the tutorial covers this, although I've never used it (nor the predecesor, can't remember its name) and it's not an actual JIT implementation but "hooks" to write your own.
Anyway, I wish you luck!

Thanks. I mostly think it doesn't make sense to write a JIT because (probably) all Scratch projects compile very quickly with the current compiler, only JSON parsing can take a long time. I just hope compiling with LLVM won't slow it down.
I'll most likely use LLVM as long as I can call C++ functions from the IR and write unit tests for blocks easily (easier than it is now, with the complicated bytecode VM).

(reply to a discord message, but I'm putting it here since its relevant)
The way I set up threespeed is theres a python script that converts a project.json file to c++. This conversion is basically 1:1, ie. each scratch block becomes a single function call to the corresponding C++ implementation.
This makes writing the compiler pretty easy.
I also decided that each block stack would get its own native thread. This was probably a bad idea since most performance-intensive projects are mostly single threaded anyways and it comes with all the normal multithreading problems.
If you decide to compile the code instead of making a bytecode interpreter, the main problem you'll run into is how scratch handles reentrancy. If you have a long-running event handler and it gets called again, the first instance immediately stops. With a bytecode interpreter this is easy to handle, for native code it isn't since this isn't how most languages handle reentrancy.
You might be able to solve this in an elegant way if you don't just generate function calls, although it sounds like you're going down a similar path as what I did.
As for compile time, the sb3 -> c++ compiler written in python is much faster than gcc. The project.json is already an AST and you have to parse at most 5mb of data for most projects.

(reply to a discord message, but I'm putting it here since its relevant) The way I set up threespeed is theres a python script that converts a project.json file to c++. This conversion is basically 1:1, ie. each scratch block becomes a single function call to the corresponding C++ implementation. This makes writing the compiler pretty easy. I also decided that each block stack would get its own native thread. This was probably a bad idea since most performance-intensive projects are mostly single threaded anyways and it comes with all the normal multithreading problems.
If you decide to compile the code instead of making a bytecode interpreter, the main problem you'll run into is how scratch handles reentrancy. If you have a long-running event handler and it gets called again, the first instance immediately stops. With a bytecode interpreter this is easy to handle, for native code it isn't since this isn't how most languages handle reentrancy. You might be able to solve this in an elegant way if you don't just generate function calls, although it sounds like you're going down a similar path as what I did.
As for compile time, the sb3 -> c++ compiler written in python is much faster than gcc. The project.json is already an AST and you have to parse at most 5mb of data for most projects.

These things (thread/script management) is currently handled by the Engine class (https://github.com/scratchcpp/libscratchcpp/blob/537ff52a7500d17d07df7ea31c7023358824e344/src/engine/internal/engine.cpp). I just need to make the native code be able to stop, so it can resume later. That's probably the trickiest part. I'm not sure how that's going to work yet.

I found this, but I'm not sure it's related: https://llvm.org/docs/Coroutines.html
It seems I can make a coroutine suspend and then resume, but I don't know if I can do that with the main function as well.

@Arcnor After some experiments with LLVM, I think I've figured out how to be able to suspend and resume compiled code (read @davidtheplatform's comment).


Update installation instructions for windows.

These are the updated installation instructions from @danielsdeleo as requested in #29.

@danielsdeleo how does this look?

Added some inline comments. My instructions from the thread in the berkshelf issue are tied a little bit to the context of that conversation, which happened before we released ChefDK for Windows and also I was explaining why something a commenter on that thread was trying wouldn't work.
Anyway, thanks for this!

@danielsdeleo updated

:+1: This looks good to me. @opscode/client-engineers ?

:+1: We should just publish the precompiled gem...should be able to build on appveyor

Other than my nitpicky comment, :+1:

@tyler-ball I updated the PR with links.

Added a little bit of inline code formatting with backticks and merged. Thank you!


How to declare method body of Actor

Or where declare the method of task body? Only tell us how to invoke method or timer or reminders,it is no enough.
We will finally execute the task code. Where are these codes defined?

Duplicate of #290


Move ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT to a private header

Currently ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT is being tested and then defined in a public header that will get installed:
config/IlmBaseConfig.h.in:#undef ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT

This is an issue for us at least in the context of cross compiling since now the header on -say- armhf and amd64 will be different.
Would it be possible to move this define to some kind of private header which wont be installed as part of the standard installation. Another possibility is simply to pass this definition on the command line using -D. This way this is not explicitly visible in the header file.

This flag exists only for the implementation of
void setFpExceptionHandler (FpExceptionHandler handler);

I agree that this flag should be hidden within the implementation.

This has been implemented, there are now two auto-generated headers, one for internal things, and one for the public namespace configuration, etc.


feat: make powered by dynamic

Currently there is an hardcoded value ingenerate-pdf-template-helpers package and in each schemas repository template.hbs file.
@stiebitzhofer Should we make this value dynamic ?
We could start with extracting the base domain from the RefSchemaUrl and eventually make it customizable via a specific certificate input ?

In my humble opinion, we should change the hardcoded value simply to s1seven.com. If somebody wants it desperately in the future we can consider dynamic values.

Update: we probably should use digitalmaterialpassport.com


Test pr check

Codecov Report

Merging #1 into dev will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev       #1      +/-   ##
==========================================
+ Coverage   53.69%   53.82%   +0.13%
==========================================
  Files          15       15
  Lines         406      405       -1
==========================================
  Hits          218      218
+ Misses        188      187       -1

Impacted Files
Coverage Δ

cv/transforms/noise.py
48.00% <ø> (+1.84%)
: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 6eeaa57...5e19b95. Read the comment docs.


Monitor flicker

Hi @gtaylormb,
First, I would like to thank you for sharing this repository and congratulating you on the job.
I am trying to replicate your work but I see that my monitor, Dell U2414H, is flickering all the time as you can see in the  next video:

https://www.youtube.com/watch?v=UgQ77Okry8s&feature=youtu.be

Do you know how to remove this flickering?
Best regards and thank you,
Jorge

Hi Jorge, I would try activating the Test Pattern Generator and see if you still have the flickering. That way you can isolate where in the data path this is occurring. You may also want to try another monitor.GregOn Feb 4, 2021 3:21 PM, Jorge<EMAIL_ADDRESS>wrote:
Hi @gtaylormb,
First, I would like to thank you for sharing this repository and congratulating you on the job.
I am trying to replicate your work but I see that my monitor, Dell U2414H, is flickering all the time as you can see in the  next video:
https://www.youtube.com/watch?v=UgQ77Okry8s&feature=youtu.be
Do you know how to remove this flickering?
Best regards and thank you,
Jorge
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


WIP: feat: switch to biome formatter

Use biome formatter instead of prettier for JS,TS, TSX and JSON .
For formats which are not supported by biome (like Markdown, YAML, CSS, HTML: https://biomejs.dev/internals/language-support/) continue to use prettier.
(re: https://github.com/getgrit/gritql/issues/168)

Does this mean we want to guarantee user has biome already installed and grit doctor will check that prerequisite?

No, like with other formatters we should just skip formatting if biome isn't present.

Verify that we want to use biome for JS/TS/Json and continue to use prettier for CSS/HTML/Markdown/YAML as per https://biomejs.dev/internals/language-support/

Yes.

Do we care about providing an escape hatch if a user wants to continue using prettier (FORCE_PRETTIER=1)? If not, these other questions are moot!

No, we should not have both.

Code looks goodish but tests aren't passing - you probably need to update the GitHub actions to install Biome.

I added biome to the actions but this appears to require your approval. Do
you want me run these as a PR in my own fork so you avoid using your runner
credits?
On Fri, Sep 6, 2024, 4:51 PM Morgante Pell @.***> wrote:

Code looks goodish but tests aren't passing - you probably need to update
the GitHub actions to install Biome.
—
Reply to this email directly, view it on GitHub
https://github.com/getgrit/gritql/pull/487#issuecomment-2334792024, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEFKCQMQC3XI72CPAAABLZVIIVPAVCNFSM6AAAAABNW7D3POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUG44TEMBSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I don't mind clicking approve, but you should also be able to run tests locally. It looks like some snapshots will need updating, and the standard library tests will also need Biome installed.

I got the snapshot tests fixed in the gritql repo. I love those snapshot tests.
As a quick aside, I wasn't sure if there is a recommended way to use my local development version of grit/marzano, so I just added it to my path. If this is dumb for some reason, please let me know, but it appears to use the new biome formatter.
$ cd Projects/grit.io/stdlib
$ export PATH=~/Projects/grit.io/gritql/target/debug:$PATH
$ marzano patterns test
When I ran the stdlib tests, I see a lot of changes. At first glance they appear to be mostly quote issues (single quote to double quote) and missing semicolon issues, for the most part.
I see two obvious paths: configure biome to match prettier defaults, or fix the tests to match biome preferences. Do you have an opinion on this? There are some other formatting changes in the react/TSX code so this diff might get big regardless, or the biome config might get big, depending on which way we go.
Here is a gist with the stdlib test results:
https://gist.github.com/xrd/aafb4eb68209e553a6c8c79abe12dae6

Biome should actually match prettier defaults. From the diff, it looks like you're not actually successfully running the formatter at all. Ex. this code is clearly unformatted:
  ✗ Existing import append
     import { posthog } from '../../services/flags';
     import { other, sanitizeFilePath } from '@getgrit/universal';
     import type { MarzanoResolvedPattern } from '@getgrit/sdk';
    -import { marzanoResolvedPatternToResolvedGritPattern } from '@getgrit/sdk';
    +import { marzanoResolvedPatternToResolvedGritPattern  } from '@getgrit/sdk';
     import path from 'path';
     import { ApplicationFailure } from '@temporalio/workflow';


Skip logic for quizzes

How does the scoring and the results page work?
Skip by correct/wrong answer for checkboxes?

This is on ice. We may revisit this if requested.


Feat:in desktop after click on more it is not working properly #1368

Related Issue
None
Fixes:  #1368
Description
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[ ] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

@kapilG0 please resolve the conflict

Hello @RitiChandak can you check now I resolve in the same commit

Hello @RitiChandak can you check now I resolve in the same commit

still conflicts

Conflicting files
assets/css/style.css
Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Implement author profile block for article pages

See Figma

This seems to be a duplicate of #148, wdyt @benpeter and @mhaack ? Or shall we do a ticket for a single L3 author profile and a separate ticket for author profile list?

@mhaack : But would we not simply create one "Author Profile" block, and if the editors provide an author name, then lookup that author => index, otherwise lookup the author(s) in the page metadata => index?
I was just wondering, as the designers call both elements "Author Profile".

Ok, I'll pick this one, and once we have progressed, we can see how much can be reused in https://github.com/urfuwo/hlx-test/issues/148
👍 yes let do it like this. I think #148 covers more used cases (multiple cards, different card items) but can extend from what we have.

Ok, I'll pick this one, and once we have progressed, we can see how much can be reused in https://github.com/urfuwo/hlx-test/issues/148
👍 yes let do it like this. I think #148 covers more used cases (multipe cards, different card items) but can extend from what we have.


Fix FPS on monkaX

the fps on the emote is very low

Is this a Chatterino 1 related issue?
No bug reports/feature requests get accepted for Chatterino 1 anymore and it seems to work fine for Chatterino 2.


New BabyBeast Asset and Animations – Light Theme✨

Scope
We need to create a new BabyBeast asset with a Light Theme🌟✨ for OD Hack 10. The design must maintain consistency with the current app's BabyBeast style, specifically the Baby Rabbit, while introducing unique celestial and light-inspired elements. The goal is to enhance the app's variety and visual appeal with this radiant-themed asset.

How BabyBeasts are currently designed?

BabyBeasts are designed as cute animals with a consistent style: rounded proportions, pastel tones, and clean, minimal details.
The Baby Rabbit model is the reference. It is stylized with simple shapes and subtle animations that make it feel alive in the app.

Requirements

Design the Light BabyBeast💡👼:

Use the Baby Rabbit as a base for style and proportions.
Add light-themed features, such as:

Glowing halos or radiant textures. ✨
Golden accents for a celestial vibe. 🌙
Subtle highlights to give a luminous feel.

Create Animations:

Add animations that highlight the ethereal and luminous nature:

Pulsing light effects around the BabyBeast. 💫
Graceful glowing movements, like a soft halo shimmer.
Sparkling or radiant bursts to emphasize its light theme.

Maintain Consistency:

Match the style of the current BabyBeasts, including similar proportions, color palettes, and aesthetic logic.

How to implement?

Download and use any pixel art toolkit.
Create and animate the new Light BabyBeast.
Save it to Assets/BabySprites in this repository and include the asset with its respective sprites.
Let us know with a PR and by reaching out directly to me: Telegram: @juandixcode or in the community group: Telegram Group.

Cool Tools to Use

For creating and animating pixel art, we recommend using Aseprite. It’s a powerful tool for creating sprites, animations, and other pixel art elements. Feel free to use any other toolkit of your choice.

How to apply?
Follow the contribution guidelines in the README file.
Let me know by tagging me or @jimenezz22 🔥😎

Can I try solving this issue?

I’d like to help with this.

Is it okay if I tackle this?

Could I be assigned to this?

May I be assigned to this?

Hi ,  I am a proficient MERN stack developer with experience in full-stack development. I believe I can contribute effectively to this project. Could you kindly assign this issue/task to me?  Thank you

Hi, I'm Josué, and I'm part of the Dojo Coding community. I have experience in programming languages such as Angular, React, C#, .NET, C++, PHP, Python, Java, Node.js, and JavaScript, among others. I'm passionate about software development and enjoy contributing to open-source projects, applying my knowledge to solve problems in a practical way. Additionally, I’m working on the project Citizen Of Arcanis, where I’ve had to use Unity, so I’m also skilled with this tool.
I will use the Baby Rabbit as a base and edit it in LibreSprite, adding the necessary features to adapt it to the light theme. I will incorporate details such as glowing halos, radiant textures, and golden accents for a celestial touch. I will also add subtle animations, such as pulsing light effects, soft sparkles, and ethereal movements to enhance the luminous feel, always maintaining consistency with the original BabyBeasts style.

Can I take this from here?

Let me handle this issue!

For a new light theme BabyBeast asset to be created, the solution can be:
The shiny BabyBeast must have dreamy features with soft gradients, bright accents, and celestial highlights so that it fits the current style. This light theme should be driven home using lighting effects with smooth animations. It must keep the proportions along with the aesthetic logic of the existing style for smoother integration.

@Mystic-Nayy you have the issue, any idea, new feature or blocker, let me know via Telegram

@juandiegocv27 Alright i will sir

@juandiegocv27 Alright i will sir

Hiii @Mystic-Nayy let me know what´s your progress with your issue between this 24 hours please


Added bower.json file

Added bower.json file to facilitate the maintenance of "front-end" dependencies.
Refers to #37

+1

+1

Bower doesn't require this file, and it stands to have no benefit without an entry point specified.
Adding photon to the bower registry is all you need.


Option to join list-values inside

Is your feature request related to a problem? Please describe.
If a value is a list, it will be displayed in multiple rows of a table. That unnessesarily stretches the table, where a .join(", ") may have done much better. That means to achieve this:
```dataview
TABLE WITHOUT ID
file.link AS "Name", institution, role
WHERE contains(category, this.file.link)
\```

I have to write this:
```dataviewjs
dv.table(["Name", "Institution", "Role"], dv.pages()
	.where(p => p.category)
	.where(p => String(p.category).includes(dv.current().file.link))
	.map(b => [b.file.link,
	b.institution ? (b.institution.length ? b.institution.join(", ") : b.institution) : b.institution,
	b.role]))
\```

I would have to do this for every single property that may or may not potentially turn out to be a list.
Describe the solution you'd like
Similar to LIMIT, a "join" could be introduced. This could look like this:
```dataview
TABLE WITHOUT ID
file.link AS "Name", institution, role
WHERE contains(category, this.file.link)
JOIN
\```

Where the default would be equal to join(), and one could optionally add JOIN ", " to modify the separator.
Describe alternatives you've considered
dataviewjs as shown above
Additional context
This has been suggested here 6 months ago:
https://www.reddit.com/r/ObsidianMD/comments/x8yh71/dataview_comma_separated_list_on_one_line/

So instead of:

James Clear
James Brown
Robert deNiro

I want:
James Clear, James Brown, Robert deNiro

Does this help?
https://blacksmithgu.github.io/obsidian-dataview/reference/functions/#joinarray-delimiter

Does this help?
https://blacksmithgu.github.io/obsidian-dataview/reference/functions/#joinarray-delimiter

I have a similar use case as OP, although I am trying to generate a comma separated values with LIST (rather than a table). I have tried the join function as you linked but it does not result in a comma separated list.
So in my instance, if I have movies, each as their own note, and actors each as their own note; and then want to list all the movies an actor has been in on their page using:
```dataview
LIST
FROM "Movies"
WHERE contains(Actors, this.file.name)
\```

I correctly get all the movies the actor has been in but as a bulleted list.
If I then add the join function:
```dataview
LIST  join(file.name, ", ")
FROM "Movies"
WHERE contains(Actors, this.file.name)
\```

It still outputs as a bulleted list but with the movies unlinked title attached to each linked name e.g.:

[[The Godfather II]]: The Godfather II
[Goodfellas]]: Goodfellas
[[The Irishman]]: The Irishman

When what I would expect is: [[The Godfather II]], [[Goodfellas]], [[The Irishman]]
(I'm very new to Obsidian and Dataview so possibly I am doing something wrong.)


#Restructuring cause code breaks

Sudden change in the code structured made my code break.
It is a great library for RAG. Kindly maintain the structure and updates without code breaks as we are planning for a extensive set of experiments.

Hello thanks !
This will be fixed asap thanks !
Don't hesitate to use the latest stable version (0.2.2) which is thoroughly verified - main branch is as bug free as we can but not as tested until version releases!

Thanks, pip install works fine with my earlier set of codes. I was earlier testing with git install.
pip install colpali-engine==0.2.2


failures during install using py2.7

HI Jim,
here is what I got on lxplus using CMSSW environment (python 2.7):
Extracting uproot-3.0.0b2-py2.7.egg to /afs/cern.ch/work/v/valya/RandD/uproot/install/lib/python2.7/site-packages
  File "/afs/cern.ch/work/v/valya/RandD/uproot/install/lib/python2.7/site-packages/uproot-3.0.0b2-py2.7.egg/uproot/write/file.py", line 63
    cursor.fields(self.sink, [b"root", ...])
                                       ^
SyntaxError: invalid syntax

Even though the build for new uproot was done I saw these type of errors. Does it means that new uproot is only python 3.X complaint?

No, it should be 100% Python 2.7 compliant, let alone not have Python 3-only syntax. I don't know how this is passing all 6 of the Python 2.7 CI tests. It's probably a deployment bug.

This was not even real code. It's been commented out.


Start a GUI page

A start on https://github.com/UCL-ARC/python-tooling/issues/354. I don't have recent experience with other GUI toolkits, so leave it for others to fill them in.
I would suggest merging this PR as a starting point, and then iterate on it to add more content in future PRs?

I'm still 👎 about a different page for each type of library and think we should have a large(ish) single page with all libraries that we recommend/use and like in our projects.

I have just joined and use Qt C++ for GUI development, so a GUI page should sit outside python tooling as a GUI should be solver code agnostic just providing input to the solver and also reading back as xml or text format.

I have just joined and use Qt C++ for GUI development, so a GUI page should sit outside python tooling as a GUI should be solver code agnostic just providing input to the solver and also reading back as xml or text format.

The scope of this is research software projects in general. We are not just for solvers. I think there is enough Python-specific interest in GUI programming and enough Python GUI libraries that the page should exist for signposting.

... although we should do something with this PR.
Merge as-is or move the table to utilities? I favor the latter but I'd bow to the consensus.

I'm 👍 to as is, as I think having a GUI page makes it more discoverable.

I have just joined and use Qt C++ for GUI development, so a GUI page should sit outside python tooling as a GUI should be solver code agnostic just providing input to the solver and also reading back as xml or text format.

I second Sam. The purpose of this project is not to imply that GUI means only for Python. We're saying in the context of Python development, if you want advice on GUIs then here are some potential ideas, and our experience.

I'm still 👎 about a different page for each type of library and think we should have a large(ish) single page with all libraries that we recommend/use and like in our projects.

👍 for this in theory (especially as the list of recommendations grows), but deserves it's own issue/PR?

I'm in two minds about this, but probably agree that having a single page for these things would be good. Should the libraries in Parallel and asychronous processing also be moved to this libraries page? Agree with @dstansby that having a separate issue / PR to discuss this makes sense

Merge-as is then?


feat: Add core-data V2 API test GET reading by resource and device

fix #506
Signed-off-by: Ginny Guan<EMAIL_ADDRESS>

on hold till https://github.com/edgexfoundry/edgex-go/pull/3621 to be merged

edgexfoundry/edgex-go#3621 was just merged


Update meeting link

What type of PR is this?

correction

What this PR does / why we need it:
README still had previous Teams link

@bigludo7 please review


question about the code in the sparse_trainer.py

I'm running the code for sparse_trainer.py, it raises an error:
AttributeError: 'SparseTrainer' object has no attribute 'do_grad_scaling'.
I checked the code, and the 'do_grad_scaling' is only defined in the trainer.py in the dense_ft folder, but weird, you import trainer from transformers.trainer, which does not contain 'do_grad_scaling'.
I wonder which trainer class should be the right one? Could you open-source the dense finetune code for the sparse_trainer.py?

The sparse_trainer class should be the right one to use. It is simply applying the pruning mask over the gradient so that the pruned weights are not updated, as is the common setup for fine-tuning a pruned model (https://arxiv.org/abs/1506.02626 and https://arxiv.org/abs/1803.03635)

solved by changing the version transformer.


Pin iOS Podspec versions

Pinning the iOS versions required for Admob to work. This will address, https://github.com/YoussefKababe/admob_flutter/issues/74, for the future. If users didn't update their pods (which apparently Flutter doesn't do for you) you could be stuck with an old version of the ad SDK, hence it doesn't know about the new functionality.
🚀

@kmcgill88 I would like to transfer this repo to you, and also set you as primary uploader on PUB, so in the future you don't need to wait for me to approve PRs and slow down contributions. Are you okay with that?

@YoussefKababe That works for me. I'm happy to help!

@kmcgill88 Awesome! Seems like you already have a repository with the same name. Can you please rename/remove it so I can do the transfer?

@YoussefKababe I just renamed my fork. It should be good to go.

Any idea about this?

@YoussefKababe  I'll try deleting my fork now. Then try again?

@kmcgill88 Yes let's try that!

@YoussefKababe OK, it's gone. Give it another shot!

@kmcgill88 Sent a transfer request. It says it's being transferred now!

Moving repository to kmcgill88/admob_flutter. This may take a few minutes. That worked!
How does adding me to Pub work?

I should add you as an uploader so you can release new package versions. One minute, I'll do it now!

@kmcgill88 what email address do you use to access pub?

@YoussefKababe<EMAIL_ADDRESS>

@kmcgill88 Thanks! I think you should have received and invitation on your email now!

@YoussefKababe yup, I'm in! There are a few more things I'd like to touch up before publishing 0.3.4.

@kmcgill88 All right, keep the good work up! 👍


Fix bug in OpenStreetMaps locator code that showed if place of interest not in nearby locations of a pause

Fix bug in OpenStreetMaps locator code: add to check if place of interest (place) not in nearby locations of the current pause, skip to the next place of interest (previously, KeyError would appear if place of interest (place) not in nearby locations of the current pause)

Note my branch is not passing checks on ubuntu due to "Run static type checking" of something which I believe my changes are not touching.

FYI, the build is failing due to an issue in Bonsai: #123

FYI, the build is failing due to an issue in Bonsai: #123

Thanks, @hackdna ! For my information, what is the procedure in such cases? Is it allowed that such a PR -- for which the build fails due to reasons independent of the PR's change -- is merged?

Ideally, we fix the build first then merge.

I've updated this branch with the latest code from develop. The build is fixed now.


Add DockerClient::createWithContext to convert stream context options

This allows you to convert the options array to a stream context resource
Use-case for example:
Symfony DI service:
services:
    docker.client:
        class: Docker\Http\DockerClient
        factory: Docker\Http\DockerClient::createWithContext
        arguments:
            - ~
            - %docker_entrypoint%
            -
                ssl:
                    local_cert: '%docker_cert_path%/comb.pem'
            - true

I am wondering if this could go directly in the constructor, with something like
if (is_array($context)) {
    $context = stream_context_create($context);
}

What do you think?

@ubermuda Even better as it doesn’t come with an BC breaks. WIll update the PR.

ping @ubermuda
Would like to use this in my current project :)

Ah yes sorry, forgot about this one :D

Thanks!

Awesome..thanks @ubermuda