HNHacker News
TopNewBestAskShowJobs

ivanhoe

4,348 karma · joined January 24, 2011

Full-stack web dev, working in the field for more than 15 years (worked a few years in Delphi and C++ before).

Nowadays I mostly consult startups, helping them with app architecture and planning for performance/scalability, or act as a team leader on small to medium sized projects. Prefer smaller companies/teams, and remote work is a must.

I've spent quite a lot of time working on integrations and fixing the issues with custom written apis and systems, usually with outdated & undocumented code, and thus over time I've developed very versatile set of skills and got very good in figuring things out, learning fast and working independently on complex setups.

Most of the time I work in PHP (prefer laravel or symfony) and javascript (jquery, knockout, angular 1.x, vue, react, node), but I've also got tons of experience with fixing advanced CSS issues, as well as a fair amount of devops skills: linux administration, apache/nginx, advanced mysql (query optimization, high-performance, scaling, administration) and AWS, ansible, etc. I've used perl a lot before, and now use ruby/RoR from time to time. I've worked on a number of projects with postgresql, redis and mongodb as well. And at some point in time I've also spent a lot of time writing custom themes/plugins for Wordpress (not my primary interest anymore however).

You can find me on twitter: @ivanhoe011, feel free to DM me there.

submissionscomments
ivanhoe··on The new HTTP QUERY method explained
Hey, remember what Larry said, there's more than one way to do things ;P
ivanhoe··on The Dilbert Afterlife
Perhaps she just had a good sense of humor? It's a great movie after all..
ivanhoe··on The 600-year-old origins of the word 'hello'
I'm confused that, speaking of origins, they don't mention at all Spanish "hola", having literally the same meaning as hello?
ivanhoe··on Homemade AI drone software finds people when search and rescue teams can't
It'd be impossible to limit the use of drones to just recovery, some people would use them for tracking down the animals which is a horrible idea to allow.
ivanhoe··on Common mistakes when using the metric system
In ex-Yugoslavia countries using gr (usually without a dot) for grams used to be a fairly common thing. Last few decades as EU standardization takes place it's a lot rarer to see. Also in Croatia in everyday life people will far more often use decagrams (10g), shorten colloquially as 'deka', than grams - which leads to even more confusion because the SI abbreviation for decagrams is dag, not dg (which is decigram, 0.1g), and it's often mixed - even some primary school books had these typos.
ivanhoe··on Soft Deletes with Ecto and PostgreSQL
Also makes UNIQUE indices much harder to use. You can't just delete and later re-insert the same data, you need to "undelete" it instead, but that can actually mess up the chronology of the data, so then you need a separate table to track dates... and things just get over-engineered quickly...
ivanhoe··on Soft Deletes with Ecto and PostgreSQL
> For example, you don't soft-delete a customer row, you "deactivate" a customer

I'm all for naming things more precise, but functionally speaking at that point it's really just semantics, you still end up with some DB column acting as a flag, and from then on you need to take it into account in every single query that touches that table in the whole app. Since most modern ORMs know how to handle soft-delete internally, it's far easier to just stick to the defaults and use `deleted_at` if you really need a way to keep the records around. And you often need, for the referential integrity of the historical data.

ivanhoe··on Vikings in al-Andalus and the Maghreb
Yes, but I believe it was Latin, not Greek (Constantinople was a capitol of Easter Roman Empire, and they used both Latin and Greek). Latin term Sclavi that meant Slavs started to be used for slave servants, because there was so many of them.
ivanhoe··on Vikings in al-Andalus and the Maghreb
Well, they were basically a highly-mobile light cavalry/archers combination, so while they progressed very fast they were not spending much time sieging heavily fortified cities or going into mountains and other hard to cross terrains. Also it took Europeans a while to learn how to fight them efficiently, but eventually they did figure out that European heavy cavalry is a good match for them. So it's not they were "unstoppable", they simply avoided hard targets, and pillaged the villages and other less defended areas, and moved quickly through disorganized European kingdoms fighting each other.
ivanhoe··on Vikings in al-Andalus and the Maghreb
> these poor people served as a "buffer" against the Mongols, saving Europe from the slaughter ...

You mean saving Western Europe :)

Mongols ran over (and did a lot of slaughter in) the most of Eastern and Central Europe, including Poland, Czechia, parts of todays Germany, Hungary, Bulgaria, Croatia and Austria. There was no "buffer" that stopped them, they've stopped eventually because their Great Khan died. As the leadership broke down and fights for power arose, they've been forced to return back home.

ivanhoe··on Vikings in al-Andalus and the Maghreb
You reversed the timeline a bit.

Varangians came primarily from todays Sweden, and were initially going inland into the today's Estonia, Belarus and Russia from north, from the Gulf of Finland, using rivers. The group of them called Rus under the leadership of Rurik created Novgorod in 862. About 20 years later they've also conquered Kiev (some 900km more to the south). They were initially raiders, but over time they've conquered the local Slavs, established their rule and became very important traders, as they've created the trading (and also slave) routes all across the continent from the Baltic in the North down to the Black Sea - using huge rivers like Volga and Dneper - trading in south with Byzantin empire and Abbaside Caliphate. It was one of the main trading routes between West/North Europe and Arab world of that age.

And as their presence grown stronger, the Rus started more frequently raiding the Byzantin Empire, sacking even the big Constantinople a few times. To stop these attacks, in 10th century the Byzantines did the same move as king Charles the Simple did in Francia with Normans, they gave Varangian leaders some titles and employed them all as a royal guard. Problem solved.

And then, as you've said, the viking era was over, and they assimilated into the Slavic population (just like Bulgars and others did).

Another interesting note, the Rus ethnonym also got into many Slavic languages as a word for fair blonde or reddish-blonde hair ("русая" in Russian, "rusa" in Serbian/Croatian, etc.). In Serbian 'rus' was historically used in folk language with a meaning 'red', for instance for skin rush, names of some herbs, etc.

ivanhoe··on Horses may have been domesticated twice
Thank you for this, had no idea :)
ivanhoe··on Waymo One is now open to everyone in San Francisco
How do you remotely detect if car stinks or not?
ivanhoe··on Aster shootdown over Sydney in 1955
I love this part: One of the other pilots on the mission was reported to have radioed Foust during his descent by parachute that "you'd better get back in it!"
ivanhoe··on Bolivia's little-known African tribal kingdom (2021)
Yeah, that one confused me too. Visiting Chernobyl was mostly a walk in a park, as no other people around and forrest slowly taking over everything. Honestly, it felt way safer than big cities in Ukraine to me - hell, even safer than big cities in my own country :)
ivanhoe··on Bolivia's little-known African tribal kingdom (2021)
It's definitely not "relatively safe" in what I as a European would consider a safe place - although I was told it got a lot better in the last decade. If you look like a rich tourist than you need to be careful, like pretty much anywhere in S. America. However if you present yourself as a nomad hippie looser with nothing worth the trouble of messing with you, you can go around and probably you'll have no big problems, but still requires a bit of common sense in interaction with people. And speaking at least some Spanish. It's not that people are not friendly, they're just poor, and the line between being friendly and hustling you is very thin.
ivanhoe··on Horses may have been domesticated twice
Well no one ever organized a horse fights, but bull fights were quite popular through-out the Europe. And even goats are far from friendly, unless they're accustomed to having a lot of people around. Pretty much any farm animal that's used to being handled by one or two people max, will be very shy and sometimes aggressive (especially when they have babies) about any new face. Smaller animals reaction will be to run away form you, but large ones will stand and fight. And when a cow lowers its head to show you the horns, it can get pretty tense, believe me :)
ivanhoe··on Horses may have been domesticated twice
There's generally a lot more large wild animals in Africa than anywhere else in the world.
ivanhoe··on Horses may have been domesticated twice
Wolves are more aggressive than dogs, but can be successfully domesticated and kept as pets... can actually be quite friendly with humans, especially female wolfs as they're a lot less competitive/aggressive than males.
ivanhoe··on Horses may have been domesticated twice
It's the same as saying humans can't be trusted. Of course you can trust some humans, and of course you can trust some dogs. Just first make sure... my dog took so much "torture" from my kids, and yet they were inseparable. Would I trust some random dog on the street? Of course not...
ivanhoe··on Show HN: Original 8x16 ASCII Fixed Width Font: Classic Console Neue
CRT image is an analog signal so it always has those little imperfections, especially as the screen ages and phosphor matrix gets burned, and there's dust settling so all dissipation curves change slightly, and each analog electronic component on the board had it's own tolerances that changed over time, and then EM noise from environment and power grid was also leaking - all of that slightly affected timing and precision of the beam. It's not just that it's super hard to digitally emulate that, but even back then no 2 CRTs were giving 100% the same image, especially after a few years of being in use.
ivanhoe··on Things you wish you didn't need to know about S3
> That's how it should be

Why exactly? I'm not aware of any benefits of filenames being case-sensitive, it just opens a room for tons of very common mistakes that literally can't happen otherwise. It's not like in coding where it helps enforce the code style and thus aids readability - and even in programming it was a source of PITA to solve bugs before IDEs became smart enough to catch typos in var names. One thing I loved in Pascal the most is that it didn't care about the case, unlike the C.

ivanhoe··on EU countries must implement right to repair laws within two years
> I think the internet has broken people’s brains.

I agree, but what I see as a result is this paranoia that there's a conspiracy and something sinister in absolutely everything.

ivanhoe··on Show HN: ChatGPT UI for rabbit holes
I really like this.

How about enabling user to select any piece of text and use it the way the links work now?

For instance, I've noticed it doesn't linkify peoples' names, and one thing I love on Wikipedia is that you can easily lookup people mentioned in the text. So, rather than having thousand links in the page, it would be handy if I could just select the name in the text, click some button (or right-click menu item), and get the new prompt based on the selection (user having to click a few extra times for this custom use-case wouldn't be a problem IMO)

ivanhoe··on FrankenPHP: Modern PHP App Server
You can do that or something similarly bad in pretty much any language if you have write access to where the files are. That's really a server misconfiguration problem, not php problem.

Huge misfortune of php is that because of the timing and huge popularity in relatively early days of web it got to be permanently associated with amateurs doing stupid shit. I was part of that early era, so trust me that php4 as bad as it was, was still fantastic compared to writing CGI scripts in C, or running mod_perl that you had to restart every time you edit some file.

ivanhoe··on TTE: Terminal Text Effects
Nothing like typing in an ssh prompt and each time you press a button on the keyboard you have to wait a few seconds for the char to appear on the screen, because it has to go to the server and back first... that't the true "blind typing" :)))
ivanhoe··on Twitter is now attention roulette and ultimately meaningless
Can't edit the above post anymore, so let me write it here: After writing all this in the post above I've went to check the twitter (as I usually do) and it's set back to For you recommendations... so yeah, now I get why ppl say it's broken... though it's not really broken, it's just evil and really annoying...
ivanhoe··on Twitter is now attention roulette and ultimately meaningless
My experience is different, perhaps because I follow people from both Europe and US (and some in Australia and Asia), so around the clock I always have 10-20 new tweets to go through, which is just as much of social noise that I have time for anyway... but it's still the most reliable source of information for my home country daily politics (because local media is censored heavily) and also gives me a good bird-view on what's going on with web-dev and AI industries (my primary professional interest). I have accounts on all alternative platforms, but none is giving me even nearly that good signal/noise ratio...
ivanhoe··on Twitter is now attention roulette and ultimately meaningless
I don't want to sound arrogant, but they really need to rtfm.

There's a tab Following in the top and it shows people that you follow and their activity. I use it daily and haven't noticed anything of what they describe.

Now, there are other problems obviously: one is how aggressively Twitter was pushing their "recommendations", so for a while the app used to switch back to recommendations without asking for permission, which was really a douchebag move, but you just switch it back to Following tab and timeline again works fine. I haven't noticed this lately, so it could have also been just a bug they've fixed. Another issue is that they mix notifications from "friends of friends" (in Facebook lingo), which also can suck as sometimes ppl you follow happen to follow idiots (¯\_(ツ)_/¯), but you can just block annoying people and after some time trash filters out.

So it's far from perfect, but on the other hand it's not that big drama as some ppl try to present it, honestly. At least for my needs and my circle of online friends and interests...

ivanhoe··on The t-test was invented at the Guinness brewery
> Every country was a utopia until the British and French got there?

Nope, but you can bet that in every single case it got way worse when British, French, Spanish, Belgians, Russians, Italians, Venetians, Turks, etc. occupied them by often unspeakably brutal use of force, and then exploited their natural and human resources while giving close to nothing in return.

Page 1 of 34Next →