Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemanjaboric
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
nemanjaboric
5y ago
The old website for Gyros stand in Berlin: https://grandegyros.de/alt/standort.htm There's also a new one https://grandegyros.de/
2.
▲
by
nemanjaboric
5y ago
There's a sizable portion of people believing that spherical coordinates can be directly converted to planar coordinates :-).
3.
▲
by
nemanjaboric
6y ago
There's a proposal to add fibers (akin to Boost.Fiber) to std C++, and of course, don't forget about coroutines :-)
4.
▲
by
nemanjaboric
6y ago
This is very common in Germany. I worked (and work) with several people across different employers that worked 2, 3, and (this is the most common variant) 4 days per week. All folks that worked 2 and 3 days, in reality though worked 7 days,
5.
▲
by
nemanjaboric
6y ago
Generally Available
6.
▲
by
nemanjaboric
6y ago
According to https://news.ycombinator.com/item?id=22865842 #embed proposal is in the review process http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2499.pdf . This similar (same?)
7.
▲
by
nemanjaboric
7y ago
Small note that this is fixed in C++17: https://stackoverflow.com/questions/38501587/what-are-the-ev...
8.
▲
by
nemanjaboric
7y ago
This is similar to idx/sub files from DVD which are just images and they are OCRd to text sub/srt file. I assume it's just easier for them to render the image than to mess up with text rendering/code page issues/wha
9.
▲
by
nemanjaboric
7y ago
I used to go to stackoverflow.com to check for the new questions and write answers.
10.
▲
by
nemanjaboric
7y ago
Given his user name he may be from the Funkwerk: https://dlang.org/blog/2018/03/14/user-stories-funkwerk/
11.
▲
by
nemanjaboric
7y ago
Yeah, the article is somewhat confusing, or wrong? I didn't see much people driving on pavement as well (I can't recall any), but had to move four of these to the side so that the lady with a roller can go through the pavement. Th
12.
▲
by
nemanjaboric
8y ago
One of the available garbage collector implementations in D (version 1) (and there's a work in progress to port it to D2) is a concurrent garbage collector which performs a mark phase in forked process going over the address space. Als
13.
▲
by
nemanjaboric
8y ago
I have (and I wear them at the moment) a single pair, while my wife has several pairs, so it might be we're biassed, but... here in Berlin, pretty much you can see them everywhere. In public transport, stores, on a street, in summer an
14.
▲
by
nemanjaboric
8y ago
It seems that the author followed the same logic as the author of the "English As She Is Spoke"[1] phrase book between Portuguese and English, with the French dictionary in between. [1] https://en.wikipedia.org/wiki
15.
▲
by
nemanjaboric
8y ago
I guess this would be in line with the Linus' description of GitHub: > I think github does a stellar job at the actual hosting part. I really do. There is no question in my mind that github is one of the absolute best places to host
16.
▲
by
nemanjaboric
8y ago
> By default, docker containers run as root which causes a breakout risk. If your container becomes compromised as root it has root access to the host. Is this really true, unless you start container with `--privileged`? Incidentally, I
17.
▲
by
nemanjaboric
8y ago
Nevermind. If you check `vim-use` mailing group release email, you can see that there's `help version8.1` command which discusses the new release in more details.
18.
▲
by
nemanjaboric
8y ago
Where can I find this "terminal debugger plugin"? Btw, terminal can be opened using `:terminal`, in case you're wondering (the release notes should really show how to use the new features).
19.
▲
by
nemanjaboric
9y ago
> Luckily it's easy enough to support IPv6: just replace AF_INET by AF_INET6 and it will work with both IPv4 and IPv6 ! So don't you dare to ever use AF_INET anymore without a good excuse (emphasis mine) AFAIK, on many systems
20.
▲
by
nemanjaboric
9y ago
I live and work in Berlin for years now, working in startups, and I haven't met anybody that (openly) uses anything harder than tobacco or coffee, nor I met anybody who said they knew somebody to do that. Beer is common after work, onc
21.
▲
by
nemanjaboric
9y ago
We're using this technique to stuff the file descriptor with the accompanying object for the epoll registration, so one can check if the (reusable) object was reused for something else while registered with other file descriptor in the
22.
▲
by
nemanjaboric
9y ago
I think the point is high CO_2 exhaustion rate of the gasoline cars, so that entire industry (and customers) switched towards the diesel engines, actively promoting them to be superior and eco-friendly variant of gasoline engines. Turns o
23.
▲
by
nemanjaboric
9y ago
Thanks!
24.
▲
by
nemanjaboric
9y ago
Yes, sorry, I've missed the point that you can move them across the threads (was sidetracked by the usual notion of them running in the same thread).
25.
▲
by
nemanjaboric
9y ago
Oh, I'm aware this is a late reply, but it's better than nothing. Yes, what you describe is exactly the kind of load we're addressing, and we're not getting GC to be in the way, simply by making usage of the reusable mem
26.
▲
by
nemanjaboric
9y ago
No, sendfile is not necessarily non-blocking (note the difference between async and non-blocking IO), it still blocks the caller if the reading side is a disk device. The advantage of using sendfile is that you need to copy the data from th
27.
▲
by
nemanjaboric
9y ago
Yes, the trick is that disk device is considered "fast", so it's not selectable - it's always ready to read/write, which is a lie. I _feel_ (and think, I don't have any data to prove this) the main problem here
28.
▲
by
nemanjaboric
9y ago
Which API are you referring to? If you're referring to `aio_` that's just glibc's user-space thread-pool emulation of the POSIX's asynchronous IO + many operations needed for the truly async IO are not supported (such as
29.
▲
by
nemanjaboric
9y ago
Trick is that nginx uses thread pools for non-blocking reading on the "fast" devices - you can't use coroutines/fibers, because on Linux is not reliably possible to read the regular file in a non-blocking way, as far as