skysight-inc/HackerNews huggingface dataset:
> I get the job done going mouse to keyboard to mouse to keyboard but it's definitely not optimal.

I've seen the rise of Vim popularity from the sidelines, I learned it at the same time as I learned eclipse, continued using vim while learning Sublime Text, IntelliJ, Netbeans and VSCode and I still use Vim.

Here are my thoughts:

If only people had spent half the time they waste on learning enough Vim to impress others learning and setting up VS Code, eclipse, IntelliJ (or tjeir language variant), NetBeans - or even I guess even though I don't like it myself - Visual Studio (the old one).

Please, please, please: at least for those who use modern languages with IDE support, take the time to consider learning the basics of an IDE.

The correct way to refactor moden code isn't to learn to study Vim for years to do it in half the time or with half the shortcuts, but to navigate to the correct line (down, down down), the correct place (2 x ctrl + arrow right) mark the code in question (5 x shift + arrow down to get the majority of it, then shift end to the end of the line) and ctrl + shift + p or something, extra(ct variable), name it and finished.

And this is just the straight forward way for someone knowing nothing but standard text navigation on Linux/Windows: if someone spends a fraction of the time some use on Vim they'll find that there are shortcuts to expand selection to scope built into modern IDEs by default.

The above can be shortened to:

- four times arrow down (we go into the middle of the mess)

- ide specific shortcut (or your chosen shortcut, they can be exported and imported) to expand selection to scope

- ctrl + shift + p to open command palette

- ext (since it is near the top of the list anyway), rename, done

Edit: there exist one good reason to use emacs and vim - they won't be integrated with Github and dumbed down over night, see for example https://news.ycombinator.com/item?id=29461226

Personally I rather learn IntelliJ, Netbeans, eclipse and VS Code somewhat fluently though.
That crypto currencies were useless for porn has essentially informed my entire perspective.
https://web.archive.org/web/20090714025054/http://theinfo.or...
I added NFC on mine together with led lights that flash when near NFC and phone (android only) receives my contact info. Could show it if anyones interested.
There’s a difference between marketing material and fraudulent claims made to investors.

You won’t get far claiming that your perpetual motion machine was just “filmed under ideal conditions” aka, hiding the magnet or air blower providing the energy to fight dissipation.
No it does not. 2015, 2018, 2021. With the 2021 changes so small few projects actually required any changes to be compatible from 2018.
Speculation is zero sum ignoring adding liquidity to the market in a positive sum game

Everything else is positive sum. Trading, moving money, storing wealth...
*every three years, actually. The current one is 2021, the one before that was 2018 and the (implicit) first one 2015.
Now you're talking about revenue vs. profit. That part of the "value" is still created, it just goes to the power company or the ASIC manufacturer instead of the miner.

If you mine $100 worth of Bitcoin, there is $100 worth of Bitcoin created, whether the electricity cost you $20 or $120.
I totally agree with this, Fastly makes it pretty obvious from their website they do not want small customers. There is no price list and the prices on domains and such is 10x Cloudfare. It is also difficult to se what type of services they provide, everything ends up in a contact us. They seem to have great product with Compute Edge but no free thier and fuzzy pricing.

If you read the discussions in the financial forums Fastly might be in a tricky place since their biggest customer is assumed to be Amazon and if one goes to their website https://www.fastly.com/partners/featured/ they show off all the biggest cloud providers and customers. Seems like Fastly are afraid to steal customers from their partners.
“MySQL is a pretty poor database” says ex-MySQL developer
If it was me, I wouldn’t be willing to go into in-depths discussions with patients since that could lead to unintended consequences. Like patient self-medicating based on what I say, even if I didn’t intend to give any advice.
Yeah and you notice the iPhone 12 and return of more ports?
Q&A with the developer of BetterDummy: from macOS secrets to his motivations
Not that hard, just type this command and press enter:

:wa|:!kill -9 $PPID
>Scientific progress is amazing today, far faster today than at any point in history

What're you basing this on/how're you defining the growth rate here? Not rhetorical, would be interested to see your data since it seems quite a common argument to hold that it's slowing in lots of areas
I think it is not a great editor for people who want to like their editor.

Like I tried eclipse, but it was laggy. I tried Notepad++, but it is too GUI. I tried VSCode but getting it to be much better than vim requires tracking down a bunch of questionable extensions or the cool extension everyone is buzzing about doesn't have FORTRAN support.

I dunno. I use vim. I don't like vim. I don't like any editor. It is there, it doesn't do what I want it to all the time, but it reads and writes files, autocommands are easy to set up, and I can just plop whatever unix commands I want in there. vim is pretty boring and basic, but I go back to it because it doesn't do anything actively annoying to me.
I used to use Vim exclusively, but realized it got me into a bad habit of not separating files out well. The hassle of switching files makes me tend to create fewer of them, which can make it harder to find things later.

I still love it as a pure text editor, but for code, I've gone to an IDE and don't see myself returning.
Also curious: how is this different than a browser extension / how do you all plan to make money if the product is free?
These don’t work for me because I made a slip and added too much vim-specifics to my editing/workflow habits. Vim emulators only work for those who have 3-5 years of non-active exploration experience. Once you commit to plugins, buffer/window-related actions, scripts, hooks, heavy vimfiles setup, etc, the way back is as hard.

Edit: please don’t downvote the parent commenter, it’s a non-obvious knowledge and it doesn’t apply to everyone.
That was always my intro to vi: I was (for example) doing a merge or something from git bash, then suddenly it dropped me into vi. I've made a few tries to learn vi, but I just don't edit text frequently enough to remember everything about it. I typically have to use Google to figure out how to exit it whenever some tool has it as the default and randomly drops me into it.

I remember a non-Linux friend of mine having a really poor introduction to Unix/Linux because he got bogged down in learning vi in addition to Unix's other foibles!
This website is unusable on mobile a full screen ad enforcing pop up thing appears.
>tech workers union

Yeah, let's cartelize a real free market.
Vim/NeoVim’s plugin support includes both native plugins in VimL or Lua and plugins via LSP.

An LSP client is built into NeoVim itself and support of VSCode extensions not covered by LSP is also available via plugin.
What, you don't want the ultimate ping in quake?
If ajax was the beginning of Web 2.0, Bitcoin was the beginning of web 3.0 and immutable public databases
While I am sympathetic with your argument, don’t forget you’re just comparing energy consumptions.

We don’t know much about how its energy is being created. If 90% of Bitcoin’s energy use would be from renewables its CO2 footprint wouldn’t be 45x as large as that of Google.

There was a study a couple of years ago suggesting Bitcoin’s global footprint is comparable to that of a medium sized city. But its assumptions are probably outdated.

Edit: https://www.sciencedirect.com/science/article/pii/S254243511...
Car mechanics have a backdoor around the security system of my car, and this is a problem. Rather than name drop Apple, perhaps we could dox the car manufacturers who have sold us superficial locks?
On linux (and I think even osx), even when stdin, stdout, and stderr are redirected, you can always get at the current session's tty via "/dev/tty" unless the executing program spawns a new session which would be very unlikely in this case. This is why things like sudo can defeat pipes and prompt you.
This is all hypothetical, but suppose it makes for happier staff. Do you think you can best discern the happiness of the staff by.. sending out a survey? Or maybe you'd be able to tell by the feeling of the room in the cafeteria, or the tone of your conversations, or the enthusiasm they seem to show at their jobs, or the messages they send you?
Thank you for your advice. I've taken it seriously.

Cheers.
Show HN: Send a Letter or Fax to Your Federal or State Reps in 30 Seconds
Somehow C64 can deal with them.

"CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”"

https://www.youtube.com/watch?v=zBkNBP00wJE

"C++20 For The Commodore 64"

https://www.youtube.com/watch?v=EIKAqcLxtT0
Tips for JavaScript for Loop
I have been the victim of chargeback fraud and major banking errors that resulted in major losses that took months to recover.

Irreversibly transferring funds and having complete ownership of them once they are in your possession is a huge feature.
> Fastly need to decide if they are a CDN or a internet company with a CDN product. They seem undecided what they are at the moment and have poor product structuring and it's genuinely very hard to go put in your credit card and give them money! Cloudflare are quite clear they are a internet technology company now not a CDN and make it extremely easy for people to give them money in a few clicks.

I greatly respect Fastly and their technology, but they (and Varnish) are biased against small companies and make it impossible for me to sign up customers who would benefit from their services and one day might grow into big spending customers.

AWS has shown that the days of "min $5000/year" (as both these services have quoted me for individual products) can be over and you can be profitable. Companies who don't catch up with that are cutting off their future.
Top JavaScript Projects Ideas
> honestly to get it back into the medical system and to be taken seriously you'd probably have to get a doctor to retest it

The thing is, if you sequence your genome, you might have used a protocol that has a label on it: “Not for diagnostic purposes, research only“. A doctor shouldn’t take anything that’s not IVD-certified seriously(and for good reasons).
Nope, it uses my crypto as collateral and operates outside the credit system.
What kinds of macros do you use?
This kinda seems performative. While showing off how incredibly weird and genuinely user-hostile it is in the modern world, is tongue-in-cheek showing off how the author is cool.

Literally, why should I care what you write your code in? Is this some sort of frat hazing thing where you’ve gotta prove that you can run with the ~big boys~ or whatever?

I remember back in the day writing php in notepad being cool, do I get points???
This advice is spot on!

I haven't worked on this problem, but others in my graduate lab did. If you're interested in a tool that automates some of this process (takes VCF as input; filters variants based on frequency; you'll need to map disease symptoms/phenotypes to Human Phenotype Ontology [1] identifiers), some of my former lab mates developed a web tool [2]: https://amelie.stanford.edu/submit

[1] https://hpo.jax.org/app/

[2] https://www.medrxiv.org/content/10.1101/2020.12.29.20248974v...
Dollars via aave
> More broadly, I don't buy for a second that science fiction doesn't feed back into the minds of scientists and engineers working on the next big thing. It would be strange if it didn't, and I think the burden of proof is on you to show that scientists and engineers are universally exercising the sort of perfect mental hygiene it would take to isolate themselves from the baseless speculations of writers.

You don't need to isolate yourself. The baseless speculations of writers just don't help in doing science. If you pick any discovery, you'll see that it was a consequence of a lot of work and intuition about a particular area of math, physics, engineering, or biology. Scientists aren't waiting for the next Star Trek episode hoping to find some ideas. The reason is simple: the ideas in science fiction don't work. Almost always what we get is totally different from what was predicted and usually more amazing, and it's shaped by the math/physics/engineering/biology that led us there, not b some outcome we want to match in science fiction. It's just a cognitive bias that you remember good SF predictions and forget bad ones.

This whole Wells atomic bomb business is a prime example. Szilard couldn't possibly get any ideas from Wells. Because Szilard's actual contribution has nothing to do with what Wells wrote. He discovered chain reactions. And how he did so is well documented, by analogy to chemical chain reactions. Literally nothing in Wells would ever help you discover nuclear chain reactions. Nor is it obvious that what Wells wrote requires chain reactions, you can think of other fanciful mechanisms.
Counterpoint: vi sucks. Emacs is clearly the superior OS.
> Kernel developers obsess about speed and performance. The Linux kernel is built using -mregparm=3, which is sometimes called fastcall.

I've never messed with calling convention for the sake of performance before so I found this bit interesting. I found more info about it at: https://en.wikipedia.org/wiki/X86_calling_conventions#Borlan...

Does anyone have benchmarks? Assuming I don't care about ABI stability, what's the fastest calling convention?
As far as I understand the main problem of string theory is that it has been carefully constructed to fit all the physics we know about, and has not actually predicted anything we didn't already know about that we could experimentally verify. So in a practical sense string theory has been quite useless.

If indeed it is true that string theory predicts this effect, and the effect can be experimentally verified (afaik this was dubious at best) then that would be a huge boon for string theory.
Apparently the author never heard of C++ modules.
Libabigail – The ABI Generic Analysis and Instrumentation Library
> We need a payment system which makes transactions that small efficient. And it needs to be anonymous for the buyer, because the whole point is to get rid of the tracking, right?

Hopefully Monero will achieve this one day.
Ribbonfarm.eth
As another complete layman just pooling my intuition:

Relatively more or less dense "things" (to each other) will always generate positive curvature of spacetime. What you want is relatively less dense area than vacuum in another region of space, since vacuum is (for now) what we constitute as (somewhat) flat.

That's what Casimir effect tries to accomplish: define a small enough region of spacetime where some larger quantum fluctuations don't have enough space to happen, thus lowering its energy below vacuum.

Since the idea is to define small enough space-like interval in spacetime to curb some energies off, could defining small enough time-like interval help the same purpose, multiplying the former?
Maybe that’s why they named it Rust. It sounds old and boring.
I can’t see the tweet. Ant links or images ?
They got into shrinking hardware and made great consumer gadgets that were not expandable with hardware but much better. The first iPhone had a headphone jack, it didn’t need a weird one like the Sony Erickson, I don’t think the palm had one. I had used a Mac in grade school with a mean teacher that died of cancer (they said thats why she was so mean, I don’t buy it), it played crappy math games, and Oregon trail, it looked weird since I was used to windows and my friend got a Mac laptop for school that was nice I think it was a G3 or something. No more locked down than any laptop of that era.

The iPod didn’t have expandable storage, but nobody did and AA or AAA batteries sucked. The iPhone didn’t have battery or storage upgrades but it was a full Unix computer in your pocket.
I use neovim inside VSCode, there's an extension that works pretty well

https://github.com/asvetliakov/vscode-neovim
Yes, this is probably what you'd do in this hypothetical case, and it's hardly unheard of for contracts to be written up with transferability clauses. Given that we exist in a world where digital signatures also exist, it's unlikely to be particularly onerous.

("Continuously" is probably not the right word, unless you are envisioning the rather unlikely case of this transfer happening on an annual basis!)
There's one problem with rants such as these, it's too easy for someone to be exposed as clueless and broadcast his lack of knowledge and assumption-heavy development process to the world. How is that as an advertisement for one's employer?
You have to ask for a written exemption that may or may not be granted.
With enough money you can discuss any ToS.

That's a fake opening with the same effect as prohibiting something by ToS.
AFAICT multi-cursor mode is not nearly as useful as vim (or keyboard macros in most editors). I don't know SublimeText but I do know, functionality of multi-cursors is often limited. For example, say I want to go to all functions calls

foo(aa, bb, c);
foo(d, ggg, hh);
foo(iiii, i, jjjj);

I want to do something to the 2nd argument on each line. add a fn(prevContents). So I search for "foo(" and then pick "put a cursor on every match". Then how do get to the first comma and the select to the second comma on each line? This is easy with vim, easy with keyboard macros, not easy with multiple cursors (that I know of). For example as soon as I press "find" so I can search for the comma I lose multiple cursors. Maybe there's a special "Search with multiple cursors" command but if so that just highlights the issue, you shouldn't need special commands, you should be able to combine existing commands. vim and keyboard macros make that easy.
Yes, but not like ed.
Do Sublime and VSCode have anything like vim's macro system?
Huh, I never before made the connection between fellatio and the romance languages words for son/daughter. It’s one of those things that is obvious once it’s pointed out.
FYI for any other extensions that do this, you can use the extension permissions to disallow them from running everywhere, and just give access to the site(s) where you want them to run. This doesn't require the devs to have done anything special — this functionality is built into Chrome. Weirdly, this is only available in Chromium browsers, not Firefox, at least last I checked.
Urea Shortage Is Felt Around the World
I have

nmap Tl :tabnext<CR>
nmap Th :tabprev<CR>
nmap Tn :tabnew<CR>

in my .vimrc, to make it more convenient to work with multiple files.
New open-source software. What do you think?
Use the mobile site, the watch if you can, or hide the jailbreak from the app with something like A-bypass.
If you are looking for a simple time tracking app for Windows you are welcome to try CCTime: https://github.com/rlv-dan/CCTime
It's still zero-sum - I'll illustrate with an example:

Imagine you and your friends collect and trade rocks you find on the beach. The more rocks you pick up and put in your personal baskets, the scarcer they become (just like mining bitcoins), so the work of finding more rocks becomes harder. This makes all the rocks you've already found "worth" more. Let's say for this thought experiment that there are 1000 rocks on this beach total.

The value of the rocks is only realized when someone decides they want to pay you dollars for your rocks in your pile instead of going out to pick up rocks themselves. This transaction (say $1 per rock for 100 rocks) now suddenly makes everyone's pile of rocks valuable, because there's someone out there who was willing to pay $1 per rock. If the next person pays $2 per rock for 100 rocks, then everyone's rock piles double in value. This means that the "market cap" for rocks on your beach is $2000 ($2 x 1000 rocks), but that doesn't mean that there is suddenly $2000 of USD in you and your friends' pockets. There's only the $300 that the two buyers paid into the system, but it wasn't generated by collecting rocks.

Let's say that the last 100 rocks are super hard to find - they might be buried deep in the beach and not worth digging with your hands. After a few hours the supply of rocks has essentially capped. The only way to get more rocks for yourself is to trade dollars for rocks. You open your wallet and buy 100 rocks from your friend for $500 dollars.

Now everyone knows that 1 rock = $5. Market cap = $5000.

Someone else wants to buy but it's hard to get anyone to sell. They spend $100 to buy just 10 rocks. Now 1 rock = $10, Market cap = $10,000.

Now that each rock is worth $10, people get shovels and try to find more rocks buried. Finally they've all been found. Let's say that 100 people total are now holding at least 1 rock.

Let's freeze it here and look at who has won and who has lost. Assume that finding the rocks didn't cost anything. From the perspective of everyone who simply picked up rocks, they hold rocks worth $10 each, but haven't paid anything to acquire them. Great right? Well not necessarily - nobody actually paid them anything yet, so they have realized exactly $0 in gains.

Let's look at the four transactions that occurred which gave the rocks value. The first saw $100 go from person A to person B, for a net of $0. The second saw $200 from one person to another, for a net of $0. Third, etc - fourth and final, also net of $0.

Within this example, trading dollars for rocks is clearly a zero-sum game. The only reason that crypto "looks" different is that it's a much larger beach with millions of rocks and millions of people trying to trade them and pick them up. But it's the same thing.
> Who wants to type std::unique_ptr<Foo> when instead you can write Foo *?

struct Foo{
std::unique_ptr<Foo> Ptr;
}

Foo::Ptr foo;
I think that's at least somewhat particular to the web, though.

Plenty of 'C++ people' have been doing C++ for decades.
The point is that there are multitudes of other technological solutions readily available which solve the stated problem far more simply then a blockchain.
>This is why self-driving cars still elude us, but will be so much safer than human drivers when they finally do arrive.

Isn't that just a by definition thing?

My Tesla can already drive itself, I don't trust it and I don't think it's safe. When I get one that I trust and is safe then it will be safer than me, and by extension other humans.

The problem is that the current generation of algorithms are brittle.