Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
htfy96
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
htfy96
8y ago
I'm not a D expert, but I think the raptor_uri_copy is called in dup() method of URIWithoutFinalize/URI, which is essentially the full_copy() method. The code says only URIWithoutFinalize() is shallow-copyable, and URIWithFinalize
182.
▲
by
htfy96
8y ago
> In short, PostgreSQL assumes that a successful call to fsync() indicates that all data written since the last successful call made it safely to persistent storage. But that is not what the kernel actually does. When a buffered I/O
183.
▲
by
htfy96
8y ago
Hungarian notation exists/existed for a reason: m_nWheels is still quite useful in C++ program
184.
▲
by
htfy96
8y ago
That kind of mitigation just makes me one step away from Rust - system programming languages should stick to the platform behavior, otherwise it's just another Python. Moreover this change is not documented anywhere else. Have a look a
185.
▲
by
htfy96
8y ago
Personal option: Separating leak from UAF and claim the former is more acceptable should not be the case, because leak applies to more than memory, and leaky fds can also create security holes like [0] [0]: https://labs.portculli
186.
▲
by
htfy96
8y ago
Have to say that nothing can make your program automatically safe (defined by common sense, not "memory leaks are also memory safe"[0]) without any effort, and the trend to claim some languages are inherently "safe" whil
187.
▲
Game Theory with Engineering Applications
(ocw.mit.edu)
2 points
by
htfy96
8y ago
|
0 comments
188.
▲
Schläfli symbol
(en.wikipedia.org)
1 points
by
htfy96
8y ago
|
0 comments
189.
▲
X265 3.0 released
(bitbucket.org)
138 points
by
htfy96
8y ago
|
119 comments
190.
▲
by
htfy96
8y ago
I hope the split dwarf problem was fixed (haven't checked it out), which would make linking way more faster.
191.
▲
by
htfy96
8y ago
That's true. Carrier Grade NAT now records NAT log and sends them to tracking servers.
192.
▲
Direction for ISO C++ (R2) [pdf]
(open-std.org)
2 points
by
htfy96
8y ago
|
0 comments
193.
▲
by
htfy96
8y ago
As a C developer I have to say there exists no idiomatic makefile - configuring header file dependencies with -MMD/auto rebuild targets affected by FLAGS change already makes your Makefile look like magic. As the project grows, eventua
194.
▲
by
htfy96
8y ago
To be fair, it is not tough at all for a "high-skilled" foreigner to work at China by getting a Z-visa - I guess most employees at Bay Area fall into this category.
195.
▲
by
htfy96
8y ago
Just an opinion: Rust and C++ are going on different paths and selecting different subset of features. Rust generally lies in higher layer, while when it comes to tough situations like ABI compatibility, a machine that CHAR_SIZE does not eq
196.
▲
by
htfy96
8y ago
The story sounds quite familiar in both data scientist and system programming parts - in past years system programming(especially embedded system) is highly undervalued. As I know some of my friends doubled their package simply by switching
197.
▲
by
htfy96
8y ago
The real problem is the path from L1/OPT -> H1B -> green card is purely based on how many years you have worked in the US and performed as some kind of lottery. The transition may take at least 8 years, almost identical for highl
198.
▲
by
htfy96
8y ago
Now both Java10 and C++11 have auto type inferences: var and auto keywords respectively
199.
▲
NumPy 1.16 is the last release to support Python 2.7
(github.com)
240 points
by
htfy96
8y ago
|
109 comments
200.
▲
by
htfy96
8y ago
I have to say that most "Rust is fast" articles I read stop at comparing microbenchmarks written with not much care on performance. I really want to see some comparisons in highly-optimized cases like linear algebra library (Eigen
201.
▲
by
htfy96
8y ago
It's more like Chrome/Google play framework in China (and they are all blocked). Not surprising if you compare WeChat to a combination of GPay, GGame, GStore, etc.
202.
▲
by
htfy96
8y ago
It's for app-lockin. Most people will not uninstall an app after installation. Moreover many new Internet users in China cannot even remember a password that's secure enough.
203.
▲
by
htfy96
8y ago
The title pretty much reflects today people's focus on such a progress. Maybe we can train attention networks to simulate focus of different groups of people, and I'm sure that "MIT" & "AI" will end up with
204.
▲
Matrix multiplication: small difference in size, large difference in timing
(stackoverflow.com)
2 points
by
htfy96
8y ago
|
0 comments
205.
▲
by
htfy96
8y ago
Nice examples and graphs. What really confuses me is the definition of "low-latency" nowadays. The meaning suffers a slippery slope in recent years. It used to refer to a scale of microseconds at HFT shops, then it came to web req
206.
▲
by
htfy96
8y ago
> only maintainer will write it In C++ everyone is a combination of developer, tester, package maintainer and deployer. According to my experience, even the best package repos like conan or vcpkg's still lack many important packages
207.
▲
by
htfy96
8y ago
This should be a library function that will not be exposed directly to most developers, who only need to know for_each(Range, fun) which is pretty straightforward.
208.
▲
by
htfy96
8y ago
You cannot understand every assembly generated by modern compilers either. Both C & C++ provide no guarantee for any of these. Since ranges is basically a pair of begin/end iterator, I think it will be almost identical to it.
209.
▲
by
htfy96
8y ago
This was already broadly used at least 10 years ago. Interestingly, modern C++ techniques tend to be ignored by HN folks, while old stuffs[0][1][2][3] generally gain more points. [0] this thread [1] https://news.ycombinator.com&#
210.
▲
by
htfy96
8y ago
Personally I doubted about the overhead on nowadays machines. I guess a Electron app with a button definitely goes over more abstraction than several indirection when it is clicked. Should we really care about these overhead, at least on de
More ›