Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maxk42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
811.
▲
by
maxk42
12y ago
I find that in strongly-statically-typed languages, I spend more time juggling the types of data than I do solving the problem at hand.
812.
▲
by
maxk42
12y ago
Now that I think about it, one could use a small javascript library embedded in the index page to make a number of additional requests and interpret them as the correct types via data: URLs. That would be a lot of messy hacking to shave of
813.
▲
by
maxk42
12y ago
Informative!
814.
▲
by
maxk42
12y ago
Alright, here's one of those dumb questions you seem very open to: Can we use this technique to (for example) reply with all of a page's dependencies upon the initial request? i.e. if a user goes to www.example.com/ and the
815.
▲
by
maxk42
12y ago
"How to piss off half your business contacts in 30 minutes."
816.
▲
by
maxk42
12y ago
Jeez... I know "James L." Even met with him in person. He's a nice enough guy but I'm not a fan of the organization he works for which is one of the worst offenders when it comes to spamming engineers.
817.
▲
by
maxk42
12y ago
How can I tell if it will work with my network? Does it support 4G / LTE?
818.
▲
by
maxk42
12y ago
I would like to know how to set these people on fire.
819.
▲
by
maxk42
12y ago
You'd have to be a goddamn idiot to put your phone number and email address directly into a git repo or gist. I get enough spam from recruiters on LinkedIn thank-you-very-much.
820.
▲
by
maxk42
12y ago
This doesn't work, but if it did you could simplify the switch statement to: switch v:= x.(type) { case int32, int64, float32, float64: if v < 0 { return -v } } Go has some neat improveme
821.
▲
by
maxk42
13y ago
Please do not enforce character set or maximum length restrictions. I have a number of 30+ -character passwords that are regularly rejected because they don't contain a digit. I'm sorry but "Password1" isn't going
822.
▲
by
maxk42
13y ago
I expect it'll mostly be appreciated by the BDSM community, but it's for people of all (legal) kinky interests.
823.
▲
by
maxk42
13y ago
HMO: I'm building a dating website for kinky folks. I'm hoping to have it ready for launch at the end of the year. So pretty much, I need kinky folks! Specifically: (1) I'd like to find a lawyer to be COO / President.
824.
▲
by
maxk42
13y ago
That's numberwang!
825.
▲
by
maxk42
13y ago
Another frustrated would-be customer here. Way to fail twice, Ramen.
826.
▲
by
maxk42
13y ago
I'm doing remote work in a major US city. I've been charging well above market rates for a while now, but haven't been able to break the $100 / hour barrier yet. I feel like my income is stagnating -- my skills and expe
827.
▲
by
maxk42
13y ago
If I'm in the US and I want to start a corporation, would it be wiser to incorporate in another country? Would this invite additional scrutiny from the IRS or other governmental institutions?
828.
▲
by
maxk42
13y ago
You just killed a man you dumb shit.
829.
▲
by
maxk42
13y ago
Where is the source code?
830.
▲
by
maxk42
13y ago
Lots of things were a complete rewrite of vi. Vi was a complete rewrite of ex. ex was a rewrite of em, which was in turn a rewrite of ed, which was a rewrite of qed. Trying to rewrite vim is the wrong approach. Trying to replace it in a
831.
▲
by
maxk42
13y ago
Someone tracked down the hacker: http://www.reddit.com/r/hacking/comments/1whk3a/tracking_the...
832.
▲
by
maxk42
13y ago
Well said. I wrote code back on a 640x480 just as easily as I now write code on my 1080p. The only differences in productivity have come from me, as a programmer.
833.
▲
by
maxk42
13y ago
Well then it's the recruiters in management. The industry is broken and hostile to developers.
834.
▲
Generics and parametric polymorphism are simple to implement in Go
(gist.github.com)
3 points
by
maxk42
13y ago
|
0 comments
835.
▲
by
maxk42
13y ago
I thought it was a pain in the ass until I realized golang really does have a sort of dynamic parameter: func test(myVar interface{}) will accept any type at all. You can then use Go's type switch or a call to reflect.TypeOf(
836.
▲
by
maxk42
13y ago
Anecdotally, I think that I'm noticing a trend wherein people coming from a strong Java or C++ background (or other strongly OO languages) object to Go vociferously (typically citing generics and a couple other pet peeves) and people c
837.
▲
Ask HN: Finding a non-technical cofounder?
8 points
by
maxk42
13y ago
|
5 comments
838.
▲
by
maxk42
13y ago
> the 9% 'drop in work' will be offset by the increase in consumption caused by a large range of people suddenly having more purchasing power That money didn't come from nowhere. There is an equal decrease in purchasing p
839.
▲
by
maxk42
13y ago
Re: Your response to point (1). My statement stands. A development cost of $50k is a development cost of $50k regardless of how many copies are sold. Pirated copies do not cost the developer extra production expenses the way stolen physi
840.
▲
by
maxk42
13y ago
You're only losing opportunity cost. Not COGS. Meanwhile, the user who is pirating your software might be someone for whom the price is prohibitive or who would otherwise not be a user at all if there weren't a cracked alternati
More ›