Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tqh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
31.
▲
by
tqh
9y ago
Broken. This will generate page faults if your string ends at a page-boundry and start address isn't aligned on four bytes.
32.
▲
by
tqh
9y ago
It's mostly about bandwidth depending on how the device is connected inside the computer (usb is much better than ps/2 or serial), polling frequency, and software filtering raw data properly (duplicates and such). Some improvement
33.
▲
by
tqh
9y ago
Same here. I lost a disk to btrfs and did not manage to recover any data. No longer on my list of filesystems-I-trust. I guess Suse is the biggest contributor since the others stopped? It doesn't give me any confidence that it can be t
34.
▲
by
tqh
9y ago
We stopped working on BeZilla when Mozilla decided to scrap all native gfx-backends and use Cairo.
35.
▲
by
tqh
9y ago
Yes, https://github.com/fastio/pedis
36.
▲
by
tqh
9y ago
No idea, but they have signed distance fields font rendering (phew) which you can enable to get proper font rendering: chrome://flags/#distance-field-text For some info: https://www.youtube.com/watch?v=CGZRHJv
37.
▲
by
tqh
9y ago
For Go (as it is statically linked) you can use FROM SCRATCH. It's faster, smaller, easier. https://blog.docker.com/2016/09/docker-golang/
38.
▲
by
tqh
10y ago
They don't mention anything about memory fragmentation..
39.
▲
Haiku Is Back in Google Summer of Code
(haiku-os.org)
3 points
by
tqh
10y ago
|
0 comments
40.
▲
by
tqh
10y ago
The minnowboard has GPIO connectors, and has already managed to boot Haiku in UEFI mode. A bit expensive though.
41.
▲
by
tqh
11y ago
Seems to be a running joke in titles :) Why Vector Clocks are Easy Why Vector Clocks Are Hard Why Logical Clocks Are Easy
42.
▲
by
tqh
11y ago
My favorite: http://www.thewrendesign.com/new-ppc-cement-laptop-bag-desig... Waterproof test: https://vimeo.com/39962259
43.
▲
by
tqh
11y ago
If you want to look at a reimplementation of Be File System, here is Haiku's version: https://github.com/haiku/haiku/tree/master/src/add-ons/kerne...
44.
▲
by
tqh
12y ago
Seems Dell is a mess in ACPI and will need firmware updates: http://mjg59.dreamwidth.org/34542.html
45.
▲
by
tqh
12y ago
https://github.com/Lyndir/MasterPassword/ is probably a better idea as it has lots more features and supported platforms.
46.
▲
by
tqh
12y ago
Welcome to the club :) https://www.haiku-os.org/blog/mmlr/2012-07-01_qr_encode_your...
47.
▲
by
tqh
12y ago
The first for-loop looks like it only stops if s* is zero or the pointer s is zero. Also you need to calculate size from the byte in the word that is zero, not the word itself.
48.
▲
by
tqh
12y ago
I was thinking more how branch prediction is handled in the pipeline. Agner Fog states that on Haswell having branches in the same 16 byte block affects performance. Probably not enough to matter though.
49.
▲
by
tqh
12y ago
Kind of similar to the one I wrote for Haiku: http://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix... Makes me wonder if having testbyte() inside the loop will be good for branch prediction
50.
▲
by
tqh
13y ago
Google has switched to Idea with Android Studio: http://developer.android.com/sdk/installing/studio.html
51.
▲
by
tqh
13y ago
I've been keeping an eye on malloc's for quite a while, and they are getting ridiculously big nowadays. The malloc complexity seems to be greater than the programs themselves. With that kind of complexity it's hard to do obj
52.
▲
by
tqh
13y ago
256KB Rom, 512KB Ram. This was a time when harddrives was at ~ 40 MB, 512MB ram was unheard of.
53.
▲
by
tqh
13y ago
The Haiku Vector Icon Format[1] does this. See LOD info here[2]. 1) http://en.wikipedia.org/wiki/Haiku_Vector_Icon_Format 2) http://www.haiku-os.org/docs/userguide/sv_SE/applications&#x
54.
▲
by
tqh
13y ago
DBCP seems to be a safe bet: http://wix.io/2013/06/12/how-many-threads-does-it-take-to-fi... But I think the new connection pool in Tomcat might be interesting as well.
55.
▲
by
tqh
13y ago
Ah thanks for clearing that up. It's in a newer (C++03?) standard. I still have to deal with gcc 2.95 on a regular basis so I'm stuck in the old ways. I guess that is why the title was 'Modern C++'.
56.
▲
by
tqh
13y ago
To me at least build_new_object example seems horribly wrong: If you allocate the object on the stack and then returns it, it will go out of scope with the function, and the memory overwritten with next stack usage. Or does modern C++ do so
57.
▲
by
tqh
13y ago
I really really wish they'd Javadoc their code properly, before they do anything else at all..
58.
▲
by
tqh
13y ago
It's not intended. It's clock and/or data-signals that leaks and has gotten amplified, if you look at it in an oscillator you will probably see a square or sawtooth wave at around 1KHz. You might even be able to read that dat
59.
▲
by
tqh
13y ago
Very good article, it would be interesting to look at Tomcats new connection pool as well: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html
60.
▲
by
tqh
13y ago
The Baroque cycle: Quicksilver, The Confusion and System of the World is awesome as well. Who doesn't want to read fiction about The Royal Society, Isaac Newton and Liebniz mixed in with phrases in the line with "In memory of Eng
More ›