Classic Oceans?

Is the classic oceans option gone?  It's not showing up in the world gen config options.

Yeah . sorry a few things were removed in 1.3.0 as stated in the changelog https://minecraft.curseforge.com/projects/cyclic/files/2411176 .
Mobspawning was awkward and not very configurable . so rather than reinvent the wheel i saw it done better in other mods like InControl.  Same thing for Mob Loot drops and the ocean floor update.  These features werent great for modpack devs , were conflicted, and were just better implemented elsewhere
Just now i went back and edited that changelog and added some download links to other mods
To replace some of this removed functionality i suggest the following
https://mods.curse.com/mc-mods/minecraft/257356-in-control
https://mods.curse.com/mc-mods/minecraft/231837-ocean-floor-clay-sand-and-dirt

Thanks for the detailed response... yeah, the idea of having sand oceans is what drew me to this mod.  Regardless of whether or not that option is implemented, I'm glad I found it.  This mod has a ton of unique configurations, like Quark, but different.  Very handy.  Thanks for putting it together.

Hey, just passing along the information here... I had a crash involving terrain generators from some other mods, but your mod's emerald ore generation in the extreme hills biome was on the list...  https://gist.github.com/Endmateria/19b081faa7ec6bfe82cd9c2203b111f4#file-crash-2017-05-06_16-24-58-server-txt I brought this crash report to the attention of the Galacticraft guys and got schooled on how Minecraft terrain generation works... and he explicitly brought up vanilla emerald gen and how it doesn't conform to the typical rules of terrain generation, hence I've noticed some other mod authors have opted to avoid messing with it altogether.  I disabled the option in my configs, but you might want to look into the emerald ore generator a little bit more.  Here's what the guy at Galacticraft said...
I think most mod developers don't really understand how Minecraft oregen works.
It's roughly like this.
Stage 1: chunks are generated with basic bedrock, rock, dirt and water, according to the heightmap
Stage 2: already generated chunks are "populated", but the vanilla Minecraft chunkprovider algorithm will only populate a chunk if at least 3 neighbors already populated, maybe it also depends which neighbors those are, you can study the vanilla code. (One exception is underwater temples which have a special rule.)
Therefore, a chunk can be generated but flagged not "populated".
Getting and setting blockstates in the world causes attempts to load those chunks, which causes generation of those chunks if not already generated.
Vanilla populate code - for example vanilla oregen - can use getting and setting to load chunks either side of the current chunk, so x and z in the range { -1, 0, 1 } from the current chunk's position. This is obviously necessary to build complete ore pockets or complete trees. But the oregen and tree code is carefully limited in the range it can cover, if you look at all the vanilla code you'll see it never strays more than around +/-20 blocks from the center of the current chunk. Therefore, it never triggers chunkgen outside the range { -1, 0, 1 }.
Because of the rule about only populating a chunk which has 3 populated neighbors already, this makes it impossible for vanilla worldgen to run away.
If any mod has code which gets or sets outside that tight range, it will cause runaway worldgen, simple as that.
I see Tinker's Construct slime islands mentioned in that code, as well as vanilla emerald gen. There's something about vanilla emerald gen which breaks these rules slightly, I don't remember it.

And sorry, I don't know how relevant it is to you, like the Galacticraft guys, your generator might just be an incidental victim of someone else's mistake... regardless though, I thought it worth mentioning just in case.


Thumbnails for works and collections

Feature Request

[ ] Works and Collections can have thumbnails with same size and placement as current placeholder graphics.
[ ] UI on work settings page to upload a thumbnail image, with recommended dimensions.
[ ] Uploaded thumbnails are automatically scaled/cropped to necessary sizes (of current placeholder graphics).
[ ] Thumbnail appears on search results (list of resources view)
[ ] Thumbnail appears on resource display page (show resource view). See note below.

Nice, but not required:

[ ]  Thumbnail upload UI has an option to auto-generate a thumbnail from the content. (i.e., fist page of PDF).

Placement of thumbnail on work/collection display page:
Thumbnails are not part of the existing resource display pages, so we will need to do some basic design work. For a first pass, let's include a "thumbnail" section in the metadata block on the right-side, below the title. We may want to explore other options.

@srerickson I added this checkbox to the settings page for Works and Collections.  It allows users to toggle the thumbnail display on or off.

It is defaulted to off.  I figured we could roll this out at the end of this sprint with it defaulted to off, and if it seems like thumbnails are generating properly, then maybe default to on later.
I'm going to get to work on the feature giving users the ability to upload their own thumbnail next, but that'll be in a separate branch/PR and probably won't be released until the end of the next sprint.

@ajkiessl, this looks great. What are your thoughts on automatically generating thumbnails for all new submissions and changing the checkbox to "Use auto-generated thumbnail ..." (default to unchecked). Could we do that this sprint? The thing is, people will want to see the thumbnail before using it.


Updates to internal GitLab Omnibus processes

Not urgent, did some cleanup, fine to review next week :)
Changes:
1 - Updated testing section with correct steps
2 - Moved useful commands to their own section in our support handbook
Note: Not sure if the documented upgrade process is still accurate, Harrison?

Thank you @justinegeffen! Addressed feedback. Note that keyboard shortcuts are stylized with capital letters and no bolding: https://docs.mattermost.com/process/documentation-guidelines.html#text-formatting


[FEATURE REQ] Move credential-free-jdbc plguin to azure-sdk-for-java repo and set up pipeline

Is your feature request related to a problem? Please describe.
The credential free jdbc plugin is now in a feature branch, we should move it to the main branch and set up a pipeline for it. And we should delete the original repo.
Describe the solution you'd like
Move the code to main branch and set up pipeline
Describe alternatives you've considered
N/A
Additional context
N/A
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Description Added
[x] Expected solution specified

After discussion with the arch board:

Service directories will be sdk/[jdbc|kafka|redis|mongo|cassandra]
Group ids will be com.azure
Artifact names will be azure-identity-providers-[jdbc|kafka|redis|mongo|cassandra]
Java packages will be com.azure.identity.providers.[jdbc|kafka|redis|mongo|cassandra]
Java classnames will be AzureIdentity[Mysql|Postgresql|Kafka|Redis|Mongo|Cassandra]AuthenticationPlugin
Use separate artifacts for MySQL and PostgreSQL:

azure-identity-providers-jdbc-mysql
azure-identity-providers-jdbc-postgresql

[Yesterday 05:17] Jonathan Giles
I don't think we want to include version numbers in the class name. We should establish rules to ensure the widest degree of compatibility - ideally we would unit test against a range of versions of the existing library, and update that range of versions as new releases come out. We can then document with confidence our known support range.

closing this, redirect to  https://github.com/Azure/azure-sdk-for-java/issues/30349


[WIP] JSON output

When --json is set, conda still prints some non-JSON stuff (Package Plan, etc.). I guess this can be removed when we move more code to C++.
Also, because we still let conda do the LINK, the JSON output doesn't include it at the moment. Again, this can be fixed in the future.


Don't word split on output of ps

We only want line splitting on that output:
tty1     30188 Xwayland :0 -rootless -terminate -listen 34 -listen 35 -wm

Thanks for contribution.
Indeed, I do not know why I removed double quoting in v0.6b.
Finally, I removed the loop that was useless.


[11.x] Allow disabling listener on Registered event

Should solve the issue https://github.com/laravel/framework/issues/50783#issuecomment-2072411615
On Laravel 11 a new method EventServiceProvider@configureEmailVerification() was introduced.
https://github.com/laravel/framework/blob/11.x/src/Illuminate/Foundation/Support/Providers/EventServiceProvider.php#L207-L213.
It works fine when having only a single event service provider, the event gets triggered and the listener works fine. But the problem is when the application has more than one event service provider the listener defined here gets executed multiple times - if the application is using 10 event service providers it will be executed 10 times. It is common to have multiple event providers, especially in DDD applications.
Unfortunately, that new method was implemented without considering applications with more than one default event service provider. It seems too late to change it without causing a breaking change.
Instead, this PR aims to allow developers to turn off the listener on custom event service providers.
An alternative to this would be overwriting configureEmailVerification() on the custom event service provider and leaving it empty, which seems not that nice to me.
protected function configureEmailVerification() {}

I think your alternative of just overriding the method is basically equal to this PR.


fix huggingface access error

apparently the original runwayml/stable-diffusion-v1-5 is no longer up creating an access error, missing token bla bla, but since there are plenty of copies made from it, we can use this one...

ah I did hear about that but forgot they were referenced here. Thanks!


Gene.iobio STTR requirements

This is a succinct list of requirements to satisfy the goals of the gene.iobio STTR:

[ ] 1 - 3.2.1. Get patient HPO terms from Mosaic
[ ] 2 - 3.2.1. Include gene:phenotype associations (see clin.iobio demo and image in #844)
[ ] 3 - 3.2.2. Gene speed-up - launch saved analysis from Mosaic and gene.iobio loads instantaneously from saved object
[ ] 4 - 3.2.2. If a new gene is selected, there is some time to analyse new variants, but once loaded, user will be able to move between genes with almost zero lag. Clicking on variants will be extremely quick
[ ] 5 - 3.2.2. Keep track of when a saved analysis was saved and what resources are included. This will be available to see in gene.iobio. After a period of time, if the analysis is relaunched, the user will be prompted to reanalyse based on up-to-date resources
[ ] 6 - 3.2.3. Get annotations from the VCF INFO field. Modal allows user to pick the annotations they want to see (use the VCF header to provide a list of available annotations)
[ ] 7 - 3.2.3. Gene.iobio should have a mode to only show variants pulled from the VCF or Mosaic - no real-time annotation. This would be super quick and allow the user to see the annotations they want
[ ] 8 - 3.2.3. Mosaic gene.iobio launcher gives an option to select annotations and gene.iobio would pull these from Mosaic
[ ] 9 - 3.3.2. Saved gene.iobio analyses in Mosaic can be versioned
[ ] 10 - 3.3.3. Update gene.iobio dependencies (javascript framework Vue, framework Vuetify, node etc.)
[ ] 11 - 3.3.4. Allow gene.iobio and Mosaic to exchange conversations

Chase is working on building a table to store HPO terms in Mosaic, so steps 1 and 2 will be able to build on this


[Bug]: Slash commands do not add anything to Chat

Your minimal.lua config
---@diagnostic disable: missing-fields

--NOTE: Set config path to enable the copilot adapter to work.
--It will search the follwoing paths for the for copilot token:
--  - "$CODECOMPANION_TOKEN_PATH/github-copilot/hosts.json"
--  - "$CODECOMPANION_TOKEN_PATH/github-copilot/apps.json"
vim.env["CODECOMPANION_TOKEN_PATH"] = vim.fn.expand("~/.config")

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

-- Your CodeCompanion setup
local plugins = {
  {
    "olimorris/codecompanion.nvim",
    dependencies = {
      { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
      { "nvim-lua/plenary.nvim" },
      { "hrsh7th/nvim-cmp" },
      { "stevearc/dressing.nvim", opts = {} },
      { "nvim-telescope/telescope.nvim" },
    },
    opts = {
      --Refer to: https://github.com/olimorris/codecompanion.nvim/blob/main/lua/codecompanion/config.lua
      strategies = {
        --NOTE: Change the adapter as required
        chat = { adapter = "copilot" },
        inline = { adapter = "copilot" },
      },
      opts = {
        log_level = "DEBUG",
      },
    },
  },
}

require("lazy.minit").repro({ spec = plugins })

-- Setup Tree-sitter
local ts_status, treesitter = pcall(require, "nvim-treesitter.configs")
if ts_status then
  treesitter.setup({
    ensure_installed = { "lua", "markdown", "markdown_inline", "yaml" },
    highlight = { enable = true },
  })
end

-- Setup completion
local cmp_status, cmp = pcall(require, "cmp")
if cmp_status then
  cmp.setup({
    mapping = cmp.mapping.preset.insert({
      ["<C-b>"] = cmp.mapping.scroll_docs(-4),
      ["<C-f>"] = cmp.mapping.scroll_docs(4),
      ["<C-Space>"] = cmp.mapping.complete(),
      ["<C-e>"] = cmp.mapping.abort(),
      ["<CR>"] = cmp.mapping.confirm({ select = true }),
      -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
    }),
  })
end

Error messages
[WARN] 2024-10-10 13:20:38
No messages to submit

Log output
[DEBUG] 2024-10-10 13:11:12
Executing slash command: file
[DEBUG] 2024-10-10 13:11:12
Calling slash command: helpers.slash_commands.file
[DEBUG] 2024-10-10 13:13:28
Executing slash command: file
[DEBUG] 2024-10-10 13:13:28
Calling slash command: helpers.slash_commands.file
[WARN] 2024-10-10 13:13:33
No messages to submit
[DEBUG] 2024-10-10 13:20:33
Executing slash command: file
[DEBUG] 2024-10-10 13:20:33
Calling slash command: helpers.slash_commands.file
[WARN] 2024-10-10 13:24:08
No messages to submit

Health check output
──────────────────────────────────────────────────────────────────────────────
codecompanion: require("codecompanion.health").check()

- Neovim version: 0.10.1
- Log file: /Users/michaelcaviness/code/tcw-frontend/.repro/state/nvim/codecompanion.log

Plugins:
- OK plenary.nvim installed
- OK nvim-treesitter installed
- OK nvim-cmp installed
- OK telescope.nvim installed
- OK dressing.nvim installed

Tree-sitter parsers:
- OK markdown parser installed
- OK yaml parser installed

Libraries:
- OK curl installed

Describe the bug
What I expect to happen:
I expect the contents of a file to be added to the CodeCompanion Chat buffer.
What actually happens:
Nothing is inserted into the chat buffer, and if I try to submit the contents of the buffer without including any additional information it will return the error indicating that nothing was submitted.
It seems like this was introduced in dba83b9c632d099a6f8acc3cc178f7b51156750f. If I pin CodeCompanion.nvim to the previous commit, 54b310779fd5c2597a21a0c146080a8adfa608b7, it works as it previously did.
The next commit's message is feat: slash command output is now hidden, so if this was intentional and I'm just not used to the new workflow, or doing something wrong, I apologize.
Reproduce the bug

Open :CodeCompanionChat
Enter the /file slash command
Pick a file from the telescope window
Press enter

Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua file from above and have shared this
[X] I have shared the contents of the log file

Hey @michaelmichael. This is now by design...all except for the now slash command. You should be getting a notification that it's been added though to the chat buffer though. Is that visible?

Thanks! I am getting that message. As noted, though, if there's nothing else in the buffer then trying to submit fails with the "No messages to submit" error. Previously if you ran the /file slash command and included no further content, you would get a response from the LLM agent saying something to the effect of "This file is a ______ that does ______".
If this new say is by design, cool. No issues, and I'll get used to a different workflow. Closing for now, and much appreciated!

Ooooh that's a very good spot. I had never considered that workflow. Right, I've accounted for this in v8.3.1.

@olimorris just wondering what was the reason for reworking this functionality? I actually came here looking after encountered similar issue, and for me, new approach is kinda confusing. I really liked how codecompanion among other alternatives clearly exposed context in a form of chat text buffer. It was pretty useful to be able to see and edit all included context. Is there currently a way to see/edit context attached to a buffer via slash commands?

@psakalo I put it to a poll a couple of weeks ago in https://github.com/olimorris/codecompanion.nvim/discussions/309.
Long and the short of it; I was finding that folds in the chat buffer were unreliable especially when combining markdown content being inserted into the markdown buffer.
You can still see the contents of the message block with gd.

got it @olimorris! Seems reasonable to me, although I would just plant an idea to still somehow surface a fact something is attached in the chat buffer. I don't use any notification plugin, and for me it's just a small text at the bottom of the screen popping up. It's very easy to miss, and IMO would cause more confusion.
Also, it would be nice to understand if you have anything attached while getting back to the chat buffer. I don't know if this is possible in the current implementation, but perhaps a ## Me ----- header might be an option here, something like ## Me (context: foo) ---.


[BEAM-7761] Add transform_name_mapping pipeline option for python sdk

Add transform_name_mapping pipeline option for python sdk.
It is useful for updating an existing pipeline on Google Cloud Dataflow: https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline

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

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] 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.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aaltay
Hi ahmet would you mind take a look on this PR?

R; @dustin12 could you take a look at this?

LGTM.
Have you tried running a test on Dataflow? Perhaps we can add an integration test for Dataflow.
Could you also add a JIRA issue to the PR?

tried to add an integration test for dataflow but I guess it's only gonna work after sdk has the option.

I believe our Java streaming numbers integration test and streaming drain test test this option at least somewhat. Does python have the equivalent tests yet?

I'm adding similar update integration tests for python, but did not find any tests related to transform name mapping.

Run Portable_Python PreCommit

Run Python_PVR_Flink PreCommit


Add update-cache command

This commit also adds another parameter to the ensureCacheRepo function,
so we can reuse the logic for updating the cache-repo without a 5-day
limit (which is still the limit by default).
Issue: #111
@jeffmo


fix(sec): upgrade gopkg.in/yaml.v3 to 3.0.0

What happened？
There are 1 security vulnerabilities found in gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b

CVE-2022-28948

What did I do？
Upgrade gopkg.in/yaml.v3 from v3.0.0-20210107192922-496545a6307b to 3.0.0 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

Hi realize096, Thanks for your first PR!
You should sign our CLA for first contribution.
And for your commit, it's suggested that you can just upgrade to gopkg.in/yaml.v3 v3.0.1 like other controller's module requirement? To simplify go.sum version manage.


FIxing issue #1705.

Calculating automatic subsorts for overloaded lists.
This works only at parsing, disambiguation and type inference level.
@bmmoore, @andreistefanescu  please review, but do not merge yet.
It works, but I'm not sure why. I used to have a place where I would take into consideration overloaded operators, but it works without that step, so I think we need more tests for this.
Please test it in the meantime..

@radumereuta  says the place in question is in TypeInferenceSupremumFilter, at boolean isSubsorted(Production big, Production small)

lgtm

These rules look good, but I think we should just generate them into the module so every pass can use them.

Well, I'm not sure exactly where to generate them.
Most likely I don't want those productions to be present when I'm generating the parser for programs.

Good catch on the klabel thing. Also, does not adding the rules to the actual modules mean we can end up with incorrect isSort predicates?

Actually, all these issues about which modules first add different subsort relationships arise even without considering lists, so hopefully the compiler passes don't depend too much on the subsort relationship.

I think they will at one point. I just didn't add enough tests.
So, other opinions... where would it be the best place to add these subsorts to the definition?

Well, we also wouldn't want to put them somewhere that they could mess up program parsing. If we have two lists with the same klabel but a different separator, we don't want to start letting you switch separators in the middle of a list in the concrete syntax.

So, "just generate them into the module" isn't nearly as simple as I hoped, and I think we should postpone that. My only other concern is whether letting type inference use relationships that don't actually exist according to the definition can lead to tricky misparses. Remember those bugs I turned up a while back about confusing the "syntactic subsort" relationship with the semantic subsort relation?

We actually need parsing and disambiguation to have different productions. I'm not sure parsing actually needs any of these subsorts, but if it does they would have to relate lists with the same separator. On the other hand, sort inference and other processing like that needs to subsort between lists with the same klabel.

It's easier to add the subsort in the parser also, because it will then give you all the type restrictions for variables. You don't have to look in the context, it's enough to just traverse the parse forest, and collect each instance of a variable with the appropriate list wrapper and context. The invalid ones (depending on the rest of the context will discarded).

@radumereuta please take a look at #1733 as well and let us know if that clarifies things or not.

From that discussion, I think what we should do here is not worry about explicitly representing these subsort relationships by adding sentences into modules, but instead make the code which calculates the subsort lattice add them (as it used to), and then have parsers add whatever productions are necessary for parsing.

@bmmoore that's pretty much what I've implemented in this pull request. I'm considering the automatic subsort relation only where I need it to parse.
@grosu I'm not sure if I understand what you are trying to say in #1733 very well. You say semantics module, and syntax module. Right now, every module can have syntax and semantics. I can call #parse on any module, and get a valid parser, so I feel a bit reluctant in changing the module, since the user might want to access it at one point and expecting the original content. I'm not sure how to loo, at this problem, from a modularity point of view, compiler, parser... It seems to involve all of them.

All we need for now is to make sure what we had before works.  That is, we do not want users to have to add redundant productions that we did not have before, such as Exps ::= Ints.  So please make sure that is indeed the case.
@radumereuta: if you do not understand something specifically, then go ahead and comment or ask questions there, making them as specific as possible so I can address them.  The way you put the question here I cannot figure it out which of my comments you are referring to.  And even if I do, I do not want to answer a question from an issue into another issue.

Better fix in #1891.


What is required to plot a new layer type?

I have defined a new layer which contains a SparseMatrixCSC.    I would like to plot this layer to show how if differs from Dense.
Is this possible already?  It seems not, but I may have missed something.
If not, what functions must be defined to plot such a layer?

It should work right away, as long as there is not much type restriction since it works by applying it to an array made of a special type which is a subtype of Real.
If it is a fixed-size layer, it helps to define layerdimensions() for it, as in https://github.com/rmsrosa/ChainPlots.jl/blob/main/src/utils.jl#L6, but that is not necessary.

Will do!

Here's an MWE:
using ChainPlots
using Flux
using Optimisers
using Plots
using SparseArrays

struct SparseLayer{T,I}
    W::SparseMatrixCSC{T,I}
    b::Vector{T}
end

Flux.@functor SparseLayer
Flux.trainable(l::SparseLayer) = (W=l.W.nzval, b=l.b)
Optimisers.maywrite(::SparseArrays.SparseMatrixCSC{Float32,Int64}) = true  #TODO: is this right?

function SparseLayer((in, out)::Pair; bias=true, init=Flux.randn32)
    W = sprand(Float32, out, in, 0.5)

    b = init(out)

    return SparseLayer(W, b)
end

(m::SparseLayer)(x) = m.W * x .+ m.b

nnr = Chain(
            Dense(2 => 5),
            # Dense(5 => 4),
            SparseLayer(5 => 4),
           )

fig = plot(nnr, title="With SparseLayer default", titlefontsize=10)

savefig(fig, "layers.png")

It works if the SparseLayer(5 => 4) in nnr is switched with Dense(5 => 4) and the output is quite nice.
With the SparseLayer I defined, I get an error. The start of the stacktrace is
ERROR: LoadError: MethodError: no method matching SparseLayer(::Matrix{ChainPlots.NeuralNumbers.NeuralNumber}, ::Vector{ChainPlots.NeuralNumbers.NeuralNumber})

Closest candidates are:
  SparseLayer(!Matched::SparseMatrixCSC{T, I}, ::Vector{T}) where {T, I}
   @ Main ~/tmp/chainpoint-sparse/plot.jl:8

Stacktrace:
  [1] (::var"#3#4")(y::NamedTuple{(:W, :b), Tuple{Matrix{ChainPlots.NeuralNumbers.NeuralNumber}, Vector{ChainPlots.NeuralNumbers.NeuralNumber}}})
    @ Main ~/.julia/packages/Functors/qBIlC/src/functor.jl:23
  [2] _default_walk(f::Function, x::SparseLayer{Float32, Int64})
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:43
  [3] fmap(f::ChainPlots.NeuralNumbers.var"#1#2", x::SparseLayer{Float32, Int64}; exclude::typeof(Functors.isleaf), walk::typeof(Functors._default_walk), cache::IdDict{Any, Any}, prune::Functors.NoKeyword)
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:50
  [4] fmap
    @ ~/.julia/packages/Functors/qBIlC/src/functor.jl:48 [inlined]
  [5] #18
    @ ~/.julia/packages/Functors/qBIlC/src/functor.jl:50 [inlined]
  [6] map
    @ ./tuple.jl:274 [inlined]
  [7] _default_walk
    @ ~/.julia/packages/Functors/qBIlC/src/functor.jl:43 [inlined]
  [8] fmap(f::ChainPlots.NeuralNumbers.var"#1#2", x::Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}}; exclude::typeof(Functors.isleaf), walk::typeof(Functors._default_walk), cache::IdDict{Any, Any}, prune::Functors.NoKeyword)
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:50
  [9] fmap
    @ ~/.julia/packages/Functors/qBIlC/src/functor.jl:48 [inlined]
 [10] (::Functors.var"#18#19"{typeof(Functors.isleaf), typeof(Functors._default_walk), IdDict{Any, Any}, Functors.NoKeyword, ChainPlots.NeuralNumbers.var"#1#2"})(x::Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}})
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:50
 [11] map
    @ ./tuple.jl:273 [inlined]
 [12] map(::Function, ::NamedTuple{(:layers,), Tuple{Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}}}})
    @ Base ./namedtuple.jl:219
 [13] _default_walk(f::Function, x::Chain{Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}}})
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:43
 [14] fmap(f::ChainPlots.NeuralNumbers.var"#1#2", x::Chain{Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}}}; exclude::typeof(Functors.isleaf), walk::typeof(Functors._default_walk), cache::IdDict{Any, Any}, prune::Functors.NoKeyword)
    @ Functors ~/.julia/packages/Functors/qBIlC/src/functor.jl:50
 [15] fmap
    @ ~/.julia/packages/Functors/qBIlC/src/functor.jl:48 [inlined]
 [16] fneutralize
    @ ~/.julia/packages/ChainPlots/Spvi6/src/NeuralNumbers.jl:133 [inlined]
 [17] neuron_connections(m::Chain{Tuple{Dense{typeof(identity), Matrix{Float32}, Vector{Float32}}, SparseLayer{Float32, Int64}}}, input_data::Vector{Float32})
    @ ChainPlots ~/.julia/packages/ChainPlots/Spvi6/src/utils.jl:78

I see. You have SparseMatrixCSC hardcoded to the type. But can't you simply create a dense layer with a sparse matrix weigth, as in Dense(sprand(Float32, in, out, 0.5), Flux.randn32(in))?

Creating the layer like that is much simpler, thanks!
The plot doesn't quite capture what I want to do with it though.  I am writing a layer in which many of the possible connections are turned off (sort of like a fixed dropout) and I want the plot to only show a lines between nodes that are connected.
Here's a script and the output:
using ChainPlots
using Flux
using Plots
using SparseArrays

rows = [1, 2, 3, 4, 3]
cols = [1, 2, 3, 4, 5]
vals = [1, 1, 1, 1, 1]

l = Dense(sparse(rows, cols, vals, 4, 5))

nnr = Chain(
            Dense(2 => 5),
            l,
           )

fig = plot(nnr)

savefig(fig, "layers.png")

I'm hoping to see only a few edges between the 2nd and 3rd layers, connecting 1->1, 2->2, 3->3, 4->4 and  5->3.
Does that make sense?

Yeah, I saw that coming. I thought that would be what you expected.
The problem is that you want the zeros from the sparse array to behave differently than zeros on regular arrays on layer weights. We would need to change the internals to make this work this way.
Another way is to not do Flux.@functor SparseLayer, in which case ChainPlots would handle this layer as a regular function and not mess with it. In this case, the connections will be showed as you wish.
If you really need to parametrize SparseLayer, then a quick workaround would be to have an alternate SparseLayerAlt without Functor parametrization, just for showing the connections. Actually, you can just use a Dense layer with a sparse weight in your application and use SparseLayer without parametrization just for plotting the connections.

You can even get away with simply

makesparselayer(W, b) = (sparselayer(x) = W * x + b)

nnr = Chain(
    Dense(2 => 5),
    makesparselayer(
        sprand(Float32, 2, 5, 0.3),
        rand(Float32, 2)
   )
)

plot(nnr)

and get

Ok, there are a couple options - I'll have to have a think about how they work

For anyone else who stumbles upon this:
I ended up doing something similar to this suggestion:

Actually, you can just use a Dense layer with a sparse weight in your application and use SparseLayer without parametrization just for plotting the connections.

I just wrote a function to map a Chain containing Dense(w::SparseMatrix, b) layers to the equivalent Chain with those layers replaced by their corresponding regular functions.  Its output acts as desired when used in ChainPlots.jl.
function functionise_sparse_layer(layer)
    return if typeof(layer) <: Dense && layer.weight isa AbstractSparseMatrix
        sparselayer(x) = layer(x)
    else
        layer
    end
end

function functionise_sparse_chain(chain)
    layers = map(functionise_sparse_layer, chain.layers)

    return Chain(layers...)
end

Great! I am glad you sorted it out. I will close the issue but feel free to open it if needed.


💡 [REQUEST] -

Model introduction
codellama-70B-instruction
Model URL
https://huggingface.co/codellama/CodeLlama-70b-Instruct-hf
Data type
float16
Additional instructions (Optional)
No response
Author
Yes
Security

[X] I confirm that the model is safe to run which does not contain any malicious code or content.

Integrity

[X] I confirm that the model comes from unique and original work and does not contain any plagiarism.

Hi, I just updated the scores at https://evalplus.github.io/leaderboard.html for the CodeLlama 70B series including base and instruction-tuned versions. Thanks for the nice work. :)
Meanwhile, I found an interesting result where 70b seems to be worse than 34b on MBPP base while 70 slightly outperforms 34b using MBPP+.

Just noticed that the 70b model is using a different prompt template than the smaller ones: https://huggingface.co/codellama/CodeLlama-70b-Instruct-hf#chat-prompt
I am reopening this request and will re-evaluate the 70b model on the new prompt format.

The results for 70b instruct have been updated. Using the recommended prompts leads to a significant improvement:
https://github.com/evalplus/evalplus.github.io/commit/7e731c54cbdc1def687650efbb06b805ac488360


Please update package to socialiteproviders/manager 1.0.*

jhaoda/socialite-odnoklassniki dev-master requires socialiteproviders/manager 0.1.* -> no matching package found.

Closed by d558bed2f99893adfe1ae1f9f55d3301f2f772c1. Thanks.


Can't reinstall Atom

Would love to use Atom (specifically Nuclide) to develop a react native app, but so far I'm unable to even get started doing so. I installed Atom, installed the Nuclide package, and then I couldn't launch Atom anymore. So I uninstalled it and I cannot reinstall.
Here is the setup log.
2017-08-14 20:59:13> Program: Starting Squirrel Updater: --install .
2017-08-14 20:59:14> Program: Starting install, writing to C:\Users\Daniel\AppData\Local\SquirrelTemp
2017-08-14 20:59:14> Program: About to install to: C:\Users\Daniel\AppData\Local\atom
2017-08-14 20:59:14> Program: Install path C:\Users\Daniel\AppData\Local\atom already exists, burning it to the ground
2017-08-14 20:59:14> IEnableLogger: Failed to copy Update.exe to C:\Users\Daniel\AppData\Local\atom\Update.exe: System.UnauthorizedAccessException: Access to the path 'C:\Users\Daniel\AppData\Local\atom\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__5()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2017-08-14 20:59:14> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\Daniel\AppData\Local\atom\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__5()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
at Squirrel.Update.Program.d__4.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\Daniel\AppData\Local\atom\Update.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Squirrel.Update.Program.<>c__DisplayClass4_1.b__5()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
at Squirrel.Update.Program.d__4.MoveNext()<---

Just had to disable avast.


Use python git bindings instead of parsing git subprocess output

Creating an issue here, as I think it should probably be discussed, and I didn't want to derail the discussion on #40 (sorry @xhochy !)
@FlorianWilhelm - in https://github.com/blue-yonder/pyscaffold/pull/40#issuecomment-86002562 you say that you're against the idea of using python bindings such as pygit2 as it would "lead to further restrictions on the user". Can you explain what you mean by "further restrictions"?
My impression is that we want to keep the requirements for pyscaffold as lean as possible. Introducing a dependency on pygit2 would mean the user would have to install it, and (possibly) also already have a system package such as git-lib installed, or something similar.
With all things considered, is that not preferable to the current situation? By "current situation", I mean:

Parsing output from git, which is bound to break sooner or later, and which makes backwards compatibility (with regards to git) extremely difficult, due to differing output or behaviour between versions
pyscaffold possibly breaking for those who use git in a language other than English
Rube Goldberg-style solutions to problems (e.g. checking output from git rev-parse to determine whether we're inside a git repo)

Point taken and from a developer's perspective I totally agree. Why do we reinvent the wheel if there are libraries like libgit2 and pygit2? But it comes with a price tag. We would have additional dependencies that are quite uncommon. The library pygit2 is of version 0.22.0 and has about 4700 monthly downloads on pypi which is not much. The Ubuntu package of libgit2 (https://launchpad.net/ubuntu/+source/libgit2) states Trusty Tahr (14.04) as being the first Ubuntu version to include it. That's less than one year ago. Windows users would have to actually compile libgit2 before using PyScaffold? I'm all for using libraries but libgit2 and pygit2 seem to be rather bleeding-edge and don't even have post-1.0 releases.
Maybe there are other ways to work around the problems you state:

We should avoid parsing output wherever possible and should not assume English as the user's language. This is why we solve PR #40 without parsing git's error messages.
Unittests that check if PyScaffold works properly in non-English should be provided.
Rube Goldberg machines or let's just call them hacks are sometimes the pragmatic way to go. We should just make sure that they are isolated so that they can be easily replaced later on when libgit2/pygit2 are more mature and established. This is why we have all those small functions like is_git_installed, is_git_configured, is_git_repo etc.

I'd like to here some more comments on that. Anyone else wants to share his/her opinion?

I have a tendency to agree with @FlorianWilhelm . I also do not like hacks or works-on-my-machine solutions. But even worse are avoidable dependencies. We should think of circuit breakers, so that the worst thing that could happen is, that the git repository is not initiated correctly but all the rest is working.
To the dependency-hell:
I would love to see more packages in the unix style of thinking: Do ONE thing, and do it well!
And I add: and do it with as few dependencies as possible.
I don't know these git packages, but my experience is often an awfull feature creep in some packages like these. If all we want to do is to initialize a git repo and maybe get the latest tag, we should consider to just do that in our own codebase and maybe even with a dirty hack...If what we want to do is to write a github clone, we should consider using a "almighty" library...but we are not (yet)

OK, this has been open for about 2 weeks now, and there doesn't seem to be too much discussion. This was really more of a "Denkanstoß" than anything else - I wanted, primarily, to find out why pyscaffold was doing things this way as opposed to the other way.
As both @sebastianneubauer and @FlorianWilhelm are opposed to the idea, I'll close this issue, and propose we should re-open it and discuss things here if at some time in the future the current approach begins to cause us problems.


feat(NumberTheory/ArithmeticFunction): Miscellaneous lemmas about multiplicative arithmetic functions

These are three small lemmas that were helpful while developing the Selberg sieve.

bors merge


Set up color variables and types to ensure color consistency

Summary

Fixes #82
Addresses https://github.com/Open-Science-Community-Saudi-Arabia/MOOCs/issues/10

Set up color variables and types to ensure color consistency.

List of changes proposed in this PR (pull-request)

Added a root  containing color variables to the CSS file
Changed individual colors in the CSS file to assigned variable names.

What should a reviewer concentrate their feedback on?

[x] Color balance
[x] Everything looks ok?
[ ]  Let me know if there's any change that i can remove or add to make this functionality work optimally

@sandygudie @BatoolMM

@Tammy-Ajoko Also, (this is not from you)

I noticed that the existing login and sign-up pages have conflicting class names(for example container)
Also, the login CSS files and signup CSS files are basically the same code,
please can you refactor it to one CSS file for both login and sign-up pages

@sandygudie  I noticed that and was going to make comment on that. I understand what you mean I would refactor it into 1 CSS file and let you know if I have any questions 😊

@sandygudie do I create a new pull request for the refactoring of the be CSS file or just update this one


Primary Key Auto generate with Annotation does not work

Spring 3.2.17
Cassandra 3.4
kundera-cassandra 3.4
Hi,
I'm new to kundera, We rencently uprgrade from Cassandra 1.2 to Cassandra 3 + JPA.
We are facing several issues, one of them is regarding the auto-generation of primary key.
Using:
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private String id;

=> Exception in thread "main" com.impetus.kundera.KunderaException:
[ERROR] 27 mai 2016 17:46:43,212 [main] - Error while executing query SELECT NOW() FROM system.schema_columns LIMIT 1 Exception in thread "main" com.impetus.kundera.KunderaException: com.impetus.kundera.KunderaException: InvalidRequestException(why:unconfigured table schema_columns)     at com.impetus.kundera.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:180)
Using:
@Id @GeneratedValue(strategy = GenerationType.TABLE)
    @Column(name="ID")
    private String id;

First element is created then, second creation returns
[ERROR] 27 mai 2016 17:49:45,515 [main] - Error while reading counter value from tablekundera_sequences, Caused by: .
TimedOutException(acknowledged_by:0)
    at org.apache.cassandra.thrift.Cassandra$add_result$add_resultStandardScheme.read(Cassandra.java:23059)
    at org.apache.cassandra.thrift.Cassandra$add_result$add_resultStandardScheme.read(Cassandra.java:23027)
    at org.apache.cassandra.thrift.Cassandra$add_result.read(Cassandra.java:22961)
    at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
    at org.apache.cassandra.thrift.Cassandra$Client.recv_add(Cassandra.java:948)
    at org.apache.cassandra.thrift.Cassandra$Client.add(Cassandra.java:932)
    at com.impetus.client.cassandra.CassandraIdGenerator.generate(CassandraIdGenerator.java:139)
    at com.impetus.kundera.persistence.IdGenerator.onTableGenerator(IdGenerator.java:208)
    at com.impetus.kundera.persistence.IdGenerator.generateId(IdGenerator.java:77)
    at com.impetus.kundera.persistence.IdGenerator.generateAndSetId(IdGenerator.java:58)

finally
GenerationType.SEQUENCE and IDENTITY are not supported.
Help will be appreciated.
Thanks,

@hToulan
Kundera 3.4 is not yet compatible with Cassandra 3+. We are working on the upgrade and will be available in the next release (planned mid of June).
-Karthik

@hToulan
Upgrade for Cassandra 3.5 has been added to the trunk and it will be available from next release i.e. 3.5 (expected to be released in this month)
-Dev

Thank you for this update.

Hello,
I am having this same issue, but while using Cassandra 3.7 and Kundera 3.5.
Does Kundera 3.5 support Cassandra 3.7?

@Sarpedion
Kundera 3.5 is tested with Cassandra 3.5. It should support 3.7 too as there are no core changes.
-Karthik

Does it work with Cassandra 3.11.0? I am having issue with auto-generation


PHP 7.1 Compatibility

The client is currently not compatible with PHP 7.1
Cannot use Ixopay\Client\Transaction\Void as Void because 'Void' is a special class name

Just push version 2.0.0 to deal with that.
Please note the class Void has been renamed to VoidTransaction


Update configure.yml

Elevate privilidges with become: true for setting the current user shell, seems to be required on my 2017 Macbook Pro (macOS High Sierra 10.13.2)

Thank you!


HBASE-27989. ByteBuffAllocator causes ArithmeticException due to improper poolBufSize value checking

Description of PR
https://issues.apache.org/jira/browse/HBASE-27989
This PR prohibits setting hbase.server.allocator.buffer.size to 0 or negative. A warning is also added if the minimum size for reservoir use is set to zero.


Should we split up the full prompt into multiple messages with the new turbo model?

We have the system setup first, and then can have multiple messages.
We could put the context in it's own message as an example.
E.g.
[{
  role: "system",
  content: "You are a wise ....",
},{
  role: "user",
  content: "Context: ... Question: the question",
},{
  role: "assistant",
  content: "Answer:"
}]

'Answer the question as truthfully as possible using the provided context, and if the answer is not contained within the text below, say "I don't know"\n\nnContext:{context}\n\nQuestion: {query}\n\nAnswer:'
becomes:
[{
  role: "system",
  content: "Answer the question as truthfully as possible using the provided context, and if the answer is not contained within the text below, say "I don\'t know""
},{
  role: "user",
  content: "Context: {context}\n\nQuestion: {query}",
},{
  role: "assistant",
  content: "Answer:"
}]


fix:add token to avoid  github api rate limit

Description
Add token to avoid  github api rate limit
Related Issues
#955
Signed-off-by: csonezp<EMAIL_ADDRESS>

Thank you for raising the issue and modifying the code yourself, and even modifying the documentation accordingly! @csonezp 🙌
The only thing worth discussing is that the new code forces users to set a GitHub token.

since quick start itself requires a GitHub token, it's perfectly fine to change it.
if the token is not empty, use the request with a header. Otherwise, try requesting without the request header, and if you get an error, prompt the user for the token.

Please join CNCF's Slack, and join our channel in CNCF Slack!
Here are a few useful things for you to continue your open-source journey:

If you are searching for something else to work on, please see "find an issue".
Check out our new contributor guide and the "Developer Guide".
Read our blog; they are on Medium, too.

Thank you for raising the issue and modifying the code yourself, and even modifying the documentation accordingly! @csonezp 🙌
The only thing worth discussing is that the new code forces users to set a GitHub token.

since quick start itself requires a GitHub token, we can leave it as is.
if the token is not empty, use the request with a header. Otherwise, try requesting without the request header, and if you get an error, prompt the user for the token.

cc @daniel-hutao @iyear @steinliber
Please join CNCF's Slack, and join our channel in CNCF Slack! Here are a few useful things for you to continue your open-source journey:

If you are searching for something else to work on, please see "find an issue".
Check out our new contributor guide and the "Developer Guide".
Read our blog; they are on Medium, too.

Good idea, i modify the script to compatible with both cases


Deploy configuration without redeploying all exercises does not work

The problem was in the docker-compose file that is not published to the repo


possible new implementation?

I have implemented something like daggy here
how is it different?:

Instead of constructor Functions it uses Object.create
when sum type is created it returns type representative and you can call it as it's just an object
values used to create object is stored as array and there is no need to allocate  new array in cata
type definition is stored in type representative and it allows to have only one cata and toStrings

I believe it has a bit better performance too. would like to hear what others think.

ping @puffnfresh @SimonRichardson

I'll check on Monday if that's ok 😀
On Sat, 21 Jan 2017, 19:08 Irakli Safareli<EMAIL_ADDRESS>wrote:

ping @puffnfresh https://github.com/puffnfresh @SimonRichardson
https://github.com/SimonRichardson
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/puffnfresh/daggy/issues/7#issuecomment-274281413, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcaGAgedt2wdEL0S5C54srstpsAiy1Pks5rUlebgaJpZM4LoSqh
.

np :P

I'm fine with this, it would be good if we can move sanctuary-type-classes to fantasy-sorcery, otherwise this seems like it's a good start.
@puffnfresh you mind if we do a radical thing like this, I'm more than happy for it to move forward!

Don't mind.
Irrelevant; but can it be typed with TypeScript?

I'm fine with this, it would be good if we can move sanctuary-type-classes to fantasy-sorcery, otherwise this seems like it's a good start.

/cc @davidchambers

Irrelevant; but can it be typed with TypeScript?

If you are asking about:

sanctuary-type-classes, i think it's somehow possible.
about this implementations, I think no.

What would be the best way to move forward on this?

create PR here (it will be a breaking change)
create new repo in FL and create PR there
move daggy to FL and do 1.

btw there is also a related work sanctuary-union-type and @JAForbes/sum-type which started as using sanctiary-def for type ckecking on @paldepind/union-type

Question how does a typed union work with types i.e. F A -> B do you have to define new union types when this happens? I have no idea, some link to code would be amazing :) Really interested!

@SimonRichardson I think I didn't understand your question, if you want some example of union
here is Par, Seq, Concurrent from some from my free.

I was on about type checking versions and how it knows what to type check when you've provided a chain for example.

ah, I think @davidchambers is the one who can answer that question :P

@safareli I vote we go for it, we can clean up as we go a long, nothings perfect, we just need forward momentum!

What would be the best way to move forward on this?

create PR here (it will be a breaking change)
create new repo in FL and create PR there (then create a note here about new implementation)
move daggy to FL and do 1.

@SimonRichardson

Move daggy to FL and do 1 imo
On Fri, 27 Jan 2017, 08:08 Irakli Safareli<EMAIL_ADDRESS>wrote:

What would be the best way to move forward on this?

create PR here (it will be a breaking change)

create new repo in FL and create PR there (then create a note here
about new implementation)

move daggy to FL and do 1.

@SimonRichardson https://github.com/SimonRichardson
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/puffnfresh/daggy/issues/7#issuecomment-275610285, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcaGFF-0anVFfNI-Rk0STT_uE7vP5pvks5rWaYIgaJpZM4LoSqh
.

ok will open PR here then, we can move it later too.


[DOCS] create a tutorial of using Argilla with llama-index

Which page or section is this issue related to?
@alvarobartt, perhaps you would like to work on exploring this during the coming weeks.

Sure, thanks for proposing it @davidberenstein1957! Let's discuss internally and prepare something 👍🏻

https://docs.argilla.io/en/latest/tutorials_and_integrations/tutorials/feedback/fine-tuning-openai-rag-feedback.html

@alvarobartt , I @ignacioct  to tackle this because he has a bit more time and enjoys creating and sharing these kinds of contents.


error: corrupt patch at line 27

Following this https://github.com/city96/ComfyUI-GGUF/tree/main/tools
I get a error: corrupt patch at line 27 when running the command git apply ..\lcpp.patch
As for when i run python convert.py --src model is it meant to create a GGUF file in the same folder as the safetensor file?

For the patch, see here: https://github.com/city96/ComfyUI-GGUF/issues/90#issuecomment-2323011648 - not sure if the fix works but it seems to be the same issue so let's track in there.

is it meant to create a GGUF file in the same folder as the safetensor file?

Yes unless you specify --dst

For me it did not make a GGUF file and i got no error

I guess if you run out of system memory it might crash to console with no error. How far did it get when you ran convert.py? i.e. what was the last message it printed out.

System memory was a problem as it did nothing for a second or two and then went back asking for inputs.
After a restart this is what i get
Architecture detected from input: flux
  0%|                                                                                | 0/780 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "D:\AI\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-GGUF\tools\convert.py", line 192, in <module>
    handle_tensors(path, writer, state_dict)
  File "D:\AI\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-GGUF\tools\convert.py", line 113, in handle_tensors
    data = data.numpy()
           ^^^^^^^^^^^^
TypeError: Got unsupported ScalarType Float8_e4m3fn

Pushed a fix. That checkpoint seems to be in FP8 while the conversion requires FP16 (gguf/numpy can't handle FP8 afaik). Now it's just converted on the fly.

That seams to have fixed it. Atleast now it's working on the file.


Logout and login back gives Username does not exist message

Click on the user icon on the header.

It brings up the below shown screen. Note that the user name is Camel-cased. Actual username is -elsylambert.

Clicking on the logout button, logs me out. and Username and Pwd boxes are enabled with the values in. Those values are incorrect, so if I click on the Login button again, it gives User does not exist or username is invalid message,

Is this still an issue?

Still an issue in GLtS v0.9.0-alpha.14. The values stored in Point 2 above in the screenshot are not correct.

This is an odd bug. I'm not exactly sure what is going on but seems to be related to another bug that occurs. From time to time, coming back to GLTS when you are already logged in, you are unable to open a file. It appears as though the saved token is no longer valid, but the local token does still exist on the server.
The complication comes in the situation you documented, when you log out and log back in, it should create a new token, but it is not working for some reason until the browser is reloaded or page refreshed.
@elsylambert Are you able to confirm that refreshing the page fixes the problem even though it's just temporary to ensure I'm seeing the same bug?

@klappy Yes, refreshing the page fixes the problem.

A temporary fix for this could be to periodically attempt to access an API endpoint to ensure there is not a 401 error coming back. If a valid result doesn't come back, we can alert the user that we will have to reload the page to fix the problem.

Just tested this with translationCore Create - v0.9.0-beta.6. It confirmed an aspect I didn't see discussed above. Namely, if you click the logout button (which is on a model dialog window), then click away, the main window under it is another login - but not a modal dialog window.
Furthermore, the credentials that are filled are correct and work every time I have tried just clicking the login button there.
This suggests that a simple solution is "just close the dialog after the logout button is clicked".
This in turn suggests that we eliminate the modal dialog altogether and just have a drop down menu with a logout option when user clicks their avatar button.
@klappy @birchamp @elsylambert
Thoughts?

@klappy @BincyJ
Propose the following to address this issue.
Definitions:

"logged out state": this means either a) no authentication key exists in indexedDB;
or b) the authentication object has an empty string for token/sha1
(and or config/Authorization - it is stored in both places).
"logged in state": this means that the authentication key exists and the value
has both username and token values.
"authentication key": the key "authentication" in the tc-create-app-state-store. An example value is below.

Requirements:

If application is started in a logged out state, then if authentication key exists, populate the username field and the value for the remember me checkbox. If multiple people use the same device, then it can easily be retyped. The user  must then supply a password and click the button which must have the text "login". If "remember me" is checked then update the token in the authentication object and save it.
If application is started in a logged out state, and if authentication key does not exist, then present an empty form and let user supply username, password, and optionally check "remember me", then click the login button. Upon successful login, the authentication key is created if it did not exist and is updated if it does.
If application is started in logged in state, then if "remember me" value is true, then automatically attempt login. If successful, then start at step 2
If application is started in logged in state, then if "remember me" value is false, populate username; user must supply password, optionally check "remember me", and then click the login button
If user logs out and "remember me" is true, return to app state 1 with login form populated.
If user logs out and "remember me" is false, update the authentication object to remove tokens, return to app state 1 with login form populated with username and "remember me" value.

An example value:
{"user":
{"id":13993,
"login":"cecil.new",
"full_name":"",
<EMAIL_ADDRESS>"avatar_url":"https://bg.door43.org/avatars/f8a86db8b875c63428a3d89dae47cf84",
"language":"","is_admin":false,"last_login":"2020-06-24T13:16:03Z",
"created":"2019-09-19T13:37:42Z",
"username":"cecil.new"
},
"token":
{"id":5552,
"name":"tc-create-app",
"sha1":"e3c0270c43d8de252a9c92c61660ca11c7d98623",
"token_last_eight":"c7d98623"},
"config":
{"server":"https://bg.door43.org",
"tokenid":"tc-create-app",
"headers":
{"Content-Type":"application/json",
"Authorization":
"token e3c0270c43d8de252a9c92c61660ca11c7d98623"}
}
,"remember":true
}"

After a brief discussion with @klappy this is how I am going forward:

move code in Authenticate.js into the custom hook useAuthentication.js; note that the former has similar functions (they are duplicative).
remove the former as it will no longer be needed.
expose new actions that will allow developers to use the code without the UI components, namely, login, logout, update? -- where "update" may simply invoke a closure from the using app to persist ("remember me")
remove the demo page as well for Authentication.
the custom hook will now return a Login component, not an Authentication component
make a new demo for the custom hook

@klappy (sorry to keep adding to the things I want you review! enjoy your day off)
It occurred to me that even if we remove the auth persistence in GRT, we could still configure the Auth Context with app level persistence functions, passed as closures. If GRT must pass authentication with every API call, then at least it needs a "get auth" to obtain the app's persisted credentials.
Thoughts?

@mandolyte Can this be tested in an RCL? Please post the link here.

Yes, at: https://deploy-preview-40--gitea-react-toolkit.netlify.app/#/Authentication ?id=authenticationcontext
I will begin to integrate into tc-create-app tomorrow. Which may result in further changes...
@elsylambert

@mandolyte Authenticate Form looks good but the login form does not function properly. I entered UN and PWD but the sign In button did nothing upon clicking.

Here is what you should see...
This image is first; my credentials are being inserted by LastPass. If you are not using a password manager, the Username and Password should be empty.

When you supply the u&p, you will see the same form, but now for logging out. Like this:

If you check "keep me logged in", then you won't see much difference. That checkbox will persist the login token so that an app like tc-create can skip the login since you are still logged from last login. If left unchecked, then each time you start the app, you need to supply u&p.
Does this match what you see?
https://deploy-preview-40--gitea-react-toolkit.netlify.app/#/Authentication ?id=authenticationcontext
@elsylambert @klappy

Works fine as per @mandolyte comments. Seeing the expected behaviour in GRT.

Found a weird bug when we deployed to develop.
It looks like the IndexedDB format for keyvaluepairs / authentication changed in the most recent updates to tc-create-app.  That's causing incompatibility (crash) if a user had the old style authentication value.
Looks like in the old style, the value was marshaled as a string (stringified object);
while in the new style, the value is stored as a proper object.
OLD:

NEW:

Looks good in translationCore Create - v1.0.0-beta.8. After the user logs out, the password field is empty, and after entering the password , user can log back in without seeing the "Username does not exist" message.
Written up #198 for a finding during testing this issue.
Since, this issue fixes the original problem, I am passing this issue.


[BUG] Vulnerabilities with Azure Key Vault for Java

Azure Key Vault for Java has vulnerabilities with one of its dependencies in v1.2.1:
com.fasterxml.jackson.core:jackson-databind 2.9.7
Please find report here: https://dev.azure.com/sqlclientdrivers-ci/mssql-jdbc/_componentGovernance/112445/alert/1439591?typeId=764536
Please upgrade dependent library to 2.9.8

Thanks for bringing this up.  We're already tracking this issue here: https://github.com/Azure/azure-sdk-for-java/issues/2970  No ETA yet.


BDC wizard Docker image tag "2019-RC1-ubuntu" needs to change to "latest"

ADS Deploy SQL server Wizard  > BDC > Docker Sessions Image Tag is set to "2019-RC1-ubuntu", can we update the image tag in that wizard to use "latest" instead of "2019-RC1-ubuntu"?

Azure Data Studio Version:
Version: 1.14.0-insider (user setup)
Commit: c70e7794ebe1bdff82aafc149ae104ba587bd1a6
Date: 2019-11-05T08:55:52.327Z
VS Code: 1.38.0
Electron: 6.0.12
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

@rl-msft This value is not hard coded in ADS, it is coming from azdata, I guess you are not using the latest azdata, I am seeing 2019-GDR1-ubuntu-16.04.

latest image tag is not recommended since your local azdata might not work with the latest image out there.

thank @alanrenmsft


Add support for rendering BigInt

Summary

How did you test this change?

Current dependencies on/for this PR:

main

PR #4

PR #5   👈

This comment was auto-generated by Graphite.


Pi Finder auto update fail. Are you connected to the internet? (Yes, I am)

Why is running Pi Finder conditional on connecting to the internet to update? Surely it should be able to run on my Windows 8.1 PC as released?  Plus, I was connected to the internet.

I'm having the same problem with the 3.0.0 release. I'm using the school wifi, so there might be a firewall, any way to get around it?

Start the app as Administrator and it will go straight in :)

Im having this issues too, Even with adminsitrator permission.

I am using Linux now and I just ping all devices on my home network.  The command will be similar if you are using a Windows Power-Shell Terminal. From experience, all ip addresses on my home network start with 192.168.43...   So I make a loop to cycle the last digit from <IP_ADDRESS> through to <IP_ADDRESS> like this:
for ip in $(seq 1 254); do         ping -c 1 192.168.43.$ip | grep "bytes from" | cut -d " " -f 4 | cut -d ":" -f 1 &     done
Do this once with your Pi turned off, and once with it turned on, and note the difference. Make sure your home router/hot-spot is turned on.
The you can simply type:
ssh<EMAIL_ADDRESS>type 'yes' to add the address permanently, and enter raspberry as the password.


add bower or npm support for installing with packagemanager

http://bower.io/docs/creating-packages/

This is the first time I published anything to npm or bower.....hopefully I did it correctly.


feat(accordion-panel): Updated icon section to a separate template

Description
This update allow overwrite in an easy way the icon, as usually we extend outline-accordion and create custom styles in a new component but if we want change the icon we should overwrite all the render function, with a template we can just overwrite this template.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[x] Visual Testing

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] 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 added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@drakkaroy implemented this on a project we're on where we just wanted to updates styles including the icons used. Styles were easy enough by redefining the CSS to use in the class, but this was helpful to avoid a complete overwrite of the render method.


.NET 5.0 | Implement SqlException.IsTransient

https://github.com/dotnet/runtime/issues/34817 introduces DbException.IsTransient for .NET 5.0, database-agnostic transient error detection. Note that this is orthogonal to SqlClient's own resilient connection mechanism - IsTransient is only about surfacing error transience to external retry strategies/policies such as Polly.
Note that EF Core's SQL Server provider has a transient exception detector, this could be a starting point for implementing this within SqlClient. The goal would eventually be for EF Core to rely on the new IsTransient property rather than contain specific knowledge on SqlClient error codes.

Please consider adding some of these that EF Core's SqlServerTransientExceptionDetector does not recognize:

Number
Severity
Message
Reasoning

601
12
"Could not continue scan with NOLOCK due to data movement."
Advice in Hints (Transact-SQL) - Table

617
20
"Descriptor for object ID %ld in database ID %d not found in the hash table during attempt to unhash it. A work table is missing an entry. Rerun the query. If a cursor is involved, close and reopen the cursor."
"Rerun"

669
22
"The row object is inconsistent. Please rerun the query."
"Rerun"

921
14
"Database '%.*ls' has not been recovered yet. Wait and try again."
"Try again"

1203
20
"Process ID %d attempted to unlock a resource it does not own: %.*ls. Retry the transaction, because this error may be caused by a timing condition. If the problem persists, contact the database administrator."
"Retry"

1204
19
"The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions."
"Rerun"

1221
20
"The Database Engine is attempting to release a group of locks that are not currently held by the transaction. Retry the transaction. If the problem persists, contact your support provider."
"Retry"

1222
16
"Lock request time out period exceeded."
"Time out"

3935
16
"A FILESTREAM transaction context could not be initialized. This might be caused by a resource shortage. Retry the operation. Error code: 0x%x."
"Retry"

3960
16
"Snapshot isolation transaction aborted due to update conflict. You cannot use snapshot isolation to access table '%.*ls' directly or indirectly in database '%.*ls' to update, delete, or insert the row that has been modified or deleted by another transaction. Retry the transaction or change the isolation level for the update/delete statement."
"Retry"

3966
17
"Transaction is rolled back when accessing version store. It was earlier marked as victim when the version store was shrunk due to insufficient space in tempdb. This transaction was marked as a victim earlier because it may need the row version(s) that have already been removed to make space in tempdb. Retry the transaction"
"Retry"

8628
17
"A time out occurred while waiting to optimize the query. Rerun the query."
"Rerun"

8645
17
"A timeout occurred while waiting for memory resources to execute the query in resource pool '%ls' (%ld). Rerun the query."
"Rerun"

8651
17
"Could not perform the operation because the requested memory grant was not available in resource pool '%ls' (%ld).  Rerun the query, reduce the query load, or check resource governor configuration setting."
"Rerun"

9515
16
"An XML schema has been altered or dropped, and the query plan is no longer valid. Please rerun the query batch."
"Rerun"

10922
16
"%ls failed. Rerun the statement."
"Rerun"

14355
16
"The MSSQLServerADHelper service is busy. Retry this operation later."
"Retry"

17197
16
"Login failed due to timeout; the connection has been closed. This error may indicate heavy server load. Reduce the load on the server and retry login.%.*ls"
"Retry"

20041
16
"Transaction rolled back. Could not execute trigger. Retry your transaction."
"Retry"

Also, if SqlClient does not recognize the specific error code, perhaps it can still treat some of the Database Engine Error Severities as transient; like 13 (deadlock) or 17 (out of resources).

EF Core's SqlServerTransientExceptionDetector returns true if it finds at least one transient error in the SqlException.Errors collection. Should SqlException.IsTransient instead treat some errors as always permanent, so that it retuns false if the collection contains at least one always-permanent error, regardless of whether the collection also contains transient errors? Severity 15 (T-SQL syntax error) could be a candidate for that.

@KalleOlaviNiemitalo that's great, thanks for this info! Your suggestion below also makes sense to me - if there's any non-transient error in the SqlException, that means there's no use to retry since that error will happen again, so we may as well return false from IsTransient.
/cc @ajcvickers for the error codes missing in the EF Core SQL Server provider.

To be clear, I do not suggest returning false from SqlException.IsTransient if SqlException.Errors contains two errors, of which one is recognized as transient and the other is not recognized at all. The suggestion was for errors that SqlClient specifically recognizes as always-permanent.

The suggestion was for errors that SqlClient specifically recognizes as always-permanent.

I tend to see it the other way - if there's a chance that an error could be indicating a transient problem, then that's a good reason for surfacing it as transient. From this discussion on MySQL:

Which specific errors are classified as transient is of course a provider decision. However, the way I think about it is to err on the side of false positives, rather than conservatively erring on the side of false negatives. A false positive would typically mean a needless retry (which doesn't seem critical), whereas a false negative would mean throwing where a retry may have result in success.

See also the note in the IsTransient proposal about the property being "optimistic".
So I'd say, if there's a single error in the exception which is known to not be transient by nature, the entire exception should report IsTransient=false; otherwise, it should return true. A pragmatic approach may make sense here - we should keep in mind that the use of this is to trigger retrying by an upper layer.
/cc @bgrainger @fransbouma @ajcvickers

So I'd say, if there's a single error in the exception which is known to not be transient by nature, the entire exception should report IsTransient=false; otherwise, it should return true.

In that case, SqlException won't need a list of transient error numbers at all, as it will only recognize errors that are "known to not be transient by nature".

At least for PostgreSQL (which I maintain), the (vast) majority of errors are still non-transient, so it seems to make sense to have a list for errors that are known to be (possibly) transient. That may not be the case for SQL Server, though I'd be surprised.

@AndriySvyryd has traditionally been the steward of which codes we treat as transient.

Hi @KalleOlaviNiemitalo @roji

So I'd say, if there's a single error in the exception which is known to not be transient by nature, the entire exception should report IsTransient=false; otherwise, it should return true. A pragmatic approach may make sense here - we should keep in mind that the use of this is to trigger retrying by an upper layer.

I agree with this too!
In the initial phase, the list of transient errors that the driver would recognize as "transient" is driven by Azure's documented error numbers: Transient Fault Error Codes as currently SqlClient retries on.
The error messages documented above are good recommendations, but as client drivers work close to SQL Server/Azure Standards, only errors listed "transient" by server are handled implicitly in SqlClient. ORM frameworks like EF Core posses the flexibility to implement their own retry policy based on experiences and application errors, as it's an external extender.
We will take them into discussion when we work on this activity internally in order to provide best experience to customers, but we also would need to abide by driver policies to reflect server-side transient policies.

It doesn't sound like there is consensus on what a transient exception is and if that's the case adding the feature without a way to configure it sounds like setting ourselves up for years of issues of people saying one thing or another should be transient. To avoid that could we add something at a process level (so at provider level in the api) which lets users add whatever we end up needing to determine if an error is transient? If other providers end up needing the same functionality the implementations could be promoted to a common api in .net 6.

I want to sidestep the question of what should be considered a transient error for now to focus on the biggest advantage of this API. In the past SQL Azure has changed the list of transient errors requiring changes to the application, EF Core or SqlClient to change the retry policy accordingly. If SqlClient implements SqlException.IsTransient by delegating to the server (when that's where it originated) then such behavioral changes won't be breaking any more.
A related useful API would be a TimeSpan RetryAfter property that provides a baseline for the recommended delay before retrying depending on the error, but this would need to be provided by the server to give the most benefit.

But if we delegate to the server to decide if something is transient how do we know if inability to connect to the server is transient... 😀
More seriously is there something in sql that we can query to get a list of transient exceptions?

@Wraith2

It doesn't sound like there is consensus on what a transient exception is and if that's the case adding the feature without a way to configure it sounds like setting ourselves up for years of issues of people saying one thing or another should be transient.

I think that's giving up a bit quickly here; this is definitely something we need to discuss thoroughly in order to arrive at a good definition, but I think that's certainly possible. I don't believe transience is a concept that really varies that much, and pragmatically speaking I think most applications are going to have the same needs around this.
EF Core's transient error detector could be considered a pretty good proof of this; the built-in retrying strategy identifies the codes it identifies, and we've rarely had users arguing for a different concept of transience. What we have seen, as @AndriySvyryd wrote, is changes in actual error codes. Note also that the EF Core detector has been copied and pasted for use outside of EF Core (e.g. https://gist.github.com/hyrmn/ce124e9b1f50dbf9d241390ebc8f6df3#file-sqlservertransientexceptiondetector-cs), which is exactly why I think this kind of knowledge should go into SqlClient.

To avoid that could we add something at a process level (so at provider level in the api) which lets users add whatever we end up needing to determine if an error is transient?

The whole point of this API is for the DB provider to report to an upper layer (Polly, EF Core, LLBLGen Pro) what it considers to be transient for the general, common case. If an application wants to customize which errors are considered transient, it can simply do that at that upper layer, i.e. defining a Polly/EF Core retrying strategy that does whatever the user wants. In other words, I don't think it makes any sense for users to call a SqlClient API which changes what SqlClient reports in IsTransient, when that IsTransient API is itself called by the user (via Polly/EF Core). If you want to control what's considered transient and what isn't, that's totally fine - you can just customize your Polly/EF Core policy and leave SqlClient out of it.
I also very much agree with @AndriySvyryd on the problem of changing error codes in SQL Azure.

Ok,

Have you considered trying to add the feature? the codebase is in the repository.

@rcmosher @Wraith2 I just submitted a PR containing a copy of the most recent EFCore implementation.
Feel free to comment on this PR.

The goal would eventually be for EF Core to rely on the new IsTransient property rather than contain specific knowledge on SqlClient error codes.

My concern, based on the status of the current PR, is that it's going to be a lot harder to maintain this list in SqlClient than in EF Core :(

What about false positive results?
This SQL also produces error code 121, but it's a syntax error:
CREATE TABLE #MyTempTable
(
    Col1 INT,
    Col2 VARCHAR(255)
);

INSERT INTO #MyTempTable(Col1, Col2) SELECT Col1, Col2, Col2 AS ColTooMany FROM #MyTempTable ;

I've seen many implementations which contains error code 121, but no one cares about it.
The problem is that SQL error codes are conflicting with Win32 error codes.
I think it also affects error codes 64, 121, 233, 10053, 10054 and 10060
Checking the inner Win32Exception can be a solution, but also not perfect in the case of multiple errors.


avoid intermediate display of sequentially loaded truth and forecast elements

when changing a forecast location or week, the truth data generally loads faster than the forecast data. This results in some intermediate updates and "jumps" when the plot is updated first with new truth data and second with new forecast data. I'm not sure of the best approach for preventing this, but here's one proposal:

Whenever we're reloading truth or forecast data, set a flag indicating that (so we might have 3 flags, one for reference date truth, one for current truth, and one for forecast data)
Whenever the callback for successfully loading one of those runs, set the flag for that item to indicate that the updated data are available and place the data in a temporary variable in the data store. Then, simultaneously update the data in the store only if all required flags indicate the requisite data are available.

Within each of fetch_current_truth, fetch_as_of_truth, and fetch_forecasts, flow could be like:

Set a flag in the store like fetching_current_truth = True (or similar for as_of_truth or forecasts)
Dispatch the data fetch action
Unset the flag for the current data fetch type (e.g., fetching_current_truth = False)
Check whether all three of fetching_current_truth, fetching_as_of_truth, and fetching_forecasts are False

If at least one data fetch is still in progress, save the results for the data fetch that just completed to a temp variable in the store, e.g. current_truth_fetched
If all are false, update all three of those data items in the store, setting current_truth = current_truth_fetched, as_of_truth = as_of_truth_fetched, forecasts = forecasts_fetched.

Alternate suggestions:

Updates of the plotted data in the store don't happen in the fetch_... function. Instead those, set temporary variables in the store, and then once all data fetches are complete, the store variables with plotted data are updated from the temporary variables within the functions like set_location, etc.
Is there a way to pause updates to vue components when store data are updated? If so, pause updates just before issuing the data fetches, then resume updates after fetches are complete. This would happen inside of the functions like set_location.


Added Social media icons

Pull Request Title
Add Social Media Icons
Pull Request Description
This pull request enhances the user experience by adding social media icons (GitHub, Stack Overflow, Discord, and Twitter) to the site. The icons use Font Awesome for consistency and visual appeal.
Fixes #140
Changes Made

Installed Font Awesome: Added Font Awesome CSS via a CDN link in docusaurus.config.js.
Updated custom.css: Modified the CSS to include Font Awesome icons for the navbar and footer links.
Updated docusaurus.config.js: Ensured the navbar and footer links are correctly configured.

Detailed Changes

docusaurus.config.js:

Added the Font Awesome CSS CDN link to the stylesheets array.
Ensured navbar and footer links are correctly set up for GitHub, Stack Overflow, Discord, and Twitter.

custom.css:

Added CSS rules to insert Font Awesome icons before the respective footer links.

Testing
Tested locally and confirmed that the social media icons appear correctly in the footer.
Screenshots
![Navbar with icons]

![Footer with Icons]

Hi @subhadipbhowmik I have resolved the merge conflicts in the docusaurus.config.js file. The conflicts were in the navbar section. Please review the changes and let me know if there are any further issues.
Thank you!


MCU wont enter deep sleep

Hi Atmosic team,
I know this project is still under development, earlier last month I contacted support and asked several things regarding the Zephyr integration. Now, I have used some of the preliminary releases to build my project.
I found an issue around power management where the device won't enter deep sleep mode. For easy replication, I used the blink example and just add -DCONFIG_PM=y in my build script.
The evk that I use is ATMEVK-3330e-QN-6, and I follow the jumper configuration guide for power profiling.
I'm using MCUBOOT and following the guide in zephyr/board/atm33evk/doc to build the project
The dts I used is ATMEVK-3330e-QN-7
I saw the application is loading correctly and the led is blinking.
But here is the power consumption result that I had.

i saw that the power.c file is already implemented. is there a power management example that I could refer to?

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file password: changeme In the installer menu, select "gcc."

phising?


Send related databases info - json pattern

Database containing .json format addresses

Status: @Irio will check this data, probably in a notebook in the main repo, and afterwards we decide how to proceed with this PR ; )

Hi all, quick question here: Why isn't all of the addresses condensed in one single big json file?

Also, shouldn't this be a compressed file uploaded to our S3 instead of 70 files inside the toolbox?

Closed by inactivity.


A proposal for a package manager

disclaimer: this is not a feature request nor a bug report I just wanted to share my two cents.

Right now I just build all my external dependencies by putting the source in a folder and writing a unit for it.
For example, to use zlib:

Download/clone unpack zlib into <workspace>/vendor/zlib-1.2.13
Add StaticLibrary unit "zlib" to units-vendor.lua
Depend on zlib when I want to use zlib.

StaticLibrary {
    Name = "zlib",
    Sources = {
        "vendor/zlib-1.2.13/adler32.c",
        "vendor/zlib-1.2.13/compress.c",
        "vendor/zlib-1.2.13/crc32.c",
        "vendor/zlib-1.2.13/deflate.c",
        "vendor/zlib-1.2.13/gzclose.c",
        "vendor/zlib-1.2.13/gzlib.c",
        "vendor/zlib-1.2.13/gzread.c",
        "vendor/zlib-1.2.13/gzwrite.c",
        "vendor/zlib-1.2.13/infback.c",
        "vendor/zlib-1.2.13/inffast.c",
        "vendor/zlib-1.2.13/inflate.c",
        "vendor/zlib-1.2.13/inftrees.c",
        "vendor/zlib-1.2.13/trees.c",
        "vendor/zlib-1.2.13/uncompr.c",
        "vendor/zlib-1.2.13/zutil.c"
    },
    Includes = {
        "vendor/zlib-1.2.13"
    },
    Propagate = {
        Includes = {
            "vendor/zlib-1.2.13"
        }
    }
}

But what if I could do this?
Program {
  Name = "awesome-zip",
  Depends = {
    "https://github.com/madler/zlib#zlib"
  }
}

As part of the build or as part of some package manager:

Shallow clone into <workspace>/t2-packages/zlib
Append units from <workspace>/t2-packages/zlib/zlib.lua to units-packages.lua (and maybe remap some names)

And you should be to build it like so:
Build {
  Units = {
    "units-packages.lua", -- managed by package manager
    function()
      Program {
        Name = "awesome-zip",
        Depends = {
          "t2_pkg_zlib_zlib"
        }
      }
    end
  }
}

Stuff like this is like opening the biggest can of worms ever! but there are some good ideas out there on what to do and what not to do. I'm really impressed by what the Go authors did in this space and I think they had many good ideas.

https://www.youtube.com/watch?v=F8nrpe0XWRg

If there's any interests in this from the community I would like to try and hash out some kind of spec for how you could package and share code that will be built with Tundra. For example, it is unlikely that the zlib GitHub repo will contain a units.lua file but one could be provided from a repository if there was a simple package manifest format that could combine source location and Tundra unit definitions. I don't suggest hosting a repository but maybe we could dedicate a github repo for this purpose.
This way, looking up a package is simply a fetch from this github repo which may reside on github.com or locally (i.e. it's just a local file system). Installing "zlib" is just looking up the name "zlib.json" in this repo. Here's an example of a package manifest JSON:
{
  "source": {
    "type": "git",
    "url": "github.com/madler/zlib#15c45ad"
  },
  "units": [
    {
      "name": "zlib",
      "sources": [
        "adler32.c",
        "compress.c",
        "crc32.c",
        "deflate.c",
        "gzclose.c",
        "gzlib.c",
        "gzread.c",
        "gzwrite.c",
        "infback.c",
        "inffast.c",
        "inflate.c",
        "inftrees.c",
        "trees.c",
        "uncompr.c",
        "zutil.c"
      ],
      "propagate": {
        "includes": ["."]
      }
    }
  ]
}

"source" could be changed to something like:
{
  "type": "fs",
  "path": "D:\\dev\\github\\zlib"
},

In which case you just symlink this path into something like a <workspace>/t2-packages/zlib.
I don't want to go crazy with this but what I want to do is to spread tundra and make it more valuable for people to adopt. And I strongly believe in keeping things simple. To me, a Tundra package is ideally just a way for me to obtain the source and some unit definitions that I can then reuse in my Tundra projects. Not all projects in the world wide web will lend itself to this approach and I think that's fine. I also think it might be possible to do this without changing a single line of Tundra source code. Maybe add a special unit type for some name remapping/namespace feature but that's it.
If the interest in something like this is low I will close this issue otherwise I might make a few experiments and see what sticks.

I appreciate what you're trying to do, but I don't want to put a package manager in this build system. It seems to me you could get 99% of what you're trying to here with a pre-processing tool that would load the build scripts and run the checkouts as needed, perhaps making additional source list files. That way there's less stuff that can break in Tundra itself.

Yeah, no I get that. No worries.
I think I was just looking for a place to talk about this.

I think it's an interesting idea, but yeah, it comes with lots of issues.

I think I'll revisit this in the future. See what I can be done. I'll ping you guys on Twitter if/when I have something to share.


Home.controller.js has wrong name, and App.view.xml does not reference its own controller.

OpenUI5 version: Latest
Browser/version (+device/version): Chrome
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
https://github.com/SAP/openui5-basic-template-app/blob/97d638c2d2977f71da28aca31323dec0ae60fb7f/webapp/controller/Home.controller.js#L7
Any other information? (attach screenshot if possible)
I think that the Home.controller.js controller file has the wrong name of sap.ui.demo.basicTemplate.controller.App instead of sap.ui.demo.basicTemplate.controller.Home.
Also the App.view.xml does not have controllerName="sap.ui.demo.basicTemplate.controller.App" specified in it, which makes it very misleading as to why the App.controller.js was not doing anything, even though the file's existence implies that it should be doing something.

Hi @entmike ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Florian

Hi @entmike ,
thanks a lot for reporting this issue and making this app more helpful. Fix is already merged.
Best Regards,
Florian


MathJax breaks in IE

Hello,
We are running MathJax2.5 and have found that it breaks in IE with our solution. Through debuggin, we have found that it breaks when function EVAL is called with the input variable code with the value ";\n1;".
We fixed this issue by changing the EVAL function as follows:
var EVAL = function (code) {
    if(code == ";\n1;") {
        return eval.call(window, "")
    } else {
        return eval.call(window, code)
    }
};
However, I imagine that there must be a better way to resolve this issue, and we have no understanding why the solution fails when code is ";\n1;", nor why code is ever  ";\n1;".

Please provide more detailed information and a live sample that exhibits the problem.


[resolves #1992] Add support for component consul

Thanks @ppalaga. Two final things. Please can you trim off the issue number from consul                                              #1992 in component.roadmap and then squash your commits.

consul #1992 trimmed in  b31a996

60ad982  now refers to a newly created issue.

@tdiesler are you happy with this?

Almost there, we're just missing a license header now on ConsulServiceDiscoveryTest.

087c301 adds the license header

ok to test


Fixed point width inference was wrong when binary points didn't align.

@chick I'm not sure how this escaped some of the mixed width/binary point tests... Basically, if I was subtracting a <<9>><<0>> number from a <<22>><<21>> number, the immediate output was right... but when the output was passed through subsequent ops, getWidth was wrong (therefore cloneType was wrong... and everything after that was wrong).

@ucbjrl can I merge this now?

Be my guest.


Confirm Box Synchronization

Noty version: 2.2.7
Browser: All
OS: Window
jsFiddle link (if available): .....

Hi All,
I started to use jquery noty and it's very easy to implement.
I want to use the confirm box. It's very easy to implement. My issue is that I want to use it like javascript confirm box where the execution of code below it, is  stopped until "Okay" button is pressed. But here the box is displayed and code below is also executed.
Any idea!
Thanks in advance.

You can move your code block into button's click callback.


feature: disable the auto hilight on search ?

That would be great to disable the auto-hilight when searching.
https://github.com/yourlabs/jquery-autocomplete-light/blob/master/dist/jquery.autocomplete-light.js#L493

That would be all right technically, but why would someone want that ?

In the case when you have autocompletion with a traditional search field redirecting to a search page (like steampowered.com)

I see, the actual behavior prevents that. So, one fix would be to add a
simple choice that would redirect to the search page at the top of your
autocomplete box template. Then, the first choice would cause a redirect to
the search page. Would that work for you ?

Hi, I work with @superzazu.
Your solution would work, however, it would require to change our templates, and to do some CSS to mask the first choice.
Since a lot of autocompletes (like Google's, for exemple) does not select the first choice by default,
it seems okay to me to add this in autocomplete-light.
We were thinking about an argument for the yourlabsAutocomplete function, something like:
$('#yourInput').yourlabsAutocomplete({
    url: '{% url "your_autocomplete_url" %}',
    choiceSelector: 'a',
    autoHilightFirst: false,
});

If autoHilightFirst defaults to true, I think it keeps backward compatibility.

Don't get me wrong, I don't have anything against adding this feature, but
we're not supposed to change code without adding test code. So far we have
selenium tests inside django-autocomplete-light which partially cover the
JS. The current idea is to try to start adding unit tests inside
jquery-autocomplete-light and for the moment well I couldn't move forward
on that because there are more pressing issues (#442 namely).
So it seems wise to try to find a way to solve your actual problem with the
current codebase because adding a test for this would either require more
selenium tests either get started with jquery-autocomplete-light's own
tests - which are currently to be started ;)
Correct me if I'm wrong, but you already have a custom template for this
feature don't you ?
What kind of server-side code is filling this autocomplete box ? Isn't it a
custom view ?
In which case would you want to mask the first choice ? That I didn't
understand at all.
Anyway, if you're up to contributing tests for this, be it in django with
selenium or in jquery-autocomplete-light (which I'd prefer) then I'm all
for having your PR ;)

Thank you for you fast answers. We totally understand there are more important things to solve right now. I'll submit a PR in jquery-autocomplete when I have some time.

Thinks was fixed by @superzazu in yourlabs/jquery-autocomplete-light#9.
Grats B)


Chrome Dev Tools Integration?

I'm trying to find if this has integration for Chrome Dev Tools. It would be cool to have it be an option under output methods: http://bricss.net/post/33788072565/using-sass-source-maps-in-webkit-inspector

Issue resolved. Closing issue. Scout-App's "Development" environment option will output Sass maps.

Scout-App 2


chore: add package json on all pipes

/claim #823

chore(pipe-anthropic-computer-use-meeting-assistant): init package
chore(pipe-digital-clone): init package
chore(pipe-email-exa-search): init package
chore(pipe-find-leads-with-exa-ai): init package
chore(pipe-keyword-notification): init package
chore(pipe-llama32-comment-linear-while-you-work): init package
chore(pipe-phi3.5-engineering-team-logs): init package
chore(pipe-post-questions-on-reddit): init package
chore(pipe-screen-time-storyteller): init package

/approve

thx


New version: monkeyWie.Gopeed version 1.5.5

This pull request is automatically generated by 🥟 Dumplings in #3258
Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 677.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-01-30 09:29:32.032 [FAIL] Installer failed security check. Url: https://github.com/GopeedLab/gopeed/releases/download/v1.5.5/Gopeed-v1.5.5-windows-amd64.zip Result: 0x80004005

(Automated response - build 677.)


reverse priority of imports (to support React Native 0.48)

In React Native 0.48 #import "RCTBridgeModule.h" resolves to an incorrect file, and thus makes the build fail. By reversing the imports the framework style import has priority, but still will be BC because older versions of RN do not have framework imports

Oh I see this is a duplicate of #155

Ah, thank you! Getting to it :+1:


wrong type for mysql bigint column

I create a table with a bigint  column,but when generated  scheme using entimport  struct field is int ,should it be int64  not int?

I create a table with a bigint column,but when generated scheme using entimport struct field is int ,should it be int64 not int?

Hi @czyt,
Please see the Go spec here: https://go.dev/ref/spec#Numeric_types
Using  Go's Int for bigint columns is valid.

I create a table with a bigint column,but when generated scheme using entimport struct field is int ,should it be int64 not int?

Hi @czyt, Please see the Go spec here: https://go.dev/ref/spec#Numeric_types Using Go's Int for bigint columns is valid.

Why? The linke says the int is impl spec size in 32 or 64 bit. When in amd64 or other 64bit os, it's OK.
But how about I run go program in 32bit machine, and connect to mysql which use bigint type?