skysight-inc/HackerNews huggingface dataset:
I've seen this quote a few times over the years:

> All general purpose PHP frameworks suck!

> – Rasmus Lerdorf

Rasmus said this an awfully long time ago - 2013 or earlier?

Truth of the statement (then or now) aside, Rasmus was a C programmer long before he was a PHP programmer, which presumably strongly informed this position.
Start with Christopher Alexander
> I personally think that professional certification akin to passing the state bar exam might be a good thing and much more valuable than a pdf saying I was jedi-master of new-company-database-tech

I agree. I imagine it would be a good thing for everyone involved, including employers.
Not by more than a small constant factor.
It seems rather silly to me to worry about the knowledge of a few UK citizen SpaceX engineers, in the event of a hypothetical US-UK breakup, considering how much information the US and the UK already share in the fields of nuclear weapons and SIGINT. Surely knowledge about the later two is a much bigger concern than the first? Yet, if they are willing to risk the later, why not risk the former as well?

Besides that, the risk of a US-UK breakup has always appeared to be low, and Brexit arguably makes it even less likely.
I'm not sure what the tech is called other than the reason I spend multiple hours a week waiting for jira and confluence to load pages with like 300 words on them
A welcome change indeed. Not that it couldn't be a good mechanism, but abuse has shown that these steps are necessary. I would go even further.

But I think this can be an argument to switch browsers. Common users might not have the technical insight, but are certainly not keen on being tracked.
Why is that a good thing?
Many anti-CCP actors have criminal records. Maybe they have a difficult life after having criminal records, so they become actors.

I can't imagine how the prisoner got a phone, so I don't believe this was filmed in prison.

The point is not whether he was arrested or not, but he accused the CCP of torturing Uyghurs. This is completely illogical. China has 56 ethnic groups, and all of them are Chinese nationals. Torturing will only cause resistance, and the CCP has no reason to do such things that are not conducive to stability.

The reasonable explanation is that some Western countries hope to create an image of the CCP abusing Uyghurs and then sanction China.
Do you mind sharing what the technique is?
springboot? it cannot get easier than this: https://start.spring.io/

I personally choose Java/SpringBoot, it has a steep learning curve, but has strong typing, runs as fast as most C++ code out there, plus you can do async.

and if you want something fast but that is as easy as Rails and runs on Java/Groovy/JVM, use Grails.
In Tianjin there was also 600 tonnes of Potassium Nitrate that exploded in addition to the ammonium nitrate, so to compare them you'd need to count that as well.
Making Churches 'Dementia Friendly'
I agree with your reasoning but not how it applies to Gmail :)

I'm always hazy on the term amortized, but my understanding of it was the opposite — in that, you should try to chunk up as much as possible.
If you are using Gmail for a longer period, having to wait for functionality like advanced search or predictive typing is less annoying as the extra time you need to wait is a smaller portion of your session overall. Plus, these things may have lazy loaded by the time you come to use them.

On the other hand, if you just wanted to reference an email quickly — e.g. I often need to dip into email quickly, for example, if I've travelling and have booking confirmations / QR Codes / PNRs etc. in starred messages in the inbox — you'll notice any extra load time so much more.

So to me, feels preferrable to have as small as possible initial load time, then extra functionality progressively loaded in the background.

I do agree for something like Netflix for example that a 'big load up front' is probably preferrable. I'm 'in for the long haul' as I'm going to be watching something that's at least 30minutes up to a feature length film, so a few seconds extra load time is negligble.
There's two kinds of users here, users who don't want to pay $20/m but have time (e.g. students) and users who have little time to learn AE but more money. They want to capture both. So the approach is to make the starting price appropriate for group A and then find something that group B wants and upsell it to them.
Most of these plants are on 7 day standby - Ie. They need to be able to reopen within 7 days in case of war or disruption to gas supply.
Amazon inks cloud deal with Airtel in India
> Sorry, but isn't that completely impossible!??

> Not just for the required fuel and environmental impact, but also given how often they just postpone basic launches due to weather.

The environmental impact of a rocket launch is roughly in the same category of the environmental impact of a airliner doing a single long-distance trip. (I did this calculation for F9, SS/SH would be higher but not more than two orders of magnitude higher.) Pre-covid, there were approximately 100 000 airliner flights a day. You do the math.

And that's before we consider that they are fueled with methane, and that there are sources of methane that are potentially not just GHG-neutral, but GHG-negative. (Collecting agricultural methane emissions and burning them is dramatically better than releasing them directly.)

As for weather, it is possible to launch rockets in very bad weather, for example the Russians frequently launch in literal blizzards where no winged aircraft could fly. It's just that ability to fly in inclement weather is something you need to design for -- rocket bodies are generally not strong against transverse loads, and this is made worse by having a high fineness ratio. SS/SH, being much more stubby than most current American rockets, will be much less impacted by weather than them.
are you assuming they should try to find independence with democratic means... in autocratic china?
Awesome explanation. Thanks!!
I use Lockwise, and the thing that drove me towards it is that it works on Linux and iOS without having to run a sync service (Dropbox/...) on my laptop. The sync is excellent and just works. The iOS app could use some work, though. It doesn't support adding or editing passwords (but Firefox for iOS does, and it's planned for Lockwise according to the issue tracker), and it's REALLY slow to start (several seconds) when using it to fill a password in the browser. I don't know what's up with that, but it's annoying.
Easy workaround: Never actually leave congress. (Just look how old the average senator is.)
It sounds like you are not working in a field that is intrinsically motivating to you. Perhaps you should find an employer with a product whose end value you can appreciate?

For example I work in CAD. I'm just a software engineer. But the products we make help engineering companies design huge beautiful monsters of steel an concrete.

Sure, they are not rockets, but they are things that impact peoples lives.

Working on a product, that have users who you appreciate is intrinsically satisfying. At least to me.

I feel the code I write is kind of meaningless, but the work my users do is not. Hence I find meaning in their constributions.
IIRC, UBI in The Expanse is not really UBI, and more like minimum amount of services to keep you viable, and extreme scarcity of training.

There should really be no reason that people can't be trained or educated even if most of the skills are utterly useless in the face of automation.
Yep, there are some websites which _should_ be SPAs because they are actual applications - for instance, I can't imagine Google Docs or Trello as an MPA.

But, many websites are a graph of documents (like Reddit), so trying to model them as an SPA just massively increases complexity and introduces some really tricky problems. We moved from an SPA -> MPA and haven't looked back (with Intercooler/Stimulus/alpine).

One of the main parts is that, because you don't need to manage and reconcile state in two places, you have much less complexity. When we need a single component that needs to be very interactive (for instance, we have an interactive table viewer which allows sorting and searching), we embed a little bit of React or whatever -- but that's kind of a last resort, and it's as stateless as possible.

I think handling state sensibly in a pure SPA architecture is actually much more complex than people give it credit for. A Redux + React + REST architecture can be done properly - but it also introduces a huge number of potential rabbit holes which have a high ongoing maintenance cost, especially if you do not have a team of very experienced FE engineers.

New Reddit is a great testament to just how badly it go can when you fight against "the web as a collection of documents" and what browsers originally did. For instance clicking on the background of a Reddit post to then navigate you "back" in the SPA, instead of using your browser back button - it's actually insane.

None of this is to say that templates can't be a bit painful themselves at times too - not sure what happened to https://inertiajs.com/, but I quite like the idea of that approach too.
Fight for economic equality is as old as America itself
Sounds like you mostly had experience with old style server side development (like php with no frameworks maybe?)

Have you tried building an app with a more modern framework, like Phoenix or Blazor? You won't even need to write a single line of javascript. All business logic is on the server (no duplication of models) an can be easily testable.

In my experience, SPAs tend to get overly complex, and they mix (and duplicate) business logic with UI logic.
Has anyone seen any good hard milestones that would validate that self driving progress is being made? Even the framework?
I think the author claims the XPath is more "robust" because it doesn't depend on indexes of the elements so you can add elements without breaking the XPath. (But it is arguable which one is better ...)
Abstract (and full-text/pdf download):

Changes in Measures of Dementia Awareness in UK Church Congregations Following a ‘Dementia-Friendly’ Intervention: A Pre–Post Cohort Study

by Peter Kevern and David Primrose

https://www.mdpi.com/2077-1444/11/7/337
Well it's not really that easy to detonate AN, there are quite a bit of variables that come together.
I am a fan of Symfony and Drupal 8 because of these abstractions. They can provide a powerful toolset you can build off of. Granted you take the time to understand it.
> In Great Britain, no forests have been cut down for raising livestock. The forest were cut down over thousands of years for fuel and for farming crops. The land that could support trees now is still used for growing crops. Animals roam meadows and uplands that are not suitable for growing crops and live on grass and silage.

What percent of animals does this cover though? This is clearly not true for all cases in the UK e.g.

https://www.theguardian.com/environment/2018/may/29/revealed...:

"Research by the Guardian and the Bureau of Investigative Journalism has established that the UK is now home to a number of industrial-scale fattening units with herds of up to 3,000 cattle at a time being held in grassless pens for extended periods rather than being grazed or barn-reared."

https://www.independent.co.uk/news/uk/home-news/farm-climate...

Either way, this doesn't contradict that deforestation is happening globally to meet global demand for animal meat.
Tauri – Build smaller, faster, and secure desktop applications with web techs
Why are is there such a difference between countries?
Why do we think expats would be interested in this? What's the point anyway?

Shouldn't we use this evidence instead to wake people up on the impacts of consumerism?

Didn't we allow China to become what it is today due to how we buy things (all things are made in China today?) and how companies are constantly seeking to reduce costs and in some cases irresponsibly? What have we said to those companies?

Disclaimer: I'm from Europe.
> ... but also creates a new risk of completely losing access to your account and username forever.

I may have misread the announcement, but it sounds like upgrading to a paid account recovers (npi) the ability to recover your account.
V1.1.2 · Dacav / CRoSSbow
In a Flash, a Changed World
I switched just over a year ago from LastPass and recommend Bitwarden to everyone.
Good webcams are hard to find at the moment because people are very willing to spend money on their video calls.
Anything said about libertarianism is necessarily hypothetical, because it has never happened. If it ever did, it would instantly dissolve into something certain to be very unpleasant for almost everyone.
Yes, but it's unknown. And hence any meaningful estimation made using that prior means that it is based on an assumption, which may or may not hold.
> It dropped production database. That day many learned that Rails has safeguards against things like this, while none of those "lightweight arbitrary structured APIs" had any.

While having a depth of defense is a good idea (and so "+1 to rspec for its default rake command not performing destructive operations" is ok),
I'd suggest the bigger takeaway should've been about permissions surrounding the production database. -- You can't accidentally do something you don't have permission to do, or can't do easily.
“Stop Gating Content.” Agree or Disagree?
I think I agree with many points (especially avoiding frameworks and patterns when you don't need them), but even though this manifesto is warning against extremism, it makes some points that seem extreme for me.

For instance, it's Paul Graham:
> When we try to improve ourselves, and in this case more specifically our code, we sometimes get hung up in the philosophy of a particular pattern or idea and tend to forget to think practically.

>> When I see patterns in my programs, I consider it a sign of trouble. The shape of a program should reflect only the problem it needs to solve. Any other regularity in the code is a sign, to me at least, that I’m using abstractions that aren’t powerful enough - often that I’m generating by hand the expansions of some macro that I need to write.

But it seems like the author is misunderstanding pg. pg is claiming that if a pattern (of any kind - whether it's a "GoF-approved" design pattern or not) keeps repeating in your code, your code is not abstracted enough — either because you're not using the right abstraction for the job, or (what will be inevitable in a language like PHP) because your language is not powerful enough.

The solution presented by this article is just: "Do not always use patterns" - but it doesn't clarify which patterns you should use. But Paul Graham is saying something much broader than that: design patterns are just a type of pattern, and patterns of any type should not be repeat. Essentially, this is a strong version of DRY that considers any generalizable patterns as repetition.

> Later, procedural programming was derived from structured programming. Procedural programming is based upon the concept of “procedure call”. A “procedure call” is just another name for a “function call”.

I'm pretty sure it's the reverse.

Following this we get a justified criticism of OOP (although we should be clear here: this is mostly the bastardized Java brand of OOP). And there we get another quote from pg (who I assume was criticizing the very different CLOS and its necessity in a Lisp-family language).

Then this bit ends again with the suggestion "Do not always use object-oriented programming". I can't agree more with that, but alternatives should be provided. When should I avoid OOP, and when OOP would be good (the source for pg quote is actually followed by a recommendation for Common Lisp)? What should I be using instead?

The funny thing is that I probably agree with the intent behind this manifesto, but I can't ask any PHP programmer to reconsider their best practices following this. Since the rationale is not presented clearly enough, and no guidelines or alternatives are defined - or even proposed - it won't help to convince a lot of programmers from my experience.
Can I have feedback on this project
I'm interested to know your views on the concept of this project. It is in development but I would like some feedback.

Link: https://azhantest18.pythonanywhere.com

Thanks.
It killed my Android tablet running Firefox! First everything slowed down, then the status bar disappeared, then... black screen. Had to restart.
Would this be a good candidate for P2P? As what if your computer GPU could be used by other app's users to do a small part of such heavy operation? (when your GPU is not doing anything else)
https://en.wikipedia.org/wiki/SpaceX_Starship says a starship uses 3,400,000 kg (first stage) + 1,200,000 kg = 4,600,000 kg of propellant, both methane + liquid oxygen.

Let’s guess making the fuel takes 5,000,000 kg of oil (corrections welcome. I guess that’s a reasonable estimate. Less than 100% of fuel is methane, but the specific energy of methane is about 20% higher than that of oil, and creating liquid oxygen takes energy, too)

Multiply by 19 gives you 95,000,000 kg, or about 700,000 barrels. That’s 3% of the oil usage in the USA.

And that excludes construction, maintenance, and ground operations.

⇒ I think it would move the needle, more so given that we should work hard on getting that number down.
These posts always seem so damn interesting, but I get lost very early on. In this case it was at "Product is functorial in both arguments so, in particular, we can define a functor".

Any suggestions for introductory material that might help me appreciate Milewski's writings?
Well, this shows one simplistic partial syntactic solution to a few common problems. Partial because it does not handle errors in the continuation example, and simplistic because it only works at the function level, it's not clear how this would look like when 'distributed' through a large code base, like cross-cutting concerns typically are. Not to mention, it's not clear how to compose all of these separate solutions - how will the do notation work if you have a list of continuations that can each return optional values that return errors if something is not authenticated?

Note, I'm not claiming that these problems are not solved by monads. I'm arguing that the article you showed gives me no information on how really complicated problems are actually solved, it just shows a neat bit of syntax sugars that works on a few toy problems (again, that's what's shown, not claiming that this is all that 'do' is).
Sounds like an ads.
Possibilities for Life on Mars
Could be ISP adoption. Some ISPs have been more progressive in ipv6 than others.
The reports say that this is the result of ~3kt of ammonium nitrate.

So are they saying that ammonium nitrate is equivalent to TNT?
> Where's the code

Honestly for anything of real-world size, that question is not well answered by rails either. Developers tend to stuff everything into either models or controllers until they learn about "service classes" and then they put all logic into service classes, with the same issues.
Sure, but what generic libraries can you meaningfully built above optional, list, either, futures? Do-notation is one, but what else?
A completely FREE 3-month Data Science Track for absolute beginners
I feel like anyone who has the slightest interest in the web, or even tech in general, should use Firefox. I don't even think whether Chrome or Firefox is the superior browser is relevant in this context.

Firefox has become the only real cross-platform and non-Google-controlled alternative to Chrome/Chromium. It needs as much marketshare as possible in order to stay relevant and prevent Google from completely dominating the web.
My Huawei P10 also received security update few weeks ago. It got 2 major Android updates (7 -> 8 -> 9) and while the last update was probably the last, it got more than 3 years of SW support (released March 2017).

I really think Google could do better. Sure, you don't have to wait long for new Android version as with other manufacturers (e.g. Huawei), but 3 years is nothing to applaud Google for.
My first SSD was in 2008, was 64gb SLC for $1000. Still going strong. But yeah, was pretty niche.
but..but... can you reverse a linked list? JK! Hope all of your sacrifices paid off!
Google sheets works way better than libre office and is not reliant on the OS as it's web based.
Nokia c3 2020 launched with 5.99-inch hd+ display, Android 10
You kidding!? SPAs have a significantly worse user experience with high latency, the vast majority of SPA will just display a blank screen if the latency is too great.
The problem I leap to is that this article seems to suggest that our thinking process is Bayesian. That is unlikely.

We update our beliefs based on new information, but the whole point of Bayesinaism via Bayes Theorem is updating it by a very specific amount based on evidence strength. Nobody is approximately Baysian in their thought process, and I doubt most people can even be trained to be. Statistics is a pen & paper exercise for the most part.

In my experience, which is not negligible, is the hardest part of statistics is talking people down from beliefs they have settled on because of something that looks like statistical evidence, but in fact is not.
I guess anyhting that can read environment variables and write to stdout. :)
We can learn those things. These are not actively surpassed.
Which platform is Lastpass slow at?

Just curious, since I don't have issues with Lastpass, but I mostly use the chrome extension.
How did you come to this question?

Turkey's Inflation and Lebanon Explosion.
Same here.

Sure you can use lots of other password managers, but if we are not talking about solo use case - it's practically impossible to beat 1Pass. You can set up your team and family in minutes, with granular controls. And people will understand how to use it in a few minutes.

With most other solutions you will have to spend hours here or there. Is that time worth a few bucks? For me I would gladly pay x2 so it just works and no one has to bother me with questions.
I love this message. Looping between pure learning and applying it through building more quickly is probably the single biggest thing that improved the trajectory of my technical abilities.
>There are tons of very successful founders recommending focusing on adoption instead of revenue in initial period.

As of 2020, this is the exception rather than the rule. The problem is that focussing on adoption before focussing on value is very risky. You are constantly flirting with premature scaling before having found product/market fit (see e.g. Startup Genome project).

However, successful businesses that have been built on adoption are by-design much more likely to be well known. Again, it's entirely possible to build a business that relies on network effects or economies of scale, but it's not the default advice I would give to founder.

>Freemium is very well adopted all over. Literally entire app industry worth billions of dollars use this model.

No, you are confusing freemium with advertising here, which is the predominant business model. The challenge with freemium is the conversion into paid, which you cannot predict unless you have proven the value hypothesis already.
Indeed, it immediately reminded me of the cloud I saw above Toulouse, France in 2001 when the AZF factory exploded. Same product.
It's a perquisite for tagging individuals.

IPv4 not having enough addresses is a good thing.

With IPv6 identification (and therefore control) can be down to the person globally, but IPv4 forces NAT's. The inability to label all the things is a feature. NAT's are borders; they prevent fine grained censorship without larger consequences.

$ zcat /proc/config.gz | grep -i ipv6
# CONFIG_IPV6 is not set
Controlling Happiness Correlates with 32% Higher Happiness