Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dkubb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
dkubb
13y ago
The only one I know of that fits this criteria is Primecoin, its proof of work function is to mine prime numbers. I haven't heard of any others, but I'd be curious to know about them.
62.
▲
by
dkubb
13y ago
I don't know about full time, but sometimes when a client asks me to extend a piece of software I'll ask the upstream maintainer if they'll accept a patch for the change (with permission from the client of course). The client
63.
▲
by
dkubb
13y ago
It's not perfect, but I've used sourcify [1] to get Proc#to_source. I would much rather see this built into ruby itself, since there are a bunch of tools I would build with it available, but this works fairly well in practice. [1]
64.
▲
by
dkubb
13y ago
Contact Braintree if you're concerned. There are processes in place where they can transfer payment information (including credit cards stored for recurring billing purposes) to another payment gateway.
65.
▲
by
dkubb
13y ago
I've often wondered if we could store issues in a separate branch.
66.
▲
by
dkubb
14y ago
I would also love to see these kinds of reminders. Going to the movies is fun when it's something I really want to see, but I probably watch 5-10x more at home than I do at the movies.
67.
▲
by
dkubb
14y ago
I just saw a PoC on twitter a few minutes ago. I tested it locally and was able to run arbitrary ruby code via YAML.load, including shell commands.
68.
▲
by
dkubb
14y ago
This is something I've done before, and I quite like it. I didn't realize how enjoyable it would be until I was a team lead in the early 2000's and I started doing code reviews and established peer reviews in my team. The team would review
69.
▲
by
dkubb
14y ago
By "built a lot of what you're using now" he could mean he built a large part of the site that hosts the article.
70.
▲
by
dkubb
14y ago
My wife drove down the freeway and forgot her iPhone on the roof. It flew off at about 90 kph (about 55 mph). It took her about 10 minutes to find the next turn-around and make it back to the phone. To make it worse she saw at least one car
71.
▲
by
dkubb
14y ago
The current version of ARel is not a relational algebra library, it's an SQL compiler according to Aaron Patterson [1]. Many of the concepts and names for internals are based on SQL not RA. There's nothing wrong with that, it's a pragmatic
72.
▲
by
dkubb
14y ago
I don't mind talking about it here. I've worked solo for a number of years after leaving a stable full time job. I did a lot of open source work and through the community I've come in contact with a group of devs who work together on client
73.
▲
by
dkubb
14y ago
As someone who is interesting in writing more Haskell, I've heard all the "if I get it to compile it works perfectly the first time", and I wonder if people are missing out on what proper TDD can bring them. At first TDD becomes a way to as
74.
▲
by
dkubb
14y ago
IME the remaining skilled engineers want to work remotely. The last 8 years I've worked almost exclusively for US based businesses as a remote contractor. It's the best of both worlds, I can charge competitive rates but have a relatively ov
75.
▲
by
dkubb
14y ago
That's the thing though, everyone has a different perspective of where they are working on the pyramid. One person's peak is so far below another's abstraction level as to be considered part of the foundation, and vice versa. In oss, I thin
76.
▲
by
dkubb
15y ago
I don't think anyone is advocating this kind of development. In general you can't trust anything the client tells you, so to release information to a client that has not provided proper authentication credentials to the server is a mistake.
77.
▲
by
dkubb
15y ago
I've often thought that frameworks should be built on top of standardized native apis, poly-filled when necessary. I imagine a time when browser specific hacks will be outside of the frameworks and "pushed down" to something lower level; ul
78.
▲
Ruby DataMapper Status
(solnic.eu)
3 points
by
dkubb
15y ago
|
0 comments
79.
▲
by
dkubb
15y ago
A friend told me one time about a theory he read about, that has to do with how the brain interprets goal accomplishment with sharing your goals. Apparently, the idea is that if you go around telling people about your goals the brain gets t
80.
▲
by
dkubb
15y ago
Another idea I haven't seen mentioned is having a project building properly via travis-ci.org or some other CI system shows that the project is actively maintained and passing an automated build. Perhaps other metrics like code coverage cou
81.
▲
by
dkubb
15y ago
It's possible that within the Mac App developer community he might earn goodwill by giving it away, but I don't think it's going to make a difference for the average users. I can't recall the names of any dev shops for the OSX products I ha
82.
▲
by
dkubb
15y ago
pv - very useful to put in the middle of a series of piped commands to provide feedback on what, if anything, is happening. I could've used this many times to catch cases where the amount of work being performed didn't match my expectations
83.
▲
by
dkubb
15y ago
Ripper can only parse static source, while ParseTree can give you the AST as it is at runtime. So with Ripper you give it the name of a file/line number and it can parse it, but it can't get any contextual information available at runtime,
84.
▲
by
dkubb
15y ago
Well, on 1.9 it's not quite as nice as 1.8. The ruby-core team decided to change ruby so that after parsing the source the AST would be thrown away as part of some kind of optimization. That means things like ParseTree don't work anymore, a
85.
▲
by
dkubb
15y ago
I wrote an Ambition-like API for DataMapper a couple of years ago and still keep it updated: https://github.com/dkubb/dm-ambition It uses sourcify (which uses ParseTree on 1.8 and Ripper on 1.9). The semantics are identical to standard En
86.
▲
by
dkubb
15y ago
How does String#prepend compare to String#insert in your benchmarks? eg. "bc".insert(0, "a") # => "abc"
87.
▲
by
dkubb
15y ago
The DataMapper ORM allows you to use SQL but still return domain objects: http://rubydoc.info/github/datamapper/dm-ar-finders/master/D... Maybe the gp doesn't know about it or chooses not to use it, but it exists.
88.
▲
by
dkubb
15y ago
I'm a freelancer, so I get to "start" at different companies several times a year, and I'm always surprised by how inefficient things are. However, I'm equally surprised by the fact that a few months in I've forgotten what the bottlenecks w
89.
▲
by
dkubb
15y ago
I've used a similar technique to this called Mutation Testing to find code that wasn't tested by a unit test. It doesn't use a GA, but it's still pretty neat. It parses the code into an AST and then mutates each node in the AST, rerunning t
90.
▲
by
dkubb
15y ago
I think it's probably safer to proceed with the assumption that any sufficiently motivated government can seize your physical machine anytime they wish. I should note that I'm not disagreeing with you, I just think there are more important
More ›