Better HN
topnewbestaskshowjobs
Log inSign up

avshyz

58 karma · joined May 25, 2017 (9y ago) · 22 submissions

Submissions

comment 7y ago · link · parent

"The chains of tormented mankind are made out of red tape" - If Kafka were to live today, he'd write about AI bureaucracy.

comment 7y ago · link · parent

Jesus, I've just realized it's the author of the best numpy tutorial I've ever read! https://www.labri.fr/perso/nrougier/from-python-to-numpy/

comment 7y ago · link · parent

>it may be worth looking into whether or not your reasons for using Chromium for the devtools are simply habit

After deciding that life's too short and that I really should give it a try - I've found out that source maps doesn't work on Firefox's dev tools. Back to chrome.

comment 7y ago · link · parent

Anyone who still uses VSCode, probably haven't read about all the features IntelliJ and its ilk offer. The local history, for example, and its integration with the test runner (knowing at which point of your editing process your tests started to break) has saved me a tremendous amount of time. (I've accidentally erased changes that were uncommitted with a stroke of a `checkout -f`, and managed to save hours of work with that feature alone.)

comment 8y ago · link · parent

I used to use containers all the time (tab groups per activity/mind state is a thing I've always craved for) But they're buggy. Really buggy. Twice I've lost a trace of all the containers and tabs that were open (over 40).

comment 8y ago · link · parent

Honest and naive question: what does office politics actually means? I'm 25, I've been working for my company for two years, after working as an IT in the military for five. Can you elaborate?

comment 8y ago · link · parent

Thanks mate!

comment 8y ago · link · parent

I'm pretty sure I've seen somewhere a JS implementation of an enigma cracker...

comment 8y ago · link · parent

I understand your concerns, to be honest. Please don't think I'm a sociopath, or a "player". I've just had too many bad experiences in this site (at one point a date told me that maybe the reason I'm not really experienced in relationships is because my parents' divorce "screwed me in the head"), have been verbally abused (Someone in the site told me that the fact I've sent her a message tells her I live in a fantasy). I've wanted to quit, but I'm shy. So shy, it feels as if this site is my only alternative. I've tried to contact okcupid's support team - I wanted them to ask them to add the options to filter out empty profiles, to reflect uncertainty in their matching algorithm (I oft see a profile with 90% ranking, only to see it's based on TWO answers!!), or to add the options to filter on the personality traits that are important to me (OKCupid allows you to filter based on people's personality traits - such us "sexpirience" or political inclinations, but they didn't allow that on traits important to me, such as "nerdiness" or "literacy" - even though they tag profiles matching these traits. They just, for reasons beyond me, don't allow you to filter that in the search page) They've refused. So I've decided to do their job, for my sake.

I'm also not taking it too seriously. This is my pet project (I'm not obsessed with it), and a place where I channel the negative residue that sticks to me from logging into that site.

I don't keep it disclosed, Aù contraire, I write that plain on my profile "I use a JS script to filter out empty profiles". Most of the people that send me a message in OKCupid don't even bother reading my profile (even though I've kept my it brief). And the ones who do find it amusing, and interesting.

comment 8y ago · link · parent

It's still coarse, but once I'm done it'd be awesome!

comment 8y ago · link · parent

People like you are the reason I haven't called it a day, and quit from that site

comment 8y ago · link · parent

Certain requests returned errors unless I've fetched them in the browser's context (pretty easy using using puppeteer). I've also been throttled. My password was reset after an aggressive scrape and I was prompted with a mail stating my account's behaviour's suspicious.

The solution was, obviously, to make my scraper run slower. :)

comment 8y ago · link · parent

I'm 25, and single. I'm very social, and I work out regularly. But I find it hard to approach women in the street, and I've always detested loud pubs (My hearing is slightly impaired, which makes it hard for me to communicate in such a place). So I've decided to sign in to OKCupid. I've always heard the dating scene in this site is toxic, but I've had no idea. I've too many toxic and horrible things written plainly in some users profiles ("I date only men with cars, I find it important to date gentlemen", "If you're of middle eastern origin - don't even bother sending a message") and been verbally abused in personal messages ("It's funny you've thought you have a chance with me", or another who've said "The only chance you've got with me is if your penis is 15 inches in length"). I was told I need to walk it off and don't let it get under my skin. But I can't. I've thought about quitting more than once, but the alternative is a status quo I've grown to hate.

But I'm an engineer, so I've decided to automate my OKCupid experience.

Using node & puppeteer I've run a histogram, it showed that in my country, 75% of the profiles are almost completely empty (less than 10 words). I used to manually dislike these profiles (as they'll keep coming back in the search results until you dislike it), but now my script does it for me. The next thing I've done was to sort these profiles - I give higher priority to profiles that have a longer word count, that features keywords I prefer ("fascinating", "studying", "reading", are words that I catch my attention).

It used to be a very basic script, but every negative and toxic encounter has motivated me to keep it going. Right now I'm working on building a frontend to show the script's results. I'm planning on showing "suggested openers" based on the questions the potential match has said or mentioned and adding NLP features (such as sentiment analysis).

comment 8y ago · link · parent

Well, think about the @ operator in python. It's aimed solely at people who use numpy.

comment 8y ago · link · parent

Agreed! that's really interesting and I've had no idea these it happened.

16.

Ask HN: What does your grandparents remember from WWII?

5 points · by avshyz · 8y ago · 6 comments

comment 8y ago · link · parent

Is there anything wrong with being patriotic? By being proud of your culture?

Yeah, I puff my chest when I think of my personal achievements. But that doesn't mean I don't feel a sense of pride when I read I piece of text written thousand years ago in the same language I speak today.

There's nothing wrong with being proud of being a part of something, as long you don't disparage others. But I guess it's easier to think in collective terms when you're born of a minority that for the larger part of history was oppressed.

comment 8y ago · link · parent

Disraeli said that in the quarrel as a response to O'Connell who've referred to Disraeli's Jewish ancestry in disparaging terms.

Put things in context, mate.

comment 8y ago · link · parent

Hi, I'd like to chime in. I'm Avishay, I'm a secular Jew from Israel. I'd like to say it's not an infatuation with our genetic material. Far from it. (enter an obligatory nose joke here)

It's being impressed our ancestors have been holding on to a religious and cultural identity for two thousand years. Years in which they were were a minority in different countries, spoke in foreign tongues, were forced to denounce their Judaism, and sometimes were haunted without even that choice.

It's that as a modern Hebrew speaker, I can pretty easily read a piece of text as the Bible - written thousands of years ago. And that even though my ancestors were from Syria, Iraq, and Morroco - they shared the same ethos as the jews from Hungary, Germany, and Russia.

Although, being a Viking is also very cool.

comment 8y ago · link · parent

The worst thing about go, it's its dev community. Anyone who claims otherwise probably hasn't read any of the GitHub discussions (things like this https://github.com/golang/lint/issues/65 are pretty common; when users are being told they don't understand how amazing Go is.)

comment 8y ago · link · parent

That's because you (probably) haven't used a modern text editor.

If you'd follow either chrome's or firefox's changelog you'd also read about constant progress in optimizing their browser engine and dev tools.

comment 9y ago · link · parent

still no generics :(