Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
welder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
421.
▲
by
welder
5y ago
This would never have happened had they used a real database instead of Mongo.
422.
▲
by
welder
5y ago
Synthetics are the worst on airplane and they smell quickly. Yea they dry fast but you have to wash them daily.
423.
▲
by
welder
5y ago
My favorite travel hack: Wool shirts and wool socks. They need washing less often so you pack less clothing. And, showering with hand-sanitizer on arm pits. https://www.woolly.clothing/collections/190-gsm-shirts/pr
424.
▲
by
welder
5y ago
It matches the WakaTime results (not a survey, just stats on IDE usage when WakaTime plugin is installed). https://wakatime.com/a-look-back-at-2020 Change the url to 2021 to see the new results after midnight Jan 1 2021.
425.
▲
by
welder
5y ago
Good, now we just need the ability to declare function parameters and return values non-nullable (Forbid passing nil into a function, and declare a function will never return nil). That would get rid of the "panic: runtime error: inval
426.
▲
Tell HN: Memcached and Redis Considered Harmful
6 points
by
welder
5y ago
|
5 comments
427.
▲
by
welder
5y ago
Stop using RAM for caching, SSDs are just as fast now with LevelDB/RocksDB and can store a magnitude more data. Look into SSDB [1] instead of Memcached. I know it's Redis, but it's basically the same as Memcached if you only
428.
▲
by
welder
5y ago
I really tried to use PyInstaller and Nuitka to deploy a Python command line [1] to Windows, Mac, and Linux users. We couldn't get around some system dependencies like OpenSSL needing to be available and not broken on user machines. We
429.
▲
by
welder
5y ago
The Mailgun support also says DMARC records prevent this, when the reject policy is set to deny.
430.
▲
by
welder
5y ago
Mailgun was acquired, which sometimes has a side-effect of product quality decreasing. I wish Cloudflare would launch an email API service, seems a good fit for them.
431.
▲
by
welder
5y ago
I wish Cloudflare provided an outgoing email API service. Seems like a good fit for their customers, and I bet they would take security more seriously than Mailgun.
432.
▲
by
welder
5y ago
Van Moof is my favorite, because bikes are stolen a lot where I live and Van Moof comes with an alarm and GPS.
433.
▲
by
welder
5y ago
Because the way you scale up a Python web app is by adding more servers, and ORMs like SQLAlchemy can't share(aka pool) connections across processes let alone servers. Scaling a web app means thousands of open connections to Postgres,
434.
▲
by
welder
5y ago
I think loading indicators fall into two categories: 1. full page 2. unobtrusive Those 1px progress bars are unobtrusive because you can partially render data you've already received while still conveying that more data is loading. To
435.
▲
by
welder
5y ago
The ending is the most important part. > Now, what do you suppose happened to that clueless programmer who didn't know anything about foreign key relationships? > Well, that's easy. She just wrote this post for you. That
436.
▲
by
welder
5y ago
:e % You can usually abbreviate Vim commands down to one or two characters.
437.
▲
by
welder
5y ago
Trials begin on lozenge that rebuilds tooth enamel https://news.ycombinator.com/item?id=27328663
438.
▲
by
welder
5y ago
Here's his portfolio page: https://www.mikealche.com/portfolio
439.
▲
by
welder
5y ago
I edited my comment, since 70% tax rate is actually possible depending on the tax rate of the country you're living and whether they have a tax treaty with the US or not.
440.
▲
by
welder
5y ago
Yes! Banks in Germany would flatly say "we can't help you" when I pulled out my US passport. The only one I could get was Number26, which is technically only an online bank account.
441.
▲
by
welder
5y ago
As a US citizen, being taxed while living abroad can dangerously trigger double taxation. Imagine being taxed 70% of your income... scary! I've been researching ways to live abroad without being double-taxed, and here's some resou
442.
▲
by
welder
5y ago
I'm a solo founder with a product used by 300k+ people. Keep it simple, don't solve problems before they become problems, and keep all config in Git. I would use Heroku, but my usage requirements makes that cost-prohibitive. Herok
443.
▲
by
welder
5y ago
I was only talking about pointers and interfaces, not primitive types. Yes A and B can't be nil, but I was only talking about C. Pointers (C) are what cause crashes in Go programs when using them without checking if they're nil fi
444.
▲
by
welder
5y ago
Yea, I meant the ability to declare functions that only accept non-nullable args. For ex: You have a chain of function calls, A -> B -> C -> D, where B, C, and D only accept a non-nullable arg then you can save the mental load of c
445.
▲
by
welder
5y ago
Like Swift, how once you check if a pointer (not integers, strings, and non-nullables) is null, the compiler knows from that point on the variable cannot be null.
446.
▲
by
welder
5y ago
I don't agree, especially on the second point. Having strings default to empty instead of nil is a feature not a flaw. What Go actually needs: Nil-Safe Types! [1] Programmers can work around verbose error handling(3) and lack of enums(
447.
▲
by
welder
5y ago
This one's even cheaper: My £0 a month server can handle 4.2M requests a day [1] [1] https://ahamlett.com/blog/post/My-%C2%A30-a-month-server-can...
448.
▲
by
welder
5y ago
Yes, you're right.
449.
▲
by
welder
5y ago
An in-house data service built with RocksDB/LevelDB. [1] [1] https://rocksdb.org/
450.
▲
by
welder
5y ago
Here's a bug I ran into a few years ago: https://datastax-oss.atlassian.net/browse/PYTHON-891 With all the issues I encountered using in prod, it gave the impression of an overly complicated key/value store.
More ›