skysight-inc/HackerNews huggingface dataset:
You appear to be correct. Clang does not devirtualize in LTO, but GCC does. Personally I consider this very strange.

$ cat animal.h cat.cpp main.cpp
// animal.h

#pragma once

class animal {
public:
virtual ~animal() {}
virtual void speak() = 0;
};

animal& get_mystery_animal();
// cat.cpp

#include "animal.h"
#include <cstdio>

class cat final : public animal {
public:
~cat() override{}
void speak() override{
puts("meow");
}
};

static cat garfield{};

animal& get_mystery_animal() {
return garfield;
}
// main.cpp

#include "animal.h"

int main() {
animal& a = get_mystery_animal();
a.speak();
}
$ make clean && CXX=clang++ make -j && objdump --disassemble=main -C lto_test
rm -f *.o lto_test
clang++ -c -flto -O3 -g cat.cpp -o cat.o
clang++ -c -flto -O3 -g main.cpp -o main.o
clang++ -flto -O3 -g cat.o main.o -o lto_test

lto_test: file format elf64-x86-64

Disassembly of section .init:

Disassembly of section .plt:

Disassembly of section .plt.got:

Disassembly of section .text:

00000000000011b0 <main>:
11b0: 50 push %rax
11b1: 48 8b 05 58 2e 00 00 mov 0x2e58(%rip),%rax # 4010 <garfield>
11b8: 48 8d 3d 51 2e 00 00 lea 0x2e51(%rip),%rdi # 4010 <garfield>
11bf: ff 50 10 call *0x10(%rax)
11c2: 31 c0 xor %eax,%eax
11c4: 59 pop %rcx
11c5: c3 ret

Disassembly of section .fini:
$ make clean && CXX=g++ make -j && objdump --disassemble=main -C lto_test|sed -e 's,^, ,'
rm -f *.o lto_test
g++ -c -flto -O3 -g cat.cpp -o cat.o
g++ -c -flto -O3 -g main.cpp -o main.o
g++ -flto -O3 -g cat.o main.o -o lto_test

lto_test: file format elf64-x86-64

Disassembly of section .init:

Disassembly of section .plt:

Disassembly of section .plt.got:

Disassembly of section .text:

0000000000001090 <main>:
1090: 48 83 ec 08 sub $0x8,%rsp
1094: 48 8d 3d 75 2f 00 00 lea 0x2f75(%rip),%rdi # 4010 <garfield>
109b: e8 50 01 00 00 call 11f0 <cat::speak()>
10a0: 31 c0 xor %eax,%eax
10a2: 48 83 c4 08 add $0x8,%rsp
10a6: c3 ret

Disassembly of section .fini:
I love this approach! Most of the grocery stores in Canada (or are least Toronto) do this as well, expect it's usually a $1 coin.
Mostly need money to fund them. There are various proposals in US/EU/China: https://en.wikipedia.org/wiki/Interstellar_probe#Proposed_mi...
There was another Boeing having smoke detected just a couple of days ago: https://news.ycombinator.com/item?id=40087086
Looking at the government as monolithic and omniscient, sure. But its the same as any organization: made up of tons of people who don't all know everything, who disagree with each other about things, while generally trying to do the right thing. And sometimes they get it wrong (I too remember the food pyramid)
There is this Dutch project that basically did this, but then before AI was a thing. Unfortunately it's frozen now, but still makes me laugh every time: https://oncyclopedia.org

Edit: just learned that there are many more like this in different languages: https://uncyclopedia.info
IANAL, but Oracle's lawyers are, and they see no problem distributing GPL 2-licensed Windows drivers for VirtualBox[1], in both source and binary form, so, in the absence of evidence to the contrary, neither do I.

I suspect Windows driver signing requirements may conflict with GPL 3, however, because running Windows in test-signing mode interferes with the normal operation of popular Windows software (e.g., games that require anti-cheat software deliberately incompatible with test-signing mode in general).

OTOH, Windows itself runs just fine in test-signing mode, and surely the fact that other software deliberately chooses not to run if a test-signed driver is installed doesn't imply that Windows is incompatible with test-signed drivers, and therefore GPL 3, so it's hard to say, but I'd personally talk to a lawyer before creating or distributing a GPL 3-licensed Windows driver.

Here's a copy of the click-through license from the latest Windows Driver Kit installer, which, to my non-lawyer eyes, doesn't appear to place any restrictions on use or distribution of drivers created with it, in source or binary form:

https://jasomill.at/wdk-license.html

Obviously any individual or project using proprietary headers under this license to build a driver would have to accept its terms, but this is no different than, e.g., using proprietary headers under the Xcode license to build GPL software for macOS, and the FSF, at least, seems to be fine with this, given that the Emacs project recommends[2] a macOS binary distribution[3] that does precisely this[4], so I assume it's okay.

[1] https://github.com/mirror/vbox/blob/master/src/VBox/Addition...

[2] https://www.gnu.org/software/emacs/download.html#macos

[3] https://emacsformacosx.com/

[4] https://git.savannah.gnu.org/cgit/emacs.git/tree/configure.a...
I normally dabble with CLISP (notably because of its built in readline), and if I could SOMEHOW get it to build with SSL, I'd play with it more.

This is what I stick at the top of my Lisp files when dabbling.

(defun l ()
(load "file.lisp"))

(defun e ()
(ext:shell "vi file.lisp"))

And then I just muddle my way through with a (e) and (l) cycle. Since I tend to not work on 10,000 line files -- this works fine (my files are < 5K lines). More than fast enough, and I get to retain any work variables within the image (plus my command history). It's quite effective really. (print...) debugging works because you can run your code at whatever granularity you like (and you can always refactor it to a finer grain if you want). Don't doubt it until you try it. Turn around is very fast.

That said, I discovered that for some reason, firing off something as simple as "vi file.lisp" from SBCL is stupifyingly complicated. I made several 10s google searches and 5s GPT attempts to make that work, but gave up.

So, can't say I can recommend that style of development in SBCL unless someone is willing to chime in with the, apparently, paragraph of code necessary to launch vi on a file.
I'm currently writing a book about independent thinking and I have zero expectations that it will sell even a single copy. However, the net gain I will get from having completed the goal of writing the book is invaluable to me personally.
This is beautiful.

I noticed something: The player character feels really tall to me. Or perhaps the doors are short? I subconsciously kept looking downward. I'm not a particularly tall person, but I don't remember feeling this way in a game before.

Has anyone had a similar experience?
I thought Kiwis eat, roots, shoots and leaves?
I really like the idea but it seems that rule 5. is broken in basically every article that I check, usually very explicitly. For example, on the "Earth" article: "Unlike in our timeline, where Pluto was unexpectedly destroyed in 2001, this version of Earth has maintained Pluto's status..."

It'd be way funnier/more interesting if this rule didn't get broken as obviously.
I strongly disagree that the low end of the market is taken. XReal's Air/2 are awesome and Moore suggests we'll see awesome displays in that form factor, not even necessarily from XReal.
Some libraries have movie sections, making them the Netflix of DVDs, in an odd twist.
The craziest thing is that those AI assistants coming up early in this game don't feel so far off anymore...
Related:

US Senate to Vote on a Wiretap Bill That Critics Call 'Stasi-Like'

https://news.ycombinator.com/item?id=40056939
Oxford shuts down institute run by Elon Musk-backed Nick Bostrom
That's amazing!

And it weights only 45 MiB!
How did you achieve this? And most of it is sounds, what looks like.

It's built with babylonjs?
Amazon/Adobe DRM? They can stop working at any time.
Title seems to be garbled, should be: With homelessness on the rise, the Supreme Court weighs bans on sleeping outdoors

Looks like [0] is the original source.

[0]: https://apnews.com/article/homelessness-supreme-court-oregon...
I have read a couple of books on that subject and they all disappointed. I will gladly buy your book if it's original work.
Related:

The NSA is just days away from taking over the internet

https://news.ycombinator.com/item?id=40062271
I couldn't find any containers for paper filters for the AeroPress XL that didn't look like cheap 3d-printed garbage, so I've been going down a rabbit hole of how to build bronze articulated joints.

I'm building a paperweight inspired by vintage brass table lamps to hold the papers in place on a wooden platform.
And that's how you end up pissing off users with apostrophes in their names.
I'm the same way, and also: I want to not have to pay a subscription fee forever. Once I have what I want, then that's it! I'm don't need to spend another dime. But if I use Spotify or whatever, I have to keep paying forever. It is a much worse deal.
Try Supernatural. It’s like a dance, boxing, or martial arts workout. My VR lab is a little small and has slanted ceilings so I have to be careful not to hit the tips of my fingertips but it is a real workout that is reasonably safe.
> How is it demonstrable that they aren't worth $1m per year?

Probably because of this:

> How does any company burn $36 billion on a headset they got handed a prototype for?
> You are reading things into his writing that he is not saying

I linked a video where he says it in full HD with audio: "The latter exists and the former doesn't" - did you watch it?

Not like it's the only time he's said it either, the downplaying of consciousness and the denial of a rich inner experience are things Dennett is known for.

> he says that the activity of the neurons is your conscious experience

Finally you said something that reflects reality. Yes he does say that. And more than one interviewer (don't make me find them, but I think they are Louis Godbout and Robert Lawrence Kuhn, or maybe Donald Hoffman) have asked for clarification in asking something like:

But the activity of the neurons are not identical with the redness of red, the aroma of coffee, the taste of chocolate, the blueness of the door in Godbout's example. The activity of the neurons are the activity of the neurons, little electro-chemical excitations. That's not, for example, the aroma of coffee.

To which Dennett will explain away that experience - it doesn't exist - often conflating raw experience with self/identity (different things) in doing so. It's a kind of rigid, ultra physicalist stance that you apparently really dig, but it's ultimately wrong because as Chalmers says it denies the datum of experience - we know there's an experience happening because we observe it ourselves (even though the self is illusory, the experience isn't). Empiricism means to be based on observational evidence - in this case it's your direct first-person observation or "experience".

I've gotten off track - the reason I'm arguing with you is because you grossly misrepresent the late, great Dan Dennett and I'm trying to figure out A) Why you think this or B) If you're just a hobbyist arguer.

> At this point I am wondering whether you are a physicalist or not. If you are, you should be agreeing with Dennett

It's not that simple.
Does this include technical books? O'Reilly and Manning seem to have substantial customers. Or is the licensing of PDFs excluded from such figures?
I played through on my phone (Android) too and it was very smooth, suprisingly it didn't seem to cause significant battery drain or overheating - it performed really well.
Is a router a decent box? https://kittenlabs.de/real-gaming-router/
https://developer.apple.com/documentation/apple-silicon/cpu-... might be a better link to use since it does not require auth and will allow people at a glance to see what the content might be about.
Thanks, that is good advice. You totally get it that I am trying to paint a future scene, but somehow did not deliver. This is the first time I wrote any long story in my life. I tried on my own kids but that is too small sample size.
> but having to refill every week gets expensive

Less spent on cat toys though...
Nice one!
Voyager carries the hopes, aspirations and fantasies of many of us space romantics.

On the technical side of things, there are also other companies doing live patching, like the Ericsson telephone exchanges. Their code can be altered “live” while operating, in order to fix or enhance the software and with zero downtime ;-)
Also, at what rate? If it's not at least one second per second, that changes things quite a bit.
but does this filter out the rss feeds that are just a headline and then a "click here to read the whole story" link?

that's what killed rss it wasn't google reader going away, it was the ad-weaponizing of the feeds themselves
Neither of these provides books as a subscription service as far as I am aware.
Mine doesn't have this book, anyway.

$94 for a used copy /s
Fine. Artificial intelligence. I'm still waiting on the General.
Am I just unusual in really liking the usual regex syntax? (I mean, other than how every engine has a slightly different variation on it.) This might just be a matter of familiarity, but I find the s-expression versions harder to read, despite having worked in a Lisp for more than 10 years.
Isn't that the same thing as working for a publicly traded company?
Well, like I said, Apple is known for having hardline stances with their partners - it could easily be mandated that employee wages need to be 2X$ or whatever.

Though, Apple has the exact same issue you claim Foxconn might have - funneling value to shareholders over laborers.
Ruby 4 should do what every other sane programming language does and require users to opt into multi-line mode via the /m flag.

The fact that Ruby has this behavior at all is a major security issue.
Fresh news from 2 weeks ago for CCL:

> I recently decided to leave my current full-time job, and I’ll be working on CCL again. […] I’ll be able to work about half-time on an ARM64 port. Please write me privately if you want to talk about supporting that ARM64 work.

> I've worked on CCL for quite a few years, and I did the 32-bit x86 port, so I have experience in this area. I’m not as good a hacker as Gary Byers, but then again, few people are.

rme

https://lists.clozure.com/pipermail/openmcl-devel/2024-April...
Yeah, if I'm understanding what's going on here, it's going to be noisy as hell.

Cavitation noise isn't the only factor making a submarine detectable, but it's definitely high on the list. It's been used to detect submarines since WWII or thereabouts.
HN Discussion[0] (205 points, 5 days ago, 287 comments)

[0]: https://news.ycombinator.com/item?id=40065862
[dupe]

Actual official post: https://www.consumerfinance.gov/about-us/newsroom/cfpb-takes...

Discussion: https://news.ycombinator.com/item?id=40067939
Someone used Pareto's economic theories to find the best Mario Kart 8 racer
https://en.wikipedia.org/wiki/Dulce_et_Decorum_est

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

https://www.youtube.com/watch?v=A4BxP5IEyzw
Did you mean to read <insert related book that's not in the subscription>?
Previous discussions:

https://news.ycombinator.com/item?id=35510067 (1066 points | April 2023 | 120 comments)

https://news.ycombinator.com/item?id=33612401 (776 points | November 2022 | 88 comments)
the western monotheist (hence monarchical andor presidential) systems are not civilization. sorry I must say this.

why? in a modern state the powers are split in 3, I'm saying the executive power is not all the power. recall there are the judicial power and the legislature, those are parts of civilization which do not rely nor in any way depend on the monotheistic ideologies and frames of mind. leadership is not representation.
Turn it around:

How much new information is there published in book form each year which the average person needs to (or wants to) read?

How much leisure time does the average person choose to dedicate each year to reading? How do they decide which book(s) will be selected for this?

Arguably the problem is that much of the purpose which books traditionally take up has been replaced by:

- encyclopedias --- Wikipedia

- magazines/newspapers --- Facebook and social media

- dime store novels --- fan fiction and webcomics

Time was that the way to be successful w/ a self-published book was to manage to get it bought by the ~9,000 library systems in the U.S. --- how many of these books are being purchased by libraries?
Yea for most of us (I hope), sorting is like a non-thought at this point. When I have an aluminum can and I can't find a recycle bin I have a mini panic about it. There's not much of a time waste on the consumer side, its not like I'm sorting through a bag of trash every week. I *do* hope we get managing plastic waste under control though, and soon. Feels like the main problem is now on the government level figuring out what to do about this. The behavior change is largely done. If it just needs to go back into the ground great, I just don't want it near the ocean.
wget --convert-links --page-requisites --adjust-extension https://www.website-name.com

For downloading a single page from a website for offline storage capabilities. A private, quick, and simple alternative to saving information using archive.org.
Not sure if I'm up to date, but jupyter (as good as it is) suffered from strange rules of evaluations for cells which makes it difficult to do anything large since side effects will impede thinking quick.
How to Fix Flying in the U.S.
The difference between music and books is time investment. New music comes out all the time, and I'm always discovering old music. A subscription works great for music because I can listen to so many songs. Books not so much, and I consider myself a reader.
Is EU data regulations a blocker for innovations?
Now before jumping into my throat, hear me out!

Companies like Anthropic, Meta AI, and much more already released their products months ago in many countries like Ghana, Tonga, Nauru, and many more that I have not even heard of before.

I live in Germany and seeing the companies being able to release products in other countries before here because of "Bureaucratic Processes" kind of sad.

I wondering what others think about this? is the data regulations actually helping or blocking us from discovering great tools and products?
This smells of scam and bullshit.

Why not make the money not real money?

You’re just playing with people for financial gain.
There is a difference between ordering specialist work (i.e. someone makes something to your exact specifications) and buying ore on a global market.

But sure, even in case of ore you have a responsibility to make sure it isn't being delved by slave labour.
Three.js.

Why it weighs only 45mb: the 3D environment isn’t that detailed, and we use Draco compression on the model files which has huge benefits in terms of file size. In addition, the art style requires few textures, and we use KTX2 compression.
The audio files are indeed the largest assets.
that anyone reading is aware

That's the thing, they aren't.

I've been given no indication that anyone thinks it actually pings @dang

You can find lots of comments by people who think that and replies by dang explaining it does nothing. The idea that we just have no clue what the effects of this are and why moderators think it is best avoided is just an odd one. The busybodies repeat this because the moderators do. Well, that and they're busybodies.

I did not start with @dang.

It doesn't matter, editing your comment to add meta is the thing that ends up derailing comments and threads. It's spamming your own comments, effectively - such comments are regularly moderated to the bottoms of threads.
Reposting a comment I wrote on a comparison with Vision Pro here, which is very relevant here: https://news.ycombinator.com/item?id=39830713

> The biggest innovation with Vision Pro is visionOS. visionOS provides native app frameworks, so developers can build apps for it. That sounds ridiculously obvious, and yet its something Meta have failed to offer for years. Every app on Quest has to reinvent how buttons work, how a scroll view works, how far away from the user the content should be etc.. and every app works differently. On visionOS, all of this is handled by Apple, and every app looks and feels the same.

Meta does have standardized utilities for translating movement to touch/drag/etc. interactions on arbitrary virtual surfaces:

https://developers.facebook.com/blog/post/2022/11/22/buildin...

https://developer.oculus.com/documentation/unity/unity-isdk-...

But it doesn't seem (AFAIK) to answer the other side of this, which is the UI design system so apps have a consistent look and feel. Which is perhaps more common coming from a game development perspective, but ever since the Mac OS shareware days, Apple's understood that it's empowering to a certain kind of developer if you make it easy/the default path for them to build experiences that match a standardized look and feel. I'm honestly surprised that Meta didn't at least make an optional SDK for this.
Helios-NG: massively-parallel OS for manycore CPUs
The same could be said about the game industry and the music industry. 1% of the industry thrives while the rest is a sinking stone.

That said I bought three books this week, but it's a rare occurrence... and I'm pretty sure they're re-printed by Amazon.
I recently started buying paper books.

Yes, it's not particularly ecological, but I found that I'm able to focus at the text much better this way. My Kindle (despite plenty of obvious advantages) just doesn't really work for me.

It took me years to realize this, but I always start to tinker with the brightness settings, switch pages back and forth, go into the book library and back, play with highlighting words, etc. I will do anything instead of reading the text. Meanwhile with a paper book I don't have an urge to flip a page back and forth and observe how it behaves. I can focus on the text.

Not sure why I am this way.
Very interested in your first rabbit hole. Which servos did you use? Which gears? For me, it would be to use with an action camera. How many hours did you spend on it before you were satisfied? I've seen some arduino-based projects to do that, but servos look quite bulky... and with the right gears, very little torque / power should be necessary. But i have not spent the time yet.
I take photos for fun in my spare time and recently started shooting on film again. This time around I've been interested in how film actually functions. SmarterEveryDay has a fantastic 3-part YouTube series of the Kodak manufacturing process as he tours through the facility. I'm now amazed that film is still even being manufactured today, and can't even imagine what the production line was like during the heyday of film.

I've developed my own film in the past but knowing so little about chemistry myself, it's still pretty much magic to me even after digesting all of the info from the series.
I agree, you actually always have to work with other companies. The alternative is not possible.

In general it is very easy and safe to work with companies in the same country as you, as they are bound by identical laws to you and litigation and control is relatively easy. They also can't legally re-outsource to companies you can't outsource to. Similar things are true if the company is in a broadly aligned country. E.g. the US and Germany.

The further away, physically, ideologically, linguistically and legally away the country of the other company is the worse it becomes and the harder it is to effectively control them.
Technical books are part of it, and O’Reilly can probably do much more accurate forecasting on their titles than others do, but they still have total reach problems.

If I think of all the technical things I’ve done, there are some I’ve bought lots of books for, and others I’ve never bought a book at all, including some relatively major languages.
I've published a few self-published books on Amazon about my global adventures. While sales are not making me rich, they certainly do sell month after month.