skysight-inc/HackerNews huggingface dataset:
In general I think there are a lot of project Euler problems (at least after the first 100) that are basically “here is some theorem/construction you might see in undergrad (or maybe early postgrad) number theory, except we don’t tell you what it is, instead we just give you a problem to which it applies.” And if you don’t know the theorem you are SOL.

When I was last doing PE, that Knowledge was relatively fresh in my mind so I could know that the solution was Pell’s equation or whatever (good luck finding the wiki page if you don’t know the name…) but even then it felt a bit silly. I think the solution I was most proud of was to an older problem (they weren’t adding new ones at the time) with less than 100 solves and it basically boiled down to Gaussian elimination without much mathematical knowledge. Mostly I was proud because I got the achievement for solving one early.
To be fair Kontact (KMail) had its bad days. The whole Akonadi stuff underneath got a really bad reputation because of that. And that was for a reason, for sure!

But those issues are solved today (and since a long time by now).

I don't know whether Kontact could be considered substantially better than Evolution. But it works fine and has a lot of features not found elsewhere. It's also quite focused on power-users I would say. For example you have configurable one-keystroke commands for all important functionality (and being a KDE application you can configure shortcuts for actually every action if you like to). It handles big inboxes in different accounts (being capable of showing an unified inbox if desired) and independently of that multiple identities. The calendar and mail components handle Exchange idiosyncrasies. The GPG stuff just works.

For people looking for a true Outlook alternative on Linux it's at least one of the things worth trying. That's why I've mentioned it.
Since it’s about density of ion channels, surely you’d want to check brain samples from animals with brains larger than humans’ to compare?
Remembering climate change a message from the year 2071
Thats good context. I don't have a lot of experience with chronic pain but I think I could see how CBT could be a good process to control how you approach pain.
Right! Unfortunately, because the feud between Catholics and Protestants at that time, the later seldom recognize the influences of the former and it seems that there were these “dark ages” until they arrived.

See, for instance, the School of Salamanca: https://plato.stanford.edu/entries/school-salamanca/
> I'm not sure how efficient China's hugely state-directed investment system is

Every system misallocates resources, but some misallocation is more "beneficial" than others, i.e. arguably it's better to be overcapacity on infra than under. There's something to be said about the tangible byproduct of PRC misallocation. Versus something like US tendency to misallocate resources into intangibles like the stock market, currently with capitalization to GDP nearing 200% that makes PRC misallocation that generates stuff that can be useful seem preferable in comparison. It’s like how hosting the Olympics is notoriously corrupt but simultaneously the only way for some systems to build useful things that are long term beneficial. Ditto with inefficient “industrial policy” that the PRC adopted from the US and US is learning to re-adopt. Misallocating 100s of billions to get semiconductors and turbojets for PRC or reshoring semi for US is ultimately better than not realizing those goals at all. Fast, cheap, good - sometimes optimizing for only one thing is still better than nothing. It's not efficient, but IMO PRC state-directed investment is still largely useful. Question is of course sustainabilty.
That goes both ways, thought. I grew up in Michigan. Most of my family, and my partner's family are still there. I travel there regularly and stay in contact with a number of friends who are there, and each passing year I my resolution to never go back is stronger and stronger. The entire state is deeply broken politically, and I would never want to raise a child in that environment. Even as a white man, it's remarkable to go back, sit around in a bar or just in public, and to see the blatant racism, homophobia, and hatred around. Let's not even get into the dysfunctional state government - and the gerrymandered voters who enable it.

All of my smartest and most competent friends from high school - in every field - moved out of state. So did all of my friends of any kind of minority group who could afford it. I don't see any reason that's going to change.
JHipster (https://www.jhipster.tech/) goes a bit beyond that. From my reading, its basic functionality is taking in either interactive command line inputs or theor custom DSL, and spitting out DDL for a MySQL DB, Spring Boot backend, and Angular frontend.
Looks more like the size of an oscillation overthruster.
> Louis Rosenberg, a computer scientist and developer of the first functional AR system at the Air Force Research Laboratory

He's either 80 or not born yet then.
It's not clear that every case of epilepsy has a common cause, but this is certainly possible.
Nice work. :D

-Austin, author of Gateboy (https://github.com/aappleby/MetroBoy)
The remastered GTA Trilogy has been unavailable on PC for over a day
That was my experience with a Macbook-Pro 2019, trying to use 2 2k monitors on it was a nightmare. Sometimes it would work and sometimes
I would need to spend a while trying different plugin sequences until it worked again. It was such a problem that I never wanted to take
it with me and use it as a laptop and just left it there connected all the time.

This wasn't an issue with older models that had some other means to connect a monitor other than thunderbolt but these newer models only had
thunderbolt display and it didn't work properly.
Nextcloud to backup user-produced data - media, edited material, user-downloaded data. I use mostly self-hosted services so I do not need to backup related data on mobile devices since that is handled elsewhere. For every device I keep a complete TWRP backup which is not exactly up to date but can be used to re-create a working device which can be updated afterwards. As others have already replied I do not store anything on mobile devices - which includes laptops - that I can not afford to lose, such data is stored on my server which is backed up several times a day.
Is there a commercial consumer OS that doesn’t provide an MP3-compatible decoder api?
Yeah, you’re right.
I just want to make sure people know it was a breach and not some form of leak.
100 years later and we're still struggling with this. One politician had a worthy solution: https://www.youtube.com/watch?v=uMaZYCIR1bg
I work with this stuff. Consider my statement a PSA for ya
I have family in Wisconsin and live in Michigan. You guys have sunnier weather but a bit colder winter. I love both states. CA is low on my list but I might be down for Texas.

I got a call from that Fruit company a few years back, which seemed really compelling, but the economic quality of life change to move to CA was alarming.
I some wargames like indie game but required an online ping to even play. Their previous title they did the same but not required a connection for it. They said just for their other title, over 90% of them were pirated copies. So that is why they mandated DRM.

I wouldnr have so much of an issue wirh online DRM if I got a guarantee of X years to play it. Some of these devs could just drop support or Windows messes with it that ita unplayable. So at that point I just want support.
Nice site. Somehow, I hadn't seen this before.
"CBT as a modality is based around gaslighting." I had to stop here. Is that what CBT is about? I wanted to continue reading, but I guess that's why I'm not a therapist.
This game is so dumb, and there is no reward in exploring. Basically they said that the maximum reward you could get is a star. And now adult founds that there is a way to get those. The optimal way now is to repeat the same step because it is guaranteed that exploring can't be better.

The better thing could be the maximum number of stars aren't revealed and then it could be explore vs exploit scenario.
Yeah great time for you to air your grievances about the bill of rights. Thanks.
> Eventually, the costs of organizing our lives around the virus will exceed the benefits. In some cases, we may have already reached that point.

Yup. A long time ago if you ask me. I considered it done after my parents had received their second jabs.
Yeah, it kind of undermines the whole thing. The adults learned a "good enough" rule that works until someone gives them a provably better one.
Why not? It’s a professor’s absolute prerogative what lessons they’re offering, and working in low memory is a great lesson to learn. Kids these days are lazy and spoiled with their gigabytes of ram and terabytes of disk. In my day… wait, never mind, I’m starting to sound old, eh?

The flip side question to you is, why should students get away with more than they need? Memory and cycles are wasting energy. We need engineers to understand how to be deeply efficient, not careless with resources. Memory is generally much more expensive than compute cycles in terms of energy use. Yes, please, teach the students how to program with less memory.

Low memory programming is a fantastic exercise for learning modern GPU programming, since you still need to conserve individual bytes when you’re trying to run ten thousand threads at the same time. Or if you’re just into Arduinos.

Other lessons that are great to learn, but take time to appreciate are how to avoid using any dynamic memory, how to avoid recursion, how to avoid function pointers or any of today’s tricky constructs (closures/futures/monads/y-combinators/etc.) I’m of course referring to how some people (like NASA) think of safety critical code https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Dev...
But I will add that many of these rules have applied to console video game programming for a long time. They’re easing up lately, but the concepts still apply since coding for a console is effectively embedded programming.
How much more expensive is 100KB of JSON compared to last year?
sure you can. but the instant they're part of a botnet attacking someone, you, it's owner, should have to do something about it. We have fire code to regulate what people build so they're not a death trap and this wouldn't be so different.
Just because a claim appears plausible on casual observation doesn’t make it true. You have to do better than that.

Another plausible explanation is that the boomers are aging out of the workforce, and the following generations are smaller.
My sister did Cognative Behavioral Therapy. It impacted her, too. It gave her REALLY bad vertigo for years.
Show HN: An alternative to Yahoo Finance using your own API keys (WIP)
Sounds like we agree. The points from Davids book are worthy of discussion.
Incidentally, I've noticed the same outcome between groups of more or less curious adults.

The people who try to figure out the exact rules of everything they do tend to be less effective than people who figure out a strategy that works and simply execute.
If a Michigan company wanted to pay anywhere near what a CA one does, they'd have talent lined up with minimal effort. Its here, but everyone is already employed and doing alright.
Substack says Gmail length limit is just 102KB, true?
I have tried longer posts and not had issues, and this limit seems hard to verify in a Google search. Odd considering how big an attachment can be
The puzzle mechanism and trap reminds me of how puzzles are laid out in parts of The Witness. The rules are sometimes subtle, and solving puzzles is a matter of learning what they are, and questioning your assumptions. The treehouse area is an especially good example.
> How badly do you really need that feature?

Very badly. New regulations require this feature or we risk fines. Also we need to support some new hardware. Also we finally discovered a longstanding bug that was losing us money. Also, the business opened a new branch that needs this.

> Why did no one need it a couple of years ago?

The regulation didn't exist. We didn't understand the bug. The new hardware didn't exist. The new business opportunity hadn't been thought of yet.
I don't think you get to choose which block you use -- from the article, it seems that you're given a sequence of blocks, and you have a binary choice of use/don't use for each block in the sequence.
Is it really a brain drain if many of the top students at the University of Michigan came from out of state (New York/Jersey or California or overseas [Europe/Israel/India/Nigeria/China]) in the first place?
I'm surprised that the FBI hacker didn't use it for some for-profit fraud scheme.
I don’t think the author is giving a good faith description of what CBT is. She describes what CBT is and says that is literally the definition on the website, and provides a link. However, her description does not match the definition on the website at all. Nowhere does the website suggest that pain is caused by faulty thinking.

It specifically says “Psychological problems are based, in part, on faulty or unhelpful ways of thinking.”

That is in no way saying that all pain is psychological. It also goes out of its way to add “in part”, to show that it isn’t everything even for psychological problems.

I can totally understand that she wasn’t helped by CBT because her problems were not psychological. That doesn’t mean CBT is not effective for actual psychological problems, it means she was misdiagnosed.

This is like writing an essay about how chemo is not an effective treatment and is a scam just because you tried chemo for a toothache and it didn’t work at all.
Back in the day™ web 3.0 referred to Semantic Web stuff. IoT rarely used "web" terms?
This article may be of interest, it hit the top of HN awhile ago I believe.

https://tonsky.me/blog/monitors/
It's not breaking because the contributions are from paid professional developers with commercial priorities and incentives, with internal or external customers often driving those changes. Not unlike Go.
As in:

1.

sum [i | i <- [1..1000], i % 3 == 0 || i % 5 == 0]

2.

sum [3,6..1000] + sum [5,10..1000] - sum [15,30..1000]

3.

rsum 3 + rsum 5 - rsum 15 where
rsum n = let (k,r) = 1000 `divMod` n in rsum' 0 (1000 - r) k
rsum' f l n = (n*(f + l)) `div` 2
Show HN: Simple CDN backed static website in AWS
>Mac and Windows also have problems with such setups. Not to mention having displays with different resolutions and refresh rates

Sorry, but this is just not correct. I have used multiple monitors with varying resolutions and refresh rates with a Mac for well over twenty years.
I think there are a lot of reasons he should resign, but this isn't one of them.
As people can discover from the search bar on this site, your argument against that blog post (which I co-wrote) includes the notion that authenticated encryption is bad, because unauthenticated encryption creates opportunities for data recovery. Restating for the record: I agree in part; where we part company is that I think creating opportunities for data recovery for adversaries is a bad idea.

At any rate: this comment thread is about signing with SSH keys, not your idiosyncratic response to my blog post.
To be fair the "thousands of volts of electricity" nonsense is in their own press release not just this fluffy article.

It's really hard to get the people writing for a lay audience to actually understand the difference between "Simpler for lay people to understand" and "Simply wrong". This is sort-of fine if you're making a Hollywood movie, but it makes serious research look pretty stupid. Unfortunately the rare person who understands and knows how to communicate this stuff to lay people is probably more valuable as a lecturer or in some management role than writing press releases :/
Psychological Therapy, of any kind, has an intrinsic dilemma:

* Because the therapy is asking the patient to do something that, at some level they don't want to do and think is going to be painful, therapists generally have to exert significant effort to persuade the patient to continue to the point where they benefit.

* Most (all?) Psychological therapies have a high failure rate. A significant fraction of the patients won't be helped, and so the persuasion above is harming a large fraction of patients (the opportunity cost of a failed therapy, which generally takes months, is huge)

I have not seen this problem acknowledged at all by the psychological professions. There ought to be a good deal of research into how to decide the optimal stopping point, and making sure that the operation of a therapy causes the least possible harm to those is doesn't help. But my impression is that the cognitive dissonance of delivering an intervention that will help some, but expensively fail many, is too much for most therapists. They generally continue to believe that the patient would be helped if they held on for long enough, and don't provide any support for a rational process for deciding when to give up on a given approach, resulting in the kind of gaslighting and blaming described here.
For a sufficiently small database (that doesn't require more granular access control), that seems to be the right choice. A 1 MB initial load is cheap nowadays.
Am I wrong or this is exactly the project the Sheldon and the rest of the team were working on in Big Bang Theory ?
That made my day. Wow.
It's depressing to think that less than 1.5 years ago the air was crystal clear: https://www.nytimes.com/2020/04/08/world/asia/india-pollutio...

There has to be a better way to live.
It's the government.
The opposite thing is true. DANE is far weaker than the CA system; it is centralized and controlled by parties that aren't accountable for security (and, more importantly, haven't spent the last decade with Mozilla and Google's gun aimed at their head over security issues). DNSSEC's centralized governance can get away with that, because they are de jure owners of the DNS hierarchy, and nobody can make them accountable for anything. You can't revoke .COM. But Google and Mozilla revoked all of Verisign.

I trust Google and Mozilla more than I trust the world governments that control the DNS hierarchy, and I see the actual transparency mechanisms, like CT, that the WebPKI watchdogs have built; unlike with DNSSEC, they aren't simply a theoretical thing that could be built in the future, but rather operate today and have been responsible for numerous detections of misissuance.
Tenured, Trapped, and Miserable
Unlike most others, they updated this one with care. I guess it's a somewhat notorious dev joke, so it makes sense.

https://knowyourmeme.com/photos/2246626-grand-theft-auto-the...
(I'm in tech and I have been since 2004, starting to work remotely in 2008.) It took me 35 years to escape the hell that is Michigan. From the economy to the weather to societal issues to the fickle politics - Michigan is a backwards state constantly mired in the economics of the industry that brought it to prominence. The business policies aren't conducive to starting businesses in the state, and there is a constant pull of talent to the northeast, west, and south. And for good reason! Cost of living, average salary, and mobility are consistently behind other states. It's always going to be an aggro and automotive state, and nothing is going to change that. I spent decades defending Detroit and the state, only to realize once I finally left that I had been insanely myopic.

These fluff pieces irritate the snot out of me. I get that they're trying to promote a new potential economy. I wish them the best. However, I encourage anyone I can to leave and seek a better life. Because a better life exists in an increasing number of alternative places.
I live in Ann Arbor and love it here. There are tech companies that operate out of this town but none of them besides Duo I would work for. Even then I don’t think I would apply. Working remote has enabled me to live here and still have a great job.

When I did work for a startup in town a couple of years ago we were constantly talking about how to entice UoM grads to stay after college.

The biggest industry here seems to be the hospital system. Throw a rock at a crown and you’ll probably hit a few physicians.

A2 has a ton to offer for being such a small town. Personally, I love the small town feel but still manages to have all the amenities of a larger city.

As long as you can handle the Michigan winters the summers are very temperate. There’s a lot to do here especially if you aren’t afraid to travel up north and enjoy the outdoors.
Well don't keep it a secret. What does it mean to the target audience?
GTA3 for the radios was using IMA ADPCM on both PS2 and PC. Some cutscene files were PCM, some files were mp3.

Vice City used adf, a custom container for (horrible quality) mp3 files. PS2 still used ADPCM. Most PC cutscene files are mp3 (twice encoded btw, so extra terrible quality), on PS2 they're also ADPCM.

SA was the first 3d GTA game to use ogg for the radio, and also doesn't use miles sound system anymore.

It should be noted that the GTA3 Definitive Edition ogg encodes are just encodes from the original PC ADPCM files, NOT from lossless masters. The cutscenes are also the same quality the PC version had, so a mix of mp3 and PCM sources.
What a terrible idea to enable low power mode on battery by default.
I agree with your sentiment but would add I think counting calories is a better strategy than most people think. For many they lack a very high level idea of how many calories they are eating, particularly for sugary drinks. By learning to ballpark better I’ve seen people have success. And for that it’s only tricky for a couple weeks, then you just get good at estimating and it becomes more automatic. Ultimately whatever works is best but I wish more people would give counting an honest shot, especially after seeing how well a few folks I know did once they started doing jt.
Doing so myself is the antithesis of depending on stable software.

As someone who maintains a PHP website in my spare time, no, I'm not going to go backport a patch to a C library -- a language I have a passing familiarity with -- which may depend on other updates that have occurred between now and the last Debian Stable release, and which may, if I do it wrong, compromise the security and stability of my entire system.
That's what i got from the whole thing.

Was gonna come around and talk about it but you hit the nail on the head. I don't trust the account mainly due to the more flippant (sorry i can't think of a better word) treatment of what CBT actually is. I understand why NYT didn't want to use it.
As others have said in this thread, without people wanting to do the job at that price the job might simply not get done (not enough demand).

I believe they key point of disagreement is if immigrants earning less are competing for the same jobs. I personally think not.
Not op, but on the business/sales side ‘midwesterners’ tend to put people at ease and are decent communicators. In my experience they’re also the clearest American speakers, so non-native english speakers have an easy time understanding them. Coming from an area (at face value) that is not widely desirable or well-known gives a decent perspective on the ability to perceive value for others and speak plainly to sell it.

Part of the above in my opinion is due to there being a far smaller gap between the wealthy people in the area and the poorest both financially and physically. A plumber, doctor and retail worker can live on the same street as homeowners. Not to knock the coastal cities too much, but contrast this culture to homeless people sleeping right outside a $3200/month flat, or primary teachers living out of their van, and you can see how it can have a different effect on those who are raised in those areas.