Error: It was not possible to find any compatible framework version

I got this message when execute dotnet script.
❯ dotnet script "./CSharp/Newton.csx"
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.3' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.0.3'.

Contents in Newton.csx
#! "netcoreapp2.0"
#r "nuget:NetStandard.Library,2.0"
#r "nuget:Newtonsoft.Json,10.0.3"

using Newtonsoft.Json;
using System.Collections.Generic;

dynamic a = new
{
    A = 100,
    B = 200,
    C = 300
};

Console.WriteLine(a);

.NET info
❯ dotnet --info
.NET Command Line Tools (2.0.2)

Product Information:
 Version:            2.0.2
 Commit SHA-1 hash:  a04b4bf512

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.2/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

What version are you running
dotnet script --version
If you are on latest (0.16.0), make sure that you don't have a global.json file in your root folder stating an old version of the sdk

Same messages
❯ dotnet script --version
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.3' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.0.3'.

Seems like there is something wrong with your .Net Core installation.
Are you able to create a new console and run it?
dotnet new console
dotnet run

.NET Core is work well.
❯ dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /Users/wk/Source/github/App/App.csproj...
  Restoring packages for /Users/wk/Source/github/App/App.csproj...
  Generating MSBuild file /Users/wk/Source/github/App/obj/App.csproj.nuget.g.props.
  Generating MSBuild file /Users/wk/Source/github/App/obj/App.csproj.nuget.g.targets.
  Restore completed in 308.66 ms for /Users/wk/Source/github/App/App.csproj.

Restore succeeded.

❯ dotnet run
Hello World!

Just tried it here on my Mac
{ A = 100, B = 200, C = 300 }

Something on your machine wants an older version of the SDK.
To ensure that you are on the latest dotnet-script version issue the following command
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | sudo bash

I'm pretty sure you are on an older version

Still not working.
❯ curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | sudo bash
Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10916  100 10916    0     0   6004      0  0:00:01  0:00:01 --:--:--  6004
Installing 0.16.0...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   614    0   614    0     0    289      0 --:--:--  0:00:02 --:--:--   289
100 5129k  100 5129k    0     0   476k      0  0:00:10  0:00:10 --:--:-- 1051k
Archive:  /tmp/dotnet-script/dotnet-script.zip
 extracting: /usr/local/lib/dotnet-script/dotnet-script.cmd
  inflating: /usr/local/lib/dotnet-script/dotnet-script.deps.json
  inflating: /usr/local/lib/dotnet-script/dotnet-script.dll
  inflating: /usr/local/lib/dotnet-script/dotnet-script.pdb
  inflating: /usr/local/lib/dotnet-script/dotnet-script.runtimeconfig.json
  inflating: /usr/local/lib/dotnet-script/dotnet-script.sh
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.Core.dll
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.Core.pdb
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.DependencyModel.dll
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.DependencyModel.NuGet.dll
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.DependencyModel.NuGet.pdb
  inflating: /usr/local/lib/dotnet-script/Dotnet.Script.DependencyModel.pdb
  inflating: /usr/local/lib/dotnet-script/Microsoft.CodeAnalysis.CSharp.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.CodeAnalysis.CSharp.Scripting.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.CodeAnalysis.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.CodeAnalysis.Scripting.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.DotNet.PlatformAbstractions.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.Extensions.CommandLineUtils.dll
  inflating: /usr/local/lib/dotnet-script/Microsoft.Extensions.DependencyModel.dll
  inflating: /usr/local/lib/dotnet-script/Newtonsoft.Json.dll
  inflating: /usr/local/lib/dotnet-script/runtimes/unix/lib/netstandard1.3/System.Text.Encoding.CodePages.dll
  inflating: /usr/local/lib/dotnet-script/runtimes/win/lib/netstandard1.3/System.Text.Encoding.CodePages.dll

❯ dotnet script "./CSharp/Newton.csx"
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.3' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.0.3'.

open a terminal and navigate to /usr/local/lib/dotnet-script/
Then try dotnet dotnet-script.dll -v

My workspace has only a single file.
❯ tree
.
└── CSharp
    └── Newton.csx

1 directory, 1 file

Check version
❯ dotnet /usr/local/lib/dotnet-script/dotnet-script.dll -v

0.16.0

Try again
❯ dotnet script CSharp/Newton.csx
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.3' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.0.3'.

Okay, try this
dotnet /usr/local/lib/dotnet-script/dotnet-script.dll yourscriptfile.csx

It works, Could you tell me what exactly the problem in my case?
❯ dotnet /usr/local/lib/dotnet-script/dotnet-script.dll CSharp/Newton.csx
{ A = 100, B = 200, C = 300 }

I see thanks @seesharper
❯ which dotnet-script
/Users/wk/Source/github/DotNetScript/publish/dotnet-script


Large result set

Description
Getting rid of all those unneeded model objects and just returning dictionaries.
GitHub Issues

#65 #63

Coverage decreased (-12.9%) to 75.888% when pulling 78bff082472f587a79962677e642bcc578c174e3 on mcrowson:large_result_set into f87e0657ca11c7c26f8378d0f69a2d00483b5216 on refindlyllc:development.

Coverage decreased (-12.7%) to 76.141% when pulling 3950cee0423c9caa8b96b012cb8977ed4d326469 on mcrowson:large_result_set into f87e0657ca11c7c26f8378d0f69a2d00483b5216 on refindlyllc:development.

Coverage decreased (-4.4%) to 84.422% when pulling eea18b67d9f75f0efd9b1535a60b5c9f3f88f9e1 on mcrowson:large_result_set into f87e0657ca11c7c26f8378d0f69a2d00483b5216 on refindlyllc:development.


Loki rules

This PR:

adds/changes/removes etc

Checklist

[ ] Update changelog in CHANGELOG.md.

@giantswarm/team-atlas want to take over? Otherwise I'm going to close this


Add a new tutorial using the REST API

Following #259 (once merged)
Create a new tutorial chapter: "Analyse Package Archive (REST API)"
The goal is to demo the API features using the scan_package pipeline, in the same fashion as the previous tutorials.
I think we should split this into 2 separate section, presenting a project creation with an input file and executing a pipeline:

Using cURL
Using Python script

Let's use "https://github.com/httpie/httpie/archive/refs/tags/2.4.0.zip" as input.
Everything needed should already be available in the "REST API" chapter from #259

@hyounes4560 if it's still possible, we should use https://github.com/bastikr/boolean.py/archive/refs/tags/v3.8.zip as the input instead. Project name: boolean.py-3.8


embed font ?

How to embed font in epub ? Thank you.

Font embedding is not supported, and isn't planned to be.

Just a small note for anyone overlooking the README entry: font-embedding is supported since version 1.2.


Add DeepEquilibriumNetworks

@avik-pal can you track down what about DeepEquilibriumNetworks.jl causes the versioning issue?

Seems like a dependency messup. I am working on a small update which should bring the packages to up to date


Feature Question/Request: Razor Pages free view model property annotations

This isn't (probably) a thing, but I tried it because it would be cool if it were an actual feature.
Of course, old skool annotations work fine with a data-bound class.
For the free view model that comes with a Razor Page, I wish I could just do this ...
<form method="post" enctype="multipart/form-data">

        <input asp-for="Query" type="text">

        <button type="submit">Run Query</button>

</form>

... with (in the public class IndexModel : PageModel) ...
[BindProperty, Required, StringLength(50)]
public string Query { get; set; }

Is there an MVC theory that argues against this pattern? ... or is it just not a feature? ... If not, would u consider offering it?
Note: I couldn't get remote validation to work either on a Razor Pages free view model prop.

We plan to enable things like this in 2.1. This isn't possible today due to some limitations in the validation system.

@rynowak - do you know what issue (if any) is tracking this work for 2.1? I want to make sure this doesn't get lost.

https://github.com/aspnet/Mvc/issues/6790 tracks this work

FWIW, I just hit this too, and just assumed that it would work this way.
It seems you can bind properties, but validation doesn't work?

MVC has never supported validation attributes on 'top-level' items (parameters, properties). This was less of a problem before we did property binding on controllers (and then pages).
We're adding this in 2.1 because it's an obvious gap.

To my knowledge, this issue didn't make it to 2.1 --  rynowak said Issue #6790 tracks this work and it was scheduled for 2.1.0 preview 1 but I don't see it in the change log for 2.1.0 (https://github.com/aspnet/Home/releases/tag/2.1.0)
Can someone confirm?  Would be nice to get validation working on bound properties in the PageModel class.

The linked issue https://github.com/aspnet/Mvc/issues/6790 was fixed in 2.1.0-preview1. The support for validation attributes on Razor Page model properties and parameters was added in 2.1.0-preview2 (See https://github.com/aspnet/Mvc/issues/6790). If you're seeing issues with it, please file a new issue in https://github.com/aspnet/Mvc/issues

@pranavkm -- Sorry I'm not seeing it.  You said to refer to #6790 to see that it was added in preview2 -- but I don't see anywhere on preview2...

In my testing, this works as expected in 2.1

@ctolkien @pranavkm  -- Ok it does seem to work;  I have created a fresh AspNetCore 2.1 project to test and it's functioning as expected.  In the web application that I'm having trouble with I upgraded to 2.1 from 2.0 and it's still exhibiting issues so I'm not sure if it's for some reason using any 2.0 libraries still or not.  Anyone else having issues when upgrading an app from 2.0 to 2.1?

Found it!  Looks like you need to set the MVC compatibility version in ConfigureServices in the Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
    services.AddMvc();
}

to
public void ConfigureServices(IServiceCollection services)
    {
        services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
    }

Hope this helps others.


BP: Protobuf performance testing

Feature description
From a previous team sync:
We need to establish a baseline for the performance testing of serialization in the processor SDK (currently, Protobuf is used).

@lovromazgon has already done this.


extend mirror for supporting private registry

extend mirror for supporting private registry
Signed-off-by: Ling FaKe<EMAIL_ADDRESS>

#18818

There are compile errors in test files.

The windows error looks like nothing with my PR.

@TrumanLing looks like this needs a rebase; GitHub reports that there are merge conflicts

I'd really like to have input of @dmp42 @stevvooe, @RichardScothern for "registry" and @tonistiigi for the engine side on this


Correct regularization in DICS

Note that I created a Pull Request just for _dics.py
If such regularization is correct, we should do the same modifications in _lcmv.py

Now it should be fine

thanks @brovelli for taking a stab as this.
let me know if you need help and set the PR to MRG when CIs are happy.

In fact, I don't have a clue of how to set the PR to MRG. Can someone
else do that please?
thanks
Le 13/12/2016 à 11:25, Alexandre Gramfort a écrit :

thanks @brovelli https://github.com/brovelli for taking a stab as this.
let me know if you need help and set the PR to MRG when CIs are happy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/3839#issuecomment-266702021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASrbq6hvMUtJ5ZZBEtn2OFK4AntFp4IVks5rHnKrgaJpZM4LLeH4.

@brovelli you just change the title of the PR from starting with [WIP] to [MRG]

BTW - two DICS tests fail:
======================================================================
FAIL: Test DICS with evoked data and single trials
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/home/travis/build/mne-tools/mne-python/mne/beamformer/tests/test_dics.py", line 106, in test_dics
    assert_true(0.04 < tmax < 0.05)
AssertionError: False is not true
    'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true')

======================================================================
FAIL: Test DICS source power computation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/home/travis/build/mne-tools/mne-python/mne/beamformer/tests/test_dics.py", line 175, in test_dics_source_power
    assert_true(max_source_idx == 0)
AssertionError: False is not true
    'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true')

Sorry I cannot help on this

see https://github.com/mne-tools/mne-python/pull/3854
closing
thx @brovelli

Thanks to you guys


Hide Given and test dispatchers

In this PR we hide the old test utilities for creating entities and dispatching signals to them.
The utilities are preserved in order to be used in the framework tests.
The framework users should not run tests on such a low level. Instead, BlackBoxBoundedContext is the tool to build unit/integration tests for Spine-based entities.

@armiol, PTAL.


Marking text in the marker info window closes it

Since it is caught as a click on the map, any click on the info window closes it, making it impossible to copy text from it.
Just clicking on the 'x' in the corner should close it.

This can be closed.


feat: Add find_edges method to Image class

Closes #288
Summary of Changes
Add method find_edges to Image that returns a new image containing the edges but leaves the original unchanged.

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
2
0
0
0.68s

✅ PYTHON
mypy
2

0
1.84s

✅ PYTHON
ruff
2
0
0
0.02s

✅ REPOSITORY
git_diff
yes

no
0.0s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.14.0
GitHub release

Your semantic-release bot :package::rocket:


RuntimeError: stack expects each tensor to be equal size, but got [1, 256, 256] at entry 0 and [3, 256, 256] at entry 7

When I used my own dataset for training, an error occurred:

It appears that your images are in grayscale rather than RGB format. You can update the dataset file to ensure images are read in RGB format.


Avoid unnecessary Iceberg datafile to onedatafile conversions

Fixes #329
This is a performance optimization change and extends the improvements added to DeltaClient to IcebergClient.
The current code in the Iceberg client generates unnecessary objects when computing the file diff to find new and removed files. The process first converts all table format data files of the current snapshot to OneDataFiles, uses OneDataFiles to compute the diff, and then converts the resulting OneDataFiles collection back to table format data file objects for writing. There is an unnecessary round trip here. For large tables with thousands of data files in a snapshot, this results in the creation of a large number of objects unnecessarily.
This change optimizes this process by skipping the unnecessary conversions. This optimization does not change the behavior of the translation. This change does not break backward compatibility and is already covered by existing tests.

Do we have similar code in other converters?

The Delta client also had this issue, it was resolved previously in #326. The Hudi client does not appear to have this inefficiency.

LGTM, +1


bugfix: missing escape char in the primary key for the undo sql

Ⅰ. Describe what this PR did
bugfix: missing escape char in the primary key for the undo sql
Ⅱ. Does this pull request fix one issue?
fix #2867
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2872 into develop will decrease coverage by 0.14%.
The diff coverage is 45.71%.

@@              Coverage Diff              @@
##             develop    #2872      +/-   ##
=============================================
- Coverage      50.15%   50.01%   -0.15%
+ Complexity      3023     3022       -1
=============================================
  Files            598      598
  Lines          19311    19286      -25
  Branches        2347     2307      -40
=============================================
- Hits            9686     9646      -40
+ Misses          8664     8656       -8
- Partials         961      984      +23

Impacted Files
Coverage Δ
Complexity Δ

.../undo/postgresql/PostgresqlUndoInsertExecutor.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../undo/postgresql/PostgresqlUndoUpdateExecutor.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...sqlparser/druid/oracle/OracleInsertRecognizer.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...r/druid/postgresql/PostgresqlInsertRecognizer.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...a/sqlparser/druid/mysql/MySQLInsertRecognizer.java
93.02% <75.00%> (-4.54%)
15.00 <0.00> (ø)

.../java/io/seata/rm/datasource/SqlGenerateUtils.java
94.28% <100.00%> (ø)
12.00 <0.00> (ø)

...o/seata/rm/datasource/exec/BaseInsertExecutor.java
71.89% <100.00%> (ø)
83.00 <0.00> (-1.00)

...datasource/undo/mysql/MySQLUndoInsertExecutor.java
88.88% <100.00%> (-1.12%)
7.00 <2.00> (ø)

...datasource/undo/mysql/MySQLUndoUpdateExecutor.java
88.23% <100.00%> (-0.66%)
5.00 <0.00> (ø)

...tasource/undo/oracle/OracleUndoInsertExecutor.java
57.89% <100.00%> (-2.11%)
5.00 <0.00> (ø)

... and 32 more

oracle：
case sensitive
jdbcTemplate.update("insert into SYSDATE_TBL("id","gmt_create") values(7,sysdate)");
case non-sensitive
jdbcTemplate.update("insert into SYSDATE1_TBL(id,gmt_create,test) values(7,sysdate,?)",new String[]{"test"});


legal_actions is empty for sequential games created with convert_to_turn_based

Solve by https://github.com/deepmind/open_spiel/issues/588


Make Node.js CI workflow fail fast

The job prod_test_binary in Node.js CI workflow takes time which can waste time when some other jobs fail. It's better to cancel the whole workflow if one of the jobs fail.
Seems like we can use the cancel-action to achieve this as mentioned here https://github.com/orgs/community/discussions/38361#discussioncomment-6350816

Resolved by #1170


update search user agent

New value:

azsdk-python-search/1.0.0b1 Python/3.7.3 (Darwin-19.3.0-x86_64-i386-64bit)

Can one of the admins verify this patch?


adding ubuntu_16.04

@someara You've got boot2docker all over this thing. We need a out of the box install here.


RequiredEventNotFoundError: missing events: {'CpuTimeHandler': {'sched_switch'}} on humble branch

When trying the jupyter notebook example from the README.md I get the following error:
RequiredEventNotFoundError                Traceback (most recent call last)
Cell In[1], line 15
12 ros2_handler = Ros2Handler()
13 cpu_handler = CpuTimeHandler()
---> 15 Processor(ros2_handler, cpu_handler).process(events)
17 # Use data model utils to extract information
18 # ros2_util = Ros2DataModelUtil(ros2_handler.data)
19 # cpu_util = CpuTimeDataModelUtil(cpu_handler.data)
(...)
30
31 # print(time_per_thread)
File ~/tracetools_analysis/tracetools_analysis/tracetools_analysis/processor/init.py:417, in Processor.process(self, events, erase_progress, no_required_events_check)
409 """
410 Process all events.
411
(...)
414 :param no_required_events_check: whether to skip the check for required events
415 """
416 if not no_required_events_check:
--> 417     self._check_required_events(events)
419 if not self._processing_done:
420     # Split into two versions so that performance is optimal
421     if self._progress_display is None:
File ~/tracetools_analysis/tracetools_analysis/tracetools_analysis/processor/init.py:399, in Processor._check_required_events(self, events)
397             missing_events[handler.class.name].add(name)
398 if missing_events:
--> 399     raise self.RequiredEventNotFoundError(
400         f'missing events: {dict(missing_events)}'
401     )
RequiredEventNotFoundError: missing events: {'CpuTimeHandler': {'sched_switch'}}
I am on branch humble and generated the trace with the example launch file in ros2_tracing (converted file attached as txt due to github limitations:
converted.txt

If you want to use CpuTimeHandler, you need to enable kernel tracing and enable the sched_switch event. See:

Some tips on installing the kernel tracer: https://github.com/ros2/ros2_tracing#trace-command
Example launch file that enables the sched_switch kernel event: https://github.com/ros-tracing/tracetools_analysis/blob/41110872adf420bb91c99eac13b1cfd9c975af1a/tracetools_analysis/launch/profile.launch.py#L36-L38

Otherwise, you can try to run that example without the Cpu* stuff. Or use of this as an example: https://github.com/ros-tracing/tracetools_analysis/blob/rolling/tracetools_analysis/analysis/callback_duration.ipynb.

Ok thank you!


Aether Structures spawn in "End"

Is it possible to disable structure generation in dimensions or can you disable it for "End" Dimension?

This is fixed in the new release from today, just update the mod to beta 1.0.4


Question about training

Hello Benjamin!
Thanks for your awsome jobs! I have read the training tutorials you present, but all of them contains label maps. But I just want to do super resoluiton, so I do not have the label. I just have the LR images and their corresponding HR images. Can you give me some training advice? Thank you!

I am also trying something similar and am wondering if there is any idea on how to proceed!

I also have a question on how to generate the following files upon training: generation_classes.npy, generation_labels.npy, prior_means_t1_hr.npy, rior_means_t1_lr.npy, prior_means_t2.npy, prior_stds_t1_hr.npy, prior_stds_t1_lr.npy, prior_stds_t2.npy

Hi all!
First of all, thanks for your interest in our work.
@vectorzwt @xdavidg I think there's a slight misunderstanding here. SynthSR is not a typical super-resolution framework, where you train a model to regress HR images from LR images. If you do this, the model is going to be very good at doing super-resolution on images similar to your training data, but it will no generalise to out-of-distribution data (domain gap problem). This is why we propose here to generate the training data (LR-HR pairs), and we do so by using label maps as inputs and using a parametric generative model (i.e. not learning-based). Crucially, we propose to randomise the parameters of this generative model, such that we obtain images of random contrast and resolution. By training the network with these images of randomised aspect, we force the network to learn domain-agnostic features, such that it can super-resolve images of any contrast and resolution.
All of this to say that you need label maps to train SynthSR, because using real images is only going to make the network work well on similar images.
@aremirata this is all explained in the tutorials https://github.com/BBillot/SynthSR/tree/main/scripts/tutorials
Hope this helps
Benjamin

Got it! Thank you very much. I will close this issue.

I am also trying something similar and am wondering if there is any idea on how to proceed!
"Have you solved it? I have HR data, but I don't know how to generate the required files such as generation_classes.npy, generation_labels.npy, prior_means_t1_hr.npy, prior_means_t1_lr.npy, prior_means_t2.npy, prior_stds_t1_hr.npy, prior_stds_t1_lr.npy, and prior_stds_t2.npy. It seems like these parameters need to be inputted for retraining."


Allow CLI to read a diagram from stdin and write the result to stdout

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
The diagrams.net (Electron-based) CLI is very useful but I would like to read a diagram from stdin and write the output to stdout to avoid file manipulations.
It would be particularly useful when executing the CLI from a program.
For instance, let's say that I want to write a small HTTP service on top of the CLI.
I will receive the input diagram as a request body and I want to write the result in the response.
In this case, I don't want to:

write a temporary input file to the disk,
execute the command,
read the generated output file,
delete both the input and output file

It would be more efficient to execute the command with the input file as stdin and to read the result from stdout. No file manipulation.
Describe the solution you'd like
When exporting a single input file to a single output file, we could allow diagrams.net CLI to read it from stdin and output the result to stdout.
By convention, command-line interfaces usually use - (dash character), for instance:
cat input.xml | drawio --export --format svg -

The above command will read the diagram from stdin.
It's also common to output to stdout (by default) when the input is read from stdin.
In other words, the above command will output to stdout by default, but the following command will output to output.svg:
cat input.xml | drawio --export --format svg --output output.svg -

Similarly, if we want to explicitly output to stdout then we can use the value -:
drawio --export --format svg --output - input.xml

Please note that the value of the parameter output is -.
Describe alternatives you've considered
I guess writing my own CLI inspired by electron.js but that would be a maintenance burden.
For reference, I did try to create a simple CLI based on Puppeteer (instead of Electron)
but I had to make some changes to export.js in order to be able
to call the right functions from Puppeteer (most notably render and get-svg-data callback).
If this is something that you would like to support (i.e., providing both an Electron-based CLI and a Puppeteer-based CLI) then I would gladly help.
I know that diagrams.net is closed to contributions but let me know if I can be of any help.
Additional context
I'm working on https://kroki.io and I would like to provide an API to convert diagrams.net XML files to PNG, JPEG or SVG images (and potentially PDF and VSDX).
As far as I understand, diagrams.net is using the browser (client-side JavaScript) to convert diagrams to images.
So, I'm looking for a self-contained and lightweight solution to provide this service server-side.

So, you mean implement a node app instead of the desktop tool? Do you want https://github.com/jgraph/draw-image-export2 ?

No, that's the current server-side generation, it's just we switched to that new architecture in 2018.
It doesn't rely on anything external, that is the external server.

No, that's the current server-side generation, it's just we switched to that new architecture in 2018.

👌🏻

It doesn't rely on anything external, that is the external server. export3.html just happens to be served externally, it could just as well be bundled on that node sever.

So the static resources are available here https://github.com/jgraph/drawio/tree/dev/src/main/webapp right?
Should I worry about breaking changes? Should I use a specific version? latest?
In theory, I only need to serve the following files:

export3.html
js/export-init.js
mxgraph/css/common.css
export-fonts.css
js/app.min.js
js/export.js
math (for MathJax)

Is that correct?
I will give it a try and report back, thanks for your guidance 👍🏻

Yes, that look like the right list (you'll soon find out if one is missing :) ).


Replace Console.Writeline to Logger

There are still a few places in the code that uses Console.WriteLine, we should replace this with proper logging code.

Some of them:
https://github.com/AsynkronIT/protoactor-dotnet/blob/0321d6acb066f1ffca439db78bec71f7e338da0a/src/Proto.Remote/EndpointWriter.cs#L101
https://github.com/AsynkronIT/protoactor-dotnet/blob/0321d6acb066f1ffca439db78bec71f7e338da0a/src/Proto.Remote/EndpointWriter.cs#L118
https://github.com/AsynkronIT/protoactor-dotnet/blob/577ddff5fb33bd7b441bffdb50ace916923b1281/src/Proto.Cluster/Cluster.cs#L30
https://github.com/AsynkronIT/protoactor-dotnet/blob/0321d6acb066f1ffca439db78bec71f7e338da0a/src/Proto.Remote/EndpointManager.cs#L41
https://github.com/AsynkronIT/protoactor-dotnet/blob/577ddff5fb33bd7b441bffdb50ace916923b1281/src/Proto.Cluster/MemberListActor.cs#L24
https://github.com/AsynkronIT/protoactor-dotnet/blob/cb680772049d850f14abeb2fc7a0d25eff34e2ad/src/Proto.Remote/Remote.cs#L62
https://github.com/AsynkronIT/protoactor-dotnet/blob/577ddff5fb33bd7b441bffdb50ace916923b1281/src/Proto.Cluster/Partition.cs#L72

Looking into this as I'm avoiding some work.
Should some of the statements just be deleted?  Like the ones that are just "X Started" ?

I still think they add some value on start up of cluster and remoting, as they make it easy to see where in the start up flow something broke. maybe just do them as debug

And should we just have a shared logger per module?
e.g.
Proto.Actor.Logger
Proto.Cluster.Logger
instead of creating different ones all over the place?

Each logger is contextual to the class using it.  Basically, it uses the class name as part of the context of the log event.  Loggers themselves are really lightweight but there is one made per instance (unless no logging is set).
The Cluster and Remote static classes are getting a static logger each though.

Would need to think about how this is used in tests. For example, at the moment it is useful for the [REMOTING] messages to show in the output of the tests. See example output here https://github.com/AsynkronIT/protoactor-dotnet/pull/169
Whatever mechanism is used, it would be nice if the output shows when running tests, i.e. is hooked into XUnit (I've not looked into this, but something like http://dhickey.ie/2015/06/capturing-log-output-in-tests-with-xunit2/ might be a way to do it)

If you're looking at output then it's not a unit test.  If you want just a tester app for debugging or watching it work, then just hook up the logging with the console logger like here: https://github.com/AsynkronIT/protoactor-dotnet/blob/dev/examples/Supervision/Program.cs#L18
I'll fix more after the UK easter holidays (tuesday, maybe)

Well, the remoting tests for example are probably best defined as system tests. In these tests it can be useful to read the output. If the default logger is console it might all just work anyway...


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/diasdavid/interface-stream-muxer
https://github.com/libp2p/interface-stream-muxer

Straightforward. Needs package patch and publish.


Compiling either to Linux or WASM concerns

First off, glad that I found this project, compiling JS is what I have been looking for and not having to deal with obfuscation.
I seem to be struggling with compiling.  Using GCC that came with Ubuntu Studio 20.10, which is 10.2 if I recall.
I can successfully use the hello world from sandboxed demo.  I noticed that it spits out a *.bin file.
When compiling the exact program in my js file usingnectar [fileName].js it compiles without an extension, let alone .bin and when running in Konsole, I get Segmentation Fault(core dumped)
Any help in that regard would be appreciated.
As far as the WASM goes, I'm coming from emscripten and it would also spit out a glue js file for the wasm.  Are we supposed to get that as well or is that manually needed to be done?
Thanks and looking forward to using this compiler.

Hi @wwderw ,
Thank you for your interest in NectarJS,
Regarding the segfault problem, which version NectarJS are you using ?
For the wasm env, you can generate the js glue file with the flag -- target js

Nectar version is 0.7.110.

Can you try with v0.7.109 ?

Npm says package doesn't exist.

sorry, v0.7.108

I found the problem in v0.7.110, I corrected it in b7fdac8
I will publish the updated version v0.7.111 on npm

I was able to get the binary to run on the older version.
WASM ran on the latest, but couldn't get it to run on the older version.  Wanted external, but couldn't find the same version, and it had errored on the 109 version.  Which was the one I found on npm's site.
I must say though the WASM is my first use case as I mainly deal with SPAs.
Looking to trying it out on one over the holiday weekend.
Thanks for the help.  Anything else I might be able to test, let me know.

Just now saw your slightly earlier reply from my latest   I'll be on the lookout for the latest version and give both outputs a shot and let you know.
Thanks again.

I just published the v0.7.111, give me your feedback when you can test

By the time that I got it, it was already at 0.7.112.
I ran 2 tests as far as JS functions exporting to both targets (linux and wasm).  The tests with console.log compiled and ran fine under both.  When I added an alert function, that's when it threw an error (uncaught in promise: 5313368).
I'll be working on a more "complicated" project here over the holiday, so that should give me a better idea.

So just for quick testing, I decided to take an audio player that I had created and convert it to WASM.
The error that it threw was: Uncaught (in promise) 5314296.  Which led to column 102275 in the glue js file.  Outside of that, I don't know where else to look for more info.

all the DOM environment is not binded to wasm yet, that's why you have this errors
could you share an example of code that you would like to compile ?

That makes sense and considering emscripten doesn't have direct manipulation of the DOM that would further that assessment.
I also added event listeners to svg elements as I used a custom player that I created as an svg, so attached to those elements may also caused it to get hinky.

You can communicate between dom and wasm with json for now

Btw, with the html5.c lib from emscripten, it could be possible to access the dom directly

Hmmm, all pages related to html5.h seem to come back 404.

https://emscripten.org/docs/api_reference/html5.h.html


UI: Memory view, with hexediting and pattern matching

https://github.com/echo-devim/fhex
https://emu8086.en.lo4d.com/windows

ImHex : https://hackaday.com/2023/01/10/imhex-an-open-hex-editor-for-the-modern-hacker/

Also show the memory map, color coded writes and reads, and the state of the CPU Registers and Segment Registers.
Plus, add the ability to zoom in or out of a memory range.

HexView, a hexadecimal UserControl for AvaloniaUI: https://github.com/wieslawsoltes/HexView

Implemented.


[image_picker] iOS image capturing issue

After capturing image if we click any of the white area  above and below of the use photo button its sending user to home screen.
this issue only happens in IOS device.
I'm not able to find what's the issue .

@RahulAlchemy
Provide flutter doctor -v, image_picker version and a complete reproducible code sample that shows the behavior you are facing.
Thanks.

flutter doctor -v
Flutter (Channel stable, 2.5.2, on Microsoft Windows [Version 10.0.19042.1055], locale en-IN)
• Flutter version 2.5.2 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 3595343e20 (3 months ago), 2021-09-30 12:58:18 -0700
• Engine revision 6ac856380f
• Dart version 2.14.3
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\admin01\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] Connected device (3 available)
• AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
• Chrome (web)                 • chrome        • web-javascript • Google Chrome 96.0.4664.110
• Edge (web)                   • edge          • web-javascript • Microsoft Edge 92.0.902.84
• No issues found!
image_picker: ^0.8.4+4  this is  version i have used in my project.
This is code where i used image picker
       Future<File?> showPickerBottomSheet(context) async {
                   File? file;
             final ImagePicker _picker = ImagePicker();
           if (Platform.isIOS) {
             bool isDrawerOpen = false;
            await showiOSActionSheet(context,
                message: "Select Option",
                firstTitle: AppLocalizations.of(context).photoLibrary,
                secondTitle: AppLocalizations.of(context).camera,
               firstCallBack: () async {
                        if (!isDrawerOpen) {
                          isDrawerOpen = true;
                          file = await _imgFromGallery(_picker);
                          isDrawerOpen = false;
                          Navigator.of(context).pop();
                        }
                    }, secondCallBack: () async {
                      if (!isDrawerOpen) {
                        isDrawerOpen = true;
                        file = await _imgFromCamera(_picker);
                        isDrawerOpen = false;
                        Navigator.of(context).pop();
                      }
                      }, cancelCallBack: () {
                        if (!isDrawerOpen) {
                          Navigator.pop(context);
                        }
                      });
              return file;
            } else
              await showModalBottomSheet(
                  context: context,
                  builder: (BuildContext bc) {
                    return SafeArea(
                      child: Container(
                        child: new Wrap(
                          children: <Widget>[
                            new ListTile(
                                leading: new Icon(
                                  Icons.photo_library,
                                  color: AppColors.white,
                                ),
                                title: new Text(AppLocalizations.of(context).photoLibrary,
                                    style: Styles.airbnbCerealAppMedium
                                        .copyWith(fontSize: 14.sp)),
                                tileColor: AppColors.eerieBlack,
                                onTap: () async {
                                  file = await _imgFromGallery(_picker);
                                  Navigator.of(context).pop();
                                }),
                            new ListTile(
                              leading:
                                  new Icon(Icons.photo_camera, color: AppColors.white),
                              title: new Text(AppLocalizations.of(context).camera,
                                  style: Styles.airbnbCerealAppMedium
                                      .copyWith(fontSize: 14.sp)),
                              tileColor: AppColors.eerieBlack,
                              onTap: () async {
                                file = await _imgFromCamera(_picker);
                                Navigator.of(context).pop();
                              },
                            ),
                          ],
                        ),
                      ),
                    );
                  });
            return file;
            // }
          }

      // This method return captured image file and I'm facing issue in camera only
        Future<File?> _imgFromCamera(ImagePicker _picker) async {
          XFile? cameraImage =
              (await _picker.pickImage(source: ImageSource.camera, imageQuality: 50));
          if (cameraImage != null) {
            return File(cameraImage.path);
          } else
            return null;
        }

     // This method return seletected image file
      Future<File?> _imgFromGallery(ImagePicker _picker) async {
        XFile? galleryImage =
            (await _picker.pickImage(source: ImageSource.gallery, imageQuality: 50));
        if (galleryImage != null) {
          return File(galleryImage.path);
        } else
          return null;

}

After capturing image if we click any of the white area above and below of the use photo button its sending user to home screen.

This is happening due to a general problem in Flutter engine and isn't specific to image_picker plugin. You'll need to follow-up in this issue for further updates on this.
Closing this as a duplicate.


Update to work with flutter v1.13

Fix missing todayLabel implementation error #2
Fix missing kSupportedLanguages implementation error #3
Fix getCupertinoTranslation is imported from multiple packages error
faa10e1

This package is no longer needed for cupertino localizations, so this PR is not needed.


Version <IP_ADDRESS> will be released soon ?

Hi MaxXor,
Any news about a new version of QuasarRat this year ? <IP_ADDRESS> is almost a year old, any thoughts about continuing this project ?

Actually I wanted to release v<IP_ADDRESS> last month, but it will be 100% this month. You can already check out the preview here: https://ci.appveyor.com/project/MaxXor/quasarrat/build/BUILD272/job/qnv54o0wrfvqo8ai/artifacts

Great news...can't wait to see the new <IP_ADDRESS> soon, hopefully it will be full on enhancements and new features...

The changelog is already here: https://github.com/quasar/QuasarRAT/blob/master/CHANGELOG.md#quasar-v1300-tba

There you go: https://github.com/quasar/QuasarRAT/releases/tag/v<IP_ADDRESS>


Support offline installation

For image part:

Need a way to provide image registry(used by deployer and finOps tools)
Allow the user to configure image list(option)

For image part:

Need a way to provide image registry(used by deployer and finOps tools)
Allow the user to configure image list(option)

And should support image registry authentication configuration.

Update image list in https://github.com/seal-io/walrus/blob/main/hack/mirror/mirror_image_list.txt
Make the ImageRegistry setting work for workflow/deployer image.
Release offline deployer image

Verified in v0.4.0-rc3


question GO:0006488 dolichol-linked oligosaccharide biosynthetic process parentage

Does
GO:0006488 dolichol-linked oligosaccharide biosynthetic process
have any biological roles other than
GO:0006487	protein N-linked glycosylation
These exact synonyms imply not:
N-linked glycan precursor biosynthesis [PMID:8666161]
N-linked glycan precursor biosynthetic process [PMID:8666161]
in which case can the parentage can be added
(or specific children)
Reported by: ValWood
Original Ticket: geneontology/ontology-requests/11277

maybe we can close this one? It is just directly upstream of"? I'll close....


python3Packages.keyrings-google-artifactregistry-auth: init at 1.0.0

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 164675 run on x86_64-linux 1

2 packages built:

python310Packages.keyrings-google-artifactregistry-auth
python39Packages.keyrings-google-artifactregistry-auth


CSS: inconsistent font sizes on mobile

Some fonts are tiny on mobile phone screens:

In particular:

They should all be the same size, as they are on desktop browsers.

Don't use em anywhere :) Only use rem.
Other than that, I think this is also fixed by adding the extra header mentioned in #140. But let's have a look once all the other changes are implemented.

Fixed in #148. Thanks for the help!


upgrades to webpack5

At some point, we could probably use a storybook upgrade -- I tried but it was a little more invasive than I thought.
At the very least, I propose upgrading to webpack 5 in order to avoid the ERR_OSSL_EVP_UNSUPPORTED errors I've been getting locally and that I see in the deploy.
The other possibility is to add --openssl-legacy-provider to the build which I've been doing locally until now.

On second thought not sure how helpful this is ...


error opening .exr - macOs

when trying topen an .exr file with right click "open with mrv2" I get an error saying that mrv2 cannot open openexr files

if I drag n dop the file into mrv2 it works fine
i have the same issue when using the DJVplayer - so maybe that's in one of the libraries in the program ?

It is an issue with macOS "protected" directories (ie. Desktop, Documents, etc).  Older versions of macOS would not allow non-certified applications to open those directories.  Since both mrv2 and DJVplayer are non-certified (ie. they were not registered with Apple at U$100/a year), they run into those issue.
Fortunately since then, Apple has changed its stance on newer versions of macOS (Ventura, etc).

Ah.  Okay.  That's new.  Unfortunately, I don't have an external drive to test.  Can you open .exr files from other directories (ie. not the private macOS directories)?  Or it does not work with any .exr files?

Never mind.  I was able to reproduce it.  I'll look into it.

actually I noticed  this isn't even exclusive to .exr files... it's true for all file.. not matter what type and where they are located
tried local internal drive, external ssd and NAS
I thought for a moment it's related to my M2 machine...  but I remember that DJV2 had the issue also on my Intel_Mac
So maybe macOs 13.x related?  Still how come that DJV1 works fine

Never mind. I was able to reproduce it. I'll look into it.

ah cool. Thank you!

I looked into it, and, unfortunately, I don't have good news.  It is also an issue with macOS' Gatekeeper that prevents non-certified applications from opening files that way.  The solutions are to:
a) compile mrv2 yourself
b) use the file requester or drag and drop
c) contribute U$ 100 so I can register the application (go to mrv2.sourceforge.io and click on Donate).
Older applications like djview or mrViewer do not run into the issue as Gatekeeper knows they were created before macOS implemented these new rules.

hi
thanks for looking into the issue. Currently I will deal with drag n drop and clicking away the error messages.
If I have some money to spend I'll contact you


feat: delta plugin support write

hi all, we are really into that feature. Is there a rough estimation if and when it could be merged to main branch? Thanks

Hi @nfoerster,
Currently it is very hard to define some end data, but i am working on it when i have free time. The problem goes beyond just adding a plugin because to make it work in the current context with external materialization, there are things to refactor with other parts, and this branch can also break another functionality.
What I am doing now is trying to understand the memory management which is happening in the background in order to propose a change in the current implementation.
I also, from time to time, rebase on the main branch, and if you want, you can use this branch to try stuff out and provide feedback/use cases which are missing, but be aware that there are possibly other things broken.
I hope I will write in next few days a small proposal to refactor the current implementation so we can implement this plugin and test it.

Hi @jwills,
To make some progress on this PR, I will write my current status so that you know what I think and you can provide me with some extra information/thoughts.
The main problem is that when we use the plugin export, we have an extra step where we export data to the parquet file and then load it again into memory with pandas.
I think we have to provide a direct reference to the arrow format (ideally dataset) to the underlying export library (pandas, datafusion in delta case) if this is somehow possible.
TL;DR;
Current implementation:
So what do we do now?

step 3.
write to storage
step 5.
sqlaclemy write
excel write
New implementation:

What is the problem right now?

Looking into the arrow <-> duckdb connection i found out that .arrow() makes a copy, which is clear to me but the question is how to do it without a copy?
So following https://duckdb.org/2021/12/03/duck-arrow.html i started to question the memory in the background and would like to profile the whole dbt-duckdb process
This is my repo with some examples https://github.com/milicevica23/wtf-memory
If you know somebody who can help me to understand how to transfer data from duckdb to arrow format with zero copy i would appreciate that a lot

Regarding other plugins i took a look into pandas <-> arrow combination https://arrow.apache.org/docs/python/pandas.html
which is not ideal but still can be better than parquet export

I have a hard time imagining how we can make it so that such an export is again referencable in the downstream models. What we do right now is export to the file and provide a view over this chunk. But this is more of a workaround than a solution.
If we imagine using the SQLalchemy plugin and looking from another perspective, it is a last-run chunk of data that is pushed and not a source from the database.
This can be interesting if we export locally and to parquet, but pushing to some remote storage is harder to implement.
e.g https://github.com/l-mds/demo-dbt-duckdb-delta-plugin/issues/1

In my opinion i think we should ask around if somebody reference to something what is exported with a plugin and try to understand the use case and try to find a solution for this. I know that especially for delta plugin this feature would be nice to have it so i would think about this
Nevertheless, I think that some good architecture should not reference something that you export and if you want to use it in following steps it should be again written in the source definition

Next steps:

I would like that we comment on the above and then implement what we agree on. If we go with arrow integration, this should be then implemented also in the excel and sqlalchemy plugin which have export part
We have to think what this change means for breaking changes if there are some and prepare for that
Optional: I would like to make as less data copy as possible so I would stay on track with duckdb <-> arrow <-> pandas integration, so i appreciate here any help

Hey @milicevica23 apologies for the lag here, I missed this go by in my email. My limited understanding of the issue is that it sounds like the external approach-- where we write a parquet file out and then treat any subsequent references to that file as a view in DuckDB-- isn't the right thing to do for delta (and presumably Iceberg) b/c both of those tools expect to operate on something like an Arrow Table/RecordBatch instead of a set of parquet files-- is that correct, or am I missing something?
If that's the case, then I think that we shouldn't keep trying to jam the iceberg and delta stuff into the external materialization; we should just create delta and iceberg materialization strategies that are designed to work in the way that those tools need them to work. It's more work, but I don't think that trying to push the external concept beyond it's design (especially if doing so would require us to break backwards compatibility) is a good idea, and I fully expect that the Iceberg/Delta table design patterns will be common enough to deserve first-class support in dbt-duckdb.

Hi @jwills,
So, this problem is not on the level of a delta or iceberg but on the general plugin level.
We have two use cases

export files parquet, csv from duckdb connection
use a plugin to export data to Excel, delta, and Iceberg from the duckdb connection

My understanding is that the first developed feature was 1. but with time, the 2. case was built on top of the first one. This introduced the wrong process with one unnecessary step, which was that we first export the file into the parquet and then reread it in the memory instead of giving the data directly from the duckdb over the arrow format to the exporter.
So this is conceptually wrong, but one nice feature which was luckily born from that is that you can reference exported models but with limitations e.g you can't do incremental models with plugins.
This feature should be solved with the data frame registration as we do in the read part of the plugin
I am still unsure how and what the best approach is, but we have to rethink and simplify the whole export part and combine the above 1. and 2. use cases into a unified one-plugin approach. It is not easy, but I think it is a needed step for the feature.


Create futures-dns crate (#58)

I also made a branch where futures-dns is integrated into futures-mio as a sort of POC, but it isn't part of the PR at the moment since Alex doesn't it that way for now.
cc @alexcrichton  @carllerche

Thanks @sbstp! Could you also add some tests to this crate as well?
I think it may also be worth fleshing out what TcpStream::connect might look like if it were to take a T: ToEndpoint. Perhaps some helper functions could be added to this crate?

Sure thing. There already are 2 tests for ToEndpoint, could add more to test IPv4/IPv6 parsing for sure. But I don't think it would be a good idea to test if the CpuResolver works as the test would fail when the computer running the tests has no internet. Also checking if a domain resolves to a particular IP is probably not a good idea as it might change.
When you say TcpStream::connect, do you mean LoopHandle::tcp_connect? I can try creating an extension trait but it will not give the full experience because reusing the thread pool requires to keep a CpuPool around, in the LoopHandle for instance.

Ah yeah basically just have an extension trait or two for the I/O objects to use hostnames instead of socket addresses

Alright I wrote something that uses the resolver. The tcp_connect method will try all the IP addresses it got, sequentially, using a future chain. Not sure how to properly test this code though. Anyway, API looks like this:
let mut lp = Loop::new().unwrap();
let c = Connector::new(lp.handle(), 4); // 4 is the number of threads in the resolver's pool
let f = c.tcp_connect("google.ca:80").and_then(|sock| {
    println!("connect successful {:?}", sock.peer_addr().unwrap());
    Ok(())
});
lp.run(f).unwrap();

This is what I feared, the localhost/resolve test failed on travis. I'll see what I can do.

Looks pretty neat! Maybe the parallel approach could also be prototype with select_all? (just as a proof of concept)

Thanks! I've looked quickly at select_all and I'm not sure I can use it. The future returned by select_all resolves when any of its given futures resolves to Ok or Err. I need a future that resolves on the first Ok it sees, but it must not resolve on an Err.
That future might be useful in other cases as well.

Ran into an issue with duplicate addresses. It's been fixed but hasn't made its way into stable yet.

@alexcrichton if you have the time, please check if the implementation of select_all_ok is sensible.

@sbstp the implementation looks good to me, and we chatted briefly on IRC, but I'm going to close this for now.
With the extraction of the I/O crates from this repository into the tokio-rs organization this doesn't necessarily belong here any more, and I think we'll want to prototype a tokio-dns crate perhaps. While it's under development though I wonder if you'd be willing to host the crate?

Yeah, I will. I was just waiting for the refactoring to settle.

https://github.com/sbstp/tokio-dns

Thanks @sbstp!


Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, i cant even run it

also i did what people said to fix but nope this still shows up

EVEN MY HAXE IS AT THE CORRECT VERSION

Update your github repository to the newest version of Psych.


Enhancement: Log tracebacks to console in debug mode

Currently exceptions are silenced when in debug mode and only show up in the responses.
The exception middleware should be changed such that when in debug mode, errors and their tracebacks are logged to the console.

Assign this to me please, I'll attempt to fix this weekend

done


Check palindrom using recursion (string)

Related Issue

Mention issue for which this pull request is a part of (please mention issue number # )
#1204

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

i created a new issue i.e. check if a string is palindrome by recursion. The include a functions that checks if a string is palindrome or not.
Output Screenshots
| Screenshot #1

| Screenshot #2  |

| ----------- | ----------- |

Make your issue a descriptive one so it is easy for us
mentors to get hold of your contribution and can guide you for further steps.
I would recommend you to go through this tutorial video of the project here , thanks.
Make sure your Pull Request is descriptive and complete the checklist .
I would recommend you to go through this tutorial video of the project here ,thanks.
Let me show you how to check the check list , there should be no space inside brackets like [x]
[x]

[x] Checklist
[ ] Or you can just check them from outside without doing any of these
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

@Mrjoy832 pass it to me when it's done

sure


Coordinate Conversion is auto correcting incorrect invalid coordinates (ArcGIS Pro)

Enter the following invalid coordinate: 45 300s|100 30.0w
The tool auto corrects the 300s to 5 minutes and creates the following output:

The tool should not auto correct invalid coordinates. The tool should interpret this as invalid and clear the output coordinate textboxes as an indicator to the user that the input is invalid so the user can verify the input coordinate.

noted this in the most recent version of the pdf in the supported notation section near the top as the last bullet under degree based formats. @topowright and @NatalieCampos  agreed it satisfied the "affects documentation" tag... removing "affects "documentation" leaving the issue itself open with the bug tag in case this is something we want to fix

the pub on blaster will have these changes if anyone wants to verify the removal of the affects documentation tag, they won't be picked up by jenkins until another build kicks off

@nfeuerstein, @topowright , @dfoll, @elinz - I would suggest that before we make any changes to this, that the pro or arcmap team is first contacted to determine their reasoning for automatically making this conversion, or to find out if there could be a property added to the ToGeoCoordinateParameter that would allow us to turn off automatic autocorrection.  We are making ArcObject calls to get the coordinates back based on what the user inputs.  Is it likely that a user would ever be given 300" vs 5'?   The class is in ArcGIS.Core.Geometry - ToGeoCoordinateParameter

I would also like to note that other tools also perform the conversion automatically.
http://www.latlong.net/degrees-minutes-seconds-to-decimal-degrees

http://www.earthpoint.us/Convert.aspx

if this is the generally accepted way of dealing with "invalid" coordinates, does this really belong as an issue

I do not see this as an issue with 10.6.1 MT build 48
also tried
35 180 52.14N 098 47 32.15W
35 180 52.14N 098 47 302.15W
properly bounced back Invalid Coordinate window

I have validated this as well with the released version of MT 3.1: