Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
gens
6y ago
CHAR_BIT is a minimum of 1 byte (8 bits), but is not guaranteed to be 1. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf (Annex E)
32.
▲
by
gens
6y ago
As others have said, the energy that a supercapacitor can store is practically nothing compared to lipo. And that is by weight, when supercapacitors are less dense then lipo. If you want more power you can just put more batteries in paralle
33.
▲
by
gens
6y ago
Having a tablet instead of air-conditioning and radio volume nobs is also a safety risk.
34.
▲
by
gens
6y ago
> The industry setting the standards is the problem, which is why Tesla had to create Superchargers as a proprietary standard .. For one, there is now n+1 standards. For the more important point, tesla could have made their standard free
35.
▲
by
gens
6y ago
I tried compressing BC7 (from AMD-s Compressonator) using lz4c and it wasn't much. Just re-ran it (with -hc, version 1.9.3(latest now)) and: "Compressed 5592544 bytes into 5413783 bytes ==> 96.80%". 7z with "7z a -mx=
36.
▲
How LZ4 Works
(ticki.github.io)
2 points
by
gens
6y ago
|
0 comments
37.
▲
by
gens
6y ago
It is used, and most every other compression technique was/is used in video games. I was thinking of using LZ4, but it doesn't really work that great on floating point, and images are already compressed (png, jpg, and even BCn, ca
38.
▲
by
gens
6y ago
I'm making a game/engine with efficiency/performance as a top goal. I'v spent years thinking about the design. And after i figured it out, i found a talk from an Ubisoft employee that is mostly what i came up with. The p
39.
▲
by
gens
6y ago
Everybody says so. I'l have to get one for myself some day. With a cheap 24V scooter battery one could even use it in the field without a problem. Oh, and i seem to have underestimated Louis's recommendation. He likes it a lot. h
40.
▲
by
gens
6y ago
Turns out http://www.uychan.com/ is the original. Since i can't edit, reply.
41.
▲
by
gens
6y ago
http://www.miniware.com.cn/product/ts100-soldering-iron-pack... An open source soldering iron, original by a Chinese company Miniware. I don't know how good their sales are, but the iron is so good it got that Lou
42.
▲
by
gens
6y ago
"My grandfather rode a camel, my father rode a camel, I drive a Mercedes, my son drives a Land Rover, his son will drive a Land Rover, but his son will ride a camel" - Rashid bin Saeed Al Maktoum
43.
▲
by
gens
6y ago
https://learnopengl.com/ This is good. The rest is more of theory. I can dump you a lot of papers, talks, and reviews like the OP one.
44.
▲
by
gens
6y ago
That is what i said, that it can be optimized away. "exist" is the wrong word, "is useless" would be better. It is like.. you have a spanner in a box labeled "a" and you have a box "b" that has a piec
45.
▲
by
gens
6y ago
If 'b' is actually used then the compiler has to put 'a' in memory. Theoretically. He says that b is not changed, and does not "escape" (the scope of the code in question). In that case b is useless, and thus i
46.
▲
by
gens
6y ago
Pointers are "just" integers (unsigned integers of a size, that is). Most languages treat them differently (C assigns them a type, and a stride with it), but that is usually on top of them being integers. Pointers "point"
47.
▲
by
gens
6y ago
Did you ever wonder why some programs work and some don't ? Luck does not have much to do with it. I have some games that were made many versions of glibc ago, and they still work. Why is that ? (that is a rhetorical question)
48.
▲
by
gens
6y ago
> Because if you start to support Linux you actually have to support all the major distribution (Debian, Arch, Ubuntu, Fedora, etc.) with their different idiosyncrasies, package format, libc implementations and/or version, etc. Tha
49.
▲
by
gens
6y ago
If you want to keep the amount of dead people to a minimum, then it makes sense to first vaccinate those who are most likely to die. HN-ians like to model stuff, and i get that. To do it properly we need to know how many "young"(a
50.
▲
by
gens
6y ago
When you want to squeeze every bit of performance out of a system, you want to avoid doing system calls as much as possible. io_uring lets you check if some i/o is done by just checking a piece of memory, instead of using read, pool, o
51.
▲
by
gens
6y ago
You are right. For most programs, these two are more work for not much payoff. Though they are great for some things.
52.
▲
by
gens
6y ago
Nice that it works with various deformations, but because of the latency and more shaders i'l skip this. I have still learned some things from this post.
53.
▲
by
gens
6y ago
Checking out what Alan Kay has to say about it might help: https://www.youtube.com/watch?v=fhOHn9TClXY The way i see it OOP is about encapsulating/bundling data and the code that processes that data into one "obje
54.
▲
by
gens
6y ago
udev was the biggest step towards "dynamic systems". Or should i say "hotplug" was, since it is more or less the same thing. I completely agree that the init should be an event based system. I'm not arguing that. I
55.
▲
by
gens
6y ago
Voting share ? There is no vote unless you work for RH. And even then. An init system is harder then it seems ? You and Jonnax seem to think that unless you made it you have no right to say anything. Have you ever made an init system ? Rese
56.
▲
by
gens
6y ago
https://stackoverflow.com/questions/21177436/is-there-a-publ... 6 years ago. I was going to compare how many pages the rust standard has, and compare it to the C standard (plus 20% for the "correctly manage m
57.
▲
by
gens
6y ago
Concurrency.. the way i understand it, it is about making parts of the program run independent of each other and thus can run at the same time. But you might want to check out someone who knows better, like Rob Pike: https://www.
58.
▲
by
gens
6y ago
Hence you will try to keep the conduction losses low relative to switching losses. Yea, 1kHz is nothing for modern transistors. FET, IGBT or bipolar. Not that it's not worth considering them, ofc.
59.
▲
by
gens
6y ago
From what i remember when i cared about such things: It's the gate capacitance (and gates resistance) that leads to switching losses. Usually the biggest part of the switching losses is because the transistor is not fully "on"
60.
▲
by
gens
7y ago
C is a high level language. C is close to how a computer works. Assembly is the next step down, and is not nearly as hard as the internet would lead you to believe. Step down from that; read a book like "Computer Architecture: A Qu
More ›