Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
faragon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
451.
▲
by
faragon
9y ago
English is the lingua franca in IT, worldwide. Everyone in IT knows it, to some extent. And even general population get English as second or third language. English teaching is generalized at developed countries, while German it is not. P.S
452.
▲
by
faragon
9y ago
Well, for neighboring countries I meant EU countries. You can have near unlimited low-qualification worker supply from your strictly speaking neighboring countries, but not necessarily world-class skilled workers, specially, if those worker
453.
▲
by
faragon
9y ago
> TLDR: In many Germany's neighboring countries it is common to know German on a decent level - at least if you plan to work in Germany. If there was I second language from a neighboring country in which work should be accepted, thi
454.
▲
by
faragon
9y ago
In my opinion, unless German IT companies accept to work in English because available workforce in neighbor countries already know English, or they're going to have problems attracting world-class talent. I.e. accepting as "accept
455.
▲
by
faragon
9y ago
Thank you very much, it is very interesting! I started with a weird VM with 16-bit opcodes for variable-length instructions (VLIW) and now I'm trying to write a compiler for it. At the beginning I considered a stack-based CPU so I coul
456.
▲
by
faragon
9y ago
Still not being very efficient generating Z80 code, the SDCC is amazing! :-) P.S. SDCC mirror in GitHub: https://github.com/svn2github/sdcc
457.
▲
by
faragon
9y ago
How that will impact in international shipping prices, for good?
458.
▲
by
faragon
9y ago
TL;DR: if manufacturer gives a guarantee for a component, the component will last for honoring the guarantee.
459.
▲
by
faragon
9y ago
Standard or not, if you use an OS with memory protection (MMU), you'll get those exceptions in C++.
460.
▲
by
faragon
9y ago
C++ exceptions are dangerous, even when working as expected. In my opinion, C++ without exceptions (or the minimal for e.g. logging the error -division by 0, invalid memory access, etc.-) is a fine language.
461.
▲
by
faragon
9y ago
Sure it can. The problem is to validate that e.g. the net really knows geometry, and not that it is just working for problems similar to the ones in the training. Unless the training can be validated, i.e. formally proven that after some sp
462.
▲
by
faragon
9y ago
TL;DR: ad hominem arguments.
463.
▲
by
faragon
9y ago
The article is wrong, in my opinion. Regarding point #1, still not being formally wrong, world computing capability is growing at exponential rate. Not even the end of the Moore's law will stop that, e.g. 3D transistor stacking, strong
464.
▲
by
faragon
9y ago
TL;DR: rich people with big ego.
465.
▲
by
faragon
10y ago
The fool complicate the simple, while the wise simplify the complex.
466.
▲
by
faragon
10y ago
40s, and programming a bit better every day! :-)
467.
▲
by
faragon
10y ago
Wow, thank you very much! :-)
468.
▲
by
faragon
10y ago
Whatever other data structure you use is not going to be simple, and will have even worse drawbacks: e.g. using hash tables for handling allocation pools and free blocks could be even worse.
469.
▲
by
faragon
10y ago
ERRATA: if (req_size < sizeof(stack_buf)) Should be: if (req_size > sizeof(stack_buf))
470.
▲
by
faragon
10y ago
You can do stack allocation in C without "alloca()", e.g. size_t example(const char in, const size_t in_size, char out, const size_t max_out_size) { size_t out_size = 0; char stack_buf[32768]; char *buf = stack_buf; ch
471.
▲
by
faragon
10y ago
You can guess a maximum for covering 99.99% of the cases, and use dynamic memory just in the 0.01%. E.g. size_t example(const char in, const size_t in_size, char out, const size_t max_out_size) { size_t out_size = 0; char stack_buf[
472.
▲
by
faragon
10y ago
Or even better: for local small allocations just use the stack.
473.
▲
by
faragon
10y ago
Sure. Imagine you have a process with 2^20 active allocations (e.g. 2^20 calls to malloc()), i.e. you have a tree with the metainformation, and every time you de-allocate and allocate you have to search trough one or more trees. So no matt
474.
▲
by
faragon
10y ago
Explicit dynamic memory handling in low level languages hurts in a similar way garbage collectors do in high level languages: hidden and often unpredictable execution costs (malloc/realloc/free internally usually implement O(n log
475.
▲
by
faragon
10y ago
I'll give a try.
476.
▲
by
faragon
10y ago
Systemd has cool things, but it is a monster. I'm glad this alternative exists.
477.
▲
by
faragon
10y ago
Most MIPS CPUs can run both BE and LE (MIPS-LE), although is usually tied to the kind of applications (e.g. most MIPS routers run in big endian mode)
478.
▲
by
faragon
10y ago
HDD is commom in cases where the final word on software design decisions is on people not having a clue on what they are doing. HDD (Hype Driven Development) combined with IDM (Ignorance Driven Management) is the perfect combination for bub
479.
▲
by
faragon
10y ago
I hope that doesn't finish as a "quantum bubble".
480.
▲
by
faragon
10y ago
Mainly for networking or disk storage, and in general for anything involving storing integer data into raw packets that will reach different CPU architectures (e.g. load or store an integer from/to a memory buffer into/from a CPU
More ›