Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mathiasgredal
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
mathiasgredal
2y ago
Not exactly related to Ruby on Rails, but why doesn’t there exist a way to run a Python TKinter app in the browser using WASM? I have a medium sized dependency-free TKinter program written in Python, and AFAIK there is no way to run it in t
2.
▲
by
mathiasgredal
2y ago
In a society where the abuse of human labour was factored into the cost of the product, the 8-inch fab line would have been shut down, since the cost of the 8-inch wafers would now be prohibitive and not be competitive with the wafers from
3.
▲
by
mathiasgredal
2y ago
We have a replacement for CUDA, it is called C++17 parallel algorithms. It has vendor support for running on the GPU by Intel, AMD and NVIDIA and will also run on all your cores on the CPU. It uses the GPU vendors compiler to convert your C
4.
▲
by
mathiasgredal
2y ago
Having looked briefly at the code I still think C++17 parallel algorithms are more ergonomic compared to OpenMP: https://rocm.blogs.amd.com/software-tools-optimization/hipst...
5.
▲
by
mathiasgredal
2y ago
GPGPU programming seems to be in a really good spot with the widespread adoption of C++17 parallel algorithms by GPU vendors. Now, I can just program against this API using standard C++ code, that interacts with CPU heap allocated memory, a
6.
▲
C++17 Parallel Algorithms and Hipstdpar
(rocm.blogs.amd.com)
8 points
by
mathiasgredal
2y ago
|
1 comments
7.
▲
by
mathiasgredal
2y ago
Which begs the question, if attractiveness is such a big predictor of success, why hasn’t everyone evolved to become very attractive? The evolutionary pressure for increased attractiveness should be very high, since it affects so many areas
8.
▲
by
mathiasgredal
2y ago
That was why OP suggested to have 2 motors on each joint, going in opposite direction. The problem with this is that you now have twice the amount of motors.
9.
▲
by
mathiasgredal
3y ago
Just use bsdtar, which will convert a tar archive to cpio: https://unix.stackexchange.com/a/581014 I have used it to convert docker images to Linux bootable initramfs archives for Rpi4.
10.
▲
by
mathiasgredal
3y ago
If you are already using gRPC in your codebase, then you can define your enums with Protobuf, which does much of the same as the tool shown in this article.
11.
▲
by
mathiasgredal
3y ago
Looks like great changes overall. Sadly they haven’t added columns to Dolphin, which is my only complaint from switching to KDE from macOS.
12.
▲
by
mathiasgredal
3y ago
You can get an S2 mini dev board for a $1 including shipping[1, 2] [1]: https://imgur.com/HUt2qLY [2]: https://www.aliexpress.us/item/3256804697715980.html ?
13.
▲
by
mathiasgredal
3y ago
Not possible, unless you want to do it using an emulator and external memory. The lowest you can go for Linux is probably an ESP32: https://web.archive.org/web/20230515075935/http://wiki.osll.... https:
14.
▲
by
mathiasgredal
3y ago
Well, if I found an unpatchable zero-click RCE exploit on an iPhone, then that would have a major effect on the stockprice when the news is announced. It definitely seems like it would be insider trading if i used that knowledge to do optio
15.
▲
by
mathiasgredal
3y ago
Yeah, but regular package binaries get nuked pretty quickly to make space for new ones, especially on mirrors.
16.
▲
by
mathiasgredal
3y ago
Sure, but how useful is that when you can’t install any packages, since the package repositories only host packages for supported versions. When a distro goes EOL, the package repositories typically move to the next supported version and de
17.
▲
by
mathiasgredal
3y ago
Could someone enlighten me on how one goes about testing whether a particular crypto implementation is vulnerable to side-channel attacks? In high school I implemented a basic ECDH key exchange algorithm, which I compiled to WASM, and it c
18.
▲
by
mathiasgredal
3y ago
Just because a compiler cannot prove whether or not a given set of C/C++ is safe, doesn’t mean that an expert in the language can’t write safe C++ and prove that it is actually safe.
19.
▲
by
mathiasgredal
3y ago
Why not just tax stock buybacks the same or higher than regular profits? This would force companies to either increase R&D/CAPEX spending or lower prices.
20.
▲
by
mathiasgredal
3y ago
Will C++17 parallel algorithms be supported? https://on-demand.gputechconf.com/supercomputing/2019/pdf/sc... Edit: Nevermind, I think I have misunderstood the purpose of this project. I thought it was a CUDA
21.
▲
by
mathiasgredal
3y ago
I know, but the fact that people can’t even tolerate the inconvenience of an EV gives little hope for public transport, car sharing, bicycles etc.
22.
▲
by
mathiasgredal
3y ago
Yeah, people here don’t seem to realize that burning fossil fuels is the primary driver(~90% of CO2 emission) of global warming: https://www.un.org/en/climatechange/science/causes-effects-c... Still they can’
23.
▲
by
mathiasgredal
3y ago
What prevents Apple from just integrating MacFUSE(or a reimplementation) into the their kernel, and then shipping it with the next release?
24.
▲
by
mathiasgredal
3y ago
I have done this, but for some reason Android SDK has to be weird, so you have to download the SDK seperately and then create a properties file in to root of the project with the path to the Android SDK. Everyone then also has to have their
25.
▲
by
mathiasgredal
3y ago
Unless you want functioning airbags: https://www.euronews.com/business/2023/12/21/toyota-calls-ba...
26.
▲
by
mathiasgredal
3y ago
Why is this better than an arena style allocator?
27.
▲
by
mathiasgredal
3y ago
I get that there is a tradeoff with code density, although if you could have an encoding scheme or extended register mode to alleviate this. I was just thinking that if you have e.g a loop where you run out of registers, since you only have
28.
▲
by
mathiasgredal
3y ago
Sure, but wouldn’t it make sense to extend the instruction set to allow the compiler to use these registers instead of reserving them for speculative / out-of-order execution? It was just a thought i had after watching a talk by a comp
29.
▲
by
mathiasgredal
3y ago
I thought modern speculative cpu’s had way more registers than you can normally access. Why does it reserve these registers for speculative execution instead of exposing them to the program if it needs them?
30.
▲
by
mathiasgredal
3y ago
Does anyone know if there exists a tool that can convert tarballs to filesystems and back. I know you can make a loopback device, but it can be pretty hard/impossible to do inside a container, and often requires special flags and privi
More ›