Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drej
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
drej
7y ago
The project was started (and still being partly coded by) one of the most successful Czech internet entrepreneurs, currently ~16th wealthiest Czech out there, his fortune estimated at ~$.7bn, so this venture seems to be self funded. I can d
92.
▲
by
drej
7y ago
For those wondering what's wrong with npm, I can recommend this C J Silverio talk https://www.youtube.com/watch?v=MO8hZlgK5zc Sadly, as others have noted, this Pika thing does not quite address these issues.
93.
▲
by
drej
7y ago
I've had some of the best ideas while in a sauna. Sure, I can't write stuff down, but a) I don't have my phone, no distractions, b) it's a prolonged period, so I have time to think it through, c) there's no physical
94.
▲
by
drej
7y ago
One can efficiently stream data even when there's a need to combine multiple streams. I oftentimes have data sorted on its ID, for instance (usually when it comes from a database), and then can easily join and group by this ID (the sam
95.
▲
by
drej
7y ago
Previous discussion, including a Q&A with the VS Online PM: https://news.ycombinator.com/item?id=21442088
96.
▲
by
drej
7y ago
I'm worried about the inverse - what Python data analysts should know about SQL. Because I've met tons of analysts who wouldn't be able to even run a basic select. I've seen tons of (often non-reproducible) code written
97.
▲
by
drej
7y ago
I ported this to JavaScript (apart from the InitPlan shenanigans), so that it doesn't require the server-side component - it runs directly in the browser. https://github.com/kokes/pg_flame.js
98.
▲
by
drej
7y ago
Do you need to share small-sih tabular data and have some control over it? Use Github's gists. Unless your data is quite large, it will render CSVs just fine, allow for edits, comments, title, ... And it's in your account, so you
99.
▲
by
drej
7y ago
I use these commits, but also use a proper issue tracking system. So I'm not quite sure your comment applies. The reason I'm doing this is: 1. If I'm looking at some code, I want to see its history without having to switch be
100.
▲
by
drej
7y ago
I love these commits. Then don't have to be this verbose, but they have to tell a story of why things were done. I can sort of deduce the what from the code itself, but the why is sometimes shrouded in mystery. I started with the
101.
▲
by
drej
7y ago
This reminds of a Markdown issue I've had many many many times - sometimes (and only in some engines), headings would not render and I'd only get '# foobar' instead of '<hx>...' It took too long for me to
102.
▲
by
drej
7y ago
I can highly recommend NPR's How I Built This. They have an episode with Yvon, among many others, https://www.npr.org/2018/02/06/572558864/patagonia-yvon-chou...
103.
▲
by
drej
7y ago
I was about to file a bug, but they found out it already exists, just hasn't been merged into the 2.x tree. - https://github.com/python/cpython/commit/46ed90dd014010703c7... - https://github.c
104.
▲
by
drej
7y ago
What surprises me about this is that the documentation for Python 2 does not explicitly say that the language version is about to be unsupported, see e.g. https://docs.python.org/2/library/zipfile.html Contrast th
105.
▲
by
drej
7y ago
Take the time and watch the talk linked in the article, it’s pretty darn impressive. https://www.youtube.com/watch?v=Mz3JeYfBTcY
106.
▲
by
drej
7y ago
I like to read these things, because it feels so foreign to me. I started web dev around 2003 (stopped maybe 2010-2011), it involved a empty HTML file, perhaps only the few basic elements copied in, some hand crafted CSS, hand crafted JavaS
107.
▲
by
drej
7y ago
I read through this yesterday and I'm fairly confused about all that. 1. This is a long proposal. Excluding the implementation/issues/comparison parts, it clocks in at 7700 words. Compared to the 27k-word long Go spec, this i
108.
▲
by
drej
7y ago
Not that I want to go down the rabbit hole, but I probably fall into the category of “JVM is heavy, but I use Python” Sure, memory consumption and CPU perf are both pretty bad in Python, but latency and memory footprint of the runtime itsel
109.
▲
by
drej
7y ago
The article doesn't mention a hidden gem in Python's standard library - typed arrays! Those are in package `array` and they are a very barebones version of numpy's ndarray - with just one (explicit) dimension and no overloade
110.
▲
by
drej
7y ago
High Performance Python by Ian Ozsvald and Micha Gorelick - fairly outdated at this point, but still quite relevant (I believe the authors are working on a new edition).
111.
▲
by
drej
7y ago
I concur - we load a fair amount of data into Postgres using Python and we've learned these lessons the hard way. We ended up feeding generators into execute_batch. We don't use execute_values, because we want to generate dictiona
112.
▲
by
drej
7y ago
Basically anything by Simon Singh, I mostly enjoyed the Code Book and the Big Bang, Fermat's Last Theorem was also solid. Detailed yet extremely readable for a very wide audience.
113.
▲
by
drej
7y ago
I was an early adopter, I got an iPad back in the summer of 2010 and have used various models ever since. I've read quite a few of these "replacing a laptop with an iPad" articles and pretty much all of them involve a lot of
114.
▲
by
drej
7y ago
That is unless you parametrise that column index as well - you can do a MATCH to retrieve your desired column number and safeguard it against column insertions/deletions. (It weakens the case for VLOOKUP, but being quite a light Excel
115.
▲
by
drej
7y ago
"This is the ebook edition, a full-color pdf containing the complete contents of the book (the physical book is black and white). Due to the heavy use of mathematical typesetting, there is no plan for a ebook-reader-specific format (mo
116.
▲
by
drej
7y ago
I remember installing World of Goo on my iPad back in... 2010? It was super fun, immersive, well ported to the tablet, it was actually one of my selling points for the then new device. I should get it again.
117.
▲
Lessons in career change: oil industry to dev while moving across the Atlantic
(medium.com)
1 points
by
drej
7y ago
|
0 comments
118.
▲
by
drej
7y ago
Yes, it does happen. More often than I think is healthy.
119.
▲
by
drej
7y ago
There are basically three scenarios where I choose various compression algorithms (a few exceptions excluded): - maximum compatibility (while tolerating low performance) - gzip - great performance (while tolerating larger files) - snappy -
120.
▲
by
drej
7y ago
There is one area where "computing in the browser" misses the mark a little - browser interfaces (like Jupyter) are often used not just for the convenience they offer, but also because they serve as thin clients, which provision v
More ›