Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
p0nce
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
451.
▲
by
p0nce
7y ago
It depends. If your target is x86/x86_64 and the compiler has a LLVM or Intel backend, I've found that beating the compiler is almost impossible and largely futile. I took a long time to accept this since I know asm and the x86 in
452.
▲
by
p0nce
7y ago
> So does this mean that programming education is broken? Of course it is broken, it rarely mention naming, debugging, and never emphasize reading code. The real fundamentals are not there and you learn them on the job.
453.
▲
by
p0nce
7y ago
I liked most interviews, but the one that irks me are when the interviewer asks very specific questions that are specific to the particular domain the company is in. But one of the biggest reason to apply somewhere as a developer is precise
454.
▲
by
p0nce
7y ago
Hi, and thanks for your interesting work. Isn't the quality of the prediction heavily influenced by how common the encoded content is?
455.
▲
by
p0nce
7y ago
> practically speaking nearly everyone is moving on to HEVC. Nearly all the other competitors are in development and unusable because of their really slow encoding time. Be careful when saying the truth!
456.
▲
by
p0nce
7y ago
> h265 is doomed I strongly recommend to see this video: "The state of advanced codecs; separating hype from reality" https://www.youtube.com/watch?v=vgE8-4rcXl0
457.
▲
by
p0nce
7y ago
It's a debt decision, the difficulty of creating the code is relatively small compared to the everlasting cost of maintaining it afterwards. Also, managing the dependencies whims also is debt.
458.
▲
by
p0nce
7y ago
Alternative: stop thinking about what you can't do
459.
▲
by
p0nce
7y ago
It think the point of the article is that with SaaS, the customer invariably end up spending more than she really wanted vs purchased locally-hosted software. Which is a big reason why there is so much SaaS in the first place, in both the c
460.
▲
by
p0nce
7y ago
How did people get the impression software was so reliable?
461.
▲
by
p0nce
7y ago
The take-away is that PDF should not be an input to anything.
462.
▲
by
p0nce
7y ago
traits + "constexpr if" replace SFINAE.
463.
▲
by
p0nce
7y ago
Carbon tax is not harder to implement than VAT. It's also the most effective tool against CO2 release.
464.
▲
by
p0nce
7y ago
It's also my experience that political "will" for change lasts about six month...
465.
▲
by
p0nce
7y ago
Does this happen in practice or the old product is just replaced by a newer _competitor_?
466.
▲
by
p0nce
7y ago
I use the same technique, sibgle text file under version control.
467.
▲
by
p0nce
7y ago
I just hate the "fun" jokes in Discord at start-up. I'm in 4 servers and none of them are about video gaming. It is a great chat application fit for many more purposes. Discord is great for business!
468.
▲
by
p0nce
7y ago
In countries where VAT tax exist, the whole chain of value pay a fraction of the added value they produce. It works with a differential between the VAT you bought vs the VAR you charged. Why wouldn't we don't adopt a similar syste
469.
▲
by
p0nce
7y ago
D can be used for almost everything: this is indeed a marketing message that is harder to pass than "Language X is made for problem Y". For example I do signal processing, and D is surprinsingly pleasant for it since it has builti
470.
▲
by
p0nce
7y ago
> If you have real-time needs, then GC is probably out. That includes handling audio and video playback. You'd be surprised. At first our D audio products had GC enabled, and that created very little problems. When we got rid of the
471.
▲
by
p0nce
7y ago
I think most of it comes down to not knowing how a GC works internally.
472.
▲
by
p0nce
7y ago
So why increase spending ? Tax it.
473.
▲
by
p0nce
7y ago
> I like to think that a lot of people that have the money to purchase a game in the first week, would still purchase it even if a cracked version is available. This is incorrect.
474.
▲
by
p0nce
7y ago
Crackers also do it for money
475.
▲
by
p0nce
7y ago
Interesting! Now I'm interested if there has been one usage case for the single bit spinlock in practice. It seems appropriate if writes aren't too numerous (well leaving aside speed concerns). Or a case where std::mutex was too l
476.
▲
by
p0nce
7y ago
Mmmm... I had to write this down. 0: CAS_bit_n(void* adr, int n) 1: while(true): 2: old <- read unit(adr) 3: new <- compute-new-value-with-changed-bit-n(old, n) 4: if CAS(adr, old, new): 5: break
477.
▲
by
p0nce
7y ago
That doesn't work since this isn't atomic anymore.
478.
▲
by
p0nce
7y ago
That's why tricle down carbon tax is a right answer.
479.
▲
by
p0nce
7y ago
Honestly I'm not so sure about the case for spinning; in x264 source you can see CRITICAL_SECTION is tuned to have a spincount of 0. This is a very optimized, multi-threaded app. They didnt want any spinning. https://github.
480.
▲
by
p0nce
7y ago
A typical mutex has essentially two very different costs depending on whether the lock is already taken by another thread: - Uncontended case + mutex: no syscall, fast path is basically the cost of the memory barrier. - Uncontended case + s
More ›