skysight-inc/HackerNews huggingface dataset:
There is more than one way to define 'testing'. That's not responsible for all of the misunderstandings, but it's responsible for quite a few. For some people, feature toggles fall under testing in production. For other people, they don't.

It's not whether production is orders of magnitude greater that preprod. It's whether production is orders of magnitude more diverse. If you've designed your product so that every user is a snowflake, that's on you, or at least the sales team. That functionality surface area is all undocumented features. Bragging about not being able to test all of the features you've promised users is like the opposite of a humble brag. What would you call that, a Dunning-Kruger brag?

I've worked at a few places that didn't understand this. A couple eventually got it (begrudgingly, and with a hint of resentment. The other never did, and hemorrhaged money and good people.
>this seems like a rather off-tangent train of thought

It's funny to hear someone complain about tangents on an HN thread. And, right on cue, as of this writing the top comment [0] literally starts with the phrase ”Off topic:" and has 7 replies.

Irony aside, my point is very much on topic, as I am asking exactly the question, "what if teams like Remix had instead invested their considerable talents and years-long efforts in building a truly paradigm shifting approach to webdev?"

What I'm suggesting here is that it's time to advance the state of the art in Web development. But, I could certainly be wrong. It might instead be time for another incremental improvement in the React/Vue/Angular-ish, HTML/code-mashing, shadow DOM-rendering, SSR-driven, reactive framework universe.

[0] https://news.ycombinator.com/item?id=29313460
no. 1650 was far worse.
Not really; it's a case of soldering on the parts as per the iBOM:
https://github.com/tzarc/djinn/blob/main/Rev2a/bom/ibom.html

Only a couple of parts are actually dependent on the side you're soldering (and are listed on the parts BOM), virtually everything else is aligned in such a way that it can be soldered onto either side.
Sure, nobody's judging investing in the Yamanote Line or the Tokaido Shinkansen. But is it really sensible to plow money into (say) the Hokkaido Shinkansen, on Japan's most rapidly depopulating island and not remotely competitive with flights in travel time or price; the Tsuruga extension to a city of 60,000; the greenfield Noto Airport that can't support two flights a day without heavy subsidies; and a million minor construction projects damming up rivers and coating the coast in concrete tetrapods? Japan is already struggling to pay the maintenance bill for what they have.
Not sure about this list. I thought apple succeeded, as Thom put it as solving problem of users even though user may not even aware of it. Kodak did not. I am afraid toyota against Glasgow (hydrogen …) as well.

Customer customer customer …
The last book on the JVM itself (e.g. stack-based byte code, class file format) I saw was from nearly 20 years ago. I cannot think about anything more modern. It's a niche which used to be popular in FinTech circles mostly. As such valuable info was scattered across random blogs and the JVM spec itself.

"Garbage Collection: Algorithms for Automatic Dynamic Memory Management" (https://www.amazon.com/Garbage-Collection-Algorithms-Automat...) seems to cover GC algorithms up to the CMS.

"The Art of Multiprocessor Programming" (https://www.amazon.com/Art-Multiprocessor-Programming-Mauric...) is for those bored by JCiP. But it's not about threads per se. I imagine nobody cares about the original green threads and I wouldn't expect quality literature on the subject until project Loom goes to prod.
Thanks, very interesting. I would also suggest looking into Französisches Etymologisches Wörterbuch. [1]

1:https://en.wikipedia.org/wiki/Franz%C3%B6sisches_Etymologisc...
Also on Firefox. It appears that I'm not as privacy/security conscious as are most in this thread, but I heartily second HTTPS Everywhere.

However, the single Firefox extension that's indispensable to me is Tree Style Tabs. See: https://github.com/piroor/treestyletab.

Is it possible (for a Web page hoarder like me) to organize and access 500+ tabs across seven Firefox windows? You betcha it is, with Tree Style Tabs.
So what? God forbid a drop of money competes against the pool of Superpacs who dump billions into shady GOP astroturfing shithole thinktanks.
Vimium, uBlock Origin, Violent Monkey
Yeah, they suck though. We do weekly at home PCR testing too and everyone is fully vaccinated so the masks are a little excessive but I guess better to be safe for now. It’s required so we can operate I think and we need to be there on-site since what we build are incredible complicated physical are things.
Of course there is no problem with asking why things broke and how to fix them. My comment was however directed at the silly fad of blaming Apple for all and everything, because “big corp always bad and FOSS always guud”. This is irrational, unfair and anti-intellectual. There are more then enough valid reasons to criticize Apple. In this particular instance however they did not do anything wrong. So yes, if one spins the tale like it’s “evil Apple” deliberately breaking everyone’s work environment again (with Tim Cook supposedly maniacally giggling in the background), will indeed be met with a hostile response from my side.
Authoritarian Hippie Parents
Software Deploys and Cognitive Biases
It was definitely more than 404's they are claiming. Go playground was 503'd.
No, you're supposed to feel empathy for Rocky! Poor little guy...
Nothing says contributors "managing their own emotional state" like them venting their anger in insult strewn emails.

Mauro, SHUT THE FUCK UP!
Or high unemployment for that matter, although reality is less rosy than the headline stats.
Nice extension. But I'd say that the legislation is alright, it's these sites that are terrible. They put these modals because they want to.
Ah, this explains why Uber Eats gives me ETA in UTC...
uBlacklist by iorate (Firefox / Chrome) - hides google / ddg search results from unwanted domains (medium and pinterest) and highlights others (wikipedia and github)
uBlock Origin, Stylus, and Dark Reader.
Not sure why this isn't upvoted higher. I thought the infographic on that page explained it pretty clearly, step-by-step.
What other DBs deliver single day, enterprise ready deployments with HA multi master?

Do they include ACID and CAP tradeoffs similar to PostgreSQL?

Is their query language as rich and transferable as SQL?
> IDK why everyone on HN thinks that the affluent have debt, when in fact, the bottom 50% of Americans hold less that 4% of wealth because most of them are in net debt, largely to entities owned by the affluent.

The wealthiest people by definition have more equity than they do debt (which is why they are wealthy) but that doesn't mean that they don't hold debt. I think this is why most people think the affluent have debt obligations and frankly in the current markets there are incentives to have debt when real rates are this negative. Poorer people are also holding more debt, basically there's a lot more debt everywhere these days.

Regarding the chart CPI is not the same as monetary inflation but yet CPI is frequently used to make inflation-adjusted securities. And since CPI does all sorts of intellectually dishonest mental gymnastics with regards to "hedonic adjustments" these days its a less reliable metric than it was in the past of how cost of living has changed over time: https://wolfstreet.com/2019/12/05/what-worries-me-about-hedo...
Scroll up and lose context for a second.
Ask HN: Best tool to create a user guide for an open source project?
My README.md has got too large. I think I need to create a user guide / manual. What tool should I use? The project is hosted on github.
I looked it up and can’t find anything that claims what you do that a pepper can blind you. I did find one article that said it can not after one exposure but possibly long term exposure could it just wasn’t tested. Do you have any sources on that claim? Thank you. I ask because we used to prank with peppers when I was young never worried about blinding someone though it was good if they rubbed their eyes or took a pee with ghost hands.
It depends on how big the switch is.

I assume it would be a bit easier because the query and ORM syntax is uniform across databases. And it also probably wont support many database-specific operations.

But it would still be work. Some databases don’t support basic operations (e.g. UPDATE with LIMIT in postgres) which you can still do with the query syntax. And different databases usually have different preferred (usually faster) ways of doing indexes, joins etc. Plus you still have to migrate your data.

ORMs are ideally supposed to be a complete abstraction where you can pretend the database doesn’t exist, so if you switch it shouldn’t matter. The problem in, in practice you can’t pretend the database doesn’t exist. So you either end up writing code for your specific dialect anyways, or you write inefficient code.

It’s also like, you can just write plain SQL and ignore your dialect’s extra features. And that would make migration much easier, but it would also be less efficient and much harder to write.
The single most popular hobby use case may be the Mister project for near perfect, super low latency retro gaming emulation.

Another common use case is real time video stream manipulation. There is a demo by Bunnie Huang who uses an fpga to intercept, decode, then reencode HDMI video streams (including microsecond timing manipulation of one of the data lines) in order to do video overlays on the video (for things like captions).

In general the main use cases are really for things that require lots of parallel and/or low latency processing.
They must not have heard about Composer. I'm currently migrating from Playwright to Composer. Will write a blog post about it soon but I can say that Composer is much nicer than either Puppeteer or Playwright.
Which it could easily have been because it itself received a 404 from something and couldn't handle that.
> It's a shame to hear that kind of talk coming from the openSUSE world when Zypper did so much to raise the bar for high-level Linux distro package management tools. :(

Yeah, I don't think it'll last in the foreseeable future judging by how these distros are jumping on the Flatpak/Snap bandwagon. For these distros, package management might as well be dead.

I expect a few distros, such as Alpine Linux and Arch Linux, to remain relatively free from the influence of Flatpak and that's what I'll continue to use on my personal machines.
I disagree wholeheartedly. This site breaks every UI/UX rule in the book, and in the worst ways. Instead of just letting people read the information at their own pace, they've decided to limit the information to one partial sentence at a time, and more than half of those sentences are just irrelevant jokes.

Possibly even worse is the lack of snapping to the sentence, which means the user has to guess how far they need to scroll to fit the text in the available space. The text is even so large that some sentences don't fit in that space. It becomes a seemingly endless loop of reading 6 words, scrolling, reading 8 words, scrolling too far and then scrolling up, reading a 5 word joke, scrolling not far enough, etc.

In fact, it's 39 mouse wheel scrolls to get to the bottom of the page, all to read one paragraph of actual information -- and that information is mostly a bunch of boisterous posturing, in order to make a pitch that amounts to a couple of prescribed patterns.
If you are not into whitelisting you'll hate uMatrix. But uMatrix is great.
Such an attack would be soon discovered and soon mitigated. Mandating that the backdoor be present would mean you have to wait for the government to mitigate the problem 6 months later and hope that it didn't soon fall again.

At worst the entire industry in that region is broken more often than they are functional. It's also notable that companies existing in this state of brokenness would be competing with companies living in a functional world. One might find that the defective universe continues long enough its inhabitants are extinct.
I imagine you know this, but maybe there’s some reason you think it doesn’t matter: It will lower the rate of exposure.
Bypass paywalls clean seems really nice. Thanks!
I only use extensions with low permissions:

* Twitter to Nitter https://addons.mozilla.org/en-US/firefox/addon/nitter-redire...

* Remove YouTube Suggestions https://addons.mozilla.org/en-US/firefox/addon/remove-youtub...

* Reddit to Teddit https://addons.mozilla.org/en-US/firefox/addon/reddit-to-ted...

I enable:

* strict tracking protection

* privacy.resistFingerprinting

* First party isolation

I'm considering using libreJS.
I think the whole "you need too many subjects and too much money" objection to doing science is very weak. There are other fields of research where they find inventive ways of experimenting on a shoestring budget (I think some social sciences belong in this category.)

You can even do proper causal analysis when all you have is an observational study, given that you can get an expert to produce a decent guess at the causal network. (And this guess can to some extent be verified by plain correlations.)[1]

Sure, you might not get the extremely high external validity of e.g. particle physics, but in many cases something is better than nothing.[2]

Heck, screw external validity. I'd be ecstatic to see more experiments just within an organisation, focusing on internal validity. Every engineering organisation can afford to experiment with different tools and practises. There are huge productivity gains to be unlocked (is my hypothesis, anyway), and the cost is small.

If we get together enough small studies lacking external validity, but which point in the same direction, we might even be able to infer some external validity between them.

[1]: For more on this approach, see Judea Pearl.

[2]: To use an example close to my heart: pregnancy is a condition where you rarely see randomised trials, and any research is sorely underfunded. Yet when people actually take the time to sit down and answer questions with data, we get something meaningful out of it.
My Android phone did exactly the same. Very loudly and unexpectedly.
I started reading classics this year and want to continue. Best i read was the histories by Herodotus - the first history book in the western tradition. Absolutely incredible and completely changed my view of the world. I wish I read read it a long time ago.

Also Atomic Habits by James Clear. I liked this one so much i outlined it myself after reading through it straight. I had never done that
I guess now one can have markup, css, client side js, and server side js all in one file...
Computer science is essentially a management science, and vice versa.

---- Lin Pengcheng

Creator of Computer Science Management School

Creator of Management Science Computer School

The Math-based Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with Principle-based Warehouse/Workshop Model

https://github.com/linpengcheng/PurefunctionPipelineDataflow

My theory is based on mathematical model, operational research, and management science, Its mathematical prototype is the simple, classic, vivid, and widely used in social production practice, elementary school mathematics "water input/output of the pool". My theory rebuilt the theoretical foundation of the IT industry, It makes the computer theory system fully & perfectly related to mathematics in a simple and unified way: from hardware integrated circuits and computer architecture, to software programming methodology, architecture, programming language and so on. It solve the most fundamental and core major problems in the IT industry: The foundation and core of the IT theory lack mathematical support.
I think waitbutwhy gets it. https://waitbutwhy.com/2017/04/neuralink.html
Adding internet as our knowledge source and keeping brain as a cache for most important things let’s us scale our brains capabilities order of magnitude higher.
not mentioned yet: Switch to audible tab - button that jumps through all the tabs that are currently playing audio (optionally also through tabs you have muted). Very helpful for either a) finding the tab with the conf call again or b) quickly finding whatever suddenly makes noise
The Comforts of a Single State
> The Open CL 1.2 barrier() function is threadgroup scope, same as threadgroup_barrier on Metal

Interestingly, the Apple driver seems to have that screwed up, with giving much stronger semantics than necessary...

#define _AIR_MEM_SCOPE_WORK_GROUP 0x2 in the OpenCL header

And for metal_types.h...

#define _AIR_MEM_SCOPE_WORK_GROUP 0x1

#define _AIR_MEM_SCOPE_DEVICE 0x2

Which made me have even more questions, that's why I couldn't give a straight answer earlier.

> OpenCL has been deprecated for over 3 years

The OpenCL implementation using AIR is new, for Apple Silicon.
"In the land of the blind, the one-eyed man is king."
+1 for Humankind, read that at the beginning of the year in between lockdowns and it really helped make me feel more positive about humanity in general. It's not always as bad as we think it is.

Struggled to get into his next book "Utopia for Realists", might need to give it another whirl.
First partial skull of Homo Naledi child sheds light on enigmatic hominids
> After reading a few smug comments...I've concluded that some of the folks in this thread have never worked on an application where the production scale is many, many orders of magnitude greater than preproduction environments.

I think your comment is smug as well. The author of the article has considerably overloaded the term "testing", reasonably having a lot of people have a knee-jerk reaction of "Don't do that". I get the impression that this is by design, and the article is intended to provoke discussion via flamewar.

I think the best way to combat this is to simply avoid too much discussion on such articles until they are rewritten to be more clear and less liable to cause flamewars. I have some views on the thesis of the article, and practical experience backing those views – but I simply won't express them because I don't want to get embroiled in the numerous minor arguments caused by the confusing terminology, with little to no actionable information. An example of a pattern that you'll see repeating across all the comments in this thread:

Person A: "We take our time and test the application thoroughly under all sorts of load in a preproduction environment. We run end-to-end tests on every build. We value work/life balance, and try to minimize testing-in-production."

Person B: "When did the article say not to do that? It never says you shouldn't test outside prod, it says you should also test in prod and that's a superpower! You're totally misunderstanding the article!"
Pg transactions seem more likely to deadlock compared to MySQL, IME. Its replication story was also worse for many years, though it's catching up.

Pg connection limits are also lower because of resource allocation. And lack of query hints can really hurt when Pg's planner goes sideways.

That said InnoDB's online DDL lagged Pg for quite a while. Generally feels like they're both getting better and more alike all the time.
> Even quite praiseworthy and courageous peoples have some difficulty overthrowing their governments (e.g. in Sudan, Myanmar, Hong Kong…); the ‘patriots at the Boston tea party’ made similar choices, but merely choosing revolt does not guarantee success.

Democracy and freedom are never granted; they are fought for.

> Finally, on the embargo: the medicines exception of course exists, but US sanctions can, if desired, affect trade with most of the world economy, since most companies have some connexion e.g. to the US financial system.

If they would rather trade with Cuba than the US, that's their decision.
HTTPS Everywhere is going away next year. For more details see https://www.eff.org/deeplinks/2021/09/https-actually-everywh...
It’s really more of a quarantine.
I only managed one book this year.

Crime and Punishment - Dostoyevsky

I should try to not being so lazy and read more.
Remember, they're not users. They're gamma testers.
Unmentioned so far:

* Form History Control (rip Lazarus Forms Recovery, Seth plz come back & open source it). https://stephanmahieu.github.io/fhc-home/Manual/manual/

* Multi-Account Containers in Firefox. Absolutely critical to mixing work/personal computing. I used to use profiles to split stuff up but harder to maintain. (oops already mentioned)

* React Developer Tools. Apollo Developer Tools. Instrumental to my development work.

* ViolentMonkey. Before Chrome finally blows up freedom & expression on the web: ViolentMonkey is a pretty good userscripting tool. https://violentmonkey.github.io/

* Open in Sci-hub. I came very close to weaping out loud when I found that these papers I have forever clicked on & wanted are easily within reach. I now have access to humankind's wisdom. https://roiarthurb.github.io/Side-Auto_Sci-Hub/

* Hypothesis. The greatest most pro-web tool humanity has ever imagined, by orders of magnitude. https://web.hypothes.is/start/

* Web Scrobbler. I love knowing what I listened to. Works great with usual suspects. So so results with individual online fm radio stations. https://web-scrobbler.com/

I really want to get good at a vim<->browser extension. Ideally just using a real vim session. I use Dark Reader all the time & it's amazing, just fantastic. I want a replacement for Share-a-holic that I trust, that let's me bookmark/send-to across multiple services (pocket, pinboard primarily); I don't trust share-a-holic. "Switch to audible tab" is useful in critical moments, which thankfully are not often. Extensions I'd like to find & get good at: semantic web extractors/breadcrumbers.
Unpinterested makes google image search a lot more usable, to the point that I get frustrated whenever I use image search on my phone now.
Hulu does a similar check I noticed after abusing the free trials. I think they can determine something like "99% of accounts@mydomain.com trace back to the same person" and just mark the whole domain as single-uder.
A predictive model for severe Covid-19 in the Medicare population
Your optimizing for the wrong things. All your doing is limiting hood people with a reason to use a service and encouraging bad people to just try a different one until it works.

This is The same argument against DRM. It hurts the legit folks and didn’t impact the pirates.

Don’t build barriers for the people you want.
Is there any possibility that data POSTed during that outage would have leaked some pretty sensitive data?

For example, I enter my credit card info on Etsy prior to the issue and just as I hit send the payload now gets sent to Google?

At that scale there has to be many examples of similar issues, no?
Swift was, and that's on GitHub :)
Yeah, I meant a CS degree
Aliexpress is one of these. I couldn’t sign up with my personal domain so I needed to setup a gmail one to forward.

They wanted my real address and ended up without it.
Here's another take from 2010 that shaped my thinking on this: https://imwrightshardcode.com/2010/12/theres-no-place-like-p...

(I. M. Wright is the pen name of a once-internal blogger at Microsoft, whose writings are now mostly public)

Our code has a pile of unit tests that run on every commit, but also a few dozen end-to-end/scenario/whatever tests that run against prod every five minutes or every hour, depending on the impact. I don't know how I'd ever sleep at night without this.
missed squid moon? invest in floki cummies!
They test my patience!
> rollback to the last known good configuration

could very much be the "fast" option. 15s restart, or anything close to it, across the entirety of it sounds quite unlikely.
Investing in media companies makes the negative stories go away about them.
Absolutely not.

The Robert Half data is very significantly under market for the skills that the majority of readers here have.

https://www.roberthalf.com/salary-guide/specialization/techn...