Hacker News new | past | comments | ask | show | jobs | submit | 8474_s's comments login

(the large switch table replacing a lookup) Its not that esoteric, maintaining switches is more intuitive and flexible than dealing with rigid lookup table logic.

Although it is a common case, changing the lookup to use an explicit array is a simple fix for code that relies on this optimization. Even non-consecutive ranges are often straightforward to handle with C array designators (standardized for 25 years now!)

This strange reliance on Discord as some sort of "escape from web3.0" is silly to anyone who knows what Discord is(modern AOL) and how centralized it is. Its just the same corporate walled garden with more echochambery isolation.


Is AI part of "web 3.0"? I thought web 3.0 was decentralized/blockchain stuff.

I mention Discord because a lot of people use it for stuff that would formerly be forums. Telegram is also the the same. They're doing this despite it being centralized. What's the decentralized equivalent of Discord or Telegram? Does it support phone notifications?


wouldn't it be much simpler to just mass produce more furniture out of wood, instead of keeping the same-equivalent biomass frozen infinitely?


There's not enough useful demand to tame CO2 this way.

Anthropogenic emissions of CO2 are currently about 37 billion tons per year:

https://ourworldindata.org/co2-emissions

That's enough CO2 to make 22.7 billion metric tons of cellulose per year, or ~2.8 tons per capita for Earth's 8.2 billion people. That's too much to to turn it all into furniture or even buildings.


Just for scale how tons of carbon are in an acre or hectare of corn, wheat, or other crop. Being able to say how many farms would need to do this to counter act our release could provide an interesting sanity check.


The average house weighs 40-80 tons, so 2.8 tons per capita per year is a house every 14-28 years, which seems reasonable, plus infrastructure.


Maybe horizontal surfaces too? Like roads and pavements? Let's become industrial elves.


Didn't there used to be a "Pave the Earth" meme ? Maybe update it for log roads.


I’d wager the furniture industry is currently responsible for a significant % of anual deforestation, which as far as I know isn’t regrowing fast enough.

An approach like this could benefit from crops which are not productive for humanity otherwise, but which grows much faster and eats CO2 cheaper than trees.

Does that mean “stop replanting forests?” Absolutely not.


2/3 of the CO2 stored in forest is in the ground, not the trees, it's accumulated when the forest grows and is getting generations of trees.

Cut those trees to do furniture and you'll release all this CO2, do a culture of tree decades after decades and you'll never store it back.


Try chewing some chocolate between sets.


The amount of sigils and occult jargon math invents on the spot is very weird in context of most sciences: imagine creating entire fields/theories and gaining followers, like a religious sect, in a field like geometry?


Can't you just make a single-word ligature and manipulate its appearance, instead of chaining single letters?


(Author) For specific keywords, yes, technically you could, but it would require making a separate glyph for each word, which would inflate the file size and require a lot of manual effort for no apparent upside. The substituting logic is as rigid as with calts. Unless you had some other idea how to use ligatures?


whats the science on this? How does it work? IIRC metabolism slowdown will also slow down repair?


The Template pack index is going to make meta-template variadics much easier. Usually this is prone to cludges like converting parameters to structs or filtering them with functions holding the pack.


Reading the example:

    template <typename... T>
    constexpr auto first_plus_last(T... values) -> T...[0] {
        return T...[0](values...[0] + values...[sizeof...(values)-1]);
    }
it seems there are 5 different kinds of uses of "...".

  1. typename...
  2. sizeof...
  3. values... 
  4. T... representing multiple parameters in the formal parameter list.
  5. T... for the type of the pack (supporting T...[0], the new feature).
I don't have a big point, I'm just mildly amused. Even with the simplifying new syntax, it took me a while to work through what is what in the example.

I wonder why it's T...[0] and not just T[0]? In parameter lists you need the distinction between "T", a single parameter of pack type, and "T...", multiple parameters supplied from the pack. But I don't see a similar need in an expression.


I think for types you could do without the dots in T...[0], but it mirrors the usage for values (values...[0] is different from (values[0]...). So consistency I guess.


the one-to-many model of blog broadcasting information has been outcompeted by communities like facebook groups or subreddits, where interaction is many-to-many, typically much faster response and more incentive to comment(likes, karma, scores).


638GB? what makes it so big? Its not like old dos games were huge, only very late and those on CDs.


Look here https://www.retro-exo.com/exodos.html

It's full of DOS games soundtracks, manuals, art and magazines also.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: