Tetris game powered by Ruby2D
Ruby gem to measure images similarity
Nakilon/mll 12
Mathematica Language Library in Ruby
Sync Google Cloud Storage buckets with git repo directories
Gem that converts any kind of image hyperlink to a direct link to a high res version, image type and its resolution.
PCBR (Pairs Comparison Based Rating) Ruby gem
Nakilon/adventofcode-befunge 0
5567*.+,@
A curated list of awesome warez and piracy links
A curated list of resources dedicated to StarCraft AI.
[WIP] Probably the first Befunge-98 interpreter in Ruby.
push eventNakilon/adventofcode-befunge
commit sha 4b6bf2012e59da5bb0ff956c6b6d2bfeef653018
2019 2 2
push time in 3 hours
push eventNakilon/befunge98
commit sha 747c729bedc432618d598f674151a141094ab1b9
negative `j` fixed, tests added; minor optimization
push time in 3 hours
push eventNakilon/adventofcode-befunge
commit sha e1fd819a066cee7421d86641bac5491308884218
2019 2 1
commit sha ca6c6a0775da871ddb540274446a0c1cf8251528
2019 2 2
commit sha 60abb06a1aa8dd2f985a7735a3f4388b328e66c0
2019 2 2
commit sha 90bfe6d208616d68dbbb2b2a84e844bbf2f77ae5
2019 2 2
commit sha 87ec45f61d17eb0e3d362a2745c551cd26fb2d0a
2019 2 2
push time in 4 hours
push eventNakilon/adventofcode-befunge
commit sha 31d0267cd432227e40523d56d49eb632dcf17999
2019 2 2
push time in 17 hours
push eventNakilon/befunge98
commit sha 4199ba9888e0b6a074690387f8699f2d3060d187
empty lines caused error
push time in 20 hours
push eventNakilon/befunge98
commit sha a2c23022a71bf30f169f7bb83b4123fd63644947
test for `w`
push time in 21 hours
push eventNakilon/adventofcode-befunge
commit sha 67f1abf6d739dbae891bc7de09ffb9a13b48587a
2019 2 1
push time in a day
push eventNakilon/befunge98
commit sha 4052fd4c99a1d03e3bfaf3c126fd1e15a01c10c9
3 bugs fixed, 3 tests implemented
push time in a day
push eventNakilon/adventofcode-befunge
commit sha 470afc931eeea1b36cdcb07b8fadf9d104cda194
2019 1 2
push time in a day
push eventNakilon/adventofcode-befunge
commit sha 151e88811b2b1b0ffe1b3189dea03229c19e77db
2017 1 1
commit sha 03df02668bf30f039acbd8bd6b566e22402118cc
2019 1 1
push time in a day
push eventNakilon/befunge98
commit sha c64778eff5cc19be79bfc87386fe6a34d01c8a86
ability to read source code from STDIN
push time in a day
created tagNakilon/befunge98
[WIP] Probably the first Befunge-98 interpreter in Ruby.
created time in a day
push eventNakilon/befunge98
commit sha 3aa15b0e232d9329225724a01dae438b92c273f8
mixed tests of ~ and & for 93 and 98
commit sha fb6066c5010597a169b45c147893ef884ca1f430
tests for `p` and `g`
commit sha d459b17da43680586863ff64612148a7bcade473
binary has no extension
push time in a day
startedDeewiant/Mycology
started time in a day
push eventNakilon/befunge98
commit sha 10ea4f3fd2e97d8cc765f5807755adf69de6f43e
implemented `i`, `o`; bugfix in ds
commit sha 5ae122c872a6ea219046fcb9b170aa74363ba13e
refactored everything after two years; code is now byte[][], not string[]
commit sha 662308d4a5990e328630660548b63ecae98d42df
default encoding; Lahey-Space
push time in a day
issue commentcatseye/Funge-98
How does backtrack wrapping work?
If the program is like this
XXXXXXX
X XXXXX
XXXXXXX
XXX+XXX
XXXXXXX
XXXXX+X
XXXXXXX
and we are at (5, 5) with delta (-2, -2) then we'll loop within two cells (5, 5) and (3, 3), right?
comment created time in 2 days
issue commentcatseye/Funge-98
Answering my own question:
And if the delta was (1, 1) it would wrap to (19, -1), right?
I guess not, it will just loop forever because there is nothing to the North-West from it.
More questions:
ASCII Instruction Before After Other Effects
----- ----------- ------ ----- -------------
, Output Character c writechar(c)
How does it work if cell is bigger than one byte?
The
k"Iterate" instruction pops a value n off the stack. Then it finds the next instruction in Funge-space in the path of the IP (note that this cannot be a marker such as space or;)
What are other markers? "? Anything else? What does mean "cannot"? My interpreter should raise an exception? Or should it add delta until it finds not-a-marker (this is how it's implemented in my draft right now but I don't remember where I took it from and will probably remove it)?
comment created time in 2 days
startedmicrosoft/playwright
started time in 2 days
startedsirredbeard/Awesome-WSL
started time in 3 days
issue commentNakilon/dhash-vips
idhash.c:1:10: fatal error: 'bignum.c' file not found when using v 0.1.1.1 and 0.1.1.2
@MFRWDesign @ynelin please, check if 0.1.1.3 works for you.
comment created time in 3 days
push eventNakilon/dhash-vips
commit sha 73ea4816e01a4f288a28248d0e872465486a7662
resolves #5
push time in 3 days
issue closedNakilon/dhash-vips
idhash.c:1:10: fatal error: 'bignum.c' file not found when using v 0.1.1.1 and 0.1.1.2
Came across this bug today while trying to bundle install our project. Posting this issue in case it's of some help to someone else. I tried to track it down but couldn't find anything that helped (including brew reinstall vips, brew upgrade && brew update.
Eventually I fixed the bundling error for dhash-vips by rolling the version specified in the Gemfile back to '0.1.1'.
I'm running: OS X 10.15.5 Homebrew 2.5.1 Ruby 2.7.1 (via rbenv v1.1.2)
(I suspect the problem to have arisen from the changes to extconf.rb in this commit: http://github.com/Nakilon/dhash-vips/commit/56fba57aac82552f26086474cd57b63a4a99dc36%20 but I can't be sure as I wasn't able to verify any fix.)
closed time in 3 days
MFRWDesignissue commentNakilon/dhash-vips
idhash.c:1:10: fatal error: 'bignum.c' file not found when using v 0.1.1.1 and 0.1.1.2
Thank you guys for the bug report! Probably I should make some Github Action to test the installation process.
bignum.c is a part of Ruby source code that is needed for compilation if you want the fingerprint comparison to be 15 times faster. Essentially the 'bignum.c' file not found means that you didn't use flag -k in rbenv install. Did you?
It should be handled and just skip the compilation of the native extension though. Maybe in last releases I broke it and forgot to check.
comment created time in 4 days
startedkautukkundan/Awesome-Profile-README-templates
started time in 6 days
PR opened rubycdp/ferrum
The test does not pass in headless, I don't know why.
pr created time in 9 days
issue openedrubycdp/ferrum
Way to move the browser window?
When running Capybara on macOS with external display attached I made it move the browser window to external display automatically because initially it opens it on the same display with Terminal. The last line was like this:
browser.manage.window.position = Selenium::WebDriver::Point.new x, y
How do I move Ferrum's Chrome window?
created time in 9 days
push eventNakilon/pagerecognizer
commit sha 8ff5142d2596456c2a104f9055d88adaeafb25c3
Github Action env var 'CI' was present in Ubuntu but not in Alpine
push time in 10 days
push eventNakilon/pagerecognizer
commit sha bfc682382db622e07c20d292c0fb14689ccba98f
Github Action runs tests
push time in 10 days
push eventNakilon/pagerecognizer
commit sha 6b663c5f0d1175d85d9e3229090e8304708bd347
added google.htm to github-linguist ignore
push time in 10 days
push eventNakilon/pagerecognizer
commit sha 389c67e19b5b5900dc023be5be8131cf42a1af9a
the very first test implemented, based on google.com example
push time in 10 days
startedliamoc/holbert
started time in 10 days
startedevolve75/RubyTree
started time in 11 days
push eventNakilon/pagerecognizer
commit sha c3277210031d9ec448e181423f1cef19209f9b31
dealing with GCS and Github image caching
push time in 11 days
push eventNakilon/pagerecognizer
commit sha 891ca53ee163b65b953d4041f1e4b24ea59e4f8c
added Logger; sorting by area improved speed
commit sha 565a7d46fcd0c56b7dc3482906bc7b0d7b5be7b8
expanded README with google example
push time in 11 days
push eventNakilon/pagerecognizer
commit sha 1e91a740b6f82d7a83a58ba0be823a0adc3480c0
#load, #rows, #cols
push time in 12 days
push eventNakilon/pagerecognizer
commit sha dc86be3a8a29317daf71e9c642f7d14c1ff78b64
example screenshots
push time in 12 days
push eventNakilon/pagerecognizer
commit sha d42b7b98b45a81350f4049938aac1b94891653b5
#recognize and #visualize
push time in 12 days
issue openedrubycdp/ferrum
Proper way to ensure that the page is loaded and ready to work with?
require "ferrum"
br = Ferrum::Browser.new headless: false
br.goto "https://google.com/"
br.at_css("input[type=text]").focus.type "Ruby", :enter
sleep 2
br.at_css("body")
If I decrease sleep to 1 or remove the line at all it throws:
ferrum-0.9/lib/ferrum/browser/client.rb:46:in `command': Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help. (Ferrum::TimeoutError)
created time in 12 days
issue commentrvm/rvm1-capistrano3
Not checking out gems installed from git
Got the same problem after I specified the branch -- without ref it worked without an issue.
comment created time in 12 days
issue commentrubycdp/ferrum
browser.css(...) #=> undefined method `compact' for "(cyclic structure)":String
Maybe the issue will be gone if somehow avoid returning the injectedScriptId but I don't understand where it even comes from into the object I return.
comment created time in 13 days
issue commentrubycdp/ferrum
browser.css(...) #=> undefined method `compact' for "(cyclic structure)":String
I'm porting my thingy from Selenium::Webdriver to Ferrum. It returns lots of nodes from JS but since it returns them in a single object it all becomes CyclicObject that is impossible to inspect. I edit the cycled? JS, using JSON.stringify and currently I suppose it stucks on some injectedScript that is by Ferrum and is recursive. Very hard to tell.
I'm debugging it for two days already. I wish there was CyclicReference instead of CyclicObject, similar to how Ruby's inspection works. Looks like the problem is that JS traversing and Ruby traversing are different processes. JS is capable to detect cycle but this information is needed in Ruby. Also the reduce_props looks overcomplicated.
comment created time in 13 days
startedtailwindlabs/heroicons
started time in 13 days
startedAlexWayfer/flame
started time in 13 days
pull request commentrubycdp/ferrum
The cookies test fails in master.
comment created time in 13 days
PR opened rubycdp/ferrum
seen should not accumulate while going through object tree branches.
pr created time in 13 days
push eventNakilon/ferrum
commit sha 3d5f991a92b10d7537da0401a7a49c4d233703ba
resolves #112
push time in 13 days
issue openedrubycdp/ferrum
Why does it return Ferrum::CyclicObject?
br = Ferrum::Browser.new
br.goto "https://google.com"
br.evaluate "( function(node){ return {a: 1, b: 2} } )(arguments[0])", br.at_css("div")
#=> {"a"=>1, "b"=>2}
br.evaluate "( function(node){ return {a: node, b: node} } )(arguments[0])", br.at_css("div")
#=> #<Ferrum::CyclicObject JavaScript object that cannot be represented in Ruby>
br.evaluate "( function(node){ return [node, node] } )(arguments[0])", br.at_css("div")
#=> [#<Ferrum::Node @target_id="E9B599ACCDC0B7F5DC344C424296C6C0" @node_id=10 @description={"nodeId"=>0, "backendNodeId"=>59, "nodeType"=>1, "nodeName"=>"DIV", "localName"=>"div", "nodeValue"=>"", "childNodeCount"=>2, "attributes"=>[]}>, #<Ferrum::Node @target_id="E9B599ACCDC0B7F5DC344C424296C6C0" @node_id=10 @description={"nodeId"=>0, "backendNodeId"=>59, "nodeType"=>1, "nodeName"=>"DIV", "localName"=>"div", "nodeValue"=>"", "childNodeCount"=>2, "attributes"=>[]}>]
created time in 13 days
created repositoryNakilon/pagerecognizer
[WIP] website page structure recognizer
created time in 14 days
startedrubycdp/ferrum
started time in 14 days
starteddhamaniasad/HeadlessBrowsers
started time in 14 days
startedyoupy/ruby-lastfm
started time in 14 days
starteduu59/ansi-to-html
started time in 14 days
startedjinzhu/inflection
started time in 17 days
startedvaiorabbit/ruby-opengl
started time in 17 days
push eventNakilon/reddit_bot
commit sha 9f12a6cf8a35e4defcb327a1788fda110445cd57
stupid Reddit API
push time in 17 days
push eventNakilon/directlink
commit sha 309ccd09806d64a01c0067e1f80c2c56b976e20f
removed Reddit gallery throws DirectLink::ErrorNotFound
push time in 17 days
push eventNakilon/reddit_bot
commit sha 88cee45ea0e8ab406aefbdf5f749c61b6e874e4d
seems like ~> does not work for higher parts of semver
push time in 17 days
push eventNakilon/reddit_bot
commit sha 097278500b051d7e5c0cd7c3e58a367082bfee18
I guess this ratelimit header is handled since May 2018 https://github.com/Nakilon/nethttputils/commit/37ca2be4795979696f3599f0347ea0b56074674e
commit sha 6be5be5333d0ab09678c36d3e3c258f663a6a62e
fixed parsing the tweet id of a retweet
push time in 17 days
push eventNakilon/reddit_bot
commit sha bda9f7d8f11608467bf48855be2561c5fc5d5f19
stopping the bot by a PM
push time in 17 days
startedakihikodaki/cld3-ruby
started time in 21 days
push eventNakilon/www-nakilon-pro
commit sha 67d655e3e58544c9994ddb08a3a675b062ef9045
real map of X-10
push time in 25 days
push eventNakilon/stalker-maps
commit sha b119940c0b2e74f00e08bf5168177092bd1ff7f6
split in two levels by -12 histogram dip
commit sha a1763821b30d5e857265c8f9fca47461c7deeed5
made the first ever orthogonal map of X-10
push time in 25 days
push eventNakilon/stalker-maps
commit sha ee587d1067024da7aca478ac5b5b1cf1c79a0274
made the .obj joiner
push time in 25 days
push eventNakilon/stalker-maps
commit sha d1376eb9500073dfed4359d227711a033e29d05b
draft of .obj joiner
push time in 25 days
startedwillianjusten/awesome-svg
started time in a month
pull request commentlibvips/ruby-vips
Do not use `env` for script shebangs
macOS have introduced the "sip protection" that made impossible to edit built-in Ruby code and install gems so people switched to rbenv.
Alpine compiles my gem in such way that when I require .so file it throws symbol not found: ... exceptions since Ruby 2.4. I'm yet to figure out how to fix.
comment created time in a month
pull request commentlibvips/ruby-vips
Do not use `env` for script shebangs
I really wonder what's "broken and horrible" about Ruby on Alpine ) In fact I'm having a difficulty to compile my native extension on it and would love to know other pitfails.
comment created time in a month
push eventNakilon/reddit_bot
commit sha b2935530e7e394b28071ba0e26a5617a86d83fbd
using DirectLink::NORMAL_EXCEPTIONS
push time in a month
push eventNakilon/reddit_bot
commit sha c2b8653e391367652d90b2b28a15492768527873
weakening nethttputils version dependance
push time in a month
push eventNakilon/directlink
commit sha 606f4a395a341f43ec422ebaf51ba2a01d0fc993
handling the NetHTTPUtils::EOFError_from_rbuf_fill
push time in a month
push eventNakilon/nethttputils
commit sha e6322cc0a11974787006b59927f1b65235349ade
handling the old Ruby empty backtrace EOFError exception from net/protocol.rb
push time in a month
startedreturntocorp/semgrep
started time in a month
starteddblock/ruby-enum
started time in a month
starteddanluu/post-mortems
started time in a month
push eventNakilon/directlink
commit sha b132aa52130388d6b01219bcd7a9c371f82ce7af
polishing vk regex
push time in a month
push eventNakilon/www-nakilon-pro
commit sha cdc9a72501bf8a0e3130573501d8e05f7e4616e2
copied http://kopateli.net/blog/search/5.html from webarchive
commit sha 0f8ceace2c2363175fff5562ada508a056590d17
original htm obtained with https://superuser.com/a/828908/47962
commit sha f4b53282082746a0186ae99ceb04c06a0a281630
fixed links to point to files folder from webarchive
commit sha f0a79cddc51b3c04bc1910240661caf6f2970d94
removed scripts, favicon, some hrefs, onclicks
commit sha e60adb4614eacdfdacffda222b9992a99898e519
UnCSS
commit sha 58f077a48eba0ed99d7e1fd72ca8b0ab43945931
base64d all images; removed invisible form login; removed update-comments thingy
commit sha caf67c9bdb1d892530e5f5a1b023add30240b74d
renamed files
commit sha d893fae62235241bb2e64db006fcf76a91a2bd64
removed some hrefs
push time in a month
startedthelounge/thelounge
started time in a month
startedmrubyc/mrubyc
started time in a month
startedmrubyc/mrubyc
started time in a month
startedasciidoctor/asciidoctor
started time in a month
starteduncss/uncss
started time in a month
startedavinashbot/redd
started time in a month
startedfakefs/fakefs
started time in a month
push eventNakilon/reddit_bot
commit sha 53eb32e6e9149363703fbe626662f7aaa736840a
skipping everything lighter than 2MB
push time in a month
startedlagmoellertim/unsilence
started time in a month
startedsickcodes/Docker-OSX
started time in a month
startedboriel/zxbasic
started time in a month
startedvcmi/vcmi
started time in a month
startedenspirit/bmg
started time in a month