Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JelteF
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
JelteF
9y ago
Latex is very easy to generate from any programming language, because it's just text. I created a Python package for it with an easy and extensible API: https://github.com/JelteF/PyLaTeX If you want to create som
122.
▲
by
JelteF
9y ago
Luckily I haven't had the need to create pdfs yet now that I'm using Go. However, if I would, I would generate LaTeX instead of PDFs directly. I did the same in Python a and it has turned out great: https://github.com&#
123.
▲
by
JelteF
9y ago
We were not the only ones affected by the outage: https://news.ycombinator.com/item?id=15293578
124.
▲
by
JelteF
9y ago
We did but Go was deemed better in our case. For more details Ctrl+f for Elixir in the blogpost.
125.
▲
by
JelteF
9y ago
No, we didn't try those. Mainly because it wasn't only raw performance that we were after. We also wanted more simplicity and better concurrency than what python was providing for us. Also, the reason we even considered a language
126.
▲
by
JelteF
9y ago
Hi, Jelte from Stream here. The post was definitely not meant to indicate that people should stop using Python. We still use it happily for the website and I'm still a big fan of it myself. However, for the API we've outgrown it i
127.
▲
by
JelteF
9y ago
It's definitely a hack, but for development environments it's quite an effective one. Which is why we actually created a (more user friendly) clone for Go development. It's called Virtualgo, and it's mentioned near the e
128.
▲
by
JelteF
9y ago
The video explaining how this is done is also very interesting: https://www.youtube.com/watch?v=xA4QWwaweWA
129.
▲
by
JelteF
9y ago
The trusted setup is not as bad as those two words make it sound without any context: 1. All people present in the trusted setup would have to be colluding or be compromised to cause an issue. 2. Some of these people have reason to make the
130.
▲
by
JelteF
9y ago
It is definitely faster. The ripgrep author did extremely extensive benchmarking to a lot of tools. For the most common usecase check out this section, but the rest of the article is very much worth a read as well: http://blog.bu
131.
▲
by
JelteF
9y ago
Another anonymous coin which is interesting is zcash (with the cool URL https://z.cash )
132.
▲
by
JelteF
9y ago
To quote a comment in a similar thread, apparently there's such a thing as an implied patent license: Implied patent licenses: https://www.wilmerhale.com/pages/publicationsandnewsdetail.a... . https://co
133.
▲
by
JelteF
9y ago
For more info check the other post on this topic: https://news.ycombinator.com/item?id=15293578 Not sure why that was taken of the front page suddenly.
134.
▲
by
JelteF
9y ago
The problem is not actually downtime, because DNS handles that automatically if at least one nameserver is up. The problem is nameservers returning incorrect results. But yeah, .io has quite frequent problems.
135.
▲
by
JelteF
9y ago
There's a random chance that a DNS request resolves correctly because not all nic-io domain servers are returning incorrect results. If you provide a high TTL on your own records they will be cached for a longer time. Which has as a re
136.
▲
by
JelteF
9y ago
The nameservers seem to be returning correct results for our domain again :) (getstream.io). However, the issue is still there for crates.io, so this seems the outage is still partially ongoing.
137.
▲
by
JelteF
9y ago
No, the TTL for caching NXDOMAIN is decided by the nameservers SOA record. In this case 900 (15 minutes). The reason for this is that if there's no domain there's also no way to get it's TTL.
138.
▲
by
JelteF
9y ago
If this is affecting you it's best to put a long TTL (at least 1 hour) on your domains. That way a good lookup will be cached longer and it will affect less people.
139.
▲
Some .io nameservers are returning wrong results again
192 points
by
JelteF
9y ago
|
73 comments
140.
▲
by
JelteF
9y ago
Gofmt, or rustfmt or whatever language fmt are really one of the best things that happened to modern development. Even if you don't agree with the style, which nobody does fully, it's much better than having discussions about styl
141.
▲
by
JelteF
9y ago
> Add an @ sign to suppress output of the command that is executed. This is the exact opposite. It supresses echoing the command that is being executed. It's output is still shown like normal.
142.
▲
by
JelteF
9y ago
One of the main things I ran into when migrating from MySQL to postgres was that the default text columns (TEXT, VARCHAR, etc) behave differently when searching. MySQL matches text case insensitive, while postgres matches it case sensitive.
143.
▲
by
JelteF
9y ago
Could you explain why this post is disapearing from the frontpage as fast as it is? Even though it has the most votes in very little time. (see my other comment https://news.ycombinator.com/item?id=15011458 )
144.
▲
by
JelteF
9y ago
What I find really weird is that this post is at the bottom of the frontpage, even though it has the most upvotes of the entire frontpage (443 at time of writing) and achieved this in only 2 hours. This was the same case for the article con
145.
▲
by
JelteF
9y ago
Pandoc doesn't add much, the compilation from markdown to latex is quite fast. The LaTeX compilation still takes most of the time, especially when having to run it multiple times because of references and cross references.
146.
▲
by
JelteF
9y ago
Yeah, I would definitely say I have significant LaTeX experience as well and use a lot of fancy packages. Using pandoc doesn't take away any of the power of LaTeX. It just makes common things easier.
147.
▲
by
JelteF
9y ago
By just writing it like normal LaTeX. Once you write \somecommand it will interpret it as latex. See the link one of your sibling comments posted for an example: http://tech.lauritz.me/easy-latex-with-markdown-pandoc/
148.
▲
by
JelteF
9y ago
I've switched from writing latex to writing pandoc markdown. I then convert it to latex and then to pdf. This gets the same result as latex, but is much easier to type for common stuff like, sections, emphasis and verbatim. It also all
149.
▲
by
JelteF
9y ago
How is this not on the front page btw? It has almost 200 points an comments in 2 hours and it's placed 37 at the moment. This seems like a failure of the HN ranking algorithm. @dang (or someone else) could you explain what's up he
150.
▲
by
JelteF
9y ago
I'm really wondering if those removed hyperlinks are pointing to sources for the stuff that's stated as facts. I really miss any references of some of the claims he's making and I find it hard to believe that the writer added
More ›