Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brunomlopes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
brunomlopes
3y ago
For me, it's the portability/size. I don't have a benchtop I can use just for soldering, so my soldering toolkit lives in a box with all it needs. When I wanna do some work, I pick up the box, open it, and most of the stuff g
2.
▲
by
brunomlopes
13y ago
On windows it's the same. Although I think I usually install ipython outside of virtualenvs, because I tend to always use it.
3.
▲
by
brunomlopes
13y ago
I'd like to propose another use case: HUDs. I've recently took up cycling to work and back, and would love to have speed/gears/time up on the glasses, instead of having to look and focus down. Riding my scooter would also be better with it,
4.
▲
by
brunomlopes
14y ago
I actually solved the "get the data out from the homebanking system" via 100 lines of javascript executed in phantomjs to screenscrape the site. It isn't pretty, it might break, and I haven't looked into how to store the credentials "safely
5.
▲
by
brunomlopes
14y ago
Just to give my 2c, EF is not so much an alternative to Dapper/Massive/PetaPoco as an alternative to NHibernate. Both are "heavy-duty" orms, while those 3 are more lightweight. My personal view is that for writes and maintaining a domain mo
6.
▲
by
brunomlopes
15y ago
Mine doesn't crash on Web projects, but can't work for a couple of hours on a Windows Phone 7 project without it going boom . I think most of it works fine and dandy, but some parts can be quite sensitive.
7.
▲
by
brunomlopes
15y ago
If you end up trying to setup git on a linux machine, two things: - setup or have available another linux machine to act as a "client". git on windows with ssh can be a bit fidgety sometimes, and that would help you debug whether it's a c
8.
▲
by
brunomlopes
15y ago
I used to struggle with it too, until some time ago I think it all kind of clicked in place. Don't try and think of it as similar to other shells like bash, but as an interactive console for objects. The operators, flow mechanisms and seman
9.
▲
by
brunomlopes
15y ago
Actually, if you look at other posts from Sam mentioning dapper you'll find that they profiled the site and found some bottlenecks also on the translator from the datareader to objects on linq2sql. Since they're going to hand-write the sql
10.
▲
by
brunomlopes
15y ago
I think you're on to something with "only one member is virtual" and previous experience. Communication is essencial and harder to manage if just one member is virtual. So, it may not be worthwhile to manage just that one member differently
11.
▲
by
brunomlopes
16y ago
Interesting, and it makes a bit of sense, even if it is counterintuitive. "It creates a single file system that spans the internal storage and the SD card." - Meaning that you don't worry about "shall I store this photo in the phone or in t
12.
▲
by
brunomlopes
16y ago
Meh, ClassMaps for 90% of the stuff are all the same, so I love the automap ideia mostly to spare me the bother :)
13.
▲
by
brunomlopes
16y ago
Actually, if your model has ProductID and NewPrice you can create just the Update controler/view for that. Put some validation on the model, and the scaffolding is done. Or you could write the form itself with the "EditorFor" helper methods
14.
▲
by
brunomlopes
16y ago
As for point 2., I think you can generate the UI from any model class, right? So you can create a model for each task and generate the scaffolding for that particular model.
15.
▲
by
brunomlopes
16y ago
Just to offer a different road, you could do something like that with the previous version of MVC + Fluent NHibernate with automapping and schema_update, if I'm not mistaken :)
16.
▲
by
brunomlopes
16y ago
I think you make a great point there about the teacher already knowing VB.NET and not knowing Python. It may be the difference between being able to teach the concepts well and show code to match and struggling with translating the concepts
17.
▲
by
brunomlopes
16y ago
I think there are a couple of idioms which are a bit more concise in ruby ( <something> unless <condition>, or some of the stuff with blocks), but it's a matter of personal taste, I think. I do agree on the "opaqueness", Pyt
18.
▲
by
brunomlopes
16y ago
I'd argue that Ruby is a bit harder to learn, specially for someone with no background in programming. While Python tends towards clarity and predictability, Ruby tends more toward conciseness and power. That means some things are not as st
19.
▲
by
brunomlopes
16y ago
I've been using Git Extensions and it works great: http://code.google.com/p/gitextensions/ I find that the workflow using this tool fits me better than with tortoise, mostly because it is repo-centric, instead of working on the explorer.
20.
▲
by
brunomlopes
17y ago
Not only does that require reflection, it is very error prone and not refactor-friendly. Just change the type of the list, change the method, and it will blow up on runtime instead of compile time. In my opinion, that goes against the grai