HNHacker News
TopNewBestAskShowJobs

FraKtus

177 karma · joined March 25, 2012

Software architect, fascinated by music visualization. http://blog.fraktus.com
submissionscomments
FraKtus··on Photographers, Instagrammers: Stop Being So Selfish and Disrespectful
We have the same in Belgium in the Haller Bos (Bois de Halle). People walk on the flowers, pick them.

https://www.halle.be/node/61837

Each year there are more restrictions to enter the wood while the flowers are there.

FraKtus··on Windows 10 Debloat Script
I have a small Windows 10 Intel NUC that I use for Visual Studio to pull code to test and debug.

I did tweak it by removing many packages with:

Get-AppxPackage | Select Name, PackageFullName

Remove-AppxPackage ...

I also did tweak the group policies to prevent Windows 10 for many things, such as not use Cortana and not to auto-update and restart without notice. The software I write needs to run for weeks without leaks, that's one of the things I need to test on that system.

That NUC computer running Windows 10 is a pure joy to use. Once trimmed down Windows boots in seconds and never interrupt me while I am working.

FraKtus··on Slug: Dynamic GPU Font Rendering and Advanced Text Layout
It looks great!

Too bad the site is very mysterious about licensing and pricing.

Did anybody contact them to request a quote?

FraKtus··on Gallery of Programmer Interfaces
Is it only my bad memory or some of the dates are wrong:

Tinker 1981, showing a color Macintosh interface.

ProGraph 1983, also using an interface using colors.

Pecan 1984, the year the first Macintosh was released.

FraKtus··on 'My son spent £3,160 in one game'
My daughter is playing several of those games such as Roblox on her iPad; she can't install new applications of buy credits without me entering the password in the apple store.

The cool part of doing that is that I ask her to convince me why she needs those credits, what she will use them for, doing that I can understand what she does in the game and see if it fit her. Another side of those games is that they have a social side and you can interact with other kids, so it's important to know that and make sure your kid understands that not everybody can be nice on a social network.

In the end, I don't understand a parent that gives that power to their children...

FraKtus··on Jony Ive’s Mistakes: When Beautiful Design Is Bad Design
I have 2 Apple TV at home, and the symmetrical design drives me crazy.

The way I did fix it is that I put some ugly tape on the bottom of the remote.

Pretty sure Steve or Jony would hate to see what I ave did to their beautiful remote :-), But at least now I know how I am holding it with looking at it.

FraKtus··on Rust, a Raspberry Pi and Addressable LEDs
For that to work correctly, the piece of code generating the signal should never be interrupted.

To my knowledge, this is not possible with a Raspberry Pi. You should see glitches on the output when your loop generating the 1s and 0s is interrupted.

That may be ok it if you just when to send one static light pattern but the glitches should be more evident if you want to create beautiful, flowing light patterns.

That's why it's better to drive those WS2812b with an Arduino that you code bare metal.

FraKtus··on RSA is a fragile cryptosystem
The article does not say RSA is wrong, but that picking the right parameters is too tricky.

That's why a script/tool validating against the known attacks mays be helpful.

FraKtus··on Photon Micro GUI
For me, nothing is as nice looking as Photon (resolution independent) and GPU friendly to allow 60 FPS cross-platform GUI.

It looks like you still need to roll your own.

I am currently working with Dear ImGui and found a pipeline where I put SVG icons in a true type front and can then render them resolution independent with Dear ImGui.

FraKtus··on Photon Micro GUI
From the author "Photon has its own HTML5 inspired canvas drawing engine using Cairo underneath".

That means it should render nicely at any resolution, the author says, "resolution independent and allows for HDPI displays".

But using Cairo means it should not have a good performance at high resolutions. I have yet to find a fork of Cairo GPU accelerated that supports all the API. So it may fit the bill if you are coding a simple interface, but it will be too slow to render at 60FPS and at high resolution.

What comes closest for me is Dear ImGui, but I never saw an interface with those nicely rendered buttons in real-time done with Dear ImGui.

FraKtus··on RSA is a fragile cryptosystem
The article conclusion is that picking the wrong parameters (prime numbers, e) leads to being vulnerable to many attacks.

Are there tools that will assist in choosing or testing those parameters?

FraKtus··on So you think you know C? (2016)
At least for the third question (char a = ' ' * 13;) XCode warns "Implicit conversion from 'int' to 'char' changes value from 416 to -96".

And for the fifth (return i++ + ++i;) it warns "Multiple unsequenced modifications to 'i'".

I would not skip those warnings.

FraKtus··on As a system programming language, C still deserves learning today
They are from the LLVM projects, but the integration is very well done. This is something that I miss a lot in Visual Studio, and that makes me consider it as inferior to XCode.
FraKtus··on As a system programming language, C still deserves learning today
For me, the advance in thread and memory sanitizers in XCode made it much safer to use C. Its almost fun to create memory leaks now and see the sanitizer spotting them :-)
FraKtus··on How Id built Wolfenstein 3D using Commander Keen tech
Yep, I started with Apple II and UCSD Pascal and kept using IDE since then... I can dive in the terminal and use make if needed but it feels unnatural to me.
FraKtus··on Hollywood studios say they’re quitting Netflix – the truth is more complicated
It's frustrating that with the fragmentation of Streaming services it's tempting to get back to piracy. It's like we are back to the beginning of piracy. Today you can get a pirate IPTV provider for ten bucks and set it up on your AppleTV and bingo you get 5000+ tv channels, thousands of movies. I have Netflix, Hulu, Molotov using smart DNS but I also have one IPTV provider to be complete...
FraKtus··on Spaced Repetition
This page is great! Just did it.
FraKtus··on Thoughts on macOS Package Managers
Am I crazy to refuse to use a package manager on macOS? I thing that you should just follow the instructions and understand how to install a project. As an example, I use a lot FFmpeg, just doing brew install ffmpeg does not make sense for me; there are so many options... you need to understand what they are and the implications...
FraKtus··on Cross-Platform GUI Toolkit Trainwreck (2016)
He speaks about the 60 FPS when he tried NanoVG... I think he did not realize he could do that trick with IMGUI. For text rendering with Nuklear, you make a font atlas from a true type font, rasterizing the font is built in Nuklear with stb_truetype. That gives you a lot of freedom. You can load as many fonts as you need. There is also support to load a binary resource such as the TTF file from a base85 string; it's very handy. For layout it's immediate mode, so you describe it with code such as

nk_layout_row_dynamic(ctx, (float) row_height, 3); // a row of 3 buttons if (nk_button_label(ctx, "Previous")) ... if (nk_button_label(ctx, "Next")) ...

Here is small app I made with Nuklear: https://www.youtube.com/watch?v=MycIYcutlMA

FraKtus··on Cross-Platform GUI Toolkit Trainwreck (2016)
He complains that this creates enormous (in term of MB) application. My users sometimes have to rely on a lousy network connection to download. It can be because they are far away (China) or on a job. My users are in the event business and often have to rely on the WIFI of the hotel or the conference center.
FraKtus··on Cross-Platform GUI Toolkit Trainwreck (2016)
I think he got it wrong when he quickly ruled out IMGUI, as you can use it to create a small app with next to no dependencies. He complains that you need to redraw your GUI at 60 FPS, but this is wrong, you should be able to draw with it only when needed. I am a big fan of Nuklear. I can write a tiny C app that compiles on macOS, Windows, iOS, and Android with it. The look and feel of Nuklear can be something you don't like, however.
FraKtus··on Cross-Platform GUI Toolkit Trainwreck (2016)
Since many years I made a few application using wxWidgets, and the macOS part can have issues. While it's ok regarding the size of the app (in term of MB) you still drag and extensive library.
FraKtus··on Cross-Platform GUI Toolkit Trainwreck (2016)
He does not like Qt because a simple window with a few buttons and sliders will end a big (in term of MB) application. He did not realize that one but another reason not to like Qt is that fact that they recreate the native look on each platform it's highly inefficient on macOS.
FraKtus··on The Art of PNG Glitch (2015)
I played with the idea to do that with H264 streams. This was done with FFmpeg and FFplay. The idea is that you read stream packets from the source and feed it to the decoder, so there is a clear point where you can inject glitching. Because it's difficult to unpack a stream packet, modify it and repack it, I ended hacking the decoder itself. While I had some similar results, I failed to produce something easy to use.
FraKtus··on MIDI 2.0 Prototyping announced
There is better than MIDI for a long time; it's called OSC. It's a shame the industry did never embrace it. I had some contact with Roland and the MMA, and they explained to me that the industry did invest so much into MIDI in term of hardware development that it will be tough to replace it.
FraKtus··on Bitwig Studio 3: Enter The Grid.
The site is down for me. But amazing project and team!
FraKtus··on An example of very controlled video feedback using all analog 1970's equipment
Thank you for sharing this, especially the link to the paper.
FraKtus··on Fibre:A WebGL application for visualizing 3D vector fields and dynamical systems
On macOS I got it to work with Chrome but not Safari. It did not work on iOS.
FraKtus··on Audiophiles in Japan Are Installing Their Own Power Poles
Most of the time the room where those high-end audiophiles have their equipment is just not designed to listen to music. The room around you is as important as the equipment. I remember making speaker tests in the anechoic chamber of my university, and it's just mindblowing, even with average equipment.
FraKtus··on How to convert video files format with c language
That's a nice introduction to FFmpeg. Highly recommended because there are not that many up to date articles and sample code.
← PreviousPage 4 of 8Next →