Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scardine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
451.
▲
by
scardine
11y ago
90% of the duplicate logic is data validation. How about using PyV8 to run javascript on the server, so you can share validation logic between the frontend and backend?
452.
▲
How a Single Prediction Changed the Future of Computing
(medium.com)
2 points
by
scardine
11y ago
|
0 comments
453.
▲
Want a better pitch? Watch Elon Musk’s presentation for the Tesla Powerwall
(medium.com)
133 points
by
scardine
11y ago
|
37 comments
454.
▲
by
scardine
11y ago
Last time I checked the name of the game was making more than 100 times the amount invested in less than 5 years - taking risks is a unavoidable side effect.
455.
▲
by
scardine
11y ago
I guess people that is interested into the answer to this question upvoted.
456.
▲
by
scardine
11y ago
I'm not in Colombia but I will pay you some coffee if you ever visit Sao Paulo in Brazil.
457.
▲
by
scardine
11y ago
It is the same difference from starting a Soccer team in Spain or in Japan. In Spain you have the whole ecosystem in place, the same happens in Silicon Valley. That is why most of the world's best Soccer professionals are in Spain. It
458.
▲
Ask HN: Best strategy for mix-and-match at hackathons
2 points
by
scardine
11y ago
|
1 comments
459.
▲
by
scardine
11y ago
Last week I picked up Fabio Mascarenhas (of Lua fame) at the airport for an event. I was surprised when he told me that like Lua, elixir also has Brazilian roots. Few Brazilians know that.
460.
▲
by
scardine
11y ago
I guess Python is an exception to this rule. Typed exceptions are not only idiomatic but deeply ingrained into the language core. Even basic primitives like loops use exceptions to control flow (StopIteration).
461.
▲
by
scardine
11y ago
The alternative would be: s = sep.join([str(part) for part in parts]) I agree this is one of the cases where map looks nicer than list comprehensions or generator expressions.
462.
▲
by
scardine
11y ago
It used to be this way, but she is using "creative accounting" in order to do that, for example, by making state-owned companies pay some expenses and arguing at the supreme court that these operations are not loans. These maneuve
463.
▲
by
scardine
11y ago
Thanks for this, the "Lei de Responsabilidade Fiscal" (fical responsability act) was truly the best legacy from former president Cardozo.
464.
▲
by
scardine
11y ago
So we agree to disagree. The PT (workers party) government changed Brazil forever by: - creating thousands of politically-appointed public servant jobs and other money-sinks. - corroding the power of one of the best legacies from the form
465.
▲
by
scardine
11y ago
I plead guilty your honour, the one-liner syntax for loops is pretty frowned upon among pythonistas too. :-)
466.
▲
by
scardine
11y ago
Some people consider an abuse of list comprehensions if you use them just for the side effects. Why not just a plain for loop? for t in threads: t.start()
467.
▲
by
scardine
11y ago
Being naive - in the sense of looking the world through the eyes of a child - is one of the best qualities in a founder because startups are so counterintuitive. How many grown-ups with lots of industry experience said no for young Microsof
468.
▲
by
scardine
11y ago
Function call is somewhat expensive in Python compared to most languages, so I guess there are reasons other than personal taste for why functional composition is not blessed.
469.
▲
by
scardine
11y ago
One USD buys 3 BRL (Brazilian Reals), so the exchange rate can make 3rd world products (including developers) look cheaper on the international market.
470.
▲
by
scardine
11y ago
I used to love perl but switched to python almost 10 years ago. It is beautful how perl code can be so terse - at the same time I was constantly having trouble to understand my own code 6 months after I wrote it. IMHO Python has a better co
471.
▲
by
scardine
11y ago
Well, I thought like you for a long time because the idea you can make more by turning down some work and markerting yourself in a niche is is very counterintuitive. Before trying this approach I lose a lot of time racing to the bottom.
472.
▲
by
scardine
12y ago
In the case of the startup I'm working for, they will join because of the reputation of the founder. His father was such a successful entrepreneur that people will jump over anything with his name. Of course it will not prevent the bus
473.
▲
I'm 43 and had my first hackathon this weekend: lessons learned
(github.com)
2 points
by
scardine
12y ago
|
0 comments
474.
▲
by
scardine
12y ago
Lets start a startup for certifying the code running at some service is the same on the public repo. Small bitcoin fee would be charged to the privacy nuts willing to confirm it.
475.
▲
by
scardine
12y ago
I hate to answer on political threads because I'm always downvoted into oblivion, but there we go... I'm writing from Brazil but lived for a while in Argentina and do business with people from other places in the subcontinent. I g
476.
▲
by
scardine
12y ago
It is not blind faith, it is the f*ing scale. It is hard to argue that one occurrence is a major event when you are at the size of gmail.
477.
▲
by
scardine
12y ago
I use this a lot for report-builder interfaces, and according to my personal experience SQLAlchemy in Python maps really well to raw SQL while adding a lot in terms of DRY, portability and security. I guess the underlying question is how mu
478.
▲
by
scardine
12y ago
I still think "almost any language" is a stretch, but I'm not in the mood of profiling several languages in order to assert this claim - without numbers my experience is as anecdotal as yours.
479.
▲
by
scardine
12y ago
> Exception performance is terrible in almost every language. Duck-typing using exceptions is very idiomatic in Python. Also, raising an exception instead of returning error values is a popular API design. Hell, the iterator API - the fo
480.
▲
by
scardine
12y ago
Probably a mix between Randy and Beryl Hagen.
More ›