Hacker Newsnew | past | comments | ask | show | jobs | submit | MathMonkeyMan's commentslogin

Detroit is moving southwest along with the rest of the [North American tectonic plate][1]. It's not moving relative to surrounding cities, though.

[1]: https://en.wikipedia.org/wiki/North_American_plate#Plate_mot...


Hm I gave the prompt:

> Summarize a technique for type erasure as is done in C++. Assume that your audience is familiar with all of C++'s features, but not with the technique of type erasure. The briefer the summary, the better, but don't omit any essential pieces or use vague language.

ChatGPT Plus generated a lot of text and code. Then I said:

> Now please summarize using only a few sentences.

and it replied:

> Type erasure wraps any concrete type `T` in a uniform container that stores a `void*` to the object plus a pointer to a type-specific static table of function pointers (the “vtable”). Each `T` provides its own table implementing required operations (destroy, copy/move, and any interface methods), and the container dispatches all behavior through that table. This lets unrelated types share a runtime interface without a common base class, with lifetime and semantics fully defined by the per-type table.

Not perfect, but pretty good.


You're not getting the point.

The point is you shouldn't have to re-prompt multiple times because a thing that 'understands' undergoes expressing the thing in a broad way and then abstracts away what matters whilst minimizing loss of important details.

The reality is LLMs are not intelligent, in any way shape or form.


Is it pretty good, though? :) I wouldn't let that go out the door. Needs a *lot* of TLC.

Yes, it's missing a few important pieces. As is, it more describes how dynamic dispatch works.

"missing a few important pieces."

Pmsl and you're missing the whole point.

A thing that eventually brute forces its way to a solution is not a) demonstrating understanding b) intelligent.

Im not sure why these basic things have to be uttered. I suppose its because many here don't really work on stuff that requires this level of thinking.

Reminds me of the same delusional people that think LLMs are the solution to education et al when they completely miss the point of what the real problems in education actually are.


Maybe not! Let's find out.

I appreciated learning what's involved, though.

There's been this since 1998, likely earlier:

    std::vector<std::string> split(const std::string& text, char delimiter) {
        std::vector<std::string> parts;
        std::istringstream stream(text);
        std::string part;
        while (std::getline(stream, part, delimiter)) {
            parts.push_back(part);
        }
        return parts;
    }

font-family: Verdana, Geneva, sans-serif;

My computer has neither Verdana nor Geneva, and my browser's default sans-serif is Noto Sans, which has bars on the upper case "I".

Verdana does, too. It looks like Geneva does not (<http://www.identifont.com/show?1O3>), so you're probably using Geneva.

Maybe Verdana is the default for Windows, Geneva for MacOS, and "other" for Linuxes.


One place where the big i and small L look almost identical, and a pretty funny/annoying place for them to do so, is when you're typing a WiFi password in OSX (if you toggle "Show password"), at least as of MacOS Monterey 12.1. I also see them as almost identical in my browser's URL bar (Firefox 148.0.2 on aforesaid version of OSX) which isn't just an annoyance but might even be a security concern!

I think the serifs would be embellishments at the ends of the bars, not the bars themselves.

https://en.wikipedia.org/wiki/Serif


Yeah I heard it describes a movie where the line to get into the theater went around the block.

edit: ah, but wiki disagrees <https://en.wikipedia.org/wiki/Blockbuster_(entertainment)>


It's a way to manage a fleet of corporate workstations, and some other things that businesses with lots of people on laptops end up needing.


Quite low compared to a power utility's HVDC, but quite high compared to the 5/12/24 V output of most AC/DC converters used for electronics.


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

Search: