Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
avip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
avip
7y ago
Re "complexity", for reference: the dependency tree (as in yarn list ) of production-only installation of a default angularJS app created with ng new --minimal app is... (I wanted to paste it, but it's too long = 2500 line
302.
▲
by
avip
7y ago
A known crowd-pleaser in this field is the "Jerusalem Artichoke"[0] which has nothing to with any of the words. https://en.wikipedia.org/wiki/Jerusalem_artichoke
303.
▲
by
avip
7y ago
You will be facing same financial dilemmas with public healthcare. But it may be more transparent.
304.
▲
by
avip
7y ago
https://www.boredpanda.com/entomologist-rates-ant-emojis/?ut...
305.
▲
by
avip
7y ago
You don't need wireshark - open dev console and observe that any map operation (drag/zoom/draw and anything else) requires an api request to gmaps. You can contrast that with mapbox which seems to have been designed upfront w
306.
▲
by
avip
7y ago
Like it or not (I do...) terraform is the de-facto industry standard, and pretty much the only mature cloud resources management tool I'm aware of. It is unwise IMHO to use CloudFormation currently unless you're provisioning resou
307.
▲
by
avip
7y ago
2 things: 1. There is a common misconception that any threaded python code is slower than sequential. This is trivially false for IO-bound, and possibly, potentially, in some cases false for CPU-bound. Said interviewer had that very misco
308.
▲
by
avip
7y ago
Which "box" are we talking about?
309.
▲
by
avip
7y ago
The opposite of what? All I want is the GIL "discussion" to be based on facts rather than emotions, hyperboles and FUD. I'm not even sure what the opposite of that is.
310.
▲
by
avip
7y ago
The point of the code is not to speedup the execution of summing a list of random number, but rather to speedup the acknowledgement of N random python developers that they have some misconceptions about the GIL. I think it does that pretty
311.
▲
by
avip
7y ago
Ok, I see some comments (rightfully) asking for less talk and more code. # main.py import random from concurrent.futures import ThreadPoolExecutor as Pool items = [random.random() for _ in range(10 ** 7)] def run(items,
312.
▲
by
avip
7y ago
Many other people "know" about the GIL, to the extent of believing there's no point using threads in python "because of the GIL". I had a funny such experience lately in a job interview. I told the interviewer his m
313.
▲
by
avip
7y ago
Possibly because vue does not have any builtin http capability... which is kind of the point GGP is trying to make up there. Angular is not overengineered, it's just feature-complete. vue is not "simple made easy", it just
314.
▲
by
avip
7y ago
Have you seen the documentary about all the other kids who've started chess very early?
315.
▲
by
avip
7y ago
The mini is exempted for recreational activity only [0]. DJI is aware of remote identification requirements, it's on their product roadmap. [0] https://www.federalregister.gov/documents/2019/05/17/20
316.
▲
by
avip
7y ago
I don't think that's controversial at all. I'm not aware of any kid of age < 6 who has "screen time". It's usually the first/second issue discussed when sending kids to friends homes.
317.
▲
by
avip
7y ago
Nice website. I like it. Please don't use it with your kids (of 2 to 4!!). There are more than enough actual objects scuttered in your house.
318.
▲
by
avip
7y ago
You can also use git-retain-history with reflog to sidestep unexpected git operations. https://git-man-page-generator.lokaltog.net/#4b16e11f044dd60...
319.
▲
by
avip
7y ago
I did 0.5 EE degree in the best Uni in my country with very good grades and my level of insight wrt how ICs work borderlines a Golden Retriever. But I'm modestly good at math and the EE classes were essentially an elaborate sequence of
320.
▲
by
avip
7y ago
Fair enough. Make it a longbet - python vs. human race, who's going down first.
321.
▲
by
avip
7y ago
I have a mantra, which this thread engraves so well: People always complain, and developers are the worse If only people cared for fellow human beings, or earth, as much as they care for esoteric Wulrus operations in this or that language
322.
▲
by
avip
7y ago
I'd almost consider this a subtle bug? None of the other += operators returns a value.
323.
▲
by
avip
7y ago
Right, got it.
324.
▲
by
avip
7y ago
Does it though? So why doesn't a += b change the object id id(a) ?
325.
▲
by
avip
7y ago
Pls read again https://github.com/satwikkansal/wtfpython#-mutating-the-immu...
326.
▲
by
avip
7y ago
I find the explanation lacking? sort also "changes the list in-place", but you can do ([3, 1, 2],)[0].sort()
327.
▲
by
avip
7y ago
Following this advice you will work with 0 competent developers. No developer of any worth will give you turn-key offer for a non-trivial project.
328.
▲
by
avip
7y ago
It's very much like finding a good carpenter or plumber. You talk to prev customers. Look at recent work. Then converse with the person respectfully. Then set mutual expectations, likely formulated as no BS 1 page agreement.
329.
▲
by
avip
7y ago
At any rate don't pay for what you didn't get.
330.
▲
by
avip
7y ago
I think your entire setup is extremely risky, and should be reconsidered.
More ›