Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
godd2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
godd2
9y ago
Mathematicians aren't forced to take IQ tests. This could cause self-selection bias.
32.
▲
by
godd2
9y ago
100000000000000000000000000000000000000 == 10 ^ 38 == (2 * 5) ^ 38 == 2 ^ 38 * 5 ^ 38 == 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 *
33.
▲
by
godd2
9y ago
'cd -' only saves one previous directory, which is held in $OLDPWD. pushd can store an arbitrary history in its stack. And of course, $OLDPWD will change if you hop around after a cd, but the pushd/popd stack will persist.
34.
▲
by
godd2
9y ago
The drawings are reminiscent of the diagrams in Metaprogramming Ruby, which is definitely worth the read if you want to dig into it. It's much easier to read than you might think.
35.
▲
by
godd2
10y ago
That's why I always call it partition sort instead of quicksort.
36.
▲
by
godd2
10y ago
"Unit" is not well-defined. However, it usually means a function/method. Being a unit test also implies some explicit setup for when that function is used. The easiest examples of unit tests are math functions, since they
37.
▲
by
godd2
10y ago
If there are any programming/tech meetups in your area, go to them! Ask around for any work that needs to be done. Draft a quick talk on something you've worked on recently, and give it. Networking is a very powerful tool.
38.
▲
by
godd2
10y ago
You say "smooth cursor movement". Can you elaborate? What exactly is "slow"? When the screen is scrolling? When the cursor is moving? Spacebar will move the cursor one character forward in normal mode, and follow ne
39.
▲
by
godd2
10y ago
What plugins do you have installed? If you run `vim -u NONE` and then open a file, is it still slow when you hold j?
40.
▲
by
godd2
10y ago
> It will stimulate the economy to promote more jobs. It will increase the cost of labor, and result in fewer, more expensive goods and services. We can both claim things all day.
41.
▲
by
godd2
10y ago
> If some job needs to be done it will be paid. The opportunity cost of a service is the limit for which one would be expected to pay for it. If forced to pay $1,000,000 to have someone clean your bathroom, you'd end up cleaning it
42.
▲
by
godd2
10y ago
> I'd try to reason with you, but it seems we're not in the same world anyway. Claiming that I'm too unreasonable to debate with won't win you any points. > Also it sounds weird to talk about people's labor as
43.
▲
by
godd2
10y ago
There are people whose labor is worth $8/hr but not $11/hr. Raising the minimum wage will not result in "giving them a pile of cash", it will result in them no longer having a job.
44.
▲
by
godd2
10y ago
> I broke previous one, well 'O' stopped working (vim). If it was just the mechanical switch, you can always desolder out the old one and solder in a new one.
45.
▲
by
godd2
10y ago
I don't think it's fair to assume they didn't read the article. It's difficult to know when an explanation is succinct vs analogous, especially if you have a working model of knowledge. "A is just B" can mean
46.
▲
by
godd2
10y ago
No problem! :) Once I understood this, things like merging and shallow clones made a lot more sense. Although it makes rebasing more confusing. What's happening there is that git is creating patches on the fly, and then applying them
47.
▲
by
godd2
10y ago
A commit is not deltas. It contains a hash of a tree object, which in turn contains a list of hashes of blob and tree objects. The tree hashes are of course of tree objects which are your subdirectories, and the blob hashes are the hashes
48.
▲
by
godd2
10y ago
It's not just GUI usage that leads to bad understanding. The documentation is incorrect. man git-commit Record *changes* to the repository (emphasis mine) It's no wonder people get confused, if the docs do nothing to allev
49.
▲
by
godd2
10y ago
If they were in danger, perhaps we should blame those who were pointing guns.
50.
▲
by
godd2
10y ago
Is political self interest nobler somehow than economic self interest? Even if it was, does it make Airbnb wrong? Should people not be able to freely make living arrangements with whom they choose for arbitrary amounts of time?
51.
▲
by
godd2
10y ago
How much did the male approval rate change from unknown-male to known-male? You can't just say that women's contributions fell and then not show the comparable male change.
52.
▲
by
godd2
10y ago
It's not the same. That will only repeat the change of the number of characters of the length of those 2 words. c2w, when repeated, will change 2 words, no matter how long the words are. For example: This is a string of text.
53.
▲
by
godd2
10y ago
The closest thing I can think of is Clojurescript with Figwheel: https://www.youtube.com/watch?v=KZjFVdU8VLI
54.
▲
by
godd2
10y ago
Or they recorded it zooming out, and reversed the recording.
55.
▲
by
godd2
10y ago
Sudoku, crossword puzzles, anything without 3D or real-time rendering.
56.
▲
by
godd2
10y ago
> because your validation logic is disbursed I think you want "dispersed" here.
57.
▲
by
godd2
11y ago
It also transforms programs that use it from "cannot run with a little bit more memory" to "can run forever with a little bit less but still finite memory" which sounds more like an optimization. People are probably sol
58.
▲
by
godd2
13y ago
That's not what he's saying. He's saying that it didn't scale well because Karpeles didn't know how to program, not that PHP didn't lend itself to said scaling.