profile
viewpoint

nicoder/awesome-opensource-documents 4

:blue_book: A curated list of awesome open source or open source licensed documents, guides, books.

nicoder/ADOdb 0

ADOdb is a PHP database class library that provides powerful abstractions for performing queries and managing databases. ADOdb also hides the differences between DB engines so you can easily switch them without changing your code.

nicoder/ag.vim 0

Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'

nicoder/beats 0

Beats - Lightweight shippers for Elasticsearch & Logstash

nicoder/blag 0

my blag

nicoder/blog-1 0

Articles/thoughts about web development

nicoder/blog_robinwieruch_content 0

content of robinwieruch.de - open for contribution

nicoder/bootstrap-notify 0

Bootstrap alert system made better, builds off of bootstrap-alert.js

Pull request review commentsamaaron/sonic-pi

Add troubleshooting section with boot error.

 On multiple distributions, there are Sonic Pi releases that you can install from       This sets the CMAKE_BUILD_TYPE option when generating the build system files.        It must be followed by one of the following configurations: `Release, Debug, RelWithDebInfo, or MinSizeRel`++## Troubleshooting +### Booting error+* Is Jack server is running?

s/Is Jack server is running?/Is Jack server running?

tomyo

comment created time in 4 days

PR opened arkency/posts

fix some typos
+7 -7

0 comment

1 changed file

pr created time in 14 days

push eventnicoder/posts

Nicolas Dermine

commit sha e0ffec297bddef93840434c99086f34a671b3c9a

fix some typos

view details

push time in 14 days

fork nicoder/posts

source for the blog posts published on our blog

https://blog.arkency.com

fork in 14 days

CommitCommentEvent
CommitCommentEvent

push eventnicoder/blog_robinwieruch_content

Nicolas Dermine

commit sha 0b4d707fa1f46b1669813be668d555f1f3b57cdf

fix typo

view details

push time in 2 months

push eventnicoder/record-tuple-polyfill

Nicolas Dermine

commit sha d68255e90c00570e9e8ff48a04f5e99ea9b4be1c

fix typos in readme

view details

push time in 2 months

fork nicoder/record-tuple-polyfill

A polyfill for the ECMAScript Record and Tuple proposal.

fork in 2 months

issue commentsamaaron/sonic-pi

Sonic Pi v3.2.1

the image paths seem wrong in https://github.com/samaaron/sonic-pi/blob/master/etc/doc/lang/sonic-pi-tutorial-de.po

for example:

#: 02.4-Durations-with-Envelopes.md:145
#, fuzzy
msgid ""
"![ASR envelope](../../../etc/doc/images/tutorial/env-attack-sustain-release.pn"
"g)"
msgstr "![ASR envelope](../images/tutorial/env-attack-sustain-release.png)"
yok-urt

comment created time in 2 months

pull request commentadazzle/react-data-grid

[canary.13] Draggable container without drag drop context

hi @jwallet

are you sure you meant to tag me ?

jwallet

comment created time in 2 months

issue openedgreenlion/PHP-SQL-Parser

UnableToCalculatePositionException when JOIN clause contains SQL functions

hi,

With the following code:

$query = 'SELECT start_date FROM users INNER JOIN vacation ON DATE(start_date) <= DATE(end_date)';
$parser = new \PHPSQLParser\PHPSQLParser($query, true);

an exception is thrown:

# Error        PHPSQLParser\exceptions\UnableToCalculatePositionException
# File      External/greenlion/php-sql-parser/src/PHPSQLParser/positions/PositionCalculator.php
# Line 243
# Trace
# File       Function        Line
# External/greenlion/php-sql-parser/src/PHPSQLParser/positions/PositionCalculator.php   lookForBaseExpression   259
# External/greenlion/php-sql-parser/src/PHPSQLParser/positions/PositionCalculator.php   lookForBaseExpression   259
# External/greenlion/php-sql-parser/src/PHPSQLParser/positions/PositionCalculator.php   lookForBaseExpression   125
# External/greenlion/php-sql-parser/src/PHPSQLParser/PHPSQLParser.php   setPositionsWithinSQL   100
# External/greenlion/php-sql-parser/src/PHPSQLParser/PHPSQLParser.php   parse   75

# [2020-04-01 07:02:15] - Exception     cannot calculate position of vacation ON DATE(start_date) <= DATE(end_date) within )

I tried to understand the code in PositionCalculator#lookForBaseExpression, but did not manage to.

The problem seems to be with the $backtracking array.

When the traversal of the $parsed array reaches the ref_clause for the join clause, it adds an offset and two false to the $backtracking array.

But then when finding the expressions in the date functions, the $backtracking array is popped (and nothing is added to it in the preceding sub_tree).

so it seems too many items are popped off the $backtracking array (or not enough are added),

and so when we try to find the base_expr of the second table (vacation), charPos is already at the end of the SQL query and the expression cannot be found and so an exception is thrown.

Hopefully someone will understand how to adapt the $backtracking array handling.

thanks

created time in 2 months

Pull request review commentprettier/plugin-php

fix(docs): remove "not ready for production" label

   </a> </p> -## WORK IN PROGRESS--Please note that this plugin is currently in alpha stage and still under active development. We encourage everyone to try it and give feedback, but we don't recommend it for production use yet.- ## Intro  Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.  This plugin adds support for the PHP language to Prettier. +### Can this be used in production?++We're considering the plugin to be stable when pure PHP files are formatted. Formatting of files that contain mixed PHP and HTML is still considered unstable - please see [open issues with the tag "inline"](https://github.com/prettier/plugin-php/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Ainline) for details.++If you want to use the plugin in production, we recommend limiting it's scope to pure PHP files.

s/it's scope/its scope ?

czosel

comment created time in 2 months

Pull request review commentsamaaron/sonic-pi

Fix typos

 pictures with sound (https://en.wikipedia.org/wiki/Lissajous_curve).  All internal and external events (called cues in Sonic Pi) are automatically logged in the Cue Viewer. For example, if you have a MIDI-controller connected and a press one of its button, youll see a new cue+controller connected and a press one of its buttons, you'll see a new cue

s/and a press/and press ?

emlyn

comment created time in 3 months

more