ghcmod checks are broken if GHC built for dynamic linking

Cross-reporting from: https://github.com/alanz/vscode-hie-server/issues/56
Open the following file:
-- {-# LANGUAGE NoMonomorphismRestriction #-}
import Test.QuickCheck hiding((===))
import Control.Monad(liftM2)
import Control.Applicative((<$>),(<*>))

under Arch Linux. Then the following false positive is reported:
file: 'file:///path/to/file/Test.hs'
severity: 'Error'
message: 'Could not find module ‘Test.QuickCheck’
Use -v to see a list of the files searched for.'
at: '2,1'
source: 'ghcmod'
code: 'undefined'

QuickCheck is installed
$ pacman -Ql haskell-quickcheck
haskell-quickcheck /usr/
haskell-quickcheck /usr/lib/
haskell-quickcheck /usr/lib/ghc-8.2.2/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/All.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Arbitrary.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Exception.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Function.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Gen.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Gen/
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Gen/Unsafe.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Modifiers.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Monadic.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Poly.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Property.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Random.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/State.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Test.dyn_hi
haskell-quickcheck /usr/lib/ghc-8.2.2/site-local/QuickCheck-2.10.1/Test/QuickCheck/Text.dyn_hi
haskell-quickcheck /usr/lib/libHSQuickCheck-2.10.1-pyTUKjDV2C3TaEubSGdV9-ghc8.2.2.so
haskell-quickcheck /usr/share/
haskell-quickcheck /usr/share/doc/
haskell-quickcheck /usr/share/doc/haskell-quickcheck/
haskell-quickcheck /usr/share/haskell/
haskell-quickcheck /usr/share/haskell/register/
haskell-quickcheck /usr/share/haskell/register/haskell-quickcheck.sh
haskell-quickcheck /usr/share/haskell/unregister/
haskell-quickcheck /usr/share/haskell/unregister/haskell-quickcheck.sh
haskell-quickcheck /usr/share/licenses/
haskell-quickcheck /usr/share/licenses/haskell-quickcheck/
haskell-quickcheck /usr/share/licenses/haskell-quickcheck/LICENSE

How do you build your project? using stack? cabal?  Does it build ok using one of those two?

@alanz, I'm using neither stack nor cabal. I have just a couple of hs files and execute the tests with runhaskell

Ok, I just tested it on Debian, and it works.
But I have installed that stuff using cabal install, and I think that is what ghc-mod is expecting.
I am not sure how the arch linux runhaskell script works

I'll check if installing it manually with cabal helps.
Well, it's just as though if I were compiling it manually with ghc.

The problem persists when quickcheck was installed by cabal. The resulting .so file is located in
~/.cabal/lib/x86_64-linux-ghc-8.2.2/libHSQuickCheck-2.11.3-19mdm5lhmxMFf4AANg83KE-ghc8.2.2.so

I think the problem may be the fact that Arch Linux links Haskell dynamically. If cabal install is invoked without , the cabal install quickcheck fails.
$ cabal install quickcheck
Resolving dependencies...
Downloading QuickCheck-2.11.3...
Configuring QuickCheck-2.11.3...
Building QuickCheck-2.11.3...
Failed to install QuickCheck-2.11.3
Build log ( /home/marcin/.cabal/logs/ghc-8.2.2/QuickCheck-2.11.3-19mdm5lhmxMFf4AANg83KE.log ):
cabal: Entering directory '/tmp/cabal-tmp-30442/QuickCheck-2.11.3'
Configuring QuickCheck-2.11.3...
Preprocessing library for QuickCheck-2.11.3..
Building library for QuickCheck-2.11.3..
[ 1 of 15] Compiling Test.QuickCheck.Exception ( Test/QuickCheck/Exception.hs, dist/build/Test/QuickCheck/Exception.o )

Test/QuickCheck/Exception.hs:7:8: error:
    Could not find module ‘Prelude’
    There are files missing in the ‘base-<IP_ADDRESS>’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
  |
7 | module Test.QuickCheck.Exception where
  |        ^^^^^^^^^^^^^^^^^^^^^^^^^

Test/QuickCheck/Exception.hs:15:1: error:
    Could not find module ‘Control.Exception’
    There are files missing in the ‘base-<IP_ADDRESS>’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
15 | import qualified Control.Exception as E
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-30442/QuickCheck-2.11.3'
cabal: Error: some packages failed to install:
QuickCheck-2.11.3-19mdm5lhmxMFf4AANg83KE failed during the building phase. The
exception was:
ExitFailure 1

When one invokes cabal install --enable-shared --enable-executable-dynamic --disable-library-vanilla quickcheck everything is fine.
Maybe HIE should provide an opportunity to use custom cabal flags?

I think there may be a way to pass them in.
But it might also make sense to have a flag seomthing like --arch-linux which does all that stuff.

--dynamic may be a better name. If you have any PoC, let me know, I'll test if it's a fix.

@DanielG, do you know if ghc-mod supports a way of passing flags to cabal?  It would probably have to go through cabal-helper too.

I'm wondering too if this could be fixed upstream in cabal - I could specify these options in the config, which is ignored by cabal.
https://github.com/haskell/cabal/issues/5207

I managed to set the configuration options in the ~/.cabal/config - at first I didn't notice that -- in the config file indicate a comment.
Still, even though manually running cabal from the command line works perfectly, this is no fix for haskell-ide-engine. I presume that cabal-helper doesn't read ~/.cabal/config, @DanielG  - is this correct?

There are two (very poor) workarounds:

Use stack for your programs.
Use ghc-pristine and ghc-static, adapt the GHCBIN in the hie wrapper, and manually install every single external dependency (such as mtl) with

cabal --with-compiler=/usr/share/ghc-pristine/bin/ghc install <package>

In the second approach you probably need to have dynamic linking disabled for cabal, so your cabal install for default ghc will be utterly broken (as it is with vanilla installation).
ghc-static itself takes up about 1GB of space, stack is a disk space hog too.

@marmistrz cabal-helper doesn't read .cabal/config because it doesn't have to. caba-helper is really just a way to reliably read the information written by cabal configure. So as long as you re-build all your dependencies after changing that configuration I don't see why things shouldn't just work. Could you provide some more details on what exactly isn't working with that config set?

@DanielG let me explain more thoroughly how my test case looks like.

Create a new directory, say ~/proj/haskell
Create a single file ~/proj/haskell/main.hs with the following contents:

import Test.QuickCheck
main :: IO ()
main = return ()

Then building with ghc -dynamic main.hs --make succeeds, note that building with ghc main.hs --make will fail (Could not find module ‘Test.QuickCheck’ because quickcheck is a dynamically linked module, this is expected).
Open VSCode with the HIE addon installed. Then ghcmod will start complaining about Could not find module ‘Test.QuickCheck’. (you probably need to save first)
Close VS Code.
Add the following options to ~/.cabal/config:

library-vanilla: False
shared: True
executable-dynamic: True

as described in the Arch Wiki: https://wiki.archlinux.org/index.php/Haskell#Problems_with_linking
7. Open VS Code once again. The same error will appear

I have also tried creating a full-fledged cabal project. Then the following error appears:
hie: <command line>: cannot satisfy -package-id QuickCheck-2.10.1-pyTUKjDV2C3TaEubSGdV9
    (use -v for more information)

even though cabal run succeeds.
The exact steps:
0. Make sure that the haskell-quickcheck package is installed: pacman -Qs haskell-quickcheck

Create a new cabal project with cabal init -n --is-executable
Add QuickCheck to dependencies
Change Main.hs to:

module Main where
import Test.QuickCheck

main :: IO ()
main = putStrLn "Hello, Haskell!"

Launch VS Code
The error:

hie: <command line>: cannot satisfy -package-id QuickCheck-2.10.1-pyTUKjDV2C3TaEubSGdV9
    (use -v for more information)

Is there any update on this issue?


[SYSTEMML-991] Add additional licenses to website

Update website licenses for Susy, Sass, and BrowserSync.

cc @lresende @gweidner

I compared the updates against the licenses based on links in the JIRA and things look good to me.  The only thing I noticed is that the Jekyll license copyright year was updated to 2017 at https://github.com/jekyll/jekyll/blob/master/LICENSE .  They do have different release branches so not sure if the copyright year for included Jekyll MIT license should also be updated since specific version not referenced.

@gweidner
Since we don't specify a version of Jekyll, I agree it's probably a good idea to update the copyright to 2017. I'll do that and then merge. Thanks for reviewing!


Transparency doesn't reload terminals with -f flag

When using the -f flag the alpha is set to 100 in existing terminals.
New terminals get alpha set properly, but in existing ones it doesn't get reloaded.
This issue is present since version 3.0.1
I believe the problem might be in https://github.com/dylanaraps/pywal/commit/603276a12610320a53d6b7d64e3f096f71ce2240
This issue was first reported by @deadcombo on #256

OS: Archlinux
Packages: URxvt, i3-gaps, compton, rofi

New terminals get alpha set properly, but in existing ones it doesn't get reloaded.

Not for me, closing all terminals and opening new ones still does not give me transparency.

Fixed.


Lock by per key

@hiperioncn thanks for commit, I made the PR with it. However, I found it requires many changes prior to be merged. E.g. you can't just catch the exception in select and return null. Also KeyLocker.acquire doesn't have to throw Exception and so on. I'll add those changes and then merge a PR.

I have to rebase your commit, so I created a new branch and made a new PR containing your commit. This PR is gonna be closed.


Error on empty file

 $ touch test.vim
 $ vint test.vim
test.vim:0:0: Cannot detect encoding (binary file?): test.vim (see no reference)

Thanks!
This bug will fixed after the next release.

:+1:


feat(security): integrate libseccomp

I suggest integrating libseccomp to further enhance the security of the builder app.
libseccomp is a BPF application in Linux that filters the kind of syscalls the application can make. For example: if the attacker somehow can run arbitrary code ( we ignore how they can do it ) through a bug within the application, they can make malicious syscalls like fork, execve. Think of it like a lightweight sandbox around the current application.
TDX provides an overall secure VM blackbox, but it doesn't prevent bad code being exploited within the application. There will be a small performance hit since BPF is very lightweight, need to measure how much it is to work with TDX.

Hey, I do not have a lot of context on libseccomp. Is this something you enable on the VMs or in the Rust program?

Hey, it's something we use along with rust app to limit syscall to kernel from the app itself.

How is it configured/enabled in this specific repo?

You can check an example imlpementation here in cloudflare's foundation:
https://github.com/cloudflare/foundations/blob/afd9094db7581f6db79b64f2eee79458997bd1f0/foundations/build.rs#L96

This sounds like a good idea, but it might slow down the TEE node.


Save virtual desktop locations after restart a program

Is there any way to do this?
I use an app (Obsidian), and every time Windows resets, all the windows come back to the first desktop. So every time it resets, I have to reorganize them across desktops.

Is there any way to do this?
I use an app (Obsidian), and every time Windows resets, all the windows come back to the first desktop. So every time it resets, I have to reorganize them across desktops.

The app is really just a AHK script. So it should be pretty straightforward to automatically move Obsidian to a certain desktop when it starts.
Making it "remember" its last desktop automatically seems a harder problem.


Mega Refacto

Summary
Sorry for this huge PR :)
What is missing/broken:

Access control.
Updating on the Makefile etc to compile the plugins. For the bash plugin for example the script is go build -buildmode=plugin -o plugins/bash.so ./plugin/bash/*.go but I don't know how to make  all the makefile magic 😅 cc @phoinixgrr 👀
I did not go through every single bash script to make sure they work, there's probably some work necessary on commands that have arguments

What has changed:

Almost everything 😅 Sorry! :D

I tried to do a bit more decoupling overall, try to have things in place where they make sense? I hope it's gonna help us make the tool easy to maintain and improve. For example, I started working on the idea of the store for the dialogs session, right now it's in memory but in the future we could use something that is  saved between restarts etc.

plugins provide commands, that we can associate with a "slash command". When configuring a command, we can filter what command we want to load from the plugins:

only: []string: only load the commands listed here
exclude: []string: exclude commands listed here
note: you can't use only+exclude at the same time

This will allow us to control more precisely what is loaded from where and apply ACL on certain sets more easily. plugins can be used in multiple slash commands.

Command Arguments: all commands must be double dashed flags (--myarg=value | --myarg="my value" | --myarg (value will default to the string "true" when no value is passed)). commands will receive an map[string]string will all parsed arguments. For bash specifically, we create a new env variable prefixed by ARG_ for each argument, so --myarg="hello" is equivalent to export ARG_MYARG="hello" (see code bellow)
for name, value := range args {
  cmd.Env = append(cmd.Env, fmt.Sprintf("ARG_%s=%s", strings.ToUpper(name), value))
}

Logging: I swapped golang logger for a more robust and configurable solution by using Uber's zap (https://github.com/uber-go/zap) with context awareness for log metadata

And probably much more 😅

Feel free to ping me for any question or remark on my refacto, happy to work on it to make it better with your suggestions!

💯. Amazing work Julien. It is more structured and organised now. Thanks alot for doing this refactoring.

Thanks @pfltdv! I'm glad you like the changes!


Add label to files

Update filetree to display label based on errorCount

fixes #135

Please make sure that all the checks pass. Please add here any additional information regarding this pull request. It's highly recommended that you link this PR to an issue (please create one if it doesn't exist for this PR)

@shashigharti
Amazing!
Can you please use amount of errors instead of an exclamation mark (like `8 errors)? :pray:

@roll Thank you for the review! I have made the changes and it is ready for the review.


actions: adding cachix

Does this cache too much? Any data dirs maybe? I had to stop the test because the LN node couldn't open a channel because there already was one, going into an infinite loop.
Please squash (second commit is changing code the first already touched without a good reason)

Does this cache too much? Any data dirs maybe? I had to stop the test because the LN node couldn't open a channel because there already was one, going into an infinite loop.

Please squash (second commit is changing code the first already touched without a good reason)

It only does binary cache and built derivations. We won't need to build derivations twice.

Have shifted to nixos-22.05 as recently nixos-21.11 got deprected. Link


feat(spec): add envFrom support in containers

Now users can use envFrom similar to kubernetes to import all envs from a configMap. This is supported only for configMap and no support for secret yet. Also this imposes the condition that user should define configMap in the same file at root level under field configMaps.
Fixes #43

TODO:

[ ] Add README in the example
[ ] Add this to the file-reference doc

execept one comment regarding duplicite env variables, code LGTM

before:
$ kedge generate -f db.yaml
---
...
      - env:
        - name: MYSQL_ROOT_PASSWORD
          value: rootpasswd
        - name: MYSQL_PASSWORD
          value: wordpress
        - name: MYSQL_DATABASE
          valueFrom:
            configMapKeyRef:
              key: MYSQL_DATABASE
              name: database
        - name: MYSQL_USER
          valueFrom:
            configMapKeyRef:
              key: MYSQL_USER
              name: database
...

after:
$ kedge generate -f db.yaml
---
...
      - env:
        - name: MYSQL_DATABASE
          valueFrom:
            configMapKeyRef:
              key: MYSQL_DATABASE
              name: database
        - name: MYSQL_USER
          valueFrom:
            configMapKeyRef:
              key: MYSQL_USER
              name: database
        - name: MYSQL_ROOT_PASSWORD
          value: rootpasswd
        - name: MYSQL_PASSWORD
          value: wordpress
...

@containscafeine rebased and pushed again!


Add support for Reflectivity

https://github.com/mrdoob/three.js/issues/7632
https://github.com/mrdoob/three.js/issues/7634

You have to do the PR in my fork 😁

Whoops. Sorry, I don't use GitHub much. I'm really a 3D artist.


[BUG]: db.batch API TS definition does not accept arrays

What version of drizzle-orm are you using?
0.28.6
What version of drizzle-kit are you using?
No response
Describe the Bug
Creating an array of database updates before calling db.batch creates a type error:
const updates = []
for (const thing in things) {
    updates.push(db.insert(table).values({})
}
await db.batch(updates)

Source provides no match for required element at position 0 in target.

The root cause is that I provided an array, but db.batch specifically expected at least one item.
Expected behavior
I should be able to create an array of updates before the db.batch call, then call await db.batch on those updates.
Environment & setup
No response

db.batch accepts a tuple with at least 1 item. The shape is [T, ...T[]]
Typescript is complaining because it can't statically verify that there's at least one item in that array
You could have a helper like this:
function isTuple<T extends any[]>(array: T): T is [T, ...T[]] {
   return array.length > 0;
}

With that you can please the compiler

@Angelelz could you clarify how is this meant to be used? My assumption was that it would be used as below, however that doesn't seem enough to please the compiler:
function isTuple<T extends any[]>(array: T): T is [T, ...T[]] {
   return array.length > 0;
}

const updates = []
for (const thing in things) {
    updates.push(db.insert(table).values({})
}
if (isTuple(updates)) {
    await db.batch(updates)
}

I am assuming it's meant to be used somehow differently..?

I made a mistake in my example, I just did it from memory. I corrected it and added some code as test. Please refer to this playground for the code and comments.


Don't call node-gyp anymore (#120673)

Same as https://github.com/microsoft/vscode/pull/120673 but for 1.55, to unblock the build

Thanks


Using tag latest, since master tag is out of sync

Signed-off-by: Vicente Zepeda Mas<EMAIL_ADDRESS>Description
smallfile image tag is pointing to master as default. But master tag is not being built when a new version is deployed, changing it to latest.
Fixes

Codecov Report

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

@@            Coverage Diff            @@
##             master     #711   +/-   ##
=========================================
  Coverage          ?   53.48%
=========================================
  Files             ?        8
  Lines             ?      316
  Branches          ?        0
=========================================
  Hits              ?      169
  Misses            ?      147
  Partials          ?        0

Flag
Coverage Δ

gha
53.48% <0.00%> (?)

python-3.9
53.48% <0.00%> (?)

unit
53.48% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

@chentex this will also require an update to benchmark-wrapper/ci/common.sh for the new image location

superseeded by https://github.com/cloud-bulldozer/benchmark-operator/pull/713


Hidden field in ToggleCompositeField if validation error occurs

Affected Version
SilverStripe 4+
Description
When an validation error occurs within the ToggleCompositeField the field is closed by default and the cause of the error is therefore hidden to the user.
I suggest to open the ToggleCompositeField if it contains fields with errors.
Steps to Reproduce

Create a ToggleCompositeField
Create a required field within the ToggleCompositeField
Submit the form without the required field filled

@sachajudd Can we apply the same solution as for tabs here? Or would it just be a matter of auto-expanding the toggle field when there's any validation errors? https://github.com/silverstripe/silverstripe-cms/issues/2081

@sachajudd Can we apply the same solution as for tabs here? Or would it just be a matter of auto-expanding the toggle field when there's any validation errors? https://github.com/silverstripe/silverstripe-cms/issues/2081

@raissanorth expanding the toggle field is a good idea see silverstripe/silverstripe-cms#2081 for designs 🙂


ISPN-9076 SearchException when indexing entities in persistent caches

https://issues.jboss.org/browse/ISPN-9076

Looks good.

I'll backport this to 9.2.x too

Integrated in master and 9.2.x. Thanks @gustavonalle !

@gustavonalle Do we want this backported to 82x and to the product? Are they affected?

No need to backport to 8.2 and product


Feat: modify_schema for pydantic.schema_of support

https://pydantic-docs.helpmanual.io/usage/schema/#modifying-schema-in-custom-fields

Thanks!


feat (BDD) : basic NDM integration testing

Basic integration tests for NDM like applying the YAML, deleting daemonset etc are covered.

Codecov Report

Merging #221 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   51.16%   51.16%
=======================================
  Files          43       43
  Lines        1798     1798
=======================================
  Hits          920      920
  Misses        811      811
  Partials       67       67

Continue to review full report at Codecov.

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

This PR has been split into 2 PRs #235 and #236 , for vendor changes and test logic respectively. The review and merge will be done on those PRs.


mobile terminal display problem

The mobile terminal limits the page size, and the page cannot automatically adapt to the mobile terminal screen


"babel: not found" while deploying to heroku

I get the error "Babel not found" while deploying to heroku.
I see heroku is calling the prestart script when deploying, should this prestart script work in production? do I have to do something else?

I had the same problem, it's because heroku doesn't automatically install dev-dependencies for npm, you need to set config variable NPM_CONFIG_PRODUCTION in heroku to false and it will work :)

@hpdobrica that seems not a long term solution... what is the core reason? I would like to see how it actually got resolved completely thanks a lot!

This is just an oddity of Heroku - they run your build and deploy from Git (both development tools), but don't install development modules.  In general, I would recommend setting NPM_CONFIG_PRODUCTION=false on Heroku.

this worked for me, thanks guys

in script use
"start:"babel-node index.js" instead of using "start:"babel index.js"

in script use
"start":"babel-node index.js" instead of using "start":"babel index.js"

This should not be used for production.

Nothing working for me

can any one suggest how to use es6 in heroku with babel

can any one suggest how to use es6 in heroku with babel

Hi today I've been trying to do this myself. I've figured it out.
First, lets assume you setup babel correctly by using the command:
npm install --save-dev @babel/core @babel/cli
Inside package.json the result should be:
{
  "devDependencies": {
+   "@babel/cli": "^7.0.0",
+   "@babel/core": "^7.0.0"
  }
}

Now to the solution:
Other repo issues that mentioned this issue said you need to set the environment variable NPM_CONFIG_PRODUCTION=false, this can be done inside settings or via the console with command: heroku config:set NPM_CONFIG_PRODUCTION=false, and apparently the reason is because heroku does not install dev dependencies on production and in order for 'babel' to be defined development dependencies need to be installed.
Hopefully this should fix yours and anyone else's issue.

Close this issue as it's nothing to do with this repository, this problem lies with Heroku.

I had the same problem, it's because heroku doesn't automatically install dev-dependencies for npm, you need to set config variable NPM_CONFIG_PRODUCTION in heroku to false and it will work :)

you are a lifesaver <3

You can just change your script to be npx babel rather than babel

NPM_CONFIG_PRODUCTION

ERROR: connect ECONNREFUSED <IP_ADDRESS>:5432
This is the error I get when I apply your fix. please help :(

Hey guys, if you still having this problem this worked for me


Remove SmoothInterpolation as a dependency

Fixes https://github.com/Deltares/Ribasim/issues/1625. Some upstream issues came out of this:
https://github.com/SciML/DataInterpolations.jl/issues/301
https://github.com/SciML/DataInterpolations.jl/issues/302
https://github.com/SciML/DataInterpolations.jl/issues/303

With https://github.com/SciML/DataInterpolations.jl/pull/315 the ReadOnlyArray wrappers are removed again, and we should do cache_parameters = true to get the performance benefit. For LinearInterpolation appending data is still supported in that case, see https://github.com/SciML/DataInterpolations.jl/blob/master/src/online.jl.

Ok, how about we fix to 5.3.1 with f470d2484a39aa931ccee5bef597cc9eb23e3002. Then we can merge this, if you agree with my commits, and implement your comments once a new release is out.

Looks like you snuck some unrelated changes in there, but it's fine by me to merge this now

Oh you mean JULIA_SSL_CA_ROOTS_PATH ? I actually needed that to pass CI when checking out the master branch of DataInterpolations (or any non-released package), otherwise there was a download error. So that's good to have even if we currently don't need unreleased packages.


Doesn't  autoFix  all  errors when save the Less file

Information
VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 24 2018 05:16:21)
macOS version
Included patches: 1-1750
Compiled by Homebrew
Operating System: WHAT OS WERE YOU USING?
:ALEInfo
Current Filetype: less
Available Linters: ['lessc', 'stylelint']
Enabled Linters: ['stylelint']
Linter Variables:
let g:ale_less_stylelint_executable = 'stylelint'
let g:ale_less_stylelint_options = ''
let g:ale_less_stylelint_use_global = 0
Global Variables:
let g:ale_cache_executable_check_failures = 0
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%severity%: %linter%: %s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'less': ['stylelint'], 'javascript': ['eslint'], 'css': ['stylelint']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {'jsx': 'css'}
let g:ale_linters = {'jsx': ['stylelint', 'eslint'], 'less': ['stylelint']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%severity%: %linter%: %s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = 0
let g:ale_open_list = 0
let g:ale_pattern_options = {}
let g:ale_pattern_options_enabled = 0
let g:ale_set_balloons = 1
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '✖'
let g:ale_sign_info = 'ⓘ'
let g:ale_sign_offset = 1000000
What went wrong
When the file type is Less . ALE show the all error , but when I save the file , it just autofix some erorr。
Reproducing the bug

@w0rp  Yes，It should be. It can fix When I use Vscode .
ALE can fix line feed ,but doesnt fix space before  { .
My styleLint  config is stylelint-config-standard

That might be something built into VSCode itself which is doing that. I'll have to look into this some time, but ALE just updates a file with whatever stylelint gave it.

@w0rp  Thanks for ur patient

It's happening to me as well. However, I'm using scss.


Latest Release

Describe the bug
Hello, it seems that the github latest release is marked on the nightly build, can you change it to the v1.0.5?

@daeho-ro a new build is getting generated

@daeho-ro we might also need to slightly modify the URLs in that PR to the new format (releases are generating using a workflow now)
here is the latest release https://github.com/Abdenasser/neohtop/releases/tag/v1.0.8

Thank you @Abdenasser !


Support Thunderstorm, Next-Week, and Status Properties in Tetum

In the near future, the API will begin generating the following new properties:

possible-thunderstorm
thunderstorm
next-sunday
next-monday
next-tuesday
next-wednesday
next-thursday
next-friday
next-saturday
next-hour-forecast-status
unavailable
temporarily-unavailable
partially-unavailable
station-offline
station-incomplete

Add support for these properties to Tetum. (Information is available in the README, and examples are visible in /lib/lang/en.js and /test_cases/en.js.)

Tagging @macdhuibh if you have an opportunity to take a look!


"hamburger" second-level popups make the cursor vanish?

When hovering over, say, "hamburger"->bookmarks, the bookmarks submenu appears, but then the cursor vanishes, and doesn't reappear.
It doesn't seem to be moveable either, since I can't make anything else highlight. Swapping to a VT and back makes the cursor reappear and work again, but then the submenu options don't appear to be selectable...
The typing cursor in the URL bar (on the "new tab" window) still blinks however, so it doesn't appear to be a freeze.

Still the same as of SouthSister.


Feature: Add Item list & information

Pull Request
Summary of Changes
Implemented item list and description window for better user experience. Added functionality to display items along with their descriptions upon selection.
Related Issues
N/A
Type of Changes

[x] Feature Addition
[ ] Bug Fix
[ ] Performance Improvement
[ ] Code Refactoring
[ ] Documentation Update
[ ] Other (Explain)

Changes Verification

[x] I have followed the project's code style guide when requesting code review.
[x] I have performed appropriate testing for the changes made.
[x] I have ensured that the changes do not impact other areas.

Additional Information (Optional)
This PR enhances the user interface by providing a clear and informative way to view item details. Users can now easily access item descriptions, improving their overall experience with the application.

이미지 경로 수정했으니까 여기 돌려놔도 괜찮습니다! 위에 import '../components/image_data.dart'; 추가해주시면 됩니다!
아이템 설명 잘 나오고 좋습니다!

확인하여 수정하였습니다.


Support for binary/hex/oct numerical literals in gringo

It would be nice, if gringo understood binary and hex and oct numerical literals. For example: 0xD = 0o15 = 0b1101 = 13. These can sometimes make the source code more readable.

This should not be too hard to implement. I'll think about it.

64

Seems to work just right in the new release! So just wanted to let you know I appreciate that, thanks!


Admin registation to record

record the board member that has added the registration,
Make a field to record the note for the reason.

Also make way to pay from admin register.

added table to record admin registration user and note. Added checkbox for payment. Should create a list view to show log data

Added log


web.View and multiple route resolution issue

I have been messing around with the web.View and trying to get similar super convenient functionality as the one that exists in flask. I am talking about dynamic routes variables resolving to handler arguments in the view. Basically the idea is somewhat like this. I would declare a route as such:
app.router.add_route(
    path='/users/{user_id}',
    handler=view.User,
    name='users',
    methods=['GET', 'PATCH'],
    defaults={'user_id': 1}
)
app.router.add_route(
    path='/users',
    handler=view.User,
    name='users',
    methods=['POST']
)

Once that works I would like the handler to be able to access those via the argument signature as follows (module view.py):
class Users(web.View):
	async def get(user_id):
		pass

	async def post(user_id):
		pass

	async def patch():
		pass

Few points to mention about the current version not supporting it and then will follow up with a few questions and proposal. Foremost since this logic will try to declare two resources with the same name this will fail. Assuming I fit fix this by overriding UrlDispatcher and implement my own add_route I could potentially attach a single resource with multiple route however there is another issue. It seems that when the resolver is trying to resolve the routes (web_urldispatcher:Resource.resolve) it only acutally checks for the last acceptable method to return. Otherwise it returns no UrlMappingMatchInfo with the allowed_methods. Here is the code:
    @asyncio.coroutine
    def resolve(self, method, path):
        allowed_methods = set()

        match_dict = self._match(path)
        if match_dict is None:
            return None, allowed_methods

        for route in self._routes:
            route_method = route.method
            allowed_methods.add(route_method)

            # This is where the issue is <<<<<<----------------------------------------
            if route_method == method or route_method == hdrs.METH_ANY:
                return UrlMappingMatchInfo(match_dict, route), allowed_methods
        else:
            return None, allowed_methods

Since I really would like this kind of functionality I am happy to implement it but if this is not something in line with where the project is moving I would rather implement a wrapping solution personally since I want to continue being up to date with the version releases. Would love some feedback on this, thanks.

Okay so I misunderstood the logic on the resolution part It actually works the way it should. My bad. But the functionality question still stands.

Honestly I don't follow what functionality are you requesting

I am really requesting a functionality.  Was asking to figure out whether you guys would be interested in the functionality in which case I would spend the extra time writing it into the application instead of overloading stuff.
Functionality from flask. When you add dynamic route the groups that get selected in the path of that route during resolution become the function arguments of the handler that is attached.
Example:
app.router.add_route(
    path='/users/{user_id}',
    handler=users,
    name='users'

async def users(request, user_id):   <<<<------------ argument
        pass
)

In the current aiohttp it only funnels request object through and does not support "default" values for those arguments. Personally I like that functionality and have implemented it for myself. Was asking if I should spend the time porting it into the application for pull request.

@trivigy very sorry for late answer.
At very early times, event before aiohttp.web appearing we have experimented with passing route matches as web-handler parameters.
But we've found the way is just wrong.
It's impossible to mix at least three different namespace in the same web-handler signature.
What's if user want to name his path template as /users/{request}'? The name conflicts with reguar request parameter. Moreover, the pages also accept *query params* (/path/to?a=1&b=2`).
Why not parse query part of URL and pass it as function arguments?
The query part may have multiple values for the same key, you know. How to handle it?
So far so bad.
We decided to have the only request param for web-handler.
All additional information can be retrieved from request object by request.mtch_info and request.GET.
If you are able to make your preferable way on top of aiohttp.web -- that's perfectly fine.
It is an evidence of aiohttp flexibility.
But aiohttp as the library will never have this functionality, sorry.
Please just live with it.

No worries at all. I tinker and change for my own personal preference. I'll keep asking and proposing as I go. I will definitely just live with it.


darwin: make thread stack multiple of page size

pthread_attr_setstacksize() expects that the stack size is a multiple of
the page size so make sure that it is.
Fixes a regression introduced in commit 3db07cc ("osx: set the default
thread stack size to RLIMIT_STACK") that made the program abort under
certain configurations; GNU Emacs on OS X apparently sets RLIMIT_STACK
to odd values when executing child processes.
Fixes: https://github.com/nodejs/node/issues/6563
CI: https://ci.nodejs.org/job/libuv-test-commit/42/

LGTM.


Adding python wrapper for MetaMapLite

Issue: https://github.com/AnthonyMRios/pymetamap/issues/14

This looks good to me.

@AnthonyMRios
I had updated the version from 0.1 to 0.2
We can release the new version in pypi


Increase size of search field

The search field is very short. Many artist names or album titles are longer than the fields.
Example:
If you are searching for "Lightspeed Champion" it is already too long. The text field should be wider.
Search box compared to other apps:
1: spot
2: lollypop
3: nautilus

Quick and dirty mockup:

Please note that there should be a max-width, so the filter button is not half a meter away (think large 4k screen) nor should it have a fixed size. Think phone like the pinephone.

Quick and dirty mockup:

Please note that there should be a max-width, so the filter button is not half a meter away (think large 4k screen) nor should it have a fixed size. Think phone like the pinephone.

Fixed in 0.1.4


TCP_NODELAY required?

I am running dnscrypt on Archlinux and dnscrypt-proxy.socket reports the following:
Mar 30 01:50:34 RPi-SSHGateway systemd[1]: dnscrypt-proxy.socket: TCP_NODELAY failed: Protocol not available
Is there anything to do outside of dnscrypt-proxy to enable tcp_nodelay system wide?
Thank you in advance.

The dnscrypt-proxy.service (or was it the .socket?) has a "no-delay" parameter inside. Maybe this is it?

it is enabled in  dnscrypt-proxy.socket:
NoDelay=true

It's very weird that the option cannot be set. TCP_NODELAY has been implemented on all Unix systems for 20 years. Are the UDP and TCP sockets in the correct order? Maybe they have been swapped?
If you don't absolutely need to use systemd sockets, don't use them. Delete the .socket file and just configure the IP addresses you want to use in the dnscrypt-proxy.toml file.

TCP and UDP socket were not swapped.
I am trying without .socket now.
What is the format of the IP address in dnscrypt-proxy.toml? <IP_ADDRESS>:5754 gives me an error:
Near line 31 (last key parsed 'listen_addresses'): Invalid float value: "<IP_ADDRESS>"

Running without socket works fine. Thanks for your help.

@jedisct1 but enabling the service will automatically also enable the socket?

sudo systemctl enable dnscrypt-proxy.service
Created symlink /etc/systemd/system/multi-user.target.wants/dnscrypt-proxy.service -> /usr/lib/systemd/system/dnscrypt-proxy.service.
Created symlink /etc/systemd/system/sockets.target.wants/dnscrypt-proxy.socket -> /usr/lib/systemd/system/dnscrypt-proxy.socket.

@Utini2000 You have to edit the dnscrypt-proxy.service unit and remove the .socket dependency (at least that worked for me)


Copy chairman app to new cabal project

This allows for the changes to be made to the new chairman app without breaking the old chairman tests.

bors merge


Review entire public surface

Minimize surface area for v1. Make sure that anything referencing GRPC or that couples us to System.Text.Json isn't exposed. Things like Converters can be all internal and exposed later to give us more time for API design.

First iteration done here: https://apiview.dev/Assemblies/Review/af54138c8aa0459c8e91df73dfa71e98

Will do one final review pre-1.0


Ensure artifact cache directory exists

With this commit we create the artifact cache directory if it does not
exist yet. Otherwise, the artifact cannot be cached making the cache
ineffective.
Relates #992

Thanks!


Add filtering for view resultant variables

Adds filtering to the display of resultant variables.
Needs testing against an Octopus instance that doesn't have channels (pre 3.3).
(We really need to setup some kind of multi octopus version testing.)
Spent ages trying to sort out some integration tests (see https://github.com/matt-richardson/OctoPygmy/tree/attempted-controller-refactoring and https://github.com/matt-richardson/OctoPygmy/tree/attempted-controller-refactoring-take2, but I just don't know enough AngularJs to make it work (yet).)

I'll try to look at it this week. I just about have some browser testing setup (Azure + AppVeyor + SauceLabs).

I've got a feeling the whole 'view resultant variables' thing doesn't work on anything less than 3.3 anyway :confused:... But unfortunately, no time to look into it for the next few weeks..

3.4 has the "All Variables" tab, with nice filtering in it, so this is not really relevant anymore.
Closing


HTML output table header row

(Fill in the relevant information below to help triage your issue.)

Q
A

Version
9.2

Question
I have the following code, expecting that my HTML conversion would output the header row with <th> tags. Instead it doesn't output the first row at all.
$reader = Reader::createFromString($csvString);
$reader->setHeaderOffset(0);
$converter = (new HTMLConverter())
        ->table('dimensions-table')
        ->tr('data-record-offset')
        ->td('title');

$html = $converter->convert($reader);

If I remove $reader->setHeaderOffset(0); it does output the first row, but there is still no table header with <th> elements. Is there a way to properly output a header row?

@adrienne thanks for using the library. Currently there's no way to assign the <th> tag to the converted HTML. But I'll welcome any PR adding this functionality to the current codebase. Should not even BC break.

@adrienne to be more specific this class converts any tabular data not just the reader so the main issue if one wants to add this feature is to figure out how to make it works with any tabular data not just the Reader object.


DefaultValue can't be converted when passed as separate values

I am trying to upgrade from 0.11 to 0.12 and I ran into an issue related to DefaultValues.
My query used to be defined like this:
class Pagination {
  private Integer limit = 10;
  private Integer offset = 0;
}

@GraphQLQuery(name = "items")
  public CompletableFuture<List<Item>> items(
      @GraphQLArgument(
              name = "pagination",
              description = "Pagination of results.",
              defaultValue = "{}")
          final Pagination pagination) {
// return paginated list of items
}

This used to give me the following schema where the default values were presens.
input PaginationInput {
  limit: Int
  offset: Int
}
type Query {
 items(
    pagination: PaginationInput = {limit : 10, offset : 0}
  ): [Item]
}

With the new version I had to explicitly say how the default object should look, otherwise it would not show up in the schema.
So now I define it like this:
@GraphQLQuery(name = "items")
  public CompletableFuture<List<Item>> items(
      @GraphQLArgument(
              name = "pagination",
              description = "Pagination of results.",
              defaultValue = "{\"limit\":10, \"offset\":0}")
          final Pagination pagination) {
// return paginated list of items
}

The issue is that when I make a query towards a GraphQLQuery with a GraphQLArgument that has defaultValue set like this, and if I write my query like this (which used to work, and should work), then I get the following error:
Expected a value that can be converted to type 'Int' but it was a 'LinkedHashMap'
query GetItems( $limit: Int, $offset: Int) {
  items(
    pagination: {limit: $limit, offset: $offset}
  ) {
      name
      color
  }
}

Input:
{
  "limit": 5,
  "offset": 0
}

But setting the whole input object like this works:
query GetItems( $pagination: PaginationInput) {
  items(
    pagination: $pagination
  ) {
      name
      color
  }
}

Input:
{
   "pagination": {
      "limit": 5,
      "offset": 0
  }
}

Setting the values directly in the query also works.
query GetItems {
  items(
    pagination: {limit: 2, offset: 0}
  ) {
      name
      color
  }
}

It only fails in runtime so it is really hard to guard against as all these 3 queries are valid graphQL queries and I can't stop my users from writing their queries like that.
The only work-around I found was to remove the default value completely from the GraphQLArgument and instead set the default if the argument is null. This comes with two downsides, defaultvalues will not show up in the schema definition and I have to add more code in my resolvers, so I would really appreciate another way of solving this.
Happy to provide more information if necessary and grateful for any help!

Thanks for the report!
graphql-java drastically changed how it handles default values and a lot of logic in SPQR had to be reimplemented. Somewhere in that migration your case fell through the cracks. I'll investigate what can be done.

Thank you for your quick reply! It would be really appreciated :)

Oof, this is tricky business... Here's the breakdown.
In earlier versions, graphql-java permitted any Java object as the default value, and it would then do its best to represent such value in the serialized schema. And what SPQR did was simply deserialize the provided default value string into an object of the corresponding class and had it over to graphql-java. In your case, {} would deserialize to a Pagination instance, which would then get serialized back into schema as {limit : 10, offset : 0}.
Then, recent versions of graphql-java got rather strict and started only accepting values that can be unambiguously represented in the schema - in Java terms that would mean primitives, strings, lists and maps. No arbitrary Java objects allowed. So the way SPQR adapted was to deserialize the given default value to just the simple types mentioned previously. In your example, it means {} gets deserialized to an empty map, with gets serialized back into the schema as nothing.
At runtime, in both cases, you receive an equal instance of Pagination. This is because in the first case the default value is already a Pagination that simply gets passed, and in the second the default value is a map that gets converted into Pagination at each invocation. So the there should be no observable differences at runtime. But the printed schema is, as you've noticed, different.
I am not exactly sure yet how to approach this. It sounds possible to emulate the earlier behavior of graphql-java by deserializing the provided default value string to an instance of the corresponding class just as before (thus triggering the appropriate constructor and populating the fields), but then convert it into a map before handing it back to graphql-java. This also sounds more correct, as the default values will get captured as they really are in Java. But I have to investigate a bit more to see if this indeed will not have any unwanted effects...

This also sounds more correct, as the default values will get captured as they really are in Java. But I have to investigate a bit more to see whether this is indeed possible and will not have any unwanted effects.

On second though, this really isn't true, is it? After all, you're not surprised that you're seeing the following in your schema:
input PaginationInput {
  limit: Int
  offset: Int
}

and not
input PaginationInput {
  limit: Int = 10
  offset: Int = 0
}

despite 10 and 0 being the default for the corresponding Java fields, right? To achieve the latter, you'd have to do something like:
public class Pagination {
        @GraphQLInputField(defaultValue = "10")
        public Integer limit = 10;
        @GraphQLInputField(defaultValue = "0")
        public Integer ffs = 0;
}

So why would you then be surprised to see
PaginationInput = {}

and not
PaginationInput = {limit : 10, offset : 0}

when {} is what was explicitly specified? The above 2 cases are semantically equivalent, right?

I think the current behavior is consistent, so I'm inclined to leave it as-is. But, here's how you can pretty easily get the behavior you're after:
public static class JsonReserializer implements DefaultValueProvider {

        private static final AnnotatedType OBJECT = TypeFactory.annotatedClass(Object.class, new Annotation[0]);

        private final ValueMapper valueMapper;

        public JsonReserializer() {
            this.valueMapper = Defaults.valueMapperFactory().getValueMapper();
        }

        @Override
        public DefaultValue getDefaultValue(AnnotatedElement targetElement, AnnotatedType type, DefaultValue initialValue) {
            // This is just guarding against freak cases, it's not strictly necessary
            if (initialValue.getValue() == null || initialValue.getValue().getClass() != String.class || type.getType() == String.class) {
                return initialValue;
            }
            return initialValue
                    .map(v -> valueMapper.fromString((String) v, type)) //String -> Pagination
                    .map(v -> valueMapper.fromInput(v, OBJECT)); //Pagination -> Map (as graphql-java wants it)
        }
    }

You can then either register this as the default provider, or use it where applicable only:
@GraphQLQuery(name = "items")
        public CompletableFuture<List<RelayTest.Book>> items(
                @GraphQLArgument(
                        name = "pagination",
                        description = "Pagination of results.",
                        defaultValue = "{}",
                        defaultValueProvider = JsonReserializer.class)
                final Pagination pagination) {
            return ...;
        }

Note: Make sure Pagination has fields visible for serialization (e.g. make them public or have public getters). Previously Pagination instances were only ever deserialized, not they're being serialized as well.
Do you find this solution acceptable?

I managed to replicate this without SPQR, so it really is a bug in graphql-java. I opened an issue there: https://github.com/graphql-java/graphql-java/issues/3276

With the new default value validation changes made in graphql-java, does this mean it is no longer recommended to send input values as objects?

Nothing perceivable should have changed, and I don't see anything wrong with how you're using the variables. Although, I must admit, all the examples online always pass variables as arguments directly:
query GetItems( $pagination: PaginationInput) {
  items(
    pagination: $pagination
  ) {
      name
      color
  }
}

but the spec seems to permit this as well:
query GetItems( $limit: Int, $offset: Int) {
  items(
    pagination: {limit: $limit, offset: $offset}
  ) {
      name
      color
  }
}

I talked about this in more detail in the linked graphql-java issue I opened.
I'll close this issue now as it seems the SPQR part has been addressed.

Thank you! I should have checked that before reporting it to you.
Looking forward to the new release with the fix!


Italian complete docs translation

What's changed?
Added all the missing part of the Italian docs translation, including comments in the code snippets.

Hello!
It seems import links are broken (see CI logs). Could you fix those? :pray:

Yes, I just saw.
Proceeding

@rrousselGit is it ok now?

It's looking good, thanks a lot!


User termination of caliper should also terminate engaged remote workers

If a user for example decides to ctrl-c the caliper  manager, the remote workers it's engaged continue to work. Caliper Manager should send termination messages to these workers when caliper manager terminates regardless of why it terminated.

Now done by #1514


Documentation missing  tag

See here: https://neo4j.com/labs/kafka/4.0/overview/
No title in the HTML docs
    <title>
        Untitled
        - Neo4j Graph Database Platform
    </title>

May be missing an annotation here: https://github.com/neo4j-contrib/neo4j-streams/edit/4.0/doc/asciidoc/index.adoc

May be fixed by https://github.com/neo4j-contrib/neo4j-streams/pull/353

@moxious This seems to be already fixed

@moxious This seems to be already fixed

Thanks

Thanks


Bump mypy pre-commit hook from 0.931 to 0.940

Codecov Report

Merging #222 (92f67cb) into main (aaf1e86) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #222   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          381       381
=========================================
  Hits           381       381

Continue to review full report at Codecov.

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


two containers with same name on different node cause swarm issues

Hi, All
How to reproduce issue easily:

run a container with name allen on each docker engine(<IP_ADDRESS>,<IP_ADDRESS>):

docker run -d --name allen ubuntu:14.04 sleep 1000

2.start swarm managers:
$GOPATH/bin/swarm -l debug manage -H tcp://<IP_ADDRESS>:2375 nodes://<IP_ADDRESS>:2376,<IP_ADDRESS>:2376

3.docker ps (swarm ps ):
root@ubuntu:~/wordpress# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
3527c441d94b        ubuntu:14.04        "sleep 1000"        10 seconds ago      Up 9 seconds                            ubuntu/allen
6e25e521e50b        ubuntu:14.04        "sleep 1000"        17 seconds ago      Up 17 seconds                           ubuntu/allen

docker stop allen & docker inspect allen  (swarm stop & swarm inspect)

root@ubuntu:~/wordpress# docker stop allen
Failed to stop container (allen): Error response from daemon: No such container: allen
No such container: allen
root@ubuntu:~/wordpress# docker inspect allen
[]
Error: No such image or container: allen

some strange things happened in this case.
Maybe swarm can remind user of more than one container with this name exist in the cluster, instead of reporting no such container.
And I think volumes and networks have the same issue.

Wouldn't be nice to be able to have 2 containers with the same name even on the same engine, let alone on the same Swarm cluster - What are there IDs for ;-)

2 containers with the same name even on the same engine?
Can it happen on the same engine?

As it stands this is not possible not in Swarm (unless you do your own scenario in which you 'went around' Swarm ) and definitely not in the engine.
Reason being - There is specific check for that as you know. Also when querying a container one can use name as a unique identifier.
But Why I ask - If we have unique ID - Why should a unique name  be forced? It is certainly possible to allow duplicate names both in Swarm and Engine However big is the change.
Makes sense?

I think the reason Docker Engine does not allow name duplicate is usability. First it's hard for human to remember container ID. We prefer container names. Second orchestration tools can create names and use that in automation. For example Docker Compose creates web_1, web_2, ..., worker_1, worker_2, etc. IMHO allowing duplicate name would add unnecessary complexity and confusion.

@dongluochen I think there are two different issues here:

The general issue of using unique resource names in Docker engine (container names, volume names, etx..). And using this names as the "display names"
The original problem that @allencloud posted which is related but belongs to a different class of issues: Should Swarm be able to connect to existing Docker engines and be able to discover and manage the resources on this new "cluster"  Even if such resources  couldn't be created originally with Swarm.
If we do want to support (2) - we need to decide how do we manage such conflicts. Do we just send a warning ? Do we disable the offending resources? etc..
I specifically say "resources" and not "containers"  Because as I said I can see the same problem with other cluster wide resources such as overlay NWs and distributed volumes.

@ezrasilvera @dongluochen
That is true.
From my point of view. it is good to support (2), but some kind of conflict, we had better handle it peacefully, at least do not report some message which is not the truth.


automatic annotation with custom models

Hi,
Is there a way to make auto annotation working with custom models ? I have my own custom dataset so i can't use the generic models. I already have custom models (.h5 tensorflow models).
thanks in advance.

@azhavoro , could you please add the question to FAQ and close the issue?

@azhavoro, i'm also interested by this functionnality.

@azhavoro can you explain how to do it ? thanks

Did you add it to the FAQ? Is there a link to the answer?

Did you add it to the FAQ? Is there a link to the answer?

No, i'm still waiting for the answer too..

@marcociccone Hi, please take a look at this PR https://github.com/openvinotoolkit/cvat/pull/3124


Update deployment.yaml

Update deployment to the current API version and add mandatory selector.

:pencil: Description
Update deployment to the current API version and add mandatory selector.
:link: Related Issues

Thank you @minac!
There's still a few open pull requests to publish the latest versions of both kubemonkey and the helm charts so I can't promise when this will be available in helm hub/others.

Thank you @minac!
There's still a few open pull requests to publish the latest versions of both kubemonkey and the helm charts so I can't promise when this will be available in helm hub/others.


add spinner or other hint to explain slight delay of table rendering

API is so fast, spinner not required.


Report an error if a block doesn't define any EOF symbol

Have you checked if zlib/libpng catches this error? I wonder if there are images in the wild that rely on this.

Yes, zlib specifically catches this error:

As another example, the RFC does not explicitly state that a dynamic block must define a code for end-of-block. However if you don't, the deflate stream can never terminate. zlib's inflate requires a definition of an end-of-block code in a dynamic block or the stream is rejected. This assures that when, for example, random data is fed to inflate it will soon reject the stream as invalid.


Can't see second heating circuit

I have 2 heating circuit. I can see the first one but nothing about the second one.

Hi,
it looks like the control feature was only implemented for the first heating circuit. It does not take care about the amount of circuits. So this needs to be extended.
O

Thanks for your reply. I don't really remember. Is it possible to change this without removing the device and readding it?

I delete and recreate it chossing 2 heat cirtcuits. It works now! Thanks a lot for your help.


Attribute request.body/response.body

Describe the feature request
Support request.body/response.body
Creating a new ticket as can't repoen the #4210.
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

Thanks for this request. The desire to process request and response body is valid. However, adding this information in the form of attributes is not something that is going to be pursued.
That is not to say all hope is lost. In coming releases, we will be pushing out a new extensions architecture which will support in-proxy policy and telemetry extension. This extension mechanism will be much better positioned to allow access to request and response bodies. Please stay tuned for announcements and documentation of those features.
I'm going to close this issue given this context.

@douglas-reid is there an open issue which I can subscribe to get updates?


Better error printing in non-browser environments (node.js)

I'm using redux-saga in an Electron app and most of my sagas run node-side.
In node.js, error objects passed to console.warn or console.error just print the error's prototype name and message, not the trace:

I changed it to manually print the trace, if one is available:

It could be improved even more by tracking the whole saga chain so we know how we ended up there, but that's already a big step up :)

Thanks this would be very useful also in my unit tests

It could be improved even more by tracking the whole saga chain so we know how we ended up there

yeah, I think it could be achieved by passing the call hierarchy as param to proc


158 vehicle location information

Addresses #158 adding location_ping_id fields to passenger_events and fare_transactions.

@SorenSpicknall @e-lo can you tell me what I’m doing wrong here.

@SorenSpicknall @e-lo can you tell me what I’m doing wrong here.

The error you're seeing isn't your fault - a file used for validation was deleted in a previous PR, and the relevant test just didn't happen to run after that until you drafted and submitted these changes. I've opened #165 to address the missing file.


⚠ Slack has degraded performance

In 9fd5245, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 120 ms

Resolved: Slack performance has improved in 2e30d37.


[stable/cluster-autoscaler] Adds support for affinity to the cluster autoscaler

Adds the ability to specify affinity instead of just nodeSelector

/ok-to-test

@mgoodness @viglesiasce -- Took care of the feedback :)


Version 128

Version 128 is out so can we move on it
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

"Supermium 126 is the first release using Chromium ESR tags. This means that Supermium will remain on version 126 until February 2025 and focus on fixing bugs and adding features instead of continuously performing major rebases."
Source: https://github.com/win32ss/supermium/releases/tag/v126


Quickstarts are not pushed to Maven Central

The quickstarts themselves (not the artifacts) are not pushed to Maven central anymore. I.e. they should appear in http://central.maven.org/maven2/io/fabric8/quickstarts/ , all with a prefix quickstart- (e.g. quickstart-cdi-camel)

Yes that is on purpose, we only release the archetypes


brid.gy publish to flickr: "Could not find content in h-entry or any other element!"

I seem to be having this issue with Wordpress --> Flickr. I'm getting this error:
D 2021-02-08 07:52:44.707342 Converted to ActivityStreams object: {   "objectType": "article",   "displayName": "Test photo",   "content": "
for crossposting to Flickr again
\n
<img alt=\"\" class=\"u-photo alignnone wp-image-4541 size-full\"   "tags": [     {       "objectType": "hashtag",       "displayName": "meanderings"     }   ],   "url": "https://alongtheray.com/meanderings/test-photo/";
I 2021-02-08 07:52:44.805459 Object type(s) {'h-entry'} not supported; error=Cannot publish type=article to Flickr.; trying next.
I 2021-02-08 07:52:44.805753 Could not find content in h-entry; or any other element!

..even though I can confirm the image has the "u-photo" item in the img class:
<img class="u-photo alignnone wp-image-4541 size-full" src="https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro.jpg" alt="" width="1598" height="1065" srcset="https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro.jpg 1598w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-300x200.jpg 300w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-1024x682.jpg 1024w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-1536x1024.jpg 1536w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-768x512.jpg 768w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-1000x666.jpg 1000w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-500x334.jpg 500w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-1400x933.jpg 1400w, https://flyingcdn-1007c4.b-cdn.net/wp-content/uploads/2021/01/El_Morro-1320x880.jpg 1320w<EMAIL_ADDRESS>600w" sizes="(max-width: 1598px) 100vw, 1598px" loading="eager" style="opacity: 1;">
Here's the logfile in full: https://brid.gy/log?start_time=1612770764&key=agdicmlkLWd5clYLEg1QdWJsaXNoZWRQYWdlIi9odHRwczovL2Fsb25ndGhlcmF5LmNvbS9tZWFuZGVyaW5ncy90ZXN0LXBob3RvLwwLEgdQdWJsaXNoGICAiL7qupwJDA
Is there anything else I can do to fix this?
Many thanks for providing a wonderful service!
Ray

Hi Ray! Sorry the error message here isn't clearer. You need a u-photo microformats2 class in your post on the image that you want to publish to Flickr. Example here.

tentatively closing. feel free to reopen!


Add Report Portal Import Task into Mac based pipelines

Integrate the Report portal import task into Podman Desktop E2E tests pipelines and verify the sending of the artifacts in report portal.

extraction of the junit file from the pipeline is not passed into import task and successfully pushed into report portal.


Add Next.js 14 support

Describe the bug
I have upgraded my app to Next.js 14 and the build fails.
To Reproduce
Steps to reproduce the behavior:

Use Next.js 14 with Nhost library for Next. It works well with 13.x

Expected behavior
Nhost APIs should work with Next.js 14 as well.
Screenshots

Desktop (please complete the following information):
All
Smartphone (please complete the following information):
All
Additional context
None. But happy to chat more about it.

Next.js 14 is a major release with many braking changes from [literally] 5 days ago and it isn't currently supported. We will look into this as soon as we can, in the meantime, help from the community is more than welcome.

if you really want to update right away you could use
    "next": "^14.0.1"
  }```

it works fine as far as i can tell


Added contributors-website

Description
#4 A website to list down names and description of all contributors of this repo from a json file.
This commit fixes #4
Dependencies
npm package
Future Improvements
Mention any improvements to be done in future related to any file/feature
Mentions
@Abbhiishek
Screenshots of relevant screens

Hey @Amarjit-Khan
Thanks for your contribution.
Can you also add the project file in root directory as we might deploy through vercel or netlify.
Also your sub modules are not visible to me .

Looks like we have some merge Conflicts, Let me know if you can fix it
Hint : Repull the main branch for updated file ☺

Can I close this PR and go for a new one? I was able to solve the conflict but the submodule link is not being shown. I will pull the repo clean and make the changes properly.

Okay go for it


Swagger UI: OAuthSchemeKey undefined in onOAuthComplete()

I set up swagger 2.0 with spring boot in order use implicit flow with a login page. I f I click the authentication button, my login site pops up, a bearer token is generated and passed to the swagger UI site. But the bearer token (resp. the authorization header) is not set in requests. After some debugging I isolated the problem:
In o2c.html the method window.opener.onOAuthComplete(qp); is called, where qp in this case contains the access token, e.g.
{ "access_token": "e680a84e-9719-40a2-91d9-9989c5b4c22b" }
But the method onOAuthComplete in swagger-oauth.js accepts two parameters, the token and the oauth schema key:
window.onOAuthComplete = function onOAuthComplete(token,OAuthSchemeKey) {
At the end of this method the second parameter is used to add an authorization:
window.swaggerUi.api.clientAuthorizations.add(OAuthSchemeKey, new SwaggerClient.ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
Since the OAuthSchemeKey is now undefined, it will not be found (and used) later on when making an actual request. When I fixed this live in debugger and set the OAuthSchemeKey to my scheme name "oauth2", everything worked quite well, the bearer token was set in every request.

I guess I should address this directly to the swagger-ui project, right?

@ralfstuckert thanks for the detailed analysis (its hard to come by) :metal:

I guess I should address this directly to the swagger-ui project, right?

To answer your question, yes if its a bug in anything other than a possible error in springfox.js. And it sounds like its a swagger-ui bug.
One thing to note is that it may have been fixed, but we only take dependencies on the latest released bits.

Opened an issue at swagger-ui


Trailing markdown codeblock

Hi @JosefLitos, thank you for the fix. I have some trouble in using this fork version. After hit the enter key to input the completion text, there is always the markdown code chunk marks around the code. One example:
When enter

The output become:

Originally posted by @y9c in https://github.com/zbirenbaum/copilot-cmp/issues/105#issuecomment-2078059530

This unfortunately seems to be directly from copilot - this is what comes from the api:
{
  completions = { {
      displayText = '{1..100}; do\n\techo -n "$i "\ndone',
      docVersion = 245,
      position = <1>{},
      range = <table 1>,
      text = 'for i in {1..100}; do\n\techo -n "$i "\ndone',
      uuid = "fa9f8b8e-60ad-4452-9824-8c9a35a4eb03"
    }, {
      displayText = "$(seq 1 100); do\n\techo $i\ndone\n```\n\n```bash",
      docVersion = 245,
      position = <table 1>,
      range = <table 1>,
      text = "for i in $(seq 1 100); do\n\techo $i\ndone\n```\n\n```bash",
      uuid = "44311928-7ef1-4cef-893a-c20eb4e333d1"
    } }
}

When looking into :Copilot panel I saw a lot of weird things containing simillar suggestions. Try to see for yourself if it is also there.
But I don't think it shows up for everything. Even when requesting a secondary suggestion for for i in  in an empty bash file, I got:
{
  completions = { {
      displayText = '{1..100}; do\n\techo -n "$i "\ndone',
      docVersion = 445,
      position = <1>{},
      range = <table 1>,
      text = 'for i in {1..100}; do\n\techo -n "$i "\ndone',
      uuid = "b36df68d-0e38-492f-b2de-7a60baa5b4b2"
    }, {
      displayText = "$(seq 1 100); do\n\techo $i\ndone\n```\n\n```bash",
      docVersion = 445,
      position = <table 1>,
      range = <table 1>,
      text = "for i in $(seq 1 100); do\n\techo $i\ndone\n```\n\n```bash",
      uuid = "bd7f59be-e49a-40f5-ab6d-ccf7826f26f2"
    } }
}

So it still can return normal responses, it just doesn't know what to suggest. I also wasn't able to reproduce this anywhere outside an empty file, so it may just be it having too little context.

Thank you very much for solving this. I have confirmed that when there is too little content in the file, Copilot adds the markdown block. I used to think the issue might be related to the plugin. However, if the issue is caused by Copilot, I can simply ignore the error.


Add LUMC specific information.

A logo for galaxy-docker-ansible had to be skipped since there is none yet. Image editing is not my strongest point.
I took the liberty to enforce line length in the yamls as I could not read the 500 character lines in about.yaml easily. I put this in one commit so it can be easily reverted.

@shiltemann Done!

thanks!


Sort the result of find before taking the first line

The order is not guaranteed to be sorted in any way.
See http://serverfault.com/a/181815
Fixes https://github.com/probonopd/AppImages/issues/163

Thanks for catching this!


ARROW-14589: [CI][Go] Fix CGO Windows Tests

@kszucs Hey I fixed it finally! Just took a few hours and a lot of tries but this solves the failing mingw cgo build :)

Great, thanks @zeroshade!
If I understand correctly this is a build issue, so this shouldn't block the in-progress RC0 release.

Yep @kszucs it's a build issue.


/usr/bin/env: ‘node\r’: No such file or directory

I keep getting this error no matter what I run. Is this a known issue or do I need to reproduce? I'm on Ubuntu 16.04.

Hey, it works in Windows environment. I will test it on Linux as soon as I can.

Yeah I googled around and after opening the file in Atom and saving it as LF instead or CRLF it worked. So the problem are line endings in the file, but I'm not sure how to solve it so it works on all OS's.

Looks like it didn't fix it. The problem appears to be this line. After editing this file and saving it with LF line-endings, I've managed to run it... and although it says (with some warnings) that it's done, I don't see an output file. :/

Yep, I am still looking for the solution. Other packages like screen-clear has/had the same problem.
Using directly works on my Ubuntu 16.04.1.

So Typescript build step is the problem then. The generated JavaScript file has a \r thrown in by Windows (because you run the build process using it). Man, I can't believe that it's 2017 and we still have newline issues during development. :sob:

I've installed the v0.2.2 tag from GitHub through yarn, build the projec locally and calling $ node node_modules/scss-bundle/dist/bundle-cli.js -e grassy.scss -d bundle.scss runs correctly now. So at least we're 100% sure what's the problem now. No idea how this is usually fixed. Does it work on Windows if you change \r\n to \n at least only on that problematic line? Maybe it could be a part of build step to "fix" the newline characters.
Or if we can somehow "fix" the files before they are run with a separate script?

If we change from CRLF (dos) to LF (unix), it should work on Windows.
I found that Typescript compiler has --newLine flag. I need to test it out if it works.

It runs now, with v0.2.3-beta :+1:

Fixed with https://github.com/QuatroCode/scss-bundle/commit/948e5af2571ef0e543822e28635cac4c233f4285

Regression in beta-1.0.2, the files are again in CRLF.

1.0.0-beta.3 works on Ubuntu.


设置为中文，有文字互相遮挡

设置为中文，有文字互相遮挡https://imgchr.com/i/QHAJVH

https://s2.ax1x.com/2019/12/18/QHAJVH.png

the same issue as #489, closing in favor of that.


Room is not running

Hy, our room isn't running. And the Command |room ist with no reaction

and the command |list shows up:
Cannot read property 'room' of undefined
TypeError: Cannot read property 'room' of undefined
at Command.action (/app/src/data/commands/list.js:16:64)

Hi! Unfortunately, I haven't been able to work on GuildLink for a while. However, I recently have had more time to work on my projects and have been working hard on the engine GuildLink runs on. After I'm done working on the update for the engine, I'll be working on improving GuildLink again, so expect some... Instability when using GuildLink.
May I please ask for your room's name and the ID of the server it was created in?

Hy,
this screenshot is from 10/12/2019 and the bot has always worked until then. I can't tell you more, because the command |room doesn't work anymore and the command |list brings this error message.
Thanks
Martin

Am 17.05.2020 um 05:00 schrieb Arthur Neuman<EMAIL_ADDRESS>Hi! Unfortunately, I haven't been able to work on GuildLink for a while. However, I recently have had more time to work on my projects and have been working hard on the engine GuildLink runs on. After I'm done working on the update for the engine, I'll be working on improving GuildLink again, so expect some... Instability when using GuildLink.
May I please ask for your room's name and the ID of the server it was created in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-629735342, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33EWJK3JCBAW6MZIFU3RR5HL5ANCNFSM4NBUTD2A.

The problem seems to be a mismatch with your server's ID so I need your server's ID or your server's name, please

how can I find the server ID?
GuildLink
#3508
Do you mean that?

Am 17.05.2020 um 14:59 schrieb Arthur Neuman<EMAIL_ADDRESS>The problem seems to be a mismatch with your server's ID so I need your server's ID or your server's name, please
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-629793497, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33HK4Z3OSDU3ICW3QNDRR7NRJANCNFSM4NBUTD2A.

If you don't know how to get your server ID, you can just give me your server's name. That will suffice.

Our Server has the Name „Glaxay Stars“
Von meinem iPhone gesendet

Am 17.05.2020 um 20:41 schrieb Arthur Neuman<EMAIL_ADDRESS>
If you don't know how to get your server ID, you can just give me your server's name. That will suffice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Is this the exact name of your server? It doesn't seem like the bot is in any server named "Galaxy Stars" or anything similar

I do not know which server name or ID to use?
Just come to our server, then we can talk better.
https://discord.gg/aUPDcfP

Am 17.05.2020 um 21:57 schrieb Arthur Neuman<EMAIL_ADDRESS>Is this the exact name of your server? It doesn't seem like the bot is in any server named "Galaxy Stars" or anything similar
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-629851847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33CKBQFGTPI3OGQBRHLRSA6RPANCNFSM4NBUTD2A.

I Found the Server ID:
541316995757637652

Am 17.05.2020 um 21:57 schrieb Arthur Neuman<EMAIL_ADDRESS>Is this the exact name of your server? It doesn't seem like the bot is in any server named "Galaxy Stars" or anything similar
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-629851847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33CKBQFGTPI3OGQBRHLRSA6RPANCNFSM4NBUTD2A.

I'm looking in the database and your server is not anywhere in there. Are you sure you joined the room? (Also, are you using the official bot or is someone else hosting it)

Hello, I have created the room and I am the owner. I have shared the room with another server, and this one has joined as well.
It has worked perfectly since 10/12/2019. Nothing has been changed. The bot stopped working on 05/14/2020 during the day.
We have always used the original of the bot, so yours.
Do you have a backup where you can see that our server is listed there? So a backup before the 05/14/2020?

Am 18.05.2020 um 22:08 schrieb Arthur Neuman<EMAIL_ADDRESS>I'm looking in the database and your server is not anywhere in there. Are you sure you joined the room? (Also, are you using the official bot or is someone else hosting it)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-630408589, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33FHFHP3SLO2NKIILB3RSGITLANCNFSM4NBUTD2A.

Unfortunately, my bot is hosted freely and the database does not have automatic backups. Did you or an admin on your server accidentally delete your room? There is no evidence of it or your friend's server in the database. (When I begin working on the next update, I'll be sure to include logs for creating and deleting rooms. I'm sorry that the bot is so unstable right now.)

Actually, I might be able to check. Around what date did the bot stop working?

It stop during the 14 May 2020
Von meinem iPhone gesendet

Am 19.05.2020 um 17:00 schrieb Arthur Neuman<EMAIL_ADDRESS>
Actually, I might be able to check. Around what date did the bot stop working?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry, but I was unable to find any records of deletion. I apologize for the problem. Maybe somebody deleted the room accidentally, I don't know. All I can tell you is that your room in not in the database.

I can tell you though, I'm very close to being able to work on an update for GuildLink, so stay tuned for a better experience with the bot!

How can I recreate the room? The |room command does not respond.

Am 19.05.2020 um 21:08 schrieb Arthur Neuman<EMAIL_ADDRESS>I can tell you though, I'm very close to being able to work on an update for GuildLink, so stay tuned for a better experience with the bot!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mets11rap/guildlink/issues/5#issuecomment-631023950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOM33C7U2KFUD3QESYKBRTRSLKLFANCNFSM4NBUTD2A.

It doesn't respond or it returns an error?

Ah, it seems the bot can't even start due to a bad practice that has caught up. I'm very sorry, but you won't be able to use the bot until I release an update :/ I'm really sorry for all the trouble I've caused.

Good news! The update is in progress at a steady pace with a lot done so far! You can check the progress here


Intermult pairs broken

First success of running tests: Detecting that the intermult pairs are broken.

This is fixed in f596cea1eee2e3bedbb050b6fde677521eb55fca


Fix typos in README.md

Thanks!
@homu r+

:pushpin: Commit b8fc699 has been approved by kvark

:hourglass: Testing commit b8fc699 with merge 60a1e32...

:sunny: Test successful - status


pkg/fs: Add RemoveAll function

New RemoveAll function intended to be a replacement for os.RemoveAll usage and be tailored to Windows scenarios.
Most importantly, this function works with []uint16 instead of string. This allows it to properly delete Windows filesystem trees that contain files with invalid UTF-16 paths.
Signed-off-by: Kevin Parsons<EMAIL_ADDRESS>

I still want to determine if long path support is needed here. However the code should be reasonable to review as it exists already.

Looks like some overzealous linter errors. May need to tune those down.

For the record, Go 1.21 will obviate the need for this this by using WTF-8 to carry filenames on Windows, ensuring round-trip-safe string representation of the full range of valid Windows filenames.

For the record, Go 1.21 will obviate the need for this this by using WTF-8 to carry filenames on Windows, ensuring round-trip-safe string representation of the full range of valid Windows filenames.

Yeah, I think it probably makes sense to just wait for go1.21 at this point. Glad that change made it in. :)


deb: add debian/raspbian 12 bookworm

follow-up https://github.com/docker/docker-ce-packaging/pull/838

https://github.com/docker/packaging/actions/runs/4158312841/jobs/7193442563#step:7:621
#41 82.58 # github.com/containerd/btrfs/v2
#41 82.58 In file included from vendor/github.com/containerd/btrfs/v2/btrfs.go:21:0:
#41 82.58 ./btrfs.h:19:2: error: #error "Headers from kernel >= 4.12 are required on compilation time (not on run time)"
#41 82.58  #error "Headers from kernel >= 4.12 are required on compilation time (not on run time)"
#41 82.58   ^
#41 82.58 In file included from vendor/github.com/containerd/btrfs/v2/btrfs.go:21:0:
#41 82.58 ./btrfs.h:22:30: fatal error: linux/btrfs_tree.h: No such file or directory
#41 82.58  #include <linux/btrfs_tree.h>
#41 82.58                               ^
#41 82.58 compilation terminated.
#41 84.60 make: *** [bin/containerd] Error 2

expected to fail, see #87


feat(tile): form control

What I did

make tile a FACE

Testing Instructions

check the unit tests, is anything missing?
manual testing in all the tile demos

@bennypowers there's a visual regression.

the visreg is probably because i replaced things like
<slot name="foo"> with <slot id="foo" name="foo">. probably i missed one of them in the shadow css file, or maybe they need display: inline instead of display: block, or some such.
if you have time Nikki after demos PR would you mind taking a look? otherwise i'll give it a peek tomorrow

the visreg is probably because i replaced things like
<slot name="foo"> with <slot id="foo" name="foo">. probably i missed one of them in the shadow css file, or maybe they need display: inline instead of display: block, or some such.
if you have time Nikki after demos PR would you mind taking a look? otherwise i'll give it a peek tomorrow

@bennypowers Yeah. Those divs were necessary to get the layout needed. I tried to do it in fewer when I first set it up. I can do it but it will most likely entail putting them back in.

Slot has display: contents by default which means that we far as CSS is concerned, is as if the shed content is directly there in the div
So if you remove the div and apply all it's properties to the slot (including default ones) it should just work
The exception would be if you're already setting a display property on the slot

What's left to do here? I lost track...

@nikkimk can you advise on where we're at?


Strange problem

From time to time we are getting exceptions in our logging server and we can't find what this is casing. After some debugging on our production server i dumped the array used by the TreeListener and this looks like this. I think it's an APCu thing but i'm wondering if someone has got the same error and now how to fix this?

Uncaught PHP Exception Gedmo\Exception\InvalidArgumentException: "ORM TreeListener does not support tree type: " at /vendor/composer/gedmo/doctrine-extensions/lib/Gedmo/Tree/TreeListener.php line 84

I also created an issue ad the APCu repo https://github.com/krakjoe/apcu/issues/111

there is a number of issues with APC and APCu avoid it as much as possible, it simply has memory leaks and I cannot help you with that in anyway. use opcache and upgrade your php version.

We are running PHP 5.6.6 but use APCu to store the Doctrine meta data. I guess we have to move that to something else or wait for any response on the apcu repo. Tnx for your response!

Well, it is sad you were using it for so long. Google for apc memory leaks and look in the issues of many php repositories.. there is no point in waiting for another production error

I have read all the stories and things about APC an APCu but never had any problems with it.


eccodes: Provide python bindings

Motivation for this change
This provides python bindings for the eccodes library.
Things done

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

[ ] NixOS
[ ] macOS
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@FRidh: Would you consider merging?


FT4.0 and FT2.0 accuracy contrast test

I use the transformer model, and the config as follows:

1, when using config2(filter_size = 4*hidden_size), i use FT2.0 to speed up the reasoning,  i compare the no original decoding (No optimized decoding)  results and the FT2.0 speed up  decoding results,  80% of the results are completely consistent, and it meet expectations, so i think the FT2.0 accuracy is okay with enough training.
2,when using config1, config2, config3, i compare the FT2.0 and FT4.0 proportion of the same decoding results  on the same testset. the config2 hidden size 48 is not supported by FT4.0 and we can ignore. In config1 and config3, we can see when the number of decoder layers is deepened, the inconsistency between FT2.0 and FT4.0  becomes worse even with enough training steps, and the FT4.0 results can not be accepted  after manual evaluation.

3, I also compare the  encoding output between FT2.0 and FT4.0, the diff is negligible, and i compare FT2.0 and FT4.0 results  on fp32  not with int8 and fp16, so according to my experiment, i find the decoding error  will expand when the decoder layer become bigger in FT4.0, if i want to use FT4.0 to optimize my config3 model, how should i resolve the accuracy problem?  and whether FT5.0 will resolve the accuracy problem when decoder layer increase?

What about the accuracy on benchmark? FT doesn't guarantee that the results can be fully same. FT only provide same level accuracy on public testing data set.
If you feel there are accuracy issue, please provide reproduce steps (docker, gpu, scripts, dataset) to reproduce your problem to show that there is obvious accuracy drop on v4.0 .

I conduct the experiment on dialog generation task, we not only compare the proportion of consistency but also manual evaluation (judge whether the answer is   reasonable when given a input query), and the test set is randomly selected.
The environment is as follows:
docker: just using tensorflow1.14/5  noting special
gpu:v100
cuda:10.0
codes:opennmt
traning set:100w
test set(random select): 100
The model structure and model change codes in google docs(op_encoderv4 and op_decodingv4)
https://docs.google.com/spreadsheets/d/1Pn5zC5MIHAwtrg4YSspK-QrT9oDfrhEgExWkZTKQEgg/edit?usp=sharing
And i will do more test when i am free , and i close the issue for now.


Make fastapi optional and raise error when imported but not installed

fix: #84  - Raise an exception with a clear message to install fastapi whenever spylib/oauth/router.py is loaded and fastapi cannot be imported.
First Pass:

Though fastapi is not required, but pydantic and starlette are. They were installed when installing fastapi, not added to the required dependencies instead.
Raise import error when spylib.oauth.router is accessed without fastapi installed
Run all tests like before if fastapi is installed, else skip the tests that uses fastapi

Hey @hillairet , can you help please? I can't get tox to install also the optional dependencies fastapi to run all the tests. Do you know how? Thanks

Ok I tried the fancy way and it wasn't installing the dependency so I made it to another test environment entirely and it's working great!
First the py310 test env with the fastapi tests skipped as currently intended:

Then the fastapi test env with fastapi installed, all the tests run:

Also to tox just do:
poetry shell
tox

It will complain about the missing python version but that's OK.
Well if you have python 3.9, you will run only pytest without fastapi.

@lishanl Another thing!
Instead of skipping the tests, it would be much better to check that the exception is thrown.
So within the test, check if fastapi is available:

If it is, run the current test
If it isn't, load the router and use the assert on exception to catch and verify the exception.

@lishanl Another thing! Instead of skipping the tests, it would be much better to check that the exception is thrown.
So within the test, check if fastapi is available:

If it is, run the current test
If it isn't, load the router and use the assert on exception to catch and verify the exception.

Good suggestion. thanks @hillairet


Option to enable kdump on day 1

Having kdump setup on day 1 will allow for quicker acquiring of data for any bugs found.  We can enable kdump on day 1 through these instructions.

Completed with #124


development preview url?

From<EMAIL_ADDRESS>on June 19, 2012 04:12:24
just a small suggestion,
on the project homepage, add a link to the raw git index.html file? http://wwwsqldesigner.googlecode.com/hg/index.html will load the newest git development version of wwwsqldesigner
Original issue: http://code.google.com/p/wwwsqldesigner/issues/detail?id=157

From ondrej.zara on June 24, 2012 08:31:27
While this looks interesting, note that no remote operations are available in this mode. I am not sure this would be useful.
Status: WontFix


On creating azure container instance getting error message "unrecognized arguments:"

On creating an azure container instance getting an error message
az command: az container create --resource-group sonarQubeSQC --name sonarqube --image sonarqube --ports 9000 --dns-name-label sqc.sonarqube --tags "Client=Internal" "Environment=Test" "Owner=SQC" --cpu 2 --memory 3.5

Thank you for opening this issue, we will look into it.

@arvinda221994 You are getting this error as az container create doesn't have any argument named --tag.  Please refer to the az container create documentation.

@SaurabhSharma-MSFT Thanks for your response, I don't see the --tags attribute in https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest document

@arvinda221994 Yes this cmdlet doesn't have any --tag attribute which you are trying to use.  can you please share the documentation which you are referring to which asks for a --tag or --tags attribute?

@SaurabhSharma-MSFT Yes I know that cmdlet doesn't allow tags, is there any solution to resolve that issue? Because I want to create a container instance using tags

@arvinda221994 In that case you need to create the container instance using az container create and then attach the resource with any tag using az resource tag.


Memory leak while decoding JPEG image

I'm experiencing a memory leak when loading JPEG images.
I discovered growing memory usage when rapidly loading JPEG images through the image crate (https://github.com/image-rs/image/issues/1055).
valgrind confirms memory isn't fully cleared.
Reproduction steps
The following simple program confirms this:
use std::fs::File;
use jpeg_decoder::Decoder;

pub fn main() {
    let file = File::open("/home/timvisee/Pictures/Avatar/256x256/Avatar.jpg")
        .expect("failed to open file");

    Decoder::new(file).decode();
}

This produces the following valgrind log.
# valgrind ./bin

==24980== Memcheck, a memory error detector
==24980== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==24980== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==24980== Command: ./target/debug/examples/mem_test
==24980==
==24980==
==24980== HEAP SUMMARY:
==24980==     in use at exit: 1,502 bytes in 19 blocks
==24980==   total heap usage: 391 allocs, 372 frees, 1,034,351 bytes allocated
==24980==
==24980== LEAK SUMMARY:
==24980==    definitely lost: 0 bytes in 0 blocks
==24980==    indirectly lost: 0 bytes in 0 blocks
==24980==      possibly lost: 288 bytes in 1 blocks
==24980==    still reachable: 1,214 bytes in 18 blocks
==24980==         suppressed: 0 bytes in 0 blocks
==24980== Rerun with --leak-check=full to see details of leaked memory
==24980==
==24980== For counts of detected and suppressed errors, rerun with: -v
==24980== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Not everything is cleared. It seems to be originating form the decode() function.
I'm not too familiar with valgrind, but I'm quite sure this isn't right. I'll attempt to investigate this now.

It looks like opting for the ImmediateWorker instead of ThreadedWorker in src/worker/mod.rs fixes the issue.
I've tested this by commenting out the following three lines:
https://github.com/kaksmet/jpeg-decoder/blob/c8e25252ec6c6888db8eb866dec47131c34949a3/src/worker/mod.rs#L4-L6
So, I'm assuming there's a problem with the threaded worker not being cleaned up properly.

I think the actual worker thread isn't stopped when the worker is dropped.
https://github.com/kaksmet/jpeg-decoder/blob/c8e25252ec6c6888db8eb866dec47131c34949a3/src/worker/threaded.rs#L22-L38
Looking for a fix now.


Hook up close buttons for header and action bar

@keybase/react-hackers
This hooks up the close buttons to work for the header and action bar.
If you close with command-w or something else, it will treat it like a close from the header bar.

@cjb says this is okay