skysight-inc/HackerNews huggingface dataset:
I purchased the course but was disappointed that it doesn't go much beyond the basics. For example, there is no tutorial on the dot (.) command, which is one of the main productivity hacks for vim users.

There's also no mention of the slash '/' command, moving to a particular line number with 'Shift-G', 'dw' for deleting words, or any number of things that are essential to know if you want to use vim effectively.
When Dev Goes DevOps
That's about buying access to Trump so people can make their case for a pardon, which is substantively different.
Fifty (50) Cent Party
Current Indian government had a positive outlook about Facebook. Events in US seems to have spooked many political parties. Facebook will have to spend a lot to control the narrative, though it will survive. Twitter on the other hand looks beyond saving, no strong man will trust it.
I honestly don't understand how this got so out of control.

First of all while there are so many contributors the vast majority of commits seem to be by elastic team members.

Secondly, elastic provides a lot more than just the code.

Third, they're a for profit company and have been from the beginning.

So with all of that in mind to me the change seemed perfectly reasonable.

Materially it doesn't really change much for anyone other than Amazon.

Last year CockroachDB did the exact same thing and I don't recall anywhere near the outrage. Perhaps it might be because it's significantly less popular but everyone out on their soap boxes now surely should have been making noise then as well.

Furthermore, a lot of these arguments seem to be very black and white. You either are or aren't open source. Surely there are shades. Surely the OSI definition isn't the only one. Surely being able to contribute, modify and run for your own purposes still counts for something.

It really is the case that everyone wants OSS but no one wants to pay for it.
> My understanding is that there was a criminal investigation of Clinton's Marc Rich pardon that concluded without finding any evidence of criminality.

I don't know anything about the investigation, but no finding does not mean no criminality. Ignoring all the politics involved, there are plenty of more mundane examples. Someone attacks you. You call the police. It's your word against theirs and so the investigation is closed because they cannot show that a crime was committed, but you know it was.

The wiki article cited on HW suggests that bribes may have been constructed as either loans (that were not repaid) or as payment to Hugh Rodham for "representing their cases". Neither is criminal, but it's a simple and classic way of taking a bride and turning it legal by putting another sticker on it. Example:

---

Almon Glenn Braswell was pardoned of his 1983 mail fraud and perjury convictions.[19] In 1998 he was under federal investigation for money laundering and tax evasion charges.[20] Braswell and Carlos Vignali each paid approximately $200,000 to Hillary Clinton's brother, Hugh Rodham, to represent their respective cases for clemency. Hugh Rodham returned the payments after they were disclosed to the public.[21][22] Braswell would later invoke the Fifth Amendment at a Senate Committee hearing in 2001, when questioned about allegations of his having systematically defrauded senior citizens of millions of dollars.[23]
Awesome idea, gamifying learning vim seems the way to go.

Minor detail: I would recommend you set up the keyboard focus on the game as soon as the page loads. Saw a comment mentioning that the HJKL keys were not working and the same happened to me...right until I clicked on the command-line box in order to have my keyboard focus it.
The drunk driving incident and the following DUI charge came several months after the pardon.

(Correction: it was the dropping of the case was months after the pardon. The drunk driving incident and subsequent prosecution was one month after the pardon)
Internet connection was the main blocker for me to move to a rural/off-grid lifestyle. Everything else is a solved problem. It may anecdotal, but not unreasonable to think others feel the same way. Many real estate websites already list available internet speed and cellular signal, so they must believe it impacts on sales.
BMW is going all-in on in-car microtransactions
Understandable and I was ready to buy a Dell XPS as I like the "small and light" form factor. I was just waiting for the COVID buy spike to subside and see how my financial situation would evolve.

But I have pushed the decision back to see how Linux will be running on the M1. From first reports, it is simply tailor-made for a laptop computer that doesn't get burning hot or dog slow because of thermal throttling.

I hope intel and to a lesser extend AMD are looking at this thing red-faced. But they will need some time to play catch-up.
I feel like there is something I am profoundly opposed to with this article but I’m struggling to put it into words. Without being technically precise:

This article is arguing against monopolization of commercial exploitation because more value is created when tools are available freely. Cool. I have to read this article in the context of Elastics recent license change, which seems to be in response to “monopolistic” practices by amazon. I don’t know if the word “monopoly” is exactly the right one, but they seem to be using their size and market share to snowball competitive advantage in a way that doesn’t necessarily add value for humanity. I’d rather Elastic hoover up the cloud money than Amazon, precisely because I think we’re better off with less centralized power.

So maybe my objection is that this article seems to me to be dogmatically asserting some principles, and goring it’s own ox, ie harming the thing that those principles are attempting to protect.

Admittedly this might be a misread/ignorance on my part, and maybe I’m triggered by the tone of the article, which reads quite strident to me. An important discussion, though, and glad that devault wrote it.
I guess the down votes are by those too young to have lived through a few of those circles.
Take-Over Moments: The Hardest Design Problem of Semi-Autonomous Cars
previous discussion: https://news.ycombinator.com/item?id=25622015
Yes. Especially with the widespread telecommuting push. Commuting and office space is an incredible drain on the economy. Also when You have the option of working for any company in the country you are much more likely to find a job that really suits you, you find rewarding and interesting. For employers, the talent pool is increased exponentially as well.

It's not all positive though. It really helps to have a dedicated home office.
There's two groups of programmers, those who started learning with low-level, and those who started with high-level languages. I'm personally in the former group, and think there are definite advantages to doing it that way. You are probably in the latter.
Show HN: I built an online interactive course that helps you learn vim* faster

*You have a small typo in your title: should be spelled "emacs" ;)

Kidding aside, the course is fun, nice work.

Per other comments in the thread, if you want to integrate vim muscle memory and browsers, check out the Vimium extension for Chrome (granted, I've overwritten the defaults with emacs, but the idea has still been helpful and minimized mouse use).
Someone has built it already for bittorrent, maybe you can reuse some parts: https://github.com/lmatteis/torrent-net

Even with an artificially slow connection it seems to be reactive enough. Actually fetching pages on-demand can only be better for the bandwidth, the real issue is going to be latency
Well there is a language that lets you decide how to handle errors separately from the code that actually handles them (eg separating the code that says “please retry” from the code that retries). That language is Common Lisp. But error handling in it is still a pain.

The one advantage it has over most exception systems in my opinion is that the equivalent of try-finally is much more common than try-catch. With exceptions, code often does weird things because it isn’t expecting to lose control flow when an exception is raised, but most languages don’t make it easy to catch stack unwinding a and clean up. In Common Lisp unwind-protect plus the style of with-foo macros tends to make it more common for functions to work when control transfers out of them in abnormal ways.
Physical goods aren't trivially copied, but they tend to be a lot easier to steal.
Actual theft of intellectual property is practically unheard, but often easily infringed.
There is a natural monopoly for the people who has physical access to them.
Pointing directly to the objects that you are counting is not natural, it is just a bad habit.

People who are interrupted while they are counting and who have to restart the counting later, frequently forget whether they have already counted the pointed object, or not.

Pointing between the objects avoids these errors.

When I was young, I also had the impression that counting from 1 is natural. When I first encountered 0-based languages, I was annoyed by them, especially because I knew how Fortran compilers are implemented and I was familiar with all the tricks that are used by compilers to minimize the extra operations that are required to work with 1-based arrays.

So my initial naive thought was that maybe the implementers of C were not competent enough. However, after many extra years of experience, I believe that all the tricks for the efficient implementation of 1-based arrays are not worthwhile, because even for programmers it is more efficient to think using 0-based indices.

So now I really consider 0, 1, 2, 3 ... as a more "natural" counting sequence, unlike when I was a child.
I don't know but he pardoned something like a few hundred people I think? That said, Obama was a class act so I'd absolutely believe he was (is) honest.
Do macros -> delete % break it? I tried to race the first exercise by setting up a macro to speedrun the first example and i got something where multiple % showed up
Some good points but:

>FOSS is eating the world, and it’s a very attractive choice for businesses for a good reason. This is the reason. It increases wealth for everyone.

Does it? everyone like 100%?

IMO Idealogy is "good" and necessary but if we fail to address the fact that many people who their work supports these software empires not only don't get a dime ever but also have to endure an avalanche of support tickets and your run-of-the-mill hate mail, then no fancy ideals will save this whole thing because the situation is deeply unfair.

A common answer to this is: Let it burn, however the "burn" takes generations and people have to eat today and tomorrow. Also what comes next is very far from guaranteed to be better.

I'm always very skeptical of everything with 100% purity, being OSS or Capitalism™ .
The cost of making a copy of a non-physical good is pretty close to zero. I can't give away my teapot while also keeping it, but I can give away a copy of a book. In the same way I can't really "steal" someone's intellectual property because it's hard to take away ideas, or every copy of a work, such that the original author no longer has access to them.
If there's no mechanism to bind those intentions to the intellectual property, what you're building is just another time bomb which will eventually detonate at the expense of your users.
An angle I don't see often enough -- the recent thread on Elastic's change in license was full of a lot of people bashing AWS, and as much as I dislike their practices, you can't blame sharks for doing what sharks do. If you don't want your software to be usable by everyone for whatever purpose (even purposes you disagree with), then don't publish it under F/OSS or similar permissive licenses -- let everyone know your intentions from the start.

As much as I dislike AWS's heft (which I think allows it to muscle in on spaces it isn't the best at, and people will happily choose worse products because they're "backed" by AWS), I also think there's a lot of value in the F/OSS world to be exploited, and I'd like to do the exploiting someday. I'll leave it to others on whether it's right to draw the line at size of corporation, but I'd be just as "in the wrong" as AWS is.

There's no reason both the community and the corporate interests trying to profit (entrepreneurs who want to offer hosted versions included) can't have a symbiotic rather than parasitic relationship -- all it takes is returning some of the revenue to the appropriate open source projects and supporting them. Postgres and the related companies have been making it work for a long time now. I think part of what's exacerbating this parasitic relationship might be the VC model -- if you make some open-core software, take a bunch of VC money (or don't and simply overstretch your reach), and now need to find some hypergrowth (tm) to keep the house of cards the right side up, maybe it makes more sense that the relationship would be more parasitic than symbiotic.

A lot of newer developers are about to find out the difference between F/OSS and shareware.
How to Recover When You Make a Mistake at Work
Doesn't that just demonstrate your (edit: the teacher's) point exactly?

The first centimeter starts at 0.

The first array element starts at 0.
See also xscreensaver and the recent blunder about kids "breaking into" the Gnome screensaver.

https://www.jwz.org/blog/2021/01/i-told-you-so-2021-edition/
hence the "...but".
If only somebody would come up with a Common Interface for application Gateways that would let the webserver dynamically select based on URL routing which executable to provision temporarily to generate that page.
Dream SMP is the hottest show in the media biz and most have never heard of it?
I am pretty sure that the last, counterfactual, paragraph of this article is spot-on.

Personally, I am not so much interested in which way is more right, but which way is less likely to result in off-by-one and related errors, though I do not know how you could gather data on that, other for people beginning programming, and any difference might go away or even flip as programmers gain experience and move on to more difficult problems. (Of course, the most effective solution is to not use indexing at all, except where absolutely necessary.)
You're talking about state-level actors, not me. My point is that it doesn't have to be the Chinese government (though it probably is, if he's being held and isn't just in hiding).
Disclaimer: *I'm not your target audience*; I don't plan to use your product even if you made it public domain.

I never want to agree to an EULA before starting to develop something outside of a professional setting. That's an immediate dealbreaker for me. But even if I did - I wouldn't be able to disassemble or reverse engineer your software (2.2)? Also - why are there so many clauses in the EULA telling me to obey really specific laws? Aren't these redundant to section 2?
Many Gs of acceleration: I don't think it would be a huge problem, when lying on your back, in a g-suit or submerged in water. I don't think it would require liquid breathing, which is not fully developed yet.

Many Gs of deceleration: for the passenger, acceleration and deceleration have the same effects.
> You see, Lua uses 1-based indexing, and lots of programmers claimed this is unnatural because “every other language out there” uses 0-based indexing.

> I’ll brush aside quickly the fact that this is not true — 1-based indexing has a long history, all the way from Fortran, COBOL, Pascal, Ada, Smalltalk, etc. — and I’ll grant that the vast majority of popular languages in the industry nowadays are 0-based. So, let’s avoid the popularity contest and address the claim that 0-based indexing is “inherently better”, or worse, “more natural”.

Maybe I missed the comments about 1-indexing being "unnatural" but if the author is referring to the discussion I took part in, then this is a strawman. It wasn't about what was "natural" or "unnatural" but about people switching from their primary language to secondary languages and gotchas like 1-indexing being error prone.

We had a platform team at my last company looking to adopt Lua for client customization. The primary authors became familiar with Lua in writing the code logic but everyone else would be touching their part, or contributing back to the core, not as people familiar with Lua but as C++ developers who would be blindly making changes in another language. It felt similar to maintenance of our Perl scripts. You don't brush up and become an expert on a language you interact with on a yearly cadence. It is important in these cases to have few gotchas to make casual contributions easier and safer.

This says nothing about using 1-indexing when your target audience isn't 0-indexed programmers (speaking of those who choose to use Lua and not to Lua's creators).

Unfortunately, for me, even with my complaints (this and language compatibility), I'll probably still use Lua for some projects of mine. I've looked at others and I'm mainly concerned about the community size.
Someone I knew who went to Harvard Business School had a cynical take like this: the whole system is basically set up to ensure high-paying jobs for the children of the rich and political elite... regardless of whether they are truly qualified.

I don't know if the elite university name brand bias had anything to do with Intel's story but it is a major anti-pattern in American institutions. Don't get me wrong... these are very good schools. It just doesn't follow that all people who went to Harvard are better than all people who went to some state school.
As weird as I find 1 based indexing(looking at you R) I still get confused by 0 based indexing. This happens all the time when I’m working in pandas and thinking about line numbers in the file vs the data frame, and I recently had an issue with this while implementing Conway’s Game of Life in Racket, while I was traversing the array and when I was looking for neighbors.

It has been enough of an issue for me to seriously reconsider my stance on indexing
Very important questions, deserving of an answer.
lisp, smalltalk, scheme, R.
Yes, really. I don't use Windows myself, but I've seen it happen to others. As another commenter said, it's usually when the computer is coming out of "sleep" or something like that. Plenty of times I've seen a glimpse of the desktop that was long enough for me to get a vague idea of what they were doing before the lock screen takes over. If one was determined enough a photograph could easily be taken in that time.
Not really the same, but I had fun back in high school. Finding the Novell messaging utility that let me send a message to (IIRC) anyone in the school board currently logged in, though not anonymously.

Using some a couple lines of VBScript to change a couple registry entries (computers didn't persist storage anyways) you could also give your local admin privileges, to install stuff. That one got me in a touch of trouble, and I lost my account for a couple weeks while they "looked at my files", because I stored it on my network drive folder.
I must say the older I get, the more unfair I perceive this to be. It really takes a saint to pour one’s heart and soul into a piece software, for free, and then have the commercial benefits go to huge public companies like Google. It also seems to annihilate most challenging and interesting software work, because the expectation is now that that will be done for free and given away on GitHub.

This would all be fine if we lived in a socialist world, but we don’t. My lawyer still charges me $200 per hour for a few fake hours before giving me the template document he has on his hard drive. My accountant operates very much the same. In this context it feels like more open source just makes the world more unfair.

What are the best alternatives to this model? Isn’t there something in the Source Available direction that can make sense? We live in a very different world compared to 1989 when the GPL was first published.
>> They'll be kept in by an electric fence

No, they will be encouraged to remain in the area by the fence. These aren't cows. They are taller, hairier, smarter, and will presumably be keeping their horns. If push comes to shove bison can, literally, walk strait through standard electric fences.
Peter Thiel is a white nationalist? Interesting.
Famously, Ford pardoned Nixon prior to any charges, never mind conviction.
That's an interesting point. The article says that the rigs were bought for $3.5 million each. At that price, it seems pretty obtainable for people interested in creating a floating city at sea to buy a few as a starting point.
It seems auto-updating browser extensions are riskier than leaving them non-updated?
If our justice system does not represent some bid for moral rightness (as flawed as it may be) then what is the point of justice at all? The leakers crimes is in these two cases were mostly pointing out others much weightier violations of the law. Those others have received no punishment, no cost for their crimes. Also, putting the word “merely” before ‘exiled indefinitely from your home’ is personally baffling to me. Especially since one of these people does not live in the US and “in practice” both their lives either were or still are in jeopardy.

Edit: I do think I understand your overall point though. Actually leaking information should be a very serious decision, and should not be taken lightly.
I don't think so. Firefox doesn't support WebGL2 on my system and this website works fine.
> I've seen way too many programs with a single exception handler right at the base of the program, that just goes "whoops, something bad happened, bye!".

Regardless of one's view of execution handling, why would anyone even bother to do this? If you don't catch it and exit the program will exit anyway.
Amazon, Google, Microsoft is not a duopoly :)

And while there are probably some services on AWS you can’t find at a competitor - that’s mostly a choice (aka profit margin) made by the competitor.
25 Years of Toshiba Laptops
Whilst you can easily point your synthesis tool at a new cell library (this is the tool that takes the hardware description in a language like Verilog and produces a circuit that implements it) there is significant back-end work in getting the best out of any library.

Intel will probably have to rework their layouts, deal with new memory compilers that have produce memories with different characteristics and adapt memory interfaces that what they need. Their implementation engineers will take time to understand all of the new design rules, quirks and best optimisation strategies that come with an entirely new library (given this is an entirely different fab there could be significant differences).

I suspect that's why they're going for Core i3 first, they can get away without lots of detailed work and optimisation to really push the process. A straight-forward (ish) port what you've got and see how it goes will be good enough and will give their implementation engineers experience with the new library that they can then use to work on the higher end.
> "we'd love to see what you'll do with it"

...without the documentation that would help you.

When Broadcom act like this they're considered villains and we're recommended to stay away from their hardware. But when Apple do it, they're being benevolent?

And that's ignoring the fact that I could actually get Broadcom documentation in exchange for dollars and NDA.
Big Explosion in Madrid
Go here and search for "drug" or "amphetamines". Quite a few non-violent drug offenders with stupid sentences getting pardoned:

https://www.whitehouse.gov/briefings-statements/statement-pr...

EG:

Corvain Cooper – President Trump commuted the sentence of Mr. Corvain Cooper. Mr. Cooper is a 41 year-old father of two girls who has served more than 7 years of a life sentence for his non-violent participation in a conspiracy to distribute marijuana.