Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wkornewald
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
wkornewald
16y ago
No, it's a custom implementation of a simple compiler. It's nothing complicated. It converts Python to C++ and compiles that with nvcc. It also supports numpy arrays. It doesn't do any complex optimization steps like a full compiler. It's m
92.
▲
by
wkornewald
16y ago
Note that it's not 5 free private repos, but 5 private users. You can have unlimited private repos. So, in a small team you'd probably never have to pay. I wonder what has led them to this decision business-wise. Was the competition from gi
93.
▲
by
wkornewald
16y ago
Yeah, I got the runtime down from 40min to 10min. Then I implemented a Python->CUDA compiler and got it down to 30sec. :)
94.
▲
by
wkornewald
16y ago
Test coverage is a fake feel-good metric that makes you want to increase the number and by this give you the impression of progress. Real progress is measured differently. Test as much as necessary, but not everything.
95.
▲
by
wkornewald
16y ago
Then you're lucky because when I optimized an algorithm for my diploma thesis the code grew significantly because my Python functions suddenly had to deal with different type combinations and also, as part of the optimization, I had to swit
96.
▲
by
wkornewald
16y ago
Not sure if this is important for you to know, but anyway: I'm one of the creators of Django-nonrel (a fork of Django which adds support for NoSQL DBs to the ORM), I've helped with the development of the MongoDB backend, I've developed a la
97.
▲
by
wkornewald
16y ago
If they don't use JOINs or aggregates your apps might just run unmodified. In some cases you'll need extra index definitions, either for djangoappengine or django-dbindexer, but you can keep those separate from your app, so you don't need t
98.
▲
by
wkornewald
16y ago
OK, thanks. Will try to remember that. :)
99.
▲
by
wkornewald
16y ago
It's based on the latest trunk code. The only changes are in the ORM layer and they're pretty small (maybe less than 100 lines). Which other questions do you want to see answered on the website?
100.
▲
by
wkornewald
16y ago
Did you try Django-nonrel? It supports a lot of Django features out of the box (even the admin). Also, it makes it a lot easier to move somewhere else. You might not be able to switch to SQL, but you can at least switch to MongoDB or some o
101.
▲
by
wkornewald
16y ago
DeadlineExceededError is a really stupid problem in App Engine and the simplest fix would be to just kill the instance after such an error and start a new one. Google doesn't want to do that because it wastes resources. So, the current solu
102.
▲
by
wkornewald
16y ago
It's because a little VPS won't give you a fail-safe system. For a SaaS startup you'll need to have several machines in a redundant cluster and ideally you'll also have machines in at least two data centers. The people who use App Engine fo
103.
▲
by
wkornewald
16y ago
I've implemented a Python-inspired syntax for JavaScript which supports multi-line lambdas. This is what it looks like: http://bitbucket.org/wkornewald/pyvascript/src/tip/pyvascrip... It would look better with syntax highlighting, but I'm
104.
▲
Cassandra and ElasticSearch backends for Django-nonrel
(allbuttonspressed.com)
2 points
by
wkornewald
16y ago
|
0 comments
105.
▲
A compiler made only from PEG-based transformations for all stages
(vpri.org)
9 points
by
wkornewald
16y ago
|
2 comments
106.
▲
by
wkornewald
16y ago
Damn you, I've lost the whole morning on trying to master this game! :)
107.
▲
JOINs via denormalization for NoSQL coders, Part 3: Ensuring consistency
(allbuttonspressed.com)
1 points
by
wkornewald
16y ago
|
0 comments
108.
▲
JOINs via denormalization for NoSQL coders, Part 2: Materialized views
(allbuttonspressed.com)
4 points
by
wkornewald
16y ago
|
0 comments
109.
▲
by
wkornewald
16y ago
Regarding "to each their own": Programmers aren't necessarily the best source for an objective view on productivity. This here is a nice example of CS students claiming subjectively which programming style they found easier, contrasted by a
110.
▲
by
wkornewald
16y ago
Of course I want to have secure code. However, do I have to write 100% of my code in such a verbose language in order to guarantee security? I don't think that any security expert would claim that. It's sufficient if the relevant parts of t
111.
▲
by
wkornewald
16y ago
Reading code like that makes me want to puke. So, he wants to increase productivity by making us think about and write theorems in addition to our normal code (don't underestimate the time you invest in this), making our code even more stat
112.
▲
Panic at the Pivot – Aligning Incentives By Burning the Boats
(steveblank.com)
7 points
by
wkornewald
16y ago
|
0 comments
113.
▲
JOINs via denormalization for NoSQL coders, Part 1
(allbuttonspressed.com)
1 points
by
wkornewald
16y ago
|
0 comments
114.
▲
First DjangoCon videos are up
(djangocon.blip.tv)
2 points
by
wkornewald
16y ago
|
0 comments
115.
▲
Final, official GSoC Django NoSQL status update & implications for Django-nonrel
(allbuttonspressed.com)
34 points
by
wkornewald
16y ago
|
2 comments
116.
▲
Using Sass with django-mediagenerator
(allbuttonspressed.com)
5 points
by
wkornewald
16y ago
|
0 comments
117.
▲
Django-mediagenerator: total asset management
(allbuttonspressed.com)
7 points
by
wkornewald
16y ago
|
0 comments
118.
▲
by
wkornewald
16y ago
Exactly. The less mode/context switching you have to do the less stupid syntax mistakes you can make. We made this because we use Python for server-side code and we also want the same language for browser-side code.
119.
▲
by
wkornewald
16y ago
That guy has no clue how to use a non-relational DB (he even admits it) and he uses a DB that is wrong for his task and wonders why it's so hard. The only point he makes is that the APIs for non-relational DBs are much too simple and limite
120.
▲
by
wkornewald
16y ago
Well, it's impossible to support absolutely everything of QuerySet. Also, it's likely that Django's official NoSQL support will be nothing more than what you get with this backend, so I'd say you can not actually call this a backend. :) In
More ›