HNHacker News
TopNewBestAskShowJobs

gct

285 karma · joined June 2, 2014

submissionscomments
gct··on Boaty McBoatface
Never forget https://en.wikipedia.org/wiki/Mister_Splashy_Pants
gct··on Sampling: What Nyquist didn't say, and what to do about it (2018) [pdf]
Fun fact static is very broadband
gct··on WebKit switching to Skia for 2d graphics rendering
I recommend blend2d: https://blend2d.com/. Very well done, very fast. No GPU acceleration but it has a JIT and you can probably get further than you think without it.
gct··on We've already seen category 6 hurricanes – scientists want to make it official
You're getting downvoted but this gave me a chuckle
gct··on Sam Altman Is the Oppenheimer of Our Age
oh puh-lease

edit: having read the whole article now it's actually pretty even-handed, I guess mentioning Oppenheimer was just marketing?

gct··on Large Language Models as Optimizers. +50% on Big Bench Hard
Likely the goal would be to find new optimizations that were previously overlooked, then codify those like usual.
gct··on The missing C++ smart pointer
I'd rather have an optionally-owned pointer type so I can handle writing virtual methods that can return a value aliasing an already existing value or create a new one on demand. Otherwise you either have to roll your own or bloat your API:

  virtual std::flexptr<Thing> get_expensive_thing();
vs:

  virtual bool has_expensive_thing();
  virtual const Thing& get_expensive_thing();
  virtual std::unique_ptr<Thing> build_expensive_thing();
It'd probably have shared_ptr semantics but you'd have to treat it as a const ref for lifetime purposes, which might make it distasteful to the std library folks.
gct··on How Is LLaMa.cpp Possible?
Basically Ray Kurzweil's argument, he's been saying $1000 worth of compute will be able to match human performance around 2029 for decades now.
gct··on Reasons to be skeptical of that room-temperature superconductor claim
> I am not a real expert in superconductivity, but I am a guy on the internet with opinions, so here we go with some early reactions:

Alrighty then.

gct··on Ron DeSantis will launch his presidential bid with Elon Musk
gross
gct··on Horrible Code, Clean Performance
Disagree, once you know what you're looking for you can thread the needle pretty easily. I've worked in high-performance areas most of my career and it's pretty wild when I solve a leetcode problem for fun and can routinely get into the 99% percentile on speed and memory usage just from knowing what to avoid.
gct··on The elite couples breeding to save mankind
Honestly what a weird set of people. If you have to go out of your way to make sure people know you're not Nazis, maybe you're treading a little too close to dangerous waters.

> It also means resisting any attempt by what Malcolm calls the ‘woke mind virus’ to assimilate their children into a progressive monoculture.

Bwoop bwoop bwoop right wing nut alert.

gct··on Nyquist Frequency
Ah yes you're right that you have to be careful, it'll fold at multiples of the nyquist frequency and you want to make sure your SOI is entirely contained in one of those zones.
gct··on Nyquist Frequency
You have to have a band limited signal to sample anyways, where it's at in the spectrum doesn't matter. The first thing you'll do before feeding anything to an ADC is running it through a filter to make _sure_ it's band limited. Whether that filter's at DC or some Rf doesn't matter.

Here's the result from his original paper where he specifically says that it doesn't have to be at DC:

https://imgur.com/uSywML7

gct··on Nyquist Frequency
I'm afraid you're mistaken (source: worked as DSP engineer for 15 years). Often you apply your filter around the RF frequency you want and then sample at a lower rate. You're right that the signal will get aliased doing that, but the information is always preserved.

If you sample s.t. your folding frequencies are in an appropriate place, you can fold your desired region into the first nyquist region without needing to mix it down. This is especially desirable if you can avoid having to build an IQ mixer because they're hard to keep balanced.

The worst case doing this is that your signal spectrum is reversed in frequency, but you can correct that easily digitally.

gct··on All you need is data and functions
Yeah Traits give you more than just the type of the output, they let you specify how it must be called to get that trait, that's a key capability for writing generic code. Sure I can write a to_string() method but someone else will call it ToString() and I can't use it. If we both impl Display then it's all good.
gct··on Llama.cpp 30B runs with only 6GB of RAM now
This doesn't even seem that clever, just regular ol' use of mmap where there was none before. Wonder what other performance is being left on the floor. I'm convinced entire power plants could be retired if the world stopped using python unfortunately.
gct··on SBF indicted for shelling out $40M. in bribes to Chinese officials
I think OP is saying he's not a kid, and he's not at 31, always relative though =D
gct··on Modern software performance is firmly in its “beyond parody” stage
My defense is usually that it's ok to have a little pride of craftsmanship, and if you let people scratch that itch they'll be happier and more content in their jobs, making it a long-term cost saver.
gct··on Modern software performance is firmly in its “beyond parody” stage
Performance just isn't prioritized. If you spend a week optimizing making something faster, you just get hit with the ill-quoted premature optimization line and shamed for not working on higher priority tickets. Fine, I'll just leave it slow then.
gct··on Modern software performance is firmly in its “beyond parody” stage
I don't like Javascript but you're mistaken on the performance part, even I have to give the JIT people props for how fast they've made the language in general.
gct··on SBF’s legal defense is being funded with Alameda money he gave his father
Most of those raises on the moderately wealthy will expire December 31, 2025, the ones on the middle class won't
gct··on SBF indicted for shelling out $40M. in bribes to Chinese officials
Man they're gonna put this kid under the jail
gct··on Blend2D – Fast 2D vector graphics library
Faster, Skia is GPU accelerated, whereas Blend2D is a CPU rasterizer.
gct··on Blend2D – Fast 2D vector graphics library
I've been using blend2d for a visualization program and it's a worthy successor to AGG
gct··on Linus Torvalds: if you cannot explain a merge, then JUST DON'T DO IT
Once again glad I don't work with Linus
gct··on Pre-seed, seed startups with employees in office have higher revenue growth
Begun the RTO wars have
gct··on Fast memcpy, a system design
Please, quit messing with my scroll speed.
gct··on Show HN: Forma – An efficient vector-graphics renderer
Haven't Skia et al been GPU accelerated for ages?
gct··on TSMC ups Arizona investment from $12B to $40B with second semi fab
Fun fact most experts consider the US uninvadable: https://en.wikipedia.org/wiki/Invasion_of_the_United_States#...
← PreviousPage 2 of 6Next →