←2021-06-09 2021-06-10 2021-06-11→ ↑2021 ↑all
00:02:29 <arseniiv> nice
00:07:41 -!- arseniiv has quit (Ping timeout: 252 seconds).
01:38:46 <esolangs> [[Special:Log/newusers]] create * Paper * New user account
03:15:01 -!- rbtEngrDude has joined.
03:29:35 -!- Lord_of_Life_ has joined.
03:30:22 -!- Lord_of_Life has quit (Ping timeout: 265 seconds).
03:30:49 -!- Lord_of_Life_ has changed nick to Lord_of_Life.
04:02:45 -!- rbtEngrDude has quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…).
04:19:05 -!- rbtEngrDude has joined.
04:20:33 <esolangs> [[Shuffle]] M https://esolangs.org/w/index.php?diff=84303&oldid=84259 * Enoua5 * (+2954)
04:30:59 <esolangs> [[Shuffle]] M https://esolangs.org/w/index.php?diff=84304&oldid=84303 * Enoua5 * (+641)
04:47:10 -!- jryans has quit (Remote host closed the connection).
04:48:20 -!- jryans has joined.
05:03:42 -!- Taneb has quit (Quit: I seem to have stopped.).
05:04:26 -!- Taneb has joined.
05:06:15 -!- dionys has quit (Ping timeout: 252 seconds).
05:09:32 -!- dionys has joined.
05:36:53 -!- Sgeo has quit (Read error: Connection reset by peer).
05:54:26 -!- rbtEngrDude has quit (Quit: Textual IRC Client: www.textualapp.com).
06:10:21 -!- imode has quit (Ping timeout: 265 seconds).
06:28:34 -!- tromp has joined.
07:10:21 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
07:14:41 -!- tromp has joined.
07:18:44 <esolangs> [[Truth-machine]] https://esolangs.org/w/index.php?diff=84305&oldid=83982 * Oshaboy * (+556) I made a mistake in JSFuck
07:32:14 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
07:57:33 -!- mistbreeze_ has joined.
08:01:51 -!- mistbreeze has quit (Ping timeout: 268 seconds).
08:02:04 -!- tromp has joined.
08:07:27 -!- hendursa1 has joined.
08:10:19 -!- hendursaga has quit (Ping timeout: 252 seconds).
08:11:18 -!- Guest5596 has joined.
08:12:11 -!- Guest5596 has quit (Client Quit).
08:18:31 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
08:21:15 -!- tromp has joined.
08:34:02 -!- arseniiv has joined.
08:53:06 -!- Thelie has joined.
09:23:18 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
09:25:37 -!- salpynx has quit (Quit: Connection closed).
09:48:13 -!- velik has quit (Remote host closed the connection).
09:48:48 -!- velik has joined.
09:50:27 <nakilon> \help morse
09:50:27 <velik> \morse <EN or RU text>
09:53:28 -!- velik has quit (Remote host closed the connection).
09:53:47 -!- velik has joined.
09:53:52 <nakilon> \morse hello world
09:53:53 <velik> .... . .-.. .-.. --- / .-- --- .-. .-.. -..
09:54:07 <nakilon> \help demorse
09:54:07 <velik> \demorse <EN morse code>; \demorse ru <RU morse code>
09:54:16 <nakilon> \demorse .... . .-.. .-.. --- / .-- --- .-. .-.. -..
09:54:18 <velik> HELLO WORLD
09:54:27 <nakilon> \demorse ru .... . .-.. .-.. --- / .-- --- .-. .-.. -..
09:54:28 <velik> ХЕЛЛО ВОРЛД
09:54:42 <nakilon> \demorse -- ..- .-. ... ..- / --- -. / ... ..- ..- .-. .. -.- --- -.- --- .. -. . -. / ...- . ... .. . .-.. .-.- -- .-.- .-.- -. / ... --- .--. . ..- - ..- -. ..- - / .- .-. -.- - .. -. . -. / -. .. ... .-.- -.- .-.- ... .-.. .- .--- ..
09:54:44 <velik> MURSU ON SUURIKOKOINEN VESIELMN SOPEUTUNUT ARKTINEN NISKSLAJI
09:54:53 <nakilon> \demorse ru -- ..- .-. ... ..- / --- -. / ... ..- ..- .-. .. -.- --- -.- --- .. -. . -. / ...- . ... .. . .-.. .-.- -- .-.- .-.- -. / ... --- .--. . ..- - ..- -. ..- - / .- .-. -.- - .. -. . -. / -. .. ... .-.- -.- .-.- ... .-.. .- .--- ..
09:54:54 <velik> МУРСУ ОН СУУРИКОКОИНЕН ЖЕСИЕЛЯМЯЯН СОПЕУТУНУТ АРКТИНЕН НИСЯКЯСЛАЙИ
09:54:59 -!- tech_exorcist has joined.
09:56:09 <nakilon> not sure what is .-.-
09:56:22 <nakilon> is it some finnish letter modifier?
10:04:42 <esolangs> [[Velik]] https://esolangs.org/w/index.php?diff=84306&oldid=83996 * Nakilon * (+295) added \morse and \demorse examples
10:06:18 <fizzie> It's an Ä.
10:07:05 <fizzie> (Which some online decoder converted into an Æ when I looked that up, so I presume it's that in some other dialect of morse code.)
10:09:54 <nakilon> can't find it here https://www.itu.int/rec/R-REC-M.1677-1-200910-I
10:10:59 <fizzie> https://en.wikipedia.org/wiki/Morse_code#Letters,_numbers,_punctuation,_prosigns_for_Morse_code_and_non-Latin_variants has it listed under the vague "non-Latin extensions" category, as "shared by Ä, Æ, Ą".
10:12:37 <nakilon> I see
10:14:30 <fizzie> Making it Я in the Cyrillic flavor is moderately consistent, though. The Finnish ä is nominally /æ/, which I take it я could in some situations sound like.
10:14:45 <nakilon> that only gem that can Cyrillic -- I forked it to fix the broken dependency, but it appeared to emit only ASCII (for Russian you explicitly pass `:ru` and it emits UTF-8 with Я for .-.-)
10:15:45 <nakilon> another gem, that probably can those extensions, can't Cyrillic ..\
10:17:18 <nakilon> heh, and you know why?
10:17:25 <nakilon> because first gem author is Russian
10:17:32 <nakilon> the second gem author is Japanese
10:19:43 <fizzie> I probably shouldn't have said "nominally", the Finnish ä *is* /æ/, we have a pretty strict 1:1 mapping of graphemes and phonemes, with just a few tiny little special cases around things like /ŋ/ (an "n" before a "k" is a short /ŋ/ instead of the usual /n/, and "ng" turns into a long /ŋː/).
10:24:10 <nakilon> checked, the Japanese gem supports japanese chars but not this extension: => "MURSU ON SUURIKOKOINEN VESIEL.-.-M.-.-.-.-N SOPEUTUNUT ARKTINEN NIS.-.-K.-.-SLAJI"
11:11:25 -!- monoxane has joined.
11:15:52 <esolangs> [[S l o w]] N https://esolangs.org/w/index.php?oldid=84307 * Magnogen * (+3695) Create Slow
11:31:25 <b_jonas> nakilon: or you could just write your own morse encoder and decoder
11:32:57 <nakilon> I could pull request one of them to include another alphabet
11:33:18 <nakilon> but I'd like to keep these simple https://github.com/Nakilon/nakiircbot/blob/master/example_libera_velik/remote_morse/app.rb
11:38:04 -!- tromp has joined.
12:05:18 <esolangs> [[S l o w]] M https://esolangs.org/w/index.php?diff=84308&oldid=84307 * Oshaboy * (+44) Added link
12:57:42 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
13:13:00 <esolangs> [[Shuffle]] M https://esolangs.org/w/index.php?diff=84309&oldid=84304 * Enoua5 * (-251) Bracket cards not needed for this one
13:17:39 -!- tromp has joined.
13:21:03 -!- Thelie has quit (Remote host closed the connection).
13:29:11 <esolangs> [[S l o w]] M https://esolangs.org/w/index.php?diff=84310&oldid=84308 * PythonshellDebugwindow * (+0) /* External resources */ Fix link
13:35:45 <esolangs> [[Redstone]] M https://esolangs.org/w/index.php?diff=84311&oldid=58708 * PythonshellDebugwindow * (+42) Categorize
13:36:17 <esolangs> [[Redstone]] M https://esolangs.org/w/index.php?diff=84312&oldid=84311 * PythonshellDebugwindow * (+6) Fix
13:44:59 <esolangs> [[Shuffle]] M https://esolangs.org/w/index.php?diff=84313&oldid=84309 * Enoua5 * (+889) /* Hello, world! */
13:48:45 <nakilon> https://proglangdesign.net/
13:51:18 -!- xkapastel has joined.
14:02:24 -!- hendursa1 has quit (Quit: hendursa1).
14:02:45 -!- hendursaga has joined.
14:04:31 <esolangs> [[User:Enoua5]] M https://esolangs.org/w/index.php?diff=84314&oldid=54260 * Enoua5 * (-351) Delete section "Languages I know"; I kinda just.. know *programming* now
14:07:29 -!- Sgeo has joined.
14:11:04 -!- craigo has joined.
14:12:44 -!- imode has joined.
14:28:35 <esolangs> [[Talk:Bitcoin]] https://esolangs.org/w/index.php?diff=84315&oldid=80795 * MathR * (+174) /* Turing-completeness */
14:41:19 <esolangs> [[S l o w]] M https://esolangs.org/w/index.php?diff=84316&oldid=84310 * Magnogen * (+5) I'll
15:11:51 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
15:19:55 <esolangs> [[FolderCode]] https://esolangs.org/w/index.php?diff=84317&oldid=84234 * Dominicentek * (+549)
15:52:38 -!- Noisytoot has quit (Quit: ZNC 1.8.2 - https://znc.in).
15:53:19 -!- Noisytoot has joined.
16:03:18 -!- tromp has joined.
16:19:37 -!- Thelie has joined.
16:30:31 <zzo38> The same morse code for "A" with two dots above also stands for a line break, and a equal sign also stands for a paragraph break, it look like
16:31:33 <myname> Ä
16:51:19 <keegan> I thought those sort of breaks were done with pauses
16:52:30 <keegan> but perhaps i'm wrong
16:53:41 <keegan> looks like the equals sign is the same code as the <BT> prosign which means "break" or "start new section of message"
16:54:51 <keegan> and Ä is the same code as <AA> which means space down one line
16:55:00 <keegan> in the ARRL National Traffic System
16:57:18 <zzo38> Yes
16:58:23 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
16:58:45 <keegan> i don't know very many of the prosigns
17:15:01 <esolangs> [[FolderCode]] M https://esolangs.org/w/index.php?diff=84318&oldid=84317 * PythonshellDebugwindow * (+63) /* Version 1.0 */ See laso
17:15:17 <esolangs> [[Folders]] M https://esolangs.org/w/index.php?diff=84319&oldid=78501 * PythonshellDebugwindow * (+17) /* See also */ Add
17:15:30 <esolangs> [[Dirst]] M https://esolangs.org/w/index.php?diff=84320&oldid=75130 * PythonshellDebugwindow * (+17) /* See also */ Add
17:15:50 <esolangs> [[Unary Filesystem]] M https://esolangs.org/w/index.php?diff=84321&oldid=75128 * PythonshellDebugwindow * (+17) /* See also */ Add
17:16:09 <esolangs> [[FolderCode]] M https://esolangs.org/w/index.php?diff=84322&oldid=84318 * PythonshellDebugwindow * (+24) /* See also */ Cat
17:16:11 -!- tromp has joined.
17:22:39 <nakilon> anyone into image processing?
17:28:06 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
17:34:44 <nakilon> I wish there were jobs for programmers in Russia so I won't forget math after all these years
17:35:25 <nakilon> I'm trying to solve the captcha https://i.imgur.com/MTplwa8.png
17:36:30 <nakilon> I already have the text recognition half of the problem solved previously now I need to solve the deformation problem
17:38:46 <nakilon> so I have these two skeleton lines; how do I find some ^3 approximation for them? exactly to be able to iterate dot by dot along the approximation
17:40:01 <nakilon> but probably I should find some already existing gem...
17:58:23 <esolangs> [[Bitcoin]] M https://esolangs.org/w/index.php?diff=84323&oldid=80787 * PythonshellDebugwindow * (+58) /* Examples */ cats
18:09:22 <nakilon> probably this https://rosettacode.org/wiki/Polynomial_regression#Ruby but I have no idea what do the 1.0 2.0 3.0 mean here
18:11:40 <nakilon> nvm, I see, 3x^2+2x+1
18:13:52 -!- arseniiv has quit (Ping timeout: 244 seconds).
18:19:16 -!- andydude has joined.
18:26:47 -!- Thelie has quit (Remote host closed the connection).
18:27:43 <riv> nakilon, i wouldnt use a cubic curve
18:28:12 <riv> in image 3, is only 1 pixel for every y coordinate filled
18:29:02 <riv> you could create a piecewise linear "curve" by just doing (x1,y1),(x2,y1),.. for x moving from left to right
18:29:23 <riv> and then you can smooth this and calculate normals
18:34:18 -!- andydude has quit (Quit: andydude).
18:41:48 <zzo38> Is there a extension for Firefox to display formatted JSON? (It already can display formatted XML, but I want that for JSON too; it happens often enough that I try to access some URL and the response is in JSON format.)
18:43:51 -!- tromp has joined.
18:44:39 <zzo38> (The "view source" could still be used if you want to display the raw JSON data, anyways)
18:51:56 -!- arseniiv has joined.
18:53:19 <^[> I think it's already built in.
18:53:47 -!- mnrmnaugh has changed nick to awk.
18:54:35 <^[> There's a "JSON" tab with an interactive tree, and a "Raw Data" tab.
18:57:23 <zzo38> Maybe it is a newer version than I have, then
18:58:38 <riv> there is one for chromium
19:00:35 <^[> "The JSON viewer is new in Firefox 44." https://developer.mozilla.org/en-US/docs/Tools/JSON_viewer
19:12:44 <esolangs> [[Special:Log/newusers]] create * Toxinite * New user account
19:21:01 <esolangs> [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=84324&oldid=84296 * Toxinite * (+231)
19:22:07 -!- oerjan has joined.
19:34:09 <esolangs> [[Truth-machine]] https://esolangs.org/w/index.php?diff=84325&oldid=84305 * Oshaboy * (-188) Reduced the JSFuck Truth machine by about 200 chars
19:47:37 -!- tromp has quit (Quit: Textual IRC Client: www.textualapp.com).
19:55:30 -!- awk has changed nick to mnrmnaugh.
20:02:43 -!- tromp has joined.
20:03:18 -!- tromp has quit (Client Quit).
20:07:41 <b_jonas> nakilon: I have some qualifications for image processing
20:09:25 <b_jonas> "<nakilon> I wish there were jobs for programmers in Russia" => sounds like a strong enough reason to consider migrating if there aren't
20:11:25 <b_jonas> nakilon: "to be able to iterate dot by dot along the approximation" => try sorting the pixels left to right, then again top the bottom, then again top left to bottom right, then again bottom left to top right, see which of the four results in less total distance
20:12:01 <b_jonas> do you have a larger sample of these captchas? it's hard to go from just one
20:12:35 <b_jonas> zzo38: firefox already displays formatted JSON in the current version
20:15:53 <esolangs> [[OLNMLN]] M https://esolangs.org/w/index.php?diff=84326&oldid=84240 * Grs * (+43) /* How it works */
20:18:53 <esolangs> [[Talk:OLNMLN]] N https://esolangs.org/w/index.php?oldid=84327 * Grs * (+81) Created page with "~~~: If you have any programs post it here:"
20:19:06 <esolangs> [[Talk:OLNMLN]] https://esolangs.org/w/index.php?diff=84328&oldid=84327 * Grs * (-81) Blanked the page
20:22:39 -!- tromp has joined.
20:26:36 <esolangs> [[OLNMLN]] M https://esolangs.org/w/index.php?diff=84329&oldid=84326 * Grs * (+1) /* Hello World! */
20:33:18 -!- Deewiant has quit (Ping timeout: 264 seconds).
20:33:38 -!- Deewiant has joined.
20:45:54 <nakilon> I want to iterate over every original pixel and find the closest one on the approximation curve to then find its coordinates in the corrected space
20:46:01 <nakilon> but idk how to find the closest one
20:47:20 -!- salpynx has joined.
20:49:33 <nakilon> as an approximation I can find the closest one among those on the skeleton though
20:53:14 <esolangs> [[Qoibl]] N https://esolangs.org/w/index.php?oldid=84330 * Toxinite * (+781) Created page with "'''Qwerty oriented impractical bicharacter language''' (qoibl) is an esoteric programming language created on the 10th of June 2021 by [[User:Toxinite]]. {| class="wikitable"..."
20:54:11 <b_jonas> nakilon: what kind of approximation curve do you have?
20:54:40 <nakilon> ^3 or ^4 polynom
20:55:06 <b_jonas> is it a spline? or y is a polynomial of x?
20:55:29 <nakilon> polynomial; idk other way to make an approximation
20:56:19 <b_jonas> then why don't you just use the point with the matching y coordinate? isn't that also how you optimized the approximating curve?
20:57:38 <nakilon> that's not the closest one
20:57:47 <nakilon> I need to restore space shape
20:58:24 <nakilon> find the corresponding normal
21:05:28 <esolangs> [[Qoibl]] https://esolangs.org/w/index.php?diff=84331&oldid=84330 * Toxinite * (+92)
21:08:44 <nakilon> that rosetta code gave these coefficients [-69.02347358088862, 5.116073840910607, -0.09317624841538175, 0.0008300975974690756, -2.7594210609514763e-06]
21:09:02 <nakilon> for left word; counting left top corner as (0,0)
21:10:30 <nakilon> hm, searching for the closest among that skeleton won't work because the skeleton ends aren't going far enough
21:12:16 <nakilon> someone in internet says "One way to approximate the solution is to discretize the curve into a polyline", heh, like riv said
21:15:56 -!- arseniiv has quit (Ping timeout: 272 seconds).
21:19:39 <nakilon> even iterative newton method won't work because of the space distortion
21:20:24 <nakilon> I guess I'll just calculate a thousand of polynom dots along the image and then search among all of them
21:22:06 <nakilon> but then I'll have to multiply the X distance between them by derivative... things are more complex than I imagined _-- will have a long fight with bugs
21:22:46 -!- Thelie has joined.
21:24:19 <esolangs> [[Special:Log/newusers]] create * Stellartux * New user account
21:35:03 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
21:42:01 <b_jonas> but why do you need the closest?
21:43:35 -!- op_4 has quit (Quit: ZNC 1.7.2+deb3 - https://znc.in).
21:43:54 -!- op_4 has joined.
21:54:53 -!- Soni has changed nick to DeathProgarmming.
21:55:12 -!- DeathProgarmming has changed nick to Soni.
21:56:20 <nakilon> https://i.imgur.com/PCodCHm.png
21:57:14 <nakilon> I take green point and find the corresponding blue normal to the red axis that is distorted in original image but is straight in the corrected space
21:57:42 <nakilon> I mean I don't find the normal but where it intersects the red curve
21:57:53 <nakilon> to find the resulting X
21:59:17 <nakilon> current problem is to somehow convert the original X to resulting X'
21:59:46 <nakilon> because I have to continuously multiply by derivative so it's like integral _<>
22:01:38 <nakilon> so I have a starting point of my curve segment with 1000 points on it
22:01:52 <nakilon> and I need to calculate its length
22:07:13 <nakilon> if local length is abs(derivative) then the total length is antiderivative(abs(derivative))...
22:08:55 <nakilon> looks like this https://en.wikipedia.org/wiki/Curve#Length_of_a_curve
22:10:31 <nakilon> I've no idea how to calculate it
22:29:27 -!- dutch has quit (Quit: WeeChat 3.1).
22:32:33 -!- dutch has joined.
22:56:48 -!- Soni has changed nick to base128isawesome.
22:57:51 <nakilon> > points.map{ |v,x,y| x }.minmax
22:57:51 <nakilon> => [0, 3019]
22:57:52 <lambdabot> <hint>:1:13: error: parse error on input ‘|’
22:57:56 <nakilon> > points.map{ |v,x,y| y }.minmax
22:57:56 <nakilon> => [-87, 84]
22:57:58 <lambdabot> <hint>:1:13: error: parse error on input ‘|’
22:58:04 <nakilon> sry lambdabot
22:58:41 <nakilon> this image seems to be of 3000:150 aspect ratio
22:59:10 <nakilon> that sounds close to the aspect ratio of the first word when the space is corrected
22:59:33 <nakilon> now I need somehow to convert the array of dots to an image filling the gaps
22:59:40 -!- base128isawesome has changed nick to Soni.
23:26:58 <nakilon> https://i.imgur.com/0iK27nR.png
23:27:03 <nakilon> not what I expected lol
23:27:38 -!- tech_exorcist has quit (Quit: tech_exorcist).
23:33:30 -!- Thelie has quit (Remote host closed the connection).
23:34:12 <nakilon> the shape looks correct though https://i.imgur.com/MZx8oB6.png
23:36:11 <nakilon> not sure what's wrong with last 9 columns, why they don't finish the rectangle
23:45:45 <esolangs> [[Qoibl]] M https://esolangs.org/w/index.php?diff=84332&oldid=84331 * PythonshellDebugwindow * (+58) Cats/templates
23:46:02 <esolangs> [[Qoibl]] M https://esolangs.org/w/index.php?diff=84333&oldid=84332 * PythonshellDebugwindow * (+1) Fix
←2021-06-09 2021-06-10 2021-06-11→ ↑2021 ↑all