text:
Missing dependencies [easy-coding-standard]

Hi,
I'm having issues using version 9.4. I get that it was changed to prefixed version, here's the conflict:

And this is what I get running the command:
PHP Fatal error:  Uncaught ECSPrefix20210712\Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException: The option "ensure_fully_multiline" does not exist. Defined options are: "after_heredoc", "keep_multiple_spaces_after_comma", "on_multiline". in /path/vendor/symplify/easy-coding-standard/vendor/symfony/options-resolver/OptionsResolver.php:799
Stack trace:
#0 /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php(92): ECSPrefix20210712\Symfony\Component\OptionsResolver\OptionsResolver->resolve()
#1 /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php(120): PhpCsFixer\FixerConfiguration\FixerConfigurationResolver->resolve()
#2 /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php(69): PhpCsFixer\AbstractFixer->configure()
#3 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1239): PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer->configure()
#4 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(963): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getFixerFileProcessorService()
#5 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(973): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getFileProcessorCollectorService()
#6 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(953): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getSingleFileProcessorService()
#7 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1055): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getEasyCodingStandardApplicationService()
#8 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1111): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getCheckCommandService()
#9 /path/vendor/symplify/easy-coding-standard/vendor/symfony/dependency-injection/Container.php(215): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getEasyCodingStandardConsoleApplicationService()
#10 /path/vendor/symplify/easy-coding-standard/vendor/symfony/dependency-injection/Container.php(198): ECSPrefix20210712\Symfony\Component\DependencyInjection\Container->make()
#11 /path/vendor/symplify/easy-coding-standard/bin/ecs.php(36): ECSPrefix20210712\Symfony\Component\DependencyInjection\Container->get()
#12 /path/vendor/symplify/easy-coding-standard/bin/ecs(5): require('...')
#13 {main}

Next PhpCsFixer\ConfigurationException\InvalidFixerConfigurationException: [method_argument_space] Invalid configuration: The option "ensure_fully_multiline" does not exist. Defined options are: "after_heredoc", "keep_multiple_spaces_after_comma", "on_multiline". in /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php:126
Stack trace:
#0 /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php(69): PhpCsFixer\AbstractFixer->configure()
#1 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1239): PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer->configure()
#2 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(963): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getFixerFileProcessorService()
#3 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(973): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getFileProcessorCollectorService()
#4 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(953): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getSingleFileProcessorService()
#5 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1055): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getEasyCodingStandardApplicationService()
#6 /tmp/ecs_rodolfo/ContainerM5s19N4/Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container.php(1111): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getCheckCommandService()
#7 /path/vendor/symplify/easy-coding-standard/vendor/symfony/dependency-injection/Container.php(215): ContainerM5s19N4\Symplify_EasyCodingStandard_HttpKernel_EasyCodingStandardKernelProd_1d4f78d199b6cf5816074fafdff73e26ceba3020Container->getEasyCodingStandardConsoleApplicationService()
#8 /path/vendor/symplify/easy-coding-standard/vendor/symfony/dependency-injection/Container.php(198): ECSPrefix20210712\Symfony\Component\DependencyInjection\Container->make()
#9 /path/vendor/symplify/easy-coding-standard/bin/ecs.php(36): ECSPrefix20210712\Symfony\Component\DependencyInjection\Container->get()
#10 /path/vendor/symplify/easy-coding-standard/bin/ecs(5): require('...')
#11 {main}
  thrown in /path/vendor/symplify/easy-coding-standard/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php on line 126

Hi,
thanks for reporting. The first file is internal, it's correct as these classes exist and are in ecs own scoped and downgraded vendor. I wrote about it here to explain it better.
The 2nd and 3rd is related to option name in php-cs-fixer. I would look for ensure_fully_multiline in strings in /vendor/easy-coding-standard/config.
Will change of the value in config to on_multiline help?
$services->set(MethodArgumentSpaceFixer::class)
        ->call('configure', [[
-            'on_multiline' => 'ensure_fully_multiline',
+            'on_multiline' => 'on_multiline',
        ]]);

Thank you, I noticed that the issue was missing to update some definitions.

authors: TomasVotruba rodber

repo: symplify/symplify


text:
Add --daemon flag / pid file

Would be nice if udp-proxy-2020 supported running as a daemon and writing a pid file to /var/run/udp-proxy-2020.pid or other user defined path.

I successfully build your site-to-site version for the Unifiy UDM and it works very well 👍 . A daemonized version as you suggested would be a really nice feature

FWIW, I have no idea how the UDM starts services on boot, but pretty much everything nowadays (upstart, systemd) don't require a "daemon" mode.  If you do figure it out, i'd be curious to hear how you did it so I can document it for others.

Quick note: Apparently daemonizing go apps is non-traditional because of how go works.    But this library seems the most popular way of doing so: https://github.com/sevlyar/go-daemon

As far as I know there's no easy way to run a persistent daemon on the UDM/UDMP besides a more or less hacky way abusing the way package installations are handled on these machines. But for my purpose it would be sufficient enough to start the daemon by hand every time the UDM/UDMP reboots.

So my idea: ssh into the UDM/UDMP and start your tool as a daemon :)

Unfortunately I have no experience in programming with go

Sadly the UDM series is really limited right now.  That said, it is just linux and so you should be able to write a startup script to do it for you.

Yeah, got it running. Thanks again for the great tool :)

source: gharchive/issue

authors: synfinatic tiehfood

license: MIT

license_type: permissive

license_source: github-api


text:
"Local" / "Remote" is switched from the perspective of the buyer.

Hey there, just bought a channel on testnet using this API.
It seems like local_balance and remote_balance should be switched: right now it's from the perspective of the server, it makes more sense to have it from the POV of the client IMO.

Hey, yeah this makes sense. We'll probably update this server side and post back here once done. Thanks!

Did this change get implemented yet?
Seems like local_balance refers to Synonym's node. Is this expected to change, or should we assume it will stay as-is?

we will change it eventually, most likely we will use spending and receiving as the words

authors: Jasonvdb john-zaprite kiwiidb rbndg

repo: synonymdev/blocktank-client


text:
roundtrippping content causes definition to disappear

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
1.2.4
Link to runnable example
https://stackblitz.com/edit/node-st1b3g?file=index.js
Steps to reproduce
Run
import { remark as remarFactory } from 'remark';
import { visit } from 'unist-util-visit';

const remark = remarFactory();

// clean extra attributes that make it hard to see issue
function scrubber(tree) {
  visit(tree, function (node) {
    node.value = undefined;
    node.position = undefined;
    node.spread = undefined;
    node.lang = undefined;
    node.identifier = undefined;
    node.label = undefined;
    node.title = undefined;
    node.url = undefined;
  });
}

const content = `[a]: �`;

const originalAst = remark.parse(content);
const newContent = remark.stringify(originalAst);
const newAst = remark.parse(newContent);

scrubber(originalAst);
scrubber(newAst);

console.log(JSON.stringify(originalAst, null, 4));
console.log(JSON.stringify(newAst, null, 4));

result is:
{
    "type": "root",
    "children": [
        {
            "type": "definition"
        }
    ]
}

then
{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "children": [
                {
                    "type": "text"
                }
            ]
        }
    ]
}

and the output text is
[a]:

Expected behavior
definition content is preserved
Actual behavior
definition content disapepars
Runtime
Node v16
Package manager
npm v7
OS
Linux
Build and bundle tools
No response

also happens with
[a]

[a]: �

https://spec.commonmark.org/dingus/?text=[a]

[a]%3A %26%23xc%3B

released!

authors: ChristianMurphy wooorm

repo: syntax-tree/mdast-util-to-markdown


text:
Create 'create-plugin-template' command

Closes #166

We should create a github template which includes the ci scripts.
The create-template command then is used to create a specific plugin template.

Superseded by #245

source: gharchive/pull-request

repo: syntest-framework/syntest-core


text:
Anzeige inaktiver Benutzer

Moin!
Wenn ein Mitarbeiter ausscheidet kann ich ihn auf "inaktiv" setzen. Er taucht dann aber in keiner Übersicht mehr auf, ich habe ihn jetzt über die ID gefunden.
Übersehe ich etwas? Oder wäre eine "Liste inaktiver Benutzer" eine sinnvolle Ergänzung?
Vielen Dank,
Merlin

Mon @2steuer,
du kannst dir die inaktiven Benutzer:innen in der Benutzerübersicht anzeigen lassen.
siehe

repo: synyx/urlaubsverwaltung

license_source: bigquery


text:
HetznerCluster does not react on changes in relevant secrets

/kind bug
What steps did you take and what happened:
The "HetznerCluster" object should listen to the changes in the secret that stores the Hetzner credentials. For example, because they have to be synced in the updated form to the workload clusters. This doesn't happen right now because the controller doesn't react on the relevant events.
In https://github.com/syself/cluster-api-provider-hetzner/blob/1904cabf66bdede229603836230edb7a5e29424b/controllers/hetznercluster_controller.go#L400 we "acquire" the secret but set "controlledByOwner" to false. This means that the hetznercluster-controller doesn't actually own the secret, so that the events are not shown, even though we set the event listener here: https://github.com/syself/cluster-api-provider-hetzner/blob/1904cabf66bdede229603836230edb7a5e29424b/controllers/hetznercluster_controller.go#L749
What did you expect to happen:
We should react on the events in the hetzner secret. Either by setting the hetznercluster controller as "controller" of the secret, or by changing the way we listen to events.
It would be obviously easier to set the hetznercluster as controller of the secret, that's just one value. I'm not aware if that has any drawbacks compared to the current state.

@janiskemper
if a controller owns a secret and you delete the controller, Kubernetes garbage collection (GC) will typically remove the secret.
Somehow I think an owneRef does not match. The user is responsible for that secret.
We can use an option for .Own():
From the Owns docstring:
// The default behavior reconciles only the first controller-type OwnerReference of the given type.
// Use Owns(object, builder.MatchEveryOwner) to reconcile all owners.

I suggest to use MatchEveryOwner

authors: guettli janiskemper

repo: syself/cluster-api-provider-hetzner


text:
HRDP and Reverse Proxy

HRDP and Reverse Proxy not found in form

The original author did not set poxy。。。

working on to add them by myself he was rude in his answers last time so better continue his work and develop it by myself i already added reverse proxy and i am working on hrdp :)

OK

authors: DarkneSsDz sysrom

repo: sysrom/DcRatCHS


text:
Support SystemJS builder dependency extraction without execution

We currently execute transpiled ES6 in the target environment to extract the dependencies, but we don't use the execute function at all, so this is unnecessary work.
In addition, not execution would allow transpiling to ES6 itself say just using the modules transformer when transpiling for browser environments that support more than Node does (previously discussed in https://github.com/jspm/jspm-cli/issues/884).
This can be done by having a truncated instantiate for the builder, and just applying a regex in the tracer to extract the System.register dependencies since we can rely on it being the first line of code after comments and meta strings.

This would be pretty awesome. Any updates? What parts of the code should potential contributors be looking at to help out?

This isn't a priority currently, and may be somewhat tricky for contributions. Such an intercept would be at https://github.com/systemjs/builder/blob/master/lib/trace.js#L284 skipping instantiate. It would be important to ensure any useful functions of instantiate are replicated in this case (such as concatting the dependencies with load.metadata.deps).

Released in 0.15.0.

authors: awalGarg guybedford

repo: systemjs/builder

license: mit


text:
人狼ゲーム

https://ja.wikipedia.org/wiki/汝は人狼なりや%3F

https://jinrou.uhyohyo.net/manual/about

triage: 閉じます。実装したくなったら再openする感じでお願いします 🙏

authors: Sayamame-beans shironoir syuilo

repo: syuilo/misskey


text:
Integrate Lighthouse analysis

Lighthouse should be integrated into CI.
First, let's save the initial analysis report, then create tickets for optimization tasks.
Ideas:

Lazy loading
Lazy loading images
RAIL
etc.

Lighthouse is integrated


text:
[Bug]: Climate unnecessarily converting fahrenheit

Version
3.0.0-alpha.51
Matter Controller
Apple Home
Steps to reproduce
I have an Ecobee connected to HomeAssistant via the HomeKitBridge connection, I am then trying to export it via the Matter Hub add-on. When it shows up in the Home App, all the temperatures are around 162 degrees. My system currently uses fahrenheit for its units. It looks like the add on is converting the fahrenheit units into celcius
State and attributes
hvac_modes: off, heat, cool, heat_cool
min_temp: 45
max_temp: 92
fan_modes: on, auto
friendly_name: Bedrooms
supported_features: 395
current_temperature: 74
temperature: 74
target_temp_high: null
target_temp_low: null
current_humidity: 38
fan_mode: auto
hvac_action: idle
Relevant log output
No response
Documentation & Issues

[X] I have reviewed the documentation and the linked troubleshooting guide.
[X] I have searched the issues for a similar problem.

https://github.com/t0bst4r/home-assistant-matter-hub/discussions/261

This will be handled as part of a larger refactoring of climates (see #261)


text:
[PCB] parse kicad_pcb file, and combine with the exported gerber files, to generate stack-up information.

When we use F, In1, In2, B as default PCB layers, the generated gerber files can be easily recognized by EMS to know its stack order. Such as:
-rw-r--r--  1 yagamy  staff  604348 Apr 12 12:29 tsp4-io-B_Cu.gbr
-rw-r--r--  1 yagamy  staff    7960 Apr 12 12:29 tsp4-io-B_Mask.gbr
-rw-r--r--  1 yagamy  staff     490 Apr 12 12:29 tsp4-io-B_Paste.gbr
-rw-r--r--  1 yagamy  staff     491 Apr 12 12:29 tsp4-io-B_Silkscreen.gbr
-rw-r--r--  1 yagamy  staff     720 Apr 12 12:29 tsp4-io-Edge_Cuts.gbr
-rw-r--r--  1 yagamy  staff  957406 Apr 12 12:29 tsp4-io-F_Cu.gbr
-rw-r--r--  1 yagamy  staff   25180 Apr 12 12:29 tsp4-io-F_Mask.gbr
-rw-r--r--  1 yagamy  staff   18117 Apr 12 12:29 tsp4-io-F_Paste.gbr
-rw-r--r--  1 yagamy  staff  224215 Apr 12 12:29 tsp4-io-F_Silkscreen.gbr
-rw-r--r--  1 yagamy  staff  581116 Apr 12 12:29 tsp4-io-In1_Cu.gbr
-rw-r--r--  1 yagamy  staff  597941 Apr 12 12:29 tsp4-io-In2_Cu.gbr

But, when the default signal name of the layer is changed, such as In1 is changed to PWR, then the output gerber files use those updated signal names as parts of filename. Then, EMS cannot easily know the stack order, needs extra efforts to double confirm with PCB's designer:
-rw-r--r--   1 yagamy  staff   992712 Apr 12 12:30 tsp4-mcu-B_Cu.gbr
-rw-r--r--   1 yagamy  staff     8068 Apr 12 12:30 tsp4-mcu-B_Mask.gbr
-rw-r--r--   1 yagamy  staff      491 Apr 12 12:30 tsp4-mcu-B_Paste.gbr
-rw-r--r--   1 yagamy  staff      492 Apr 12 12:30 tsp4-mcu-B_Silkscreen.gbr
-rw-r--r--   1 yagamy  staff      725 Apr 12 12:30 tsp4-mcu-Edge_Cuts.gbr
-rw-r--r--   1 yagamy  staff   222193 Apr 12 12:30 tsp4-mcu-F_Cu.gbr
-rw-r--r--   1 yagamy  staff    39987 Apr 12 12:30 tsp4-mcu-F_Mask.gbr
-rw-r--r--   1 yagamy  staff    32683 Apr 12 12:30 tsp4-mcu-F_Paste.gbr
-rw-r--r--   1 yagamy  staff   375510 Apr 12 12:30 tsp4-mcu-F_Silkscreen.gbr
-rw-r--r--   1 yagamy  staff  1002549 Apr 12 12:30 tsp4-mcu-GND_Cu.gbr
-rw-r--r--   1 yagamy  staff  1177205 Apr 12 12:30 tsp4-mcu-PWR_Cu.gbr

In fact, kicad_pcb source file already contains such stacked-order information:
  (layers
    (0 "F.Cu" signal)
    (1 "In1.Cu" signal "GND.Cu")
    (2 "In2.Cu" signal "PWR.Cu")
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
  )
  (setup
    (stackup
      (layer "F.SilkS" (type "Top Silk Screen"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (color "Green") (thickness 0.01))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "core") (thickness 1.44) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In1.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 2" (type "prepreg") (thickness 1.44) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In2.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 3" (type "core") (thickness 1.44) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (color "Green") (thickness 0.01))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen"))
      (copper_finish "None")
      (dielectric_constraints no)
    )

Then, combining with the generated gerber file, it could be easy to generate a stack table (with order) to all layer files.
The generated stack table could be a HTML or other format to easily click the link.

Comments from Lydia:

其實 KiCad 中也有一個功能叫 "add stackup table" 可以以後加在 PCB file 中, 但目前此功能還未完整.
若我用其它的 PCB 的 tools 時都會加這類東西,有是有些板廠好像看此table才放心,但有經驗的板廠在匯入時就決定了疊構了一般都了解.

其實用轉greber時可以用選 Protel ( Altium ) 的格式, 很多板廠都習慣了它的副檔名, 副檔名可以看的出來
yagamy:
像是這樣?

-rw-r--r--  1 yagamy  wheel   992712 Apr 12 18:02 /tmp/tsp4-mcu-B_Cu.gbl
-rw-r--r--  1 yagamy  wheel     8068 Apr 12 18:02 /tmp/tsp4-mcu-B_Mask.gbs
-rw-r--r--  1 yagamy  wheel      491 Apr 12 18:02 /tmp/tsp4-mcu-B_Paste.gbp
-rw-r--r--  1 yagamy  wheel      492 Apr 12 18:02 /tmp/tsp4-mcu-B_Silkscreen.gbo
-rw-r--r--  1 yagamy  wheel      725 Apr 12 18:02 /tmp/tsp4-mcu-Edge_Cuts.gm1
-rw-r--r--  1 yagamy  wheel   222193 Apr 12 18:02 /tmp/tsp4-mcu-F_Cu.gtl
-rw-r--r--  1 yagamy  wheel    39987 Apr 12 18:02 /tmp/tsp4-mcu-F_Mask.gts
-rw-r--r--  1 yagamy  wheel    32683 Apr 12 18:02 /tmp/tsp4-mcu-F_Paste.gtp
-rw-r--r--  1 yagamy  wheel   375510 Apr 12 18:02 /tmp/tsp4-mcu-F_Silkscreen.gto
-rw-r--r--  1 yagamy  wheel  1002549 Apr 12 18:02 /tmp/tsp4-mcu-GND_Cu.g2
-rw-r--r--  1 yagamy  wheel  1177205 Apr 12 18:02 /tmp/tsp4-mcu-PWR_Cu.g3
-rw-r--r--  1 yagamy  wheel     3742 Apr 12 18:02 /tmp/tsp4-mcu-job.gbrjob

Lydia: 對, 有帶t就是 top, 有帶 b 就是bot, g2,就是內第二層,  g3 就是內3


text:
Spine terms added but then mapped terms disappear

After adding spine terms and then save. Returning to the mapping shows spine terms saved but the mapping is gone.

...this prevents clicking of "Done Alignment"

@jbaird123 @excelsior Jim is mapping CEDS.

@jgoodell2 - I'm having trouble duplicating this problem.  Can you provide exact instructions including the file you're uploading to duplicate the issue?  A screencast would be helpful if you can do it.

@excelsior - The issue here is that the elements in the screenshot above were added as synthetic elements and automatically mapped as "Identical".  After saving, the mapping was lost, but the spine term remains.  We went back in and tried to manually map the elements, and they do not get saved.

Resolved. Please reopen if the issue persists.

Yes. I confirm that this issue is resolved.


text:
bug: Starting with create-t3-app and trying app leads to 404

Provide environment information
N/A
Describe the bug
Hey, just a heads up – there is currently an open bug in Next.js for folks trying out the app directory (beta) as follows: if you are using i18n configuration inside of next.config.js, and the app directory, you will see a 404 when routing to your index route.
This is a bug. The i18n routing configuration inside next.config.js is not being ported to app. You can view the documentation for i18n routing here. To make sure you can incrementally adopt from pages -> app, or to have them coexist for awhile, we will be fixing this bug.
But at least for now, I just wanted to make y'all aware.
Reproduction repo
N/A
To reproduce
Stated above.
Additional information
No response

Related issue: https://github.com/vercel/next.js/issues/41980

To make sure you can incrementally adopt from pages -> app, or to have them coexist for awhile, we will be fixing this bug.

Thanks for the heads-up @leerob. Do you know what would be the behaviour after the fix?

Would i18n have no effect on the routes inside the app directory? or
Would locale be mapped to the app/[locale] folder? or
Something entirely different?

This may help us who are facing this issue proceed development with correct assumptions while we wait for the fix.

18n will exist, but only affect routes inside of the pages directory 👍

authors: leerob nayaabkhan


text:
Show rows at gutter instead of as-editor's normal-text.

Pros

Easier to correspond narrowEditor's text to underlying editor's text.
When introduce inline-edit feature(Update bounded-editor's text by editing narrowEditor.)

Cons

When copying, no longer copy rows(possibly, sometimes useful to share row info to other person).

Changed my mind.


text:
Handle restoring last closed tab

When a floating tab is closed, and the user presses Ctrl+Shift+T (Ctrl+Shift+N on Firefox) to restore the last closed tab, the floating tab reappears (as a popup), but it's not always on top and TabFloater doesn't know it is restored.
Catch the tab restore event (if possible), and either:

Enable the floating state
or convert the floating tab straight into a normal tab

For this, we'd need to somehow identify if the tab that's being restored is the same floating tab that was closed last time. This is not straightforward, as the tab IDs are different. I suppose it would be possible to compare window types and URLs, but it quickly becomes too complex. It also needs a lot of extra events, adding performance overhead for every tab open operation.
Closing as won't fix.

repo: tabfloater/tabfloater


text:
Create basic options page

The user should be able to set:

Hotkeys
Default position of the floating tab
Tab size?

Positioning

Fixed position

Top left
Top right...

Smart positioning

Follow when scrolling
Follow when switching tabs

Hotkeys
Enable debugging


text:
datasource item nullable project

Describe the bug
A clear and concise description of what the bug is.

I am unable to list all of the datasources on the server.

This looks like the same issue as https://github.com/tableau/server-client-python/pull/1028 except with DatasourceItem instead of WorkbookItem

Versions
Details of your environment, including:

Tableau Server version (or note if using Tableau Online) - Tableau Online
Python version: 3.9.12
TSC library version: 0.24

To Reproduce
Steps to reproduce the behaviour. Please include a code snippet where possible.
import tableauserverclient as TSC

# log in to tableau server

for datasource in TSC.Pager(server.datasources):
      print(datasource)

The error can be fixed by removing one line from datasource_item.py:
class DatasourceItem(object):

    ...

    @project_id.setter
    #@property_not_nullable  # TODO: remove this line
    def project_id(self, value: str):
        self._project_id = value

Results
What are the results or error messages received?
src/tableau_bot/refresh.py:142: in tableau_refresh
    for datasource in Pager(server.datasources):
../../Library/Caches/pypoetry/virtualenvs/tableau-bot-sFRF_OxE-py3.9/lib/python3.9/site-packages/tableauserverclient/server/pager.py:40: in __iter__
    current_item_list, last_pagination_item = self._endpoint(self._options)
../../Library/Caches/pypoetry/virtualenvs/tableau-bot-sFRF_OxE-py3.9/lib/python3.9/site-packages/tableauserverclient/server/endpoint/endpoint.py:205: in wrapper
    return func(self, *args, **kwargs)
../../Library/Caches/pypoetry/virtualenvs/tableau-bot-sFRF_OxE-py3.9/lib/python3.9/site-packages/tableauserverclient/server/endpoint/datasources_endpoint.py:77: in get
    all_datasource_items = DatasourceItem.from_response(server_response.content, self.parent_srv.namespace)
../../Library/Caches/pypoetry/virtualenvs/tableau-bot-sFRF_OxE-py3.9/lib/python3.9/site-packages/tableauserverclient/models/datasource_item.py:331: in from_response
    datasource_item = cls(project_id)
../../Library/Caches/pypoetry/virtualenvs/tableau-bot-sFRF_OxE-py3.9/lib/python3.9/site-packages/tableauserverclient/models/datasource_item.py:58: in __init__
    self.project_id = project_id
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <tableauserverclient.models.datasource_item.DatasourceItem object at 0x10995cdf0>, value = None

    @wraps(func)
    def wrapper(self, value):
        if value is None:
            error = "{0} must be defined.".format(func.__name__)
>           raise ValueError(error)
E           ValueError: project_id must be defined.

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

yep - this should be simple enough to get in a new release very soon.

authors: jacalata peter-malcolm-bw

repo: tableau/server-client-python


text:
Update Contributing Guide

To include steps on how to branch off of development -- it'll avoid the merge conflicts from master we're seeing in PRs.
(Note: I'm not a git wizard, but my sequence of steps works every time :) )

@grbritz addressed this.


text:
Localization

It would be helpful, if we could either manually localize the text or you offer localization.

This is now available with version 1.0.12!
The documentation can be found here: https://github.com/tableflowhq/csv-import?tab=readme-ov-file#internationalization

authors: JariKonstantin ciminelli

repo: tableflowhq/csv-import


text:
Recent Components page, RSS feed

Hi folks.
This PR adds a new "Recent Components" page, and "Recent Components" RSS feed.

A couple more, small, build scripts were added -- check build.js
co(function* generator() {
  yield componentsBuildList(options);        // <- builds temporary components list (JSON)
  yield componentsBuildIndex(options);       // <- builds index pages (by category & most recent)
  yield componentsBuildRSS(options);         // <- builds RSS feed
  yield componentsBuildPages(options);       // <- comment to skip building pages
  yield componentsBuildScreenshots(options); // <- comment to skip building screenshots
}).then(() => {

The temporary file that lists all components is now built by componentsBuildList,
The index pages are built componentsBuildIndex,
The RSS feed is built by componentsBuildRSS,
The rest is unchanged.

Note that componentsBuildList now uses the Git api (via nodegit) to find when a component was first committed to the repo. Took me some gitter/slack back and forth with the nodegit people, but I think this is robust to renaming and moving the component around. This introduces a new creationTime key in the component list (the temporary JSON file), which is leveraged later on. I also store a new author key, which is used in the RSS feed. Note that all this querying of the repo slows down this step, but it shouldn't be too bad (about 5 seconds on my laptop for all of the components).
The index pages still use the same template file, but new options allow for more flexibility. The list of index pages to build is in options.components.index:
  components: {
    index: {                                       // list index pages to build
      byCategory: {                                // components by category
        title: 'Components',
        path: 'components/index.html',             // target location of index by category
        sortAllBy: [['src'], ['asc']],             // sort by file location will do
        limitAll: false,                           // use all components
        createSectionsBy: 'category',              // create a section for each category
        showSectionsTOC: true,                     // show Table of Contents (e.g. categories)
      },

The byCategory key above describes the previously existing index page, the one listing all components by category. These options can be passed to a small function in components-build-sections that return a new list of components organized by sections. In the above example,

the list of components is first sorted by the src attribute (the path on disk),
all of the components are taken into account (limitAll is false),
sections are created by looking at the category key on each component,
there is a Table of Contents.

Now here is another index, and that's all it takes to describe the new "Recent Components" page:
      mostRecent: {                                // most recent components
        title: 'Recent Components',
        path: 'components/recent.html',            // target location of recent index
        sortAllBy: [['creationTime'], ['desc']],   // sort by most recent component first
        limitAll: 50,                              // use the 50 most recent ones
        createSectionsBy: creationTimeToYMD,       // group by day
        prettifySection: v => moment(v).format('LL'), // display as day
        showSectionsTOC: false,                    // no need for Table of Contents
      },

the list of components is first sorted by the creationTime attribute, most recent first,
only 50 components are on that page -- set to false if you prefer to list all of them,
sections could have been created using the creationTime key, but I thought it looked better when grouping all components created the same day together. The creationTimeToYMD callback takes a component and return whatever value you want to group components by (e.g. the section) -- in this case it converts the component creation time (milliseconds) to a YYYY-MM-DD format. Change it back to 'creationTime' if you'd prefer a section for each component.
prettifySection is a callback that will format the section for display on the page. Here, it converts the YYYY-MM-DD value to something more human-readable. Remove that property altogether if you end up switching createSectionsBy back to 'creationTime', since formatting the creationTime property is already handled by the options.components.prettify.creationTime callback.
I'm hiding the Table of Contents, which would only be a list of dates, didn't find it very useful.

The options.components.rss object should be self-explanatory:
    rss: {                                         // RSS feed
      title: 'Tachyons Recent Components',
      categories: ['CSS', 'Functional CSS'],       // Categories this feed belongs to
      ttl: 60,                                      // Number of mins feed can be cached
      path: 'components/rss.xml',                  // target location of feed (sync head.html)
      count: 20,                                   // how many in feed
    },

I decided to only include 20 of the most recent components in that feed, that's a common value for feeds; feel free to customize.
Building a RSS feed that properly features the component screenshot was... tricky. I tried RSS enclosures, RSS custom elements -- no dice. I ended up looking at how http://unsplash.com does it. It seems to work fine. For RSS auto-discovery I added this to the templates/head.html:
<link rel="alternate" type="application/rss+xml" title="RSS Feed for Tachyons Recent Components" href="/components/rss.xml" />

This should hopefully let you put any pages from http://tachyons.io inside a RSS feed reader, and get the RSS feed directly.
What I leave up to you:

the new "Recent Components" page (aka components/recent.html) is not referenced from any other page right now. Feel free to add a link to it from the header? Making it look good is not my area of expertise :)
same for http://tachyons.io/components/rss.xml -- RSS auto-discovery should work, but feel free to explicitly mention the feed on the home page.
once this is up online, let's test the feed together -- I'll subscribe to it and hopefully you can add a component later on. If/when I see it in my reader I'll let you know that it all worked nicely.

Let me know if you have any questions, feedback, etc.

This is really amazing work.

Thanks guys. I'll keep an eye open, and once the RSS feed is up I'll let you know if it works as expected.

authors: mrmrs sebastienbarre


text:
Set up Dependabot for signal-cli-rest-api

Dependabot currently doesn't support Docker Compose, a possible fork around is to create a Dockerfile that contains only the following line
FROM user/repo:version
… and reference that Dockerfile in the compose config.

@roschaefer do you think you might get to this this quarter or should we move it to a future one?


text:
extension for stable-diffusion-webui?

Hello,
Not sure how this github works... sorry about that in advance!
I am just a user ...
Very popular is using https://github.com/AUTOMATIC1111/stable-diffusion-webui
I was just wondering if you can make body generation from a single portrait as extension to be added to the stable-diffusion-webui?
Thank you in advance!

Hi, sorry for the late reply.
I'm not the original authors of this works. I was just trying to test out how this model works.
This model uses two StyleGAN to generate separate images of a face and a body. These generated images then go through an optimization process to make them look more natural, which means it refines the finer details. So this model don't generate the whole body in one-shot fashion.
the interface of stable-diffusion-webui is basically gradio library which is not that hard to learn. But i don't have to much time to make this model to webui.

Thank you so much for the information!

authors: HyperUpscale tae-yeop

repo: tae-yeop/insetgan


text:
SGX prove fails with: Can not serialize input for SGX io error

Describe the bug
BACKGROUND:
Node successfully generated and submitted proof for block 179947
But when it tried to prove follow yo blocks, e.g. 180,466 it gets error:
ERROR[05-20|14:49:17.718] Failed to request proof                  height=180,466 error="Can not serialize input for SGX io error: Broken pipe (os error 32), output is Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: \"Starting one shot mode\\nGlobal options: GlobalOpts { secrets_dir: \\\"/root/.config/raiko/secrets\\\", config_dir: \\\"/root/.config/raiko/config\\\" }, OneShot options: OneShotArgs { sgx_instance_id: 5466 }\\nmemory allocation of 184 bytes failed\\n\", stderr: \"Gramine is starting. Parsing TOML manifest file, this may take some time...\\n-----------------------------------------------------------------------------------------------------------------------\\nGramine detected the following insecure configurations:\\n\\n  - loader.insecure__use_cmdline_argv = true   (forwarding command-line args from untrusted host to the app)\\n  - sys.insecure__allow_eventfd = true         (host-based eventfd is enabled)\\n  - sgx.allowed_files = [ ... ]                (some files are passed through from untrusted host without verification)\\n\\nGramine will continue application execution, but this configuration must not be used in production!\\n-----------------------------------------------------------------------------------------------------------------------\\n\\n[P1:T4:sgx-guest] error: Out-of-memory in library OS\\n\" })" endpoint=http://51.77.21.107:8080
INFO [05-20|14:49:55.410] Proof generated                          height=180,466 time=1m4.972853124s producer=SGXProofProducer

SGX server is configured with Processor memory reserved: 512 MB:

Steps to reproduce
Steps to reproduce here.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

UPDATE:
SGX prover keeps throwing error messages, but at the same time keep generating proof:
INFO [05-20|22:54:26.674] Request proof from raiko-host service    blockID=182,180 coinbase=0x44c7dB3ac68d92398f88Cb2BD98C118925080e11 height=182,180 hash=4d1881..b6ea37
ERROR[05-20|22:54:28.793] Failed to request proof                  height=182,180 error="Can not serialize input for SGX io error: Broken pipe (os error 32), output is Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: \"Starting one shot mode\\nGlobal options: GlobalOpts { secrets_dir: \\\"/root/.config/raiko/secrets\\\", config_dir: \\\"/root/.config/raiko/config\\\" }, OneShot options: OneShotArgs { sgx_instance_id: 5466 }\\nmemory allocation of 184 bytes failed\\n\", stderr: \"Gramine is starting. Parsing TOML manifest file, this may take some time...\\n-----------------------------------------------------------------------------------------------------------------------\\nGramine detected the following insecure configurations:\\n\\n  - loader.insecure__use_cmdline_argv = true   (forwarding command-line args from untrusted host to the app)\\n  - sys.insecure__allow_eventfd = true         (host-based eventfd is enabled)\\n  - sgx.allowed_files = [ ... ]                (some files are passed through from untrusted host without verification)\\n\\nGramine will continue application execution, but this configuration must not be used in production!\\n-----------------------------------------------------------------------------------------------------------------------\\n\\n[P1:T15:sgx-guest] error: Out-of-memory in library OS\\n\" })" endpoint=http://51.77.21.107:8080
INFO [05-20|22:54:38.324] Check synced L1 snippet from anchor      blockID=182,180 l1Height=1,581,891
ERROR[05-20|22:54:40.855] Failed to request proof                  height=182,180 error="Can not serialize input for SGX io error: Broken pipe (os error 32), output is Ok(Output { status: ExitStatus(unix_wait_status(256)), stdout: \"Starting one shot mode\\nGlobal options: GlobalOpts { secrets_dir: \\\"/root/.config/raiko/secrets\\\", config_dir: \\\"/root/.config/raiko/config\\\" }, OneShot options: OneShotArgs { sgx_instance_id: 5466 }\\nmemory allocation of 184 bytes failed\\n\", stderr: \"Gramine is starting. Parsing TOML manifest file, this may take some time...\\n-----------------------------------------------------------------------------------------------------------------------\\nGramine detected the following insecure configurations:\\n\\n  - loader.insecure__use_cmdline_argv = true   (forwarding command-line args from untrusted host to the app)\\n  - sys.insecure__allow_eventfd = true         (host-based eventfd is enabled)\\n  - sgx.allowed_files = [ ... ]                (some files are passed through from untrusted host without verification)\\n\\nGramine will continue application execution, but this configuration must not be used in production!\\n-----------------------------------------------------------------------------------------------------------------------\\n\\n[P1:T13:sgx-guest] error: Out-of-memory in library OS\\n\" })" endpoint=http://51.77.21.107:8080
INFO [05-20|22:54:41.456] Check synced L1 snippet from anchor      blockID=182,180 l1Height=1,581,891
INFO [05-20|22:54:53.298] Proof generated                          height=182,180 time=26.623564692s producer=SGXProofProducer
INFO [05-20|22:54:53.298] NewProofSubmitter block proof            blockID=182,180 coinbase=0x44c7dB3ac68d92398f88Cb2BD98C118925080e11 parentHash=3ce44b..de1151 hash=4d1881..b6ea37 stateRoot=77c37b..e9d758 proof=0000155a717639a029c7e5db6eddd6561b101269a4a17ecabcd937853b3a5be3e8c0e0357f2f450fdf26da8fbf2505131cefea562f6e72f868081312ece07165295e92d4194f76b353e02c50f54c17e49db04877963ab4df1c tier=200
INFO [05-20|22:54:53.308] Build proof submission transaction       blockID=182,180 gasLimit=0 guardian=false
INFO [05-20|22:54:53.328] Publishing transaction                   service=prover tx=a7edc7..fde19a nonce=72 gasTipCap=1,000,000,000 gasFeeCap=12,598,439,738 gasLimit=298,584
INFO [05-20|22:54:53.331] Transaction successfully published       service=prover tx=a7edc7..fde19a nonce=72 gasTipCap=1,000,000,000 gasFeeCap=12,598,439,738 gasLimit=298,584
INFO [05-20|22:54:56.456] Check synced L1 snippet from anchor      blockID=182,180 l1Height=1,581,891
INFO [05-20|22:55:04.988] Proof assignment request body            feeToken=0x0000000000000000000000000000000000000000 expiry=1,716,247,504 tierFees="[{Tier:100 Fee:+1000000000} {Tier:200 Fee:+1000000000} {Tier:1000 Fee:+0}]" blobHash=012680..ba5bfc currentUsedCapacity=0
INFO [05-20|22:55:04.988] Prover's ETH balance                     balance=36.56251266 address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
INFO [05-20|22:55:04.989] Prover's Taiko token balance             balance=0           address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
WARN [05-20|22:55:04.989] Prover does not have required on-chain Taiko token balance providedProver=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC taikoTokenBalance=0 minTaikoTokenBalance=0
INFO [05-20|22:55:04.990] Proof assignment request body            feeToken=0x0000000000000000000000000000000000000000 expiry=1,716,247,504 tierFees="[{Tier:100 Fee:+1100000000} {Tier:200 Fee:+1100000000} {Tier:1000 Fee:+0}]" blobHash=012680..ba5bfc currentUsedCapacity=0
INFO [05-20|22:55:04.991] Prover's ETH balance                     balance=36.56251266 address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
INFO [05-20|22:55:04.992] Prover's Taiko token balance             balance=0           address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
WARN [05-20|22:55:04.992] Prover does not have required on-chain Taiko token balance providedProver=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC taikoTokenBalance=0 minTaikoTokenBalance=0
INFO [05-20|22:55:04.993] Proof assignment request body            feeToken=0x0000000000000000000000000000000000000000 expiry=1,716,247,504 tierFees="[{Tier:100 Fee:+1320000000} {Tier:200 Fee:+1320000000} {Tier:1000 Fee:+0}]" blobHash=012680..ba5bfc currentUsedCapacity=0
INFO [05-20|22:55:04.993] Prover's ETH balance                     balance=36.56251266 address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
INFO [05-20|22:55:04.994] Prover's Taiko token balance             balance=0           address=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC
WARN [05-20|22:55:04.994] Prover does not have required on-chain Taiko token balance providedProver=0xfbfd4F6993BC0D3481B9bf61AD0892f817a2e7aC taikoTokenBalance=0 minTaikoTokenBalance=0
INFO [05-20|22:55:05.340] Transaction confirmed                    service=prover tx=a7edc7..fde19a block=07b0e5..730636:1581901 effectiveGasPrice=7,418,930,979
INFO [05-20|22:55:05.341] "💰 Your block proof was accepted"     blockID=182,180 parentHash=3ce44b..de1151 hash=4d1881..b6ea37 stateRoot=77c37b..e9d758 txHash=a7edc7..fde19a tier=200 isContest=false

It's OOM, try increasing gramine memory related setting maybe helpful.
Reference: https://gramine.readthedocs.io/en/latest/manifest-syntax.html#enclave-size

With mainnet and SGX running there for a whole month, I believe this issue is outdated, so closing it for now. Feel free to comment otherwise and we'll reopen for investigation.

authors: davaymne mratsim smtmfft

repo: taikoxyz/raiko


text:
vscode hanging with some vue files

What version of prettier-plugin-tailwindcss are you using?
0.2.5
What version of Tailwind CSS are you using?
3.2.7
What version of Node.js are you using?
18.12.1
What package manager are you using?
yarn
What operating system are you using?
macOS
Describe your issue
We added prettier-plugin-tailwindcss a couple of days ago. It worked initially, but I noticed that vscode+prettier was hanging trying to save certain .vue files. The hangs were  obvious because files would fail to save and vscode would complain that prettier was still running. This occurred even after restarting vscode, etc. I removed the package and vscode was able to save those files again.
Sorry about the vague bug report. We are not using any other prettier plugins. We love the idea and really want it for our project! Thanks for all your hard work.

Does prettier hang when you run npx prettier -w . in your project?

I cannot get it to happen with prettier on the CLI. It's intermittent in vscode, but definitely present and unrecoverable. Here's the shortest file I could make that triggers it occasionally:
Something.vue:
<template>

  <div v-if="error" class="bg-error text-xs mt-1 bg-error-content py-1 px-2 inline-block rounded">
    {{ error }}
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
const error = ref<string>();
</script>

$ code --list-extensions | rg "vue|prett"
esbenp.prettier-vscode
Vue.volar
Vue.vscode-typescript-vue-plugin

settings.json:
  "editor.formatOnSave": true,
  "[vue]": {
    "editor.codeActionsOnSave": { "source.organizeImports": true },
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },

.prettierrc:
{
  "printWidth": 100
}

Are you by chance using the Tailwind CSS intellisense extension as well?

I am not using that. Anything else I should grep for? Thanks!!

Nope, I don't think so. I'll see what I can figure out.

@gurgeous So far I can't get the hang to happen. Any chance you could provide a project that you're able to reproduce it on? Also the full list of install extensions would be super helpful.

I can't share the project unfortunately. Maybe I can come up with a better repro. I'm also happy to pop open dev tools or mess around with vscode if you have any pointers. I've written some extensions too...
Here's the full list of installed extensions, apologies:
aki77.haml-lint alexcvzz.vscode-sqlite andersliu.insert-line-number astro-build.astro-vscode bierner.markdown-preview-github-styles BriteSnow.vscode-toggle-quotes bungcip.better-toml coolbear.systemd-unit-file cpylua.language-postcss csstools.postcss dbaeumer.vscode-eslint donjayamanne.githistory doublefint.pgsql earshinov.permute-lines EditorConfig.EditorConfig enkia.tokyo-night esbenp.prettier-vscode flesler.url-encode formulahendry.code-runner GitHub.copilot GitHub.vscode-pull-request-github golang.go Grumpydev.pico8vscodeeditor gurgeous.ruby-open-gem hogashi.crontab-syntax-highlight idleberg.applescript JuanBlanco.solidity kamikillerto.vscode-colorize karunamurti.haml Koihik.vscode-lua-format LoranKloeze.ruby-rubocop-revived mechatroner.rainbow-csv misogi.ruby-rubocop mrmlnc.vscode-duplicate ms-azuretools.vscode-docker ms-python.isort ms-python.python ms-python.vscode-pylance ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit ms-vscode.remote-explorer oderwat.indent-rainbow Orta.vscode-jest Prisma.prisma rebornix.ruby sgryjp.vscode-stable-sort Shopify.ruby-lsp skellock.just sldobri.gruvbox-5-stars sryze.uridecode stkb.rewrap stylelint.vscode-stylelint svelte.svelte-vscode syler.sass-indented tiehuis.zig Vue.volar Vue.vscode-typescript-vue-plugin william-voyek.vscode-nginx wingrunr21.vscode-ruby zkirkland.vscode-firstupper

Me too having the same issue on vscode. Had to removed this plugin to make saving vue file works again.

We've adopted a workaround for anyone interested:

Set pluginSearchDirs: false in .prettierrc. This fixes vscode.
Run prettier --plugin node_modules/prettier-plugin-tailwindcss from the CLI when you want to sort things.

We use just as our command runner and added a just sort to run the above. You could also use a pre-commit hook, etc.
Again, thanks for the great plugin! We love it (clearly) and  I totally get that vscode/prettier are tough to debug. No worries and thanks for all your hard work.

For what it's worth, we're having the same issue with Next.js + TypeScript + TailwindCSS files. After spending over 4 hours trying to isolate the root cause, it was this plugin. Removing it solved the issue!

After days on a similar issue where one my CPU was stuck at 100% usage, I can confirm this comes from this plugin!
I'm using Nuxt 3.41 and I'm formatting Vue files.
On a 100-line Vue file:

Saving a file with Prettier only: 60ms and no CPU issue
Saving a file with Prettier + prettier-plugin-tailwind: 400ms, and minutes later, CPU usage raises, then my VS Code is completely stuck, and I have to reboot it.

Uninstalled :(
Too bad, it was useful to me.

In vue-cli based projects,  downgrading Tailwind to 3.2.x resolves the issue.

Uninstall solve this :(

Any update on this? it seems pretty bad right now

You can run "Restart Extension Host" in VSCode to avoid rebooting the whole app and project — it seems to halt the runaway process and gets things working again. Sometimes I can just re-save the file afterwards without crash, but then a few more saves of the same file and it's crashing again.
Maybe that's a clue to what's happening with the plugin? I added pluginSearchDirs: false to prettier.config.js in my NextJS + Typescript project (as per @gurgeous' comment above)  and I haven't had the issue so far. Though it's only been minutes, the one file that was crashing consistently seems not to be anymore ¯_(ツ)_/¯

👋 We're working towards a solution for this.
I've merged some (sometimes significant) performance and memory improvements in #153 that could potentially fix this problem. The fix is available to test via our insiders build: npm install prettier-plugin-tailwindcss@insiders
Could some of you give it a test and report back? It would be super helpful! You'll need to close/reopen VS Code after installing it so the prettier extension doesn't have the old version in memory.

@thecrypticace installing the plugin broke my Prettier, I have no formatting anymore when saving a file. Prettier logs when saving a file:
["INFO" - 3:35:55 PM] Formatting file:///workspaces/ppw/neuxt/pages/toolbox.vue
["INFO" - 3:35:55 PM] Using ignore file (if present) at /workspaces/ppw/.prettierignore

Notes:

I use Prettier for VS code extension
I have no .prettierignore file
I have no specific settings that could explain this.
I uninstalled the plugin and get a normal behaviour back, here are logs for a single save action:

["INFO" - 3:41:16 PM] Formatting file:///workspaces/ppw/neuxt/pages/toolbox.vue
["INFO" - 3:41:16 PM] Using ignore file (if present) at /workspaces/ppw/.prettierignore
["INFO" - 3:41:16 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 3:41:16 PM] No local configuration (i.e. .prettierrc or .editorconfig) detected, falling back to VS Code configuration
["INFO" - 3:41:16 PM] Prettier Options:
{
  "arrowParens": "always",
  "bracketSpacing": true,
  "endOfLine": "lf",
  "htmlWhitespaceSensitivity": "css",
  "insertPragma": false,
  "singleAttributePerLine": true,
  "bracketSameLine": false,
  "jsxBracketSameLine": false,
  "jsxSingleQuote": false,
  "printWidth": 90,
  "proseWrap": "preserve",
  "quoteProps": "as-needed",
  "requirePragma": false,
  "semi": true,
  "singleQuote": true,
  "tabWidth": 2,
  "trailingComma": "es5",
  "useTabs": false,
  "vueIndentScriptAndStyle": false,
  "filepath": "/workspaces/ppw/neuxt/pages/toolbox.vue",
  "parser": "vue"
}
["INFO" - 3:41:16 PM] Formatting completed in 69ms.

@ddahan There was a small hiccup that I just pushed a fix for a few minutes ago. Can you re-install the insiders build and give it one more test please?
The insiders version you'll need to test is 0.0.0-insiders.78bd35b (you can check your lock file to see if its the right one)

@thecrypticace it is definitely better than before!
Before, with the plugin activated: 400ms instead of 50-100ms to save a Vue file of 100 lines (and 100% CPU usage).
Now it seems to be almost the same.
However, it feels like if I wait for a few seconds to save the file, it takes longer (around 250ms). Then it's quick again. Is there anything that could explain this difference?

Yep so we removed object hashing to speed up config loading as for some config files it becomes very expensive but added an expiration timer so we can still detect changes to the config file (otherwise you'd have to reload VS Code every time the config changed). I'll see if there are other options for detecting config file changes to reduce the need for shorter expiration times.

Ok thanks! Not sure to understand deeply what's happening behind the scene, but the DX is a little weird because of that, because for the same file you have an almost instantaneous formatting, and then a laggy one. Anything that could improve this would be welcome imo. Thanks!

Still getting the same issue even with the insiders build 0.0.0-insiders.78bd35b. Disabling formatting on save with Prettier completely eliminates the issue, so it seems that the underlying issue is still there.
Not sure how to troubleshoot this further, but would be happy to provide any information that could be helpful here.

Still getting the same issue even with the insiders build 0.0.0-insiders.78bd35b. Disabling formatting on save with Prettier completely eliminates the problem, so it seems that the underlying cause is still there.
Not sure how to troubleshoot this further, but would be happy to provide any information that could be helpful here.

Same thing for me with 0.0.0-insiders.78bd35b.

@Doesntmeananything @valgeirb Could either one or both of you provide reproduction projects , details on VSCode plugins and VSCode version, and info on how you reproduce it? A video / screen recording might be helpful too so we can see what you're doing to repro it.
Additionally, specs on your computer could be useful (like CPU, memory, etc…)

I'm having the same issue and I'm rather curious what the common denominator is between people who have this.
I think this is related to a combination of installed NPM packages, because I've tried different VS Code versions, different Prettier extension versions, used different computers (one was a brand new Win11 installation), etc.
But there is just one project that is giving me issues while others work flawlessly.
Are any of you using DaisyUI for example?
Meanwhile I'm trying to create a minimal repro example.

@krisz094 Even if the repro isn't minimal it might still be useful as long as the issue is reproducible. Is that repo public by chance?

FWIW, I'm using Sveltekit 1.15.8 + Tailwindcss 3.2.4 + Typescript 5.0.4 + this plugin. The insiders version 0.0.0-insiders.d3f787d made a significant improvement. When VSCode upgraded to Typescript 5 last month, that's when we noticed the performance hit when autosaving. The workaround at the time was to downgrade VSCode to a patch before 1.77.

We are reproducing
https://github.com/verdie-g/crpg/tree/master/src/WebUI

can't we watch config file and update instead of expiring it after x seconds ?

@jd1378

can't we watch config file and update instead of expiring it after x seconds ?

We chose this router because, as far as I know, Prettier does not offer an API to do this. This means that it would need to be done via Node APIs — possibly using chokidar or some other file watcher. This also means that if we did that then we'd likely need to detect that we're running in VSCode because there's overhead to doing that and you wouldn't want to do it when running prettier from the command line.

that makes sense. but can't we detect and only do it when running in vscode ? so we don't get the overhead in cli, but get the benefits in vscode ? also it should be only one file I guess, so the overhead should be small. I mean if it means we don't reload the config for the rest of the life time of the extension, that would be a lot less work

I'm on a nuxt 3 project, it it not big yet, but still has ~ 50+ components already
here's without prettier-plugin-tailwindcss:
Rule                              | Time (ms) | Relative
:---------------------------------|----------:|--------:
prettier/prettier                 |  1735.189 |    50.0%
import/namespace                  |  1262.053 |    36.4%
@typescript-eslint/no-unused-vars |    70.073 |     2.0%
vue/attributes-order              |    63.656 |     1.8%
n/no-deprecated-api               |    25.548 |     0.7%
no-redeclare                      |    14.051 |     0.4%
import/order                      |    13.544 |     0.4%
unicorn/escape-case               |    12.815 |     0.4%
vue/component-tags-order          |     9.894 |     0.3%
spaced-comment                    |     9.673 |     0.3%

also as a thought: after squeezing as much as performance we can, can't we then create some web workers and offload the processing to web workers to process expressions in parallel ? assuming each expression must be done on it's own, wouldn't that help ?

@jd1378 While it would be amazing if that were possible — processing things in parallel in web workers would unfortunately require prettier integration. JS/TS expressions in non-JS/JSX/TS/TSX files are usually handled as embedded documents which means ultimately Prettier itself is responsible for calling parse in the appropriate plugins.

@or2e Since you're using WSL2 — are your projects files under /mnt/{drive-letter-here} (e.g. /mnt/c)? WSL2 has serious performance issues accessing files shared with Windows via /mnt/* and any access of the filesystem slows things down significantly. I took your project, updated it to the latest version of the prettier plugin (v0.3.0) and ran the CLI against one of the files. It takes roughly 5.4s to process ./src/pages/clans/\[id\]/index.vue under WebUI. About 4.7s of which is everything required to load your local copy of Tailwind, load and compile the config, and set up everything for processing. And the majority of this time is Node processing any require() calls.
If I move the repo so it's under /home/wsl the time drops significantly to 600ms total — with about 270ms of that being all the Tailwind, config loading, and setup. require() itself is slowed down a ton.
This might be something you can look at if you're still having performance problems.
@krisz094 Any chance you're using WSL as well?

@thecrypticace
1/ The repository has been cloned into the distro (not mounted), /root/WORK/crpg
2/
v0.2.8 - ~1500ms
v0.3.0 - 50-200ms
ty!

Fantastic!

Hey all — since we've released v0.3.0, with the discovery regarding WSL and windows file system sharing, and that there's been little movement on this issue we're going to close it as the issues should be mostly solved.
If you're still experiencing problems and can provide a reproduction please feel free to open a new issue that we can take a look at.
Thanks everyone for their input! ✨

Hi there. I'm curious to have extensive feedbacks from people who had the issue, an tested newer versions (0.3.0+) then. Thanks!
@gurgeous @kotaksempit @tjkohli @richardtallent-erm @Mattinton @Doesntmeananything @valgeirb @krisz094 @jd1378

authors: AjayDevInfy Doesntmeananything aaronmw ddahan gurgeous jd1378 kmcgurty kotaksempit krisz094 mingtheanlay or2e thecrypticace tjkohli tkat valgeirb


text:
如何获取个性签名

没看见获取个性签名的接口
tx 有相关 API 么（小声

好像有http接口，但是我找不到，如果有人能找到可以加到这里面
https://github.com/takayama-lily/oicq/blob/master/web-api.md

authors: Stapxs takayama-lily

repo: takayama-lily/node-onebot


text:
Fixes a bug when using llm chat is used with Ollama Model.

The error:

After the fix, this works.

Do you have an up-to-date version of ollama Python package installed?

Do you have an up-to-date version of ollama Python package installed?

Let me check.

No this is an issue with the llm-plugin.
with this commit. 678a50f11055e1ae8007134ef0c038df476f553e   I get this error

Versions:

With the fix 0.8.0

Can you please check from your end.
This happens when we use
llm chat -m <some-ollama-model>

and do a muti turn.

Hm, so everything works fine with ollama==0.3.3. However, after I updated to the newest version (0.4.0)[https://github.com/ollama/ollama-python/releases/tag/v0.4.0] that was released today, I started to get errors:

no "name" attribute in model objects
no "model_info" attribute in in show response objects
I've made corresponding changes to use new names of these renamed attributes and then I was able to chat with Ollama models. This is strange:
Why do I not get the "attachment" error?
Why don't you get same attribute errors as I do?

Note that response objects should always have "attachments" attribute: https://github.com/simonw/llm/blob/335b3e635aa1439edafb13b0c2a225ce5840cc98/llm/models.py#L214

Hm, so everything works fine with ollama==0.3.3. However, after I updated to the newest version (0.4.0)[https://github.com/ollama/ollama-python/releases/tag/v0.4.0] that was released today, I started to get errors:

no "name" attribute in model objects
no "model_info" attribute in in show response objects

I've made corresponding changes to use new names of these renamed attributes and then I was able to chat with Ollama models. This is strange:

Why do I not get the "attachment" error?
Why don't you get same attribute errors as I do?

Strange.
I did get the attribute errors, in the previous update but then I started with a clean state on new venv with Python 3.9.12. What version of python are you testing this on?

And  ollama version is 0.4.3 while Ollama python version is ollama  0.4.0

I'm testing on Python v3.12.3. I've pushed a bunch of updates that fix everything for me locally. Would you mind pulling latest master and creating a new venv from scratch?

Yes I will check in a bit. I think it will work. With an isolated env using uv I am getting the behaviour you are getting. This pr might not be needed. With ollama==0.3.3 and llm-ollama=0.7.0 it’s working like yours.
Only ollama==0.4.0 fixes are needed

I can confirm it's working.

versions

Thanks for confirming; I've tagged a new release: https://github.com/taketwo/llm-ollama/releases/tag/0.7.1.

authors: sukhbinder taketwo

repo: taketwo/llm-ollama


text:
Suggestion for good IDE setup

Hi,
can someone give advices on how to correctly setup an IDE to work on the project?
I tried Eclipse (& scala-ide), Netbeans & IDEA without lot of success.
In all 3 I can import the project, but in none of them I have a correct setup in which I have completion & navigation between Java, Scala & templates.
Of course using sbt on command line of course I build/run correctly the project
Thanks for any help.
PS: as you might have understand I am new to scala world

I recommend IntelliJ + Scala Plugin. You can simply open the /gitbucket directory as a SBT project.

Hi, thanks for the hint.
But as I told it is exactly what I did.
For example, opening the html templates does not lead  in having Intellij interpreting them as "scala templates". Thus completion on contollers, routes, ... does not occur. Is there anything special to configure? I think IDEA see them as standard html files.
I come from pure java/maven world and was used to Netbeans & Eclipse. I perhaps missed something in IDEA setup but I doubt. I am using latest IDEA community edition (14.1.2) in which I activated scala support.

authors: McFoggy takezoe

repo: takezoe/gitbucket


text:
Pump rust-lightning to v0.0.108

This is needed because recent versions of rust-lightning expose the BigSize struct (used in TLV encoding) which will be used in some messages in the tower's Lightning interface (check bolt13).
Related to #31

I guess we can bump this as part of your SoB main PR, or do you need it early for any other purpose?

@sr-gi
Not for a specific thing, just separation of concerns.
These diffs look quite unrelated between the others.

Right. I'll merge it after the plugin release then.

authors: meryacine sr-gi

repo: talaia-labs/rust-teos


text:
epub格式的书籍重新打开重影

倒入epub格式书籍后，重新打开进行阅读，翻页后有重影，应该是第一次加载的页面内容没有清除导致。
版本: 3.5.9

这个问题我也发现了，有可能是新版的 Readium 造成的。有时候上一页的图片都会残留在页面上。
但这个问题目前是可以解决的，阅读时在 页面设置 里把 主题配色 改成 白底黑字 就可以解决了。

感谢 @NeedforGit 提供的方案，这种方式可以临时解决无法阅读的问题。但在翻页的时候还是能看到残影，期待有更完美的解决方案。

我也有这个问题

同，还以为自己搞崩了呢

不使用默认的电子书自带主题就没事

authors: NeedforGit fly2sky2000 ql-isaac xuehuayous

repo: talebook/talebook


text:
npm create tamagui failing

Current Behavior
run npm create tamagui
error:
@tamagui/toast@npm:1.39.9: The remote server failed to provide the requested resource
➤ YN0035: │   Response Code: 404 (Not Found)
➤ YN0035: │   Request Method: GET
➤ YN0035: │   Request URL: https://registry.yarnpkg.com/@tamagui/toast/-/toast-1.39.9.tgz
➤ YN0035: │ @tamagui/web@npm:1.39.9: The remote server failed to provide the requested resource
➤ YN0035: │   Response Code: 404 (Not Found)
➤ YN0035: │   Request Method: GET
➤ YN0035: │   Request URL: https://registry.yarnpkg.com/@tamagui/web/-/web-1.39.9.tgz
Expected Behavior
npm create tamagui is successful
Tamagui Version
not applicable

Reproduction
not applicable

System Info
System:
    OS: macOS 13.0
    CPU: (12) arm64 Apple M2 Pro
    Memory: 76.44 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.18.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.1

npm was down

authors: matthewhausman natew

repo: tamagui/tamagui


text:
Add search overloads that take in CancellationToken

Once a search is fired off - there is no way to cancel the search process. I would suggest we add an overload to the search methods that takes in a cancellation token - which will stop the polling process in the background.
We're seeing a bunch of users that fire off wrong searches or decide to change their search mid-search. In order to save resources - I would like to be able to cancel the process.
Something along the lines of
Task<List<Itinerary>> QueryFlight(FlightQuerySettings flightQuerySettings, CancellationToken token);

Good idea @jochenvanwylick.
Off:
Sorry I was not too responsive lately on the other open issues. I owe you at least one fix for two weeks now. I'm on my way of implementing these.

@tamasvajk No worries !

authors: jochenvanwylick tamasvajk

repo: tamasvajk/SkyScanner


text:
Syrus GPS

Configure syrus y traccar no recibe la información pero con la aplicación para android si funciona.
En syrus desk dice que esta conectado al servidor.

Please provide logs (tracker-server.log file).

2015-03-20 11:31:38  INFO: Starting server...
2015-03-20 11:31:38  INFO: Operating System name: Linux version: 3.18.7-v7+ architecture: arm
2015-03-20 11:31:38  INFO: Java Runtime name: Java HotSpot(TM) Client VM vendor: Oracle Corporation version: 25.0-b70
2015-03-20 11:31:38  INFO: Memory Limit heap: 224mb non-heap: 0mb
2015-03-20 11:31:38  INFO: Version: 2.11-SNAPSHOT
2015-03-20 12:08:49 DEBUG: [5031 <- 190.91.240.224] - HEX: 3e52584152543b322e312e34313b49443d3335363631323032363336323034383c0d0a
2015-03-20 12:08:52 DEBUG: [5031 -> 190.91.240.224] - HEX: 333536363132303236333632303438
2015-03-20 14:10:19 DEBUG: [5005 <- 78.24.50.202] - HEX: 474554202f20485454502f312e300d0a557365722d4167656e743a204f706572612f392e383020285831313b204c696e7578207838365f3634292050726573746f2f322e31322e3338382056657273696f6e2f31322e31360d0a0d0a
2015-03-20 14:10:19  WARN: String index out of range: 0 - java.lang.StringIndexOutOfBoundsException (String.java:646)
2015-03-20 14:10:19  INFO: Closing connection by exception
2015-03-20 14:10:19  INFO: Closing connection by disconnect
2015-03-20 14:46:32 DEBUG: [5031 <- 190.91.240.218] - HEX: 3e52584152543b322e312e34313b49443d3335363631323032363336323034383c0d0a
2015-03-20 14:46:32 DEBUG: [5031 -> 190.91.240.218] - HEX: 333536363132303236333632303438
2015-03-20 15:00:00 DEBUG: [5031 <- 190.91.240.196] - HEX: 3e52584152543b322e312e34383b49443d3335363631323032363336323034383c0d0a
2015-03-20 15:00:00 DEBUG: [5031 -> 190.91.240.196] - HEX: 333536363132303236333632303438
2015-03-20 15:15:14 DEBUG: [5031 <- 190.91.240.196] - HEX: 3e52584152543b322e312e34383b49443d3335363631323032363336323034383c0d0a
2015-03-20 15:15:14 DEBUG: [5031 -> 190.91.240.196] - HEX: 333536363132303236333632303438
2015-03-20 15:21:44 DEBUG: [5031 <- 190.91.240.196] - HEX: 3e52584152543b322e312e34383b49443d3335363631323032363336323034383c0d0a
2015-03-20 15:21:44 DEBUG: [5031 -> 190.91.240.196] - HEX: 333536363132303236333632303438
2015-03-20 15:38:13 DEBUG: [5031 <- 190.91.240.196] - HEX: 3e52584152543b322e312e34383b49443d3335363631323032363336323034383c0d0a
2015-03-20 15:38:13 DEBUG: [5031 -> 190.91.240.196] - HEX: 333536363132303236333632303438
2015-03-20 15:53:26 DEBUG: [5031 <- 190.91.240.196] - HEX: 3e52584152543b322e312e34383b49443d3335363631323032363336323034383c0d0a
2015-03-20 15:53:26 DEBUG: [5031 -> 190.91.240.196] - HEX: 333536363132303236333632303438

Your device doesn't send any location data. It send only messages like this:
>RXART;2.1.41;ID=356612026362048<

¿y que es lo que tiene que enviar? ¿en que formato?

It has to send location data.

sabes el comando para la configuración de syrus gps?

No, unfortunately I don't know how to configure the device.

repo: tananaev/traccar


text:
table name "USER" can not use in oracle database

in the database Oracle can not be created with a table named "user".
http://docs.oracle.com/cd/B19306_01/server.102/b14200/ap_keywd.htm

and also
VARCHAR2	Maximum size: 4000 bytes
https://docs.oracle.com/cd/B28359_01/server.111/b28320/limits001.htm

The fact that "user" is a keyword doesn't mean that you can't use it. It's a keyword in MySQL as well and it works fine.
As for VARCHAR size:
http://docs.oracle.com/database/121/SQLRF/sql_elements001.htm#SQLRF55623

Beginning with Oracle Database 12c, you can specify a maximum size of 32767 bytes for the VARCHAR2, NVARCHAR2, and RAW data types.

12c is not in the free version and in Oracle12c 32767bytes mode for varchar2  must be enabled additionally
in Oracle 11xe (free oracle)  varchar2 can only be 4000
into Oracle i can`t create table with name "user" or "USER" (these are different names in the oracle) and it is a fact
scripts to create the database traccar can not work with Oracle  and I had to work hard to start the traccar server

It's really hard to cater for all available database engines. If you have any ideas how to fix the problem, please let me know.

You can do some scripts  for various databases

I just don't have time to write scripts for all available databases. If you provide scripts, I can include them into the project.

Seems you can use the workaround. I was really looking very quickly. Need add into \database\DataManager.java\getObjectsTableName special case for Oracle DB - Wrap the name in double quotes. Also, do the same when DB is deployed. The main idea is [select * from user] cause error in Oracle, but [select * from "user"] will work fine if you create table in this manner: [create table "user" ( id number );]
(NOTE: in this case table name is case sensitive)
Sure you also need to adjust field types.

There is no "user" table in Traccar anymore, so it shouldn't be a problem.

authors: DenRozhko IhorDavydenko tananaev


text:
positions API swagger json

parameters deviceId, from and to for API call GET /positions are marked as required in the swagger JSON
However the api also accepts a request without parameters and returns a list of latest positions for all devices (including deviceId, not defined as a property of the Position model)
A client generated from swagger JSON won't include a call for GET /positions without the additional parameters.
Which api call should/can I use for getting the latest positions for my devices?

You can use /positions without parameters to get latest positions. You can also use WebSocket connection for live updates.

@tananaev, the WebSocket currently allow external access?

Server doesn't limit any access. It uses same HTTP server for WebSockets as it does for REST API.

I got this error when I try to connect to websocket
WebSocket connection to 'ws://37.230.96.30:8082/api/socket' failed: Error during WebSocket handshake: Unexpected response code: 503

503 Service Unavailable
The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state

currently on this server only have one devices and the service is running
and here is how do I trying to connect (is a copy/paste with minimal modification of the official traccar web)
    var socket, self = this;
        socket = new WebSocket('ws://37.230.96.30:8082/api/socket');

        socket.onclose = function (event) {
        	console.log("WebSocket closed");
            // self.asyncUpdate(false);
        };

        socket.onmessage = function (event) {
            var i, j, store, data, array, entity, device, typeKey, alarmKey, text, geofence;

            data = Ext.decode(event.data);

            if (data.devices) {
                array = data.devices;
                store = Ext.getStore('Devices');
                for (i = 0; i < array.length; i++) {
                    entity = store.getById(array[i].id);
                    if (entity) {
                        entity.set({
                            status: array[i].status,
                            lastUpdate: array[i].lastUpdate
                        }, {
                            dirty: false
                        });
                    }
                }
            }

            if (data.positions && !data.events) {
                array = data.positions;
                store = Ext.getStore('LatestPositions');
                for (i = 0; i < array.length; i++) {
                    entity = store.findRecord('deviceId', array[i].deviceId, 0, false, false, true);
                    if (entity) {
                        entity.set(array[i]);
                    } else {
                        store.add(Ext.create('Traccar.model.Position', array[i]));
                    }
                }
            }

            if (data.events) {
                array = data.events;
                store = Ext.getStore('Events');
                for (i = 0; i < array.length; i++) {
                    store.add(array[i]);
                    if (array[i].type === 'commandResult' && data.positions) {
                        for (j = 0; j < data.positions.length; j++) {
                            if (data.positions[j].id === array[i].positionId) {
                                text = data.positions[j].attributes.result;
                                break;
                            }
                        }
                        text = Strings.eventCommandResult + ': ' + text;
                    } else if (array[i].type === 'alarm' && data.positions) {
                        alarmKey = 'alarm';
                        text = Strings[alarmKey];
                        if (!text) {
                            text = alarmKey;
                        }
                        for (j = 0; j < data.positions.length; j++) {
                            if (data.positions[j].id === array[i].positionId && data.positions[j].attributes.alarm !== null) {
                                if (typeof data.positions[j].attributes.alarm === 'string' && data.positions[j].attributes.alarm.length >= 2) {
                                    alarmKey = 'alarm' + data.positions[j].attributes.alarm.charAt(0).toUpperCase() + data.positions[j].attributes.alarm.slice(1);
                                    text = Strings[alarmKey];
                                    if (!text) {
                                        text = alarmKey;
                                    }
                                }
                                break;
                            }
                        }
                    } else {
                        typeKey = 'event' + array[i].type.charAt(0).toUpperCase() + array[i].type.slice(1);
                        text = Strings[typeKey];
                        if (!text) {
                            text = typeKey;
                        }
                    }
                    if (array[i].geofenceId !== 0) {
                        geofence = Ext.getStore('Geofences').getById(array[i].geofenceId);
                        if (typeof geofence !== 'undefined') {
                            text += ' \"' + geofence.getData().name + '"';
                        }
                    }
                    device = Ext.getStore('Devices').getById(array[i].deviceId);
                    if (typeof device !== 'undefined') {
                        if (self.mutePressed()) {
                            self.beep();
                        }
                        Ext.toast(text, device.get('name'));
                    }
                }
            }
        };

authors: al3x1s stevenbouma tananaev


text:
Web not found

Hello folks I have an issues within web UI , the web view is alway blank from localhost http://prntscr.com/fp0fn8

Have you downloaded the web app?

yes folk, I download the traccar web UI and follow the instruction for traccar web in netbean but it said
"Attaching to localhost:8000
Connection refused.
"

I need to see your the source code folder structure that you have.
Also, if something doesn't work, please provide full information. What steps you followed, operating system, on what step it failed, ideally with screenshots.

I successfull to run it, but there something error popup after I add a new user device http://prntscr.com/fp2swu

That's not Traccar.

here screenshot from netbean http://prntscr.com/fp3c0f , really not sure if need to run this both traccar and traccar web.

I think you are confused. There is official traccar-web here:
https://github.com/tananaev/traccar-web
There is also unofficial traccar-web. That's the one you are using. If that's what you want, you asking in the wrong place.

where can I able to get the latest open source traccar web?

https://github.com/tananaev/traccar-web/releases
Em qui, 29 de jun de 2017 às 03:23, romano Mojica ednalan <
notifications@github.com> escreveu:

where can I able to get the latest open source traccar web?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/3301#issuecomment-311873731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADu5jlU6GEA5Vjn7SrjofsImMR10TiYgks5sI0LSgaJpZM4OHdM0
.

--
Att.
Marcio Torres®

Thank you for response @Turbovix and @tananaev

authors: Turbovix neroshin tananaev


text:
IOS-4919 Update Token properties

Не будут использоваться

Сначала дождусь пока выпилю из апки

repo: tangem/blockchain-sdk-swift


text:
Mix of landuse kind wood and park in Prospect Park Brooklyn

Not sure what to do here:

Add wood to the park layer’s filter.
On Wed, Sep 23, 2015 at 3:58 PM, Geraldine Sarmiento <
notifications@github.com> wrote:

Not sure what to do here:
[image: screen shot 2015-09-23 at 3 56 36 pm]
https://cloud.githubusercontent.com/assets/466585/10061239/ef4f3faa-620b-11e5-85c5-e3a541a7491b.png
[image: screen shot 2015-09-23 at 3 58 15 pm]
https://cloud.githubusercontent.com/assets/466585/10061240/ef67bc38-620b-11e5-98e3-092bc6295331.png
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/eraser-map/issues/33.

ok, added
https://github.com/tangrams/eraser-map/blob/gh-pages/eraser-map.yaml#L1705

authors: nvkelso sensescape

repo: tangrams/eraser-map


text:
Use rounding when encoding position attributes as integers

Fixes some small (but visible) discrepancies in vertex positions at the edges of tiles.

LGTM.

repo: tangrams/tangram-es


text:
Firefox assumes that created data blobs (using data Object instead of an URL) are XML, outputs errors

TANGRAM VERSION: 0.21.1
ENVIRONMENT: win7 64bit Firefox 84.0.1, win10 64bit Firefox 85.0, (no errors:) win10 64bit Edge 87
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

use scene.setDataSource with type "GeoJSON" and  data property instead of an URL
look at the console output (at layer rebuild)

RESULT:
There are errors at the blob locations: "XML Parsing Error: not well-formed".
Apparently the browser assumes blobs to be XML by default, if no type is given.
Outside of the console, I could not notice negative effects.
EXPECTED RESULT:
No such errors appearing in the console.
It seems like this is fixed, at least for (Geo)JSON data, by providing an object like { type: 'application/geo+json' } or at least { type: 'application/json' } to the Blob constructor here: https://github.com/tangrams/tangram/blob/990d2608c7dce2c3801c2cfd676e5c2e5b74c743/src/scene/scene.js#L1037

Thanks for the report and easy fix @d3d9! I wonder if this behavior has changed at some point in Firefox versions, but no matter now... this will be released in v0.21.2 and the issue will be closed then.

Thanks for the report and easy fix @d3d9! I wonder if this behavior has changed at some point in Firefox versions, but no matter now... this will be released in v0.21.2 and the issue will be closed then.

Fixed in v0.22.0

repo: tangrams/tangram


text:
Update scalatest to 3.2.6

Updates org.scalatest:scalatest from 3.1.4 to 3.2.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, semver-minor

Superseded by #113.

repo: tanishiking/scalaunfmt


text:
Header groups colSpan doesn't adjust with hidden columns

Using v7?

Thanks for using the alpha version of React Table v7! We're very excited about it.

Yes, and I'm excited too! 🔥
Describe the bug
When hiding columns, the colSpan of their respective headers doesn't change, resulting in columns being shifted to wrong headers.
To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/tannerlinsleyreact-table-basic-b33h9
Play around with the checkboxes to hide the columns
Notice how the colSpan of the header groups doesn't change and columns get shifted to wrong headers

Expected behavior
The colSpan property of the header groups should be calculated with hidden columns in mind.
Screenshots

All columns show in this one.

Last name is hidden, age gets shifted to the Name header group.
This bug seems to be easy to fix. I'm happy to follow up with a PR!

See my commit for a possible fix.
I don't know why prettier changed that many lines though. 😕

I would love a PR!
On Aug 14, 2019, 8:56 AM -0600, Maximilian Brandau notifications@github.com, wrote:

See my commit for a possible fix.
I don't know why prettier changed that many lines though. 😕
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The issue is occurring again. https://codesandbox.io/s/tannerlinsleyreact-table-basic-b33h9
I‘m gonna have a look at this again. A test for this case might be a good idea.
Please reopen this issue @tannerlinsley

authors: mbrandau tannerlinsley

repo: tannerlinsley/react-table


text:
JSX cell is unexpected render to '[Object Object]' in v7.

JSX cell is render to '[Object Object]'
Affected version: 7.0.0-alpha.32 - 7.0.0-alpha.34

You can achieve the same with
 columns: [ { Header: 'First Name', Cell: ({cell}) =>
cell.value.firstName
 accessor: 'firstName' }]
This may be its intentional functionality to combat cross site scripting.

This is fixed in the latest release. All renderers now support Function components, Class components, non-component functions, JSX elements, and primitives.

Also,@elivoa, Its important to note that accessor is meant to resolve a primitive data type (number, string, boolean, etc), so that it can be used to sort and filter the table. If you want to customize it's display, please do the following:
{
  accessor: row => row.firstName,
  Cell: ({ cell: { value }}) =>
{value}
`
}

authors: Codar97 elivoa tannerlinsley


text:
How to remove the script from the index.html to use useGoogleGeoApi ?

I tried to removed the script of index.html
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=myKey&libraries=places"></script>

to
  public userSettings5: any = {
    geoCountryRestriction: ['fr'],
    geoTypes: ['address'],
    showSearchButton: false,
    showRecentSearch: false,
    useGoogleGeoApi: true
  };

But not work

hi,
without the google map script mentioned in index.html, the directive won't work with Google API.
If u want to remove the script then u have to implement your own API which u can give the link to the directive to use. please refer demo and read the document.

Exactly, it's because I use agm-core at the same time, so with the src script I have a conflict with 2 google API called at the same time.

I had the same issue because two scripts were being loaded at the same time which was causing the issue.

I was able to make it work by not loading the Google Maps API in AgmCoreModule.
If you put this in your AppModule, AgmCoreModule does not load Google Maps API:
providers: [     ...BROWSER_GLOBALS_PROVIDERS, {provide: MapsAPILoader, useClass: NoOpMapsAPILoader}   ],
Of course you have to leave the <script> in index.html.
This is a suboptimal but easy solution to make the two libraries cooperate.

Unfortunately I need the agm core to display a Google map (with markers, ...) on another page of my website, so ..

Same here, but for me that is still working with this setup.

    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyDH1n-WWp1WgfRbK17-J0-BTlkF7i_czMg'
    }),
    //ng4-geoautocomplete
    Ng4GeoautocompleteModule.forRoot(),
    //infinite scroll
    InfiniteScrollModule
  ],

This code got me api conflict when i call ng4-geoautcomplete and agm-core same time
Console screen error


text:
custom baudrate for darwin and linux

Uses the IOCTL for darwin, and termios2 for linux custom baudrate. Retains non-darwin (termios 1) behavior for other posix targets. Change also modified the DTR "hangup" behavior for linux to more accurately mimic a terminal.

I was able to test this on OSX, Windows and Linux running 1M BAUD on an external device. Working a-ok here.

I've been using this for Raspbian and it works great.

authors: colinrgodsey jackjameshoward jaredwolff

repo: tarm/serial


text:
Change configuration strategy

Auto-init strategy didn't work well during testing. We need a new strategy for handling of the configuration file:

The configuration file must be loaded when taro cli is executed. (Config dir resolution has been fixed to behave exactly according to the XDG spec)
~When the config file is not found then the executed command will print a message, suspend the execution, run config create and continues in case the config was created.~
~An exception to this is the taro exec command which will print a warning and load the default config file to be able to continue the execution. This is important because this command is expected to be executed in a non-interactive shell.~

We need also smarter taro config create command. When this command is executed we need a prompt similar to this one:
Select where to create the config file:

User specific config directory:
[1] $XDG_CONFIG_HOME/taro or ~/.config/taro

System directories (You must have the write permissions!)
[2] {The first directory from $XDG_CONFIG_DIRS}/taro or /etc/xdg/taro
[3] /etc/taro

Choose any of [1,2,3]: _

Bonus: taro config create --jobs for creating the jobs.yaml file template

The work will be done in #65

repo: taro-suite/taro


text:
CI tests on Windows+macOS

..hopefully. As per https://github.com/taskchampion/taskchampion/issues/274

These failures now seem like legitimate failures which should be fixed by #275

🚀

repo: taskchampion/taskchampion


text:
Will not overwrite file if it exists

My understanding is if a file already exists it should just overwrite.  I am receiving this error message when trying to overwrite a file.
Tue, 23 Feb 2016 20:46:57 GMT | starting dump
Tue, 23 Feb 2016 20:46:57 GMT | got 1 objects from source elasticsearch (offset: 0)
Tue, 23 Feb 2016 20:46:57 GMT | Error Emitted => File /usr/data/car.json already exists, quitting
Tue, 23 Feb 2016 20:46:57 GMT | Total Writes: 0
Tue, 23 Feb 2016 20:46:57 GMT | dump ended with error (set phase)  => Error: File /usr/data/car.json already exists, quitting
Thanks,
Bret

We changed this behavior (safety++)  in v1 https://github.com/taskrabbit/elasticsearch-dump/releases/tag/v1.0.0
It looks like we forgot to update the README, which I've done here https://github.com/taskrabbit/elasticsearch-dump/commit/8aa9b7c37f579fc31c5997ff676873e17587f960

Thank you

repo: taskrabbit/elasticsearch-dump


text:
Credit- Multiple Line Credit- Created multiple Credit orders one for each line that was credited back

BC order 724

Myhq Order # 26929028

Issued Credit back... seen via myhq I see 2 credit orders created

26935340

26935341

It should be like this to match BC

Looks like it only gave me one credit order number in the table.

and note- I messed up and forgot to delete the tax part out... oops

TaxTotal and ShippingShippingCreditAmount are "order level" values, so they should be the same on all the items credited for the order. Being different caused the uspI_CreateCreditOrderForExternalProcess to process the items as separate orders. I did add code so that when this happens it will take them max of each of the values just in case this happens again.

Looks like this is fixed

Closing bug

authors: monicakarnes sevincent

repo: tastefully-simple/cornerstone


text:
fix(linux): avoid unwrapping in Window::primary_monitor

Fixes #832
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Checklist

[x] This PR will resolve #832
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary
[x] It can be built on all targets and pass CI/CD.

Other information

Thanks for resolving this issue!

authors: olivierlemasle wusyong

repo: tauri-apps/tao


text:
Error Invalid byte 45, offset 0.

See Workflow Run for more infomation!
Already set up github token, tauri private key, password

You'll also need to update the pubKey in tauri.conf.json to match your new private key/password.
But i'm not sure if that could cause this error message, but worth a try.
Also, for generating the keys, you did follow this guide, right? https://tauri.app/v1/guides/distribution/updater

authors: FabianLars NguyenDuck

repo: tauri-apps/tauri-action


text:
[bug] Frequent hiding and displaying of webviewWindow significantly increases CPU usage

Describe the bug
Thanks to the official for proposing the webviewWindow hiding and displaying functions in my last issue and adopting them so quickly. Because my tauri v2 project is used in the production environment, I cannot provide you with video recordings. However, after my comparison, frequent Showing and hiding webviewWindow CPU usage is about 2%-3% higher than changing the position of webviewWindow. so currently I still hide and show by changing the position of webviewWindow, because it takes up much less CPU. Finally, I would like to make a small suggestion: If you can add a option parameter config to webview.show(config), you can configure the display location is even more perfect
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 129.0.2792.52
    ✔ MSVC:
        - Visual Studio Enterprise 2022
        - Visual Studio ���ɹ��� 2022
    ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06)
    ✔ Cargo: 1.80.1 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.17.0
    - yarn: 1.22.19
    - npm: 10.8.2

[-] Packages
    - tauri [RUST]: 2.0.0-rc.16
    - tauri-build [RUST]: 2.0.0-rc.13
    - wry [RUST]: 0.44.1
    - tao [RUST]: 0.30.2
    - @tauri-apps/api [NPM]: 2.0.0-rc.6
    - @tauri-apps/cli [NPM]: 1.4.0 (outdated, latest: 1.6.2)

Stack trace
No response
Additional context

I donno if this is the same issue I'm having but tauri website destroys my cpu and makes the laptop go 90 C on an M1 Max.
Example this page: https://tauri.app/concept/architecture/

authors: gageracer moom-en

repo: tauri-apps/tauri


text:
npx tauri doesn't work unless @tauri/cli already installed

Describe the problem
I was setting up a CI workflow for https://github.com/ActivityWatch/aw-tauri, and it uses the tauri-action, which ran the command npx tauri build. The workflow was based on the docs, I had only removed the npm install step.
However, that command failed, as it tried to install the deprecated tauri npm package, not @tauri/cli. With errors like ERROR: tauri.conf.json > tauri has unknown property updater +0ms.
If I'd have run npm install first, it'd pick the right tauri binary from the @tauri/cli package.
Describe the solution you'd like
It would be nice if the old tauri package could somehow be updated to allow for running npx tauri without having first installed @tauri/cli.
Alternatives considered
I suppose updating the old tauri package with a major-semver version bump release that simply depends on @tauri/cli could work, but I'm not sure whether it is the right call.
Additional context
I commented in the following issue about it earlier today, and it was suggested I create a proper issue here: https://github.com/tauri-apps/tauri-action/issues/113#issuecomment-1505211808
And finally, because I have the opportunity: thanks to everyone who's working on Tauri! It looks truly amazing and I'm hyped and likely to adopt it.

The docs I followed were: https://tauri.app/v1/guides/building/cross-platform/
And it turns out it uses the tauri-action which in turn uses npx (I updated the issue to correct that).
I can understand if npm install is necessary before, but the comment in the above docs seemed to suggest it was optional:
- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.

Nvm, I'm dumb. Idk why I read that as "this is optional, tauri action will fix".
So I guess the fault is still mostly with me. Sad to give up on npx tauri not resolving to the correct package if not installed, but I can understand.