HNHacker News
TopNewBestAskShowJobs

zerratar

96 karma · joined January 29, 2015

submissionscomments
zerratar··on Show HN: Voice driven murder mystery, Interview AI suspects with your voice
same here. js error though is 0oxvw2ytjke1_.js:1 POST https://api.openai.com/v1/realtime/calls 429 (Too Many Requests). and auth bearer token in clear js request here towards openai. someone could have just used the token for their own good. cant go directly to openai's apis from the website. huge security risk.
zerratar··on Show HN: Datamorph – A clean JSON ⇄ CSV converter with auto-detect
{ "data": { "field1": "hello", "test": [ "what", "is", "this" ] }, "something": "yay" }

becomes

data,something [object Object],yay

I already knew complex types / nested objects would not work. but what makes json stronger than csv is that you can handle more complex data types and most people will use json that way too. Otherwise json would just be a less bloated xml, which is a less bloated csv. lol

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
Its luckily a .net core 2.0 application so it is possible to run on mac and linux. :-) not completely hasslefree though. As you would need to install the required runtime for it.

Is python "natively" supported on those platforms or do you have to install some prerequisites for it to work? If so, it's just as "hard" to run this as Subliminal.

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
Awesome findings! Thank you.
zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
Interesting, which part of it? The fact it consumes from subscene.com without asking them or because downloading subtitles are illegal?

Reason why I'm asking is because I don't know, and obviously I don't feel like getting in trouble for a weekend hobby project.

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
I'm glad you find this useful!
zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
Unfortunately, not at the moment. It would be awesome If I could get that nailed. But that feels like it's a whole project of its own.

I'm exploring the idea though and doing some research on how this can be done. So it could be a feature for the future. :-)

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
Nice!

I will compile a list later of media players that has this feature and put it on SubSync github so it can help people out as much as possible.

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
I have no idea. I've honestly never heard of subliminal until just recently (yesterday) and I've never really tried it out.

But on first glance it seem like subliminal is more for developers in general as it provide apis to use it, it also have a bunch more providers than what SubSync currently have and most likely a much better way for guessing which subtitle is correct. It also seem to focus more on individual subtitles rather than trying to batch download them unlike SubSync. Although they do have support for downloading for a whole folder. How well that works I have no idea.

In the end, Subliminal have been in development for over 5 years and has been thoroughly tested. Whereas SubSync was a weekend project I made 2 weeks ago and never meant to compete with anything existing. I only knew I had a problem I needed to solve and wanted to share it with everyone :-)

TL;DR: I don't think SubSync offers anything unique over Subliminal at this moment. And if you're already used to using Subliminal you should keep doing so if that works good for you. :-)

zerratar··on Show HN: SubSync – Automatically download subtitles for your movies
That is an awesome tip! Thank you.
zerratar··on Show HN: Recreation of RuneScape Classic login screen in HTML5 canvas
This weekend I had some real nostalgia feeling and wanted to recreate the login screen of the good ol' RuneScape Classic. But it was a bit too much fun so I ended up adding a (not complete) character creation and even some of the ingame menus.

If you're an old RuneScape player you will probably find this pretty cool. If not, then I understand if you don't.

What are your thoughts? Anything missing that should be in it?

And finally... I hope you're not going to copy/paste this to phish for real account credentials. That would be unethical.

zerratar··on Writing a Simple Decompiler for .NET, Part 1
Thank you for your comment! :-)

Haha, yep I do agree that I did not cover all important aspects of writing a decompiler. Neither did I use a stack based solution to tackle the problem.

A reminder though, the idea behind this post was to cover a little bit of everything, just trying to make it as simple as possible. This is not a fully fledged decompiler and will not decompile everything. It is to give an idea on how CIL works, how to use Mono.Cecil, and just hacking away!

Next part of the tutorial DO actually manage the stack to try and create a more complex solution. Together with code refactoring and more.

And I'm sorry for any information that I've might have forgotten and/or for any poorly written code. I will try and do better next time. Yet I hope you still like the article.

/zerratar

zerratar··on Writing a Simple Decompiler for .NET, Part 1
Hi jbevain :-) Nice to see you here! Having a tiny switch to a new blog engine, but next part should come up soon enough. Have a nice day, and once more. You rock!
zerratar··on How I tackled my performance issues developing an Android game in Unity
Hey dubcanada :-) Hehehe. Unity is still a very nice game engine for developing 2d games. However, even if the game I created seemed to be in 2d. It was actually in 3d but with a orthographic camera. Since my intentions later on were to enable the players to switch between a 3d and 2d mode ingame.

Thank you for your reply!