skysight-inc/HackerNews huggingface dataset:
When I was young, I volunteered at a science museum who would, as part of their chemistry show, fill a balloon with hydrogen and ignite it off a tesla coil.
One time, we (~15yo kids) convinced the person giving the show (maybe...college age kid?) to also mix O2 in the balloon, instead of only H2.

The boom was so loud that management folks on the other floors sent people down to see WTF was happening. I don't think he got into (much) trouble, but he sure never did that again.
I think the main issue is that sometimes you just don’t want the song but other songs like that are fine, and other times you don’t want that song or any song like it.
- Don’t play this song again but others like this are fine

- Don’t play songs like this again
> First, different browsers break text at different points.

If the screen resolution and scaling is the same, and the operating system is the same, then you should get very consistent results across operating systems. They use the same algorithm, but subpixel hinting may differ slightly.

If you stick to metrically compatible fonts for the different operating systems, you’ll get almost identical results across OSes too (assuming same screen resolution and scaling).
https://www.ctrl.blog/entry/font-stack-text.html
When this happened to me, I just changed my password. Seems to have worked so far, though it doesn't filter out Latin music.
Does the Wall Street Journal believe in climate change yet?

Not sure I want to hear their opinions on energy matters.

> The editorial board of The Wall Street Journal rejects the scientific consensus on climate change. The Journal disputes that it poses a major threat to human existence and can be prevented through public policy and has published articles disputing that global warming is occurring at all. The Journal is regarded as a forum for climate change deniers,[94][95] publishing articles by individuals that reject the consensus position on climate change in its op-ed section.[96][97][98] These columns frequently attack climate scientists and accuse them of engaging in fraud. A 2015 study found The Wall Street Journal was the newspaper that was least likely to present negative effects of global warming among several newspapers. It was also the most likely to present negative economic framing when discussing climate change mitigation policies, tending to take the stance that the cost of such policies generally outweighs their benefit.[99] The Washington Post has characterized The Wall Street Journal's editorial pages as "the beating heart of climate-change skepticism".[100]

> Climate Feedback, a fact-checking website on media coverage of climate science, has assessed that multiple opinion articles range between "low" and "very low" in terms of scientific credibility.[101][102] The Journal has been accused of refusing to publish opinions of scientists which present the mainstream view on climate change.[103] According to a 2016 analysis, 14% of the guest editorials presented the results of "mainstream climate science", while the majority did not. Also, none of 201 editorials published in the Wall Street Journal since 1997 have conceded that the burning of fossil fuels is causing climate change.[104]
Good question, and I'm not sure what's the correct answer for this. Sometimes you just want to build something. I guess my main motivation was nostalgia for the times when I first discovered Internet (late 90s) and I remember it as a network of personal sites, usenet and irc :) Besides that I thought it's something people here on HN would like.
app academy
I mean you can produce methane trough CO2 capture and a lot of solar power. That's basically what musk said was the goal on mars, so they could develop that tech as well.

Or space-based solar. If anyone has the capability, it's spacex.
The NFT in this case - like, the actual ethereum wallet? - actually contains game assets that are compatible with WoW?

Meshes with different LoDs, textures, animations, skeleton weights for physics? (I mean, obviously you want your party hat to flop around realistically when your character emotes, right?)

And WoW is going to take this arbitrary untrusted asset from a player-provided NFT, and... load it into the WoW client of every other player who is near the player.

Yeah, that sounds like a terrible, terrible idea.

The content moderation aspect (textures covered in swastikas or porn?)... the possibility of players providing meshes that are ridiculously large or complex... the security attack surface...

This does not sound like 'just implement a few lines of code and you're done'.
i am actually impressed to see this come out cornell. i tend to see like and dislike buttons as too simplistic. they greatly reduce why a user would dislike something.

i am annoyed at youtube only allowing me to choose from "i didn't like it" or "i have already watched it" for example. i have thousands of other reasons.

that's why i don't use dislike buttons.
What industry just out of curiosity? I see dislikes used judiciously in youtube and reddit fwiw
I think they get that not because of putting in that constraint, but only because subsequent frames are similar. That makes the coloring algorithm pick similar coloring.
Where did you come across this idea?
Mi problema con Spotify es que cuando le hackeo la cuenta a un gringo y escucho mi música, a este le molestan las recomendaciones latinas y despues de un tiempo deja de pagar la cuenta.
> Listening to the wrong song two times could irrevocably ruin my recommendations.

Similarly any app or website that pulls “top artists” from Spotify tends to include stuff I listens to a bit several years ago, but never stuff I’ve listened to nonstop for months.
That is ideally how it is supposed to work, but there are many examples of regulations being bypassed and other folks being stepped on to get a desired employer or a potentially lucrative investment into a place.

It doesn’t sound like it is happening here necessarily, but it does happen pretty frequently.
So as long as I send a target an email and they don't respond back that they refuse then I can do anything to them that was in that email - same level of "authorised". They probably looked at an email longer if it was actually opened.
> one other consideration is disliking can usually be inferred from other activity. Skipping a song after less then 20 seconds for example can train a model as well as incorporating an explicit dislike button.

This is nonsense. The fact that I skip a song does not mean I don't like it in general, it means I don't want to hear it right now. Music taste changes with mood and situation. If you treat a skip as "I don't ever want to hear this again" you will collect absolute garbage data, and if I know you are doing this, it will make your app unusable because I can't do normal everyday actions without ruining my recommendations.
I don’t know who started this trend of having to login to read stuff (maybe Instagram?), it is super annoying. Twitter did the same recently.

It is time to create an alternative to Product Hunt. Would be nice to discover new tools without the spam and dark patterns
Is this within a global context or a local one? Liking a song in Spotify is global - Spotify then adds it to a list of liked songs.

But from my experience with Pandora, radio stations were localized. Liking a song did add it to a list somewhere, yes, but disliking a song just meant that a particular radio station on Pandora wouldn't have a song in that particular style, and other stations did not seem to be affected by this.

In other words, what you want to listen to, for me, seemed to be very contextual. And since I felt my dislikes were captured in a context (radio station), I didn't have any qualms disliking frequently using Pandora.

And my experience with Pandora for song discovery has always been much better.
Would be nice to get zulip to support UnifiedPush as a replacement to FCM, you can use gotify as a transport.
> yes, but that does not make it a constexpr context

It seems like we're talking past each other here. You wrote

"How will you differentiate a call that you want to perform at compile-time vs at run-time [without constexpr]?"

And I've been replying to that by pointing out that your run-time code can still be evaluated at compile time even if you don't use constexpr. Heck, I'll point out now that it can still be evaluated at run-time even if you do use constexpr! [1] It's neither here nor there.

Now you're talking about whether "constexpr contexts" do this, which is a separate question. Incidentally, even constexpr contexts don't distinguish between compile-time and run-time evaluation in anywhere except the condition itself [1], which is not the part you generally care the most about. If you want compile-time evaluation, you need to force its evaluation at a location where it's required to be evaluated at compile time, which is either a template parameter or a constexpr variable declaration.

You seem to be desiring consteval when you talk about constexpr.

(And you still haven't addressed the fact that your unit-test example is better served by having two separate functions!)

> the compiler is obviously able to evaluate foo() at compile time, yet it knows that the evaluation it does at compile time will yield a different result that the one it does in a constexpr context.

Citing this ability as if it's desirable is really strange. If your code does that it's buggy. A good language would outlaw this, not embrace it.

[1] https://gcc.godbolt.org/z/Yhqvqz5Pc
I found out you can break your recommendations without losing control of your account.

I listened to one podcast episode and it's been stuck on my home screen for two months. I've tried listening to it, ignoring it, unsubscribing, deleting (you can't!). It's just there forever now.

And of course, that means it's always recommending related podcasts all the time so most of my homepage is now filled with this stuff and I have no way to remove it.
LAP = Lisp Assembly Program
Have you heard the one about the rat in the glove? Looks like a hand. Wiggles like a hand. All rat.
> uint8_t is not guaranteed to be unsigned char but in practice almost always is.

Does this imply any unsigned char typedef is able to alias anything? Or is uint8_t a compiler special case?
Ask HN: Resources to get started in game development?
I am looking into developing some games like stardew valley or animal crossing as side project. I have never created games but have enough programming experience.

Not looking to create it to make money, rather just want to create interesting games, that's all.

Any useful resources to get started?
This is completely untrue.

I’ve done extensive price comparisons based the cost of paper and ink. For different brands and models of printer, I’ve done comparisons of the number of pictures you have to print to break even, compared to the cost of taking it to a shop and having them print it for you. I included discount online printers as well.

These comparisons include the cost of paying for all consumables—usually ink, but some printer models have additional consumables which you have to include. These comparisons also factor in the difference between the included inks and the ink refills (some printers ship with ink cartridges that are less full than the refills).

It is not hard to come out ahead, doing your own prints. When I was doing this comparison, it was only economical to go to the store if you were sporadically printing the smallest picture sizes. For a medium picture size like 8"x10", you could be using high-quality paper and inks at home and still spend less money than bargain online print services.

As a rough estimate, printing yourself with high-quality inks and papers can come out to around $0.02 per square inch, or $1.60 for an 8"x10" photo. Right now, an 8x10 is $3.56 on Shutterfly, or $2.99 on Snapfish. That’s a pretty stark difference.

So you save about $1.40 per photo, and you can use this to calculate how long it takes to amortize the cost of the printer hardware. For a $250 printer, like a reasonable low-end Epson or Canon photo printer, that’s just 180 prints.

YMMV. I expect most people don’t print photos at all these days, and only put photos on their phone. I personally don’t see the point in printing out 3.5"x5" photos if I own a tablet or phone with a screen that large. So, my expectation is that people who print photos are making albums of family photos, or perhaps they’re amateur photographers or digital artists. Someone with a passing interest in photography or making photo albums, who prints, can easily blow through 180 prints to break even on a printer purchase. If you just have a few picture frames around the house you want to fill, obviously just go to a shop.

When I purchased my printer, I was comparing against more expensive local photo labs, rather than the cheapest online services. I was also comparing 11"x14" prints, which typically cost around $10 each, versus $3 at home. The purchase of a $700 printer is amortized after only 100 such prints, in this scenario.
A problem I have with the inferred dislike is that when I skip a song it's only something I dislike half the time. The other half I'm simply not in the mood to hear it, maybe for another 10 minutes or another 10 months. The result has been that I've become more willing to listen to certain genres on another platform (say Youtube) because it won't contaminate the prevailing mood which I want the main service to recommend.
Sure, it would be useful… if users used it.

My guess is they don’t. Did you use the like/dislike buttons they tested on Spotify radio? I didn’t, too much effort.

They probably get more signal from the skip button
A dislike button is too simplistic, but having no way to dislike something is extremely bad user experience. How do you train a recommendation engine without a negative signal?

Sometimes I dislike something and I don't want it around anymore. Which is the reason I've migrated to Youtube Music, which is an inferior product, but has a dislike button.
FUD the only thing you do is spreading FUD. All the time. In every comment like a fucking russian bot. Since fucking 2009. Kick ban that fucking account.
> Skipping a song after less then 20 seconds for example can train a model as well as incorporating an explicit dislike button.

How do you know I dislike the song? Instead, maybe I just heard it (or a similar song) on your platform or elsewhere outside of your app and don’t want to listen to it again right now?

I guess you could try to build a more complex model that determines what songs or music I like at what times of the day or what day of the week, or based on what I just listened to.

IMO this is rampant in FAANG companies. We create complex solutions to problems that didn’t really exist and pat ourselves on the back when our experiment show positive results.

The experiment might show you some metric (total time in app, play time at whatever percentile, etc) increased. Great! Now we launch the model in production for all customers and pat ourselves on the back. Meanwhile, the actual experience became shittier. A few promotions come out of this, and we continue living in the bubble.

Alright, end of rant.
Skipping doesn't imply dislike, though it does correlate (because the reverse is generally true, people skip songs they dislike). But I routinely see skip mentioned as non-downvote sources of dislike information.

Easily half of the times I skip it's because I don't want it right now. Some of my favorite songs reproduce absolutely horribly in a car on a highway for example, because the surrounding noise utterly destroys subtleties. So maybe you add "but it's not a downvote if it's hearted or otherwise positively ranked"... but many other times I'm just not in the mood for [a song I had never encountered until now].
There is currently no known way a Mars colony could be economically self sustaining or self contained. Literally zero.

So unless there is something truly magical up someone’s sleeve, we need to keep Earth workable for us for the foreseeable future. And I think that is a good thing.
That's a good point and the next evolution recommenders try to do is to become contextual. There may be songs you like at dinner or on weekends but not vice versa. These types of things like time of day, device and other types of data points can make a recommender more precise.
You know what would improve any recommendation system?

A button that says (and does) "wipe my recommendation profile clean, and start learning recommendations from scratch".
Hi, Author here.

FAA's document is subject to NEPA and table 2.1 in the PEA considers the gas plant and power plant to be in scope. FAA is the overseeing agency for this action so it doesn't matter that it's not in "FAA's domain"

FERC and DOE do these types of NEPA approvals all the time and include full EPA participation.

SpaceX and FAA didn't consult with EPA and that was likely intentional. This is essentially an unprecedented action under NEPA. Feel free to shoot emails or ask questions. Finally getting lots of attention here.
Just like how google services handle push notifications on your phone: a persistent connection.

Without GCM though, every app needs to maintain a separate connection, which drains more battery.

That's why we need more alternatives to GCM, like UnifiedPush.
Fight noises are the best - that's part of what makes a great kung fu flick.

The original Bruce Lee movies were groundbreaking acoustically.
Whoosh, whep whep, waaaaaauuuuu yaa!

Now I have to wonder, though, how much of his vocalizations were recorded in post production?
It's definitely rife with footguns but you can very much write aliasing-safe systems code (or even kernel code, for that matter). Or at the very least you should strive to contain the alias-infringing code in well delimited sections of the source code that are built with special flags for instance.

If optimizations break code due to aliasing violations I would really recommend fixing the code, not turning the optimizations off!

Also if anything C's aliasing is less strict than Fortran by default, hence the later introduction of "restrict" to allow further optimizations.
So basically they’re developing a product marketed to streaming platforms to identify what’s “more attractive” to consumers. The algorithms are still optimized for increasing sales and engagement, not improving recommendations (for the user).

That’s exactly why I’m unhappy with Spotify lately. I feel I’m being sold a bunch of corporate portfolios on what’s currently in vogue, and not just artistically but politically, with playlists like this-gender-race supporting this-cause. I actually just want to listen to music.

I still use it but stumble my way through looking at related artists while avoiding playlists and recommendations.
It’s not vandalism unless the originals have been damaged. If someone makes a digital copy and goofs around with it I really don’t see any harm being done.
It depends right. If you skip a song everytime its played in a sequence is a stronger indication of dislike compared to skip it once but listening to it a few times. The point is there is more to context and recommenders than a adding a dislike button and having a magically awesome recommender.
Yes that's very frustrating. I'm scared to even listen to new music on it because I'd try to use it for discovery but it would mistake what I listen to for what I like. Besides that it hardly recommends me any new music anyway. I now just use youtube for discovery.
Parent is insinuating this may be deliberate sabotage on Brother’s end, to convince users to buy a new model after a while
Well said.

Of course, he was a minister, so he'd spent his life thinking about that.
The sheets are linked in previous parts of the series, as well as the data.

For example: https://docs.google.com/spreadsheets/d/1xO-OsDaQBnaCDGqHAtbz...
Why is simplicity so unreasonably effective at scientific explanation
I'm fairly certain that your Macbook is actually hibernating, and not merely suspending. This seems to be the case with my 2015 Macbook. Suspend alone will drain your battery.

I have a Ryzen ThinkPad p14s with Linux. What you do is turn on S3 mode (they call it "Linux") in BIOS as you did. Then in /etc/systemd/sleep.conf you enable AllowSuspendThenHibernate. You can adjust the time. I have mine set to 30 minutes. I also have suspend set when the laptop lid closes. Which means when I close the laptop, it suspends for 30 minutes. If I open before 30 minutes, it resumes right away. If not, it hibernates. The battery will last for practically days if you configure it this way.

You have to configure Linux to hibernate and this will depend on your setup. Just know that it is possible to use LUKS encryption and hibernate to a file (or partition).

Another factor with my Macbook is that it seems to automatically resume from hibernate in the morning. Not sure what it's doing. Maybe it's keeping track of when I typically open my laptop. But you can get this same behavior on Linux with rtcwake. If using LUKS though, you'll probably need to use a keyfile rather than a passphrase for this to work. It would be neat if someone wrote a program that could monitor the time you open the laptop and automatically adjust the rtc wakeup times based on historical data.
I think the whole concept of art is adult. Kids are less pretentious.
Damn, I wish I knew about this ahead of time. I would have "attended". I'm not much of a conference person, so I feel like I only hear about the cool ones as they're going on or after they finished.
I don't understand, if you're trying to work around aliasing restrictions why would you use `uint8_t*` in the first place?

By definition `sizeof(char) == 1`, so that's almost always what you want when messing with types in C anyway. What you want is bytes, not octets.
I think Librem and the Pinephone are the only options with some privacy features. None of them runs Android, however.
The paper is making an obvious claim. If I have data showing positive and negative affinity, that will perform better than a model which just has positive day. I don't find this very surprising but my point is in practice exposing dislike buttons to customers are a CX that is hardly ever used. So the point that a model will perform better with data that customer's rarely offer up to your platform makes their claim moot in my opinion.
The tradeoff is one failure for another
I agree that font rendering is fairly consistent. The problem is that a single pixel difference in vertical rendering can affect word-wrapping in such a way that a new line is added, making the div taller, potentially breaking the page layout.

One related thing I know for a fact is different between browsers is how they treat fractional line-height. While Firefox accurately scales the line-height along with a fractional font-height, Chrome notoriously snaps the line-height to an integer number.
oh and for streaming platforms. sometimes, it's just because that song you recommended (and started playing) should not be played after the one that just finished because it ruins the mood. this has nothing to do with the song itself.

so again, reducing it to like/dislike buttons is missing a great deal.