Better HN
topnewbestaskshowjobs
Log inSign up

selectnull

2,376 karma · joined Nov 25, 2010 (16y ago) · 453 submissions

I write software, mostly Python guy, have love/hate relationship with JavaScript, love exploring programming languages.

Email: sasha@selectnull.com

meet.hn/city/45.3267976,14.442208/Grad-Rijeka

Socials: - bsky.app/profile/https://bsky.app/profile/selectnull.com - github.com/https://github.com/selectnull

Interests: Networking, Programming, Web Development

---

Submissions

comment 10y ago · link · parent

Last year I wrote my own Vim plugin manager vimanage [1] that uses Pathogen and was wondering if it will still work with Vim 8. Apparently both Pathogen and vimanage work (meaning Vim didn't break the backward compatibility) but I like the idea of losing the dependency to Pathogen so I guess I have some work to do.

[1] https://github.com/selectnull/vimanage

comment 10y ago · link · parent

927 was also my first thought. But what made me to reconsider was not more than one big name behind it (but it helped), but the fact that they rely on npm backend and did not reinvent everything from scratch.

Basically, yarn is npm client done right reusing the same npm package repo.

comment 10y ago · link · parent

> There's a common expectation when looking for great developers that they need to be "passionate" about coding, which is often equated to coding long hours.

I have always considered myself passionate about programming, CS, the tools I use... and early on realized I don't like working long hours. I don't mind crunch modes but I require breaks after them.

Lately, I've been experimenting with 4 hours workdays. And in those 4 hours I am passionate about my craft. After that, I rest (and do other tasks).

And I'm okay with that. If someone is reading this and has issues about their own working hours and feel they may be seen as "slackers" because of the prevalent industry expectations, my advice is you do some soul searching and find what's best for you.

comment 10y ago · link · parent

It's already been discussed on HN, see https://news.ycombinator.com/item?id=12235789

215.

Clay Shirky on tech and the internet in China (podcast)(supchina.com ↗)

1 points · by selectnull · 10y ago · discuss

216.

Ask HN: Is fixed-price membership for freelancers job marketplace a good idea?

1 points · by selectnull · 10y ago · discuss

comment 10y ago · link · parent

Yes, a valid point. But you can make the same argument against anything really.

Do you know what your language is doing in the background? Or your database? Or your web server? Or kernel? Or your CPU?

To tell obvious lies about node_modules in particular, IMHO, does not serve any purpose in raising the awareness about that particular problem.

comment 10y ago · link · parent

http://www.hammerspoon.org/ to automate and script your desktop with Lua

comment 10y ago · link · parent

That would be outrageous... if it were true.

There is no yummy when you npm install express and even if there were, the code shown would certainly not like a tweet as the POST is not authenticated.

And the author has described himself as "JavaScript clickbait enthusiast."

A joke? Bad one?

comment 10y ago · link · parent

Few days old, see https://news.ycombinator.com/item?id=12073675

comment 10y ago · link · parent

Sure, try it. It might work better than my version. I do have some other ideas for this problem (usually, i just want to fast switch between terminal and browser) but I'd like to see what other people come up with.

Let me know if you make something.

comment 10y ago · link · parent

Hammerspoon is awesome, I've been using it for quite some time for just few basic tasks (like move a window from one monitor to another), but those have become irreplaceable part of my desktop experience.

Recently I've made this hammerspoon "plugin": https://github.com/selectnull/hammerspoon-alttab

I would love to have feedback, if anyone is interested (it's not perfect, i'm aware of few bugs, but it solves my problem most of the time).

comment 10y ago · link · parent

Around 700. It was 10 years ago so I don't recall the exact number. We were regularly writing queries with more than 15 joins...

224.

Apple patents tech enabling police to prevent iPhones from filming police abuse(privateinternetaccess.com ↗)

2 points · by selectnull · 10y ago · discuss

comment 10y ago · link · parent

SEEKING WORK - Remote. Based in Croatia.

Primarily Python/Django developer with 8 years of experience in web development, restful APIs and relational databases. I can do Javascript/Angular frontend, but consider myself backend developer.

In the past, worked a lot with Windows, both native and .Net

Available for 4 hours a day.

GitHub: https://github.com/selectnull Email: sasha@selectnull.com

comment 10y ago · link · parent

> If you dive into the bug, you tend to fix the local issue in the code, but if you think about the bug first, how the bug came to be, you often find and correct a higher-level problem in the code that will improve the design and prevent further bugs. -- Rob Pike

Sometimes, the bug is local. And in those times, debugger is excellent tool.

comment 10y ago · link · parent

I upload them to Google Cloud Storage.

comment 10y ago · link · parent

If all other things are equal, Linux. Unfortunately, things are not equal.

I prefer Linux over OSX (actually, I think that even Windows is better desktop environment than OSX). But I really love my Macbook Air, it's the best machine I've ever had. Under OSX it runs smooth, it rarely spins up the CPU so it's silent, never overheats. Under Linux, not so much. As a consequence, the battery under Linux drains considerably faster.

So in the end, I've adjusted to OSX, I don't like it but I've learned to live with the annoyances (which are subjective anyway). My time is mostly spent in the console/browser and iTerm2 is really great terminal so in the end, I've come to the conclusion that installing Linux on Macbook is not worthwhile (and I've thought about it a lot).

229.

As horrible as Internet surveillance is, the alternative could have been worse(privateinternetaccess.com ↗)

5 points · by selectnull · 10y ago · discuss

comment 10y ago · link · parent

> Can they legally do this?

You should ask lawyers in your country about that.

> Isn't my browser sending each visited-domain's cookies to my ISP now?

Yes, but that's not different even if they didn't hijack your sessions. Everything goes thru your ISP, so in any case, they see everything (not just cookies) that goes thru http.

> Doesn't this pose a security risk?

Yes.

> I have no idea whom to complain to.

As first measure, complain with those sites and ask them to implement and enforce TLS and move all traffic to https. That way your ISP doesn't see your traffic and can not MITM you. Then, complain to your ISP or even better find new one (after you complained to them, vote with your money).

Btw, TLS is really first solution (but not the only and last) to this (and many other) problems on the web.

231.

Secure Websites Shun HTTP Public Key Pinning(news.netcraft.com ↗)

45 points · by selectnull · 10y ago · 29 comments

232.

Replacing EAV with JSONB in PostgreSQL(coussej.github.io ↗)

3 points · by selectnull · 10y ago · discuss

comment 10y ago · link · parent

For those who might not be aware, the highest SSL Labs grade is not A, but A+.

To score A+ you must score A and additionally set HSTS headers with long duration (I use 2 years, haven't tried with less). For example, with Nginx you use something like:

    add_header Strict-Transport-Security "max-age=63113904;";

comment 10y ago · link · parent

Personally, I've never been bothered by any of the issues solved here. On the other hand, I miss dates and datetimes everyday...

comment 11y ago · link · parent

You might not like G+ but it IS innovation. Everything one does in slighly different way is innovation, if you don't want that, you would have to abandon pretty much everything except wheel and fire.

I also don't think that creator's ego is a factor in product's success. There are many egotistical entrepreneurs with successful products. People might not like creators, but they like the product.

So isn't the best strategy to let the market determine if something is worth it or not? I'm sure G+ has got its valuation...

comment 11y ago · link · parent

He's following NSA (https://twitter.com/NSAGov).

237.

The Banach–Tarski Paradox [video](youtube.com ↗)

51 points · by selectnull · 11y ago · 36 comments

238.

Multiple Accounts, Teams, New Plans and New Features(blog.dnsimple.com ↗)

1 points · by selectnull · 11y ago · discuss

239.

Show HN: Vimanage – manage your Vim plugins for pathogen(github.com ↗)

1 points · by selectnull · 11y ago · discuss

comment 11y ago · link · parent

I've used and been happy with https://getssl.me/
1
789
16