skysight-inc/HackerNews huggingface dataset:
How do you not use const for arguments of data types that are too costly to pass by value?
As someone 4 years younger, I'd argue the 'good times' carried on until the early 90s, at least for a kid that didn't have any money to buy new games all the time. The games back then were all simple enough that a devoted kid with lots of free time would get bored/beat the game in a day or two, and then you have to find something else to do. Now, there are millions of free games on the internet, not counting pirate/emulation, and also plenty of other media content distractions.

I'd also say that era (88-92) was great for being able to pick up cheap used computers. Commodore 64s could be found at garage sales, and I was fortunate that my father would bring home old IBM PC XT/AT boxes from work that were destined for the dumpster.
The nonstandard, low wattage power supplies combined with lack of room for full size dual slot (single PCIe x16 slot) cards limits the utility of these boxes :{
The creativity of the human mind knows no bounds - well done
SpaceX and Starlink are amazing but I wonder how much Kuiper’s access to the huge muscle that is AWS will bolster its chances of being #1? SpaceX definitely has the early bird advantage but Amazon knows products and the direct access to AWS could position Project Kuiper to dominate Starlink.
Hey, I have no other way of contacting you because I guess you can't reply after a certain amount of time but the Logitech mouse I was referring to was the Logitech G Pro series

I didn't reply at the time because I wasn't sure if they had upgraded to USB C but I can confirm that as of today, October 8th, 2023 Logitech is still selling $130 mouses with micro usb ports.
Can we even still find minidisc and players new?
I use an exitint typedef to signify "0 is success, non-0 is failure" and boolint equivalent to his b32. Not typesafe of course, so it's just info for fallible humans.
That is accurate, however, once within the same high wind and weight, hydroplaning gets ahead. That is due hydrofoil drag effect being so much higher than a regular fin. Same reason why windsurf speed record is 55kts while the windfoil record is somewhere near 37kts today.
It also makes me think of sticking two clean pieces of (optical) glass together without glue: https://en.wikipedia.org/wiki/Optical_contact_bonding
The legal cases in which he needs to cast away const could be avoided if the arguments to called functions were appropriately qualified.
All valid points except the last -- you can still blow a hole in the fuselage and cause it to crash without needing to get into the cockpit.
Same thing happens to popular cannabis cultivars.
stablecoins.
It's a bill created by big pharma to whitewash their image while changing nothing about their profiteering. We should not have these sort of laws on the books.
no, it's not just you. I only made it about 1/4 of the way through
when grand claims are made such as what social media could be, I expect attention to fundamental details. Madtodon and lemmy are failing for similar reasons, they polish and reimagine existing stuff and mistake that for originality. You can succeed in 2023 without asking users email. It is more accurate to title it "this improvement of social media is nice". ,"could be" implies a holistic imagination/disruption.

But I accept your downvotes nonetheless since in my anti-email rant, I was unfair to the OP.
But what your doing is mapping one concept on to another. Stop signs and stop lights are different. The only times they should be considered the same is when the lights are totally out or when they're flashing red.

Creating the mental equivalency means more confusing of you come to an unfamiliar road layout. Plus your left on red of one way when explaining it becomes is that one way to one way, or one way to two way or two way to one way? Then you're juggling these concepts and (maybe not you) but people will make mistakes.

When you distil it down to a simple concept of turning on red is allowed when you don't cross a lane of traffic, none of that mapping of one way or stop signs is needed. We only need one other fundamental driving concept of what a lane of traffic is.

Although I will admit it seems that some people don't know what a lane of traffic is.
Arguments to sizeof aren’t actually evaluated (except for variably-modified-types, AKA VLAs, but don’t use those).
Yeah, that does make sense. I'm sorry I didn't use the correct usage. I was just pulling from memory. But it seems like correct depends on who you talk to...
The builtin itself is fine. It works exactly as it's intended. It says "I've double and tripple checked this. Trust me compiler. Just go fast". But you should not use it to construct an assert.
What kind of insensitive are you talking about?
Lois McMaster Bujold is one of those authors that never got as popular as they deserved. She does have a niche following, though. The Vorkosigan saga is very solid space opera with, unusually for SF, innovative and sensitive character work.
He wants to run for president in 2028, not hold on to power.
This isn't really a fair argument. As far as I understand, at least in the case of the 2006 plot, the bomb still needed to be constructed (i.e., ingredients mixed, detonator placed inside, etc). If you have something in a water bottle you're just carrying through security and it's volatile enough to simply throw at a crowd and cause harm, I don't think you've got a great chance of even making it very far, maybe not even to the airport in the first place lol.
The arg is expanded twice but evaluated zero times, since sizeof gives the size of its argument type without executing anything.
Good thing that’s not why it was vetoed.
I prefer to use typedef's for opaque structs to emulate classes with all private fields, and use 'struct' for plain ol' data structures. Classes should only be accessed via functions, while structs can be accessed directly.

I think this is more-or-less a C/POSIX standard convention. E.g., `pthread_t` vs. `struct stat`.
I honestly don't see how this is different than reddit or HN, other than the metaphor. On both sites, articles naturally fall off over time, and the ones that get the most engagement last longer.

How does this differ other than having to click on each thing to see what it says?
It’s wild and a sign how terribly inefficient most software is today
Good! And hope to be followed by the housing market crash, it’s abysmal at this point! I don’t think there’s any advantage of living downtown Toronto than say a small city, all connections can be made online, same with business meetings and such, food is bad, overly crowded it took me a whole hour to pass through downtown during covid lockdown, plus all the safety concerns that some of my friends who live there mentioned that started to happen after the pandemic.
Try nuclear bombs or tanks.
This is very insightful. A "branding" indeed. It's like trying to pick FB's new name before it dropped, heh :) Any ideas on what it might be branded?
Any name is fine, as long as it isn't literally "sizeof".
Your comment makes no sense to me. It just doesn't track. Either he can parlay with pharma and point to how he kicked the bill, or he has to make excuses for not kicking the bill (regardless if he runs 2028 or not). It's political capital. It's power.
It's definitely doable right now. llama.cpp (and frontends) can run in CLI on most CPUs. Mistral 7B is a "good enough" base model to run on most machines. Training is good, but you can also inject current relevant man pages into the context with a vectordb or maybe even a simple grep.

One issue is that LLMs tend to lie when they don't know really know a particular answer, and you usually solve that by double checking it with a web search.
Just to add to the other ESC remapping suggestions:

Insert mode (i.e. i): space

Exit insert mode (i.e. esc): shift+space

Some terminals have issues with modifiers on keys like space but if you're a vim user on only 1-2 machines and can use something like Kitty then you should be OK.
I totally understand that, but with nonfiction and self-help books like this, you don't really need as much repetition in my opinion. Repetition of the same point tends not to help as much here as it does in fiction.

For example, I read Atomic Habits by James Clear a couple months ago. It had a ton of repetition, and in my opinion it was a huge simplification of "complex nuanced human behavior" (that point's discussed elsewhere im the thread). I would hold the book in higher regard if it had repeated itself less, which didn't help much, and instead expanded on its ideas by adding more nuance instead. If this was a summary of a fiction book, I'd agree, but in this context I don't agree with your argument.
Are there any FreeQuoteAPIs on GitHub to help familiarize the stock market?
You can try https://github.com/CTradeExchange/free-quote

# Explore the World of Financial Markets with Free Quote

Are you looking to dive into the dynamics of the financial markets but don't know where to start? Free Quote provides you with the ideal gateway to understanding the world of finance. This open-source project offers you free access to market data, allowing you to explore the latest trends in stocks, forex, cryptocurrencies, and more.

## Get to Know Free Quote

Free Quote is an open-source, free-to-use financial market data API designed for developers and investors. It delivers real-time, accurate financial market data that caters to your needs, whether you're building trading strategies, conducting data analysis, or simply staying updated with market trends.

## Key Features

### 1. Free to Use

Free Quote is completely free, eliminating worries about expensive data subscription fees. You can access and retrieve the market data you need, supporting your projects or research, without any cost.

### 2. Multi-Market Coverage

Free Quote offers extensive market coverage, including stocks, forex, cryptocurrencies, and more. No matter which area you're interested in, we have the data you require.

### 3. Real-Time Updates

We are committed to keeping the data up-to-date to ensure you get the latest market information. This is especially crucial for investors who need timely feedback and real-time decision-making.

### 4. Easy Integration

Free Quote provides a simple yet powerful API that makes it easy to integrate into your applications or projects. Whether you're a beginner or an experienced developer, you can quickly get started.

## How to Use Free Quote

1. *Visit the GitHub Repository*

Go to the [Free Quote GitHub repository](https://github.com/CTradeExchange/free-quote) to access the code and detailed documentation.

2. *Get an API Key*

Register and obtain an API key to start using Free Quote's services.

3. *Integrate into Your Project*

Use the provided documentation and example code to integrate Free Quote into your project and start enjoying free financial market data.

## Conclusion

Free Quote is a free and robust tool that opens a window to understanding the financial markets. Whether you're conducting research, building trading strategies, or simply keeping an eye on market dynamics, Free Quote will be your trusted companion. Let's embark on the journey to uncover the mysteries of the financial markets, starting with Free Quote!
Minifying and getting rid of unused code improve runtime performance, but it's work at compile time / during development. IIUC the author is mostly speaking about tooling performance (tooling that's used during development / compilation). I don't think minifying and dead code removal improve the issue the author writes about.
I just clicked on a pixelated flower and saw

NOXACUSIS RUINED MY LIFE
I CANNOT SPEAK
I CANNOT GO OUTSIDE
I AM IN CONSTANT PAIN
planted on: 09/10/2023
time remaining: 68:35:32

Not exactly sure what to make of it, but joyful was not my first reaction.
I’m about the same age as the author and also tried the freestyle as my first ergonomic keyboard.

I’m now a big fan of my keybordio model 100.

If you’re young and you plan to do this for a living, a good ergo keyboard with firmware you can customize is one of the best investments you can do for your hands’ (and arms) health.
Won’t work. Demographics are too risk averse, bureaucracy has strangled the system.
So instead of taking the opportunity to educate somebody on a topic you're implying you know a lot about, you've decided it's not worth the bother because I'm probably religious about -- checks notes -- carbon taxes... and there's going to be no reasoning with me?

Why bother commenting on the internet at all?
> signed sizes are an extremely surprising abstraction break that are just asking for disaster.

Bjarne Stroustrup wrote a detailed memo advocating for signed sizes:

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p14...
This is a very good (and sad, it's 2023...) description of how it works.
>> I’ll cast away the const if needed.

> Undefined behavior[2]

How so? As the page you linked mentions, simply casting 'const T *' to regular 'T *' is well-defined; it's only modifying a const object through the pointer that's UB (C17 6.7.3/7).

> I don't believe assignments are sequence points and only the function call is.

Assigments within expressions don't create sequence points. However, the expression of an expression statement is a full expression (i.e., not a subexpression of another expression), and there is a sequence point between each pair of full expressions (C17 6.8/4). In other words, the semicolons create sequence points.
Good point, yeah. I'm sorry about that. I'd heard Azerbaijan/Armenia in the news recently and totally forgot it, I'm sorry. I did not hear about Kosovo/Serbia.

I just now found this: https://www.news.com.au/technology/innovation/military/two-e...
I think the point being made is that it's easy to tell low quality after the fact, but it's not obvious before investment. The startups that'll get weeded out will be the ones whose business fundamentals aren't obvious. Some of them will be low quality anyway. Some other businesses could have been high quality even if the fundamentals don't look it (Facebook springs to mind).

I think you're defining quality of startup to be "has known good unit economics" and that's certainly one determinant of quality, but part of why investors have been throwing money at Adam Neumann and others is that it's not the only way that a startup can become a huge success.
Reacting to stimulus doesn’t require subjective experience. A light switch reacts to stimulus.

Reacting without stimulus does. A stopwatch maintains an internal state, the neural networks used by LLM’s don’t.

Someone who starts lucid dreaming can have zero awareness of their body and still do stuff like make up a story which they then recall after waking up.

PS: Balance over all but very brief periods depends on noticing your body weight pressing on something this is one of the reasons people can get disoriented under water. Temperature can be lost track of for similar reasons, rapid changes are noticeable but slowly moving in the neural region ~30-36 °C and all people can detect is a lack of extreme heat or cold not some objective temperature.
So.. this is just a visual representation of the karma/upvotes/brownie points, what’s new here?! You will still have the same upsides and downsides of the current social media.
Yeah I guess that's true. Maybe things are more hopeful than it looks! :)
The same way that epipen got so expensive:

Executives wanted a larger bonus while lacking the ability to otherwise meet unreasonable “infinite growth” demands of the market.
By the time HiMD rolled round, Sony seemed to have figured this out - the 1GB MDs store data, and the players can reformat the older discs into a data storage format, so there exist players that you can boot from. Far too late, of course.
Have you tried the Radeon MI25 Compute cards? We have had good luck with a few, they perform quite well.
Or a common situation is mutable -> const -> mutable.

And that is legal.
Woz has little to do with the Mac, nothing to do with the iPod, iPhone, and iPad.

Jobs also did more than found Apple. He also found NeXT, Inc. and Pixar.
The u32, i8, etc type aliases are the least offensive parts of this to me, even though I rarely see them in C code. I think those are pretty clear.

b32, size (ptrdiff_t), usize (size_t), nothing for ssize_t... what? Those are unidiomatic and also kind of weird. The macros... some are fine, some are weird.

If this makes the author more productive in C, it might behoove them to see if a higher level language like Rust would meet their needs.
That didn't take long. When the acquisition was announced someone from Songtradr was on here trying to reassure people. Wonder how they'll spin this.
This is the kind of thing that should be fixed by improving tooling, rather than making your source less clear. Given the opportunity that was mjs, bun, deno, etc it's clear that file-based and url-based, and relative imports are things people don't want to move away from in the current JS ecosystem, which means "barrel files" (the name makes no sense to me either) are going to remain a useful part of trying to cut down on the noise.
He never said he needs to cast away const to do what he is attempting to do, he just said that he wants to cast away const to reduce clutter, even though the program would have the same semantics as if he kept the const.
When someone types "posted on X" in no way does anyone think someone posted something to a letter. They know it means X the social media platform formerly known as Twitter. So, really, there's no need to keep doing this parenthetical.
That's what I was alluding to in the first place.
Saturn V
And significantly worse for the environment. It's only cheaper if you ignore externalities (which, ironically, the government refuses to regulate)
Locally, never ever use barrel files. If you manage the entire project, just import the specific file you need.

However when exporting a public/published module it can become onerous to ask the user to import 7 files instead of 7 items from one module.

In a perfect world, this would not be much of an issue because tools would cache these resolutions/imports and their treeshaken code. In the current world, you could prepackage your project even on Node, so that there’s only one file to load, and no extra unused code.
Saw this coming from a mile away when they were first acquired. I legitimately can't remember the last time a megacorporation's acquisition of a smaller company ended well.
There are detached homes a 10 minute walk from the CN tower. Toronto is emphatically not a dense city. I recently visited Brooklyn and was amazed.
Yeah, I'd say expectancy is unitless, value is in something like "utils", and expectancy * value is the expected value. I would put impulsiveness in something like amount of "meh" per second (e.g. for each second you have to wait for reward, you feel that amount more "meh" about doing the task). That would give motivation units of utils/meh.

Although, I don't think our actual motivation is linearly inversely proportional to delay at all. I wouldn't expect people to feel about 86,000 times more motivated to do a task that rewards you with $10 one second later versus the same task if the $10 took 24 hours to arrive in the mail.
I wonder if they are going fast enough for ram-induction to generate the pressures needed?
> Of course, history doesn't repeat itself, it just rhymes.

Is there a song for that on Bandcamp?
Great run down both of you. When you put it like that it does look a lot more likely.
No question, just a thanks. I've read a lot of your stuff, and it's always incredibly insightful and clever. Thanks for being an amazing Internet citizen!
Honestly, I really enjoyed COD mobile when I played and was pleasantly surprised with the 3D on a phone experience. I’m interested to see what cool and unique things people will make with this :)
Parameters and functions

No const.

Please don't. `const` is incredibly valuable, not only to the reader, but to the compiler.

Take for example:

int Foo_bar(Foo const* self);

Just looking at this signature, I know that calling `bar()` will not modify the state of the object. This is incredibly valuable information to the reader.

Furthermore, if I want to create a `Foo` constant, I can only call this function if it is `const`.

static Foo const a_foo = FOO_INIT(&some_params);
return Foo_bar(&a_foo); // Will not compile without 'const' in function

`const` is valuable to the compiler, since `a_foo` can be placed into ROM on some platforms like MCUs, saving precious RAM.
They're talking about children. They're denied autonomy all the time. It's absolutely normal and fine usually, they're not mentally developed. Next thing you know I'll be hearing five year olds should be able to sign apartment leases drive cars or smoke cigarettes or work a full time job. After all we wouldn't want to deny autonomy.
I love the "we can do better" attitude through the post. Imagine if all developers had this mindset!

Of course if we all did, then nothing would ever get done because we could always do better. Sometimes you need someone to say "this is good enough".
Just wish they add a wagon dedicated for suitcases and others large or heavy stuff that don't fit in the cabine.

Otherwise, I like these night-trains :-)
For embedded work, you can take steps to make your Rust binaries much smaller. I know people who do demoscene in Rust. You can take that Hello World down to triple-digit bytes if such a thing matters for your use case.
disgusting*. Noticed the typo just now and can't edit. Oops.
> The only annoyance was that I couldn't transfer recordings to my PC in a digital format -- thanks to copyright protection -- though I obviously owned the rights to my own recordings.

If it was recorded in analog, SCMS should not interfered with a digital copy, and on a PC it should been no issue at all. Slow, because real-time, but should have been near-perfect.

Of course, if you used a few hacks and two critical pieces of merchandise (MDS-W1, the only one I know of that does lossless ATRAC transfers, plus another with the TOC-cloning hack), you could make essentially infinite perfect copies.
Sorry, but I think you meant George Floyd? I can't find anything about a "George Flynn" being murdered by cops.