News for hackers. Stuff that matters.

MichaelHoste

Thanks for your feedback!

Yes, we're using ChatGPT 3.5 for now and we will certainly switch to GPT-4o mini in the near future. It already works with ChatGPT 4 but we noticed that the cost increase was not worth the minor improvement of quality.

I tried your example with ChatGPT 4 and it's somewhat better but not perfect: "I've even come to hate my brother and younger brother."

We hope that the quality will improve with the cheapest (and also fastest) models available.

Show HN: Neurooo – DeepL clone using LLMs for translations

https://neurooo.com/

Hi HN,We built Neurooo.com, an automatic translation tool like DeepL or Google Translate, but using LLMs with OpenAI and Mistral.We noticed that LLMs were quite good at translating informal or contextual text, and also way cheaper than DeepL or Google Translate when you factor in the cost per character.So we decided to try and build a similar translation interface to see if we can match the...

( Read More... | 4 comments | 9 points | on HN )
Thank you! I didn't know PIN were also used for the magnetic strips (we never use them in Europe, or at least in Belgium).

The legacy software could explain it. But the difference of processes between my main bank (random temporary PIN obtained with 2-factor authentication: postal letter with code to send back using smartphone) and my credit card company (bank card mailed to my address with current PIN) was weirding me out.

That's something that crossed my mind, a 4-digits PIN is a weak password by definition.

But hashing them with the customer ID, date of birth, or something else, and using bcrypt to slow bruteforce down could already be an improvement.

Ask HN: My bank stores PIN as plain text, should I be worried?

Hello HN,I received my new credit card with a reminder of my current PIN. I'm not sure how that could be possible without having a database of their customer names, addresses and secret PINs as plain text somewhere.Shouldn't it be common sense to salt and hash them like any other stored password?4-digits PINs are also used for other systems like SIM cards or ID cards in Europe, and I guess...

( Read More... | 12 comments | 5 points | on HN )
I loved and finished the game but I had the same issue on two occasions. I felt sick and I had to stop. Now I know it was not the food I had just eaten but the game itself, thank you!
The link seems to redirect to https://news.ubisoft.com/notfound without any visible content.

Here is the press release from Blender: https://www.blender.org/press/ubisoft-joins-blender-developm...

Re:Show HN: Laravel localization with GetText on Monday April 30, 2018 @07:26AM (#16957637)
Right now, we think about the possibility to integrate with Wordpress or Symfony.

If you use React, one of our users also created a plugin for React-Intl: https://github.com/deecewan/translation-io

Re:Show HN: Laravel localization with GetText on Monday April 30, 2018 @06:10AM (#16957275)
Laravel is currently the only integration in the PHP-world. But most of the code could certainly be reused for a Symfony application, or any other PHP project.

We think that every framework must have a tailored solution to handle translations best, so we move forward in small steps to be sure our solution fits the pain (of maintaining translations up-to-date as the app evolves).

Re:Show HN: Laravel localization with GetText on Monday April 30, 2018 @05:24AM (#16957052)
We have strong opinions about this, and we explained them here: https://translation.io/blog/gettext-is-better-than-rails-i18...

Even if we compared GetText to YAML key/values (Ruby on Rails), the same reasoning applies also for PHP key/values of Laravel.

Re:Show HN: 288 Analog Clocks Give Digital Time on Saturday March 11, 2017 @12:06PM (#13846132)
I have no idea, the title changed after I posted it and it was "288". It was also originally a "Show HN:" but someone removed it (maybe I was using it wrong, I don't know).
Re:Show HN: 288 Analog Clocks Give Digital Time on Saturday March 11, 2017 @11:51AM (#13846055)
I was indeed afraid that it would look too static without using "random" phases. Using seconds would be great (I could try to make them look smaller too).

Looking at my source of inspiration (http://www.humanssince1982.com/a-million-times/) you can see that the random phases are way prettier than mine. But it would make the code uglier with a lot of "setTimeout"s, and I wanted to keep it clean.

Re:Show HN: XMoto.js on Sunday April 17, 2016 @06:28PM (#11516644)
The keyboard controls are the same as XMoto (up for acceleration, down for brake, left/right for rotation) but they are applied differently. The smallest difference in physical value (torque, acceleration, grip, weight, etc.) changes everything and it's very difficult (if not impossible) to have exactly the same behavior as original XMoto. So I just recreated some physics that are fun to play with and works well with the existing levels.

If you want to play with the physics, you can try to change some values here by clicking on them: http://js.xmoto.io/?level=1010&debug=true It's fun to do and I'm open to new modes :-)

If you are interested, the input code is here. As you can see, acceleration and brake are only applied on the wheels, like in real-life. But for the moto rotation, I cheat by applying some torque on the moto body because the driver was not heavy enough to make it rotate quicky: https://github.com/MichaelHoste/xmoto.js/blob/pixijs/src/mot...

Re:Show HN: XMoto.js on Sunday April 17, 2016 @02:25PM (#11515592)
I tried to start a blog to talk about the project's creation: http://xmoto.io But as always, I prefer to spend my time working on the code than writing blog posts... So they are not up-to-date (and will never be).

Games are not my branch of work and I was like you. What I can tell you is that learning to deal with the game loop is the hardest part. The synchronization between the physics, the drawing and the game logic is not very intuitive for a web application developer :-)

Re:Show HN: XMoto.js on Sunday April 17, 2016 @02:14PM (#11515541)
Thanks for the compliment!

Nice catch for the bug! I fixed it on the wip branch here: https://github.com/MichaelHoste/xmoto.js/commit/24855d191a43...

There is an abstraction between player physics and ghost physics and I think I need to refactor the collision system to avoid this kind of behavior.

Re:Show HN: XMoto.js on Sunday April 17, 2016 @12:34PM (#11515115)
Yes of course I had multiplayer in mind the whole time. I even started a Rails application here for that purpose: https://github.com/michaelhoste/xmoto.io (it was more of a proof-of-concept)

But I'm afraid of the tweaking of the physics once the multiplayer game is started (and replays are created). Do I need to freeze them once-for-all and only work on supporting more levels or create an editor?

I still have plans for this project, but this is a side-project and like always, life happens and free time disappears...

EDIT : the work-in-progress is in fact in the "pixijs" branch, I almost finished the rendering engine switch to http://www.pixijs.com/ (higher level of abstraction, more cool 2D effects)

Re:Show HN: XMoto.js on Sunday April 17, 2016 @11:46AM (#11514922)
There were 3 difficult parts:

* The most difficult one was recreating the physics with a modern physics engine (box2D) to make them feel like the original ones. The smallest difference was making some levels impossible. It's not perfect but I tried to tweak them the best I could. And I created a debug mode to help me (and others) achieve this: http://js.xmoto.io/?level=1010&debug=true (I had way too much fun with this mode!)

* Levels: the level format was documented but not everything was "well"-documented. So I had sometimes to reverse engineer things. Like you could see, there are thousands of levels and they added layers of logics with time. So the first levels are usually compatible, but not the latests. And when I tried to add some logics (parallax, checkpoints, etc.), sometimes, the first levels broke (it's difficult to write tests for this). I wrote a blog post about it here: http://xmoto.io/2013/08/20/level-parsing.html

* Replays: I tried to find the smallest possible format to save all player's replays on a database. The original purpose was to create a kind of online community where people could challenge themselves and replay size matters. I first tried to save the replays as "keyboard inputs" but it wasn't reproductible as physics engine are not deterministic between browsers (I learned it the hard way). So I had to save both keyboard inputs and physics "checkpoints" (every x seconds) to adjust the replays. I'm quite happy with the results because it's about 20ko for 1 minute of replay. Here is a big monologue about my reasoning: https://github.com/MichaelHoste/xmoto.js/issues/8

It was fun because I'm a full-time Ruby on Rails developer and I was way out of my confort zone :-)

Re:Rails Translation made _(“simple”) on Thursday January 15, 2015 @08:57AM (#8892460)
The GetText part is almost stack-agnostic and we already created some code snippets to synchronize PHP and angular-gettext projects with success.

However, Ruby on Rails is our first target and we want to make it right before going in every directions.

Older »