Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
byuu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
121 ms
·
751.
▲
by
byuu
12y ago
Having written an HTTP server+proxy recently, I haven't been super impressed with HTTP/2 so far. There is some good in it (basically everything I'm not mentioning), but also a lot of bad. First, Firefox (and some others) are
752.
▲
by
byuu
12y ago
> you should highlight why you like your OS I'd be happy to! ZFS, DTrace, pf, Bhyve, Capsicum, Jails, GEOM/geli, the userland is part of the base system, and the core team is elected. For the buzzwords: I like that my out-of-bo
753.
▲
by
byuu
12y ago
I can't speak for everyone, but I switched my website and local PCs over to FreeBSD. In my case, after having suffered through years of broken audio from Lennart Poettering's previous grand experiment (and his attitude toward detr
754.
▲
by
byuu
12y ago
On the bright side ... there's a very concerted effort in the Linux world to transform the OS into something completely different; simplified for casual users, designed more for tablets and desktops, less modular, and non-portable. sys
755.
▲
by
byuu
12y ago
About the same. It wouldn't detect my SATA HDDs on a GA-945GCM-S2C board (no issues with that on Windows/OSX-Hackintosh/Debian/FreeBSD), had to use USB-HDD to install. Only option for my nVidia graphics was the nv driver
756.
▲
by
byuu
12y ago
Thanks for the guide. Serious question, say I were to do a clean install of Jessie. I would use Xfce with either LightDM or no DM, or I might choose to set up a VPS that obviously won't even need Xorg. Is there a way during installatio
757.
▲
by
byuu
12y ago
Debian has always seemed to be about choice. You can even run it (for now, at least) on the FreeBSD kernel if you so choose. Obviously they are going to have to require systemd for Gnome 3.14+, but I see no reason not to allow installing a
758.
▲
by
byuu
12y ago
I must not have explained it well enough. Take std::string. It is missing majorly useful functions that exist in other languages, such as trim, transform, split/explode/tokenize, replace-by-string (std::string is replace-by-length
759.
▲
by
byuu
12y ago
(Late response, sorry.) It may not be proper to say this, but if you look at 加, to me it's clearly the 力 radical + the 口 radical. I know that officially it's classified under 力. wwwjdic has a tool based around my observation, call
760.
▲
by
byuu
12y ago
(Late response, sorry.) Seems focused on Chinese, but Han unification means it's still somewhat useful. The drawing feels clunky and I see both my mouse cursor and their custom pen cursor at the same time. The drawing window is rather
761.
▲
by
byuu
12y ago
Oh, wow. I know most people dislike C++ language extensions, given how complex the language already is. But as a library author, I truly believe this is the most powerful and useful addition we can add to the language now. I've been wa
762.
▲
by
byuu
12y ago
Oh wow, the drawing mechanism is really satisfying. Too bad about not supporting 漢字. The only half-decent IME pad is on Windows. Online ones (kanji.sljfaq.org) and Xorg ones (ibus-mozc) are just horrendously bad at detection. I usually have
763.
▲
by
byuu
12y ago
One of the most intensely frustrating things to me about doctors is the way they treat anyone explaining something not immediately diagnosable as though the patients are pathological liars or hypochondriacs. I don't care if there are a
764.
▲
by
byuu
12y ago
I'm somewhat interested in the tools, to see how the internet would route around the problem. One idea would be to make a browser that can 'leech' off sites that paid for fast lanes. Say, you store your data onto Google Drive
765.
▲
by
byuu
12y ago
Surely the Chrome extension is also an emulator, albeit a much faster one. Just seems like a large opportunity to create and sell the Parallels equivalent for Android, given the buzz this seems to be creating. Edit: looks like that is done
766.
▲
by
byuu
12y ago
Can anyone explain how this differs from using an Android emulator? ( http://developer.android.com/tools/help/emulator.html ) Is it a matter of features, speed, or convenience? Obviously, all of those can be overcom
767.
▲
by
byuu
12y ago
Ultima Online was just a nightmare. They constantly released major protocol changes with each new patch, and those were pushed out on an almost weekly basis. It was still really fun though to play as a GM on your own little personal serve
768.
▲
by
byuu
12y ago
I haven't had any issues so far using four drives mirrored on ZFS, but the ECC issue certainly worries me. I'd love to run ECC RAM, but I'd have to buy a much more expensive processor, a much more expensive mainboard, and a
769.
▲
by
byuu
12y ago
So it sounds like they are okay with binary kernel modules, just not built-in to the base kernel. FreeBSD manages to do ZFS as a kernel module (plus another module for Open Solaris abstractions) quite successfully. Although it has somewhat
770.
▲
by
byuu
12y ago
Thanks, the is_compatible test certainly gave me a good bit of trouble. Ideally you'd want to do enable_if< conditionA || conditionB >, but of course if one of the conditions fails to evaluate, the overload is ignored. So you hav
771.
▲
by
byuu
12y ago
By ambiguous, I mean that operator|'s precedence is very different than operator.'s (std::operator<< has similar issues); which could lead to surprises if you don't have the precedence tables memorized. operator. is at
772.
▲
by
byuu
12y ago
I've been quite disillusioned with C++ myself as of late. I am currently writing a wrapper class around shared pointers to objects with inheritance (which embed their own private implementations, which also utilize inheritance) so that
773.
▲
by
byuu
12y ago
I'd really like it if they added D's uniform function call syntax to C++ ( http://www.drdobbs.com/cpp/uniform-function-call-syntax/2327... ). Then this code could be: auto r = numbers().where([](int
774.
▲
by
byuu
12y ago
A similar situation happened to me, but obviously on a smaller scale. I added support for using pixel shaders on emulated video game output, but rather than have separate files for the vertex and fragment shaders, I put the pair into an XML
775.
▲
by
byuu
12y ago
Oh ... I looked at libtask/task.c and found: static void contextswitch(Context *from, Context *to) { if(swapcontext(&from->uc, &to->uc) < 0){ fprint(2, "swapcontext failed: %r\n");
776.
▲
by
byuu
12y ago
Seems like that would prevent small string optimization (a union of a small char array and the heap char pointer.) That lets me store about 85% of the strings in my assembler without any heap allocation, and is a huge win in my book.
777.
▲
by
byuu
12y ago
Just a forewarning: that library, like most C cooperative threading libraries, is using ucontext. ucontext is unbearably slow, to the point where it's just as fast to use real threads and mutexes, even on a single-core system. There is
778.
▲
by
byuu
12y ago
> Have you come up with a solution (I'm interested to know how, if you succeeded)? Nope. Naive approach is: for every byte of the modified file, compare against every position in the source file and find the longest match. If less t
779.
▲
by
byuu
12y ago
Yep, I gave up on naming things. I tried to use really creative names as is common in the Linux world (Ristretto, Amarok, Brasero, Thunar, etc), but it drove me up the wall (I once named a project "xkas", ugh.) It's so hard t
780.
▲
by
byuu
12y ago
> I see this on almost a weekly basis. It is really disheartening and almost infuriating. I think it's part of the broader anti-intellectualism movement. For whatever reason, people who strive to exceed in life offend those who don&
More ›