Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
narimiran
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
narimiran
8y ago
> Tree-style or vertical tabs are perfect for this. But for some reason, all browser vendors follow each other, don't build alternative options (or count on the community to do it if they even allow that) Vivaldi has in the option
92.
▲
by
narimiran
9y ago
Started using Colemak few months ago. It was a very slow and frustrating start, but I gave myself one week to do deliberate practice every day for at least 15 minutes and then to see if I'll go back to qwerty. I forced myself to use Co
93.
▲
by
narimiran
9y ago
It is quite easy to increase the percentage of the window filled by text - resize your window to take smaller part of your screen ;)
94.
▲
by
narimiran
9y ago
> *2560x2048 would be awesome (...) Two of those side by side would be perfect. You have just turned two 5:4 monitors into a 10:4 monitor - and the closest format to that exists in a form of current 21:9 monitors, with acceptable prices.
95.
▲
by
narimiran
9y ago
> Can someone sell me on using rust over python? I can't. But I can try to sell you Nim [0] as a compiled/faster addition to your Python, from my own experience of using it in last few months and coming from Python. It uses s
96.
▲
by
narimiran
9y ago
> Maybe there is some way to run vscode in a VM that is 100% blocked from the internet and that would prevent it from sending tons of data? Wouldn't these user settings be enough? "telemetry.enableCrashReporter": f
97.
▲
by
narimiran
9y ago
> In Matplotlib I still don't understand what is the right way of initializing a pyplot, there seems to be a million ways to do it and a million parameters you can give. API changes and inconsistencies too pain me at times Matplot
98.
▲
by
narimiran
9y ago
> Or just program a module in C You can do that in Nim - it compiles to C. If you have no previous knowledge of C, with Nim you get C-like speed with Python-like easy to write syntax.
99.
▲
by
narimiran
9y ago
> Why Nim rather than e.g. Haskell? Because Nim syntax will be familiar to Python developer. Sometimes all you need to change is add variable declarations and rename `def` to `proc`. Haskell has a much steeper learning curve. Been ther
100.
▲
by
narimiran
9y ago
If you would like 10-100x faster performance than Python, but would like to keep the easy-to-read code, give Nim [0] a try. I do all my work in Python, and I've been using Nim in last couple of months - it took me a week or two until I
101.
▲
by
narimiran
9y ago
> After years of using Python, it's been difficult to wrap my head around GO and Rust. I had the similar post-Python problem, until I settled on Nim [0] - it has Python-like syntax, significant whitespace, and ease of writing (but
102.
▲
by
narimiran
9y ago
> I have done pascal before and I wish to have ADA more easily available Then you might be interested in https://nim-lang.org/ as a Pascal-like Rust alternative.
103.
▲
by
narimiran
9y ago
> learning rust for a python programmer You might give Nim[1] a try. Coming from Python, you might find Nim's syntax (and significant whitespace) familiar. It took me (also a Python programmer) a week or so before I was able to wr
104.
▲
by
narimiran
9y ago
Captain Disillusion - https://www.youtube.com/user/CaptainDisillusion
105.
▲
by
narimiran
9y ago
> TD Gammon, one of the very first algorithms to reach superhuman levels in a nontrivial game, learned by self play. Thank you for mentioning this! Neural-nets self-trained bots have been a thing for quite a while in backgammon. Chron
106.
▲
by
narimiran
9y ago
> Check out 'Fluent Python' for juicier python concepts. One of the best Python books I've read! But I would never recommend it to a (Python) beginner. There are more 'lightweight' books/solutions for begi
107.
▲
by
narimiran
9y ago
This would be my reply too. The whole site is great! I've recently went through hex grid tutorial - very informative, interactive and nicely presented.
108.
▲
by
narimiran
9y ago
> Anything interesting? Couple months ago I discovered Nim [1], which I find as an interesting language, and I just finished 2015's tasks as a practice [2]. Now I'm considering using it for this year too. I'll use Python a
109.
▲
by
narimiran
9y ago
> This year I need to make sure I do the graph search problems properly I'm guessing this year it might be some other 'common theme' for the tasks, and we might not see as many graph-problems as in 2016. But learning graph
110.
▲
by
narimiran
9y ago
> is there a specific language used for these? There isn't. Some previous tasks could be solved by pen-and-paper, or by using your browser's search on the input, etc. Also, there were some users who solved each day in a diffe
111.
▲
by
narimiran
9y ago
Well, I've used previous challenges to learn/improve my Nim. And I can tell you, after solving whole 2015 challenge - my Nim skills have noticeably improved. Would recommend AoC as a learning tool.
112.
▲
by
narimiran
9y ago
> Is the adventofcode.com fun/educational/worthwhile? For me, the answer to all three questions is - yes. It depends on your previous knowledge, so some problems might seem too easy and/or some other problems might be to
113.
▲
by
narimiran
9y ago
When I started reading the feature list above, Nim was the first thing that came to my mind, until I saw the thing you mention: > except the ecosystem/commercial backing If this is not the most important feature on that list, here
114.
▲
by
narimiran
9y ago
> I will not consider using it for anything more than toy projects until it hits 1.0. Hopefully soon. It should happen soon (TM), but from what I understand it will be just another version, just this time renamed to 1.0 - this basicall
115.
▲
by
narimiran
9y ago
> Thank you, this looks very useful to me. I'm glad to hear that! :) > someone who has spent several hours converting csv data to latex tables in the past Hopefully, tably will save you some hours in the future. If you find a
116.
▲
by
narimiran
9y ago
> If you have pandas installed, ... I'll just copy my Reddit comment when somebody notified me about `to_latex()`: > To be honest, I didn't know this exists (and I use pandas for lots of things). If I did, I probably would
117.
▲
by
narimiran
9y ago
> Why? Is CSV easier to write than LaTeX? 1. When it comes to tables, yes - CSV is easier to write than LaTeX. Everything is easier than LaTeX tables :) 2. More serious reason - I have some lab equipment which outputs its results as CS
118.
▲
by
narimiran
9y ago
I know this is very basic and not comparable with most of the stuff posted here, but anyway... If you have some feature suggestion, bug report, or some general (coding) advice, please let me know. Thank you in advance!
119.
▲
Show HN: Tably – Python script for converting .csv to LaTeX tables
(github.com)
57 points
by
narimiran
9y ago
|
13 comments
120.
▲
by
narimiran
9y ago
> Sadly now I'm moving into the data science/data engineering field and everything is Python and I don't know. I don't want to go back to this nightmare. Now there are (optional) type annotations and mypy [0]. I'
More ›