skysight-inc/HackerNews huggingface dataset:
The whole book is pretty good. After reading and applying the earned knowledge one wishes the book would be longer, with more material covered, but there are other books on J, essays and phrases on jsoftware.com, articles and forums - especially forums.

This book is quite suitable as a first book on the subject. It's a good reference, too, for basic mechanics; for style in organizing longer thoughts one would go besides the book.

There easily could be a few "aha" moments while reading. One could be in the discussion on verb ranks - then the words at the beginning, about the general commanding the army as a whole, becomes clearer. Another is a classification of loops - an unusual viewpoint for traditional C approach.
A better example is perhaps behavior that shouldn’t be relied upon: a standard library unordered collection (Set) where the implementation for 10 years preserves insertion order but says in the docs not to rely on it. Lots of programs have deliberately or not relied on it. Then suddenly it changes impl to one that doesn’t preserve insertion order for slightly better perf. You don’t want the std library developers to worry about existing code as long as the documentation always said “don’t rely on insertion order”.

Same with a list sort that is stable but never guaranteed it would be, then turns unstable much later. I was bitten by this one in .NET as were many others, and as a response the developers added hacks into the code to simulate the old behavior it detected the code was built against the older lib. That didn’t make the problem easier to find...
> You're ignoring the potential effects on property value.

Bingo. Surprised nobody else brought this up. Not to mention the neighboring home/property owners are going to be pissed off because it's a potential drag on their property value. Though the stigma against section 8 may not even be warranted. I wonder whether there are any studies on the effects of section 8 on communities.
I used hunt and peck for years before learning to touch type. After four years of touch type I'm still fairly crap. If I try to speed up i commonly get the letter order wrong of two successive letters. I'm a lot better than hunt and peck but I'm kind of disappointed. Would it be a major job moving to Dvorak and can you expect big improvements?
Also is it better for the keys programmers use that others don't use so much like += etc
Linus actually matches the standard in that one, interestingly.
Happily using GitHub Classroom for programming assignments for the interview process at work. HR has the URL they send to the assignment, candidates do the work and create a PR, and then HR assigns developers as PR reviewers when the candidate is done.
AZERTY (French) here with numbers accessed through shift and brackets through AltGR.

This is a horrendous layout. Bonus points for it being slightly different on Mac and PC.

I have absolutely no idea how people can use this layout for programming without going crazy. I don't program full time, I mostly do sysadmin work, and even if I don't think that typing speed is a limiting factor for how much code I can write, I do find it extremely annoying to type certain characters which are used quite often.

Regarding language I type equally English and French so I absolutely love the Mac OS international layout: QWERTY so everything is where you expect it but with ALT I can get pretty much every French character I want, easily. This could probably work for German, too: ALT U + U = Ü. ALT + S = ß. I'm not sure about other nordic languages, though.

I love this so much that I configured my linux and windows pcs to use the same layout. Some characters take somewhat longer to type (three different key strokes for ù instead of one) but I guess that for someone not writing exclusively french prose the tradeoff is completely worth it.
Yeah, I suppose you can be a realist or pessimist to a degree and live without anxiety. I think a lot comes down to how you attribute negativity. Take the riots going on at the moment.

An extreme optimist might say they're just another bad-luck event from 2020 (transience) that'll be sure to cause societal reform (positive outlook) and it doesn't have anything to do with their behaviour (externalising).

A realist on the other hand would recognise that the riots are a sign of a deep rooted problem with American society, that the riots may not lead to immediate reform but have the possibility to act as catalyst for changing some things that are wrong with society. Depending on who the person is, they may recognise they could be doing something to help with the problem.

An anxious person would take the negative aspects of a realist's position and make them personal, important and extrapolate out in time and domain. They might think the riots highlight how deeply racist humans are by nature (personalising & extrapolating), that the riots will cause economic instability or violence that will affect the person's life (extrapolating and importance), or that there's really nothing this person can do to change anything (generally feeling helpless).
> the pure simplicity and sheer genius of iMessage’s “SMS backwards-compatibility” approach that upgrades iPhone-to-iPhone communications to iMessage while transparently falling back to SMS or MMS where iMessage was not an option.

This "simplicity" comes with a price. If your primary SMS device is non-Apple and you sign into iMessage from an Apple device, iMessage will start eating your SMSes from anyone texting you from an Apple device.
I use mostly the NDK, and as incredible as it may sound, I occasionally do miss Symbian even with its clunky Symbian C++.

At least Symbian had a proper C++ API, not a bunch of C wrappers to Java and C++ code, expecting everyone to write their own wrappers and cloning half maintained github repos released by someone on the Android team.
> Sweden's approach is clearly one focused on long-term results. If Covid sees a resurgence in the fall or as nations return to relative normalcy, we can expect the infection and death counts to be multi-modal in most nations, while Sweden's might be a bell curve.

Other than geometric tidiness I see no point in your comment.

In fact, it ignores the denial of service impact that an epidemic has on a national health service, and plays down how it advocates for a population culling.

Perhaps it's time to relearn the basic principles and merits of "flattening the curve", not to mention the benefits of gaining some time until a vaccine is developed.
> That "3 hours" mean that you're likely to loose one of the relatives or friends who are in high risk group. Suddenly a month of lockdown is worth to give your loved ones years or even decades.

Not even close. For example, no one I know has been directly hurt by the coronavirus. And neither has anyone they know, including my friend from Wuhan.

(Why "directly"? I do know someone who had a mental breakdown related to isolation.)
800 mg once, followed by 600 mg in 6 to 8 hours, then 600 mg daily for 4 additional days

(The second link in the first paragraph takes you to the NEJM paper.)
Can you name a single android phone that is superior in performance with last year’s iPhone? Can you name an android phone that will be stable and up-to-date 5 years after it was released?
You don't protest when you're in power. The fascist mob is rioting however. You missed it because they wear badges.
Testing capacity has been increased. The amount of negative cases is going up. Positive cases are going down.

https://vida.io/dashboards/ck9thqbxl00000umrd0u2pmdj
Windows 10 does have a build-in PDF reader - Microsoft Edge. Also Windows 10 includes the virtual "Microsoft Print to PDF" printer, so this issue isn't really much of a problem unless the user in question (who also runs Windows 10) is using some special features in the Foxit Reader's Print to PDF tool.
> do you train you brain to remember the key positions so that it doesn't matter what character is printed on a key?

Yes.

> how do you _learn_ the layout then?

Using an image of the new layout, and by doing drills. If you care about touch typing, you're training to type without looking at the keyboard anyway.

This is how I learned to touch type on Dvorak years ago. I had never learned to touch type on QWERTY before, and I still can't. But then again, I typically don't type on other people's computers and when I do, I look at the keys.
> You don’t want the std library developers to worry about existing code as long as the documentation always said “don’t rely on insertion order”.

Sometime practicality wins out and the change is reverted when it breaks everything. It’s nice to come up with purist views, and in this case being able to point to documentation and say that the entire world needs to change is the morally high stance to take, but it’s not always what happens. (Some may say that this is what needs to happen to undefined behavior, but that one’s still up in the air. As it so happens I am on the “read the standard” camp…)
> [using] an artificial language to understand real life

If anything, it seems like the study of an artificial language may lead to a better understanding of the human mind. And the "meaning of life" arguably can only be found in the mind, not in the "real world".
Generally agree but not that they are deterred by punishment alone, no. They will do whatever they get away with. Which would imply - “the right thing” must also be objectively better to the individual, not only backed by moral+force, for it to work generally.

(Not to mention the sociopaths are already present in politics and police. Drawn to power)
> Delaying the spread also buys time to develop therapies and vaccines.

I would also add that delaying the spread also contributes to making it progressively harder to get the disease to spread.
Because you'll spend a lot of time chasing down bugs that are actually issues in the compiler. Unless you're trying to vet the compiler itself, this won't improve your software but cost you a lot of effort.
I learnt Dvorak 6 years ago and now type exclusively in Dvorak on QWERTY keyboards (currently a Microsoft Ergonomic). I have never used a keyboard with a Dvorak printed key layout. I think my Dvorak typing speed is still slightly slower than my old QWERTY max, but it feels much more comfortable typing for long periods, and less effortful.

The printed keys don't mean much - to learn to touch type correctly you shouldn't be looking at the keys anyway. I used a few typing games to start and then switched cold turkey for a few activities that didn't require speed (like responding to emails). It was, indeed, very frustrating.

That said, I don't recommend switching for most people, because you will get much worse at QWERTY and when you occasionally need to type it (like on a colleague's keyboard) you will appear incompetent; you will ruin your muscle memory for keyboard shortcuts; and, because standard Dvorak is not great for programming IMO due to the position of the [{ and }] keys. But now I'm in too deep, and I know from experience how hard it is to switch so I don't want to switch back!
I did Nand2Tetris in Python as it was what I was familiar with at the time.

I think using a much stricter language like Rust would have saved me a lot of heartache.
Not just a hypothetical — during the December bush fires in Eastern Australia some towns were left without telecommunications when cell towers and power lines were burnt down. People ended up relying on AM radio for fire and road info, and HAMs set up temporary radio systems until things were restored.

e.g. https://www.abc.net.au/news/2020-02-01/amateur-radio-skills-...

Atlassian founder Mike Cannon-Brookes helped get solar power set up for the cell towers that were left without power:

https://www.sbs.com.au/news/the-feed/atlassian-co-founder-ro...

So your best bet is to have a working battery-powered AM/FM radio and a solar panel to recharge the batteries.
for average keyboards you don't rearrange keys, they are shaped a certain way that would make weird ridges. either ignore keycapa or print / buy stickers of other layouts is easiest
There is no country where lockdowns have lasted for only a couple of weeks.
I rarely see this in existing applications. The backend strictly produces an API and statically serves the frontend. The frontend accesses the API as an API client.

I don't see people complaining about not enough node in the back, in general - the only thing I see is having to use node to do prerendering/SSR.
New Zealand is interesting because it's an island (2+, really), mostly rural, relatively isolated from the world, and caught it early. At some point they're going to open up, and someone with a 16-day incubation period will slip by and spread it. Or someone from a container ship.

The first US fatality was reported on Feb 29. There are reports that it started spreading in the US in late December. It took two months to notice it, 3.5 to panic. That said, people are looking for it now, so that helps.
Looks like an average compiler bug rather than malformed code?
In today's interview with Times, Minneapolis Mayor Jacob Frey said he doesn't have power to change police union contracts. So, something rotten out there. Best option for Minneapolis is to disband the police force just like Camden, NJ did. For more, check https://www.startribune.com/here-s-why-cops-can-t-be-held-ac...
Zombie Company
It is a fuck up. Ignoring a sequence point (function call) is serious business. Probably a too agressive inlining.
>"Zombie companies are indebted businesses that, although generating cash, after covering running costs, fixed costs (wages, rates, rent) they only have enough funds to service the interest on their loans, but not the debt itself.[1] As such they generally depend on banks (creditors) for their continued existence, effectively putting them on never-ending life support."

Comment: I am not a finance person, but the pattern above sure sounds a whole lot like revolving credit to me, that is, what revolving credit is to credit cards, this seems to be with respect to corporations, to big businesses...

Also, let's remember an old economic identity: One man's debt is another man's free money (or interest, if you prefer that term)...

That is, something that looks terrible from one perspective -- looks great from another perspective that is 180 degrees reversed... the perspective of the lender...
Thank you! This is very relevant! Now I get a zoom meeting with my friends aaaand, chatroulette, here we go!
sqlite testing is pretty involved, and impressive. There are articles written on this, such as: https://www.sqlite.org/testing.html
If you’re SQLite, you generally do care about popular compilers converting your code into something wrong because you care about your code doing something wrong in general. If there was a bug in Intel processors that made SQLite fault randomly during tests, I’m sure they’d be interested in that too.
we could be sweeping something else under the rug: knock-on effects of the shutdown. people are somehow just starting to realize that there's worse impacts of shutting down the economy than lower share prices. people go hungry. people riot. cities burn. innocents get killed throughout the whole process. we're just getting started if the economy doesnt turn around quick.
There's one more advantage to client side analytics, though maybe you meant to cover that under "Usually easier to setup": it's the only option if you host your site on a platform like Github pages. The problem is, you don't have access to server-side logs on these platforms.
Seems like you could get this exact statistic by having 20 million or so low earners lose their jobs - as in the shifting average (not talking about unemployment cheques)
Not when you consider how oddly ubiquitous Office was in classrooms (though it may now be seeing competition from Google?). It’s a brilliant sales strategy. Get paid now for professional training of your software, then get paid again when the kid enters the workforce and expects their company to have the software.
I quit my job to work full time on my startup
Learn what a Web API is in two minutes or less
I've pulled keycaps - I lost use of my left arm for half a year about 20 years ago, so I switched to one of the single handled layouts that is available out of the box on windows, I switched the key caps on an old IBM PS/2 keyboard (amazing, metal body, mechanical). This has the obvious advantages, and only takes 20 minutes or so, but when I've used other layouts more recently, I've just used blank keycaps, it breaks the habit of looking at the keys
Wow. There’s been a lot going on lately?
Great! Subscribed!
Last time I tried SBCL didn’t work. Emacs also acted funny under powershell’s terminal emulator. I guess it’s better now with WSL2.
I use SMSes for communication with people I don't know. For example, when buying/selling used stuff. For known people it's mostly FB messenger and WhatsApp, but sometimes also Skype and Viber. And then Slack for job related communication.

Different people use different channels, so I use different apps to be able to talk to anyone I need to.
Relax, it’s a bug in a prerelease version of a compiler that was caught early and fixed promptly. Sure, it’s a bug in an important part of the compiler, but there’s not need to call foul.
I find so tragic that Android is worse than J2ME in regards to fragmentation, worse than Symbian/iOS/Windows/Maemo/Jolla in C++ support, at every Google IO we get the best practices rebooted.

Oboe and Vulkan are very good examples how clunky everything is.

Here we have two API that are supposed to be relevant for the platform (real time audio C++ framework) and next generation 3D API support, for which we get told to clone github repos, compile everything from scratch and do the integration with the applications ourselves.

Comparing this with iOS SDK and XCode templates is just feels like having to nuke it all.

I have been moving away from NDK to WebGL 2.0 / WebAssembly, as it is good enough for my interactive demos and Chrome team at least seems to be a bit more sane.
> If you do the math, Iceland lost about 120 extra years of life

The problem with "extra years of life" metrics is that they artificially play down the death wave on older segments of the population, as if those dying from covid19 who happen to be older than 40yo should not matter to society.

The consequences of this nonsensical pick of statistics indicators is that a death wave of thousands of people per day that happens to hit harder on the > 40yo segment is watered down with "all this just to gain 3 hours of life" nonsense, as if all the coffins were only piling up because instead of being delivered on scheduled they needed to be delivered 3 hours earlier.
are keyboard layouts like a time sensitive matter? qwerty is from the 1800's and dvorak is from the 30's. By comparison this article came out yesterday.
I like GoAccess for following reasons:

* No javascript.

* Does not need a database.

* Realtime stats in html format.

I use it in my blog, but also believe, that the numbers are completely inflated. I don't trust them. This has been discussed on Github a few times [1], so don't expect accurate numbers (yet).

It's also hard to see what's going on recently on you server, because you only get totals. I'd love if I could change the time interval of the shown html stats.

I like the way GoAccess is going though and I hope it will improve.

[1] https://github.com/allinurl/goaccess/issues/964#issuecomment...
For a while I have been using USB drives to store semi-current files. Currently a 128Gb Sandisk Cruzer as it's always plugged in and allows me to keep the MBAs 128Gb drive 1/3 empty.

To keep it sane I have everything stored in dmgs that once full either get archived or copied across to the next USB. (I started this process using a 16Gb)

I currently have:

Projects (32Gb for PDFs: proposals, briefs and other project specific docs and files)

Software (8Gb: 2/3 full)

Fonts (8Gb: 1/2 full of fonts, icons and svgs)

Docs (8Gb: mostly empty but for references, api docs, etc)

The free space is largely taken up with virtual machines that I copy across to the MBA HD when needed.

Backup is quick and easy as you backup the dmgs.
Same for archiving as you name the dmg file with the date range.

I do have a few dmgs that are "stuff", but generally anything important goes straight from email, dropbox, etc to the drive. Everything that ends up in ~/Downloads is typically deleted.

The 2Tb primary backup drive though is a different story. When you hit files with 8.3 names you know you're in deep. It's about due to be replaced with a 4Tb.
What happens when a burglar is shot by a home owner and there is a dispute on whether or not it was justified? Almost every single act of self defense would be heavily disputed. You would have "vigilantes" dispensing what they see as justice by trying to apprehend the home owner, who would then again be forced to defend themselves. You would need a higher entity of authority to arbitrate these disputes, possibly with lethal force, which would essentially be just another form of police.
Precisely. I've simulated this numerically and shown that the curve of [deaths]-vs-[duration of widespread economic crisis] is concave, like an inverted parabola that's been truncated by eventually getting a vaccine (or effective treatment).

Perhaps counterintuitively, the points on the strategy curve that have both lowest death counts and shortest widespread economic crisis are the same. I've published these simulations here: "Surprising COVID-19 Strategy: Reduce Economic Damage and Deaths Simultaneously" https://www.youtube.com/watch?v=NuNrkG188HA
Ah, that is correct.
It's possible that, since China and Vietnam have a free trade agreement, that there would be some misuse (https://theintercept.com/2015/11/11/trump-was-right-about-tp...), but you're right.
When we raised our seed we had already launched two mobile apps and had existing user data (as well as being based on an existing study).
(BTW I love how the downvotes confirm my point.)
In The Netherlands (and most of Europe probably) for normies Whatsapp is definitely number 1, although most people will simultaneously use Facebook/messenger. Within businesses Microsoft Teams is starting to get popular, whereas Zoom seems to be more of US thing.

Wealthier "normie Apple families" use IMessage, but they'll always have a Whatsapp account on the side to talk to "the others".

Dutch nerds/early adopters will sometimes use Signal, but it's definitely not a thing most people know about. Telegram is even rarer in my experience.

French government uses Matrix/Riot.im

There are exceptions to the above though. I don't use Whatsapp or IMessage at all and never used it for more than a few days total in my entire life. My main messaging app is Signal and I'm totally fine. Got about 50 contacts on there and that's more then enough :D

Nightmare scenario for me: Google successfully integrates whatever there newest messaging brand is into the Android messages SMS client (now rebranded to Google messages) and all Android users switch to that because it's default. Result: Google messages becomes IMessage for Android, including the vendor lock-in with added tracking as a bonus. I feel this is happening.
To protect processes from snooping by other processes on the same core with disabled SMT.
Sorry, professor, I simply don’t make mistakes.