skysight-inc/HackerNews huggingface dataset:
I agree with you about parks and beaches.

But restaurants and hairdressers are known to be places where COVID-19 can be actively spread to large groups of people. And gyms are even worse.

We should be encouraging people to go outdoors, and to not congregate in large groups.

Finally, bear in mind that public officials, like scientists and laypeople, are just figuring all this out, too. It's a novel infectious agent, after all. But it's important to self-correct quickly.

Ironically, it looks like masks may turn out to be one of the most effective interventions, yet there's a huge political backlash against them that many pols are stirring up, so 20-30% of the country will never wear them.
Of course they don't even manage to link to the detailed post they quote...

That post was also submitted to HN by the author: https://news.ycombinator.com/item?id=23154886
If you're an Apple user, subscribe through their in-app purchase with Apple. Apple lets you cancel monthly subscriptions fairly easily.
Yes, but then most organisations just do daily standups without any clear goal, use Jira and have two-weekly planning meetings and then say they're doing Scrum.
Much better, because what the heck is "internet speed". The most sensible definition to me is payload over IP protocol possibly on an existing commercial link. That's the only way I see relation to internet and the internet.
Should I use this as an everyday hash function (for non-security purposes)?

I am always interested when these get attention, but I don't know enough about the implications to switch over from just using SHA.
I got my daughter a Huion tablet and a laptop in the Chromebook price range. It did take a bit of work to get everything working for her in Linux, but it works great. She loves it and draws a ton.

I also bought a HP Spectre x360 recently. Krita works really well on it too.
But the little green padlock was there! It must have been OK.

My company has just decided to enable 2FA in order to combat phishing. I'm not sure how this would help. What amazes me is that we allow HTML email at all. That alone would greatly reduce successful phishing attempts. Requiring all emails to have valid signatures doesn't even seem too difficult for an organisation.
This project was also submitted to HN by the author: https://news.ycombinator.com/item?id=23154886
PhotoStructure has image comparison heuristics that is used for deduping, but would enable pairwise similarity grouping. I'd tried some transfer learning in the past to rank photos, but found it to be unusably noisy. I'll be trying again, though, with some new approaches. Fwiw, your PhotoStructure library has a carefully designed schema to let SQLite queries like this be trivial.

It's an interesting idea to let users pick bests out of near duplicates (and maybe prompt the user to workthrough this UI flow on album creation). I've put it on my to-do list!
Show HN: A dependently-typed programming language with static memory management
There are some very hacky ways that involve special add-on cards for the motherboard, special motherboard model requirements, gpu connector requirements and even special software to adjust the brightness.

It is doable, but it is expensive, and it may or may not work properly. One example that I remember is one where some users who attempted the above setup reported that they need to unplug & re-plug the monitor after it sleeps.
> Sell something that sells. Sell what other people sell because that is what sells.

Agreed. I tried for ~3 years to sell ‘general development services’. Got tangled up in mobile apps, SharePoint, web development, basically anything that I didn’t consider to be “IT”.

It was a financial and professional disaster. The solutions all sucked, because I didn’t have deep expertise in anything and there was never enough budget to “do things right”. There was no opportunity to develop any kind of reputation for anything. It is insanely hard to sell “well, I can build things”.

As soon as I started focusing on a single, well-understood, boring business problem (“we need a good website”) everything changed. I started getting good at it, margins became healthy, referrals started to happen. Try getting a referral when the problems you solve are too vague to describe.

> There probably is someone who might buy that. You are unlikely to find that person because there are not enough days in the world for you to meet them and close the sale.

If there’s a market for CTO-as-a-service, or anything really, you need to be able to reach it. A hyper niche service can be OK if you can reach the people that need it. Broad markets can be just as hard because you tend to need to reach lots of people (think advertising). For me, the sweet spot turned out to be “small to mid-size regional companies” because you can identify them and sell to them as a freelancer.
I also always wondered why sqlite isn't used more in websites. Especially if you split heavy write workloads to a separate database file it scales quite far.
One thing that's not clear to me is the advantage of living longer.
Why do some people feel the need to live longer?

When I hear of blood transfusion and such, it also feels like a lot of these technologies are being developed by snakeoil salespeople to other nongullible but strictly egocentric humans.
Yes, the headline was rather shocking to me! What a misleading article, it's very disappointing.

I know folks in Japan and life is anything but normal there. They didn't need a "lockdown" because of Japan's strong culture of conformity, and people take recommended precautions seriously.

Restaurants closed, schools closed, parks empty, everyone wearing masks, lots of social distancing.

The scale of the public's participation vastly exceeds that of the west -- there are little to no "nay-sayers" or people ignoring the rules. It makes a pretty big difference, evidently.

Anyone speculating that "Japan did less than the West and had an easier time how bizarre" is missing the forest for the trees.
At least the first several google results look pretty explanatory to me?
Definitely not back to normal in SEA.
https://news.ycombinator.com/item?id=23262785
Trump drug hydroxychloroquine raises death risk in Covid patients, study says
I asked myself the same question.
Unfortunately this isn't addressed in the article. But I think that the glacier researchers probably though about it.
I prefer the multi monitor setup and use at least one in portrait/vertical mode. Fits with my ide and jupyter notebooks
Most people don't realize that Excel (like PowerBI) has an in-memory, compressed, column store database inside of it.

Loading hundreds of millions of rows into it takes a while, but given a commensurate amount of RAM and a reasonable data model (single table or star schema), performing aggregations with a pivot table is pretty snappy.
It's pretty common actually. They will delete all your data, but that requires strong authentication, which government ID is. That's how it works with gdpr in 90% of cases.
I think the maintained equivalent would be in the Rust API guidelines:

https://rust-lang.github.io/api-guidelines/naming.html#ad-ho...
I, for one, prefer my bibles with interspersed lines of Ancient Greek, so that you can interpret yourself. Our language will never keep changing, but the source remains the same.
That's basically modern C++, if you cut out all the things that aren't slices, destructors, and copy/move semantics.
I don't have one of these grills, but I'm willing to bet that you cannot monitor the grill temperature without a connection to the Internet. Because even though it's trivial to set up a wifi LAN-only connection, Internet-of-shit products never, ever work that way.
Wait, nginx just truncates when it reaches its max length, rather than error? Wow that is surprising and dangerous.
There is no way I would trust an Intel stock cooler with a $400+ CPU. I might trust an AMD Wraith cooler, but I'd still probably at least drop $40 on a Hyper 212 EVO or NH-L9i/a depending on the case.
So then if you use a html2pdf tool you can generate a pdf people will think was done with LaTeX! Here I wasted all that time learning LaTeX to impress people.
All I see is lots of brittleness and potential failure points.
Gmail is popular but in the grand scheme of things it’s not that popular for email. I’m sure that most people get most of their utility from email from their corporate email. Their personal email is mostly used for distant relationship type communications. Most personal interactions these days happen via messaging and social media. AKA “Email is for old people”.

Also, a lot of computer use is via mobile these days and I doubt too many people are using the web interface on mobile for gmail.
Nope, they're trying to keep cashflow coming in.
In my (recent) experience, periodic charges are automatically applied to a new card, even if it has a new number. For your convenience, if you forgot to update your payment info...
On a similar note, about Mongolia: https://news.ycombinator.com/item?id=23278312 / https://medium.com/@indica/covid-underdogs-mongolia-3b0c1624...
This article could help:

https://www.moesif.com/blog/technical/sdks/Best-Practices-fo...
Good article, but discussed just 10 days ago.

https://news.ycombinator.com/item?id=23153640
The process of renting a car is one dark pattern after the other

I also despise dark patterns that car rental involves. Fortunately, two things make it easy to rent a car from Hertz (or probably any other major):

1) work for a company that has a corporate rental agreement with Hertz. All the bullshit about collision damage waivers, liability insurance, etc. just goes away.

2) sign up for their "rewards" program (the name differs by company). This puts all your important info into their computers. That way they aren't constantly re-entering info from your drivers license, etc.

3) There is a third option. You should rent trucks instead! :)

Just kidding about trucks being a real alternative. But whenever I rent from U-Haul it's absurdly pleasant, compared to renting cars as an individual. For example, the collision damage waiver for a car rental can be $30 a day or more. The same thing was only $10 on my most recent U-Haul rental.
I've used photos on an external drive, but it must be afs+, and don't expect it to keep working past ~100-200k images. My frustration with photos helped motivate me to write PhotoStructure.
One sort of workaround is to subscribe through Apple. Then cancelling is as simple as toggling your subscription to Off. As an added bonus, when you subscribe this way, you do not even have to give the NYT any of your contact info - Apple has it set-up so you can use randomized tokens to login. One of the many things I appreciate that Apple does.
Should vulnerable people be left to fend for themselves without government intervention? What's the issue with laws that prevent the market from abusing it's position of power against vulnerable people?
The Wolf of Wall Street? Perfect time for a favorite parody - "The Wolf of Buzz Feed" https://www.youtube.com/watch?v=vU1EiKys_Uk
This should probably carry a date stamp; my guess would be that it dates from 1990 or so.

Most of the advice is still good, but I would object to (3):

* Excessive casting can be a problem in itself, as it hides genuine type errors (e.g. you think you're casting an int to long, but in reality the variable is a pointer)

* Casting NULL is pointless, as it's already defined by the standard to be a pointer constant, compatible with all data pointers.

* Much of the language about "prototypes" (a.k.a. standard C) was justified at the time, but no longer reflects reality nowadays. It would have to be a very exotic platform that still uses a pre-ANSI C compiler.
Alignment should be done system-wide by orders of magnitude. If you are on a breadboard, get everything to within a cm of final location, then everything within a mm, etc. Don’t ever spend more than 1 minute at a time on any component. This stuff was not in the textbooks.
Thank you, so not yet an option for me; I doubt my posture and sitting position is regular enough that calibration would work for me.

Might, at some point, be a welcome addition to a touch pad though. If you touch the pad and your pointer is far away to where you're looking, jump to the area and do the fine tuning with the fingers.
In Germany there is.
Microcenter has it bundled with a Gigabyte B450M motherboard and a CPU cooler for $442.98.

That would have been around $575 before.
I like static type systems because I don't like the idea of branching on types at runtime.

So if every value is going to have one type anyway, I might as well check what it is before runtime.

Lua has some functions that will take different types and do different things with them, but I'd rather do that with polymorphism than with dynamic types.
If a Book Is Published in a Pandemic, Will Anyone Read It?
I'd love to buy a foreclosed or discounted island.
Last I checked, Citi's virtual card feature inexplicably requires Flash. I was like "I thought that was dead?"
We will be able to make comments complaining about bloated JavaScript libraries at lightning speed.
As in like Java Bigdecimal, with a BigInteger on the left side, and a fixed precision on the right?
Japan is certainly exposed to all strains because of air travel in the first couple of months. So if there is a less virulent strain it would lose to the more virulent strains out there.

Europe as a whole didn't struggle. Just look at eastern Europe or Greece or Portugal. Only parts of Europe struggled, and specifically those parts that reacted in the worst possible way, by e.g. putting sick people in nursing homes. In the US it's the same story. Most states are doing fine, and a few states royally f'd up.
> Ammon didn't mean to betray anyone's trust.

Sure, they sent out an innocuous-looking email that didn't actually describe the important details of what was happening, on a Friday, hid opting out in low contrast on a page where it would be unexpected to find it, and made deleting accounts so difficult that I would have never found it if someone hadn't posted it here, and it requires a government ID to do it.

But sure, all these dark patterns were unintentional--they didn't mean to.
Account removal should be just as easy as it was to sign up
Jim Keller needs competitive technology node to work on.
I guess the list of things keeping me off catalina (and, by extension, new Mac hardware) just got one item longer.

I recently bought a new System76 laptop as a stopgap, but it might end up becoming permanent. Kind of a sad end for 25+ years of Mac use.
16-bit x86 also had the interrupt handler table at linear address 0, I seem to recall some compilers for DOS that would make NULL point at that.
I usually like to have some Client object that’s responsible for establishing connections and performing unauthenticated interactions with the API. For things that require auth, I usually hang a Login / Authenticate method off of the Client that does whatever auth is necessary (you can even have multiple if there are multiple strategies). Those authentication methods usually return some kind of Session that has whatever token is ultimately produced as state. Authenticated methods hang off the Session object. EDIT: One other nice consequence of this design is that a separate Session makes it possible to have multiple simultaneous authenticated sessions while still maintaining the ability to call unauthenticated methods (e.g. Ping()).

I’ve found this prevents users of the library from having to shuttle around credentials and accidentally calling authenticated endpoints without credentials (since those methods don’t even exist off the Client). Also, if the Client is responsible for managing connections, it can also deal with things like rate limiting and whatnot. Finally, having a separate Session object eases testing, as you don’t have to mock the entirety of the auth flow (think of the complexity of OAuth 2.0) in order to get to a state that you care about. You can simply start with “given an authenticated session...”.

There are some other pieces that can be useful too depending on the abstractions available to you in your language of choice. Sometimes I’ll include a lower-level Request to do basic URL construction given a higher-level map of parameters. Corresponding Response objects can occasionally be useful too in those scenarios to unpack JSON / XML / w/e and present a higher-level construct to your methods.
A new pedagogy to address the unacknowledged failure of American secondary CS ed
A robot sheepdog? ‘No one wants this,’ says one shepherd
Perfect example. I forgot about this until now but I recall listening to this episode. Thank you!
When I started at my current company they gave me a single 43"
4k monitor. It felt ridiculously huge at first, but now I'm not sure I could ever go back to anything smaller. At the distance I sit from it, the ~102 PPI is perfect for 100% scaling. I bought a 43" Samsung TV to use at home.

As you mention, I find using a laptop screen for development really painful now.
We're really dependent on the Qt framework here. And they've been messing around with hidpi support for ages, and never, ever get it really right. The current state, in 5.15 is still "fractional scaling, well, deal with one pixel gaps between decorations in widgets (like lines).
It may take volume first. But you can negotiate with stripe to get better rates. You take on more of the risk though.
Similar setup - I just throw my terminal full screen on a vertical monitor (w/ GNU Screen) and don't find it distracting in any way.
Key Takeaways from Scott Portnoff (Author) from the SIGCSE Mailing List:

Part 1 argues that the survey courses ECS and APCSP have questionable, if any, value in terms of content or pedagogy, and have perpetuated an inequitable 2-tier system in large urban school districts like Los Angeles USD. District data for the 2018 and 2019 APCSP exams reveals overwhelming failure rates for under-represented minority (URM) students, precisely the demographic groups the course was meant to benefit.

Part 2 discusses a pre-APCSA programming course that incorporates instructional strategies to address a crucial and missing pedagogic piece - the teaching of programming languages as languages per se - in order to counter the effects of the decades-old Novice Programmer Failure Problem. Cognitive evidence supporting this approach now include 3 fMRI studies concluding that understanding of programming languages occurs in the language processing regions of the brain, not math, not logic. If scaled, this pedagogy could better prepare all students, but particularly URMs, for successful completion of the APCSA course and exam, and so boost successful participation rates in college.

Part 3 showcases a concrete example of this approach using Codingbat. Grammar rules can be thought of as generalizations of language patterns. Instructional strategies therefore focus on providing repetitive and incrementally more complex practice with (a) Patterns to clarify how API methods, control structures, parameters, variables, and like syntactic features themselves are used, and (b) Patterns that combine these features in crafting solutions to specific types of beginner problems, prioritizing coding paradigms that are clear and simple.
Eh; I'm 95% here for the comments.
Lindores Abbey Chess Challenge
You can always try selenium to download it programmatically if they don't let you.
Or make a script to download it.
Me too. I particularly hated the lowercase 'x'. Today, I get triggered like a Pavlov's dog just by seeing LaTeX fonts.
I am not sure if you got the point of the linked story.

The C++ appointment software is a trivial fun side project. The point is that she had to quit her terrible job to even get into the right headspace to do anything useful on this trivial fun side project.

Besides, have you never written anything for a side project that scratches a personal itch that hadn’t already been done dozens of times in better ways?

I find her stories illuminating and well written. Sometimes we spend lots of time on things that we realize could have been done in much simpler ways. Sometimes we make mistakes that we later realize are super dumb. It happens to everyone who writes software for a living. I’m happy that Rachel writes about the messy stuff. We need more “from the trenches” stories like hers.
Python: A brief network analysis of symbolism in Blake’s poetry
Doesn't a blacklist also work only until the malware authors figure out how to randomize 8 junk bytes every time they serve an executable?
I ran an hourly recruiting business that generated nearly all of business from referrals. I never really figured out how to do outbound sales when charging for time. The thing that was great about inbound leads for my business was that closing the deal was easier because the customer had a pain point they need solved yesterday.

The business grew from just me to 15 people just from cash flow in 2 years. The thing that scared the crap out of me was I knew if to the referral pipeline dried up, I'd have 15 people to pay with no outbound sales process to keep them busy.

I had an opportunity to cash out and free myself of the angst associated with not being in control of where my business comes from. I took that check, taught myself to code for a couple years, and am now on employed as a dev.

There are plenty of days I question whether development is the right career for me, but I like it a lot more than I don't like it. There are zero days where I miss having to meet payroll for 15 people for a word of mouth business.
So what? Caveat emptor has no place in honest, trustworthy business practices.
> A 5k display with 200% scaling at 27" would help the situation, but we don't have that option.

I'm reading this thread using the LG 5K monitor with Linux, mostly working fine.
Thanks for your point. That’s fair, it’s not a straight lie - they are using the ambiguity to their advantage. That is still dishonest IMO.
"Only" a single day of onsite (presumably technical) interviews? Doesn't that kind of defeat the purpose of Triplebyte, which is to "O(1)" your job search, i.e. avoid a long interview process with each company?
That's a lot of money between screen and GPU just to get crisper fonts (as the rest of the GUI is scaled x3 and thus you don't get that much more screen real estate). Is this really worth it for you? I regularly switch between a 5k iMac and regular 1920x1200 display, and sure, I can see pixels, but I don't find myself caring that much.
According to https://hpbn.co/primer-on-latency-and-bandwidth/#bandwidth-i...

> As of early 2010, researchers have been able to multiplex over 400 wavelengths with the peak capacity of 171 Gbit/s per channel, which translates to over 70 Tbit/s of total bandwidth for a single fiber link!

So why/how is 44 Tbps an improvement?
But an office is a tool, bot visual status. It’s necessary to do knowledge work.
Someone tried to propose it to popular software authors recently [0]

Needless to say, authors weren't thrilled about it

[0] https://consoledonottrack.com/
Aren’t gamers primarily concerned with latency rather than speed?
Can't you scrape / download a bank statement? Or if you use a credit card scrape the card pdf statement.
Basically nothing at all. You get something in the mail that goes directly into the trash. And go back to whatever you were doing
A better question than "Why subscribe?" (though, that's a good question) is why aren't you just openly listing the names you're trying to sell on your site?
This is exactly why security keys should become standard. They are essentially unphishable.