Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jzwinck
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
361.
▲
by
jzwinck
9y ago
I grew up in a neighborhood where one pair of streets intersected twice. This led to quite some confusion whenever a friend said "Meet me at Kiln & White." The two intersections were far enough apart that many people did not k
362.
▲
by
jzwinck
9y ago
Two reasons. First is that NumPy works in Python 2 as well as 3. Second is that everyone uses NumPy for this. It is proven, it is fast, and using it for simple things is a great way to get started on a path toward using it for more complex
363.
▲
by
jzwinck
9y ago
What if you cancel the planned trades when you learn of some coming news that disadvantages them?
364.
▲
by
jzwinck
9y ago
No there is not a law against giving legal advice if you're not a lawyer. It's lawyers who are sometimes prohibited from giving legal advice. Non-lawyers have the usual freedom of speech, restricted in the usual ways. Claiming tha
365.
▲
by
jzwinck
9y ago
Most of the top questions I've asked on Stack Overflow are related to missed optimizations in C (or C++, but I'll skip those here): - https://stackoverflow.com/questions/45052282/why-is-memcmpa-... - ht
366.
▲
by
jzwinck
9y ago
Faster than fastest: import numba @numba.vectorize(nopython=True) def add2(x, y): return x + 2 * y add2(X, Y, out=X) This is 40% faster on my machine. It only needs to read X and Y once, and write X once. It does take
367.
▲
by
jzwinck
9y ago
That has already happened: https://en.m.wikipedia.org/wiki/Ryugyong_Hotel The North Koreans have been trying to build this hotel for 30 years. It was a response to the Singapore Swissotel which was the tallest hotel in
368.
▲
by
jzwinck
9y ago
> Pathologically-slow ASM is pretty rare from modern compilers Here are some I've found: https://stackoverflow.com/questions/45496987/gcc-optimizes-f... (horrific codegen for known-size C++11 loops in memb
369.
▲
by
jzwinck
9y ago
There is a standard way to embed any file into an ELF. The program "objcopy" creates object files from arbitrary input files. You then simply link the objects into your executable. The program can then access those arbitrary embed
370.
▲
by
jzwinck
9y ago
Definitely. And that "quick hack by default" person will often end up being the favorite of management because they get so many things "done." So it's important to figure out what kind of manager you have, and try n
371.
▲
by
jzwinck
9y ago
Why are you asking this using a throwaway? np.dot() is multicore. np.load () (and family) releases the GIL. SIMD mostly depends on the build system, so if you want it you might need to build NumPy from source. https://stackoverfl
372.
▲
by
jzwinck
9y ago
While a lot of NumPy is C and Fortran, Pandas is mostly pure Python and some Cython. And mostly it does not release the GIL. You often end up having to implement your own C extensions or use Numba for the core of your processing. Even with
373.
▲
by
jzwinck
9y ago
I work in sales at Twilio and manage the account of a huge enterprise customer. We've sold to a few of their departments and what we've done so far has been successful. But every time I call my contacts at this customer, something
374.
▲
by
jzwinck
9y ago
Correct title is "Airbnb in Amsterdam." There is an obvious lack of data cleaning here. You can see from the first places drawn on the map that a lot of them are duplicated. I don't think that many people have multiple dwelli
375.
▲
by
jzwinck
9y ago
No. std::deque is like a vector of small arrays. Small meaning 32 to 512 bytes or one T if larger. Compact dynamic arrays have sub-arrays which can be larger and can be dynamically sized. The small fixed size of the sub-arrays in std::deque
376.
▲
by
jzwinck
9y ago
I will bet against you here and now. In July 2027, I bet at least 5% of new cars sold in the US will not have full self-driving capability. Meaning they will be unable to drive between two arbitrary street addresses in the US without a lice
377.
▲
by
jzwinck
9y ago
I used rotary phones too. They looked like this: https://www.outsideopen.com/wp-content/uploads/2015/01/IMG_0... and this: https://img1.etsystatic.com/004/0/6113020/il_full
378.
▲
by
jzwinck
9y ago
If you look at images of rotary phone dials I think you will see that it is 0 and 1 that can be dialed easily without vision. Only in New Zealand can 9 be dialed so easily (they use a different dial, however unbelievably).
379.
▲
by
jzwinck
9y ago
I mostly use this now: https://pandas.pydata.org/pandas-docs/stable/generated/panda... Which is basically an easy to use API that turns a SQL query into an efficient columnar table in memory. Yes, this still
380.
▲
by
jzwinck
9y ago
Presumably a circuit breaker. Many exchanges have these now. The Japanese stock exchange has a particularly nice one which pauses every 3% for people to think about what they are doing. That makes stop loss orders behave more in line with p
381.
▲
Whispered Warnings of Radiohead’s “OK Computer” Have Come True
(newyorker.com)
1 points
by
jzwinck
9y ago
|
0 comments
382.
▲
by
jzwinck
9y ago
"Investor" visas exist in many countries. Eliminating it in the US would result in US people being excluded in other countries. And if there is one thing rich people aren't going to vote/lobby for, it is curtailment of
383.
▲
by
jzwinck
9y ago
Tons of people still use QuickFIX. As I think you know, people very concerned with speed try to avoid using any kind of FIX for trading but still use QuickFIX for things outside the hot path such as drop copy (duplicate stream of trades for
384.
▲
by
jzwinck
9y ago
You're both right. Individual electrons can move at high speeds (not c), but the overall flow of electrons in a wire is very slow. This happens because individuals move in random directions but the group has a slow push with the curren
385.
▲
by
jzwinck
9y ago
Here is the code that made him famous: http://www.josh.com/notes/island-ecn-10th-birthday/ I enjoyed the part where it rounds an order quantity to a multiple of 100 by using string operations. A comment there expl
386.
▲
by
jzwinck
9y ago
If your home becomes much more valuable in 2018 to 2028 but then falls sharply in 2029 to 2034 and you become ill in 2035, who will pay the high tax then due? What you propose is basically an additional mortgage via the state. This means mo
387.
▲
by
jzwinck
9y ago
DRW | Trading Platform Software Engineer | Singapore | ONSITE | https://drw.com/careers We are an office of a global proprietary trading firm headquartered in Chicago. This position is in Singapore, and the ideal candidate
388.
▲
by
jzwinck
9y ago
Not really relevant. The main bug being discussed is a text parsing bug related to syntax, not memory access errors or the like. Rust seems cool and all but it isn't immune to logical errors.
389.
▲
by
jzwinck
9y ago
I don't know about renting basketballs but I do believe in bicycle sharing schemes. The article mentions the fairly recent entries in Singapore of "stationless" rental bikes, and I have seen first hand how this is going. Shar
390.
▲
by
jzwinck
9y ago
A more charitable reading of my comment would be that I am recommending the use of "if" instead of C++ exceptions for hot-path control flow in high-performance libraries. Heuristic construction of a packet filter based on previous
More ›