HNHacker News
TopNewBestAskShowJobs

radomir_cernoch

213 karma · joined February 21, 2018

submissionscomments
radomir_cernoch··on Than Average
On HN, there was recently an article [1] on this topic. You may also be interested in the discussion [2,3].

[1] https://www.thestar.com/news/insight/2016/01/16/when-us-air-...

[2] https://news.ycombinator.com/item?id=22956832

[3] https://news.ycombinator.com/item?id=11230287

radomir_cernoch··on Digital Needle: Ripping vinyl records with a scanner (2013)
Wow, the best example of teaching minimalism I know. Even though the website fails on so many levels, ;-) I still get the message in 15 seconds.
radomir_cernoch··on A Hitchhiker's Guide to Reinventing a Prolog Machine (2018)
Thank you for a great answer!

I knew about quite old NLP+Prolog projects. But never thought that such combination can make it through serious funding. Fingers crossed.

To be completely honest I use Prolog for prototyping new algorithms if they involve some kind of search. It doesn't happen often (every 10 years or so), but it does!

radomir_cernoch··on A Hitchhiker's Guide to Reinventing a Prolog Machine (2018)
That's exactly the question.

I've seen a lot of Prolog-inspired research (modified semantics, hence really just “inspiration”), one YouTube video about “Prolog in production” and a lot of hobby projects.

As a Prolog teacher at our university, my question was a bit provocative, hoping that someone proves me wrong.

radomir_cernoch··on A Hitchhiker's Guide to Reinventing a Prolog Machine (2018)
Wow. The article is easy to read despite dealing with a complicated topic. And the idea looks quite innovative - definitely something that attracts researchers.

Still, after 4 years, this article has 1 citation, which is a self-citation [1]. Is this a definitive proof that Prolog is dead?

[1] https://scholar.google.com/scholar?cites=4818730189048705347...

radomir_cernoch··on Show HN: YTT Tech – My curated database of instructional YouTube Videos
Thanks! This is a great tool to “bypass” YouTube's recommendations.

Often I feel like having seen 100% of woodworking videos on YouTube. Yet, I recognize 10% channels from your tool. It gives me a good inspiration!

radomir_cernoch··on Improbable Inspiration: Bayesian Networks (1996)
Indeed. Mathematically speaking, a graphical model merely formalizes conditional independence. Their advantage is a statistical interpretation, which is also a factor that makes algorithms (like belief propagation) harder to parallelize on GPUs.
radomir_cernoch··on Graphics for JVM
We do use JavaFX in an app for our customer. The application is not public, however.

There are many aspects to UI performance. Unlike IntelliJ, our app has only tens of widgets displayed at once - I can't compare in this regard.

However, we have very big models, namely tables with >100000 of rows. Scrolling is smooth and initialization as well. From my experience, JavaFX allows you to write elegant code which still caches a lot of components. This is a strong performance benefit.

My issue with JavaFX is a very well thought-out philosophy, translated into an API which is far from perfect. Once you go beyond "hello world" examples, you e.g. have to start type-casting. I'd love to see JavaFX v3 where these things would be sorted.

radomir_cernoch··on The Secret Math Society Known as Nicolas Bourbaki
I'm Czech and this revolutionary method of teaching came here in the 90's, when I entered my grammar school. Probably, it had a political “east vs. west” motivation among others, shortly after the velvet revolution...

The first thing I learned in the 1st year of schools were basic concepts of set theory. We were drawing circles, ellipses and Venn diagrams (even though we didn't call them like that) filled with images of apples, plums and cherries. Teachers explained to us what an intersection, union and set differences are and we were supposed to draw items into one set, but not in another set, etc.

I recall these exercises as funny and playful. They were similar to IQ tests in the sense that the exercise is logical, slightly entertaining, but highly abstract and loosely related to the world you know.

And I think this was the main issue. The 2nd topic we learned was simple arithmetics as in standard educational systems. However, at that time, I didn't see any relationship with the concepts of set theory.

Was the system any good? Hard to say. AFAIK, it was dropped after a few years. Eventually, I obtained a PhD in computer science, so at least, the system wasn't a complete disaster for me. :-)

radomir_cernoch··on Booting a 486 from floppy with the most up-to-date stable Linux kernel
I second that. Woodworking is great for hackers.
radomir_cernoch··on Booting a 486 from floppy with the most up-to-date stable Linux kernel
I've struggled with keeping this kind of motivation for years. My way out involved getting an interesting job and finding a topic, which is somehow related to the work (so that your reason doesn't fight) yet not directly aimed at a practical outcome in your work (to keep the enjoyment).

For me, personally, the hobby part became SAT solving. It's related to software verification and theorem proving and I feel like learning something useful - even for my family through better career prospects (responsibility box ticked). And I still get the bit-fiddling just as when hacking old microprocessors.

radomir_cernoch··on The Power of Prolog
I use it. Not regularly, not for production, but it's cute for rapid prototyping.

Last time I had to write a rule-learning-inspired [1] algorithm with a custom hypothesis language. Prolog has the advantage that you can experiment with different search strategies (depth-first search, breadth-first search, informed search, ...) very quickly. Also, given that SWI Prolog can be used without a build system, it is as quick to bootstrap as to write a BASH script. Not even unit tests need a library nor dependencies...

So my use-case for Prolog is: - prototyping, - that involves some kind of searching, - first-order logic, or at least some kind of pattern matching involved and - no fancy I/O (parsing binary data), because this is IMHO Prolog's weak point.

[1] https://en.wikipedia.org/wiki/Association_rule_learning

radomir_cernoch··on SteamCAD – 2D CAD designed to draw steam locomotives
Judging by the author's name, the software is Czech.
radomir_cernoch··on Employee Scheduling
Exactly my thinking.

<disclaimer>I work in a company that deals exclusively with OR. This means that we might be overly specialized for this product.</disclaimer>

I see OR-Tools as an educational product. The tool is easy to start tinkering with and it has superb documentation - even for people not specialized in combinatorial optimization.

radomir_cernoch··on It’s Time for Some Queueing Theory
This explains a lot when applied to replying to e-mails.
radomir_cernoch··on Should that be a microservice? Factors to keep in mind
This is my #1 reason for using them. Microservices can be great at delimiting responsibility.
radomir_cernoch··on Introduction to Datalog
> The :- means if and only if, or iff.

Is it really the case?

  Human("Socrates").
  Animal("Turtle").
  Mortal(x) :- Human(x).
  Mortal(x) :- Animal(x).
Suppose :- means iff. Turtle is Mortal (lines 2+4, implication to the left). Because Turtle is Mortal, it must be a Human (line 3, implication to the right).

Is it really valid according to Datalog semantics?

radomir_cernoch··on Why I use old hardware
I do have a similar experience. However, when I start compiling, the battery goes down in 2-3 hours. Simply because the compilation takes so much time...
radomir_cernoch··on Travis CI acquired by Idera
Personally, I've seen growing stability issues. Builds are failing for no apparent reason and work fine after a manual restart. Circe CI was the next free service to try.
radomir_cernoch··on EightOS: Open-Source Operating System for the Bodymind
This shows how the copmputer-related metaphors ("programming" in psychology, "multi-tasking" during office work, "algorithm" for any procedure, ...) are getting stronger and stronger.
radomir_cernoch··on MatchSticks: Portable CNC System for Automating Wood-Working Joinery
I see this machine as a computer-controlled version of the pantorouter [0] with a bit more flexibility. I guess that the commercial success can be correlated to the commercial version of the pantorouter [1]. Anyone knows if that is a success? All I know is a frequent “sold-out” label on their e-shop (which might be a part of the marketing strategy).

[0] https://woodgears.ca/pantorouter

[1] https://hybridpantorouter.com

← PreviousPage 2 of 2