Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
delaaxe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
delaaxe
6y ago
Crypto is backed by immense amounts of power (electricity), and more specifically, computing power (which is scarce)
272.
▲
by
delaaxe
6y ago
Thanks for answering questions I’ve had for a long time about POS. Do you have any links to share on the subject?
273.
▲
by
delaaxe
6y ago
It is that, but for AIs, not humans.
274.
▲
by
delaaxe
6y ago
It’s not a quine though
275.
▲
by
delaaxe
6y ago
They wanted to match `@functools.lru_cache`
276.
▲
by
delaaxe
6y ago
This is a typical phenomenon of Extremistan: https://coffeeandjunk.com/mediocristan-extremistan/
277.
▲
by
delaaxe
6y ago
This is the right answer for anyone in data science
278.
▲
by
delaaxe
6y ago
More like, “that pertains to a given generation”
279.
▲
by
delaaxe
6y ago
A 2011 MBP can't run it at all
280.
▲
by
delaaxe
6y ago
Does this have anything to do with covariance and contravariance in terms on CS ? I couldn't understand from the article what those terms mean in the context of vectors spaces. https://en.wikipedia.org/wiki/Covaria
281.
▲
by
delaaxe
6y ago
I think it’s the opposite
282.
▲
by
delaaxe
6y ago
Can anyone ask GPT-3 who will be the next president?
283.
▲
by
delaaxe
6y ago
It’s still unexpected
284.
▲
by
delaaxe
6y ago
You mean full self driving?
285.
▲
by
delaaxe
6y ago
I've found 120 to be the sweet spot - it either fills a laptop screen entirely or allows 2 open editors on a wide screen.
286.
▲
by
delaaxe
6y ago
He meant that writing a line of code with only contents: msg.upper() should trigger a warning as this clearly doesn't do anything.
287.
▲
by
delaaxe
6y ago
Hindsight 20/20, not insight.
288.
▲
by
delaaxe
6y ago
A code review consists of reading a piece of code written recently by someone else , which is not what is asked by OP.
289.
▲
by
delaaxe
6y ago
It's what I did in other parts of the project but I haven't noticed any performance increase. I guess standard lists are already fast enough for implementing stacks.
290.
▲
by
delaaxe
6y ago
Not entirely mine but beautiful nonetheless: @dataclass class Node: id: str children: List[Node] = field(default_factory=list) # beautiful Python: traverse a tree depth-first, pre-order (stack based)
291.
▲
by
delaaxe
6y ago
Like what? This is one of the few bits that I honestly didn't understand because it felt so specific and without further explanation. Can you elaborate?
292.
▲
by
delaaxe
6y ago
> When you die you take absolutely nothing with you except your reputation. What I understood is that when you die, the only thing about you that will stay is your reputation. I agree it could have been worded better
293.
▲
by
delaaxe
7y ago
Tim Ferris has an interesting podcast on subject: https://tim.blog/2007/09/14/the-top-5-reasons-to-be-a-jack-o... “Jack of all trades, master of many ” and “specialization is for insects”
294.
▲
by
delaaxe
7y ago
The fact he’s a photographer doesn’t have anything to do with the downsides mentioned. Could just as well be any family member or a close friend of the famous person
295.
▲
by
delaaxe
7y ago
You can pip freeze
296.
▲
by
delaaxe
7y ago
Your app is self contained in a single folder (not 2), run scripts are simpler (can use relative paths like ./venv/ Scripts/foo, no need to “activate”...
297.
▲
by
delaaxe
7y ago
I do the same on a production app at work, but for a different reason. Storing confidential data in the hash assures my users that I (the developer) don’t have access to this data, since anything after the hash never gets sent to the server
298.
▲
by
delaaxe
7y ago
Tesla models are supposed to be listed in this order: S, 3, X, Y (Elon wanted the model names to spell "sexy")
299.
▲
by
delaaxe
7y ago
I can't believe Infected Mushroom isn't cited anywhere on the page.
300.
▲
by
delaaxe
7y ago
> The idea that `object() < 13 < "hello world" < 3+2j < [(frozenset(), frozenset())] < {type: int}` should evaluate to anything but a TypeError is horrifying! At least it evaluates to False.
More ›