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

> but for multi-threaded code Rust uses smart pointers like C++

That's not the whole story. There's also Send and Sync marker traits, move by default semantic also makes RAII constructs like Mutex<T> less error prone to use.


`std::optional<T>`'s style is more akin to using

  if x.is_some() {
    let x_value = unsafe { x.unwrap_unchecked() };
  }
everywhere.


Book-films!


When can we have anything effective against tinnitus...


> - Google has a number of "sponsored" results at the top of search results, which look identical to the actual search results, other than having a "sponsored".

That was the reason I switched away from Google. Here when I search "apache cassandra" the first result is something something free trial.

edit: I just tried with Bing it gave something similar, oh well.


I tried "apache cassandra" with yahoo and duckduckgo and they both have similar ads that look like search results. Yahoo is even worse, as they just have "Ads related to: apache cassandra" at the top, and then a bunch of ads, where is isn't really obvious where the actual search results begin, just a horizontal line.

Having a look for other search engines, I see all the regular ones from the 90s seem to be dead. There is one called swisscows.com which I hadn't heard of, and it has similar inline ads.



Kagi has much better results. The index.html comes first, them wikipedia

https://i.ibb.co/2SxBTcV/Screenshot-20230606-230829-Firefox....


Those are exactly the same top two results, in the same order, as the Brave search screenshot you're responding to. Perhaps you meant to respond to another comment?


The wiki link is second in Brave also, or are you pointing out something else?

Anyway, I also advocate for Kagi, but Brave happens to be free, and I haven't been convinced of the value of what Kagi charges for search, but I have been tempted.


Do you find any notable downsides to using Brave? I was with Kagi until they introduced limit to the 10$/month paid tier.


Brave browser tries to do some annoying crypto thing by default and has some questionable privacy settings but you can turn all that off. Other than that it is a great browser which has built in ad-blocking (including for youtube). The search is great and is constantly improving.


dont you people use ublock origin? browsing internet without it feels like having unprotected sex


No.


you should try it. its pretty nice


> a hilariously negative caricature of a hypothetical experience using it.

That's what Apple has shown, no?


It appears like that is not the case for many people. You aren't the target market.


CoreGraphics often emphasizes it's ability to draw PDF, I guess that has to do with the Display PostScript lineage as well.


The fancy names and the layering makes it a little tricky to understand. The core of the imaging model is called Quartz. It provides support for rendering 2D shapes and text. Its graphics rendering functionality is exported through the Quartz 2D API, which is implemented in Core Graphics. Quartz is also used for window management: the Quartz Compositor, a lightweight window server, is implemented partly in the WindowServer application and partly in the Core Graphics framework. Quartz 2D uses PDF as the native format for its drawing model. In other words, it stores rendered content internally as PDF, which facilitates features such as automagic PDF screenshots, export/import of PDF data natively, and rasterizing PDF data. Quartz 2D also does device-independent and resolution-independent rendering of bitmap images, vector graphics, and anti-aliased text. NEXTSTEP's window server was based on Display PostScript, so was Sun's NeWS (~1986).


NeWS wasn't based on DPS. It's a full display server based on the PostScript Red Book with some extensions (canvases, lightweight processes and sync primitives, events, classes, garbage collection). This allows to write applications in this extended PostScript or in other programming languages, using a preprocessor, such as cps for C or lps for Scheme-48 and Allegro LISP, that generates PS snippets that get sent to the server.


What would be the particular difficulty with intrusive linked lists?


It's the same in Haskell, Erlang and Elixir.


Bing also doesn't do "site:" queries properly it seems.


Bing doesn’t do a lot of query filters properly. You can put a phrase in quotations and it’ll give you things that … aren’t that.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: