Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cglouch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
cglouch
8mo ago
where do you purchase yours out of curiosity? My incandescent light bulb dealer on Ebay stopped selling them...
2.
▲
by
cglouch
7y ago
one nice thing about having the terminal within vim is that you can manipulate the output like any old buffer. So for instance if you want to copy something from the terminal into a script you're editing, you can yank the text from the
3.
▲
by
cglouch
8y ago
Do you regret doing your PhD in math? Reason I ask is that I thought about going to grad school for math but decided against it. It just seemed like it would be postponing the inevitable of finding a job that had little to do with my "
4.
▲
by
cglouch
8y ago
I've found that I often get better results on google if I click "Tools" under the search bar and change "All results" to "Verbatim". It seems to force it to just do the query without as much of the magic.
5.
▲
by
cglouch
8y ago
I'm still using my "dumb phone" from 2010. I like it cause it has a physical keyboard, a long battery life, and I can drop it without worrying about breaking the screen. Plus I don't have to worry about the privacy issue
6.
▲
by
cglouch
8y ago
Using bit manipulation to calculate chess piece movements is really quite satisfying. If magic bitboards are too confusing, the precursor - "kindergarten bitboards" - are a bit easier to understand. I have a description here if an
7.
▲
by
cglouch
9y ago
Does anyone have any recommendations for learning to write modern, idiomatic C++? I used C++ in college for data structures and algorithms, so I have some familiarity with the basics. But we were mostly restricted to using C++98, and I'
8.
▲
by
cglouch
9y ago
in case anyone was curious how a bitboard chess engine works, I wrote one from scratch in python and included a writeup describing my general approach (mostly focused on the move generation aspect): https://github.com/cglouc
9.
▲
by
cglouch
9y ago
The course itself is great too - CMU actually posts the video lectures on their website, and the labs are available as well: http://www.cs.cmu.edu/afs/cs/academic/class/15213-s16/www/sc... htt
10.
▲
by
cglouch
9y ago
If you find out, let me know! One thing I'll caution you about is there's sometimes a bit of a disconnect between "doing math" as perceived by someone who studied e.g. CS versus someone who studied math. For some people,
11.
▲
by
cglouch
9y ago
I prefer listening to a familiar podcast to fall asleep. It's easier to do while lying down in bed and I can do it with my eyes closed, unlike TV/Netflix. The lack of visual stimulation is nice, at least for me.
12.
▲
by
cglouch
9y ago
Definitely agreed. I was introduced to functional programming via Pyret, which is similar to Racket and draws from HtDP in terms of pedagogy. It's a much gentler introduction than being thrown to the wolves with Haskell or OCaml. I
13.
▲
by
cglouch
9y ago
Jeremy Kun also has a couple good articles about SVD: https://jeremykun.com/2016/04/18/singular-value-decompositio... https://jeremykun.com/2016/05/16/singular-value-decompositi
14.
▲
by
cglouch
9y ago
That website seems to be under construction but I found an alternate link: https://libcom.org/library/phenomenon-bullshit-jobs-david-gr...
15.
▲
by
cglouch
9y ago
Yep, for important written communications (e.g. CRAs, the IRS, debt collectors, etc.) I always use certified mail and request a return receipt. For any clueless millennials such as myself who are unfamiliar with the post office, this is a g
16.
▲
by
cglouch
9y ago
I know it's not the same type of AI, but in chess there's a whole scene for computer + human play. A chess engine on its own can have trouble seeing strategic ideas that humans can recognize (e.g. opposite-colored bishop endgames,
17.
▲
by
cglouch
9y ago
I'm guessing the reason so many companies are in Utah County is because of tax incentives, but it's still weird to me. I would think that it's harder to attract talent to an office in Provo, seeing as the stereotypical tech w
18.
▲
by
cglouch
9y ago
There's some great chess people on youtube - I'm a fan of John Bartholomew. He has playlists called "Chess Fundamentals" and "Climbing the Rating Ladder" that are geared towards beginners who know the basics bu
19.
▲
by
cglouch
10y ago
Options solve it in the sense that you limit your downside, but you can still very well lose your premium. Even if you're 100% convinced that $TSLA is overvalued, markets can remain irrational longer than you can remain solvent, and yo
20.
▲
by
cglouch
10y ago
At least for me, the "fluff" ends up being quite practical. I often remember stuff by thinking back to where I saw it in the book. With a physical book, my brain associates content with where I read it on the page (left vs right),
21.
▲
by
cglouch
10y ago
My understanding is that short selling is still a useful tool for signaling that a company is overvalued. Without short selling we would see even more asset bubbles and then eventual crashes. Plus short selling allows for hedging strategies
22.
▲
by
cglouch
10y ago
for those unaware, "CP" often refers to child pornography
23.
▲
by
cglouch
10y ago
I really enjoyed this, it was a nice way to practice/learn some command line tricks. In particular I got better acquainted with the find command. Nice work! My only suggestion would be to have an option to show a solution (yours or per
24.
▲
by
cglouch
10y ago
I think the analysis that says that is somewhat misguided. Matt Levine (my go-to for financial stuff, his writing is insightful and accessible) wrote a good piece on it here https://www.bloomberg.com/view/articles/
25.
▲
by
cglouch
10y ago
Maybe I'm splitting hairs here, but it does bother anyone that the NYT title calls it "election hacking"? To me that sort of slyly suggests that the actual election / voting process was hacked, which as far as I know did
26.
▲
by
cglouch
10y ago
One resource I've found pretty useful for understanding git is http://think-like-a-git.net/ (also linked at the end of the article). It basically describes git in terms of a directed acyclic graph, where branches/
27.
▲
by
cglouch
10y ago
I understand the basics of actual stock options, but get confused by employee stock options. What would you say is the difference?
28.
▲
by
cglouch
10y ago
Well as dumb as it sounds, one reason to allow hyphens instead of requiring underscores is that the former takes one keystroke to type, whereas the latter takes two. This is kind of nice when dealing with longer function names. It's al
29.
▲
by
cglouch
10y ago
Do you also forego eating because a staggering number of people in the world don't have access to food? It's at least worth considering what it's in your showerhead since it could potentially cause a weird disease or somethin