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 6y ago · link · parent

8) date types

comment 6y ago · link · parent

Direct link to Neil's web: https://www.haydenplanetarium.org/tyson/commentary/2020-06-0...

183.

Bitbucket to GitHub migration bash scripts(github.com ↗)

1 points · by selectnull · 6y ago · discuss

comment 6y ago · link · parent

Personally, I'm against "all strings should be f-strings" just because it would cause changes to source code that I don't find necessary.

When Python 3.0 came out, u"" prefix was abolished and every u-string had to be changed. That change was found later to be a mistake and was reverted (I'm not sure what python version reverted it, somewhere around 3.3 I think). This proposal reminds me of that: change that seemingly sound good at first, but is simply not worth it.

Yes, there will be breaking changes and I'm not against them. I'm just against this one.

comment 6y ago · link · parent

I think we should not think in absolutes! There are breaking changes that are small and acceptable, and there are those that will require unnecessary changes to source code to port them to new version. I don't think python community has yet recovered from 2to3; and I'm not saying it shouldn't have been done; I'm saying I wouldn't like a repeat in 3to4.

As for stdlib, if I'm not mistaken, those packages will be published as standalone packages and simple `pip install` will be a migration path.

comment 6y ago · link · parent

I'm not in the US and I'm able to watch it. Maybe it's not available in your country, but it is available in at least one other country than US.

comment 6y ago · link · parent

Hmmm... no! I guess every country has an equivalent agency to FCC.

comment 6y ago · link · parent

In this hypothetical scenario, instead of counting final lines of code, maybe we should count lines of affected code: take each commit and count how many lines were added, modified or deleted.

That matches "the quantity trumps quality" idea above more closely in our industry.

comment 6y ago · link · parent

When I visit a friend, it is very convenient to be able to charge my phone without having my own charger with me and just use theirs. At the same time, I park my car and don't care to look for compatible parking space. As for tires, I don't even know nor care what sizes they are but I'm glad the air pistons are the same across all makers/brands/sizes so I don't worry I have to go to the right fuel station to check my air pressure. Right?

comment 7y ago · link · parent

Of course, whole another level of using ASCII art is to make it executable, as done by a good friend of mine: Stack Trace Art (https://github.com/ironcev/stack-trace-art).

I've loved it so much that when I saw it for the first time (some 5 years ago) I had to port it to JavaScript (original is C#) and you can see it here: https://github.com/selectnull/stacktraceart

If you're interested in story of how the idea was born, read about it in these blog posts:

* http://thehumbleprogrammer.com/stack-trace-art/

* http://thehumbleprogrammer.com/his-majesty-hangul-the-filler...

191.

An Update to Upwork Connects Pricing(upwork.com ↗)

6 points · by selectnull · 7y ago · 1 comment

comment 8y ago · link · parent

Of course, they should've gone with the "the" prefix and drop it later because it's cleaner.

comment 8y ago · link · parent

The author is a friend of mine and I remember seeing it for the first time. The original is being implemented in C# and I just had to port it to JavaScript. If anyone is interested, the "JS port" (more like a demo of it) is here: https://github.com/selectnull/stacktraceart

194.

Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian(theguardian.com ↗)

2 points · by selectnull · 8y ago · discuss

195.

Microsoft's Edge browser is in serious trouble(computerworld.com ↗)

8 points · by selectnull · 8y ago · 1 comment

comment 9y ago · link · parent

This is one of the examples of well thought of, well written and in general excellent observations on the status of things in our lives. Well done sir!

> I'm happy with git. You should be too.

This is the only part of your comment I don't agree with. Just because you (and me too) are happy with git, that doesn't mean we should be advising other people to be happy with them. Let everybody decide for themselves what they should be happy about and if by some chance their unhappiness produces something even better, we all win again.

comment 9y ago · link · parent

I spend quite some time in ssh sessions and have learned that "Enter~." terminates a connection when it gets unresponsive, but I never bothered to understand it. This actually explains it.

comment 9y ago · link · parent

Emacs does not need to bundle Magit (or most other packages for that matter). What it needs is better package manager - built in!

As of recently, I'm an Emacs user (long time Vim user, just wanted some change) and I still have not completely comprehended how MELPA works. If anything should be more closely built in (and documented and standardised) to Emacs, package manager should. Everything else is better placed into outside packages.

If we look at Python world, here and there we can find discussions to include some library into stdlib and there are good reasons not to do it. Yes, batteries included is cool at first but it's no wonder that pythonistas say that "stdlib is place where packages go to die". We can think the same of Emacs and its package system.

199.

Final Removal of Trust in WoSign and StartCom Certificates(groups.google.com ↗)

162 points · by selectnull · 9y ago · 76 comments

200.

PyCon 2017 YouTube videos(youtube.com ↗)

4 points · by selectnull · 9y ago · discuss

201.

Mount Etna erupts(twitter.com ↗)

1 points · by selectnull · 9y ago · discuss

comment 9y ago · link · parent

XML?

comment 9y ago · link · parent

To literally answer your question: by working 5+ years in the industry.

comment 9y ago · link · parent

If someone is interested in kicking Google out of their life, I can recommend reading about how Bryan Lunduke embarked on that mission. He wrote a series of articles in 2015, here are direct links to them:

http://www.networkworld.com/article/2940176/opensource-subne...

http://www.networkworld.com/article/2940569/opensource-subne...

http://www.networkworld.com/article/2941717/opensource-subne...

http://www.networkworld.com/article/2942161/opensource-subne...

http://www.networkworld.com/article/2946696/opensource-subne...

http://www.networkworld.com/article/2949819/opensource-subne...

http://www.networkworld.com/article/2971168/linux/kicking-go...

http://www.networkworld.com/article/2977884/opensource-subne...

comment 9y ago · link · parent

Cool. Thanks.

comment 9y ago · link · parent

Can you provide more information? How exactly do you help developers?

comment 9y ago · link · parent

Oh yes, vim + latex + git is better than any google docs when you know how to use it. When you need to collaborate with non-technical people, it's a different story - I've been in that situation and even successfully taught basic git to few people, it's not worth it in the long run.

comment 9y ago · link · parent

Just because your users are dealing with logfiles, their users should still be able to use č ƒ ø or whatever unicode character in the filename or url - which will consequently end up in a log file.

comment 10y ago · link · parent

Yes, Firebird came to the world after Borland's Interbase got open sourced. After that, Borland continued with Interbase development and they kinda existed for a while. I have no clue what happened to Interbase afterwards, as I've stopped caring.

As a former Delphi developer, I also dislike Borland. But I very much loved their products, no reason I would dismiss one just because it was made by Borland (and I'm talking about "new" Borland, not the Borland of the 80es and early 90es which was awesome).

comment 10y ago · link · parent

If you're running into concurrency issues, than both MySQL or Postgres are good solutions. Tanks compared to SQLite? Yes. Slower? No.

But if you're looking into something small, check out Firebird (http://firebirdsql.org/).

It's fully ACID compliant relational database, can work both in embedded or client/server mode, fast, easy to maintain and cross platform. IMHO, the only drawback of that RDBMS is small(er) developer mindshare. I worked a lot with it before (8 years ago) and loved it.

1
678
16