skysight-inc/HackerNews huggingface dataset:
"Even things that can't go wrong, do." - Troubleshooting Analog Circuits, Robert "Bob" Pease.

I had an application on a Raspberry PI that paired with a Bluetooth Low Energy device to fetch and send its data through a 3G dongle, on the premises of non-technical people who cannot troubleshoot, in different countries and time zones. There were a lot of things that could go wrong, and I wrote code to mitigate and recover, including pulling new code.

Part of it was using the Actor Model. I wrote actors to connect to the device, pulling data, sending data, computing what was sent, etc. The actor system handled the actors, when one died, it would recreate another one when an unhandled exception was met, for example.

https://en.wikipedia.org/wiki/Actor_model

If you're doing Scala, take a look at Akka. The new Scala has native support for this, if I remember correctly, without Akka.

If you're doing Python: https://github.com/kquick/Thespian, https://thespianpy.com/doc/

You could also use Supervisor: http://supervisord.org. It's a client/server system for process control. You can have it start at boot time, you can add event listeners and trigger actions.
I'm guessing there's also a point where ergonomics take over.
I actually just got my first mech keyboard.

It’s been really fun. I love using it.

I guess I did have an old IBM 386 in the early 90s and that had a kinda mech board.

My first mech is this: https://iqunix.store/products/f96-coral-sea-wireless-mechani...
Any good references on the definition? I’ve always found it awkward.
Your comment suggests that the answer records in a DNS response need to be bit-for-bit identical to the original query. But the Vixie 0x20 draft says only that the question section in the response needs to be identical for this trick to work --- which is the ordinary way you'd implement an authority server (answers might come from a database or whatnot, but in both miekg/dns and the Rust NLNet library, the natural way to formulate a response simply copies the original query record).

At any rate: the possibility of breaking a 0x20-enforcing resolver scares me a lot less than depending on BIND, whose last memory corruption vulnerability was announced (checks notes) yesterday.
That might assume brains all have roughly the same energy efficiency... Personally, I don't mind these heuristics too much, but we should remain focused on a teleological approach to intelligence. Size absolute or relative, energy expenditure, etc... I think the best brain is the one capable of producing the best solutions to complex problems, with the least possible disadvantages.
Doesn't seem to be mentioned in many mechanical keyboard articles these days, but I still find the buckling spring style switches an absolute joy to type on. The classic IBM Model M keyboard.
They probably work for some company and can you imagine the shit storm if it ever came out that Microsofts board of directors signed off on a Microsoft dev. actively submitting vulnerabilities into the Linux kernel?
Nothing SMELLS better than having a bread machine around.

it's been a while since I had one. The only problem was the big hole left by the paddle in the middle of the loaf. I wonder if there are versions that eliminate that now?
Maybe because they commented out the code on their site that triggered the issue?
> ‘pure’ veganism as consuming no animal nor animal-like products whatsoever

Yes? This is what veganism is, is it not? Vegans don't eat animal products at all.
The Complext Origins of Food Safety Rules
Show HN: bMoves, field activities management made for field operators
This sounds like an allegory where novelty wears off.

Commonly referred to as getting old.

I agree. I'm less and less interested in shiny things as I age, and more interesting in getting home safely.
> This should not come as a surprise, and it was largely predictable from the outset....the flu has a base reproduction number

I feel like you constructed a straw man by snipping this out from the parent comment:

> work against both viruses. If people become reluctant to socialize because of covid (whether or not there be legal restrictions), they will also not spread the flu.

You can socialize from 6 feet and with a mask. I took the parent to include staying home in their assessment and I have no clue why anyone would think otherwise. It's peak social distancing.

From the CDCs tips for social distancing:

> Choose Safe Social Activities: It is possible to stay socially connected with friends and family who don’t live in your home by calling, using video chat, or staying connected through social media.
There sure is – one way is using the good ol' conditional operator:

(x==3)?sin(i+t):0

Result: https://doersino.github.io/tixyz/?code=%28x%3D%3D3%29%3Fsin%...

Another is multiplying with a boolean expression that's automatically cast to 0 or 1 depending on its value:

sin(i+t)*(x==3)

Result: https://doersino.github.io/tixyz/?code=sin%28i%2Bt%29*%28x%3...
Those were my keyboard of choice too! Bought a few when the industry seemed to think the home/delete/insert/page-up/down/end island needed a reshuffling.
This is all a bit vague, so I may be misinterpreting here. But in the given example, the proof must also prove that at each step the set is getting strictly smaller, so the computer still only has to check that the proof is correct. That is, it doesn't have to check for itself whether the set is getting smaller, it just asks you to prove that the set is getting smaller in a way that it understands.

Anything more fancy than that is left up to proof automation, which is free to give up and say "nope, that leap's too big for me."

> So let's change "proof" to set of statements/procedures which may evaluate to "true", and we need to verify that they do evaluate to true.

I'm not sure that's a good way of looking at it. I think the right image is to think of a proof as a program, and checking the proof as typechecking the program. The program has the additional restriction that whenever it does loops or recursion, it has to prove that something is getting strictly smaller with each iteration.
> Editions aren't relevant here because editions are very limited in the scope.

Which is exactly my whole point, as language evolves they won't be able to cover all possible language changes and compromises will be required, specially regarding possible incompatible semantic differences across editions.

The ABI example is just one way to make this issue more visible.
CDB was also (by design) a far nicer programming interface than zone files, which are archaic.
No. I work in my country's national influenza lab, and we still do tests specifically for influenza. We can distinguish between subtypes of influenza with those, the idea of the test being so broad it can pick up other phyla is outrageous.
Modern day politics thinks All Tracking and Targeting are morally wrong. And anything against that are politically incorrect. This isn't just Twitter or Social Media, it is mainstream media also painting the same picture.

A perception question: if the New York Times records every story I read on the site in the last month as a registered user, and uses that to determine what ads it shows me, is that 'tracking'?

Out of 5,877 vote, 83% thinks that is "tracking".

Which means in the modern day perception, any observation with regards to its user or anyone will be considered as "tracking". Which violate their privacy. The modern day usage of "privacy" has been twisted to mean more like anonymous.

All thanks to Apple's PR.
We built bMoves to help field operators gain time after we have seen first-hand operators having to fill reports on paper at 4 am after a night of outdoor work.

We would love having your feedbacks.
I think the above poster is implying that no one is a pedophile by choice. That would mean people are choosing to desire heinous crimes, which would destroy their reputations permanently and send them to prison. If that were true, we would expect to see a lot more unity from these self selected people in the same way say cannabis users are always jockeying for laws to change.

As it is, it looks like an pedophilia is a unasked for mental state spread out over the population at random.
In this case it seems to go both ways. Some credit card products are only advertised to younger people, while others are targeted at people above a certain age.

I don’t really see the issue, age is just used at a rough way of filtering out those who aren’t the target consumer.
miekg/dns is really excellent. Our custom DNS server is written in Rust (with the NLNet libraries, which are also great), but I used miekg/dns to throw together a DNS telemetry system that we use to keep metrics on our DNS (and UDP) service from around the world using off-net hosts, which sounds cool to type out but was an absurdly simple coding project because of how good the libraries are.

More people should do cool weird stuff with DNS. (And Replit should host stuff on Fly! But also the DNS stuff we're talking about.)

It's a great post, thanks for writing it.
"For me, coding is a form of self-expression. The company controls the most effective means of self-expression I have. This is unacceptable to me as an individual, therefore I must leave." - from a blog posting announcing his resignation from AOL

Absolute legend IMHO
I don’t think any ad company should be able to target people based on their age. I think ad companies should be able to target based on their context. If the context is primarily younger people then you’ll hit your market, but won’t exclude the odd older person that is also interested.
Sure, that's why I meant most use cases.

I mean, 100 ms between a click and a cross appearing on screen is not great user experience, but it's not even the worst. If you're writing a game, a little client side prediction is a good idea.

But if you have a form with instant validation, or any old regular UI, that is not necessary at all. The only built in optimistic UI functionality on Live View is disabling a button when you press it and wait for the server to respond, to avoid double submissions.
Very good point actually.

If we cannot assume synchronous execution, then semantics can break exactly as you said. That a rather orthogonal problem from the inheritance one and my suggested solution is to make use of pure functional programming (hence purity can be assumed unless the method signature indicates that an effect might happen). Here is an example of how a potentially async Stack might look like:

class Stack(...) extends Stack {
def push(element) returns IO[nothing] = ...

def pop() returns IO[element] = ...
}

The IO would describe an action that can be ran at a later point, which means when the method has being called and returned, nothing has happened until you call `run(io)`.

That way you will be immediately aware of the behavior and adapt your Countstack as follows:

class CountingStack(underlyingStack) extends Stack {
override def push(element) returns IO[nothing] =
underlyingStack.push(element).andThen(nothing => count += 1; return nothing)

override def pop() returns element =
underlyingStack.pop(element).andThen(element => count += 1; return element)
}

That ensures that order of events is being kept and also that failures (e.g. a concurrent thread dies in the middle) are handled.

> Assuming that the Stack class specifies that all modifications will go through the push and pop methods

This is a severe restriction on how the Stack can be implemented then and it bears the risk of someone violating this specification by accident (think about the famous equals/hashCode specification in Java).
It doesn't seem possible to easily write your own plugins or extensions in Ardour? Which is rather trivial to do in Reaper. Also, Reaper automation and customization is limitless.

But, Ardour is free, Reaper isn't, so that is a big difference.
Bodies of knowledge about what? I agree with your respondant: your answers obscurity tends to imply you're avoiding saying what you think.
Is this the diamond problem?
the same question they asked alibaba, isn't there amazon, same question they would have asked weChat, isn't there whatsapp. All that matters make your product different and thats swaps, we have a smooth UI that beats any companies you mentioned, we as swap we care more about a user product on our platform that we have a model in place that will ensure no product stays unbought or swapped on our systems for 7 days
"These are new features that are improvements over older versions ... " - Apple

/s
I think there is a distinct branch to this path. When you start building your own mechanical, ergonomic keyboards. I know this because I have built my first one couple of weeks ago [1], and am already thinking of how I can improve it.

[1] https://kubami.com/articles/split-keyboard-build/
That's been done before with tixy.land, the project that inspired my tool:

https://twitter.com/atesgoral/status/1325947885817565185

https://twitter.com/aemkei/status/1325888127102226432

3D LED cubes are also a thing, as another commenter in this thread noted:

https://news.ycombinator.com/item?id=26978173
I was told you “can’t type” on lineages/reds/Silents.

But I took the plunge anyway as a typer first gamer second.

It’s been great reds are easy to type on. In fact I can only get over 100wpm on my red switch board. I wonder why this myth perpetuates!?
If you believe in "connectionist" models it's not how big it's how rich the cross connects are.
It's the same story in many fields, including non-controversial fields such as Biomedical Engineering (I only use this as an example because I studied it).

It's less about uncomfortable topics being actively covered up by nefarious actors, and more about bad ideas dying out naturally. The main reason we don't study correlation between race and IQ is because it isn't useful and doesn't explain anything particularly interesting.
A day to pack up our lives and get out: journalist Bill Birtles on fleeing China
I can't tell if Elixir is Drupal 2.0 or the real deal
This is 10 days after my second vaccine shot so I went drinking hard tonight. Tipsy if you call this that, I'm looking at the internet and wondered if Elixir is the real deal.
This is only a problem is the methods on Stack are virtual. If they are non-virtual, inheritance works like your composition example: inheriting from Base basically creates a Base member variable, except missing methods can be automatically forwarded to the Base member. This saves you from having to explicitly wrap all the methods of Stack in CountingStack.

Virtual should be used sparingly.
Asking mad men to self diagnose the origins of their condition sounds like a bad idea. Even for normative people asking them how their fundamental morals changes would be usually be an unanswerable tar pit.
The economies of scale for last mile telecommunications tap out around the size of a city. They keep buying each other because expanding territory is the only way to gain customers, but buying the competition in the neighboring territory is more profitable than expanding into their territory to compete with them. (Tier 1 networks used for communications between cities, by contrast, aren't a natural monopoly.)

The reason so many industries end up "between two and ten" is that that's the point when antitrust authorities start to reject additional mergers, not because there is any inherent advantage in having so few competitors. If anything that's few enough to start having trouble because they start colluding or using conscious parallelism to bring about de facto price fixing etc.
The technical term is "explaining away". If a burglar alarm goes off, you can be pretty sure someone triggered it. If there also was an earthquake at the same moment, you can be pretty sure of the opposite. Even though both events can happen at the same time.
The best way imo is to read the design docs and code of the projects you like.
Why would you think Paleo food choices aren't appreciated by people who derive a massive amount of pleasure from food? Paleo/Primal foods are the most satisfying, tastey and healthy foods. The feelings around food are evolutionarily rooted. We are always going to be most satisfied by the foods that are best for us, it's by design.

There is an epidemiological experiment that has been going on for over a million years. It resulted in a population of 8 billion homo sapiens. That is not actually good for the Earth, but if you want to know what to eat, to maximize your health as an individual, look that way.
Who is to say they don't already do this?
This pattern is also called the template method pattern, I believe:

https://refactoring.guru/design-patterns/template-method
The random mixed-case patterns are used to reduce the probability that someone evil could send spoofed DNS replies to your queries and have your DNS resolver trust those fake replies.
It's not software, but what I read on KitchenConfidential, cooking's a passion and something I did at a junior level, suggests the culinary industry has been thrown on it's head, more than normal, with a huge gap between those willing to go back to the kitchen and salaries, working, delivery, are all over the place. I'm not sure how this analogy holds up in software, but feel it does in some fashion.
Forever carbons how dangerous are they?
This article was published in 2016 which talks about an environmental lawyer Robert Biliot who took on one of the biggest chemical companies in the world and how his fight for chemical pollution is still going on. This was also the subject matter for 2019's movie called Dark waters starring Mark Ruffalo and Anne Hatheway. What I find interesting is the subject all this covers. Forever carbons is a big topic for health and safety yet we hear so less about it. I believe just like everything which is going on in the world right now this deserves a lot more attention than it gets.
Rename the Lunar Gateway to the Collins Lunar Gateway
TSMC poured cold water on it, but they'd have to, shoring up shareholders value. If not in Taiwan, they lose.
How does it work under the hood? what’s the process?
Totally agree. I had an IBM 386DX. That’s how it made me feel.

Curly cable keyboard and everything
I've been using a RealForce keyboard for years and it's an absolute joy to type on. With a decent wrist I've never felt any fatigue even after very productive days.

I wish I'd bought a silent one though, whenever I forget to mute myself on Zoom my typing is clearly audible. Not everyone appreciates the 'thonk'.
> If you are wondering who in the 1999 cohort made most of the contributions, it’s Laurent Montel and who in the 2010 disappeared in 2018 it’s “Montel Laurent”. Unfortunately I couldn’t find a nice way to merge both

Add a .mailmap file with

Laurent Montel <email1> Montel Laurent <email2>
I suppose the answer to that would be to treat blockchain as the record of truth.

Kind of how if you have properly motorized property papers (I have no idea how this works in US), and find your land was inappropriately allocated by county without your knowledge you get to sue them, just with block chain record instead of paper.
Building/Running a heavy cuda accelerated app that taxes cpu/gpu very much over long periods of time it helps keeping temperature in check and the clocks stable. It is not strictly required but makes the while system very quiet and stable. If you are e.g training deep learning networks it can be almost mandatory if you stack more than 2 high-end GPUs into your case.
The Swagger UI[0] is more a documentation/exploration tool for APIs, but it shows enough of what you can do that I don't think it'd be all that difficult to generate something that you'd want to put on your own website.

[0] https://swagger.io/tools/swagger-ui/
Telegram 7.7, MacOS, I have the feature.
If your return a record it only will have data for the fields that you have implemented. When you are implementing graphql, every resolver has to check if the requesting user has the proper permissions to see anything.

Fields aren’t created automatically by the graphql engine itself. You have to write them yourself, or use another tool that generates them for you at run or compile time.

Also it’s not often said, but you can have fields return a union such as AdminRecods and PublicRecord or Record WithoutPrivateData.
Wholly agree on the ergonomic factor.

But I also quite like not having to hit the keys because they're stiff. I have a mechanical with Gateron browns which is silent enough for when I'm alone. Whenever I switch back to my MBP (2013 model, so "old" keyboard) I always miss keys because I don't push hard enough on them. This even happens on my work HP ProBook, which I had always considered having very "soft" keys.

But I think the difference between mechanical and "soft dome" is that even though the latter are soft, it's an "on and off" affair. When you start pressing you have a lot of resistance, which all of a sudden disappears, and you can't stop the finger until you hit the bottom.

On my mechanical, it takes me maybe a day or two to get used when I switch back, but then I'm able to type much more softly. Not sure how this affects my typing speed, my feeling is that I type about the same. But it's much more comfortable.

My favorite dome keyboard right now is the MS Sculpt, but I would love a similarly-priced (~€100), similarly-shaped mechanical.
Possibly. But then there's no way to confirm it happens on a lot of devices. So far I've been unable to reproduce the issue on any of my MacOS and iOS devices on any problem-related URL I was given in this thread or linked discussions.
What is completely broken for me since macOS 11/iOS 14 update is iCloud tabs. They simply don't sync between Mac and iPhone anymore, the list is almost always empty. Sometimes it contains some random out-of-date links, but touching any of them make them all disappear.
I read the guide to engineering interviews you posted, but I am curious about the difference between your "Technical Screen" and leetcode type questions. Having to solve a problem while someone is watching and having to talk while you do it sounds similar to the FAANG style. Maybe I'm missing something?
I just don’t get why so many say this. It never happens to me.

I find reds to have just the right pressure.
It seems a little weird that you'd trust a web browser developed by a company that resides in a country famous for massive, systemic internet censorship, as well as habitual government interference in and control over domestic companies' operations.

That doesn't mean that today's Opera is definitely an untrustworthy piece of software, but it does raise the probability quite a bit.
I mean, independent of that, that answer is flagged as "Apple recommended"...
ebay.com works 100% on my devices. I cannot trigger a single fault.
What a difference wearing masks and social distancing makes ...
Thank You, never heard of it before. The bundle price is really good for a 5-Bay, Battery UPS NAS.

Unfortunately I only want 2 Bay.
Djamo (YC W21) is hiring an remote Engineering Manager (Remote, UTC ± 3h)
> Your information stays on your device. Realness tries to be as small as possible so that you can trust the affection it makes you feel.

They say your info stays on device, but your phone number is sent to Google to "authenticate" you. Such a shame to see misleading "philosophies" like these.

Also op, if you are the original author of the repo, you misspelled philosophy.
That's true. Biological viruses are kind of in between computer viruses and computer worms.

I still think a worm is a decent analogy, though. For example, the first thing a worm will often do is scan the local network and try to infect each "living host" it finds in its vicinity. In some sense it can be seen as having some kind of willpower or intention, but it's a little more like a blind, unthinking process of trying to constantly fire itself in all directions, not unlike how a virus is unthinkingly regularly emitting itself into the air around it to infect those in its vicinity.