skysight-inc/HackerNews huggingface dataset:
Interesting. As a counterpoint, I was in Norway a month ago on business and as a tourist. Did the Norway in a nutshell thing from Bergen to Oslo with time in Bergen, Flam, and Oslo. I used the Bergen and Oslo day passes for unlimited public transport in those cities. The later was especially handy, as it generates QR codes for both public transport and entry to most museums. My travel passes were handled via barcode docs on my phone. My tickets to a concert in Oslo was via an app on my phone. Route planning for site-seeing (which bus, tram, ferry, or rail) was via an app on my phone.

I paid for restaurants using credit cards directly to payment terminals.

I found the whole experience very easy and enjoyed how much I could handle on my phone.
You’re right, that was their objective and I was harsh. And to your point about the super-app, that’s exactly what we’re hearing from venues. They want a one-stop shop that will take care of all aspects of the customer experience.
Pictures of this old, clunky circuit board bring up fond memories.
The main thrust of the article is that the machine has no direct peers because the job it was designed for was unique, and restates this several times all through it. Any comparisons to any other aircraft are by definition automatically contrasts with other things that are different.

The later upgrades which are worth mentioning, were mentioned, several times.
Fans of the Tomcat might be interested in F-14 RIO Ward Carroll's YouTube channel.

Here's an episode covering Iran's usage of the F-14 against Iraq: https://www.youtube.com/watch?v=L3HYrasBB4k
I doubt it hurt performance, self-modifying code must play havoc on all the modern CPU caches, branch prediction, instruction decoding etc… A jit makes it worthwhile by doing it for hot paths for which the payoff outweighs this cost (or attempts to).
Ahhh very interesting! I had no idea
I didn’t say or use the word honour even once. I simply said that everyone plays a part in creating a nice society.
Pictures to words so your brain skips the intermediary of your native language is a nice concept. Is there any peer-reviewed evidence that supports this author's claim?
Since multiple chart libraries are on HN's first page right now, thought I'd ask a question. Working on a project that requires a very specific chart type, which almost no chart frameworks provide. Anyone know of a library that offers:

- VERTICAL 100% stacked area chart

- Images can be used as background for each series

- Dynamic - mouseover displays information when hovering over a slice of the chart

The only thing I can find is this [1] but it seems to lack key features. Currently I've resorted to building a custom chart in SVG with js but it's pretty rough.

[1] https://docs.anychart.com/Basic_Charts/Stacked/Value/Vertica...
That’s a poor analogy. He wasn’t married to multiple women at the same time. And one can have multiple relationships simultaneously without getting married five times.

I think the parent’s reply is more likely.
“Fifth column” paranoia is a hallmark of authoritarian leadership.
I live in San Francisco and people don’t even say “excuse me” when passing closely by each other, let alone initiate small talk. It’s lame.
This is the worst feature I have seen in a car. Or are there any that are worse?
If you churn out new code and features, your test suite will be of very little help if any.

If you're also the one responsible for writing tests, you can easily churn out even more unmaintainable crap.

In my experience it's not enough to just have them do TDD, because writing a good test suite is hard.
I’m sure there’s a car company that plans to use Touchscreen as advertising space. Maybe it’s recommendations on your map, or a small banner ad.

A great opportunity to serve Ads to a captive audience
The decision was mainly a cost reduction measure, driven by the failure of the A-12 program and a need to free up funds to fight the GWOT while continuing JSF development. The earlier F-14 problems had largely been resolved in the F-14D model and there was a clear, low-risk development path to the "Super Tomcat 21" model with greatly improved capabilities in every area. The F/A-18E/F Super Hornets which replaced the Tomcat, while cheaper and more reliable, lack the speed and range that would be needed to fight a future Pacific Theater war against China.

https://www.thedrive.com/the-war-zone/29653/this-is-what-gru...

https://youtu.be/CpXyYgL4jPI

I think the Navy is now regretting their decision, but it's too late to go back.
You can install a rollcage so that is not tHe case, but not in all cars, and they have their own issues. Generally when you have a cage, you also want a 4 5 or 6 point restraint, making it impractical for a daily driver. Nevermind that you now need new seats, and the seats mean you need a detachable steering wheel to get into, and there goes your airbag.
It draws more than 253 tho.
But surely if everyone is doing absurd things to avoid death, like quarantining & wiping down their mail & groceries. Surely they’d have used better respirators.
Good point. I think that cities above 100k are pretty decent in that regard.
being able to talk to strangers in a way that is comfortable and interesting is a form of smartness in itself that should be self evident.

The prescribed meaning of 'smart' is often so narrow as to be quite dumb
The author later states that std as a module isn't implemented in standard C++20 (though hopefully will be in C++23) and provides ways to work around that somewhere in the back of the book. It's somewhere in the appendix.

There are also experimental flags to enable (some parts of) this behaviour on the most recent compilers, apparently. (i.e. https://learn.microsoft.com/en-us/cpp/cpp/modules-cpp?view=m...)

Clang doesn't seem to support modules well and g++ is rapidly falling behind the other compilers. It'll be a few years before this code will compile on any system of your choosing. I'm confident Microsoft can release a compiler that will compile all the code mentioned once C++23 gets standardised, though.

Kind of weird to write a book using a language standard that's not even out yet, especially in a language where the freely available compilers lack a significant portion of the standard, but as one of the language's designers I can see why he's getting ahead of himself.

It's probably better to have this book available already once C++23 does finally land than to have to wait for standardisation before writing a book using it, but I think the book shouldn't have relied on unreleased standards or custom setups like it does until the new standard is out. Yes, you can get a std module of your own and yes the performance improvements are significant, but with open toolsets lagging behind I don't think it's smart to merely mention the downsides in a side note and the appendix.
Omitting return is allowed in main.
I would not take any of it so seriously. This is really common across multiple companies. I'm work in a Data Science org and get so much crap like this.

I think there is some CRM that automatically sends these emails to all the email addresses in their system. Your email address is easy to figure out since every company has something like first.lastname@company.com, finitiallastname@company.com etc. You can use LinkedIn to find people with a particular job title and then spam them.

The most comical set of emails I received was from a company that used an ever escalating set of words and images (e.g. a sad puppy) to try and make me feel guilty and respond. I found the sad puppy one so amusing I almost replied just to say the email made me chuckle.

Click the SPAM button and send it to your Junk Folder. Eventually the CRM system will realize you are never going to respond.

Occasional a sales person will contact me on LinkedIn or tries more personal ways to reach them, I just say that I'm not in a position to make any evaluation or purchasing decisions and I don't know anybody who does. That usually stops everything quickly.
The point is the code they cited is relying on a C++ 23 feature (standard modules) which isn't yet ratified (hence the name C++ 23) and nobody yet completely implements.

If you had standard modules, then the import line at the top of that code does get you all of std, including std::cout and thus the I/O streams.

This example is still silly if you do have C++ 23 though because I/O streams are (say it quietly) basically obsolete in C++ 23 since it has a proper imperative print format feature like any modern language - with decent performance and all the format behaviour you're used to from other modern languages.

I expect that, when C++ 23 becomes a thing lots of people actually use, the canonical "Hello, world" example for it will use std::println()
"a 2019 study found that magnetic fields do affect human alpha brain waves, but it is not known whether this results in any change in behaviour"

Magnetoreception - Wikipedia https://en.m.wikipedia.org/wiki/Magnetoreception
1. Turing Award

https://en.wikipedia.org/wiki/Turing_Award
Russia began alleged NATO fighting well after it annexed Crimea and invaded Donbas.
Is Highcharts that much better than Apache eCharts? EC keeps getting larger, so you need to do custom builds and don't init the charts until they reach the viewport, but there are so many options.
C++ standard 3.6.2[5] since like forever...

A return statement in main has the effect of leaving the main function (destroying any objects with automatic storage duration) and calling std::exit with the return value as the argument. If control reaches the end of main without encountering a return statement, the effect is that of executing

return 0;
Well for dynamic languages like JavaScript, JIT is the only reasonable option.

You can AOT compile them, but the code cannot ever be optiomal without any kind of PGO feedback loop, thus a JIT ends up being a much better option.

Unless they support optional types, like in the Lisp based languages.

So something like Typescript could eventually have a good AOT story, and this is what Microsoft does on their MakeCode project, compiling a Typescript subset via C++ code generation.
> OTOH, Russia allege that they are not fighting Ukraine, backed by NATO weapons, but NATO, fronted by Ukrainian troops.

Listen to what you're saying. Russia don't need to fight anyone. Just stop. Withdraw back to within Russia's border. End of story. They wouldn't have to fight Ukraine, let alone NATO.

They are the one who invade Ukraine, do they expect Ukraine not to fight back, and other countries not to support Ukraine? Russia sound a lot like a bully.
>How about don't play stupid whataboutist games in which somehow US crimes justify Russian ones?

It's not whataboutism, its pointing out the absurdity that we're heading towards a nuclear showdown over the very same acts the U.S. regularly engages in, even within recent memory. It's pointing out that the moral arguments only apply when the aggressors are not the U.S. This is not whataboutism, this is pointing out hypocrisy and naked manipulation.
Heck, something like Witcher 1 is relatively easy to pull off in UE5.
XCom did it in UE3.5.

Witcher 3 being a third person game with no fast movement is also very doable. There's a plenty of adventure games made in UE using stteaming mechanics.

The moment you as cars or planes it gets much trickier. There's no example of UE5 flight sim I know of, for instance...

We had janky vehicles in UE way back when in the old Unreal Tournament 2003 - but that did not involve streaming levels.
5 years later they still don't sell by the seat.

This is really friendly for SMBs and basecamp as a software is really nice for SMBs in general. Some features might not be perfect but in general it's pretty good. One of my first recommendations when people look for project/team management tools.
Not really because nVidia already had previous designs as a starting point. They seem to be getting mostly bigger (more replication), and the most important thing to consider when growing like that is power distribution.
I was at a restaurant in LA that had a tablet-like gizmo on the tables. You could order through it, call the waiter, and pay at the end. It wasn't presented as for keeping us safe, though.

The fun fact was that the waiter actually gave us paper menus when sitting us, without even asking, though they also introduced the gizmo.

I actually found that quite nice, since they had a wide selection of beers and there was a beer-selection app that would go in the details of each beer and allowed us to easily choose the kind we wanted.
As ALWAYS with these articles, author DIDN'T learn how to code in one year, can we stop posting these clickbaity articles or straight up ban them?

> I’m not really starting from scratch, as I have always been interested in this, so I knew a few basics (like the different type of variables), but that’s the first time I’m taking a “formal” class.

> I’m pretty ok with HTML/CSS (not really coding tho) and have some decent basis in GDSCRIPT (very similar to Python but only used to make video games). Other than that, I never really followed any structured course.

No, just because you didn't have any structured course doesn't mean you didn't learn before.
I agree but I feel this has been rectified over and over, as I'm hearing the argument for years both online and on conventional media.

By now it only feels to me as a cheap way to hijack the discussion and derail it further from the fact that we have to debate why billionaires exist and not how liquid they are.

In the end the anti-billionaire/anti-system sentiment exists for valid reasons and it doesn't need to be educated to show us that there is an ever growing discontent with the way things work.
On Linux/Unix you will get in a (somewhat) random exit value, so if you run the program from a "set -e" script it will randomly fail. I guess that didn't bother whoever "allowed" that, but I consider it a bug.
Curious if this will result in lawsuits. Might crossing over into someones property without a warrant get into peeping-tom laws? Quite a few mid-range drones have FLIR cameras, pretty nice ones in fact. I am also curious if this could result in a new industry of devices that detect and take over drones when entering into a geofenced area of someones property.
A corporation is not a democracy. Most CEOs are are unitary authoritarian leaders within their own companies.
“as the infrastructure is paid for exclusively by ads and those can be targeted fairly well, engagement is far more important than platform reputation”

This is the key problem for sure, but it applies to all content providers from the largest publishers to tiny “publishers” like you and I when we post a comment on a site that is ad-supported. To take away people’s freedom of expression due to the revenue model is arbitrary and inconsistent with a free, advanced society.

You suggest that there should be gatekeepers to verify the reputation and veracity of content and the individual posting the content, but these gatekeepers are themselves biased and unable to know the “truth” in most situations as there is a debate about what is the truth. Stifling debate through this filter is detrimental to discourse and results in group-think and a general lack of creative thought. It is generally unscientific and authoritarian, which history (very recent history at that) has proven quite clearly.
https://archive.ph/YywG3
I have been continuously living in the EU or the UK for ~20 years. I have never had a credit card.

My first experience was with a bog standard Visa debit card at a French bank 10 years ago (card not present; someone apparently used my card at an ATM in Singapore to withdraw €1200 total; the bank notified me and refunded the first €500 withdrawal that went through).

My second experience was at a British bank just before Brexit (standard Visa debit card as well). I had lost my card without realising it. I called my bank when I found out and they went through the recent history to check every transaction. It turned out someone bought something with the card (can’t remember whether it was online or contactless; a small sum regardless) and that was refunded.

The regulations are very consumer friendly, even for debit cards, which everybody uses. And while they do indeed change with time, so far it has been in the direction of better consumers protections.

I don’t claim that Europe is better or anything like that, just that “the consumer is liable for frauds with their card” is wrong. IIRC, their liability is €50 maximum (and €0 in some countries) for transactions that happened before the bank was notified, and €0 after. Beyond that, the onus is on the bank to demonstrate negligence or fraud on the consumer’s part. In that case of course the consumers is liable and gets a fine at the very least.
> I don't want touch screens in cars period

While I agree things like volume, glovebox release, and other standard functions should stay far away from a touchscreen, I do like that touchscreens have enabled highly customizable options/settings that would be a bit tougher to achieve without a touchscreen.

Or at the very least a digital screen with manual navigation buttons, but in this case, a touchscreen is a bit more convenient (and you usually have to have the car parked to change settings, anyway).
> Having left the C/C++ professional programming world several years back to wallow in other pastures.

As someone who wants to follow the same trajectory, how did you do it? And how did you dissociate professionally from being seen as the C++/systems guy?
It seems pretty exaggerated, but within the bounds of possibility.
I'm a little split on this one. I'm at Disneyland reading this, and (for some places) they do a decent job of it, having a QR code on the outside so you can look at the menu while you queue or wait for your reservation (sometimes even pre-order, I think... I didn't mess with that bit). This was great, it was something to do to kill the time.

Inside of the restaurant though, I get my snob on and hate phones at the table. Once the phones come out, the dining experience tends to die quite a bit. You're taking pictures of your food instead of enjoying it, you're interacting with your phone and social media instead of each other. It's horrible. QR codes just facilitate that transition.
Just, uh... don't have a custom cross-platform scrollarea? This is a feature the browser provides already.

Your page is perfectly usable by just removing `overflow: hidden scroll;` of div.data-radix-scroll-area-viewport`, and `overflow: hidden;` from .s24.

So you'll probably achieve intended behavior of having a scroll area that works on all browsers by just not using any custom scroll area plugin, but a plain <div> instead.
An Apple II Tale
The environment being so carefully controlled to be the same is kinda one example. I don't think it's as identical as they are claiming — behavioral science is littered with these claims that are later shown to be false — but showing X percent of variance associated with the individual in the absence of environmental variation is not the same as showing X percent in the presence of significant variation. Let's say you tried to change some of the fish, for example.

It's an interesting paper but full of big-picture issues.
I loved the understated humour of:

"Some social scientists believe teaching kids that literally
everyone in the world they hadn't met is dangerous may have been
actively harmful."

Harms take many guises. Mutual distrust drives people to mediate and
avoid others through technology as a psychological shield.

That breeds bad technology which divides and dehumanises, and feeds the
loop.

Here on HN some people have argued for using cashless and automatic
systems, not because they are "more efficient" but as a way to avoid
smalltalk with a cashier or waiter. Having a map/GPS smartphone is
handy, but it stops casual interaction for directions or local advice.
While it is not something common, it just happens.

In Australia the food culture is you can customize almost anything on the menu and customers expect to be able to pretty much choose whatever combination they want as long as you have the ingredient and they can pay for it.

In France, a menu may not contain something you can eat, but some restaurants will create a full dish for you on the spot. It's very common restaurants with a Michelin star for example: as a veggie and foodie, I get regularly this treatment since french cuisine is very centered on meat. Some restaurants have the menu changing every day (I ate in one this week) depending of the farmer's market. The waiter just let you what's available. I know of at least one restaurant with no menu: you express a theme, and the chief will try to invent something matching it.

In Thailand, there was a restaurant were I used to go that had a regular menu for tourists with high margin meals, and a secret menu for regular customers that was actually good.

In Mali and Argentina, some restaurant menus are fake. You can't order most items, while there are items that you can get pretty much everywhere (riz au gras, pollo a la milanesca) even if it's not in there.

Now, it's tempting to decide that one path is optimum and shape society to only provide it. However, you kill diversity, margin of security, innovation, charm, and so on.

Don't get me wrong. Making the happy path the easiest and proffered way is OK. Offering a digital menu and payment system as a main option is great.

But making alternatives close to impossible is, at best, a good way to end up with with a bland life, and at worse, will create a dangerously inflexible and intolerant system.

It's why we should keep cash, paper forms and phone support despite the automated main experience been more efficient when all goes well.
I’m sick of it too. I think, like masking, people will eventually get bored of the performative compassion, or at least they’ll stop getting so many social upvotes for it, and move on to something else.
And buy biggest dodge RAM pickup.. (I joke but around here it is every other vehicle... I weep for the children).
> I wonder why that fell apart. Did USA decide that would detract from US power, and 'encouraged' everyone to shun Russia? If that's the case, who's really the bad guy?

Why would you wonder that, and not that Russia continue to have the ambition for a Russia Empire, with surrounding countries as their vassal states, and being part of Europe doesn't serve that goal?
I'll let you in on a little secret: you can order anything they can reasonably make without inconvenience. E.g. "Can I have a vegetarian version of this?" often yes, sometimes no, but you can ask.
I did say ten years, rather than more.
Weird custom.
Amusingly, the AIM-47 page says that the YF-12A was itself a lower-cost replacement for the XF-108 program.
Electricity is not 100% of the cost of "everything else". Nor are those part of my electricity bill.

If you want to make a point about where 1% efficiency matters, go ahead and make it! I might even agree! But it still won't have anything to do with systems programming languages.
> what is the motivation to pursue updates in 20 and 23?

For C++20:

* Ranges! With may range operations and views

* Expansion of ability of compile-time computation, including a lot of standard library code.

* Concepts - constrained templates

* 3-way comparisons with spaceship operator + automatic comparisons generation.

* You can write your own modules (Java-esque import rather than textual inclusion)

* Support (albeit ugly) for co-routines

* Spans: https://stackoverflow.com/q/45723819/1593077

* Parallelism primitives

* Asynchronous network operations in the standard library (Boost-ASIO-based IIANM)

* Can safely implement scope guards

For C++23:

* Standard library via modules

* Stack traces (e.g. in exceptions)

* Many range views/algroithms/adapters

* Expected: https://stackoverflow.com/q/68368581/1593077

* Monadic semantics for std::optional

* etc.

> Are there really new features promised that today's programmer simply can't live without

Well, people can live with a lot. Many people write C, after all... so you could ask that about any language undergoing long term development.