HNHacker News
TopNewBestAskShowJobs

Findus23

574 karma · joined November 1, 2015

My projects: https://lw1.at

This is an OpenPGP proof that connects my OpenPGP key to this Hackernews account. For details check out https://keyoxide.org/guides/openpgp-proofs

[Verifying my OpenPGP key: openpgp4fpr:63DB263BACE368B5C5F79CE494AFBE7C2656A5B5]

submissionscomments
Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
Hi, I have already expected a question about Neural Networks :)

When I had the idea I also toyed around with word-rnn and similar RNN libraries. The results I got were pretty good, but training was extremely resource consuming. Cuda gave a 8x boost, but still training one of the smaller sites took 20 minutes on my simple graphics card while creating the Markov chain is done in 2 minutes.

I also have absolutely no experience with Machine Learning and just the setup was already quite an experience. So I stuck with what I know and stayed "the traditional way".

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
Hm, there ought to be one in the top right corner.

Can you try tapping there even though you don't see it?

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
I have now written a bit more on how to hopefully get this to run locally and how everything works here:

https://github.com/Findus23/se-simulator#se-simulator

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
In a way I did it for Stack Overflow. All Posts are 60GB which is a bit too much to handle the whole chain in my desktop-pc. So I only used questions and answers with a score >=10 there to get it to a similar size as the other sites. It still took half an hour to parse the XML and another hour to create the chain.
Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
Exactly, I tried to keep the themes of the single sites visible. Unfortunatly the colors from the API are quite ugly and don't represent the sites properly, so I did some manual collecting:

https://github.com/Findus23/se-simulator/blob/master/extra_d...

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
I have to fully agree. The language-processing part is really simple (partly due to the really cool markovify library [1])

You may also like my older project [2] even though it is partly in German. I'm using Markov Chains for the titles and some custom regex-based language processing for the descriptions.

[1] https://github.com/jsvine/markovify/

[2] https://nonsense.lw1.at/

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
You are right, that's the problem when trying to get something in the world quickly instead of doing proper documentation.

But I'll write something together today and send you a mail when I'm done.

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
Hi, sorry everyone for the delay in answering, but timezones weren't nice to me.

I really like minimalist pages, but I would be lying if I said the complete oposite (like https://lw1.at) wasn't also fun to program.

The whole text-generation is language-independent [1]. I just split the source up in words (well technically NLTK-tokens) and merge them together after generating the text.

Therefore it even kind of works for Japanese [2] or Arabic. It's just a bit ugly as a lot of questions on non-English sites are in English and the chains end up as a mix.

[1] https://github.com/Findus23/se-simulator/blob/master/markov.... and https://github.com/Findus23/se-simulator/blob/master/text_ge...

[2] https://se-simulator.lw1.at/s/japanese.stackexchange.com

Findus23··on Show HN: Generating fun Stack Exchange questions using Markov chains
Hi everyone, I hope you like my latest side project!

I'm an astronomy student who likes programming in his free time. This time I wanted to write something that handles larger amounts of data. And as I recently came across the Stack Exchange data dump including all questions and answers I had the idea of using them to create Markov Chains for (nearly) every Stack Exchange site. The website displays the resulting content, which is often surprisingly coherent and entertaing, and allows upvotes/downvotes so that the best questions get to the front page. And as a bonus, I created a quiz where one can guess which site a random question is based on.

If you are interested in my other projects, check out https://lw1.at, if you want to see the code, everything is Open Source and can be found here: https://github.com/Findus23/se-simulator

Please excuse the very minimal design, but after writing a lot of Single Page Applications I wanted to go the oposite way and write a website with less than 25KB.

Findus23··on Why it took a long time to build the tiny link preview on Wikipedia
If you want to integrate this into your project: There is a nice API returning the JSON data of the popup

https://stackoverflow.com/a/48527419/4398037

Documentation: https://en.wikipedia.org/api/rest_v1/#!/Page_content/get_pag...

Findus23··on Why it took a long time to build the tiny link preview on Wikipedia
Yes you can, there is a nice API returning the Popup-data in JSON

https://stackoverflow.com/a/48527419/4398037

Documentation: https://en.wikipedia.org/api/rest_v1/#!/Page_content/get_pag...

Findus23··on Telegram connection issues in Europe
It's fascinating how people are immediately creating fake replies to get people to fall for their scam.
Findus23··on Krita 4.0 – A painting app for cartoonists, illustrators, and concept artists
Tipp: When you click on the "HD"-Button you get a really high-res version (2500px wide)
Findus23··on Krita 4.0 – A painting app for cartoonists, illustrators, and concept artists
If you have not already check out David Revoy. He creates beautiful art using only open source tools:

https://www.peppercarrot.com/

Findus23··on Project Gutenberg blocks access from Germany
I agree with you. Following every law is neither practical and in the case of censorship even counterproductive. I just wanted to point out that the reaction of the court isn’t as entirely pointless as it may seem on first thought.
Findus23··on Project Gutenberg blocks access from Germany
I’m really for open access to old books, but for playing devils advocate I can see the courts point: International websites have to respect local laws. After all those are the only ones I can directly influence (by voting, etc.) If we’d start to ignore this (even if it is in my advantage in this case), this means I have no influence any more on how companies are allowed to interact with me (which shouldn’t be the case in a democratic state)

It’s a hard decision as the internet is global and I don’t have a real solution, but I don’t think taking US (or any other) law as „the valid law on the Internet“ is helpful.

Findus23··on Project Gutenberg blocks access from Germany
That’s odd. I always thought it was „life + 70 years“ in the whole EU. (According to https://en.wikipedia.org/wiki/List_of_countries%27_copyright...)

Here in Austria the law regarding copyright is pretty similar to Germany so it’s really interesting why no one has sued before.

Findus23··on LibreOffice 6.0 released
I don't think it's the school job to prepare how to use a specific software, but train skills that one can apply to every software.
Findus23··on Hetzner Cloud
You can find their new API documentation here: https://docs.hetzner.cloud/
Findus23··on Hetzner Cloud
They have written an extensive article about it here: https://wiki.hetzner.de/index.php/Spectre_and_Meltdown/en
Findus23··on Mathematical games interesting to both you and a five-year-old child
I haven't heard of set yet, but I have a wooden board game with a quite similar premise. All pieces are laying around and two players take terms putting them on a 4x4 grid. The first player to finish a row with 4 pieces with the same feature (there are 5 with two variants each) wins. I am normally quite bad at board games, but I am winning this one nearly every time, as others always seem to overlook one feature.
Findus23··on Telegram for Android is no longer open source
There is a popular fork of the telegram android app (used e.g. by f-droid) https://github.com/slp/Telegram-FOSS

Maybe this repo compiles.

Findus23··on Telegram for Android is no longer open source
Update:

This url works: http://lucb1e.com/?p=post&id=129 It would be nice if it could be replaced.

Findus23··on Telegram for Android is no longer open source
While I don't know what this article says (it doesn't load for me), I agree with the title.

The github repository isn't updated any more since Oct 11, 2016. [1]

Serious question: Is it possible to just stop publishing the source of a GPL2 licensed software?

[1] https://github.com/DrKLO/Telegram/commits/master

Findus23··on Show HN: Spamnesty: Waste spammers' time
I am not sure if this is a bad thing: https://xkcd.com/810/
Findus23··on “I have toyota corola”
The Tesla Webbrowser is sending a custom user agent:

Model S (4/8/14, v5.9) = Mozilla/5.0 (X11; Linux) AppleWebKit/534.34 (KHTML, like Gecko) QtCarBrowser Safari/534.34

← PreviousPage 2 of 2