skysight-inc/HackerNews huggingface dataset:
Any widely used modern editor/IDE will have plugins to do the same thing.
> True. But i do not want to install multiple several gigabyte sized bloatware gui behemoths apps just to develop some software.

Contextual completion as offered by modern IDEs or language servers is vastly superior to Ctags, and you don't have to home-cook anything to get it working.
> Also available in vim and doesnt need any home-cook solution. There are decent plugins that work out of the box for that kind of stuff

That's what SSHFS is for. No need to limit yourself to whatever happens to be installed on the remote machine. You don't even have to copy config files around.
> or more easily: just edit remote files directly via scp/ssh. Vim can do that.
Please Review my Product and give me feedback
I have Launched Domain name registrar (https://www.famral.com)
Fewer than 1 in 1000, mostly elderly, on a planet of almost 8 billion.

Obviously not good, but it's not apocalyptic either. (Not bad enough to justify writing off 'freedom' as an awful selfish far-right concept that should be purged from society entirely?)
Theresa Kachindamoto terminated 850 child marriages while Senior Chief in Malawi
I think what the parent want to say is that these lights do not exist. The sentence is written in a way that makes it seem they do (i.e. it's all theoretical in nature).
Isn't it concerning if the BBC is tech-forward and is not on Mastodon?

And the situation is even worse for companies that are less tech-foward.
It’s not about pay back; it’s about helping those in need that once helped you. It also sets a great example for your kids to consider if the day comes when you are old and in need.
Zero memory errors, not zero vulnerabilities.

In high-quality C and C++ projects, about 70% of vulnerabilities are caused by memory errors. (https://alexgaynor.net/2020/may/27/science-on-memory-unsafet...)
Those are practically a joke. "Don't dereference a possibly invalid pointer". Thanks, Bjarne. That hadn't crossed my mind, but I can imagine why you would write that. The language simply can't stop it.

These, on the other hand: "Don't return a T&&", "Don't use a variable for two unrelated purposes" (in the context provided), "Don't define a (C-style) variadic function" and many others can be excluded from the language. Yes, you can forbid reusing loop variables. It's in your hands, Bjarne. Remove these constructions from C++.
Indeed it does, but that doesn't really apply to headphones since the cable is short and there's not a lot of EMF interference.

It does have one theoretical advantage - the maximum voltage from a battery powered device can be higher which might be useful for a very high impedance headphone if they're too quiet.
> With Rust one must first train brain to wrap around those ownership rules and this might not be easy.

You need to do that in c++ also, otherwise you'll still have the same problem - only randomly at runtime instead of at compile time.
Granian – a Rust HTTP server for Python applications
Not zero vulnerabilities, zero memory errors. Memory errors make a good share of vulnerabilities, but not all vulnerabilities are memory errors. And not all memory errors are vulnerabilities, sometimes it is just an inexploitable bug.

It is to be expected that there is no bug in the very thing that Rust is supposed to prevent. The same can be said of Java, JS or even PHP. What surprises me a little though is that there is zero memory error even in unsafe Rust. There has to be some unsafe code somewhere, for low level data structures and things like that.
Your first paragraph: This comment is such a shallow dismissal of a good post that brings up a genuine and legally complex question that many readers of HN care about.

My first thought when looking at this thread was: I wonder if someone will try to claim their robot is a man and that it has been created. What might that imply?
Let Dobbs be your guide. Politics is attrition warfare. It takes greater time and commitment than the players have brought to bear to reverse the entropy.
> You will never switch databases, so abstracting away the DB for some hypothetical "I might want to switch DBs one day!" scenario is absurd

One of the main reasons that Django has been so popular for so long is the idea of reusable "apps". Eg, Django Admin, which comes bundled with Django but there are also thousands of 3rd party ones that you can use to quickly put together very powerful sets of features out of polished, tested pieces. That whole ecosystem really only works because of the ORM, which means that apps mostly don't have to know/care what database might be used. (I assume some other frameworks have similar stories, but Django's what I'm most familiar with).

As far as scaling, I've developed and supported Django apps that have hundreds of thousands of users and serve thousands of requests per second. I would probably not even put the ORM in the top ten list of problems with achieving scale. I've occasionally found it generating slow queries and had to tweak or bypass it (both extremely easy to do) but honestly, those have been low hanging fruit when it comes to optimizing (and very easy to find thanks to reusable apps like `django-debug-toolbar`, which exists at least in part because of the ORM). Are ORMs unteneble once you're in the millions of users or tens of thousands of requests per second range? Maybe. But that's a very small part of the software landscape and for the vast, vast majority of the rest of us, a good ORM isn't going to be the problem.
Take a test yourself[1]. Connectors and most of cables probably don't matter, caps do, DACs do. The real problem with cultist audio is people don't close PDCA or OODA loops and resorts to occultic nonsense like gluing pebble stones on circuit breakers to "absorb bad energy", but scientific methodologies do work for what are measurable and actionable.

1: http://abx.digitalfeed.net/
Chuckled at the "How to quit wasavi" section.
They got their hands on ivermectin anyway. Sure, making it easier to try would have lead to more abuses.

However, in theory thats why people have GPs or PCPs, to oversee their treatment. Yes, they were overloaded (as they always are), but if people want to try a treatment, in general we shouldn't say no. We should enroll them in a trial, etc. And we should say no when we have enough data to be sure that it's very unlikely to work, and still, in general fighting scammers/fraudsters and various snakeoil salesfolk should be done through prosecution of those who knowingly make false statements, thereby intentionally defrauding vulnerable people, not through right to sell shit. (And yes, this is a very hairy topic, because everything is fucking expensive when it comes to medicine. But that's one more reason to streamline it instead of having a cottage industry is these trial runners hemorrhage money into a thousand pockets.)
‘Synthetic milk’ made without cows may be coming to supermarket shelves
Thanks, I will look into it.
There is now Paxlovid, but that's a relatively new drug. https://www.gov.uk/government/publications/regulatory-approv...

Lung clearance is something that's been taught to asthmatics and people with chronic pneumonia for a long time. I don't know about its effects on your absolute chances of survival but it could make you significantly less uncomfortable.
This _was_ easy the last time I created a new extension, as Firefox also supports the `chrome` namespace for extension APIs, but now that Chrome Web Store isn't accepting new Manifest V2 extensions, you'll at the very least have to have separate manifest files for MV2 and MV3 versions, and different implementations where relevant for MV2 and MV3 (depending on which features your extension needs - e.g. if your extension is really just a way to inject a content script into a page, you might just need separate manifest files).
Sure everyone is entitled to their vice, but should we provide healthcare to people that are consciously, actively destroying their own health? Should we treat lung cancer in smokers? Should we treat diseases in anti-vaccers?

Taxing vices makes them proportionally more expensive for the have-nots, without solving any issue. No one gives up smoking or drinking because they don't have the money for it.

I say don't forbid, don't tax, but let there be consequences. It must be very frustrating for medical personal to deal with anti-vaccers and heavy smokers. You buy sigarets? Just sign this waiver. Don't get vaccinated? Don't get a check in the system for future treatment.
Just build your own mp3 player/DAP then mate. You seem so proud of yourself, I'm sure you'd love it.

¯\_(ツ)_/¯
As already said this error rate for released code seems way too high. No idea what they're doing internally but they definitely doing something wrong. Probably sticking to old style with lots of explicit memory management.
>With Rust one must first train brain to wrap around those ownership rules and this might not be easy.

C++ users already understand ownership because C++ has ownership too. With C++ you have to me extra careful because the compiler won't save you from making mistakes like Rust will.
Type-check your internationalization translation keys
Reverse engineering a neural network's clever solution to binary addition
If by "off the charts" you mean about the same as the EU then sure. (Germany is particularly badly affected - which is interesting because the British press has been pointing to their higher levels of healthcare funding and larger number of hospital beds as proof our healthcare system has been catastrophically underfunded. Eurostat doesn't have the December figures, but Germany had a 23% excess mortality rate in October, the most recent month, when England was still at 10%. If it was the other way around the headlines here would be yelling about a catastrophic failure... It looks like other EU members experienced similar spikes earlier in 2022 too.)
Homerow: Vim-like keyboard-based navigation for the entire macOS user interface
"Regression testing" can also refer to a process: When the QA team says they're doing regression testing, it means they're testing that existing functionality hasn't regressed (as opposed to testing a new feature).

I'm not particularly wedded to any of these terms, I'm just pointing out that "regression testing" has an established meaning, and it isn't snapshot testing (outside of certain industries, at least). I do find it amusing that one implementation of snapshot testing (https://pypi.org/project/pytest-regtest/) links to https://en.wikipedia.org/wiki/Regression_testing but that article doesn't describe snapshot testing at all! Maybe the article changed? Oh well, language changes too. ¯\_(ツ)_/¯
Artists regularly take inspiration from closely studying other artists, producing works from them which is often similar or the same style

ML is only superficially using the same process. Behind the scenes the computer is not being 'inspired'; it's using the art from other people, along with metadata about it, as a data source to derive a new image using math. That isn't the same as seeing someone else's picture and using it for inspiration.
Germans also name the notes differently (C, D, E, F, G, A, H) which has unfortunately spread to some other countries too (like in Finland, which confuses me a lot because I've learnt so much music stuff online that uses the more logical naming).
My instinct would be to compare a representative neighbourhood's population to the number of intersections and extrapolate.
Is there a streaming service in existence that doesn't offer offline playback? It's probably requires a subscription, but a streaming service that can't be used in deadspots or tunnels is kinda useless, don't you think?
> While PyTorch is obviously the future in the short term

Well, that's not obvious for me. The metrics do not support the death of Keras / TF (https://twitter.com/fchollet/status/1614322127460782087)

François Chollet's Deep Learning with Python is arguably the best book on the topic and teaches people using Keras / TF2. The Keras documentation is excellent as well, and in the long run it will matter. Personally I prefer the way the Keras / TF2 APIs work to PyTorch as well.

Also, I am pretty sure a JAX backend is coming to Keras, and there is TF Lite...

I cannot make a prediction as to which stack will dominate in five years.
When I first heard of YouTube (video through Net???), I thought it would never take off... :)
> Not sure why he omitted Rust from the list, it is in the original document

He didn't remove Rust from the quote though. The NSA document[1] contains two lists of languages considered safe and for some reasons Rust is only included in one:

> Examples of memory safe language include C#, Go, Java®, Ruby™, Rust®, and Swift®.

> Some examples of memory safe languages are C#, Go, Java, Ruby™, and Swift®

[1] https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI...
I am not sure if the comparison is correct. Basically, they are looking at the Android code base and calculate 1 vulnerability / kLoc for C++. This doesn't tell us anything about the distribution over time. It could be that Google limited itself to certain C++ features in the beginning of Android and had or has a lot of vulnerabilities from this era, whereas newer code using smart pointers etc. doesn't suffer from this issues (as much).

It would be more interesting to compare only the code of C++ and Rust written in the same timeframe. My expectation is that C++ wouldn't look as bad as stated in the article.
> Does "blog post learning" ever really work?

You mean learning by writing a blog post, or learning by reading a blog post? In both cases, the answer is "yes".

> In other words, without having the necessary background at your fingertips it is hard to really grasp the core concepts. That is why, IMHO, reading these blog posts may feel good but will rarely make things really stick.

The problem these posts solve, at least for me, is that despite having the necessary background, some concepts didn't "click" in my mind when I first learned them. I found that if I then read a couple different posts on a specific concept, each with slightly different perspective or way of presenting it, one of them will eventually hit the "sweet spot" and make it "click" in context of all the background I already have (and often cascade into making me understand a few more things in the topical background).
My understanding, as a non-expert: the best place for both on-shore wind and solar power generation is in the West of the country (particularly in Xinjiang), but most of the power demand is in the East.

China is addressing this by building long-distance, ultra-high-voltage connections between the West and East of the country. This article (from 2017, but it gives you an idea of the problem) has a good map: https://www.economist.com/graphic-detail/2017/01/16/china-po....
Any improvements to C++'s safety are welcome, because there are huge and important existing C++ code bases.

Using C++ for a greenfield project today should require some very good justification though.
I meant ownership as implemented in Rust. I am perfectly fine with ownership models of C++ and some other languages.
First link in the description: https://alexcrist.github.io/autotone/
Other languages have already figured that out.

C++ currently still needs to figure out its executor's story, as so far it also needs to depend on third party implementations.

I can attest that C++/WinRT story is quite painful, unless one is really deep down into co-routines and how they might interact with various COM/WinRT process models.

See The Old New Thing blog about them.
That's a mistake.

People don't withdraw cash. They transfer it to another bank. When they transfer it to another bank the destination bank becomes a depositor in the source bank.

That's how correspondence banking works.

Central banking is nothing more than an optimisation of that process. There is no need for central bank money to do bank transfers. The liquidity automatically arises.
Since we're talking about storing waste near the reactor, I believe what's meant is one garage box per reactor.
The wired ones use the DAP for the processing. Special (usually only for the DAP in question) headphones/earbuds with microphonesnare needed. They are usually included though, so it's hardly an issue.
My guess is the reason is C++ is complicated.

When you have restrictive conventions, it is easier for a new dev to get onboard, as well as for creating static analysis tools.
Airpods/Earbuds (I use the galaxy buids pro) have filled that need for me. My uses are a little less extreme, granted, but I leave my phone in my bag and just use the buds. In practice the battery life is more than good enough for me to use every day, and it means I have less devices to manage.
The World Economic Forum is insulating policy-making from democracy
Especially since apparently Wasavi is not a firefox plugin anymore apparently.
There's no anchor to "Firefox add-on" on the page and the firefox plugin search
turns up nothing.

Firenvim works in both Chrome and Firefox and you can harness the power of
neovim, so that's a plus.
Typing this from a neovim instance in firefox
And we do them a disservice if we fail to examine what went wrong
It's also incorrect.

Central banks are an optimisation. They are not required.

Banks can transfer between themselves without any central bank in play. Central bank liquidity is not required.

That's how correspondence banking has worked for centuries.
RTS-wise it's just been Blizzard games otherwise; Starcraft and Warcraft III, the latter of which I did the most work with, mainly multiplayer optimizations and writing a server implementation.

However, I have been entertaining the idea of supporting other deterministic (RTS-) games, adapting them the same way --rearchitecting the multiplayer system/code-- as I have done for Age of Empires II, providing a unified platform for these games. The first candidate that came to mind was the Red Alert series.
No, a SIM enabled Apple watch sounds like an expensive solution to an already solved problem in this case. Apart from being virtually free the Android-based solution also stands out for being open versus the closed nature of the Apple watch. I use (other instances of) the same device as remote-controlled media player (a Defy running MPD connected to a car stereo in a large-ish wooden rectangular box with beefy speakers, a battery and several power hookups and charging ports (including 20W of solar panels to keep the thing going when there's light to be had)) or a trailer camera (a screen-less Defy in a custom wood+aluminium enclosure mounted in the front of my wife's horse trailer, the thing creates its own "cloud" through its Wifi adapter so she can see her nags on the road, it powers up and down based on the trailer hookup being powered with the battery as backup) and other similar contraptions.
That old calc design with red text on light gray is an absolute abomination and an insult to UI designers everywhere.
Lookarounds are a bit messy. It's easier to just pipe into a second grep.
The answer to why: Fatigue.

In depression, as in "depression rooms" it is generalised fatigue (I would say fatigue with life).

In executive functioning issues, as in "doom piles" it is something they say is akin to decision fatigue, but all the time.

The solution to both as I read it is "do a small part of it", which is essentially depression advice (baby steps, everything is an achievement).

---

I liked the insights but I must say it was a lot of text for a pretty simple set of things that were talked about. Perhaps the human angle (there were some experience bits more related to people) might please another reader.
I think people mostly refer to the debugging part while developing, not any other capabilities or API issues. So for example building a larger (monolithic) application entirely in python, where ML is only a part might be easier using pytorch.
> Personally, my time in my car is some of the only pure "me" time I have, and I would hazard a guess that it is the same for many others.

I totally get this, and I was in the same situation for many years (the young children period of my life).

However, imagine that instead of a 1hr commute, the commute was 30 minutes. Now your day has 1 hour "free" that you could choose to spend doing something for yourself. Maybe it's gym time, or maybe a music practice room in a building near your office, or yoga in the garden of the office rooftop.

As I say, I did share that same feeling when I was doing the normal commute/family thing. But it still points to a problem. We should be able to find or make the time and space to have a cocoon of calm or whatever we need and still have a life+family+work. I don't think that a small side-effect of solo driving in traffic which provides something like that cocoon is at all the right way to get the life balance we need.
Yeah, but that is the thing, most C++ shops write code exactly like that, regardless of what a few iluminated souls write about modern C++ and static analysis best pratices.

Not even Bjarne's continuous preaching seems to affect current practices, as most folks don't do social activities regarding their day job programming languages.
C++ and the compilers did a lot for safety in recent years:

* smart_ptr
* RIAA
* Address-Sanitizer

But C++ allows for legacy code compatibility (a strength) but at the same time we don't have a compiler switch like "unsafe" and operator[] without bounds-checking (a weakness). I want it like in Rust, default mode is "safe" and the option to be "unsafe" when necessary. Is it late? Yes. Is it to late? Never.
I want the compiler to tell me "You're doing dangerous stuff. Sure?".

Interestingly they don't mention Rust. Java and C# are designed for completely different usages.
I disagree that what you call internet literacy can be taught. In my opinion people fundamentally disagree what the 'reliable sources' are and some (many?) actively distrust the official recommendations.

With that analysis internet literacy becomes a question of showing people that official recommendations are not actively trying to trick you into doing something harmful to yourself. How will that be done when nobody trusts any official authority, be it government, universities, news media or anything else?

This trust will take generations to re-build and currently it doesn't seem like anybody thinks it's even a priority.
> I don't think an informational campaign would have helped with the ivermectin problem. Underlying that was the conspiracist belief that people were lying to them. Why would they believe a safety leaflet?

And also afaik the biggest problem with Invermectin wasn't that people were overdosing on it, it's that they were treating it as a prophylactic or potential miracle cure which meant they didn't have to worry about catching or spreading COVID (or get vaccinated, when the vaccines were introduced). "Homeopathy doesn't cure HIV, but here are the dosages of homeopathic remedies which people looking to manage their HIV status with homeopathy rather than antiretroviral drugs and condoms should take", said no public health information campaign ever

Afaik Invermectin has all the safety information regarding its dosages on the packet anyway (at least the packets designed for human use...). Doesn't mean people getting health advice from people shouting about the evils of the medical profession on talk radio or Facebook necessarily acknowledged them.
Cash only in Berlin
> Innovation is vital: we have 50 years of it to learn from.

Don't forget the world of enterprise IT that existed before ENIAC; there's another 60 years of innovation there — in a world in which computations were done locally and communication was done sequentially.
I give money to my parents. If it is so much that tax might be an issue, I would do it in cash. With me this is (of course) not an issue.
> Please relate how your country treats such individuals in a non-terrorist manner?

For instance, my country is not involved in war crimes like the US is.