skysight-inc/HackerNews huggingface dataset:
I think the thing is that an e-ink display isn't a typical display.

Linux is an xNix. xNix was written for teletypes: a fundamentally scrolling medium.

E-ink does not scroll well. Updating the whole display is bad. It take a long time, it blurs into illegibility, it could even wear out the panel.

Compare to the behaviour of 1980s 8-bit machines.

Examples:

• Sinclair BASIC's knew that scrolling took a long time and was CPU-intensive, and so when it was happening, it was hard to interrupt -- it would be slow anyway, and if you kept polling for an interrupt keystroke it would be slower still. So, when the screen was about to scroll, they prompted:
... scroll? (Y/N)
And you could say no.

• The Locoscript word-processor for the Amstrad PCW range (maybe the best-selling CP/M machines in history, with millions of units of only about 3 models). LocoScript was one of the most polished 8-bit WPs ever. The programmers knew that trying to move all the text along the screen live when inserting would be painfully slow, so when you went back to add a word, it split the text at that point. The next line was moved down a blank line, and so did not have to update or reformat. If you added more than a line, the text below only had to be scrolled once per line. When you were finished and moved the cursor past the insertion point, it reflowed and redrew the text from then on -- just once.

But these are specific niche programs. It's not possible to be so general on Linux because you don't know what program will write what to the screen.

The problem is this:

What you really want to do with e-ink is to fill the screen, either all at once -- no use for interactivity -- or one character at a time (which is doable), and then when it gets to the end.

So how about: a pseudo-terminal that detects when the console is about to scroll, and instead of scrolling, just resets the whole thing, clears the screen, and starts to redraw it again at top left.

Continuous output -- e.g. dmesg or catting a file -- would fill the screen, clear it, and redraw, over and over.

Full-screen editors would need to be aware of it but there are about a million FOSS text editors out there. This is not beyond the wit of mankind.
Before that it was Western Union.

Cash finds it's way.
Silicon photodiodes and LEDs are in the infrared range, so they still can be considered light emitting
And the style (or the missing comments) is really what makes it hard to read.

I am fine with higher-order functions (I do that in Haskell all the time), and letters for variables, but please, please, give your functions meaningful names. Or add a comment that explain what they do.

Code is not only for the person writing it (who perfectly knows what the letters mean, at least for a short time after he or she wrote it). It's also for others who have to read it some day.
Not Einsteins 'The definition of insanity is doing the same thing over and over again and expecting a different result' comes to mind.

"Italy Cremona https://www.youtube.com/watch?v=rfkbv_WQtn0 Italy Bergamo https://www.youtube.com/watch?v=_suhYeWEcJg Two hospitals, not a single patient survived ventilation/ecmo to date" - that was almost a month ago. Even Chinese sources in February put patients requiring ventilators at <50% chance of survival.
See also Emacs Artist mode (1998)

http://www.lysator.liu.se/~tab/artist/
It’s totally useless for tracking “contacts with terrorists”, especially compared to phone records or chat metadata.

Location data is far more valuable for a surveillance state, and it is already recorded in several places, including servers that are easier to get to (legally) than your phone.
6) Trees store an amazing amount of potential energy, both from gravity and bent spring members. Logs seemingly safe on the ground can roll and crush you, falling trees can leap backwards at you from the cut or not hinge how you plan. Search "barber chair" and "widowmaker" accidents. All this with uncertain footing in brush and an angry saw in your tired hand. Be careful out there.
It's a common tendency nowadays, I discovered recently that with the Tandem's web app you can't send a message...
Because he will just get it off her.

Neither should go shopping.

(If they have to go shopping then you'd look at who follows protocols better, women seem better at washing hands but may know more people shopping but don't shake hands)
This was literally the first thing that came to my mind, and I'm being serious.
So no harm including beets, beet juice, or beet root powder in your routine. Might even help. https://www.ahajournals.org/doi/full/10.1161/hypertensionaha...
> What do we do? Keep rewriting everything every 50 years?

Uh… sure? What would you consider an acceptable minimum amount of time to be after which rewriting a large but fairly critical codebase to modern standards becomes acceptable?

> And those ancient Cobol codebases actually have a big advantage: they've been maintained for so long that all the major bugs have been virtually eliminated. Creating a new system from scratch means another 10 to 20 years of maintance until the new system reaches the stability of the old one.

That's not quite fair. Having a known good code base while porting means that you can just rewrite the existing algorithms in the new language and then run some automated tests to make sure you get the same output from the same input across both systems. Unless you're doing a black-box rewrite for some reason, you're not really throwing away all fo the maintenance done on the existing system.
I'm very familiar with the constitutions of both the United States and Germany. From what you're saying, I strongly suspect that you're only familiar with one of them.

The German Federal government is highly constrained in what it can do in many areas of life, because those areas are under the control of the states. This is why there are 16 different high-school diplomas (Abitur) in Germany, for example.

Formally, there is a strong division of powers and responsibilities between the federal and state level in both countries. But in both countries, the Federal government wields a great deal of informal power. The Federal government has access to much greater financial resources, which it can wield to coerce states. My personal view is that this Federal power is even greater in the US than in Germany, due to the enormous political power of the President and the greater financial power of the US government (Germany has to deal with the ECB, while as Trump has shown, the President can directly bully the Federal Reserve).

If Trump had made strong statements about the need to impose quarantine measures early on, that would have had a big effect. There are many instruments at his disposal that he could have used to coerce recalcitrant state governments with. Instead, he downplayed the virus until mid-March, and has continually argued against the shutdown (see his Twitter thread). In Germany, Merkel met with the state governments, they agreed on a set of common measures, and she gave a televised address explaining those measures. She's been pretty consistent in her messaging, unlike Trump. Maybe that's because she's a physicist, and he's a real-estate mogul, or maybe it says something about what plays well in each country.
"If something is difficult to unit test, refactor until it's easy."

This is often a good idea but if you only need the flexibility to enable unit testing then it may make your system more complex than it needs to be. Only introduce indirection where it's really needed. See also "test induced design damage" and "write tests, not too many, mostly integration".
The parent poster is not lamenting that Haskell lacks a trivial sorting function.

They are lamenting that implementing a trivial sorting function in Haskell is difficult.
Hello world,

two weeks ago, I recorded and published my "Introduction to Python & Programming" course that I have been teaching to non-CS majors over the last 2 years.

Materials on GitHub: https://github.com/webartifex/intro-to-python

Playlist on YouTube: https://www.youtube.com/watch?v=3Zns-vfhuic&list=PL-2JV1G3J1...

Question: Because the semester is over at the end of April and I have no teaching obligations until the fall term, I was wondering if I should be teaching the course over the summer. I have no experience with developing a MOOC, so I am curious to hear your suggestions.

My plan was to put one video lecture up per week and then have a Q&A for the students on, for example, Zoom. My university has a big license.

My big observations over the last couple of semesters are that non-CS majors need some personal tutoring. No need to be 1-on-1. Assigning students into small study groups and then talk to the groups is enough.

So, I am basically offering my time once a week for free for any beginner to Python.

Maybe we can start an initiative where other software engineers also volunteer their time in a similar format.

I audited a couple of the standard MOOCs on edX and coursera in the last year and find that especially beginners struggle if they only have a message board to ask questions and not an interactive tutor.

What are your thoughts?
Maybe you work in an American office with me, a mentally unstable individual. You were the first person to get sick in the office, everyone knows it. Now I'm sick and my family is sick. Maybe I take a severe financial hit or someone is my family gets really sick, perhaps even dies. Now I'm VERY upset with you. Maybe I follow you to your car after work... maybe I follow you home. Maybe to the store. Either way, there's a gun in my waistband and I stopped giving a fuck. You sure you want me knowing you were patient zero?
Whoops. Should be fixed now
Use this https://github.com/HackerNews/API
Well Leksah seems to still be an option.
Exactly, the biggest problem is the culture of existing users, which was built up by stack overflow encouraging a competition for internet points which leads to all kinds of antisocial behaviour and attempts to game the system and discourage participation by rivals.
In the real world this approach will most likely lead to getting 6 indestructible wizards instead of 3. Magical staff that needs to be supported by wizards should be shipped to Hogwarts and replaced
It's not like that scenario does not worry me either, sure. From a purely "fight the disease, nothing else matters" standpoint, yes, more installs mean better coverage and would make digital contact tracing work more efficiently. I haven't heard of any western government considering such a reductionist approach though, that would not be a proportional response and honestly a bit bizarre. Even in such a case the proposal by Google/Apple would be beneficial since it limits the usefulness of this data for other purposes, being designed with privacy in mind and far less intrusive than other tracking methods we could draw up.

I would still maintain that this nightmare scenario is a problem with any particular government that would implement and misuse such measures, not with an anonymization effort for the BTLE stack. We absolutely should push back against the former and insist on what's missing for a full system to be implemented in a sensible manner without infringing on basic human rights, that's a worthy hill to die on, this particular aspect is not.
Quarantine at the Edge of the World: Portraits from the Arctic
None. If you're concerned, do not carry a spy around with you.

I know, it's a scary thought compared to 30 years ago, but it's possible.
It would also be interesting to analyse the domain name registrars and DNS hosting providers used.

Based on my experience with the HN crowd, I'd predict that Gandi + Cloudflare would be a common one, with NameCheap closely behind.
Yes, but you can always get back to them and ask for permission.

The point I am trying to make is that the person who is sharing the information takes the responsibility, not the application (which uses it as advertized, at least according to the quotes here as I did not read the tos myself).
Something sure is that when they (OP app) starts sending mail or SMS to user contact to shame him/her, it will definitely be unsolicited mail/sms.

Imagine you have a friend in debt and start receiving such notices ? They’re collecting private information on you (your name, your phone number or your email) without your consent.

IANAL but I’m pretty confident it falls under GDPR.

(Sans parler du fait que les mecs qui font ça sont quand même une belle bande d’enfoirés)
This "going away" is more likely in some places than others depending on legislation and entrenched interests. That said, it's probably going to stick around in the US, if anything pandemic watch is going to be the next TSA where unfathomable resources will be diverted. The only rival to US security lobby is the US medical lobby. Though it'll probably be more useful than security theater in the long run.
Oué :)
The core library only consist of 441 LOC (excluded types and imports). Plus most logics are shifted on the server side, hence only minimal works is required on the client side.

I made this tool because I was frustrated by the initial load time for an Ionic 4 app, and the deep 'DOM expansion' after the web components got mounted.
Origin story of starting my first small business
Amazon should offer this as a service. For a fixed fee, storage on S3 for as long as it remains operational.

The combination of Moore's (nee Kryder's) Law and ability to internally invest the principle should make it financially viable to offer such a product.

But the reason to do it would be the branding. AWS is a bedrock of the internet. Some fly by night startup offers a cloud based image editor, but Amazon is the one that guarantees your drawings will outlast them, and you.

Given Bezos' involvement in the 10k year clock project it might be up his alley even if there's not a watertight business case for it.
Include code/assets in Markdown – a Sublime Text plugin
Thanks.

It doesn't seem to me that having built-in syntax for this is necessarily a big advantage, since Python can easily and naturally work with such databases using the built-in dbm module in the standard library (and has no need for defining the schema up front): https://docs.python.org/3/library/dbm.html

If you do need to define the database schema in code, there are many third-party libraries that allow you to do this cleanly using classes and fields, e.g. Django. Even Java can do this with Hibernate.
The first & last are definitely long standing. The second is rare, but I think it got worse recently. All of these are frequent enough to annoy, but not frequent enough to make the combination useless, since I can reconnect.

I will be giving remmina a shot to see if it improves things, though I'd have rather used a Qt-based client as to match KDE better.
Test the young caregivers for antibodies. Only permit those with antibodies and no viral load to get anywhere near the elderly. Pay extra if necessary, it would be much better than breaking society.
100% natural blend of vitamins, plant extracts and herbs weight loss supplement
The speculation is the issue here. You say "evidence is mounting", but I don't see this to be the case.
In the article you quotes, the evidence is that "some doctors think" but even then, the article concludes that ventilators probably save lives.

No inference can be drawn from data points such as death rates with and without ventilators, since ventilators are not randomly assigned. This is just basic statistical inference and the reason why you don't have ANY official sources or guidelines following your directive.

It would still be likely that the people dying with ventilators would die without them, and there is indication that people that survive with ventilation would not have survived otherwise.

Consider, for example, the correlation of death rate for countries without enough ventilators and those (such as Germany) with enough ventilators available. The difference is very large.

Consider also that Chinese doctors recommend the exact opposite to what you say. A lot of people die from heart or organ failure because of the stress oxygen distress induces.

There are a lot of cases where recovery would be possible if it weren't for organ failure. In these cases, ventilation seems to help.

In that sense, there is clear evidence that ventilators are useful and, at least on a population level, outweigh the risks.

We can not (ethically) run experiments in these situations, so it would be wise to refrain from making questionable analyses based on anecdotal data.
You can take it as read that people who write blog posts do that to share them with the broader community.

Could one of you downvoters please explain why you think people would post blog posts if they do not want to share them? I fail to see how that would be possible.
B2B Designer
> they could make having this app a legal requirement to go in any shop if they wanted

If they can legally mandate an "app" they can mandate me having a device to run said "app".

It'd be absolutely absurd to mandate you having a spy with you at all times to exist in society.

"Sorry, don't have a phone, kthx", "Sorry, my phone doesn't use gapps, it's using a custom ROM", and what about these Linux phones?

Yeah, that's not going to work.
>(which isn't an issue given they get many notifications during that four months)

I assume users can turn notifications off though? Almost nothing on my iPhone is allowed to send me notifications.
Appreciate your work. I know it's hard to get response from the internet of block hole, so here's a cheer up
not that that doesn't happen, but in the context of the thread here, I imagine it wouldn't happen (or be more rare). You're needing to hire senior COBOL experts, and the 'senior' part is where the sort of behavior you're describing doesn't happen as much. Usually it's a mixture of confidence in your own ability, a dislike of politics, and an assurance that you can get work someplace else if/when you decide to leave.

The people that 'snitch' and feel 'under appreciated', and so on... my experience is they have trouble keeping work, are afraid of being found out, and do what they can to get rid of others who can recognize their lack of skills. I just don't think you'd find as many of those getting hired in the context of the needs of this thread.
Been there, made all the mistakes. In small fin-tech startups no less. My advice, assuming you have some sort of product market fit:

1 Clean up shop. Set expectations & bounds. Throw out your backlog. Tell everyone you will release one BIG THING and X minor bug-fixes every month. Your job is to give the engineering team enough space to do their job well (including refactoring, compliance, security etc). And its their job to make sure that one, well specced, well sized BIG THING releases on time.

2 Business team, with your help, has 12 attempts a year to try to release features that will significantly up the growth/revenue of your company. Make yourself available to them to learn more about the customer and business needs and spec out your BIG THING each month. This has to involve a huge amount of actually talking to customers. If not, its pretty much guaranteed to fail.

Seems basic but theres a lot packed into the rational, like:

- Non-tech folk don't know what a big thing is, so you have room to play and overdeliver (important for your engineering team moreso than you).

- Reduced feature throughput generally means you only focus on those features that tilt the needle. Cant underestimate how important this is! Esp if your a fintech startup. Our products are notorious - 5% of features account for 99% of usage.

- Reduced feature throughput also allows you to spend longer speccing / talking to customers & business teams reducing the risk of mid-development scope creep or problems on release.
You didn't list any actual game titles, just game makers.

Also quoting someone saying that C destroyed the ability to make compiler optimizations is a little strange when that has been at the core of most software for decades. It's bizarre how much you try to argue about things with mountains of evidence to the contrary.
Catholicism has a long storied history, so there are provisions for almost everything.

I remember in school learning that if you were on shipwrecked on a desert island, you or anyone else could perform sacraments yourself and they would count just as well as if they were done by a priest.

This is the practice of “spiritual communion”. In modern times, it has most notably been used where a person is sick, or otherwise inaccessible to a priest (e.g. stuck in a mine shaft or on an oil rig or in space). This is currently what the Catholic Pope is promoting.

There is also a happy debate going on about if you can perform sacraments via the internet. There is nothing liturgical about distance to the participant. The rules regarding sacraments are more about intention and who is performing it. Some priest believe that physical presence is always unimportant, but our slow moving Papacy takes a more conservative stance.
How long until isolinear optical chips, then?

https://memory-alpha.fandom.com/wiki/Isolinear_chip
No you don’t, the restaurant industry isn’t “too big to fail”, people can still eat food. And new restaurants will absolutely pop up to replace the ones that were gone, especially if they are lured in with discounts due to the excess supply of restaurant real estate.

Only the best restaurants with strong support for takeouts and deliveries will survive, and that’s a good thing.
Why not implement all your solution and contact tracing, won't help you to know that the person you sit near in a bus/plane just died by an infection diseases? Maybe you are doomed but you might just save your family. The next virus might affect children not only elders, we need to have every possible tool at our disposal including PPR, test equipment.

Maybe contact tracing is late (or maybe not) but is good to have a good system ready when the next one might appear.
Except if the app user went to their contacts to ask them for authorization, as they should do under EU law.

If they do not, they are to blame because they willingly shared the contacts. The app used them per their tos.

(et oui, je suis d'accord que c'est un vrai dick move, aparamment c'est une pratique courante en Inde pour ce genre d'apps)
I know it's a bit side tracked, you may consider to use FOSS alternative of Zoom, for example Jitsi.
What, so you can more effectively spread a dangerous infectious disease?
Celebrate Apollo 13 at 50 with NASA's 'Home Safe' documentary
We have tons of those in Central Texas! But they're not aggressive at all, if a little curious. Definitely huge. I've also seen a few tarantula hawks, which look very evil.
Beside showing videos lecture. Setting up interactive exercise maybe helpful to some type of students. Example like codeingame.
Oops. Of course it's nonlinear. My bad.
I wonder if we're in danger of p hacking here. Suppose in the scramble to contain the outbreak, everything is tested for efficacy against the disease. There will surely be some positive studies just due to luck.
Thanks for the advice! I went in and sorted the tables. I love Markdown for its simplicity and forces me to focus on the content, but sometimes simple things like sorting a table are a pain. Such is life.
BlueTrace policy brief on the experience of using TraceTogether in SG
I think we can all agree that debugging languages with lazy evaluation is specially hard. To effectively use Debug.Trace you actually need to add strictness and that can be fundamentally incompatible if you do intend to use the full power of lazy evaluation.
We've had great results with Pydantic models. https://pydantic-docs.helpmanual.io/
“ Comments on the Joan Home are welcome - as we're actively thinking of developing this into a more feature rich product in next two months.”

Just giving my feedback. Like I originally said, it’s a cool product, but it’s got a price tag that makes it not a “Home” product like you just said.
Indeed, the word wizard was perhaps ill-chosen. These guys know this particular codebase, in all it's hairy glory, but not much else.