HNHacker News
TopNewBestAskShowJobs

veli_joza

716 karma · joined November 6, 2012

http://github.com/jmiskovic/
submissionscomments
veli_joza··on Why Threads are a Bad Idea (for most purposes) (1995) [pdf]
The cooperative multitasking is mentioned in "Why events are a bad idea" as a counter-argument #3. They are considered under threads category. It's unfortunate that only some languages support them.
veli_joza··on Show HN: Vexlio – Create precise, beautiful diagrams
Congradulations on your release. A few questions, if you will:

1) What happens if Lua execution blocks? Or if you construct an infinite loop of drawing primitives?

2) The page claims that you can switch between code representation and normal mode. Are they somehow kept in sync? For example, if I draw a circle, will it generate an API call in Lua code?

3) The interface seems very similar to Inkscape's. Is this intentional?

veli_joza··on Windows93 SP2
That's Wolfenstein 3D with some tasteless changes of game art. I think there are no changes in level layouts.
veli_joza··on Oh My Gosh, It’s Covered in Rule 30s
Maybe they didn't want gun patterns for safety reasons :) But seriously, static patterns work better for medium that is architecture. I just find it so ironic that Wolfram thought this is homage to HIS work. Does he ever mention Conway in any of his texts?
veli_joza··on Magikarp Jump by the Pokeman Company Is So Dumb It Just Might Be Brilliant
A Dark Room stands head and shoulders above others, IMO. It's very aesthetically pleasing, has good story with a twist, and gameplay changes several times while you're progressing.
veli_joza··on Will Robots Take My Job?
Your reasoning works if you think of "robotic takeover" as some isolated event that threatens existing politicians. I see it as gradual change.

It could start with politicians leaning on AI to make better-informed economic decisions, or to predict the voters response to proposed policies. That would force other parties/governments to either do the same or fade to obscurity. This change would be spread out over longer period, but I don't see politics as safe haven.

veli_joza··on IOT Developer Security Checklist
You still have to defend against MitM attacks, that could steal your data. A recent example is Samsung smart TV that could be controlled with voice. If someone can route TV connection to his server posing as Samsung's server, she can eavesdrop you in your living room.

Another problem is that during the lifespan of product, several critical exploits could be found that would compromise the security if not patched. There already efforts to defeat SSL and we may need to upgrade to more advanced protocol in near future.

One last problem is that in your case the device needs to have server address hardcoded. The company could go out of business and you would have no way to redirect it to alternate unofficial server. Therefore, firmware upgrades are pretty nice to have in IoT.

veli_joza··on IOT Developer Security Checklist
Your list is very cynical. "If zipper doesn't need it, why should your TV have it?" This way of thinking prevents the benefits we could have as appliances around us become connected, once the security issues are addressed.

Let's use the fridge as an example:

1,5) I don't need it to be automated, but I would love to get notification when food's about to go bad or when we are out of milk. Temperature is already automated, but we could squeeze out more efficiency if it was context aware and more intelligent (it could keep some compartments on higher temperature than others).

2,3) Appliances sometimes need maintenance anyway, but preventive maintenance would be less costly.

7) Phone apps are terrible way to control anything, to me they are just a stop-gap solution until something better comes (reliable voice control for start, then AR interfaces).

8) This would lower the cost and allow poorer households to own one; I don't mind advertising if full price gets rid of them. Kindle is great example.

9) YES! But for my benefit, and not for benefit of manufacturer and third parties. My fridge could recommend new interesting meals based on my cooking. It could also warn me about unhealthy habits and help with my diet. Over the years it could improve my quality of life without significant effort from my side.

10) No. DRM should not exist.

veli_joza··on IOT Developer Security Checklist
The packaging system is only a part of puzzle. I can control what happens with my Linux laptop, but it's much harder when 10+ devices around you are constantly updating. There's also the thrust issue - we all want exploit patches to be applied automatically while feature changes are different thing altogether (remember when Sony pushed update to PS3 that disabled OtherOS support).

Maybe a good legal solution would be to allow automatic updates, but only if user is informed about changes and she can downgrade/revert at any time. Also, the stuff that Microsoft does with Win 8/10 upgrading should be punishable.

veli_joza··on Cannabis reverses aging processes in the brain, study suggests
> A low dose of the administered THC was chosen so that there was no intoxicating effect in the mice.

It seems the experiment is similar to microdosing cannabis. It's not widespread practice, but so far I haven't heard about people complaining their memory is impaired while microdosing.

veli_joza··on Hauberk – A web-based roguelike written in Dart
> I think you should evaluate any language and platform for your needs, and rely less on internet popularity scores.

A solid advice, but not very practical in this age when there's too many language-framework combinations to take them all for a spin. We just have to rely on other people's opinions and surveys. Your summary of Dart strengths is valuable in that sense.

veli_joza··on Steam is not healthy for gaming
Comparing Steam to CD distribution is not fair, compare it to GoG. They also have a client, but you can always download DRM-free installation executable and just use it without hassle. You are even allowed to install games that are not Officially Supported™ on your system.

I always first check GoG and itch.io for any game I'm interested in. Maybe it's my taste in indie games, but quite a few authors actually want to have DRM-free release, while Steam will probably never support it.

veli_joza··on A Defense of the Reality of Time
Agreed, I've been using it as default for some time now. It's clean with no noise and far less distracting than standard page.
veli_joza··on Get started making music
I found Multitrack Studio to have better UI than rest of DAWs, but it's not so geared towards eletronic music. They also have pretty good support for touch-screens. Too bad there's no Linux version, but that's hardly surprising for multimedia software.
veli_joza··on Fearless concurrency in your microcontroller
Nice article. Some good insights, as well as beginner how-to steps.

The embedded industry has proven to be very resistant to innovations and modern code-writing practices. Some platforms I coded for didn't even support/allow C99 standard. C++ is gaining some foothold (mbed, for example). Developers don't feel the urge to catch on with times, like in other industries. And yet, now they are expected to write secure IoT systems.

Hopefully Rust can demonstrate its worth and convert key industry specialists who would blog about it. Personally, I'm still waiting for perfect opportunity to apply it on medium-sized project before I fully commit (secretly I'm still rooting for Nim).

veli_joza··on Amazon Echo Show
You hit the nail on the head. Back in 90s we could connect any audio/video device to any other device, because manufacturers agreed on basic analog signals. Now, everything is "smart" and isolated. Is it too much to ask to be able to route audio/video/other signals from sources to sinks regardless device boundaries?

It's not helping that big companies like Amazon want to establish themselves as _the_ hub for IoT.

veli_joza··on New device can harvest indoor light to power electronics
Claimed 30 mW may not seem a lot, but most of electronic sensors (even displays) are only used for short period of time. You continuously collect charge over time, often in a supercapacitor, while most of device circuitry is dormant. At some time the device wakes to take measurements, transmit data over some wireless technology, schedule next wake-up and then goes back to sleep.

Even if you need measurements every minute, 30 mW is plenty for these kinds of devices to do their work.

veli_joza··on LuaJIT 2.0.5 and 2.1.0-beta3 released
It's much smaller community than Ruby or Rust... People are very friendly and most of learning content is freely accessible. Most of us use LuaJIT (at least on desktops) but many are worried about its future, as lead genius has stepped off and few other people can understand the internals of LuaJIT.

There's a very nice "package manager" for downloading and installing modules, called LuaRocks. On the other hand, lack of tooling is a big issue. ZeroBrane seems to be only decent IDE with debugging support.

There's ton of stuff in libraries and Lua extensions, you just have to be careful about what you are integrating. You might for example end up with two incompatible implementations of class system from two different libs.

veli_joza··on LuaJIT 2.0.5 and 2.1.0-beta3 released
It's not that libraries are not available, it's that they are not _standard_. Python has much healthier and more coherent community partially because everybody started out with same carefully chosen building blocks. With Lua you either build your own or bring in dependencies from libs and frameworks.

Regardless, I'm enjoying Lua more and more and it's becoming my go-to language for prototyping and exploring concepts. The code just flows more naturally than in other languages.

veli_joza··on Experimental Nighttime Photography with Nexus and Pixel
I'm even more interested in mentioned SeeInTheDark app (that's unfortunately not available yet as it's part of Google research). The video demo is so impressive. I don't really care so much about photography, but decent sensors and optics combined with innovative processing in real-time is really starting to pick up.

I've already started using phone camera app to enhance my vision for text that's too far to read. Advances in post-processing will increase our vision even more, as well as allow for night vision and understanding text in other languages. We are transitioning into cyborgs by means of android platform...

veli_joza··on Lyrebird – An API to copy the voice of anyone
I missed that one, and it's the best I heard so far. Bit of noise in the background, but the voice itself is very believable. I can imagine in year or two the radio and TV will start using this tech instead of actual speakers. Also, translation and synchronization of any content will be so much cheaper.
veli_joza··on Neuralink and the Brain's Magical Future
This doesn't really do justice to the article. Decent BMI would be next big step for mankind, with applications such as practical telepathy, mind control of IoT devices, instant access to all information, huge increase of memory capacity, tapping into other people senses, and, yes, fusion with AI.
veli_joza··on Neuralink and the Brain's Magical Future
Latency and bandwidth are not the same. You could potentially have huge capacity for information processing, that would just be delayed because of "implementation details" of neuron biology.

I'm fascinated by brain's plasticity. One example is while we are watching a movie, our perspective constantly "teleports" around actors and across space and time many times in a minute. Yet this seems normal and doesn't overload our brain. There are biohacking experiments with installing extra sensors that seamlessly integrate into our experience of reality.

The unanswered question is how much information can our brain take, and what will happen if there's too much pouring in. Just temporary fatigue or more permanent damage? We cannot know because we never tried it before (aside from specific experiments like air traffic controller and pilot concentration tests).

veli_joza··on Lisp macros for C
This is very interesting way to breathe new life into C. I can already think of few places where powerful macros would come in handy and eliminate some pains. On the other hand, I'm not sure if I'd want to read other people's low-level code sprinkled with high-level constructs. Perhaps Nim would serve this purpose better?
veli_joza··on A customer reported an error in the map used by Flight Simulator
Yeah, I played Atari ST version and it was a blast. Gorgeous filled polygons, up to 4 simultaneous 3D views, weather conditions, stunt flying... However this is off-topic as only PC versions were made by Microsoft.
veli_joza··on Pink Trombone: Speech Synthesis Simulation in JavaScript
I prefer LV2 plugins as they integrate nicely into the rest of system. As I dabble in sound/music only rarely, Jack's all-or-nothing approach doesn't suit me at all. Also, it requires 5+ windows just to set everything up.
veli_joza··on Pink Trombone: Speech Synthesis Simulation in JavaScript
How difficult would it be to wrap your code in VSTi plug-in and produce a DLL? This would make it easy to hook up to midi controller and other devices using any realtime VST-capable host.
veli_joza··on DIY thermal vision shoots 360° panoramas
In my experience, either you get exposed to various parts at your workplace/college, or you stand on shoulders of similar projects.
veli_joza··on Deep Patient Predicts Patients Future from Health Records
It would be interesting if people are already starting to gather as much data about themselves that will relevant in few years when similar tech is widely available. For example, taking a photo of each of your meals might prove to be good investment of your time down the line.
veli_joza··on Ubuntu 17.04: The bittersweet Linux release
Some compromises were made, similar to how Windows sacrificed desktop experience with Metro. I was not a fan. On the other hand, a strong open community contender on mobile would be great.
← PreviousPage 5 of 10Next →