Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shangxiao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Common Postgres Row-Level-Security Footguns
(bytebase.com)
1 points
by
shangxiao
1y ago
|
0 comments
2.
▲
by
shangxiao
3y ago
You don't have to use VimScript, you can write your Vim plugins in Python if you wish.
3.
▲
by
shangxiao
4y ago
I was also surprised the first time I heard you can safely burn explosives: I was reading some comments on the Vietnam war from veterans talking about how they used to heat their meals by burning pieces of C4.
4.
▲
by
shangxiao
4y ago
> It is funny people can't envision things breaking... This is what enraged me about the Therac-25 design which ended up killing people. There's a whole report to read on the design, failure and follow up but to paraphrase the
5.
▲
by
shangxiao
4y ago
Incidentally most of them _are_ focusable by the keyboard but just aren't tabbable. I'm using a Chrome plugin Vimium - one of the shortcuts 'f' (documented as opening links) actually highlights all focusable elements. U
6.
▲
by
shangxiao
5y ago
"Good practice" is also common in English. When folks use the term "Best Practice" I often ask them whether they in fact mean the former.
7.
▲
by
shangxiao
5y ago
Couldn't be further from the truth, see my reply.
8.
▲
by
shangxiao
5y ago
Typer looks neat. I don't think it was well-established when I started on this, there were quite a few offerings but the only one I managed to find was python-fire. It didn't quite do what my team wanted and there were a few behav
9.
▲
by
shangxiao
5y ago
I don't have a startup but I did make a useful little Python library while at my previous job to help ease the pain with using argparse to make CLIs. It's called bargeparse [1]. The idea is to define an entry point function and us
10.
▲
by
shangxiao
5y ago
Mainstream news outlets have been caught doing this. Australian ABC News (government funded) deceptively edited a Navy ceremony that showed the Governor-General & Navy Chief ogling over young women twerking [1] [1] https://ww
11.
▲
by
shangxiao
6y ago
Nice! Slight nitpick: Django should automatically create the Hstore extension for you [1] during migrate whenever you use a HStoreField [1] https://github.com/django/django/blob/f5e07601b233a50e6bcca4... Edit
12.
▲
by
shangxiao
6y ago
I'm quietly hoping they'll ask him to work on a typescript-style of project that adds static typing as a layer on top of Python :)
13.
▲
by
shangxiao
6y ago
"Professional use" just means to use in your profession, not that they are claiming to be an IT expert.
14.
▲
by
shangxiao
7y ago
I feel like we're just transferring the labour from ops to dev though. Where I work we still haven't got as good a development workflow with lambdas as we did with our monolith (Django).
15.
▲
by
shangxiao
8y ago
What about future Microsoft? :)
16.
▲
by
shangxiao
8y ago
yeah nah…
17.
▲
by
shangxiao
8y ago
I'm curious to know what it is about each of the strings that makes it naughty. A comment next to each one describing what it's supposed to be testing would be great.
18.
▲
by
shangxiao
8y ago
Yes, that's correct. At 300km, Steve would be situated within the thermosphere [1] > The highly diluted gas in this layer can reach 2,500 °C (4,530 °F) during the day. Even though the temperature is so high, one would not feel warm
19.
▲
by
shangxiao
8y ago
ORMs are good for 90% of your use cases, the rest I'm happy to use SQL for. I could attempt to deconstruct the ORM problem, but Martin Fowler had a nice article [1] on replying to "ORM hate" a few years back which is worth th
20.
▲
HAVING a Blunderful Time (or Wish You Were WHERE) (2007)
(dcs.warwick.ac.uk)
31 points
by
shangxiao
8y ago
|
6 comments
21.
▲
by
shangxiao
9y ago
She actually had another crack at it where it looked as though she studied the lyrics harder as she does quite a good job [1] https://www.youtube.com/watch?v=uEbV5M59Xc8
22.
▲
by
shangxiao
9y ago
Nobody is downvoting to win a petty fight. It just looks like you haven't understood the thread of the conversation and are trying to argue about something when there is no argument. I wouldn't take it personally.
23.
▲
by
shangxiao
9y ago
This is a bit easier to grok: http://www.timescale.com/how-it-works (if you're new to this like me)
24.
▲
by
shangxiao
9y ago
According to Merriam-Webster [1] "rackless" is a variant of "reckless". [1] https://www.merriam-webster.com/dictionary/rackless
25.
▲
by
shangxiao
9y ago
I was rated as 71% US ;) I wonder if the various accents of Australia rate differently or whether I'm influenced too much by foreign media.
26.
▲
by
shangxiao
9y ago
Philip DeFranco has analysed this well and covered this in several videos, the latest being [1]. I agree with his analysis that the problem here is YT itself, not the content creators. I personally believe this latest development makes Lo
27.
▲
by
shangxiao
9y ago
I find this to be a legitimate question. At least in my country all news outlets have a political bias one way or another, including those run by the government itself. Is there something about NY times (I don't read it) that warrants
28.
▲
by
shangxiao
9y ago
I was thinking exactly this as I was going through those examples.
29.
▲
by
shangxiao
9y ago
I love the fact that IRC is still alive and kicking. The #django channel on freenode is still pretty active as opposed other communities that flock to slack or gitter.
30.
▲
by
shangxiao
9y ago
siisussjsk might've been referring to doing a quick check to see if vim supports mouse as an interface… which it does.
More ›