skysight-inc/HackerNews huggingface dataset:
It's more work. Not only to put all the annotations correctly, but only because it causes some real headaches. It's easy (implicit) to transition from non-const to const 1 pointer level deep. But the other way around -- it's really awkward to "remove" a const.

The strstr() signature is probably the shortest example / explanation why. To implement strstr(), you have to hack the const away to create the return value. Alternatively, create a mutable_strstr() variant that does the exact same thing. This is the kind of boilerplate that we don't want in C (and that C is bad at generating automatically).

Think about it this way: Real const data doesn't exist. It always gets created (written) somewhere, and usually removed later. One way where this works cleanly is where the data is created at compile time, so the data can be "truly" const, and be put in .ro section, and automatically destroyed when the process terminates. But often, we have situations where some part of the code needs to mutate the data that is only consumed as read only by other parts of the code. One man's const data is another man's mutable data.

In C, the support for making this transition work fluently is just very limited (but I think it's not great in most other languages, either).
40 years of development here, too .. my solution to the RSI problem, which I discovered in the 80's, is quite simple: change my keyboard and mouse setup regularly - simply don't use the same keyboard/mouse for longer than 6 months, maximum.

Adopting this policy has kept RSI problems at bay, at least in my case. I have 3 or 4 favourite keyboards and I just switch them around ... giving my hands a chance to re-train on different weights/resistances of keys, etc.
This is critical and underappreciated.

Numerous small design choices early on can have drastic impacts on the complexity of the mold and how expensive it will be.

A simple example: designing your side I/o ports to be on the parting line, or move the parting line up through the hole centers. Didn't think of this? Now you need a slide.

Deciding the surface finish you want also impacts hard it will be. You can hide a lot of flow problems and tooling marks with a nice rough textured finish.

Some colors show cooling and flow worse than others. Clever gate placement hidden under something hidden in assembly makes cooling simpler. Etc, etc

Well worth the money spent on a guru to look at your design and provide feedback. (I am not one, I've just hit every wall)
Switched from a T420s to a T480s and now I really don't know what's next because I definitely lost any trust in Lenovo
It's the same for t4g.

> T4g instances start in unlimited mode by default, giving users the ability to sustain high CPU performance over any desired time frame while keeping cost as low as possible. For most general purpose workloads, T4g instances in unlimited mode provide ample performance without any additional charges. If the average CPU utilization of a T4g instance is lower than the baseline over a 24-hour period, the hourly instance price automatically covers all interim spikes in usage. In the cases when a T4g instance needs to run at higher CPU utilization for a prolonged period, it can do so for a small additional charge of $0.04 per vCPU-hour. In standard mode, a T4g instance can burst until it uses up all of its earned credits. For more details on T4g credits, please see the EC2 documentation page.

https://aws.amazon.com/ec2/instance-types/t4/
It's damn weird. I get that most people just want a radio, but it's getting harder to just buy music, to keep.

Apple music is slowly erasing iTunes, the media management aspect of it seems to be slowly breaking down, currently all my album art is completely messed up on my iPhone.
More than a few of these look like what you will find in Rust by default

Nice to see some evolutive convergence in C programmers, too
High DPI screens give more options for exact integer scaling too, before putting shaders over the top.

The other often-forgotten issue is running 50Hz PAL games smoothly. This should be getting easier, with more screens able to run at 100Hz, but it's rare to see an emulator actually support this.

Would be nice if modern 4:3 panels were available, too (And not just for retro gaming, they were more practical than 16:9 for work PCs)
Pot metal where the alloy is carefully controlled has a long life. However it is often just recycle whatever melts into a pot without a care for quality and then you have no idea if the alloy will last.
Navigating embedded system security risks in the cloud
Semi-reliably beating the heart on A20 is no more required to beat the game than speed running a competitive time in Dark Souls is.

You can always impose artificial constraints to add more time sinks but that’s on you and your ego not the game.
I doubt it will make much difference, especially since iirc starlink already has direct conections to google's datacenters. Even if they can cut a few ms that is unlikely to overcome the advantages of Starlink over Kuiper
One thing that Chatgpt is good at is transferring color schemes. It would be trival to do.
The Chinese users also hate Temu (com.xunmeng.pinduoduo) but when price is right still choose to use it.

e.g. buying latest iPhones with 10% off, when genuine ensured.
Hopefully CAMM can solve the problem of RAM (replaces SODIMM)
Are there any technical devices that can promise that?
Great project and well done. OpenAI ChatGPT is rolling out native support for this: https://openai.com/blog/chatgpt-can-now-see-hear-and-speak
Better example:

#define FLAG_63 (1ULL << 63)
long long flags = FLAG_63;

In this case,

if (flags & FLAG_63) pass();

will pass, but

typedef int BOOL;
BOOL set = flags & FLAG_63;
if (set) pass();

won't pass, due to truncation.

Question: Would you argue that a datatype that holds the smallest (1-bit) datum should be as wide as the largest integer type just to handle such cases?

If so, that would be highly inefficient for storage purposes. Note that Win32 has 32-bit BOOL type, but internally NT uses 8-bit BOOLEAN type to store bools in structures.
Imagine the difference between say a sit-com and a movie with the sound off. The movie will have range and intentionality to the scenes. Light, dark, vibrant, dull, perciptible and intentional changes from one to another to match the story. The sitcom is just clear and bright. The camera phone on auto is just going to aim for sitcom all the time wheras this app allows you to be intentional in order to look cool and tell a story.
This is super important. We're always running in circles here in Germany because the dialog always ends up at: Why should we invest so much in green energy, if China outputs x times more than us. Now countries and companies have even more pressure to cut their emissions. Good job EU!
in your industry it's important to have read a pop-econ book that has been proven to misrepresent facts and figures in favour of the authors ideological bent?

What industry could that possibly be? it certainly isn't economics related.
Show HN: I made a all-in-one web app to help me with my freelance admin tasks
Short answer is 3 degrees draft is pretty safe most of the time, assuming you have some texturing. A shallower texture means you can get away with a bit less draft and vice versa.

The reason is that you want the tool to release the piece and not get bound up. Shape and cooling also factor in, but for simple box type shapes with no large cutouts, this is usually predictable.
I'm currently on a C++ (mostly C with C++ compiler) trip. It does make some things easier and some things harder. It makes it easier to work with C++ developers :-). I sometimes use the more involved C++ features but often regret it after because of complications.

But one thing that makes it worth it is the removal of the struct tag space. I have a strong dislike for the struct tag boilerplate in C, but the alternative -- typedef boilerplate -- in C is unbearable to the point that I have a macro to define structs in C that does this automatically.

#define STRUCT(name) typedef struct name name; struct name

STRUCT(Foo) {
int x;
int y;
};

But macros often come with disadvantages. In this case it's that many IDEs have trouble finding the struct definitions from a usage site.
Maybe it'll need a slightly upgraded broadcom soc like they did with the 8gb model of the Pi 4, or as a Pi 5+ variant
> Core to this is that the US constitution explicitly enshrines federalism in the tenth amendment (the last part of the "bill of rights"), that explicitly limits the power of the federal government.

I think this is the part that non-Americans fail to understand; we have no central tax authority and that principle is enshrined in our Constitution. Like it or not, so long as the US exists in its current form, so too does our wildly disparate tax code.
> More than anything it's about color correction and color grading.

to my (literal) perception, using a framerate of 24 frames per second is an even more significant requirement to get the "cinematic Hollywood look".
> The app and website are an assault on the senses

The website is just like anything else, with cheaper aesthetics. I don't understand the use of loaded language here (addictive / controversial). Is it just because it's chinese? Ebay sells the same stuff
There is a well known bug in the German TTS adding the Word „Homograph“ before and after each number for about a half year right now. It’s a shame for everyone who depends on that technology.
Interesting that it was written in LibreOffice.
Playing on an original Asteroids cabinet with vector monitor these days is an interesting experience. I was surprised by the brightness/dynamic range, it seemed way beyond what you get from an LCD. Its like it's got an bloom effect on the brightly-glowing bullets.
Not a laptop, but as evidence this sort of thing is sometimes possible, you used to be able to use iMacs as external monitors.
Know Feature Flags
I still have my Sony MZ-R30 and a case full of Minidiscs. In the 90s I used to DJ from minidiscs. I had two Sony MDS-DRE1 (DJ MD players [1]) and looking back I think it was really more than a gimmick since they were really impractical to carry around.

[1] https://www.minidisc.wiki/equipment/sony/pro/mds-dre1
> In construction, you hire a general contractor. Why is there no manufacturing equivalent of a general contractor?

There are design companies who do exactly this. You can go to them with a very generic problem like “design our fall shoe collection” or a very specific one “this bearing in this gizmo is too noisy, find a better one”. They can cost an arm and a leg but they get the job done.
Oh that's really nice, there are certain apps where this is very useful and I would prefer it but definitely it's off for me globally.
Couldn't submit the original source since the link is the same as for the 7.0 release and HN prevented the "duplicate" submission
We migrated to SQL. Our biggest learning? Don't use Prisma
Blackmagic isn't exactly a company that identifies with film grain...
If they can calculate it at the cash register, they can most certainly calculate it when putting up price tags.
No attempt at real answer, but some hints from watching youtube videos on the topic:

Lightning:

- Edge or back lightning, if dramatic

- Wraparaound (cradle) lighting, if for pleasantness

- Low key look for interiors (no white walls)

- Artificial light needs to be motivated as much as possible

Set design

- Add bankers light for any money related film, normal table light for anything else

Lens

- Anamorphics to avoid perspective distortion typical to spherical lenses, also for the "rich depth of field" effect

- Surprisingly the best lens technically don't give the most "pleasing" (at least in "hollywood" terms) image. They are even called "clinical" or too sharp. A lot of DP's like lens with a "character", altough some artifacts are regarded universally ugly (like the longitudinal chromatic aberration, which pukes green and cyan fringes around the image)

Camera

- High dynamic range camera, no clipping of highlights or blacks (add light, if necessary)

- Must be able to retain true image details, any digital sharpening in the source footage immediately puts things off

Color grading:

- Good tone mapping: should look "good" in black and white, mostly solved with lighting

- Pleasing color palette: color harmonies, gradients in good perceptual color space, like okmap. Mostly solved by set design, character and dress design

- Even saturation: previous point should cover "nice colors", but the saturation is one of the most overlooked aspects. It can be highly or sparingly saturated, but too much variation in a single frame quickly makes for a garbage image. Also, one has to fight most software color manipulation tools, which tends to brighten up highly saturated parts, where in reality, they should go darker

That's a whole package of things, for a camera control specifically, typical operator or AC wants:

- Manual focus pull

- Way to judge "exposure", measured in IRE

- Some way to approximate highlight to shadow exposure ratio; 2:1 for "happy" look, 4:1 for dark, 5:1 or more for Batman

- Highlight clipping warning (especially important on talent's skin)

- Shutter angle control (typically 180 or 90 degrees), instead of the shutter time used in photography
AFAIK they have warehouses in europe. The import duty is paid, which can be a real hassle with other chinese imports (e.g. you 'd have to go to a post office to pay the duties)
Videogames as a medium are entirely reliant on technology. There are many games which were let down by the shitty state of it.

Yes I can play them as teenagers used to back in the day: cheap tiny Panasonic CRT and terrible English voice acting. I'm sure for some people that gives them a warm fuzzy nostalgic feeling.

But there's a reason why remakes and remasters are popular.
The map you linked doesn't show it, but there are mountains to the North and East, which probably gave it a bit of protection. But yeah, the Romans only managed to hold on to it for 175 years, which is pretty short compared to the rest of the empire...
You can try bruno - https://github.com/usebruno/bruno.
This is length of a null-terminated string, e.g. lengthof("abc").
A 20% difference in cost ought to be enough of an incentive to make the consumer chose the nonprofit one especially since there shouldn't be any “bothering” involved.

Also, insurers would have incentives to mandate the $30 version since it means lower cost on their side and they don't even have to reflect that in insurance premiums (which they don't since they're competing with each other).
This document is written from the perspective that a documentation writer is a dedicated role. In 10 years as an engineer I’ve never met a technical writer. It’s not a role I’ve ever seen hired.

To address the question in a general sense, you need to address the case when the developers are the technical writers. How do you integrate documentation to your work flow? How do you justify the time spent to management? How do you make sure it’s useful to a customer?
How do you make a website for a color theme and don't show any screenshots or examples on the page? I don't get it. Not a bad theme tho.
Your preference doesn't help anyone. That's true. But coding styles may improve its reader's programming.
And that's why many people don't like the idea of a state file. Sure there are benefits, but there are also drawbacks. You now need another system to manage your state. You don't with ansible.
This is similar to my experiences, the really good ones still in the US have heavily specialized on high-end boutique orders. They can be very competent but also very non competitive for any normal work.

Same with with US based PCB shops. They all want to do high dollar ITAR restricted boards for govt contractors.

There is a middle ground. US sub shops that oversee captive Chinese operations with their own crew and keep you in the loop. This worked well for my personal projects and wasn't too horrendous. About 16k for a simple design that I could've had done with our work team for about 8k. But I never had to fly over, play WeChat tag in Mandarin, and I got PowerPoint DFM updates regularly.
> I remember one of keystrokes involved 5 keys: Fn+Ctrl+Option+Command+Up/Down.

What the actual fuck. This is ridiculous if you are blind and otherwise abled. Now imagine what it’s like if you have incomplete control over your fingers, or tremors, etc. At that point it’s simply impossible. Apple, with all those billions in the bank, maybe you could spend a few million getting these problems right.
Also have your screen at eye level, neck bent looking over for prolonged periods.. gives you a neck / elbow pain.
>I am consistently disappointed with the iPhone’s video quality.

Compared to what? An Arri? Bebause on its own, as far as smartphone video goes, it's quite fine. You can also trivially shoot a higher bitrate (not ProRes) in Filmic Pro and other apps.
It IS useful - for interviews. I have a whiteboard at home just for that. It's amazing how stressful it is to write code by hand without someone breathing down your neck.

Outside of that - life is short, and this is waste of it.
> Is it worth scaling app servers or is it better to use Postgres well and scale a managed PG offering?

That is a very good question indeed, it probably depends on whatever compute or the DB offering is cheaper to scale for you; from my very anecdotal experience using both, usually DB is much more expensive to scale up.

> What do you mean by “expand”?

Getting more data thru the pipes, getting closer to the limit of the network pipes.

That doesn't sound like a realistic scenario to me - pulling Y articles from X authors.

If you're not pulling directly from articles, and you're pulling from X authors, X>1, you most likely don't actually want the articles, more likely you want instead some stat of each article like article score, subject, tags or comment counts. Then I don't see neither the JOIN expansion or the JSON ser/de being a serious issue at all compared to the DB retrieval costs.
There’s many people complaining about their bank accounts or credit cards being hacked or charged after using Temu.

So Temu is just new lipstick on the same pig.
I wonder if these people watch Blade Runner on videocassette or if they opt for the blueray release.
It's so weird when all the blame is on apps like Temu and people still willingly buy the same shit with a 1000% markup on Amazon with less customer service than AliExpress. Or on eBay with even less service, a little less markup but often even worse shipping times than buying directly from china yourself.
Typically they're either using the same elements despite being branded differently, or there's a competitive factor in the design that's not superficially obvious to the consumer, or the market is so established that there's a repository of existing designs that can be slightly tweaked to create a new product affordably.

Let's say you want to sell plastic brooms. With such a common product, what possible competitive edge could you get by creating your own design from scratch? If your reason for getting in the business is that you want to address a niche or trend (e.g. you want to sell hot pink brooms because it's Barbie summer of 2023), that can be accomplished with an existing design. It only makes sense to create new molds for a broom if you're a corporation like Ikea with the massive sales volume that enables vertical integration of every aspect of the product.
Isn't "one stop" defined log-wise to be "twice as bright" perceptually?
I think it's the next step for package manager to bundle npm dependencies on installation and therefor optimize the import speed. With fast bundlers like esbuild, it's feasible.
I think there are new solutions—and associated challenges—coming in this space as well. For example, there's a rise now in AI assistance for writing documentation. I think a large percentage of the documentation that produces is likely to be horrible to read and unusable.

There's also things that work the other way. Rather than bloated AI docs you end up with frequently curated docs. For example, Runme is an OSS tool to make documentation interactive and runnable. In that scenario, your docs writer probably becomes an editor and UX eye on the documentation; the teams using the docs become the writers and updaters because they're executing out of them.
100k is a cheap pro camera such as a 50k will get you a Red 8k package but minus the frame and other gear to go with it. A Sony Venice 2 8K is 60k just for the main body. Lenses aren't cheap either.

Gyroscopic stabilization for iPhone is cheap and doable: DJI Osmo is <$100. 2 axis ones that run ~$200.

Real microphones with dead cat wind covers also improve indoor and outdoor interview dialog quality immensely. ~$100 item per person.

Most indoor lighting is shit for still or motion digital photography. Get real lighting and flood the scene. Lights are cheap, but take time and coordination to setup and tear-down.
Ardour 8.0
Original poster here. Yes this is also what I heard from people that did molds in Europe. Much much more expensive and takes 4 times as long.
Yes. It’s very rare to see the focus change during a movie or TV show. The main exception is when the focus switches between two people talking, when their positions are known in advance and dialled in so there isn’t any visible hunting
Decided to not read the website because of that.
Noticed this as well. Temu seems to have the lowest quality and just that of every product category pricing it about twice as other platforms.
> Lots of local government means taxes change over smaller distances in America than most of the world.

> cultural distrust of taxation and government

> a decreasing tendency to use cash

> higher income per capita

Really don't see how any of the points above are an obstacle to putting the ~actual~ price of a product on paper.

> Also, most retailers here use paper labels

Great! Makes it even easier to printout the actual price. 1) Retrieve base price from database 2) Add local tax 3) Add whatever other "hidden" cost is needed 4) Printout label.
I'm a non-film person as well, but I've been playing with this a bit. One key ingredient of the cinema look is the shutter speed. The iPhone standard camera app is constantly adjusting the shutter speed and the ISO depending on how much light the camera is getting.

Movie cameras work differently with a shutter speed fixed at 24 fps, except for some scenes with specific requirements (for example slow motion). The light is controlled using the ISO, the aperture, the lighting, and ND filters.

A nice trick people are using with smartphones to get the cinema look is to use an app like Blackmagic Camera, lock the shutter speed at 24 fps, and mount a variable ND filter on the smartphone to control how much light is received by the sensor, since we can't control with the aperture.
The "12.5% service charge" you see all over London would beg to differ.
Very little money goes to sellers. Sellers in China complain they are forced to lower prices or risk being kicked off the platform. The profit margins for sellers basically don’t exist while Temu aims for #1 shopping app spot.
Kind of the same it works on film cameras: you change the sensitivity of the emulsion on them, you change the sensitivity of the sensor by raising the gain on the others.

Or think of it like changing the gain on an microphone pre-amp before going into a Analog-to-Digital convertor.
> Unless you are actively trying to set a speed record or win a race there is far less danger.

Well, that's also exactly what we are talking about here…

Also you're talking to someone who broke his own shoulder earlier this year while doing some very easy off-piste skiing earlier this year so I can absolutely assure you that danger is just a small mistake away even if you aren't doing insane stuff.
IMO the same could be said about voting. If someone states that they voted for (in this case with their wallet) for a worthwhile cause I wouldn't respond to it by reminding them about the insignificance of a single vote.