Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joshuata
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
joshuata
10y ago
Although this is an appealing idea, I don't think it is realistic. Lobbying would destroy any legislation almost immediately, and there would still be the issue of competing standards. I think a more achievable version would be that an
32.
▲
by
joshuata
10y ago
It was even worse starting in C++. Almost half the code in any project was opaque black magic. What is char and why do I need it? Why do I need `using namespace std`? Why do I need to create a Pair in order to insert into a Map?
33.
▲
by
joshuata
10y ago
Just read the first paragraph: "...Since then, it's been moved to the Linux foundation and renamed to Open API"
34.
▲
by
joshuata
10y ago
I would write it (agree I you) since it is similar to a conjunction - the "with" is implied.
35.
▲
by
joshuata
10y ago
It's also painfully slow. I've been using it for the past few months, and it rescans my library every time I access it. Half the time it shows my libraries as empty. Overall it feels very unfinished.
36.
▲
by
joshuata
10y ago
You are right, the regular/context-free comment was a typo. You are also correct about c being non-context-free[0]. I have just seen many explanations of language hierarchy online mistaking type-checking for language complexity that it
37.
▲
by
joshuata
10y ago
You are (essentially) correct. The language itself is context-free, and therefore parse-able as a regular language. Looking up identifiers in symbol tables is part of the type checking phase of compilation. This is a pretty common misconcep
38.
▲
by
joshuata
10y ago
Many of the ideas from infinite mathematics interact with finite mathematics in very interesting ways. For example, the traditional integral is the Riemann integral which cannot handle sets with too many (uncountably many) discontinuities.
39.
▲
by
joshuata
10y ago
I was reminded of this yesterday: I work on a research-oriented C/C++ compiler with several people who would certainly be considered C++ "experts". We came across a bizarre bug introduced by static destructor ordering. Even w
40.
▲
by
joshuata
10y ago
I understand your argument, but I would disagree with a few points: First, we use computers for so many more things than cars. The average user does really well with basic tasks like checking their email and simple word processing. This wou
41.
▲
by
joshuata
10y ago
That is one reason to choose Rust, but that is far from the only reason to prefer Rust over Go. I've found that algebraic data types and pattern matching have become irreplaceable parts of my programming toolbox, to the point it is pai
42.
▲
by
joshuata
10y ago
I love tmux since I regularly move between OSX and linux machines across several versions. With tmux I can create one .tmux.conf file that standardizes my tab/split behavior across all of the systems regardless of the emulator I use. T
43.
▲
by
joshuata
10y ago
The source is available at https://vivaldi.com/source/?lang=en_US
44.
▲
by
joshuata
10y ago
In regards to the third point: The global interpreter lock protects the fact that python's GC scheme is not thread safe. It does not coordinate accesses across threads, and therefore grumpy's would not either. In grumpy the GIL is
45.
▲
by
joshuata
10y ago
Many of these problems could be avoided if we used the character codes for unit (31) and record (30) separator. This would avoid any problems with tabs or line feeds, as well as better matching the intended semantics of ASCII/UTF-8
46.
▲
by
joshuata
10y ago
I thought the same as you about gif search until I saw what signal is planning for the feature: https://whispersystems.org/blog/giphy-experiment/ By proxying the encrypted request through another server, signal ne
47.
▲
by
joshuata
10y ago
Agreed. Their definition of static analysis is laughably bizarre as well; there are many security and safety properties that can be proved by static analysis but not by dynamic analysis. Additionally, many of the problems they attribute to
48.
▲
by
joshuata
10y ago
I have struggled with ADHD for my entire life. I don't think you realize how it can affect you. I started to take medication after nearly failing out of college. It was physically impossible for me to study for more than 40 minutes; I
49.
▲
by
joshuata
10y ago
It's actually very problematic from an accessibility standpoint. The entire text of each post is a single pre tag which makes it almost impossible to use with a screen reader. This is exactly why there were complaints about fancy style
50.
▲
by
joshuata
10y ago
I'm very skeptical of scientists who destroy experiment data. Storage space is less of a problem every year, and it is a huge comfort that you can ask a researcher for the data they collected. In this case she was actively destroying d
51.
▲
by
joshuata
10y ago
One of the best resources I've found is Programming Languages: Application and Interpretation by Shriram Krishnamurthi[1]. It walks you through building a small interpreter and language in Racket. Not only does it teach Racket, but it
52.
▲
by
joshuata
10y ago
I did this and then tested it against several friends and family. I could only unlock the phone about 75% of the time, but I never got a false positive after about 20 different tries over the next week or two (cleaning the sensor regularly,
53.
▲
by
joshuata
10y ago
I've gotten to the point that sqlite is my immediate answer to any Ask HN about useful tools or good source code. I'm to the point of slight obsession...
54.
▲
by
joshuata
10y ago
A couple lines really bother me in this piece: "... it matters to you whether your phone has 64 or 128 GB of RAM" Holy Cow! I want that phone! I've only got 8 GB of RAM on my desktop. "The first iPhone had apps..."
55.
▲
by
joshuata
11y ago
I agree. I use a 13" 2013 rmBP with the base processor and 8 gb of RAM. There have been several times where I was running 2 external monitors (1080p), watching HD video, running 2-4 virtualbox vms, running a big compile job, and surfin
56.
▲
by
joshuata
11y ago
My vote is for SQLite. It is very well written, incredibly well tested, and one of the simplest and most flexible tools out there. My favorite part is the extensive documentation explaining the architecture decisions they made.
57.
▲
by
joshuata
11y ago
Thank you so much for that post! I used it extensively when I set up vcsh and my. It took a few hours to get everything working, but the flexibility is unbelievable.