Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ocharles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
ocharles
13y ago
To me it appears that there are teeth on one "side" of the gear, but on the back of it is a flat surface. The valley between the teeth is sloped from front to back, going from a deep valley to no valley at all. At least, that was
122.
▲
by
ocharles
13y ago
Unifying Recursion Schemes will be part of the ICFP 2013 papers ( http://www.cs.ox.ac.uk/people/jeremy.gibbons/publications/ur... ) which is tangentially related to the penultimate entry using recursion, as we
123.
▲
Getting Started with Netwire and SDL
(ocharles.org.uk)
1 points
by
ocharles
13y ago
|
0 comments
124.
▲
by
ocharles
13y ago
When it comes to encoding JSON, you don't have to represent everything. For example, you can always do: object [ "foo" .= object [ "bar" .= [ "Yum", "Waffles!"] ] ] Which will give you {"foo
125.
▲
by
ocharles
13y ago
Rest assured it doesn't take 5 years to get there :)
126.
▲
A Comparison Between Perl and Haskell
(ocharles.org.uk)
12 points
by
ocharles
13y ago
|
0 comments
127.
▲
by
ocharles
13y ago
There is no metaprogramming here. You may not be familiar with a style of programming, but that doesn't entitle you to spread FUD about it.
128.
▲
by
ocharles
13y ago
Integrates with Cabal might mean that Haste can be installed with Cabal, but I'm not sure (ghcjs for example cannot).
129.
▲
by
ocharles
13y ago
> The most direct way that comes to mind for solving this type of problem is to send the client just a random identifier and have the server look it up in a persistent store upon use. This is my preferred approach. I generate random 128-
130.
▲
by
ocharles
13y ago
SQL as a string is not composable. I cannot give you a small query and have you arbitrarily join against it - I have to give you bits of strings and you have to glue them together in the right way. Expressing SQL as its AST lets you write c
131.
▲
by
ocharles
13y ago
Now I'm just eagerly waiting a Haskell and Perl library. Suppose that means I should get off my lazy ass and start contributing!
132.
▲
by
ocharles
13y ago
There is another option to GHCJS and Fay now - Sunroof ( http://www.ittc.ku.edu/csdl/fpg/software/sunroof.html ) - which is entirely inside Haskell - no compiler needed other than GHC.
133.
▲
by
ocharles
13y ago
Whether or not it's relevant, I still second the recommendation to read this book - it's a great read :)
134.
▲
by
ocharles
13y ago
The most famous quote for this is by G. H. Hardy, a famous number theorist. He said: "No one has yet discovered any warlike purpose to be served by the theory of numbers or relativity, and it seems unlikely that anyone will do so for many y
135.
▲
by
ocharles
13y ago
This is very susceptible to race conditions, which is why many of us want true UPSERT semantics. http://www.postgresql.org/docs/current/static/plpgsql-contro... is the current best way to do UPSERT in PG.
136.
▲
by
ocharles
13y ago
I believe both of these still have race conditions, and are not the same as truly atomic upserts. Granted the window is considerably smaller, but their is still a race condition.
137.
▲
by
ocharles
13y ago
Magit is fantastic. If you don't use emacs but instead use Vim, you should check out fugitive ( https://github.com/tpope/vim-fugitive )
138.
▲
by
ocharles
13y ago
http://www.informatik.uni-trier.de/~ley/pers/hd/r/Reynolds:J... Wow - he really didn't stop doing what he loved.
139.
▲
by
ocharles
13y ago
Don't forget Angel and systemd :)
140.
▲
by
ocharles
14y ago
Amen, I'd like to push the blame on the fact that we still even have to deal with passwords and stuff in this day and age, but that's hardly putting a better suggestion forward :(
141.
▲
by
ocharles
14y ago
Hi, we do have a public bug tracker and you could have reported this. I've filed a ticket at http://tickets.musicbrainz.org/browse/MBS-6166 .
142.
▲
by
ocharles
14y ago
Hi, I'm the guy who's pretty much responsible for all of this, but I just wanted to clarify a few things. > Yet another company with a far too relaxed approach to security I don't think we have a relaxed approach to security, we do our
143.
▲
by
ocharles
14y ago
For relational databases, we already have some pretty good rules to avoid problems like this - the normal forms (specifically BCNF, which is "the" normal form to reduce redundancy inside a single relation). I wonder what rules apply to non-
144.
▲
by
ocharles
14y ago
It depends on your hashing function. What you're talking about is a https://en.wikipedia.org/wiki/Collision_(computer_science)
145.
▲
by
ocharles
14y ago
"Linux done right", depending on your definition, but certainly not GNU/Linux done right. You know, seeing as 90% the OS is proprietary.
146.
▲
by
ocharles
14y ago
Apparently, exactly 168 days ago, I warned about very similar behavior. Remember when a pull request was submitted with tongue-in-cheek comments and a very lax tone? It was https://github.com/bitly/dablooms/pull/19 , to jog your memory. Mo
147.
▲
by
ocharles
14y ago
Just today I decided to move a lot of my self-hosted stuff to Google, via Google Apps (so I will be paying after my free trial). For me it was always a trade off between how much of my free time I was willing to invest. My self-hosted ema
148.
▲
24 Days of Hackage: Cabal
(ocharles.org.uk)
1 points
by
ocharles
14y ago
|
0 comments
149.
▲
by
ocharles
14y ago
This is not reddit, and this link is not constructive.
150.
▲
by
ocharles
14y ago
Hmmm, I've hacked with mst a few times and I could have sworn he used highlighting, albeit basic.
More ›