Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wmu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
wmu
9y ago
I've been working for three years remotely and fully agree with you. Never ever allow your job to take over your life. I allowed, and after two years I was dreaming about eight-hour work in an office. I was a good programmer and was ab
92.
▲
by
wmu
9y ago
Side note. When I was preparing biographies of Abraham Lempel and Jacob Ziv (the inventors of LZ77 and LZ78), I read an interview with Lempel. He was asked why they hadn't patented their algorithms. And he replied like this: we're
93.
▲
by
wmu
9y ago
A few years ago I was working on some bank software. We had access to bank's anonymized data, and I was really surprised when figured out what information is stored with card payments. For instance, I learnt that a guy had bought a pac
94.
▲
by
wmu
9y ago
It seems to be a MS antivirus bug: http://securityaffairs.co/wordpress/60434/hacking/microsoft-...
95.
▲
by
wmu
9y ago
Wow, one of the most interesting things I've seen recently. It shows how lucky an average programmer is. We have to deal with relatively easy issues; we can modify code, recompile, debug and repeat until success. :)
96.
▲
by
wmu
9y ago
That's really cool, looks nice. Did you use it for something serious? (BTW, error.h lacks of include guard)
97.
▲
by
wmu
9y ago
In Polish the title "senior developer" is usually translated into "starszy programista"; the adjective "starszy" means literally "older". So, I ask everybody to call me "old programmer". :)
98.
▲
by
wmu
9y ago
Impressive work. One note: use of MMX instructions in 2017 is odd, as MMX is dead.
99.
▲
by
wmu
9y ago
A nice article, and very good final result. (I love the cow pictures :))
100.
▲
by
wmu
9y ago
There's a wiki page: https://wiki.postgresql.org/wiki/Todo:ICU
101.
▲
by
wmu
9y ago
My short story regarding community. A few years ago I wanted to add a feature to PL/pgSQL that was on their TODO list. I asked about the feature on a public list and while I was unknown to the community I immediately got a private emai
102.
▲
by
wmu
9y ago
AFAIR they had a kind of profile-based optimization. It was amazing.
103.
▲
by
wmu
9y ago
What about data safety? Say, a hard drive got a bad sector, then a whole file is broken. This always stopped me from using system-wide compression. But maybe it's not as bad as I suppose.
104.
▲
by
wmu
9y ago
Seems to be python-focused, but looks really nice.
105.
▲
by
wmu
9y ago
It's silly. Don't waste your time watching this.
106.
▲
by
wmu
10y ago
That's true. Years ago I did some experiments with various trie representations and despite my effort, glibc malloc was reporting 40-50% of internal fragmentation. Once switched to memory arenas, I nearly rid off fragmentation.
107.
▲
by
wmu
10y ago
I'm wondering why the author didn't try to use binary search on sorted std::vector. It should be as fast as std::map (if not faster). I also did some experiments with lookups using collections of std::map: http://0x80.p
108.
▲
by
wmu
10y ago
Although it's good to know that cache misses or false sharing may degrade performance of your carefully designed program. :)
109.
▲
by
wmu
10y ago
You know C++, you're not an average programmer. Entry level into the C++ world is too high for a regular programmer, they would choose something easier. That's the point.
110.
▲
by
wmu
10y ago
OK, maybe "terrible" is too strong adjective. What about "cumbersome"? :) C++11 allowed to get rid off many silly workarounds and introduced, among many others, threads and rvalues.
111.
▲
by
wmu
10y ago
Sometimes compilers have bugs or are not fully-compliant. For example MSVC two or three versions ago didn't understand =delete. Standard library also might have errors. Moreover, we use third-part libs that are not always up to date (f
112.
▲
by
wmu
10y ago
We compile our product with GCC, Clang and MSVC, and we need some #ifdefs. MSVC for years was far behind GCC/Clang, recently Microsoft did a really good job and they catching up. But some #ifdefs are still needed. :) I agree that C++11
113.
▲
by
wmu
10y ago
> First, all the compilers already implement pretty much all of it. I'm not sure if by widespread you mean "included in a distribution" but you can use these features today, if you want to install a compiler. Of course, I
114.
▲
by
wmu
10y ago
C++ is my bread and butter. I neither hate or love the language, just use it and observe the way it is evolving. C++ is still popular because there are a lot of existing projects; nobody would throw away their products. Many things were sta
115.
▲
by
wmu
10y ago
I meant that despite the claim that C++ is a general purpose language, it is not popular among average developers. People would choose for a new project C#, Java, Go, Python, Scala or Javascript, but not C++.
116.
▲
by
wmu
10y ago
It's too late for C++ to regain popularity. C++17 features will become widespread in next 3-4 years (C++14 isn't a common standard yet). Moreover, the language has become incredibly complicated and sadly doesn't provide anyth
117.
▲
by
wmu
10y ago
XOP had a few nice instructions, but was killed. AVX-512F has rotations, but only 32 and 64-bit elements. AVX-512BW will support rotation of bytes and words (8 and 16-bit words).
118.
▲
by
wmu
10y ago
Really good and well written article. We did the similar trick with SSE. It's a good approach if a kind of non-portable hash can be used. In system I'm working on we introduced two APIs: hash() which maps to "fastest hash we
119.
▲
by
wmu
10y ago
Both the tutorial and the library are nice. I never heard of Wykobi, and it seems that the library is pretty rich.
120.
▲
by
wmu
10y ago
It was comparison posted at HN -- exceptions were more efficient in case of deep stack unwinding, when compared to testing return codes. But of course, they are not totally free. RTTI memory footprint is negligible in practice; I work on a
More ›