[dashboard] make the widget header clickable and lead to the explore for that slice

the title for a slice on a dashboard should link to the explore view for that slice.
we will have to decide how to treat the header in this case to indicate that it's a link. maybe hover with lighter gray? or maybe no change in state and just the pointer cursor.

found that if slice name in the header is made clickable, it conflicts with the hover-to-show feature of chart-controls on the right of the header. One way to do this is making the chart-controls constantly shown, losing the hover-to-show feature. Like this:

After discussing with Alanna, the hover-to-show feature of chart-controls is more important since many users don't need the control toolbar, also 'explore' is available in the toolbar which adapts the current user-flow. So we might close this one without changing?


Industrial Reborn Support

Mod hasn't been updated in months. Only available for 1.18.1. Closing issue.


Remove useless variable - INSTALLER_CTR

This variable is unused and so I have removed it here.
See https://jira.mesosphere.com/browse/DCOS_OSS-1192.

cc @karlkfi

Closing while I investigate making this actually work


Please add write access for me

I don't have write access. I'm happy to raise PRs, but it's a faff.

Hi,
Sorry I’d set the team access up wrong. Please try again now.
Phil

On 17 Aug 2018, at 11:29, Pete Cooper<EMAIL_ADDRESS>wrote:
I don't have write access. I'm happy to raise PRs, but it's a faff.
https://user-images.githubusercontent.com/226578/44261825-c00c2d00-a210-11e8-9c5e-964135ab79b1.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/textpattern/server-config/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZP4f6z9ht-HcQZLqrAnld5NVEdGDC_ks5uRpsQgaJpZM4WBVpD.

http://www.designhive.com/
Design Hive Ltd, 30 St Georges Road, Badshot Lea, Farnham, Surrey, GU9 9LX, United Kingdom
Telephone: 01252 734144
Website: www.designhive.com http://www.designhive.com/
https://www.facebook.com/designhivepage https://plus.google.com/+Designhive https://www.linkedin.com/in/pwareham https://twitter.com/design_hive_ltd
Registered in England and Wales no. 4566184
Registered office: 30 St Georges Road, Badshot Lea, Farnham, Surrey, GU9 9LX

Working now -thanks!


[Bug] can't generate except pose

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

click randon pose
Click generate
only pose output successfully

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Windows, Linux]
Browser: [e.g. Chrome, Safari]
A1111 WebUI Version: [e.g. b9a66b02]
Extension Version: [e.g. 99f3e80 (Tue Mar 28 11:58:16 2023)]
ControlNet Version: [e.g. 241c05f8 (Thu Mar 23 15:18:35 2023)]

Additional context
i didn't see others in the same situation

I have this problem too(

问题同上


Output to file immediately?

Can btac stream results to the output file immediately? Sometimes it hangs on, say, 92% for hours, and there is no output file.
Alternatively, where are the intermediate results are stored?

Intermediate results are only stored in RAM at the moment. However, if you interrupt the program by Ctrl+C, it should dump everything to a new temporary file, whose path is printed on the terminal.

it should dump everything to a new temporary file, whose path is printed on the terminal.

Does it contain all entries or only the processed ones?

It contains all entries, so its safe to replace your input file with the dump. It should tell you how many were completed (which isn't very convenient I know, I'm working on changing it to show the id of the last completed entry).
Note that if you run btac on multiple files, it also concatenates all files into a single one.

Great, thanks a lot!


Vendor namespace for classes is missing

Please add a vendor namespace for all classes otherwise it can collided with namespaces in a modular zend-expressive application. Use your GitHub username.

Shall do. Thanks for the suggestion, @froschdesign.


metaverse self hosted in grid

run on top of tfgrid
docker compose ?
solution for the replication of files (syncthing)

have docker compose scripts for everything & good enough documentation

I had a call with metaverse team to get their detailed requirements, they run everything on machines directly with some custom nginx configs, that they will be sharing with a detailed guide


Experiment factory is returning the same client when initializing multiple instances

I have an node.js app that is using the Experiment.initialize. I just had a look over the factory that is creating the ExperimentClient. I know the purpose of that is to create a singleton for the client used to fetch experiments.
So, for my case, I use Experiment.initialize to create multiple clients (each client has his own apiKey associated) but as per current behavior just an instance will be created. To solve this I'm creating my own factory to be able to have multiple instances with different configs/ api keys.
Are you taking in cosideration updating the initialize/initializeRemote implementation to return the ExperimentClient instance based on the API Key?
https://github.com/amplitude/experiment-node-server/blob/5bbb4387309418f4519f35c554c9d03921284ac6/packages/node/src/factory.ts#L39

Hi @razvancpop, thanks for submitting this issue!
You're right, the current implementation does not allow for multiple instances. We can update this, thanks!

Thank you @bgiori, I created a PR for this if it's ok for you.
https://github.com/amplitude/experiment-node-server/pull/25

Hi @razvancpop, thanks for raising this issue! The relevant update has been made in v1.7.1


[IMPROVEMENT][BACKPORT][v1.2.4] Loading http requests on demand

#3528

@kaxing Please help verify and close this. Thanks.

Validation - PASSED
Tested with v1.2.x-head image set.
The XHR load time had been improved compared to v1.2.3.

v1.2.3
v1.2.x-head (pre v1.2.4)

More detail please refer to this comment: https://github.com/longhorn/longhorn/issues/3528#issuecomment-1018309566


Add Test Cases for RCv2

New test suite testing different scenarios for RCv2

@LiliDeng Overall, it looks good to me. Please have a look, if there are other suggestions.

any comments before I merge this PR? @squirrelsc

any comments before I merge this PR? @squirrelsc

I don't have more comments. Please make sure it's merged as squash.


Always open up a new preview window

Fixes: #2289
Addresses an issue with preview windows and how they are reused for
later preview, causing the preview screen to hang in some cases. Always opening up new windows is not perfect, but at least it results in consistent behavior.

Merged in 9eef436 - thanks!

Hello,
I know this issue has been marked as closed, but I think I have the latest version of wagtail (installed with pip) and I am encountering the same problem:

Create a page
Preview it
Return to the edit page tab
Make a change and save it
Click preview - the preview tab comes up with a spinning arrow

Thanks,
George

@georgemillard This fix has not made it into an official pip-installable release yet - it's coming in Wagtail 1.10, which is due in a week or two. (In the meantime, you can test the 1.10 release candidate: https://groups.google.com/d/msg/wagtail/XSP5yDyZzsw/f7xH-Xu2AwAJ )

That's great thank you - and thanks for replying so quickly!
George


remove imageproc::contrast::adaptive_threshold ?

in my most recent test there was no evidence that it actually improved qr code detection. The input resolution does matter more.
also its confusing that it is done automatically inside of the luma_image_data method, the method name does not tell about the adaptive_threshold

Just tested it again with 2 instances side by side, does not make a noticeable difference for me so I'm going to remove the image manipulation function

Ok it actually does make a difference. So I'm closing this now. I changed the code to try without it first then try 2 different values for block radius and then try an inverted version of the image.


Service name for unscd is unscd

Description
trying out a fix for issue #8. Need to verify that unscd service is the name of the service for all platforms, and not just Debian. My laptop was crapping out on tests. Essentially just names the service based on the package name.
Issues Resolved
Issue: #8
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

this is wrong. service and package name may not match. add new attribute for service name.

and all that i already described, i put it together in 2014, but nobody from nscd maintainers responded.
https://github.com/chef-cookbooks/nscd/issues/8#issuecomment-64780697

@glensc Thanks for the comments on the PR. Can you go ahead and submit a PR to resolve this problem? Make sure you sign your commit with the new DCO process. Thanks!


PR: Make HDFile pickleable

Essentially re-opens file on deserialization. This means multiple
processes may now have the same file open - should make sure only
one is writing.

This could use a test.  I would open a file, pickle and unpickle it, and then verify that it works as expected.

I found (manually), that writing to the deserialized file makes the original file unwritable - the write appears to succeed but has no effect if f2 is closed, or causes exception if f is still open (LeaseExpiredException).

https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/pull/43 concat() is coming to libhdfs3, which would allow writing from many processes and joining the files only when all writes are complete.

I'm going to close this for now as stale.


Why does Chore require memcached?

The documentation mentions a dependency on Dali for SQS consumers, but doesn't mention what that is for. Is it possible to add a bit more explanation as to what that does, and would you be open to a PR replacing memcached with Redis, as I'd rather avoid introducing another piece of infrastructure to our system just for this.

Hi @jellybob - because SQS's delivery guarantee is "at-least-once," we use memcached as a store for message IDs, so they can be deduplicated by the consumer processes. If your system is resilient to duplicate messages, you wouldn't require it and could safely omit it.

Should have mentioned - we're happy to review a PR which adds Redis as an option for dedupe.

Thanks for the clarification - we always build in a way which can handle duplicates, so its not an issue for us.


Context window exception after 8192 tokens

Using: text-generation-webui
Model: ehartford_dolphin-2.2.1-mistral-7b - not quantized
Wrapper: airoboros-l2-70b-2.1
Installed: using pip install -r requirements
OS: Windows 10
Shell: cmd.exe
Python: Python 3.11.3
pymemgpt installed: yes
Hardware: 12th Gen i7 64GB/RAM, TWO GPU's, both are RTX3060 12GB RAM
LLM and MemGPT on same system
Name: pymemgpt
Version: 0.2.1
Summary: Teaching LLMs memory management for unbounded context
Home-page:
Author: Charles Packer
Author-email<EMAIL_ADDRESS>License: Apache License
Location: C:\Users\rjx316.conda\envs\memgpt\Lib\site-packages
Editable project location: E:\MemGPT
Requires: demjson3, llama-index, openai, prettytable, pymupdf, pytz, questionary, setuptools, tiktoken, tqdm, typer
Prior to this update I was receiving an error that explained that the token count had been exceeded (i,e..  Exception: Request exceeds maximum context length (8309 > 8192 tokens)
In previous versions of memgpt this was recoverable by answering Yes to a retry. Now in this update the exception is not recoverable. Once the token limit is exceeded an error is produced and retrying does not work, it repeats  and at this point the agent is trashed and forever unusable. After about 10-15 minutes of conversation this happens to every agent. I have created several to test and see if it is consistent and it is easily repeatable.

Same issue. Here's a quick fix
Go to memgpt/memory.py line 144.
Or search for messages=message_sequence, in the file
Add context_window=context_window, after that.
So it should look like
    response = create(         model=model,         messages=message_sequence,         context_window=context_window,  )


[WIP] CI/CD with tox -- abandoned

PR:

employ tox to test on a much wider set of environments
cron GHA to test every week
expand testing from just python 3.11 to include 3.12 and 3.13 as well

after trying for quite a while, I think tox gets 👎 👎  from me -- it adds complexity and yet another layer of obfuscation for bugs to percolate up through. The only advantage I see is that it would let us move quickly from github actions to another CI/CD system if we wanted, but that seems very unlikely. So the additional complexity is not worth it.


HA guide changes

KCB changes related to https://github.com/keycloak/keycloak/pull/32093

Merging this PR as the PR to Keycloak's main repo has been merged as well.


Fix bench by adding embedder

Fix benchmark workloads following breaking change on embedders

/bench workloads/**/*.json

/bench workloads/**/*.json


Incompatible with honeybadger?

Adding semantic logger to an existing project yields the following result:
/Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/logging.rb:29:in `<': comparison of Fixnum with :debug failed (ArgumentError)
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/logging.rb:29:in `warn'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/agent.rb:124:in `initialize'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/agent.rb:69:in `new'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/agent.rb:69:in `start'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger.rb:30:in `start'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/honeybadger-2.7.2/lib/honeybadger/init/rails.rb:20:in `block in <class:Railtie>'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `instance_exec'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `run'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:55:in `block in run_initializers'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `call'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
  from /Users/mhenrixon/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:54:in `run_initializers'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:352:in `initialize!'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in `public_send'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in `method_missing'
  from /Users/mhenrixon/Code/project_name/config/environment.rb:5:in `<top (required)>'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
  from /Users/mhenrixon/Code/project_name/config.ru:3:in `block in <main>'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:55:in `instance_eval'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:55:in `initialize'
  from /Users/mhenrixon/Code/project_name/config.ru:in `new'
  from /Users/mhenrixon/Code/project_name/config.ru:in `<main>'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:49:in `eval'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:49:in `new_from_string'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/builder.rb:40:in `parse_file'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:299:in `build_app_and_options_from_config'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:208:in `app'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/server.rb:61:in `app'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:336:in `wrapped_app'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/rack-1.6.5/lib/rack/server.rb:272:in `start'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/server.rb:80:in `start'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:80:in `block in server'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:75:in `tap'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:75:in `server'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  from /Users/mhenrixon/.rvm/gems/ruby-2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:17:in `<top (required)>'
  from bin/rails:4:in `require'
  from bin/rails:4:in `<main>'

Anyone have any ideas why that is happening?

related to: https://github.com/rocketjob/semantic_logger/issues/28

This should be fixed in v4.
Please re-open the ticket with further information, or post questions in the gitter support channel  if you are still experiencing difficulties.


Should be able to delete a branch

From what I can tell the presence or absence of a feature branch (after it is merged) could affect the versions that GitVersion produces. If so, it would be helpful to be able to delete a branch here to test the various scenarios better.

This is already available:
fixture.Repository.Branches.Remove("branchName")


Extra window created

When setting up the most simple sample WPF application with .NET 7 a ghost window with the title "OpenTK Window" will be created parallell to the MainWindow.
This extra window is visible on the taskbar as well as from the Task Manager when expaning the process.
Changing to the extra window doesn't do much but can sometimes leave traces of contents on it.
Expected result
No extra window shall be created.
Configuration used

OpenTK 4.8.0
OpenTK.GLWpfControl 4.2.3
.NET7
Windows 11

Sample code
MainWindow.xaml
<Window x:Class="OpenTkWpf7.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"         xmlns:local="clr-namespace:OpenTkWpf7" xmlns:glWpfControl="clr-namespace:OpenTK.Wpf;assembly=GLWpfControl"         mc:Ignorable="d"         Title="MainWindow" Height="450" Width="800">     <Grid>         <glWpfControl:GLWpfControl              x:Name="OpenTkControl"                          Render="OpenTkControl_OnRender"/>         </Grid> </Window>
MainWindow.xaml.cs
public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            var settings = new GLWpfControlSettings
            {
                MajorVersion = 3,
                MinorVersion = 1,
            };
            OpenTkControl.Start(settings);
        }

        private void OpenTkControl_OnRender(TimeSpan obj)
        {
        }
    }

I have to add to this - I was observing that window in the past too (previous versions of GLWpfControl and OpenTK). But it was visible only when my application started a function using full CPU - making UI irresponsive. The black rectangle appeared in top left screen corner.
Last week I have upgraded the OpenTK Only - and since then I observe exactly what MikaelStalvik describes. Very annoying.

I also encountered this extra window called OpenTK Window, is there any way to remove it?

After some digging, it seems like this happens becuase of some change in OpenTK itself, not this control.
Reverting to OpenTK 4.7.7removes the problem.
Possibly this issue needs to be raised for the OpenTK control itself?

I think that #115 should solve this issue, as the window visibility bug should be fixed in 4.8.0+.

Yes, version 4.8.1 seems to have resolved this. Thanks!


Add JpegLSMetadata

Replace the dummy JpegMetaData with our own implementation. For now just an empty class with no specific LS properties.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+9.3%) to 80.0%

Totals

Change from base Build<PHONE_NUMBER>0:
9.3%

Covered Lines:
56

Relevant Lines:
73

💛  - Coveralls


Disable cohort and filter drop down when in chart mode

Otherwise people can change it but then they're still viewing the old data in the chart

Waiting to see what response you and/or Jing provides for "Chart Analysis View" mockup in Balsamiq...

We will push this release to production before we finish implementing the mock ups. Thus, this will still need to be done no matter what is resolved in the Balsamiq mock ups.

Just to be sure, the "Samples In" menu selection should remain as a drop down menu?  (It doesn't appear do anything...)

Every sample has Phenotype data. Try a cohort where not every sample has data (I'm pretty sure all the samples have data in all the datasets for that particular cohort). Try the example below instead.

@maryjgoldman Just went off your example -- I see how it effects the column data, and the sample quantity, e.g. n=xxxx.  In my previous question, I forgot to show/specify that I was referring to the Chart portion -- no matter which dataset I choose for the Samples, the chart is not effected in any way.
Sorry about the omission...

Ah, I see what you're saying. Yes, the filter is not being applied to the Chart. Do you want to file a bug or should I?

Actually, this is not a bug with filters. Right now in production we disable filtering when in chart mode. We should do the same here. Expanding this issue ...

Fixed via ceff53e923d31a7e9bf1d810b71999c7d94abb3d


Feature: 'image by URL' editor component

- Do you want to request a feature or report a bug?
Feature
- What is the current behavior?

- What is the proposed behavior?

an alternative to uploading an image to Netlify CMS, by referencing an external image instead.

This is partially possible by registering another editor component (see below), but this new editor component gets in conflict with the existing image editor component (as it's using the same pattern match). However, this component calls the toBlock function correctly when first added into the rich editor block, but after changing context, the text is matched to the existing image component.
CMS.registerEditorComponent({
  id: 'image_by_url',
  label: 'Image by URL',
  fields: [
    {name: 'url', label: 'Image URL', widget: 'string'},
    {name: 'alt', label: 'Alternative text', widget: 'string'}
  ],
  pattern: /^!\[(.*)\]\((.*)\)$/,
  fromBlock: function(match) {
    // Netlify CMS doesn't seem to execute this function
    return {
      image: match[2],
      alt: match[1]
    };
  },
  toBlock: function(obj) {
    var url = obj.url || '';
    var alt = obj.alt || '';
    return '![' + alt + '](' + url + ')';
  },
  toPreview: function(obj) {
    // Netlify CMS doesn't seem to execute this function
    var url = obj.url || '';
    var alt = obj.alt || '';
    return '<img src="' + obj.url + '" alt="' + obj.alt + '" />';
  }
});

I think we'd take a PR to update the current image widget with this.


VS Code Autocomplete doesn't suggest status codes

Trying to use the status codes but my editor doesn't show any suggestions.

Well... You'll not see a suggestion after created...

So there's only one convenience variable in there? What about other status codes?

If you write status.HTTP, can't you see all of them?

Nope - check this out

@assman
It seems working on my configuration.

So I think is not a FastAPI issue.

@assman
It seems working on my configuration.

So I think is not a FastAPI issue.

Are you able to see all the suggestions? Your screenshot is only showing 201 right?

@assman yeh, I can see any suggestion. In this case I tape creation so it is showing just the matched one.

@assman What Python plugins do you have installed in VSCode?


Allow removing all (following) recurring events

Google Calendar asks whether to remove all or all following recurring events when deleting, but it seems like Kin only allows deleting a single event instance.

Yep this should be fixed when recurring events support lands.


Pydantic V2 does not allow declare field as subclass of recognized pydantic types

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I marked this as a bug because i could not find documentation on release notes for v2. With pydantic < 2 we can declare fields as subclass of recognized types by pydantic, like this

from pydantic import BaseModel

class NewInt(int):
    pass

class Model(BaseModel):
    x: NewInt

But in pydantic >=2 we get this error PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class '__main__.NewInt'>. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.
Is it a desired behavior?
Example Code
No response
Python, Pydantic & OS Version
pydantic version: 2.1.1
pydantic-core version: 2.4.0
pydantic-core build: profile=release pgo=false mimalloc=true
python version: 3.9.17 (main, Jul  5 2023, 16:17:03)  [Clang 14.0.6 ]
platform: macOS-10.16-x86_64-i386-64bit
optional deps. installed: ['typing-extensions']

Selected Assignee: @adriangb

Yes this is by design. You need to implement __get_pydantic_core_schema__ to tell Pydantic how to handle your type: https://docs.pydantic.dev/latest/usage/types/custom/


String literals should not be duplicated

This pull request is focused on resolving occurrences of Sonar rule
squid:S1192 String literals should not be duplicated
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1192
Please let me know if you have any questions.
Zeeshan Asghar

Can one of the admins please verify this patch?

@GooeyHub ok to test

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyLauncherPRs/29/
Uh oh, something went wrong with the build. Need to check on that

manually merged.


Day View: Event ending after midnight are not showed correctly

I have a calendar with day view created as follow:
<Calendar
        components={{
          event: (e) => EventMain(e),
          agenda: { event: (e) => EventAgenda(e) },
        }}
        events={events}
        localizer={localizer}
        resources={resourcesMap}
        resourceIdAccessor="resourceId"
        resourceTitleAccessor="restitle"
        messages={messages}
        onSelectEvent={(e) => handleSelectEvent(e)}
        eventPropGetter={(e, start, end, isSelected) =>
          eventStyler(e, start, end, isSelected)
        }
        selectable
        onSelectSlot={(slotInfo) => {
          selectSlot(slotInfo);
        }}
        onView={(e) => setView(e)}
        min={new Date(2020, 1, 0, 19, 0, 0)}
        step={30}
        timeslots={1}
      />

Some events could end after midnight, in this case in day view events are showed at the top of the view and compressed, instead that starting at the correct time and reaching the end

In the screenshot the event compressed at the top start at 22:30 and end next day at 1:00; i need it to be placed correctly at least at start time.
any suggestion?

Maybe showMultiDayTimes?
https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/props--show-multi-day-times

Thank you, ill have a look, actually i dont really need the event to be taken to the next day since these are reservation for a restaurant and 99,99% of the ones that go over midnight, i dont really care when they really end (and i dont want to show them the next day)
at the moment i solved by rewriting the end time of the evento to 23:59 if the end time is the next day based on start time


about ROW_MAJOR

dear developers,
I just want to know when we need to use column major or row major? Is it related to
whether the program is written in C/C++ or in FORTRAN?
Thanks!
-- Huiqun Zhou

Hans,
Thank you very much!
FORTRAN keeps array in column major mode in memory while C/C++ in row major. As BLAS, LAPACK
were implemented in FORTRAN, libxsmm, when interfaces with BLAS, needs to be column major, too.
So, in fact, which major should be used still depends on which programming language is in use. For
example, if one wants to modify libxsmm to interface with CUBLAS, one must compile libxsmm in row
major, I think.
Thanks again.
Huiqun Zhou
------------------ Original ------------------
From:  "Hans<EMAIL_ADDRESS>Date:  Wed, Jun 1, 2016 02:59 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject:  Re: [hfp/libxsmm] about ROW_MAJOR (#80)
Thank you for your question! I have created a new Wiki page which collects questions and answers. Your question is covered here. I hope this clarifies things, and please complain if it is not sufficient.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Let me put it this way: if your matrices are stored in row-major order, you can still call BLAS by either transposing the matrices, or by twiddling the arguments. In LIBXSMM, transposes are currently falling back to BLAS i.e., one better twiddles the arguments. Please note that twiddling the arguments not only sticks to BLAS (no need for the CBLAS interface), but is rather simple given that we are not talking about complex number matrices.
Here is an example in C which assumes that the matrices are initialized in a C-natural i.e., row-major order (not pre-transposed during initialization):
const char notrans = 'N', trans = 'T';
libxsmm_dgemm(&notrans, &notrans, &n, &m, &k, &alpha, b, &ldb, a, &lda, &beta, c, &ldc);
libxsmm_dgemm(&trans, &trans, &m, &n, &k, &alpha, a, &lda, b, &ldb, &beta, c, &ldc);

Both of the above calls are equivalent, and handle the operands correctly while producing the correct result (in row-major order). However, when you configure LIBXSMM with ROW_MAJOR=1, you could write:
libxsmm_dgemm(&notrans, &notrans, &m, &n, &k, &alpha, a, &lda, b, &ldb, &beta, c, &ldc);

The latter somewhat turns LIBXSMM's BLAS interface into a CBLAS interface.

I believe the example above is not correct. BLAS specifies that all three matrices are column major. If you use column major layout, you cannot use (CU)BLAS right away.
If you want to use BLAS with row-major you simply exchange A and B and provide a row-major C matrix
When using transA=transB='T' C is still in column major, so will lead to problems in applications which assume that C is row-major.
So
const char notrans = 'N', trans = 'T';
libxsmm_dgemm(&notrans, &notrans, &n, &m, &k, &alpha, b, &ldb, a, &lda, &beta, c, &ldc);
libxsmm_dgemm(&trans, &trans, &m, &n, &k, &alpha, a, &lda, b, &ldb, &beta, c, &ldc);
are not equivalent, I guess:
First one:
   _____
   _____
   _____
   _____

___               =  _____

Second on:
   _____
   _____
   _____
   _____

___                   |   |   |   |
___                   |   |   |   |
___               =  |   |   |   |
___                   |   |   |   |

sorry github is reformatting...

You're right, and I've updated my comment (and removed the cluttered ASCII art). So:

(1) Gives C^T, interpreting in RM storage gives C.
(2) Gives C, interpreting in RM storage gives C^T.
(3) Gives C^T, interpreting in RM storage gives C.

So (1) and (2) are suitable for programs working with row-major storage, whereas (2) allows e.g., to pass the result into code which assumes column-major storage. As pointed out already, (2) is not supported by LIBXSMM right now due to transpose being not supported.
To go back to the original question about ROW_MAJOR configuration, all I wanted to say is: do it like (1) in order to stay in BLAS-style rather than re-configuring LIBXSMM (unless one really wants CBLAS). So given that (CU)BLAS is also BLAS-style, one can replace those calls in a "1:1 fashion" using LIBXSMM and there is no need to touch ROW_MAJOR.


Use nanobox configure for first-time installation

When download and installed nanobox for the first time, the instruction says (with good intention) to use nanobox run.  After playing with nanobox a little bit, I can see that nanobox is a friend what you use often. The nanobox team wants you to get to know nanobox run early.
However, running nanobox run for the first time, a error message says something like this appears: boxfile.yml is missing.  I (a first-time user) took the error message to indicate the nanobox instalation was not entirely successful.  I want to sure if I should go on or re-install. I re-install multiple times.
@sanderson from nanobox helped me to understand that nanobox configure work for first-time installation (same as nanobox run), and does not show a missing boxfile.yml message.
Therefore, I would like to suggest changing the first-time instllation instruction to us nanobox configure, instead of nanobox run, to ensure an early success experience.
It would be helpful is the instructions is something like this:
nanobox configure
nanobox version

Install nanobox
Seeing the version means successful installation

Now we can go on to crating a simple nanobox app.

Thanks for the feedback. Nanobox can be run in the way you mentioned nanobox configure then nanobox run. It was designed to be flexible in that way. The instructions were written to only have the nanobox run command intentionally because it help to convey that nanobox is a tool made for productivity and we didn't wont new users to get bogged down in configuration and setup. If there is more interest in the community to modify the structure we will definitely re evaluate.

@saun4app I also pushed an update to the install docs that hopefully help to clarify. You can view them here: https://docs.nanobox.io/install/
I think one thing we do need to consider from your feedback is the gap between installing nanobox and using nanobox. The guides are designed to fill this gap, but maybe we're not doing a good enough job of funneling people there or clearly communicating the process.

@lyondhill,  thanks for the response.  As I mentioned, I believe using nanobox run was based on good intention.  However, the good causes unintended negative consequence.   In order to actualize your good intention, a new user either

has to learn nanobox app creation before installing nanobox, or.
get an error message implies that the installation has failed.

@anderson,  thanks for you quick action as always.  I am not seeing step-by-step instructions for install on https://docs.nanobox.io/install/; not even clearing cache?

@sanderson,
I would be helpful to change the label of "Guides" to something like "App Development Guides", "Creating nanobox Apps", etc.  The current label "Guides" under "GETTING STARTED"  implies that the "Guide includes nanobox installation.
The Install Nanobox pages more than implying it has step-by-step instruction for installing nanobox, but I did not find it.

@saun4app, do you mind providing something you'd like to see for "full step-by-step" instructions for installing. It does seem like it could benefit that install nanobox page you linked.

Setup Nanobox
This guide walks you through the process of downloading and installing Nanobox VM and CLI on your local machine.
Sign Up and Download at nanobox.io

nanobox.io allows local development for free. However, only registered users are allowed to download nanobox.
Register with nanobox.io at https://dashboard.nanobox.io/users/register.
Download the appropriate version of nanobox for your local machine.
Register at nanoboxio.slack.com by following the instruction on the welcome email from nanaobox.io.

Installing nanobox

To instal nanobox for Ubuntu, run the following commands at the download directory

docker -v
dpkg -i nanobox_2_amd64.deb
nanobox configure
nanobox version

Get help at nanoboxio.slack.com if you encounter errors.

Checking local machine

Run the following bash commands to verify local machine setup is ready for creating nanobox app

docker -v
node -v
npm -v
nanobox version

Get help at nanoboxio.slack.com if you encounter errors with nanobox version.

Thank you for the suggestion. However, there are some issues with your instructions:
Installing nanobox

docker -v isn't required to run in order to install nanobox. (it is possible that it is a pre-requisite though, depending on what the user wants to do (native|vbox))
dpkg -i isn't required as all os installers can be double clicked (a common method of running, as our docs direct)
nanobox version isn't required to complete the installation or anything.

Checking local machine

again docker isn't a hard requirement
node and npm don't need be on your local machine for nanobox to run, all you need is the nanobox binary, docker or virtualbox, and an editor.
nanobox version will only print the version, no checking is involved anymore.

Really, what could be helpful to users would be adding nanobox configure and nanobox start to the install doc. I'm going to close this issue and tag @sanderson, since he is over the docs.
Thanks again for the feedback/suggestion though.


⚡ Standardization of rep

Hi @ericjeker, we need to adjust a few things first to move forward, ok? ✨
First, we need to update the screenshot!
Can you take a single capture at the closest possible resolution to 1728x1117?
We also need a separate .md with installation instructions to show the theme on the site.
I ask for these changes to standardize with the other repositories see an example; this is also important because it helps other potential users who would like to contribute too! 😁
Let me know if something isn't possible or if you have any questions! 🙂

Hi Lucas,
I think there is already a INSTALL.md file in the root folder. There really isn't any other installation instructions needed.
Let me check if I can give you a better example and a screenshot. I did that months ago. 😄

Hi 👋🏻 Eric, I've made some of the needed adjustments; we need to update the screenshot now!


What about plugins ?

Hi, this template is really cool and save us a lot of time.
I'm currently trying to turn a project, made with this template, into a dart:ffi plugin.
Is there any guide or documentation or tips to do it ? This looks like a lot of tricky configurations to do, and I'm kind of lost.
Also, I think that it would be just perfect to have a plugin template out of the box

Thank you for your kind words! There was some interest a few months ago on making a FFI plugin template, sadly I've not had time to follow up on this. I also haven't been using Flutter recently, but otherwise would be glad to review PRs either on this repo or the codegen's.

Ok I see, I will work on creating a ffi plugin template. Maybe I can also update the docs on the codegen package if I got interesting things to add

I think I will start from the macos-static branch, because it's what works on macos for me.
Is there a reason to not merge this branch into master ?

I think I will start from the macos-static branch, because it's what works on macos for me.
Is there a reason to not merge this branch into master ?

Not much, other than that I (or someone else) will have to update the documentation to match.

I made this branch on my forked version of this repo. This is a v1 template for plugin development, currently works on android/ios/macos.
Should I push in this repo on a specific plugin branch ? Or should I keep it on my side and rename it "flutter_rust_bridge_plugin_template" ? Not sure what's best

Looks great! Could you create a PR against the plugin branch? I'll update the documentation to point to it.

Also, here is a plugin make with the plugin template

Note that currently the ios/macos libraries are way too big and can't be published on pub.dev

This was also mentioned in part in the original issue as well. Perhaps we can leave it as a possible future contribution, and put in some documentation on this limitation and possible workarounds.

I manage to fit my plugins to pass it under the pub.dev size limit. Basically, the tip is to use dynamic libraries whenever it's possible. I will update the template soon


[Feature] Adding logs to a forester's campfire

considering this is such a slow action would love to be able to glance up and see how far into it i am/how long i have left to afk

Not familiar with the forestry mechanics. I will look into this next time I work on the plugin

Couldn't find the exact tick values for that action, but I made a change to should match pretty closely. Will come to runelite soon

Fix is live


Oncoplot annotationDat Sorting Bug and Documentation Inconsistency

The documentation has

... a column containing Tumor_Sample_Barcodes ...

but if I have such a column, it seems that the code wants a column named Tumor_Sample_Barcode instead.
Error in `[.data.frame`(annotationDat, , c("Tumor_Sample_Barcode", clinicalFeatures)) :
  undefined columns selected

The code and documentation should be harmonised.
Another problem happens if there are ties in the annotation variable used for sorting of the samples. All of the ties are placed first and then the samples with unique values are plotted after the ties. For example,

The first six samples on the left side of the plot have patient ages 41, 41, 47, 47, 67, 67. The rest of the patients have ages which no other patient in the data set has. The first six columns should be interspersed with the other columns.

Can the problem be fixed within the next two weeks? The next release of Bioconductor will be in two weeks' time and it would be great to have numeric clinical variables working properly in the release version of the package and installable by BiocManager. It seems that this use-case is in high demand #263

HI Dario,
Yes, that is the plan. I would like to address as many issues as possible before the release. Sorry things  have been busy so couldnt spend much time on this. I will fix it soon..
Thank you.

Hi Dario,
I have pushed a fix for numeric annotations. I have removed isNumeric argument and it now auto-detects such numeric annotations and plots them with a gradient colors. This was bit tricky, and I think I have patched it.  Please let me know if you find any bugs.
Thanks.

Thanks for making it possible. What do you think about cBioPortal's oncoplot's representation of numeric values as a bar chart? The human visual system has trouble distinguishing subtle differences of colour gradients whereas the height of a bar is easier to interpret.

Would it be less tricky to implement and maintain in the future than the gradient representation by splitting it into four ordered categories like you've done?

Hmm.. This looks much better, and I do agree gradient coloring has certain disadvantages.
I will try to make this - I guess it should not be that complicated.


⚠ Bofrost.gr has degraded performance

In 6a0f125, Bofrost.gr (https://www.bofrost.gr) experienced degraded performance:

HTTP code: 200
Response time: 1518 ms

Resolved: Bofrost.gr performance has improved in 8fbbea5.


Generate an initfile for every directory.

BTW, this is not a good feature when generating Protobuf files into an existing source tree with supporting init files already in place, as it destroys the existing ones. :(


Allow Content Security Policy directives to be extended with config option

The default directives can be extended when required rather than adding more defaults to core that would likely be implementation oriented. Such as adding www.google.com... as a an allowed src for the analytics code

I feel like having an additional option to config.csp of config.extraCSP is kinda nasty and redundant.
I'd prefer something like:

config.csp is falsy => csp disabled
config.csp is true =>  csp enabled with default settings
config.csp is an object of the appropriate format => csp is enabled with custom extended settings.


Ensure code block after every request

Motive: Sometime we do things like logging, or open sessions, or other actions during an API request and we want to make sure those actions are wrapped up afterwards.
This introduces a DSL way of handling this after every request on an API
I've made an attempt at it:
https://github.com/ruby-grape/grape/pull/1864

as I already mentioned in the referenced PR, this could be solved by using an endpoint middleware.

I agree that it could be sorted by Middleware @dm1try but I do feel like having an after block that always run should be a feature in Grape regardless.

it looks like the default behaviour mimics  ROR after_filter(AFAIK things are different in sinatra)
it could be made configurable
after(run_on_exceptions: true) do
end

I'd rather have a version that keeps current behaviour and one that doesn't, as I feel they are very different.
The point of it is having every other bit of grape's helpers which makes it more useful than just an endpoint middleware.
However, I'm fine if the majority consensus is against the feature

I'd rather have a version that keeps current behaviour and one that doesn't, as I feel they are very different.

could you please elaborate?
I see the only one difference: in one case the code that placed in the after callback does not run if an exception occurs, in other case the code is run anyway.
def run
  before_logic
  logic
  after_logic
end

def run
  before_logic
  begin
    logic
  ensure
    after_logic_that_always_run
  end
end

def run
  before_logic
  begin
    logic
    after_logic
  ensure
    after_logic_that_always_run
  end
end

and the use one or another certainly depends on the logic that placed in the callbacks.

The point of it is having every other bit of grape's helpers which makes it more useful than just an endpoint middleware.

actually, a middleware looks more suitable for logging. as I already mentioned in the referenced PR, an exception can be raised in the middleware stack before an endpoint run. I think, in that case, users expect that the request will be logged also.

I see the only one difference: in one case the code that placed in the after callback does not run if an exception occurs, in other case the code is run anyway.

I feel like the use cases after a successful request and after every request are different enough to entitle different method names (As usually the point of a DSL library should be to make the intent clear)
While it's technically true that an exception might be caught by middleware, it's also true that unless you ensure that logging is the first middleware to run you'll always face this problem.
Regardless, having a block of text that always runs after the API call and shares a context with the before block sounds fairly useful to me (Generically I'd rather use this for some types of logging than middleware because it's more easily readable on the endpoints and a lot less verbose)
i.e.
class mainAPI < Grape::API
  before do
    start_general_api_call_log
  end

  finally do
    finish_general_api_call_log
  end
end

class FinancialEndpoint < Grape::API
  before do
    start_financial_transaction_log
  end
  finally do
    finish_financial_transaction_log
  end
end

class SomeOtherEndpoint
  get 'unique_financial' do
    start_financial_transaction_log
    # ...
    finish_financial_transaction_log
  end
end

In that example I can use this log in a pick_and_choose, and because it is just a helper I can use it on some endpoints granularly.
Also because it's a helper it could contain information from other helpers (for example, the user_name)
Sure I can use Middleware to accomplish all of the following but it gets noisy and less dry really quickly for some use cases.
I'll let you and @dblock make the final call however as to whether or not to merge it

I think @myxoh's explanation of the motivations for the finally block is very compelling. It's also very Ruby-like and Grape-like to give people a few different ways to accomplish the same thing, especially by offering a DSL. So by the powers vested in my self inflicted benevolent dictatorship I shall merge #1864.


Client Allocation Request for: Kitchenidea

Client Allocation Questions
Core Information

Name: Kitchenidea
Website / Social Media: http://www.kitchenidea.com.cn/
Region: Greater China Region
DataCap Requested: 30TiB
Addresses to be Notarized: f1rgthnuxaodonu2aug6fwq5mrpbabfodgm4kvhly
Notary Requested: swatchliu

@MI1ca Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Thanks for your request. Can you kindly add more information here?
Is your company located in Greater China？
Please give the following information and provide links to social media/news mentions.
Duration of establishment,
Number of employees,
Business scope and products or services,
Social media link (Weibo, WeChat, Douyin, Zhihu, Facebook, Twitter, Linkedin, e.g.),
Data size to be stored,
Have you already applied for DataCap to another notary, and whether it is accepted or rejected? Is there any reliable DataCap left?
Would you like to submit more company information on www.bytebase.cn?
Would you like to accept our face-to-face visit?

Hi @swatchliu

Yes, our company is located in Hangzhou, Zhejiang Province.
Our company was founded in 2020.
Currently we have 72 employees.
As you can see from our company name, it's kitchen + idea. We are a brand with kitchen appliances as the main product, dedicated to the development of AI cooking robot and multifunctional cooking machine. In line with the contemporary trend of artificial intelligence, our brand is very popular among young generation customers and was trending on Chinese social media such as Douyin and RED(小红书).
Our machines are multi-functional, providing recipes on the touch screen, covering the functions of basic kitchen appliances such as coffee maker, kettle, yogurt maker, juicer and electronic scale and so on. We are proud of our brand for turning beginners into chefs and will continue to develop and improve our existing machines and recipes.
Here is a link to some of our products: http://www.kitchenidea.com.cn/#/Product?propType=1&type=10
Weibo 田螺云厨 with 63k followers
https://m.weibo.cn/u/5980246058?uid=5980246058&t=0&luicode=10000011&lfid=100103type%3D1%26q%3D田螺云厨
We have our Wechat Official under the same name as 田螺云厨
Currently we need 30TB, but with the expansion of our business, we might gonna apply more in the future.
No, this is our first time working with Filecoin.
Sure, we would love that.
Yes, our company is in Hangzhou and we welcome you to visit us.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzaceasouhuieznnaodxa7yrnufzfp3z7j7malkt2sqbizy4zkiigsuwo

Address

f1rgthnuxaodonu2aug6fwq5mrpbabfodgm4kvhly

Datacap Allocated

30.00TiB

Signer Address

f1yh6q3nmsg7i2sys7f7dexcuajgoweudcqj2chfi

You can check the status of the message here: https://filfox.info/en/message/bafy2bzaceasouhuieznnaodxa7yrnufzfp3z7j7malkt2sqbizy4zkiigsuwo


Using .with and .update with some raw objects mixes up bindings

Environment
Knex version: 0.15.2
Database + version: Postgres 9.6.9
OS: Mac High Sierra
Bug
Setup:
const knex = require("knex")({...});

var t = knex.raw(`(SELECT 1)`);

var query = knex.with("foo", w => {
    w.select(knex.raw(`?, ?, ?, ?`, [1,2,3,4]))
}).from("bar").update("foo", knex.raw(`CASE
    WHEN ? = ? THEN ?
    WHEN ? = ? THEN ?
END`, [
    t, 2, 'a',
    t, 1, 'b'
]));

Expected SQL Output:
with "foo" as (select 1, 2, 3, 4)
update "bar" set "foo" = CASE
    WHEN (SELECT 1) = 2 THEN 'a'
    WHEN (SELECT 1) = 1 THEN 'b'
END

Actual SQL Output:
with "foo" as (select 2, 'a', 1, 'b')
update "bar" set "foo" = CASE
    WHEN (SELECT 1) = 1 THEN 2
    WHEN (SELECT 1) = 3 THEN 4
END

As you can see, it's mixed up some of the bindings between 2 different raw objects.
In this example, the "foo" with table has nothing to do with the update part, it was just a quick simple example to show the problem.

Furthermore, if we separate the raw objects into their own variables and log them
var t = knex.raw(`(SELECT 1)`);

var raw1 = knex.raw(`?, ?, ?, ?`, [1,2,3,4]);

var raw2 = knex.raw(`CASE
    WHEN ? = ? THEN ?
    WHEN ? = ? THEN ?
END`, [
    t, 2, 'a',
    t, 1, 'b'
]);

var query = knex.with("foo", w => {
    w.select(raw1)
}).from("bar").update("foo", raw2);

console.log(raw1.toString());
1, 2, 3, 4

console.log(raw2.toString());
CASE
    WHEN (SELECT 1) = 2 THEN 'a'
    WHEN (SELECT 1) = 1 THEN 'b'
END

Then these 2 show the correct sql pieces,
console.log(query.toString());
with "foo" as (select 2, 'a', 1, 'b') update "bar" set "foo" = CASE
    WHEN (SELECT 1) = 1 THEN 2
    WHEN (SELECT 1) = 3 THEN 4
END

this still mixes them up

Reopen if this doesn't work with master or with 0.16.0 release... maybe we really should start doing @ next releases to npm to make it easier to verify these.

"@next" releases would definitely be appreciated greatly :)

I'll try to do one and document the process so that others can do it too afterwards.

@elhigu I could contribute some time to do releases if that would speed up the process

I dont think we are ready yet to release 0.16.0, but updating those ’next’ releases would be helpful so that I wouldnt have to think about them (thats the main reason I havent done them so far)


Freezing game onfline

Hello i having a problem , my game is freezing randomly i already restart the game and reload save but is bugged.
Its always when i take a item, my game freezes.
I already reset 3 runs because of this some1 has idea how to fix it?

Have you taken the latest version? Your issue is supposed to be fixed in v2.0.1. This is the link for the latest build (2.1.1) https://github.com/Admiral-Billy/Pokerogue-App/releases/tag/v2.1.1
If it is already the case, can you open you devtools, go to console, and screen the errors?

It could be a recurrence of #12 - I've posted a comment on there already with evidence that it's still a problem
@NarcisoUNK have you got a save file that you can replicate the issue with?
Failing that, if you follow these steps, you'll be able to take a screenshot of the error

Press F12
Go to the Console tab

Screenshot (Shift+Win+S) the application (including the text in the console tab) so you have a picture like this

I have to play more again because i restarted the run,i will try today to get same round i got there to replicate the problem.
Probally when i got the issue again i print here once again
Thank you

Game keeps freezing after battles. Updated in the way that the screenshots above showed, running as admin.
console screenshot
https://prnt.sc/-f8jdjiPObAn
Failed to fetch error.

Game keeps freezing after battles. Updated in the way that the screenshots above showed, running as admin.
console screenshot https://prnt.sc/-f8jdjiPObAn Failed to fetch error.

could you export that save and upload it to this issue @evilmaran?
You may need to suffix the save with .txt

sure here it is
data.prsv.txt

Is this in online mode? It's fetching URLs instead of files, and the servers are having issues that'll cause stuff like this to happen.

Hello once again i got here a print from a console on other run, i am doing

Is this in online mode? It's fetching URLs instead of files, and the servers are having issues that'll cause stuff like this to happen.

yeh it is, didnt know it was server related, swapping to offline today.

Hello once again i got here a print from a console on other run, i am doing

Update: I installed the updates i played around 15 waves more and he crashed once again

This one I can't really confirm without more information, e.g. offline/online mode, and the latest version of the app you've install from GitHub. My hunch would be that it's an older version of the app (slightly) since it doesn't have the debug text I put in to track down some of these issues, and/or it's in online mode so they don't show up, but I can't confirm either of these.

Like i said on title is on offline mode , and yes is the latest version because i used the option of Download latest files for offline.

I'm talking about the latest version of the app, not the game.

For now I'm going to assume this issue was resolved; I haven't gotten any recent reports of it that updating the game + app hasn't fixed.


Basic YAML generation

It's incomplete but I wanted to share it early to gather feedback on the interest on merging it, and on the approach (of writing it in Crystal instead of wrapping libyaml like the parser does).
Things missing:

Support for custom classes serialization macros
Maybe more core classes
Probably lots of edge cases (escaping strings, multiline paragraphs, etc.)

:+1: from me

:+1: I want it to generate diagnostics in tap.

Looks good so far :-)

I just removed the unnecessary #to_s and #to_a. I guess there's a potential refactor into a YAML::Generator#array method that yields some kind of ArrayBuilder (similar to the one in the JSON library) to avoid the very similar code for Set, Array and Tuple, but I think it'd add more complexity than it'd remove.
Should I rebase these commits together?

@porras Yes, please rebase/squash and then I'll merge it :-)

@asterite I just did, thanks!

Thanks!! :-)


yfinance does not return data for Indian (NSE) stocks

I have been using yfinance to pull historical data for Indian stocks by appending ".NS" (extension for Indian National Stock Exchange) to the symbol, and it was working wonderfully.
Here is the example that was previously working:
import yfinance as yf
symbol = yf.Ticker('INFY.NS')
symbol.info
However, now the above code doesn't work. It apparently works only for US stocks - in above example it will work for US Infosys if ".NS" is removed.
Can you update the code so that Indian Stocks are also returned by yfinance.

I tried downloading data for stocks listed on NSE using yfinance version 0.1.63 and it's working. I am attaching the snapshot as well. Can you possibly try it again?

Hey Rajesh
Yes, you are right. I have now updated it to the latest version, and it is again working flawlessly. Thanks to Ran Aroussi, and thanks to you buddy for helping me out. Cheers...


[PW-2786] OpenInvoice lines support and Klarna PMs

Summary
This PR adds order item lines to the payments request in order to support open invoice PMs. It also includes Klarna Pay Later and Pay Now.
The services.xml abstract payment method handler declaration now is parent to the concrete handlers and some old use statements were removed.
Tested scenarios
Payments with Klarna Pay Later and Pay Now.
Payments with 3DS and non 3DS cards.
Fixed issue:  PW-2786

some phpcs is still failing as well


Why we need to add do in order to provide arguments?

func do
  1
  2

#why not just

func
  1
  2

I am asking because trying to implement pug like syntax based on LiveScript and attract React developers (https://github.com/flyber-net/lsx-pug)

you have unreadable syntax in both cases. imo.

I'd remember that you can write React in this way:
div do
  className: 'book' # props
  Presentation.render @props.data, @props.scale # children

The compiler does not know that func is indeed a function.
You have to provide a hint to create an argument-list from this code-block

@igl please read it https://hackernoon.com/react-livescript-livescript-2-0-164d35ca5373#.q5m3pjmdl

@askucher, getting rid of the do would indeed make your DSL look nicer, but if you want to understand why having to write the do is useful, you should probably look at some different applications of LiveScript.
For example, here's some LiveScript that works today that would mean something different if LS had indentation-based do inference:
args =
  \--options silent-opt
             noninteractive-opt
  \-- filename

This snippet takes advantage of the fact that indentation is irrelevant inside a list, and is obviously not intended to mean
args =
  \--options silent-opt do
             noninteractive-opt
  \-- filename

I agree on the DSL pro, that's why I tried it out in (LS-inspired) Onyx... https://github.com/ozra/onyx-lang/issues/60#issuecomment-201954355 - sure it has type inference - but parsing is done before typing (to avoid the hellishly slow C++-compile times), so it would obviously work in JS-transpile-lang, if it wasn't for wasting possibilities on... not so necessary features.
LS has been very good to me over the years (still use it daily aside from the to-native langs) - but there can definitely be something better.


Fix links to github.

hpp-doc branch is euroc-c1,
hpp_tutorial branch is master.

@anna-seppala is this ok for you ?

Yes this is a relevant correction, it seems that I forgot to change the hyperlinks after renaming the euroc branch.

rebased on top of branch humanoid-path-planner:euroc-c1


what is the replacement if this is depreciated?

The article says "Web performance and load test functionality is deprecated. Visual Studio 2019 is the last version where web performance and load testing will be available." - what is the replacement feature (if there is one)? I don't want to learn an out of date skill!

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

ID: 91dd5df5-a6e9-dba6-470e-bfeb1f040ab4
Version Independent ID: d56e043e-d5df-0802-6d14-00110785c210
Content: Fix non-detectable dynamic parameters in web performance test - Visual Studio
Content Source: docs/test/fix-non-detectable-dynamic-parameters-in-a-web-performance-test.md
Product: visual-studio-windows
GitHub Login: @gewarren
Microsoft Alias: gewarren

@dombat Please see this comment.

Closing in favor of #2032 .


feat(python): Add stack information to gRPC errors

Fixes ENG-1895

Not sure what @itayd means in his question (i.e. if there's some concern there), but I'm personally waiting for this

he did a print method hijacking to capture all logs. i wonder if it'll go there or some kind of unified error.


Support CSS two-value display syntax

https://www.smashingmagazine.com/2019/04/display-two-value/

Here's another article that talks about two-value display syntax: https://hacks.mozilla.org/2019/10/the-two-value-syntax-of-the-css-display-property/

Now in Safari TP 125, https://webkit.org/blog/11680/release-notes-for-safari-technology-preview-125/:

Added support for CSS display 2-value syntax (e.g. display: inline flex ) (r276293)

Available at https://caniuse.com/mdn-css_properties_display_multi-keyword_values.

@Malvoz Ah, nice, thanks! Then this can be closed. Tried to find that, but didn't since I only searched for two value. Curious why MDN chose "Multi-keyword"…?

@Schweinepriester I was specifically searching CanIUse for MDN data using the display keyword and unticking the Caniuse checkbox. 😋
It's multi-keyword as opposed to "two-value" because it isn't restricted to only 2 display values.
The spec shows that the display: block flow list-item declaration can be used to generate a block box with additional marker box for example. I.e. one of each <display-outside>, <display-inside> and <display-list-item>.


Resurrect S3 storage backend

Setup and test the S3 backend and make sure the normal CI test suite can pass when run against a server using this alternate backend.

We think this was done, though we remain in a situation where this backend is not in regular use.


Add NixOS support

This PR is part of an attempt to package Traffic Server in Nixpkgs.

[approve ci]

[approve ci]

[approve ci]
[approve ci]

[approve ci rat]


Allow cross domain authentication in securefiles-common

Task name: securefiles-common
Description: Added passing of allowCrossOriginAuthentication with true value, to prevent The user '' is not authorized to access this resource. error
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) #473
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[X] Checked that applied changes work as expected

Task version was bumped - please check instruction how to do it
Checked that applied changes work as expected
Pipeline runs to demonstrate parameter behaviour:

New behaviour (Parameter was not passed): Run
Old behaviour (Parameter is passing with true value) : Run

Could this possibly create any security vulnerabilities? And why is this needed now?

Could this possibly create any security vulnerabilities? And why is this needed now?

There are users whose self-hosted agents are configured in such a way that by performing a download request they are perfoms redirects. Such situation happens for the customers when their agent is configured with .visualstudio.com while in fact their org in dev.azure.com/. In this way request will be processed with redirects between domains.
Regarding security vulnerabilities of course it is less secure than denying such requests but in fact we return the library behavior to the state it had before the previous commit where we bumped the version of azure-devops-node-api and typed-rest-client. Because previously such redirects was allowed always. For now it produces more problems.


What about websocket?

Websocket is not implemented yet because the original documentation for ViaBTC exchange is not clear. So we need to make some source code research to understand how to communicate with websocket API.


Repo cloned from Git bundle shows error parsing remote

Issue Type: Bug
After cloning a repository from a Git Bundle file (https://git-scm.com/book/en/v2/Git-Tools-Bundling), you get a remote like this:
$ git remote -v
origin	/Users/kyank/Downloads/front-end-coding-test.bundle (fetch)
origin	/Users/kyank/Downloads/front-end-coding-test.bundle (push)
When you open this repo in VS Code, the GitHub Pull Requests bundle displays an error saying it was unable to parse the remote.
Extension version: 0.1.4
VS Code version: Code - Insiders 1.28.0-insider<PHONE_NUMBER>1424c07b28ba84b82b75a88b8455cb, 2018-09-10T05:12:30.432Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.27GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Fixed by https://github.com/Microsoft/vscode-pull-request-github/commit/869387e62d4c47e31eae65d91a0335aa2b8a6006, will release a new version of the extension soon


Add python to json tutorial

Add python code.
Update tutorial to let user choose go or python.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/1d4390688ba858b2cea4e6dc437608eaf5e4cc3e/

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/3732aea371cc1883b9dd800f5fd3ad21c91a75e0/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e169e1a084cdcc2e66078f1b0213257c6dc643fe/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9b92ec8c9a5dddb11d4e212f3a97e3e987701c75/

LGTM besides the resp thing

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, all commit checks successful.

_includes/json/json-sample.py, line 36 at r1 (raw file):

    cur.execute("""INSERT INTO jsonb_test.programming (posts)
            SELECT json_array_elements(%s->'data'->'children')
            RETURNING %s->'data'->'after'""", (resp,resp))

doing the two resps here is unfortunate, I'm starting to think we just shouldn't be fancy and just parse it on the client side as well :/ it also hadn't occurred to me that the RETURNING would happen for each row being inserted, which is sort of ugly and inefficient, I can PR a fix for that for the Go example (we can either parse it on the client side or use a CTE, I think).

Comments from Reviewable

 from a docs perspective. Thanks for adding!

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

Comments from Reviewable

_includes/json/json-sample.py, line 36 at r1 (raw file):
Previously, justinj (Justin Jaffray) wrote…
doing the two resps here is unfortunate, I'm starting to think we just shouldn't be fancy and just parse it on the client side as well :/ it also hadn't occurred to me that the RETURNING would happen for each row being inserted, which is sort of ugly and inefficient, I can PR a fix for that for the Go example (we can either parse it on the client side or use a CTE, I think).

But doing the two resps is just a python requirement. For each placeholder, you need a corresponding item. Is that in itself really a problem?
I also agree that parsing client-side would probably be easier, but then we'd lose the demonstration of our support for functions like json_array_elements().
That said, totally your call on what we do here. If you like, I can put this on hold if you want to open a separate PR with changes to the Go sample.

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

_includes/json/json-sample.py, line 36 at r1 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
But doing the two resps is just a python requirement. For each placeholder, you need a corresponding item. Is that in itself really a problem?
I also agree that parsing client-side would probably be easier, but then we'd lose the demonstration of our support for functions like json_array_elements().
That said, totally your call on what we do here. If you like, I can put this on hold if you want to open a separate PR with changes to the Go sample.

We don't necessarily have to lose the demonstration of json_array_elements(), it's just that if we can't send the data in a single time, we're definitely going to have to parse it again, whereas the benefit of getting back after from the query was that we only have to parse it once. If we'd rather leave it in just to demonstrate it's possible that's cool.

Comments from Reviewable

I updated the code to get after on the client side. Thanks for the help, @justinj.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f86ea7d880a3e5bd1efd3d71d836cfe2a67cbc29/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/69bed73f6d02668b2319b11a4460a1437fd54f6f/


knobs

[ ] create knob mesh
[ ] create knob geometry
[ ] knob and controller interaction
[ ] can also use controller thumbstick for fine control

4.x abandoned. archived in mischmaschWeb


fix(styles): Run babel on gamut-styles

Overview

Runs babel on TS from gamut styles and adds our default config.

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.3-alpha.315949.0@codecademy/gamut-labs@10.3.1-alpha.315949.0@codecademy/gamut-styles@8.2.1-alpha.315949.0@codecademy/gamut-tests@2.1.4-alpha.315949.0@codecademy/gamut@25.4.1-alpha.315949.0@codecademy/markdown-overrides@0.5.5-alpha.315949.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://603fc3ad0881be817d6769ed--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.3-alpha.e6d063.0@codecademy/gamut-labs@10.3.2-alpha.e6d063.0@codecademy/gamut-styles@8.2.1-alpha.e6d063.0@codecademy/gamut-tests@2.1.4-alpha.e6d063.0@codecademy/gamut@25.4.2-alpha.e6d063.0@codecademy/markdown-overrides@0.5.5-alpha.e6d063.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://603fc66ab8fa02a23654e9b8--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.3-alpha.87393e.0@codecademy/gamut-labs@10.3.3-alpha.87393e.0@codecademy/gamut-styles@8.2.1-alpha.87393e.0@codecademy/gamut-tests@2.1.4-alpha.87393e.0@codecademy/gamut@25.4.2-alpha.87393e.0@codecademy/markdown-overrides@0.5.5-alpha.87393e.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://603ff0473e57e00e920cb9aa--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.3-alpha.331239.0@codecademy/gamut-labs@10.3.4-alpha.331239.0@codecademy/gamut-styles@8.2.1-alpha.331239.0@codecademy/gamut-tests@2.1.4-alpha.331239.0@codecademy/gamut@25.4.2-alpha.331239.0@codecademy/markdown-overrides@0.5.5-alpha.331239.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60405822a906724756da276e--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.7.4-alpha.e703df.0@codecademy/gamut-labs@10.4.2-alpha.e703df.0@codecademy/gamut-styles@8.2.2-alpha.e703df.0@codecademy/gamut-tests@2.1.5-alpha.e703df.0@codecademy/gamut@25.4.4-alpha.e703df.0@codecademy/markdown-overrides@0.5.6-alpha.e703df.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60414b8c292be90f2e207065--gamut-preview.netlify.appDeploy Logs


FR: Toggle for short notifications

On mobile, I want to be notified about loading of group, but I don't want to see list of plugins, I want to get only group name. So it'd be nice to have a checkbox or toggle for short version of notifications.
In other words, ability to remove data in red square.

Good idea, should be in the next release.

In Release 1.2.0


TravisCI: Remove deprecated sudo: false option

Summary
Update .travis.yml with https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Test plan

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7491   +/-   ##
=======================================
  Coverage   67.44%   67.44%
=======================================
  Files         247      247
  Lines        9511     9511
  Branches        6        5    -1
=======================================
  Hits         6415     6415
  Misses       3094     3094
  Partials        2        2

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 509272d...850de71. Read the comment docs.

Over the next few weeks, we encourage everyone to remove any sudo: false configurations from your .travis.yml. Soon we will run all projects on the virtual-machine-based infrastructure, the sudo keyword will be fully deprecated.

07 December, 2018 - All projects that use a Linux build environment will be fully migrated to using the same Linux infrastructure, which runs builds in virtual-machines.

According to Travis, this option has already deprecated on December 7th.
In fact, we are already safe.


Build code structure

Which tool we use to build code structure?
Can you make it more detail to help start this demo easier?

Sure! I can write better docs about the webpack config.


Add is_phased attribute

We currently use phase_center_ra/phase_center_dec OR zenith_ra/zenith_dec to determine whether a file is phased.  A separate attribute would make it easier to switch between phased and unphased data, especially now that we're considering unphasing data before writing to miriad.

Ensure that all code checks for phased/unphased in the same way

Attribute added.  Currently assumes FHD and uvfits will always be phased.


Cannot open Dbeaver

Below is the content in .log file...
!SESSION 2017-01-23 09:18:54.108 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64
This is a continuation of log file C:\Users\nitesh_madham.dbeaver.metadata.bak_0.log
Created Time: 2017-01-23 10:13:24.521
!ENTRY org.jkiss.dbeaver.model 4 0 2017-01-23 10:13:24.527
!MESSAGE SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
!STACK 0
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:141)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:344)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:708)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1683)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:92)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:345)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:138)
... 6 more
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2017-01-23 10:13:24.527
!MESSAGE You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
!STACK 0
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:345)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:138)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:344)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:708)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1683)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:92)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.jkiss.dbeaver.model 4 0 2017-01-23 10:13:29.195
!MESSAGE SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by PLTRN_POL_NUM,PLTRN_SEQ' at line 4
!STACK 0

Please attach whole .log file (or send it to me on serge@jkiss.org).
Log above contains just two SQL errors  - that's definitely not the reason why DBeaver doesn't start.
Did this problem appear after version update?

attached is the .log file in the path mentioned.
Yes,this problem appeared after the update.
And its awesome,you guys are really active,I thought I will never going to
get a reply.Thanks for proving me wrong.
Nitesh M
SQL Developer (Contractor)
Windhaven™ Insurance
8550 33rd Street,Suite 400
Doral,FL 3122
T:<PHONE_NUMBER>  Extn-5003
On Tue, Jan 24, 2017 at 11:53 AM, Serge Rider<EMAIL_ADDRESS>wrote:

Please attach whole .log file (or send it to me on serge@jkiss.org).
Log above contains just two SQL errors - that's definitely not the reason
why DBeaver doesn't start.
Did this problem appear after version update?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/serge-rider/dbeaver/issues/1182#issuecomment-274864662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP7neBi3od4YC1Fhugl6NvHyNVu3WOijks5rViykgaJpZM4LsfxB
.

You didn't attache the log file. You can just drag'n'drop it in GitHub comment.
If you setup from zip archive - make sure you have deleted previous DBeaver version completely before extracting new one.

log.zip
I always used .exe for installation.

DBeaver workspace was corrupted (can't say why). Sometimes this happens with Eclipse based products (http://stackoverflow.com/questions/37829251/error-loading-workspace-in-eclipse).
Delete directory C:\Users\nitesh_madham.dbeaver.metadata.plugins\org.eclipse.core.resources and start DBeaver.
If this won't help - delete C:\Users\nitesh_madham.dbeaver.metadata.
Note: you may loose some workspace settings (but all scripts/connection configuration will remain).

Perfect..!!
It resolved the issue,you guys are awesome...!!

Iam also having similar issue

@dkeerthy Which version are you trying to install?

@nmadham I followed multiple similar issue in this portal and found having multiple instance of java version may cause issue.I have removed one version which is Not needed after which iam able to access.

This just happened to me..
All my work for months listing all customer datas & IDs are all gone
Good god ...

@fralyx most likely it  is not that bad (unless you have deleted your workspace manually).

Try to reset workspace: https://github.com/dbeaver/dbeaver/wiki/Reset-UI-settings
Updgrade to the most recent version of DBeaver (it is bundled with proper Java which should solve start problems).

If it won't help - please create new ticket and attach logs (if any) - https://github.com/dbeaver/dbeaver/wiki/Log-files


[Proposal]Unify all frontend config behavior

Is your feature request related to a problem? Please describe.
Currently in FE, we have different config, some of them are master only, so we need to directly connect the master FE to change the settings, and some frontend config is shown different in Master FE and no Master FE, it may leads some confusion, So I think maybe we can let non master fe to forward some master only config to Master FE, and keep all frontends display the config as same.

that would be good

Hi, I found that it already be implemented.
https://github.com/apache/incubator-doris/blob/5e5696fda2c26bf1f1e0dcc6045b280a314f7fbf/fe/src/main/java/org/apache/doris/analysis/AdminSetConfigStmt.java#L53-L59

That's great, but it seems only support set frontend config DDL, not include show frontend config?

That's great, but it seems only support admin set frontend config DDL, not include admin show frontend config?If we set some master only config in non master node the change will not shown in non master node, it will confused us if the config works?

You should execute set forward_to_master=true before executing admin show frontend config.
Because sometimes we DO want to know the config value of current connected FE.

That's great, but it seems only support admin set frontend config DDL, not include admin show frontend config?If we set some master only config in non master node the change will not shown in non master node, it will confused us if the config works?

You should execute set forward_to_master=true before executing admin show frontend config.
Because sometimes we DO want to know the config value of current connected FE.

Yes, That's what I want, thx~


databytes calc for UDP is incorrect

Elasticsearch version:
6.7.1
Moloch version:
2.0
OS name and version:
ubuntu 16.04
How was Moloch built/installed: (rpm, deb, easybutton, ...)
easybutton
Provide logs, stack traces and steps to reproduce:
databytes calc for UDP appears to be incorrect.
code now is :
case IPPROTO_UDP:
    udphdr = (struct udphdr *)(packet->pkt + packet->payloadOffset);
    packet->direction = (dir &&
                         session->port1 == ntohs(udphdr->uh_sport) &&
                         session->port2 == ntohs(udphdr->uh_dport))?0:1;
    session->databytes[packet->direction] += (packet->pktlen - 8);
    break;

should be:
    session->databytes[packet->direction] += (packet->pktlen - packet->payloadOffset - 8);

Fixed by #1125


tls handshake timeout

We see the following output when running a bosh deploy command.
Updating deployment:
  Getting task state:
    Performing request GET 'https://<IP_ADDRESS>:25555/tasks/26':
      Performing GET request:
        Get https://bosh-user:bosh-password@<IP_ADDRESS>:25555/tasks/26: net/http: TLS handshake timeout

Exit code 1

We notice that the bosh task still continues, its just that the CLI times out.
Also it would be nice to sanitize the output so that the bosh director's username and password isn't shown in the output.

Recent versions of bosh sanitize the credentials - try getting a newer version.
The timeout issue sounds like a connectivity issue, or maybe director became briefly overloaded and couldn't respond in time? If you ran bosh task 26 from the environment was it able to reconnect?

@wfernandes it seems that we set timeout to 30s for tls handshakes: https://github.com/cloudfoundry/bosh-utils/blob/master/httpclient/default_http_clients.go#L42 (pretty good default). i think we can definitely improve retry logic around director/uaa client.

related: https://www.pivotaltracker.com/story/show/135739609

we believe that it was fixed by generic retry logic.


[Firebird] case statement in select is ignored/not processed

Description
Given a select with a case/when/else/end statement (shown below), when the select is executed by dbeaver the results suggest that dbeaver doesn't send the case portion of the query to the server. However the same query works correctly using isql.
SELECT
	y.carriername,
	y.SHIPTOSTATE,
	count(y.shipmentid)
FROM
	(
	SELECT
		CASE
			WHEN s.carrier = 'OtherLTL'
			AND s.CARRIEROPTIONS IS NOT NULL THEN substr(s.carrieroptions,
			16,
			99)
			WHEN s.carrier IN ('FedexExpress', 'FedexGround') THEN 'FedexCourier'
			ELSE s.CARRIER
		END carriername,
		s.SHIPTOSTATE,
		s.SHIPMENTID
	FROM
		shipment s
	WHERE
		s.ownerid = 'rv'
		AND
s.shipdate >= '2022-04-17'
		AND
s.QUOTE_NUMBER IS NOT NULL
		AND
s.SHIPTOCOUNTRY = 'US'
) y
GROUP BY
	1,
	2

subset of result from dbeaver
ABF	CA	1
OtherLTL	GA	1
OtherLTL	TX	2
OtherLTL	WA	1
OtherLTL	VA	1
OtherLTL	CA	1

vs output from isql
CARRIERNAME                                                                      SHIPTOSTATE        COUNT
=============================================================================== =========== ============
ABF                                                                              CA                     1
ELITE LINK                                                                       GA                     1
ELITE LINK                                                                       TX                     2
ELITE LINK                                                                       WA                     1
Elite                                                                            VA                     1
Elite LInk                                                                       CA                     1

DBeaver Version
Community Edition <IP_ADDRESS>304091457
Operating System
Ubuntu 22.04
Database and driver
Database Firebird 2.0.1  (yeah, its old)
Driver jaybird-5.0.1.java8.jar  (also fails under 4.0.0.java8.jar )
Steps to reproduce
Connect to the database
execute the query
Additional context
direct connection to the server over port 3050, no tls

Hello @bkcsfi
Could you check the difference between your query and executed query in the Query Manager? Does it exist?
And how did you execute your query? Did you highlight the entire statement? Or just with the focus on the center of the statement? Or?

Hi,
The query does appear in the Query Manager.  I selected the row, clicked Copy, and pasted the query below. It appears to be the query I wanted executed, without changes.
Is there any way to see the 'raw' query sent to the firebird server?
I execute the query using ALT-X (Execute Sql Script)

SELECT
	y.carriername,
	y.SHIPTOSTATE,
	count(y.shipmentid)
FROM
	(
	SELECT
		CASE
			WHEN s.carrier = 'OtherLTL'
			AND s.CARRIEROPTIONS IS NOT NULL THEN substr(s.carrieroptions,
			16,
			99)
			WHEN s.carrier IN ('FedexExpress', 'FedexGround') THEN 'FedexCourier'
			ELSE s.CARRIER
		END carriername,
		s.SHIPTOSTATE,
		s.SHIPMENTID
	FROM
		shipment s
	WHERE
		s.ownerid = 'rv'
		AND
s.shipdate >= '2022-04-17'
		AND
s.QUOTE_NUMBER IS NOT NULL
		AND
s.SHIPTOCOUNTRY = 'US'
) y
GROUP BY
	1,
	2

Could you please provide DDL examples of your tables with the example data? For testing.
For now, it is not clear what you mean about:

doesn't send the case portion of the query to the server

Query in the Query manager - is the query that DBeaver sends to the server.

Thanks for looking into this.
Since the query manager shows the correct sql query is being sent to the database, would you agree that  this issue is likely to be caused by the db driver?  Perhaps I should follow-up with the firebird/jaybird group instead?

It can be a driver issue, yes. But I cannot be sure without all information for testing from our side.

I'd start with upgrading to Firebird 2.0.7 (which, BTW is also not supported, support for Firebird 2.0 ended back in 2012, but there is no good reason to have missed 6 bugfix releases). As an aside, formally, Jaybird 4.0 and higher do not support Firebird 2.0, and it is entirely possible it does things that do not work on Firebird 2.0 (though that shouldn't affect the execution of this query).
In any case, based on the described behaviour, I would guess the CARRIER column is a CHAR(n), and I'm wondering if you're using different connection character set in ISQL compared to in DBeaver, and if that connection character set might have a collation with the NO PAD clause as its default collation. ISQL defaults to NONE unless you used the SET NAMES <charset> before connecting, or the -charset <charset> commandline option, and I believe DBeaver defaults to UTF8 (but that might just be how I configured my driver settings).


Bug : TileConduitBundle cannot be cast to TileHyperCube

hello,
first, thank's for EnderIO, this mod is perfect, i like all the machinery, the armor and tools and on the top, the conduits, they are so easy to use and very powerfull !
i'm in a big trouble, my favorite world where i spend a lot of time building massive tech is now crashing during the load ... i don't want to loose all my work.
this is the report : http://pastebin.com/rcjtnZNS
my world use a personnel modpack with some modified config files but all was ok until today.

see #2835

i already try to update with the last version and i have the same bug :
EnderCore-1.7.10-<IP_ADDRESS>_beta.jar
EnderIO-1.7.10-<IP_ADDRESS>3_beta.jar
http://pastebin.com/12k68G0A

Yes, that is to be expected. The Pull Request @HenryLoenwind linked isn't merged yet (and it looks like the code has to be revisited). It means that the issue is known and a fix is being worked on for the next stable release, no need to have multiple issues open for the same problem.

ahhhhh ... ok, i didn't undestand this ^^
i will wait for the update then.

I think I need to write this down clearly here, no way to piece this together any other way now:
Since about September last year, some unknown mod started corrupting worlds. The symptom is that blocks and their tile entity (read as "extended data like chest content") no longer match. The result is a crash.
I linked that PR because it has become a "central hub" where all reports of this kind are linked in. Not because it fixes the corruption. It in fact only stops the crash itself and leaves the corrupted blocks in a completely useless state---not crashing, but not working either.