Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mratsim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
mratsim
3y ago
Intel VTune, Apple Instruments and perf have been able to profile without frame pointers.
92.
▲
by
mratsim
3y ago
It's not. 14 is still low compared to other ISAs.
93.
▲
by
mratsim
3y ago
It's not dependencies, it's bottlenecks that you need to fix.
94.
▲
by
mratsim
3y ago
Anything that interact with the kernel needs to be tested on the actual OS. Simiarly if you call native libraries. And Apple Clang masquerading as GCC or not having all upstream LLVM patches is also annoying.
95.
▲
by
mratsim
3y ago
`when myCondition():` instead of `if myCondition:` is done at compile-time. Alternatively you can use a `static:` code block to force compile time evaluation. Or tag a function {.compileTime.} or tag function inputs with `static` modifier.
96.
▲
by
mratsim
3y ago
The memory management is type-bound: type Foo = object -> no GC, stack object, can use destructors type Foo = ptr object -> manual memory management type Foo = ref object -> "GC", refcounting to be exact.
97.
▲
by
mratsim
3y ago
Nim is used to secure the Ethereum blockchain in the nimbus client.
98.
▲
by
mratsim
3y ago
{.compile: "myfile.c".} {.compile: "myfile.cpp".} {.compile: "myfile.asm".} does the same in Nim.
99.
▲
by
mratsim
3y ago
> netflix I remember Vectorflow for sparse neural networks.
100.
▲
by
mratsim
3y ago
What are the key metaprogramming features you miss when not using D? How do they compare to Nim's?
101.
▲
by
mratsim
3y ago
V-style hype?
102.
▲
by
mratsim
3y ago
Hopefully, AMD wakes up and allows ROCm / HIP on their 7040 series, that would be a killer feature. And AFAIK the Ryzen pro do have an "AI coprocessor" but unsure of the API to use them.
103.
▲
by
mratsim
3y ago
I actually studied rubber wheels for metro in engineering class. They are useful if stations are very near each other because of greater braking power, so you can stay decently fast in-between stations.
104.
▲
by
mratsim
3y ago
Can't an extension filter that event out?
105.
▲
by
mratsim
3y ago
Wouldn't anchoring be damaging in this case, you anchor some number and by having to pay more by a lot, you feel the loss more acutely? It sounds to me more like the real estate agent trick of presenting a poor house, a luxury house an
106.
▲
by
mratsim
3y ago
> Don't use Docker's --cpu flag and instead use --cpu-shares to avoid (mostly useless) quota enforcement. One caveat is that an application can detect when --cpu is used as I think it's using cpuset. When quota are used it
107.
▲
by
mratsim
3y ago
That sounds like dev and user experience nightmare.
108.
▲
by
mratsim
3y ago
The real question is "What's your threat model?" If it's people stealing your laptop and fear of identity theft, use the TPM. If it's the NSA, ¯\_(ツ)_/¯
109.
▲
by
mratsim
3y ago
So you use soldered RAM. And the OS provides hardened memory areas that can't be dumped.
110.
▲
by
mratsim
3y ago
TIL, I thought TUI meant Terminal UI
111.
▲
by
mratsim
3y ago
Taxes not going where they have the most impact, and lawyers extracting money from the system.
112.
▲
by
mratsim
3y ago
Unless you use zero-knowlege proofs, there is always a 3rd party that needs to guarantee they checked your identity.
113.
▲
by
mratsim
3y ago
Self-hosted? Mac Mini Cloud? Oracle free-tier and otherwise Hetzner.
114.
▲
by
mratsim
3y ago
You said you wanted no queue.
115.
▲
by
mratsim
3y ago
It was broken because of a mathematical breakthrough using theory lurking in the dark corners of math. The protocol itself was also using some somewhat dark corner of math. Which is why having as many eyes as possible is important. Now it&#
116.
▲
by
mratsim
3y ago
How can you send and receive network packets without queueing? Besides quantum entanglement I mean.
117.
▲
by
mratsim
3y ago
Video encoding uses a *lot* of energy, Youtube, Netflix and friends. And capitalistic force are not fast enough and d not take environmental impact into account has carbon taxes are not there or not high enoigh or lobbied against or not mea
118.
▲
by
mratsim
3y ago
Wait until Hacktoberfest
119.
▲
by
mratsim
3y ago
They mean disputes go on for years, costing society a lot and enriching intermediaries.
120.
▲
by
mratsim
3y ago
Aren't Excel sheets still limited to 1M rows or so?
More ›