skysight-inc/HackerNews huggingface dataset:
From the git documentation:

*core.editor*

*By default, Git uses whatever you’ve set as your default text editor via
one of the shell environment variables VISUAL or EDITOR, or else falls back
to the vi editor to create and edit your commit and tag messages*

https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

It seems that many people leave their default editor undefined so git opens vi for commit messages by default. vi tends to be symlinked to vim on many systems so that means they end up in vim (not that it makes a difference, I'm just being pedantic :).
I imagined wearing Scuba suits and working on this dexterity challenge at 10+ ft depth, kind of like a NASA pool. Thought it sounded like fun. Underwater pumpkin carving is a thing and it's a hoot.
> But the dictatorship is the cause of that embargo.

Well, the political ideology of the dictatorship and its unwillingness to be a puppet state of the USA are the cause of that embargo. As diplomacy in the Arabian peninsula shows, the USA has no issue with dictatorships and hereditary absolute monarchies provided they buy American weapons and fight on the appropriate side of proxy wars.
Dominic Cummings edited blog to add references to coronavirus
While not a web-app, we too have ~200 B2B customers running our application and each one have their own DB. Some self-host, most others are hosted by us.

We have written our own tool to upgrade the DB schema, it's nothing fancy, just takes an XML description, compares with the current DB and makes changes. However it ensures the upgrade process is automated.

New versions of our application come with a new DB schema, and we also have an auto-updater for our software. We have a small launcher application which allows the users to select a few older versions of our software, so upgrades are almost always safe in the sense that if the user encounters a bug with the new version, they can try in the previous one.

If the DB schema upgrade tool fails for some reason, the application upgrade will be held back and we'll get a notification.

Combined this allows us to be quite aggressive with pushing out new versions, and to do so without manual intervention.

A limitation with this setup is that DB changes have to be backwards compatible. So we do have a few cases of "if this table exists do this, else do that" type logic and similar, but mostly it's not a big deal.

For example I recently had to refactor some old table where they had used five columns for some additional references (ref_1, ref_2 etc), into a new table of additional references. To handle this I just made a new view which would return either the refs from the new table, or the data from the columns in case the new table didn't have any data for that record.

I then changed the application to use a grid instead of five separate edit controls, and to use this new view. If the user had to use an older version, that version would just write to the five fields and not populate a row in the new table, and the view would then return this data if the user later viewed it in the new version of our application.

So the "overhead" of backwards compatibility in this case was just ensuring this would be sufficient and writing that view, so just a few minutes.
I'm not saying anyone thinks we should have computers process numbers as decimal. I'm just saying that no one thinks (like the brains internal representation) in decimal binary, that's it.
Barkskins review of colonial drama Nat Geo from the 1890s
Sticking "Barkskins" into a specific kind box is a dubious errand. By all accounts, this National Geographic TV adjustment of the Annie Proulx tale seems like a down-the-center recorded fiction renown play. Set in the provincial area of New France in the decreasing long periods of the seventeenth century, there's a natural cosmetics of the setting: The wood-fabricated settlements of Wobik are comprised of candlelit rooms of unobtrusive insides, while earthen pathways make up the hundreds of years past counterparts of clamoring city avenues.
“it seems like it should be pretty fast (relative to system calls) to convert binary to decimal because 10 has a factor of 2“

The problem isn’t to find a decimal representation, it’s to find one that round-trips and, among those, the ‘best’ one, and do that fast.

With best, people typically mean that the IEEE float closest to ⅒ prints as “0.1”, the one closest to 42/100 as “0.42”, etc. In general, you want to produce all “0.x”, “0.xx”, “0.xxx”, etc. until you run out of IEEE numbers in (0,1).

It took surprisingly long for _any_ implementation to get there (I think it was Steele, around 1980, published in 1990)

http://www.ryanjuckett.com/programming/printing-floating-poi... has a good introduction to the problem, insofar as I am qualified to judge that.
That's my feeling as well. If I'm a publicly-traded company, and I give one of my employees a bunch of shares, I haven't spent any money to do so. I just don't see the function of the term "non-cash expense"; if it's not money, then how is it an expense? Sure, you can try to value things like "goodwill", but I don't think that's where we're going with this.

As an investor, sure, I'd want to know how much the company was diluting me every quarter by issuing new shares, but the only thing that materially affects me is the absolute value of the stock price when I want to sell (and the value of a dividend, if they have one, which most of the referenced tech companies don't).

The stock price doesn't need to reflect anything about the level of SBC. As long as people are bullish on the company's prospects at actually continuing to make real money from more and more real customers, then the price should go up, or at least not decline.

In the absence of dividends, stock prices are just a speculation game. If I'm not actually getting a share of future profits, it's just about whether the company will perform well enough (for whatever definition investors feel like that is) to increase speculative buyer demand, which increases the price.

Put another way, SBC doesn't affect money in the bank, or cash flows. A potential customer is not going to be turned off because a company gives out too much stock to its employees. It doesn't affect COGS, capex, or what the company can charge for its product.

I get why GAAP requires disclosing it, as it's a material fact regarding how the company runs its business. It's a risk: if the stock does not perform well, talent that is depending on that stock price for future income may bail, which could then hurt the company's revenue; the amount of SBC gives a window into how bad that problem could be. But docking it as a simple expense makes no sense to me.
You reminded me of the time I solved a thorny PROGRESS/4GL programming problem in the 80's using PC-Write (what an editor that was!) by writing a macro file containing a code-gen/-mod script, and then feeding the macro file into PC-Write and processing 2,000 source files in a few minutes, ready for re-compilation.

I haven't done that too much with vim in the ~35 years since then, but that's only because I haven't quite grok'ed how to write vim macro's by hand, yet. I should probably figure that out by now, but as a vim guy all I've ever needed is maybe 1% of all of vim's feature set to be productive ..
> "Quickly" using the JavaScript tooling is somewhat akin to watching one or two episodes of the 6th Game of Thrones season without watching anything else. You really need to watch season 1-5 to understand what's going on.

I disagree. In both cases, you really only need one or two episodes to know that the story is not going anywhere. It will only get more complicated and convoluted without ever rewarding you, you will realize that no thought was ever put into it, and you will only stay for the ride because of sunk costs.
> PITR

"Point-in-time recovery" for those of us that don't know the acronym
There is a disclaimer that mentions this.
I don't think about real numbers as decimals either (for one, the decimal representation is not unique). For many people real numbers are points on a straight line.
You're the one splitting hairs; a platform that is privately owned and financed by the owner belongs to the owner, if you believe the prerogatives of private ownership should be a function of popularity then there is no reason to carve out exceptions for media companies on different mediums. It is not a reasonable outcome that google would be prohibited from moderating their platform with respect to their values yet Fox News would be permitted to curate their platform with respect to their own. The litmus test seems effective.
afair it's also something steam does for games: after some time remove votes from the accumulated vote when they seem from reviewbombing. https://kotaku.com/valve-says-it-will-remove-off-topic-revie...

I think the motivation is legitimate as the votes do not reflect the actual app/game.
> Nothing is stopping you from expressing yourself however you want - just elsewhere, if you can't follow the rules

That argument doesn't work if it's a monopoly or a near-monopoly, which Wikipedia is. Also YouTube etc.
A similar system existed in Soviet occupied East Germany, the oxymorinically named ‘German Democratic Republic’, or GDR (DDR in German).

The chain of stores was named “Intershop” (later famously adopted by the first German online shopping software provider). There, western goods were available for cold hard West German Mark’s, sent from relatives on the other side of the iron curtain, as many families had been separated when the wall went up.

Edit: https://en.wikipedia.org/wiki/Intershop
Bàn Tròn Inox
> Many countries have undergone revolutions or schisms in the past century: Arab Spring countries, Soviet Union, Cuba, China/Taiwan, Korea, Yemen, etc.

The US is nothing like those countries. As a matter of fact, all the "schisms" in the countries you listed are due to the US.

> Recently there have been major catalysis for social unrest, including: increasing economic inequality, novel technological shifts (automation, social media disinformation and censorship), and climate change affecting industries and migration.

Most of the population is in the eastern hemisphere ( 6 billion people ). Whatever problems occur with climate change, migration, etc they are going to have to deal with it, not the US or the western hemisphere. As for social media, most of it is under US control so not much to worry about there. It's europe, india, china, middle east, etc who have to worry about social media destabilizing their countries. And I suspect, it will be the US spearheading the destabilization.

> What are your thoughts on the likelihood that the US will experience a massive upheaval and what precautions can be taken?

Pretty much zero. The Arab Spring countries, Soviet Union, Cuba, China/Taiwan, Korea, Yemen, etc. all experienced upheavals because of major foreign interference by a much stronger nation - aka the US. We are the ones that put pressure on the soviet union until it cracked. We are the cause of the isolation and suffering in cuba. The china/taiwan conflict is entirely a US creation. Same with korea. Even yemen is a result of our interference via saudi arabia.

We have no equal to even challenge us, let alone destabilize us to the point of revolution. There is a reason why during times of trouble, the world - including china - buys dollars/us treasuries/etc.

In other words, we create schisms around the world, we don't suffer from it.
I want to put "knows how to exit Vim" in my CV.
In my last C++ project (it's been a while) we ended up including many of our dependencies in source as we required different versions, different build options or small modifications compared to the packaged version.

Most of the time we would create a minimal CMake file to build the library to our specs or adapt the existing CMake file.
Yes it does! But how will they know to hit Ctrl+C? /s
I remember the rage I felt when I saw a junior dev use "Ctrl-Z .. kill %1" to get out of vim one time, only to be told that he 'thought it was Z something-or-other'.

Its 'ZZ', kid. Or ":q!" if you don't wanna save your mods ..
We use a database per account, it is necessary for some ISO (and other) certifications to have single-tenant DBs.

Of course this requires a bunch of extra tooling, like upgrade scripts that don't ALTER tables directly but rather lock-copy-delete-rename, etc.

There are many tools out there which help out with this, and whatever we couldn't find we built ourselves. Tools like JOOQ can update code entities based on the database, so a database-first approach is what we used, but you can go either way.

The benefit of this approach is ultimately security and less multi-tenant catastrophes leaking data from customers, etc.
Yes, I forgot about this feature (is this opt-in or default on by the instance owner?) This addresses my last point.

But admins can still choose to block instances in the future that I might have interest interacting with. It is like a gamble choosing an instance.

Making an instance is tedious, and once someone in charge finds out who you hangout with, your domain name gets blocked. Such is socializing.
> Your ESL turn of phrase says otherwise.

It's perfectly normal for English-speakers to adopt the speech patterns and phrases of those they're around. There's nothing to learn by attempting to refute their origin.
That is identical to Scenario B - if the stock is actually worth 100k then they could have sold it for $100k and given the employee $200k as a base salary, while keeping the investor's money in the bank. Obviously there are some tax complexities in practice but in theory it balances out.
I've played around with a bunch of languages, and Rusts' is unequivocally the best experience I've had so far. Cargo works as intended, literally straight out of the box, crates.io and the Cargo.toml was straightforward to figure out. Certainly way less frustrating than figuring out how to use Python virtualenv when I was first starting.
Would a 14% increase in thermal efficiency translate into a meaningful reduction in carbon emitted per mile driven? This is interesting technology, but I'm not sure it will prolong the internal combustion engine, at least as far as mass market consumer transportation is concerned.
Can you explain why the ALTER approach isn't feasible? If you are locking anyway, is it not the same thing?
> pass types as parameters to be altered during execution

Wouldn't that be at odds with static typing?
> Is this really a tech downturn? Yes, some companies are laying people off, with gig-economy things particularly hard hit, but the entire economy is a mess right now. It doesn't seem like tech is relatively more affected than other industries.

If anything, tech seems more insulated. Where I am (Calgary), software engineering job postings seem to have grown. Granted, many of them are not that great jobs for companies that are mostly desperate to get back up and running, but work is there which is more than can be said for other fields.

http://blog.indeed.com/2020/04/30/labor-market-spotlight-job... software is doing better than average.
I can't really tell what you're getting at here. It would definitely track that your juniors know only this stuff, because often times that's all they've been exposed to and usually for a specific type of labour. It's not really generalized knowledge. It's also not difficult, but it's not trivial to explain or get started with, unless of course you're starting at the highest level and glossing over the details. It arguably should be, and at one point it was very trivial.
That's only true if it happens to be true for a specific scenario. If giving some new employee 100 shares (doubling shares outstanding) actually increases the value of the company by at least 2x by some measure, then the investors holding the original 100 shares should be happy.

Regardless, this is a silly, contrived example. No public company is minting anywhere close to 100% of their total share count every quarter in SBC. It'll be a fraction of a percent, probably? And investors shouldn't care, as long as the company is performing well at metrics that actually matter: acquiring paying customers, where the cost of that acquisition is less than the new customers spend. That, and things like efficiency improvements that cut costs, are the only things that actually matter, because those things are what drive stock prices up.
I tried to run Soldier of Fortune for Linux (of Loki fame) and it isnt possible due to 32/62bit compatibility issues.
I cant imagine running 16bit software...
KNIX from Nokia Bell Labs decreased Function startup latency from 200 ms to 8ms
So the real question is, if Mastodon was easily replicable as advertised, are all the contents mirrored to other instances?
Same thing happened to me maybe 15 years ago when I was learning Linux as a 12 year old. Some thing opened vi because my $EDITOR var wasn't set. I spent a good 30 minutes trying to close vi! I tried Ctrl-c (which I had just learned), but it wasn't working. I also tried Ctrl-d! In the end, I just hard cycled my machine and deleted the binary. Looking back, this is probably the reason why I use emacs. I think I be a vi user if this hadn't happened to me!
6 will be licensed like 5 : https://www.embeddeduse.com/2019/12/21/safe-guarding-the-lgp...
Great! Looking forward to discover this.
This is a good example of a productized service that produces case studies: https://casestudybuddy.com/

I'm not affiliated & have never worked with them, but have heard good things and the site seems convincing.
The article links to a place where you can run Windows 1.0 in a browser: https://www.pcjs.org/software/pcx86/sys/windows/1.01/.

Interestingly, even Windows 1.0's notepad had "Insert Time/Date (F5)". I always wondered where that came from, but apparently it's backward compatibility to Windows 1.0.
Beside the official currated one you have:
https://fediverse.network/
https://instances.social/list/advanced
https://www.fediverse.space/
did the same thing 2 years ago, scanned for available domains of known companies, bought pornhub.it and made redirect to actual pornhub.com

to my surprise, there were around 200 clicks per day, mostly coming from italy of course. i didn't want to do anything malicious with it, so in the end i didn't extend. domain was snatched by someone else as soon as it expired.
Task Manager uses CTRL-SHIFT-ESC to open, not CTRL-ALT-ESC.

You can also reset it to defaults by pressing CTRL-ALT-SHIFT beforing clicking on its taskbar icon.
These Aren’t the Phish You’re Looking For: A Technique for Avoiding Blacklists
> It'd be odd to run CI locally

Oh, I would if I could. Conceptually, not very different from running make and fixing any compiler warnings or failed tests before making a commit.

I think that's how a lot of CI gets started: locally runnable tests are automated to make sure they're always run before the commit lands.

Unfortunately automating CI often pulls a lot of server side infrastructure and platform specific mechanisms that break the ability to run it locally. I find it very frustrating to commit, push, wait for server to nag me, fix, commit again, push again, hope it works this time. It just creates a lot of noise and IMO doesn't flow very well. I'd prefer to be able to test everything locally as far as is possible.
India today is the most widely circulated magazine in India and had a lot of prominent journalist associated with it.

Unfortunately in this day of freelance writers, publications care more about views and speed than quality and this has happened to almost all print media be it Forbes(1) or India today.

(1) https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
I'm not sure why I'm replying, but let's say someone asks you to square 1.2 in your head. You think about points on a line?
Off late (since 2018) Dell Latitude has been pretty troublesome.

https://www.dell.com/community/Latitude/Major-Latitude-7390-...

https://www.reddit.com/r/sysadmin/comments/8wbhhv/high_failu...

https://www.reddit.com/r/Dell/comments/ar1mas/the_latitude_7...
True...Story.
Dependent types let you do this. The type system ensures that you have all the types known at every point, and everything is sewn up before runtime - even though you don't know which type you will actually get ahead of time.

Types are values, and types can depend on values - so if your protocol tells you you should be getting a string, a string shows up in the type signature.
Yoshiro Nakamatsu
Why Marketing Flywheels Work
"Good science leads to useful insights. And good science is the cure for bad science.

On the other hand, there are no good conspiracy theories, because they are attractive precisely because they’re unproven, imprecise and non-falsifiable. They’re not actually theories at all. They use confusion to create a sense of comfort and control when it’s in short supply " [0]

[0] https://seths.blog/2020/05/but-what-if-it-works-3/
So the reason "programming pattern" has more effort put into it relative "knitting pattern" is the lack of written sources about knitting?
In all honesty, I think I had a harder time exiting ED (the standard editor), although vim and ED are quite similar in spirit ;)
In many applications I can get 10x faster I/O using stdio.h just by radically increasing the buffer size. It turns out that less you talk to the kernel, faster you are.

/* typically 16 to 32 times
stat.st_blksize or BUFSIZ
is good */

int new_size = 16 * 4096;

setvbuf(fp, NULL, _IOFBF, new_size);
OTPViewMaster
A custom verification code view with in-build validations & Auto fill OTP on keyboard, which can be used for OTP(One time password), verification codes.
History is littered with the corpses of 'better' IC engine designs... the basic problem is you need to retool your entire factory and re-design your vehicles. If you are doing that today, why not just jump straight to electric motors?
If somebody finds a 20% improvement in stdio, every program in the world using stdio benefits from that improvement.
When using a single db I'd highly recommend adding `account_id` to every single table that contains data for multiple accounts. It's much easier to check every query contains `account_id`, as opposed to checking multiple foreign keys etc. Depending on the db you can then also easily export all data for a specific account using filters on the dump tool
You think being stuck inside vim is bad? Wait 'till you're stuck inside ed, in the Unix mode of Z/OS on a mainframe.

... that you can't even reboot.

?
exit
?
quit
?
bye
?
^[
?
HELP!
?
Go back to reddit neckbeard
Do you still have that Xbox?
It is quite easy to pick pick up and make small patches/enhancements to projects written in JavaScript with minimum knowledge. When you are at the point when you are patching tools you rely on, you already know a lot. It is also much easier when you are starting with properly set up existing project.

The situation in article is equivalent of trying to add maven dependency to raw java project without maven, because you dont know maven exists and then wonder why other dependencies are missing or project is not imported correctly to eclipse. That is literally John from article.
It's also in the real dictionary. https://dictionary.cambridge.org/dictionary/english/sod

It comes from sodomy. It's interchangeable with fuck in many contexts.
> For young companies, employees typically believe that their equity is worth more than the fair market value. So if anything, the non-gaap income should use a higher number for stock-based compensation expenses.

That's backwards, no? If employees are delusional and over-value the stock, they'll be willing to accept less of it and be just as happy, which reduces the amount of the "expense".
They just can't do it due to licensing, without releasing their own VAX build of OpenVMS. That's not going to happen for obviously reasons.