HNHacker News
TopNewBestAskShowJobs

nikolaplejic

80 karma · joined September 2, 2009

Web: http://nikola.plejic.com/

Contact: nikola@plejic.com / @nikolap:matrix.org

submissionscomments
nikolaplejic··on Writing HTML by hand
Not equivalent, but arguably more useful for manual authoring: Emmet [0] was all the range a while back, and I still use it to write HTML. It comes naturally if you're used to writing CSS-like selectors, and mostly gets out of the way.

DSL-wise, I've rather enjoyed Clojure's Hiccup [1].

[0] https://emmet.io/

[1] https://github.com/weavejester/hiccup

nikolaplejic··on Metaphysics and JavaScript
It might be worth pointing out that this presentation comes with speaker notes (keyboard shortcut: S, or click on the gear icon at the bottom and find the link). They contain much more content (and context) than the slides alone.
nikolaplejic··on Functional Programming in OCaml
Thanks for sharing this!

Have you ever considered js_of_ocaml (https://github.com/ocsigen/js_of_ocaml)? What were your reasons for choosing ReasonML?

nikolaplejic··on Librem 5 design report
These all work fairly well in modern web browsers.
nikolaplejic··on Ubuntu 18.04 LTS Bionic Beaver Released
Yes, it will run on your system X11 obeying your .Xresources. I have never tried using update-alternatives to replace the system-wide GCC (or any piece of software for that matter).
nikolaplejic··on Ubuntu 18.04 LTS Bionic Beaver Released
You can always use something like the Nix package manager[1] to install Firefox, Git, and Emacs, and leave the rest to Ubuntu. Save for Firefox, which I install from a tarball and use auto-update, I have been doing that with Debian stable on my laptop, and it works well.

[1] https://nixos.org/nix/

nikolaplejic··on Ask HN: What do you want to learn in 2017?
I'd recommend going with the language you're most likely to use extensively - since you're sitting next to a person speaking French, I'd say that might be a good option. It's too easy to underestimate the importance of conversational practice while learning a language.
nikolaplejic··on Superintelligence: The Idea That Eats Smart People
It's pretty good.

There are several hackerspaces (https://wiki.hackerspaces.org/Zagreb - I'm partial to the one in Mama), and every now and then we'll gather around a "Nothing will happen" (http://www.nsnd.org/).

There's a vibrant meetup scene (well-covered by meetup.com), and WebCamp Zagreb (https://2016.webcampzg.org/) is the community conference that tries to gather different meetups & communities once a year.

Companies from abroad tend to open development offices here to exploit the cheaper workforce, especially since Croatia has joined the EU. There's also a number of local companies that are constantly hiring, resulting in a solid amount of hiring opportunities even for the part of the crowd that's a bit pickier.

People are leaving Croatia in general, though, and the tech community isn't immune to that. Lots of people moved to other EU countries, and although that's not unexpected at all, I believe it's left a dent within all of the above.

If you decide to visit, give me a shout. :)

nikolaplejic··on Font Awesome 4.1 released
The kind folks at bootstrapcdn.com host FontAwesome as well (seems like 4.1.0 is already up): http://www.bootstrapcdn.com/#fontawesome_tab
nikolaplejic··on Generate QR codes with DuckDuckGo
No - DDG simply redirects your query to Startpage. For me, it's just a convenient way to reach out to Google when DDG doesn't cut it.
nikolaplejic··on Generate QR codes with DuckDuckGo
You can always use "!s" to fetch the results through startpage.com, which anonymizes your Google query.
nikolaplejic··on Forge - Static hosting made simple
Isn't your source already public if all you do is host static pages?
nikolaplejic··on Show HN: Introducing Harp – A static web server with built in preprocessing
A service like that was recently featured on the front page: http://www.squaresend.com/. Several similar solutions and products were mentioned in the discussion at https://news.ycombinator.com/item?id=6468113.
nikolaplejic··on Bike - phpMyAdmin replacement for geeks
phpMyAdmin has that feature as well. I noticed it a few weeks ago as I've never paid much attention to it, but it's there and it works.
nikolaplejic··on Poll: What's Your Favorite Programming Language?
They don't really work at the type system level, but Code Contracts (http://msdn.microsoft.com/en-us/devlabs/dd491992), though quite verbose, may be used to achieve that to a certain degree. The integration with Visual Studio is decent and the documentation is great, but they are designed to provide a whole design-by-contract framework which may be an overkill.
nikolaplejic··on Amit Gupta hasn't found a marrow transplant match; today's your last chance.
(Disclaimer: I am not a doctor, but was closely present during a long lasting treatment of acute myeloid leukemia with no suitable donor in sight.)

To help folks suffering from leukemia in general, join your local bone marrow registry. Transplants can vastly improve the patient's chances of survival, and the typization process you need to go through to join is painless and harmless. But, more importantly: if they find you a match, do not back down. I've heard of cases where the potential donors got scared and gave up upon receiving the phone call.

There are two types of transplants used in treatments: stem cell and bone marrow transplants.

Stem cell transplants are relatively painless -- it's not entirely unlike dialysis for one's blood. Bone marrow transplants are far less trivial, requiring general anesthesia and a couple of days in the hospital. They are are, from what I could gather, far less common and more dangerous.

Also: when / if you join, try to talk all your friends into joining as well. :)

nikolaplejic··on Why every programmer should have a Tiddlywiki
Depending on your text editor of choice, vimwiki (https://code.google.com/p/vimwiki/) could be what you're looking for. It stores all data in plain text files which can easily be versioned in your VCS of choice and/or stored in a Dropbox folder. I've been using it for a while now, works like a charm.
nikolaplejic··on Google Reveals Its Stealth Social Project, Google+
Last time I checked, you could only see the names of your friends in Facebook's profile export archive -- there were no metadata whatsoever (e.g. IDs or profile links). I don't think names themselves are enough to port your social graph.
nikolaplejic··on The Linux desktop experience is killing Linux on the desktop
There is TuxMobil (http://tuxmobil.org/), which is trying to be a repository of installation & configuration guides for various mobile devices. It was very useful to me in the past, but it doesn't seem to be up-to-date anymore.
nikolaplejic··on Simple algorithms
I really like the simplicity and the choice of language. I think a comments / discussion section would be useful, for people to ask questions, talk about the ways to make the articles even better and perhaps translate the code to other languages.

All in all - I hope you keep up the good work, solid tutorials like these make it more compelling to keep up with the basics and learn new things from the "CS 101" department.

nikolaplejic··on Bag of hurt
I feel it has the same moral implications like torrenting while being much more difficult to set up.

It's sad and frustrating - a while ago I spent a couple of hours searching for a legal way to buy music from a Finnish band I really liked, and each and every service was geographically restricted (I'm from Croatia). A couple of clicks on your torrent index of choice, and there was the album in its full glory. The Industry(tm) should really learn a thing or two from the "evil pirates".

nikolaplejic··on Developing and Deploying ASP.NET MVC Applications On Ubuntu with Mono & nginx
Thanks for the comment.

I may have done Mono some injustice - it's actually not that hard. The toughest part is installing the latest Mono stable, and that's more of an issue with Ubuntu than with Mono. If you choose another distribution (SuSE and Arch come to mind), you could probably make your life a lot easier as they have more recent versions in their repos.

If you can stay away from the bleeding edge and don't have to install the latest version yesterday, the Badgerports repo solves the first part of the article for you, and you're left with configuring nginx and XSP's FastCGI server which is more-or-less equivalent to any other FastCGI setup with nginx.

I do think it could be easier than it is, but it seems to have more to do with the Ubuntu/Mono relationship than anything else.