Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goldenkek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
1.
▲
by
goldenkek
10y ago
walmart has a 2 day delivery program similar to prime for 40 dollars a year. they need to advertise better..no one knows (you didnt did you?)
2.
▲
by
goldenkek
10y ago
blocking. blocking. blocking. blocking. rtfm
3.
▲
by
goldenkek
10y ago
This is a false equivalence. As long as the progress is set correctly via messaging (queue) to an alternate UI thread, the time lost will be under a millsecond. The naive print loop you provide is obviously IO bound and print is a blocking
4.
▲
by
goldenkek
10y ago
Hah.
5.
▲
by
goldenkek
10y ago
Newer means different. Older means different. Different CPU meet differently optimized code meet different cocoa framework. Narf!
6.
▲
by
goldenkek
10y ago
Why overengineer something as simple as a blog?
7.
▲
by
goldenkek
10y ago
Testers are like McDonalds cashiers. They will eventually assimilate with the self checkout. Now, they may be able to get a job servicing the soda machine if they count their blessings.
8.
▲
by
goldenkek
10y ago
exact tests on implementation at the "db was updated properly" category are usually classified as integration tests. theres nothing wrong with those. but one shouldnt test specificity of internal method code for small units.
9.
▲
by
goldenkek
10y ago
checking for an insert into the database in the most general fashion is okay. checking for the exact dynamic data?? you are basically copying your code.
10.
▲
by
goldenkek
10y ago
A stub on the iterator interface would do it..but like I said..terrible use of testing
11.
▲
by
goldenkek
10y ago
He means you test pure functions and mutations. You dont stub data sources that your implementations use to see if they were called. tests need to be about enforcement of correct interface exposure. not exact implementations. its one of the
12.
▲
by
goldenkek
10y ago
Because tests should not be more verbose than code. Refactoring the sumArray method to use map instead of a for loop shouldnt break tests. it is terrible terrible practice to take internal implementations and then stub their callees to make
13.
▲
by
goldenkek
10y ago
Testers to programmers is like cashiers to cooks at Mickie Dees. I think you are resentful that your job can be automated and thus, the value of what you do is quite low.
14.
▲
by
goldenkek
10y ago
Deprived of happiness is terribly conspicuous. For optimists, this fact plays no part in their existential computations. For pessimists, however, it is axiomatic. Whether a pessimist urges us to live “heroically” with a knife in our gut or
15.
▲
by
goldenkek
10y ago
Dont forget that a computer program exists in the physical world. It is not unlikely for AI that understands self, to also want to preserve self.
16.
▲
by
goldenkek
10y ago
You mean like a virus?
17.
▲
by
goldenkek
10y ago
Fortunately, evolution selected for intellect even though it might have initially have been past a minimum fitness/energy valley. Id encourage you to rethink this simplistic view that ignores the general tool that developed in order to
18.
▲
by
goldenkek
10y ago
Some questions: We act like stimuli are exact things but the brain is all about abstraction. In fact, a certain amount of entropy/information enters your beain every day from vision, smell, touch, etc. Its not stored in full fidelity.
19.
▲
by
goldenkek
10y ago
This article is absolute humdrum. Functions are not the atoms of programs. We now have classes, lambdas, generators, events, streams, etc. There are ways to organize code without sticking every little one time used code into a function. Poo
20.
▲
by
goldenkek
10y ago
Haters gonna hate ;-)
21.
▲
by
goldenkek
10y ago
If you actually read my post more closely you would see I said any two orthogonal dimensions, that could be two spatial dimensions..not necessarily including time.
22.
▲
by
goldenkek
10y ago
I agree. Most of mathematics is taught as calculations without motivation. If it was taught as the study of systems, and a toolbelt to understand the universe, more people would be passionate about it. All we can do is show the light to oth
23.
▲
by
goldenkek
10y ago
Mathematics is the study of objective truth in a universe that has certain rules. How could knowing the universe in all its glory be boring? Wish they taught this rather than calculation at school. It's very uninspiring to not realize