Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
corysama
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
961.
▲
by
corysama
7y ago
If you want a real hand-held C64, there’s https://en.m.wikipedia.org/wiki/C64_Direct-to-TV
962.
▲
by
corysama
7y ago
Check out WSL. I’m of the opinion it was created specifically for web devs in your situation. After all, what really is a MacBook to a web dev besides a off-the-shelf reliable laptop with a Unix terminal?
963.
▲
by
corysama
7y ago
I had some code that tried to stay 16x8bit, but would occasionally _mm_unpacklo_epi8, _mm_unpackhi_epi8 to 2 8x16bit vectors to keep precise intermediate results during some fixed-point math. Writing it out like that, it sounds like it shou
964.
▲
by
corysama
7y ago
I only played with ISPC a little bit. What I found is that it is really great if you need to write a large volume of SIMD code and that code sticks to one lane size. Like, 4 32-bit floats or ints. But, if you want switch mid-stream to 8 sho
965.
▲
by
corysama
7y ago
Here's a start https://github.com/Jam3/math-as-code
966.
▲
by
corysama
7y ago
int https://cppinsights.io/s/5dc91167
967.
▲
by
corysama
7y ago
I did not create this. This is a demoscene production released yesterday at Deadline (Berlin) 2019. Details from the README https://demozoo.org/productions/268459/info/2923/ ---- Hello Deadline! This is
968.
▲
MySQL Raytracer
(pouet.net)
3 points
by
corysama
7y ago
|
2 comments
969.
▲
by
corysama
7y ago
I heard a story recently about that being exploited as an attack. Attackers knew some site used some DB that used a specific hash and items that hash to the same value end up in a linked list. So, the submitted a ton of user data that all
970.
▲
by
corysama
7y ago
I’ve used it in many games. It’s a simple, but powerful language that uses basically two features (functions and hashmaps) to implement everything. Ex: script files are implicitly functions. Global variables are in a hashmap. Semantically
971.
▲
by
corysama
7y ago
The Roblox team is making a new Lua interpreter (not JIT) from scratch with a focus on performance. Don’t think it’ll be open source though.
972.
▲
by
corysama
7y ago
Well, I know it requires elements to be laid out in the order they are declared, but it is allowed to put gaps between items for alignment. I guess a compiler could insert a 16-byte gap and do whatever it wants in there. I don't expe
973.
▲
by
corysama
7y ago
It doesn’t sound like you are mentally modeling cache misses correctly. Any access to any array (dense or holey) that isn’t already in cache will result in a miss. A goal is to minimize misses by taking advantage of locality and prefetchin
974.
▲
by
corysama
7y ago
Compilers are extremely limited in how they are allowed to change data layout on your behalf. In C/C++ there’s: per-platform integer sizes (which are easily and usually forced to be consistent), padding between members of structs, alig
975.
▲
Project SPHINX – When the USSR tried to change the computer forever
(inexhibit.com)
2 points
by
corysama
7y ago
|
0 comments
976.
▲
by
corysama
7y ago
Showing VR users awkwardly ignoring friends who are right next to them does run face-first into a talking point I've heard repeatedly from people who reject VR out of hand. While, I agree with you 100% that it was a poor choice of them
977.
▲
by
corysama
7y ago
It is considered one of the most complex hit games written primarily in assembly language. http://www.chrissawyergames.com/faq3.htm
978.
▲
by
corysama
7y ago
Thanks! Now, can anyone ELI5 the high-level goal of this exception? At a glance it looks like GPL2 folks are still not happy with the patent provisions of Apache 2.0 and this is added to appease them.
979.
▲
by
corysama
7y ago
Tried the XR-1 at SVVR. It's very impressive. The camera is very high rez and low latency. If I look for something to complain about, the colors are not very rich, it doesn't handle glaring light well, and your perspective is sh
980.
▲
by
corysama
7y ago
Immutable data structures are great for undo-redo. Sean Parent has a conference video out there about how undo in Photoshop is implemented by breaking the image into tiles then making a list of the history of each tile. This allows the “His
981.
▲
by
corysama
7y ago
OP might be the same person. But, the original creator posted a short explanation here https://www.reddit.com/r/GraphicsProgramming/comments/d10kcl...
982.
▲
by
corysama
7y ago
Nice. Reminds me of the opengl32.dll's that were made to be only just enough to run GLQuake. What made 4Mb pages easier than 4Kb?
983.
▲
by
corysama
7y ago
https://twitter.com/daisyowl/status/841802094361235456
984.
▲
by
corysama
7y ago
I worked at a company that did PSX dev on Windows PCs.
985.
▲
by
corysama
7y ago
Lua was originally designed as a configuration file format that supported functions. Description: https://www.netbsd.org/~mbalmer/lua/lua_config.pdf Relative to other languages, it is very easy to embed Lua and it
986.
▲
by
corysama
7y ago
Exercise for High Blood Pressure Reduction
987.
▲
by
corysama
7y ago
I am a very poor student of mindfulness meditation. But, one of the big benefits I do recognize is practicing this strategy. Have you ever watched someone screw up in slow motion? Where you sat back and said “Duuuuude... don’t go there!”
988.
▲
by
corysama
7y ago
Seconded. The goal of meditation is not to succeed at being free of intruding thoughts. It is to practice noticing intruding thoughts and bringing your mind back to focus. Having an intruding thought while meditating is not a failure any
989.
▲
by
corysama
7y ago
There’s an article I can’t find on The Onion titled “Scientist Identify Coolest Time Ever”. Turns out it was when you, the reader, were 13.
990.
▲
by
corysama
7y ago
I expect it’s that skim has the same amount of lactose sugar. But, with less fat you’ll likely drink more of it before being satisfied. Everyone should try lactose-free milk just once just to see how very sweet it is. It has the same sugar
More ›