Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tieTYT
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
tieTYT
12y ago
Yeah, not a bad method. And I suppose if I've already commited my unit test, I could use a "git reset --soft" to put the test in a stash. Next time I use bisect, I'll try to do this. Thanks
92.
▲
by
tieTYT
12y ago
You're not considering the time it takes to manually test. * How much time does it take to do a clean build? * How much time does it take to do a deploy? * How much time does it take to reproduce the issue manually? Add thos
93.
▲
by
tieTYT
12y ago
One thing that seems difficult with bisect are these series of steps: 1. "Hey... this bug didn't use to happen. Where'd that get introduced?" 2. OK, this unit test will tell me when the bug is fixed. 3. Now lets
94.
▲
by
tieTYT
12y ago
Yeah it's pretty good, but it still has issues. My game uses a manifest.cache and the console/networking tab does not give good feedback with it. In chrome, the console will tell me, "This file could not be found". In
95.
▲
by
tieTYT
12y ago
Why doesn't the URL look how it would look if you hit y by default? Seems like that would be what you usually want. When I send someone a link, it's because I want them to see what I'm looking at.
96.
▲
by
tieTYT
12y ago
Wow I've gotta say, this looks great. Something that bugs me is I couldn't copy the code in the upper right to the code "try it" section. I haven't used haskell for 6-12 months, so I'm not sure what I'm d
97.
▲
by
tieTYT
12y ago
> In Lua, it's impossible to have a dictionary that maps a key to nil: setting a key to nil removes it from the dictionary! Wait is he really trying to say, "Setting a VALUE to nil removes the entry from the dictionary!"?
98.
▲
by
tieTYT
12y ago
I want the "write once, run anywhere" that Java gives me. I guess I'm just spoiled, but it's what I've come to expect.
99.
▲
by
tieTYT
12y ago
What made me give up on Haskell was all the libraries had native linux bindings. It was hell reusing code if you're developing on windows (and I've heard this is true on macs, too). Does OCaml have this issue?
100.
▲
by
tieTYT
12y ago
Sorry, I meant "fringe" conspiracy theories. Otherwise my point was kind of off topic to bring up. Imagine if that "vaccines cause autism" crowd didn't get air time. Perhaps they wouldn't get personal exempt
101.
▲
by
tieTYT
12y ago
Devil's advocate: When's the last time a fringe* conspiracy theorist's agenda has been able to effect legislature? EDIT: Added the word "fringe". As in, a conspiracy theory that doesn't get media coverage.
102.
▲
by
tieTYT
12y ago
Nice. What libraries/technologies are you using to render the front end?
103.
▲
by
tieTYT
12y ago
> Zetes is a crossplatform lightweight framework which allows the user to develop console or native-looking GUI programs, written in Java, that could run on a machine without any JVM installed. Awesome, sounds great. > And in addition
104.
▲
by
tieTYT
12y ago
> The problem with integration tests as discussed in the talk it they take a long time to run and give imprecise results. I think you left out the main complaint: It's impossible to cover a majority of code paths.
105.
▲
by
tieTYT
12y ago
> it's interesting to see that testable code and good design kind of line up They can line up, but I'm not sure there's a causation. There are many different ways to write tests the wrong way. It's taken a lot of t
106.
▲
by
tieTYT
12y ago
I believe that's called BDD. Behavior Driven Development. It has a separate name because TDD-ers kept making this mistake.
107.
▲
by
tieTYT
12y ago
I test your way, but if you're not aware of it you might want to watch this talk called Integration Tests are a Scam: http://www.infoq.com/presentations/integration-tests-scam It may explain why the "gearbox
108.
▲
by
tieTYT
12y ago
Where'd you get these numbers?
109.
▲
by
tieTYT
12y ago
I hate the ones that require you to give an in person interview with them before they'll suggest you for an in person interview with a company. Can someone explain the reason they do this?
110.
▲
by
tieTYT
12y ago
I don't know how Netflix figures out that it's Verizon that's slow, but lets say it's with some software that anyone could use. Wouldn't it benefit the entire Internet to open source that software so that anyone co
111.
▲
by
tieTYT
12y ago
Is doing this against policy or encouraged? I don't see it mentioned here^1, but maybe I'm looking in the wrong place. 1: http://ycombinator.com/newsguidelines.html
112.
▲
by
tieTYT
12y ago
I'm pretty ignorant of both languages (but I have novice experience in both): Moving to Haskell, don't you miss Lisp macros? How do you deal with that?
113.
▲
by
tieTYT
12y ago
> There do remain times when JSON is a better fit than something like Protocol Buffers, including situations where: > * You need or want data to be human readable When things "don't work" don't you always want this
114.
▲
by
tieTYT
12y ago
No, i assumed that these problems also applied to the Web Audio API. Thanks for the info
115.
▲
by
tieTYT
12y ago
I'm a hobbyist game dev, and although I appreciate this, I'm disappointed that sound works so poorly on mobile in html5 and I actually consider that a bigger issue than this (after all, my game already renders fine in the 2d canva
116.
▲
by
tieTYT
12y ago
I should have mentioned that 1. I am already using set -e 2. That `err` function has an `exit 1` as its last step, which forces the program to stop running when combined with the first point. > Now, on to your shell script ex
117.
▲
by
tieTYT
12y ago
I wrote my first shell script that actually matters a few weeks ago (in other words, I'm a total newb). Its purpose is to validate the configuration of another app. It seems to me that "set -o pipefail" would get in my way,
118.
▲
by
tieTYT
12y ago
How is it doing that?
119.
▲
by
tieTYT
12y ago
I probably should be too embarrassed to ask this question, but why can't I use script tags in the second test? I don't understand what's preventing me from doing that.
120.
▲
by
tieTYT
12y ago
Sure, but like I said, "Long story short, I tried installing ~10 libraries with Cabal and only one installed smoothly."
More ›