Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nwallin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
nwallin
3y ago
Git came before Mercurial. Both git and Mercurial were spawned by the same event; BitKeeper revoking its free license for Linux kernel development. Git development began 2005-04-03, and was self hosting on the 7th. The next minor release of
152.
▲
by
nwallin
3y ago
> Run 'git instaweb' for example and it will spin up a local CGI server and perl CGI script to give a very simple web UI: ~ $ git instaweb fatal: git was built without support for git-instaweb (NO_PERL=YesPlease).
153.
▲
by
nwallin
3y ago
The Jet Stream is a global wind current in the upper atmosphere that circumnavigates the world. It's equally relevant to all countries in temperate regions. El Niño is a warming of the water in the North Pacific that sometimes happens
154.
▲
by
nwallin
3y ago
If you're going to do SOHO routing safely/correctly, you'll need to do some sort of connection tracking. You'll need to allow packets on new and existing outbound connections, but only allow incoming packets on existing
155.
▲
by
nwallin
3y ago
> Isn't the concept of dark matter just an assumption in itself? Dark matter is not an assumption. Dark matter is not a hypothesis. Dark matter is not a theory. Dark matter is a series of observations of the universe. Galaxies spi
156.
▲
by
nwallin
3y ago
I was talking about Visual Studio proper, not VSCode.
157.
▲
by
nwallin
3y ago
> If I need documentation then I didn't design well enough, I need documentation because my coworkers didn't design well enough.
158.
▲
by
nwallin
3y ago
> Visual studio proper is a 100% circus for me now. I can power through it, but I lose tabs in about 15 seconds after opening them. I used to be the same way but then I discovered Visual Studio's vertical tab option. Tabs are displa
159.
▲
by
nwallin
3y ago
It takes tens to hundreds of thousands of years. As the gas cloud collapses into a protostar, it undergoes adiabatic heating. The intense heat causes radiation pressure which prevents the protostar from collapsing further. (it will also do
160.
▲
by
nwallin
3y ago
I completely agree with you regarding corporate suicide. The rest of my post is complete speculation. The least nonsense thing I can think of is that they weren't paying their bills. They weren't paying rent, the landlord locked t
161.
▲
by
nwallin
3y ago
> True - but what model would they want to use on-device? Video/image filters. Very popular on snapchat, instagram, tiktok, etc. If you want to compete with those services you have them.
162.
▲
by
nwallin
3y ago
They're probably just using an already trained model. They're almost certainly not training a model on-device. AFAIK both the iphone and the pixel have a chip that are specifically designed to do forward propagation on a deep
163.
▲
by
nwallin
3y ago
Replying to my own post: The off by 1 error was incorrect. It's because I was calling the function wrong. I had been giving it the size of the buffer, not the size of the string. Also, someone else figured out that we can just use an a
164.
▲
by
nwallin
3y ago
You're correct, it does not account for alignment. The reason it helps performance is because it allows the compiler to accumulate in byte sized SIMD variables instead of int sized SIMD variables. My system has AVX-512 so 64 byte wide
165.
▲
by
nwallin
3y ago
Oh. Found it. It's because I wasn't using strlen and had been passing over the length of the buffer instead of the length of the string. Only my code had the off by 1.
166.
▲
by
nwallin
3y ago
Speculative execution is all about control flow. It's about what value is in the instruction pointer at some nebulous point in the future. A conditional jump can put one of two values into the instruction pointer, they will either incr
167.
▲
by
nwallin
3y ago
Neat! Although you'll need to make a copy of `n`. The second loop will reduce the value of n to null. Edit: Also, there's an off by one error. should be: #include <stddef.h> #include <stdint.h> int r
168.
▲
by
nwallin
3y ago
So I downloaded your code. On my desktop, with loop-9 gcc I got ~4.5GB/s, and with loop-7 I got ~4.4GB/s. With the following code: #include <stddef.h> int run_switches(const char *s, size_t n) { int res
169.
▲
by
nwallin
3y ago
> I assume that their test input (which isn't described in the post, and is also not in their GitHub repo) consists of random strings consisting almost entirely of s and p characters. test code is here: https://github.com
170.
▲
by
nwallin
3y ago
Err... yes. You shouldn't not keep track of string/buffer sizes.
171.
▲
by
nwallin
3y ago
IMHO the original code wasn't written in a way that's particularly friendly to compilers. If you write it like this: int run_switches_branchless(const char* s) { int result = 0; for (; *s; ++s) {
172.
▲
by
nwallin
3y ago
The Carlsbad plant is in Carlsbad, CA. If you look at the neighborhood it's in, the houses are 1,200-2,000 square feet and sell for $2-$5 million. Everything is expensive.
173.
▲
by
nwallin
3y ago
> And yet it takes a lazy, uncompetitive position against Nvidia, happily delivering overpriced and garbage new GPUs such as the 7600 RX with only 8GB RAM and a 128 bit memory bus. The AMD RX 7600 competes with NVidia RTX 4060. The sugge
174.
▲
by
nwallin
3y ago
They're great if you have a recent (<10 years old, starting with the Radeon HD 7000 series, released in 2012.) video card which are supported by the AMDGPU drivers. Rock stable and good performance. If you have a 10-15 GPU, which ar
175.
▲
by
nwallin
3y ago
Money. A heavy sub requires heavy support equipment. Heavy support equipment requires a large boat. Large boats are expensive. It's cheaper to spend a little extra on the sub and save a lot on the support ship.
176.
▲
by
nwallin
3y ago
> The question here is whether the new, optimized SM64 implementation is CPU-bound in the first place. Games on the N64 are often limited by memory bandwidth, which is taken up by rasterization, Your premise is correct but your conclusio
177.
▲
by
nwallin
3y ago
> I'll choose the model "Enigma M3" and use the following settings: Well it's obviously not that. The M3 was the 1934 design. In 1942, the German Navy replaced the M3 with the M4, which was incompatible with the M3.
178.
▲
by
nwallin
3y ago
Garbled message. If it were a garbled key, that would explain why the original commo couldn't/didn't decrypt it, but if it were just a garbled key, modern cryptanalysis would have decrypted it already.
179.
▲
by
nwallin
3y ago
Actually, with that particular message, ~~frequency analysis~~ incidence of coincidence will help immensely, to the point of making it easy to solve. With a modern block cipher, a partial key doesn't help. If you have 120 bits of a 128
180.
▲
by
nwallin
3y ago
Impossible to say. The German commo who was tasked with decrypting this message couldn't/didn't decrypt it, and he had the keys. For all we know, some bored German submariner sent garbage over the radio as protest; this messa
More ›