Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
exDM69
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
241.
▲
by
exDM69
3y ago
Rust can be called from C the same way as C++ can. You need to export unmangled extern "C" symbols. Not quite frictionless but there are helper utilities for this. If the Rust code uses the "StupidAlloc" allocator, it sh
242.
▲
by
exDM69
3y ago
WoodRiver is a US brand for tools manufactured by Quangsheng tools in China. They are sold all over the world under different brand names. In the past few years, a similar factory has emerged in India with lots of different brands selling t
243.
▲
by
exDM69
3y ago
Unlike all your examples, milk is not trademarked. Additionally, there are a lot of examples where the term milk is used to describe a non-dairy product. E.g. coconut milk. This is nowhere nearly as clear cut as you portray it.
244.
▲
by
exDM69
3y ago
> That doesn't change the fact there were still long-term homeless people, contrary to bboygravity's proposition " If you're literally homeless in Finland you would die during winter season? Could that be a contributi
245.
▲
by
exDM69
3y ago
There aren't that many homeless killed by the harsh winter any more (or in decades). There were in the 1950s. > This is clearly not so, because the source I gave shows long-term homeless people in Finland, who survived winter using
246.
▲
by
exDM69
3y ago
> Only if one believes that the lack of a home or a house is the root cause of the individuals problem. Homelessness may not be the root cause, but it effectively prevents one from having a normal life. One is unable to help oneself if t
247.
▲
by
exDM69
3y ago
The source you refer to is talking about municipal housing, which is just normal rental housing owned by municipalities. There is indeed a lot of those and it sure helps keeping the homelessness down together with social support. There are
248.
▲
by
exDM69
3y ago
That's two or three apartment blocks, so maybe 200-500 apartments? Don't have exact figures at hand. The municipally owned rental housing (available to anyone) which you talk about, together with different forms of social support
249.
▲
by
exDM69
3y ago
That is a different matter. Municipalities own a significant amount of housing available for rent. These are available for anyone but there are societal reasons why someone might be preferred (e.g. single mother), while others are in the qu
250.
▲
by
exDM69
3y ago
This is incorrect. There are only a few houses for this purpose in the Helsinki Area, and they are actually in quite nice locations and far from each other. No-one in their right mind would live in these houses if they have an alternative,
251.
▲
by
exDM69
3y ago
This is not very accurate depiction. The tent camps that were common 15 years ago were victims of human trafficking by southern European gangs. They were predominantly from a certain ethnic group from two southern European countries. They a
252.
▲
by
exDM69
3y ago
Yes, most of the homelessness in Finland is driven by substance abuse and mental illness too. It's mostly alcohol, amphetamines (meth included), buprenorfine and benzos from Eastern European organized crime and fentanyl is not as commo
253.
▲
by
exDM69
3y ago
The issue with runtime instruction set detection and dynamic dispatch is that it needs to be at a rather coarse level to be beneficial. Take a simple 4-wide dot product for example, on x86_64 you'd have 3-4 different implementations (S
254.
▲
by
exDM69
3y ago
Using the Fibonacci buckets in a hash table fixes the "accidentally quadratic" behavior when resizing a hash table. There are other possible ways to fix this problem too, but this trick described here will work. Using a better has
255.
▲
by
exDM69
4y ago
> I'd be happy if games simply paused rendering when minimised. Some games do this, some don't. Yes, please. It drives me nuts to have GPU fans spinning when game is minimized, paused, in the loading screen, turn based and no i
256.
▲
by
exDM69
4y ago
Using Helix has been a really positive experience, thanks to everyone contributing to this release. I've been using Helix 22.12 release for a few months, it's been really stable. The previous release had some stability issues (cra
257.
▲
by
exDM69
4y ago
Do you know its surface area?
258.
▲
by
exDM69
4y ago
Can you give an example of a state of the art small transistor circa 1965 to make apples to apples comparisons with? The integrated circuits in the Apollo instrumentation unit perhaps?
259.
▲
by
exDM69
4y ago
What a visionary article and a delightful read. To give another context to look at this in retrospective, here's [0] a die shot from a 2n3906 transistor made in 1965 (still available today). It's roughly 60µm * 60µm in size. By co
260.
▲
by
exDM69
4y ago
No, not really. LLVM is not a C compiler, it consumes an intermediate representation. Clang is the C compiler which produces LLVM IR. Likewise, GCC contains a C compiler but the machine specific parts like the codegen take an intermediate r
261.
▲
by
exDM69
4y ago
This is awesome, thanks to the authors of this, as well as all the authors involved in the Rust text rendering ecosystem. While browsing this, I found the Rustybuzz project which implements the Harfbuzz shaping algorithm in pure Rust. Harfb
262.
▲
by
exDM69
4y ago
GDB supports reverse execution out of the box (not on all targets / remote), but it can be useful in some cases [0]. The tricky part is I/O and all the other side effects, which can not be undone as easily as memory / registe
263.
▲
by
exDM69
4y ago
I certainly noticed the marker balls, but... On a quick glance, they do not mention if they are using the external cameras for the control algorithm or just verifying the results. The QR code-like markers on the gates suggests that there is
264.
▲
by
exDM69
4y ago
I'm also working on a linear octree (like quadtree but 3d) right now. An array sorted by Morton code is a quadtree/octree and an equally spaced kd-tree. Radix sorting can be used for sorting in linear time (and GPUs). When looking
265.
▲
by
exDM69
4y ago
No, not many people in continental Europe are comfortable with miles, feet and inches. But sailboat length is traditionally measured in feet. Same for aircraft altitude. So sailors and aviators are more likely to use feet (and nautical mile
266.
▲
by
exDM69
4y ago
> There are settings you can place in .gdbinit to avoid stepping in to internals of anything you don’t want to step into, be it std library classes/functions or your own code. This is exactly what I need. For both, C++ and Rust smar
267.
▲
by
exDM69
4y ago
> Rust and Cargo make it challenging to develop a project in a fully "secure" fashion, C/C++ has a better story there. Complete absence of dependency management and a myriad of incompatible build tools is a "better st
268.
▲
by
exDM69
4y ago
> Basically the product was developed by a bunch of Rust enthusiasts in a R&D group This is not a great starting point for any project, never mind the programming language. It could've been C++ enthusiasts, or Haskell, Scala, Li
269.
▲
by
exDM69
4y ago
> Every compute CPU in existence has a fixed number of transistors, Fixed and very large number. It can compute fib(n) for a finite but large number n. Even with infinite time, my computer couldn't compute fib(2^128) recursively bec
270.
▲
by
exDM69
4y ago
Capacitors and inductors are "memory" but only one unit or "word" per component. You need more than one to make a stack to have recursion. Mercury delay lines, neon bulbs, magnetic drums or disks and lots of other compon
More ›