HNHacker News
TopNewBestAskShowJobs

xentronium

2,418 karma · joined April 11, 2010

Rubyist from Russia.

email: me@markabramov.me

submissionscomments
xentronium··on The surprising cleverness of modern compilers
Clarification: clear (not get) the least significant bit.
xentronium··on China’s scary lesson to the world: Censoring the Internet works
Russia doesn't have direct censorship, however all mainstream media is nation-controlled. Also there is an internet censorship registry/banlist that blocks some of the opposition media for "exremism".
xentronium··on jQuery 3.0 Release Candidate
I think HN auto-capitalizes the title.
xentronium··on Spectre.css – a lightweight, responsive and modern CSS framework
Grid broken on mobile? For me all the col-xs-* cells take whole screen width instead of e.g. one quarter for col-xs-3

Xiaomi note 3 / chrome

xentronium··on Double-ended vector – is it useful?
> Second, absolute timings don't matter here, only relative timings do, so showing absolute time on the Y-axis doesn't really make sense. Instead, I would use percentage from a baseline of one of the data structures. I think choosing the "deque" line for that purpose would make the most sense, given that it's the standard data structure from double-ended access.

It's useful to measure the real asymptotic complexity.

xentronium··on Blue. No, Yellow
I disagree. Many programming languages are here just because they're good enough, not because they are perfect. For example, C is a good enough systems language. However, when compared to Rust, it's worse at most important criteria, including being more error-prone and less expressive (it's absurdly simple, though). Now you say there's nothing to win, but to me the advantages are obvious: I can avoid several classes of critical vulnerabilities and at the same time not substantially lose any performance.

How would that be possible without search for the holy language grail?

xentronium··on Blue. No, Yellow
Maintainability is tricky to measure and tricky to achieve. My experience is it's more dependent on proper management, processes, discipline than on language traits, however, I agree that it's much easier to shoot yourself in the foot using highly expressive languages.
xentronium··on Blue. No, Yellow
Expressive does not always mean "unnecessary clever", having less boilerplate is enormous advantage by itself. Consider that java until very recently didn't even have lambda expressions.

You might say: but IDEs help with boilerplate! True to a point. Someone still has to sift through the tons of unnecessary generated LOC crap just to get to the issue at hand.

Again, I'm not writing this to bash on java, I'm simply trying to show that search for "holy grail of programming languages" is far from fruitless, and it fills me with joy when I see more languages being developed and tried in different niches (clojure, rust, go, elixir — these are all different and awesome at the same time).

xentronium··on Blue. No, Yellow
This post is a great oversimplification. Normally something like that could be ignored to get the bigger point across, but it kinda is the point, so I call BS.

Have 10000 experienced ruby programmers and 10000 experienced java programmers solve different tasks. I'm pretty sure that rubyists are going to solve their problems using 50% less time with at least 30% less LOC just by the virtue of having a more expressive language. Now I'm not trying to argue that ruby is strictly better than java, I know both languages' deficiencies. However, the metric author uses is development time, and by that metric more expressive languages will always win, hands down.

xentronium··on Please don't send me smart replies
Just don't let bioware design the responses.
xentronium··on 2016 ACM International Collegiate Programming Contest Scoreboard
I can confirm. Itmo normally has at least 3 equivalent teams at any time that compete against each other during the regional stage. There are also specialized study groups and slight preferences (exam and schedule-wise) for those who are serious about competing in team contests.
xentronium··on After a year of using Node.js in production
> Bookshelf.js/Knex

After ruby orms, Bookshelf felt very, very underdeveloped. Anything I tried to do beyond "hello world" only brought me pain, especially dealing with associations, but honestly just about everything. I guess I've been spoiled, but getting anything done in express/bookshelf combo seemed like a chore.

xentronium··on Dark Patterns by the Boston Globe
It's simply an umbrella term for similar deception practices.
xentronium··on Babushka – Test-Driven Sysadmin
Technically the toy is called matryoshka, babushka is Russian for grandmother.
xentronium··on Russian photographer matches random people with social network photos
FindFace is a very interesting piece of technology. It's legit (the authors, N-Tech.Lab, have successfully competed against google and other strong opponents in MegaFace Benchmark). It's not real-time, but fast enough (0.5-1.0 minute time required to recognize faces and provide their profile links). Their business model is freemium (first 10 or 30 searches per month are free), and they're trying to make it a matching service, you can narrow search by age and relationship status, and then you can like photos of people you find to allow searching for "your type" of partners.
xentronium··on Online Dating and the Death of the 'Mixed-Attractiveness' Couple
I don't see why the trend described in the article shouldn't apply to other forms of online dating/matchmaking as well. "But I have a wonderful personality" will know no one ever, as long as your mug is ugly.

Consider this: at least in the bar you have your chance to make a good impression. In online dating you're one click away from being ignored forever.

xentronium··on Ask HN: Is it worth paying for a Coursera course?
I think some optimizations are still possible based on likeliness of conditionals.

http://stackoverflow.com/questions/109710/likely-unlikely-ma...

xentronium··on How we get high availability with Elasticsearch and Ruby on Rails
Seriously depends on the structure of the documents and your analyzer setup. I agree that it should be in hundreds recs per sec though.
xentronium··on Losing Money
That notation doesn't really make much sense though, since MM is roman for two thousand.
xentronium··on How to reduce the cognitive load of your code
And then you add `isCurrentlyAllowedToReadPosts = baz` and all your nifty formatting breaks.
xentronium··on NPM and Left-Pad: Have We Forgotten How to Program?
Tree shaking.
xentronium··on Add Reactions to Pull Requests, Issues, and Comments
But there could already be a reasonable explanation for -1 vote in the thread. Are you suggesting to repeat it or write "agree with @foobar on his comment"? That's more noise.
xentronium··on Add Reactions to Pull Requests, Issues, and Comments
Heart is probably a supersized +1 for pull requests and a nod to Aaron Peterson.
xentronium··on “Adobe is aware of a report that CVE-2016-1010 is being actively exploited”
Most browsers have a sandboxed pdf reader implementation. What are you afraid of?
xentronium··on How undefined signed overflow enables optimizations in GCC
Oh, you're in for a surprise.

http://blog.robertelder.org/signed-or-unsigned/

xentronium··on The reason why we get sick when mixing alchohol
> beer before liquor, never been sicker, liquor before beer, you’re in the clear

Interesting fact: in Russian tradition, if people do mix drinks, they usually do it in the opposite direction: from lower alcohol content drink to higher.

xentronium··on “We will end development on Firefox OS for smartphones after the 2.6 release”
I agree, email from mozilla would be a killer. I'd pay for it.
xentronium··on “The evidence suggests I was completely wrong about UK tuition fees”
Also lots of jobs require higher education when they shouldn't as a result of this "education overabundance".
xentronium··on The Command Line Murders
Wasn't it a bit too short though? I was kinda surprised when I found out I have neither suspect in custody, nor any hard evidence except the one I received initially.
xentronium··on PayPal and zero-dollar invoice spam
> @AskPayPal: I recommend deleting that tweet, it has your personal info

> @troyhunt: It has my email address – I get email by sharing it with people who might want to send me email!

This is golden. Hilariously incompetent tech support trying to make someone delete the tweet complaining about their spam.

← PreviousPage 2 of 29Next →