HNHacker News
TopNewBestAskShowJobs

veli_joza

716 karma · joined November 6, 2012

http://github.com/jmiskovic/
submissionscomments
veli_joza··on Oboe: A C++ library for low latency audio in Android
I contacted one of Oboe authors and I reached conclusion that this doesn't achieve anything you couldn't already get with openal-soft lib. You can expect some 20ms of audio delay, plus 16-33ms of touchscreen latency .

If you are curious about latency, check out my android app "Hexpress" (on play store) that gives you drums and other instruments to play with. I measured roughly 50 ms of tap-to-sound delay, not consistent across devices. That lands it within 'cute audio toy' territory, which is why I stopped investing time.

veli_joza··on A RISC-V chip with built-in neural networks
There's a I2S bus that's used for communicating with external component (audio codec) that has ADC/DAC. Perhaps APU is meant for that?
veli_joza··on CppCon 2018: Simplicity: Not Just For Beginners [video]
I don't know. I don't have the same problem with Lua and Python. Lua is simply small enough not to have baggage and Python seems to have a healthy community that keeps updated with best practices. It also helps that both languages are designed to be readable. C is also simple enough, as long as code doesn't abuse pointers.
veli_joza··on CppCon 2018: Simplicity: Not Just For Beginners [video]
The code one writes does get simpler. Unfortunately, the code some dozen developers write ends up with all imaginable ways of writing the same thing. That's my biggest pain with C++.
veli_joza··on The ‘Real You’ Is a Myth
It's more than that. The mind doesn't have the mental capacity to hold all of yourself at once, so when interacting with others you become fused with current role and it becomes almost impossible to juggle other roles with current one. There are many psychology studies of internal conflict when you are forced to play two or more roles at once (for example, introducing your parents to girlfriend/boyfriend). A balanced person therefore needs to have goals of different roles aligned.
veli_joza··on Pixelmash: Resolution-Independent Pixel Art Software for PC and Mac [video]
There is this popular 'trick' for 2D pixel art to use normal maps for dynamic lightning. I call it a trick because it uses 3D hi-res technology (shaders) to enhance 2D lo-res artwork. There are several indie pixelart games that use this effect and also many tools that help you create normal maps from pixelart. Here's an example: https://www.codeandweb.com/spriteilluminator

This shows there's a need for such feature. Embedding this editor's capabilities into engine would enable more control over result and more creative freedom.

veli_joza··on How to Build a Low-Tech Website
I feel that the focus on infrastructure _is_ the content. It may be over the top (dithering is especially BS), but without battery indicator how many people would discover that the server runs on sustainable solar power?
veli_joza··on Pixelmash: Resolution-Independent Pixel Art Software for PC and Mac [video]
It's interesting to consider why pixel art is still around. Obviously it's not just retro nostalgia. One reason is that self-imposed constraints (both resolution and palette) are known to boost creativity and result in more consistent art. Another reason is that some gamers actually want low-resolution graphics, they can use imagination to fill in the details.

Personally I consider pixel art a very bad return-of-investment from artist time. This product tries to solve it, but given examples are very hand picked. I'd like to see how more complex situations are handled, like scaling of eye and touching/overlapping assets. Also, most of editor features would be better to have in runtime so that assets can respond to changes in lightning.

veli_joza··on Fennel – Lisp in Lua
If you used Lua before, then this seems like perfect lisp to learn. If you don't know any Lua then some features will confuse you (multiple return values, error handling, arrays as tables, pairs/ipairs) because all these design decisions make for seamless inter-operability between two languages.

Perhaps for learning purposes you would benefit from lisp that has tools with debugging capabilities, like Racket.

veli_joza··on Fennel – Lisp in Lua
It works if you run both expressions from file. There's a tutorial page that explains why this doesn't work in REPL. See "Locals are per-chunk" here: https://github.com/bakpakin/Fennel/blob/master/tutorial.md#g...
veli_joza··on Fennel – Lisp in Lua
I'm building the 2D interactive graphics engine for mobile platforms. The focus is on authoring all of content on phone/tablet.

Instead of using bitmaps/meshes, the user starts with single primitive (y < 0 half-plane) and applies series of transformations (wrap, intersect, linear transform...) to sculpture it into desired shape. This scene description looks and behaves both like JSON tree and S-expressions.

For interactivity, I would like to have a lisp-like language that's visualized as tree. The user would execute 'macros' to modify existing code, for example to wrap a function into a loop or to make a mirror reflection of existing graphics. The host should make sure that code is always syntactically correct and should provide default primitives when constructing new code, that will be replaced or modified by user.

Here's some WiP screenshots: [0] https://raw.githubusercontent.com/jmiskovic/arbo/master/medi... [1] https://raw.githubusercontent.com/jmiskovic/arbo/master/medi... [2] https://i.imgur.com/qzb6cC0.gif

veli_joza··on Fennel – Lisp in Lua
I'm currently looking for lisp-like language for Lua. I've looked into Urn, Lumen and Fennel, still haven't decided on one.

Maybe someone can answer - why does fennel description insist on macros as compile time feature? I'm interested in live coding and self-modifying code; is there a speed penalty or some other reason why Fennel would be a bad option?

veli_joza··on Lumen: A Lisp for Lua and JavaScript
It's been few days since this post, don't know if you're still checking the thread.

I'm really a beginner at lisp, so perhaps my questions won't make much sense? I'd like to have Lua host application (in Love2d) with lisp-like runtime. The lisp-like code is expected to be changed often during the runtime by modifications of structure and constants in AST, so compile-time macros are not useful to me.

On the other hand, the lisp-like code would not be written from scratch in text form. It would be built by executing code-transformation functions that would always construct a syntactically valid AST. For example, let's say there is a function for drawing an arc of single color. Now user wants to draw a rainbow. I would offer a function that could be executed to wrap existing operation in a loop. In rainbow example the loop iteration would also modify a vertical displacement and color hue shift.

My two questions - is lisp (and Lumen specifically) a good choice for self-modifying live coding runtime? And is generated Lua source in Lumen project suitable for embedding Lumen into Lua host application?

veli_joza··on Scientists warn of potential serious health effects of 5G (2017) [pdf]
> 5G technology is effective only over short distance

This is not really true. Yes, the signal range is reduced at higher frequencies used by 5G (>5 GHz), but this is mitigated by using beam-forming to concentrate output power where it's needed. This means that with same output power you get very similar range on high frequencies compared to low frequencies without beam forming.

There will be increased number of cells due to smart vehicles and IoT, not due to 5G technology.

I don't know anything about health effects, though. I belive mmWave won't be built into mobile phones for some time, it's currently needed for high-bandwidth connections towards buildings, vehicles and portable hotspots.

veli_joza··on Lumen: A Lisp for Lua and JavaScript
Looks great, I'll dig in. Two questions:

Does it generate code that can be optimized by luaJIT? (for example these guidelines: http://wiki.luajit.org/Numerical-Computing-Performance-Guide)

Can anyone compare to Urn? It's another active lisp-on-lua project that's at the moment better documented than Lumen.

veli_joza··on The Berklee College of Music Sampling Archive
Sounds great. Unfortunately, samples are not redistributable.
veli_joza··on The Berklee College of Music Sampling Archive
Unfortunately, the singing samples are very poor. Does anybody by chance know a good sample library of singer/choir with multiple samples per octave, with a license that allows re-distribution? Surprisingly hard to find.
veli_joza··on Show HN: P2p IRC-inspired browser chat on WebTorrent
I find WhatsApp user experience lacking and I wouldn't use it if my friends and contacts weren't all there.

It's decent platform for simple sentences and trading emojis/memes I guess.

veli_joza··on Magic Leap One Creator's Edition First Look
If there was a good AR app for managing medium businesses, this product could catch on quickly. The businesses could increase efficiency of their workers at very reasonable price.

I can think of good applications for this technology for example in shipyard inspection, factory management, city utilities workers, police, even farming operations.

veli_joza··on Magic Leap One Creator's Edition First Look
The audience is mentioned in article - it's dev kit for content creators. It's too bulky for general consumer market and there is not enough content yet. I suspect the current processing power will also be upgraded in final product for higher fidelity of 3D graphics.

So far the gaming industry was driver behind tech, but with augmented reality being so useful for industry (navigating warehouses, for example), this might change. The prices will drop, but I don't expect ML will be priced at <$1000 anytime soon.

Psychedelic application would be very interesting. Imagine experiencing something like Waking Life or Scanner Darkly wherever you look. A gimmick, but good demonstration of tech.

veli_joza··on Slack as group mind
Unfortunately I cannot offer guidance as I have yet to experience efficient teamwork with collaboration tools. In last company we used Slack as generic chat client with static channel groups. The current company uses Skype for Business which is the worst chat service in existence.

I have such project in side-projects backlog, I might get to it in few months. It would combine note entry with online collaboration, plus some automation for formal logic / decision making and task scheduling. It would be conceptually similar to 'group mind' as described in this article, except I can only do a prototype and not coorporate-ready tool.

veli_joza··on Slack as group mind
Great points in article, I was just expecting more than critique of slack. I think slack might be used as efficient group mind by disciplined team. For example, using one channel to strictly stay on topic and keep focused, and another channel for meta-discussion and/or voting for next thing to focus on. Perhaps a third channel for archiving reached decisions, where discussions are not allowed.

If there are such battle-tested practices of efficiently using slack, perhaps they should be distilled to build a better communication tool around them. There's so much potential in collaboration tools that's untapped because everyone takes IRC or Word as baseline and improve on that.

veli_joza··on For babies, life may be like an LSD trip
The common denominator seems that recognition patterns have much lower threshold for firing. In that sense, there is less cognitive filtering, but perhaps more sensory filtering?

Multiple results are competing for attention, which creates the sensation of rushing thoughts. Connections across widely different concepts are made, which makes for 'woah, everything is connected' moments. Visual patterns are recognized over-zealously, which creates hallucinations.

It doesn't seem weird to me that pattern recognition machine that's been trained for 15+ years will recognize same patterns for same input few hours later.

Note I have never taken lsd, so I don't really know what I'm talking about.

veli_joza··on What is the PDF format good for? Nothing (2006)
Adobe reader was always dog slow across all platforms, compared to alternative PDF readers.

And his other points are still valid, even more so now that smartphones are everywhere. Platform should be able to adapt content to best utilize resources (screen size). See how e-books are not published in PDF format. E-book readers mostly support PDFs, but it's painful experience to actually read through them.

veli_joza··on Build Android Apps in PicoLisp Without an Android SDK
LÖVE is awesome and Android port works great. The fastest interpreted language that also happens to be elegant and easy to learn, coupled with dead-simple input/graphics/audio/physics API you can actually remember. The APK is tiny when compared to other frameworks, some 4 Mb + assets.
veli_joza··on Ask HN: Favorite note-taking software?
Oh, I see what you mean now. Left side shows which branches you used to get to leaf, and right sides show other paths to root. It might be very useful occasionally, but would probably have to stay hidden most of time because it would clutter UI with redundant information.
veli_joza··on Ask HN: Favorite note-taking software?
Can you please expand a bit more on your ideal note app? Results sound intriguing, but I can't imagine what it would look like from this short description.
veli_joza··on The libkern C++ Runtime
I haven't heard of any professional project using assembly in last couple of years. Maybe bits and pieces, like startup code to set up C/C++ environment, things that a single person can write and maintain. It doesn't work at all for large teams.
veli_joza··on The libkern C++ Runtime
I don't know what their reasoning was, but it might have not been technical one.

Embedded development positions are not your typical developer positions, they require more intimate knowledge of system, of possible states and transitions, and of hardware internals. This results in less focus on actual coding skills.

Even if you are highly skilled, you won't be doing your company a favor if you're writing code that only 5% people can understand and contribute to. My understanding is that every team that writes C++ will restrict it to some subset to make the codebase more manageable.

OTOH I think namespaces can only lead to better and more modular architecture, I'm not sure where they should be avoided.

veli_joza··on Augmenting Long-term Memory
Great list of related projects! I missed some of them in my research. Now I'll deep dive into each and steal all the good ideas.

Text-to-speech is very promising, but I could use it only about 20% of time during the day. Other problem is I would constantly have to check the recognized text for errors and have a way to delete and re-entry. So far it's been frustrating to use.

Neural interfaces are really the end goal. AFAIK current commercially available solutions are able to recognize only a dozen actions after training, not enough for text input.

← PreviousPage 2 of 10Next →