skysight-inc/HackerNews huggingface dataset:
That's cool I guess. Modules do have partial support in all the major compilers. I'm not sure what that venn diagram looks like.

If you wanna argue that modules are ready for primetime and businesses should start converting their codebases to use them then go for it. But it's a pretty obvious fact that almost no one is using modules outside of hobby projects. I don't think I've seen a single significant C++ based project linked on HackerNews that uses modules. I'm sure a few did and I didn't notice.

Header files in C++ are hugely problematic. It's why the module system was designed. That system is not ready to actually be used by the vast majority of C++ programmers on the vast majority of C++ projects. Even if you happen to be using it right now in your hobby projects or even your job.

I hope someday modules are ready and make my life better. It'll be a few years at bare minimum. I'm not fully convinced C++ modules will be standard convention 10 years from now. I think there's a real chance they wither and die on the vine. I hope not! But it's definitely a possibility.
No to what? I know what 1080p/1600p/1800p is. Here's a direct quote from the Macbook Air tech specs:

Retina display: 13.3-inch (diagonal) LED-backlit display with IPS technology; 2560-by-1600 native resolution

If 1600p on 13" is not Retina you need to argue this with Apple instead.
(White on black in Courier? Please.)

After a year of writing Rust for a client for a virtual world, some comments.

For this problem, the server is constantly feeding you UDP packets full of changes to the scene, and you're constantly fetching assets from other servers using HTTP. All this has to happen while updating the screen at 60FPS or so. It takes several CPUs and a GPU working hard to show a detailed 3D world properly.

* Safety is a big deal. I haven't had to go into a debugger in the last year. That's a huge win.

* There's a lot of concurrency involved, and being free of race conditions is a big help. Rust does not help with deadlock avoidance, though. That's the next frontier in concurrency - static deadlock avoidance analysis. There are people working on this for Rust, but it's a hard problem.

* Rust has a big problem with certain data structures. In particular, if you have a single ownership tree, you cannot get from a child to a parent. If you want to have backlinks, you have to reference count everything. The language needs something like "single owner with weak backlink, made safe at compile time". That's a hard problem. I keep ending up with refcounts forward and weak refcounts backwards. With refcounts, if you borrow something twice, you get a panic at run time. The compiler cannot catch those at compile time. So borrowing has to be very short term.

* Rust wants functional programs. If what you're doing fits into that model, everything goes smoothly. When there's a lot of state, it's harder. The state here is a whole 3D scene, so it's inherent in the task. In server side web stuff, most of the state is in the database, so the application programmer doesn't have to deal with maintaining its consistency.

* You can paint yourself into a corner with data structures. Figuring out where you need reference counts, where you need locks, and where you need interior mutability has to be right. And you can run into problems such as "that struct can't have the 'send' attribute because it has an element which, deep down, contains a reference count". Make a mistake and rework is difficult. Data structure design is a puzzle-solving problem.

* "Async" has most of the same locking restrictions as threads. It's not like Javascript, where you never explicitly lock. Unless you have some huge number of threads, async isn't much of a win. It's really for the use case of a server with a huge number of slow clients. You probably shouldn't be using Rust for that anyway. That's Go's ideal use case.

I have some arguments with the Rust designers. But really, it's a big advance over C++. It's not a panacea. As I keep saying, do your web server stuff in Go. Go has a more user friendly memory allocation model, a more user friendly threading model, and well-exercised libraries from Google for things web servers do. Rust is for the hard problems.
BetterDummy solves mouse stutter on external displays as well! (M1 air with 1080p monitor)

Does nobody at Apple use external monitors??
I was of this opinion until I caught COVID and tried to understand the rules for self isolation. I am quite an edge case in this regard. I found multiple pages saying the same thing with a different ambiguous wording. Some pages even explicitly contradicting each others. It's added a lot of stress to the whole self isolation + sickness situation.
Never thought I would see the time 4K isn't enough anymore!
> If 1600p on 13" is not Retina you need to argue this with Apple instead.

It's 226ppi display. Why would it not be a retina display?
I have a phone with a popup selfie camera so yeah. Probably the best unintended privacy feature in recent times.

Not sure about the back camera or more importantly the microphones though...
A pubnix is a public access *nix-system.
`nnoremap <space><space> :ls<cr>:b<space>`

Is crucial for my personal workflow and one of the only bindings i require.

I use it in conjunction with

`nnoremap - :Explore<cr>`
Which opens the best directory navigator in existence (actually dired should be named here)

This changes the game dramatically.

Read about :ls and :b
Seems like the problem is either on the authors end, or the specifics of how things were said in the meeting.

He outlines a situation where a life-critical project undergoes technical review.

The reviewers raise various reasonable concerns which reflect the sort of thing that gets raised when a company gets sued after a fatal incident (e.g. a car crash caused by an ECU error). Presumably this is done to document a reasonable excuse so that they have something to tell the court after the project staff have moved on.

With these excuses recorded, the project is approved, although the boss expresses concerns.

The author takes the process as personally insulting, "shaking with anger and reduced to tears".

I've had miserable situations where change stays in code review for weeks over disagreements on doce formatting. I've had design documents bounce of a board again and again because one board member wants his own team to have the first shot at the project and needs to hold me off until their spec is done. Those are miserable.

This just sounds like a company systematically covering it's ass and doing a thorough review to avoid killing people.

Concluding, I suspect the author has an ego problem, but he maybe implies that the objections raised were presented to him unpleasantly. Although I don't, for instance, see any personal insults in what he reports, so I lean towards ego issue.
You can say the same about FIAT currencies too, but compared to Crypto i am forced to use them and they can be changed from within, Bitcoin cant.

I find the hesitance towards bitcoin and crypto extremely puritan in ways that nothing else can live up to.

Bitcoin have had several booms and busts. Each time it crashed it found a new higher floor. This has been going on for more than 12 years now.
I love these videos, Jason is doing fantastic work with his YouTube channel and C++ Weekly series.
Just so we don't compare apples and oranges: The refactoring tooling in jetbrains products is unique. I haven't seen vscode or any other ide capable of reproducing this, at least not for dynamic languages.

I wouldn't use this as the basis of an argument for superiority of IDEs in general over vim.

And of course there are tradeoffs, rubymine users I worked with always complained about startup times and heavy indexing. (This was a few years back, maybe it's improved since)
> Actually, the gulf war DID happen (Baudrillard thinks that it didn't

You're going to have to explain this one with a quote from him.
Kyoto: Aliternative Way to Build Front End
> Assuming I don't care about ABI stability, what's the fastest calling convention?

I'd assume a modern optimizing compiler will, in situations where it's permitted, create completely novel calling conventions depending on the situation. Whole program optimization is one area you might see this.
This is a very broad hand wave; can you pinpoint any examples of Chinese influence creating authoritarian policies in Australia? And in Australian research in particular?
I'll grab the markdown folder from t2md and put it in my vault. I think that's it! On me to make any links required for the graph but I think I'll just keep it as a reference.
1280x720: 720p

1920x1080: 1080p

2560x1440: 1440p

2560x1600: ...

EDIT: if you're going to edit your comment once called out on talking nonsense, at least have the decency to note it.
Or: I've seen incompetent Node.js developers who couldn't tell which parts of their code would be client or server-side. I've seen people who didn't even care.
Eurostar tests facial recognition system on London train station
I’m working for a customer at the moment that has a rather intense review board. It’s “difficult” because it’s thorough and is supposed to be rather confronting in regards to design compromises or any oversights that might be discovered. But how you feel about that I think is a matter of perspective, I don’t think there’s any animosity involved. Personally I think every intense review session I have makes me better at my job. The most frustrating thing that can happen is when a significant controversy arises during the review session (which is pretty much what the author is describing in their), but this usually only results from a failure in stakeholder management (which seems to be the general lesson the author took from their experience).

Just don’t be apprehensive about failing in front of an audience, don’t excessively defend or justify mistakes, and then these types of processes become rather easy going.
If you are, as you say, "in the market for a guess" that would imply that you are actively looking at different guesses and comparing the credentials of the guessers. Then you would _probably_ be right to choose eg. the guess from the virologist over the proctologist or the mechanic when you need a guess on how the Covid situation will unfold. But the issue might be that an "educated guess" in itself could be worse because you wouldn't base any major decisions on a mechanic that present an "uneducated guess" that "the virus will die down in a month" but if you have a crackpot chiropractor presenting themselves as a "certified doctor with an expertise in everything concerning the body" that says the same thing, you might be worse off in saying that this "educated guess" is worth basing your travel plans on.
To be fair to the GDS team, I think it’s the policy itself rather than the presentation of it that’s confusing and self-contradictory in this case.
Agreed. The others here saying FAQs are useful should try gov.uk and understood why they shouldn't be needed. Using gov.uk you really get an idea a lot of research and testing has gone into the text phrasing and structure and the overall look and feel of the site. It's really excellent. I've since seen other countries' government websites copy many of its design aspects - the highest form of flattery. It's all organised by Government Digital Service, who produce "government as a platform" tools [1]. Once you realise that this group have managed to get various IT departments spread across the whole UK government to stick to a common set of tools and design rules, it's clearly an even greater achievement (see their "design system" [2]). All the more so given how large government IT projects normally turn out.

One more for good measure: the "design principles" page: [3].

[1] https://gds.blog.gov.uk/category/government-as-a-platform/

[2] https://design-system.service.gov.uk/

[3] https://www.gov.uk/guidance/government-design-principles
Show HN: A community to find co-founders and engineers
cough phenylephrine. Old, widely used, and most studies suggest that it’s essentially completely useless for its intended purpose.
Why don't I agree with this?

Well drafted FAQs are rarely "frequently asked" but they have become a conventional way of conveying extra information. We're all in the habit of checking FAQs if we need more info. Why re-invent the wheel?

A mix-and-match style can work well

Employed judiciously, FAQs can help promote clear drafting by moving points of complexity out of the main body of text. A post-script list of questions is more intuitive than a disconnected list of additional headers. For example, public facing docs need to work for readers with different levels of literacy. FAQs at the bottom of a document are a lightweight way to add additional nuance for those who want to dig a bit deeper.

What does user testing say?

Not clear from the UK.gov blog post. Gives the impression that this is just one person's position. It wouldn't be the first time that UK Government takes a belligerent approach ;) It would be more convincing if the argument was backed with research. Citing a dude on Twitter doesn't cut it.
Agreed, there are few/no options if you have decent eyesight and want high pixel density.
In general, I agree. However, as someone with an individual tax account, 2 business tax accounts and one general purpose account, far from perfect.
templates are definitely more powerful than Rust generics. And "enterprise" Rust code can easily become so infested with traits it's as unreadable as C++ template spaghetti. STL is a special level of unreadable. But "enterprise Rust" might be worse than "enterprise C++" at times.

I am curious, what are some actual things you have done with templates that you couldn't do with generics? I'm pretty firmly in the camp of "most of C++'s strengths over C are bad". So I'm struggling.

I'd maybe possibly say C++ templates are better for math? Which is true. Rust generics are not great for complex math. However eigen is nightmare monster that absolutely ruins my compile times so I'm not sure whether this counts as a win or loss for templates. Maybe a bit of both.

Rust is still duper bad at UI. Even if there are some imgui-like Rust libraries doing cool things. I've never seen a C++ GUI library that didn't suck horribly. But at least it was possible.
Not really, unless you both pile down on one another like logs and wait for an earthquake. Good sex with a person is quite a workout in comparison, maybe you should reevaluate your practices.
The "this is a huge waste of energy in scamming people" argument deployed against cryptocurrency is also valid for traditional spam, and most web advertising, it's just that it's not so visible any more. Google must have a datacenter worth of computers doing classification on email.
The water and oil planet
4K was only ever enough for 24" monitors, where you can use a clean 200% scaling.

If you've already moved on to 27" or higher, 4K was never enough!
This doesn't seem much different to Wikiwand at all?
Yeah I don’t see how that is supposed to be a benefit?

Why _shouldn’t_ people have to make actually-valid-html? We don’t tolerate “only sort of correct JSON” tightening the acceptable requirements for valid HTML and CSS would likely make using those formats in more places _easier_.
Miami jury rules in favor of Craig Wright, who claimed to invent Bitcoin
I think the backstory here is that at some point the government hired the team from theyworkforyou.com (and various other citizen/politics websites), who were clearly very smart and motivated. Wonder if anyone knows more details.
> I think Apple is trying to force the hand of monitor manufacturers towards 4k or higher. The entire external monitor industry is such a no-innovation, customer-hostile dumpster fire.

Please stop apologizing for Apple's customer-hostile behaviour here. A $2 trillion company should be able to make an external monitor not look like blurry trash when connected to their hardware.

The fact that it takes someone to make a third-party app to fix what Apple can't speaks volumes to how much they care about/understand their customer base. Apple should have tested M1 hardware with hot garbage external monitors, realized the customer experience sucked, and fixed it.
CTAD also allows you to write

std::unique_ptr foo = std::make_unique<Foo>();
it's ok, people can swear on the interwebs
Google Product Reviews Update Is Lit
That's not how markets work. Maybe on short term. If the demand for green energy is increasing due to Bitcoin, the production will also increase because it will drive profits of green energy producers.
As someone who has been trying to keep himself alive, it's definitely a battle.
As Dirty Harry would say "Go ahead. Make my day"

Cutting countries out of SWIFT would be the quickest way to kill SWIFT and/or the USD as a currency reserve. There are now quite a few alternatives to SWIFT available, and SWIFT would dissolve in no time flat.
I find the individual tax return very simple. Compare it to the misery they have in the US.
It wasn't enough to start with for large monitors. High pixel density is important for text readability. A 30" screen at typical monitor distance has very few pixels per arcsecond.
I've had a couple over the past decade or so.

If you look past the old IBM PS/2 keyboards, in recent history i've owned:

- Das Keyboard 4 Professional (https://www.daskeyboard.com/daskeyboard-4-professional/), which was a nice "starter keyboard". I've heard quality has gone downhill since, but mine performed well. I eventually came to dislike the form factor of it because it was causing my wrists to hurt after prolonged use.

- Ducky One 2 (https://www.duckychannel.com.tw/en/One-2-Phantom-Black), this one came highly recommended. I purchased one with MX Brown switches for use at work. It took about 3 days for my colleagues to complain about the noise. It is very comfortable to use, but God it's loud. It now lives at my work-from-home desk.

- Logitech G613 (https://www.logitechg.com/en-au/products/gaming-keyboards/g6...), this one has Romer switches, and is actually quite nice to use. Not too loud and nice tactile feedback. It's rather large, and with COVID and work from home, i needed more "desk space", so it's sitting in my closet at the moment.

- Keychron K8 (https://www.keychron.com/products/keychron-k8-tenkeyless-wir...), this is probably the best mechanical keyboard i have. It's still rather new, and by using it i think i can feel that i'm going to have a problem with keys binding at some point, it has that little resistant "pop up", but for now it's great.

As for typing speed, the Ducky or Keychron are the fastest with the least errors. That is of course a very personal measurement, and your typing speed might be better or worse with different keyboards.

Do they boost my productivity ? Depends how you define it. I make fewer typos on my mechanical keyboards, and experience less "inger fatigue", but i probably wouldn't chalk it up to a significant percentage when it comes to productivity. It's more of a personal preference.
More anecdotes. My previous Macbook (2014 model? maybe 2016?) had a screen delamination issue; didn't get to the visible area of the screen, but I stopped using it because I got a new one from work at that point.

Current one had an issue with one speaker not working properly, that (and the whole top <_<) was replaced under extended warranty. More recently, the screen has borked, faulty ribbon connector I think, but that's another very expensive and fiddly fix, I probably won't bother since I work on an external screen all the time anyway.
Doesn't a manual also show you've thought about what your users should know, but not about your users?
I'm guessing the use the 32" 6K XDR...
> you'd think an announcement from the health minister of G8 country would make more headlines.

The people that pay for the headlines are not interested in this news.
A man made denser atmosphere after terraforming would presumably loose more due to higher pressure.
You’re reading something wrong. Mine is idling at 500Mb here with one YAML file open.
what the FSF hopes for is that if there is enough GPL-type licensed critical software which self-perpetuates free software then free software will become by far the most dominant paradigm. in this sense it is really not hard to see why the license change in the rust rewrite of GNU coreutils is going to become the most dominant issue for FSF. screaming about technical merrits makes no sense

>Continuation has nothing todo with the license but with interest of developers see -> Hurd

i think developer interest has far more to do with technical viablity of a project than license choice. besides, as in all software some projects fail, some succeed, and some are just beginning
Even if we assume for a minute that this information isn't being faked (which it very often probably is - see other thread) I think there are nuances there.

Looking at something and actually buying it are different. If we really wanted to help the customer decide we might want to also show the number of customers that returned the item. Or wait: allow reviews of them ;)

Would it help anyone to see that "200 people are reading xwolfi's comment"? Not really. That's just because there are not many comments yet and says nothing about the quality of it. It's much better to rank comments by votes and let that affect sort order. "200 people found xwolfi's comment so insightful they clicked the vote link" is a much better indicator of quality.
Yes, it's exactly the static vs dynamic trade off, but with one of the best static programming language design.

C++ is probably at the other end of the spectrum since it's too easy to accidentally cause a memory error during refactoring. C# and Java are a bit in-between, the automatic memory management limits the footgun, but the type system is much less powerful than Rust's one so there still a lot of issues that can come during a refactoring. I have only very limited OCaml experience and no Haskell experience but I think you'd have most of Rust advantages with those, except the thread-safety part which is my favourite part of Rust but is also situational.
I got motion sickness when I was playing a zero G frisbee game when you were flying around. I did not get motion sickness playing ping pong. In fact, playing ping pong in VR feels as real to me as playing ping pong IRL. I am not a professional ping pong player though, because I'm sure they'd feel the difference! ;-)

As for using Immersed and using multiple screens in the app: no, no motion sickness at all either.
It all depends on how close you sit to the screen. What matters is pixel density, and that’s a function of both the resolution and how close you’re sitting.

So if you have a 4k TV and a 4k monitor, there’s actually quite a difference. If your monitor is bigger than 24” you’re getting way worse pixel density and visible pixels at the distance you’re sitting.

On TVs it’s typically never a problem because you’re sitting far enough away.
I remember my Macbook screen getting damaged from the keyboard. Was a 2013 model.

Their charging block also give up after a few years. The harness of the cable have failed on most of my magsafes.

I also remember my phonecalls kept disconnecting because I held my iPhone the wrong way so it blocked the reception.

Saying Apple doesn't have design flaws is quite ignorant.
Finally a reason to take Viagra without the taboo.