skysight-inc/HackerNews huggingface dataset:
Ten Java coding antipatterns to avoid: Worst practices #5 through #1
You must not have looked at MongoDB. We have been delivering fully consistent ACID transactions since 4.0 which shipped several years. Yes, Jepsen did find some issues with the initial release of ACID transactions and yes, we fixed those problems pretty rapidly.
I remember when acquaintances at Facebook first saw all of the psychological stuff Candy Crush was doing and how distraught they were about it. So sad that they chose to emulate what they knew was horrible behavior.
Location: Porto, Portugal (GMT+1)
Remote: Yes
Willing to relocate: No
Technologies: Python, Django, JavaScript, TypeScript, Node, React Express, MongoDB, PostgreSQL, MySQL, Flask, Redis, Celery, BeautifulSoup, Scrapy, AWS, Docker, Elasticsearch
Résumé/CV: https://www.linkedin.com/in/albertommoura/
Email: albertommoura@gmail.com
Availability (Starting July 2022): 40 hours/week

[Python-Django/React-Node Fullstack Developer] If you are looking for a technical architect for consultation or a full stack developer, who can help you with development, you have reached the right place. My goal is to make sure that my clients are 100% satisfied with the work that I perform and that their solutions are built to increase usability, revenues, and user experience. I can guarantee that the time you spend talking to me will be worth it!
I don't think it's true that they're meaningless, though; non-wacko people do have deeply-held values and get upset when public policy runs counter to them. The nihilistic viewpoint is more a symptom of getting used to politicians who pay lip-service to those values but break their promises.
Yes and no. I mean, you are correct in a very abstract way, but there is something to be said for an industry that is able to manipulate a large swath of the population by exploiting various human predilections. Saying it is just self-discipline and accountability is limiting the conversation to a frame that benefits those companies without looking at the totality of the reasons behind it.
Curious. Cats with multiple owners/friends are notorious for finding ways to get fed repeatedly.
Nordea gives you paper codes when you sign up. You can do everything through their website as long as you use those codes for MFA. Each time you authenticate, you have to use the next code in the series. Once you run out, you go to the bank and pick up another code book.
I’ve given up, and I dislike having content pushed to me in general.

I use a combination of Remove YouTube Suggestions[1] and prefacing “intitle:” before any YouTube search to avoid weird matches that point me to irrelevant content.

I think it’s ridiculous that I need to constantly click “show less like this” and exert so much effort to train YouTube. I also hate how they’ll insert random unrelated videos “For Me” or “Watch it Again” in my search results. It’s all designed to keep me on the site and distracted… better to avoid it entirely.

[1] https://github.com/lawrencehook/remove-youtube-suggestions
TIOBE was manipulated by the Delphi community - http://delphi.org/2008/10/delphi-keeps-climbing/

That’s why it’s so high even today.
Arc – a teeny tiny compiler written in C
But now the searches are extended into homes. I'm sure schools will argue that the laptops are school property and therefore children (or parents) have no rights on them, but let's think through what is happening here. I hate to use libertarian phrasing, but it will paint the clearest picture:

The state takes money from parents. Money the parents now can't use to buy laptops for their children. Instead, the state buys the laptops, but now families have no rights on the laptops their money bought.
A read-only, self-hostable copy of StackOverflow (and its sister sites) is already doable with Kiwix + the content packages they publish.

Content packages: https://wiki.kiwix.org/wiki/Content_in_all_languages

Example of how a site looks like (in this case SuperUser), hosted on my server: https://kiwix.ounapuu.ee/superuser.com_en_all_2021-04/A/inde...

And hosting it really isn't all that difficult: https://ounapuu.ee/posts/2021/12/09/self-hosting-wikipedia/
> The restrictions were all client-side.

:-(

I've been in this industry since 1996. Must every programmer make this mistake for themselves before they learn? I see this over, and over, and over again, at company after company after company. I'm really surprised a company as seemingly competent as Cloudflare would make this mistake, to say nothing of the larger error of allowing forwarding to be setup on an unverified domain.

I weep.

Edit: I'd appreciate a response from Cloudflare on how this slipped through the cracks and what changes they are making to prevent such mistakes in the future. Not trusting user input is among the most basic thing I'd expect a programmer, especially one working at CF, to know in 2022, so I'm assuming this was some sort of miscommunication between teams.
The Lumberjack Tradeoff Model – The higher you get the further you fall
Perhaps, because some other sites list 14 recessions not 12…

It really really depends on when you start counting.

https://www.nber.org/research/data/us-business-cycle-expansi...

NBER has actually determined 35 recessions, most of them retroactively (as far back as they had reasonable data into 1854).

They started the current committee in 1978, so it has only been around for six “business cycle contractions.”

NBER has existed since 1920, but didn’t start doing business cycle work until 1929 (pretty easy to call that one as a recession). That’s 15 recessions, perhaps the source claiming 14 was during/before the Feb 2020 recession?
Push for us to move out direct to customer business into putting out product in stock in physical stores like Walmart, which really just ended up with our product being shifted at great discount.

Pushing us to build our product line around IP partnerships with major companies, diminishing our brand value and compromising the product experience.
Django is supposed to be opinionated and batteries-included, Django Software Foundation ought to shepherd some REST package. There's ninja, DRF, etc. and a few more on the horizon. I agree with the other poster, RESTful projects with views one encounters: often complicated and not easily maintainable. DSF should take over django-ninja. :)
Thanks for the feedback so far. Top left and y increase down was my unquestioned choice for a long time. Then someone came and changed "easylang" to bottom left and said that her daughter would be easier with it. That convinced me and I changed all tutorials and examples to "bottom left". But surprisingly it turned out that many programs became more complicated, many work with row-column grids (game of life, minesweeper, ...) and there the conversion to the y-values is more difficult.

Very often the suggestion comes with 0/0 in the center like Scratch. I haven't thought about that yet, because the necessary negative numbers scared me off.
With a NFT of a GIF, you don't need to pay to see the content. People are not buying these tokens to see the content, because it is free for everybody to see.

What Pearson is suggesting is a different model: that you have to buy the NFT to see the content. This will lead to piracy, as most people will not be buying the textbooks for the token, but for the file it points to.

> Why would people want to pay royalties to an artist, and not to an author? I would actually agree with you, but I think people don't want to pay royalties full stop.

People usually are happy to pay and see royalties going to content creators, and if Pearson set up the smart contract to split royalties across the dozens of editors and designers that had a hand in making the book it would be a fantastic use of the blockchain. But this article suggests that Pearson as the distributor will be reaping the most rewards, not the authors of the textbooks.
Idiotbox: YouTube interface for simpler (text-based) browsers
California exports most of that food. People living near by or far away doesn't matter when considering the quantity of food grown.
Being swamped always made me feel like I should take longer to complete tasks, to protect myself from the stress of working too hard for too long. Then I realized how insane that is...why should I artificially make myself a less productive person? It's like picking up a bad habit, like smoking.

Imo the real issue is that management needs to learn how to identify people who actively seek out work as their default state, and not heap work onto them. These people naturally try to work close to their limit, so adding more work does not make them more productive.
To be fair, textbooks have improved tremendously in pedagogy over the decades. I wouldn't want to use even a 50-year-old textbook to teach calculus today.

I can almost tolerate the exorbitant costs of textbooks on the basis of the existence of a vibrant used textbook market. But what keeps me from doing so is the lengths to which the publishers go to stamp out that used market, without any concomitant reductions in price. You want to play the rapidly-coming-out-with-new-editions game, the one-time-use online code game? Fine, I ain't forking out more for your textbook than any other book (that would be $20), and if you're not offering it at that price point, well, the $0 you're getting instead should be sufficient comfort.
The locations of satellite control centers aren't exactly secret. Just look for the big antennas.

Fitness trackers don't record location indoors because GNSS signals are blocked. That feature only works when you're outside.
I just talked about this with my wife just yesterday about her peer. If you're always the hero to take on too much work and you never keep up, you invite various significant structural problems.

You're too useful to remove, you may not get attention for corrective measures because of fear of the person leaving.

You are often too swamped to effectively get work done smoothly and in an expedient manner.

You become a single point of failure (bus factor 1) so that when you take a vacation / hit by a bus, the company suffers significantly.

A common personality trait of these types of people seem to be self reliance / control seekers. When they own that authority of work, they are less likely to accept delegation to get them out of their woes.

In general, these types of employees may end up being labeled super stars, but they're also potential albatrosses that could significantly wound a company if not properly managed.
I'm not really talking about store web sites and other classical (and appropriate) uses of the web. I'm talking more about all the SaaS applications that are really desktop apps running remotely on a "mainframe."
SEEKING WORK | India, UTC +05:30 | Remote only
- Backend-leaning full-stack SWE with 3+ years of industry experience
- Worked with Node.js (JS and TS), Go, Python, React, AWS, Postgres, Mongo, and Kafka
- Built applications in fintech, defi, real-estate, and advertising
- Relevant profiles along with resume here - https://achie27.github.io
> How do you feel about ticket scalpers who use bots to buy up concert tickets,

As someone who used to attend more than a 100 concerts/year, I sincerely hate them.

> This is only possible because the the tickets are being sold originally for under market value

No, this is only possible because tickets can be made artificially scarce.

And because there is a portion of the population who owns more money than is able to spend.
> Intellectual property is stupid, counter-productive, hurts culture, hurts innovation, and generally doesn't do an ounce of good to the vast majority of people on the planet Earth.

Further, and this is the one that really kills me: Countries/Companies that ignore IP have a serious competitive advantage.

It's not only more ethical, it's also more efficient. It's folly to believe that IP laws will protect you against these motivated actors, and playing the game internally is slowing us down and hampering our own performance.
I've heard various descriptions of this issue of automation creating increasingly higher-risk intervention states, but just saw it named. Thought the name would be helpful. AKA The Lumberjack Effect.
Great to have you here J!
“If it isn’t a clear yes, then it’s a clear no.”

haven't read the books yet, but this definitely resonates with me (essentialism).
Ah, I did not think of that angle, which is substantial. Thanks.
i think working hard is ok but you really got to assess the type of work you are doing. Are you working your ass off to do grunt work other devs wont? If so you won't get any glory, just burn out, many times working on tech debt also falls under this domain, higher ups just don't appreciate people who work hard to keep things stable, they are all about those who can cut costs or increase revenue by coming up with new products/ideas.
As someone who builds the banking apps of joinatmos.com, uses linux on desktop and aspires to use it on phone - I’ve been thinking about this too. Our react native build won’t support Linux (say, Flathub) very well at all, and building a separate GTK app is not cost effective for a startup. Flutter could work, or if we’d made our mobile app a wrapped website in Cordova or whatever that would have been an option I believe too.

For now, our mobile Linux users would be “stuck” with the mobile web experience, though we tried our hardest to make it a performant PWA that you can pin to your home screen. The main thing you lose is persistent biometric login, though many privacy conscious users seem to not trust biometric unlocking of your session in the first place (they mistakenly think their Face is being uploaded to our servers, which is of course not how the technology works on iOS/Android) so that may not be an issue.

Edit: From my time trying to use a dumbphone as a daily driver a few years ago, cash apps were a bigger problem (Venmo, etc) as theres a social component to “not paying someone back until later because I dont have a smartphone”.
But then where would the manufacturers put all the financial engineering shenanigans?
I can only speak from my bubble, fair enough, but I almost never see this aspect explored in reporting on Tiktok. The articles always focus on the algorithm, never the actual content and community.

Evidently something is quite different from Reddit and Twitter since those platforms have about a quarter to a half of the MAU of TikTok despite being around much longer. "Algorithm" is a hand-wavey explanation. No amount of algorithmic content selection can keep me engaged when the content itself is of lower quality.
It feels many people responding to you are misunderstanding your point - and it's a very good one.

The medium is the message. Everybody should read McLuhan if they work in the technology space. [0]

[0] https://en.wikipedia.org/wiki/The_medium_is_the_message
Regarding a database: Going outside of SQL is always risky. In your case, it's only worth using CouchDB if you're excited to learn something new.

In my experience, the one time I used CouchDB I found it so flakey that I recommended we refactor to use a normal SQL database. Of course, a lot has changed; but:

The big power of a relational database is that it's extremely easy to just tweak your indexes and get views of your data that you didn't anticipate when you created your schema. Document databases like CouchDB (and MongoDB) require that your data is organized in a way similar to how you're going to query it.

The other power of a relational database is transactional integrity. You can update multiple rows in different tables, and the update either happens or it doesn't. Updating multiple documents in CouchDB (or MongoDB) doesn't have the same guarantee, meaning that your data can be corrupted by an incomplete update.
When they have a way of getting paid for resale they will be less incentivised to continue the edition scheme.
This seems to work: https://www.google.com/search?q=schnitzel+etymology
Well surely at the start it was I think before developing into I know. Right? Plus plenty of folks are already at I know right now while some are at I think or I know were not.
No, I’m making a 3D game that’s going to lean into heavy shader usage (probably going to implement either deferred or forward clustered rendering), and also might have to potentially use compute shaders for some expensive geometry-querying tasks.
> May I ask why CouchDB though? Is it for the offline support?

Yeah, that is the intention. Have not checked if PouchDB can be used with Flutter.
In Finland, you have to use a bank's authentication service to do pretty much anything. Most people use a mobile app for that, but paper codes work as well.
That's because cats don't have owners, they have staff.
NSF is probably butt hurt that MIT charges higher overhead on its NSF GRF to (presumably junior) PIs taking those grad students than if just on TA funding support.

(For the record, I support this, it protects the grad students, who are not showing up at MIT for the PI’s research in most cases and most junior PIs need to be taken down a peg or two)
https://www.allianceofceos.com/assets/forum/2008-10-Sequoia%...
I never got why they would do that.

I had multiple subsidized phones with a couple of carriers, which were never locked.

The contract was post payed and a minimum duration applied.

I get why they would lock a phone on a pre payment plan. But since you're anyway bound to the contract, post payed, for the duration of the contract why lock the phone in the first place?

Nowadays I just get a phone at retail and be done with it.
The Rose Bowl and its associated parade were created to showcase to the Midwest how pleasant winters can be in California. It's no mistake that the Rose Bowl usually pits teams from the PAC12 against the Big 10 (a Midwestern collection of universities). Southern California has long marketed its temperate winters to those in harsh winter regions. People moving from areas where water is abundant, such as the Great Lakes region, aren't accustomed to giving the existence of water much thought, beyond perhaps how to best redirect the abundance of it off of their fields. The Chambers of Commerce, realtors, and everyone else who benefits from increasing the population didn't give it much thought either. As a result, there's a growing population that becoming more water insecure. Regardless of if it is due to agriculture, environmental laws, or climate change, the population growth is what maximizes the number of people put in danger of one day not having anything come out of the tap.
If your goal is speed and simplicity you just implement the backend in a day with rails rest scaffold.
Conserved meningeal lymphatic drainage circuits in mice and humans
Location: India

Remote: Yes

Willing to relocate: No

Technologies: Go, Node.js, JavaScript, TypeScript, Python, React, AWS, Postgres, Mongo, Kafka

Résumé/CV: https://achie27.github.io/resume/

Email: architmathur2011@gmail.com

- Backend-leaning full-stack SWE with 3+ years of industry experience
- Built applications in fintech, defi, real-estate, and advertising
- Relevant profiles along with resume here - https://achie27.github.io
- Toptal profile - https://www.toptal.com/resume/archit-mathur
China has a "hybrid system" --- internally mostly communist, externally strictly capitalist.

This can lead to increased efficiency versus strict western style cut throat capitalism where everyone competes against everyone --- both internally and externally.

But the problem here is that this leaves politicians with full control without any real checks and balances. And politicians can and will screw up almost anything.
I can attest to that, my wife and I are planning the digital nomad lifestyle later this year. But we are doing it only in the US, staying in one brand of hotels (Hilton brands -- Homewood and Embassy's mostly) to take advantage of loyalty programs for free nights, the consistency over trying to stay at an AirBnb and just for comfort, and flying everywhere.

It's going to take us at least 3 years to hit all of the places we want to stay. Depending on hotel prices, we plan to stay at each place from 7-21 days. It's definitely on the "expensive" side. But we are renting out our house and selling our cars to make it more affordable.

Of course The whole credit card churning and earning points won't hurt.
Related March 2021 preprint: https://arxiv.org/abs/2103.03074

Jan 2022 paper: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.12...
I'm not sure why you spent so much time defending the PhD system in the US which is frankly broken and borderline abusive.

C'mon - the entire U.S. employment system is broken. What I'm saying is let's not pretend it's only the Ph.D. students getting screwed over. The implication was your life would be so much better if you just went to private industry. No it won't, at least not in the U.S. I guess all that is to say employment in general in the U.S. is broken and borderline abusive (though I'd argue there's no borderline - it's abusive). But hey - I can either emigrate to another country where I have few friends and no family (the bulk of my friends an all of my family is here in the U.S.) or you suffer through their game so you can put a roof over your head and food on the table. I think it's time we acknowledge the quality of life in the U.S. isn't all it's cracked up to be. Oh sure, it could be worse - and boy, don't they always remind you about that! - but it could also be a lot better, which is something they rarely talk about. I guess I'm supposed to be happy I can carry my gun anywhere without needing a concealed carry permit. Apparently none of our other problems matter.
I'm a psychiatrist, and (like most people) I'm both intrigued and terrified about what AI will bring.

I'm not terrified about losing my job (we're spread so thin that I don't think it will be an issue for competent psychiatrists in my lifetime), but I'm terrified that the mentally ill are marginalized and that a crappy but cost-effective approach with a high margin of error may rise to prominence.

The diagnostic categories, as mentioned by just_steve, are indeed imprecise, and the RDoc approach (https://www.nimh.nih.gov/research/research-funded-by-nimh/rd...) would be a much better fit for this type of research.

Lastly, here is my dream for a good use of AI in psychiatry: With so much psychiatric care happening remotely, I would love to have a real-time dashboard/HUD with measures of disorganized speech patterns or affective intensity, etc, that I could use to supplement the information available via video link. It would be nice to have some additional data to make up for the trade-off of not being in the room. Perhaps one day with some kind of AR it might even be able to happen in the same room. It would be hard to make it not distracting, but done well it could add a lot. And if it went with the patient if they moved then it would be far more useful as it would be trained to their own personal variations. It would be really nice to catch early onset of episodes of mania or psychosis though subtle changes, and many of the public-sector patients I work with bounce around too often for someone to get to know them well enough to catch those subtle changes from baseline.
How do I create a dataset?
When you're a public figure, the only apology that accounts is seppuku.
Ask HN: How do you find out about language and framework updates?
I've been looking at the status of my UI architect and I notice a number of things like "update X to latest version" and "update Y for security enhancements"

I realize how disconnected I am from changes in frameworks and dependencies. HN is reliable for language releases like Go 1.19, but I don't keep track of every language and dependency change and wouldn't know where to look without manually visiting each and every repo.
I'm perfectly happy blaming people for doing immoral things even though they are legal. "I'm doing it unless someone stops me" is not a mark of morality.