Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jvns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jvns
6y ago
hey, author here. I always find it weird to see HN posts where you have to pay to read what it says (what's the point?) so here are 6 sample pages from the zine if you're interested in seeing more of what's in it: * CSS isn&#
32.
▲
by
jvns
6y ago
my understanding of US stock options for Canadians (and really for anyone who can't afford to exercise their options) is: - having ISOs is bad, you don't get any of the tax advantages that Americans get and it means that they expi
33.
▲
by
jvns
6y ago
I wrote a custom Gumroad dashboard for myself. 2 things that have helped me: 1. de-emphasizing daily/weekly metrics. I find that a lot of my weekly / daily numbers are just noise, and ignoring them really helps keep me focused on
34.
▲
by
jvns
6y ago
Also, this kind of profiler is great because you can use it on any running Python program, which is pretty magical and very useful. (especially when it's an application you didn't write) But it's not right for every use case:
35.
▲
by
jvns
6y ago
Two other profilers that also let you spy on a running Python program: - py-spy: https://github.com/benfred/py-spy (written in Rust) - pyflame: https://github.com/uber-archive/pyflame (C++, seems
36.
▲
by
jvns
6y ago
thanks for pointing out the "might be attached to the steps they've taken so far" line -- that is condescending, and I've fixed it to make the point I was actually trying to make (don't be condescending! :))
37.
▲
by
jvns
6y ago
yeah, I wrote this comment and then realized that I should add it to the original post too :)
38.
▲
by
jvns
6y ago
Marek Majkowski wrote a response to this: "Why we use the Linux kernel's TCP stack" https://blog.cloudflare.com/why-we-use-the-linux-kernels-tcp...
39.
▲
by
jvns
6y ago
> But if the bad guy really needs their script to get data from C, they could just go through an intermediate server they control that relays data from C. Your browser has access to 2 things that the malicious actor's server doesn&#
40.
▲
by
jvns
6y ago
it's really worrisome that they offered to look through your email data to confirm your identity. I'd be really curious to know more about what Fastmail does to safeguard customer data from malicious activity by employees.
41.
▲
by
jvns
6y ago
I actually realized that this must be on HN because 2 different people emailed me to tell me this XSS workaround was bad advice :). Updated the post.
42.
▲
by
jvns
6y ago
If you have an iPad and apple pencil, there's a really great app to do this called iFontMaker: https://2ttf.com/ . I used it to create a font from my handwriting that I've used extensively, and creating the font to
43.
▲
by
jvns
7y ago
I got a bit nerdsniped by this so here's a simple reproduction of the original issue (which I still don't fully understand tbh) https://codepen.io/jvns-css-fun/pen/zYGVLXj
44.
▲
by
jvns
7y ago
I've been really impressed with Affinity Designer's features but I've had a lot of problems with the iPad app. It frequently uses up 100% of my disk space for no apparent reason unless I periodically uninstall and reinstall t
45.
▲
by
jvns
7y ago
`group by 1` is actually allowed in several SQL implementations, and there's no reason it can't be -- the same as with column aliases the db engine can just rewrite select name, count(*) from table group by 1 as select
46.
▲
by
jvns
7y ago
The main reason I hear that people buy zines from me is that they find them informative. I've honestly learned a lot about this from writing zines -- for example my bite size command line zine ( https://wizardzines.com/z
47.
▲
by
jvns
7y ago
that's right, it's only available as a PDF.
48.
▲
by
jvns
7y ago
that's #16, though perhaps I should just say that the reason the response is empty is that Google is redirecting you. I'd love more suggestions for curl exercises though :)
49.
▲
by
jvns
7y ago
I used about 350GB in the last month according to Cloudflare (over about 3.5 million requests), probably because I serve a lot of 5-10MB PDFs. Being able to not worry about bandwidth fees for a medium sized personal site is really amazing.
50.
▲
by
jvns
7y ago
the main advantage for me is that Cloudflare's free tier has no bandwidth limit. Netlify's free tier has a 100GB/month limit ( https://www.netlify.com/blog/2019/02/26/netlify-and-bandwidt...
51.
▲
Every Linux networking tool I know
(wizardzines.com)
12 points
by
jvns
8y ago
|
0 comments
52.
▲
by
jvns
8y ago
Binder is really amazing for Python/data science tutorial authors: I have a pandas tutorial on github, and instead of requiring everyone to install a bunch of Python libraries / set up a Docker container, now I can just link to h
53.
▲
by
jvns
8y ago
as someone whose writing ends up on here from time to time, I really appreciate the HN mods' work to keep discussion on topic & constructive. It's obviously a tough job and every time I've emailed them with a concern they
54.
▲
by
jvns
9y ago
https://drawings.jvns.ca/acid/
55.
▲
by
jvns
9y ago
thanks for this!! I've never worked with iOS so I was definitely fumbling in the dark. the CoreData hypothesis explains why the PList file looks like a huge weird unstructured array! So in the code there's just some object with al
56.
▲
by
jvns
9y ago
> my office mate, who happens to be a skilled programmer, wrote a script for me that turned off retweets from everybody if you also want to do this, here's a small hacky tool I made that uses the Twitter API to turn of retweets for
57.
▲
by
jvns
9y ago
yeah I think this would be very possible! I think the hardest part would be the "with its arguments" part. But there's a really useful Rust crate called gimli for parsing DWARF (I found it a lot easier than the C DWARF librar
58.
▲
by
jvns
9y ago
I'm on Linux. I did a tiny bit more investigation and it seems like ltrace works on some processes (like top) but not on other processes (like Firefox). I'm sure that the Firefox process in question is making library calls because
59.
▲
by
jvns
9y ago
thank you so much! I didn't know about that and using those files looks extremely doable. I'd assumed that ltrace used DWARF or something like that to format arguments.
60.
▲
by
jvns
9y ago
I can't speak for the job board, but there are dozens of full-time remote developers (including me, obviously), and I see remotes devs being hired frequently.
More ›